/*1529859653,,JIT Construction: v4041800,en_US*/ /** * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As with any software that integrates with the Facebook platform, your use of * this software is subject to the Facebook Platform Policy * [http://developers.facebook.com/policy/]. This copyright notice shall be * included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ try {window.FB|| (function(window, fb_fif_window) { var apply = Function.prototype.apply; function bindContext(fn, thisArg) { return function _sdkBound() { return apply.call(fn, thisArg, arguments); }; } var global = { __type: 'JS_SDK_SANDBOX', window: window, document: window.document }; var sandboxWhitelist = [ 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval' ]; for (var i = 0; i < sandboxWhitelist.length; i++) { global[sandboxWhitelist[i]] = bindContext( window[sandboxWhitelist[i]], window ); } (function() { var self = window; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; var __p; with (this) { (function(){var a={},b=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},c=function(a,c){return b(a&&/^[A-Z]/.test(a)?a:undefined,c&&(c.params&&c.params.length||c.returns)?"function("+(c.params?c.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(c.returns?":"+c.returns:""):undefined)},d=function(a,b,c){return a},e=function(a,b,d){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=c(b?b.name:undefined,d);b&&__w(a,b)}return a},f=function(a,b,c){return c.apply(a,b)},g=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c},h=function(b,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;a[e]=(a[e]||0)+1}return d.apply(b,c)};typeof __transform_includes==="undefined"?(__annotator=d,__bodyWrapper=f):(__annotator=e,"codeusage"in __transform_includes?(__annotator=d,__bodyWrapper=h,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=g:__bodyWrapper=f)})(); __t=function(a){return a[0]},__w=function(a){return a}; var require,__d;(function(a){var b={},c={},d=["global","require","requireDynamic","requireLazy","module","exports"];require=function(d,e){if(Object.prototype.hasOwnProperty.call(c,d))return c[d];if(!Object.prototype.hasOwnProperty.call(b,d)){if(e)return null;throw new Error("Module "+d+" has not been defined")}e=b[d];var f=e.deps,g=e.factory.length,h,i=[];for(var j=0;j1?Number(arguments[1]):0;isNaN(c)&&(c=0);var d=Math.min(Math.max(c,0),b.length);return b.indexOf(String(a),c)==d};a.endsWith=function(a){var b=String(this);if(this==null)throw new TypeError("String.prototype.endsWith called on null or undefined");var c=b.length,d=String(a),e=arguments.length>1?Number(arguments[1]):c;isNaN(e)&&(e=0);var f=Math.min(Math.max(e,0),c),g=f-d.length;return g<0?!1:b.lastIndexOf(d,g)==g};a.includes=function(a){if(this==null)throw new TypeError("String.prototype.contains called on null or undefined");var b=String(this),c=arguments.length>1?Number(arguments[1]):0;isNaN(c)&&(c=0);return b.indexOf(String(a),c)!=-1};a.contains=a.includes;a.repeat=function(a){__p&&__p();if(this==null)throw new TypeError("String.prototype.repeat called on null or undefined");var b=String(this);a=a?Number(a):0;isNaN(a)&&(a=0);if(a<0||a===Infinity)throw RangeError();if(a===1)return b;if(a===0)return"";var c="";while(a)a&1&&(c+=b),(a>>=1)&&(b+=b);return c};e.exports=a}),null); __d("ES6Array",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={from:function(a){__p&&__p();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"?typeof Symbol==="function"?Symbol.iterator:"@@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,g&&(k=b.call(c,k,i)),j[i]=k,i+=1;j.length=i;return j}var n=e.length;(isNaN(n)||n<0)&&(n=0);j=typeof d==="function"?new d(n):new Array(n);while(i>>0;for(var e=0;e>>0,d=arguments[1],e=d>>0,f=e<0?Math.max(c+e,0):Math.min(e,c),g=arguments[2],h=g===undefined?c:g>>0,i=h<0?Math.max(c+h,0):Math.min(h,c);while(f9999?"+":"")+("00000"+Math.abs(a)).slice(0<=a&&a<=9999?-4:-6);return a+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}};e.exports=a}),null); __d("ES6Number",[],(function(a,b,c,d,e,f){__p&&__p();a=Math.pow(2,-52);b=Math.pow(2,53)-1;c=-1*b;d={isFinite:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isFinite(a)}),isNaN:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isNaN(a)}),isInteger:function(a){return this.isFinite(a)&&Math.floor(a)===a},isSafeInteger:function(a){return this.isFinite(a)&&a>=this.MIN_SAFE_INTEGER&&a<=this.MAX_SAFE_INTEGER&&Math.floor(a)===a},EPSILON:a,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:c};e.exports=d}),null); __d("ES6Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={assign:function(a){__p&&__p();if(a==null)throw new TypeError("Object.assign target cannot be null or undefined");a=Object(a);for(var b=0;b<(arguments.length<=1?0:arguments.length-1);b++){var c=b+1<1||arguments.length<=b+1?undefined:arguments[b+1];if(c==null)continue;c=Object(c);for(var d in c)h.call(c,d)&&(a[d]=c[d]);g(c,function(b){return a[b]=c[b]})}return a},is:function(a,b){if(a===b)return a!==0||1/a===1/b;else return a!==a&&b!==b}};e.exports=a}),null); __d("ES7ArrayPrototype",["ES5Array","ES5ArrayPrototype"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=g.isArray,j=h.indexOf;function k(a){return Math.min(Math.max(l(a),0),Number.MAX_SAFE_INTEGER)}function l(a){a=Number(a);return isFinite(a)&&a!==0?m(a)*Math.floor(Math.abs(a)):a}function m(a){return a>=0?1:-1}a={includes:function(a){"use strict";__p&&__p();if(a!==undefined&&i(this)&&!(typeof a==="number"&&isNaN(a)))return j.apply(this,arguments)!==-1;var b=Object(this),c=b.length?k(b.length):0;if(c===0)return!1;var d=arguments.length>1?l(arguments[1]):0,e=d<0?Math.max(c+d,0):d,f=isNaN(a)&&typeof a==="number";while(e1)))/4)-A((a-1901+b)/100)+A((a-1601+b)/400)};(o=b.hasOwnProperty)||(o=function(a){var b={},c;(b.__proto__=null,b.__proto__={toString:1},b).toString!=n?o=function(a){var b=this.__proto__;a=a in(this.__proto__=null,this);this.__proto__=b;return a}:(c=b.constructor,o=function(a){var b=(this.constructor||c).prototype;return a in this&&!(a in b&&this[a]===b[a])});return o.call(this,a)});p=function(a,b){__p&&__p();var d=0,e,f;(e=function(){this.valueOf=0}).prototype.valueOf=0;f=new e();for(e in f)o.call(f,e)&&d++;f=null;!d?(f=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],p=function(a,b){var d=n.call(a)==t,e,g=!d&&typeof a.constructor!="function"&&c[typeof a.hasOwnProperty]&&a.hasOwnProperty||o;for(e in a)!(d&&e=="prototype")&&g.call(a,e)&&b(e);for(d=f.length;e=f[--d];g.call(a,e)&&b(e));}):d==2?p=function(a,b){var c={},d=n.call(a)==t,e;for(e in a)!(d&&e=="prototype")&&!o.call(c,e)&&(c[e]=1)&&o.call(a,e)&&b(e)}:p=function(a,b){var c=n.call(a)==t,d,e;for(d in a)!(c&&d=="prototype")&&o.call(a,d)&&!(e=d==="constructor")&&b(d);(e||o.call(a,d="constructor"))&&b(d)};return p(a,b)};if(!s("json-stringify")){var D={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},E="000000",F=function(a,b){return(E+(b||0)).slice(-a)},G="\\u00",H=function(a){__p&&__p();var b='"',c=0,d=a.length,e=!z||d>10,f=e&&(z?a.split(""):a);for(;c-1/0&&h<1/0){if(C){m=A(h/864e5);for(j=A(m/365.2425)+1970-1;C(j+1,0)<=m;j++);for(k=A((m-C(j,0))/30.42);C(j,k+1)<=m;k++);m=1+m-C(j,k);r=(h%864e5+864e5)%864e5;s=A(r/36e5)%24;t=A(r/6e4)%60;z=A(r/1e3)%60;r=r%1e3}else j=h.getUTCFullYear(),k=h.getUTCMonth(),m=h.getUTCDate(),s=h.getUTCHours(),t=h.getUTCMinutes(),z=h.getUTCSeconds(),r=h.getUTCMilliseconds();h=(j<=0||j>=1e4?(j<0?"-":"+")+F(6,j<0?-j:j):F(4,j))+"-"+F(2,k+1)+"-"+F(2,m)+"T"+F(2,s)+":"+F(2,t)+":"+F(2,z)+"."+F(3,r)+"Z"}else h=null;else typeof h.toJSON=="function"&&(i!=v&&i!=w&&i!=x||o.call(h,"toJSON"))&&(h=h.toJSON(a))}c&&(h=c.call(b,a,h));if(h===null)return"null";i=n.call(h);if(i==y)return""+h;else if(i==v)return h>-1/0&&h<1/0?""+h:"null";else if(i==w)return H(""+h);if(typeof h=="object"){for(j=g.length;j--;)if(g[j]===h)throw l();g.push(h);B=[];k=f;f+=e;if(i==x){for(m=0,j=h.length;m0)for(e="",d>10&&(d=10);e.length=48&&g<=57||g>=97&&g<=102||g>=65&&g<=70||N();c+=J("0x"+a.slice(d,L));break;default:N()}}else{if(g==34)break;g=a.charCodeAt(L);d=L;while(g>=32&&g!=92&&g!=34)g=a.charCodeAt(++L);c+=a.slice(d,L)}}if(a.charCodeAt(L)==34){L++;return c}N();default:d=L;g==45&&(f=!0,g=a.charCodeAt(++L));if(g>=48&&g<=57){g==48&&(g=a.charCodeAt(L+1),g>=48&&g<=57)&&N();f=!1;for(;L=48&&g<=57);L++);if(a.charCodeAt(L)==46){e=++L;for(;e=48&&g<=57);e++);e==L&&N();L=e}g=a.charCodeAt(L);if(g==101||g==69){g=a.charCodeAt(++L);(g==43||g==45)&&L++;for(e=L;e=48&&g<=57);e++);e==L&&N();L=e}return+a.slice(d,L)}f&&N();if(a.slice(L,L+4)=="true"){L+=4;return!0}else if(a.slice(L,L+5)=="false"){L+=5;return!1}else if(a.slice(L,L+4)=="null"){L+=4;return null}N()}}return"$"},P=function(a){__p&&__p();var b,c;a=="$"&&N();if(typeof a=="string"){if((z?a.charAt(0):a[0])=="@")return a.slice(1);if(a=="["){b=[];for(;;c||(c=!0)){a=O();if(a=="]")break;c&&(a==","?(a=O(),a=="]"&&N()):N());a==","&&N();b.push(P(a))}return b}else if(a=="{"){b={};for(;;c||(c=!0)){a=O();if(a=="}")break;c&&(a==","?(a=O(),a=="}"&&N()):N());(a==","||typeof a!="string"||(z?a.charAt(0):a[0])!="@"||O()!=":")&&N();b[a.slice(1)]=P(O())}return b}N()}return a},Q=function(a,b,c){c=R(a,b,c);c===q?delete a[b]:a[b]=c},R=function(a,b,c){var d=a[b],e;if(typeof d=="object"&&d)if(n.call(d)==x)for(e=d.length;e--;)Q(d,e,c);else p(d,function(a){Q(d,a,c)});return c.call(a,b,d)};a.parse=function(a,b){var c;L=0;M=""+a;a=P(O());O()!="$"&&N();L=M=null;return b&&n.call(b)==t?R((c={},c[""]=a,c),"",b):a}}}a.runInContext=k;return a}if(d&&!b)k(e,d);else{var l=e.JSON,m=e.JSON3,n=!1,o=k(e,e.JSON3={noConflict:function(){n||(n=!0,e.JSON=l,e.JSON3=m,l=m=null);return o}});e.JSON={parse:o.parse,stringify:o.stringify}}b&&i(function(){return o})}).call(this)}var k=!1,l=function(){k||(k=!0,j());return h.exports};b=function(a){switch(a){case undefined:return l()}};e.exports=b}),null); __d("json3",["json3-3.3.2"],(function(a,b,c,d,e,f){e.exports=b("json3-3.3.2")()}),null); __d("ES",["ES5Array","ES5ArrayPrototype","ES5Date","ES5FunctionPrototype","ES5Object","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6DatePrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){__p&&__p();var v={}.toString,w={"JSON.stringify":u.stringify,"JSON.parse":u.parse};c={"Array.prototype":h,"Function.prototype":j,"String.prototype":l,Object:k,Array:g,Date:i};d={Object:q,"Array.prototype":n,"Date.prototype":o,Number:p,Array:m};f={Object:s,"String.prototype":t,"Array.prototype":r};function a(a){__p&&__p();for(var b in a){if(!Object.prototype.hasOwnProperty.call(a,b))continue;var c=a[b],d=b.split(".");if(d.length===2){var e=d[0],f=d[1];if(!e||!f||!window[e]||!window[e][f]){var g=e?window[e]:"-",h=e&&window[e]&&f?window[e][f]:"-";throw new Error("Unexpected state (t11975770): "+(e+", "+f+", "+g+", "+h+", "+b))}}e=d.length===2?window[d[0]][d[1]]:window[b];for(var i in c){if(!Object.prototype.hasOwnProperty.call(c,i))continue;if(typeof c[i]!=="function"){w[b+"."+i]=c[i];continue}f=e[i];w[b+"."+i]=f&&/\{\s+\[native code\]\s\}/.test(f)?f:c[i]}}}a(c);a(d);a(f);function b(a,b,c){var d=c?v.call(a).slice(8,-1)+".prototype":a,e=w[d+"."+b]||a[b];if(typeof e==="function"){for(var f=arguments.length,g=new Array(f>3?f-3:0),h=3;h=0)continue;c[d]=a[d]}return c};a.taggedTemplateLiteralLoose=function(a,b){a.raw=b;return a};a.bind=g.bind;e.exports=a}),null); var ES = require('ES'); var babelHelpers = require('sdk.babelHelpers'); (function(a,b){var c="keys",d="values",e="entries",f=function(){var a=h(Array),f;a||(f=function(){function a(a,b){"use strict";this.$1=a,this.$2=b,this.$3=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:b,done:!0};var a=this.$1,f=this.$1.length,g=this.$3,h=this.$2;if(g>=f){this.$1=b;return{value:b,done:!0}}this.$3=g+1;if(h===c)return{value:g,done:!1};else if(h===d)return{value:a[g],done:!1};else if(h===e)return{value:[g,a[g]],done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:a?function(a){return a.keys()}:function(a){return new f(a,c)},values:a?function(a){return a.values()}:function(a){return new f(a,d)},entries:a?function(a){return a.entries()}:function(a){return new f(a,e)}}}(),g=function(){var a=h(String),c;a||(c=function(){function a(a){"use strict";this.$1=a,this.$2=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:b,done:!0};var a=this.$2,c=this.$1,d=c.length;if(a>=d){this.$1=b;return{value:b,done:!0}}var e=c.charCodeAt(a);if(e<55296||e>56319||a+1===d)e=c[a];else{d=c.charCodeAt(a+1);d<56320||d>57343?e=c[a]:e=c[a]+c[a+1]}this.$2=a+e.length;return{value:e,done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:a?function(a){return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]()}:function(a){return new c(a)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}}();function h(a){return typeof a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]==="function"&&typeof a.prototype.values==="function"&&typeof a.prototype.keys==="function"&&typeof a.prototype.entries==="function"}function i(a,b){"use strict";this.$1=a,this.$2=b,this.$3=ES("Object","keys",!1,a),this.$4=0}i.prototype.next=function(){"use strict";var a=this.$3.length,f=this.$4,g=this.$2,h=this.$3[f];if(f>=a){this.$1=b;return{value:b,done:!0}}this.$4=f+1;if(g===c)return{value:h,done:!1};else if(g===d)return{value:this.$1[h],done:!1};else if(g===e)return{value:[h,this.$1[h]],done:!1}};i.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};var j={keys:function(a){return new i(a,c)},values:function(a){return new i(a,d)},entries:function(a){return new i(a,e)}};function k(a,b){if(typeof a==="string")return g[b||d](a);else if(ES("Array","isArray",!1,a))return f[b||d](a);else if(a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();else return j[b||e](a)}ES("Object","assign",!1,k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function(a){return k(a,c)},values:function(a){return k(a,d)},entries:function(a){return k(a,e)},generic:j.entries});a.FB_enumerate=k})(typeof global==="undefined"?this:global); (function(a,b){var c=a.window||a;function d(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}function e(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||c;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}function f(a){a=c[a];if(a==null)return!0;if(typeof c.Symbol!=="function")return!0;var b=a.prototype;return a==null||typeof a!=="function"||typeof b.clear!=="function"||new a().size!==0||typeof b.keys!=="function"||typeof b.forEach!=="function"}var g=a.FB_enumerate,h=function(){if(!f("Map"))return c.Map;var i="key",j="value",k="key+value",l="$map_",m,n="IE_HASH_";function a(a){"use strict";if(!s(this))throw new TypeError("Wrong map object type.");r(this);if(a!=null){a=g(a);var b;while(!(b=a.next()).done){if(!s(b.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(b.value[0],b.value[1])}}}a.prototype.clear=function(){"use strict";r(this)};a.prototype.has=function(a){"use strict";a=p(this,a);return!!(a!=null&&this._mapData[a])};a.prototype.set=function(a,b){"use strict";var c=p(this,a);c!=null&&this._mapData[c]?this._mapData[c][1]=b:(c=this._mapData.push([a,b])-1,q(this,a,c),this.size+=1);return this};a.prototype.get=function(a){"use strict";a=p(this,a);if(a==null)return b;else return this._mapData[a][1]};a.prototype["delete"]=function(a){"use strict";var c=p(this,a);if(c!=null&&this._mapData[c]){q(this,a,b);this._mapData[c]=b;this.size-=1;return!0}else return!1};a.prototype.entries=function(){"use strict";return new o(this,k)};a.prototype.keys=function(){"use strict";return new o(this,i)};a.prototype.values=function(){"use strict";return new o(this,j)};a.prototype.forEach=function(a,c){"use strict";if(typeof a!=="function")throw new TypeError("Callback must be callable.");a=ES(a,"bind",!0,c||b);c=this._mapData;for(var d=0;ddiv{overflow:hidden}.fb_link img{border:none}\u0040keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}\n.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_loader{background-color:#f6f7f9;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100\u0025}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100\u0025;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yd\/r\/Cou7n-nqK52.gif) no-repeat 5px 50\u0025;float:left;padding:5px 0 7px 26px}body.fb_hidden{-webkit-transform:none;height:100\u0025;margin:0;overflow:visible;position:absolute;top:-10000px;left:0;width:100\u0025}.fb_dialog.fb_dialog_mobile.loading{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ya\/r\/3rhSv5V8j3o.gif) white no-repeat 50\u0025 50\u0025;min-height:100\u0025;min-width:100\u0025;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{width:auto;height:auto;min-height:initial;min-width:initial;background:none}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100\u0025}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{color:#fff;display:block;padding-top:20px;clear:both;font-size:18px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;bottom:0;left:0;right:0;top:0;width:100\u0025;min-height:100\u0025;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0\u0025 0\u0025, 0\u0025 100\u0025, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100\u0025}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0\u0025 0\u0025, 0\u0025 100\u0025, from(#4966A6), color-stop(.5, #355492), to(#2A4887));border:1px solid #29487d;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset, rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/jKEcVPZFk-2.gif) no-repeat 50\u0025 50\u0025;border:1px solid #555;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f6f7f9;border:1px solid #555;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yD\/r\/t-wz8gw1xG1.png);background-repeat:no-repeat;background-position:50\u0025 50\u0025;height:24px;width:24px}\u0040keyframes rotateSpinner{0\u0025{transform:rotate(0deg)}100\u0025{transform:rotate(360deg)}}\n.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100\u0025}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_hide_iframes iframe{position:relative;left:-10000px}.fb_iframe_widget_loader{position:relative;display:inline-block}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100\u0025}.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}.fb_iframe_widget_loader .FB_Loader{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50\u0025;z-index:4}\n.fb_customer_chat_bounce_in_v1{animation-duration:250ms;animation-name:fb_bounce_in_v1}.fb_customer_chat_bounce_out_v1{animation-duration:250ms;animation-name:fb_bounce_out_v1}.fb_customer_chat_bounce_in_v2{animation-duration:300ms;animation-name:fb_bounce_in_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2{animation-duration:300ms;animation-name:fb_bounce_out_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_in_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_in_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_out_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bubble_pop_in{animation-duration:250ms;animation-name:fb_customer_chat_bubble_bounce_in_animation}.fb_customer_chat_bubble_animated_no_badge{box-shadow:0 3px 12px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_no_badge:hover{box-shadow:0 5px 24px rgba(0, 0, 0, .3)}.fb_customer_chat_bubble_animated_with_badge{box-shadow:-5px 4px 14px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_with_badge:hover{box-shadow:-5px 8px 24px rgba(0, 0, 0, .2)}.fb_invisible_flow{display:inherit;height:0;overflow-x:hidden;width:0}.fb_mobile_overlay_active{background-color:#fff;height:100\u0025;overflow:hidden;position:fixed;visibility:hidden;width:100\u0025}\u0040keyframes fb_bounce_in_v1{0\u0025{opacity:0;transform:scale(.8, .8);transform-origin:bottom right}80\u0025{opacity:.8;transform:scale(1.03, 1.03)}100\u0025{opacity:1;transform:scale(1, 1)}}\u0040keyframes fb_bounce_in_v2{0\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}50\u0025{transform:scale(1.03, 1.03);transform-origin:bottom right}100\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}}\u0040keyframes fb_bounce_in_v2_mobile_chat_started{0\u0025{opacity:0;top:20px}100\u0025{opacity:1;top:0}}\u0040keyframes fb_bounce_out_v1{from{opacity:1}to{opacity:0}}\u0040keyframes fb_bounce_out_v2{0\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}100\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}}\u0040keyframes fb_bounce_out_v2_mobile_chat_started{0\u0025{opacity:1;top:0}100\u0025{opacity:0;top:20px}}\u0040keyframes fb_customer_chat_bubble_bounce_in_animation{0\u0025{bottom:6pt;opacity:0;transform:scale(0, 0);transform-origin:center}70\u0025{bottom:18pt;opacity:1;transform:scale(1.2, 1.2)}100\u0025{transform:scale(1, 1)}}","components":["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget","css:fb.css.customer_chat_plugin_iframe"]});__d("ApiClientConfig",[],{"FlashRequest":{"swfUrl":"https:\/\/connect.facebook.net\/rsrc.php\/v2\/yd\/r\/mxzow1Sdmxr.swf"}});__d("JSSDKCanvasPrefetcherConfig",[],{"blacklist":[144959615576466,768691303149786,320528941393723],"sampleRate":500}); __d("DOMWrapper",[],(function(a,b,c,d,e,f){var g,h;a={setRoot:function(a){g=a},getRoot:function(){return g||document.body},setWindow:function(a){h=a},getWindow:function(){return h||self}};e.exports=a}),null); __d("dotAccess",[],(function(a,b,c,d,e,f){function a(a,b,c){b=b.split(".");do{var d=b.shift();a=a[d]||c&&(a[d]={})}while(b.length&&a);return a}e.exports=a}),null); __d("guid",[],(function(a,b,c,d,e,f){function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}e.exports=a}),18); __d("wrapFunction",[],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(a,b,c){return function(){var d=b in g?g[b](a,c):a;for(var e=arguments.length,f=new Array(e),h=0;h1?b-1:0),d=1;d=b&&e[a in e?a:"log"](d)}var h={level:-1,Level:b,debug:ES(a,"bind",!0,null,"debug",b.DEBUG),info:ES(a,"bind",!0,null,"info",b.INFO),warn:ES(a,"bind",!0,null,"warn",b.WARNING),error:ES(a,"bind",!0,null,"error",b.ERROR)};e.exports=h}),null); __d("ObservableMixin",[],(function(a,b,c,d,e,f){__p&&__p();function a(){this.__observableEvents={}}a.prototype={inform:function(a){__p&&__p();var b=Array.prototype.slice.call(arguments,1),c=Array.prototype.slice.call(this.getSubscribers(a));for(var d=0;d';a.root.innerHTML='';b=!0;setTimeout(function(){a.root.innerHTML=f,a.root.firstChild.src=a.url,a.onInsert&&a.onInsert(a.root.firstChild)},0)}else{e=document.createElement("iframe");e.id=a.id;e.name=a.name;e.onload=d;e.scrolling="no";e.style.border="none";e.style.overflow="hidden";a.title&&(e.title=a.title);a.className&&(e.className=a.className);a.height!==undefined&&(e.style.height=a.height+"px");a.width!==undefined&&(a.width=="100%"?e.style.width=a.width:e.style.width=a.width+"px");a.root.appendChild(e);b=!0;e.src=a.url;a.onInsert&&a.onInsert(e)}}e.exports=a}),null); __d("sdk.domReady",["sdk.Runtime"],(function(a,b,c,d,e,f,g){__p&&__p();var h;b="readyState"in document?/loaded|complete/.test(document.readyState):!!document.body;function i(){if(!h)return;var a;while(a=h.shift())a();h=null}function a(a){if(h){h.push(a);return}else a()}if(!b){h=[];document.addEventListener?(document.addEventListener("DOMContentLoaded",i,!1),window.addEventListener("load",i,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",i),window.attachEvent("onload",i));if(document.documentElement.doScroll&&window==window.top){c=function a(){try{g.getRtl()?document.documentElement.doScroll("right"):document.documentElement.doScroll("left")}catch(b){setTimeout(a,0);return}i()};c()}}e.exports=a}),3); __d("sdk.Content",["Log","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j,k={append:function(a,b){b||(!j?(j=b=document.getElementById("fb-root"),b||(g.warn('The "fb-root" div has not been created, auto-creating'),j=b=document.createElement("div"),b.id="fb-root",i.ie()||!document.body?h(function(){document.body.appendChild(b)}):document.body.appendChild(b)),b.className+=" fb_reset"):b=j);if(typeof a==="string"){var c=document.createElement("div");b.appendChild(c).innerHTML=a;return c}else return b.appendChild(a)},appendHidden:function(a){if(!b){var b=document.createElement("div"),c=b.style;c.position="absolute";c.top="-10000px";c.width=c.height=0;b=k.append(b)}return k.append(a,b)},submitToTarget:function(a,b){__p&&__p();var c=document.createElement("form");c.action=a.url;c.target=a.target;c.method=b?"GET":"POST";k.appendHidden(c);for(var d in a.params)if(Object.prototype.hasOwnProperty.call(a.params,d)){b=a.params[d];if(b!==null&&b!==undefined){var e=document.createElement("input");e.name=d;e.value=b;c.appendChild(e)}}c.submit();c.parentNode.removeChild(c)}};e.exports=k}),null); __d("sdk.Impressions",["Miny","QueryString","UrlMap","getBlankIframeSrc","guid","insertIframe","sdk.Content","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();function o(a){__p&&__p();var b=n.getClientID();!a.api_key&&b&&(a.api_key=b);a.kid_directed_site=n.getKidDirectedSite();b=i.resolve("www",!0)+"/impression.php/"+k()+"/";var c=h.appendToUrl(b,a);if(c.length>2e3&&(a.payload&&typeof a.payload==="string")){var d=g.encode(a.payload);d&&d.length>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(ES("JSON","stringify",!1,a))},decodeObject:function(a){return ES("JSON","parse",!1,k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,ES(a,"map",!0,function(a){return g.charCodeAt((a|-(a>63))&-(a>0)&63)}))}};e.exports=k}),null); __d("sdk.SignedRequest",["Base64"],(function(a,b,c,d,e,f,g){function a(a){if(!a)return null;a=a.split(".",2)[1].replace(/\-/g,"+").replace(/\_/g,"/");return g.decodeObject(a)}b={parse:a};e.exports=b}),null); __d("URIRFC3986",[],(function(a,b,c,d,e,f){__p&&__p();var g=new RegExp("^([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?");a={parse:function(a){__p&&__p();if(ES(a,"trim",!0)==="")return null;a=a.match(g);if(a==null)return null;var b={};b.uri=a[0]?a[0]:null;b.scheme=a[1]?a[1].substr(0,a[1].length-1):null;b.authority=a[2]?a[2].substr(2):null;b.userinfo=a[3]?a[3].substr(0,a[3].length-1):null;b.host=a[2]?a[4]:null;b.port=a[5]?a[5].substr(1)?parseInt(a[5].substr(1),10):null:null;b.path=a[6]?a[6]:null;b.query=a[7]?a[7].substr(1):null;b.fragment=a[8]?a[8].substr(1):null;b.isGenericURI=b.authority===null&&!!b.scheme;return b}};e.exports=a}),18); __d("createObjectFrom",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){if(b===undefined)return g(a,!0);var c={};if(ES("Array","isArray",!1,b))for(var d=a.length-1;d>=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}e.exports=g}),18); __d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f,g){var h=g(["blob","cmms","fb","fba","fbatwork","fb-ama","fb-workchat","fb-workchat-secure","fb-messenger","fb-messenger-public","fb-messenger-group-thread","fb-page-messages","fb-pma","fbcf","fbconnect","fbinternal","fbmobilehome","fbrpc","file","ftp","http","https","mailto","ms-app","intent","itms","itms-apps","itms-services","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","tbauth","oculus","oculus.store","skype","callto","workchat","fb236786383180508","fb1775440806014337","data"]);a={isAllowed:function(a){return!a?!0:Object.prototype.hasOwnProperty.call(h,a.toLowerCase())}};e.exports=a}),18); __d("eprintf",[],(function(a,b,c,d,e,f){__p&&__p();function g(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d2?d-2:0),f=2;f0||this.getFragment())};p.prototype.toString=function(){"use strict";var a=this;for(var b=0;bh},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}),18); __d("htmlSpecialChars",[],(function(a,b,c,d,e,f){__p&&__p();var g=/&/g,h=//g,j=/\"/g,k=/\'/g;function a(a){if(typeof a==="undefined"||a===null||!a.toString)return"";if(a===!1)return"0";else if(a===!0)return"1";return a.toString().replace(g,"&").replace(j,""").replace(k,"'").replace(h,"<").replace(i,">")}e.exports=a}),null); __d("emptyFunction",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){return function(){return a}}b=function(){};b.thatReturns=a;b.thatReturnsFalse=a(!1);b.thatReturnsTrue=a(!0);b.thatReturnsNull=a(null);b.thatReturnsThis=function(){return this};b.thatReturnsArgument=function(a){return a};e.exports=b}),null); __d("sdk.DOMEventListener",["emptyFunction","invariant","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=!1;try{a=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",null,a)}catch(a){}var k,l;window.addEventListener?(k=function(a,b,c,d){d===void 0&&(d=!1),c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.addEventListener(b,c.wrapper,j?d:!1)},l=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,j?d:!1)}):window.attachEvent?(k=function(a,b,c){c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.attachEvent||h(0),a.attachEvent("on"+b,c.wrapper)},l=function(a,b,c){a.detachEvent||h(0),a.detachEvent("on"+b,c.wrapper)}):l=k=g;b={add:function(a,b,c,d){d===void 0&&(d=!1);k(a,b,c,d);return{remove:function(){l(a,b,c,d)}}},remove:l};e.exports=b}),null); __d("Flash",["sdk.DOMEventListener","DOMWrapper","QueryString","UserAgent_DEPRECATED","guid","htmlSpecialChars"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={},n,o=h.getWindow().document;function p(a){var b=o.getElementById(a);b&&b.parentNode.removeChild(b);delete m[a]}function q(){for(var a in m)Object.prototype.hasOwnProperty.call(m,a)&&p(a)}function r(a){return a.replace(/\d+/g,function(a){return"000".substring(a.length)+a})}function s(a){n||(j.ie()>=9&&g.add(window,"unload",q),n=!0),m[a]=a}var t={embed:function(a,b,c,d){__p&&__p();var e=k();a=l(a).replace(/&/g,"&");c=babelHelpers["extends"]({allowscriptaccess:"always",flashvars:d,movie:a},c);typeof c.flashvars==="object"&&(c.flashvars=i.encode(c.flashvars));d=[];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&c[f]&&d.push('');b=b.appendChild(o.createElement("span"));a="'+d.join("")+"";b.innerHTML=a;c=b.firstChild;s(e);return c},remove:p,getVersion:function(){var a="Shockwave Flash",b="application/x-shockwave-flash",c="ShockwaveFlash.ShockwaveFlash",d;if(navigator.plugins&&typeof navigator.plugins[a]==="object"){a=navigator.plugins[a].description;a&&navigator.mimeTypes&&navigator.mimeTypes[b]&&navigator.mimeTypes[b].enabledPlugin&&(d=a.match(/\d+/g))}if(!d)try{d=new ActiveXObject(c).GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/),d=Array.prototype.slice.call(d,1)}catch(a){}return d},getVersionString:function(){var a=t.getVersion();return a?a.join("."):""},checkMinVersion:function(a){var b=t.getVersion();return!b?!1:r(b.join("."))>=r(a)},isAvailable:function(){return!!t.getVersion()}};e.exports=t}),null); __d("XDM",["sdk.DOMEventListener","DOMWrapper","Flash","GlobalCallback","Log","UserAgent_DEPRECATED","emptyFunction","guid","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();var p={},q={transports:[]},r=h.getWindow();function s(a){__p&&__p();var b={},c=a.length,d=q.transports;while(c--)b[a[c]]=1;c=d.length;while(c--){a=d[c];var e=p[a];if(!b[a]&&e.isAvailable())return a}}a={register:function(a,b){k.debug("Registering %s as XDM provider",a),q.transports.push(a),p[a]=b},create:function(a){__p&&__p();if(!a.whenReady&&!a.onMessage){k.error("An instance without whenReady or onMessage makes no sense");throw new Error("An instance without whenReady or onMessage makes no sense")}a.channel||(k.warn("Missing channel name, selecting at random"),a.channel=n());a.whenReady||(a.whenReady=m);a.onMessage||(a.onMessage=m);var b=a.transport||s(a.blacklist||[]),c=p[b];if(c&&c.isAvailable()){k.debug("%s is available",b);c.init(a);return b}}};a.register("flash",function(){__p&&__p();var a=!1,b,c=!1,d=15e3,e;return{isAvailable:function(){return i.checkMinVersion("8.0.24")},init:function(f){__p&&__p();k.debug("init flash: "+f.channel);var g={send:function(a,c,d,e){k.debug("sending to: %s (%s)",c,e),b.postMessage(a,c,e)}};if(a){f.whenReady(g);return}var h=f.root.appendChild(r.document.createElement("div")),l=j.create(function(){j.remove(l);clearTimeout(e);k.info("xdm.swf called the callback");var a=j.create(function(a,b){a=decodeURIComponent(a),b=decodeURIComponent(b),k.debug("received message %s from %s",a,b),f.onMessage(a,b)},"xdm.swf:onMessage");b.init(f.channel,a);f.whenReady(g)},"xdm.swf:load");b=i.embed(f.flashUrl,h,null,{protocol:location.protocol.replace(":",""),host:location.host,callback:l,log:c});e=setTimeout(function(){k.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",d)},d);a=!0}}}());var t=/\.facebook\.com(\/|$)/;a.register("postmessage",function(){__p&&__p();var a=!1;return{isAvailable:function(){return!!r.postMessage},init:function(b){__p&&__p();k.debug("init postMessage: "+b.channel);var c="_FB_"+b.channel,d={send:function(a,b,c,d){if(r===c){k.error("Invalid windowref, equal to window (self)");throw new Error()}k.debug("sending to: %s (%s)",b,d);var e=function(){c.postMessage("_FB_"+d+a,b)};l.ie()==8||l.ieCompatibilityMode()?setTimeout(e,0):e()}};if(a){b.whenReady(d);return}g.add(r,"message",o(function(event){__p&&__p();var a=event.data,d=event.origin||"native";if(!/^(https?:\/\/|native$)/.test(d)){k.debug("Received message from invalid origin type: %s",d);return}if(d!=="native"&&!(t.test(location.hostname)||t.test(event.origin)))return;if(typeof a!=="string"){k.warn("Received message of type %s from %s, expected a string",typeof a,d);return}k.debug("received message %s from %s",a,d);a.substring(0,c.length)==c&&(a=a.substring(c.length));b.onMessage(a,d)},"entry","onMessage"));b.whenReady(d);a=!0}}}());e.exports=a}),null); __d("isFacebookURI",[],(function(a,b,c,d,e,f){var g=null,h=["http","https"];function a(a){g||(g=new RegExp("(^|\\.)facebook\\.com$","i"));if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!0:ES(h,"indexOf",!0,a.getProtocol())!==-1&&g.test(a.getDomain())}a.setRegex=function(a){g=a};e.exports=a}),null); __d("sdk.Event",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={SUBSCRIBE:"event.subscribe",UNSUBSCRIBE:"event.unsubscribe",subscribers:function(){this._subscribersMap||(this._subscribersMap={});return this._subscribersMap},subscribe:function(a,b){var c=this.subscribers();!c[a]?c[a]=[b]:ES(c[a],"indexOf",!0,b)==-1&&c[a].push(b);a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.SUBSCRIBE,a,c[a])},unsubscribe:function(a,b){var c=this.subscribers()[a];c&&ES(c,"forEach",!0,function(a,d){a===b&&c.splice(d,1)});a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.UNSUBSCRIBE,a,c)},monitor:function(a,b){if(!b()){var c=this,d=function d(){b.apply(b,arguments)&&c.unsubscribe(a,d)};this.subscribe(a,d)}},clear:function(a){delete this.subscribers()[a]},fire:function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d'):(b=document.createElement("iframe"),b.name=c);delete a.style;delete a.name;delete a.url;delete a.root;delete a.onload;delete a.onerror;c=ES("Object","assign",!1,{frameBorder:0,allowTransparency:!0,allowFullscreen:!0,scrolling:"no",allow:"encrypted-media"},a);c.width&&k(c.width)&&(b.width=c.width+"px");c.height&&k(c.height)&&(b.height=c.height+"px");delete c.height;delete c.width;for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&b.setAttribute(n,c[n]);ES("Object","assign",!1,b.style,e);b.src=h();d.appendChild(b);if(l)var o=g.add(b,"load",function(){o.remove(),l()});if(m)var p=g.add(b,"error",function(){p.remove(),m()});b.src=f;return b}e.exports=a}),null); __d("sdk.FeatureFunctor",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b,c){if(a.features&&b in a.features){a=a.features[b];if(typeof a==="object"&&typeof a.rate==="number")if(a.rate&&Math.random()*100<=a.rate)return a.value||!0;else return a.value?null:!1;else return a}return c}function a(a){return function(b,c){arguments.length>=2||g(0);return h(a,b,c)}}e.exports={create:a}}),null); __d("sdk.feature",["JSSDKConfig","sdk.FeatureFunctor"],(function(a,b,c,d,e,f,g,h){e.exports=h.create(g)}),null); __d("sdk.XD",["JSSDKXDConfig","Log","QueryString","Queue","UrlMap","XDM","guid","isFacebookURI","sdk.Content","sdk.createIframe","sdk.Event","sdk.feature","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){__p&&__p();var w=new j(),x=new j(),y=new j(),z,A,B=m();a=g.useCdn?"cdn":"www";b=r("use_bundle",!1)?g.XdBundleUrl:g.XdUrl;var C=k.resolve(a,!1)+b,D=k.resolve(a,!0)+b;c=function(){if("origin"in location)if(location.origin&&location.origin!=="null")return location.origin;else if(window!==window.parent)try{var a=parent.location.origin;if(a&&a!=="null")return a}catch(a){}return location.protocol+"//"+location.host};var E=m(),F=c(),G,H=!1,I="Facebook Cross Domain Communication Frame",J={},K=new j();s.setInQueue(K);function L(a){h.info("Remote XD can talk to facebook.com (%s)",a),t.setEnvironment(a==="canvas"?t.ENVIRONMENTS.CANVAS:t.ENVIRONMENTS.PAGETAB)}function M(a,b){__p&&__p();if(!b){h.error("No senderOrigin");throw new Error()}var c=/^https?/.exec(b)[0];switch(a.xd_action){case"proxy_ready":var d,e;c=="https"?(d=y,e=A,t.setLoggedIntoFacebook(a.logged_in==="true")):(d=x,e=z);a.registered&&(L(a.registered),w=d.merge(w));h.info("Proxy ready, starting queue %s containing %s messages",c+"ProxyQueue",d.getLength());d.start(function(a){G.send(typeof a==="string"?a:i.encode(a),b,e.contentWindow,E+"_"+c)});break;case"plugin_ready":h.info("Plugin %s ready, protocol: %s",a.name,c);J[a.name]={protocol:c};if(j.exists(a.name)){d=j.get(a.name);h.debug("Enqueuing %s messages for %s in %s",d.getLength(),a.name,c+"ProxyQueue");(c=="https"?y:x).merge(d)}break}a.data&&N(a.data,b)}function N(a,b){__p&&__p();if(b&&b!=="native"&&!n(new v(b)))return;if(typeof a==="string"){if(/^FB_RPC:/.test(a)){K.enqueue(a.substring(7));return}if(a.substring(0,1)=="{")try{a=ES("JSON","parse",!1,a)}catch(b){h.warn("Failed to decode %s as JSON",a);return}else a=i.decode(a)}b||a.xd_sig==B&&(b=a.xd_origin);if(a.xd_action){M(a,b);return}a.access_token&&t.setSecure(/^https/.test(F));if(a.cb){b=Q._callbacks[a.cb];Q._forever[a.cb]||delete Q._callbacks[a.cb];b&&b(a)}}function O(a,b){if(a=="facebook")b.relation="parent.parent",w.enqueue(b);else{b.relation='parent.frames["'+a+'"]';var c=J[a];c?(h.debug("Enqueuing message for plugin %s in %s",a,c.protocol+"ProxyQueue"),(c.protocol=="https"?y:x).enqueue(b)):(h.debug("Buffering message for plugin %s",a),j.get(a).enqueue(b))}}s.getOutQueue().start(function(a){O("facebook","FB_RPC:"+a)});function P(a){__p&&__p();if(H)return;var b=o.appendHidden(document.createElement("div")),c=l.create({blacklist:null,root:b,channel:E,flashUrl:g.Flash.path,whenReady:function(d){G=d;d={channel:E,origin:F,transport:c,xd_name:a};d="#"+i.encode(d);t.getSecure()!==!0&&(z=p({url:C+d,name:"fb_xdm_frame_http",id:"fb_xdm_frame_http",root:b,"aria-hidden":!0,title:I,tabindex:-1}));A=p({url:D+d,name:"fb_xdm_frame_https",id:"fb_xdm_frame_https",root:b,"aria-hidden":!0,title:I,tabindex:-1})},onMessage:N});c||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_TRANSPORT",extra:{message:"Failed to create a valid transport"}});H=!0}var Q={rpc:s,_callbacks:{},_forever:{},_channel:E,_origin:F,onMessage:N,recv:N,init:P,sendToFacebook:O,inform:function(a,b,c,d){O("facebook",{method:a,params:ES("JSON","stringify",!1,b||{}),behavior:d||"p",relation:c})},handler:function(a,b,c,d){a="#"+i.encode({cb:this.registerCallback(a,c,d),origin:F+"/"+E,domain:location.hostname,relation:b||"opener"});return(location.protocol=="https:"?D:C)+a},registerCallback:function(a,b,c){c=c||m();b&&(Q._forever[c]=!0);Q._callbacks[c]=a;return c},getXDArbiterURL:function(a){return a?D:C}};q.subscribe("init:post",function(a){P(a.xdProxyName);var b=r("xd_timeout",!1);b&&setTimeout(function(){var a=A&&!!z==x.isStarted()&&!!A==y.isStarted();a||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_INITIALIZATION",extra:{message:"Failed to initialize in "+b+"ms"}})},b)});e.exports=Q}),null); __d("sdk.getContextType",["sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h){function a(){if(h.nativeApp())return 3;if(h.mobile())return 2;return g.isEnvironment(g.ENVIRONMENTS.CANVAS)?5:1}e.exports=a}),null); __d("sdk.Auth",["sdk.Cookie","sdk.createIframe","DOMWrapper","sdk.feature","sdk.getContextType","guid","sdk.Impressions","Log","ObservableMixin","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","UrlMap","sdk.URI","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){__p&&__p();var v="fblo_",w=365*24*60*60*1e3,x,y=null,z,A=new o();function B(a,b,c){__p&&__p();c===void 0&&(c=null);var d=p.getUserID(),e="";if(a)if(a.userID)e=a.userID;else if(a.signedRequest){var f=r.parse(a.signedRequest);f&&f.user_id&&(e=f.user_id)}f=p.getLoginStatus();var g=f==="unknown"&&a||p.getUseCookie()&&p.getCookieUserID()!==e,h=d&&!a;d=a&&d&&d!=e;var i=a!=x;f=b!=(f||"unknown");p.setLoginStatus(b);p.setAccessToken(a&&a.accessToken||null);p.setUserID(e);x=a;e={authResponse:a,status:b};c===null?y=null:(y=c,e.userID=c);(h||d)&&A.inform("logout",e);(g||d)&&A.inform("login",e);i&&A.inform("authresponse.change",e);f&&A.inform("status.change",e);return e}function C(){return x}function D(){return y}function E(a,b,c){__p&&__p();return function(d){__p&&__p();if(d&&d.access_token){var e=r.parse(d.signed_request);b={accessToken:d.access_token,userID:e.user_id,expiresIn:parseInt(d.expires_in,10),signedRequest:d.signed_request};d.granted_scopes&&(b.grantedScopes=d.granted_scopes);d.reauthorize_required_in&&(b.reauthorize_required_in=parseInt(d.reauthorize_required_in,10));if(p.getUseCookie()){e=b.expiresIn===0?0:ES("Date","now",!1)+b.expiresIn*1e3;var f=g.getDomain();!f&&d.base_domain&&g.setDomain("."+d.base_domain);g.setSignedRequestCookie(d.signed_request,e)}F();f="connected";B(b,f)}else(c==="logout"||c==="login_status")&&(d.error&&d.error==="not_authorized"?(f="not_authorized",B(null,f)):d.error&&d.error==="authorization_expired"?(f="authorization_expired",B(null,f,d.expired_user_id)):(f="unknown",B(null,f)),p.getUseCookie()&&g.clearSignedRequestCookie(),c==="logout"&&(G(),q.log("jssdk_error",{appId:p.getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}})));d&&d.https==1&&p.setSecure(!0);if(a){e={authResponse:b,status:p.getLoginStatus()};f=D();f&&(e.userID=f);a(e)}return b}}function F(){g.setRaw(v,"",0)}function G(){g.setRaw(v,"y",ES("Date","now",!1)+w)}function H(a){__p&&__p();var b,c=ES("Date","now",!1);z&&(clearTimeout(z),z=null);var d=g.getRaw(v)==="y";if(d){d="unknown";B(null,d);a&&a({authResponse:null,status:d});return}var e=E(a,x,"login_status");d=new t(s.resolve("www",!0)+"/connect/ping").setQueryData({client_id:p.getClientID(),response_type:"token,signed_request,code",domain:location.hostname,origin:k(),redirect_uri:u.handler(function(a){if(j("e2e_ping_tracking",!0)){var d={init:c,close:ES("Date","now",!1),method:"ping"};n.debug("e2e: %s",ES("JSON","stringify",!1,d));m.log(114,{payload:d})}b.parentNode.removeChild(b);e(a)&&(z=setTimeout(function(){H(function(){})},12e5))},"parent"),sdk:"joey",kid_directed_site:p.getKidDirectedSite(),version:p.getIsVersioned()?p.getVersion():null});b=h({root:i.getRoot(),name:l(),url:d.toString(),style:{display:"none"}})}var I;function a(b,c){__p&&__p();if(!p.getClientID()){n.warn("FB.getLoginStatus() called before calling FB.init().");return}if(b)if(!c&&I=="loaded"){var d={authResponse:C(),status:p.getLoginStatus()},a=D();a&&(d.userID=a);b(d);return}else A.subscribe("FB.loginStatus",b);if(!c&&I=="loading")return;I="loading";a=function(a){I="loaded",A.inform("FB.loginStatus",a),A.clearSubscribers("FB.loginStatus")};H(a)}ES("Object","assign",!1,A,{removeLogoutState:F,getExpiredUserID:D,getLoginStatus:a,fetchLoginStatus:H,setAuthResponse:B,getAuthResponse:C,parseSignedRequest:r.parse,xdResponseWrapper:E});e.exports=A}),null); __d("sdk.DOM",["Assert","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j={};function k(a,b){a=a.getAttribute(b)||a.getAttribute(b.replace(/_/g,"-"))||a.getAttribute(b.replace(/-/g,"_"))||a.getAttribute(b.replace(/-/g,""))||a.getAttribute(b.replace(/_/g,""))||a.getAttribute("data-"+b)||a.getAttribute("data-"+b.replace(/_/g,"-"))||a.getAttribute("data-"+b.replace(/-/g,"_"))||a.getAttribute("data-"+b.replace(/-/g,""))||a.getAttribute("data-"+b.replace(/_/g,""));return a?String(a):null}function a(a,b){a=k(a,b);return a?/^(true|1|yes|on)$/.test(a):null}function l(a,b){g.isTruthy(a,"element not specified");g.isString(b);try{return String(a[b])}catch(a){throw new Error("Could not read property "+b+" : "+a.message)}}function b(a,b){g.isTruthy(a,"element not specified");g.isString(b);try{a.innerHTML=b}catch(a){throw new Error("Could not set innerHTML : "+a.message)}}function m(a,b){g.isTruthy(a,"element not specified");g.isString(b);a=" "+l(a,"className")+" ";return ES(a,"indexOf",!0," "+b+" ")>=0}function c(a,b){g.isTruthy(a,"element not specified"),g.isString(b),m(a,b)||(a.className=l(a,"className")+" "+b)}function d(a,b){g.isTruthy(a,"element not specified");g.isString(b);b=new RegExp("\\s*"+b,"g");a.className=ES(l(a,"className").replace(b,""),"trim",!0)}function f(a,b,c){__p&&__p();g.isString(a);b=b||document.body;c=c||"*";if(b.querySelectorAll)return ES("Array","from",!1,b.querySelectorAll(c+"."+a));b=b.getElementsByTagName(c);c=[];for(var d=0,e=b.length;d30?k.warn("The method FB.%s will stop working when called from http pages in %s days. Please update your site to use https for Facebook Login. %s",b,Math.floor((z-ES("Date","now",!1))/864e5),A):k.error("The method FB.%s will stop working when called from http pages in %s days. Please update your site to use https for Facebook Login. %s",b,Math.floor((z-ES("Date","now",!1))/864e5),A);r("https_only_scribe_logging",!0)&&!Object.prototype.hasOwnProperty.call(B,b)&&(u.log("jssdk_error",{appId:t.getClientID(),error:"HttpsOnly method called from http",extra:{message:b}}),B[b]=!0)}e==="warn"&&(k.warn("The method FB.%s is not officially supported by Facebook and access to it will soon be removed.",b),Object.prototype.hasOwnProperty.call(B,b)||(s.log(s.TYPE.WARNING,s.CATEGORY.DEPRECATED,"FB."+b),u.log("jssdk_error",{appId:t.getClientID(),error:"Private method used",extra:{message:b}}),B[b]=!0));function g(a){if(ES("Array","isArray",!1,a))return ES(a,"map",!0,g);return a&&typeof a==="object"&&a.__wrapped?a.__wrapped:typeof a==="function"&&/^function/.test(a.toString())?q.unguard(a):a}var h=ES(Array.prototype.slice.call(arguments),"map",!0,g),i=a.apply(d,h),j,l=!0;if(i&&typeof i==="object"){j=ES("Object","create",!1,i);j.__wrapped=i;for(var c in i){var m=i[c];if(typeof m!=="function"||c==="constructor")continue;l=!1;j[c]=D(m,b+":"+c,c,i)}}return!l?j:l?i:j},b)}}function a(a,b){var c=a?l(v,a,!0):v;ES(ES("Object","keys",!1,b),"forEach",!0,function(d){var e=b[d];if(typeof e==="function"){var f=(a?a+".":"")+d,g=D(e,f,d,b);g&&(c[d]=g)}else(typeof e==="object"||typeof e==="number")&&(f=(a?a+".":"")+d,w&&w[f]&&(c[d]=e))})}t.setSecure(function(){var a=/iframe_canvas|app_runner/.test(window.name),b=/dialog/.test(window.name);if(location.protocol=="https:"&&(window==top||!(a||b)))return!0;if(/_fb_https?/.test(window.name))return ES(window.name,"indexOf",!0,"_fb_https")!=-1}());ES("Object","assign",!1,b,{provide:a});e.exports=b}),null); __d("ArgumentError",["ManagedError"],(function(a,b,c,d,e,f,g){function a(a,b){g.prototype.constructor.apply(this,arguments)}a.prototype=new g();a.prototype.constructor=a;e.exports=a}),null); __d("flattenObject",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){var b={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(null===d||undefined===d)continue;else typeof d==="string"?b[c]=d:b[c]=ES("JSON","stringify",!1,d)}return b}e.exports=a}),null); __d("ApiClientUtils",["ArgumentError","Assert","Log","flattenObject","sdk.URI","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={get:!0,post:!0,"delete":!0,put:!0};function a(a){__p&&__p();var b=a.shift();h.isString(b,"Invalid path");!/^https?/.test(b)&&b.charAt(0)!=="/"&&(b="/"+b);var c={};try{b=new k(b)}catch(a){throw new g(a.message,a)}ES(a,"forEach",!0,function(a){return c[typeof a]=a});a=(c.string||"get").toLowerCase();h.isTrue(Object.prototype.hasOwnProperty.call(m,a),l("Invalid method passed to ApiClient: %s",a));var d=c["function"];d||i.warn("No callback passed to the ApiClient");c.object&&b.addQueryData(j(c.object));var e=b.getQueryData();e.method=a;return{uri:b,callback:d,params:e}}e.exports={parseCallDataFromArgs:a}}),null); __d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}e.exports=a}),null); __d("nullthrows",[],(function(a,b,c,d,e,f){a=function(a,b){b===void 0&&(b="Got unexpected null or undefined");if(a!=null)return a;a=new Error(b);a.framesToPop=1;throw a};e.exports=a}),null); __d("sdk.safelyParseResponse",["errorCode","nullthrows"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();b=function(a,b,c){return i};function a(a,c){c===void 0&&(c=null);try{return a===null?i:ES("JSON","parse",!1,h(a))}catch(d){return b(d,a,c)}}var i={error:{code:1,error_subcode:1357046,message:"Received Invalid JSON reply.",type:"http"}};a.ERROR=i;a.setErrorHandler=function(a){b=a};e.exports=a}),null); __d("ApiBatcher",["ApiClientUtils","QueryString","invariant","sdk.safelyParseResponse"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=50,l=105440539523;function m(a,b){this.$1=[],this.$2=[],this.$4=null,this.executeRequest=a,this.$3=b}m.prototype.scheduleBatchCall=function(){for(var a=arguments.length,b=new Array(a),c=0;c0||i(0);this.$1.length===this.$2.length||i(0);var a=this.$1,b=this.$2;this.$1=[];this.$2=[];this.$4=null;if(a.length===1){var c=a[0],d=b[0],e=c.body?h.decode(c.body):null;this.executeRequest(c.relative_url,c.method,e,d);return}this.executeRequest("/","POST",{batch:a,include_headers:!1,batch_app_id:this.$3||l},function(a){ES("Array","isArray",!1,a)?ES(a,"forEach",!0,function(a,c){b[c](j(a&&a.body))}):ES(b,"forEach",!0,function(a){return a({error:{message:"Fatal: batch call failed."}})})})};e.exports=m}),null); __d("RequestConstants",["errorCode"],(function(a,b,c,d,e,f,g){a={code:1,error_subcode:1357045,message:"unknown error (empty response)",type:"http",status:0};e.exports={PARSE_ERROR_TEMPLATE:a}}),null); __d("CORSRequest",["QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function k(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest(),d=function(){};if("withCredentials"in c)c.open(a,b,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded");else if(self.XDomainRequest){c=new XDomainRequest();try{c.open(a,b),c.onprogress=c.ontimeout=d}catch(a){return null}}else return null;var e={send:function(a){c.send(a)}},f=j(function(){f=d,"onload"in e&&e.onload(c)},"entry","XMLHttpRequest:load"),g=j(function(){g=d,"onerror"in e&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onload=function(){f()};c.onerror=function(){g()};c.onreadystatechange=function(){c.readyState==4&&(c.status==200?f():g())};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=g.encode(c);b!="post"&&(a=g.appendToUrl(a,c),c="");b=k(b,a);if(!b)return!1;b.onload=function(b){d(i(b.responseText,a))};b.onerror=function(b){b.responseText?d(i(b.responseText,a)):d({error:babelHelpers["extends"]({},h.PARSE_ERROR_TEMPLATE,{status:b.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null); __d("GraphBatchConstants",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{FLUSH_DELIMITER:"\r\n"})}),null); __d("ChunkedRequest",["GraphBatchConstants","QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l="{}";function m(a){a===void 0&&(a=g.FLUSH_DELIMITER),this.offset=0,this.delimiter=g.FLUSH_DELIMITER,this.delimiter=a}m.prototype.parse=function(a,b){__p&&__p();b===void 0&&(b=!1);var c=[],d=a.substring(this.offset),e=0,f=ES(d,"indexOf",!0,this.delimiter,e);f===0&&(e=this.delimiter.length,f=ES(d,"indexOf",!0,this.delimiter,e));while(f>-1){var g=d.substring(e,f);g&&c.push(g);e=f+this.delimiter.length;f=ES(d,"indexOf",!0,this.delimiter,e)}this.offset+=e;if(b&&d&&f===-1){g=a.substring(this.offset);c.push(g)}return c};function n(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest();if(!("withCredentials"in c))return null;c.open(a,b,!0);c.setRequestHeader("Content-type","application/x-www-form-urlencoded");var d=new m(),e={send:function(a){c.send(a)}},f=k(function(a,b){if(e.onchunk){a=d.parse(a);ES(a,"forEach",!0,function(a){return e.onchunk(a,b)});b&&e.onchunk(l,b)}},"entry","XMLHttpRequest:onchunk"),g=k(function(){e.onerror&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onerror=g;c.onreadystatechange=function(){c.readyState==4?c.status===200?f(c.responseText,!0):g():c.readyState==3&&f(c.responseText,!1)};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=h.encode(c);b!="post"&&(a=h.appendToUrl(a,c),c="");b=n(b,a);if(!b)return!1;b.onchunk=function(a,b){d(j(a),b)};b.onerror=function(a){a.responseText?d(j(a.responseText)):d({error:babelHelpers["extends"]({},i.PARSE_ERROR_TEMPLATE,{status:a.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null); __d("FlashRequest",["DOMWrapper","Flash","GlobalCallback","QueryString","Queue"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l,m={},n,o;function p(){__p&&__p();if(!n)throw new Error("swfUrl has not been set");var a=i.create(function(){l.start(function(a){var b=o.execute(a.method,a.url,a.body);if(!b)throw new Error("Could create request");m[b]=a.callback})}),b=i.create(function(a,b,c){var d;try{d=ES("JSON","parse",!1,decodeURIComponent(c))}catch(a){d={error:{type:"SyntaxError",message:a.message,status:b,raw:c}}}m[a](d);delete m[a]});o=h.embed(n,g.getRoot(),null,{log:!1,initCallback:a,requestCallback:b})}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c.method||(c.method=b);c=j.encode(c);b==="get"&&a.length+c.length<2e3?(a=j.appendToUrl(a,c),c=""):b="post";if(!l){if(!h.isAvailable())return!1;l=new k();p()}l.enqueue({method:b,url:a,body:c,callback:d});return!0}b={setSwfUrl:function(a){n=a},execute:a};e.exports=b}),null); __d("JSONPRequest",["DOMWrapper","GlobalCallback","QueryString"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=2e3,k=!1;function a(a,b,c,d){__p&&__p();var e=document.createElement("script"),f=function(a){f=function(){},h.remove(c.callback),d(a),e.parentNode.removeChild(e)};c.callback=h.create(f);c.method||(c.method=b);a=i.appendToUrl(a,c);if(!k&&a.length>j){h.remove(c.callback);return!1}e.onerror=function(){f({error:{type:"http",message:"unknown error"}})};var l=function(){setTimeout(function(){f({error:{type:"http",message:"unknown error"}})},0)};e.addEventListener?e.addEventListener("load",l,!1):e.onreadystatechange=function(){/loaded|complete/.test(this.readyState)&&l()};e.src=a;g.getRoot().appendChild(e);return!0}function b(){k=!0}c={execute:a,ignoreMaxQuerystringLength:b,MAX_QUERYSTRING_LENGTH:j};e.exports=c}),null); __d("ApiClient",["ApiBatcher","ApiClientConfig","ApiClientUtils","Assert","ChunkedRequest","CORSRequest","FlashRequest","JSONPRequest","Log","ObservableMixin","QueryString","UrlMap","flattenObject"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){__p&&__p();var t,u,v,w=n.MAX_QUERYSTRING_LENGTH,x={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},y=["cors","jsonp","flash"],z=0,A=[],B=0,C=0,D;function E(a,b,c,d){__p&&__p();var e=B!==0&&z>=B;if(e){A.push(function(){return E(a,b,c,d)});H.inform("request.queued",a,b,c);return}z++;v&&(c=ES("Object","assign",!1,{},v,c));c.pretty=c.pretty||0;c=s(c);e={jsonp:n,cors:l,flash:m,chunked:k};var f={},g=c.access_token||t;g&&(f.access_token=g);g=ES("Object","keys",!1,f);g.length>0&&(a=q.appendToUrl(a,f),ES(g,"forEach",!0,function(a){return delete c[a]}));c.transport?(f=[c.transport],delete c.transport):f=y;for(var g=0;g0&&zw&&b==="get"}m.setSwfUrl(h.FlashRequest.swfUrl);e.exports=H}),null); __d("sdk.PlatformVersioning",["ManagedError","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){var i=/^v\d+\.\d\d?$/;a={REGEX:i,assertVersionIsSet:function(){if(!h.getVersion())throw new g("init not called with valid version")},assertValidVersion:function(a){if(!i.test(a))throw new g("invalid version specified")}};e.exports=a}),null); __d("sdk.api",["ApiClient","sdk.feature","sdk.PlatformVersioning","sdk.Runtime","sdk.Scribe","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m=h("should_log_response_error",!1),n;j.subscribe("ClientID.change",function(a){return g.setClientID(a)});j.subscribe("AccessToken.change",function(a){n=a,g.setAccessToken(a)});g.setDefaultParams({sdk:"joey"});g.subscribe("request.complete",function(a,b,c,d){a=!1;d&&typeof d==="object"&&(d.error?(d.error=="invalid_token"||d.error.type=="OAuthException"&&d.error.code==190)&&(a=!0):d.error_code&&(d.error_code=="190"&&(a=!0)));a&&n===j.getAccessToken()&&j.setAccessToken(null)});g.subscribe("request.complete",function(a,b,c,d){(a=="/me/permissions"&&b==="delete"||a=="/restserver.php"&&c.method=="Auth.revokeAuthorization")&&d===!0&&j.setAccessToken(null)});g.subscribe("request.error",function(a,b,c,d){m&&d.error.type==="http"&&k.log("jssdk_error",{appId:j.getClientID(),error:"transport",extra:{name:"transport",message:ES("JSON","stringify",!1,d.error)}})});function a(a){__p&&__p();if(typeof a==="string")if(j.getIsVersioned()){i.assertVersionIsSet();!/https?/.test(a)&&a.charAt(0)!=="/"&&(a="/"+a);a=new l(a).setDomain(null).setProtocol(null).toString();i.REGEX.test(a.substring(1,ES(a,"indexOf",!0,"/",1)))||(a="/"+j.getVersion()+a);var b=[a].concat(Array.prototype.slice.call(arguments,1));g.graph.apply(g,b)}else g.graph.apply(g,arguments);else g.rest.apply(g,arguments)}e.exports=a}),null); __d("legacy:fb.api",["FB","sdk.api"],(function(a,b,c,d,e,f,g,h){g.provide("",{api:h})}),3); __d("AppUserPropertyAPIBuiltinField",[],(function(a,b,c,d,e,f){e.exports={GENDER:"$gender",CITY:"$city",STATE:"$state",ZIPCODE:"$zipcode",COUNTRY:"$country",LANGUAGE:"$language",CURRENCY:"$currency",INSTALL_SOURCE:"$install_source",USER_TYPE:"$user_type",ACCOUNT_CREATED_TIME:"$account_created_time"}}),null); __d("FBEventsParamList",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="deep",h="shallow";function a(){this.list=[]}a.prototype={append:function(a,b){this._append(encodeURIComponent(a),b,g)},_append:function(a,b,c){Object(b)!==b?this._appendPrimitive(a,b):c===g?this._appendObject(a,b):this._appendPrimitive(a,i(b))},_appendPrimitive:function(a,b){b!=null&&this.list.push([a,b])},_appendObject:function(a,b){for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=a+"["+encodeURIComponent(c)+"]";this._append(d,b[c],h)}},each:function(a){var b=this.list;for(var c=0,d=b.length;c(i+"?"+b).length?n(i,b):o(i,a)}function n(a,b){var c=new Image();c.src=a+"?"+b}function o(a,b){__p&&__p();var c="fb"+Math.random().toString().replace(".",""),d=document.createElement("form");d.method="post";d.action=a;d.target=c;d.acceptCharset="utf-8";d.style.display="none";a=!!(window.attachEvent&&!window.addEventListener);a=a?'