// T: 10:35:37 14-7 / 08:04:28 13-7
// I: 676 / 3.3.13
// U: spotGroup=NO_GROUP / /spot/sp_fElq9fi5

!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(1),e.exports=n(7)},function(e,t,n){"use strict";function r(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(i,t,o,n))return t}var i=n(2);(0,i.supportCustomEvent)(),window.Promise||n(3).polyfill(),window.Object.assign||(window.Object.assign=n(6)),Array.from||(Array.from=function(e){return[].slice.call(e)}),window.Array.prototype.find||window.Object.defineProperty(window.Array.prototype,"find",{get:function(){return r},enumerable:!1,configurable:!1})},function(e,t){"use strict";function n(){try{new CustomEvent("test")}catch(e){r.prototype=window.Event.prototype,window.CustomEvent=r}}function r(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}Object.defineProperty(t,"__esModule",{value:!0}),t.supportCustomEvent=n},function(e,t,n){(function(t,r){!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function i(e){return"function"==typeof e}function o(e){Y=e}function a(e){Q=e}function s(){return function(){return t.nextTick(f)}}function l(){return"undefined"!=typeof G?function(){G(f)}:d()}function u(){var e=0,t=new Z(f),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function c(){var e=new MessageChannel;return e.port1.onmessage=f,function(){return e.port2.postMessage(0)}}function d(){var e=setTimeout;return function(){return e(f,1)}}function f(){for(var e=0;e<W;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}W=0}function p(){try{var e=n(5);return G=e.runOnLoop||e.runOnContext,l()}catch(e){return d()}}function h(e,t){var n=arguments,r=this,i=new this.constructor(m);void 0===i[ie]&&N(i);var o=r._state;return o?!function(){var e=n[o-1];Q(function(){return D(o,i,e,r._result)})}():k(r,i,e,t),i}function v(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(m);return E(n,e),n}function m(){}function g(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function b(e){try{return e.then}catch(e){return le.error=e,le}}function w(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function _(e,t,n){Q(function(e){var r=!1,i=w(n,t,function(n){r||(r=!0,t!==n?E(e,n):I(e,n))},function(t){r||(r=!0,O(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,O(e,i))},e)}function A(e,t){t._state===ae?I(e,t._result):t._state===se?O(e,t._result):k(t,void 0,function(t){return E(e,t)},function(t){return O(e,t)})}function S(e,t,n){t.constructor===e.constructor&&n===h&&t.constructor.resolve===v?A(e,t):n===le?(O(e,le.error),le.error=null):void 0===n?I(e,t):i(n)?_(e,t,n):I(e,t)}function E(t,n){t===n?O(t,g()):e(n)?S(t,n,b(n)):I(t,n)}function T(e){e._onerror&&e._onerror(e._result),P(e)}function I(e,t){e._state===oe&&(e._result=t,e._state=ae,0!==e._subscribers.length&&Q(P,e))}function O(e,t){e._state===oe&&(e._state=se,e._result=t,Q(T,e))}function k(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ae]=n,i[o+se]=r,0===o&&e._state&&Q(P,e)}function P(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?D(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function M(e,t){try{return e(t)}catch(e){return ue.error=e,ue}}function D(e,t,n,r){var o=i(n),a=void 0,s=void 0,l=void 0,u=void 0;if(o){if(a=M(n,r),a===ue?(u=!0,s=a.error,a.error=null):l=!0,t===a)return void O(t,y())}else a=r,l=!0;t._state!==oe||(o&&l?E(t,a):u?O(t,s):e===ae?I(t,a):e===se&&O(t,a))}function L(e,t){try{t(function(t){E(e,t)},function(t){O(e,t)})}catch(t){O(e,t)}}function R(){return ce++}function N(e){e[ie]=ce++,e._state=void 0,e._result=void 0,e._subscribers=[]}function j(e,t){this._instanceConstructor=e,this.promise=new e(m),this.promise[ie]||N(this.promise),z(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?I(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&I(this.promise,this._result))):O(this.promise,x())}function x(){return new Error("Array Methods must be provided an Array")}function V(e){return new j(this,e).promise}function F(e){var t=this;return new t(z(e)?function(n,r){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function U(e){var t=this,n=new t(m);return O(n,e),n}function $(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function q(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function H(e){this[ie]=R(),this._result=this._state=void 0,this._subscribers=[],m!==e&&("function"!=typeof e&&$(),this instanceof H?L(this,e):q())}function B(){var e=void 0;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=H}var K=void 0;K=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var z=K,W=0,G=void 0,Y=void 0,Q=function(e,t){ne[W]=e,ne[W+1]=t,W+=2,2===W&&(Y?Y(f):re())},X="undefined"!=typeof window?window:void 0,J=X||{},Z=J.MutationObserver||J.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Z?u():te?c():void 0===X?p():d();var ie=Math.random().toString(36).substring(16),oe=void 0,ae=1,se=2,le=new C,ue=new C,ce=0;return j.prototype._enumerate=function(e){for(var t=0;this._state===oe&&t<e.length;t++)this._eachEntry(e[t],t)},j.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===v){var i=b(e);if(i===h&&e._state!==oe)this._settledAt(e._state,t,e._result);else if("function"!=typeof i)this._remaining--,this._result[t]=e;else if(n===H){var o=new n(m);S(o,e,i),this._willSettleAt(o,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},j.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===oe&&(this._remaining--,e===se?O(r,n):this._result[t]=n),0===this._remaining&&I(r,this._result)},j.prototype._willSettleAt=function(e,t){var n=this;k(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},H.all=V,H.race=F,H.resolve=v,H.reject=U,H._setScheduler=o,H._setAsap=a,H._asap=Q,H.prototype={constructor:H,then:h,catch:function(e){return this.then(null,e)}},H.polyfill=B,H.Promise=H,H})}).call(t,n(4),function(){return this}())},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){v&&p&&(v=!1,p.length?h=p.concat(h):m=-1,h.length&&s())}function s(){if(!v){var e=i(a);v=!0;for(var t=h.length;t;){for(p=h,h=[];++m<t;)p&&p[m].run();m=-1,t=h.length}p=null,v=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var p,h=[],v=!1,m=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new l(e,t)),1!==h.length||v||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t){},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,l=n(e),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var c in r)o.call(r,c)&&(l[c]=r[c]);if(i){s=i(r);for(var d=0;d<s.length;d++)a.call(r,s[d])&&(l[s[d]]=r[s[d]])}}return l}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){e.setAttribute("data-spotim-ready",!0),e.setAttribute("data-spotim-instance",t);var n=null,r="NO_MARKUP"===c.content;r?n=e.querySelector("div"):(n=document.createDocumentFragment(),n.appendChild(document.createElement("div")),n.firstChild.innerHTML=c.css+c.content);var o=new h.default(c.spotId);try{o.onBeforeRender(n.firstChild),r||[].concat(i(n.childNodes)).forEach(function(t){e.appendChild(t)})}catch(t){throw r||(e.innerHTML=c.css+c.content),(0,d.reportError)(t,{errorSource:"initialize"}),t}try{e.setAttribute("data-spotim-useragent",navigator.userAgent),e.setAttribute("data-spotim-device",(0,m.isPhone)()?"mobile":"desktop"),e.setAttribute("data-spotim-multi-deck","true")}catch(e){}(0,y.default)(e,o),(0,u.initialize)(e,c.spotId,o)}var a=n(8),s=r(a),l=n(9),u=(r(l),n(10)),c=n(60),d=n(14),f=n(55),p=n(131),h=r(p),v=n(13),m=n(61),g=n(142),y=r(g),b=(0,v.getDebugger)("recirculation"),w=s.default.getKey(window.location.href.toLowerCase(),"spotim_rc_whitelist");if(w&&b("Force whitelist"),(0,f.whitelistUrl)(window.location.href,c.config.whitelist)||w){var _=[].concat(i(document.querySelectorAll('[data-spotim-module="recirculation"]')));if(_.length>0)for(var A=0;A<_.length;A++)if("true"!==_[A].getAttribute("data-spotim-ready")){o(_[A],A);break}}else b("URL not whitelisted"),b(c.config.whitelist)},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){return e.split("?")[0].split("#")[0]}function i(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Object.keys(e).reduce(function(t,r){return[].concat(n(t),[r+"="+encodeURIComponent(e[r])])},[]).join("&");return t&&r.length>0&&(r="?"+r),r}function o(e){var t={},n=e.indexOf("?");if(n>-1){var r=e.substring(n+1);""!==r&&r.split("&").forEach(function(e){var n=e.split("="),r=h(n,2),i=r[0],o=r[1];t[i]=decodeURIComponent(o)})}return t}function a(e){var t=e.indexOf("?");if(t===-1)return{};var n=e.substring(t).slice(1).split("&"),r={};return n.forEach(function(e){e=e.split("="),""!==e[0]&&(r[e[0]]=decodeURIComponent(e[1]||""))}),JSON.parse(JSON.stringify(r))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=a(e),i=!1;return r.hasOwnProperty(t)&&(i=null===n||r[t]===n),i}function l(e,t){var n=e,r={};if(n){var o=n.indexOf("?");o>-1&&(r=a(n),n=n.substring(0,o))}else n="";var s=Object.assign(r,t),l=i(s);return l.length>0&&(n+=l),n}function u(e,t){return t.reduce(function(e,t){return c(e,t)},e)}function c(e,t){var n=e,r=e.indexOf("?");if(r!==-1){var i=e.substring(0,r),o=e.substring(r+1),a=new RegExp("&"+t+"(=[^&]*)?|^"+t+"(=[^&]*)?&?");o=o.replace(a,""),n=i+(o.length>0?"?":"")+o}return n}function d(e,t){t=t.replace(/[\[\]]/g,"\\$&");var n,r=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),i=r.exec(e);return n=i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function f(e,t,n){var r=e,i=new RegExp("([?&])"+t+"=.*?(&|$)","i");if(e.match(i))r=e.replace(i,"$1"+t+"="+n+"$2");else{var o=e.indexOf("?")!==-1?"&":"?";r=e+o+t+"="+n}return r}function p(e){return u(e,["utm_source","utm_medium","utm_content","prerender","spot_im_state","spot_im_comment_id","spot_im_reply_id","spot_im_expand_reply","spot_im_highlight_immediate","spot_im_scroll_to_comments","spot_im_source","spot_im_email_settings","spotim_referrer"])}Object.defineProperty(t,"__esModule",{value:!0});var h=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.stripQueryStringAndHash=r,t.queryStringFromObject=i,t.objectFromQueryString=o,t.default={parseUrl:a,buildUrl:l,getKey:d,setKey:f,removeParams:u,removeSpotImParams:p,hasQueryString:s}},function(e,t){"use strict";function n(){return"object"===("undefined"==typeof window?"undefined":r(window))&&!!window.navigator.userAgent.toLocaleLowerCase().match(/(mobile|iemobile|android|webos|iphone|ipad|ipod|blackberry|windows phone)/)}Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t,n){A("Initializing RC"),A(p.config.segmentation),(0,g.setElementMark)(e,"recirculation"),(0,h.initialize)({spotId:t,uiCaptureRoot:e,viewportCaptureRoot:e,segment:(0,d.resolveSegmentName)(),clientPlatform:(0,d.resolveUserPlatform)()}),(0,h.captureEvent)({type:"loaded",engineStatus:n.allowAds()?"available":null});var r=new m.ViewportObserver;r.observe(e,{stateChangeHandler:function(t){(0,h.captureViewportEvent)(e,t.change)}}),(0,v.setupIntersectionObserver)(e),(0,v.observeElement)(e,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];h.captureIntersectionEvent.apply(void 0,[e].concat(n))}),n.onAfterRender(e),n.allowAds()||l.default.getKey(window.location.href,"sprcop")?(0,c.initialize)(t,e,n):A("Ads not allowed");var i=(0,g.findMarkedElements)("item",{container:e});if(i.length>0){var o=p.config.languageDirection,s=p.config.cursor,u=p.config.must,f=p.config.should;a(e,{languageDirection:o,cursor:s,must:u,should:f,spotGroup:n,startWithItemInView:0})}}function a(e,t){var n=(t.languageDirection,t.startWithItemInView),r=t.cursor,o=t.must,a=t.should,s=t.spotGroup,l=e.querySelector("."+p.cssSelectors.content),c=l.querySelectorAll("."+p.cssSelectors.scrollable),d=[].concat(i(l.querySelectorAll("."+p.cssSelectors.item))),v=l.querySelector("."+p.cssSelectors.navigateForward),m=l.querySelector("."+p.cssSelectors.navigateBack);c=Array.prototype.slice.call(c),e.setAttribute("data-spotim-direction",p.config.languageDirection),c.forEach(function(t,i){var y=function(n){_(r,s,o,a).then(function(o){var a=o.newItems,l=o.newCursor;r=l;var u=t,d=(0,b.getDeckItems)(c.length,a,i+1);d.forEach(function(e){return u.append(e)}),s.onAfterRender(e),n({newItems:d})})};if(v&&m){var w=new f.Interaction({onNavigateForward:function(e){var t=e.trigger,n=e.toItem;(0,h.captureEvent)({type:"navigate-forward",trigger:t,toItem:n})},onNavigateBack:function(e){var t=e.trigger,n=e.toItem;(0,h.captureEvent)({type:"navigate-back",trigger:t,toItem:n})},onReachEnd:function(){(0,u.removeClass)(l,p.cssSelectors.hasForwardItems),(0,g.removeElementMark)(l.querySelector('[data-spmark~="navigate-forward"]'),"navigate-enabled"),(0,g.setElementMark)(l.querySelector('[data-spmark~="navigate-forward"]'),"navigate-disabled")},onReachStart:function(){(0,u.removeClass)(l,p.cssSelectors.hasBackItems),(0,g.removeElementMark)(l.querySelector('[data-spmark~="navigate-back"]'),"navigate-enabled"),(0,g.setElementMark)(l.querySelector('[data-spmark~="navigate-back"]'),"navigate-disabled")},onOverflowForward:function(){(0,u.addClass)(l,p.cssSelectors.hasForwardItems),(0,g.removeElementMark)(l.querySelector('[data-spmark~="navigate-forward"]'),"navigate-disabled"),(0,g.setElementMark)(l.querySelector('[data-spmark~="navigate-forward"]'),"navigate-enabled")},onOverflowBack:function(){(0,u.addClass)(l,p.cssSelectors.hasBackItems),(0,g.removeElementMark)(l.querySelector('[data-spmark~="navigate-back"]'),"navigate-disabled"),(0,g.setElementMark)(l.querySelector('[data-spmark~="navigate-back"]'),"navigate-enabled")},fetchNextPage:y});w.initialize({startWithItemInView:n,container:l,scrollable:t,items:d,forwardButton:v,backButton:m,direction:p.config.languageDirection})}})}Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=o;var s=n(8),l=r(s),u=n(11),c=n(12),d=n(61),f=n(120),p=n(60),h=n(18),v=n(59),m=n(123),g=n(17),y=n(13),b=n(55),w=n(129),_=(0,b.memoize)(w.nextPageAjax),A=(0,y.getDebugger)("recirculation")},function(e,t){"use strict";function n(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")}function r(e,t){var r=Array.isArray(t)?t:t.split(" ");if(r.length)for(var i=0;i<r.length;i++)if(!n(e,r[i])){var o=e.getAttribute("class")||"",t=o+" "+r[i];e.setAttribute("class",t)}}function i(e,t){var r=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(n(e,t)){for(;r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}}function o(e,t){var r=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(n(e,t)){for(;r.indexOf(" "+t+" ")>=0;)r=r.replace(" "+t+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}else e.className+=" "+t}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=n,t.addClass=r,t.removeClass=i,t.toggleClass=o,t.default={has:n,add:r,remove:i,toggle:o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r=s({},w.defaults,(0,_.getHostOptions)(),(0,A.getElementOptions)(t)),i=r.allowVA;if(T("Ads allowed by host: "+i+". x-options: "+(0,_.getHostOptions)().allowVA+"; element options: "+(0,A.getElementOptions)(t).allowVA),i){var o=n.getAvailableSlots(t);o.forEach(function(t){var n=(0,b.resolvePlayer)(t.name);n&&(O[t.name]=new k({spotId:e,player:n,slotName:t.name,element:t.element}),O[t.name].initialize())});var a=function e(){window.$$SPOTIM_ACTIVATE_RC_CALLED$$=!0,document.removeEventListener(I,e)};document.addEventListener(I,a,!1),t.setAttribute("data-spotim-engine",!0)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.initialize=o;var l=n(9),u=(r(l),n(13)),c=n(14),d=n(11),f=n(17),p=n(18),h=n(59),v=n(60),m=n(51),g=r(m),y=n(53),b=n(61),w=n(62),_=n(70),A=n(72),S=n(8),E=r(S),T=(0,u.getDebugger)("ads"),I="spot-im-activate-recirculation";window.$$SPOTIM_ACTIVATE_RC_CALLED$$=!1;var O={},k=function(){function e(t){var n=t.spotId,r=t.player,o=t.slotName,a=t.element;i(this,e),this.spotId=n,this.slotName=o,this.element=a,this.player=r,this.deferred=r.waitForEvent&&!window.$$SPOTIM_ACTIVATE_RC_CALLED$$,this.createPlacement=function(){};var s=this.slotName.match(/row(\d+)-cell(\d+)/);s&&(this.row=s[1],this.cell=s[2])}return a(e,[{key:"initialize",value:function(){var e=this;if(T("initialize player",this.player),this.deferred){T("player is deferred");var t=function t(){T(I+" activation event fired"),e.prepareForActivation(),document.removeEventListener(I,t)};document.addEventListener(I,t,!1)}else this.player.delayLoad?(T("player load is delayed by "+1e3*this.player.delayLoad),setTimeout(function(){e.prepareForActivation()},1e3*this.player.delayLoad)):this.prepareForActivation()}},{key:"prepareForActivation",value:function(){try{var e=this.player.type.toLowerCase(),t=n(73)("./"+e+"/index.js");this.PlacementClass=t.Placement;var r=t.SUPPORT_MULTI_PLACEMENTS;if(!r&&document.querySelector('[data-spotim-module="recirculation"] [data-spotim-engine-type="'+e+'"]'))return void T("Another RC loaded, but type '"+e+"' doesn't support multiple placements");this.element.setAttribute("data-spotim-engine-type",e),this.element.insertAdjacentHTML("beforebegin",'<div data-spotim-engine-container data-spotim-engine-slot="'+("row"+this.row+"-cell"+this.cell)+'"></div>'),this.adContainer=this.element.previousElementSibling,this.adContainer.style.opacity=0,this.adContainer.style.display="none",this.adContainer.style.width="0px",this.activate()}catch(e){T("Ads initialize error",e),(0,c.reportError)(e,{errorSource:"demand-initialize",demand:this.player.type})}}},{key:"activate",value:function(){var e=this;return T("Ads will initialize for "+this.spotId+" with demand "+this.player.type),this.player.config.trim()?((0,p.captureEvent)({type:"engine-will-initialize"}),void this.placeAd({onEvent:function(e,t,n,r){T("Ads event: "+e+", for demand: "+t+", tagName: "+n+", in itemIndex: "+r),(0,p.captureEvent)({type:e,itemIndex:r})}}).then(function(t){(0,h.observeElement)(t,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p.captureViewportEvent.apply(void 0,[element].concat(t))}),T("Ads initialized for demand "+e.player.type),(0,p.captureEvent)({type:"engine-initialized",itemIndex:e.slotName})}).catch(function(t){T("Ads initialize error",t),(0,p.captureEvent)({type:"engine-initialize-error",itemIndex:e.slotName}),(0,c.reportError)(t,{errorSource:"ads-initialize",demand:e.player.type})})):void T("Received empty tag. Doing nothing.",this.player)}},{key:"placeAd",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.onEvent,r=void 0===n?function(){}:n,i=E.default.getKey(window.location.href.toLowerCase(),"utm_source"),o=(0,b.resolveUserPlatform)(),a={domain:window.location.hostname,os:o,spotId:this.spotId,utm:i||""};return this.placement=new this.PlacementClass(this.adContainer,{row:this.row,cell:this.cell,player:this.player,subid:a,utmSource:i,spotId:this.spotId,clientPlatform:o,itemIndex:this.slotName,pageUrl:document.location.href,width:this.player.playerWidth,height:this.player.playerHeight,onContentVideoStart:function(t){(0,d.addClass)(e.adContainer,v.cssSelectors.playerPlaying),g.default.trigger("update-ad-slot",{row:e.row,cell:e.cell,width:e.player.playerWidth,height:e.player.playerHeight,itemDisplay:"hide"})},onContentVideoFinish:function(t){(0,d.removeClass)(e.adContainer,v.cssSelectors.playerPlaying),g.default.trigger("update-ad-slot",{row:e.row,cell:e.cell,itemDisplay:"show"})},onAdTagLoad:function(e,t,n){r("engine-tag-load",e,t,n)},onAdTagLoadSuccess:function(e,t,n){r("engine-tag-load-success",e,t,n)},onAdTagLoadFail:function(e,t,n){r("engine-tag-load-fail",e,t,n)},onAdDisplayStart:function(t,n,i){(0,d.addClass)(e.adContainer,v.cssSelectors.playerPlaying),r("engine-start",t,n,i),g.default.trigger(y.AD_DISPLAY_STARTED),g.default.trigger("update-ad-slot",{row:e.row,cell:e.cell,width:e.player.playerWidth,height:e.player.playerHeight,itemDisplay:"hide"})},onAdDisplayFinish:function(t,n,i){(0,d.removeClass)(e.adContainer,v.cssSelectors.playerPlaying),r("engine-stop",t,n,i),g.default.trigger(y.AD_DISPLAY_FINISHED),g.default.trigger("update-ad-slot",{row:e.row,cell:e.cell,itemDisplay:"show"})},onAdImpression:function(e,t,n){r("engine-impression",e,t,n)},onAdViewableImpression:function(e,t,n){r("engine-viewable-impression",e,t,n)},onAdViewableIab:function(e,t,n){r("engine-viewable-iab",e,t,n)},onAdViewedFirstQuartile:function(e,t,n){r("engine-viewed-first-quartile",e,t,n)},onAdClickThrough:function(e,t,n){r("engine-click",e,t,n)},onAdNoFill:function(t,n,i){(0,d.removeClass)(e.adContainer,v.cssSelectors.adDisplay),(0,d.removeClass)(e.adContainer,v.cssSelectors.playerPlaying),r("engine-no-fill",t,n,i)},onDispose:function(){T("Disposing "+e.player.type+" placement"),(0,d.removeClass)(e.adContainer,v.cssSelectors.adDisplay),(0,d.removeClass)(e.adContainer,v.cssSelectors.playerPlaying),(0,f.removeElementMark)(e.adContainer,"engine-item")}}),this.placement.create().catch(function(t){throw(0,d.removeClass)(e.adContainer,v.cssSelectors.adDisplay),(0,d.removeClass)(e.element,v.cssSelectors.playerPlaying),t})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){try{if(null===c){if(c=l.default.getKey(window.location.href.toLowerCase(),u.toLowerCase()),c||(c=window[u]),!c)try{c=window.localStorage.getItem(u)}catch(e){}c||(c=""),c=c.split(",").map(function(e){return e.toLowerCase()})}return c}catch(e){return[]}}function o(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).log.apply(t,["%cSpot.IM "+e,"background: #307fe2; color: white;"].concat(r))}function a(e){var t=i();return t.indexOf("*")>-1||t.indexOf(e.toLowerCase())>-1?o.bind(null,e):function(){}}Object.defineProperty(t,"__esModule",{value:!0}),t.getDebugger=a;var s=n(8),l=r(s),u="SPOTIM_DEBUG_RECIRCULATION",c=null},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportError=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(15),o=n(13),a=n(16),s=(0,o.getDebugger)("errors"),l=2,u=window.navigator&&window.navigator.userAgent||null,c=(0,i.createReporter)("RecirculationClient",!0);t.reportError=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};if(e instanceof Error)n={error:e.message,stack:e.stack};else if("string"==typeof e)n={error:e};else try{n={error:JSON.stringify(e)}}catch(e){n={error:"ERROR_IN_ERROR_REPORT"+e.message,stack:e.stack}}n=r({},n,t,{v:l,ua:u,packageVersion:a.version}),s(n),c("FED-ERROR",n)}},function(e,t){"use strict";function n(e){return Object.keys(e).reduce(function(t,n){return t["payload_"+n]=e[n],t},{})}function r(e){var t=new XMLHttpRequest;t.open("GET",e),t.send()}function i(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t||s){var l=o({source:"FED",moduleName:e,message:r},n(a)),u="https://track.spots.im/?m="+JSON.stringify(l);i(u)}}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createReporter=i},function(e,t){e.exports={name:"@spotim/fed-recirculation-prerender",version:"3.3.13",private:!0,engines:{node:"5.3.0",npm:"3.3.12"},scripts:{start:"node index",tests:"npm run node-tests && npm run browser-tests","node-tests":"NODE_ENV=tests ./node_modules/mocha/bin/mocha --compilers js:babel-register ./tests/node/**/*.js","casper-tests":"NODE_ENV=tests ./node_modules/mocha-casperjs/bin/mocha-casperjs --verbose --log-level=debug ./tests/casper/*.js","casper-tests-debug":"NODE_ENV=tests ./node_modules/mocha-casperjs/bin/mocha-casperjs --verbose --log-level=debug --remote-debugger-port=9022 ./tests/casper/*.js","browser-tests":"NODE_ENV=tests ./node_modules/karma/bin/karma start karma.conf.js","tests-debug":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha --compilers js:babel-register ./tests/node/**/*.js",production:"NODE_ENV=production node ./index.js",staging:"NODE_ENV=staging node ./index.js",qa:"NODE_ENV=qa node ./index.js","dev-debug":"NODE_ENV=development node ./node_modules/iron-node/bin/run.js ./index.js",dev:"NODE_ENV=development node ./index.js","notify-translations":"NODE_ENV=staging node ./notify-translations"},dependencies:{"@newrelic/native-metrics":"^2.1.1","@spotim/fed-analytics":"2.4.7-fix1","@spotim/fed-avatars":"1.0.51","@spotim/fed-common":"1.0.161","@spotim/fed-module-options":"1.1.14","@spotim/fed-resources":"1.1.11","@spotim/fed-utils":"1.1.68","@spotim/fed-utils-viewport-observer":"1.0.69",animejs:"^2.0.1",autoprefixer:"^6.5.0","babel-core":"^6.17.0","babel-loader":"^6.2.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-plugin-transform-runtime":"^6.12.0","babel-preset-es2015":"^6.16.0","babel-preset-es2017":"^6.14.0","babel-preset-react":"^6.16.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.16.3","babel-runtime":"^6.11.6","body-parser":"1.15.2",classnames:"^2.2.5",compression:"1.6.2",cssnano:"^3.7.7","deep-extend":"0.4.1",ejs:"^2.5.2",ent:"^2.2.0","es6-promise":"^4.0.5",express:"4.14.0",globby:"^6.1.0",htmlparser2:"^3.9.2","inline-environment-variables-webpack-plugin":"^1.1.0","json-loader":"^0.5.4",lodash:"^4.17.4","memory-fs":"^0.3.0","mobile-detect":"^1.3.5",moment:"^2.17.0",morgan:"^1.8.2",nanoajax:"^0.4.3",newrelic:"^1.40.0","node-dir":"^0.1.16","object-assign":"^4.1.0",postcss:"^5.2.4","postcss-import":"9.1.0","postcss-initial":"^1.5.2","postcss-js":"^0.1.3","postcss-mixins":"^5.4.0","postcss-modules":"^0.5.2","postcss-nested":"^1.0.0","postcss-simple-vars":"^3.0.0",preact:"^6.3.0","preact-render-to-string":"^3.2.1","promisify-node":"^0.4.0",raven:"^2.1.0","raw-loader":"^0.5.1",request:"^2.75.0","source-map-loader":"^0.1.5",transifex:"^1.4.4","ua-parser":"^0.3.5",webpack:"^1.13.2","whatwg-fetch":"^2.0.2"},devDependencies:{"@spotim/fed-bootstrap":"^1.0.54",babelify:"^7.3.0",brfs:"^1.4.3",browserify:"^13.1.1","casper-chai":"^0.3.0",casperjs:"^1.1.3",chai:"^3.5.0","chai-spies":"^0.7.1",envify:"^4.0.0",eslint:"3.4.0","iron-node":"^3.0.15",karma:"^1.3.0","karma-browserify":"^5.1.0","karma-chai":"^0.1.0","karma-fixture":"^0.2.6","karma-html2js-preprocessor":"^1.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.2","karma-verbose-reporter":"0.0.3",mocha:"^3.2.0","mocha-casperjs":"^0.5.8",sinon:"^1.17.6",watchify:"^3.7.0"}}},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){var t=s(e),n={};return t.forEach(function(e){var t=e.match(p);t?n[t[1]]=t[2]:n[e]=!0;
}),Object.keys(n).length>0?n:null}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!t)throw"Can't get marks path without rootNode";for(var n=[],i=t.parentNode?t.parentNode:t;e&&e!==i;){if(e.getAttribute){var o=r(e);o&&n.push(o)}e=e.parentNode}return n}function o(e,t){return!!e.find(function(e){return e[t]})}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.having,r=t.key,i=null,o=e.find(function(e){return e[n]});return o&&(i=o[r]),i}function s(e){return(e.getAttribute(f)||"").split(" ").map(function(e){return e.trim()}).filter(function(e,t,n){return n.indexOf(e)===t}).filter(function(e){return""!==e})}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=s(e);n=n.filter(function(e){return e!==t}),n.push(t),e.setAttribute(f,n.join(" "))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=s(e);n=n.filter(function(e){return e!==t}),e.setAttribute(f,n.join(" "))}function c(e,t){var n=s(e);return n.indexOf(t)>-1}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.container,i=void 0===r?null:r;i||(i=document);var o=i.querySelectorAll("["+f+'~="'+e+'"]');return[].concat(n(o))}Object.defineProperty(t,"__esModule",{value:!0}),t.getElementMarks=r,t.getMarksPathFromTarget=i,t.pathHasMark=o,t.getMarkValueFromPath=a,t.setElementMark=l,t.removeElementMark=u,t.elementHasMark=c,t.findMarkedElements=d;var f=t.MARK_KEY="data-spmark",p=/([^\s]+):([^\s]*)/},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.spotId,n=e.uiCaptureRoot,r=e.viewportCaptureRoot,i=e.segment,o=void 0===i?null:i,a=e.demand,s=void 0===a?null:a,l=e.tagName,c=void 0===l?null:l,b=e.splitName,w=void 0===b?null:b,I=e.splitNumber,O=void 0===I?null:I,k=e.clientPlatform,P=void 0===k?null:k;S=new p.UiCapture({root:n,events:"click",filters:m.filters,track:u}),E=new h.ViewportCapture({root:r,track:u,filters:g.filters}),T=new v.EventsCapture({filters:y.filters,track:u});var C=[{name:"logstash-analytics",send:f.send}];A=(0,d.exposeTrackerTo)(window,window,{spotId:t,senders:C}),(0,d.trackTimeOnSite)(window,document,A,f.beacon,{spotId:t,source:"recirculation",sourceVersion:"3.3.13"}),_=A.getTrackerForSource({source:"recirculation",sourceVersion:"3.3.13",segment:(o||"").toString(),engineVendorName:s,engineTagId:c,splitName:w,splitNumber:O,clientPlatform:P})}function o(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=E).handleEvent.apply(t,[e].concat(r))}function a(e,t){return E.handleEvent(e,"view_"+t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return S.handleEvent(e,t)}function l(e){return T.handleEvent(e)}function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.then(function(e){return e.apply(void 0,t)})}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];_.then(function(e){_=function(){var n;return Promise.resolve((n=A).applyTrackerParams.apply(n,[e].concat(t)))}})}Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=i,t.captureViewportEvent=o,t.captureIntersectionEvent=a,t.captureUiEvent=s,t.captureEvent=l,t.appendTrackerParams=c;var d=n(19),f=n(40),p=n(43),h=n(44),v=n(45),m=n(46),g=n(47),y=n(54),b=n(14),w=n(56),_=(r(w),function(){return Promise.resolve(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,b.reportError)("Tried to track before tracker initialized",{args:t})})}),A=null,S=null,E=null,T=null},function(e,t,n){"use strict";function r(e,t,n,r,o){if((0,s.timeOnSiteMeasurable)(e)){var a=function(){t.removeEventListener("visibilitychange",l),n.beacon(r,i({type:"unloaded",timeOnSiteMeasurable:(0,s.timeOnSiteMeasurable)(e)?1:0,viewabilityMeasurable:(0,s.viewabilityMeasurable)(e)?1:0},o))},l=function(){"hidden"===t.visibilityState?n.beacon(r,i({type:"pagehide",timeOnSiteMeasurable:(0,s.timeOnSiteMeasurable)(e)?1:0,viewabilityMeasurable:(0,s.viewabilityMeasurable)(e)?1:0},o)):"visible"===t.visibilityState&&n.beacon(r,i({type:"pageshow",timeOnSiteMeasurable:(0,s.timeOnSiteMeasurable)(e)?1:0,viewabilityMeasurable:(0,s.viewabilityMeasurable)(e)?1:0},o))};e.addEventListener("beforeunload",a,!1),t.addEventListener("visibilitychange",l)}}Object.defineProperty(t,"__esModule",{value:!0}),t.exposeTrackerTo=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.trackTimeOnSite=r;var o=n(20),a=n(21),s=n(22),l=(n(23),n(24)),u=(n(17),n(39)),c=(0,l.getDebugger)("track");t.exposeTrackerTo=(0,o.exposer)("Tracker",function(e,t){var n=t.spotId,r=t.senders;return c("Tracker exposed"),new a.TrackerService({spotId:n,visitId:u.visitId,browserId:u.browserId,startTime:(0,s.getStartTime)(e),commonParams:i({},(0,s.getBrowserWindowParams)(e),{timeOnSiteMeasurable:(0,s.timeOnSiteMeasurable)(e)?1:0,viewabilityMeasurable:(0,s.viewabilityMeasurable)(e)?1:0}),senders:r})})},function(e,t){"use strict";function n(e,t){var n=e.__exposedModules=e.__exposedModules||{},r=n[t]=n[t]||{};return r}function r(e,t){var r=n(e,t),i=r.instance;return i}function i(e,t){function r(r){var i=n(r,e);if(!i.instance){for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];i.instance=t.apply(void 0,a.concat([r]))}return i.instance}return r.exposeTo=function(t){var i=n(t,e);return i.exposeTo||(i.exposeTo=r),i.exposeTo},r}function o(e,t){if("function"!=typeof t)throw Error("Create method must be supplied to exposer");return i(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.getExposedModule=n,t.resolveInstance=r,t.exposer=o},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.TrackerService=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(22),u=n(23),c=n(24),d=n(28),f=n(39),p=(0,c.getDebugger)("track");t.TrackerService=function(){function e(t){var n=t.spotId,r=t.visitId,o=t.browserId,a=t.startTime,s=void 0===a?null:a,l=t.commonParams,u=void 0===l?{}:l,c=t.senders,d=void 0===c?[]:c;i(this,e),this.spotId=n,this.visitId=r,this.browserId=o,this.startTime=s,this.commonParams=u,this.senders=d,this.trackInitialEvents(n),p("Tracker initialized with",{spotId:n,startTime:s,commonParams:u})}return s(e,[{key:"getParamsToSend",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Object.assign.apply(Object,[{visitId:this.visitId,ibBrowserId:this.browserId,v:f.VERSION,timeDelta:(0,l.getTimeDelta)(this.startTime),uid:(0,u.guid)()}].concat(t));return r=(0,l.objectKeysToSnakeCase)(r)}},{key:"track",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new Promise(function(t,r){var i=e.getParamsToSend.apply(e,n);o(i)?Promise.all(e.senders.map(function(e){var t=e.name,n=e.send;return p("Will send with sender - "+t,i),n(i).catch(function(e){return p("Sender error - "+t,e,i)})})).then(t).catch(r):(p("Excluded with",i),t())})}},{key:"beacon",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=this.getParamsToSend.apply(this,n);e(i),p("Beacon",i)}},{key:"getTrackerForSource",value:function(e){var t=e.source,n=e.sourceVersion,i=r(e,["source","sourceVersion"]);return Promise.resolve(this.applyTrackerParams(this.track,a({spotId:this.spotId,source:t,sourceVersion:n},i),this.commonParams))}},{key:"applyTrackerParams",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return p.apply(void 0,["Applying tracker for"].concat(n)),e.bind.apply(e,[this].concat(n))}},{key:"trackInitialEvents",value:function(e){window.$$SPOTIM_TRACK_SPOTLOAD$$=window.$$SPOTIM_TRACK_SPOTLOAD$$||!1,window.$$SPOTIM_TRACK_SPOTLOAD$$||(window.$$SPOTIM_TRACK_SPOTLOAD$$=!0,d.trackSpotLoad.execute(e))}}]),e}()},function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e){var t={domain:e.location.hostname,url:e.location.href,referrer:e.document.referrer,lang:e.navigator.userLanguage||e.navigator.language};return t}function o(e){if(e.performance&&e.performance.timing){var t=e.performance.timing.domLoading;if(!isNaN(parseInt(t))&&t>0)return t}return null}function a(e){var t=function(e){return e.replace(/([A-Z])/g,function(e){return"_"+e.toLowerCase()})};return Object.assign.apply(Object,[{}].concat(r(Object.keys(e).map(function(r){return n({},t(r),e[r])}))))}function s(e){if(e<0)return null;var t=9007199254740991;if(e&&!isNaN(parseInt(e))){var n=Date.now()-e;return isNaN(n)?n=null:n<0?n=null:n>t&&(n=null),n}return null}function l(e){return"function"==typeof e.navigator.sendBeacon}function u(e){return"function"==typeof e.IntersectionObserver}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return Object.keys(e).forEach(function(n){null!==e[n]&&"undefined"!=typeof e[n]&&(t[n]=e[n])}),t=encodeURIComponent(btoa(JSON.stringify(t)))}Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserWindowParams=i,t.getStartTime=o,t.objectKeysToSnakeCase=a,t.getTimeDelta=s,t.timeOnSiteMeasurable=l,t.viewabilityMeasurable=u,t.preparePayload=c},function(e,t){"use strict";function n(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function r(){var e=n;return e()+e()+e()+e()+e()+e()+e()+e()}Object.defineProperty(t,"__esModule",{value:!0}),t.shortGuid=n,t.guid=r,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){try{if(null===c){if(c=l.default.getKey(window.location.href.toLowerCase(),u.toLowerCase()),c||(c=window[u]),!c)try{c=window.localStorage.getItem(u)}catch(e){}c||(c=""),c=c.split(",").map(function(e){return e.toLowerCase()})}return c}catch(e){return[]}}function o(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).log.apply(t,["%cSpot.IM "+e,"background: #307fe2; color: white;"].concat(r))}function a(e){var t=i();return t.indexOf("*")>-1||t.indexOf(e.toLowerCase())>-1?o.bind(null,e):function(){}}Object.defineProperty(t,"__esModule",{value:!0}),t.getDebugger=a;var s=n(25),l=r(s),u="SPOTIM_DEBUG_TRACK",c=null},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e){return e.split("?")[0].split("#")[0]}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object.keys(e).reduce(function(t,n){return[].concat(r(t),[n+"="+encodeURIComponent(e[n])])},[]).join("&");return t&&n.length>0&&(n="?"+n),n}function a(e){var t=e.indexOf("?");if(t===-1)return{};var n=e.substring(t).slice(1).split("&"),r={};return n.forEach(function(e){e=e.split("="),""!==e[0]&&(r[e[0]]=decodeURIComponent(e[1]||""))}),JSON.parse(JSON.stringify(r))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=a(e),i=!1;return r.hasOwnProperty(t)&&(i=null===n||r[t]===n),i}function l(e,t){var n=e,r={};if(n){var i=n.indexOf("?");i>-1&&(r=a(n),n=n.substring(0,i))}else n="";var s=Object.assign(r,t),l=o(s);return l.length>0&&(n+=l),n}function u(e,t){return t.reduce(function(e,t){return c(e,t)},e)}function c(e,t){var n=e,r=e.indexOf("?");if(r!==-1){var i=e.substring(0,r),o=e.substring(r+1),a=new RegExp("&"+t+"(=[^&]*)?|^"+t+"(=[^&]*)?&?");o=o.replace(a,""),n=i+(o.length>0?"?":"")+o}return n}function d(e,t,n){var r=e,i=new RegExp("([?&])"+t+"=.*?(&|$)","i");if(e.match(i))r=e.replace(i,"$1"+t+"="+n+"$2");else{var o=e.indexOf("?")!==-1?"&":"?";r=e+o+t+"="+n}return r}function f(e){return u(e,["utm_source","utm_medium","utm_content","prerender","spot_im_state","spot_im_comment_id","spot_im_reply_id","spot_im_expand_reply","spot_im_highlight_immediate","spot_im_scroll_to_comments","spot_im_source","spot_im_email_settings","spotim_referrer"])}Object.defineProperty(t,"__esModule",{value:!0}),t.objectFromQueryString=void 0;var p=n(26);Object.defineProperty(t,"objectFromQueryString",{enumerable:!0,get:function(){return p.objectFromQueryString}}),t.stripQueryStringAndHash=i,t.queryStringFromObject=o;var h=n(27);t.default={parseUrl:a,buildUrl:l,getKey:h.getKey,setKey:d,removeParams:u,removeSpotImParams:f,hasQueryString:s}},function(e,t){"use strict";function n(e){var t={},n=e.indexOf("?");if(n>-1){var i=e.substring(n+1);""!==i&&i.split("&").forEach(function(e){var n=e.split("="),i=r(n,2),o=i[0],a=i[1];t[o]=decodeURIComponent(a)})}return t}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.objectFromQueryString=n},function(e,t){"use strict";function n(e,t){t=t.replace(/[\[\]]/g,"\\$&");var n,r=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),i=r.exec(e);return n=i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}Object.defineProperty(t,"__esModule",{value:!0}),t.getKey=n},function(e,t,n){"use strict";function r(e){return this.performRequest(null,{spotId:e})}Object.defineProperty(t,"__esModule",{value:!0}),t.trackSpotLoad=void 0;var i=n(29),o=n(37);t.trackSpotLoad=(0,i.createResource)(o.apiUrl,"get","/spot/{{spotId}}",r,{withCredentials:!0})},function(e,t,n){"use strict";function r(e,t,n,s){function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.replace(a,function(t,n){return e.hasOwnProperty(n)?e[n]:t})}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e+l(t)}function c(o){return o=(0,i.extendOptions)(p,o),r(e,t,n,s,o)}function d(){return{apiUrl:e,method:t,url:n,execute:s,options:p}}function f(e,n){var r=u(n);p=(0,i.extendOptions)(i.defaultOptions,p);var o;switch(t.toLowerCase()){case"get":o=h.get(r,e,p);break;case"delete":o=h.delete(r,p);break;case"patch":o=h.patch(r,e,p);break;case"post":o=h.post(r,e,p);break;case"put":o=h.put(r,e,p)}return o}var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:o.RequestHandler;return{getUrl:l,getFullUrl:u,performRequest:f,extend:c,execute:s,getProperties:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.createResource=r;var i=n(30),o=n(31),a=/\{\{(\w+)\}\}/gi},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t,n){t in e&&(n[t]=e[t])}function i(e,t,n){if(t in e)if(n[t]){var r=n[t];n[t]=function(){e[t](),r()}}else n[t]=e[t]}function o(e,t,r){t in e&&Array.isArray(e[t])&&(r[t]=[].concat(n(r[t]||[]),n(e[t])))}function a(){for(var e={},t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return n.forEach(function(t){r(t,"withCredentials",e),r(t,"contentType",e),i(t,"success",e),i(t,"error",e),o(t,"requestInterceptors",e),o(t,"responseInterceptors",e),o(t,"parsers",e)}),e}Object.defineProperty(t,"__esModule",{value:!0}),t.extendPrimitive=r,t.extendFunction=i,t.extendArray=o,t.extendOptions=a;t.defaultOptions={withCredentials:!1,requestInterceptors:[],responseInterceptors:[],parsers:[],contentType:"application/json",success:function(){},error:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.RequestHandler=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(32),s=r(a);t.RequestHandler=function(){function e(){i(this,e)}return o(e,null,[{key:"retryRequest",value:function(t,n){var r=t.url,i=t.method,o=(0,s.default)(i,r);return o._query=t._query,o.header=t.header,o._header=t._header,o._data=t._data,e.performRequest(o,n)}},{key:"performRequest",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.withCredentials&&(t=t.withCredentials()),n.contentType&&(t=t.set("Content-Type",n.contentType),"application/x-www-form-urlencoded"!==n.contentType&&"text/plain"!==n.contentType||(t._data=JSON.stringify(t._data))),new Promise(function(r,i){e.invokeRequestInterceptors(t,n.requestInterceptors,n).then(function(t){var o=t.request;o.end(function(t,a){t?(i(t),n.error&&n.error(t)):e.invokeResponseInterceptors(o,a,n.responseInterceptors,n).then(function(t){var o=t.response;if(o.ok){var a=e.invokeParsers(o.body,n.parsers);r(a),n.success&&n.success(a)}else i(o),n.error&&n.error(o)})})})})}},{key:"invokeParsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.freeze(e);return t.reduce(function(e,t){return t(n,e)},n)}},{key:"invokeRequestInterceptors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(e,t){return e.then(function(e){var r=e.request;return t.requestInterceptor(r,n)})},Promise.resolve({request:e}))}},{key:"invokeResponseInterceptors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.reduce(function(t,n){return t.then(function(t){var i=t.response;return n.responseInterceptor(e,i,r)})},Promise.resolve({response:t}))}},{key:"get",value:function(t,n,r){var i=s.default.get(t,n);return e.performRequest(i,r)}},{key:"post",value:function(t,n,r){var i=s.default.post(t,n);return e.performRequest(i,r)}},{key:"patch",value:function(t,n,r){var i=s.default.patch(t,n);return e.performRequest(i,r)}},{key:"put",value:function(t,n,r){var i=s.default.put(t,n);return e.performRequest(i,r)}},{key:"delete",value:function(t,n){var r=s.default.del(t);return e.performRequest(r,n)}}]),e}()},function(e,t,n){function r(){}function i(e){if(!g(e))return e;var t=[];for(var n in e)o(t,n,e[n]);return t.join("&")}function o(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){o(e,t,n)});else if(g(n))for(var r in n)o(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function a(e){for(var t,n,r={},i=e.split("&"),o=0,a=i.length;o<a;++o)t=i[o],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,i,o=e.split(/\r?\n/),a={};o.pop();for(var s=0,l=o.length;s<l;++s)n=o[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),i=b(n.slice(t+1)),a[r]=i;return a}function l(e){return/[\/+]json\b/.test(e)}function u(e){return e.split(/ *; */).shift()}function c(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})}function d(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this._setStatusProperties(this.xhr.status),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function f(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new d(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,e.rawResponse=n.xhr&&n.xhr.responseText?n.xhr.responseText:null,e.statusCode=n.xhr&&n.xhr.status?n.xhr.status:null,n.callback(e)}n.emit("response",t);var r;try{(t.status<200||t.status>=300)&&(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function p(e,t){var n=y("DELETE",e);return t&&n.end(t),n}var h;"undefined"!=typeof window?h=window:"undefined"!=typeof self?h=self:(console.warn("Using browser-only version of superagent in non-browser environment"),h=this);var v=n(33),m=n(34),g=n(35),y=e.exports=n(36).bind(null,f);y.getXHR=function(){if(!(!h.XMLHttpRequest||h.location&&"file:"==h.location.protocol&&h.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var b="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};y.serializeObject=i,y.parseString=a,y.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},y.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},y.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},d.prototype.get=function(e){return this.header[e.toLowerCase()]},d.prototype._setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=u(t);var n=c(t);for(var r in n)this[r]=n[r]},d.prototype._parseBody=function(e){var t=y.parse[this.type];return!t&&l(this.type)&&(t=y.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},d.prototype._setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},d.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},y.Response=d,v(f.prototype);for(var w in m)f.prototype[w]=m[w];f.prototype.type=function(e){return this.set("Content-Type",y.types[e]||e),this},f.prototype.responseType=function(e){return this._responseType=e,this},f.prototype.accept=function(e){return this.set("Accept",y.types[e]||e),this},f.prototype.auth=function(e,t,n){switch(n||(n={type:"basic"}),n.type){case"basic":var r=btoa(e+":"+t);this.set("Authorization","Basic "+r);break;case"auto":this.username=e,this.password=t}return this},f.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},f.prototype.attach=function(e,t,n){return this._getFormData().append(e,t,n||t.name),this},f.prototype._getFormData=function(){return this._formData||(this._formData=new h.FormData),this._formData},f.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},f.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},f.prototype._timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},f.prototype._appendQueryString=function(){var e=this._query.join("&");e&&(this.url+=~this.url.indexOf("?")?"&"+e:"?"+e)},f.prototype.end=function(e){var t=this,n=this.xhr=y.getXHR(),i=this._timeout,o=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t._timeoutError();if(t._aborted)return;return t.crossDomainError()}t.emit("end")}};var a=function(e,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=e,t.emit("progress",n)};if(this.hasListeners("progress"))try{n.onprogress=a.bind(null,"download"),n.upload&&(n.upload.onprogress=a.bind(null,"upload"))}catch(e){}if(i&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},i)),this._appendQueryString(),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!this._isHost(o)){var s=this._header["content-type"],u=this._serializer||y.serialize[s?s.split(";")[0]:""];!u&&l(s)&&(u=y.serialize["application/json"]),u&&(o=u(o))}for(var c in this.header)null!=this.header[c]&&n.setRequestHeader(c,this.header[c]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send("undefined"!=typeof o?o:null),this},y.Request=f,y.get=function(e,t,n){var r=y("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.head=function(e,t,n){var r=y("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.options=function(e,t,n){var r=y("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.del=p,y.delete=p,y.patch=function(e,t,n){var r=y("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.post=function(e,t,n){var r=y("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.put=function(e,t,n){var r=y("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return i(e)}function i(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){var r=n(35);t.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},t.parse=function(e){return this._parser=e,this},t.serialize=function(e){return this._serializer=e,this},t.timeout=function(e){return this._timeout=e,this},t.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},t.catch=function(e){return this.then(void 0,e)},t.use=function(e){return e(this),this},t.get=function(e){return this._header[e.toLowerCase()]},t.getHeader=t.get,t.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},t.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},t.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(r(e)){for(var n in e)this.field(n,e[n]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return this._getFormData().append(e,t),this},t.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},t.withCredentials=function(){return this._withCredentials=!0,this},t.redirects=function(e){return this._maxRedirects=e,this},t.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},t._isHost=function(e){var t={}.toString.call(e);switch(t){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}},t.send=function(e){var t=r(e),n=this._header["content-type"];if(t&&r(this._data))for(var i in e)this._data[i]=e[i];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)}},function(e,t){function n(e){return null!==e&&"object"==typeof e}e.exports=n},function(e,t){function n(e,t,n){return"function"==typeof n?new e("GET",t).end(n):2==arguments.length?new e("GET",t):new e(t,n)}e.exports=n},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;r=n(38);t.apiUrl=e.env.SKIP_CDN?r.url:r.cdn}).call(t,n(4))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.url="https://tracker.spot.im",t.cdn="https://www.spot.im/api/tracker"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserId=t.visitId=t.VERSION=void 0;var r=n(23);window.$$SPOTIM_VID$$=window.$$SPOTIM_VID$$||(0,r.guid)(),window.$$SPOTIM_BID$$=window.$$SPOTIM_BID$$||(0,r.guid)();t.VERSION=5,t.visitId=$$SPOTIM_VID$$,t.browserId=window.$$SPOTIM_BID$$},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.preparePayload)(e);return new Promise(function(e,n){function r(){try{document.body.removeChild(o)}catch(e){}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;l("LogstashAnalyticsError",{sender:"logstash-analytics",error:e,data:t}),n({data:t})}var o=document.createElement("img");try{Object.assign(o.style,{width:0,height:0,opacity:0,position:"absolute"}),o.onload=function(){e(),r()},o.onerror=function(t){e(),r()},o.src=""+u+t+"&rnd="+Math.random(),document.body.appendChild(o)}catch(e){i(e),r()}})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.preparePayload)(e);"function"==typeof window.navigator.sendBeacon}Object.defineProperty(t,"__esModule",{value:!0}),t.send=r,t.beacon=i;var o,a=n(41),s=n(22);o=n(42).production;var l=(0,a.createReporter)("Recirculation",!0),u=o.logstashAnalyticsUrlPrefix;o.logstashAnalyticsBeaconUrl},function(e,t){"use strict";function n(e){return Object.keys(e).reduce(function(t,n){return t["payload_"+n]=e[n],t},{})}function r(e){var t=new XMLHttpRequest;t.open("GET",e),t.send()}function i(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;
return function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t||s){var l=o({source:"FED",moduleName:e,message:r},n(a)),u="https://track.spots.im/?m="+JSON.stringify(l);i(u)}}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createReporter=i},function(e,t){"use strict";e.exports={staging:{serviceUrl:"http://stagingv2.spot.im/api/track",logstashAnalyticsUrlPrefix:"https://track.spots.im/ts?m=",logstashAnalyticsBeaconUrl:"https://track.spots.im/ts"},production:{serviceUrl:"http://www.spot.im/api/track",logstashAnalyticsUrlPrefix:"https://track.spots.im/t?m=",logstashAnalyticsBeaconUrl:"https://track.spots.im/t"}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.UiCapture=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(17);t.UiCapture=function(){function e(t){var n=t.root,i=void 0===n?null:n,o=(t.events,t.filters),a=void 0===o?[]:o,s=t.track,l=void 0===s?function(){}:s;r(this,e),this.root=i,this.filters=a,this.track=l}return i(e,[{key:"attachHandlers",value:function(e,t){var n=this;t=t.split(" "),t.forEach(function(t){return e.addEventListener(t,n.handleEvent.bind(n),!0)})}},{key:"handleEvent",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},i=!1;return this.filters.forEach(function(a){for(var s=[],l=e.target,u=t.root&&t.root.parentNode?t.root.parentNode:t.root;l&&l!==u;){if(l.getAttribute){var c=(0,o.getElementMarks)(l);c&&s.push(c)}l=l.parentNode}if(s.length>0&&a.query(e.type,s,n)){var d=a.transform(e.type,s,n);d&&Object.keys(d).length>0&&(Object.assign(r,d),i=!0)}}),i?this.track(r):Promise.resolve()}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportCapture=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(17);t.ViewportCapture=function(){function e(t){var n=t.root,i=t.filters,o=t.track;r(this,e),this.root=n,this.track=o,this.filters=i}return i(e,[{key:"handleEvent",value:function(e,t){var n=this,r={},i=!1;return this.filters.forEach(function(a){for(var s=[],l=e,u=n.root&&n.root.parentNode?n.root.parentNode:n.root;l&&l!==u;){if(l.getAttribute){var c=(0,o.getElementMarks)(l);c&&s.push(c)}l=l.parentNode}if(a.query(t,s)){var d=a.transform(t,s,n.handleEvent.bind(n,e));d&&Object.keys(d).length>0&&(Object.assign(r,d),i=!0)}}),i?this.track(r):Promise.resolve()}}]),e}()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.EventsCapture=function(){function e(t){var r=t.filters,i=t.track;n(this,e),this.filters=r,this.track=i}return r(e,[{key:"handleEvent",value:function(e){var t={},n=!1;return this.filters.forEach(function(r){if(r.query(e)){var i=r.transform(e,null);i&&Object.keys(i).length>0&&(Object.assign(t,i),n=!0)}}),n?this.track(t):Promise.resolve()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var r=n(17);t.filters=[{query:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{redirect:!1},i=n.redirect;return i&&(0,r.pathHasMark)(t,"item")},transform:function(e,t){var n="item";return(0,r.pathHasMark)(t,"user-image")?n="user-image":(0,r.pathHasMark)(t,"username")?n="username":(0,r.pathHasMark)(t,"message-time")?n="message-time":(0,r.pathHasMark)(t,"message-text")?n="message-text":(0,r.pathHasMark)(t,"item-title")?n="item-title":(0,r.pathHasMark)(t,"item-image")&&(n="item-image"),{type:"clicked",element:n,row:0,column:(0,r.getMarkValueFromPath)(t,{having:"item",key:"index"})}}}]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){"viewed"===e?(d||(c=Date.now(),d=setTimeout(function(){t("in-viewport-2s"),l.default.trigger(u.IN_VIEW_2S)},2e3)),f||(f=!0,l.default.trigger(u.ENTERED_VIEWPORT),setTimeout(function(){t("after-viewed-3s")},3e3),setTimeout(function(){t("after-viewed-10s")},1e4))):"unviewed"===e&&(clearTimeout(d),d=null)}Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0,t.viewportTimers=i;var o=(n(17),n(48)),a=n(49),s=n(51),l=r(s),u=n(53),c=(t.filters=[{query:function(e,t){return["view_MORE_HALF_ENTER","view_FULL_ENTER"].indexOf(e)>-1},transform:function(e,t,n){return o.filters.onlyOnce({type:"view_io",element:"recirculation"})}},{query:function(e,t){return["view_MORE_HALF_LEAVE","view_FULL_LEAVE"].indexOf(e)>-1},transform:function(e,t,n){return o.filters.onlyOnce({type:"unview_io",element:"recirculation"})}},{query:function(e,t){return[a.MORE_HALF_ENTER,a.FULL_ENTER].indexOf(e)>-1},transform:function(e,t,n){return i("viewed",n),o.filters.onlyOnce({type:"viewed",element:"recirculation"})}},{query:function(e,t){return[a.MORE_HALF_LEAVE,a.FULL_LEAVE].indexOf(e)>-1},transform:function(e,t,n){return i("unviewed",n),o.filters.onlyOnce({type:"unviewed",element:"recirculation"})}},{query:function(e){return["in-viewport-2s","after-viewed-3s","after-viewed-10s"].indexOf(e)>-1},transform:function(e){return o.filters.onlyOnce({type:e})}}],null),d=null,f=!1},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t.Filters=function(){function e(){n(this,e),this.buffer={}}return o(e,[{key:"getNow",value:function(){return Date.now()}},{key:"getParamsHash",value:function(e){var t=function e(t){return Object.keys(t).sort().reduce(function(n,r){if(Array.isArray(t[r]))throw new Error("Filters - can't hash Array values");if("function"==typeof t[r])throw new Error("Filters - can't hash Function values");return"undefined"!=typeof t[r]&&(null===t[r]||Array.isArray(t[r])||"object"!==i(t[r])?n.push([r,t[r]]):n.push([r,e(t[r])])),n},[])};return JSON.stringify(t(e))}},{key:"addToBuffer",value:function(e){var t=this.getParamsHash(e),n=this.buffer[t];if(n){var i=r({},this.buffer[t]);return this.buffer[t]={times:i.times+1,lastTime:this.getNow()},i}return this.buffer[t]={times:1,lastTime:this.getNow()},{times:0,lastTime:null}}},{key:"onlyOnce",value:function(e){return this.atMostNTimes(e,1)}},{key:"everyNTimes",value:function(e,t){var n=this.addToBuffer(e);return n.times%t===0?e:null}},{key:"atMostNTimes",value:function(e,t){var n=this.addToBuffer(e);return n.times<t?e:null}},{key:"afterNTimes",value:function(e,t){var n=this.addToBuffer(e);return n.times>=t?e:null}},{key:"throttleNMs",value:function(e,t){var n=this.addToBuffer(e);return Date.now()-n.lastTime>t?e:null}},{key:"withCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"count",n=this.addToBuffer(e);return e[t]=n.times+1,e}}]),e}();t.filters=new a},function(e,t,n){"use strict";function r(e,t){var n=o;return e!==t&&(e===i.NOT_VISIBLE?t===i.LESS_HALF_VISIBLE?n=a:t===i.MORE_HALF_VISIBLE?n=s:t===i.FULL_VISIBLE&&(n=l):e===i.LESS_HALF_VISIBLE?t===i.NOT_VISIBLE?n=d:t===i.MORE_HALF_VISIBLE?n=s:t===i.FULL_VISIBLE&&(n=l):e===i.MORE_HALF_VISIBLE?t===i.NOT_VISIBLE?n=d:t===i.LESS_HALF_VISIBLE?n=c:t===i.FULL_VISIBLE&&(n=l):e===i.FULL_VISIBLE&&(t===i.NOT_VISIBLE?n=d:t===i.LESS_HALF_VISIBLE?n=c:t===i.MORE_HALF_VISIBLE&&(n=u))),n}Object.defineProperty(t,"__esModule",{value:!0}),t.VISIBILITY_CHANGE=t.FULL_LEAVE=t.MORE_HALF_LEAVE=t.LESS_HALF_LEAVE=t.FULL_ENTER=t.MORE_HALF_ENTER=t.LESS_HALF_ENTER=t.UNCHANGED=void 0,t.getChange=r;var i=n(50),o=t.UNCHANGED="UNCHANGED",a=t.LESS_HALF_ENTER="LESS_HALF_ENTER",s=t.MORE_HALF_ENTER="MORE_HALF_ENTER",l=t.FULL_ENTER="FULL_ENTER",u=t.LESS_HALF_LEAVE="LESS_HALF_LEAVE",c=t.MORE_HALF_LEAVE="MORE_HALF_LEAVE",d=t.FULL_LEAVE="FULL_LEAVE";t.VISIBILITY_CHANGE={UNCHANGED:o,LESS_HALF_ENTER:a,MORE_HALF_ENTER:s,FULL_ENTER:l,LESS_HALF_LEAVE:u,MORE_HALF_LEAVE:c,FULL_LEAVE:d}},function(e,t){"use strict";function n(e,t){var n=r;return e&&(t>0&&t<.5?n=i:t>=.5&&t<1?n=o:1===t&&(n=a)),n}Object.defineProperty(t,"__esModule",{value:!0}),t.getStatus=n;var r=t.NOT_VISIBLE="NOT_VISIBLE",i=t.LESS_HALF_VISIBLE="LESS_HALF_VISIBLE",o=t.MORE_HALF_VISIBLE="MORE_HALF_VISIBLE",a=t.FULL_VISIBLE="FULL_VISIBLE";t.VISIBILITY_STATUS={NOT_VISIBLE:r,LESS_HALF_VISIBLE:i,MORE_HALF_VISIBLE:o,FULL_VISIBLE:a}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(52),o=r(i),a=new o.default;t.default=a},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e),this.events={}}return i(e,[{key:"on",value:function(e,t){var n=this;if(t&&"function"==typeof t)return this.events[e]=this.events[e]||[],this.events[e].push(t),function(){n.off(e,t)}}},{key:"once",value:function(e,t){if(t&&"function"==typeof t)var n=this.on(e,function(){t.apply(void 0,arguments),n()})}},{key:"trigger",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=[];this.events&&this.events[e]&&this.events[e].length>0&&(i=this.events[e]),i.forEach(function(e){return e.apply(void 0,n)})}},{key:"off",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.events[e]&&this.events[e].length>0&&(t?r(this.events[e],t):this.events[e]=[])}}]),e}();t.default=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AD_DISPLAY_STARTED="ad-display-start",t.AD_DISPLAY_FINISHED="ad-display-finish",t.AD_CONTENT_DISPLAY_STARTED="ad-content-display-start",t.AD_CONTENT_DISPLAY_FINISHED="ad-content-display-finish",t.AD_VIEWABILITY_2SEC="ad-viewability-2sec",t.AD_VIEWABILITY_3SEC="ad-viewability-3sec",t.DO_PAGE_BACK="do-page-back",t.DO_PAGE_NEXT="do-page-next",t.PAGE_BACK_CLICKED="page-back-clicked",t.PAGE_NEXT_CLICKED="page-next-clicked",t.IN_VIEW_2S="in-view-2s",t.ENTERED_VIEWPORT="entered-viewport",t.LEFT_VIEWPORT="left-viewport"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var r=n(48),i=n(55);t.filters=[{query:function(e){var t=e.type;return"loaded"===t},transform:function(e){var t=e.type,n=e.engineStatus,i=void 0===n?null:n;return r.filters.onlyOnce({type:t,engineStatus:i})}},{query:function(e){var t=e.type;return"navigate-forward"===t},transform:function(e){var t=(e.type,e.trigger);return"click"===t?r.filters.withCount({type:"navigate-click",element:"next-button",navigationDirection:"next"}):"swipe"===t?r.filters.withCount({type:"swiped",element:"items",navigationDirection:"next"}):void 0}},{query:function(e){var t=e.type;return"navigate-back"===t},transform:function(e){var t=(e.type,e.trigger);return"click"===t?r.filters.withCount({type:"navigate-click",element:"prev-button",navigationDirection:"prev"}):"swipe"===t?r.filters.withCount({type:"swiped",element:"items",navigationDirection:"prev"}):void 0}},{query:function(e){var t=e.type;return 0===t.indexOf("engine-")},transform:function(e){var t=e.type,n=e.itemIndex,o=void 0===n?null:n,a=(0,i.getSlot)(o);return r.filters.withCount({type:"engine_status",engineStatus:t,row:a.row,column:a.cell})}}]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){e=v.default.removeSpotImParams(e).toLowerCase(),t=v.default.removeSpotImParams(t).toLowerCase();var n=/(https?):\/\/(?:www\.)?(.[^\/]+)(.*)/,r=e.match(n),i=t.match(n);if(r&&i){var o=p(r,4),a=o[3],s=p(i,4),l=s[3];return a=a.split("/").join(""),l=l.split("/").join(""),a===l}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locationHref,r=void 0===n?window.location.href:n,a=t.compareFunc,s=void 0===a?null:a;s||(s=o);var l=[].concat(i(e.querySelectorAll("[data-spmark=item-link]")));return l.forEach(function(e,t){var n=e.href;if(s(n,r)){var i=e.parentNode;if(t<2){var o=l[l.length-1].parentNode;o.remove(),i.insertAdjacentHTML("afterend",o.outerHTML)}i.remove()}}),e}function s(e){return[].concat(i(e.querySelectorAll("[data-spotim-item]"))).forEach(function(e,t){e.dataset.spmark=e.dataset.spmark.replace(/index\:(\d+)/,"index:"+t),e.dataset.spotimIndex=t}),e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return 0===t.length||t.reduce(function(t,n){if(t)return!0;var r=null;try{r=new RegExp(n)}catch(e){return!1}return!!e.match(r)},!1)}function u(e,t){return Array.apply(0,new Array(t)).map(function(t,n){return n+e})}function c(e,t,n){var r=Math.floor(t.length/e);return t.slice((n-1)*r,n*r)}function d(e){var t=/row(\d+)-cell(\d+)/,n=t.exec(e);return n?{row:parseInt(n[1]),cell:parseInt(n[2])}:isNaN(parseInt(e))?{row:null,cell:null}:{row:1,cell:parseInt(e)}}function f(e){var t={};return function(){var n=JSON.stringify(arguments);if(t[n])return t[n];var r=e.apply(this,arguments);return t[n]=r,r}}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.urlsAreSimilar=o,t.removeItemByUrl=a,t.resequenceIndexes=s,t.whitelistUrl=l,t.range=u,t.getDeckItems=c,t.getSlot=d,t.memoize=f;var h=n(8),v=r(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(57),o=r(i),a=null;a=n(58).default,t.default=Object.assign({},o.default,a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={redirectUrl:"https://traffic.spot.im/v2",immediateScriptUrl:"https://recirculation.spot.im/spot-immediate/{{spotId}}"}},function(e,t,n){"use strict";function r(){if(u&&!c)try{c=new IntersectionObserver(function(e){try{e.forEach(function(e){var t=d.find(function(t){return t.element===e.target});t&&a(e.intersectionRatio,t)})}catch(e){}},{threshold:[0,.5,1]})}catch(e){}}function i(e,t){if(u)try{d.push({element:e,callback:t,visibilityState:l.NOT_VISIBLE}),c&&c.observe(e)}catch(e){}}function o(e){if(u)try{d=d.filter(function(t){return t.element!==e}),c&&c.unobserve(e)}catch(e){}}function a(e,t){var n=t.visibilityState,r=(0,l.getStatus)(!0,e);t.visibilityState=r;var i=(0,s.getChange)(n,r);i!==s.UNCHANGED&&t.callback(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.CAN_OBSERVE_INTERSECTION=void 0,t.setupIntersectionObserver=r,t.observeElement=i,t.unobserveElement=o;var s=n(49),l=n(50),u=t.CAN_OBSERVE_INTERSECTION="function"==typeof window.IntersectionObserver,c=null,d=[]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.spotId="sp_fElq9fi5",t.spotGroup="NO_GROUP",t.css="<style>@import url(\"https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800&subweset=latin,cyrillic-ext,cyrillic,greek-ext,greek,vietnamese,latin-ext\");#sprc2OZbm #sprc1uIEV{position:inherit}.sprc1YjLM g{display:initial}[data-spotim-useragent*=MSIE] .sprc1YjLM g{display:inline}.sprc1YjLM *{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.sprc1YjLM a,.sprc1YjLM div,.sprc1YjLM span{all:initial;background:transparent none repeat 0 0/auto auto padding-box border-box scroll;-webkit-border-image:none;border-image:none;-webkit-border-radius:0;border-radius:0;bottom:auto;-webkit-box-shadow:none;box-shadow:none;clear:none;clip:auto;cursor:auto;float:none;font-family:serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;line-height:normal;height:auto;-ms-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;list-style:disc outside none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;-webkit-perspective:none;perspective:none;-webkit-perspective-origin:50% 50%;perspective-origin:50% 50%;position:static;right:auto;tab-size:8;table-layout:auto;text-align:left;text-align-last:auto;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;-webkit-transform:none;transform:none;-webkit-transform-origin:50% 50% 0;transform-origin:50% 50% 0;-webkit-transform-style:flat;transform-style:flat;-webkit-transition:none 0s ease 0s;transition:none 0s ease 0s;vertical-align:baseline;visibility:visible;white-space:normal;width:auto;word-spacing:normal;z-index:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-box-sizing:border-box;box-sizing:border-box;color:#373e44;font-family:Open Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:25px;text-decoration:none!important}.sprc1YjLM a:hover,.sprc1YjLM div:hover,.sprc1YjLM span:hover{text-decoration:none!important}[data-spotim-direction=rtl] .sprc1YjLM a,[data-spotim-direction=rtl] .sprc1YjLM div,[data-spotim-direction=rtl] .sprc1YjLM span{text-align:inherit}[data-spotim-module=recirculation]{-webkit-transform:translateZ(0);transform:translateZ(0)}[data-spotim-direction=rtl]{direction:rtl}.sprc1YjLM{display:block!important;margin:0 auto;padding:25px 0;width:calc(100% - 14px);overflow:hidden}@media (max-width:550px){.sprc1YjLM{width:100%}}.sprc1YjLM .sprc2PlxR{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.sprc1YjLM .sprc2PlxR.sprc2vg5s .sprc26lX3:after{content:\" \";position:absolute;top:0;right:0;bottom:0;width:5px;background-image:-webkit-gradient(linear,left top,right top,from(transparent),to(rgba(0,0,0,.2)));background-image:-webkit-linear-gradient(left,transparent,rgba(0,0,0,.2));background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2));z-index:100}[data-spotim-direction=rtl] .sprc1YjLM .sprc2PlxR.sprc2vg5s .sprc26lX3:after{right:auto}.sprc1YjLM .sprc2PlxR.sprc8_NwJ .sprc26lX3:before,[data-spotim-direction=rtl] .sprc1YjLM .sprc2PlxR.sprc2vg5s .sprc26lX3:after{left:0;background-image:-webkit-gradient(linear,right top,left top,from(transparent),to(rgba(0,0,0,.2)));background-image:-webkit-linear-gradient(right,transparent,rgba(0,0,0,.2));background-image:linear-gradient(270deg,transparent,rgba(0,0,0,.2))}.sprc1YjLM .sprc2PlxR.sprc8_NwJ .sprc26lX3:before{content:\" \";position:absolute;top:0;bottom:-2px;width:5px;z-index:100}[data-spotim-direction=rtl] .sprc1YjLM .sprc2PlxR.sprc8_NwJ .sprc26lX3:before{left:auto;right:0;background-image:-webkit-gradient(linear,left top,right top,from(transparent),to(rgba(0,0,0,.2)));background-image:-webkit-linear-gradient(left,transparent,rgba(0,0,0,.2));background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2))}.sprc1YjLM .sprc2PlxR .sprc26lX3{margin-bottom:5px;position:relative;height:300px}.sprc1YjLM .sprc2PlxR .sprc26lX3 [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc2PlxR .sprc26lX3{height:250px}.sprc1YjLM .sprc2PlxR .sprc1eDLH{position:absolute;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-timing-function:cubic-bezier(.19,1,.22,1);transition-timing-function:cubic-bezier(.19,1,.22,1)}[data-spotim-direction=rtl] .sprc1YjLM .sprc2PlxR .sprc1eDLH{left:auto;right:0}.sprc1YjLM .sprc2PlxR .sprc1eDLH.sprcPesrx{-webkit-transition-property:none;transition-property:none}.sprc1YjLM .sprc1GjYe{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.sprc1YjLM .sprc1GjYe .sprc2wE2_{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-weight:700;font-size:18px;line-height:24px;color:#373e44;letter-spacing:0;margin-bottom:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10px}[data-spotim-direction=rtl] .sprc1YjLM .sprc1GjYe .sprc2wE2_{padding-right:0;padding-left:10px}.sprc1YjLM .sprc3VPpS{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:2px}.sprc1YjLM .sprc2hlM8{width:24px;height:24px;border:2px solid #c3c5c7;-webkit-border-radius:100px;border-radius:100px}.sprc1YjLM .sprc2hlM8 svg{width:24px;height:24px;stroke:#c3c5c7;margin-top:-2px;margin-left:-2px}[data-spotim-direction=rtl] .sprc1YjLM .sprc2hlM8 svg{margin-left:0;margin-right:-2px}.sprc1YjLM .sprc2hlM8:hover{cursor:default;border-color:#c3c5c7}.sprc1YjLM .sprc2hlM8:hover svg{stroke:#c3c5c7}.sprc1YjLM .sprc2hlM8.sprcJjYeB{opacity:.5;margin-right:10px}[data-spotim-direction=rtl] .sprc1YjLM .sprc2hlM8.sprcJjYeB{margin-right:0;margin-left:10px}.sprc1YjLM .sprc2hlM8.sprcJjYeB svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[data-spotim-direction=rtl] .sprc1YjLM .sprc2hlM8.sprcJjYeB svg{-webkit-transform:rotate(0);transform:rotate(0)}.sprc1YjLM .sprc2hlM8.sprc2MkMP{opacity:.5}.sprc1YjLM .sprc2hlM8.sprc2MkMP svg{-webkit-transform:rotate(0);transform:rotate(0)}[data-spotim-direction=rtl] .sprc1YjLM .sprc2hlM8.sprc2MkMP svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.sprc1YjLM .sprc2vg5s .sprc2MkMP{opacity:1}.sprc1YjLM .sprc2vg5s .sprc2MkMP:hover{cursor:pointer;border-color:#7b7f83}.sprc1YjLM .sprc2vg5s .sprc2MkMP:hover *{cursor:pointer}.sprc1YjLM .sprc2vg5s .sprc2MkMP:hover svg{stroke:#7b7f83}.sprc1YjLM .sprc8_NwJ .sprcJjYeB{opacity:1}.sprc1YjLM .sprc8_NwJ .sprcJjYeB:hover{cursor:pointer;border-color:#7b7f83}.sprc1YjLM .sprc8_NwJ .sprcJjYeB:hover *{cursor:pointer}.sprc1YjLM .sprc8_NwJ .sprcJjYeB:hover svg{stroke:#7b7f83}.sprc1YjLM .sprcFco6q{fill:#7fa6b3;background-color:rgba(127,166,179,.3)}.sprc1YjLM .sprc3pB4W{fill:#d59247;background-color:rgba(213,146,71,.3)}.sprc1YjLM .sprc2ko5l{fill:#9e79ac;background-color:rgba(158,121,172,.3)}.sprc1YjLM .sprc1_682{fill:#7fa835;background-color:rgba(127,168,53,.3)}.sprc1YjLM .sprc1mcRl{fill:#c15a5a;background-color:rgba(193,90,90,.3)}.sprc1YjLM .sprc82og8{fill:#a8abae;background-color:hsla(210,4%,67%,.3)}.sprc1YjLM .sprc3tjZF{fill:#71bbbb;background-color:rgba(113,187,187,.3)}.sprc1YjLM .sprc3xOeN{fill:#e2c62a;background-color:rgba(226,198,42,.3)}.sprc1YjLM .sprcnQGvt{fill:#b0b032;background-color:rgba(176,176,50,.3)}.sprc1YjLM .sprc3ioJl{fill:#3f62aa;background-color:rgba(63,98,170,.3)}.sprc1YjLM .sprcP_TJG{fill:red;background-color:rgba(255,0,0,.3)}.sprc1YjLM .sprc13toH{fill:#ff661a;background-color:rgba(255,102,26,.3)}.sprc1YjLM .sprc34RnE{fill:#8f2d8e;background-color:rgba(143,45,142,.3)}.sprc1YjLM .sprc1nBKX{fill:#026664;background-color:rgba(2,102,100,.3)}.sprc1YjLM .sprcdbEGT{fill:#282561;background-color:rgba(40,37,97,.3)}.sprc1YjLM .sprc272Tr{fill:#62cc6f;background-color:rgba(98,204,111,.3)}.sprc1YjLM .sprc1Hh5N{fill:#e7ae98;background-color:hsla(17,62%,75%,.3)}.sprc1YjLM .sprc2CWoE{fill:#b1b6e5;background-color:rgba(177,182,229,.3)}.sprc1YjLM .sprcU3Qow{fill:#701b2e;background-color:rgba(112,27,46,.3)}.sprc1YjLM .sprc2tD0r{fill:#ff0bd1;background-color:rgba(255,11,209,.3)}.sprc1YjLM .sprc2WM0y{fill:#b737b1;background-color:rgba(183,55,177,.3)}.sprc1YjLM .sprc1UMcc{fill:#fbcb14;background-color:rgba(251,203,20,.3)}.sprc1YjLM .sprcBh74L{fill:#0025ff;background-color:rgba(0,37,255,.3)}.sprc1YjLM .sprc7luQk{fill:#bf5253;background-color:rgba(191,82,83,.3)}.sprc1YjLM .sprc3lBDj{background-color:hsla(225,2%,52%,.3)}.sprc1YjLM .sprc5DECK{-webkit-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:220px;height:302px;overflow:hidden;margin-right:4px;border:1px solid rgba(0,0,0,.1)}.sprc1YjLM .sprc5DECK a{margin:0;cursor:pointer}.sprc1YjLM .sprc5DECK a *,.sprc1YjLM .sprc5DECK a:hover,.sprc1YjLM .sprc5DECK a:hover *{cursor:pointer}.sprc1YjLM .sprc5DECK [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc5DECK{width:160px;height:250px}.sprc1YjLM .sprc5DECK:hover{border:1px solid rgba(0,0,0,.2)}.sprc1YjLM .sprc5DECK:hover .sprc3JGD_{opacity:.75}.sprc1YjLM .sprc5DECK:hover .sprcrXXxN:after{z-index:10000}[data-spotim-direction=rtl] .sprc1YjLM .sprc5DECK{margin-right:0;margin-left:4px}.sprc1YjLM .sprc5DECK:last-child{margin-right:0}[data-spotim-direction=rtl] .sprc1YjLM .sprc5DECK:last-child{margin-right:0;margin-left:0}.sprc1YjLM .sprcW0DhN{zoom:1}.sprc1YjLM .sprc37Avc{display:block;width:34px;height:34px;-webkit-border-radius:50%;border-radius:50%;overflow:hidden;-webkit-background-size:contain;background-size:contain}.sprc1YjLM .sprc37Avc svg{margin:10px;width:14px;height:14px}.sprc1YjLM .sprcdi9x9{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:10px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[data-spotim-direction=rtl] .sprc1YjLM .sprcdi9x9{margin-left:0;margin-right:10px}.sprc1YjLM .sprc2qQzr{font-weight:700;font-size:11px;color:#373e44;line-height:1.3em}.sprc1YjLM .sprcpvB1z{font-size:11px;color:#7b7f83;line-height:1.3em}.sprc1YjLM .sprc16C2K{margin-top:10px;font-size:13px;color:#373e44;height:54px;line-height:18px;overflow:hidden;display:block;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis}.sprc1YjLM .sprc16C2K [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc16C2K{-webkit-line-clamp:2;height:40px}.sprc1YjLM .sprc3ep3z{display:block;width:220px;height:182px;position:relative;left:-1px}.sprc1YjLM .sprc3ep3z [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc3ep3z{width:160px;height:150px}.sprc1YjLM .sprcrXXxN{position:absolute;left:0;right:0;bottom:0;z-index:10}.sprc1YjLM .sprcrXXxN:after{content:\" \";width:100%;height:64px;position:absolute;bottom:0;left:0;right:0;opacity:.5;background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(#000));background-image:-webkit-linear-gradient(top,transparent,#000);background-image:linear-gradient(-180deg,transparent,#000)}.sprc1YjLM .sprcLz-T4{text-transform:uppercase;position:relative;z-index:100000;font-weight:700;font-size:13px;line-height:18px;color:#fff;overflow:hidden;margin:10px;display:block;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.sprc1YjLM .sprcLz-T4 [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprcLz-T4{font-size:11px}.sprc1YjLM .sprcLz-T4:hover{text-decoration:underline!important}.sprc1YjLM .sprc3JGD_{display:block;position:relative;width:220px;height:182px}.sprc1YjLM .sprc3JGD_ [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc3JGD_{width:160px;height:150px}.sprc1YjLM .sprc3JGD_ .sprc1D3TP{background-position:50%;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;position:absolute;top:0;left:0;right:0;bottom:0}[data-spotim-direction=rtl] .sprc1YjLM .sprc3JGD_{margin-left:0;margin-right:-1px}.sprc1YjLM .sprc1LKYH{padding:10px;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.sprc1YjLM .sprc1LKYH,.sprc1YjLM .sprc2xJTJ{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.sprc1YjLM .sprc2xJTJ{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true]{height:300px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK{width:220px;height:300px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK .sprcpvB1z{font-size:13px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK .sprc16C2K{-webkit-line-clamp:3;height:54px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK .sprc3ep3z{width:220px;height:182px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK .sprcLz-T4{font-size:13px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK .sprc3JGD_{width:220px;height:182px}.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK.sprc287yb,.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK.sprc287yb .sprc1dQHl,.sprc1YjLM .sprc2PlxR .sprc26lX3[data-spotim-large-row=true] .sprc5DECK.sprc287yb [data-spotim-recirculation-player],.sprc1YjLM .sprc5DECK.sprc287yb{height:300px;width:400px}.sprc1YjLM .sprc5DECK.sprc287yb [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc5DECK.sprc287yb{width:300px;height:250px}.sprc1YjLM .sprc5DECK.sprc287yb .sprcW0DhN{display:none}.sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl{width:100%;height:300px;opacity:1;pointer-events:auto;cursor:default}.sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl{height:250px}[data-spotim-useragent*=\"MSIE 10.0\"] .sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl{display:block}.sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl *{pointer-events:auto}.sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl .sprc3Z36-,.sprc1YjLM .sprc5DECK.sprc287yb .sprc1dQHl .sprc3Z36- *{visibility:visible}.sprc1YjLM .sprc5DECK.sprc287yb [data-spotim-recirculation-player]{background:#fff;width:100%;height:300px;display:block;position:relative}.sprc1YjLM .sprc5DECK.sprc287yb [data-spotim-recirculation-player] [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc5DECK.sprc287yb [data-spotim-recirculation-player]{width:300px;height:250px}.sprc1YjLM .sprc5DECK.sprc287yb .sprc3Z36-{visibility:visible}.sprc1YjLM .sprc5DECK.sprc287yb .sprcW0DhN{visibility:hidden}.sprc1YjLM .sprc1FPQ0{position:absolute;top:0;bottom:0;left:0;right:0;z-index:-1}.sprc1YjLM .sprc1dQHl{opacity:0;pointer-events:none;cursor:pointer;position:absolute;top:0;left:0;width:400px;height:300px}[data-spotim-useragent*=\"MSIE 10.0\"] .sprc1YjLM .sprc1dQHl{display:none}.sprc1YjLM .sprc1dQHl *{pointer-events:none}.sprc1YjLM .sprc1dQHl [data-spotim-device=mobile],[data-spotim-multi-deck=true] .sprc1YjLM .sprc1dQHl{width:300px;height:250px}.sprc1YjLM .sprc1dQHl .sprc3Z36-{visibility:hidden;background-color:#fff}.sprc1YjLM .sprc1dQHl .sprc3Z36- *{visibility:hidden}.sprc1YjLM .sprc1dQHl .sprc3Z36- .sprc1O5M0{font-size:11px;line-height:1.3em;color:#7b7f83}</style>",t.content="\n\t\t<!--googleoff: all-->\n\t\t<div style=\"display: none;\" class=\"spotim-recirculation sprc1YjLM\" data-spotim-direction=\"ltr\"><div style=\"border-top: 2px solid #307FE2; padding-top: 15px;\" class=\"sprc2PlxR sprc2vg5s\"><div class=\"sprc1GjYe\" data-spmark=\"header\"><div class=\"sprc2wE2_\" data-spmark=\"title\">Popular In the Community</div><div class=\"sprc3VPpS\"><div data-spmark=\"navigate-back\" class=\"sprc2hlM8 sprcJjYeB\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\"><g fill=\"none\" fill-rule=\"evenodd\"><polyline stroke-width=\"2\" points=\"10 17 15 12 10 7\"></polyline></g></svg></div><div data-spmark=\"navigate-forward\" class=\"sprc2hlM8 sprc2MkMP\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\"><g fill=\"none\" fill-rule=\"evenodd\"><polyline stroke-width=\"2\" points=\"10 17 15 12 10 7\"></polyline></g></svg></div></div></div><div class=\"sprc26lX3\" data-spmark=\"items\"><div class=\"sprc1eDLH level-1\" data-spotim-decks=\"1\"><div data-spotim-slot=\"row1-cell1\" data-spotim-cell-index=\"1\" data-spotim-row-index=\"1\" data-spmark=\"item index:0 message-id:sp_fElq9fi5_201550_c_4lgfPw\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/07/06/red-just-launched-phone-might-able-shoot-8k-video/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">RED Just Launched a Phone That Might Be Able to Shoot 8K Video</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/ubgepguplaczr7iavvjo\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprc3pB4W\" data-user-image=\"NONE\"><svg viewBox=\"0 0 20 18\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.997 5.447c.164-2.977-6.483-5.44-9.944-5.44C6.592.006-.055 2.47.109 5.446H.106v6.459h.003c.003.045.006.09.012.134.37 3.035 6.42 5.572 9.932 5.572 3.512 0 9.562-2.537 9.932-5.572.006-.045.01-.09.012-.134H20V5.447h-.003zm-1.78.105c-.314 2.497-5.297 4.602-8.183 4.614-2.887.01-7.853-2.054-8.147-4.548-.295-2.495 5.297-4.602 8.184-4.614 2.887-.012 8.462 2.051 8.147 4.548z\"/><path d=\"M10.062 3.259c-1.453.006-4.267 1.067-4.119 2.322.148 1.255 2.647 2.294 4.1 2.289 1.453-.006 3.96-1.066 4.12-2.322.157-1.257-2.648-2.295-4.101-2.289\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_BCSa1J5wQ3Cb\" class=\"sprc2qQzr\">OrangeSushi</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">5d</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Cool! Love being first!</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell1\" data-spmark=\"item-player row:1 cell:1\"></div></div><div data-spotim-slot=\"row1-cell2\" data-spotim-cell-index=\"2\" data-spotim-row-index=\"1\" data-spmark=\"item index:1 message-id:sp_fElq9fi5_194042_c_3262425002\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/01/20/root-oneplus-3t/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Root the OnePlus 3T</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/fzaddd0royfueq6gynn5\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprc3pB4W\" data-user-image=\"NONE\"><svg viewBox=\"0 0 20 22\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.874.064c-.383-.343-3.54.75-5.066 1.856-.293.212-2.34 3.604-2.713 3.743-.32.123-.1-1.947 1.009-2.9-1.485.65-3.562 1.657-4.937 2.823-.107.092-.385 2.929-.514 3.056-.26.249-.357-2.248-.592-1.989-3.525 3.892-5.996 9.245-4.59 11.191 2.82-4.102 7.984-10.432 15.497-15.12.154-.1.24-.153.24-.153-.082.053-.158.102-.24.153-1.271.831-7.498 5.216-14.624 15.553-.346-.034-.586-.118-.698-.236-.054-.058-.095-.131-.142-.199C.834 20.33 0 22 0 22l1-.038a94.173 94.173 0 0 1 2.351-3.678c1.393.124 4.551-.628 7.921-3.616.303-.268-1.535-.632-1.23-.937.305-.307 2.754-.555 3.062-.9a38.668 38.668 0 0 0 2.884-3.681c.22-.315-2.27.257-2.07-.053.195-.3 3.079-1.483 3.257-1.778C19.472 3.535 20.353.493 19.874.064\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_anon_LZug\" class=\"sprc2qQzr\">Dan</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">19 Apr</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">How much longer does the boot after rooting actually take?\nI've been waiting for about 20-30 minutes now, which seems to be quite long, and it's still circling around that red icon and not going anywhere further.</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell2\" data-spmark=\"item-player row:1 cell:2\"></div></div><div data-spotim-slot=\"row1-cell3\" data-spotim-cell-index=\"3\" data-spotim-row-index=\"1\" data-spmark=\"item index:2 message-id:sp_fElq9fi5_194413_c_3133020788\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/01/21/root-huawei-mate-9/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Root the Huawei Mate 9</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/rjkkvtuom1rve97imgik\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprcnQGvt\" data-user-image=\"NONE\"><svg viewBox=\"0 0 17 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M13.522 12.857c-.248 0-.489.029-.722.08L2.72 0C1.554.849 1 1.818 1 3.01c0 2.15 1.945 4.762 4.814 7.615a64.654 64.654 0 0 0 4.627 4.18 3.61 3.61 0 0 0-.398 1.624c0 1.972 1.558 3.571 3.479 3.571S17 18.401 17 16.43c0-1.973-1.557-3.573-3.478-3.573zM13.5 18a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-8.04-6l-1.068 1.251a3.892 3.892 0 0 0-.754-.075C1.628 13.176 0 14.704 0 16.588S1.629 20 3.638 20s3.637-1.528 3.637-3.412c0-.562-.158-1.084-.415-1.552.238-.176.63-.472 1.14-.872A69.125 69.125 0 0 1 5.46 12zM3.5 18a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm8.105-8L9 6.704 14.297 0C15.453.828 16 1.774 16 2.938 16 4.942 14.238 7.36 11.605 10z\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_anon_cszS\" class=\"sprc2qQzr\">tom</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">1 Feb</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">when enter &quot;fastboot oem unlock CODE&quot;   # with my code from Huawei\n\nI got error \n\nC:\\Users\\tcai&gt;fastboot oem unlock QUG6N5X92EFTJO1S\n...\nFAILED (remote: Command not allowed)\nfinished. total time: 0.017s\nDo you know what could be wrong?\nThanks for the help in advance.</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell3\" data-spmark=\"item-player row:1 cell:3\"></div></div><div data-spotim-slot=\"row1-cell4\" data-spotim-cell-index=\"4\" data-spotim-row-index=\"1\" data-spmark=\"item index:3 message-id:sp_fElq9fi5_200706_c_WCbNtT\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/06/10/get-ios-11-beta-right-now-no-developer-account-required/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Get iOS 11 Beta Right Now (No Developer Account Required)</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/gqndeadaivw7lh3tvqc4\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprc3xOeN\" data-user-image=\"NONE\"><svg viewBox=\"0 0 16 22\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.968 10.9L12.842.58c-.104-.342-.446-.58-.837-.58h-8.01c-.39 0-.732.238-.837.58L.031 10.9a.734.734 0 0 0 .146.69.9.9 0 0 0 .69.312h9.802v2.796c-.243.117-.41.345-.41.612 0 .38.339.69.757.69s.758-.31.758-.69c0-.267-.168-.495-.41-.612v-2.796h3.767a.9.9 0 0 0 .69-.313.73.73 0 0 0 .147-.69zm-3.785 9.628h-3.44V13H7.11v7.528H3.817c-.451 0-.817.33-.817.736 0 .406.366.736.817.736h8.366c.452 0 .817-.33.817-.736 0-.406-.365-.736-.817-.736z\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_ikqVOn0qxpr4\" class=\"sprc2qQzr\">GoldLamp</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">15h</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Hi, I need ios11 can u please help me</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell4\" data-spmark=\"item-player row:1 cell:4\"></div></div><div data-spotim-slot=\"row1-cell5\" data-spotim-cell-index=\"5\" data-spotim-row-index=\"1\" data-spmark=\"item index:4 message-id:sp_fElq9fi5_198055_c_3291984935\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/04/24/get-galaxy-s8-launcher-bixby-always-display-galaxy-s7-s7-edge/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Get the Galaxy S8 Launcher, Bixby &amp; Always-On Display on the Galaxy S7 &amp; S7 Edge</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/lxn4e6okzqu2wum6znqk\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/kanwtjs6gu3c2l0mdtpc\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_O5PzTtS0DqiO\" class=\"sprc2qQzr\">Afnaan Sunny</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">6 May</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">i've a problem with touchwiz home , when i try to install it , it shows app not installed , the package conflicts with an existing package by the same name !</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell5\" data-spmark=\"item-player row:1 cell:5\"></div></div><div data-spotim-slot=\"row1-cell6\" data-spotim-cell-index=\"6\" data-spotim-row-index=\"1\" data-spmark=\"item index:5 message-id:sp_fElq9fi5_198045_c_3283819811\" class=\"sprc5DECK\"><a href=\"http://theunlockr.com/2017/04/28/how-to-cure-a-dog-with-anxiety\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">Toss Treats, Talk to Your Dog, &amp; Ease Anxiety w/ This Awesome Gadget!</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/ilhfluafjequzzq3ta00\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/ibqag083xxgzsfd3i6t5\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_IDdXyFkl\" class=\"sprc2qQzr\">imwithstoopid</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">1 May</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Do not use this to feed the dog if it barks. Fido may associate the treats with its bark and may start barking to simply get the treat as an reward.\nUse your voice to sooth its anxiety/separation complex. That's how I would react I you would talk sweetly to me, LOL....</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell6\" data-spmark=\"item-player row:1 cell:6\"></div></div><div data-spotim-slot=\"row1-cell7\" data-spotim-cell-index=\"7\" data-spotim-row-index=\"1\" data-spmark=\"item index:6 message-id:sp_fElq9fi5_199271_c_3346572434\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/05/24/live-stream-games-nintendo-switch/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Live Stream Nintendo Switch Games (Complete Guide)(Video)</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/mb4amx3xew6avtj6q6rj\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/ldqy6yolhm7fvkkmae6j\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_CoCWOZ8Ke5bT\" class=\"sprc2qQzr\">GoMadGamer</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">7 Jun</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Awesome guide, love the easy setup! Thank you for the giveaway. If I win the ripsaw I would use it for streaming as I am a crazy gamer and I want the world to watch me play!</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell7\" data-spmark=\"item-player row:1 cell:7\"></div></div><div data-spotim-slot=\"row1-cell8\" data-spotim-cell-index=\"8\" data-spotim-row-index=\"1\" data-spmark=\"item index:7 message-id:sp_fElq9fi5_194419_c_3231186828\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/01/21/unroot-huawei-mate-9/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Unroot the Huawei Mate 9</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/hmdc3ezudz3gfn9uoxaj\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprc3pB4W\" data-user-image=\"NONE\"><svg viewBox=\"0 0 19 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 5.568v9.975c0 .447.262.853.669 1.037l7.535 3.37A.565.565 0 0 0 9 19.433V9.09a.565.565 0 0 0-.335-.518L.795 5.05a.567.567 0 0 0-.795.52zm3.896 5.433c.549-.032 1.04.614 1.098 1.442.059.829-.34 1.526-.89 1.556-.549.032-1.04-.614-1.098-1.442-.059-.829.34-1.526.89-1.556zM19 15.541V5.567a.565.565 0 0 0-.796-.517l-7.87 3.524a.567.567 0 0 0-.334.517v10.342c0 .41.423.685.796.517l7.537-3.372c.405-.182.667-.588.667-1.037zm-5.006.016c-.058.828-.55 1.472-1.099 1.442-.549-.032-.946-.73-.89-1.556.059-.828.55-1.472 1.1-1.442.551.032.948.73.89 1.556zm3-6c-.058.828-.55 1.472-1.098 1.442-.55-.032-.947-.73-.89-1.556.058-.828.549-1.472 1.098-1.442.55.03.949.727.89 1.556zM1.334 4.396L9.27 7.95a.56.56 0 0 0 .459 0l7.937-3.555a.566.566 0 0 0-.012-1.037L9.936.089a1.124 1.124 0 0 0-.872 0l-7.721 3.27a.566.566 0 0 0-.01 1.037zM13.495 3c.829-.005 1.503.44 1.505.992.002.553-.667 1.005-1.495 1.008-.829.005-1.503-.44-1.505-.992-.002-.553.667-1.005 1.495-1.008zm-4 0c.829-.005 1.503.44 1.505.992.002.553-.667 1.005-1.495 1.008-.829.005-1.503-.44-1.505-.992-.002-.553.667-1.005 1.495-1.008zm-4 0c.829-.005 1.503.44 1.505.992.002.553-.667 1.005-1.495 1.008-.829.003-1.503-.44-1.505-.992-.002-.552.667-1.005 1.495-1.008z\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_anon_OQly\" class=\"sprc2qQzr\">Malik</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">30 Mar</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">when ever I tired to create a new file inside the internal SD card storage I get this message &quot;the device has either stopped responding or is disconnected.&quot; I made sure that usb debugging is on and also I'm in MTP mode. any ideas?</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell8\" data-spmark=\"item-player row:1 cell:8\"></div></div><div data-spotim-slot=\"row1-cell9\" data-spotim-cell-index=\"9\" data-spotim-row-index=\"1\" data-spmark=\"item index:8 message-id:sp_fElq9fi5_193232_c_3324898715\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/02/01/root-google-pixel-pixel-xl/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Root the Google Pixel &amp; Pixel XL (Video)</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/mbxcyfsy3qpxsmfyqn9m\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/agts6cchnm8tstdusf9u\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_1tG3vXmHND9I\" class=\"sprc2qQzr\">Vernon Lumpkin Jr.</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">25 May</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">1st off thanks for this tutorial, worked great for me. \nUntil 3 hrs ago when twrp, super super, and a few meaningless apps... Facebook Google drive, keyboard, etc.updated.  Now I have lost root. Not sure if it was the actual updates or it said it had to update binary. So to get root back I'm guessing I have to delete twrp and super su, and redo tutorial? What about a few root app? Titanium, a disabler to stop updates etc. I'm still on April 7.1.2 verified n settings. Thanks</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell9\" data-spmark=\"item-player row:1 cell:9\"></div></div><div data-spotim-slot=\"row1-cell10\" data-spotim-cell-index=\"10\" data-spotim-row-index=\"1\" data-spmark=\"item index:9 message-id:sp_fElq9fi5_200094_c_3329054324\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/05/26/how-to-get-the-new-android-o-launcher/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Get the New Android O Launcher</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/wmh6gsd2lspcf2vfhb71\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/xu0mp4uuqwnea0lhx21q\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_2G11vQhslJNY\" class=\"sprc2qQzr\">Tech Limits</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">28 May</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Is not working, galaxy s8 plus. &quot;Has stopped&quot;. I have the latest android 7.</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell10\" data-spmark=\"item-player row:1 cell:10\"></div></div><div data-spotim-slot=\"row1-cell11\" data-spotim-cell-index=\"11\" data-spotim-row-index=\"1\" data-spmark=\"item index:10 message-id:sp_fElq9fi5_195491_c_3196896997\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/02/01/how-to-jailbreak-ios-10-2/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Jailbreak iOS 10.2</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/phuye6he7qfvlw9at5j8\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc sprcFco6q\" data-user-image=\"NONE\"><svg viewBox=\"0 0 19 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19 14v-2l-8-5V1.5C11 .67 10.33 0 9.5 0S8 .67 8 1.5V7l-8 5v2l8-2.5V17l-2 1.5V20l3.5-1 3.5 1v-1.5L11 17v-5.5l8 2.5z\"/></svg></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_anon_zat0\" class=\"sprc2qQzr\">John</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">10 Mar</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">Ive seen that zjailbreak is offering jailbreaking is it real or a scam? for 10.2.1</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell11\" data-spmark=\"item-player row:1 cell:11\"></div></div><div data-spotim-slot=\"row1-cell12\" data-spotim-cell-index=\"12\" data-spotim-row-index=\"1\" data-spmark=\"item index:11 message-id:sp_fElq9fi5_193234_c_3178111723\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/02/01/unroot-google-pixel-pixel-xl/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">How to Unroot the Google Pixel &amp; Pixel XL</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/nm2s9cojfuajmlonibag\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/mgogr6e14b1tdfd4jjs1\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_hmGGG2DIDkvU\" class=\"sprc2qQzr\">Marlon Drake</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">27 Feb</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">im getting an error when running fash-all.bat saying there not enough space for image-marlin zip file. Do you have a fix?</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell12\" data-spmark=\"item-player row:1 cell:12\"></div></div><div data-spotim-slot=\"row1-cell13\" data-spotim-cell-index=\"13\" data-spotim-row-index=\"1\" data-spmark=\"item index:12 message-id:sp_fElq9fi5_201244_c_3382754721\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/06/23/via-car-service-launches-unlimited-rides-nyc-dc-chicago/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">Via Car Service Launches Unlimited Rides in NYC, DC, &amp; Chicago</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/zgtjm8bmtbj3sc19c9hz\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/ffrujn3drzwuxjxocqww\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_DYMnUNUIkbIl\" class=\"sprc2qQzr\">Tiwana Smith</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">23 Jun</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">I love the idea, but I need more information about the coverage area. I will be doing a great deal of commuting from Manhattan  to and from Queens</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell13\" data-spmark=\"item-player row:1 cell:13\"></div></div><div data-spotim-slot=\"row1-cell14\" data-spotim-cell-index=\"14\" data-spotim-row-index=\"1\" data-spmark=\"item index:13 message-id:sp_fElq9fi5_199659_c_3305723136\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/05/13/refurbished-galaxy-note-7s-cost-50-off-original-price/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">Refurbished Galaxy Note 7's To Cost 50% Off The Original Price?</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/wwepn7vrlwt9an8vyzmn\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/citxqozhqsgs5ys5ve4f\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_42bavKPD9WNP\" class=\"sprc2qQzr\">Mike</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">14 May</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">I think they'll need to slash the price some more... Given that we are seeing a lot of flagships, and, the oneplus is also due for release soon.</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell14\" data-spmark=\"item-player row:1 cell:14\"></div></div><div data-spotim-slot=\"row1-cell15\" data-spotim-cell-index=\"15\" data-spotim-row-index=\"1\" data-spmark=\"item index:14 message-id:sp_fElq9fi5_194136_c_3140100989\" class=\"sprc5DECK\"><a href=\"https://theunlockr.com/2017/01/29/best-browsers-android/\" class=\"sprcW0DhN\" data-spmark=\"item-link\"><div class=\"sprc3ep3z\"><div data-spmark=\"item-title\" class=\"sprcrXXxN\"><div class=\"sprcLz-T4\">6 Best Browsers for Android To Make Your Web Browsing Better</div></div><div data-spmark=\"item-image\" class=\"sprc3JGD_\"><div data-item-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_300,w_400,c_fill,g_face/v200/production/puyqya2bk4eeuqzthzai\" class=\"sprc1D3TP\"></div></div></div><div data-spmark=\"social-content\" class=\"sprc1LKYH\"><div class=\"sprc2xJTJ\"><div><div data-spmark=\"user-image\" class=\"sprc37Avc\" data-user-image=\"https://images.spot.im/image/upload/q_70,fl_lossy,dpr_1.0,h_34,w_34,c_thumb,r_max,g_face/v200/p/u/rt6jjzsaglshbqiqqxg8\"></div></div><div class=\"sprcdi9x9\"><div data-spmark=\"username user-id:u_Wf5jwOTc\" class=\"sprc2qQzr\">Ron Ablang</div><div data-spmark=\"message-time\" class=\"sprcpvB1z\">6 Feb</div></div></div><div data-spmark=\"message-text\" class=\"sprc16C2K\">It looks like the author just listed all the major players available.\n\nI can't attest for Android, but for Windows, Opera has been the &quot;best&quot; for me.  It's lightning quick!</div></div></a><div class=\"sprc1FPQ0\" data-spotim-recirculation-player=\"row1-cell15\" data-spmark=\"item-player row:1 cell:15\"></div></div></div></div></div></div>\n\t\t<!--googleon: all-->\n\t\t",t.cssSelectors={"spotimaniviewplayergui":"sprc2OZbm","av-container":"sprc1uIEV","recirculation":"sprc1YjLM","content":"sprc2PlxR","has-forward-items":"sprc2vg5s","items":"sprc26lX3","has-back-items":"sprc8_NwJ","scrollable":"sprc1eDLH","dragging":"sprcPesrx","header":"sprc1GjYe","title":"sprc2wE2_","navigation":"sprc3VPpS","navigate":"sprc2hlM8","navigate-back":"sprcJjYeB","navigate-forward":"sprc2MkMP","avatar-blue":"sprcFco6q","avatar-orange":"sprc3pB4W","avatar-purple":"sprc2ko5l","avatar-green":"sprc1_682","avatar-red":"sprc1mcRl","avatar-grey":"sprc82og8","avatar-cyan":"sprc3tjZF","avatar-gold":"sprc3xOeN","avatar-olive":"sprcnQGvt","avatar-fabulous":"sprc3ioJl","avatar-hot":"sprcP_TJG","avatar-fierce":"sprc13toH","avatar-cosmic":"sprc34RnE","avatar-zen":"sprc1nBKX","avatar-strong":"sprcdbEGT","avatar-super":"sprc272Tr","avatar-magic":"sprc1Hh5N","avatar-peaceful":"sprc2CWoE","avatar-daring":"sprcU3Qow","avatar-heroic":"sprc2tD0r","avatar-wise":"sprc2WM0y","avatar-fresh":"sprc1UMcc","avatar-powerful":"sprcBh74L","avatar-slick":"sprc7luQk","avatar-autoblog":"sprc3lBDj","item":"sprc5DECK","item-image":"sprc3JGD_","item-title":"sprcrXXxN","item-content":"sprcW0DhN","user-image":"sprc37Avc","social-details":"sprcdi9x9","username":"sprc2qQzr","message-time":"sprcpvB1z","message-text":"sprc16C2K","article-content":"sprc3ep3z","item-title-text":"sprcLz-T4","image-background":"sprc1D3TP","social-content":"sprc1LKYH","social-header":"sprc2xJTJ","player-playing":"sprc287yb","item-engine":"sprc1dQHl","content-box":"sprc3Z36-","ad-display":"sprc1FPQ0","promoted":"sprc1O5M0","avContainer":"sprc1uIEV","hasForwardItems":"sprc2vg5s","hasBackItems":"sprc8_NwJ","navigateBack":"sprcJjYeB","navigateForward":"sprc2MkMP","avatarBlue":"sprcFco6q","avatarOrange":"sprc3pB4W","avatarPurple":"sprc2ko5l","avatarGreen":"sprc1_682","avatarRed":"sprc1mcRl","avatarGrey":"sprc82og8","avatarCyan":"sprc3tjZF","avatarGold":"sprc3xOeN","avatarOlive":"sprcnQGvt","avatarFabulous":"sprc3ioJl","avatarHot":"sprcP_TJG","avatarFierce":"sprc13toH","avatarCosmic":"sprc34RnE","avatarZen":"sprc1nBKX","avatarStrong":"sprcdbEGT","avatarSuper":"sprc272Tr","avatarMagic":"sprc1Hh5N","avatarPeaceful":"sprc2CWoE","avatarDaring":"sprcU3Qow","avatarHeroic":"sprc2tD0r","avatarWise":"sprc2WM0y","avatarFresh":"sprc1UMcc","avatarPowerful":"sprcBh74L","avatarSlick":"sprc7luQk","avatarAutoblog":"sprc3lBDj","itemImage":"sprc3JGD_","itemTitle":"sprcrXXxN","itemContent":"sprcW0DhN","userImage":"sprc37Avc","socialDetails":"sprcdi9x9","messageTime":"sprcpvB1z","messageText":"sprc16C2K","articleContent":"sprc3ep3z","itemTitleText":"sprcLz-T4","imageBackground":"sprc1D3TP","socialContent":"sprc1LKYH","socialHeader":"sprc2xJTJ","playerPlaying":"sprc287yb","itemEngine":"sprc1dQHl","contentBox":"sprc3Z36-","adDisplay":"sprc1FPQ0"},t.config={"must":null,"should":null,"nextPageUrl":"https://recirculation.spot.im/page/sp_fElq9fi5","cursor":{"pinned":{"offset":0,"count":20,"has_next":false},"typing":{"offset":0,"count":20,"has_next":false},"live":{"offset":1,"count":20,"has_next":false},"static":{"offset":20,"count":20,"has_next":true},"has_next":true},"brandColor":"#307FE2","languageDirection":"ltr","whitelist":[],"segmentation":{"segments":{"1":{"desktop":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}}},"2":{"desktop":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}}},"3":{"desktop":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}}},"4":{"desktop":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_ios":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"phone_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}},"tablet_android":{"row1-cell1":{"tag":null,"feature":[],"player":"display-1899"},"row1-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row1-cell3":{"tag":null,"feature":null,"player":null},"row1-cell4":{"tag":null,"feature":null,"player":null},"row2-cell1":{"tag":null,"feature":null,"player":null},"row2-cell2":{"tag":null,"feature":[],"player":"display-2bf6"},"row2-cell3":{"tag":null,"feature":null,"player":null},"row2-cell4":{"tag":null,"feature":null,"player":null}}}},"players":[{"id":"display-1899","type":"display","name":"Generalgoogle","closeAfter":"","reloadAfter":"","delayLoad":"","playerWidth":"300","playerHeight":"250","waitForEvent":false,"config":"<script type=\"text/javascript\"><!--\ngoogle_ad_client = \"ca-pub-5616046187545019\";\ngoogle_ad_width = 300;\ngoogle_ad_height = 250;\n//-->\n</script>\n<script type=\"text/javascript\"\nsrc=\"//pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script>\n"},{"id":"display-2bf6","type":"display","name":"Empty_tag","closeAfter":"0.1","reloadAfter":"","delayLoad":"","playerWidth":"300","playerHeight":"250","waitForEvent":false,"config":""}],"adsEnabled":true,"decks":1},"enableSpotimUtm":true,"openLinksInNewTab":false,"referTraffic":true}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=w.config.segmentation,n=y.default.getKey(window.location.href,"sprcop");if(n){n=atob(n),_("playersOverride",n);var r=JSON.parse(n);Array.isArray(r)||(r.slot="row1-cell1",r=[r]);var i=r.find(function(t){return t.slot===e});return i?(_("found slot player",i),{player:i,demand:null,tagName:null,feature:null}):{demand:null,tagName:null,player:null}}if(w.config.segmentation&&!w.config.segmentation.adsEnabled)return{demand:null,tagName:null,player:null};var o=null,a=null,s=null,l=null,d=u().toString(),f=c();if(t&&t.segments&&t.segments[d]&&t.segments[d][f]&&t.segments[d][f][e]){var p=t.segments[d][f][e],h=p.tag||"";if(l=p.feature||null,o=h.split(":")[0]||null,a=h.split(":")[1]||null,p.player){var v=p.player;s=t.players.find(function(e){return e.id===v})}}return{demand:o,tagName:a,player:s,feature:l}}function o(e){return i(e).demand}function a(e){return i(e).tagName}function s(e){return i(e).player}function l(e){return i(e).feature||[]}function u(){var e=Math.ceil(1e3*Math.random()),t=function(e){return e%4+1};E=E||t(e);try{var n=JSON.parse(localStorage.getItem(A)||"{}");n&&n.v===S||(n={v:S,mark:e},localStorage.setItem(A,JSON.stringify(n)));var r=n.mark,i=t(r);return i}catch(e){return E}}function c(){var e=null,t=null;if(m.default){var n=navigator.userAgent||navigator.vendor||window.opera;e=/iPad|iPhone|iPod/.test(n)&&!window.MSStream?"ios":"android",t=window.matchMedia&&window.matchMedia("(min-width: 415px)").matches?"tablet":"phone"}else e="desktop",t="desktop";return"desktop"===e?"desktop":t+"_"+e}function d(){return/tablet_/.test(c())}function f(){return/desktop/.test(c())}function p(){return/phone_/.test(c())}function h(){var e=c(),t=u();return t+"-"+e}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveDemand=o,t.resolveTagName=a,t.resolvePlayer=s,t.resolveFeatures=l,t.resolveSegment=u,t.resolveUserPlatform=c,t.isTablet=d,t.isDesktop=f,t.isPhone=p,t.resolveSegmentName=h;var v=n(9),m=r(v),g=n(8),y=r(g),b=n(13),w=n(60),_=(0,b.getDebugger)("ads-segmentation"),A="SPOTIM_SEG",S=1,E=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return h.filter(function(t){return t in e}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(t,"__esModule",{value:!0}),t.defaults=void 0,t.filterValidOptions=i;var o=n(63),a=r(o),s=n(64),l=n(65),u=n(66),c=n(67),d=n(68),f=n(69),p=t.defaults={networkId:"NOT_SET",spotId:"NOT_SET",spotName:"NOT_SET",postId:void 0,iosUrl:void 0,androidUrl:void 0,liveEventCode:void 0,conversationId:void 0,implementationId:"NOT_SET",disqusIdentifier:void 0,disqusUrl:void 0,gigyaStreamId:void 0,gigyaCategoryId:void 0,wpImportEndpoint:void 0,facebookUrl:void 0,pageSize:void 0,conversationSort:void 0,loadMoreInModal:void 0,isStarsRatingEnabled:!1,isLazyLoad:!1,isLiveBlogConversation:!1,reporters:[],reporterBadgeText:"Reporter",postUrl:void 0,href:window.location.href,canonicalHref:a.default.getCanonicalHref(),referTraffic:!0,displayNameInSayControlForGuests:!1,disableImageUploadInConversation:!1,disableSignupWizard:!1,conversationLongerComments:!1,conversationImageAnchorsDisabled:!1,numberedAvatars:!1,avatarsTheme:s.REGULAR_THEME,connectTypes:[],loginUponSayControlFocus:!1,shouldOpenLogin:!0,isConnectEnabled:!0,useDisqusLogin:!1,popularItemsCount:0,direction:u.LTR,forceRegister:!1,tickerIcon:void 0,tickerIconSize:void 0,tickerSkin:l.BRAND,tickerOffset:0,brandColor:void 0,categoryId:void 0,subCategoryId:void 0,languages:[],whitelistUrls:[],mainLanguage:"en",newsfeedSkin:void 0,newsfeedPosition:f.RIGHT,newsfeed_slideAlong_enabled:!1,newsfeed_slideAlong_selector:"",conversationSkin:c.LIGHT,registrationSkin:c.LIGHT,platform:void 0,websiteUrl:void 0,enableSSO:!1,enableConversationHeaderFacesList:!0,conversationRecommendationsRowsCount:1,openMode:d.ON_CLICK,enableMiniNewsfeed:!0,enableNewsfeed:!0,enableVideoItems:!1,enableRecommendation:!0,enableBlindfold:!1,enableGuestVoting:!0,hashImageSelector:'[data-spotim-image-id="{HASH_ID}"]',disableRegistrationModule:!1,recommendationBelowConversation:!1,disableNavigation:!1,disableUserProileModal:!1,utm:{},highlightedCommentId:null,highlightedReplyId:null,highlightImmediate:null,scrollToComments:null,isSayControlExpanded:null,resetPasswordStatus:null,resetPasswordTicket:null,emailVerify:null,enableRealtimeCommentsSticky:!0,enableHighlightMessageSticky:!0,enableDownVotesCount:!1,enableUserPoints:!0,redirectUrlTransform:function(e){return e},styleBlock:void 0,scriptBlock:void 0,hostOptionsBlock:void 0,enableSpotimUtm:!0,enableSpotimReferrer:!0,openLinksInNewTab:!1,preserveHostQueryString:!1,useExternalUserId:!1,conversationCommunityQuestion:void 0,allowVA:!0,textsOverrides:{}},h=Object.keys(p)},function(e,t){"use strict";function n(e){return e.split(/\?/)[0]}function r(e){return e.split(/#/)[0]}function i(e){return e.replace(/.*?:\/\//g,"")}function o(e,t){return t.removeProtocol&&(e=i(e)),t.removeQueryString&&(e=n(e)),t.removeFragment&&(e=r(e)),e}function a(e){var t="";if(e){var n=e.match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i);t=n&&n[1]}return t}function s(){var e=document.location.href,t=document.querySelector("link[rel='canonical']");return t&&(e=t.href),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default={parse:o,extractDomain:a,getCanonicalHref:s}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.REGULAR_THEME="REGULAR_THEME"},function(e,t){"use strict";function n(e){switch(e.toUpperCase()){case"BRAND":return r;case"WHITE":return r;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n;var r=t.BRAND="BRAND";t.WHITE="WHITE"},function(e,t){"use strict";function n(e){switch(e.toUpperCase()){case"RTL":return r;case"LTR":return i;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n;var r=t.RTL="rtl",i=t.LTR="ltr";t.RTL_LANGUAGES=["he","ar"]},function(e,t){"use strict";function n(e){switch(e.toUpperCase()){case"DARK":return r;case"LIGHT":return i;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n;var r=t.DARK="dark",i=t.LIGHT="light"},function(e,t){"use strict";function n(e){switch(e.toUpperCase()){case"AUTOMATIC":return r;case"PERMANENT":return i;case"ON_CLICK":return o;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n;var r=t.AUTOMATIC="AUTOMATIC",i=t.PERMANENT="PERMANENT",o=t.ON_CLICK="ON_CLICK"},function(e,t){"use strict";function n(e){switch(e.toUpperCase()){case"LEFT":return r;case"RIGHT":return i;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n;var r=t.LEFT="LEFT",i=t.RIGHT="RIGHT"},function(module,exports,__webpack_require__){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function parseSpotOptions(code){var hostOptions={};if(code)try{!function(c){try{var SPOTIM_OPTIONS={};eval(c),hostOptions=Object.assign(hostOptions,SPOTIM_OPTIONS)}catch(e){console.error("Failed to parse host options")}}(code)}catch(e){console.error("Failed to parse host options")}return hostOptions}function getHostOptions(){var e=hostOptions.resolve();return(0,_defaults.filterValidOptions)(e)}Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_class,_temp;exports.parseSpotOptions=parseSpotOptions,exports.getHostOptions=getHostOptions;var _defaults=__webpack_require__(62),_deepExtendObject=__webpack_require__(71),HostOptions=(_temp=_class=function(){function e(){_classCallCheck(this,e),this.isExecuted=!1,this.hostOptions={}}return _createClass(e,[{key:"resolve",value:function(){if(!this.isExecuted){this.isExecuted=!0;for(var t=document.querySelectorAll('script[type="'+e.scriptType+'"]'),n=0;n<t.length;n++){var r=t[n].textContent;(0,_deepExtendObject.deepExtendObject)(this.hostOptions,parseSpotOptions(r))}}return this.hostOptions}}]),e}(),_class.scriptType="text/x-spotim-options",_temp),hostOptions=new HostOptions},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t.shift();return t.forEach(function(e){for(var t in e)e[t]&&e[t].constructor&&e[t].constructor===Object?(i[t]=i[t]||{},n(i[t],e[t])):i[t]=e[t]}),i}Object.defineProperty(t,"__esModule",{value:!0}),t.deepExtendObject=n},function(e,t,n){"use strict";function r(e){var t=Object.keys(o).reduce(function(t,n){var r=e.getAttribute(n);if(r){var i=o[n];switch(r){case"true":r=!0;break;case"false":r=!1}t[i]=r}return t},{});return(0,i.filterValidOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedAttributesMap=void 0,t.getElementOptions=r;var i=n(62),o=t.supportedAttributesMap={"data-spot-id":"spotId","data-post-id":"postId","data-ios-url":"iosUrl","data-android-url":"androidUrl","data-conversation-id":"conversationId","data-implementation-id":"implementationId","data-disqus-identifier":"disqusIdentifier","data-disqus-url":"disqusUrl","data-gigya-streamid":"gigyaStreamId","data-gigya-categoryid":"gigyaCategoryId","data-wp-import-endpoint":"wpImportEndpoint","data-facebook-url":"facebookUrl","data-messages-count":"pageSize","data-sort-by":"conversationSort","data-post-url":"postUrl","data-load-more-in-modal":"loadMoreInModal","data-social-reviews":"isStarsRatingEnabled","data-lazy-load":"isLazyLoad","data-live-blog":"isLiveBlogConversation","data-live-event-code":"liveEventCode","data-reporters":"reporters","data-reporter-badge-text":"reporterBadgeText","data-refer-traffic":"referTraffic","data-disable-navigation":"disableNavigation","data-community-question":"conversationCommunityQuestion","data-allow-va":"allowVA"}},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./aniview/index.js":74,"./any-clip/index.js":80,"./cedato-2/index.js":81,"./cedato/index.js":84,"./display/index.js":85,"./inline/index.js":86,"./ironsource/index.js":87,"./lqkd/index.js":101,"./matomy/index.js":102,"./ora-tv/index.js":103,"./positive-mobile/index.js":105,"./sr-2/index.js":106,"./sr/index.js":107,"./streamrail/index.js":108,"./taptica/index.js":116,"./teads/index.js":117,"./unruly/index.js":118,"./verta-media/index.js":119};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=73},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.itemIndex,i=void 0===r?-1:r,s=(t.width,t.height,t.pageUrl,t.onAdTagLoad),l=void 0===s?function(){}:s,u=t.onAdTagLoadSuccess,h=void 0===u?function(){}:u,v=t.onAdTagLoadFail,m=void 0===v?function(){}:v,g=t.onAdDisplayStart,y=void 0===g?function(){}:g,b=(t.onAdDisplayFinish,t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough),w=void 0===b?function(){}:b;t.onAdNoFill,t.onDispose;return f||(c("Creating demand in",e),f=new a.AdsDemand(d,function(){return Promise.resolve()},function(e,t){return new Promise(function(t,r){e.setAttribute("id","spotimaniviewplayer"),l(d,n,i),p[n].getTag({id:e.getAttribute("id"),onLoad:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c.apply(void 0,["onLoad"].concat(t))},onPlay:y.bind(null,d,n,i),onClick:w.bind(null,d,n,i),onError:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c.apply(void 0,["onError"].concat(t))},config:o()}).then(function(){h(d,n,i),t()}).catch(function(e){m(d,n,i),r(e)})})})),f.createInstance(e)}function o(){var e={publisherId:"586d77f4073ef458b22cc1dd",HD:!0,autoPlay:!0,loop:!0,mode:0,vastRetry:3,errorLimit:5,soundButton:!0,pauseButton:!0,logo:!0,closeButton:!1},t=u.default.getKey(window.location.href.toLowerCase(),"utm_source");return t&&(e.ref1="AV_CDIM1="+t),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var a=n(75),s=n(13),l=n(8),u=r(l),c=(0,s.getDebugger)("ads"),d=t.ADS_DEMAND_NAME="AniView",f=(t.SUPPORT_MULTI_PLACEMENTS=!1,null),p=["300x250-desktop","400x300-desktop","300x250-mobile"].reduce(function(e,t){return e[t]=n(76)("./"+t+".js"),e},{})},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.AdsDemand=function(){function e(t,r,i){n(this,e),this.sdkInitialized=r(),this.initializeInstance=i,this.demandName=t}return r(e,[{key:"createInstance",value:function(e,t){var n=this;return this.sdkInitialized.then(function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return n.initializeInstance.apply(n,[e,t].concat(i))})}}]),e}()},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./300x250-desktop.js":77,"./300x250-mobile.js":78,"./400x300-desktop.js":79};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=76},function(e,t){"use strict";function n(e){var t=e.id,n=e.onLoad,r=e.onPlay,i=e.onClick,o=e.onError,a=e.config,s=void 0===a?{}:a;return new Promise(function(e,a){function l(t,s){var l=document.createElement("script");l.src=t,l.onload=function(){u=new avPlayer(s),u.onLoad=n,u.onPlay=r,u.onClick=i,u.onError=o,u.play(c),e()},l.onerror=a,document.getElementsByTagName("head")[0].appendChild(l)}var u,c=Object.assign({},s,{channelId:"586d785c28a061571033c64c",width:300,height:250,position:t});(new Image).src="https://track1.aniview.com/track?pid="+c.publisherId+"&cid="+c.channelId+"&e=playerLoaded&cb="+Date.now();var d="https://cdn.aniview.com/script/6/aniview.js";l(d,c)})}Object.defineProperty(t,"__esModule",{value:!0}),t.getTag=n},function(e,t){"use strict";function n(e){var t=e.id,n=e.onLoad,r=e.onPlay,i=e.onClick,o=e.onError,a=e.config,s=void 0===a?{}:a;return new Promise(function(e,a){function l(t,s){var l=document.createElement("script");l.src=t,l.onload=function(){u=new avPlayer(s),u.onLoad=n,u.onPlay=r,u.onClick=i,u.onError=o,u.play(c),e()},l.onerror=a,document.getElementsByTagName("head")[0].appendChild(l)}var u,c=Object.assign({},s,{channelId:"586d7bf7073ef40f5112f260",width:300,height:250,position:t});(new Image).src="https://track1.aniview.com/track?pid="+c.publisherId+"&cid="+c.channelId+"&e=playerLoaded&cb="+Date.now();var d="https://cdn.aniview.com/script/6/aniview.js";l(d,c)})}Object.defineProperty(t,"__esModule",{
value:!0}),t.getTag=n},function(e,t){"use strict";function n(e){var t=e.id,n=e.onLoad,r=e.onPlay,i=e.onClick,o=e.onError,a=e.config,s=void 0===a?{}:a;return new Promise(function(e,a){function l(t,s){var l=document.createElement("script");l.src=t,l.onload=function(){u=new avPlayer(s),u.onLoad=n,u.onPlay=r,u.onClick=i,u.onError=o,u.play(c),e()},l.onerror=a,document.getElementsByTagName("head")[0].appendChild(l)}var u,c=Object.assign({},s,{channelId:"586d785c28a061571033c64c",width:400,height:300,position:t});(new Image).src="https://track1.aniview.com/track?pid="+c.publisherId+"&cid="+c.channelId+"&e=playerLoaded&cb="+Date.now();var d="https://cdn.aniview.com/script/6/aniview.js";l(d,c)})}Object.defineProperty(t,"__esModule",{value:!0}),t.getTag=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.itemIndex,r=void 0===n?-1:n,i=t.width,s=void 0===i?300:i,l=t.height,c=void 0===l?250:l,h=t.pageUrl,v=void 0===h?"":h,m=t.onAdTagLoad,g=void 0===m?function(){}:m,y=t.onAdTagLoadSuccess,b=void 0===y?function(){}:y,w=t.onAdTagLoadFail,_=void 0===w?function(){}:w,A=t.onAdDisplayStart,S=void 0===A?function(){}:A,E=t.onAdDisplayFinish,T=void 0===E?function(){}:E,I=t.onAdImpression,O=void 0===I?function(){}:I,k=(t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile),P=void 0===k?function(){}:k,C=t.onAdClickThrough,M=void 0===C?function(){}:C;t.onAdNoFill;return p||(d("Creating demand in",e),p=new u.AdsDemand(f,o,function(e,t){try{g(f,f,t);var n=a({pageUrl:v,width:s,height:c});d("AnyClip config",n);var i=e.getAttribute("id"),o=SR(i,n);d("AnyClip player",o),b(f,f,r),o.on("AdRequest",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.apply(void 0,["AdRequest"].concat(t))}),o.on("AdResponse",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.apply(void 0,["AdResponse"].concat(t))}),o.on("AdLoaded",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.apply(void 0,["AdLoaded"].concat(t))}),o.on("AdImpression",O.bind(null,f,f,r)),o.on("AdVideoStart",S.bind(null,f,f,r)),o.on("AdVideoFirstQuartile",P.bind(null,f,f,r)),o.on("AdVideoComplete",T.bind(null,f,f,r)),o.on("AdSkipped",T.bind(null,f,f,r)),o.on("AdClickThru",M.bind(null,f,f,r)),o.on("AdError",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.apply(void 0,["AdError"].concat(t))})}catch(e){throw _(f,f,r),d("AnyClip init error",e),e}})),p.createInstance(e)}function o(){return d("AnyClip SDK initialize"),new Promise(function(e,t){window.srAsyncInit=function(){d("AnyClip SDK success"),e()},function(e,n,r){var i,o=e.getElementsByTagName(n)[0];e.getElementById(r)||(i=e.createElement(n),i.id=r,i.setAttribute("crossorigin","anonymous"),i.src="https://sdk.streamrail.com/player/sr.ads.js",i.onerror=function(e){t("AnyClip SDK script load error")},o.parentNode.insertBefore(i,o))}(document,"script","streamrail-jssdk")})}function a(e){var t=e.pageUrl,n=e.width,r=e.height;if(l.default){var i="http://ssp.lkqd.net/ad?pid=74&sid=95501&output=vastvpaid&support=html5&execution=any&placement=&playinit=auto&volume=100&width="+n+"&height="+r+"&pageurl="+t+"&rnd="+Math.random().toString(),o={muted:!0,adCancelTimeout:1e4,content:{linkUrl:"http://www.anyclip.com/"},partnerID:"2450a9d5-2713-48f1-a01f-5e853b191e1c",companion:!1,autoplay:!0,breakingAds:{enabled:!0},ads:{timeout:15,schedule:[{position:"pre-roll",server:{type:"direct",tag:i}}],skip:{enabled:!1}},playlist:[]};return o}var a="http://ssp.lkqd.net/ad?pid=74&sid=98141&output=vastvpaid&support=html5flash&execution=any&placement=&playinit=auto&volume=100&width="+n+"&height="+r+"&pageurl="+t+"&rnd="+Math.random().toString(),s={muted:!0,adCancelTimeout:1e4,content:{linkUrl:"http://www.anyclip.com/"},partnerID:"2450a9d5-2713-48f1-a01f-5e853b191e1c",companion:!1,autoplay:!0,breakingAds:{enabled:!0},ads:{timeout:15,schedule:[{position:"pre-roll",server:{type:"direct",tag:a}}],skip:{enabled:!1}},playlist:[]};return s}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var s=n(9),l=r(s),u=n(75),c=n(13),d=(0,c.getDebugger)("ads"),f=t.ADS_DEMAND_NAME="any-clip",p=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function createPlacement(container,_ref){var _ref$player=_ref.player,player=void 0===_ref$player?{}:_ref$player,_ref$subid=_ref.subid,subid=void 0===_ref$subid?{}:_ref$subid,_ref$trackEvent=_ref.trackEvent,trackEvent=void 0===_ref$trackEvent?function(){}:_ref$trackEvent,_ref$onContentVideoSt=_ref.onContentVideoStart,onContentVideoStart=void 0===_ref$onContentVideoSt?function(){}:_ref$onContentVideoSt,_ref$onContentVideoFi=_ref.onContentVideoFinish,onContentVideoFinish=void 0===_ref$onContentVideoFi?function(){}:_ref$onContentVideoFi,_ref$onAdTagLoad=_ref.onAdTagLoad,onAdTagLoad=void 0===_ref$onAdTagLoad?function(){}:_ref$onAdTagLoad,_ref$onAdTagLoadSucce=_ref.onAdTagLoadSuccess,onAdTagLoadSuccess=void 0===_ref$onAdTagLoadSucce?function(){}:_ref$onAdTagLoadSucce,_ref$onAdTagLoadFail=_ref.onAdTagLoadFail,onAdTagLoadFail=void 0===_ref$onAdTagLoadFail?function(){}:_ref$onAdTagLoadFail,_ref$onAdDisplayStart=_ref.onAdDisplayStart,onAdDisplayStart=void 0===_ref$onAdDisplayStart?function(){}:_ref$onAdDisplayStart,_ref$onAdDisplayFinis=_ref.onAdDisplayFinish,onAdDisplayFinish=void 0===_ref$onAdDisplayFinis?function(){}:_ref$onAdDisplayFinis,_ref$onAdImpression=_ref.onAdImpression,onAdImpression=void 0===_ref$onAdImpression?function(){}:_ref$onAdImpression,_ref$onAdViewableImpr=_ref.onAdViewableImpression,onAdViewableImpression=void 0===_ref$onAdViewableImpr?function(){}:_ref$onAdViewableImpr,_ref$onAdViewableIab=_ref.onAdViewableIab,onAdViewableIab=void 0===_ref$onAdViewableIab?function(){}:_ref$onAdViewableIab,_ref$onAdViewedFirstQ=_ref.onAdViewedFirstQuartile,onAdViewedFirstQuartile=void 0===_ref$onAdViewedFirstQ?function(){}:_ref$onAdViewedFirstQ,_ref$onAdClickThrough=_ref.onAdClickThrough,onAdClickThrough=void 0===_ref$onAdClickThrough?function(){}:_ref$onAdClickThrough,_ref$onAdNoFill=_ref.onAdNoFill,onAdNoFill=void 0===_ref$onAdNoFill?function(){}:_ref$onAdNoFill,_ref$onDispose=_ref.onDispose,onDispose=void 0===_ref$onDispose?function(){}:_ref$onDispose;return adsDebug("Creating demand in",container),new Promise(function(resolve,reject){try{var rawConfig=player.config;switch(rawConfig){case"ineractive":rawConfig='<div id="video1023275456{CB}" style="width: 300px; height: 250px;"><script src="http://p.algovid.com/player/player.js?p=1023275456&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>';break;case"loopme":rawConfig='<div id="video187238151{CB}" style="width: 300px; height: 250px;"><script src="https://p.algovid.com/player/player.js?p=187238151&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>';break;case"vdopia":rawConfig='<div id="video584309398{CB}" style="width: 300px; height: 250px;"><script src="https://p.algovid.com/player/player.js?p=584309398&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>'}var rnd=Math.random().toString();rawConfig=rawConfig.replace(/\{RND\}/g,rnd).replace(/\{PAGE_URL\}/g,window.location.href).replace(/\{DOMAIN\}/g,window.location.hostname).replace(/EXTRACTED_DOMAIN/g,window.location.hostname).replace(/\{SID\}/g,encodeURIComponent((0,_queryString.queryStringFromObject)(_extends({},subid),!1))).replace(/\{URL\}/g,window.location.href).replace(/\[URL\]/g,window.location.href).replace(/\{CB\}/g,rnd).replace(/\[CB\]/g,rnd);var tagName=player.name;if(adsDebug("Cedato2 player config",player),adsDebug("Cedato2 player config",rawConfig),!rawConfig)throw adsDebug("Cedato2 can't find config for player",player),new Error("Cedato2 can't find config for player",player);onAdTagLoad(),trackEvent("engine-tag-load-success");var fragment=document.createElement("div");fragment.innerHTML=rawConfig;var script=fragment.querySelector("script"),playerDiv=fragment.firstChild;if(script&&playerDiv){var scriptContent=script.textContent||script.text,scriptParent=script.parentNode;scriptParent.removeChild(script);var attrs=[].concat(_toConsumableArray(script.attributes)),cedatoDivId=playerDiv.getAttribute("id");container.appendChild(playerDiv);var scriptTag=document.createElement("script");if(attrs.forEach(function(e){scriptTag.setAttribute(e.nodeName,e.nodeValue)}),playerDiv.appendChild(scriptTag),window.CEDATO_INIT=window.CEDATO_INIT||{},window.CEDATO_INIT[cedatoDivId]=function(){adsDebug("Cedato2 CEDATO_INIT",cedatoDivId),this.overrideInitParams({allowSound:!1}),this.on("adstart",function(){var e=getComputedStyle(playerDiv),t=e.width,n=e.height;_pubsub2.default.trigger(_eventNames.AD_DISPLAY_STARTED,{width:parseInt(t),height:parseInt(n)}),onAdDisplayStart(),trackEvent("engine-start")}),player&&player.show||this.on("adcomplete",function(){onAdDisplayFinish(),_pubsub2.default.trigger(_eventNames.AD_DISPLAY_FINISHED),trackEvent("engine-stop")})},scriptContent&&eval(scriptContent),player&&player.show||"true"===playerDiv.getAttribute("always-show-player")){var _window$getComputedSt=window.getComputedStyle(playerDiv),width=_window$getComputedSt.width,height=_window$getComputedSt.height;_pubsub2.default.trigger(_eventNames.AD_CONTENT_DISPLAY_STARTED,{width:parseInt(width),height:parseInt(height)}),onContentVideoStart()}}}catch(e){onAdTagLoadFail(),adsDebug("Cedato init error",e),reject(e)}})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.SUPPORT_MULTI_PLACEMENTS=exports.ADS_DEMAND_NAME=void 0;var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};exports.createPlacement=createPlacement;var _isMobile=__webpack_require__(9),_isMobile2=_interopRequireDefault(_isMobile),_guid=__webpack_require__(82),_guid2=_interopRequireDefault(_guid),_adsDemand=__webpack_require__(75),_debug=__webpack_require__(13),_globalPubsub=__webpack_require__(83),_globalPubsub2=_interopRequireDefault(_globalPubsub),_pubsub=__webpack_require__(51),_pubsub2=_interopRequireDefault(_pubsub),_eventNames=__webpack_require__(53),_queryString=__webpack_require__(8),adsDebug=(0,_debug.getDebugger)("ads"),ADS_DEMAND_NAME=exports.ADS_DEMAND_NAME="cedato-2",SUPPORT_MULTI_PLACEMENTS=exports.SUPPORT_MULTI_PLACEMENTS=!1,cedatoDemand=null},function(e,t){"use strict";function n(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function r(){var e=n;return e()+e()+e()+e()+e()+e()+e()+e()}Object.defineProperty(t,"__esModule",{value:!0}),t.shortGuid=n,t.guid=r,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(82),u=r(l),c=function(){function e(){o(this,e),this.uid=(0,u.default)()}return s(e,[{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new CustomEvent("spotim-rc-"+e,{detail:a({uid:this.uid},t)});document.dispatchEvent(n)}},{key:"on",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];document.addEventListener("spotim-rc-"+e,function(e){var o=e.detail,a=o.uid,s=i(o,["uid"]);(r||a!==n.uid)&&t(s)},!1)}},{key:"off",value:function(e,t){throw new Error("Not implemented")}}]),e}(),d=new c;t.default=d},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Placement=exports.SUPPORT_MULTI_PLACEMENTS=exports.ADS_DEMAND_NAME=void 0;var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_isMobile=__webpack_require__(9),_isMobile2=_interopRequireDefault(_isMobile),_guid=__webpack_require__(82),_guid2=_interopRequireDefault(_guid),_debug=__webpack_require__(13),_queryString=__webpack_require__(8),_pubsub=__webpack_require__(51),_pubsub2=_interopRequireDefault(_pubsub),adsDebug=(0,_debug.getDebugger)("ads"),ADS_DEMAND_NAME=exports.ADS_DEMAND_NAME="Cedato",SUPPORT_MULTI_PLACEMENTS=exports.SUPPORT_MULTI_PLACEMENTS=!1,Placement=exports.Placement=function(){function Placement(e,t){var n=t.row,r=t.cell,i=t.player,o=void 0===i?{}:i,a=t.subid,s=void 0===a?{}:a,l=t.itemIndex,u=void 0===l?-1:l,c=t.width,d=void 0===c?300:c,f=t.height,p=void 0===f?250:f,h=t.pageUrl,v=void 0===h?"":h,m=t.bannerHtml,g=void 0===m?"":m,y=t.onContentVideoStart,b=void 0===y?function(){}:y,w=t.onContentVideoFinish,_=void 0===w?function(){}:w,A=t.onAdTagLoad,S=void 0===A?function(){}:A,E=t.onAdTagLoadSuccess,T=void 0===E?function(){}:E,I=t.onAdTagLoadFail,O=void 0===I?function(){}:I,k=t.onAdDisplayStart,P=void 0===k?function(){}:k,C=t.onAdDisplayFinish,M=void 0===C?function(){}:C,D=t.onAdImpression,L=void 0===D?function(){}:D,R=t.onAdViewableImpression,N=void 0===R?function(){}:R,j=t.onAdViewableIab,x=void 0===j?function(){}:j,V=t.onAdViewedFirstQuartile,F=void 0===V?function(){}:V,U=t.onAdClickThrough,$=void 0===U?function(){}:U,q=t.onAdNoFill,H=void 0===q?function(){}:q,B=t.onDispose,K=void 0===B?function(){}:B;_classCallCheck(this,Placement),Object.assign(this,{adContainer:e,row:n,cell:r,player:o,itemIndex:u,width:d,height:p,pageUrl:v,onContentVideoStart:b,onContentVideoFinish:_,onAdTagLoad:S,onAdTagLoadFail:O,onAdDisplayStart:P,onAdDisplayFinish:M,onAdImpression:L,onAdViewableImpression:N,onAdViewableIab:x,onAdViewedFirstQuartile:F,onAdClickThrough:$,onAdNoFill:H,onDispose:K,onAdTagLoadSuccess:T,bannerHtml:g,subid:s})}return _createClass(Placement,[{key:"create",value:function create(){var _this2=this;return new Promise(function(resolve,reject){try{var rawConfig=_this2.player.config,tagName=_this2.player.name;switch(rawConfig){case"ineractive":rawConfig='<div id="video1023275456{CB}" style="width: 300px; height: 250px;"><script src="http://p.algovid.com/player/player.js?p=1023275456&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>';break;case"loopme":rawConfig='<div id="video187238151{CB}" style="width: 300px; height: 250px;"><script src="https://p.algovid.com/player/player.js?p=187238151&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>';break;case"vdopia":rawConfig='<div id="video584309398{CB}" style="width: 300px; height: 250px;"><script src="https://p.algovid.com/player/player.js?p=584309398&sid={SID}&cb={CB}&w=300&h=250&d={URL}" type="text/javascript"></script></div>'}if(rawConfig=rawConfig.replace(/\{RND\}/g,Math.random().toString()).replace(/\{PAGE_URL\}/g,_this2.pageUrl).replace(/\{DOMAIN\}/g,window.location.hostname).replace(/\{SID\}/g,encodeURIComponent((0,_queryString.queryStringFromObject)(_extends({},_this2.subid),!1))).replace(/\{URL\}/g,_this2.pageUrl).replace(/\{CB\}/g,Math.random().toString()),adsDebug("Cedato player config",_this2.player),adsDebug("Cedato player raw config",rawConfig),!rawConfig)return adsDebug("Cedato can't find config for player",_this2.player),void reject("Cedato can't find config for player",_this2.player);_this2.onAdTagLoad(ADS_DEMAND_NAME,tagName,_this2.itemIndex);var fragment=document.createElement("div");rawConfig=rawConfig.replace(/\[PAGE_URL\]/g,window.location.href),fragment.innerHTML=rawConfig;var playerDiv=fragment.querySelector("div");if(playerDiv){var cedatoDivId=playerDiv.getAttribute("id"),script=fragment.querySelector("script"),scriptContent=script.textContent||script.text,scriptParent=script.parentNode;scriptParent.removeChild(script);var passbackScript=fragment.querySelector('script[type="cedato/passback"]');passbackScript&&passbackScript.parentNode.removeChild(passbackScript);var attrs=[].concat(_toConsumableArray(script.attributes));_this2.adContainer.appendChild(playerDiv);var scriptTag=document.createElement("script");if(attrs.forEach(function(e){scriptTag.setAttribute(e.nodeName,e.nodeValue)}),playerDiv.appendChild(scriptTag),scriptContent)try{eval(scriptContent)}catch(e){return scriptTag.textContent=scriptContent,adsDebug("Cedato content eval error",e),void reject(e)}var adStartTimer=null;passbackScript&&(adsDebug("Cedato passback",passbackScript.outerHTML),playerDiv.appendChild(passbackScript),adStartTimer=setTimeout(function(){adsDebug("Cedato passback timeout"),_this2.onAdDisplayStart(ADS_DEMAND_NAME,tagName,_this2.itemIndex),_pubsub2.default.trigger("update-ad-slot",{row:_this2.row,cell:_this2.cell,width:300,height:250,itemDisplay:"hide"})},1e3*parseInt(passbackScript.getAttribute("data-timeout")))),window.CEDATO_INIT=window.CEDATO_INIT||{};var _this=_this2;window.CEDATO_INIT[cedatoDivId]=function(){this.overrideInitParams({allowSound:!1}),this.on("adstart",function(){adStartTimer&&(adsDebug("Cedato passback clear"),clearTimeout(adStartTimer)),_this.onAdDisplayStart(ADS_DEMAND_NAME,tagName,_this.itemIndex)}),_this.player&&_this.player.show||this.on("adcomplete",_this.onAdDisplayFinish.bind(null,ADS_DEMAND_NAME,tagName,_this.itemIndex))},(_this.player&&_this.player.show||"true"===playerDiv.getAttribute("always-show-player"))&&_this.onContentVideoStart(_this.itemIndex)}resolve()}catch(e){_this2.onAdTagLoadFail(ADS_DEMAND_NAME,_this2.player.name,_this2.itemIndex),adsDebug("Cedato init error",e),reject(e)}})}}]),Placement}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Placement=t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(13),s=n(51),l=(r(s),n(8)),u=(0,a.getDebugger)("ads"),c=t.ADS_DEMAND_NAME="DISPLAY",d=(t.SUPPORT_MULTI_PLACEMENTS=!0,/"zoneid".*/),f=function(e){return Object.keys(e).reduce(function(t,n){return e[n]&&(t+=".setTargeting('"+n+"','"+e[n]+"')"),t},"")};t.Placement=function(){function e(t,n){var r=n.player,o=void 0===r?{}:r,a=n.itemIndex,s=void 0===a?-1:a,l=n.width,u=void 0===l?300:l,c=n.height,d=void 0===c?250:c,f=n.pageUrl,p=void 0===f?"":f,h=n.subid,v=void 0===h?{}:h,m=n.onContentVideoStart,g=void 0===m?function(){}:m,y=n.onContentVideoFinish,b=void 0===y?function(){}:y,w=n.onAdTagLoad,_=void 0===w?function(){}:w,A=n.onAdTagLoadFail,S=void 0===A?function(){}:A,E=n.onAdDisplayStart,T=void 0===E?function(){}:E,I=n.onAdDisplayFinish,O=void 0===I?function(){}:I;i(this,e),Object.assign(this,{adContainer:t,player:o,itemIndex:s,width:u,height:d,pageUrl:p,onContentVideoStart:g,onContentVideoFinish:b,onAdTagLoad:_,onAdTagLoadFail:S,onAdDisplayStart:T,onAdDisplayFinish:O,subid:v}),this.DISPLAY_CLOSE="$$SPOTIM_DISPLAY_CLOSE_"+this.itemIndex+"$$",this.DISPLAY_RELOAD="$$SPOTIM_DISPLAY_RELOAD_"+this.itemIndex+"$$"}return o(e,[{key:"create",value:function(){var e=this;return new Promise(function(t,n){try{var r=e.player.config;r=r.replace(/\{RND\}/g,Math.random().toString()).replace(/\{PAGE_URL\}/g,e.pageUrl).replace(/\{DOMAIN\}/g,window.location.hostname).replace(/&lt;/g,"<").replace(/&gt;/g,">");var i=e.player.name;if(r.indexOf("static.criteo.net")>-1){var o=d.exec(r)[0];r=r.replace(o,o+'"extraData":{"subid":"'+(0,l.queryStringFromObject)(e.subid)+'"},')}if(r.lastIndexOf(".com/tag/js/gpt.js")>-1){var a=f(e.subid);r=r.replace(".addService(googletag.pubads());",a+".addService(googletag.pubads());")}e.registerForFallbackEvent(),u("Display config",e.player),e.onAdTagLoad(c,i,e.itemIndex);var s=document.createElement("iframe");Object.assign(s.style,{width:"100%",height:"100%",border:"none"}),r="<html><body style='margin: 0; padding: 0; background: white; overflow: hidden;'>"+r+"</body></html>",e.adContainer.appendChild(s),s.contentWindow.document.open(),s.contentWindow.document.write(r),s.contentWindow.document.close(),e.player.closeAfter&&(u("Display will close after "+e.player.closeAfter+" seconds."),window[e.DISPLAY_CLOSE]=setTimeout(function(){u("Display timeout. Closing."),e.onAdDisplayFinish(),clearInterval(window.$$SPOTIM_DISPLAY_RELOAD$$)},1e3*e.player.closeAfter)),e.player.reloadAfter&&(u("Display will reload every "+e.player.reloadAfter+" seconds."),window[e.DISPLAY_RELOAD]=setInterval(function(){u("Display reloading"),s.contentWindow.document.documentElement.innerHTML="",s.contentWindow.document.open(),s.contentWindow.document.write(r),s.contentWindow.document.close()},1e3*e.player.reloadAfter)),u("Display content",r),e.onAdDisplayStart(c,i,e.itemIndex),t()}catch(t){e.onAdTagLoadFail(c,e.player.name,e.itemIndex),u("Display init error",t),n(t)}})}},{key:"registerForFallbackEvent",value:function(){var e=this;u("registerForFallbackEvent");var t=function t(n){var r=/^spotim-display-fallback$/.exec(n.data);null!==r&&(u("calling onAdDisplayFinish from registerForFallbackEvent"),e.onAdDisplayFinish(),clearTimeout(window[e.DISPLAY_CLOSE]),clearInterval(window[e.DISPLAY_RELOAD]),window.top.removeEventListener("message",t,!1))};window.top.addEventListener("message",t,!1)}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Placement=t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(13),s=n(51),l=(r(s),(0,a.getDebugger)("ads")),u=t.ADS_DEMAND_NAME="INLINE";t.SUPPORT_MULTI_PLACEMENTS=!0,t.Placement=function(){function e(t,n){var r=n.player,o=void 0===r?{}:r,a=n.itemIndex,s=void 0===a?-1:a,l=n.width,u=void 0===l?300:l,c=n.height,d=void 0===c?250:c,f=n.pageUrl,p=void 0===f?"":f,h=n.onContentVideoStart,v=void 0===h?function(){}:h,m=n.onContentVideoFinish,g=void 0===m?function(){}:m,y=n.onAdTagLoad,b=void 0===y?function(){}:y,w=n.onAdTagLoadFail,_=void 0===w?function(){}:w,A=n.onAdDisplayStart,S=void 0===A?function(){}:A,E=n.onAdDisplayFinish,T=void 0===E?function(){}:E;i(this,e),Object.assign(this,{adContainer:t,player:o,itemIndex:s,width:u,height:d,pageUrl:p,onContentVideoStart:v,onContentVideoFinish:g,onAdTagLoad:b,onAdTagLoadFail:_,onAdDisplayStart:S,onAdDisplayFinish:T})}return o(e,[{key:"create",value:function(){var e=this;return new Promise(function(t,n){try{var r=e.player.config;r=r.replace(/\{RND\}/g,Math.random().toString()).replace(/\{PAGE_URL\}/g,e.pageUrl).replace(/\{DOMAIN\}/g,window.location.hostname).replace(/&lt;/g,"<").replace(/&gt;/g,">");var i=e.player.name;l("Inline config",e.player),e.onAdTagLoad(u,i,e.itemIndex),e.adContainer.innerHTML=r,l("Inline content",r),e.onAdDisplayStart(u,i,e.itemIndex),t()}catch(t){e.onAdTagLoadFail(u,e.player.name,e.itemIndex),l("Inline init error",t),n(t)}})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.itemIndex,i=void 0===r?-1:r,a=(t.width,t.height,t.pageUrl),s=void 0===a?"":a,l=(t.bannerHtml,t.utmSource),u=void 0===l?null:l,f=t.onAdTagLoad,p=void 0===f?function(){}:f,b=t.onAdTagLoadSuccess,w=void 0===b?function(){}:b,_=t.onAdTagLoadFail,A=void 0===_?function(){}:_,S=t.onAdDisplayStart,E=void 0===S?function(){}:S,T=t.onAdDisplayFinish,I=void 0===T?function(){}:T,O=t.onAdImpression,k=void 0===O?function(){}:O,P=(t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile),C=void 0===P?function(){}:P,M=t.onAdClickThrough,D=void 0===M?function(){}:M,L=(t.onAdNoFill,t.onDispose),R=void 0===L?function(){}:L;return y||(m("Creating demand in",e),y=new d.AdsDemand(g,o,function(e,t){try{var r=v[n].playerConfig;if(!r||"function"!=typeof r)throw m("IronSource can't find playerConfig for tag",n),new Error("IronSource can't find playerConfig for tag",n);var o=r({pageUrl:s});u&&(o.macros=o.macros||{},o.macros.sub_id=u),m("IronSource tag name",n),m("IronSource player config",r(o)),p(g,n,i);var a="player-"+(0,c.default)();e.setAttribute("id",a),SR(a,o).then(function(e){h.default.trigger("placement-created",{dispose:function(){R(),e.dispose()}}),w(g,n,i),m("IronSource player",e),e.on("AdRequest",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return m.apply(void 0,["AdRequest"].concat(t))}),e.on("AdImpression",k.bind(null,g,n,i)),e.on("AdVideoStart",E.bind(null,g,n,i)),e.on("AdVideoFirstQuartile",C.bind(null,g,n,i)),e.on("AdVideoComplete",I.bind(null,g,n,i)),e.on("AdSkipped",I.bind(null,g,n,i)),e.on("AdClickThru",D.bind(null,g,n,i))}).catch(function(e){throw e})}catch(e){throw A(g,n,i),m("IronSource init error",e),e}})),y.createInstance(e)}function o(){return m("IronSource SDK init"),new Promise(function(e,t){window.$$SPOTIM_SRSDK_CALLED$$?window.$$SPOTIM_SRSDK_RESOLVED$$?e():h.default.on("srs-sdk-resolved",e):(window.$$SPOTIM_SRSDK_CALLED$$=!0,window.srAsyncInit=function(){window.$$SPOTIM_SRSDK_RESOLVED$$=!0,h.default.trigger("srs-sdk-resolved"),e()},function(e,n,r){var i,o=e.getElementsByTagName(n)[0];if(!e.getElementById(r)){i=e.createElement(n),i.id=r;var a=s.default.getKey(window.location.href.toLowerCase(),"spotim_rc_override_srsads");a=a?decodeURIComponent(a):"https://deu4xe893b1ou.cloudfront.net/isvid-creative/steamtail.js",i.src=a,i.onload=function(){m("IronSource SDK success")},i.onerror=function(){t("IronSource SDK script load error")},o.parentNode.insertBefore(i,o)}}(document,"script","streamrail-jssdk"))})}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i,t.initializeIronSourceSdk=o;var a=n(8),s=r(a),l=n(9),u=(r(l),n(82)),c=r(u),d=n(75),f=n(13),p=n(83),h=r(p),v=["300x250-desktop-testing","300x250-mobile-testing","400x300-testing","400x300-us-1-flat","default-desktop","default-mobile","mw-en-1-flat","mw-nonus-revshare","mw-us-breakingads","small-en-1-flat-desktop","small-nonus-revshare","small-us-breakingads"].reduce(function(e,t){return e[t]=n(88)("./"+t+".js"),e},{}),m=(0,f.getDebugger)("ads"),g=t.ADS_DEMAND_NAME="ironsource",y=(t.SUPPORT_MULTI_PLACEMENTS=!0,null)},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./300x250-desktop-testing.js":89,"./300x250-mobile-testing.js":90,"./400x300-testing.js":91,"./400x300-us-1-flat.js":92,"./default-desktop.js":93,"./default-mobile.js":94,"./mw-en-1-flat.js":95,"./mw-nonus-revshare.js":96,"./mw-us-breakingads.js":97,"./small-en-1-flat-desktop.js":98,"./small-nonus-revshare.js":99,"./small-us-breakingads.js":100};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=88},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",version:"1.0",iframe:!0,autoplay:!0,noLoader:!0,loop:!0,muted:!0,scaleMode:"original",width:300,height:250,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),cb:Math.random().toString(),page_url:t},ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/585a41f35bc00c000239664c"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="300x250-desktop-testing"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",version:"1.0",iframe:!0,autoplay:!0,noLoader:!0,loop:!0,muted:!0,scaleMode:"original",width:400,height:300,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:400,height:300,page_url:t,param5:"SpotIM_Desktop_400X300",param6:"SpotIM_Desktop_400X300",param9:"SpotIM_Desktop_400X300"},ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/585a421b5bc00c000239664d"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="300x250-mobile-testing"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",version:"1.0",iframe:!0,autoplay:!0,noLoader:!0,loop:!0,muted:!0,scaleMode:"original",width:400,height:300,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:400,height:300,page_url:t,param5:"SpotIM_Desktop_400X300_Test",param6:"SpotIM_Desktop_400X300_Test",param9:"SpotIM_Desktop_400X300_Test"},ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/583c486f3ff9900002a5b89b"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="400x300-testing"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",version:"1.0",iframe:!0,autoplay:!0,noLoader:!0,loop:!0,muted:!0,scaleMode:"original",width:400,height:300,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:400,height:300,page_url:t,param5:"SpotIM_Desktop_400X300",param6:"SpotIM_Desktop_400X300",param9:"SpotIM_Desktop_400X300"},ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/587dfc37febaab0002000001/587f5f0b56a1050002426d4b"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="400x300-us-1-flat"},function(e,t,n){"use strict";function r(e){var t=e.pageUrl,r=function(){return null};try{r=n(88)("./"+encodeURIComponent(o).toLowerCase()+".js").playerConfig}catch(e){(0,i.reportError)(e)}return r({pageUrl:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.tagName=void 0,t.playerConfig=r;var i=n(14),o=t.tagName="small-en-1-flat-desktop"},function(e,t,n){"use strict";function r(e){var t=e.pageUrl,r=function(){return null};try{r=n(88)("./"+encodeURIComponent(o).toLowerCase()+".js").playerConfig}catch(e){(0,i.reportError)(e)}return r({pageUrl:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.tagName=void 0,t.playerConfig=r;var i=n(14),o=t.tagName="mw-en-1-flat"},function(e,t){"use strict";function n(e){e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,partnerID:"72a05991-1066-4f5e-a4e0-3d49eff090a7",
iframe:!0,autoplay:!0,noLoader:!0,loop:!0,muted:!0,scaleMode:"original",width:300,height:250,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),rnd:Math.random().toString(),width:300,height:250,pageurl:document.location.href},ads:{schedule:[{position:"pre-roll",server:{tag:"http://ssp.lkqd.net/ad?pid=139&sid=116527&output=vastvpaid&support=html5&execution=any&placement=&playinit=auto&volume=0&dnt=0"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="mw-en-1-flat"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",iframe:!0,param5:"SpotIM_Mobile",param6:"SpotIM_Mobile",param9:"SpotIM_Mobile",macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:300,height:250,page_url:t},version:"1.0",autoplay:!0,loop:!0,muted:!0,scaleMode:"original",controls:{ads:{pause:!0}},noLoader:!0,width:300,height:250,ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/582da82f81de39000225a8ee"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="mw-nonus-revshare"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",iframe:!0,param5:"SpotIM_Mobile",param6:"SpotIM_Mobile",param9:"SpotIM_Mobile",macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:300,height:250,page_url:t},version:"1.0",autoplay:!0,loop:!0,muted:!0,controls:{ads:{pause:!0}},content:{url:"",linkURL:""},breakingAds:{enabled:!0},noLoader:!0,scaleMode:"original",width:300,height:250,ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/57fb7151f2851c0002586ba7"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="mw-us-breakingads"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",version:"1.0",iframe:!0,autoplay:!0,loop:!0,noLoader:!0,muted:!0,scaleMode:"original",width:300,height:250,controls:{ads:{pause:!0}},macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:300,height:250,page_url:t,param5:"SpotIM_Desktop",param6:"SpotIM_Desktop",param9:"SpotIM_Desktop"},ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/587dfc37febaab0002000001/587f5f0b56a1050002426d4b"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="small-en-1-flat-desktop"},function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t,r=e.pageUrl;return t={viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",iframe:!0,param5:"SpotIM_Desktop",param6:"SpotIM_Desktop",param9:"SpotIM_Desktop",macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:300,height:250,page_url:r},version:"1.0",autoplay:!0,loop:!0,noLoader:!0},n(t,"noLoader",!0),n(t,"muted",!0),n(t,"scaleMode","original"),n(t,"controls",{ads:{pause:!0}}),n(t,"width",300),n(t,"height",250),n(t,"ads",{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/582da71d81de39000225a8e7"}}]}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=r;t.tagName="small-nonus-revshare"},function(e,t){"use strict";function n(e){var t=e.pageUrl;return{viewability:!1,loopCount:12,adRequestsPerLoop:1,overrideOutdatedOVV:!0,apiKey:"56f91cd4d3e3660002000033",iframe:!0,param5:"SpotIM_Desktop",param6:"SpotIM_Desktop",param9:"SpotIM_Desktop",macros:{rand:Math.random().toString(),cb:Math.random().toString(),width:300,height:250,page_url:t},version:"1.0",autoplay:!0,loop:!0,muted:!0,scaleMode:"original",controls:{ads:{pause:!0}},content:{url:"",linkURL:""},breakingAds:{enabled:!0},noLoader:!0,width:300,height:250,ads:{schedule:[{position:"pre-roll",server:{tag:"https://ssp.streamrail.net/ssp/vpaid/56f91cd4d3e3660002000033/57fa8a391ddb270002c49084"}}]}}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n;t.tagName="small-us-breakingads"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Placement=t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(9),l=(r(s),n(82)),u=(r(l),n(75),n(13)),c=n(83),d=(r(c),n(51)),f=r(d),p=n(53),h=n(8),v=(0,u.getDebugger)("ads");t.ADS_DEMAND_NAME="lqkd",t.SUPPORT_MULTI_PLACEMENTS=!1,t.Placement=function(){function e(t,n){var r=n.row,o=n.cell,a=n.player,s=void 0===a?{}:a,l=n.itemIndex,u=void 0===l?-1:l,c=n.subid,d=void 0===c?{}:c,f=n.width,p=void 0===f?300:f,h=n.height,v=void 0===h?250:h,m=n.pageUrl,g=void 0===m?"":m,y=n.onContentVideoStart,b=void 0===y?function(){}:y,w=n.onContentVideoFinish,_=void 0===w?function(){}:w,A=n.onAdTagLoad,S=void 0===A?function(){}:A,E=n.onAdTagLoadSuccess,T=void 0===E?function(){}:E,I=n.onAdTagLoadFail,O=void 0===I?function(){}:I,k=n.onAdDisplayStart,P=void 0===k?function(){}:k,C=n.onAdDisplayFinish,M=void 0===C?function(){}:C,D=n.onAdImpression,L=void 0===D?function(){}:D,R=n.onAdViewableImpression,N=void 0===R?function(){}:R,j=n.onAdViewableIab,x=void 0===j?function(){}:j,V=n.onAdViewedFirstQuartile,F=void 0===V?function(){}:V,U=n.onAdClickThrough,$=void 0===U?function(){}:U,q=n.onAdNoFill,H=void 0===q?function(){}:q,B=n.onDispose,K=void 0===B?function(){}:B;i(this,e),Object.assign(this,{adContainer:t,player:s,row:r,cell:o,itemIndex:u,width:p,height:v,pageUrl:g,onContentVideoStart:b,onContentVideoFinish:_,onAdTagLoad:S,onAdTagLoadFail:O,onAdDisplayStart:P,onAdDisplayFinish:M,onAdTagLoadSuccess:T,onAdImpression:L,onAdViewableImpression:N,onAdViewableIab:x,onAdViewedFirstQuartile:F,onAdClickThrough:$,onAdNoFill:H,onDispose:K,subid:d})}return a(e,[{key:"create",value:function(){var e=this;return new Promise(function(t,n){try{e.onAdTagLoad();var r,i=e.player.config,a=(e.player.name,JSON.parse(i)),s={pid:a.pid,sid:a.sid,playerContainerId:"ad"+Math.round(1e9*Math.random()).toString(),playerId:"",playerWidth:a.playerWidth,playerHeight:a.playerHeight,execution:"inbanner",placement:"",playInitiation:"auto",volume:0,pageUrl:"",trackImp:"",trackClick:"",custom1:(0,h.queryStringFromObject)(o({},e.subid),!1),custom2:"",custom3:"",pubMacros:"",dfp:!1,lkqdId:(new Date).getTime().toString()+Math.round(1e9*Math.random()).toString(),supplyContentVideo:{url:"",clickurl:"",play:"pre"}},l="",u=document.createElement("div");u.setAttribute("id",s.playerContainerId),e.adContainer.appendChild(u);var c={slot:document.getElementById(s.playerContainerId),videoSlot:document.getElementById(s.playerId),videoSlotCanAutoPlay:!0,lkqdSettings:s},d=function(){r.subscribe(function(){v("Lqkd event: AdLoaded"),r.startAd()},"AdLoaded"),r.subscribe(function(){v("Lqkd event: AdStarted"),f.default.trigger(p.AD_DISPLAY_STARTED,{width:e.width,height:e.height}),e.onAdDisplayStart()},"AdStarted"),r.subscribe(function(){v("Lqkd event: AdStopped"),a.passback?(e.onAdDisplayStart(),f.default.trigger(p.AD_DISPLAY_STARTED,{width:e.width,height:e.height})):(onAdDisplayFinish(),f.default.trigger(p.AD_DISPLAY_FINISHED),trackEvent("engine-stop"))},"AdStopped"),a.passback&&r.subscribe(function(){v("Lqkd event: AdUnavailableTimeout"),f.default.trigger("update-ad-slot",{row:e.row,cell:e.cell,width:300,height:250,itemDisplay:"hide"}),e.onAdDisplayStart()},"AdUnavailableTimeout")},m=document.createElement("iframe");m.id=s.lkqdId,m.name=s.lkqdId,m.style.display="none";var g=function(){v("Lqkd: vpaidFrameLoaded");var e=m.contentWindow.document.createElement("script");e.src="https://ad.lkqd.net/vpaid/formats.js?pid="+a.pid+"&sid="+a.sid,e.onload=function(){v("Lqkd: vpaidLoader.onload"),r=m.contentWindow.getVPAIDAd(),d(),r.handshakeVersion("2.0"),r.initAd(s.playerWidth,s.playerHeight,"normal",600,l,c)},m.contentWindow.document.body.appendChild(e)};m.onload=g,m.onerror=g,e.adContainer.appendChild(m),t()}catch(t){e.onAdTagLoadFail(),v("Lqkd init error",t),n(t)}})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.subid,i=t.itemIndex,o=void 0===i?-1:i,a=t.width,u=void 0===a?300:a,c=t.height,m=void 0===c?250:c,g=(t.pageUrl,t.bannerHtml,t.onAdTagLoad),y=void 0===g?function(){}:g,b=(t.onAdTagLoadSuccess,t.onAdTagLoadFail,t.onAdDisplayStart),w=void 0===b?function(){}:b,_=t.onAdDisplayFinish,A=void 0===_?function(){}:_,S=t.onAdImpression,E=void 0===S?function(){}:S,T=(t.onAdViewableImpression,t.onAdViewableIab),I=void 0===T?function(){}:T,O=t.onAdViewedFirstQuartile,k=void 0===O?function(){}:O,P=t.onAdClickThrough,C=void 0===P?function(){}:P,M=(t.onAdNoFill,t.onDispose),D=void 0===M?function(){}:M;return h||(f("Creating demand in",e),h=new l.AdsDemand(p,function(){return Promise.resolve()},function(e,t){return new Promise(function(t,i){var a="player"+(0,s.default)();e.setAttribute("id",a);var l=document.createElement("iframe"),c=v[n];l.width=u,l.height=m,l.frameBorder=0,l.marginHeight=0,l.marginWidth=0,l.scrolling="no",window.$$MTMPLAYER_INIT$$=window.$$MTMPLAYER_INIT$$||{},window.$$MTMPLAYER_INIT$$[a]=function(){var e=this;f("Matomy SDK success"),d.default.trigger("placement-created",{dispose:function(){D(),e.dispose()}}),this.on("adStart",w.bind(null,p,n,o)),this.on("adComplete",A.bind(null,p,n,o)),this.on("click",C.bind(null,p,n,o)),this.on("impression",E.bind(null,p,n,o)),this.on("firstQuartile",k.bind(null,p,n,o)),this.on("twoSecondsInViewport",I.bind(null,p,n,o))},window["$$SPOTIM_MATOMY_RESOLVE_"+a+"$$"]=function(){f("Matomy script onload"),y(p,n,o),t()},window["$$SPOTIM_MATOMY_REJECT_"+a+"$$"]=function(){i("Matomy SDK script load error")};var h={player_name:a,subid:r},g='\n\t\t\t\t<body>\n\t\t\t\t\t<script>(function(){ window.$$MTMPLAYER_NAME$$ = "'+a+'"; })()</script>\n\t\t\t\t\t<script>(function(){ window.$$MTMPLAYER_ATTRS$$ = '+JSON.stringify(h)+" })()</script>\n\t\t\t\t\t<script "+c+' data-name="'+a+'" onload="window.top.$$SPOTIM_MATOMY_RESOLVE_'+a+'$$()" onerror="window.top.$$SPOTIM_MATOMY_REJECT_'+a+'$$()"></script>\n\t\t\t\t</body>';e.appendChild(l),l.contentWindow.document.open(),l.contentWindow.document.write(g),l.contentWindow.document.close()})})),h.createInstance(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var o=n(9),a=(r(o),n(82)),s=r(a),l=n(75),u=n(13),c=n(83),d=r(c),f=(0,u.getDebugger)("ads"),p=t.ADS_DEMAND_NAME="matomy",h=(t.SUPPORT_MULTI_PLACEMENTS=!1,null),v={"300x250":'src="//ib.adnxs.com/ttj?id=10045056"',"400x300":'src="//ib.adnxs.com/ttj?id=10070513"',"300x250-testing":'data-url="'+window.location.href+'"\n\t\tdata-player-id="505800553" data-width="300" data-height="250"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"400x300-testing":'data-url="'+window.location.href+'"\n\t\tdata-player-id="505800553" data-width="400" data-height="300"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"desktop-https":'data-url="'+window.location.href+'"\n\t\tdata-player-id="1349710916" data-width="300" data-height="250"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"mobile-https":'data-url="'+window.location.href+'"\n\t\tdata-player-id="2117164788" data-width="300" data-height="250"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"desktop-400x300-https":'data-url="'+window.location.href+'"\n\t\tdata-player-id="2143265744" data-width="400" data-height="300"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"littlethings-ios-300x250":'data-url="'+window.location.href+'"\n\t\tdata-player-id="162341" data-width="300" data-height="250"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/dev/spotim/mtmy-spotim-lplayer.min.js"',"littlethings-ios-400x300":'data-url="'+window.location.href+'"\n\t\tdata-player-id="162389" data-width="400" data-height="300"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/dev/spotim/mtmy-spotim-lplayer.min.js"',"littlethings-android-300x250":'data-url="'+window.location.href+'"\n\t\tdata-player-id="1778783134" data-width="300" data-height="250"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"littlethings-android-400x300":'data-url="'+window.location.href+'"\n\t\tdata-player-id="1311415079" data-width="400" data-height="300"\n\t\ttype="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"rt-400x300-2143265744":'data-url="'+window.location.href+'"\n\t\tdata-player-id="2143265744" data-width="400" data-height="300"\n        type="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"ios-400x300-172024":'data-url="'+window.location.href+'"\n        data-player-id="172024" data-width="400" data-height="300"\n        type="text/javascript" src="https://d31251q62qqlsb.cloudfront.net/video-formats/dev/spotim/mtmy-spotim-lplayer.min.js"',"non-secure-android-300x250-shareably-252015505":'data-name="player1" data-url="'+window.location.href+'"\n        data-player-id="252015505" data-width="300" data-height="250"\n        type="text/javascript" src="http://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"non-secure-android-300x250-1048136527":'data-name="player1" data-url="'+window.location.href+'"\n        data-player-id="1048136527" data-width="300" data-height="250"\n        type="text/javascript" src="http://d31251q62qqlsb.cloudfront.net/video-formats/prod/spotim/mtmy-spotim-player.min.js"',"non-secure-ios-300x250-shareably-170981":'data-name="player2" data-url="'+window.location.href+'"\n        data-player-id="170981" data-width="300" data-height="250"\n        type="text/javascript" src="http://d31251q62qqlsb.cloudfront.net/video-formats/dev/spotim/mtmy-spotim-lplayer.min.js"',"non-secure-ios-300x250-153105":'data-name="player2" data-url="'+window.location.href+'"\n        data-player-id="153105" data-width="300" data-height="250"\n        type="text/javascript" src="http://d31251q62qqlsb.cloudfront.net/video-formats/dev/spotim/mtmy-spotim-lplayer.min.js"'}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.itemIndex,r=void 0===n?-1:n,i=t.width,o=void 0===i?300:i,a=t.height,l=void 0===a?250:a,u=(t.pageUrl,t.bannerHtml,t.onAdTagLoad,t.onAdTagLoadSuccess,t.onAdTagLoadFail,t.onAdDisplayStart),c=void 0===u?function(){}:u,v=t.onAdDisplayFinish,m=void 0===v?function(){}:v;t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough,t.onAdNoFill,t.onDispose;return h||(f("Creating demand in",e),h=new s.AdsDemand(p,function(){return Promise.resolve()},function(e,t){return new Promise(function(t,n){var i="";i="//www.ora.tv/spotimembedjsjw/jwprod";var a=new d.default,s=new d.default,u=new d.default;window.$$SPOTIM_ORATV_ADREADY$$=function(){c(p,p,r)},window.$$SPOTIM_ORATV_ADCOMPLETE$$=function(){m(p,p,r)},window.$$SPOTIM_ORATV_RESOLVE1$$=function(){a.resolve()},window.$$SPOTIM_ORATV_RESOLVE2$$=function(){s.resolve()},window.$$SPOTIM_ORATV_RESOLVE3$$=function(){u.resolve()},window.$$SPOTIM_ORATV_REJECT1$$=function(){a.reject()},window.$$SPOTIM_ORATV_REJECT2$$=function(){s.reject()},window.$$SPOTIM_ORATV_REJECT3$$=function(){u.reject()};var f=document.createElement("iframe");f.width=o,f.height=l,f.frameBorder=0,f.marginHeight=0,f.marginWidth=0,f.scrolling="no";var h='\n\t\t\t\t<body>\n\t\t\t\t\t<script>\n\t\t\t\t\t\twindow.$$SPOTIM_ORATV_ADREADY$$ = function() {\n\t\t\t\t\t\t\twindow.top.$$SPOTIM_ORATV_ADREADY$$();\n\t\t\t\t\t\t};\n\t\t\t\t\t\twindow.$$SPOTIM_ORATV_ADCOMPLETE$$ = function() {\n\t\t\t\t\t\t\twindow.top.$$SPOTIM_ORATV_ADCOMPLETE$$();\n\t\t\t\t\t\t};\n\t\t\t\t\t</script>\n\t\t\t\t\t<div style="width: '+o+'px;">\n\t\t\t\t\t\t<div id="ora-tv-spotim_300"></div>\n\t\t\t\t\t\t<script\n\t\t\t\t\t\t\tsrc="//imasdk.googleapis.com/js/sdkloader/ima3.js"\n\t\t\t\t\t\t\tonload="window.top.$$SPOTIM_ORATV_RESOLVE1$$()"\n\t\t\t\t\t\t\tonerror="window.top.$$SPOTIM_ORATV_REJECT1$$()"\n\t\t\t\t\t\t\t></script>\n\t\t\t\t\t\t<script\n\t\t\t\t\t\t\tsrc="'+i+'"\n\t\t\t\t\t\t\tonload="window.top.$$SPOTIM_ORATV_RESOLVE2$$()"\n\t\t\t\t\t\t\tonerror="window.top.$$SPOTIM_ORATV_REJECT2$$()"\n\t\t\t\t\t\t\t></script>\n\t\t\t\t\t\t<link\n\t\t\t\t\t\t\thref="//f.ora.tv/c/videojs-5.4.6/videojs.min.css"\n\t\t\t\t\t\t\tonload="window.top.$$SPOTIM_ORATV_RESOLVE3$$()"\n\t\t\t\t\t\t\tonerror="window.top.$$SPOTIM_ORATV_REJECT3$$()"\n\t\t\t\t\t\t\trel="stylesheet">\n\t\t\t\t\t</div>\n\t\t\t\t</body>';e.appendChild(f),f.contentWindow.document.open(),f.contentWindow.document.write(h),f.contentWindow.document.close(),Promise.all([a.promise,s.promise,u.promise]).then(t).catch(n)})})),h.createInstance(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var o=n(9),a=(r(o),n(82)),s=(r(a),n(75)),l=n(13),u=n(83),c=(r(u),n(104)),d=r(c),f=(0,l.getDebugger)("ads"),p=t.ADS_DEMAND_NAME="OraTV",h=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function e(){var t=this;n(this,e),this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=(t.width,t.height,t.pageUrl,t.onAdDisplayStart),r=void 0===n?function(){}:n,i=t.onAdDisplayFinish,a=void 0===i?function(){}:i,s=t.onAdImpression,d=void 0===s?function(){}:s,f=(t.onAdViewableImpression,t.onAdViewableIab),p=void 0===f?function(){}:f,h=t.onAdViewedFirstQuartile,v=void 0===h?function(){}:h,m=t.onAdClickThrough,g=void 0===m?function(){}:m,y=t.onAdNoFill,b=void 0===y?function(){}:y;return c||(c=new l.AdsDemand(u,function(){return Promise.resolve()},function(e,t){return new Promise(function(e,n){try{window.addEventListener("rapidApiLoaded",function(n){e();var i=window["api_"+n.detail.api_access_key];i.addEventListener("AdLoaded",function(){d(u,t)}),i.addEventListener("AdUnavailable",function(){b(u,t)}),i.addEventListener("AdVideoComplete",function(){a(u,t)}),i.addEventListener("AdVideoStart",function(){r(u,t)}),i.addEventListener("AdVideoFirstQuartile",function(){v(u,t)}),i.addEventListener("AdClickThru",function(){g(u,t)}),i.addEventListener("AdIabViewable",function(){p(u,t)})}),o()}catch(e){n(e)}})})),c.createInstance(e)}function o(){var e=s.default.getKey(window.location.href.toLowerCase(),"utm_source");!function(t){var n,r=t.getElementsByTagName("script")[0];n=t.createElement("script"),n.async=!0;var i="//cdn.parsiski.com/fplay/campaigns/tags/SpotIM_MW_Direct.js";e&&(i+="?utm_source="+e),n.src=i,r.parentNode.insertBefore(n,r)}(window.document)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var a=n(8),s=r(a),l=n(75),u=t.ADS_DEMAND_NAME="positive-mobile",c=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.player,r=void 0===n?{}:n,i=t.subid,u=void 0===i?{}:i,c=t.trackEvent,f=void 0===c?function(){}:c,p=t.onContentVideoStart,v=void 0===p?function(){}:p,b=t.onContentVideoFinish,w=void 0===b?function(){}:b,_=t.onAdTagLoad,A=void 0===_?function(){}:_,S=t.onAdTagLoadSuccess,E=void 0===S?function(){}:S,T=t.onAdTagLoadFail,I=void 0===T?function(){}:T,O=t.onAdDisplayStart,k=void 0===O?function(){}:O,P=t.onAdDisplayFinish,C=void 0===P?function(){}:P,M=t.onAdImpression,D=void 0===M?function(){}:M,L=(t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough),R=void 0===L?function(){}:L,N=(t.onAdNoFill,t.onDispose),j=void 0===N?function(){}:N;return o().then(function(){y("Creating demand in",e);try{var t=r.config,n=Math.random().toString();t=t.replace(/\{RND\}/g,n).replace(/\{PAGE_URL\}/g,window.location.href).replace(/\{DOMAIN\}/g,window.location.hostname);var i=JSON.parse(t);r.name;if(y("StreamRail player config",r),y("StreamRail player config",JSON.parse(JSON.stringify(i))),!i)throw y("StreamRail can't find config for player",r),new Error("StreamRail can't find config for player",r);var o=l.default.getKey(window.location.href.toLowerCase(),"utm_source");o&&(i.macros=i.macros||{},i.macros.sub_id=(0,s.queryStringFromObject)(a({},u),!1)),A(),f("engine-tag-load");var c="player-"+(0,d.default)();e.setAttribute("id",c),SR(c,i).then(function(e){h.default.trigger("placement-created",{dispose:function(){j(),e.dispose()}}),E(),f("engine-tag-load-success"),y("StreamRail player",e),e.on("contentStart",function(e){v(e);var t=window.getComputedStyle(e.target),n=t.width,r=t.height;m.default.trigger(g.AD_CONTENT_DISPLAY_STARTED,{width:parseInt(n),height:parseInt(r)})}),e.on("contentEnd",function(e){w(e),m.default.trigger(g.AD_CONTENT_DISPLAY_FINISHED)}),e.on("AdRequest",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdRequest"].concat(t))}),e.on("AdResponse",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdResponse"].concat(t))}),e.on("AdLoaded",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdLoaded"].concat(t))}),e.on("AdError",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdError"].concat(t))}),e.on("AdImpression",function(e){D(),f("engine-impression")}),e.on("AdVideoStart",function(e){var t=window.getComputedStyle(e.target),n=t.width,r=t.height;m.default.trigger(g.AD_DISPLAY_STARTED,{width:parseInt(n),height:parseInt(r)}),k(e),f("engine-start")}),e.on("AdVideoComplete",function(e){C(e),m.default.trigger(g.AD_DISPLAY_FINISHED),f("engine-stop")}),e.on("AdVideoFirstQuartile",function(e){f("engine-viewed-first-quartile")}),e.on("AdSkipped",function(e){C(e),m.default.trigger(g.AD_DISPLAY_FINISHED),f("engine-stop")}),e.on("AdClickThru",function(e){R(e),f("engine-click")});try{e.resize()}catch(e){}}).catch(function(e){throw e})}catch(e){throw I(),f("engine-tag-load-fail"),y("StreamRail init error",e),e}})}function o(){return y("StreamRail SDK init"),new Promise(function(e,t){window.$$SPOTIM_SRSDK_CALLED$$?window.$$SPOTIM_SRSDK_RESOLVED$$?e():h.default.on("srs-sdk-resolved",e):(window.$$SPOTIM_SRSDK_CALLED$$=!0,window.srAsyncInit=function(){window.$$SPOTIM_SRSDK_RESOLVED$$=!0,h.default.trigger("srs-sdk-resolved"),e()},function(e,n,r){var i,o=e.getElementsByTagName(n)[0];e.getElementById(r)||(i=e.createElement(n),i.id=r,i.setAttribute("crossorigin","anonymous"),i.src="https://sdk.streamrail.com/player/sr.ads.js",i.onload=function(){y("StreamRail SDK success")},i.onerror=function(){t("StreamRail SDK script load error")},o.parentNode.insertBefore(i,o))}(document,"script","streamrail-jssdk"))})}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createPlacement=i,t.initializeStreamRailSdk=o;var s=n(8),l=r(s),u=n(9),c=(r(u),n(82)),d=r(c),f=(n(75),n(13)),p=n(83),h=r(p),v=n(51),m=r(v),g=n(53),y=(0,f.getDebugger)("ads");t.ADS_DEMAND_NAME="SR-2",t.SUPPORT_MULTI_PLACEMENTS=!1},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){return y("StreamRail SDK init"),new Promise(function(e,t){window.$$SPOTIM_SRSDK_CALLED$$?window.$$SPOTIM_SRSDK_RESOLVED$$?e():f.default.on("srs-sdk-resolved",e):(window.$$SPOTIM_SRSDK_CALLED$$=!0,window.srAsyncInit=function(){window.$$SPOTIM_SRSDK_RESOLVED$$=!0,f.default.trigger("srs-sdk-resolved"),e()},function(e,n,r){var i,o=e.getElementsByTagName(n)[0];e.getElementById(r)||(i=e.createElement(n),i.id=r,i.setAttribute("crossorigin","anonymous"),i.src="https://sdk.streamrail.com/player/sr.ads.js",i.onload=function(){y("StreamRail SDK success")},i.onerror=function(){t("StreamRail SDK script load error")},o.parentNode.insertBefore(i,o))}(document,"script","streamrail-jssdk"))})}Object.defineProperty(t,"__esModule",{value:!0}),t.Placement=t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.initializeStreamRailSdk=o;var l=n(82),u=r(l),c=n(13),d=n(83),f=r(d),p=n(8),h=n(104),v=r(h),m=n(51),g=r(m),y=(0,c.getDebugger)("ads"),b=t.ADS_DEMAND_NAME="SR",w=(t.SUPPORT_MULTI_PLACEMENTS=!1,!1);t.Placement=function(){function e(t,n){var r=n.row,o=n.cell,a=n.player,s=void 0===a?{}:a,l=n.itemIndex,u=void 0===l?-1:l,c=n.subid,d=void 0===c?{}:c,f=n.width,p=void 0===f?300:f,h=n.height,m=void 0===h?250:h,g=n.pageUrl,y=void 0===g?"":g,b=n.onContentVideoStart,w=void 0===b?function(){}:b,_=n.onContentVideoFinish,A=void 0===_?function(){}:_,S=n.onAdTagLoad,E=void 0===S?function(){}:S,T=n.onAdTagLoadSuccess,I=void 0===T?function(){}:T,O=n.onAdTagLoadFail,k=void 0===O?function(){}:O,P=n.onAdDisplayStart,C=void 0===P?function(){}:P,M=n.onAdDisplayFinish,D=void 0===M?function(){}:M,L=n.onAdImpression,R=void 0===L?function(){}:L,N=n.onAdViewableImpression,j=void 0===N?function(){}:N,x=n.onAdViewableIab,V=void 0===x?function(){}:x,F=n.onAdViewedFirstQuartile,U=void 0===F?function(){}:F,$=n.onAdClickThrough,q=void 0===$?function(){}:$,H=n.onAdNoFill,B=void 0===H?function(){}:H,K=n.onDispose,z=void 0===K?function(){}:K;i(this,e),Object.assign(this,{adContainer:t,player:s,row:r,cell:o,itemIndex:u,width:p,height:m,pageUrl:y,onContentVideoStart:w,onContentVideoFinish:A,onAdTagLoad:E,onAdTagLoadFail:k,onAdDisplayStart:C,onAdDisplayFinish:D,onAdTagLoadSuccess:I,onAdImpression:R,onAdViewableImpression:j,onAdViewableIab:V,onAdViewedFirstQuartile:U,onAdClickThrough:q,onAdNoFill:B,onDispose:z,subid:d}),this.demandDeferred=new v.default}return s(e,[{key:"create",value:function(){var e=this;return w||o().then(function(){w=!0,e.demandDeferred.resolve()}),this.demandDeferred.promise.then(function(){try{var t=function(e){var t=this;f.default.trigger("placement-created",{dispose:function(){onDispose(),e.dispose()}}),this.onAdTagLoadSuccess(b,i,this.itemIndex),y("StreamRail player",e),e.on("AdRequest",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdRequest"].concat(t))}),e.on("AdResponse",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdResponse"].concat(t))}),e.on("AdLoaded",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdLoaded"].concat(t))}),e.on("AdError",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.apply(void 0,["AdError"].concat(t))}),e.on("AdImpression",this.onAdImpression.bind(null,b,i,this.itemIndex)),e.on("AdVideoStart",this.onAdDisplayStart.bind(null,b,i,this.itemIndex)),e.on("AdVideoFirstQuartile",this.onAdViewedFirstQuartile.bind(null,b,i,this.itemIndex)),this.player&&this.player.show||r.alwaysShowPlayer||r.hidePlayerOnContentEnd||(e.on("AdVideoComplete",this.onAdDisplayFinish.bind(null,b,i,this.itemIndex)),e.on("AdSkipped",this.onAdDisplayFinish.bind(null,b,i,this.itemIndex))),r.hidePlayerOnContentEnd&&e.on("AdVideoComplete",this.onAdDisplayFinish.bind(null,this.itemIndex)),e.on("AdClickThru",this.onAdClickThrough.bind(null,b,i,this.itemIndex));try{e.resize()}catch(e){}(this.player&&this.player.show||r.alwaysShowPlayer)&&this.onContentVideoStart(this.itemIndex),r.passback&&(y("has passback"),e.on("playerDone",function(){g.default.trigger("update-ad-slot",{row:t.row,cell:t.cell,width:300,height:250,itemDisplay:"hide"}),y("playerDone triggered")}))},n=e.player.config;n=n.replace(/\{RND\}/g,Math.random().toString()).replace(/\{PAGE_URL\}/g,e.pageUrl).replace(/\{DOMAIN\}/g,window.location.hostname);var r=JSON.parse(n);r.cleanDOMOnImpression=!0;var i=e.player.name;if(y("StreamRail player config",e.player),y("StreamRail player config",JSON.parse(JSON.stringify(r))),e.adContainer.style.height="1px",e.adContainer.style.width="1px",e.adContainer.style.display="",!r)throw y("StreamRail can't find config for player",e.player),new Error("StreamRail can't find config for player",e.player);r.macros=r.macros||{},r.macros.sub_id=(0,p.queryStringFromObject)(a({},e.subid),!1),e.onAdTagLoad(b,i,e.itemIndex);var o="player-"+(0,u.default)();e.adContainer.setAttribute("id",o);var s=SR(o,r);s.then?(y("StreamRail player with promise"),s.then(t.bind(e)).catch(function(e){throw e})):(y("StreamRail player no-promise"),t(s))}catch(t){throw e.onAdTagLoadFail(b,e.player.name,e.itemIndex),y("StreamRail init error",t),t}})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.itemIndex,i=void 0===r?-1:r,a=t.subid,s=(t.width,t.height,t.pageUrl),c=void 0===s?"":s,d=(t.bannerHtml,t.onAdTagLoad),g=void 0===d?function(){}:d,y=t.onAdTagLoadSuccess,b=void 0===y?function(){}:y,w=t.onAdTagLoadFail,_=void 0===w?function(){}:w,A=t.onAdDisplayStart,S=void 0===A?function(){}:A,E=t.onAdDisplayFinish,T=void 0===E?function(){}:E,I=t.onAdImpression,O=void 0===I?function(){}:I,k=(t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile),P=void 0===k?function(){}:k,C=t.onAdClickThrough,M=void 0===C?function(){}:C,D=(t.onAdNoFill,t.onDispose),L=void 0===D?function(){}:D;return m||(h("Creating demand in",e),m=new u.AdsDemand(v,o,function(e,t){try{var r=p[n].playerConfig;if(!r||"function"!=typeof r)throw h("StreamRail can't find playerConfig for tag",n),new Error("StreamRail can't find playerConfig for tag",n);var o=r({pageUrl:c});o.macros=o.macros||{},o.macros.sub_id=a,h("StreamRail tag name",n),h("StreamRail player config",r(o)),g(v,n,i);var s="player-"+(0,l.default)();e.setAttribute("id",s),SR(s,o).then(function(e){f.default.trigger("placement-created",{dispose:function(){L(),e.dispose()}}),b(v,n,i),h("StreamRail player",e),e.on("AdRequest",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return h.apply(void 0,["AdRequest"].concat(t))}),e.on("AdImpression",O.bind(null,v,n,i)),e.on("AdVideoStart",S.bind(null,v,n,i)),e.on("AdVideoFirstQuartile",P.bind(null,v,n,i)),e.on("AdVideoComplete",T.bind(null,v,n,i)),
e.on("AdSkipped",T.bind(null,v,n,i)),e.on("AdClickThru",M.bind(null,v,n,i))}).catch(function(e){throw e})}catch(e){throw _(v,n,i),h("StreamRail init error",e),e}})),m.createInstance(e)}function o(){return h("StreamRail SDK init"),new Promise(function(e,t){window.$$SPOTIM_SRSDK_CALLED$$?window.$$SPOTIM_SRSDK_RESOLVED$$?e():f.default.on("srs-sdk-resolved",e):(window.$$SPOTIM_SRSDK_CALLED$$=!0,window.srAsyncInit=function(){window.$$SPOTIM_SRSDK_RESOLVED$$=!0,f.default.trigger("srs-sdk-resolved"),e()},function(e,n,r){var i,o=e.getElementsByTagName(n)[0];e.getElementById(r)||(i=e.createElement(n),i.id=r,i.setAttribute("crossorigin","anonymous"),i.src="https://sdk.streamrail.com/player/sr.ads.js",i.onload=function(){h("StreamRail SDK success")},i.onerror=function(){t("StreamRail SDK script load error")},o.parentNode.insertBefore(i,o))}(document,"script","streamrail-jssdk"))})}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i,t.initializeStreamRailSdk=o;var a=n(9),s=(r(a),n(82)),l=r(s),u=n(75),c=n(13),d=n(83),f=r(d),p=["littlethings-level1","littlethings-level2","littlethings-view","rt-arabic","rt-spanish","rt"].reduce(function(e,t){return e[t]=n(109)("./"+t+".js"),e},{}),h=(0,c.getDebugger)("ads"),v=t.ADS_DEMAND_NAME="streamrail",m=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./littlethings-level1.js":110,"./littlethings-level2.js":111,"./littlethings-view.js":112,"./rt-arabic.js":113,"./rt-spanish.js":114,"./rt.js":115};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=109},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"589075286d906c0002ce58a7",apiKey:"587dfc37febaab0002000001",version:"1.0",adRequestThrottle:500}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"589076ff94920200029e6bd2",apiKey:"587dfc37febaab0002000001",version:"1.0",adRequestThrottle:2e3}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"589074d32d34cf0002bf5b7d",apiKey:"587dfc37febaab0002000001",version:"1.0",adRequestThrottle:5e3}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"5891d80e7418f60002da7987",apiKey:"587dfc37febaab0002000001",version:"1.0"}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"5891d8417418f60002da7988",apiKey:"587dfc37febaab0002000001",version:"1.0"}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t){"use strict";function n(e){e.pageUrl;return{playerId:"5891d87f7418f60002da7989",apiKey:"587dfc37febaab0002000001",version:"1.0"}}Object.defineProperty(t,"__esModule",{value:!0}),t.playerConfig=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.itemIndex,r=void 0===n?-1:n,i=t.width,o=void 0===i?300:i,s=t.height,d=void 0===s?250:s,f=(t.pageUrl,t.bannerHtml,t.onAdTagLoad),p=void 0===f?function(){}:f,h=(t.onAdTagLoadSuccess,t.onAdTagLoadFail,t.onAdDisplayStart),v=void 0===h?function(){}:h;t.onAdDisplayFinish,t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough,t.onAdNoFill;return c||(l("Creating demand in",e),c=new a.AdsDemand(u,function(){return Promise.resolve()},function(e,t){return new Promise(function(t,n){var i=(encodeURIComponent(window.location.hostname),encodeURIComponent(window.location.href)),a="646674938",s=Math.random().toString().replace("0.","");e.setAttribute("id","video"+a+s),Object.assign(e.style,{width:"300px",height:"250px"});var l=window.document.createElement("script");l.src="https://p.algovid.com/player/player.js?p="+a+"&sid=EXTRACTED_DOMAIN&cb="+s+"&w="+o+"&h="+d+"&d="+i,l.onload=function(e){p(u,u,r),v(u,u,r),t()},l.onerror=function(e){n("Taptica SDK script load error")},e.appendChild(l)})})),c.createInstance(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var o=n(9),a=(r(o),n(75)),s=n(13),l=(0,s.getDebugger)("ads"),u=t.ADS_DEMAND_NAME="taptica",c=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.itemIndex,i=void 0===r?-1:r,o=(t.width,t.height,t.pageUrl,t.onAdTagLoad),s=void 0===o?function(){}:o,d=(t.onAdTagLoadSuccess,t.onAdTagLoadFail,t.onAdDisplayStart),f=void 0===d?function(){}:d,p=t.onAdDisplayFinish,h=void 0===p?function(){}:p,v=(t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough,t.onAdNoFill),m=void 0===v?function(){}:v;return c||(l("Creating demand in",e),c=new a.AdsDemand(u,function(){return Promise.resolve()},function(e,t){return new Promise(function(e,t){try{if(isNaN(parseInt(n)))throw"No valid tagName for Teads demand. tagName: "+n;var r="//a.teads.tv/page/"+n+"/tag";window.spotImTeadsPassback=function(){m(u,n,i)},window.spotImTeadsComplete=function(){h(u,n,i)},l("Teads player init");var o=window.document.getElementsByTagName("script")[0],a=window.document.createElement("script");a.async=!0,a.src=r,a.onload=function(){s(u,n,i),f(u,n,i),e()},a.onerror=function(){t("Teads SDK script load error")},o.parentNode.insertBefore(a,o)}catch(e){l("Teads player init error",e),t(e)}})})),c.createInstance(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i;var o=n(9),a=(r(o),n(75)),s=n(13),l=(0,s.getDebugger)("ads"),u=t.ADS_DEMAND_NAME="teads",c=(t.SUPPORT_MULTI_PLACEMENTS=!1,null)},function(e,t,n){"use strict";function r(e,t){var n=t.tagName;t.itemIndex,t.width,t.height,t.pageUrl,t.bannerHtml,t.onAdTagLoad,t.onAdTagLoadSuccess,t.onAdTagLoadFail,t.onAdDisplayStart,t.onAdDisplayFinish,t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough,t.onAdNoFill;return l||(a("Creating demand in",e),l=new i.AdsDemand(s,function(){return Promise.resolve()},function(e,t){return new Promise(function(e,t){if(a("Unruly SDK init"),!u[n])throw new Error("No Tag name "+n);a("Tag: "+n+" "+u[n]),window.unruly=window.unruly||{},window.unruly.native=window.unruly.native||{},window.unruly.native.siteId=u[n];var r=document.createElement("script");r.src="//video.unrulymedia.com/native/native-loader.js",r.onload=function(t){e()},r.onerror=function(e){t("Unruly init error")},document.querySelector("head").appendChild(r)})})),l.createInstance(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=r;var i=n(75),o=n(13),a=(0,o.getDebugger)("ads"),s=t.ADS_DEMAND_NAME="unruly",l=(t.SUPPORT_MULTI_PLACEMENTS=!1,null),u={soaphub:1050217,hollywood:1050216,"whats-on-netflix":1049448,soapshows:1050218,stylecaster:1049446,thedrive:1049450,thebreak:1049451,directexpose:1049452,shareably:1049453,pulptastic:1050215}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t.tagName,r=t.itemIndex,i=void 0===r?-1:r,a=t.width,l=void 0===a?300:a,p=t.height,h=void 0===p?250:p,v=(t.pageUrl,t.bannerHtml,t.onAdTagLoad),m=void 0===v?function(){}:v,g=(t.onAdTagLoadSuccess,t.onAdTagLoadFail),y=void 0===g?function(){}:g,b=t.onAdDisplayStart,w=void 0===b?function(){}:b,_=t.onAdDisplayFinish,A=void 0===_?function(){}:_;t.onAdImpression,t.onAdViewableImpression,t.onAdViewableIab,t.onAdViewedFirstQuartile,t.onAdClickThrough,t.onAdNoFill;return d||(u("Creating demand in",e),d=new s.AdsDemand(c,function(){return Promise.resolve()},function(e,t){return o(l,h,e).then(function(){var t=new Outstream({aid:f[n],width:l,height:h,containerEl:e});t.on("load",function(){m(c,n,i)}),t.on("error",function(){y(c,n,i)}),t.on("complete",function(){A(c,n,i)}),t.on("started",function(){w(c,n,i)}),t.on("resumed",function(){}),t.on("paused",function(){}),t.on("mute",function(){}),t.on("unmute",function(){})}).catch(function(e){throw u("VertaMedia init error",e),e})})),d.createInstance(e)}function o(e,t,n){return new Promise(function(e,t){var r=document.createElement("script");r.onload=function(){u("VertaMedia SDK success"),e()},r.onerror=function(){t("VertaMedia SDK script load error")},r.src="//player.videe.tv/outstream/2.0/outstream.min.js",n.appendChild(r)})}Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORT_MULTI_PLACEMENTS=t.ADS_DEMAND_NAME=void 0,t.createPlacement=i,t.initVertaMedia=o;var a=n(9),s=(r(a),n(75)),l=n(13),u=(0,l.getDebugger)("ads"),c=t.ADS_DEMAND_NAME="vertaMedia",d=(t.SUPPORT_MULTI_PLACEMENTS=!1,null),f={"inbanner-1":740,"inbanner-2":741,"inbanner-3":742,"inbanner-4":743,"inbanner-400x300-3":744,tests:760}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){R=[],N=[],j=[]}function a(e){var t=R.find(function(t){return t.element===e});if(t)return t.width;var n={element:e,width:Math.floor(e.getBoundingClientRect().width)};return R.push(n),n.width}function s(e){var t=N.find(function(t){return t.element===e});if(t)return t.width;var n={element:e,width:e.scrollWidth};return N.push(n),n.width}function l(e,t){var n=(0,P.getElementRect)(e),r=(0,P.getElementRect)(t),i=n.intersect(r),o=n.getArea(),a=i.getArea();return a/o}function u(e,t,n){var r=j.find(function(t){return t.item===e}),i=0;if(r?i=r.offsetLeft:(i=e.offsetLeft,j.push({item:e,offsetLeft:i})),"ltr"===n)return i;var o=s(t),l=a(e);return o-i-l}function c(e,t,n){var r=A(t,n),i=u(e,t,n);return r+i}function d(e,t,n){for(var r=e.map(function(e){return c(e,t,n)}),i=0;i<r.length-1;i++)if(r[i]>0)return e[i];return null}function f(e,t,n){for(var r=e.map(function(e){return c(e,t,n)}),i=r.length-1;i>=0;i--)if(r[i]<0)return e[i];return null}function p(e,t,n){return h(e,t,0,n)}function h(e,t,n,r){var i=A(e,r);return i+n<0}function v(e,t,n){return m(e,t,0,n)}function m(e,t,n,r){var i=A(e,r),o=a(t),l=s(e);return l+i+n>o}function g(e,t,n){return 0}function y(e,t,n){var r=s(e),i=a(t);return i-r}function b(e){return x}function w(e,t){["transform","webkitTransform","mozTransform","msTransform"].forEach(function(n){e.style[n]="translateX("+t+"px)"}),x=t}function _(e,t,n){"ltr"===n?w(e,t):w(e,-t)}function A(e,t){var n=b(e);return"ltr"===t?n:-n}Object.defineProperty(t,"__esModule",{value:!0}),t.Interaction=void 0;var S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),E=n(121),T=n(9),I=r(T),O=n(60),k=n(11),P=n(122),C=n(14),M=n(51),D=r(M),L=n(53),R=(t.Interaction=function(){function e(t){var n=t.onNavigateForward,r=void 0===n?function(){}:n,o=t.onNavigateBack,a=void 0===o?function(){}:o,s=t.onReachEnd,l=void 0===s?function(){}:s,u=t.onOverflowForward,c=void 0===u?function(){}:u,d=t.onReachStart,f=void 0===d?function(){}:d,p=t.onOverflowBack,h=void 0===p?function(){}:p,v=t.fetchNextPage,m=void 0===v?null:v;i(this,e),this.container=null,this.scrollable=null,this.items=[],this.direction="ltr",this.onNavigateForward=r,this.onNavigateBack=a,this.onReachEnd=l,this.onOverflowForward=c,this.onReachStart=f,this.onOverflowBack=h,this.fetchNextPage=m,this.ajaxInProgress=!1}return S(e,[{key:"initialize",value:function(e){var t=this,n=e.startWithItemInView,r=void 0===n?0:n,i=e.container,s=e.direction,c=void 0===s?"ltr":s,d=e.scrollable,f=e.items,p=e.forwardButton,h=e.backButton,v="ltr"===c;this.direction=c,this.container=i,this.scrollable=d,this.items=f;try{if(I.default){(0,E.onTap)(p,this.moveForward.bind(this,"click")),(0,E.onTap)(h,this.moveBack.bind(this,"click"));var m=null;(0,E.onGesture)(this.scrollable,{onSwipeLeft:v?this.moveForward.bind(this,"swipe"):this.moveBack.bind(this,"swipe"),onSwipeRight:v?this.moveBack.bind(this,"swipe"):this.moveForward.bind(this,"swipe"),onDragStart:function(){(0,k.addClass)(t.scrollable,O.cssSelectors.dragging),m=b(t.scrollable)},onDragStop:function(){(0,k.removeClass)(t.scrollable,O.cssSelectors.dragging),m=null},onDragProgress:function(e){null!==m&&w(t.scrollable,m+e)}})}else p.addEventListener("click",this.moveForward.bind(this,"click")),h.addEventListener("click",this.moveBack.bind(this,"click"));this.scrollable.addEventListener("transitionend",this.checkOverflows.bind(this),!1),window.addEventListener("resize",o),window.addEventListener("orientationchange",o),setTimeout(function(){try{if(r>0&&t.items[r]){var e=t.items[r],n=l(e,t.container);if(n<.51){var i=u(e,t.scrollable,t.direction),o=a(e),s=a(t.container),c=Math.ceil(.51*o),d=i+c,f=d-s,p=f;p>i&&(p=i),_(t.scrollable,-p,t.direction)}}t.checkOverflows()}catch(e){(0,C.reportError)(e,{errorSource:"interaction"})}},1e3)}catch(e){(0,C.reportError)(e,{errorSource:"interaction"})}this.initEvents()}},{key:"initEvents",value:function(){var e=this;D.default.on(L.DO_PAGE_BACK,function(){e.moveBack("event")}),D.default.on(L.DO_PAGE_NEXT,function(){e.moveForward("event")})}},{key:"checkOverflows",value:function(){p(this.scrollable,this.container,this.direction)?this.onOverflowBack():this.onReachStart(),v(this.scrollable,this.container,this.direction)?this.onOverflowForward():this.onReachEnd()}},{key:"moveForward",value:function(e){var t=this;if(!this.ajaxInProgress){"click"!==e&&"swipe"!==e||D.default.trigger(L.PAGE_NEXT_CLICKED);try{if(!this.container)throw new Error("Container not initialized");var n=d(this.items,this.scrollable,this.direction);if(n){var r=-c(n,this.scrollable,this.direction),i=m(this.scrollable,this.container,r,this.direction);if(i)this.onOverflowForward(),h(this.scrollable,this.container,r,this.direction)?this.onOverflowBack():this.onReachStart(),requestAnimationFrame(function(){_(t.scrollable,-u(n,t.scrollable,t.direction),t.direction)});else{var o=y(this.scrollable,this.container,this.direction);_(this.scrollable,o,this.direction),this.attemptFetchNextPage(e),this.onReachEnd()}setTimeout(function(){t.onNavigateForward({trigger:e,toItem:n})},700)}else{var a=y(this.scrollable,this.container,this.direction);_(this.scrollable,a,this.direction),this.attemptFetchNextPage(e)}}catch(e){(0,C.reportError)(e,{errorSource:"interaction"})}}}},{key:"moveBack",value:function(e){var t=this;"click"!==e&&"swipe"!==e||D.default.trigger(L.PAGE_BACK_CLICKED);try{if(!this.container)throw new Error("Container not initialized");var n=f(this.items,this.scrollable,this.direction);if(n){var r=-c(n,this.scrollable,this.direction),i=h(this.scrollable,this.container,r,this.direction);if(i)this.onOverflowBack(),m(this.scrollable,this.container,r,this.direction)?this.onOverflowForward():this.onReachEnd(),requestAnimationFrame(function(){_(t.scrollable,-u(n,t.scrollable,t.direction),t.direction)});else{var o=g(this.scrollable,this.container,this.direction);_(this.scrollable,o,this.direction),this.onReachStart()}setTimeout(function(){t.onNavigateBack({trigger:e,toItem:n})},700)}else{var a=g(this.scrollable,this.container,this.direction);_(this.scrollable,a,this.direction)}}catch(e){(0,C.reportError)(e,{errorSource:"interaction"})}}},{key:"attemptFetchNextPage",value:function(e){var t=this;this.fetchNextPage&&(this.ajaxInProgress=!0,this.fetchNextPage(function(n){var r=n.newItems;[].push.apply(t.items,r),o(),t.ajaxInProgress=!1,r.length>0&&t.moveForward(e)}))}}]),e}(),[]),N=[],j=[],x=0},function(e,t){"use strict";function n(e){function t(){T=!0,I=!0}function n(){T&&(O&&(m(),s()),T=!1,I=!0,O=!1)}function r(e,t,n,r){return 180*Math.atan2(r-n,t-e)/Math.PI}function a(e){var t=e.changedTouches[0].screenX,n=e.changedTouches[0].screenY;r(b,t,w,n);if(T){if(O)return y(t-b),e.stopPropagation(),e.preventDefault(),!1;if(I){var a=Math.abs(w-n),s=Math.abs(b-t);a>i&&s<o?I=!1:a<i&&s>o&&(O=!0,h())}}}function s(){var e=(Math.abs(w-A),Math.abs(b-_),_<b),t=_>b,n=r(b,_,w,A),i=n>=-45&&n<=45||n>=135&&n<=180||n>=-180&&n<=-135;i&&(e&&c(),t&&f())}var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=l.onSwipeLeft,c=void 0===u?function(){}:u,d=l.onSwipeRight,f=void 0===d?function(){}:d,p=l.onDragStart,h=void 0===p?function(){}:p,v=l.onDragStop,m=void 0===v?function(){}:v,g=l.onDragProgress,y=void 0===g?function(){}:g,b=0,w=0,_=0,A=0,S=0,E=0,T=!1,I=!0,O=!1;e.addEventListener("touchstart",function(e){b=e.touches[0].screenX,w=e.touches[0].screenY,t()},!1),e.addEventListener("touchend",function(e){_=e.changedTouches[0].screenX,A=e.changedTouches[0].screenY,n()},!1),e.addEventListener("touchmove",function(e){return S=e.changedTouches[0].screenX,E=e.changedTouches[0].screenY,a(e)})}function r(e,t){function n(){var e=Math.abs(i-a),n=Math.abs(r-o),s=Math.sqrt(Math.pow(n,2)+Math.pow(e,2));s<=5&&t()}var r=0,i=0,o=0,a=0;e.addEventListener("touchstart",function(e){r=e.touches[0].screenX,i=e.touches[0].screenY},!1),e.addEventListener("touchend",function(e){o=e.changedTouches[0].screenX,a=e.changedTouches[0].screenY,n()},!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.onGesture=n,t.onTap=r;var i=10,o=10},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){return new a({right:window.innerWidth,bottom:window.innerHeight})}function i(e){var t=e.getBoundingClientRect();return new a(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.getWindowRect=r,t.getElementRect=i;var a=t.Rect=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.top,i=void 0===r?0:r,o=t.left,a=void 0===o?0:o,s=t.right,l=void 0===s?0:s,u=t.bottom,c=void 0===u?0:u;n(this,e),this.top=i,this.left=a,this.right=l,this.bottom=c}return o(e,[{key:"getHeight",value:function(){return Math.max(this.bottom-this.top,0)}},{key:"getWidth",value:function(){return Math.max(this.right-this.left,0)}},{key:"isEmpty",value:function(){return this.top===this.bottom||this.left===this.right}},{key:"isNegative",value:function(){return this.top>this.bottom||this.left>this.right}},{key:"getArea",value:function(){return this.getHeight()*this.getWidth()}},{key:"intersect",value:function(t){var n=Math.max(this.top,t.top),r=Math.max(this.left,t.left),i=Math.min(this.right,t.right),o=Math.min(this.bottom,t.bottom);return new e({top:n,left:r,right:i,bottom:o})}},{key:"addFrameRect",value:function(t){return new e({top:t.top+this.top,left:t.left+this.left,right:t.left+this.right,bottom:t.top+this.bottom})}},{key:"toObject",value:function(){return{top:this.top,left:this.left,right:this.right,bottom:this.bottom}}}],[{key:"fromObject",value:function(t){return new e(t)}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportObserver=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(124),s=r(a),l=n(125),u=n(126),c=n(122),d=n(127);t.ViewportObserver=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.samplingRate,r=void 0===n?l.MEDIUM:n,o=t.container,a=void 0===o?void 0:o,c=t.isScrollableContainer,d=void 0!==c&&c;i(this,e),this.parentWindow=void 0,this.observedElements=[],this.isObserving=!1,this.scrollableContainer=d?a:void 0,this.handleEvent=(0,s.default)(this.handleEvent.bind(this),r),this.changeListener=new u.ViewportChangeListener(window,this.scrollableContainer),this.changeListener.onChange(this.handleEvent),a&&(this.observedContainer=this.observe(a))}return o(e,[{key:"setParentWindow",value:function(e,t){this.parentWindow={windowRect:e,frameRect:t},this.handleEvent()}},{key:"startObserving",value:function(){this.changeListener.start(),this.isObserving=!0}},{key:"stopObserving",value:function(){this.changeListener.stop(),this.isObserving=!1}},{key:"observe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.stateChangeHandler,i=n.rectChangeHandler;this.isObserving||this.startObserving();var o=new d.ObservedElement(e,r,i);return this.observedElements.push(o),setTimeout(function(){var e=t.scrollableContainer?(0,c.getElementRect)(t.scrollableContainer):void 0;o.renderState({parentWindow:t.parentWindow,scrollableContainerRect:e})},0),o}},{key:"unobserve",value:function(e){this.observedElements=this.observedElements.filter(function(t){return t.element!==e}),this.isObserving&&0===this.observedElements.length&&this.stopObserving()}},{key:"handleEvent",value:function(){var e=this;if(this.observedContainer&&!this.observedContainer.state.isVisible)return void this.observedContainer.renderState({parentWindow:this.parentWindow});var t=this.scrollableContainer?(0,c.getElementRect)(this.scrollableContainer):void 0;this.observedElements.forEach(function(n){n.renderState({parentWindow:e.parentWindow,scrollableContainerRect:t})})}},{key:"getVisibilityState",value:function(e){var t,n;if(n=this.observedElements.find(function(t){return t.element===e}))t=n.state;else{n=new d.ObservedElement(e);var r=this.scrollableContainer?(0,c.getElementRect)(this.scrollableContainer):void 0;t=n.renderState({parentWindow:this.parentWindow,scrollableContainerRect:r})}return t}}]),e}()},function(e,t){"use strict";function n(e,t,n,r){var i,o,a,s,l=0;r||(r={});var u=function(){l=r.leading===!1?0:+new Date,i=null,s=e.apply(o,a),i||(o=a=null)},c=function(){var c=+new Date;l||r.leading!==!1||(l=c);var d=t-(c-l);return o=n||this,a=arguments,d<=0||d>t?(i&&(clearTimeout(i),i=null),l=c,s=e.apply(o,a),i||(o=a=null)):i||r.trailing===!1||(i=setTimeout(u,d)),s};return c.cancel=function(){clearTimeout(i),l=0,i=o=a=null},c}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.HIGH=200,r=t.MEDIUM=500,i=t.LOW=800;t.default={HIGH:n,MEDIUM:r,LOW:i}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.ViewportChangeListener=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;n(this,e),this.target=t,this.scrollableContainer=r,this.handlers=[],this.trigger=this.trigger.bind(this)}return r(e,[{key:"start",value:function(){this.target.addEventListener("scroll",this.trigger),this.target.addEventListener("resize",this.trigger),this.scrollableContainer&&this.scrollableContainer.addEventListener("scroll",this.trigger)}},{key:"stop",value:function(){this.target.removeEventListener("scroll",this.trigger),this.target.removeEventListener("resize",this.trigger),this.scrollableContainer&&this.scrollableContainer.removeEventListener("scroll",this.trigger)}},{key:"onChange",value:function(e){"function"==typeof e&&this.handlers.push(e)}},{key:"trigger",value:function(){this.handlers.forEach(function(e){return e()})}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.ObservedElement=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(128),a=n(122);t.ObservedElement=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};r(this,e),this.element=t,this.state=o.initialState,this.stateChangeHandler=n,this.rectChangeHandler=i}return i(e,[{key:"renderState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.parentWindow,n=e.scrollableContainerRect,r=(0,a.getElementRect)(this.element),i=(0,a.getWindowRect)();this.rectChangeHandler(i,r);var s=r.intersect(i);return n&&(s=s.intersect(n)),t&&(s=s.addFrameRect(t.frameRect),s=s.intersect(t.windowRect)),this.state=(0,o.getVisibilityState)(s,r,this.state),this.state.hasChange&&this.stateChangeHandler(this.state),this.state}}]),e}()},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!1,a=0,s=0;if(!e.isNegative())if(r=!0,t.isEmpty())a=1;else{var l=t.getArea();s=e.getArea(),a=s/l}var u=(0,i.getStatus)(r,a,s),c=(0,o.getChange)(n.status,u),d=c!==o.UNCHANGED;return{isVisible:r,visiblityRatio:a,visibleArea:s,status:u,change:c,hasChange:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=void 0,t.getVisibilityState=r;var i=n(50),o=n(49);t.initialState={isVisible:!1,visiblityRatio:0,visibleArea:0,status:i.NOT_VISIBLE,change:o.UNCHANGED}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return new Promise(function(i,o){var s=u.config.nextPageUrl+"?cursor="+JSON.stringify(e);n&&(s+="&must="+n),r&&(s+="&should="+r),l.default.ajax({url:s},function(e,n,r){if(!e||e>300||e<200)o();else{var s=JSON.parse(n),l=s.markup,u=s.cursor,c=a(l,t);i({newItems:c,newCursor:u})}})})}function a(e,t){var n=document.createDocumentFragment();n.appendChild(document.createElement("div")),n.firstChild.innerHTML=e,t.onBeforeRender(n.firstChild);var r=n.querySelectorAll("."+u.cssSelectors.item);return[].concat(i(r))}Object.defineProperty(t,"__esModule",{value:!0}),t.nextPageAjax=o;var s=n(130),l=r(s),u=n(60)},function(e,t){(function(e){function n(t){return t&&e.XDomainRequest&&!/MSIE 1/.test(navigator.userAgent)?new XDomainRequest:e.XMLHttpRequest?new XMLHttpRequest:void 0}function r(e,t,n){e[t]=e[t]||n}var i=["responseType","withCredentials","timeout","onprogress"];t.ajax=function(t,o){function a(e,t){return function(){c||(o(void 0===d.status?e:d.status,0===d.status?"Error":d.response||d.responseText||t,d),c=!0)}}var s=t.headers||{},l=t.body,u=t.method||(l?"POST":"GET"),c=!1,d=n(t.cors);d.open(u,t.url,!0);var f=d.onload=a(200);d.onreadystatechange=function(){4===d.readyState&&f()},d.onerror=a(null,"Error"),d.ontimeout=a(null,"Timeout"),d.onabort=a(null,"Abort"),l&&(r(s,"X-Requested-With","XMLHttpRequest"),e.FormData&&l instanceof e.FormData||r(s,"Content-Type","application/x-www-form-urlencoded"));for(var p,h=0,v=i.length;h<v;h++)p=i[h],void 0!==t[p]&&(d[p]=t[p]);for(var p in s)d.setRequestHeader(p,s[p]);return d.send(l),d}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(132),o=r(i);t.default=o.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l,u,c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(133),f=n(141),p=n(60),h=n(8),v=(r(h),n(51)),m=r(v),g=n(53),y=n(9),b=r(y),w=n(55),_=(u=l=function(){function e(t){s(this,e),this.spotId=t}return c(e,[{key:"allowAds",value:function(){return!0}},{key:"assignClickHandlers",value:function(e){return(0,d.assignClickHandlers)(e,this.spotId,{traffic:p.config.referTraffic})}},{key:"onBeforeRender",value:function(e){this.assignClickHandlers(e),(0,w.removeItemByUrl)(e,{locationHref:window.location.href}),this.displayItemImages(e,this.getFirstVisibleItemsCount(e))}},{key:"onAfterRender",value:function(e){var t=this;(0,w.resequenceIndexes)(e),m.default.once(g.PAGE_NEXT_CLICKED,function(){return t.displayItemImages(e)})}},{key:"displayItemImages",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[].concat(a(e.querySelectorAll("[data-item-image]"))),r=[].concat(a(e.querySelectorAll("[data-user-image]"))),i=function(e){e.style.backgroundImage||(e.style.backgroundImage="url("+e.getAttribute("data-item-image")+")")},o=function(e){e.style.backgroundImage||"NONE"===e.getAttribute("data-user-image")||(e.style.backgroundImage="url("+e.getAttribute("data-user-image")+")")};null===t?(n.forEach(i),r.forEach(o)):(n.slice(0,t).forEach(i),r.slice(0,t).forEach(o))}},{key:"getFirstVisibleItemsCount",value:function(e){var t=document.documentElement.clientWidth,n=e.querySelectorAll('[data-spmark="items"]').length,r=Math.ceil(t/160);return r<6&&(r=6),r*n}},{key:"getAvailableSlots",value:function(e){var t=[].concat(a(e.querySelectorAll("[data-spotim-slot]")));return t.map(function(e){return{element:e,name:e.getAttribute("data-spotim-slot")}})}},{key:"getAdItemIndex",value:function(){return 0}},{key:"getAdDimensions",value:function(){return b.default?{width:300,height:250}:{width:400,height:300}}},{key:"adLayout",value:function(e,t){return'\n\t\t<div class="'+p.cssSelectors.socialHeader+"\">\n\t\t\t<div data-spmark='user-image' class=\""+p.cssSelectors.userImage+'" style="background-image: url(\''+e.image+'\')"></div>\n\t\t\t<div class="'+p.cssSelectors.socialDetails+"\">\n\t\t\t\t<div data-spmark='username' class=\""+p.cssSelectors.username+'">'+e.username+"</div>\n\t\t\t\t<div data-spmark='promoted' class=\""+p.cssSelectors.promoted+'">Promoted</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="'+p.cssSelectors.messageText+'">'+t+"</div>"}}]),e}(),l.Player=function(e){function t(){return s(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),t}(f.Player),u);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.trackRedirect,i=void 0!==r&&r,o=n.handleUtm,s=void 0===o||o,l=n.enableSpotimUtm,u=void 0===l||l,d=n.referrer,f=void 0===d||d,p=n.commentId,h=void 0===p||p,m=n.traffic,g=void 0===m||m,y=n.qs,b=void 0===y?{}:y,w=n.transformUrl,_=void 0===w?function(e){return e}:w,A=(0,v.findMarkedElements)("item",{container:e
}),I=a(e,t,{trackRedirect:i,referrer:f,commentId:h,traffic:g,qs:b,transformUrl:_});A.forEach(function(e){var t=(0,v.findMarkedElements)("item-link",{container:e});if(t[0]){var n=t[0];n.setAttribute("data-original-href",n.getAttribute("href")),S.config.openLinksInNewTab&&n.setAttribute("target","_blank"),s&&c(n,u),n.addEventListener("click",function(e){return I(e,!0)}),n.addEventListener("mousedown",function(e){[E,T].indexOf(e.which)>-1&&I(e,!1)})}})}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.trackRedirect,i=void 0!==r&&r,o=n.referrer,a=void 0===o||o,c=n.commentId,d=void 0===c||c,f=n.traffic,p=void 0===f||f,v=n.qs,m=void 0===v?{}:v,_=n.transformUrl,E=void 0===_?function(e){return e}:_,T=(0,h.getHostOptions)();return function(n,r){var o=S.config.openLinksInNewTab||1===n.button||n.ctrlKey||n.metaKey,c=!o;c&&n.preventDefault();var f=n.currentTarget,h=f.getAttribute("data-original-href");if(h=l(h),h=g.default.buildUrl(h,m),a&&(h=g.default.buildUrl(h,{spotim_referrer:"recirculation"})),d){var v=u(n.target,e);v&&(h=g.default.buildUrl(h,{spot_im_comment_id:v}))}if(T.redirectUrlTransform){var _=T.redirectUrlTransform(h);"undefined"!=typeof _&&(h=_)}if(E){var I=E(h);"undefined"!=typeof I&&(h=I)}var O={url:h};p&&(O.redirect={source:"recommendations",fromSpotId:t,toSpotId:t,redirectEndpoint:A.default.redirectUrl});var k=(0,y.buildSpotImUrl)(O);f.href=k;var P=function(){c&&r&&k&&(window.location.href=k)};return Promise.all([(0,b.captureUiEvent)(n,{redirect:!0}),i?s({source:"recommendations",fromSpotId:t,toSpotId:t}):Promise.resolve()]).then(P).catch(function(e){(0,w.reportError)(e,{errorSource:"click-handler"}),P()})}}function s(e){var t=e.url,n=e.source,r=e.fromSpotId,i=e.toSpotId;return new Promise(function(e){f.default.ajax({method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({events:[{type:"generated-page-view",version:1,value:{from:{spot_id:r,source:n,url:t},to:{spot_id:i,url:t}}}]}),url:p.track.getFullUrl()},function(t,n,r){!t||t>300||t<200?reject():e()})})}function l(e){try{return window.location.hostname.endsWith("rt.com")?e.replace(/([^\/])\?/,"$1/?"):e}catch(t){return e}}function u(e,t){var n=(0,v.getMarksPathFromTarget)(e,t);if(!(0,v.pathHasMark)(n,"item-title")){var r=(0,v.getMarkValueFromPath)(n,{having:"item",key:"message-id"});if(r)return r}return null}function c(e,t){var n=window.location.href,r=e.getAttribute("href");t&&S.config.enableSpotimUtm?r=g.default.buildUrl(r,{utm_source:"spotim",utm_medium:"spotim_recirculation"}):["utm_source","utm_medium","utm_term","utm_content","utm_campaign"].forEach(function(e){var t=g.default.getKey(n,e)||null;t&&(r=g.default.buildUrl(r,i({},e,t)))}),e.setAttribute("href",r),e.setAttribute("data-original-href",r)}Object.defineProperty(t,"__esModule",{value:!0}),t.assignClickHandlers=o;var d=n(130),f=r(d),p=n(134),h=n(70),v=n(17),m=n(8),g=r(m),y=n(140),b=n(18),w=n(14),_=n(56),A=r(_),S=n(60),E=2,T=3},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){var t=r(e,[]);return this.performRequest(o({},t))}Object.defineProperty(t,"__esModule",{value:!0}),t.track=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(135),s=n(138);t.track=(0,a.createResource)(s.apiUrl,"post","/track",i,{withCredentials:!0})},function(e,t,n){"use strict";function r(e,t,n,s){function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.replace(a,function(t,n){return e.hasOwnProperty(n)?e[n]:t})}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e+l(t)}function c(o){return o=(0,i.extendOptions)(p,o),r(e,t,n,s,o)}function d(){return{apiUrl:e,method:t,url:n,execute:s,options:p}}function f(e,n){var r=u(n);p=(0,i.extendOptions)(i.defaultOptions,p);var o;switch(t.toLowerCase()){case"get":o=h.get(r,e,p);break;case"delete":o=h.delete(r,p);break;case"patch":o=h.patch(r,e,p);break;case"post":o=h.post(r,e,p);break;case"put":o=h.put(r,e,p)}return o}var p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:o.RequestHandler;return{getUrl:l,getFullUrl:u,performRequest:f,extend:c,execute:s,getProperties:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.createResource=r;var i=n(136),o=n(137),a=/\{\{(\w+)\}\}/gi},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t,n){t in e&&(n[t]=e[t])}function i(e,t,n){if(t in e)if(n[t]){var r=n[t];n[t]=function(){e[t](),r()}}else n[t]=e[t]}function o(e,t,r){t in e&&Array.isArray(e[t])&&(r[t]=[].concat(n(r[t]||[]),n(e[t])))}function a(){for(var e={},t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return n.forEach(function(t){r(t,"withCredentials",e),r(t,"contentType",e),i(t,"success",e),i(t,"error",e),o(t,"requestInterceptors",e),o(t,"responseInterceptors",e),o(t,"parsers",e)}),e}Object.defineProperty(t,"__esModule",{value:!0}),t.extendPrimitive=r,t.extendFunction=i,t.extendArray=o,t.extendOptions=a;t.defaultOptions={withCredentials:!1,requestInterceptors:[],responseInterceptors:[],parsers:[],contentType:"application/json",success:function(){},error:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.RequestHandler=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(32),s=r(a);t.RequestHandler=function(){function e(){i(this,e)}return o(e,null,[{key:"retryRequest",value:function(t,n){var r=t.url,i=t.method,o=(0,s.default)(i,r);return o._query=t._query,o.header=t.header,o._header=t._header,o._data=t._data,e.performRequest(o,n)}},{key:"performRequest",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.withCredentials&&(t=t.withCredentials()),n.contentType&&(t=t.set("Content-Type",n.contentType),"application/x-www-form-urlencoded"!==n.contentType&&"text/plain"!==n.contentType||(t._data=JSON.stringify(t._data))),new Promise(function(r,i){e.invokeRequestInterceptors(t,n.requestInterceptors,n).then(function(t){var o=t.request;o.end(function(t,a){t?(i(t),n.error&&n.error(t)):e.invokeResponseInterceptors(o,a,n.responseInterceptors,n).then(function(t){var o=t.response;if(o.ok){var a=e.invokeParsers(o.body,n.parsers);r(a),n.success&&n.success(a)}else i(o),n.error&&n.error(o)})})})})}},{key:"invokeParsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.freeze(e);return t.reduce(function(e,t){return t(n,e)},n)}},{key:"invokeRequestInterceptors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(e,t){return e.then(function(e){var r=e.request;return t.requestInterceptor(r,n)})},Promise.resolve({request:e}))}},{key:"invokeResponseInterceptors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.reduce(function(t,n){return t.then(function(t){var i=t.response;return n.responseInterceptor(e,i,r)})},Promise.resolve({response:t}))}},{key:"get",value:function(t,n,r){var i=s.default.get(t,n);return e.performRequest(i,r)}},{key:"post",value:function(t,n,r){var i=s.default.post(t,n);return e.performRequest(i,r)}},{key:"patch",value:function(t,n,r){var i=s.default.patch(t,n);return e.performRequest(i,r)}},{key:"put",value:function(t,n,r){var i=s.default.put(t,n);return e.performRequest(i,r)}},{key:"delete",value:function(t,n){var r=s.default.del(t);return e.performRequest(r,n)}}]),e}()},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;r=n(139);t.apiUrl=e.env.SKIP_CDN?r.url:r.cdn}).call(t,n(4))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.url="https://tracker.spot.im",t.cdn="https://www.spot.im/api/tracker"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){var t=e.url,n=e.redirectParams,r=void 0===n?{}:n,i={to_url:t,from_spot:r.fromSpotId,to_spot:r.toSpotId,source:r.source||null},o=Object.keys(i).map(function(e){return e+"="+encodeURIComponent(i[e])}).join("&"),a=r.redirectEndpoint+"#"+window.encodeURIComponent(o);return a}function a(e){var t=e.url,n=e.highlightedReplyId,r=void 0===n?null:n,a=e.highlightedCommentId,l=void 0===a?null:a,c=e.highlightImmediate,d=void 0===c?null:c,f=e.scrollToComments,p=void 0===f?null:f,h=e.typingUsersCount,v=void 0===h?0:h,m=e.redirect,g=void 0===m?void 0:m,y=i(e,["url","highlightedReplyId","highlightedCommentId","highlightImmediate","scrollToComments","typingUsersCount","redirect"]),b=s({},y);return(r||l)&&(l&&(b.spot_im_comment_id=l),r&&(b.spot_im_reply_id=r),null!==d&&(b.spot_im_highlight_immediate=d)),v>0&&(b.spot_im_state="typing"),null!==p&&(b.spot_im_scroll_to_comments=p),t=u.default.buildUrl(t,b),g&&(t=o({url:t,redirectParams:g})),t}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.makeRedirectUrl=o,t.buildSpotImUrl=a;var l=n(8),u=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e}function l(e){var t=e.initialStyle,n=void 0===t?{}:t,r=e.onClose,i=void 0===r?function(){}:r,o=document.createElement("div");Object.assign(o.style,u({position:"absolute",transform:"translateX(-50%)",height:"0px",width:"0px",overflow:"hidden",zIndex:1},n)),o.className="sprc-lp",o.innerHTML='\n\t\t<style>\n\t\t\t.sprc-lp-title {\n\t\t\t\tpadding: 7px 10px 22px 10px;\n\t\t\t\tcolor: white;\n\t\t\t\tfont-size: 11px;\n\t\t\t\tfont-family: \'Open Sans\', Helvetica, Arial, sans-serif;\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tright: 0;\n\t\t\t\theight: 44px;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tz-index: 100;\n\t\t\t}\n\t\t\t.sprc-lp-title:before {\n\t\t\t\tcontent: \' \';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tright: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tbottom: 0;\n\t\t\t\topacity: 0.5;\n\t\t\t\tbackground: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);\n\t\t\t\tbackground: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);\n\t\t\t\tbackground: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);\n\t\t\t}\n\t\t\t.sprc-lp-title-label {\n\t\t\t\tposition: relative;\n\t\t\t\tz-index: 110;\n\t\t\t}\n\t\t\t.sprc-lp-close {\n\t\t\t\tcursor: pointer;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 0;\n\t\t\t\ttop: 0;\n\t\t\t\twidth 30px;\n\t\t\t\theight: 30px;\n\t\t\t\tpadding: 10px;\n\t\t\t\tz-index: 120;\n\t\t\t}\n\t\t\t.sprc-lp-close svg {\n\t\t\t\twidth: 10px;\n\t\t\t\theight: 10px;\n\t\t\t\topacity: 0.8;\n\t\t\t\tfill: #FFFFFF;\n\t\t\t}\n\t\t</style>\n\t\t<div class="sprc-lp-title">\n\t\t\t<span class="sprc-lp-title-label">Advertisement</span>\n\t\t\t<span class="sprc-lp-close">\n\t\t\t\t<svg viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<g stroke="none" stroke-width="1" fill-rule="evenodd"><g transform="translate(-1047.000000, -180.000000)"><path d="M1052.00036,183.990285 L1048.01007,180 L1047,181.010072 L1050.98957,185.000357 L1047,188.990642 L1048.01007,190.000714 L1052.00036,186.010429 L1055.99064,190.000714 L1057,188.990642 L1053.01043,185.000357 L1057,181.010072 L1055.99064,180 L1052.00036,183.990285 Z"></path></g></g>\n\t\t\t\t</svg>\n\t\t\t</span>\n\t\t</div>\n\t';var a=document.createElement("div");return Object.assign(a.style,{position:"absolute",top:"0px",left:"50%",transform:"translateX(-50%)"}),o.querySelector(".sprc-lp-close").addEventListener("click",i),o.appendChild(a),document.body.appendChild(o),{container:a,element:o}}Object.defineProperty(t,"__esModule",{value:!0}),t.Player=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;if(void 0!==a)return a.call(r)},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(9),p=r(f),v=n(122),m=100,g=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),d(t,[{key:"union",value:function(e){var n=Math.min(this.top,e.top),r=Math.min(this.left,e.left),i=Math.max(this.right,e.right),o=Math.max(this.bottom,e.bottom);return new t({top:n,left:r,right:i,bottom:o})}}]),t}(v.Rect),y=function(){function e(t){i(this,e),this.value=t,this._changed=!1}return d(e,[{key:"set",value:function(e){this.value!==e&&(this._changed=!0),this.value=e}},{key:"get",value:function(){return this.value}},{key:"reset",value:function(){this._changed=!1}},{key:"changed",value:function(){return this._changed}},{key:"differentThan",value:function(e){return this.value===e}}]),e}(),b=function(e){return Math.ceil(e/(1e3/60))},w=600,_=b(w),A=300,S=(b(A),function(){function e(t){i(this,e),this.domNode=t}return d(e,[{key:"getDomNode",value:function(){return this.domNode}},{key:"setHeight",value:function(e){this.setStyle({height:e+"px"})}},{key:"getHeight",value:function(){return parseInt(window.getComputedStyle(this.domNode).height)}},{key:"setWidth",value:function(e){this.setStyle({width:h+"px"})}},{key:"getWidth",value:function(){return parseInt(window.getComputedStyle(this.domNode).width)}},{key:"setPosition",value:function(e){this.setStyle({position:""+e})}},{key:"getPosition",value:function(){return window.getComputedStyle(this.domNode).position}},{key:"setTop",value:function(e){this.setStyle({top:e+"px"})}},{key:"getTop",value:function(){return parseInt(window.getComputedStyle(this.domNode).top)}},{key:"setLeft",value:function(e){this.setStyle({left:e+"px"})}},{key:"getLeft",value:function(){return parseInt(window.getComputedStyle(this.domNode).left)}},{key:"setStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this.domNode.style,e)}}]),e}()),E=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.update,a=void 0===r?function(){}:r;i(this,t);var s=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return s.update=a,s}return a(t,e),d(t,[{key:"setHeight",value:function(e){c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"setHeight",this).call(this,e),this.update(e+"px")}},{key:"align",value:function(e){var t=e.documentTop;e.viewportTop,e.isVisible;this.setPosition("absolute"),this.setTop(t)}}]),t}(S),T=function(){function e(t){var n=t.element;i(this,e),this.element=n,this.props={state:new y("hidden"),alignment:new y("none"),position:new y(null),top:new y(null),left:new y(null),height:new y(null),width:new y(null)},this.alive=!0,this.frames=[]}return d(e,[{key:"kill",value:function(){this.alive=!1}},{key:"growTo",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return new Promise(function(r){if(t._growing)r();else{t._growing=!0;var i=function(e,t){return s(t)*e},o=function(e,t){return e-i(e,t)},a=t.element.getHeight(),l=Math.abs(e-a),c=(e||0)>a;if(l>0){for(var d=0;d<_;d++){var f=(c?i:o)(l,d/(_-1));t.frames[d]=u({},t.frames[d]||{},{height:f+"px"}),t.frames[d].callbacks=t.frames[d].callbacks||[],t.frames[d].callbacks.push(n.bind(null,f))}t.frames[_]=t.frames[_]||{},t.frames[_].height=e+"px",t.frames[_].callbacks=t.frames[_].callbacks||[],t.frames[_].callbacks.push(function(){t._growing=!1,r()})}else t._growing=!1,r()}})}},{key:"interpolateTo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=function(e,t){return s(t)*e},r=function(e,t){return e-n(e,t)},i={height:this.element.getHeight(),width:this.element.getWidth(),position:this.element.getPosition(),top:this.element.getTop(),left:this.element.getLeft()},o=u({state:this.props.state.get(),alignment:this.props.alignment.get(),position:this.props.position.get(),top:this.props.top.get(),left:this.props.left.get(),height:this.props.height.get(),width:this.props.width.get()},i,t),a="hidden"===this.props.state.get()&&"expanded"===o.state,l="hidden"===this.props.state.get()&&"collapsed"===o.state,c="expanded"===this.props.state.get()&&"collapsed"===o.state,d="collapsed"===this.props.state.get()&&"expanded"===o.state,f=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e.element.getHeight(),a=Math.abs((e.props.height.get()||0)-o),s=(e.props.height.get()||0)>o;if(a>0){e.frames[i]=e.frames[i]||{};for(var l=i;l<i+_;l++)e.frames[l]=u({},e.frames[l]||{},{height:(s?n:r)(a,l/(_-1))+"px"})}};(a||l||c||d)&&o.height!==i.height&&((c||l)&&(this.frames=[]),this.props.height.set(o.height),this.props.width.set(o.width),this.frames[0]=u({},this.frames[0]||{},{width:o.width+"px"}),f(this.frames,0));var p="none"===this.props.alignment.get()&&"static"===o.alignment,h="none"===this.props.alignment.get()&&"sticky"===o.alignment,v="sticky"===this.props.alignment.get()&&"static"===o.alignment,m="static"===this.props.alignment.get()&&"sticky"===o.alignment,g="sticky"===this.props.alignment.get()&&"sticky"===o.alignment;if(p||h)this.props.position.set(o.position),this.props.alignment.set(o.alignment),this.frames[0]=u({},this.frames[0]||{},{position:o.position,top:o.top+"px",left:o.left+"px"});else if(m)this.props.position.set(o.position),this.props.alignment.set(o.alignment),this.frames[0]=u({},this.frames[0]||{},{position:o.position,top:o.top+"px",left:o.left+"px"});else if(v){if(!this.stickyToStaticInProgress){this.stickyToStaticInProgress=!0;var y=t.toArea,b=this.viewDistanceTo(y);if(b>this.props.height.get()/4){for(var w=this.element.getHeight(),A=this.props.height.get(),S=0;S<_;S++)this.frames[S]=u({},this.frames[S]||{},{height:r(w,S/(_-1))+"px"});this.frames[_-1]=u({},this.frames[_-1]||{},{position:"absolute",top:o.top+"px",left:o.left+"px"});for(var E=0;E<_;E++)this.frames[_+E]=u({},this.frames[_+E]||{},{height:n(A,E/(_-1))+"px"});this.frames[2*_]=this.frames[2*_]||{},this.frames[2*_].callbacks=this.frames[2*_].callbacks||[],this.frames[2*_].callbacks.push(function(){e.props.alignment.set("static"),e.stickyToStaticInProgress=!1})}else this.props.position.set(o.position),this.props.alignment.set(o.alignment),this.frames[0]=u({},this.frames[0]||{},{position:o.position,top:o.top+"px",left:o.left+"px"}),this.stickyToStaticInProgress=!1}}else g&&(this.props.position.set(o.position),this.props.alignment.set(o.alignment),this.frames[0]=u({},this.frames[0]||{},{position:o.position,top:o.top+"px",left:o.left+"px"}))}},{key:"interpolate",value:function(){var e=this.frames.shift();if(e){var t=e.callbacks,n=void 0===t?[]:t,r=["position","top","left","width","height"].reduce(function(t,n){return"undefined"!=typeof e[n]&&(t[n]=e[n]),t},{});this.element.setStyle(r),n.forEach(function(e){return e()})}}},{key:"getElement",value:function(){return this.element}},{key:"getDocRect",value:function(){var e=0,t=0,n=this.element.getDomNode();do e+=n.offsetTop||0,t+=n.offsetLeft||0,n=n.offsetParent;while(n);var r=(0,v.getElementRect)(this.element.getDomNode());return new g({top:e,left:t,bottom:e+r.getHeight(),right:t+r.getWidth()})}},{key:"getDocRectUnion",value:function(e){return this.getDocRect().union(e.getDocRect())}},{key:"getViewRect",value:function(){return(0,v.getElementRect)(this.element.getDomNode())}},{key:"getViewRectUnion",value:function(e){return this.getViewRect().union(e.getViewRect())}},{key:"getVisibleRect",value:function(){return this.getViewRect().intersect((0,v.getWindowRect)())}},{key:"getVisiblePercent",value:function(){var e=this.getVisibleRect().getArea(),t=this.getViewRect().getArea();return e/t||0}},{key:"docDistanceTo",value:function(e){var t=this.getDocRect(),n=e.getDocRect(),r=Math.floor(t.left+(t.right-t.left)/2),i=(Math.floor(t.top+(t.bottom-t.top)/2),Math.floor(n.left+(n.right-n.left)/2)),o=(Math.floor(n.top+(n.bottom-n.top)/2),Math.abs(r-i)),a=Math.abs(r-i);return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}},{key:"viewDistanceTo",value:function(e){var t=this.getViewRect(),n=e.getViewRect(),r=Math.floor(t.left+(t.right-t.left)/2),i=Math.floor(t.top+(t.bottom-t.top)/2),o=Math.floor(n.left+(n.right-n.left)/2),a=Math.floor(n.top+(n.bottom-n.top)/2),s=Math.abs(r-o),l=Math.abs(i-a);return Math.sqrt(Math.pow(s,2)+Math.pow(l,2))}},{key:"getStyleToAlign",value:function(){var e=this.getDocRect();return{position:"absolute",top:e.top,left:e.left+(e.right-e.left)/2}}}]),e}(),I=function(e){function t(e){var n=e.element,r=e.update,a=void 0===r?function(){}:r;i(this,t);var s=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{element:n}));return s.update=a,s}return a(t,e),d(t,[{key:"growTo",value:function(e){var n=this;return c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"growTo",this).call(this,e,function(e){return n.update(e+"px")})}}]),t}(T),O=function(){function e(t){var n=t.stickyArea,r=t.staticArea,o=t.topOffset;i(this,e),this.stickyArea=n,this.staticArea=r,this.topOffset=o}return d(e,[{key:"hasElement",value:function(){return!(!this.staticArea.getElement().getDomNode()||!this.stickyArea.getElement().getDomNode())}},{key:"setStaticArea",value:function(e){this.staticArea=e}},{key:"getDocRange",value:function(){var e=this.stickyArea.getDocRect().bottom,t=this.staticArea.getDocRect().top;return{top:t,bottom:e,height:e-t}}},{key:"getViewRange",value:function(){var e=this.stickyArea.getViewRect().bottom-this.topOffset,t=this.staticArea.getViewRect().top;return{top:t,bottom:e,height:e-t}}},{key:"getStyleToAlign",value:function(e){var t=this.getDocRange(),n=this.getViewRange(),r=(e.getDocRect(),e.getViewRect()),i={};if(n.top<this.topOffset&&n.bottom>r.getHeight()){i.position="fixed",i.top=this.topOffset;this.stickyArea.getViewRect()}else{i.position="absolute";var o=this.staticArea.getViewRect();n.top>0?i.top=t.top:i.top=t.bottom-e.getDocRect().getHeight(),i.left=o.left+(o.right-o.left)/2}return i}}]),e}(),k=function(){function e(t){var n=t.area;i(this,e),this.observedArea=n,this.startViewTime=null,this.lastViewTime=null,this.achieved=!1}return d(e,[{key:"didAchieveViewability",value:function(){return this.achieved}},{key:"setDesiredDuration",value:function(e){this.desiredDuration=e}},{key:"start",value:function(){this.achieved=!1,this.reset()}},{key:"update",value:function(){if(!this.achieved){var e=parseInt(this.lastViewTime)-parseInt(this.startViewTime);!isNaN(e)&&e>this.desiredDuration&&(this.achieved=!0),this.observedArea.getVisiblePercent()>.5?(this.startViewTime||(this.startViewTime=Date.now()),this.lastViewTime=Date.now()):this.startViewTime=null}}},{key:"reset",value:function(){this.lastViewTime=null,this.startViewTime=null}}]),e}(),P=function(){function e(t){var n=t.playArea,r=t.stickyRange,o=t.staticArea,a=t.topOffset;i(this,e),this.playArea=n,this.stickyRange=r,this.staticArea=o,this.requireSticky=!1,this.firstStaticEntranceDone=!1,this.currentPosition="absolute",this.topOffset=a,this.topOffsetReached=!1}return d(e,[{key:"reset",value:function(){this.requireSticky=!1,this.firstStaticEntranceDone=!1}},{key:"setRequireSticky",value:function(e){this.requireSticky=e}},{key:"alignToStatic",value:function(){var e=this.staticArea.getStyleToAlign(this.playArea);this.playArea.interpolateTo(u({alignment:"static"},e,{toArea:this.staticArea})),this.staticArea.getViewRect().top>=this.topOffset&&(this.topOffsetReached=!0),this.playArea.getVisiblePercent()>=1&&this.topOffsetReached&&(this.firstStaticEntranceDone=!0)}},{key:"alignToSticky",value:function(){var e=this.stickyRange.getStyleToAlign(this.playArea);this.playArea.interpolateTo(u({alignment:"sticky"},e))}},{key:"alignAsNeeded",value:function(){this.stickyRange.hasElement()&&this.requireSticky&&this.firstStaticEntranceDone?this.alignToSticky():this.alignToStatic()}},{key:"changedPositionForViewabilityPursuit",value:function(){return"absolute"===this.currentPosition?"fixed"===this.playArea.getElement().getPosition()&&(this.currentPosition="fixed",!0):"absolute"===this.playArea.getElement().getPosition()&&(this.currentPosition="absolute",!0)}},{key:"getDesiredViewabilityDuration",value:function(){return"fixed"===this.currentPosition?3e3:2e3}}]),e}(),C=function(){function e(t){var n=t.size,r=t.playArea,o=t.stickyRange,a=t.staticArea;i(this,e),this.size=n,this.playArea=r,this.stickyRange=o,this.staticArea=a}return d(e,[{key:"expand",value:function(){this.playArea.interpolateTo({state:"expanded",width:this.size.width,height:this.size.height})}},{key:"collapse",value:function(){this.playArea.interpolateTo({state:"collapsed",width:this.size.width,height:0})}}]),e}(),M=function(){function e(t){var n=t.size,r=t.playArea,o=t.areaToSync;i(this,e),this.playArea=r,this.areaToSync=o,this.size=n,this.alive=!0}return d(e,[{key:"update",value:function(e){var t=this,n=this.areaToSync.getViewRect();if(e){var r=(this.areaToSync.getViewRect().getArea(),this.playArea.getViewRect().getArea());this.areaToSync.getVisiblePercent(),this.areaToSync.viewDistanceTo(this.playArea);if(r>0){var i=m;if(n.top>=i){var o=this.playArea.getElement().getHeight();this.areaToSync.getElement().setHeight(o)}}else n.top>=0&&this.areaToSync.growTo(0);this.areaToSync.interpolate()}else this.alive&&n.top>=0&&this.areaToSync.growTo(0).then(function(){return t.destroy()})}},{key:"tryCompleteSync",value:function(){var e=this;requestAnimationFrame(function(){e.update(!1),e.alive&&e.tryCompleteSync()})}},{key:"destroy",value:function(){this.alive=!1}}]),e}();t.Player=function(){function e(t){var n=t.findPlaceholders,r=void 0===n?Promise.resolve(null):n,o=t.updatePlaceholder,a=void 0===o?Promise.resolve(null):o,s=t.findStickyElement,u=void 0===s?Promise.resolve(null):s,c=t.findPlaceholderTop,d=void 0===c?Promise.resolve(null):c,f=t.staticDomNode,p=t.onClose,h=t.isSticky,v=void 0!==h&&h,m=t.isInread,g=void 0!==m&&m;i(this,e),this.onClose=p;var y=l({initialStyle:this.getInitialStyle(),onClose:p}),b=y.container,w=y.element;this.container=new S(b),this.element=new S(w),this.staticDomNode=f,this.findStickyElement=u,g?(this.findPlaceholders=r,this.updatePlaceholder=a,this.findPlaceholderTop=d):(this.findPlaceholders=function(){return Promise.resolve(null)},this.updatePlaceholder=function(){return Promise.resolve(!0)},this.findPlaceholderTop=function(){return Promise.resolve(null)}),this.shouldPlay=!0,this.isSticky=v,this.isInread=g}return d(e,[{key:"getInitialStyle",value:function(){return{}}},{key:"getTopOffset",value:function(){return p.default?window.innerHeight/2-this.size.height/2:m}},{key:"getAdContainer",value:function(){return this.container.getDomNode()}},{key:"tick",value:function(){(!this.cancelTime||this.cancelTime-Date.now()>0)&&(this.tickRaf=window.requestAnimationFrame(this.tick.bind(this))),this.shouldPlay&&(this.observer.setDesiredDuration(this.alignResolver.getDesiredViewabilityDuration()),this.isSticky?this.observer.didAchieveViewability()?this.alignResolver.setRequireSticky(!1):this.alignResolver.setRequireSticky(!0):this.alignResolver.setRequireSticky(!1),this.alignResolver.alignAsNeeded(),this.alignResolver.changedPositionForViewabilityPursuit()&&(this.observer.reset(),this.observer.setDesiredDuration(this.alignResolver.getDesiredViewabilityDuration())),this.playArea.interpolate(),this.displaySync.update(!0),this.observer.update())}},{key:"begin",value:function(e){var t=this,n=e.width,r=e.height;this.cancelTime=null,this.size={width:n,height:r},this.playArea=new T({element:this.element}),this.findPlaceholders().then(function(e){t.findStickyElement().then(function(r){var i=new S(r);t.stickyArea=new T({element:i});var o=new S(t.staticDomNode),a=new T({element:o}),s=(a.getViewRect(),(e||[]).filter(function(e){return e.viewportTop>=t.getTopOffset()}));if(e&&e.length>0&&a.getViewRect().top<t.getTopOffset()&&s.length>0){var l=s[0],c=l.documentTop,d=l.frameUniqueId,f=l.isVisible,p=l.placeholderId,h=l.viewportTop,v=t.updatePlaceholder.bind(null,d,p),m=document.createElement("div"),g=t.stickyArea.getStyleToAlign();Object.assign(m.style,u({},a.getStyleToAlign(),{width:n+"px",left:g.left-n/2+"px"})),o=new S(m),m.setAttribute("data-spotim-pid",p),m.setAttribute("data-spotim-fid",d),document.body.appendChild(m),o=new E(m,{update:v}),o.align({documentTop:c,viewportTop:h,isVisible:f}),a=new I({element:o,update:v})}t.stickyRange=new O({stickyArea:t.stickyArea,staticArea:a,topOffset:t.getTopOffset()}),t.observer=new k({area:t.playArea}),t.alignResolver=new P({playArea:t.playArea,stickyRange:t.stickyRange,staticArea:a,topOffset:t.getTopOffset()}),t.displayResolver=new C({size:t.size,playArea:t.playArea,stickyRange:t.stickyRange,staticArea:a}),t.displaySync=new M({size:t.size,playArea:t.playArea,areaToSync:a}),t.alignResolver.alignAsNeeded(),t.displayResolver.expand(),t.tickRaf=window.requestAnimationFrame(t.tick.bind(t))})})}},{key:"end",value:function(){this.displayResolver.collapse(),this.displaySync.tryCompleteSync()}},{key:"pause",value:function(){this.shouldPlay=!1}},{key:"resume",value:function(){this.shouldPlay=!0}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=!0;return function(){if(t)return t=!1,e.apply(this,arguments)}}function o(e,t,n){e.style[t]=n;var r=t.charAt(0).toUpperCase()+t.slice(1);e.style[""+b.js+r]=n}function a(e,t,n){if(!e)return d("FN: element not found"),null;var r=e.querySelector("iframe");if(r){r.style.height=n+"px",r.style.width=t+"px";try{r.contentDocument.body.style.margin="0px"}catch(e){d("FN: normalize fail unfriendly iframe")}}else d("FN: iframe not found");return r}Object.defineProperty(t,"__esModule",{value:!0});var s=n(51),l=r(s),u=n(13),c=function(e,t){return"row"+e+"-cell"+t},d=(0,u.getDebugger)("ads-animation"),f=!!navigator.userAgent.match(/Trident/g)||!!navigator.userAgent.match(/MSIE/g),p=165,h=250,v=300,m=h,g=400,y=300,b=function(){var e=window.getComputedStyle(document.documentElement,""),t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1],n="WebKit|Moz|MS|O".match(new RegExp("("+t+")","i"))[1];return{dom:n,lowercase:t,css:"-"+t+"-",js:t[0].toUpperCase()+t.substr(1)}}(),w=!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),_=function(e,t){var n=t.row,r=void 0===n?null:n,s=t.cell,l=void 0===s?null:s,u=t.itemDisplay,b=void 0===u?null:u,_=t.width,A=t.height,S=t.endCallback,E=void 0===S?function(){}:S,T=t.startCallback,I=void 0===T?function(){}:T;
if(d("update-ad-slot handler","row: "+r+", cell: "+l+", itemDisplay: "+b+", width: "+_+", height: "+A),null===r||null===l||null===b)return void d("update-ad-slot handler, >> missing parameters <<");if("hide"==b){var O=e.getAttribute("data-spotim-device");"mobile"==O?(_=v,A=m):_||(_=g,A=y)}else _=p,A=h;_=parseInt(_),A=parseInt(A);var k=e.querySelector('[data-spotim-slot="'+c(r,l)+'"]'),P=["webkitTransitionEnd","mozTransitionEnd","msTransitionEnd","transitionend"],C=k.parentElement.parentElement;"hide"===b&&A===y?C.setAttribute("data-spotim-large-row",!0):C.setAttribute("data-spotim-large-row",!1);var M=e.querySelector('[data-spotim-engine-slot="'+c(r,l)+'"]'),D=i(function(){if(P.forEach(function(e){return k.removeEventListener(e,D)}),"hide"===b){a(M,_,A);for(var e=1;e<5;e++)setTimeout(function(){a(M,_,A)},1e3*e)}else k.style.position="",k.style.left="",a(M,0,0);E()});"show"===b?k.style.display="block":(M.style.zIndex=1e3,M.style.display="",f&&(M.style.flexShrink="0")),o(M,"opacity","show"===b?1:0),o(k,"opacity","hide"===b?1:0),I(M);var L=M.getBoundingClientRect(),R=L.left,N=(L.width,k.getBoundingClientRect()),j=N.left,x=N.width,V=window.innerWidth>550?15:7;"hide"===b?(k.style.position="absolute",k.style.left=j-V+"px"):k.style.left=R-V+"px",M.style.paddingRight="5px",o(M,"transition","all 400ms"),o(k,"transition","all 400ms cubic-bezier(1, 0, 0, 1)"),o(M,"width",x+5+"px"),setTimeout(function(){var e=5;o(M,"width","show"===b?"0px":_+e+"px"),o(k,"opacity","show"===b?1:0),o(M,"opacity","hide"===b?1:0)},w?300:0),P.forEach(function(e){return k.addEventListener(e,D)}),setTimeout(D,800)},A=function(e){l.default.on("update-ad-slot",function(t){_(e,t)})};t.default=A}]);