uawdijnntqw1x1x1
IP : 216.73.217.174
Hostname : mailtech.lifestyleretreats.com
Kernel : Linux mailtech.lifestyleretreats.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home
/
lrindo5
/
ts2.lrindo.com
/
files
/
.
/
sdk.js
/
/
/*1548906179,,JIT Construction: v4725916,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 && !window.FB.__buffer) || (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 __buffer = window.FB && window.FB.__buffer; 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:void 0,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:""):void 0)},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:void 0,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;j<g;j++){switch(f[j]){case"module":h=e;break;case"exports":h=e.exports;break;case"global":h=a;break;case"require":h=require;break;case"requireDynamic":h=null;break;case"requireLazy":h=null;break;default:h=require.call(null,f[j])}i.push(h)}e.factory.apply(a,i);c[d]=e.exports;return e.exports};__d=function(a,e,f,g){typeof f==="function"?(b[a]={factory:f,deps:d.concat(e),exports:{}},g===3&&require.call(null,a)):c[a]=f}})(this); __d("ES5Array",[],(function(a,b,c,d,e,f){a={};a.isArray=function(a){return Object.prototype.toString.call(a)=="[object Array]"};e.exports=a}),null); __d("ES5ArrayPrototype",[],(function(a,b,c,d,e,f){__p&&__p();var g={};g.map=function(a,b){if(typeof a!=="function")throw new TypeError();var c,d=this.length,e=new Array(d);for(c=0;c<d;++c)c in this&&(e[c]=a.call(b,this[c],c,this));return e};g.forEach=function(a,b){g.map.call(this,a,b)};g.filter=function(a,b){if(typeof a!=="function")throw new TypeError();var c,d,e=this.length,f=[];for(c=0;c<e;++c)c in this&&(d=this[c],a.call(b,d,c,this)&&f.push(d));return f};g.every=function(a,b){if(typeof a!=="function")throw new TypeError();var c=new Object(this),d=c.length;for(var e=0;e<d;e++)if(e in c&&!a.call(b,c[e],e,c))return!1;return!0};g.some=function(a,b){if(typeof a!=="function")throw new TypeError();var c=new Object(this),d=c.length;for(var e=0;e<d;e++)if(e in c&&a.call(b,c[e],e,c))return!0;return!1};g.indexOf=function(a,b){var c=this.length;b|=0;b<0&&(b+=c);for(;b<c;b++)if(b in this&&this[b]===a)return b;return-1};e.exports=g}),null); __d("ES5Date",[],(function(a,b,c,d,e,f){a={};a.now=function(){return new Date().getTime()};e.exports=a}),null); __d("ES5FunctionPrototype",[],(function(a,b,c,d,e,f){__p&&__p();a={};a.bind=function(a){if(typeof this!=="function")throw new TypeError("Bind must be called on a function");var b=this,c=Array.prototype.slice.call(arguments,1);function d(){return b.apply(a,c.concat(Array.prototype.slice.call(arguments)))}d.displayName="bound:"+(b.displayName||b.name||"(?)");d.toString=function(){return"bound: "+b};return d};e.exports=a}),null); __d("ie8DontEnum",[],(function(a,b,c,d,e,f){var g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","prototypeIsEnumerable","constructor"],h={}.hasOwnProperty;a=function(){};({toString:!0}).propertyIsEnumerable("toString")&&(a=function(a,b){for(var c=0;c<g.length;c++){var d=g[c];h.call(a,d)&&b(d)}});e.exports=a}),null); __d("ES5Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={};function i(){}a.create=function(a){var b=typeof a;if(b!="object"&&b!="function")throw new TypeError("Object prototype may only be a Object or null");i.prototype=a;return new i()};a.keys=function(a){var b=typeof a;if(b!="object"&&b!="function"||a===null)throw new TypeError("Object.keys called on non-object");var c=[];for(var d in a)h.call(a,d)&&c.push(d);g(a,function(a){return c.push(a)});return c};a.freeze=function(a){return a};a.isFrozen=function(){return!1};a.seal=function(a){return a};e.exports=a}),null); __d("ES5StringPrototype",[],(function(a,b,c,d,e,f){__p&&__p();a={};a.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,"")};a.startsWith=function(a){var b=String(this);if(this==null)throw new TypeError("String.prototype.startsWith called on null or undefined");var c=arguments.length>1?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<n)k=e[i],g&&(k=b.call(c,k,i)),j[i]=k,i+=1;j.length=i;return j}};e.exports=a}),null); __d("ES6ArrayPrototype",[],(function(a,b,c,d,e,f){__p&&__p();var g={find:function(a,b){if(this==null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof a!=="function")throw new TypeError("predicate must be a function");a=g.findIndex.call(this,a,b);return a===-1?void 0:this[a]},findIndex:function(a,b){if(this==null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof a!=="function")throw new TypeError("predicate must be a function");var c=Object(this),d=c.length>>>0;for(var e=0;e<d;e++)if(a.call(b,c[e],e,c))return e;return-1},fill:function(a){if(this==null)throw new TypeError("Array.prototype.fill called on null or undefined");var b=Object(this),c=b.length>>>0,d=arguments[1],e=d>>0,f=e<0?Math.max(c+e,0):Math.min(e,c),g=arguments[2],h=g===void 0?c:g>>0,i=h<0?Math.max(c+h,0):Math.min(h,c);while(f<i)b[f]=a,f++;return b}};e.exports=g}),null); __d("ES6DatePrototype",[],(function(a,b,c,d,e,f){function g(a){return(a<10?"0":"")+a}a={toISOString:function(){if(!isFinite(this))throw new Error("Invalid time value");var a=this.getUTCFullYear();a=(a<0?"-":a>9999?"+":"")+("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){a=Math.pow(2,-52);b=Math.pow(2,53)-1;c=-1*b;d={isFinite:function(a){return typeof a==="number"&&isFinite(a)},isNaN: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?void 0: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!==void 0&&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(e<c){var g=b[e];if(g===a||typeof g==="number"&&f&&isNaN(g))return!0;e++}return!1}};e.exports=a}),null); __d("ES7Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={};a.entries=function(a){if(a==null)throw new TypeError("Object.entries called on non-object");var b=[];for(var c in a)h.call(a,c)&&b.push([c,a[c]]);g(a,function(c){return b.push([c,a[c]])});return b};a.values=function(a){if(a==null)throw new TypeError("Object.values called on non-object");var b=[];for(var c in a)h.call(a,c)&&b.push(a[c]);g(a,function(c){return b.push(a[c])});return b};e.exports=a}),null); __d("ES7StringPrototype",[],(function(a,b,c,d,e,f){a={};a.trimLeft=function(){return this.replace(/^\s+/,"")};a.trimRight=function(){return this.replace(/\s+$/,"")};e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/MDzNl_j9yvg/ */ __d("json3-3.3.2",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h={exports:g},i;function j(){__p&&__p();(function(){__p&&__p();var b=typeof i==="function"&&i.amd,c={"function":!0,object:!0},d=c[typeof g]&&g&&!g.nodeType&&g,e=c[typeof window]&&window||this,j=d&&c[typeof h]&&h&&!h.nodeType&&typeof a=="object"&&a;j&&(j.global===j||j.window===j||j.self===j)&&(e=j);function k(b,a){__p&&__p();b||(b=e.Object());a||(a=e.Object());var d=b.Number||e.Number,g=b.String||e.String,h=b.Object||e.Object,i=b.Date||e.Date,j=b.SyntaxError||e.SyntaxError,l=b.TypeError||e.TypeError,m=b.Math||e.Math;b=b.JSON||e.JSON;typeof b=="object"&&b&&(a.stringify=b.stringify,a.parse=b.parse);b=h.prototype;var n=b.toString,o,p,q,r=new i(-3509827334573292);try{r=r.getUTCFullYear()==-109252&&r.getUTCMonth()===0&&r.getUTCDate()===1&&r.getUTCHours()==10&&r.getUTCMinutes()==37&&r.getUTCSeconds()==6&&r.getUTCMilliseconds()==708}catch(a){}function s(b){__p&&__p();if(s[b]!==q)return s[b];var c;if(b=="bug-string-char-index")c="a"[0]!="a";else if(b=="json")c=s("json-stringify")&&s("json-parse");else{var e,f='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if(b=="json-stringify"){var h=a.stringify,j=typeof h=="function"&&r;if(j){(e=function(){return 1}).toJSON=e;try{j=h(0)==="0"&&h(new d())==="0"&&h(new g())=='""'&&h(n)===q&&h(q)===q&&h()===q&&h(e)==="1"&&h([e])=="[1]"&&h([q])=="[null]"&&h(null)=="null"&&h([q,n,null])=="[null,null,null]"&&h({a:[e,!0,!1,null,"\0\b\n\f\r\t"]})==f&&h(null,e)==="1"&&h([1,2],null,1)=="[\n 1,\n 2\n]"&&h(new i(-864e13))=='"-271821-04-20T00:00:00.000Z"'&&h(new i(864e13))=='"+275760-09-13T00:00:00.000Z"'&&h(new i(-621987552e5))=='"-000001-01-01T00:00:00.000Z"'&&h(new i(-1))=='"1969-12-31T23:59:59.999Z"'}catch(a){j=!1}}c=j}if(b=="json-parse"){h=a.parse;if(typeof h=="function")try{if(h("0")===0&&!h(!1)){e=h(f);var k=e.a.length==5&&e.a[0]===1;if(k){try{k=!h('"\t"')}catch(a){}if(k)try{k=h("01")!==1}catch(a){}if(k)try{k=h("1.")!==1}catch(a){}}}}catch(a){k=!1}c=k}}return s[b]=!!c}if(!s("json")){var t="[object Function]",u="[object Date]",v="[object Number]",w="[object String]",x="[object Array]",y="[object Boolean]",z=s("bug-string-char-index");if(!r)var A=m.floor,B=[0,31,59,90,120,151,181,212,243,273,304,334],C=function(a,b){return B[b]+365*(a-1970)+A((a-1969+(b=+(b>1)))/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<d;c++){var g=a.charCodeAt(c);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:b+=D[g];break;default:if(g<32){b+=G+F(2,g.toString(16));break}b+=e?f[c]:a.charAt(c)}}return b+'"'},I=function(a,b,c,d,e,f,g){__p&&__p();var h,i,j,k,m,r,s,t,z,B;try{h=b[a]}catch(a){}if(typeof h=="object"&&h){i=n.call(h);if(i==u&&!o.call(h,"toJSON"))if(h>-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;m<j;m++)s=I(m,h,c,d,e,f,g),B.push(s===q?"null":s);t=B.length?e?"[\n"+f+B.join(",\n"+f)+"\n"+k+"]":"["+B.join(",")+"]":"[]"}else p(d||h,function(a){var b=I(a,h,c,d,e,f,g);b!==q&&B.push(H(a)+":"+(e?" ":"")+b)}),t=B.length?e?"{\n"+f+B.join(",\n"+f)+"\n"+k+"}":"{"+B.join(",")+"}":"{}";g.pop();return t}};a.stringify=function(a,b,d){__p&&__p();var e,f,g,h;if(c[typeof b]&&b)if((h=n.call(b))==t)f=b;else if(h==x){g={};for(var i=0,j=b.length,k;i<j;k=b[i++],(h=n.call(k),h==w||h==v)&&(g[k]=1));}if(d)if((h=n.call(d))==v){if((d-=d%1)>0)for(e="",d>10&&(d=10);e.length<d;e+=" ");}else h==w&&(e=d.length<=10?d:d.slice(0,10));return I("",(k={},k[""]=a,k),f,g,e,"",[])}}if(!s("json-parse")){var J=g.fromCharCode,K={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},L,M,N=function(){L=M=null;throw j()},O=function(){__p&&__p();var a=M,b=a.length,c,d,e,f,g;while(L<b){g=a.charCodeAt(L);switch(g){case 9:case 10:case 13:case 32:L++;break;case 123:case 125:case 91:case 93:case 58:case 44:c=z?a.charAt(L):a[L];L++;return c;case 34:for(c="@",L++;L<b;){g=a.charCodeAt(L);if(g<32)N();else if(g==92){g=a.charCodeAt(++L);switch(g){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:c+=K[g];L++;break;case 117:d=++L;for(e=L+4;L<e;L++)g=a.charCodeAt(L),g>=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<b&&(g=a.charCodeAt(L),g>=48&&g<=57);L++);if(a.charCodeAt(L)==46){e=++L;for(;e<b&&(g=a.charCodeAt(e),g>=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<b&&(g=a.charCodeAt(e),g>=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 void 0: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<f;h++)g[h-3]=arguments[h];return e.apply(a,g)}else if(e)return e;throw new Error("Polyfill "+d+" does not have implementation of "+b)}e.exports=b}),null); __d("sdk.babelHelpers",["ES5FunctionPrototype","ES5Object","ES6Object"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();a={};var j=Object.prototype.hasOwnProperty;a.inherits=function(a,b){i.assign(a,b);a.prototype=h.create(b&&b.prototype);a.prototype.constructor=a;a.__superConstructor__=b;return b};a._extends=i.assign;a["extends"]=a._extends;a.objectWithoutPropertiesLoose=function(a,b){var c={};for(var d in a){if(!j.call(a,d)||b.indexOf(d)>=0)continue;c[d]=a[d]}return c};a.objectWithoutProperties=a.objectWithoutPropertiesLoose;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),b;a||(b=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:void 0,done:!0};var a=this.$1,b=this.$1.length,f=this.$3,g=this.$2;if(f>=b){this.$1=void 0;return{value:void 0,done:!0}}this.$3=f+1;if(g===c)return{value:f,done:!1};else if(g===d)return{value:a[f],done:!1};else if(g===e)return{value:[f,a[f]],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 b(a,c)},values:a?function(a){return a.values()}:function(a){return new b(a,d)},entries:a?function(a){return a.entries()}:function(a){return new b(a,e)}}}(),g=function(){var a=h(String),b;a||(b=function(){function a(a){"use strict";this.$1=a,this.$2=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:void 0,done:!0};var a=this.$2,b=this.$1,c=b.length;if(a>=c){this.$1=void 0;return{value:void 0,done:!0}}var d=b.charCodeAt(a);if(d<55296||d>56319||a+1===c)d=b[a];else{c=b.charCodeAt(a+1);c<56320||c>57343?d=b[a]:d=b[a]+b[a+1]}this.$2=a+d.length;return{value:d,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 b(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,b=this.$4,f=this.$2,g=this.$3[b];if(b>=a){this.$1=void 0;return{value:void 0,done:!0}}this.$4=b+1;if(f===c)return{value:g,done:!1};else if(f===d)return{value:this.$1[g],done:!1};else if(f===e)return{value:[g,this.$1[g]],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 b="key",i="value",j="key+value",k="$map_",l,m="IE_HASH_";function a(a){"use strict";if(!r(this))throw new TypeError("Wrong map object type.");q(this);if(a!=null){a=g(a);var b;while(!(b=a.next()).done){if(!r(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";q(this)};a.prototype.has=function(a){"use strict";a=o(this,a);return!!(a!=null&&this._mapData[a])};a.prototype.set=function(a,b){"use strict";var c=o(this,a);c!=null&&this._mapData[c]?this._mapData[c][1]=b:(c=this._mapData.push([a,b])-1,p(this,a,c),this.size+=1);return this};a.prototype.get=function(a){"use strict";a=o(this,a);if(a==null)return void 0;else return this._mapData[a][1]};a.prototype["delete"]=function(a){"use strict";var b=o(this,a);if(b!=null&&this._mapData[b]){p(this,a,void 0);this._mapData[b]=void 0;this.size-=1;return!0}else return!1};a.prototype.entries=function(){"use strict";return new n(this,j)};a.prototype.keys=function(){"use strict";return new n(this,b)};a.prototype.values=function(){"use strict";return new n(this,i)};a.prototype.forEach=function(a,b){"use strict";if(typeof a!=="function")throw new TypeError("Callback must be callable.");a=ES(a,"bind",!0,b||void 0);b=this._mapData;for(var c=0;c<b.length;c++){var d=b[c];d!=null&&a(d[1],d[0],this)}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this.entries()};function n(a,c){"use strict";if(!(r(a)&&a._mapData))throw new TypeError("Object is not a map.");if(ES([b,j,i],"indexOf",!0,c)===-1)throw new Error("Invalid iteration kind.");this._map=a;this._nextIndex=0;this._kind=c}n.prototype.next=function(){"use strict";if(!this instanceof a)throw new TypeError("Expected to be called on a MapIterator.");var c=this._map,d=this._nextIndex,e=this._kind;if(c==null)return s(void 0,!0);c=c._mapData;while(d<c.length){var f=c[d];d+=1;this._nextIndex=d;if(f)if(e===b)return s(f[0],!1);else if(e===i)return s(f[1],!1);else if(e)return s(f,!1)}this._map=void 0;return s(void 0,!0)};n.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};function o(a,b){if(r(b)){var c=w(b);return c?a._objectIndex[c]:void 0}else{c=k+b;if(typeof b==="string")return a._stringIndex[c];else return a._otherIndex[c]}}function p(a,b,c){var d=c==null;if(r(b)){var e=w(b);e||(e=x(b));d?delete a._objectIndex[e]:a._objectIndex[e]=c}else{e=k+b;typeof b==="string"?d?delete a._stringIndex[e]:a._stringIndex[e]=c:d?delete a._otherIndex[e]:a._otherIndex[e]=c}}function q(a){a._mapData=[],a._objectIndex={},a._stringIndex={},a._otherIndex={},a.size=0}function r(a){return a!=null&&(typeof a==="object"||typeof a==="function")}function s(a,b){return{value:a,done:b}}a.__isES5=function(){try{Object.defineProperty({},"__.$#x",{});return!0}catch(a){return!1}}();function t(b){if(!a.__isES5||!Object.isExtensible)return!0;else return Object.isExtensible(b)}function u(a){var b;switch(a.nodeType){case 1:b=a.uniqueID;break;case 9:b=a.documentElement.uniqueID;break;default:return null}if(b)return m+b;else return null}var v=d();function w(b){if(b[v])return b[v];else if(!a.__isES5&&b.propertyIsEnumerable&&b.propertyIsEnumerable[v])return b.propertyIsEnumerable[v];else if(!a.__isES5&&e(b)&&u(b))return u(b);else if(!a.__isES5&&b[v])return b[v]}var x=function(){var b=Object.prototype.propertyIsEnumerable,c=0;return function(d){if(t(d)){c+=1;if(a.__isES5)Object.defineProperty(d,v,{enumerable:!1,writable:!1,configurable:!1,value:c});else if(d.propertyIsEnumerable)d.propertyIsEnumerable=function(){return b.apply(this,arguments)},d.propertyIsEnumerable[v]=c;else if(e(d))d[v]=c;else throw new Error("Unable to set a non-enumerable property on object.");return c}else throw new Error("Non-extensible objects are not allowed as keys.")}}();return __annotator(a,{name:"Map"})}();b=function(){if(!f("Set"))return c.Set;function a(a){"use strict";if(this==null||typeof this!=="object"&&typeof this!=="function")throw new TypeError("Wrong set object type.");b(this);if(a!=null){a=g(a);var c;while(!(c=a.next()).done)this.add(c.value)}}a.prototype.add=function(a){"use strict";this._map.set(a,a);this.size=this._map.size;return this};a.prototype.clear=function(){"use strict";b(this)};a.prototype["delete"]=function(a){"use strict";a=this._map["delete"](a);this.size=this._map.size;return a};a.prototype.entries=function(){"use strict";return this._map.entries()};a.prototype.forEach=function(a){"use strict";var b=arguments[1],c=this._map.keys(),d;while(!(d=c.next()).done)a.call(b,d.value,d.value,this)};a.prototype.has=function(a){"use strict";return this._map.has(a)};a.prototype.values=function(){"use strict";return this._map.values()};a.prototype.keys=function(){"use strict";return this.values()};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this.values()};function b(a){a._map=new h(),a.size=a._map.size}return __annotator(a,{name:"Set"})}();a.Map=h;a.Set=b})(typeof global==="undefined"?this:global); __d("UrlMapConfig",[],{"www":"web.facebook.com","m":"mobile.facebook.com","business":"business.facebook.com","api":"api.facebook.com","api_read":"api.facebook.com","graph":"graph.facebook.com","an":"an.facebook.com","fbcdn":"static.xx.fbcdn.net","cdn":"staticxx.facebook.com"});__d("JSSDKRuntimeConfig",[],{"locale":"en_US","revision":"4725916","rtl":false,"sdkab":null,"sdkns":"FB","sdkurl":"http:\/\/connect.facebook.net\/en_US\/sdk.js"});__d("JSSDKConfig",[],{"features":{"allow_non_canvas_app_events":false,"error_handling":{"rate":4},"e2e_ping_tracking":{"rate":1.0e-6},"xd_timeout":{"rate":1,"value":60000},"use_bundle":true,"should_log_response_error":true,"popup_blocker_scribe_logging":{"rate":100},"https_only_enforce_starting":2538809200000,"https_only_learn_more":"https:\/\/developers.facebook.com\/blog\/post\/2018\/06\/08\/enforce-https-facebook-login\/","https_only_scribe_logging":{"rate":1},"log_perf":{"rate":0.001}}});__d("JSSDKXDConfig",[],{"XdUrl":"\/connect\/xd_arbiter.php?version=44","XdBundleUrl":"\/connect\/xd_arbiter\/r\/GMRn6XEBZ06.js?version=44","useCdn":true});__d("JSSDKCssConfig",[],{"rules":".fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:\"lucida grande\", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}\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_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.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{left:5px;right:auto;top:5px}.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_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{height:100\u0025;left:0;margin:0;overflow:visible;position:absolute;top:-10000px;transform:none;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{background:none;height:auto;min-height:initial;min-width:initial;width:auto}.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{clear:both;color:#fff;display:block;font-size:18px;padding-top:20px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .4);bottom:0;left:0;min-height:100\u0025;position:absolute;right:0;top:0;width: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_mobile .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content .dialog_header{background:linear-gradient(from(#738aba), to(#2c4987));border-bottom:1px solid;border-color:#1d3c78;box-shadow:white 0 1px 1px -1px inset;color:#fff;font:bold 14px Helvetica, sans-serif;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{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:linear-gradient(from(#4267B2), to(#2a4887));background-clip:padding-box;border:1px solid #29487d;border-radius:3px;display:inline-block;line-height:18px;margin-top:3px;max-width:85px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{background:none;border:none;color:#fff;font:bold 12px Helvetica, sans-serif;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 #4a4a4a;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #4a4a4a;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-position:50\u0025 50\u0025;background-repeat:no-repeat;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_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100\u0025}","components":["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget"]});__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}),null); __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;h<e;h++)f[h]=arguments[h];return d.apply(this,f)}};a.setWrapper=function(a,b){g[b]=a};e.exports=a}),null); __d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k,l;a={setPrefix:function(a){k=h(g.getWindow(),a,!0),l=a},create:function(a,b){k||this.setPrefix("__globalCallbacks");var c=i();k[c]=j(a,"entry",b||"GlobalCallback");return l+"."+c},remove:function(a){a=a.substring(l.length+1);delete k[a]}};e.exports=a}),null); __d("Log",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={DEBUG:3,INFO:2,WARNING:1,ERROR:0};b=function(a,b,c){for(var d=arguments.length,e=new Array(d>3?d-3:0),f=3;f<d;f++)e[f-3]=arguments[f];var h=0,i=c.replace(/%s/g,function(){return String(e[h++])}),j=window.console;j&&g.level>=b&&j[a in j?a:"log"](i)};var g={level:-1,Level:a,debug:ES(b,"bind",!0,null,"debug",a.DEBUG),info:ES(b,"bind",!0,null,"info",a.INFO),warn:ES(b,"bind",!0,null,"warn",a.WARNING),error:ES(b,"bind",!0,null,"error",a.ERROR),log:b};e.exports=g}),null); __d("OAuthControllerParameterName",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{ANCESTOR_ORIGINS:"ancestor_origins",ANDROID_KEY:"android_key",API_KEY:"api_key",APP_ID:"app_id",AUTH_METHOD:"auth_method",AUTH_NONCE:"auth_nonce",AUTH_TYPE:"auth_type",CLIENT_ID:"client_id",CONTEXT:"context",DEFAULT_AUDIENCE:"default_audience",DISPLAY:"display",DOMAIN:"domain",E2E:"e2e",EXPLICIT_TOKEN:"explicit_token",EXTRAS:"extras",FALLBACK_REDIRECT_URI:"fallback_redirect_uri",FORCE_CONFIRMATION:"force_confirmation",LOGGING_TOKEN:"logging_token",MBASIC_NAVIGATION:"mbasic_navigation",NEXT:"next",NONCE:"nonce",ORIGIN:"origin",ORIGINAL_REDIRECT_URI:"original_redirect_uri",PERMS:"perms",REDIRECT_URI:"redirect_uri",REF:"ref",RESPONSE_TYPE:"response_type",RETURN_SCOPES:"return_scopes",SCOPE:"scope",SDK:"sdk",SDK_VERSION:"sdk_version",SHEET_NAME:"sheet_name",SSO_DEVICE:"sso_device",STATE:"state",SSO:"sso",SSO_KEY:"sso_key",USER_CODE:"user_code",WINDOWS_STORE_ID:"windows_store_id",ACT:"act",RET:"ret",FBAPP_PRES:"fbapp_pres",LOCAL_CLIENT_ID:"local_client_id",AUTH_TOKEN:"auth_token",RETURN_SESSION:"return_session",SESSION_VERSION:"session_version",TYPE:"type"})}),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<c.length;d++){if(c[d]===null)continue;try{c[d].apply(this,b)}catch(a){window.setTimeout(function(){throw a},0)}}return this},getSubscribers:function(a){return this.__observableEvents[a]||(this.__observableEvents[a]=[])},clearSubscribers:function(a){a&&(this.__observableEvents[a]=[]);return this},subscribe:function(a,b){a=this.getSubscribers(a);a.push(b);return this},unsubscribe:function(a,b){a=this.getSubscribers(a);for(var c=0;c<a.length;c++)if(a[c]===b){a.splice(c,1);break}return this}};e.exports=a}),null); __d("QueryString",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var b=[];ES(ES("Object","keys",!1,a).sort(),"forEach",!0,function(c){var d=a[c];if(d===void 0)return;if(d===null){b.push(c);return}b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))});return b.join("&")}function b(a,b){__p&&__p();b===void 0&&(b=!1);var c={};if(a==="")return c;a=a.split("&");for(var d=0;d<a.length;d++){var e=a[d].split("=",2),f=decodeURIComponent(e[0]);if(b&&Object.prototype.hasOwnProperty.call(c,f))throw new URIError("Duplicate key: "+f);c[f]=e.length===2?decodeURIComponent(e[1]):null}return c}function c(a,b){return a+(ES(a,"indexOf",!0,"?")!==-1?"&":"?")+(typeof b==="string"?b:g.encode(b))}var g={encode:a,decode:b,appendToUrl:c};e.exports=g}),null); __d("Env",[],(function(a,b,c,d,e,f){b={ajaxpipe_token:null,isCQuick:!1,start:ES("Date","now",!1),nocatch:!1};a.Env&&ES("Object","assign",!1,b,a.Env);a.Env=b;e.exports=b}),null); __d("javascript_shared_TAAL_OpCode",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{PREVIOUS_FILE:1,PREVIOUS_FRAME:2,PREVIOUS_DIR:3,FORCED_KEY:4})}),null); __d("TAALOpcodes",["javascript_shared_TAAL_OpCode"],(function(a,b,c,d,e,f,g){"use strict";a={previousFile:function(){return g.PREVIOUS_FILE},previousFrame:function(){return g.PREVIOUS_FRAME},previousDirectory:function(){return g.PREVIOUS_DIR},getString:function(a){return a&&a.length?" TAAL["+a.join(";")+"]":""}};e.exports=a}),null); __d("TAAL",["TAALOpcodes"],(function(a,b,c,d,e,f,g){"use strict";a={blameToPreviousFile:function(a){return this.applyOpcodes(a,[g.previousFile()])},blameToPreviousFrame:function(a){return this.applyOpcodes(a,[g.previousFrame()])},blameToPreviousDirectory:function(a){return this.applyOpcodes(a,[g.previousDirectory()])},applyOpcodes:function(a,b){return a+g.getString(b)}};e.exports=a}),null); __d("eprintf",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=ES(c,"map",!0,function(a){return String(a)}),f=a.split("%s").length-1;if(f!==e.length)return g("eprintf args number mismatch: %s",ES("JSON","stringify",!1,[a].concat(e)));var h=0;return a.replace(/%s/g,function(){return String(e[h++])})}e.exports=g}),null); __d("ex",["eprintf"],(function(a,b,c,d,e,f,g){function h(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=ES(c,"map",!0,function(a){return String(a)}),f=a.split("%s").length-1;return f!==e.length?h("ex args number mismatch: %s",ES("JSON","stringify",!1,[a].concat(e))):h._prefix+ES("JSON","stringify",!1,[a].concat(e))+h._suffix}h._prefix="<![EX[";h._suffix="]]>";e.exports=h}),null); __d("sprintf",[],(function(a,b,c,d,e,f){function a(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=0;return a.replace(/%s/g,function(){return String(c[e++])})}e.exports=a}),null); __d("invariant",["Env","TAAL","ex","sprintf"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=i;function a(a,b){__p&&__p();if(!a){var c=b;for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];if(typeof c==="number"){var g=l(c,e),i=g.message,j=g.decoderLink;c=i;e.unshift(j)}else if(c===void 0){c="Invariant: ";for(var m=0;m<e.length;m++)c+="%s,"}c=h.blameToPreviousFrame(c);var n=new Error(k.apply(void 0,[c].concat(e)));n.name="Invariant Violation";n.messageWithParams=[c].concat(e);throw n}}function l(a,b){var c="Minified invariant #"+a+"; %s";b.length>0&&(c+=" Params: "+ES(b,"map",!0,function(a){return"%s"}).join(", "));a=g.show_invariant_decoder===!0?"visit "+m(a,b)+" to see the full message.":"";return{message:c,decoderLink:a}}function m(a,b){a="https://our.intern.facebook.com/intern/invariant/"+a+"/";b.length>0&&(a+="?"+ES(b,"map",!0,function(a,b){return"args["+b+"]="+encodeURIComponent(String(a))}).join("&"));return a}e.exports=a}),null); __d("UrlMap",["UrlMapConfig","invariant"],(function(a,b,c,d,e,f,g,h){a={resolve:function(a){var b="https";if(a in g)return b+"://"+g[a];a in g||h(0,2511,a);return""}};e.exports=a}),null); __d("ManagedError",[],(function(a,b,c,d,e,f){var g;b=babelHelpers.inherits(a,Error);g=b&&b.prototype;function a(a,b){"use strict";g.constructor.call(this,a!==null&&a!==void 0?a:""),a!==null&&a!==void 0?this.message=a:this.message="",this.innerError=b}e.exports=a}),null); __d("AssertionError",["ManagedError"],(function(a,b,c,d,e,f,g){var h;b=babelHelpers.inherits(a,g);h=b&&b.prototype;function a(a){"use strict";h.constructor.call(this,a)}e.exports=a}),null); __d("Assert",["AssertionError","sprintf"],(function(a,b,c,d,e,f,g,h){__p&&__p();function i(a,b){if(typeof a!=="boolean"||!a)throw new g(b);return a}function j(a,b,c){__p&&__p();var d;if(b===void 0)d="undefined";else if(b===null)d="null";else{var e=Object.prototype.toString.call(b);d=/\s(\w*)/.exec(e)[1].toLowerCase()}i(ES(a,"indexOf",!0,d)!==-1,c||h("Expression is of type %s, not %s",d,a));return b}function a(a,b,c){i(b instanceof a,c||"Expression not instance of type");return b}function k(a,b){l["is"+a]=b,l["maybe"+a]=function(a,c){a!=null&&b(a,c)}}var l={isInstanceOf:a,isTrue:i,isTruthy:function(a,b){return i(!!a,b)},type:j,define:function(a,b){a=a.substring(0,1).toUpperCase()+a.substring(1).toLowerCase(),k(a,function(a,c){i(b(a),c)})}};ES(["Array","Boolean","Date","Function","Null","Number","Object","Regexp","String","Undefined"],"forEach",!0,function(a){k(a,ES(j,"bind",!0,null,a.toLowerCase()))});e.exports=l}),null); __d("Type",["Assert"],(function(a,b,c,d,e,f,g){__p&&__p();function h(){var a=this.__mixins;if(a)for(var b=0;b<a.length;b++)a[b].apply(this,arguments)}function i(a,b){if(b instanceof a)return!0;if(b instanceof h)for(var c=0;c<b.__mixins.length;c++)if(b.__mixins[c]==a)return!0;return!1}function j(a,b){var c=a.prototype;ES("Array","isArray",!1,b)||(b=[b]);for(var a=0;a<b.length;a++){var d=b[a];typeof d==="function"&&(c.__mixins.push(d),d=d.prototype);ES(ES("Object","keys",!1,d),"forEach",!0,function(a){c[a]=d[a]})}}function k(a,b,c){__p&&__p();var d=b&&Object.prototype.hasOwnProperty.call(b,"constructor")?b.constructor:function(){this.parent.apply(this,arguments)};g.isFunction(d);if(a&&a.prototype instanceof h===!1)throw new Error("parent type does not inherit from Type");a=a||h;function e(){}e.prototype=a.prototype;d.prototype=new e();b&&ES("Object","assign",!1,d.prototype,b);d.prototype.constructor=d;d.parent=a;d.prototype.__mixins=a.prototype.__mixins?Array.prototype.slice.call(a.prototype.__mixins):[];c&&j(d,c);d.prototype.parent=function(){this.parent=a.prototype.parent,a.apply(this,arguments)};d.prototype.parentCall=function(b){return a.prototype[b].apply(this,Array.prototype.slice.call(arguments,1))};d.extend=function(a,b){return k(this,a,b)};return d}ES("Object","assign",!1,h.prototype,{instanceOf:function(a){return i(a,this)}});ES("Object","assign",!1,h,{extend:function(a,b){return typeof a==="function"?k.apply(null,arguments):k(null,a,b)},instanceOf:i});e.exports=h}),null); __d("sdk.Model",["ObservableMixin","Type"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=h.extend({constructor:function(a){__p&&__p();this.parent();var b={},c=this;ES(ES("Object","keys",!1,a),"forEach",!0,function(d){b[d]=a[d],c["set"+d]=function(a){if(a===b[d])return c;b[d]=a;c.inform(d+".change",a);return c},c["get"+d]=function(){return b[d]}})}},g);e.exports=a}),null); __d("sdk.Runtime",["JSSDKRuntimeConfig","sdk.Model"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i={UNKNOWN:0,PAGETAB:1,CANVAS:2,PLATFORM:4},j=new h({AccessToken:"",AutoLogAppEvents:!1,ClientID:"",CookieUserID:"",Environment:i.UNKNOWN,Initialized:!1,IsVersioned:!1,KidDirectedSite:void 0,Locale:g.locale,LoggedIntoFacebook:void 0,LoginStatus:void 0,Revision:g.revision,Rtl:g.rtl,Scope:void 0,SDKAB:g.sdkab,SDKUrl:g.sdkurl,SDKNS:g.sdkns,UseCookie:!1,UseLocalStorage:!0,UserID:"",Version:void 0});ES("Object","assign",!1,j,{ENVIRONMENTS:i,isEnvironment:function(a){var b=this.getEnvironment();return(a|b)===b},isCanvasEnvironment:function(){return this.isEnvironment(i.CANVAS)||this.isEnvironment(i.PAGETAB)}});(function(){var a=/app_runner/.test(window.name)?i.PAGETAB:/iframe_canvas/.test(window.name)?i.CANVAS:i.UNKNOWN;(a|i.PAGETAB)===a&&(a|=i.CANVAS);j.setEnvironment(a)})();e.exports=j}),null); __d("sdk.Cookie",["QueryString","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=null;function j(a,b,c,d){a=a+h.getClientID();d=d?";Secure":"";var e=i!==null&&i!==".";e&&(document.cookie=a+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT"+d,document.cookie=a+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT;domain="+location.hostname+d);var f=new Date(c).toUTCString();document.cookie=a+"="+b+(b&&c===0?"":"; expires="+f)+"; path=/"+(e?"; domain="+((a=i)!=null?a:""):"")+d}function k(a){a=a+h.getClientID();a=new RegExp("\\b"+a+"=([^;]*)\\b");a=document.cookie.match(a);if(a===null||a===void 0)return null;else return a[1]}a={setDomain:function(a){i=a;a=g.encode({base_domain:i!==null&&i!=="."?i:""});var b=new Date();b.setFullYear(b.getFullYear()+1);j("fbm_",a,b.getTime(),!1)},getDomain:function(){return i},loadMeta:function(){var a=k("fbm_");if(a!==null&&a!==void 0&&i===null){a=g.decode(a);i=a.base_domain;return a}return null},loadSignedRequest:function(){return k("fbsr_")},setSignedRequestCookie:function(a,b,c){if(a==="")throw new Error("Value passed to Cookie.setSignedRequestCookie was empty.");j("fbsr_",a,b,c)},clearSignedRequestCookie:function(){this.loadMeta(),j("fbsr_","",0,!1)},setRaw:j,getRaw:k};e.exports=a}),null); __d("Miny",[],(function(a,b,c,d,e,f){__p&&__p();var g="Miny1",h="wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split("");a={encode:function(a){__p&&__p();if(/^$|[~\\]|__proto__/.test(a))return a;a=a.match(/\w+|\W+/g);var b,c=ES("Object","create",!1,null);for(b=0;b<a.length;b++)c[a[b]]=(c[a[b]]||0)+1;var d=ES("Object","keys",!1,c);d.sort(function(a,b){return c[b]-c[a]});for(b=0;b<d.length;b++){var e=(b-b%32)/32;c[d[b]]=e?e.toString(32)+h[b%32]:h[b%32]}e="";for(b=0;b<a.length;b++)e+=c[a[b]];d.unshift(g,d.length);d.push(e);return d.join("~")}};e.exports=a}),null); __d("sdk.UA",[],(function(a,b,c,d,e,f){__p&&__p();a=navigator.userAgent;var g={iphone:/\b(iPhone|iP[ao]d)/.test(a),ipad:/\b(iP[ao]d)/.test(a),android:/Android/i.test(a),nativeApp:/FBAN\/\w+;/i.test(a),nativeAndroidApp:/FB_IAB\/\w+;/i.test(a),nativeInstagramApp:/Instagram/i.test(a),nativeMessengeriOSApp:/MessengerForiOS/i.test(a),nativeMessengerAndroidApp:/Orca\-Android/i.test(a),ucBrowser:/UCBrowser/i.test(a)},h=/Mobile/i.test(a),i={ie:NaN,firefox:NaN,chrome:NaN,webkit:NaN,osx:NaN,edge:NaN,operaMini:NaN,ucWeb:NaN};b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a);if(b){i.ie=b[1]?parseFloat(b[1]):b[4]?parseFloat(b[4]):NaN;i.firefox=b[2]||"";i.webkit=b[3]||"";if(b[3]){c=/(?:Chrome\/(\d+\.\d+))/.exec(a);i.chrome=c?c[1]:"";d=/(?:Edge\/(\d+\.\d+))/.exec(a);i.edge=d?d[1]:""}}f=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);f&&(i.osx=f[1]);b=/(?:Opera Mini\/(\d+(?:\.\d+)?))/.exec(a);b&&(i.operaMini=b[1]);c=/(?:UCWEB\/(\d+(?:\.\d+))?)/.exec(a);c&&(i.ucWeb=c[1]||"2.0");function j(a){return ES(String(a).split("."),"map",!0,function(a){return parseFloat(a)})}var k={};ES(ES("Object","keys",!1,i),"map",!0,function(a){k[a]=function(){return parseFloat(i[a])},k[a].getVersionParts=function(){return j(i[a])}});ES(ES("Object","keys",!1,g),"map",!0,function(a){k[a]=function(){return g[a]}});k.mobile=function(){return g.iphone||g.ipad||g.android||h};k.mTouch=function(){return g.android||g.iphone||g.ipad};k.facebookInAppBrowser=function(){return g.nativeApp||g.nativeAndroidApp};k.inAppBrowser=function(){return g.nativeApp||g.nativeAndroidApp||g.nativeInstagramApp};k.mBasic=function(){return!!(i.ucWeb||i.operaMini)};k.instagram=function(){return g.nativeInstagramApp};k.messenger=function(){return g.nativeMessengeriOSApp||g.nativeMessengerAndroidApp};e.exports=k}),null); __d("getBlankIframeSrc",["sdk.UA"],(function(a,b,c,d,e,f,g){function a(){return g.ie()<10?"javascript:false":"about:blank"}e.exports=a}),null); __d("insertIframe",["GlobalCallback","getBlankIframeSrc","guid"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();function a(a){__p&&__p();a.id=a.id||i();a.name=a.name||i();var b=!1,c=!1,d=function(){b&&!c&&(c=!0,a.onload&&a.onload(a.root.firstChild))},e=g.create(d);if(document.attachEvent){var f='<iframe id="'+a.id+'" name="'+a.name+'"'+(a.title?' title="'+a.title+'"':"")+(a.className?' class="'+a.className+'"':"")+' style="border:none;'+(a.width?"width:"+a.width+"px;":"")+(a.height?"height:"+a.height+"px;":"")+'" src="'+h()+'" frameborder="0" scrolling="no" allowtransparency="true" onload="'+e+'()"></iframe>';a.root.innerHTML='<iframe src="'+h()+'" frameborder="0" scrolling="no" style="height:1px"></iframe>';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!==void 0&&(e.style.height=a.height+"px");a.width!==void 0&&(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",[],(function(a,b,c,d,e,f){__p&&__p();var g;b="readyState"in document?/loaded|complete/.test(document.readyState):!!document.body;function h(){if(!g)return;var a;while(a=g.shift())a();g=null}function a(a){if(g){g.push(a);return}else a()}if(!b){g=[];document.addEventListener?(document.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",h),window.attachEvent("onload",h));if(document.documentElement.doScroll&&window===window.top){c=function a(){try{document.documentElement.doScroll("left")}catch(b){setTimeout(a,0);return}h()};c()}}e.exports=a}),3); __d("sdk.Content",["Log","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l={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(){b&&document.body&&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){__p&&__p();if(!k){k=document.createElement("div");var b=k.style;b.position="absolute";b.top="-10000px";b.width="0";b.height="0";k=l.append(k)}return l.append(a,k)},submitToTarget:function(a,b){__p&&__p();var c=document.createElement("form");c.action=a.url;c.target=a.target;c.method=b?"GET":"POST";l.appendHidden(c);for(var d in a.params)if(Object.prototype.hasOwnProperty.call(a.params,d)){b=a.params[d];if(b!==null&&b!==void 0){var e=document.createElement("input");e.name=d;e.value=b;c.appendChild(e)}}c.submit();c.parentNode&&c.parentNode.removeChild(c)}};e.exports=l}),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<a.payload.length&&(a.payload=d,c=h.appendToUrl(b,a))}if(c.length<=2e3){d=new Image();d.src=c}else{d=k();var e=m.appendHidden("");l({url:j(),root:e,name:d,className:"fb_hidden fb_invisible",onload:function(){e.parentNode.removeChild(e)}});m.submitToTarget({url:b,target:d,params:a})}}a={log:function(a,b){b.source||(b.source="jssdk"),o({lid:a,payload:ES("JSON","stringify",!1,b)})},impression:o};e.exports=a}),null); __d("sdk.Scribe",["QueryString","UrlMap","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i){function a(a,b){typeof b.extra==="object"&&(b.extra.revision=i.getRevision()),new Image().src=g.appendToUrl(h.resolve("www")+"/common/scribe_endpoint.php",{c:a,m:ES("JSON","stringify",!1,b)})}b={log:a};e.exports=b}),null); __d("Base64",[],(function(a,b,c,d,e,f){__p&&__p();var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function h(a){a=a.charCodeAt(0)<<16|a.charCodeAt(1)<<8|a.charCodeAt(2);return String.fromCharCode(g.charCodeAt(a>>>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?1:0))&-(a>0?1: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}),null); __d("createObjectFrom",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){if(b===void 0)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}),null); __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","wss","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","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}),null); __d("setHostSubdomain",[],(function(a,b,c,d,e,f){function a(a,b){a=a.split(".");a.length<3?a.unshift(b):a[0]=b;return a.join(".")}e.exports=a}),null); __d("URIBase",["URIRFC3986","URISchemes","ex","invariant","setHostSubdomain"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),m=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function n(a,b,c,d){__p&&__p();if(!b)return!0;if(b instanceof p){a.setProtocol(b.getProtocol());a.setDomain(b.getDomain());a.setPort(b.getPort());a.setPath(b.getPath());a.setQueryData(d.deserialize(d.serialize(b.getQueryData())));a.setFragment(b.getFragment());a.setIsGeneric(b.getIsGeneric());a.setForceFragmentSeparator(b.getForceFragmentSeparator());return!0}b=ES(b.toString(),"trim",!0);var e=g.parse(b)||{fragment:null,scheme:null};if(!c&&!h.isAllowed(e.scheme))return!1;a.setProtocol(e.scheme||"");if(!c&&l.test(e.host||""))return!1;a.setDomain(e.host||"");a.setPort(e.port||"");a.setPath(e.path||"");if(c)a.setQueryData(d.deserialize(e.query||"")||{});else try{a.setQueryData(d.deserialize(e.query||"")||{})}catch(a){return!1}a.setFragment(e.fragment||"");e.fragment===""&&a.setForceFragmentSeparator(!0);a.setIsGeneric(e.isGenericURI||!1);if(e.userinfo!==null)if(c)throw new Error(i("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",a.toString()));else return!1;if(!a.getDomain()&&ES(a.getPath(),"indexOf",!0,"\\")!==-1)if(c)throw new Error(i("URI.parse: invalid URI (no domain but multiple back-slashes): %s",a.toString()));else return!1;if(!a.getProtocol()&&m.test(b))if(c)throw new Error(i("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",a.toString()));else return!1;if(a.getDomain()&&a.getPath()&&!ES(a.getPath(),"startsWith",!0,"/"))if(c)throw new Error(i("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",a.toString()));else return!1;return!0}var o=[];p.tryParse=function(a,b){"use strict";var c=new p(null,b);return n(c,a,!1,b)?c:null};p.isValid=function(a,b){"use strict";return!!p.tryParse(a,b)};function p(a,b){"use strict";b||j(0,2966),this.$9=b,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,n(this,a,!0,b)}p.prototype.setProtocol=function(a){"use strict";h.isAllowed(a)||j(0,11793,a);this.$7=a;return this};p.prototype.getProtocol=function(){"use strict";return(this.$7||"").toLowerCase()};p.prototype.setSecure=function(a){"use strict";return this.setProtocol(a?"https":"http")};p.prototype.isSecure=function(){"use strict";return this.getProtocol()==="https"};p.prototype.setDomain=function(a){"use strict";if(l.test(a))throw new Error(i("URI.setDomain: unsafe domain specified: %s for url %s",a,this.toString()));this.$1=a;return this};p.prototype.getDomain=function(){"use strict";return this.$1};p.prototype.setPort=function(a){"use strict";this.$6=a;return this};p.prototype.getPort=function(){"use strict";return this.$6};p.prototype.setPath=function(a){"use strict";this.$5=a;return this};p.prototype.getPath=function(){"use strict";return this.$5};p.prototype.addQueryData=function(a,b){"use strict";Object.prototype.toString.call(a)==="[object Object]"?ES("Object","assign",!1,this.$8,a):this.$8[a]=b;return this};p.prototype.setQueryData=function(a){"use strict";this.$8=a;return this};p.prototype.getQueryData=function(){"use strict";return this.$8};p.prototype.setQueryString=function(a){"use strict";return this.setQueryData(this.$9.deserialize(a))};p.prototype.getQueryString=function(){"use strict";return this.$9.serialize(this.getQueryData())};p.prototype.removeQueryData=function(a){"use strict";ES("Array","isArray",!1,a)||(a=[a]);for(var b=0,c=a.length;b<c;++b)delete this.$8[a[b]];return this};p.prototype.setFragment=function(a){"use strict";this.$3=a;this.setForceFragmentSeparator(!1);return this};p.prototype.getFragment=function(){"use strict";return this.$3};p.prototype.setForceFragmentSeparator=function(a){"use strict";this.$2=a;return this};p.prototype.getForceFragmentSeparator=function(){"use strict";return this.$2};p.prototype.setIsGeneric=function(a){"use strict";this.$4=a;return this};p.prototype.getIsGeneric=function(){"use strict";return this.$4};p.prototype.isEmpty=function(){"use strict";return!(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||ES("Object","keys",!1,this.getQueryData()).length>0||this.getFragment())};p.prototype.toString=function(){"use strict";var a=this;for(var b=0;b<o.length;b++)a=o[b](a);return a.$10()};p.prototype.$10=function(){"use strict";__p&&__p();var a="",b=this.getProtocol();b&&(a+=b+":"+(this.getIsGeneric()?"":"//"));b=this.getDomain();b&&(a+=b);b=this.getPort();b&&(a+=":"+b);b=this.getPath();b?a+=b:a&&(a+="/");b=this.getQueryString();b&&(a+="?"+b);b=this.getFragment();b?a+="#"+b:this.getForceFragmentSeparator()&&(a+="#");return a};p.registerFilter=function(a){"use strict";o.push(a)};p.prototype.getOrigin=function(){"use strict";var a=this.getPort();return this.getProtocol()+"://"+this.getDomain()+(a?":"+a:"")};p.prototype.getQualifiedURIBase=function(){"use strict";return new p(this,this.$9).qualify()};p.prototype.qualify=function(){"use strict";if(!this.getDomain()){var a=new p(window.location.href,this.$9);this.setProtocol(a.getProtocol()).setDomain(a.getDomain()).setPort(a.getPort())}return this};p.prototype.setSubdomain=function(a){"use strict";var b=this.qualify().getDomain();return this.setDomain(k(b,a))};p.prototype.getSubdomain=function(){"use strict";if(!this.getDomain())return"";var a=this.getDomain().split(".");if(a.length<=2)return"";else return a[0]};p.prototype.isSubdomainOfDomain=function(a){"use strict";var b=this.getDomain();return p.isDomainSubdomainOfDomain(b,a,this.$9)};p.isDomainSubdomainOfDomain=function(a,b,c){"use strict";if(b===""||a==="")return!1;if(ES(a,"endsWith",!0,b)){var d=a.length,e=b.length,f=d-e-1;if(d===e||a[f]===".")return p.isValid(b,c)}return!1};e.exports=p}),null); __d("sdk.URI",["Assert","QueryString","URIBase"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j,k=/\.facebook\.com$/,l={serialize:function(a){return a?h.encode(a):""},deserialize:function(a){return a?h.decode(a):{}}};b=babelHelpers.inherits(a,i);j=b&&b.prototype;function a(a){"use strict";g.isString(a,"The passed argument was of invalid type."),j.constructor.call(this,a,l)}a.prototype.isFacebookURI=function(){"use strict";return k.test(this.getDomain())};a.prototype.valueOf=function(){"use strict";return this.toString()};a.isValidURI=function(a){"use strict";return i.isValid(a,l)};e.exports=a}),null); __d("sdk.WebStorage",["Log"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a={getLocalStorage:function(){try{return window.localStorage}catch(a){g.warn("Failed to get local storage")}return null},getLocalStorageForRead:function(){__p&&__p();try{var a=window.localStorage;if(a){var b="__test__"+ES("Date","now",!1);a.setItem(b,"");a.removeItem(b)}return a}catch(a){g.warn("Failed to get local storage")}return null}};e.exports=a}),null); __d("Queue",[],(function(a,b,c,d,e,f){__p&&__p();var g={};function h(a){"use strict";this._timeout=null,this._interval=(a==null?void 0:a.interval)||0,this._processor=a==null?void 0:a.processor,this._queue=[],this._stopped=!0}h.prototype._dispatch=function(a){__p&&__p();a===void 0;if(this._stopped||this._queue.length===0)return;a=this._processor;if(a==null){this._stopped=!0;throw new Error("No processor available")}var b=this._interval;if(b!=null)a.call(this,this._queue.shift()),this._timeout=setTimeout(ES(function(){return this._dispatch()},"bind",!0,this),b);else while(this._queue.length)a.call(this,this._queue.shift())};h.prototype.enqueue=function(a){"use strict";this._processor&&!this._stopped?this._processor(a):this._queue.push(a);return this};h.prototype.start=function(a){"use strict";a&&(this._processor=a);this._stopped=!1;this._dispatch();return this};h.prototype.isStarted=function(){"use strict";return!this._stopped};h.prototype.dispatch=function(){"use strict";this._dispatch(!0)};h.prototype.stop=function(a){"use strict";this._stopped=!0;a&&this._timeout!=null&&clearTimeout(this._timeout);return this};h.prototype.merge=function(a,b){"use strict";if(b){(b=this._queue).unshift.apply(b,a._queue)}else{(b=this._queue).push.apply(b,a._queue)}a._queue=[];this._dispatch();return this};h.prototype.getLength=function(){"use strict";return this._queue.length};h.get=function(a,b){"use strict";var c;a in g?c=g[a]:c=g[a]=new h(b);return c};h.exists=function(a){"use strict";return a in g};h.remove=function(a){"use strict";return delete g[a]};e.exports=h}),null); __d("sdk.FeatureFunctor",[],(function(a,b,c,d,e,f){__p&&__p();function g(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(){for(var b=arguments.length,c=new Array(b),d=0;d<b;d++)c[d]=arguments[d];if(c.length<2)throw new Error("Default value is required");var e=c[0],f=c[1];return g(a,e,f)}}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("XDM",["Log","sdk.feature","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j={},k={transports:[]};function l(a){__p&&__p();var b={},c=a.length,d=k.transports;while(c--)b[a[c]]=1;c=d.length;while(c--){a=d[c];var e=j[a];if(!b[a]&&e.isAvailable())return a}return null}a={register:function(a,b){g.debug("Registering %s as XDM provider",a),k.transports.push(a),j[a]=b},create:function(a){__p&&__p();if(!a.whenReady&&!a.onMessage){var b="An instance without whenReady or onMessage makes no sense";g.error(b);throw new Error(b)}a.channel||(g.warn("Missing channel name, selecting at random"),a.channel="f"+(Math.random()*(1<<30)).toString(16).replace(".",""));a.whenReady||(a.whenReady=function(){});a.onMessage||(a.onMessage=function(){});b=(b=a.transport)!=null?b:l(a.blacklist||[]);var c=b!=null?j[b]:null;if(c!=null&&c.isAvailable()){g.debug("%s is available",b);c.init(a);return b}return null}};var m=/\.facebook\.com(\/|$)/;function n(a,b){var c=window.location.hostname.match(/\.(facebook\.sg|facebookcorewwwi\.onion)$/);c=c?c[1]:"facebook.com";new Image().src="https://www."+c+"/common/scribe_endpoint.php?c="+encodeURIComponent(a)+"&m="+encodeURIComponent(ES("JSON","stringify",!1,b))}a.register("postmessage",function(){__p&&__p();var a=!1;return{isAvailable:function(){return!!window.postMessage},init:function(b){__p&&__p();g.debug("init postMessage: "+b.channel);var c="_FB_"+b.channel,d={send:function(a,b,c,d){__p&&__p();if(window===c){g.error("Invalid windowref, equal to window (self)");throw new Error()}g.debug("sending to: %s (%s)",b,d);var e=function(){try{c.postMessage("_FB_"+d+a,b)}catch(a){h("xdm_scribe_logging",!1)&&n("jssdk_error",{error:"POST_MESSAGE",extra:{message:a.message+", html/js/modules/XDM.js:231"}});throw a}};e()}};if(a){b.whenReady(d);return}window.addEventListener("message",i(function(a){__p&&__p();var d=a.data,e=a.origin||"native";if(!/^(https?:\/\/|native$)/.test(e)){g.debug("Received message from invalid origin type: %s",e);return}if(e!=="native"&&!(m.test(location.hostname)||m.test(a.origin)))return;if(typeof d!=="string"){g.warn("Received message of type %s from %s, expected a string",typeof d,e);return}g.debug("received message %s from %s",d,e);d.substring(0,c.length)==c&&(d=d.substring(c.length));b.onMessage(d,e)},"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;d++)c[d-1]=arguments[d];var e=this.subscribers()[a];e&&ES(e,"forEach",!0,function(a){a&&a.apply(this,c)})}};e.exports=a}),null); __d("JSONRPC",["Log"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){"use strict";this.$1=0,this.$2={},this.remote=ES(function(a){this.$3=a;return this.remote},"bind",!0,this),this.local={},this.$4=a}a.prototype.stub=function(a){"use strict";this.remote[a]=ES(function(){var b={jsonrpc:"2.0",method:a};for(var c=arguments.length,d=new Array(c),e=0;e<c;e++)d[e]=arguments[e];typeof d[d.length-1]==="function"&&(b.id=++this.$1,this.$2[b.id]=d.pop());b.params=d;this.$4(ES("JSON","stringify",!1,b),this.$3||{method:a})},"bind",!0,this)};a.prototype.read=function(a,b){"use strict";__p&&__p();a=ES("JSON","parse",!1,a);var c=a.id;if(!a.method){if(!this.$2[c]){g.warn("Could not find callback %s",c);return}var d=this.$2[c];delete this.$2[c];delete a.id;delete a.jsonrpc;d(a);return}var e=this;d=this.local[a.method];var f;c?f=function(a,d){var f={jsonrpc:"2.0",id:c};f[a]=d;setTimeout(function(){e.$4(ES("JSON","stringify",!1,f),b)},0)}:f=function(){};if(!d){g.error('Method "%s" has not been defined',a.method);f("error",{code:-32601,message:"Method not found",data:a.method});return}a.params.push(ES(f,"bind",!0,null,"result"));a.params.push(ES(f,"bind",!0,null,"error"));try{d=d.apply(b||null,a.params);typeof d!=="undefined"&&f("result",d)}catch(b){g.error("Invokation of RPC method %s resulted in the error: %s",a.method,b.message),f("error",{code:-32603,message:"Internal error",data:b.message})}};e.exports=a}),null); __d("sdk.RPC",["Assert","JSONRPC","Queue"],(function(a,b,c,d,e,f,g,h,i){var j=new i(),k=new h(function(a){j.enqueue(a)});a={local:k.local,remote:k.remote,stub:ES(k.stub,"bind",!0,k),setInQueue:function(a){g.isInstanceOf(i,a),a.start(function(a){k.read(a)})},getOutQueue:function(){return j}};e.exports=a}),null); __d("dedupString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;return ES("Object","keys",!1,(b={},b[a]=0,b))[0]}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("DOMEventListener",["dedupString","emptyFunction","invariant","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k=!1;try{a=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("test",null,a)}catch(a){}var l,m;window.addEventListener?(l=function(a,b,c,d){d===void 0&&(d=!1),c.wrapper=j(c,"entry",g("DOMEventListener.add "+b)),a.addEventListener(b,c.wrapper,k?d:!1)},m=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,k?d:!1)}):window.attachEvent?(l=function(a,b,c,d){d===void 0,c.wrapper=j(c,"entry","DOMEventListener.add "+b),a.attachEvent||i(0,2798),a.attachEvent("on"+b,c.wrapper)},m=function(a,b,c,d){d===void 0,a.detachEvent||i(0,2799),a.detachEvent("on"+b,c.wrapper)}):m=l=h;b={add:function(a,b,c,d){d===void 0&&(d=!1);l(a,b,c,d);return{remove:function(){m(a,b,c,d)}}},remove:m};e.exports=b}),null); __d("UserAgent_DEPRECATED",[],(function(a,b,c,d,e,f){__p&&__p();var g=!1,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;function w(){__p&&__p();if(g)return;g=!0;var a=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a),c=/(Mac OS X)|(Windows)|(Linux)/.exec(a);s=/\b(iPhone|iP[ao]d)/.exec(a);t=/\b(iP[ao]d)/.exec(a);q=/Android/i.exec(a);u=/FBAN\/\w+;/i.exec(a);v=/Mobile/i.exec(a);r=!!/Win64/.exec(a);if(b){h=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN;h&&document&&document.documentMode&&(h=document.documentMode);var d=/(?:Trident\/(\d+.\d+))/.exec(a);m=d?parseFloat(d[1])+4:h;i=b[2]?parseFloat(b[2]):NaN;j=b[3]?parseFloat(b[3]):NaN;k=b[4]?parseFloat(b[4]):NaN;k?(b=/(?:Chrome\/(\d+\.\d+))/.exec(a),l=b&&b[1]?parseFloat(b[1]):NaN):l=NaN}else h=i=j=l=k=NaN;if(c){if(c[1]){d=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);n=d?parseFloat(d[1].replace("_",".")):!0}else n=!1;o=!!c[2];p=!!c[3]}else n=o=p=!1}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); __d("hasNamePropertyBug",["UserAgent_DEPRECATED","guid"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=g.ie()?void 0:!1;function j(){var a=document.createElement("form"),b=a.appendChild(document.createElement("input"));b.name=h();i=b!==a.elements[b.name];a=b=null;return i}function a(){return typeof i==="undefined"?j():i}e.exports=a}),null); __d("isNumberLike",[],(function(a,b,c,d,e,f){function a(a){return!isNaN(parseFloat(a))&&isFinite(a)}e.exports=a}),null); __d("sdk.createIframe",["DOMEventListener","getBlankIframeSrc","guid","hasNamePropertyBug","isNumberLike"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();function a(a){__p&&__p();a=ES("Object","assign",!1,{},a);var b,c=a.name||i(),d=a.root,e=a.style||{border:"none"},f=a.url,l=a.onload,m=a.onerror;j()?b=document.createElement('<iframe name="'+c+'"/>'):(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.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=m(),z="https";a=g.useCdn?"cdn":"www";b=r("use_bundle",!1)?g.XdBundleUrl:g.XdUrl;var A=k.resolve(a)+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 B=m(),C=c(),D,E,F=!1,G="Facebook Cross Domain Communication Frame",H={},I=new j();s.setInQueue(I);function J(a){h.info("Remote XD can talk to facebook.com (%s)",a),t.setEnvironment(a==="canvas"?t.ENVIRONMENTS.CANVAS:t.ENVIRONMENTS.PAGETAB)}function K(a,b){__p&&__p();if(!b){h.error("No senderOrigin");throw new Error()}switch(a.xd_action){case"proxy_ready":var c,d;c=x;d=E;t.setLoggedIntoFacebook(a.logged_in==="true");a.registered&&(J(a.registered),w=c.merge(w,!1));h.info("Proxy ready, starting queue containing %s messages",c.getLength());c.start(function(a){a!=null&&typeof a==="object"&&(a=i.encode(a)),D.send(a,b,d.contentWindow,B+"_"+z)});break;case"plugin_ready":if(typeof a.name==="string"){c=a.name;h.info("Plugin %s ready, protocol: %s",c,z);H[c]={protocol:z};if(j.exists(c)){var e=j.get(c,{});h.debug("Enqueuing %s messages for %s in %s",e.getLength(),c,z+"ProxyQueue");x.merge(e,!1)}}else h.error("plugin_ready message received without a name");break}a.data&&L(a.data,b)}function L(a,b){__p&&__p();if(b!=null&&b!=="native"&&!n(new v(b)))return;if(typeof a==="string"){if(/^FB_RPC:/.test(a)){I.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)}a=a;b==null&&(a.xd_sig===y&&(b=a.xd_origin));if(a.xd_action){K(a,b);return}if(a.cb){b=O._callbacks[a.cb];O._forever[a.cb]||delete O._callbacks[a.cb];b&&b(a)}}function M(a,b){if(a=="facebook")typeof b==="object"&&(b.relation="parent.parent"),w.enqueue(b);else{typeof b==="object"&&(b.relation='parent.frames["'+a+'"]');var c=H[a];c?(h.debug("Enqueuing message for plugin %s in %s",a,c.protocol+"ProxyQueue"),x.enqueue(b)):(h.debug("Buffering message for plugin %s",a),j.get(a,{}).enqueue(b))}}s.getOutQueue().start(function(a){M("facebook","FB_RPC:"+a)});function N(a){if(F)return;var b=o.appendHidden(document.createElement("div")),c=l.create({blacklist:null,root:b,channel:B,whenReady:function(d){D=d;d={channel:B,origin:C,transport:c,xd_name:a};d="#"+i.encode(d);E=p({url:A+d,name:"fb_xdm_frame_https",id:"fb_xdm_frame_https",root:b,"aria-hidden":!0,title:G,tabindex:-1})},onMessage:L});c||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_TRANSPORT",extra:{message:"Failed to create a valid transport"}});F=!0}var O={rpc:s,_callbacks:{},_forever:{},_channel:B,_origin:C,onMessage:L,recv:L,init:N,sendToFacebook:M,inform:function(a,b,c,d){M("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:C+"/"+B,domain:location.hostname,relation:b||"opener"});return A+a},registerCallback:function(a,b,c){c=c||m();b&&(O._forever[c]=!0);O._callbacks[c]=a;return c},getXDArbiterURL:function(){return A}};q.subscribe("init:post",function(a){N(a.xdProxyName);var b=r("xd_timeout",!1);b&&window.setTimeout(function(){var a=E&&!!E==x.isStarted();a||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_INITIALIZATION",extra:{message:"Failed to initialize in "+b+"ms"}})},b)});e.exports=O}),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",["DOMWrapper","Log","OAuthControllerParameterName","ObservableMixin","QueryString","UrlMap","guid","sdk.Cookie","sdk.createIframe","sdk.feature","sdk.getContextType","sdk.Impressions","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","sdk.URI","sdk.WebStorage","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){__p&&__p();var y="fblst_",z="fblo_",A=365*24*60*60*1e3,B,C,D=new j();function E(a,b){__p&&__p();var c=s.getUserID(),d="";if(a)if(a.userID)d=a.userID;else if(a.signedRequest){var e=u.parse(a.signedRequest);e&&e.user_id&&(d=e.user_id)}e=s.getLoginStatus();var f=e==="unknown"&&a||s.getUseCookie()&&s.getCookieUserID()!==d,g=c&&!a;c=a&&c&&c!=d;var h=a!=B;e=b!=(e||"unknown");s.setLoginStatus(b);s.setAccessToken(a&&a.accessToken||null);s.setUserID(d);B=a;d={authResponse:a,status:b};(g||c)&&D.inform("logout",d);(f||c)&&D.inform("login",d);h&&D.inform("authresponse.change",d);e&&D.inform("status.change",d);return d}function F(){return B}function G(a,b,c){__p&&__p();return function(d){__p&&__p();var e=!1;if(d&&d.access_token){var f=u.parse(d.signed_request);b={accessToken:d.access_token,userID:f.user_id,expiresIn:parseInt(d.expires_in,10),signedRequest:d.signed_request};d.granted_scopes&&(b=babelHelpers["extends"]({},b,{grantedScopes:d.granted_scopes}));d.reauthorize_required_in&&(b=babelHelpers["extends"]({},b,{reauthorize_required_in:parseInt(d.reauthorize_required_in,10)}));d.data_access_expiration_time&&(b=babelHelpers["extends"]({},b,{data_access_expiration_time:Number(d.data_access_expiration_time)}));d.enforce_https&&(e=!0);if(s.getUseLocalStorage()&&location.protocol==="https:"&&d.long_lived_token){f=w.getLocalStorage();f&&f.setItem(y+s.getClientID(),d.long_lived_token)}if(s.getUseCookie()){f=b.expiresIn===0?0:ES("Date","now",!1)+b.expiresIn*1e3;var g=n.getDomain();!g&&d.base_domain&&n.setDomain("."+d.base_domain);n.setSignedRequestCookie(d.signed_request,f,e)}I();g="connected";E(b,g)}else c==="logout"||c==="login_status"?(d&&d.error==="not_authorized"?(g="not_authorized",E(null,g)):(g="unknown",E(null,g)),s.getUseCookie()&&n.clearSignedRequestCookie(),s.getUseLocalStorage()&&H(),c==="logout"&&(J(),t.log("jssdk_error",{appId:s.getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}}))):d&&d.error==="access_denied"&&(J(),g="unknown",E(null,g));if(a){f={authResponse:b,status:s.getLoginStatus()};a(f)}return b}}function H(){var a=w.getLocalStorage();a&&a.removeItem(y+s.getClientID())}function I(){n.setRaw(z,"",0,!1)}function J(){n.setRaw(z,"y",ES("Date","now",!1)+A,!1)}function K(a){__p&&__p();var b,c=ES("Date","now",!1);C&&(window.clearTimeout(C),C=null);var d=n.getRaw(z)==="y",e=null,f=!1;if(/^https?:\/\/([\w\.]+)?facebook.com\//.test(document.referrer)){var j=location.hash.substr(1);if(j!==""){j=k.decode(j,!0);window==top&&(location.hash="");e=j.access_token;e!=null&&I()}j=k.decode(location.search);j.error==="access_denied"&&(f=!0)}if(d||f){j="unknown";E(null,j);a&&a({authResponse:null,status:j});return}var t=G(a,B,"login_status");d=new v(l.resolve("www")+"/connect/ping").addQueryData(i.CLIENT_ID,s.getClientID()).addQueryData(i.RESPONSE_TYPE,"token,signed_request").addQueryData(i.DOMAIN,location.hostname).addQueryData(i.ORIGIN,q()).addQueryData(i.REDIRECT_URI,x.handler(function(a){if(p("e2e_ping_tracking",!0)){var d={init:c,close:ES("Date","now",!1),method:"ping"};h.debug("e2e: %s",ES("JSON","stringify",!1,d));r.log(114,{payload:d})}b.parentNode.removeChild(b);t(a)&&(C=window.setTimeout(function(){K(function(){})},12e5))},"parent")).addQueryData(i.SDK,"joey");if(window.location.ancestorOrigins){f=window.location.ancestorOrigins;if(f.length>0){j="";for(var a=0;a<f.length;a++)j+=f[a],j+=",";d.addQueryData(i.ANCESTOR_ORIGINS,j.slice(0,-1))}}f=w.getLocalStorageForRead();if(f){a=f.getItem(y+s.getClientID());a&&d.addQueryData(i.EXPLICIT_TOKEN,a)}e!=null&&d.addQueryData(i.EXPLICIT_TOKEN,e);b=o({root:g.getRoot(),name:m(),url:d.toString(),style:{display:"none"}})}var L;function a(a,b){__p&&__p();if(!s.getClientID()){h.warn("FB.getLoginStatus() called before calling FB.init().");return}if(a)if(!b&&L==="loaded"){var c={authResponse:F(),status:s.getLoginStatus()};a(c);return}else D.subscribe("FB.loginStatus",a);if(!b&&L==="loading")return;L="loading";c=function(a){L="loaded",D.inform("FB.loginStatus",a),D.clearSubscribers("FB.loginStatus")};K(c)}ES("Object","assign",!1,D,{removeLogoutState:I,getLoginStatus:a,fetchLoginStatus:K,setAuthResponse:E,getAuthResponse:F,parseSignedRequest:u.parse,xdResponseWrapper:G});e.exports=D}),null); __d("sdk.DOM",["Assert","sdk.domReady"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i={};function j(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!=null?String(a):null}function a(a,b){a=j(a,b);return a!=null?/^(true|1|yes|on)$/.test(a):null}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 k(a,b){g.isTruthy(a,"element not specified");g.isString(b);a=" "+a.className+" ";return ES(a,"indexOf",!0," "+b+" ")>=0}function c(a,b){g.isTruthy(a,"element not specified");if(a==null)return;g.isString(b);k(a,b)||(a.className=a.className+" "+b)}function d(a,b){g.isTruthy(a,"element not specified");if(a==null)return;g.isString(b);b=new RegExp("\\s*"+b,"g");a.className=ES(a.className.replace(b,""),"trim",!0)}function f(a,b,c){g.isString(a);b=b||document.body;if(b==null)return[];c=c||"*";return ES("Array","from",!1,b.querySelectorAll(c+"."+a))}function l(a,b){g.isTruthy(a,"element not specified");g.isString(b);b=b.replace(/-(\w)/g,function(a,b){return b.toUpperCase()});a=a.currentStyle||document.defaultView.getComputedStyle(a,null);a=a[b];/backgroundPosition?/.test(b)&&/top|left/.test(a)&&(a="0%");return a}function m(a,b,c){g.isTruthy(a,"element not specified"),g.isString(b),b=b.replace(/-(\w)/g,function(a,b){return b.toUpperCase()}),a.style[b]=c}function n(a,b){var c=!0;for(var d=0,e;e=b[d++];)e in i||(c=!1,i[e]=!0);if(c)return;e=document.createElement("style");e.type="text/css";e.textContent=a;document.getElementsByTagName("head")[0].appendChild(e)}function o(a){if(!a||!a.parentNode)return null;else return a.parentNode.removeChild(a)}function p(){var a,b=document.documentElement&&document.compatMode=="CSS1Compat"?document.documentElement:document.body;return{scrollTop:(b==null?void 0:b.scrollTop)||((a=document.body)==null?void 0:a.scrollTop),scrollLeft:(b==null?void 0:b.scrollLeft)||((a=document.body)==null?void 0:a.scrollLeft),width:window.innerWidth?window.innerWidth:b==null?void 0:b.clientWidth,height:window.innerHeight?window.innerHeight:b==null?void 0:b.clientHeight}}c={addCss:c,addCssRules:n,containsCss:k,getAttr:j,getBoolAttr:a,getByClass:f,getStyle:l,getViewportInfo:p,html:b,ready:h,remove:o,removeCss:d,setStyle:m};e.exports=c}),null); __d("normalizeError",["sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){var b={line:a.lineNumber||a.line,message:a.message,name:a.name,script:a.fileName||a.sourceURL||a.script,stack:a.stackTrace||a.stack};b._originalError=a;a=/([\w:\.\/]+\.js):(\d+)/.exec(a.stack);g.chrome()&&a&&(b.script=a[1],b.line=parseInt(a[2],10));for(var c in b)b[c]==null&&delete b[c];return b};e.exports=a}),null); __d("sdk.ErrorHandler",["ManagedError","normalizeError","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();function a(a,b){__p&&__p();var c="";function d(a){var c=a._originalError;delete a._originalError;b(a);throw c}function e(b,e){__p&&__p();return function(){__p&&__p();if(!a)return b.apply(this,arguments);try{c=e;return b.apply(this,arguments)}catch(a){if(a instanceof g)throw a;var f=h(a);f.entry=e;var i=ES(Array.prototype.slice.call(arguments),"map",!0,function(a){var b=Object.prototype.toString.call(a);return/^\[object (String|Number|Boolean|Object|Date)\]$/.test(b)?a:a.toString()});f.args=ES("JSON","stringify",!1,i).substring(0,200);d(f)}finally{c=""}}}function f(a){a.__wrapper||(a.__wrapper=function(){try{return a.apply(this,arguments)}catch(a){window.setTimeout(function(){throw a},0);return!1}});return a.__wrapper}function j(a){try{return a&&a.callee&&a.callee.caller?a.callee.caller.name:""}catch(a){return""}}function k(a,b){return function(d,e){var f=b+":"+(c||"[global]")+":"+(d.name||"[anonymous]"+j(arguments));return a(i(d,"entry",f),e)}}a&&(setTimeout=k(setTimeout,"setTimeout"),setInterval=k(setInterval,"setInterval"),i.setWrapper(e,"entry"));return{guard:e,unguard:f}}e.exports={create:a}}),null); __d("sdk.ErrorHandling",["sdk.ErrorHandler","sdk.feature","sdk.Runtime","sdk.Scribe"],(function(a,b,c,d,e,f,g,h,i,j){a=h("error_handling",!1);e.exports=g.create(a,function(a){j.log("jssdk_error",{appId:i.getClientID(),error:a.name||a.message,extra:a})})}),null); __d("FB",["DOMWrapper","GlobalCallback","JSSDKCssConfig","Log","dotAccess","sdk.Auth","sdk.Content","sdk.DOM","sdk.domReady","sdk.ErrorHandling","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();var r=window.FB={};b={};j.level=0;h.setPrefix("FB.__globalCallbacks");var s=document.createElement("div");g.setRoot(s);o(function(){j.info("domReady"),m.appendHidden(s),i.rules&&n.addCssRules(i.rules,i.components)});q.subscribe("AccessToken.change",function(a){!a&&q.getLoginStatus()==="connected"&&l.getLoginStatus(null,!0)});function t(a,b,c,d){__p&&__p();return p.guard(function(){__p&&__p();function e(a){if(ES("Array","isArray",!1,a))return ES(a,"map",!0,e);return a&&typeof a==="object"&&a.__wrapped?a.__wrapped:typeof a==="function"&&/^function/.test(a.toString())?p.unguard(a):a}var f=ES(Array.prototype.slice.call(arguments),"map",!0,e),g=a.apply(d,f),h,i=!0;if(g&&typeof g==="object"){h=ES("Object","create",!1,g);h.__wrapped=g;for(var c in g){var j=g[c];if(typeof j!=="function"||c==="constructor")continue;i=!1;h[c]=t(j,b+":"+c,c,g)}}return!i?h:i?g:h},b)}function a(a,b){var c=a?k(r,a,!0):r;ES(ES("Object","keys",!1,b),"forEach",!0,function(d){var e=b[d];if(typeof e==="function"){var f=(a?a+".":"")+d;f=t(e,f,d,b);f&&(c[d]=f)}else(typeof e==="object"||typeof e==="number")&&(c[d]=e)})}ES("Object","assign",!1,b,{provide:a});e.exports=b}),null); __d("ArgumentError",["ManagedError"],(function(a,b,c,d,e,f,g){var h;b=babelHelpers.inherits(a,g);h=b&&b.prototype;function a(a,b){"use strict";h.constructor.call(this,a,b)}e.exports=a}),null); __d("flattenObject",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){var b={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(null===d||void 0===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;c<a;c++)b[c]=arguments[c];var d=m.prepareBatchParams(b),e=d.body,f=d.callback,g=d.method,h=d.relative_url,i={method:g,relative_url:h};e&&(i.body=e);this.$1.push(i);this.$2.push(f);this.$1.length==k?(this.$4&&clearTimeout(this.$4),this.$5()):this.$4||(this.$4=setTimeout(ES(function(){this.$5()},"bind",!0,this),0))};m.prepareBatchParams=function(a){a=g.parseCallDataFromArgs(a);var b=a.uri,c=a.callback;a=a.params.method;var d,e=b.removeQueryData("method").toString();a.toLowerCase()=="post"&&(d=h.encode(b.getQueryData()),e=b.setQueryData({}).toString());return{body:d,callback:c,method:a,relative_url:e}};m.prototype.$5=function(){__p&&__p();this.$1.length>0||i(0,4698);this.$1.length===this.$2.length||i(0,4699);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("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","ApiClientUtils","Assert","ChunkedRequest","CORSRequest","JSONPRequest","Log","ObservableMixin","QueryString","UrlMap","flattenObject"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();var r,s,t,u=l.MAX_QUERYSTRING_LENGTH,v={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},w=["cors","jsonp"],x=0,y=[],z=0,A=0,B;function C(a,b,c,d){__p&&__p();var e=z!==0&&x>=z;if(e){y.push(function(){return C(a,b,c,d)});F.inform("request.queued",a,b,c);return}x++;var f=babelHelpers["extends"]({},t,c);f.pretty=f.pretty||0;f=q(f);e={jsonp:l,cors:k,chunked:j};var g={},h=f.access_token||r;h&&(g.access_token=h);h=ES("Object","keys",!1,g);h.length>0&&(a=o.appendToUrl(a,g),ES(h,"forEach",!0,function(a){return delete f[a]}));f.transport?(g=[f.transport],delete f.transport):g=w;for(var h=0;h<g.length;h++){var i=e[g[h]],m=ES("Object","assign",!1,{},f);if(i.execute(a,b,m,d))return}d({error:{type:"no-transport",message:"Could not find a usable transport for request"}})}function D(a,b,c,d,e,f,g,h){__p&&__p();if(d.transport&&d.transport==="chunked"&&h===!1){a(g,!1);return}g&&g.error&&F.inform("request.error",b,c,d,g,ES("Date","now",!1)-e,f);F.inform("request.complete",b,c,d,g,ES("Date","now",!1)-e,f);x--;a&&a(g);h=y.length>0&&x<z;if(h){b=y.shift();b()}}function E(){for(var a=arguments.length,b=new Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=h.parseCallDataFromArgs(b),e=d.uri,f=d.callback,g=d.params,i=g.method;G(e,i)&&(i="post");var j=e.getProtocol()&&e.getDomain()?e.setQueryData({}).toString():p.resolve("graph")+e.getPath(),k=A++;F.inform("request.prepare",j,g,k);C(j,i=="get"?"get":"post",g,ES(D,"bind",!0,null,f,e.getPath(),i,g,ES("Date","now",!1),k))}function a(){var a;B||(B=new g(E,s));(a=B).scheduleBatchCall.apply(a,arguments)}function b(a,b){__p&&__p();i.isObject(a);i.isString(a.method,"method missing");b||m.warn("No callback passed to the ApiClient");var c=a.method.toLowerCase().replace(".","_");a.format="json-strings";a.api_key=s;c=c in v?"api_read":"api";c=p.resolve(c)+"/restserver.php";var d=A++;b=ES(D,"bind",!0,null,b,"/restserver.php","get",a,ES("Date","now",!1),d);C(c,"get",a,b)}var F=ES("Object","assign",!1,new n(),{setAccessToken:function(a){r=a},setAccessTokenForClientID:function(a,b){r&&s&&s!==b||(r=a)},getAccessToken:function(){return r},setClientID:function(a){s=a},setDefaultParams:function(a){t=a},setDefaultTransports:function(a){w=a},setMaxConcurrentRequests:function(a){z=a},getCurrentlyExecutingRequestCount:function(){return x},getQueuedRequestCount:function(){return y.length},rest:b,graph:E,scheduleBatchCall:a,prepareBatchParams:g.prepareBatchParams});function G(a,b){return a.toString().length>u&&b==="get"}e.exports=F}),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.unsecureDisallowed",["Log","sdk.feature","sdk.Runtime","sdk.Scribe"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=h("https_only_enforce_starting",!1),l=h("https_only_learn_more",""),m={};function a(a){if(window.location.protocol!=="https:"&&k&&k-ES("Date","now",!1)<=0){g.log("error",-1,"The method FB.%s can no longer be called from http pages. %s",a,l);return!0}window.location.protocol!=="https:"&&k&&(g.log("error",-1,"The method FB.%s will soon stop working when called from http pages. Please update your site to use https for Facebook Login. %s",a,l),h("https_only_scribe_logging",!0)&&!Object.prototype.hasOwnProperty.call(m,a)&&(j.log("jssdk_error",{appId:i.getClientID(),error:"HttpsOnly",extra:{message:a}}),m[a]=!0));return!1}e.exports=a}),null); __d("sdk.api",["ApiClient","sdk.feature","sdk.PlatformVersioning","sdk.Runtime","sdk.Scribe","sdk.URI","sdk.unsecureDisallowed"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m){__p&&__p();var n=h("should_log_response_error",!1),o;j.subscribe("ClientID.change",function(a){return g.setClientID(a)});j.subscribe("AccessToken.change",function(a){o=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&&o===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){n&&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(m("api"))return;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",APP_ID:"$app_id"}}),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<d;c++)a(b[c][0],b[c][1])},toQueryString:function(){var a=[];this.each(function(b,c){a.push(b+"="+encodeURIComponent(c))});return a.join("&")}};function i(a){if(typeof JSON==="undefined"||JSON===null||!ES("JSON","stringify",!1))return Object.prototype.toString.call(a);else return ES("JSON","stringify",!1,a)}e.exports=a}),null); __d("FBEventsUtils",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="console",h="error",i="Facebook Pixel Error",j="Facebook Pixel Warning",k="warn",l=Object.prototype.toString,m=!("addEventListener"in document),n=function(){},o=window[g]||{},p=window.postMessage||n;function a(a){return l.call(a)==="[object Array]"}function b(a){p({action:"FB_LOG",logType:i,logMessage:a},"*"),h in o&&o[h](i+": "+a)}function c(a){p({action:"FB_LOG",logType:j,logMessage:a},"*"),k in o&&o[k](j+": "+a)}function d(a,b,c){b=m?"on"+b:b;var d=m?"attachEvent":"addEventListener",e=m?"detachEvent":"removeEventListener",f=function d(){a[e](b,d,!1),c()};a[d](b,f,!1)}function e(a,b,c){var d=a[b];a[b]=function(){var a=d.apply(this,arguments);c.apply(this,arguments);return a}}f.isArray=a;f.logError=b;f.logWarning=c;f.listenOnce=d;f.injectMethod=e}),null); __d("FBPixelEndpoint",["FBEventsParamList","FBEventsUtils"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i="https://www.facebook.com/tr/",j=location.href,k=window.top!==window,l=document.referrer;function m(a,b,c,d){__p&&__p();d=d||{};var e=new g();e.append("id",a);e.append("ev",b);e.append("dl",j);e.append("rl",l);e.append("if",k);e.append("ts",new Date().valueOf());e.append("cd",c);e.append("sw",window.screen.width);e.append("sh",window.screen.height);for(var f in d)e.append(f,d[f]);return e}function a(a,b,c,d){a=m(a,b,c,d);b=a.toQueryString();2048>(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?'<iframe name="'+c+'">':"iframe";var e=document.createElement(a);e.src="javascript:false";e.id=c;e.name=c;d.appendChild(e);h.listenOnce(e,"load",function(){b.each(function(a,b){var c=document.createElement("input");c.name=a;c.value=b;d.appendChild(c)}),h.listenOnce(e,"load",function(){d.parentNode.removeChild(d)}),d.submit()});document.body.appendChild(d)}b={sendEvent:a};e.exports=b}),null); __d("FBAppEvents",["ApiClient","FBPixelEndpoint"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();function a(a,b,c,d,e){var f={};d!=null&&(f.vts=d.toString());e!=null&&(f.at=e);h.sendEvent(a.toString(),b,c,f)}function b(a,b,c,d){b="/"+b+"/user_properties";a={data:[{user_unique_id:a,custom_data:c}]};g.graph(b,"post",a,d)}e.exports={logEvent:a,updateUserProperties:b}}),null); __d("sdk.AppEvents",["AppUserPropertyAPIBuiltinField","Assert","FBAppEvents","sdk.Auth","sdk.Event","sdk.Impressions","sdk.Model","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();var o=ES("Object","freeze",!1,{COMPLETED_REGISTRATION:"fb_mobile_complete_registration",VIEWED_CONTENT:"fb_mobile_content_view",SEARCHED:"fb_mobile_search",RATED:"fb_mobile_rate",COMPLETED_TUTORIAL:"fb_mobile_tutorial_completion",ADDED_TO_CART:"fb_mobile_add_to_cart",ADDED_TO_WISHLIST:"fb_mobile_add_to_wishlist",INITIATED_CHECKOUT:"fb_mobile_initiated_checkout",ADDED_PAYMENT_INFO:"fb_mobile_add_payment_info",ACHIEVED_LEVEL:"fb_mobile_level_achieved",UNLOCKED_ACHIEVEMENT:"fb_mobile_achievement_unlocked",PAGE_VIEW:"fb_page_view",SPENT_CREDITS:"fb_mobile_spent_credits"}),p=ES("Object","freeze",!1,{ACTIVATED_APP:"fb_mobile_activate_app",PURCHASED:"fb_mobile_purchase"}),q=ES("Object","freeze",!1,{APP_USER_ID:"_app_user_id",APP_VERSION:"_appVersion",CURRENCY:"fb_currency",REGISTRATION_METHOD:"fb_registration_method",CONTENT_TYPE:"fb_content_type",CONTENT_ID:"fb_content_id",SEARCH_STRING:"fb_search_string",SUCCESS:"fb_success",MAX_RATING_VALUE:"fb_max_rating_value",PAYMENT_INFO_AVAILABLE:"fb_payment_info_available",NUM_ITEMS:"fb_num_items",LEVEL:"fb_level",DESCRIPTION:"fb_description"}),r=/^[0-9a-zA-Z_][0-9a-zA-Z _-]{0,39}$/,s=40,t=r,u=s,v=100,w=100,x=100,y=100,z=ES("Object","values",!1,g),A=new m({UserID:"",Version:""});function B(a,b,c,d){b={ae:1,ev:b,vts:c,canvas:1};d&&(b.cd=d);l.impression({api_key:a,payload:ES("JSON","stringify",!1,b)})}function C(a,b,c,d){var e=j.getAuthResponse();e=e&&e.accessToken?e.accessToken:null;i.logEvent(a,b,d||{},c,e)}function D(a,b,c,d){E(b);var e=A.getUserID();e!==""&&(d=d||{},d[q.APP_USER_ID]=e);e=A.getVersion();e!==""&&(d=d||{},d[q.APP_VERSION]=e);n.isCanvasEnvironment()?B(a,b,c,d):C(a,b,c,d)}function E(a){h.isTrue(r.test(a),"Invalid event name: "+a+". It must be between 1 and "+s+" characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _.")}function a(a,b,c,d){var e={};e[q.CURRENCY]=c;D(a,p.PURCHASED,b,babelHelpers["extends"]({},d,e))}function b(a){D(a,p.ACTIVATED_APP)}function F(a){D(a,o.PAGE_VIEW)}function G(a){h.isTrue(a.length!==0,"User ID must be set before updateUserProperties can be called."),h.isTrue(a.length<=v,"Invalid user ID: "+a+". It must be no longer than "+v+" characters.")}function c(a){G(a),A.setUserID(a)}function H(){return A.getUserID()}function d(){A.setUserID("")}function I(a){h.isTrue(a.length<=w,"Invalid app version: "+a+". It must be no longer than "+w+" characters.")}function f(a){I(a),A.setVersion(a)}function J(){return A.getVersion()}function K(){A.setVersion("")}function L(a){h.isTrue(ES("Object","keys",!1,a).length<=x,"The total number of user properties cannot exceed "+x+".");for(var b in a)h.isTrue(t.test(b)||ES(z,"includes",!0,b),"Invalid user properties key name: "+b+". It must be between 1 and "+u+" characters, and must contain only alphanumerics, _, - or spaces, starting with alphanumeric or _. Or, it must be a pre-defined user property"),h.isTrue(a[b].toString().length<=y,"Invalid user properties value: "+a[b]+". It must be no longer than "+y+" characters.")}function M(a,b,c){var d=H();G(d);L(b);i.updateUserProperties(d,a,b,c)}k.subscribe("init:post",function(a){n.getClientID()&&(a.autoLogAppEvents!==void 0&&(h.isBoolean(a.autoLogAppEvents,"Type of property autoLogAppEvents must be boolean"),n.setAutoLogAppEvents(a.autoLogAppEvents)),n.getAutoLogAppEvents()&&F(n.getClientID()))});e.exports={activateApp:b,logEvent:D,logPurchase:a,logPageView:F,assertValidEventName:E,EventNames:o,ParameterNames:q,assertValidUserID:G,setUserID:c,getUserID:H,clearUserID:d,assertValidUserProperties:L,updateUserProperties:M,setAppVersion:f,getAppVersion:J,clearAppVersion:K,assertValidAppVersion:I}}),null); __d("legacy:fb.appevents",["Assert","sdk.AppEvents","FB","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function k(){var a=j.getClientID();g.isTrue(a!==null&&a.length>0,"You need to call FB.init() with App ID first.");return a}i.provide("AppEvents",{logEvent:function(a,b,c){h.logEvent(k(),a,b,c)},logPurchase:function(a,b,c){h.logPurchase(k(),a,b,c)},activateApp:function(){h.activateApp(k())},logPageView:function(){h.logPageView(k())},setUserID:function(a){h.setUserID(a)},getUserID:function(){return h.getUserID()},clearUserID:function(){h.clearUserID()},updateUserProperties:function(a,b){h.updateUserProperties(k(),a,b)},setAppVersion:function(a){h.setAppVersion(a)},getAppVersion:function(){return h.getAppVersion()},clearAppVersion:function(){h.clearAppVersion()},EventNames:h.EventNames,ParameterNames:h.ParameterNames})}),3); __d("resolveURI",[],(function(a,b,c,d,e,f){function a(a){if(!a)return window.location.href;a=a.replace(/&/g,"&").replace(/\"/g,""");var b=document.createElement("div");b.innerHTML='<a href="'+a+'"></a>';return b.firstChild.href}e.exports=a}),null); __d("sdk.Canvas.Environment",["sdk.RPC"],(function(a,b,c,d,e,f,g){function a(a){g.remote.getPageInfo(function(b){a(b.result)})}function b(a,b){g.remote.scrollTo({x:a||0,y:b||0})}g.stub("getPageInfo");g.stub("scrollTo");c={getPageInfo:a,scrollTo:b};e.exports=c}),null); __d("sdk.DialogUtils",["DOMEventListener","sdk.Content","sdk.DOM","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();a={isOrientationPotrait:function(){return window.innerWidth<window.innerHeight},addDoubleClickAction:function(a,b,c){var d=null;return g.add(a,"click",function(){d!==null&&(clearTimeout(d),d=null,b()),d=setTimeout(function(){d=null},c)})},addIdleDesktopAction:function(a,b,c){var d,e,f=function(){d=setTimeout(b,c)};f();return g.add(a,"mouseenter",function(){clearTimeout(d),e||(e=g.add(a,"mouseleave",function(){f()}))})},addMobileOrientationChangeAction:function(a){if(!j.mobile())return null;var b="onorientationchange"in window?"orientationchange":"resize",c=function(b){return setTimeout(function(b){return a(b)},50)};return g.add(window,b,c)},applyScreenDimensions:function(a){if(a==null)return;var b=i.getViewportInfo();a.style.minHeight=b.height||b.width?b.height+"px":"";a.style.top=b.scrollTop?b.scrollTop+"px":""},setDialogPositionToCenter:function(a,b,c){__p&&__p();var d=function(a){return typeof a==="number"?a:parseInt(a,10)},e=i.getViewportInfo(),f=d(a.offsetWidth);d=d(a.offsetHeight);f=e.scrollLeft+(e.width-f)/2;var g=(e.height-d)/2.5;f<g&&(g=f);var h=e.height-d-g,k=(e.height-d)/2;c&&(k=c.scrollTop-c.offsetTop+(c.clientHeight-d)/2);k<g?k=g:k>h&&(k=h);k+=e.scrollTop;if(j.mobile()){c=100;b?(c+=(e.height-d)/2,i.addCss(document.body,"fb_reposition")):(i.addCss(document.body,"fb_hidden"),document.body.style.width="auto",k=1e4);g=i.getByClass("fb_dialog_padding",a);g.length&&(g[0].style.height=c+"px")}a.style.left=(f>0?f:0)+"px";a.style.top=(k>0?k:0)+"px"},setDialogPositionToTop:function(a,b,c){this.setDialogPositionToCenter(a,b,c);b=i.getViewportInfo();c=b.scrollTop+(b.height-a.offsetHeight)*.05;i.setStyle(a,"top",c+"px")},setupNewDarkOverlay:function(){var a=document.createElement("div");a.setAttribute("id","fb_dialog_ipad_overlay");this.applyScreenDimensions(a);return a},setupNewDialog:function(a){__p&&__p();a=a||{};var b=document.createElement("div"),c=a;c=c.onClose;if(a.closeIcon&&c){var d=document.createElement("a");d.className="fb_dialog_close_icon";g.add(d,"click",c);b.appendChild(d)}c="fb_dialog";c+=" "+(a.classes||"");c+=j.mobile()?" fb_dialog_mobile":" fb_dialog_advanced";b.className=c;if(a.width){d=parseInt(a.width,10);isNaN(d)||(b.style.width=d+"px")}c=document.createElement("div");a.content&&h.append(a.content,c);c.className="fb_dialog_content";b.appendChild(c);if(j.mobile()){d=document.createElement("div");d.className="fb_dialog_padding";b.appendChild(d)}return{dialogElement:b,contentRoot:c}},onDialogHideCleanup:function(a){var b=document.body;a?i.removeCss(b,"fb_reposition"):i.removeCss(b,"fb_hidden")}};e.exports=a}),null); __d("sdk.fbt",[],(function(a,b,c,d,e,f){a={_:function(a){return typeof a==="string"?a:a[0]}};e.exports=a}),null); __d("sdk.Dialog",["DOMEventListener","ObservableMixin","Type","sdk.Canvas.Environment","sdk.Content","sdk.DialogUtils","sdk.DOM","sdk.fbt","sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){__p&&__p();var q=30,r=590,s=500,t=240,u=575;function v(){var a=m.getViewportInfo();return a.height&&a.width?{width:Math.min(a.width,s),height:Math.min(a.height,r)}:null}var w=i.extend({constructor:function(a,b){this.parent(),this.id=a,this.display=b,this._e2e={},x._dialogs||(x._dialogs={},x._addOrientationHandler()),x._dialogs[a]=this,this.trackEvent("init")},trackEvent:function(a,b){if(this._e2e[a])return this;this._e2e[a]=b||ES("Date","now",!1);a=="close"&&this.inform("e2e:end",this._e2e);return this},trackEvents:function(a){typeof a==="string"&&(a=ES("JSON","parse",!1,a));for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&this.trackEvent(b,a[b]);return this}},h),x={newInstance:function(a,b){return new w(a,b)},_dialogs:null,_lastYOffset:0,_overlayListeners:[],_loaderEl:null,_overlayEl:null,_stack:[],_active:null,_forceTabletStyle:null,_closeOnOverlayTap:null,_positionDialogAtTopWhenPortrait:null,get:function(a){return x._dialogs[a]},_findRoot:function(a){while(a){if(m.containsCss(a,"fb_dialog"))return a;a=a.parentNode}},_createWWWLoader:function(a){a=a?a:460;return x.create({content:'<div class="dialog_title"> <a id="fb_dialog_loader_close"> <div class="fb_dialog_close_icon"></div> </a> <span>Facebook</span> <div style="clear:both;"></div></div><div class="dialog_content"></div><div class="dialog_footer"></div>',width:a})},_createMobileLoader:function(){var a;p.nativeApp()?a='<div class="dialog_header"></div>':x.isTabletStyle()?a='<div class="overlayLoader"><div id="fb_dialog_loader_spinner"></div><a id="fb_dialog_loader_close" href="#">'+n._("Cancel")+"</a></div>":a='<div class="dialog_header"><table> <tbody> <tr> <td class="header_left"> <label class="touchable_button"> <input type="submit" value="'+n._("Cancel")+'" id="fb_dialog_loader_close"/> </label> </td> <td class="header_center"> <div> '+n._("Loading...")+' </div> </td> <td class="header_right"> </td> </tr> </tbody></table></div>';return x.create({classes:"loading"+(x.isTabletStyle()?" centered":""),content:a})},_setDialogOverlayStyle:function(){l.applyScreenDimensions(x._overlayEl)},_showTabletOverlay:function(a){if(!x.isTabletStyle())return;x._overlayEl||(x._overlayEl=l.setupNewDarkOverlay(),k.append(x._overlayEl,null));if(x._closeOnOverlayTap){a=l.addDoubleClickAction(x._overlayEl,ES(a,"bind",!0,this),5e3);x._overlayListeners.push(a)}x._overlayEl.className=""},_hideTabletOverlay:function(){x.isTabletStyle()&&(x._overlayEl.className="hidden",ES(x._overlayListeners,"forEach",!0,function(a){return a.remove()}),x._overlayListeners=[])},showLoader:function(a,b){__p&&__p();a||(a=function(){});var c=function(){x._hideLoader(),l.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay(),a()};x._showTabletOverlay(c);x._loaderEl||(x._loaderEl=x._findRoot(p.mobile()?x._createMobileLoader():x._createWWWLoader(b)));b=document.getElementById("fb_dialog_loader_close");if(b){m.removeCss(b,"fb_hidden");b=g.add(b,"click",c);x._overlayListeners.push(b)}x._makeActive(x._loaderEl)},setCloseOnOverlayTap:function(a){x._closeOnOverlayTap=!!a},setPositionDialogAtTopWhenPortrait:function(a){x._positionDialogAtTopWhenPortrait=!!a},_hideLoader:function(){x._loaderEl&&x._loaderEl==x._active&&(x._loaderEl.style.top="-10000px")},_makeActive:function(a){x._setDialogSizes(),x._lowerActive(),x._active=a,o.isEnvironment(o.ENVIRONMENTS.CANVAS)&&j.getPageInfo(function(a){x._centerActive(a)}),x._centerActive()},_lowerActive:function(){if(!x._active)return;x._active.style.top="-10000px";x._active=null},_removeStacked:function(a){x._stack=ES(x._stack,"filter",!0,function(b){return b!=a})},_centerActive:function(a){var b=x._active;if(!b)return;x._positionDialogAtTopWhenPortrait&&l.isOrientationPotrait()?l.setDialogPositionToTop(b,x.isTabletStyle(),a):l.setDialogPositionToCenter(b,x.isTabletStyle(),a)},_setDialogSizes:function(a){a===void 0&&(a=!1);if(!p.mobile())return;for(var b in x._dialogs)if(Object.prototype.hasOwnProperty.call(x._dialogs,b)){var c=document.getElementById(b);c&&(c.style.width=x.getDefaultSize().width+"px",a||(c.style.height=x.getDefaultSize().height+"px"))}},getDefaultSize:function(){__p&&__p();if(p.mobile()){var a=v();if(a){m.getViewportInfo().width<=a.width&&(a.width=m.getViewportInfo().width-q);m.getViewportInfo().height<=a.height&&(a.height=m.getViewportInfo().height-q);return a}if(p.ipad())return{width:s,height:r};if(p.android())return{width:screen.availWidth,height:screen.availHeight};else{a=window.innerWidth;var b=window.innerHeight,c=a/b>1.2;return{width:a,height:Math.max(b,c?screen.width:screen.height)}}}return{width:u,height:t}},_handleOrientationChange:function(){__p&&__p();x._availScreenWidth=m.getViewportInfo().width;if(x.isTabletStyle())x._setDialogSizes(!0),x._centerActive(),x._setDialogOverlayStyle();else{var a=x.getDefaultSize().width;for(var b in x._dialogs)if(Object.prototype.hasOwnProperty.call(x._dialogs,b)){var c=document.getElementById(b);c&&(c.style.width=a+"px")}}},_addOrientationHandler:function(){if(!p.mobile())return null;x._availScreenWidth=m.getViewportInfo().width;l.addMobileOrientationChangeAction(x._handleOrientationChange)},create:function(a){var b=l.setupNewDialog(a);k.append(b.dialogElement);a.visible&&x.show(b.dialogElement);typeof a.styles==="object"&&ES("Object","assign",!1,b.dialogElement.style,a.styles);return b.contentRoot},show:function(a){var b=x._findRoot(a);b&&(x._removeStacked(b),x._hideLoader(),x._makeActive(b),x._stack.push(b),"fbCallID"in a&&x.get(a.fbCallID).inform("iframe_show").trackEvent("show"))},hide:function(a){var b=x._findRoot(a);x._hideLoader();b==x._active&&(x._lowerActive(),l.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay(),"fbCallID"in a&&x.get(a.fbCallID).inform("iframe_hide").trackEvent("hide"))},remove:function(a){a=x._findRoot(a);if(a){var b=x._active==a;x._removeStacked(a);b?(x._hideLoader(),x._stack.length>0?x.show(x._stack.pop()):(x._lowerActive(),l.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay())):x._active===null&&x._stack.length>0&&x.show(x._stack.pop());setTimeout(function(){a.parentNode.removeChild(a)},3e3)}},isActive:function(a){a=x._findRoot(a);return a&&a===x._active},setForceTabletStyle:function(a){x._forceTabletStyle=!!a},isTabletStyle:function(){if(!p.mobile())return!1;if(x._forceTabletStyle)return!0;var a=v();return a&&(a.height>=r||a.width>=s)}};e.exports=x}),null); __d("sdk.NativeExtensions",["DOMEventListener","Log","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j="fbNativeExtensionsReady";function k(){return window._FBSdkExtensions&&window._FBSdkExtensions.jsonRPC&&window._FBSdkExtensions.initializeCallbackHandler&&window._FBSdkExtensions.supportsDialog?window._FBSdkExtensions:null}a={onReady:function(a){__p&&__p();if(!i.facebookInAppBrowser()){h.error("FB.NativeExtensions.onReady only works when the page is rendered in a WebView of the native Facebook app.");return}var b=k();if(b){a(b);return}var c=!1;b=function b(){var d=k();if(c||!d)return;c=!0;a(d);g.remove(window,j,b)};g.add(window,j,b)}};e.exports=a}),null); __d("sdk.Extensions",["JSONRPC","Queue","sdk.NativeExtensions","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=new h(),l=new g(function(a){k.enqueue(a)}),m=new h();m.start(function(a){l.read(a)});var n=null;j.facebookInAppBrowser()&&i.onReady(function(a){n=a,window._FBBrowserCallbackHandler=function(a){m.enqueue(ES("JSON","stringify",!1,a))},a.initializeCallbackHandler(ES("JSON","stringify",!1,{name:"_FBBrowserCallbackHandler"})),k.start(function(b){a.jsonRPC(b)})});e.exports={local:l.local,remote:l.remote,stub:ES(l.stub,"bind",!0,l),supportsDialog:function(a){return!!n&&n.supportsDialog(a)}}}),null); __d("sdk.Frictionless",["sdk.api","sdk.Auth","sdk.Dialog","sdk.Event"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k={_allowedRecipients:{},_useFrictionless:!1,_updateRecipients:function(){k._allowedRecipients={},g("/me/apprequestformerrecipients",function(a){if(!a||a.error)return;ES(a.data,"forEach",!0,function(a){k._allowedRecipients[a.recipient_id]=!0})})},init:function(){k._useFrictionless=!0,h.getLoginStatus(function(a){a.status=="connected"&&k._updateRecipients()}),j.subscribe("auth.login",function(a){a.authResponse&&k._updateRecipients()})},_processRequestResponse:function(a,b){return function(c){var d=c&&c.updated_frictionless;k._useFrictionless&&d&&k._updateRecipients();c&&(!b&&c.frictionless&&(i._hideLoader(),i._restoreBodyPosition(),i._hideIPadOverlay()),delete c.frictionless,delete c.updated_frictionless);a&&a(c)}},isAllowed:function(a){__p&&__p();if(!a)return!1;if(typeof a==="number")return a in k._allowedRecipients;typeof a==="string"&&(a=a.split(","));a=ES(a,"map",!0,function(a){return ES(String(a),"trim",!0)});var b=!0,c=!1;ES(a,"forEach",!0,function(a){b=b&&a in k._allowedRecipients,c=!0});return b&&c}};j.subscribe("init:post",function(a){a.frictionlessRequests&&k.init()});e.exports=k}),null); __d("sdk.Native",["Log","sdk.UA"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i="fbNativeReady";a={onready:function(a){__p&&__p();if(!h.nativeApp()){g.error("FB.Native.onready only works when the page is rendered in a WebView of the native Facebook app. Test if this is the case calling FB.UA.nativeApp()");return}window.__fbNative&&!this.nativeReady&&ES("Object","assign",!1,this,window.__fbNative);if(this.nativeReady)a();else{var b=function b(c){window.removeEventListener(i,b),this.onready(a)};window.addEventListener(i,b,!1)}}};e.exports=a}),null); __d("sdk.openMessenger",["sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="https://itunes.apple.com/us/app/messenger/id454638411",i="https://play.google.com/store/apps/details?id=com.facebook.orca",j=3e3;function a(a){var b,c,d=a.link;a=a.app_id;g.android()?(b="intent://share/#Intent;package=com.facebook.orca;scheme=fb-messenger;S.android.intent.extra.TEXT="+encodeURIComponent(d)+";S.trigger=send_plugin;",a&&(b+="S.platform_app_id="+encodeURIComponent(a)+";"),b+="end",c=i):(b="fb-messenger://share?link="+encodeURIComponent(d),a&&(b+="&app_id="+encodeURIComponent(a)),c=h);setTimeout(function(){window.location.href=c},j);window.location.href=b}e.exports=a}),null); __d("sdk.UIServer",["Log","QueryString","UrlMap","createObjectFrom","flattenObject","guid","insertIframe","resolveURI","sdk.Auth","sdk.Content","sdk.Dialog","sdk.DOM","sdk.Event","sdk.Extensions","sdk.fbt","sdk.feature","sdk.Frictionless","sdk.getContextType","sdk.Native","sdk.openMessenger","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E){__p&&__p();var F={transform:function(a){if(a.params.display==="touch"&&M.canIframe(a.params)&&window.postMessage){a.params.channel=M._xdChannelHandler(a.id,"parent");D.nativeApp()||(a.params.in_iframe=1);return a}else return M.genericTransform(a)},getXdRelation:function(a){var b=a.display;return b==="touch"&&window.postMessage&&a.in_iframe?"parent":M.getXdRelation(a)}};function G(a){return a.method=="permissions.oauth"||a.method=="permissions.request"||a.method=="oauth"}function H(a){return G(a)&&t.supportsDialog("oauth")}function I(a){return G(a)&&(a.is_account_link===!0||a.is_account_link==="true")&&t.supportsDialog("accountLink")}a={"stream.share":{size:{width:670,height:340},url:"sharer.php",transform:function(a){a.params.u||(a.params.u=window.location.toString());a.params.display="popup";return a}},apprequests:{transform:function(a){a=F.transform(a);a.params.frictionless=w&&w._useFrictionless;a.params.frictionless&&(w.isAllowed(a.params.to)&&(a.params.display="iframe",a.params.in_iframe=!0,a.hideLoader=!0),a.cb=w._processRequestResponse(a.cb,a.hideLoader));a.closeIcon=!1;return a},getXdRelation:F.getXdRelation},"permissions.oauth":{url:"dialog/oauth",size:{width:D.mobile()?null:600,height:D.mobile()?null:679},transform:function(a){__p&&__p();if(!B.getClientID()){g.error("FB.login() called before FB.init().");return}if(o.getAuthResponse()&&!a.params.scope&&!a.params.auth_type){g.error("FB.login() called when user is already connected.");a.cb&&a.cb({status:B.getLoginStatus(),authResponse:o.getAuthResponse()});return}var b=a.cb,c=a.id;delete a.cb;var d=a.params.auth_type==="reauthenticate",e=ES("Object","keys",!1,ES("Object","assign",!1,a.params.response_type?j(a.params.response_type.split(",")):{},{token:!0,signed_request:!0})).join(",");a.params.display==="async"?(ES("Object","assign",!1,a.params,{client_id:B.getClientID(),origin:x(),response_type:e,domain:location.hostname}),a.cb=o.xdResponseWrapper(b,o.getAuthResponse(),"permissions.oauth")):(d&&M._xdNextHandler(function(a){b({authResponse:null,status:"not_authorized"})},c,"opener",!0),ES("Object","assign",!1,a.params,{client_id:B.getClientID(),redirect_uri:n(M.xdHandler(b,c,"opener",o.getAuthResponse(),"permissions.oauth",!d)),origin:x(),response_type:e,domain:location.hostname}));return a}},"auth.logout":{url:"logout.php",transform:function(a){if(!B.getClientID())g.error("FB.logout() called before calling FB.init().");else if(!o.getAuthResponse())g.error("FB.logout() called without an access token.");else{a.params.next=M.xdHandler(a.cb,a.id,"parent",o.getAuthResponse(),"logout",!0);return a}}},"login.status":{url:"dialog/oauth",transform:function(a){var b=a.cb,c=a.id;delete a.cb;ES("Object","assign",!1,a.params,{client_id:B.getClientID(),redirect_uri:M.xdHandler(b,c,"parent",o.getAuthResponse(),"login_status",!0),origin:x(),response_type:"token,signed_request",domain:location.hostname});return a}},pay:{size:{width:555,height:120},connectDisplay:"popup"},live_broadcast:{transform:function(a){a.params.phase==="create"&&(a.size={width:480,height:280});a.params.phase==="publish"&&(a.size={width:772,height:540});return a},require_access_token:!0},boost:{transform:function(a){a.size={width:960,height:760};a.params.display="popup";return a}}};var J={};function K(a,b){J[b]=!0;return function(c){delete J[b],a(c)}}function L(a){var b=a.method.toLowerCase();return b==="pay"&&a.display==="async"?!0:!1}var M={Methods:a,_loadedNodes:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',genericTransform:function(a){(a.params.display=="dialog"||a.params.display=="iframe")&&ES("Object","assign",!1,a.params,{display:"iframe",channel:M._xdChannelHandler(a.id,"parent.parent")},!0);return a},checkOauthDisplay:function(a){var b=a.scope||a.perms||B.getScope();return!b?a.display:"popup"},prepareCall:function(a,b){__p&&__p();var c=a.method.toLowerCase(),d=Object.prototype.hasOwnProperty.call(M.Methods,c)?ES("Object","assign",!1,{},M.Methods[c]):{},e=l(),f=!0;ES("Object","assign",!1,a,{app_id:B.getClientID(),locale:B.getLocale(),sdk:"joey",access_token:f&&B.getAccessToken()||void 0});(c==="share"||c==="share_open_graph")&&(a.mobile_iframe=D.mobile()&&(a.mobile_iframe||a.iframe_test),a.mobile_iframe&&(d=ES("Object","assign",!1,{},F)));a.display=M.getDisplayMode(d,a);d.url||(d.url="dialog/"+c);(d.url=="dialog/oauth"||d.url=="dialog/permissions.request")&&(a.display=="iframe"||a.display=="touch"&&a.in_iframe)&&(a.display=M.checkOauthDisplay(a));a.display=="popup"&&!d.require_access_token&&delete a.access_token;B.getIsVersioned()&&d.url.substring(0,7)==="dialog/"&&(d.url=a.version+"/"+d.url);if(L(a)){if(J[c]){f='Dialog "'+c+'" is trying to run more than once.';g.warn(f);b({error_code:-100,error_message:f});return}b=K(b,c)}f={cb:b,id:e,size:d.size||M.getDefaultSize(),url:i.resolve(a.display=="touch"?"m":"www")+"/"+d.url,params:a,name:c,dialog:q.newInstance(e,a.display)};b=d.transform?d.transform:M.genericTransform;if(b){f=b(f);if(!f)return}a.display==="touch"&&a.in_iframe&&(f.params.parent_height=window.innerHeight);c=d.getXdRelation||M.getXdRelation;b=c(f.params);!(f.id in M._defaultCb)&&!("next"in f.params)&&!("redirect_uri"in f.params)&&(f.params.next=M._xdResult(f.cb,f.id,b,!0));(b==="parent"||b==="opener")&&ES("Object","assign",!1,f.params,{channel_url:M._xdChannelHandler(e,b==="parent"?"parent.parent":"opener")},!0);f=M.prepareParams(f);return f},prepareParams:function(a){a.params.display!=="async"&&delete a.params.method;a.params.kid_directed_site=B.getKidDirectedSite()||a.params.kid_directed_site;a.params=k(a.params);var b=h.encode(a.params);!D.nativeApp()&&M.urlTooLongForIE(a.url+"?"+b)?a.post=!0:b&&(a.url+="?"+b);return a},urlTooLongForIE:function(a){return D.ie()&&D.ie()<=8&&a.length>2048},getDisplayMode:function(a,b){__p&&__p();if(b.display==="hidden"||b.display==="none"||b.display==="native")return b.display;var c=B.isEnvironment(B.ENVIRONMENTS.CANVAS)||B.isEnvironment(B.ENVIRONMENTS.PAGETAB);if(c&&!b.display)return"async";if(H(b)||I(b))return"async";if(D.mobile()||b.display==="touch")return"touch";if((b.display=="iframe"||b.display=="dialog")&&!M.canIframe(b)){g.error('"dialog" mode can only be used when the user is connected.');return"popup"}return a.connectDisplay&&!c?a.connectDisplay:b.display||(M.canIframe(b)?"dialog":"popup")},canIframe:function(a){if(B.getAccessToken())return!0;return D.mobile()&&B.getLoggedIntoFacebook()?!!a.mobile_iframe:!1},getXdRelation:function(a){a=a.display;if(a==="popup"||a==="touch")return"opener";if(a==="dialog"||a==="iframe"||a==="hidden"||a==="none")return"parent";return a==="async"?"parent.frames["+window.name+"]":""},popup:function(a){__p&&__p();var b=window.screenX,c=window.screenY,d=window.outerWidth,e=window.outerHeight,f=D.mobile()?null:a.size.width,g=D.mobile()?null:a.size.height;b=b<0?window.screen.width+b:b;b=b+(d-f)/2;d=c+(e-g)/2.5;c=[];f!==null&&c.push("width="+f);g!==null&&c.push("height="+g);c.push("left="+b);c.push("top="+d);c.push("scrollbars=1");(a.name=="permissions.request"||a.name=="permissions.oauth")&&(c.push("toolbar=0"),(!D.chrome()||D.chrome()<59)&&c.push("location=1"));e=c.join(",");a.post?(f=window.open("about:blank",a.id,e),f&&(M.setLoadedNode(a,f,"popup"),p.submitToTarget({url:a.url,target:a.id,params:a.params}))):(f=window.open(a.url,a.id,e),f&&M.setLoadedNode(a,f,"popup"));if(!f){v("popup_blocker_scribe_logging",!0)&&C.log("jssdk_error",{appId:B.getClientID(),error:"POPUP_MAYBE_BLOCKED",extra:{call:a.name}});return}a.id in M._defaultCb&&M._popupMonitor()},setLoadedNode:function(a,b,c){c==="iframe"&&(b.fbCallID=a.id),b={node:b,type:c,fbCallID:a.id},M._loadedNodes[a.id]=b},getLoadedNode:function(a){a=typeof a==="object"?a.id:a;a=M._loadedNodes[a];return a?a.node:null},hidden:function(a){a.className="FB_UI_Hidden",a.root=p.appendHidden(""),M._insertIframe(a)},iframe:function(a){__p&&__p();a.className="FB_UI_Dialog";a.params.mobile_iframe&&(q.setForceTabletStyle(!0),q.setCloseOnOverlayTap(!0),q.setPositionDialogAtTopWhenPortrait(!0));var b=function(){var b=ES("JSON","stringify",!1,{error_code:4201,error_message:u._("User canceled the Dialog flow")});M._triggerDefault(a.id,b)},c={onClose:b,closeIcon:a.closeIcon===void 0?!0:a.closeIcon,classes:q.isTabletStyle()?"centered":""};a.params.mobile_iframe&&(c.styles={"border-radius":"8px"});a.root=q.create(c);a.hideLoader||q.showLoader(b,a.size.width);r.addCss(a.root,"fb_dialog_iframe");M._insertIframe(a)},touch:function(a){a.params&&a.params.in_iframe?a.ui_created?q.showLoader(function(){M._triggerDefault(a.id,null)},0):M.iframe(a):D.nativeApp()&&!a.ui_created?(a.frame=a.id,y.onready(function(){M.setLoadedNode(a,y.open(a.url+"#cb="+a.frameName),"native")}),M._popupMonitor()):a.ui_created||M.popup(a)},async:function(a){__p&&__p();a.params.redirect_uri=location.protocol+"//"+location.host+location.pathname;delete a.params.access_token;var b=function(b){b=b.result;if(b&&b.e2e){var c=q.get(a.id);c.trackEvents(b.e2e);c.trackEvent("close");delete b.e2e}a.cb(b)};H(a.params)||I(a.params)?(a.params.method="oauth",a.params.redirect_uri=a.params.next,t.remote.showDialog(a.params,b)):A.remote.showDialog(a.params,b)},"native":function(a){z(a.params)},getDefaultSize:function(){return q.getDefaultSize()},_insertIframe:function(a){M._loadedNodes[a.id]=!1;var b=function(b){a.id in M._loadedNodes&&M.setLoadedNode(a,b,"iframe")};a.post?m({url:"about:blank",root:a.root,className:a.className,width:a.size.width,height:a.size.height,id:a.id,onInsert:b,onload:function(b){p.submitToTarget({url:a.url,target:b.name,params:a.params})}}):m({url:a.url,root:a.root,className:a.className,width:a.size.width,height:a.size.height,id:a.id,name:a.frameName,onInsert:b})},_handleResizeMessage:function(a,b){a=M.getLoadedNode(a);if(!a)return;b.height&&(a.style.height=b.height+"px");b.width&&b.width!=0&&(a.style.width=b.width+"px");E.inform("resize.ack",b||{},"parent.frames["+a.name+"]");!q.isActive(a)?q.show(a):q._centerActive()},_triggerDefault:function(a,b){var c={frame:a};b&&(c.result=b);M._xdRecv(c,M._defaultCb[a]||function(){})},_popupMonitor:function(){__p&&__p();var a;for(var b in M._loadedNodes)if(Object.prototype.hasOwnProperty.call(M._loadedNodes,b)&&b in M._defaultCb){var c=M._loadedNodes[b];if(c.type!="popup"&&c.type!="native")continue;c=c.node;try{c.closed?M._triggerDefault(b,null):a=!0}catch(a){}}a&&!M._popupInterval?M._popupInterval=setInterval(M._popupMonitor,100):!a&&M._popupInterval&&(clearInterval(M._popupInterval),M._popupInterval=null)},_xdChannelHandler:function(a,b){__p&&__p();return E.handler(function(b){__p&&__p();var c=M.getLoadedNode(a);if(!c)return;if(b.type=="resize")M._handleResizeMessage(a,b);else if(b.type=="hide")q.hide(c);else if(b.type=="rendered"){c=q._findRoot(c);q.show(c)}else b.type=="fireevent"&&s.fire(b.event,b)},b,!0,null)},_xdNextHandler:function(a,b,c,d){d&&(M._defaultCb[b]=a);return E.handler(function(b){M._xdRecv(b,a)},c)+"&frame="+b},_xdRecv:function(a,b){__p&&__p();var c=M.getLoadedNode(a.frame);if(c)if(c.close)try{c.close(),/iPhone.*Version\/(5|6)/.test(navigator.userAgent)&&RegExp.$1!=="5"&&window.focus(),M._popupCount--}catch(a){}else r.containsCss(c,"FB_UI_Hidden")?setTimeout(function(){c.parentNode.parentNode.removeChild(c.parentNode)},3e3):r.containsCss(c,"FB_UI_Dialog")&&q.remove(c);delete M._loadedNodes[a.frame];delete M._defaultCb[a.frame];if(a.e2e){var d=q.get(a.frame);d.trackEvents(a.e2e);d.trackEvent("close");delete a.e2e}b(a)},_xdResult:function(a,b,c,d){return M._xdNextHandler(function(b){a&&a(b.result&&b.result!=M._resultToken&&ES("JSON","parse",!1,b.result))},b,c,d)+"&result="+encodeURIComponent(M._resultToken)},xdHandler:function(a,b,c,d,e,f){return M._xdNextHandler(o.xdResponseWrapper(a,d,e),b,c,f)}};t.stub("showDialog");A.stub("showDialog");e.exports=M}),null); __d("sdk.ui",["Assert","Log","sdk.feature","sdk.Impressions","sdk.PlatformVersioning","sdk.Runtime","sdk.UIServer","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();function a(a,b){__p&&__p();g.isObject(a);g.maybeFunction(b);l.getIsVersioned()&&(k.assertVersionIsSet(),a.version?k.assertValidVersion(a.version):a.version=l.getVersion());a=ES("Object","assign",!1,{},a);if(!a.method){h.error('"method" is a required parameter for FB.ui().');return null}a.method=="pay.prompt"&&(a.method="pay");var c=a.method;a.redirect_uri&&(h.warn("When using FB.ui, you should not specify a redirect_uri."),delete a.redirect_uri);if(!a.fallback_redirect_uri){var d=new n(document.location.href);d.setQueryData({}).setFragment();a.fallback_redirect_uri=d.toString()}(c=="permissions.request"||c=="permissions.oauth")&&(a.display=="iframe"||a.display=="dialog")&&(a.display=m.checkOauthDisplay(a));if(a.display==="native"&&c!=="send"){h.error('display type "native" not supported');return null}d=i("e2e_tracking",!0);d&&(a.e2e={});a=m.prepareCall(a,b||function(){});if(!a)return null;var e=a.params.display;e==="dialog"?e="iframe":e==="none"&&(e="hidden");b=m[e];if(!b){h.error('"display" must be one of "popup", "dialog", "iframe", "touch", "async", "hidden", or "none"');return null}d&&a.dialog.subscribe("e2e:end",function(a){a.method=c,a.display=e,h.debug("e2e: %s",ES("JSON","stringify",!1,a)),j.log(114,{payload:a})});b(a);return a.dialog}e.exports=a}),null); __d("legacy:fb.auth",["FB","Log","sdk.Auth","sdk.Cookie","sdk.Event","sdk.Runtime","sdk.SignedRequest","sdk.ui","sdk.unsecureDisallowed"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();g.provide("",{getLoginStatus:function(){return o("getLoginStatus")?null:i.getLoginStatus.apply(i,arguments)},getAuthResponse:function(){return o("getAuthResponse")?null:i.getAuthResponse()},getAccessToken:function(){return o("getAccessToken")?null:l.getAccessToken()||null},getUserID:function(){return o("getUserID")?null:l.getUserID()||l.getCookieUserID()},login:function(a,b){if(o("login"))return;b&&b.perms&&!b.scope&&(b.scope=b.perms,delete b.perms,h.warn("OAuth2 specification states that 'perms' should now be called 'scope'. Please update."));var c=l.isEnvironment(l.ENVIRONMENTS.CANVAS)||l.isEnvironment(l.ENVIRONMENTS.PAGETAB);n(babelHelpers["extends"]({method:"permissions.oauth",display:c?"async":"popup",domain:location.hostname},b||{}),a)},logout:function(a){n({method:"auth.logout",display:"hidden"},a)}}),i.subscribe("logout",ES(k.fire,"bind",!0,k,"auth.logout")),i.subscribe("login",ES(k.fire,"bind",!0,k,"auth.login")),i.subscribe("authresponse.change",ES(k.fire,"bind",!0,k,"auth.authResponseChange")),i.subscribe("status.change",ES(k.fire,"bind",!0,k,"auth.statusChange")),k.subscribe("init:post",function(a){__p&&__p();a.status&&i.getLoginStatus();if(l.getClientID())if(a.authResponse)i.setAuthResponse(a.authResponse,"connected");else if(l.getUseCookie()){a=j.loadSignedRequest();if(a){try{a=m.parse(a)}catch(a){j.clearSignedRequestCookie()}a&&a.user_id&&l.setCookieUserID(a.user_id)}}})}),3); __d("sdk.Canvas.IframeHandling",["DOMWrapper","sdk.RPC"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=null,j;function k(){var a=g.getWindow().document,b=a.body;a=a.documentElement;var c=Math.max(b.offsetTop,0),d=Math.max(a.offsetTop,0),e=b.scrollHeight+c;b=b.offsetHeight+c;c=a.scrollHeight+d;a=a.offsetHeight+d;return Math.max(e,b,c,a)}function l(a){__p&&__p();typeof a!=="object"&&(a={});var b=0,c=0;a.height||(a.height=k(),b=16,c=4);a.frame||(a.frame=window.name||"iframe_canvas");if(j){var d=j.height;d=a.height-d;if(d<=c&&d>=-b)return!1}j=a;h.remote.setSize(a);return!0}function a(a,b){b===void 0&&typeof a==="number"&&(b=a,a=!0),a||a===void 0?(i===null&&(i=setInterval(function(){l()},b||100)),l()):i!==null&&(clearInterval(i),i=null)}h.stub("setSize");b={setSize:l,setAutoGrow:a};e.exports=b}),null); __d("sdk.Canvas.Navigation",["sdk.RPC"],(function(a,b,c,d,e,f,g){function a(a){g.local.navigate=function(b){a({path:b})},g.remote.setNavigationEnabled(!0)}g.stub("setNavigationEnabled");b={setUrlHandler:a};e.exports=b}),null); __d("sdk.Canvas.Plugin",["Log","sdk.api","sdk.RPC","sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000",m="CLSID:444785F1-DE89-4295-863A-D46C3A781394",n=null;c=k.osx()&&k.osx.getVersionParts();var o=!(c&&c[0]>10&&c[1]>10&&(k.chrome()>=31||k.webkit()>=537.71||k.firefox()>=25));function p(a){a._hideunity_savedstyle={},a._hideunity_savedstyle.left=a.style.left,a._hideunity_savedstyle.position=a.style.position,a._hideunity_savedstyle.width=a.style.width,a._hideunity_savedstyle.height=a.style.height,a.style.left="-10000px",a.style.position="absolute",a.style.width="1px",a.style.height="1px"}function q(a){a._hideunity_savedstyle&&(a.style.left=a._hideunity_savedstyle.left,a.style.position=a._hideunity_savedstyle.position,a.style.width=a._hideunity_savedstyle.width,a.style.height=a._hideunity_savedstyle.height)}function r(a){a._old_visibility=a.style.visibility,a.style.visibility="hidden"}function s(a){a.style.visibility=a._old_visibility||"",delete a._old_visibility}function t(a){__p&&__p();var b=a.type?a.type.toLowerCase():null;b=b==="application/x-shockwave-flash"||a.classid&&a.classid.toUpperCase()==l;if(!b)return!1;b=/opaque|transparent/i;if(b.test(a.getAttribute("wmode")))return!1;for(var c=0;c<a.childNodes.length;c++){var d=a.childNodes[c];if(/param/i.test(d.nodeName)&&/wmode/i.test(d.name)&&b.test(d.value))return!1}return!0}function u(a){var b=a.type?a.type.toLowerCase():null;return b==="application/vnd.unity"||a.classid&&a.classid.toUpperCase()==m}function v(a){__p&&__p();var b=ES("Array","from",!1,window.document.getElementsByTagName("object"));b=b.concat(ES("Array","from",!1,window.document.getElementsByTagName("embed")));var c=!1,d=!1;ES(b,"forEach",!0,function(b){__p&&__p();var e=t(b),f=o&&u(b);if(!e&&!f)return;c=c||e;d=d||f;f=function(){a.state==="opened"?e?r(b):p(b):e?s(b):q(b)};if(n){g.info("Calling developer specified callback");var h={state:a.state,elem:b};n(h);setTimeout(f,200)}else f()});if(Math.random()<=1/1e3){b={unity:d,flash:c};h(j.getClientID()+"/occludespopups","post",b)}}i.local.hidePluginObjects=function(){g.info("hidePluginObjects called"),v({state:"opened"})};i.local.showPluginObjects=function(){g.info("showPluginObjects called"),v({state:"closed"})};i.local.showFlashObjects=i.local.showPluginObjects;i.local.hideFlashObjects=i.local.hidePluginObjects;function a(){r(),p()}function b(){s(),q()}d={_setHidePluginCallback:function(a){n=a},hidePluginElement:a,showPluginElement:b};e.exports=d}),null); __d("sdk.Canvas.Tti",["sdk.RPC","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){__p&&__p();function i(a,b){b={appId:h.getClientID(),time:ES("Date","now",!1),name:b};b=[b];a&&b.push(function(b){a(b.result)});g.remote.logTtiMessage.apply(null,b)}function a(){i(null,"StartIframeAppTtiTimer")}function b(a){i(a,"StopIframeAppTtiTimer")}function c(a){i(a,"RecordIframeAppTti")}g.stub("logTtiMessage");d={setDoneLoading:c,startTimer:a,stopTimer:b};e.exports=d}),null); __d("legacy:fb.canvas",["Assert","sdk.Canvas.Environment","sdk.Event","FB","sdk.Canvas.IframeHandling","sdk.Canvas.Navigation","sdk.Canvas.Plugin","sdk.RPC","sdk.Runtime","sdk.Canvas.Tti"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){__p&&__p();j.provide("Canvas",{setSize:function(a){g.maybeObject(a,"Invalid argument");return k.setSize.apply(null,arguments)},setAutoGrow:function(){return k.setAutoGrow.apply(null,arguments)},getPageInfo:function(a){g.isFunction(a,"Invalid argument");return h.getPageInfo.apply(null,arguments)},scrollTo:function(a,b){g.maybeNumber(a,"Invalid argument");g.maybeNumber(b,"Invalid argument");return h.scrollTo.apply(null,arguments)},setDoneLoading:function(a){g.maybeFunction(a,"Invalid argument");return p.setDoneLoading.apply(null,arguments)},startTimer:function(){return p.startTimer.apply(null,arguments)},stopTimer:function(a){g.maybeFunction(a,"Invalid argument");return p.stopTimer.apply(null,arguments)},getHash:function(a){g.isFunction(a,"Invalid argument");return l.getHash.apply(null,arguments)},setHash:function(a){g.isString(a,"Invalid argument");return l.setHash.apply(null,arguments)},setUrlHandler:function(a){g.isFunction(a,"Invalid argument");return l.setUrlHandler.apply(null,arguments)}}),n.local.fireEvent=ES(i.fire,"bind",!0,i),i.subscribe("init:post",function(a){o.isEnvironment(o.ENVIRONMENTS.CANVAS)&&(g.isTrue(!a.hideFlashCallback||!a.hidePluginCallback,"cannot specify deprecated hideFlashCallback and new hidePluginCallback"),m._setHidePluginCallback(a.hidePluginCallback||a.hideFlashCallback))})}),3); __d("legacy:fb.canvas.plugin",["FB","sdk.Canvas.Plugin"],(function(a,b,c,d,e,f,g,h){g.provide("Canvas.Plugin",h)}),3); __d("sdk.Canvas.Prefetcher",["JSSDKCanvasPrefetcherConfig","sdk.api","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j={AUTOMATIC:0,MANUAL:1},k=g.sampleRate,l=g.blacklist,m=j.AUTOMATIC,n=[];function o(){var a={object:"data",link:"href",script:"src"};m==j.AUTOMATIC&&ES(ES("Object","keys",!1,a),"forEach",!0,function(b){var c=a[b];ES(ES("Array","from",!1,document.getElementsByTagName(b)),"forEach",!0,function(a){a[c]&&n.push(a[c])})});if(n.length===0)return;h(i.getClientID()+"/staticresources","post",{urls:ES("JSON","stringify",!1,n),is_https:location.protocol==="https:"});n=[]}function a(){if(!i.isEnvironment(i.ENVIRONMENTS.CANVAS)||!i.getClientID()||!k)return;if(Math.random()>1/k||l=="*"||~ES(l,"indexOf",!0,i.getClientID()))return;setTimeout(o,3e4)}function b(a){m=a}function c(a){n.push(a)}d={COLLECT_AUTOMATIC:j.AUTOMATIC,COLLECT_MANUAL:j.MANUAL,addStaticResource:c,setCollectionMode:b,_maybeSample:a};e.exports=d}),null); __d("legacy:fb.canvas.prefetcher",["FB","sdk.Canvas.Prefetcher","sdk.Event","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){g.provide("Canvas.Prefetcher",h),i.subscribe("init:post",function(a){j.isEnvironment(j.ENVIRONMENTS.CANVAS)&&h._maybeSample()})}),3); __d("legacy:fb.canvas.presence",["sdk.RPC","sdk.Event"],(function(a,b,c,d,e,f,g,h){__p&&__p();h.subscribe(h.SUBSCRIBE,a);h.subscribe(h.UNSUBSCRIBE,b);g.stub("useFriendsOnline");function a(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===1&&g.remote.useFriendsOnline(!0)}function b(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===0&&g.remote.useFriendsOnline(!1)}}),3); __d("legacy:fb.event",["FB","sdk.Event","Log"],(function(a,b,c,d,e,f,g,h,i){a=function(a){return i.error("FB.Event."+a+"() has been deprecated")};g.provide("Event",{subscribe:function(a,b){return h.subscribe(a,b)},unsubscribe:ES(h.unsubscribe,"bind",!0,h),clear:ES(a,"bind",!0,null,"clear"),fire:ES(a,"bind",!0,null,"fire")})}),3); __d("legacy:fb.frictionless",["FB","sdk.Frictionless"],(function(a,b,c,d,e,f,g,h){g.provide("Frictionless",h)}),3); __d("sdk.MBasicInitializer",["UrlMap","sdk.DOM","sdk.fbt","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m=function(){__p&&__p();function a(a){__p&&__p();if(!a)return;var b=a.parentNode;if(!b)return;var c=h.getAttr(a,"href")||window.location.href,d=new l(g.resolve("m"));d.setPath("/dialog/share");d.addQueryData("href",encodeURI(c));d.addQueryData("app_id",j.getClientID());d.addQueryData("mbasic_link",1);c=document.createElement("a");c.style="display:inline-block; zoom:1;";c.textContent=i._("Share to Facebook");c.setAttribute("href",d.toString());c.setAttribute("target","_blank");b.insertBefore(c,a);b.removeChild(a)}ES(ES("Array","from",!1,document.getElementsByTagName("fb:share-button")),"forEach",!0,function(b){return a(b)});ES(ES("Array","from",!1,document.getElementsByClassName("fb-share-button")),"forEach",!0,function(b){return a(b)})};function a(){if(!k.mBasic())return;m()}e.exports={init:a}}),null); __d("sdk.init",["Log","ManagedError","QueryString","sdk.Cookie","sdk.ErrorHandling","sdk.Event","sdk.MBasicInitializer","sdk.PlatformVersioning","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();function r(a){var b=typeof a==="number"&&a>0||typeof a==="string"&&/^[0-9a-f]{21,}$|^[0-9]{1,21}$/.test(a);if(b)return a.toString();g.warn("Invalid App Id: Must be a number or numeric string representing the application id.");return null}function s(a){__p&&__p();o.getInitialized()&&g.warn("FB.init has already been called - this could indicate a problem");if(o.getIsVersioned()){if(Object.prototype.toString.call(a)!=="[object Object]")throw new h("Invalid argument");a.authResponse&&g.warn("Setting authResponse is not supported");a.version||(a.version=new q(location.href).getQueryData().sdk_version);n.assertValidVersion(a.version);o.setVersion(a.version)}else/number|string/.test(typeof a)&&(g.warn("FB.init called with invalid parameters"),a={apiKey:a}),a=ES("Object","assign",!1,{status:!0},a||{});var b=r(a.appId||a.apiKey);b!==null&&o.setClientID(b);"scope"in a&&o.setScope(a.scope);a.cookie&&(o.setUseCookie(!0),typeof a.cookie==="string"&&j.setDomain(a.cookie));(a.localStorage===!1||a.localStorage==="false")&&o.setUseLocalStorage(!1);a.kidDirectedSite&&o.setKidDirectedSite(!0);(a.autoLogAppEvents==="1"||a.autoLogAppEvents==="true")&&(a.autoLogAppEvents=!0);a.ab&&o.setSDKAB(a.ab);o.setInitialized(!0);p.mBasic()&&m.init();l.fire("init:post",a)}window.setTimeout(function(){__p&&__p();var a=/(connect\.facebook\.net|\.facebook\.com\/assets.php|\.facebook\.net\/assets.php).*?#(.*)/;ES(ES("Array","from",!1,fb_fif_window.document.getElementsByTagName("script")),"forEach",!0,function(b){__p&&__p();if(b.src){b=a.exec(b.src);if(b){b=i.decode(b[2]);for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c];d=="0"&&(b[c]=0)}s(b)}}});window.fbAsyncInit&&!window.fbAsyncInit.hasRun&&(l.fire("init:asyncstart"),window.fbAsyncInit.hasRun=!0,k.unguard(window.fbAsyncInit)())},0);e.exports=s}),null); __d("legacy:fb.init",["FB","sdk.Event","sdk.init"],(function(a,b,c,d,e,f,g,h,i){"use strict";g.provide("",{init:i}),h.subscribe("init:post",function(){__buffer&&__buffer.replay()}),window.setTimeout(function(){__buffer&&__buffer.opts&&i(__buffer.opts)},0)}),3); __d("runOnce",[],(function(a,b,c,d,e,f){function a(a){var b,c;return function(){b||(b=!0,c=a());return c}}e.exports=a}),null); __d("sdk.Time",["Log","sdk.feature","sdk.Impressions","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=window.performance,l=k&&"now"in k&&"getEntriesByName"in k,m,n={};if(l){var o=j.getSDKUrl();a=null;b=ES(k.getEntriesByType("resource"),"filter",!0,function(a){return ES(a.name,"startsWith",!0,o)});if(b.length>1)if(b>2)b=null;else{c=ES(b,"findIndex",!0,function(a){return ES(a.name,"startsWith",!0,o+"?hash=")});!c?b=null:(a=b.splice(c)[0],b=b[0])}else if(b.length===1){d=document.getElementById("facebook-jssdk-iframe");d&&d instanceof HTMLIFrameElement&&(a=d.contentWindow.performance.getEntriesByType("resource").find(function(a){return ES(a.name,"startsWith",!0,o)}));b=b[0]}else b=null;b&&(n.fetchTime=Math.round(b.duration),a&&(n.fetchTime+=Math.round(a.duration)),"transferSize"in b&&(n.transferSize=b.transferSize,a&&(n.transferSize+=a.transferSize)),g.debug("sdkperf: it took %s ms and %s bytes to load %s",n.fetchTime,n.transferSize,o),m=b.startTime,n.ns=j.getSDKNS(),m&&window.setTimeout(function(){var a=h("log_perf",!1),b=j.getSDKAB();b&&(n.ab=b,a=!0);a&&i.log(116,n)},1e4))}f={log:function(a){if(!l||!m)return;n[a]=Math.round(k.now()-m);g.debug("sdkperf: %s logged after %s ms",a,n[a])}};e.exports=f}),null); __d("legacy:fb.time",["sdk.Event","sdk.Time","runOnce"],(function(a,b,c,d,e,f,g,h,i){"use strict";g.subscribe("init:post",function(){h.log("init")}),g.subscribe("init:asyncstart",function(){h.log("asyncstart")}),g.subscribe("iframeplugin:create",i(function(){return h.log("pluginframe")})),g.subscribe("iframeplugin:onload",i(function(){return h.log("ttfp")}))}),3); __d("legacy:fb.ui",["FB","sdk.ui"],(function(a,b,c,d,e,f,g,h){g.provide("",{ui:h})}),3); __d("legacy:fb.versioned-sdk",["sdk.Runtime"],(function(a,b,c,d,e,f,g){g.setIsVersioned(!0)}),3); __d("XFBML",["Assert","Log","ObservableMixin","runOnce"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k={},l={},m=0,n=new i();function o(a,b){return ES(a[b]+"","trim",!0)}function p(a){return a.scopeName?a.scopeName+":"+a.nodeName:""}function q(a){return k[o(a,"nodeName").toLowerCase()]||k[p(a).toLowerCase()]}function r(a){var b=ES(o(a,"className").split(/\s+/),"filter",!0,function(a){return Object.prototype.hasOwnProperty.call(l,a)});if(b.length===0)return void 0;if(a.getAttribute("fb-xfbml-state")||!a.childNodes||a.childNodes.length===0||a.childNodes.length===1&&a.childNodes[0].nodeType===3||a.children.length===1&&o(a.children[0],"className")==="fb-xfbml-parse-ignore")return l[b[0]]}function s(a){var b={};ES(ES("Array","from",!1,a.attributes),"forEach",!0,function(a){b[o(a,"name")]=o(a,"value")});return b}function t(a,b,c){__p&&__p();g.isTrue(a&&a.nodeType&&a.nodeType===1&&!!a.getElementsByTagName,"Invalid DOM node passed to FB.XFBML.parse()");g.isFunction(b,"Invalid callback passed to FB.XFBML.parse()");var d=++m;h.info("XFBML Parsing Start %s",d);var e=1,f=0,i=function(){e--,e===0&&(h.info("XFBML Parsing Finish %s, %s tags found",d,f),b(),n.inform("render",d,f)),g.isTrue(e>=0,"onrender() has been called too many times")};ES(ES("Array","from",!1,a.getElementsByTagName("*")),"forEach",!0,function(a){__p&&__p();if(!c&&a.getAttribute("fb-xfbml-state"))return;if(a.nodeType!==1)return;var b=q(a)||r(a);if(!b)return;e++;f++;var d=new b.ctor(a,b.xmlns,b.localName,s(a));d.subscribe("render",j(function(){a.setAttribute("fb-xfbml-state","rendered"),i()}));b=function b(){a.getAttribute("fb-xfbml-state")=="parsed"?n.subscribe("render.queue",b):(a.setAttribute("fb-xfbml-state","parsed"),d.process())};b()});n.inform("parse",d,f);var k=3e4;setTimeout(function(){e>0&&h.warn("%s tags failed to render in %s ms",e,k)},k);i()}n.subscribe("render",function(){var a=n.getSubscribers("render.queue");n.clearSubscribers("render.queue");ES(a,"forEach",!0,function(a){a()})});ES("Object","assign",!1,n,{registerTag:function(a){var b=a.xmlns+":"+a.localName;g.isUndefined(k[b],b+" already registered");k[b]=a;l[a.xmlns+"-"+a.localName]=a},parse:function(a,b){t(a||document.body,b||function(){},!0)},parseNew:function(){t(document.body,function(){},!1)}});e.exports=n}),null); __d("legacy:fb.xfbml",["Assert","sdk.Event","FB","XFBML","sdk.domReady","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();i.provide("XFBML",{parse:function(a){g.maybeXfbml(a,"Invalid argument");a&&a.nodeType===9&&(a=a.body);return j.parse.apply(null,arguments)}});j.subscribe("parse",ES(h.fire,"bind",!0,h,"xfbml.parse"));j.subscribe("render",ES(h.fire,"bind",!0,h,"xfbml.render"));h.subscribe("init:post",function(a){a.xfbml&&setTimeout(l(ES(k,"bind",!0,null,j.parse),"entry","init:post:xfbml.parse"),0)});g.define("Xfbml",function(a){return(a.nodeType===1||a.nodeType===9)&&typeof a.nodeName==="string"});try{document.namespaces&&!document.namespaces.item.fb&&document.namespaces.add("fb")}catch(a){}}),3); __d("IframePlugin",["Log","ObservableMixin","QueryString","Type","UrlMap","guid","resolveURI","sdk.Auth","sdk.createIframe","sdk.DOM","sdk.Event","sdk.PlatformVersioning","sdk.Runtime","sdk.UA","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,v){__p&&__p();var w={skin:"string",font:"string",width:"string",height:"px",ref:"string",color_scheme:"string"};function x(a,b,c){(b||b===0)&&(b==="100%"?a.style.width="100%":a.style.width=b+"px"),(c||c===0)&&(a.style.height=c+"px")}function y(a){return function(b){b={width:b.width,height:b.height,pluginID:a};q.fire("xfbml.resize",b)}}var z={string:function(a){return a},bool:function(a){return a?/^(?:true|1|yes|on)$/i.test(a):void 0},url:function(a){return m(a)},url_maybe:function(a){return a?m(a):a},hostname:function(a){return a||window.location.hostname},px:function(a){return/^(\d+)(?:px)?$/.test(a)?parseInt(RegExp.$1,10):void 0},text:function(a){return a}};function A(a,b){a=a[b]||a[b.replace(/_/g,"-")]||a[b.replace(/_/g,"")]||a["data-"+b]||a["data-"+b.replace(/_/g,"-")]||a["data-"+b.replace(/_/g,"")]||void 0;return a}function B(a,b,c,d){ES(ES("Object","keys",!1,a),"forEach",!0,function(e){a[e]=="text"&&!c[e]&&(c[e]=b.textContent||b.innerText||"",b.setAttribute(e,c[e])),d[e]=z[a[e]](A(c,e))})}function C(a){return a==="100%"?"100%":a||a==="0"||a===0?parseInt(a,10):void 0}function D(a){a&&x(a,0,0)}var E=j.extend({constructor:function(a,b,c,d){__p&&__p();this.parent();c=c.replace(/-/g,"_");var e=A(d,"plugin_id");this.subscribe("xd.resize",y(e));this.subscribe("xd.resize.flow",y(e));this.subscribe("xd.resize.flow",ES(function(a){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),x(this._iframeOptions.root,C(a.width),C(a.height)),this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.resize",ES(function(a){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),x(this._iframeOptions.root,C(a.width),C(a.height)),x(this._iframe,C(a.width),C(a.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.resize.iframe",ES(function(a){x(this._iframe,C(a.width),C(a.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.sdk_event",function(b){var c=ES("JSON","parse",!1,b.data);c.pluginID=e;q.fire(b.event,c,a)});var f=k.resolve("www")+"/plugins/"+c+".php?",g={};B(this.getParams(),a,d,g);B(w,a,d,g);ES("Object","assign",!1,g,{app_id:s.getClientID(),locale:s.getLocale(),sdk:"joey",kid_directed_site:s.getKidDirectedSite(),channel:v.handler(ES(function(a){return this.inform("xd."+a.type,a)},"bind",!0,this),"parent.parent",!0)});this.shouldIgnoreWidth()&&(g.width=void 0);g.container_width=a.offsetWidth;p.addCss(a,"fb_iframe_widget");var h=l();this.subscribe("xd.verify",function(a){v.sendToFacebook(h,{method:"xd/verify",params:ES("JSON","stringify",!1,a.token)})});this.subscribe("xd.refreshLoginStatus",ES(function(){n.removeLogoutState(),n.getLoginStatus(ES(this.inform,"bind",!0,this,"login.status"),!0)},"bind",!0,this));d=document.createElement("span");ES("Object","assign",!1,d.style,{verticalAlign:"top",width:"0px",height:"0px",overflow:"hidden"});this._element=a;this._ns=b;this._tag=c;this._params=g;this._config=this.getConfig();this._iframeOptions={root:d,url:f+i.encode(g),name:h,width:this._config.mobile_fullsize&&t.mobile()?void 0:g.width||1e3,height:g.height||1e3,style:{border:"none",visibility:"hidden"},title:this._ns+":"+this._tag+" Facebook Social Plugin",onload:ES(function(){return this.inform("render")},"bind",!0,this),onerror:ES(function(){return D(this._iframe)},"bind",!0,this)};this.isFluid()&&g.width!=="auto"&&(p.addCss(this._element,"fb_iframe_widget_fluid_desktop"),!g.width&&this._config.full_width&&(this._element.style.width="100%",this._iframeOptions.root.style.width="100%",this._iframeOptions.style.width="100%",this._params.container_width=this._element.offsetWidth,this._iframeOptions.url=f+i.encode(this._params)))},shouldIgnoreWidth:function(){return t.mobile()&&this.getConfig().mobile_fullsize},useInlineHeightForMobile:function(){return!0},process:function(){__p&&__p();if(s.getIsVersioned()){r.assertVersionIsSet();var a=new u(this._iframeOptions.url);this._iframeOptions.url=a.setPath("/"+s.getVersion()+a.getPath()).toString()}a=ES("Object","assign",!1,{},this._params);delete a.channel;var b=i.encode(a);if(this._element.getAttribute("fb-iframe-plugin-query")==b){g.info("Skipping render: %s:%s %s",this._ns,this._tag,b);this.inform("render");return}this._element.setAttribute("fb-iframe-plugin-query",b);this.subscribe("render",ES(function(){q.fire("iframeplugin:onload"),this._iframe.style.visibility="visible",this._isIframeResized||D(this._iframe)},"bind",!0,this));while(this._element.firstChild)this._element.removeChild(this._element.firstChild);this._element.appendChild(this._iframeOptions.root);var c=t.mobile()?120:45;this._timeoutID=setTimeout(ES(function(){D(this._iframe),g.warn("%s:%s failed to resize in %ss",this._ns,this._tag,c)},"bind",!0,this),c*1e3);this._iframe=o(this._iframeOptions);q.fire("iframeplugin:create");if(t.mobile()||a.width==="auto"){this.useInlineHeightForMobile()&&p.addCss(this._element,"fb_iframe_widget_fluid");if(!this._iframeOptions.width){ES("Object","assign",!1,this._element.style,{display:"block",width:"100%",height:"auto"});ES("Object","assign",!1,this._iframeOptions.root.style,{width:"100%",height:"auto"});b={height:"auto",position:"static",width:"100%"};(t.iphone()||t.ipad())&&ES("Object","assign",!1,b,{width:"220px","min-width":"100%"});ES("Object","assign",!1,this._iframe.style,b)}}},getConfig:function(){return{}},isFluid:function(){var a=this.getConfig();return a.fluid},updateLift:function(){var a=this._iframe.style.width===this._iframeOptions.root.style.width&&this._iframe.style.height===this._iframeOptions.root.style.height;p[a?"removeCss":"addCss"](this._iframe,"fb_iframe_widget_lift")}},h);E.getVal=A;E.getBaseParams=function(){return w};E.withParams=function(a,b){return E.extend({getParams:function(){return a},getConfig:function(){return b?b:{}}})};e.exports=E}),null); __d("PluginConfig",["sdk.feature"],(function(a,b,c,d,e,f,g){a={comment_embed:{mobile_fullsize:!0},messengerpreconfirmation:{mobile_fullsize:!0},messengeraccountconfirmation:{mobile_fullsize:!0},messengerbusinesslink:{mobile_fullsize:!0},messengertoggle:{mobile_fullsize:!0},messengermessageus:{mobile_fullsize:!0},post:{fluid:g("fluid_embed",!1),mobile_fullsize:!0},send_to_messenger:{mobile_fullsize:!0}};e.exports=a}),null); __d("PluginAttrTypes",[],(function(a,b,c,d,e,f){"use strict";a={string:"string",bool:"bool",url:"url"};e.exports=a}),null); __d("PluginTags",["PluginAttrTypes"],(function(a,b,c,d,e,f,g){var h={comment_embed:{href:g.url,include_parent:g.bool},composer:{action_type:g.string,action_properties:g.string},create_event_button:{},group:{href:g.url,show_social_context:g.bool,show_group_info:g.bool,show_metadata:g.bool},like:{href:g.url,layout:g.string,show_faces:g.bool,share:g.bool,action:g.string,send:g.bool,size:g.string},like_box:{href:g.string,show_faces:g.bool,header:g.bool,stream:g.bool,force_wall:g.bool,show_border:g.bool,id:g.string,connections:g.string,profile_id:g.string,name:g.string},page:{href:g.string,hide_cta:g.bool,hide_cover:g.bool,small_header:g.bool,adapt_container_width:g.bool,show_facepile:g.bool,show_posts:g.bool,tabs:g.string},messenger_checkbox:{messenger_app_id:g.string,page_id:g.string,pixel_id:g.string,prechecked:g.bool,allow_login:g.bool,size:g.string,origin:g.string,user_ref:g.string,identity_match:g.string,center_align:g.bool},messengermessageus:{messenger_app_id:g.string,page_id:g.string,color:g.string,size:g.string},send_to_messenger:{messenger_app_id:g.string,page_id:g.string,color:g.string,size:g.string,enforce_login:g.bool,identity_match:g.string,origin:g.string,cta_text:g.string},page_events:{href:g.url},post:{href:g.url,show_text:g.bool},profile_pic:{uid:g.string,linked:g.bool,href:g.string,size:g.string,facebook_logo:g.bool},send_to_mobile:{max_rows:g.string,show_faces:g.bool,size:g.string}},i={fan:"like_box",likebox:"like_box"};ES(ES("Object","keys",!1,i),"forEach",!0,function(a){h[a]=h[i[a]]});e.exports=h}),null); __d("sdk.XFBML.Comments",["IframePlugin","QueryString","UrlMap","sdk.DOM","sdk.Event","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();var o=320,p=ES("Object","assign",!1,{numposts:"string",href:"url",permalink:"bool",order_by:"string",mobile:"bool",version:"string",hide_post_profile:"bool",limit:"string",offset:"string",view:"string",fb_comment_id:"string",from_mod_tool:"bool",migrated:"string",xid:"string",title:"string",url:"string",quiet:"string",reverse:"string",simple:"string",css:"string",notify:"string",count:"bool"},g.getBaseParams());function q(a,b){__p&&__p();ES(ES("Object","keys",!1,p),"forEach",!0,function(c){var d=j.getAttr(a,c);d!==null&&(b[c]=d)});ES(ES("Object","keys",!1,b),"forEach",!0,function(a){ES(a,"startsWith",!0,"data-")&&delete b[a]});m.mobile()&&b.mobile!==!1&&(b.mobile=!0);b.skin||(b.skin=b.colorscheme);if(!b.href){b.title=b.title||document.title;b.url=b.url||document.URL;if(!b.xid){var c=ES(document.URL,"indexOf",!0,"#");c>0?b.xid=encodeURIComponent(document.URL.substring(0,c)):b.xid=encodeURIComponent(document.URL)}b.migrated&&(b.href=i.resolve("www")+"/plugins/comments_v1.php?app_id="+l.getClientID()+"&xid="+encodeURIComponent(b.xid)+"&url="+encodeURIComponent(b.url))}else{c=b.fb_comment_id;c||(c=h.decode(document.URL.substring(ES(document.URL,"indexOf",!0,"?")+1)).fb_comment_id,c&&ES(c,"indexOf",!0,"#")>0&&(c=c.substring(0,ES(c,"indexOf",!0,"#"))));c&&(b.fb_comment_id=c)}b.version||(b.version=l.getVersion());b.permalink||(b.width=b.mobile||b.width==="auto"||b.width==="100%"?"":b.width?Math.max(b.width,o):550,b.height=100);if(b.href!=null){c=new n(b.href);c.getProtocol()||(b.href=c.setProtocol("http").toString())}return b}a=g.extend({constructor:function(a,b,c,d){d=q(a,d),this.parent(a,b,c,d),this.subscribe("xd.sdk_event",function(a){k.fire(a.event,ES("JSON","parse",!1,a.data))})},getConfig:function(){return{fluid:!0,full_width:!0}},getParams:function(){return p}});e.exports=a}),null); __d("sdk.XFBML.CommentsCount",["sdk.DOM","sdk.XFBML.Comments","sprintf"],(function(a,b,c,d,e,f,g,h,i){a=h.extend({constructor:function(a,b,c,d){g.addCss(a,"fb_comments_count_zero"),d.count=1,this.parent(a,b,"comments",d),this.subscribe("xd.comment_count",function(b){b=ES("JSON","parse",!1,b.data);g.html(a,i('<span class="fb_comments_count">%s</span>',b.count));b.count>0&&g.removeCss(a,"fb_comments_count_zero");g.removeCss(a,"fb_iframe_widget")})}});e.exports=a}),null); __d("sdk.XFBML.CustomerChatWarning",["Log"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c,d){g.error("##########################\n# The CustomerChat plugin is no longer part of the main Facebook SDK.\n# To continue using it please use the correct SDK URL,\n# meaning replace sdk.js with sdk/xfbml.customerchat.js.\n# For more details see https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/sdk\n##########################");return{subscribe:function(){},process:function(){}}}e.exports=a}),null); __d("safeEval",[],(function(a,b,c,d,e,f){function a(a,b){if(a===null||typeof a==="undefined")return;if(typeof a!=="string")return a;return/^\w+$/.test(a)&&typeof window[a]==="function"?window[a].apply(null,b||[]):Function('return eval("'+a.replace(/\"/g,'\\"')+'");').apply(null,b||[])}e.exports=a}),null); __d("sdk.XFBML.LoginButton",["IframePlugin","Log","safeEval","sdk.ErrorHandling","sdk.feature","sdk.Runtime","sdk.Scribe","sdk.ui","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();var p=k("https_only_enforce_starting",!1),q=k("https_only_learn_more","");function r(a,b,c){a&&(typeof a==="string"?j.unguard(i)(a,c):a.apply&&j.unguard(a).apply(b,c||[]))}a=g.extend({constructor:function(a,b,c,d){__p&&__p();if(location.protocol!=="https:"&&p){var e="The Login Button plugin will soon stop working on http pages. Please update your site to use https for Facebook Login. %s";h.log("error",-1,e,q);k("https_only_scribe_logging",!0)&&m.log("jssdk_error",{appId:l.getClientID(),error:"HttpsOnly",extra:{message:"LoginButton"}})}this.parent(a,b,c,d);var f=g.getVal(d,"on_login"),i=null,j=this._iframeOptions.name;f&&(i=function(a){if(a.error_code){h.debug("Plugin Return Error (%s): %s",a.error_code,a.error_message||a.error_description);return}r(f,null,[a])},this.subscribe("login.status",i));this.subscribe("xd.login_button_dialog_open",function(a){n(ES("JSON","parse",!1,a.params),function(a){r(i,null,[a]),o.sendToFacebook(j,{method:"loginReload",params:ES("JSON","stringify",!1,a)})})})},shouldIgnoreWidth:function(){return!1},getParams:function(){return{scope:"string",perms:"string",size:"string",login_text:"text",show_faces:"bool",max_rows:"string",show_login_face:"bool",show_login_numbers:"bool",registration_url:"url_maybe",auto_logout_link:"bool",one_click:"bool",show_banner:"bool",auth_type:"string",default_audience:"string",use_continue_as:"bool",button_type:"string",width:"px",height:"px"}}});e.exports=a}),null); __d("UnicodeUtils",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=55296,i=56319,j=56320,k=57343,l=/[\uD800-\uDFFF]/;function m(a){return h<=a&&a<=k}function a(a,b){0<=b&&b<a.length||g(0,1346,b,a.length);if(b+1===a.length)return!1;var c=a.charCodeAt(b);a=a.charCodeAt(b+1);return h<=c&&c<=i&&j<=a&&a<=k}function n(a){return l.test(a)}function o(a,b){return 1+m(a.charCodeAt(b))}function b(a){if(!n(a))return a.length;var b=0;for(var c=0;c<a.length;c+=o(a,c))b++;return b}function p(a,b,c){__p&&__p();var d=b||0;c=c===void 0?Infinity:c||0;if(!n(a))return a.substr(d,c);var e=a.length;if(e<=0||d>e||c<=0)return"";var f=0;if(d>0){for(;d>0&&f<e;d--)f+=o(a,f);if(f>=e)return""}else if(b<0){for(f=e;d<0&&0<f;d++)f-=o(a,f-1);f<0&&(f=0)}b=e;if(c<e)for(b=f;c>0&&b<e;c--)b+=o(a,b);return a.substring(f,b)}function c(a,b,c){b=b||0;c=c===void 0?Infinity:c||0;b<0&&(b=0);c<0&&(c=0);var d=Math.abs(c-b);b=b<c?b:c;return p(a,b,d)}function d(a){var b=[];for(var c=0;c<a.length;c+=o(a,c))b.push(a.codePointAt(c));return b}f={getCodePoints:d,getUTF16Length:o,hasSurrogateUnit:n,isCodeUnitInSurrogateRange:m,isSurrogatePair:a,strlen:b,substring:c,substr:p};e.exports=f}),null); __d("isNode",[],(function(a,b,c,d,e,f){function a(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||window;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}e.exports=a}),null); __d("isTextNode",["isNode"],(function(a,b,c,d,e,f,g){function a(a){return g(a)&&a.nodeType==3}e.exports=a}),null); __d("containsNode",["isTextNode"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b){__p&&__p();if(!a||!b)return!1;else if(a===b)return!0;else if(g(a))return!1;else if(g(b))return h(a,b.parentNode);else if("contains"in a)return ES(a,"contains",!0,b);else if(a.compareDocumentPosition)return!!(a.compareDocumentPosition(b)&16);else return!1}e.exports=h}),null); __d("sdk.XFBML.Quote",["DOMEventListener","IframePlugin","UnicodeUtils","containsNode","sdk.DOM","sdk.feature","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o="fb-quotable",p=155,q=70,r="",s=null,t=[],u=!1,v=null,w=m.mobile();function x(a){a=a.getRangeAt(0);a=a.startContainer;return a.nodeType===3?a.parentNode:a}function y(a){__p&&__p();if(!document.getSelection||w)return;a=document.getSelection();if(a.rangeCount===0){A();return}var b=t.length;A();if(b){var c=!1;for(var d=0;d<b;d++)if(j(t[d],a.focusNode)){c=!0;break}if(!c)return}r=a.toString();if(r===""){A();return}r=ES(r.toString().replace(/\s+/g," "),"trim",!0);b=Number(l("sharequotelimit",500));i.strlen(r)>b?r=i.substr(r,0,b-3)+"...":r=i.substr(r,0,b);if(!u&&v){x(a).appendChild(v);d=z(a);v.style.left=d.x+"px";v.style.top=d.y+"px"}}function z(a){__p&&__p();var b=v&&v.offsetWidth,c=b?v.offsetHeight:q;b=b?v.offsetWidth:p;a=a.getRangeAt(0);var d=document.createElement("span"),e=document.createElement("span"),f=document.createRange();f.setStart(a.startContainer,a.startOffset);f.insertNode(d);f=document.createRange();f.setStart(a.endContainer,a.endOffset);f.insertNode(e);a=d.offsetTop-c;f=d.offsetLeft+(e.offsetLeft-d.offsetLeft)/2-b/2;d.parentNode.removeChild(d);e.parentNode.removeChild(e);return{x:f,y:a}}function A(){r="",!u&&v&&(v.style.left="-9999px")}a=h.extend({constructor:function(a,b,c,d){__p&&__p();if(s)return s;this.parent(a,b,c,d);u=k.getAttr(a,"layout")==="button";v=a;v.style.position="absolute";v.style.display="";g.add(document,"keyup",y);g.add(document,"mouseup",y);this.subscribe("xd.getTextSelection",ES(function(){n.sendToFacebook(this._iframeOptions.name,{method:"setTextSelection",params:ES("JSON","stringify",!1,{text:r})}),A()},"bind",!0,this));t=ES(ES("Array","from",!1,document.getElementsByTagName("*")),"filter",!0,function(a){return a.nodeName.toLowerCase()==="article"||k.containsCss(a,o)});A();s=this;return s},getParams:function(){return{href:"url",layout:"string"}}});e.exports=a}),null); __d("sdk.XFBML.Save",["IframePlugin","QueryString","sdk.Content","sdk.createIframe","sdk.DialogUtils","sdk.DOM","sdk.Event","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){"use strict";__p&&__p();var p;a=g.extend({constructor:function(a,b,c,d){__p&&__p();this.parent(a,b,c,d);var e=n.mobile();this.subscribe("xd.savePluginGetBlankIframe",ES(function(a){__p&&__p();var b,c,d,f=function(a){a&&l.removeCss(a,"fb_invisible")},g=function(a){a&&l.addCss(a,"fb_invisible")};e&&(b=k.setupNewDarkOverlay(),g(b),i.append(b),k.addDoubleClickAction(b,function(){return ES(d,"forEach",!0,g)},5e3));c=this.setupNewIframeDialog(ES("JSON","parse",!1,a.data),a.fromIframe);g(c);i.append(c);d=[c,b];var h=function(){ES(d,"forEach",!0,g),k.onDialogHideCleanup(e),clearInterval(p)},j;this.subscribe("xd.savePluginShowIframe",ES(function(){m.fire("savePlugin:hideDialog"),ES(d,"forEach",!0,f),this.positionOnScreen(c,b),!e&&!j&&(j=k.addIdleDesktopAction(c,h,7e3))},"bind",!0,this));this.subscribe("xd.savePluginHideIframe",function(){return h()});m.subscribe("savePlugin:hideDialog",function(){return h()});var n=setInterval(function(){var b=document.getElementsByName(a.fromIframe);b.length===0&&(clearInterval(n),h(),ES(d,"forEach",!0,function(a){a&&a.parentNode.removeChild(a)}))},500)},"bind",!0,this))},positionOnScreen:function(a,b){__p&&__p();var c=n.mobile();if(c){var d=function(a,b){b!=null&&k.setDialogPositionToCenter(b,c),k.setDialogPositionToCenter(a,c)};d(a,b);k.addMobileOrientationChangeAction(function(c){d(a,b)});p=setInterval(function(){return d(a,b)},100)}else l.setStyle(a,"position","fixed"),l.setStyle(a,"top","20px"),l.setStyle(a,"right","20px")},setupNewIframeDialog:function(a,b){__p&&__p();b="#"+h.encode({forIframe:b});var c=k.setupNewDialog();j({url:o.getXDArbiterURL()+b,name:"blank_"+this._iframeOptions.name,root:c.contentRoot,tabindex:-1});l.addCss(c.contentRoot,"fb_dialog_iframe");ES("Object","assign",!1,c.dialogElement.style,a.style||{});l.setStyle(c.dialogElement,"width",a.width+"px");l.setStyle(c.dialogElement,"height",a.height+"px");ES(a.classList,"forEach",!0,function(a){return l.addCss(c.dialogElement,a)});l.removeCss(c.dialogElement,"fb_dialog_advanced");return c.dialogElement},getParams:function(){return{uri:"url",url_category:"string",size:"string"}}});e.exports=a}),null); __d("sdk.XFBML.ShareButton",["IframePlugin","sdk.UA","sdk.ui"],(function(a,b,c,d,e,f,g,h,i){"use strict";a=g.extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this.subscribe("xd.shareTriggerMobileIframe",function(a){a=ES("JSON","parse",!1,a.data);i({method:"share",href:a.href,mobile_iframe:h.mobile()})})},getParams:function(){return{href:"url",layout:"string",mobile_iframe:"bool",type:"string",size:"string"}}});e.exports=a}),null); __d("sdk.XFBML.Video",["Assert","IframePlugin","ObservableMixin","sdk.Event","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();function l(a){"use strict";this.$1=a.isMuted,this.$2=a.volume,this.$3=a.timePosition,this.$4=a.duration}l.prototype.update=function(a){"use strict";a.isMuted!==void 0&&(this.$1=a.isMuted),a.volume!==void 0&&(this.$2=a.volume),a.timePosition!==void 0&&(this.$3=a.timePosition),a.duration!==void 0&&(this.$4=a.duration)};l.prototype.isMuted=function(){"use strict";return this.$1};l.prototype.getVolume=function(){"use strict";return this.$1?0:this.$2};l.prototype.getCurrentPosition=function(){"use strict";return this.$3};l.prototype.getDuration=function(){"use strict";return this.$4};function m(a,b,c){"use strict";this.$1=a,this.$2=b,this.$3=c}m.prototype.play=function(){"use strict";k.sendToFacebook(this.$1,{method:"play",params:ES("JSON","stringify",!1,{})})};m.prototype.pause=function(){"use strict";k.sendToFacebook(this.$1,{method:"pause",params:ES("JSON","stringify",!1,{})})};m.prototype.seek=function(a){"use strict";g.isNumber(a,"Invalid argument"),k.sendToFacebook(this.$1,{method:"seek",params:ES("JSON","stringify",!1,{target:a})})};m.prototype.mute=function(){"use strict";k.sendToFacebook(this.$1,{method:"mute",params:ES("JSON","stringify",!1,{})})};m.prototype.unmute=function(){"use strict";k.sendToFacebook(this.$1,{method:"unmute",params:ES("JSON","stringify",!1,{})})};m.prototype.setVolume=function(a){"use strict";g.isNumber(a,"Invalid argument"),k.sendToFacebook(this.$1,{method:"setVolume",params:ES("JSON","stringify",!1,{volume:a})})};m.prototype.isMuted=function(){"use strict";return this.$3.isMuted()};m.prototype.getVolume=function(){"use strict";return this.$3.getVolume()};m.prototype.getCurrentPosition=function(){"use strict";return this.$3.getCurrentPosition()};m.prototype.getDuration=function(){"use strict";return this.$3.getDuration()};m.prototype.subscribe=function(a,b){"use strict";g.isString(a,"Invalid argument");g.isFunction(b,"Invalid argument");this.$2.subscribe(a,b);return{release:ES(function(){this.$2.unsubscribe(a,b)},"bind",!0,this)}};a=h.extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this._videoController=null,this._sharedObservable=null,this._sharedVideoCache=null,this.subscribe("xd.onVideoAPIReady",function(a){this._sharedObservable=new i(),this._sharedVideoCache=new l(ES("JSON","parse",!1,a.data)),this._videoController=new m(this._iframeOptions.name,this._sharedObservable,this._sharedVideoCache),j.fire("xfbml.ready",{type:"video",id:d.id,instance:this._videoController})}),this.subscribe("xd.stateChange",function(a){this._sharedObservable.inform(a.state)}),this.subscribe("xd.cachedStateUpdateRequest",function(a){this._sharedVideoCache.update(ES("JSON","parse",!1,a.data))})},getParams:function(){return{allowfullscreen:"bool",autoplay:"bool",controls:"bool",href:"url",show_captions:"bool",show_text:"bool"}},getConfig:function(){return{fluid:!0,full_width:!0}}});e.exports=a}),null); __d("legacy:fb.xfbml.plugins",["IframePlugin","PluginConfig","PluginTags","XFBML","sdk.feature","sdk.Runtime","sdk.XFBML.Comments","sdk.XFBML.CommentsCount","sdk.XFBML.LoginButton","sdk.XFBML.Quote","sdk.XFBML.Save","sdk.XFBML.ShareButton","sdk.XFBML.Video","sdk.XFBML.CustomerChatWarning"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={customerchat:{},comments:b("sdk.XFBML.Comments"),comments_count:b("sdk.XFBML.CommentsCount"),login_button:b("sdk.XFBML.LoginButton"),quote:b("sdk.XFBML.Quote"),save:b("sdk.XFBML.Save"),share_button:b("sdk.XFBML.ShareButton"),video:b("sdk.XFBML.Video")};ES(l.getSDKUrl(),"indexOf",!0,"customerchat")!==-1?delete m.customerchat:m.customerchat=b("sdk.XFBML.CustomerChatWarning");var n=k("plugin_tags_blacklist",[]);ES(ES("Object","keys",!1,i),"forEach",!0,function(a){if(ES(n,"indexOf",!0,a)!==-1)return;j.registerTag({xmlns:"fb",localName:a.replace(/_/g,"-"),ctor:g.withParams(i[a],h[a])})});ES(ES("Object","keys",!1,m),"forEach",!0,function(a){if(ES(n,"indexOf",!0,a)!==-1)return;j.registerTag({xmlns:"fb",localName:a.replace(/_/g,"-"),ctor:m[a]})})}),3); } }).call(global);})(window.inDapIF ? parent.window : window, window);} catch (e) {new Image().src="http:\/\/www.facebook.com\/" + 'common/scribe_endpoint.php?c=jssdk_error&m='+encodeURIComponent('{"error":"LOAD", "extra": {"name":"'+e.name+'","line":"'+(e.lineNumber||e.line)+'","script":"'+(e.fileName||e.sourceURL||e.script)+'","stack":"'+(e.stackTrace||e.stack)+'","revision":"4725916","namespace":"FB","message":"'+e.message+'"}}');}
/home/lrindo5/ts2.lrindo.com/files/./sdk.js