Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html><html> <head> <meta http-equiv="X-UA-Compatible" content="
- IE=Edge" />
- <script charset="UTF-8"
- src="/media/l10n/20130628170354/pt_PT.js<http://www.rdio.com/media/l10n/20130628170354/pt_PT.js>;
- "></script>
- <script charset="UTF-8" type="text/javascript" > /*! LAB.js (LABjs ::
- Loading And Blocking JavaScript) v2.0.3 (c) Kyle Simpson MIT
- License*/(function(o){var
- K=o.$LAB,y="UseLocalXHR",z="AlwaysPreserveOrder",u="AllowDuplicates",A="CacheBust",B="BasePath",C=/^[^?#]*\//.exec(location.href)[0],D=/^\w+\:\/\/\/?[^\/]+/.exec(C)[0],i=document.head||document.getElementsByTagName("head"),L=(o.opera&&Object.prototype.toString.call(o.opera)=="[object
- Opera]")||("MozAppearance"in
- document.documentElement.style),q=document.createElement("script"),E=typeof
- q.preload=="boolean",r=E||(q.readyState&&q.readyState=="uninitialized"),F=!r&&q.async===true,M=!r&&!F&&!L;function
- G(a){return Object.prototype.toString.call(a)=="[object Function]"}function
- H(a){return Object.prototype.toString.call(a)=="[object Array]"}function
- N(a,c){var b=/^\w+\:\/\//;if(/^\/\/\/?/.test(a)){a=location.protocol+a}else
- if(!b.test(a)&&a.charAt(0)!="/"){a=(c||"")+a}return
- b.test(a)?a:((a.charAt(0)=="/"?D:C)+a)}function s(a,c){for(var b in
- a){if(a.hasOwnProperty(b)){c[b]=a[b]}}return c}function O(a){var
- c=false;for(var
- b=0;b<a.scripts.length;b++){if(a.scripts[b].ready&&a.scripts[b].exec_trigger){c=true;a.scripts[b].exec_trigger();a.scripts[b].exec_trigger=null}}return
- c}function
- t(a,c,b,d){a.onload=a.onreadystatechange=function(){if((a.readyState&&a.readyState!="complete"&&a.readyState!="loaded")||c[b])return;a.onload=a.onreadystatechange=null;d()}}function
- I(a){a.ready=a.finished=true;for(var
- c=0;c<a.finished_listeners.length;c++){a.finished_listeners[c]()}a.ready_listeners=[];a.finished_listeners=[]}function
- P(d,f,e,g,h){setTimeout(function(){var a,c=f.real_src,b;if("item"in
- i){if(!i[0]){setTimeout(arguments.callee,25);return}i=i[0]}a=document.createElement("script");if(f.type)a.type=f.type;if(f.charset)a.charset=f.charset;if(h){if(r){e.elem=a;if(E){a.preload=true;a.onpreload=g}else{a.onreadystatechange=function(){if(a.readyState=="loaded")g()}}a.src=c}else
- if(h&&c.indexOf(D)==0&&d[y]){b=new
- XMLHttpRequest();b.onreadystatechange=function(){if(b.readyState==4){b.onreadystatechange=function(){};e.text=b.responseText+"\n//@
- sourceURL="+c;g()}};b.open("GET",c);b.send()}else{a.type="text/cache-script";t(a,e,"ready",function(){i.removeChild(a);g()});a.src=c;i.insertBefore(a,i.firstChild)}}else
- if(F){a.async=false;t(a,e,"finished",g);a.src=c;i.insertBefore(a,i.firstChild)}else{t(a,e,"finished",g);a.src=c;i.insertBefore(a,i.firstChild)}},0)}function
- J(){var
- l={},Q=r||M,n=[],p={},m;l[y]=true;l[z]=false;l[u]=false;l[A]=false;l[B]="";function
- R(a,c,b){var d;function
- f(){if(d!=null){d=null;I(b)}}if(p[c.src].finished)return;if(!a[u])p[c.src].finished=true;d=b.elem||document.createElement("script");if(c.type)d.type=c.type;if(c.charset)d.charset=c.charset;t(d,b,"finished",f);if(b.elem){b.elem=null}else
- if(b.text){d.onload=d.onreadystatechange=null;d.text=b.text}else{d.src=c.real_src}i.insertBefore(d,i.firstChild);if(b.text){f()}}function
- S(c,b,d,f){var
- e,g,h=function(){b.ready_cb(b,function(){R(c,b,e)})},j=function(){b.finished_cb(b,d)};b.src=N(b.src,c[B]);b.real_src=b.src+(c[A]?((/\?.*$/.test(b.src)?"&_":"?_")+~~(Math.random()*1E9)+"="):"");if(!p[b.src])p[b.src]={items:[],finished:false};g=p[b.src].items;if(c[u]||g.length==0){e=g[g.length]={ready:false,finished:false,ready_listeners:[h],finished_listeners:[j]};P(c,b,e,((f)?function(){e.ready=true;for(var
- a=0;a<e.ready_listeners.length;a++){e.ready_listeners[a]()}e.ready_listeners=[]}:function(){I(e)}),f)}else{e=g[0];if(e.finished){j()}else{e.finished_listeners.push(j)}}}function
- v(){var e,g=s(l,{}),h=[],j=0,w=false,k;function
- T(a,c){a.ready=true;a.exec_trigger=c;x()}function
- U(a,c){a.ready=a.finished=true;a.exec_trigger=null;for(var
- b=0;b<c.scripts.length;b++){if(!c.scripts[b].finished)return}c.finished=true;x()}function
- x(){while(j<h.length){if(G(h[j])){try{h[j++]()}catch(err){}continue}else
- if(!h[j].finished){if(O(h[j]))continue;break}j++}if(j==h.length){w=false;k=false}}function
- V(){if(!k||!k.scripts){h.push(k={scripts:[],finished:true})}}e={script:function(){for(var
- f=0;f<arguments.length;f++){(function(a,c){var b;if(!H(a)){c=[a]}for(var
- d=0;d<c.length;d++){V();a=c[d];if(G(a))a=a();if(!a)continue;if(H(a)){b=[].slice.call(a);b.unshift(d,1);[].splice.apply(c,b);d--;continue}if(typeof
- a=="string")a={src:a};a=s(a,{ready:false,ready_cb:T,finished:false,finished_cb:U});k.finished=false;k.scripts.push(a);S(g,a,k,(Q&&w));w=true;if(g[z])e.wait()}})(arguments[f],arguments[f])}return
- e},wait:function(){if(arguments.length>0){for(var
- a=0;a<arguments.length;a++){h.push(arguments[a])}k=h[h.length-1]}else
- k=false;x();return
- e}};return{script:e.script,wait:e.wait,setOptions:function(a){s(a,g);return
- e}}}m={setGlobalDefaults:function(a){s(a,l);return
- m},setOptions:function(){return
- v().setOptions.apply(null,arguments)},script:function(){return
- v().script.apply(null,arguments)},wait:function(){return
- v().wait.apply(null,arguments)},queueScript:function(){n[n.length]={type:"script",args:[].slice.call(arguments)};return
- m},queueWait:function(){n[n.length]={type:"wait",args:[].slice.call(arguments)};return
- m},runQueue:function(){var
- a=m,c=n.length,b=c,d;for(;--b>=0;){d=n.shift();a=a[d.type].apply(null,d.args)}return
- a},noConflict:function(){o.$LAB=K;return m},sandbox:function(){return
- J()}};return
- m}o.$LAB=J();(function(a,c,b){if(document.readyState==null&&document[a]){document.readyState="loading";document[a](c,b=function(){document.removeEventListener(c,b,false);document.readyState="complete"},false)}})("addEventListener","DOMContentLoaded")})(this);"object"!==typeof
- JSON&&(JSON={});(function(){function
- l(a){return 10>a?"0"+a:a}function q(a){r.lastIndex=0;return
- r.test(a)?'"'+a.replace(r,function(a){var c=t[a];return"string"===typeof
- c?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function
- n(a,k){var c,d,h,p,g=e,f,b=k[a];b&&("object"===typeof
- b&&"function"===typeof b.toJSON)&&(b=b.toJSON(a));"function"===typeof
- j&&(b=j.call(k,a,b));switch(typeof b){case "string":return q(b);case
- "number":return isFinite(b)?String(b):"null";case "boolean":case
- "null":return String(b);case
- "object":if(!b)return"null";e+=m;f=[];if("[object
- Array]"===Object.prototype.toString.apply(b)){p=b.length;for(c=0;c<p;c+=1)f[c]=n(c,b)||"null";h=0===f.length?"[]":e?"[\n"+e+f.join(",\n"+e)+"\n"+g+"]":"["+f.join(",")+"]";e=g;return
- h}if(j&&"object"===typeof j){p=j.length;for(c=0;c<p;c+=1)"string"===typeof
- j[c]&&(d=j[c],(h=n(d,b))&&f.push(q(d)+(e?": ":":")+h))}else for(d in
- b)Object.prototype.hasOwnProperty.call(b,d)&&(h=n(d,b))&&f.push(q(d)+(e?":
- ":":")+h);h=0===f.length?"{}":e?"{\n"+e+f.join(",\n"+e)+"\n"+g+"}":"{"+f.join(",")+"}";e=g;return
- h}}"function"!==typeof
- Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return
- isFinite(this.valueOf())?this.getUTCFullYear()+"-"+l(this.getUTCMonth()+1)+"-"+l(this.getUTCDate())+"T"+l(this.getUTCHours())+":"+l(this.getUTCMinutes())+":"+l(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return
- this.valueOf()});var
- s=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,m,t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},j;"function"!==typeof
- JSON.stringify&&(JSON.stringify=function(a,k,c){var
- d;m=e="";if("number"===typeof c)for(d=0;d<c;d+=1)m+="
- ";else"string"===typeof c&&(m=c);if((j=k)&&"function"!==typeof
- k&&("object"!==typeof k||"number"!==typeof k.length))throw
- Error("JSON.stringify");return n("",{"":a})});"function"!==typeof
- JSON.parse&&(JSON.parse=function(a,e){function c(a,d){var
- g,f,b=a[d];if(b&&"object"===typeof b)for(g in
- b)Object.prototype.hasOwnProperty.call(b,g)&&(f=c(b,g),void
- 0!==f?b[g]=f:delete b[g]);return e.call(a,d,b)}var
- d;a=String(a);s.lastIndex=0;s.test(a)&&(a=a.replace(s,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return
- d=eval("("+a+")"),"function"===typeof e?c({"":d},""):d;throw new
- SyntaxError("JSON.parse");})})(); /*jshint evil:true *//*globals $LAB
- ActiveXObject */((function(){function time(a){try{typeof
- console!="undefined"&&console.time&&console.time(a),Env.timers[a]=new
- Date}catch(b){}}function timeEnd(a){try{typeof
- console!="undefined"&&console.timeEnd&&console.timeEnd(a),Env.timers[a]=new
- Date-Env.timers[a]}catch(b){}}function defaultPathFactory(a){return
- a.ext?a.file+"."+a.ext:a.file}function getXhr(){return
- root.XMLHttpRequest?new XMLHttpRequest:new
- ActiveXObject("MSXML2.XMLHTTP.3.0")}function
- getCDNForResource(a){var b=0;for(var
- c=0;c<a.length;c++)b+=a.charCodeAt(c);return
- resourceBases[b%resourceBases.length]}function
- flattenList(a,b){if(!a)return[];var c=a.length,d=[],e,f,g,h,i;for(var
- j=0;j<c;j++){e=a[j][0],e.charAt(e.length-1)!=="/"&&(e+="/"),b||(resourceBases.length>0&&e.indexOf("//")===-1?e="//"+getCDNForResource(e)+resourceBase+e:e=resourceBase+e),f=a[j][1],g=f.length;for(var
- k=0;k<g;k++)h=f[k],typeof
- h=="string"?d.push(e+h):(i=pathFactories[h.ext]||defaultPathFactory,d.push(e+i(h)))}return
- d}function loadJavascript(target,options){var
- fileList=[],toLoad=["dependencies","scripts","models"];options.dev&&toLoad.splice(1,0,"devDependencies");for(var
- i=0;i<toLoad.length;i++)fileList=fileList.concat(flattenList(target[toLoad
- [i]]));time("loading.js"),$LAB.setOptions({AlwaysPreserveOrder:!0}).script(fileList).wait(function(){timeEnd("loading.js");try{eval(target.main).call(root,options.mainOptions)}catch(err){console.error(err.stack)}})}function
- loadStyles(a,b){var c=["externalCss","css"];b.dev&&c.push("less");var
- d,e,f,g;for(var
- h=0;h<c.length;h++){e=c[h],f=flattenList(a[e],e==="externalCss"),g=f.length;for(var
- i=0;i<g;i++)d=document.createElement("link"),d.rel=e==="less"?"stylesheet/less":"stylesheet",d.type="text/css",d.href=f[i],headEl.appendChild(d)}}"use
- strict";var
- root=this,headEl=document.getElementsByTagName("head")[0],targetBase="/",resourceBase="",resourceBases=[],pathFactories,Target={load:function(a,b){var
- c=getXhr(),d=targetBase+a+".json",e;c.open("GET",d),c.onreadystatechange=function(){if(c.readyState===4)if(c.status===200){try{e=JSON.parse(c.responseText)}catch(d){throw
- console.error("Could not parse target:",a),d}Target.flatten(e,b)}else
- b("Could not load "+a)},c.send(null)},flatten:function(a,b){function
- e(e,f){if(e)return
- b(e);d.push(f),d.length===c.length&&(d.push(a),b(null,Target.merge(d)))}var
- c=a.targetDependencies,d=[],f=c&&c.length;if(f)for(var
- g=0;g<f;g++)Target.load(c[g],e);else b(null,a)},merge:function(a){var
- b,c={},d=a.length;for(var
- e=0;e<d;e++){b=a[e];for(var f in
- b)b.hasOwnProperty(f)&&(c[f]=Target.mergeField(c[f],b[f]))}return
- c},mergeField:function(a,b){if(!a)return b;if(a instanceof Array)return
- a.concat(b);if(typeof b=="string")return b?b:a;for(var c in
- b)b.hasOwnProperty(c)&&(a[c]=b[c]);return
- a}};root.R=root.R||{},R.boot=function(a,b){b=b||{},root.Env=b.environment,Env.timers={},b.targetBase&&(targetBase=b.targetBase),typeof
- targetBase=="function"&&(targetBase=targetBase()),b.resourceBase&&(resourceBase=b.resourceBase),b.resourceBases&&(resourceBases=b.resourceBases),typeof
- resourceBase=="function"&&(resourceBase=resourceBase()),pathFactories=b.pathFactories||{};var
- c="loading.target."+a;time(c),Target.load(a,function(a,d){timeEnd(c);if(a)throw
- new
- Error(a);Env.target=d,b.unstyled||loadStyles(d,b),loadJavascript(d,b)})},R.getCDNForResource=getCDNForResource,R._flattenList=flattenList})).call(this);/***
- class R.TargetMux** A class for selecting a target given the current
- running environment.** It has no JS
- dependencies.**/((function(){function
- b(a,c){this.options=c||{},this.rules=a;var d,e=a.length;for(var
- f=0;f<e;f++)d=a[f],d.rules&&(d.rules=new b(d.rules,c))}"use strict";var
- a=this;b.prototype.tests={pathname:function(a,b){var c=a.pathname;return
- a.pathname==="/"&&a.hash&&(c=a.hash.replace("#","/")),b.test(c)},host:function(a,b){return
- b.test(a.host)},auth:function(a,b){return
- b===!0&&Env.currentUser.key!=="s-1"?!0:b===!1&&Env.currentUser.key==="s-1"?!0:!1},prod:function(a,b){return
- Env.serverInfo.prod===b},zuul:function(a,b){return
- Env.currentUser.features[b]}},b.prototype._checkSecure=function(a,b){return!Env.serverInfo.prod&&!Env.serverInfo
- .simulateDevHttps?b:(b.secure===!0&&a.protocol!=="https:"?a.href=a.href.replace(/^http/,"https"):b.secure===!1&&a.protocol!="http:"&&(a.href=a.href.replace(/^https/,"http")),b)},b.prototype._checkStealth=function(a,b){return
- Env.serverInfo.stealthMode&&b.stealth&&(a.href="/unavailable/"),b},b.prototype.find=function(b){var
- c,d,e,f,g,h,i,j=this.rules.length,k=this.tests.length,l=b;typeof
- b=="string"&&(l=_.clone(a.location),l.pathname=b);for(c=0;c<j;c++){e=this.rules[c];var
- i=!0;for(g in
- this.tests)if(this.tests.hasOwnProperty(g)){f=this.tests[g],h=e[g];if(h!==void
- 0&&!f.call(this,l,h)){i=!1;break}}if(i)return
- e.rules?this._checkSecure(l,e.rules.find(l)||e):this._checkStealth(l,this._checkSecure(l,e))}return
- null},R.TargetMux=b})).call(this); ((function(){"use strict";var
- a=[{host:/[A-Za-z]+\.rdio\.com|^rdio\./,rules:[{pathname:/^\/demo\//,target:"demo",prod:!1},{pathname:/^\/test\//,target:"test"
- ,prod:!1},{pathname:/^\/api\/iframe\//,target:"api-iframe",unstyled:!0},{pathname:/^\/secure_dialog\//,target:"secure",secure:!0},{pathname:/^\/i\//,target
- :"rdio-embed"},{pathname:/^\/account\//,target:"rdio-marketing",secure:!0},{pathname:/^\/confirm-change-email\//,target:"rdio-marketing",secure:!0},{pathname
- :/^\/facebook\/.+/,target:"rdio-marketing",zuul:"landingpage"},{pathname:/^\/developers\//,target:"rdio-dev",zuul:"devsite"},{pathname:/^\/.*/,target:"rdio"
- ,secure:!1}]},{host:/[A-Za-z]+\.vdio\.com|^vdio\./,rules:[{pathname:/^\/demo\//,target:"demo",prod:!1},{pathname:/^\/test\//,target:"test",prod:!1},{pathname
- :/^\/secure_dialog\//,target:"secure",secure:!0},{pathname:/^\/home\//,target:"vdio-marketing",secure:!0},{pathname:/^\/signin\//,target:"vdio-marketing"
- ,secure:!0},{pathname:/^\/legal\/.*/,target:"vdio-marketing",secure:!0},{pathname:/^\/account\//,target:"vdio-marketing",secure:!0},{pathname:/^\/confirm-change-email\//
- ,target:"vdio-marketing",secure:!0},{pathname:/^\/unavailable\//,target:"vdio-marketing",secure:!0},{pathname:/^\/mobile_unsupported\//,target:"vdio-marketing"
- ,secure:!0},{pathname:/^\/$/,target:"vdio-marketing",auth:!1,secure:!0},{pathname:/^\/$/,target:"vdio",auth:!0,secure:!1},{pathname:/^\/.+/,target:"vdio",secure:!1,stealth:!0}]}];R.muxer=new
- R.TargetMux(a)})).call(this);
Advertisement
Add Comment
Please, Sign In to add comment