Advertisement
pastepin57

Untitled

May 10th, 2015
900
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html><html><head><title>Facebook Cross-Domain Messaging helper</title></head><body><script> document.domain = 'facebook.com'; IF(!ARRAY.FROM)ARRAY.FROM=FUNCTION(a){IF(a==NULL)throw NEW TypeError('Object is null or undefined');var b=arguments[1],c=arguments[2],d=this,e=Object(a),f=typeof Symbol==='function'?Symbol.iterator:'@@iterator',g=typeof b==='function',h=typeof e[f]==='function',i=0,j,k;IF(h){j=typeof d==='function'?NEW d():[];var l=e[f](),m;WHILE(!(m=l.next()).done){k=m.VALUE;IF(g)k=b.CALL(c,k,i);j[i]=k;i+=1;}j.LENGTH=i;RETURN j;}var n=e.LENGTH;IF(isNaN(n)||n<0)n=0;j=typeof d==='function'?NEW d(n):NEW ARRAY(n);WHILE(i<n){k=e[i];IF(g)k=b.CALL(c,k,i);j[i]=k;i+=1;}j.LENGTH=i;RETURN j;};
  2. IF(!ARRAY.isArray)ARRAY.isArray=FUNCTION(a){RETURN Object.prototype.toString.CALL(a)=='[object Array]';};
  3. self.__DEV__=self.__DEV__||0;
  4. (FUNCTION(a){FUNCTION b(c,d){IF(this==NULL)throw NEW TypeError('Array.prototype.findIndex called on null or undefined');IF(typeof c!=='function')throw NEW TypeError('predicate must be a function');var e=Object(this),f=e.length>>>0;FOR(var g=0;g<f;g++)IF(c.CALL(d,e[g],g,e))RETURN g;RETURN -1;}IF(!ARRAY.prototype.findIndex)ARRAY.prototype.findIndex=b;IF(!ARRAY.prototype.find)ARRAY.prototype.find=FUNCTION(c,d){IF(this==NULL)throw NEW TypeError('Array.prototype.find called on null or undefined');var e=b.CALL(this,c,d);RETURN e===-1?a:this[e];};})();
  5. (FUNCTION(){var a=Object.prototype.toString,b=Object("a"),c=b[0]!="a";FUNCTION d(e){e=+e;IF(e!==e){e=0;}ELSE IF(e!==0&&e!==(1/0)&&e!==-(1/0))e=(e>0||-1)*Math.FLOOR(Math.ABS(e));RETURN e;}IF(!ARRAY.prototype.map)ARRAY.prototype.map=FUNCTION(e,f){IF(typeof e!='function')throw NEW TypeError();var g,h=this.LENGTH,i=NEW ARRAY(h);FOR(g=0;g<h;++g)IF(g IN this)i[g]=e.CALL(f,this[g],g,this);RETURN i;};IF(!ARRAY.prototype.forEach)ARRAY.prototype.forEach=FUNCTION(e,f){this.map(e,f);};IF(!ARRAY.prototype.filter)ARRAY.prototype.filter=FUNCTION(e,f){IF(typeof e!='function')throw NEW TypeError();var g,h,i=this.LENGTH,j=[];FOR(g=0;g<i;++g)IF(g IN this){h=this[g];IF(e.CALL(f,h,g,this))j.push(h);}RETURN j;};IF(!ARRAY.prototype.every)ARRAY.prototype.every=FUNCTION(e,f){IF(typeof e!='function')throw NEW TypeError();var g=NEW Object(this),h=g.LENGTH;FOR(var i=0;i<h;i++)IF(i IN g)IF(!e.CALL(f,g[i],i,g))RETURN FALSE;RETURN TRUE;};IF(!ARRAY.prototype.some)ARRAY.prototype.some=FUNCTION(e,f){IF(typeof e!='function')throw NEW TypeError();var g=NEW Object(this),h=g.LENGTH;FOR(var i=0;i<h;i++)IF(i IN g)IF(e.CALL(f,g[i],i,g))RETURN TRUE;RETURN FALSE;};IF(!ARRAY.prototype.indexOf)ARRAY.prototype.indexOf=FUNCTION(e,f){var g=this.LENGTH;f|=0;IF(f<0)f+=g;FOR(;f<g;f++)IF(f IN this&&this[f]===e)RETURN f;RETURN -1;};IF(!ARRAY.prototype.lastIndexOf||([0,1].lastIndexOf(0,-3)!=-1))ARRAY.prototype.lastIndexOf=FUNCTION(e){var f=c&&a.CALL(this)=="[object String]"?this.split(""):Object(this),g=f.length>>>0;IF(!g)RETURN -1;var h=g-1;IF(arguments.length>1)h=Math.MIN(h,d(arguments[1]));h=h>=0?h:g-Math.ABS(h);FOR(;h>=0;h--)if(h in f&&e===f[h])return h;return -1;};if(!Array.prototype.reduce)Array.prototype.reduce=function(e){if(typeof e!=='function')throw new TypeError(e+' is not a function');var f=this.length>>>0,g,h,i=arguments.length===2;if(i)g=arguments[1];for(h=0;h<f;++h)if(this.hasOwnProperty(h))if(i===false){g=this[h];i=true;}else g=e(g,this[h],h,this);if(i===false)throw new TypeError('Reduce of empty array with no initial value');return g;};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(e){if(typeof e!=='function')throw new TypeError(e+' is not a function');var f=this.length>>>0,g,h,i=arguments.length===2;if(i)g=arguments[1];for(h=f-1;h>-1;--h)if(this.hasOwnProperty(h))if(i===false){g=this[h];i=true;}else g=e(g,this[h],h,this);if(i===false)throw new TypeError('Reduce of empty array with no initial value');return g;};})();
  6. IF(!DATE.now)DATE.now=FUNCTION(){RETURN NEW DATE().getTime();};
  7. (FUNCTION(){IF(!DATE.prototype.toISOString){var a=FUNCTION(b){IF(b<10)RETURN '0'+b;RETURN b;};DATE.prototype.toISOString=FUNCTION(){IF(!isFinite(this))throw NEW Error('Invalid time value');var b=this.getUTCFullYear();b=(b<0?'-':(b>9999?'+':''))+('00000'+Math.ABS(b)).slice(0<=b&&b<=9999?-4:-6);RETURN b+'-'+a(this.getUTCMonth()+1)+'-'+a(this.getUTCDate())+'T'+a(this.getUTCHours())+':'+a(this.getUTCMinutes())+':'+a(this.getUTCSeconds())+'.'+(this.getUTCMilliseconds()/1000).toFixed(3).slice(2,5)+'Z';};}})();
  8. IF(!FUNCTION.prototype.bind)FUNCTION.prototype.bind=FUNCTION(a){IF(typeof this!='function')throw NEW TypeError('Bind must be called on a function');var b=this,c=ARRAY.prototype.slice,d=c.CALL(arguments,1);FUNCTION e(){var f=b.prototype&&(this instanceof b);RETURN b.apply(!f&&a||this,d.CONCAT(c.CALL(arguments)));}e.prototype=b.prototype;e.displayName='bound:'+(b.displayName||b.name||'(?)');e.toString=FUNCTION f(){RETURN 'bound: '+b;};RETURN e;};
  9.  
  10. (FUNCTION(){var a={},b=FUNCTION(i,j){IF(!i&&!j)RETURN NULL;var k={};IF(typeof i!=='undefined')k.TYPE=i;IF(typeof j!=='undefined')k.signature=j;RETURN k;},c=FUNCTION(i,j){RETURN b(i&&/^[A-Z]/.test(i)?i:(void 0),j&&((j.params&&j.params.LENGTH)||j.returns)?'function('+(j.params?j.params.map(FUNCTION(k){RETURN (/\?/).test(k)?'?'+k.REPLACE('?',''):k;}).join(','):'')+')'+(j.returns?':'+j.returns:''):(void 0));},d=FUNCTION(i,j,k){RETURN i;},e=FUNCTION(i,j,k){IF('sourcemeta' IN __transform_includes)i.__SMmeta=j;IF('typechecks' IN __transform_includes){var l=c(j?j.name:(void 0),k);IF(l)__w(i,l);}RETURN i;},f=FUNCTION(i,j,k){RETURN k.apply(i,j);},g=FUNCTION(i,j,k,l){IF(l&&l.params)__t.apply(i,l.params);var m=k.apply(i,j);IF(l&&l.returns)__t([m,l.returns]);RETURN m;},h=FUNCTION(i,j,k,l,m){IF(m){IF(!m.callId)m.callId=m.module+':'+m.line+':'+m.COLUMN;var n=m.callId;a[n]=(a[n]||0)+1;}RETURN k.apply(i,j);};IF(typeof __transform_includes==='undefined'){__annotator=d;__bodyWrapper=f;}ELSE{__annotator=e;IF('codeusage' IN __transform_includes){__annotator=d;__bodyWrapper=h;__bodyWrapper.__calls=a;}ELSE IF('typechecks' IN __transform_includes){__bodyWrapper=g;}ELSE __bodyWrapper=f;}})();
  11. var JSON;IF(!JSON)JSON={};(FUNCTION(){'use strict';FUNCTION a(j){RETURN j<10?'0'+j:j;}IF(typeof DATE.prototype.toJSON!=='function'){DATE.prototype.toJSON=FUNCTION(j){RETURN isFinite(this.valueOf())?this.getUTCFullYear()+'-'+a(this.getUTCMonth()+1)+'-'+a(this.getUTCDate())+'T'+a(this.getUTCHours())+':'+a(this.getUTCMinutes())+':'+a(this.getUTCSeconds())+'Z':NULL;};String.prototype.toJSON=NUMBER.prototype.toJSON=BOOLEAN.prototype.toJSON=FUNCTION(j){RETURN this.valueOf();};}var b=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d,e,f={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},g;function h(j){c.lastIndex=0;return c.test(j)?'"'+j.replace(c,function(k){var l=f[k];return typeof l==='string'?l:'\\u'+('0000'+k.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+j+'"';}function i(j,k){var l,m,n,o,p=d,q,r=k[j];if(r&&typeof r==='object'&&typeof r.toJSON==='function')r=r.toJSON(j);if(typeof g==='function')r=g.call(k,j,r);switch(typeof r){case 'string':return h(r);case 'number':return isFinite(r)?String(r):'null';case 'boolean':case 'null':return String(r);case 'object':if(!r)return 'null';d+=e;q=[];if(Object.prototype.toString.apply(r)==='[object Array]'){o=r.length;for(l=0;l<o;l+=1)q[l]=i(l,r)||'null';n=q.length===0?'[]':d?'[\n'+d+q.join(',\n'+d)+'\n'+p+']':'['+q.join(',')+']';d=p;return n;}if(g&&typeof g==='object'){o=g.length;for(l=0;l<o;l+=1)if(typeof g[l]==='string'){m=g[l];n=i(m,r);if(n)q.push(h(m)+(d?': ':':')+n);}}else for(m in r)if(Object.prototype.hasOwnProperty.call(r,m)){n=i(m,r);if(n)q.push(h(m)+(d?': ':':')+n);}n=q.length===0?'{}':d?'{\n'+d+q.join(',\n'+d)+'\n'+p+'}':'{'+q.join(',')+'}';d=p;return n;}}if(typeof JSON.stringify!=='function')JSON.stringify=function(j,k,l){var m;d='';e='';if(typeof l==='number'){for(m=0;m<l;m+=1)e+=' ';}else if(typeof l==='string')e=l;g=k;if(k&&typeof k!=='function'&&(typeof k!=='object'||typeof k.length!=='number'))throw new Error('JSON.stringify');return i('',{'':j});};if(typeof JSON.parse!=='function')JSON.parse=function(j,k){var l;function m(n,o){var p,q,r=n[o];if(r&&typeof r==='object')for(p in r)if(Object.prototype.hasOwnProperty.call(r,p)){q=m(r,p);if(q!==(void 0)){r[p]=q;}else delete r[p];}return k.call(n,o,r);}j=String(j);b.lastIndex=0;if(b.test(j))j=j.replace(b,function(n){return '\\u'+('0000'+n.charCodeAt(0).toString(16)).slice(-4);});if(/^[\],:{}\s]*$/.test(j.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').REPLACE(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){l=(eval)('('+j+')');return typeof k==='function'?m({'':l},''):l;}throw new SyntaxError('JSON.parse');};}());
  12. if(JSON.stringify(["\u2028\u2029"])==='["\u2028\u2029"]')JSON.stringify=function(a){var b=/\u2028/g,c=/\u2029/g;return function(d,e,f){var g=a.call(this,d,e,f);if(g){if(-1<g.indexOf('\u2028'))g=g.replace(b,'\\u2028');if(-1<g.indexOf('\u2029'))g=g.replace(c,'\\u2029');}return g;};}(JSON.stringify);
  13. if(typeof Math.log2!=='function')Math.log2=function(a){return Math.log(a)/Math.LN2;};if(typeof Math.log10!=='function')Math.log10=function(a){return Math.log(a)/Math.LN10;};
  14. if(typeof Number.isFinite!=='function')Number.isFinite=function(a){return (typeof a==='number')&&isFinite(a);};if(typeof Number.isNaN!=='function')Number.isNaN=function(a){return (typeof a==='number')&&isNaN(a);};if(typeof Number.EPSILON!=='number')Number.EPSILON=Math.pow(2,-52);if(typeof Number.MAX_SAFE_INTEGER!=='number')Number.MAX_SAFE_INTEGER=Math.pow(2,53)-1;if(typeof Number.MIN_SAFE_INTEGER!=='number')Number.MIN_SAFE_INTEGER=-1*Number.MAX_SAFE_INTEGER;if(typeof Number.isSafeInteger!=='function')Number.isSafeInteger=function(a){return Number.isFinite(a)&&a>=Number.MIN_SAFE_INTEGER&&a<=Number.MAX_SAFE_INTEGER&&Math.floor(a)===a;};
  15. if(!Object.create)Object.create=function(a){var b=typeof a;if(b!='object'&&b!='function')throw new TypeError('Object prototype may only be a Object or null');var c=function(){if(a===null){this.__proto__=a;delete this.__proto__;}};c.prototype=a;return new c();};if(!Object.keys)Object.keys=function a(b){var c=typeof b;if((c!='object'&&c!='function')||b===null)throw new TypeError('Object.keys called on non-object');var d=Object.prototype.hasOwnProperty,e=[];for(var f in b)if(d.call(b,f))e.push(f);return e;};if(!Object.freeze)Object.freeze=function(a){return a;};if(!Object.seal)Object.seal=function(a){return a;};
  16.  
  17. (function(){var a=!({toString:true}).propertyIsEnumerable('toString');if(!a)return;var b=['toString','toLocaleString','valueOf','hasOwnProperty','isPrototypeOf','constructor'];Object.keys=function(c){var d=typeof c;if((d!='object'&&d!='function')||c===null)throw new TypeError('Object.keys called on non-object');var e=Object.prototype.hasOwnProperty,f=[];for(var g in c)if(e.call(c,g))f.push(g);for(var h=0;h<b.length;h++){var i=b[h];if(e.call(c,i))f.push(i);}return f;};Object.assign=function(c,d){if(c==null)throw new TypeError('Object.assign target cannot be null or undefined');var e=Object(c),f=Object.prototype.hasOwnProperty;for(var g=1;g<arguments.length;g++){var h=arguments[g];if(h==null)continue;var i=Object(h);for(var j in i)if(f.call(i,j))e[j]=i[j];for(var k=0;k<b.length;k++){var l=b[k];if(f.call(i,l))e[l]=i[l];}}return e;};})();
  18. (function(){if(Object.assign)return;var a=Object.prototype.hasOwnProperty,b;if(Object.keys&&Object.keys.name!=='object_keys_polyfill'){b=function(c,d){var e=Object.keys(d);for(var f=0;f<e.length;f++)c[e[f]]=d[e[f]];};}else b=function(c,d){for(var e in d)if(a.call(d,e))c[e]=d[e];};Object.assign=function(c,d){if(c==null)throw new TypeError('Object.assign target cannot be null or undefined');var e=Object(c);for(var f=1;f<arguments.length;f++){var g=arguments[f];if(g!=null)b(e,Object(g));}return e;};}());
  19. if({}.hasOwnProperty('__proto__'))Object.prototype.hasOwnProperty=function(a){return function b(c){return c!='__proto__'&&a.call(this,c);};}(Object.prototype.hasOwnProperty);
  20. (function(a){a.__m=function(b,c){b.__SMmeta=c;return b;};})(this);
  21. if(!String.prototype.startsWith)String.prototype.startsWith=function(a){"USE strict";if(this==null)throw TypeError();var b=String(this),c=arguments.length>1?(Number(arguments[1])||0):0,d=Math.min(Math.max(c,0),b.length);return b.indexOf(String(a),c)==d;};if(!String.prototype.endsWith)String.prototype.endsWith=function(a){"USE strict";if(this==null)throw TypeError();var b=String(this),c=b.length,d=String(a),e=arguments.length>1?(Number(arguments[1])||0):c,f=Math.min(Math.max(e,0),c),g=f-d.length;if(g<0)return false;return b.lastIndexOf(d,g)==g;};if(!String.prototype.contains)String.prototype.contains=function(a){"USE strict";if(this==null)throw TypeError();var b=String(this),c=arguments.length>1?(Number(arguments[1])||0):0;return b.indexOf(String(a),c)!=-1;};if(!String.prototype.repeat)String.prototype.repeat=function(a){"USE strict";if(this==null)throw TypeError();var b=String(this);a=Number(a)||0;if(a<0||a===Infinity)throw RangeError();if(a===1)return b;var c='';while(a){if(a&1)c+=b;if((a>>=1))b+=b;}return c;};
  22. if(!String.prototype.trim)String.prototype.trim=function(){if(this==null)throw new TypeError('String.prototype.trim called on null or undefined');return String.prototype.replace.call(this,/^\s+|\s+$/g,'');};
  23. (function(){var a,b=String.prototype.split,c=/()??/.exec("")[1]===a;String.prototype.split=function(d,e){var f=this;if(Object.prototype.toString.call(d)!=="[object RegExp]")return b.call(f,d,e);var g=[],h=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.extended?"x":"")+(d.sticky?"y":""),i=0,d=new RegExp(d.source,h+"g"),j,k,l,m;f+="";if(!c)j=new RegExp("^"+d.source+"$(?!\\s)",h);e=e===a?-1>>>0:e>>>0;while(k=d.exec(f)){l=k.index+k[0].length;if(l>i){g.push(f.slice(i,k.index));if(!c&&k.length>1)k[0].replace(j,function(){for(var n=1;n<arguments.length-2;n++)if(arguments[n]===a)k[n]=a;});if(k.length>1&&k.index<f.length)Array.prototype.push.apply(g,k.slice(1));m=k[0].length;i=l;if(g.length>=e)break;}if(d.lastIndex===k.index)d.lastIndex++;}if(i===f.length){if(m||!d.test(""))g.push("");}else g.push(f.slice(i));return g.length>e?g.slice(0,e):g;};})();
  24. __t=function(a){return a[0];};__w=function(a){return a;};
  25. if(typeof console=='undefined')(function(){function a(){}console={log:a,info:a,warn:a,debug:a,dir:a,error:a};})();
  26. var require,__d;(function(a){var b={},c={},d=['global','require','requireDynamic','requireLazy','module','exports'];require=function(e,f){if(c.hasOwnProperty(e))return c[e];if(!b.hasOwnProperty(e)){if(f)return null;throw new Error('Module '+e+' has not been defined');}var g=b[e],h=g.deps,i=g.factory.length,j,k=[];for(var l=0;l<i;l++){switch(h[l]){case 'module':j=g;break;case 'exports':j=g.exports;break;case 'global':j=a;break;case 'require':j=require;break;case 'requireDynamic':j=require;break;case 'requireLazy':j=null;break;default:j=require.call(null,h[l]);}k.push(j);}g.factory.apply(a,k);c[e]=g.exports;return g.exports;};require.__markCompiled=function(){};__d=function(e,f,g,h){if(typeof g=='function'){b[e]={factory:g,deps:d.concat(f),exports:{}};if(h===3)require.call(null,e);}else c[e]=g;};})(this);
  27. __d("QueryString",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(k){var l=[];Object.keys(k).sort().forEach(function(m){var n=k[m];if(typeof n==='undefined')return;if(n===null){l.push(m);return;}l.push(encodeURIComponent(m)+'='+encodeURIComponent(n));});return l.join('&');}function h(k,l){var m={};if(k==='')return m;var n=k.split('&');for(var o=0;o<n.length;o++){var p=n[o].split('=',2),q=decodeURIComponent(p[0]);if(l&&m.hasOwnProperty(q))throw new URIError('Duplicate key: '+q);m[q]=p.length===2?decodeURIComponent(p[1]):null;}return m;}function i(k,l){return k+(~k.indexOf('?')?'&':'?')+(typeof l==='string'?l:j.encode(l));}var j={encode:g,decode:h,appendToUrl:i};e.exports=j;},null);
  28. __d("resolveWindow",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){var i=window,j=h.split('.');try{for(var l=0;l<j.length;l++){var m=j[l],n=/^frames\[['"]?([a-zA-Z0-9\-_]+)['"]?\]$/.exec(m);if(n){i=i.frames[n[1]];}else if(m==='opener'||m==='parent'||m==='top'){i=i[m];}else return null;}}catch(k){return null;}return i;}e.exports=g;},null);
  29. __d("sprintf",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){for(var i=[],j=1,k=arguments.length;j<k;j++)i.push(arguments[j]);var l=0;return h.replace(/%s/g,function(m){return i[l++];});}e.exports=g;},null);
  30. __d("Log",["sprintf"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={DEBUG:3,INFO:2,WARNING:1,ERROR:0};function i(k,l){var m=Array.prototype.slice.call(arguments,2),n=g.apply(null,m),o=window.console;if(o&&j.level>=l)o[k in o?k:'LOG'](n);}var j={level:-1,Level:h,debug:i.bind(null,'debug',h.DEBUG),info:i.bind(null,'info',h.INFO),warn:i.bind(null,'warn',h.WARNING),error:i.bind(null,'error',h.ERROR)};e.exports=j;},null);
  31. __d("wrapFunction",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={};function h(i,j,k){j=j||'DEFAULT';return function(){var l=j in g?g[j](i,k):i;return l.apply(this,arguments);};}h.setWrapper=function(i,j){j=j||'DEFAULT';g[j]=i;};e.exports=h;},null);
  32. __d("DOMEventListener",["wrapFunction"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h,i;if(window.addEventListener){h=function(k,l,m){m.wrapper=g(m,'entry','DOMEventListener.ADD '+l);k.addEventListener(l,m.wrapper,false);};i=function(k,l,m){k.removeEventListener(l,m.wrapper,false);};}else if(window.attachEvent){h=function(k,l,m){m.wrapper=g(m,'entry','DOMEventListener.ADD '+l);k.attachEvent('ON'+l,m.wrapper);};i=function(k,l,m){k.detachEvent('ON'+l,m.wrapper);};}else i=h=function(){};var j={add:function(k,l,m){h(k,l,m);return {remove:function(){i(k,l,m);k=null;}};},remove:i};e.exports=j;},null);
  33. __d("DOMWrapper",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g,h,i={setRoot:function(j){g=j;},getRoot:function(){return g||document.body;},setWindow:function(j){h=j;},getWindow:function(){return h||self;}};e.exports=i;},null);
  34. __d("emptyFunction",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(i){return function(){return i;};}function h(){}h.thatReturns=g;h.thatReturnsFalse=g(false);h.thatReturnsTrue=g(true);h.thatReturnsNull=g(null);h.thatReturnsThis=function(){return this;};h.thatReturnsArgument=function(i){return i;};e.exports=h;},null);
  35. __d("UserAgent_DEPRECATED",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=false,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;function w(){if(g)return;g=true;var y=navigator.userAgent,z=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(y),aa=/(Mac OS X)|(Windows)|(Linux)/.exec(y);s=/\b(iPhone|iP[ao]d)/.exec(y);t=/\b(iP[ao]d)/.exec(y);q=/Android/i.exec(y);u=/FBAN\/\w+;/i.exec(y);v=/Mobile/i.exec(y);r=!!(/Win64/.exec(y));if(z){h=z[1]?parseFloat(z[1]):(z[5]?parseFloat(z[5]):NaN);if(h&&document&&document.documentMode)h=document.documentMode;var ba=/(?:Trident\/(\d+.\d+))/.exec(y);m=ba?parseFloat(ba[1])+4:h;i=z[2]?parseFloat(z[2]):NaN;j=z[3]?parseFloat(z[3]):NaN;k=z[4]?parseFloat(z[4]):NaN;if(k){z=/(?:Chrome\/(\d+\.\d+))/.exec(y);l=z&&z[1]?parseFloat(z[1]):NaN;}else l=NaN;}else h=i=j=l=k=NaN;if(aa){if(aa[1]){var ca=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(y);n=ca?parseFloat(ca[1].replace('_','.')):true;}else n=false;o=!!aa[2];p=!!aa[3];}else n=o=p=false;}var x={ie:function(){return w()||h;},ieCompatibilityMode:function(){return w()||(m>h);},ie64:function(){return x.ie()&&r;},firefox:function(){return w()||i;},opera:function(){return w()||j;},webkit:function(){return w()||k;},safari:function(){return x.webkit();},chrome:function(){return w()||l;},windows:function(){return w()||o;},osx:function(){return w()||n;},linux:function(){return w()||p;},iphone:function(){return w()||s;},mobile:function(){return w()||(s||t||q||v);},nativeApp:function(){return w()||u;},android:function(){return w()||q;},ipad:function(){return w()||t;}};e.exports=x;},null);
  36. __d("copyProperties",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j,k,l,m,n){h=h||{};var o=[i,j,k,l,m],p=0,q;while(o[p]){q=o[p++];for(var r in q)h[r]=q[r];if(q.hasOwnProperty&&q.hasOwnProperty('toString')&&(typeof q.toString!='undefined')&&(h.toString!==q.toString))h.toString=q.toString;}return h;}e.exports=g;},null);
  37. __d("guid",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){return 'f'+(Math.random()*(1<<30)).toString(16).replace('.','');}e.exports=g;},null);
  38. __d("htmlSpecialChars",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=/&/g,h=/</g,i=/>/g,j=/"/g,k=/'/g;FUNCTION l(m){IF(typeof m=='undefined'||m===NULL||!m.toString)RETURN '';IF(m===FALSE){RETURN '0';}ELSE IF(m===TRUE)RETURN '1';RETURN m.toString().REPLACE(g,'&amp;').REPLACE(j,'&quot;').REPLACE(k,'&#039;').REPLACE(h,'&lt;').REPLACE(i,'&gt;');}e.exports=l;},NULL);
  39. __d("Flash",["DOMEventListener","DOMWrapper","QueryString","UserAgent_DEPRECATED","copyProperties","guid","htmlSpecialChars"],FUNCTION(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={},o,p=h.getWindow().document;FUNCTION q(v){var w=p.getElementById(v);IF(w)w.parentNode.removeChild(w);DELETE n[v];}FUNCTION r(){FOR(var v IN n)IF(n.hasOwnProperty(v))q(v);}FUNCTION s(v){RETURN v.REPLACE(/\d+/g,FUNCTION(w){RETURN '000'.substring(w.LENGTH)+w;});}FUNCTION t(v){IF(!o){IF(j.ie()>=9)g.ADD(window,'unload',r);o=TRUE;}n[v]=v;}var u={embed:FUNCTION(v,w,x,y){var z=l();v=m(v).REPLACE(/&amp;/g,'&');x=k({allowscriptaccess:'always',flashvars:y,movie:v},x||{});IF(typeof x.flashvars=='object')x.flashvars=i.encode(x.flashvars);var aa=[];FOR(var ba IN x)IF(x.hasOwnProperty(ba)&&x[ba])aa.push('<param name="'+m(ba)+'" value="'+m(x[ba])+'">');var ca=w.appendChild(p.createElement('span')),da='<object '+(j.ie()?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':'type="application/x-shockwave-flash"')+'data="'+v+'" '+(x.height?'height="'+x.height+'" ':'')+(x.width?'width="'+x.width+'" ':'')+'id="'+z+'">'+aa.join('')+'</object>';ca.innerHTML=da;var ea=ca.firstChild;t(z);RETURN ea;},remove:q,getVersion:FUNCTION(){var v='Shockwave Flash',w='application/x-shockwave-flash',x='ShockwaveFlash.ShockwaveFlash',y;IF(navigator.plugins&&typeof navigator.plugins[v]=='object'){var z=navigator.plugins[v].description;IF(z&&navigator.mimeTypes&&navigator.mimeTypes[w]&&navigator.mimeTypes[w].enabledPlugin)y=z.match(/\d+/g);}IF(!y)try{y=(NEW ActiveXObject(x)).GetVariable('$version').match(/(\d+),(\d+),(\d+),(\d+)/);y=ARRAY.prototype.slice.CALL(y,1);}catch(aa){}RETURN y;},checkMinVersion:FUNCTION(v){var w=u.getVersion();IF(!w)RETURN FALSE;RETURN s(w.join('.'))>=s(v);},isAvailable:FUNCTION(){RETURN !!u.getVersion();}};e.exports=u;},NULL);
  40. __d("dotAccess",[],FUNCTION(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();FUNCTION g(h,i,j){var k=i.split('.');DO{var l=k.shift();h=h[l]||j&&(h[l]={});}WHILE(k.length&&h);RETURN h;}e.exports=g;},NULL);
  41. __d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],FUNCTION(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k,l,m={setPrefix:FUNCTION(n){k=h(g.getWindow(),n,TRUE);l=n;},CREATE:FUNCTION(n,o){IF(!k)this.setPrefix('__globalCallbacks');var p=i();k[p]=j(n,'entry',o||'GlobalCallback');RETURN l+'.'+p;},remove:FUNCTION(n){var o=n.substring(l.LENGTH+1);DELETE k[o];}};e.exports=m;},NULL);
  42. __d("XDM",["DOMEventListener","DOMWrapper","emptyFunction","Flash","GlobalCallback","guid","Log","UserAgent_DEPRECATED","wrapFunction"],FUNCTION(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p={},q={transports:[]},r=h.getWindow();FUNCTION s(u){var v={},w=u.LENGTH,x=q.transports;WHILE(w--)v[u[w]]=1;w=x.length;while(w--){var y=x[w],z=p[y];if(!v[y]&&z.isAvailable())return y;}}var t={register:function(u,v){m.debug('Registering %s as XDM provider',u);q.transports.push(u);p[u]=v;},create:function(u){if(!u.whenReady&&!u.onMessage){m.error('An instance without whenReady or onMessage makes no sense');throw new Error('An instance without whenReady or '+'onMessage makes no sense');}if(!u.channel){m.warn('Missing channel name, selecting at random');u.channel=l();}if(!u.whenReady)u.whenReady=i;if(!u.onMessage)u.onMessage=i;var v=u.transport||s(u.blacklist||[]),w=p[v];if(w&&w.isAvailable()){m.debug('%s is available',v);w.init(u);return v;}}};t.register('flash',(function(){var u=false,v,w=false,x=15000,y;return {isAvailable:function(){return j.checkMinVersion('8.0.24');},init:function(z){m.debug('init flash: '+z.channel);var aa={send:function(da,ea,fa,ga){m.debug('sending to: %s (%s)',ea,ga);v.postMessage(da,ea,ga);}};if(u){z.whenReady(aa);return;}var ba=z.root.appendChild(r.document.createElement('div')),ca=k.create(function(){k.remove(ca);clearTimeout(y);m.info('xdm.swf called the callback');var da=k.create(function(ea,fa){ea=decodeURIComponent(ea);fa=decodeURIComponent(fa);m.debug('received message %s from %s',ea,fa);z.onMessage(ea,fa);},'xdm.swf:onMessage');v.init(z.channel,da);z.whenReady(aa);},'xdm.swf:load');v=j.embed(z.flashUrl,ba,null,{protocol:location.protocol.replace(':',''),host:location.host,callback:ca,log:w});y=setTimeout(function(){m.warn('The Flash component did not load within %s ms - '+'verify that the container is not set to hidden or invisible '+'using CSS as this will cause some browsers to not load '+'the components',x);},x);u=true;}};})());t.register('postmessage',(function(){var u=false;return {isAvailable:function(){return !!r.postMessage;},init:function(v){m.debug('init postMessage: '+v.channel);var w='_FB_'+v.channel,x={send:function(y,z,aa,ba){if(r===aa){m.error('Invalid windowref, equal to window (self)');throw new Error();}m.debug('sending to: %s (%s)',z,ba);var ca=function(){aa.postMessage('_FB_'+ba+y,z);};if(n.ie()==8||n.ieCompatibilityMode()){setTimeout(ca,0);}else ca();}};if(u){v.whenReady(x);return;}g.add(r,'message',o(function(event){var y=event.data,z=event.origin||'native';if(!/^(https?:\/\/|native$)/.test(z)){m.debug('Received message from invalid origin type: %s',z);return;}if(typeof y!='string'){m.warn('Received message of type %s from %s, expected a string',typeof y,z);return;}m.debug('received message %s from %s',y,z);if(y.substring(0,w.length)==w)y=y.substring(w.length);v.onMessage(y,z);},'entry','onMessage'));v.whenReady(x);u=true;}};})());e.exports=t;},null);
  43. __d("initXdArbiter",["QueryString","resolveWindow","Log","XDM","XDMConfig"],FUNCTION(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();(FUNCTION(){var g=b('QueryString'),h=b('resolveWindow'),i=b('Log'),j=b('XDM'),k=b('XDMConfig');FUNCTION l(z){RETURN z?z.REPLACE(/["'<>\(\)\\@]/g,''):z;}function m(){if(!window.chrome||!location.ancestorOrigins)return false;return !/\.facebook\.com$/.test(location.ancestorOrigins[1]);}function n(z,aa){if(m())return '';if(window!=parent&&window.parent!=window.parent.parent)try{return parent.parent.XdArbiter.register(window,z,aa);}catch(ba){i.error('Could not register with XdArbiter in parent.parent');}return '';}function o(z,aa,ba){if(!z&&m()){i.error('Can not use parent.parent to reach facebook.com');return;}var ca=z?h(z):parent.parent;try{ca.XdArbiter.handleMessage(aa,ba,window);}catch(da){i.error('Could not reach facebook.com using %s',z);}}function p(z,aa){var ba=50,ca=function(){if(!--ba)clearInterval(da);try{z();clearInterval(da);}catch(ea){}},da=setInterval(ca,50);ca();}function q(){var z=/^https?:\/\/[^\/]*/.exec(t.origin)[0];p(function(){var aa=h(t.relation).frames['fb_xdm_frame_'+u];if(typeof aa.location.search==='undefined')throw new Error('Proxy not ready');if(location.search===aa.location.search){aa.proxyMessage(s,z);}else i.error('Version mismatch: %s, %s',location.search,aa.location.search);},50);}function r(){var z=/^(.*)\/(.*)$/.exec(t.origin)[1];if(window.__fbNative&&window.__fbNative.postMessage){window.__fbNative.postMessage(s,z);}else{var aa=function(ba){window.removeEventListener('fbNativeReady',aa);window.__fbNative.postMessage(s,z);};window.addEventListener('fbNativeReady',aa);}}var s=/#(.*)|$/.exec(location.href)[1];if(window==top)location.hash='';if(!s){i.error('xd_arbiter.php loaded without a valid hash, referrer: %s',document.referrer);return;}var t=g.decode(s,true),u=location.protocol.replace(':','');if(t.relation){if(window==top&&/FBAN\/\w+;/i.test(navigator.userAgent)){i.info('Native proxy');r();}else{i.info('Legacy proxy to %s',t.relation);q();}return;}if(u!=/https?/.exec(window.name)[0]){i.info('Redirection to %s detected, aborting',u);return;}var v=l(t.transport),w=l(t.channel),x=l(t.origin),y=l(t.xd_name);if(!/^https?/.test(x)){i.error('Invalid origin presented, aborting.');return;}j.create({root:document.body,transport:v,channel:w+'_'+u,flashUrl:k.Flash.path,onMessage:function(z,aa){if(x!==aa){i.info('Received message from unknown origin %s, expected %s.',aa,x);return;}if(!/^FB_RPC:/.test(z))z=g.decode(z);o(z.relation,z,x);},whenReady:function(z){window.proxyMessage=function(da,ea){if(ea===x){z.send(da,x,parent,w);}else i.error('Failed proxying to %s, expected %s',ea,x);};var aa=null,ba={xd_action:'proxy_ready',data:aa},ca=n(y,x);if(ca)ba.registered=ca;z.send(g.encode(ba),x,parent,w);}});})();},null);__d("XDMConfig",[],{"Flash":{"PATH":"https:\/\/CONNECT.facebook.net\/rsrc.php\/v1\/yW\/r\/yOZN1vHw3Z_.swf"}}); require('initXdArbiter'); </script><b id="warning" style="display: none; color:red"> SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone. See the <a href="/l.php?u=http%3A%2F%2Fon.fb.me%2F1mXNHhm&amp;h=CAQEi5mnA&amp;s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, &quot;http:\/\/ON.fb.me\/1mXNHhm&quot;);" onclick="LinkshimAsyncLink.swap(this, &quot;\/l.php?u=http\u00253A\u00252F\u00252Fon.fb.me\u00252F1mXNHhm&amp;h=CAQEi5mnA&amp;s=1&quot;);">Facebook Help Center</a> for more information. </b><script>if (window == top) {  setTimeout(function() {    document.getElementById("warning").style.display = 'block';  }, 2000);}</script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement