Spotify is moving to Google’s cloud platform

Spotify is moving the “guts” of its service from its own data centres to Google’s cloud platform, the two companies have announced.

The move, which will see Spotify end an ambitious attempt to build its own vast server farm servers, will allow the company to bring new features quicker than if it is using its own data centres.

“Historically we’ve run our own data centres,” Nicholas Harteau, VP of engineering and infrastructure at Spotify, told WIRED. “That’s using space, it’s buying hardware and equipment but now we’re doing a big push to partner with Google on running the Spotify backend — the guts that power the Spotify service — in Google’s cloud platform.”

Over the next two years — in what Harteau said will be a “big and complex process to move” — Spotify will work with Google to move all of its backend to Google’s platform; so far, 200,000 Spotify users have been tested on the system. It’s believed the move shouldn’t affect the service’s performance.

GettyImages-458314418

Guillaume Leygues, from Google’s Cloud Platform, said that using the company’s services would allow Spotify staff to run complex database queries and get answers quickly. “This lets Spotify perform more frequent in-depth, interactive analysis, guiding product development, feature testing and more intelligent user-facing features,” the Google staffer wrote.

The announcement builds on Spotify’s introduction of video to its apps. In January, the streaming company said it would finally bring videos to Android and Apple iOS users in the UK, US, Germany, and the company’s native Sweden. Company bosses said the videos will initially start as short clips from TV shows, but original programming could follow, which may be helped by the cloud switch.

 

Source

 

 

// <![CDATA[
var adData = {google_width: 300,google_height: 250,google_click_url: 'http://www.googleadservices.com/pagead/aclk?sa\x3dL\x26ai\x3dCWW2LoA3PVumuFte2WrDxmvAMq_vAkgmLk4-ErgK_4R4QASCu7uQfYK0CoAHd_d3NA8gBCeACAKgDAaoEzQFP0FP0-ULhKJUUcFfY9GCsv48PGBe4TH_AV_P7-hTIDzYtG4otHjAxBSB6wRgmnq0nwsaTSehLF4JYsnka8XJPpiNRdAUYqE2IbN8bN52uOaOSMftDkstUqMRPccCINLZX1v1dYpdWhXox7W6S0yQtGrieUKsDfmoqgM5hyTWAr7M9_NSk097CdE5ZLLBx6GVkXvxkn0B81IaY3SDfE7nxxUgvnZWcrHD3zPwqY2rYE2asDRBuHDjTWQpeg9qdXLjeQToUfwMqSblCsmsK4AQBiAYBoAYugAeLgqIyqAemvhvYBwA\x26num\x3d1\x26cid\x3d5GiXqYqlJxGuzXDr_0kKRhd7\x26sig\x3dAOD64_3-_foGzrk9u8dGTSpT07JrzMvSxA\x26client\x3dca-pub-9263034964790500\x26adurl\x3d',google_ait_url: 'https://googleads.g.doubleclick.net/pagead/conversion/?ai\x3dCWW2LoA3PVumuFte2WrDxmvAMq_vAkgmLk4-ErgK_4R4QASCu7uQfYK0CoAHd_d3NA8gBCeACAKgDAaoEzQFP0FP0-ULhKJUUcFfY9GCsv48PGBe4TH_AV_P7-hTIDzYtG4otHjAxBSB6wRgmnq0nwsaTSehLF4JYsnka8XJPpiNRdAUYqE2IbN8bN52uOaOSMftDkstUqMRPccCINLZX1v1dYpdWhXox7W6S0yQtGrieUKsDfmoqgM5hyTWAr7M9_NSk097CdE5ZLLBx6GVkXvxkn0B81IaY3SDfE7nxxUgvnZWcrHD3zPwqY2rYE2asDRBuHDjTWQpeg9qdXLjeQToUfwMqSblCsmsK4AQBiAYBoAYugAeLgqIyqAemvhvYBwA\x26sigh\x3d8SUTUMqVnEc\x26label\x3d_AITNAME_\x26value\x3d_AITVALUE_',redirect_url: 'http://www.googleadservices.com/pagead/aclk?sa\x3dL\x26ai\x3dCWW2LoA3PVumuFte2WrDxmvAMq_vAkgmLk4-ErgK_4R4QASCu7uQfYK0CoAHd_d3NA8gBCeACAKgDAaoEzQFP0FP0-ULhKJUUcFfY9GCsv48PGBe4TH_AV_P7-hTIDzYtG4otHjAxBSB6wRgmnq0nwsaTSehLF4JYsnka8XJPpiNRdAUYqE2IbN8bN52uOaOSMftDkstUqMRPccCINLZX1v1dYpdWhXox7W6S0yQtGrieUKsDfmoqgM5hyTWAr7M9_NSk097CdE5ZLLBx6GVkXvxkn0B81IaY3SDfE7nxxUgvnZWcrHD3zPwqY2rYE2asDRBuHDjTWQpeg9qdXLjeQToUfwMqSblCsmsK4AQBiAYBoAYugAeLgqIyqAemvhvYBwA\x26num\x3d1\x26cid\x3d5GiXqYqlJxGuzXDr_0kKRhd7\x26sig\x3dAOD64_3-_foGzrk9u8dGTSpT07JrzMvSxA\x26client\x3dca-pub-9263034964790500\x26adurl\x3dhttp://shop.lenovo.com/gr/el/tablets/lenovo/miix-series/miix-300-10-inch/%3Fcid%3Dgr:display:4djwos',destination_url: 'http://shop.lenovo.com/gr/el/tablets/lenovo/miix-series/miix-300-10-inch/?cid\x3dgr:display:4djwos',link_target: '_blank',google_template_data: {'adData': [{'layout': 'Custom','creationContext': 'AUTHORING_TOOL:UNKNOWN','displayUrl': 'shop.lenovo.com','destinationUrl': 'http://shop.lenovo.com/gr/el/tablets/lenovo/miix-series/miix-300-10-inch/?cid\x3dgr:display:4djwos','Custom_layout': 'https://tpc.googlesyndication.com/sadbundle/5614992540741309445/300x250_GR/MIIX300_win.html&#039;,'versionInfo': '7.3.2'}]}};(function(){var g=this,h=function(a,c,b){a=a.split(".");b=b||g;a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===c?b=b[d]?b[d]:b[d]={}:b[d]=c},m=function(){var a=l,c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var b=Object.prototype.toString.call(a);if("[object Window]"==b)return"object";if("[object Array]"==b||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==b||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==c&&"undefined"==typeof a.call)return"object";return c},n=function(a,c,b){return a.call.apply(a.bind,arguments)},p=function(a,c,b){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var b=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(b,d);return a.apply(c,b)}}return function(){return a.apply(c,arguments)}},q=function(a,c,b){q=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n:p;return q.apply(null,arguments)},v=function(){var a=t,c=u;function b(){}b.prototype=c.prototype;a.I=c.prototype;a.prototype=new b;a.F=function(a,b,f){for(var r=Array(arguments.length-2),k=2;kb;this.b={};this.f=!1},y=function(a,c){var b=c.n;switch(c.t){case 1:var d=c.d,b=w(a,b);b.h(d);break;case 2:var d=a,e=w(d,b);e.j=!0;x(d,b)}},w=function(a,c){a.b[c]||(a.b[c]={j:!1,g:[],h:null});return a.b[c]},x=function(a,c){var b=w(a,c);if(b.j){for(var d=b.g.length,e=0;e<d;e++)a.sendMessage(c,b.g[e]);b.g=[]}},z=function(a,c){if(a.f){var b={t:2};b.s=a.l;b.n=c;a.send(b)}};u.prototype.registerApplicationHandler=function(a,c){var b=w(this,a);b.h=c;z(this,a)};u.prototype.sendMessage=function(a,c){var b=w(this,a);this.f&&b.j?(b={t:1},b.s=this.l,b.n=a,b.d=c,this.send(b)):b.g.push(c)};var A=function(a){var c,b;h(c||"secureChannel",a,b);a.registerApplicationHandler=a.registerApplicationHandler;a.sendMessage=a.sendMessage;a.isInitialized=a.q};u.prototype.q=function(){return this.f};var t=function(a,c){u.call(this,a,c);this.o=!!window.MessageChannel;this.k=this.a=null;window.addEventListener&&(this.v=q(this.A,this),window.addEventListener("message",this.v,!1))};v();t.prototype.send=function(a){this.o?this.a&&this.a.postMessage(a):(a=this.r?JSON.stringify(a):a,this.k.source.parent.postMessage(a,"*"))};t.prototype.A=function(a){var c;c=a.data;c=this.r?JSON.parse(c):c;if(c.s===this.l&&(this.o?a.source===this.u:a.source.parent===this.u))if(0===c.t){if(B(this,a)){this.f=!0;for(var b in this.b)this.b[b].h&&z(this,b),x(this,b)}}else this.k=a,y(this,c)};var B=function(a,c){if(a.o){a.a=c.ports&&c.ports[0];if(!a.a)return!1;a.a.addEventListener("message",q(function(a){y(this,a.data)},a),!1);a.a.start()}else a.k=c;return!0};var C=window;var D=function(a,c,b){var d;a.addEventListener?a.addEventListener(c,b,d||!1):a.attachEvent&&a.attachEvent("on"+c,b)},E=function(a,c,b){var d;a.removeEventListener?a.removeEventListener(c,b,d||!1):a.detachEvent&&a.detachEvent("on"+c,b)};var F=function(a,c,b){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(b){var e=function(a){b(a);E(d,"load",e);E(d,"error",e)};D(d,"load",e);D(d,"error",e)}d.src=c;a.google_image_requests.push(d)};var G=function(a,c){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&c.call(null,a[b],b,a)};var H=.01,I=function(a){var c="";G(a,function(a,d){if(0===a||a)c+="&"+d+"="+("function"==typeof encodeURIComponent?encodeURIComponent(a):escape(a))});return c};var J;n:{var K=g.navigator;if(K){var L=K.userAgent;if(L){J=L;break n}}J=""}var M=function(a){var c=J;return-1!=c.indexOf(a)};var N=function(){return M("Opera")||M("OPR")},O=function(){return M("Edge")||M("Trident")||M("MSIE")},P=N,Q=O;var R=P();Q();if(R&&g.opera){var l=g.opera.version;"function"==m()&&l()};var S=function(a){var c,b="html5-mon",d=1;try{if(d=d||H,Math.random()>>0),ca=0,da=function(a,c,b){return a.call.apply(a.bind,arguments)},ea=function(a,c,b){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var b=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(b,d);return a.apply(c,b)}}return function(){return a.apply(c,arguments)}},t=function(a,c,b){t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?da:ea;return t.apply(null,arguments)},u=Date.now||function(){return+new Date},fa=function(a,c){function b(){}b.prototype=c.prototype;a.cb=c.prototype;a.prototype=new b;a.$a=function(a,b,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return c.prototype[b].apply(a,g)}};var ga=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ha=function(a){return Array.prototype.join.call(arguments,"")},v=function(a,c){return ac?1:0};var w=window;var x=function(a,c){this.width=a;this.height=c};x.prototype.clone=function(){return new x(this.width,this.height)};var ia=function(a,c){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&c.call(void 0,a[b],b,a)};var la=function(a,c){var b=ja;try{if(1>b.Xa){var d=b.Ea+a+("&"+ka(c,1)),d=d.substring(0,2E3);y(l,d)}}catch(e){}},ka=function(a,c){var b=[];ia(a,function(a,e){var f=null;if(aa(a)&&2>c)f=ka(a,c+1);else if(0===a||a)f=String(a);f&&b.push(e+"="+encodeURIComponent(f))});return b.join("&")},y=function(a,c){a.google_image_requests||(a.google_image_requests=[]);var b=a.document.createElement("img");b.src=c;a.google_image_requests.push(b)};var z=function(a){a=parseInt(a,10);return isNaN(a)?0:a},A=function(a,c){return/^true$/.test(a)?!0:/^false$/.test(a)?!1:c};var ma=Array.prototype.filter?function(a,c,b){return Array.prototype.filter.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=[],f=0,g=q(a)?a.split(""):a,h=0;h<d;h++)if(h in g){var p=g[h];c.call(b,p,h,a)&&(e[f++]=p)}return e},na=Array.prototype.map?function(a,c,b){return Array.prototype.map.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=Array(d),f=q(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=c.call(b,f[g],g,a));return e},oa=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},pa=function(a){var c=a.length;if(0<c){for(var b=Array(c),d=0;dparseFloat(va)){G=String(xa);break a}}G=va}var ya=G,za={},H=function(a){var c;if(!(c=za[a])){c=0;for(var b=ga(String(ya)).split("."),d=ga(String(a)).split("."),e=Math.max(b.length,d.length),f=0;0==c&&f<e;f++){var g=b[f]||"",h=d[f]||"",p=RegExp("(\\d*)(\\D*)","g"),J=RegExp("(\\d*)(\\D*)","g");do{var K=p.exec(g)||["","",""],L=J.exec(h)||["","",""];if(0==K[0].length&&0==L[0].length)break;c=v(0==K[1].length?0:parseInt(K[1],10),0==L[1].length?0:parseInt(L[1],10))||v(0==K[2].length,0==L[2].length)||v(K[2],L[2])}while(0==c)}c=za[a]=0<=c}return c},Aa=l.document,Ba=Aa&&D?ua()||("CSS1Compat"==Aa.compatMode?parseInt(ya,10):5):void 0;!E&&!D||D&&9<=Number(Ba)||E&&H("1.9.1");D&&H("9");var I=function(){this.B=new XMLHttpRequest};I.prototype.get=function(a,c){if(this.B&&(0==this.B.readyState||4==this.B.readyState))try{this.B.onreadystatechange=t(this.Fa,this,c),this.B.open("GET",a,!0),this.B.send(null)}catch(b){c()}};I.prototype.Fa=function(a){4==this.B.readyState&&a()};var Ca=function(a,c,b){var d=function(){window.top.location=c},e=new I;b?e.get(a,b):e.get(a,d)},M=function(a,c,b,d){this.ja=a;this.Ja=c;this.ka=null;this.ea=b;this.oa=d;this.C=this.aa=this.H=this.D=this.G=!1;this.ba=void 0;this.u=this.L=this.P=null;this.la=this.da=this.wa=this.La=this.Aa=this.U=this.S=this.ga=this.qa=this.ia=this.Ba=0};M.prototype.Ha=function(){this.S=u();this.G=!1;Da(this)};M.prototype.pa=function(){try{this.u&&4==this.u.readyState&&this.D&&(this.U=u(),this.D=!1,this.u.responseText&&0<this.u.responseText.length&&(this.P="tel:"+this.u.responseText))}finally{Da(this)}};M.prototype.Za=function(){this.ga=u();this.C=!1;Da(this)};var Da=function(a){a.H||(a.G||a.D?a.C||Ea(a):(a.C&&(a.C=!1,window.clearTimeout(a.ba),a.ba=void 0),Ea(a)))},Ea=function(a){if(!a.H){a.H=!0;a.aa=!0;var c=0==a.S?0:a.S-a.ia,b=0==a.U?0:a.U-a.qa,d=0==a.ga?0:a.ga-a.Ba,e=a.L&&a.L.B?a.L.B.status:"noreq",f=a.u?a.u.status:"noreq",g=/&ctype=\d+/.exec(a.ja),g=g?g[0]:"";a.Aa++;var h=0;0!=a.wa&&0!=a.da&&(h=a.da-a.wa);a.ka=["//googleads.g.doubleclick.net/pagead/gen_204?id=ctc_metrics",g,"&dc="+a.la,"&ec="+a.La,"&rc="+a.Aa,"&ct="+h,"&ctc_num="+a.ea,"&ctc_gvn="+a.P,"&ctc_cs_time="+c,"&ctc_gv_time="+b,"&ctc_to_time="+d,"&ctc_cs_status="+e,"&ctc_gv_status="+f].join("");(new I).get(a.ka,t(a.za,a));window.setTimeout(t(a.za,a),2E3)}};M.prototype.za=function(){this.aa&&(this.C=this.D=this.G=this.aa=!1,null!=this.oa?this.oa(this.P||this.ea):window.top.location=this.P||this.ea)};var Fa=function(a){var c=u();a.G||a.D||a.C?a.la++:a.da=c;var b=!1,d=!1,e=!1;a.G||(a.G=!0,a.H=!1,a.ia=c,a.S=c,d=!0);a.D||null!=a.P||(a.D=!0,a.H=!1,a.qa=c,a.U=c,e=!0);a.C||(a.C=!0,a.H=!1,a.Ba=c,b=!0);b&&(a.ba=window.setTimeout(t(a.Za,a),2E3));d&&(a.L=new I,a.L.get(a.ja,t(a.Ha,a)));if(e)try{a.u=new XMLHttpRequest,a.u.onreadystatechange=t(a.pa,a),a.u.open("GET",a.Ja,!0),a.u.send(null)}catch(f){a.pa()}};m("ctc_bd",Ca);m("init_gvc",function(a,c,b,d){return new M(a,c,b,d)});m("ctc_bd_gv",function(a){Fa(a)});var Ga=function(){this.ma=this.ma;this.Ua=this.Ua};Ga.prototype.ma=!1;D&&H("9");!F||H("528");E&&H("1.9b")||D&&H("8")||sa&&H("9.5")||F&&H("528");E&&!H("8")||D&&H("9");var N=function(a,c,b){Ga.call(this);this.xa=a;this.Qa=c||0;this.Oa=b;this.Ga=t(this.na,this)};fa(N,Ga);N.prototype.J=0;N.prototype.start=function(a){this.stop();var c=this.Ga;a=void 0!==a?a:this.Qa;if("function"!=n(c))if(c&&"function"==typeof c.handleEvent)c=t(c.handleEvent,c);else throw Error("Invalid listener argument");this.J=2147483647<Number(a)?-1:l.setTimeout(c,a||0)};N.prototype.stop=function(){0!=this.J&&l.clearTimeout(this.J);this.J=0};N.prototype.na=function(){this.J=0;this.xa&&this.xa.call(this.Oa)};var Ha="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""},Ia=function(){};Ia.prototype.next=function(){throw Ha;};Ia.prototype.Ca=function(){return this};var O=function(a,c){this.w={};this.g=[];this.Y=this.b=0;var b=arguments.length;if(1<b){if(b%2)throw Error("Uneven number of arguments");for(var d=0;d<b;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};O.prototype.I=function(){P(this);for(var a=[],c=0;c2*this.b&&P(this),!0):!1};var P=function(a){if(a.b!=a.g.length){for(var c=0,b=0;c<a.g.length;){var d=a.g[c];Q(a.w,d)&&(a.g[b++]=d);c++}a.g.length=b}if(a.b!=a.g.length){for(var e={},b=c=0;c<a.g.length;)d=a.g[c],Q(e,d)||(a.g[b++]=d,e[d]=1),c++;a.g.length=b}};k=O.prototype;k.get=function(a,c){return Q(this.w,a)?this.w[a]:c};k.set=function(a,c){Q(this.w,a)||(this.b++,this.g.push(a),this.Y++);this.w[a]=c};k.addAll=function(a){var c;if(a instanceof O)c=a.O(),a=a.I();else{c=[];var b=0,d;for(d in a)c[b++]=d;b=[];d=0;for(var e in a)b[d++]=a[e];a=b}for(e=0;e<c.length;e++)this.set(c[e],a[e])};k.forEach=function(a,c){for(var b=this.O(),d=0;d=d.g.length)throw Ha;var e=d.g[c++];return a?e:d.w[e]};return e};var Q=function(a,c){return Object.prototype.hasOwnProperty.call(a,c)};var Ja=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Ka=function(a,c){if(a)for(var b=a.split("&"),d=0;d<b.length;d++){var e=b[d].indexOf("="),f=null,g=null;0<=e?(f=b[d].substring(0,e),g=b[d].substring(e+1)):f=b[d];c(f,g?decodeURIComponent(g.replace(/\+/g," ")):"")}},La=function(a){if(a[1]){var c=a[0],b=c.indexOf("#");0b?a[1]="?":b==c.length-1&&(a[1]=void 0)}return a.join("")},Ma=function(a,c,b){if("array"==n(c))for(var d=0;d<c.length;d++)Ma(a,String(c[d]),b);else null!=c&&b.push("&",a,""===c?"":"=",encodeURIComponent(String(c)))},Na=function(a,c,b){for(b=b||0;b<c.length;b+=2)Ma(c[b],c[b+1],a);return a},Oa=function(a,c){return La(2==arguments.length?Na([a],arguments[1],0):Na([a],arguments,1))},Pa=function(a,c,b){a=[a,"&",c];null!=b&&a.push("=",encodeURIComponent(String(b)));return La(a)},Qa=function(a,c,b,d){for(var e=b.length;0<=(c=a.indexOf(b,c))&&cc)throw Error("Bad port number "+c);a.W=c}else a.W=null},Va=function(a,c,b){S(a);c instanceof U?(a.s=c,a.s.fa(a.j)):(b||(c=V(c,$a)),a.s=new U(c,0,a.j))},S=function(a){if(a.Ra)throw Error("Tried to modify a read-only Uri");};R.prototype.fa=function(a){this.j=a;this.s&&this.s.fa(a);return this};var T=function(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},V=function(a,c,b){return q(a)?(a=encodeURI(a).replace(c,ab),b&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ab=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Wa=/[#\/\?@]/g,Ya=/[\#\?:]/g,Xa=/[\#\?]/g,$a=/[\#\?@]/g,Za=/#/g,U=function(a,c,b){this.b=this.a=null;this.h=a||null;this.j=!!b},W=function(a){a.a||(a.a=new O,a.b=0,a.h&&Ka(a.h,function(c,b){a.add(decodeURIComponent(c.replace(/\+/g," ")),b)}))};k=U.prototype;k.add=function(a,c){W(this);this.h=null;a=X(this,a);var b=this.a.get(a);b||this.a.set(a,b=[]);b.push(c);this.b+=1;return this};k.remove=function(a){W(this);a=X(this,a);return this.a.M(a)?(this.h=null,this.b-=this.a.get(a).length,this.a.remove(a)):!1};k.M=function(a){W(this);a=X(this,a);return this.a.M(a)};k.O=function(){W(this);for(var a=this.a.I(),c=this.a.O(),b=[],d=0;d<c.length;d++)for(var e=a[d],f=0;f<e.length;f++)b.push(c[d]);return b};k.I=function(a){W(this);var c=[];if(q(a))this.M(a)&&(c=oa(c,this.a.get(X(this,a))));else{a=this.a.I();for(var b=0;b<a.length;b++)c=oa(c,a[b])}return c};k.set=function(a,c){W(this);this.h=null;a=X(this,a);this.M(a)&&(this.b-=this.a.get(a).length);this.a.set(a,[c]);this.b+=1;return this};k.get=function(a,c){var b=a?this.I(a):[];return 0<b.length?String(b[0]):c};k.toString=function(){if(this.h)return this.h;if(!this.a)return"";for(var a=[],c=this.a.O(),b=0;b<c.length;b++)for(var d=c[b],e=encodeURIComponent(String(d)),d=this.I(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}return this.h=a.join("&")};k.clone=function(){var a=new U;a.h=this.h;this.a&&(a.a=this.a.clone(),a.b=this.b);return a};var X=function(a,c){var b=String(c);a.j&&(b=b.toLowerCase());return b};U.prototype.fa=function(a){a&&!this.j&&(W(this),this.h=null,this.a.forEach(function(a,b){var d=b.toLowerCase();b!=d&&(this.remove(b),this.remove(d),0<a.length&&(this.h=null,this.a.set(X(this,d),pa(a)),this.b+=a.length))},this));this.j=a};var ja;ja=new function(){this.Ea="http"+("http:"===w.location.protocol?"":"s")+"://pagead2.googlesyndication.com/pagead/gen_204?id=";this.Xa=Math.random()};var cb=function(a){var c=bb;return function(){var b=this||l,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),d=c(a[ba]||(a[ba]=++ca),arguments);return b.hasOwnProperty(d)?b[d]:b[d]=a.apply(this,arguments)}},bb=function(a,c){for(var b=[a],d=c.length-1;0=b.length)return b;b="9"}"8"!=b&&"9"!=b||db(c);return Pa(a,"bg",b)},db=cb(function(a){var c={};c.bg=a;la("bg",c)});var fb={d:11,l:41,q:76,l_m:77,l_l:78,l_s:79,l_d:80,l_c:81,l_t:82,l_i:83},gb={label:"label",event_source:"es",event_data:"d"};var Y=cb(function(a,c,b,d){d=d||{};d.i=a.Ia;d.t=a.Ya;d.c=c;d.m=b;d.lp=a.Sa;a.experimentId&&(d.e=a.experimentId);a.ra&&(d.gqi=a.ra);a.ya&&(d.qqi=a.ya);a.Wa(d)}),hb=function(a){return function(c,b,d){var e={};d&&(e.jsl=d);b&&(e.jsf=b);Y(a,"j",c,e)}},ib=function(a){la("html5-mon",a)};var jb=A("true",!0),kb=A("false",!1),lb=A("false",!1),Z=function(a,c,b,d,e,f,g){this.R=a;this.v=c;(a=this.v.monitoring)&&b&&(this.A={Ia:a.creativeId||-1,Ya:a.templateId||-1,experimentId:a.experimentId,ab:a.reportErrors||!1,bb:a.reportPerf||!1,Wa:b,Sa:a.layoutPath,ra:a.gqi,ya:a.qqi});this.ta=r(d)?d:0;this.ua=r(e)?e:0;this.Pa=r(f)?f:0;this.ca=q(g)?document.getElementById(g):null;this.ha=new N(this.Va,1E4,this);this.F=[];this.$="";this.Z=null;this.R.registerApplicationHandler("exit",t(this.sa,this));jb&&mb(this);kb&&this.R.registerApplicationHandler("interactions",t(this.Ma,this));lb&&this.R.registerApplicationHandler("url_update",t(this.Na,this))};Z.prototype.sa=function(a,c){var b=a.d;"array"==n(b)&&(this.F.push(b[b.length-1]),nb(this,b)?(b=this.ha,b.stop(),b.na()):0!=this.ha.J||this.ha.start());if(a.o)this.Ta();else if(nb(this,a.d))if(this.$=a.br||"",this.Z=a.be||null,b=t(this.Ka,this,a.f,a.c,a.r,c),this.A){var d=this.A;try{b()}catch(h){b=hb(d);d=h.toString();h.name&&-1==d.indexOf(h.name)&&(d+=": "+h.name);h.message&&-1==d.indexOf(h.message)&&(d+=": "+h.message);if(h.stack){var e=h.stack,f=d;try{-1==e.indexOf(f)&&(e=f+"\n"+e);for(var g;e!=g;)g=e,e=e.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");d=e.replace(/\n */g,"\n")}catch(p){d=f}}b(d,h.lineNumber,h.fileName)}}else b()};var mb=function(a){w.addEventListener("message",t(function(a){aa(a.data)&&"-2046390954"==a.data.n&&a.data.er&&this.sa(a.data.er,(C("Chrome")||C("CriOS"))&&!(C("Opera")||C("OPR"))&&!C("Edge"))},a),!1);a.R.sendMessage("exit-pmcfg","-2046390954")};Z.prototype.Ta=function(){};var pb=function(a,c){return"d"==c||"l_d"==c?ob(a,"exit_url_directions"):ob(a,"exit_url_place")},qb=function(a,c){var b;if(b=a.A)b=(new R(c)).s.get("adurl"),b=void 0==b||""==b||"undefined"==b;b&&Y(a.A,"be","1")},rb=function(a,c){var b=a.v.redirect_url;return b?c?Oa(b,"ctype",c):b:(a.A&&Y(a.A,"be","3"),"")},tb=function(a,c){var b=sb(a,"adData");return b&&b[0]&&b[0][c]},ob=function(a,c){var b=sb(a,"locationData");return b&&b[0]&&b[0][c]},sb=function(a,c){var b=a.v.google_template_data;return b&&b[c]},nb=function(a,c){var b;if(!(b="array"!=n(c))){b=c[c.length-1];var d=ub(a);b=!(a.va(b)&&b.x<d.width&&b.y<d.height&&0<=b.x&&0b||b>=a.Pa)&&d>=g&&d=h&&e<=f}return b},ub=function(a){var c=a.v.google_width,b=a.v.google_height;a.ca&&(c=a.ca.clientWidth,b=a.ca.clientHeight);return new x(c,b)};Z.prototype.va=function(a){return null!=a&&r(a.x)&&r(a.y)&&r(a.t)&&r(a.e)};Z.prototype.Va=function(){if("array"==n(this.F)&&this.A){var a=na(ma(this.F,this.va),function(a){return[a.x.toFixed(),a.y.toFixed(),a.t,a.e].join("_")}),a=ha(nb(this,this.F)?"1!":"0!",a.length,"!",this.F.length-a.length,"!",a.join("~"));Y(this.A,"cd",a);this.F=[]}};Z.prototype.Ma=function(a){a=a.i;var c=this.v.google_ait_url,b;for(b in gb)if(b in a){for(var d=gb[b],e=a[b],f=d,g=c.search(Ra),h=0,p=void 0,J=[];0

 

// https://tpc.googlesyndication.com/pagead/js/r20160218/r20110914/abg.js

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s