text: /*1505113018,,JIT Construction: v3288106,en_US*/
  
  /**
   * Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
   *
   * You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
   * copy, modify, and distribute this software in source code or binary form for use
   * in connection with the web services and APIs provided by Facebook.
   *
   * As with any software that integrates with the Facebook platform, your use of
   * this software is subject to the Facebook Platform Policy
   * [http://developers.facebook.com/policy/]. This copyright notice shall be
   * included in all copies or substantial portions of the software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
   * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
   * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
   * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   */
  try {window.FB|| (function(window, fb_fif_window) {  var apply = Function.prototype.apply;  function bindContext(fn, thisArg) {    return function _sdkBound() {      return apply.call(fn, thisArg, arguments);    };  }  var global = {    __type: 'JS_SDK_SANDBOX',    window: window,    document: window.document  };  var sandboxWhitelist = [    'setTimeout',    'setInterval',    'clearTimeout',    'clearInterval'  ];  for (var i = 0; i < sandboxWhitelist.length; i++) {    global[sandboxWhitelist[i]] = bindContext(      window[sandboxWhitelist[i]],      window    );  }  (function() {    var self = window;    var __DEV__ = 0;    function emptyFunction() {};    var __transform_includes = {};    var __annotator, __bodyWrapper;    var __w, __t;    var undefined;    with (this) {      (function(){var a={},b=function i(j,k){if(!j&&!k)return null;var l={};if(typeof j!=='undefined')l.type=j;if(typeof k!=='undefined')l.signature=k;return l},c=function i(j,k){return b(j&&/^[A-Z]/.test(j)?j:undefined,k&&(k.params&&k.params.length||k.returns)?'function('+(k.params?k.params.map(function(l){return /\?/.test(l)?'?'+l.replace('?',''):l}).join(','):'')+')'+(k.returns?':'+k.returns:''):undefined)},d=function i(j,k,l){return j},e=function i(j,k,l){if('sourcemeta' in __transform_includes)j.__SMmeta=k;if('typechecks' in __transform_includes){var m=c(k?k.name:undefined,l);if(m)__w(j,m);}return j},f=function i(j,k,l){return l.apply(j,k)},g=function i(j,k,l,m){if(m&&m.params)__t.apply(j,m.params);var n=l.apply(j,k);if(m&&m.returns)__t([n,m.returns]);return n},h=function i(j,k,l,m,n){if(n){if(!n.callId)n.callId=n.module+':'+(n.line||0)+':'+(n.column||0);var o=n.callId;a[o]=(a[o]||0)+1}return l.apply(j,k)};if(typeof __transform_includes==='undefined'){__annotator=d;__bodyWrapper=f}else{__annotator=e;if('codeusage' in __transform_includes){__annotator=d;__bodyWrapper=h;__bodyWrapper.getCodeUsage=function(){return a};__bodyWrapper.clearCodeUsage=function(){a={}}}else if('typechecks' in __transform_includes){__bodyWrapper=g}else __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(e,f){if(Object.prototype.hasOwnProperty.call(c,e))return c[e];if(!Object.prototype.hasOwnProperty.call(b,e)){if(f)return null;throw new Error('Module '+e+' has not been defined')}var g=b[e],h=g.deps,i=g.factory.length,j,k=[];for(var l=0;l<i;l++){switch(h[l]){case 'module':j=g;break;case 'exports':j=g.exports;break;case 'global':j=a;break;case 'require':j=require;break;case 'requireDynamic':j=null;break;case 'requireLazy':j=null;break;default:j=require.call(null,h[l]);}k.push(j)}g.factory.apply(a,k);c[e]=g.exports;return g.exports};__d=function(e,f,g,h){if(typeof g=='function'){b[e]={factory:g,deps:d.concat(f),exports:{}};if(h===3)require.call(null,e);}else c[e]=g;}})(this);
  __d('ES5Array',[],(function a(b,c,d,e,f,g){var h={};h.isArray=function(i){return Object.prototype.toString.call(i)=='[object Array]'};f.exports=h}),null);
  __d('ES5ArrayPrototype',[],(function a(b,c,d,e,f,g){var h={};h.map=function(i,j){if(typeof i!='function')throw new TypeError();var k=void 0,l=this.length,m=new Array(l);for(k=0;k<l;++k)if(k in this)m[k]=i.call(j,this[k],k,this);return m};h.forEach=function(i,j){h.map.call(this,i,j)};h.filter=function(i,j){if(typeof i!='function')throw new TypeError();var k=void 0,l=void 0,m=this.length,n=[];for(k=0;k<m;++k)if(k in this){l=this[k];if(i.call(j,l,k,this))n.push(l);}return n};h.every=function(i,j){if(typeof i!='function')throw new TypeError();var k=new Object(this),l=k.length;for(var m=0;m<l;m++)if(m in k)if(!i.call(j,k[m],m,k))return false;return true};h.some=function(i,j){if(typeof i!='function')throw new TypeError();var k=new Object(this),l=k.length;for(var m=0;m<l;m++)if(m in k)if(i.call(j,k[m],m,k))return true;return false};h.indexOf=function(i,j){var k=this.length;j|=0;if(j<0)j+=k;for(;j<k;j++)if(j in this&&this[j]===i)return j;return -1};f.exports=h}),null);
  __d("ES5Date",[],(function a(b,c,d,e,f,g){var h={};h.now=function(){return new Date().getTime()};f.exports=h}),null);
  __d('ES5FunctionPrototype',[],(function a(b,c,d,e,f,g){var h={};h.bind=function(i){if(typeof this!='function')throw new TypeError('Bind must be called on a function');var j=this,k=Array.prototype.slice.call(arguments,1);function l(){return j.apply(i,k.concat(Array.prototype.slice.call(arguments)))}l.displayName='bound:'+(j.displayName||j.name||'(?)');l.toString=function m(){return 'bound: '+j};return l};f.exports=h}),null);
  __d('ie8DontEnum',[],(function a(b,c,d,e,f,g){var h=['toString','toLocaleString','valueOf','hasOwnProperty','isPrototypeOf','prototypeIsEnumerable','constructor'],i={}.hasOwnProperty,j=function k(){};if({toString:true}.propertyIsEnumerable('toString'))j=function k(l,m){for(var n=0;n<h.length;n++){var o=h[n];if(i.call(l,o))m(o);}};f.exports=j}),null);
  __d('ES5Object',['ie8DontEnum'],(function a(b,c,d,e,f,g,h){var i={}.hasOwnProperty,j={};function k(){}j.create=function(l){var m=typeof l;if(m!='object'&&m!='function')throw new TypeError('Object prototype may only be a Object or null');k.prototype=l;return new k()};j.keys=function(l){var m=typeof l;if(m!='object'&&m!='function'||l===null)throw new TypeError('Object.keys called on non-object');var n=[];for(var o in l)if(i.call(l,o))n.push(o);h(l,function(p){return n.push(p)});return n};f.exports=j}),null);
  __d('ES5StringPrototype',[],(function a(b,c,d,e,f,g){var h={};h.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,'')};h.startsWith=function(i){var j=String(this);if(this==null)throw new TypeError('String.prototype.startsWith called on null or undefined');var k=arguments.length>1?Number(arguments[1]):0;if(isNaN(k))k=0;var l=Math.min(Math.max(k,0),j.length);return j.indexOf(String(i),k)==l};h.endsWith=function(i){var j=String(this);if(this==null)throw new TypeError('String.prototype.endsWith called on null or undefined');var k=j.length,l=String(i),m=arguments.length>1?Number(arguments[1]):k;if(isNaN(m))m=0;var n=Math.min(Math.max(m,0),k),o=n-l.length;if(o<0)return false;return j.lastIndexOf(l,o)==o};h.includes=function(i){if(this==null)throw new TypeError('String.prototype.contains called on null or undefined');var j=String(this),k=arguments.length>1?Number(arguments[1]):0;if(isNaN(k))k=0;return j.indexOf(String(i),k)!=-1};h.contains=h.includes;h.repeat=function(i){if(this==null)throw new TypeError('String.prototype.repeat called on null or undefined');var j=String(this),k=i?Number(i):0;if(isNaN(k))k=0;if(k<0||k===Infinity)throw RangeError();if(k===1)return j;if(k===0)return '';var l='';while(k){if(k&1)l+=j;if(k>>=1)j+=j;}return l};f.exports=h}),null);
  __d('ES6Array',[],(function a(b,c,d,e,f,g){'use strict';var h={from:function i(j){if(j==null)throw new TypeError('Object is null or undefined');var k=arguments[1],l=arguments[2],m=this,n=Object(j),o=typeof Symbol==='function'?typeof Symbol==='function'?Symbol.iterator:'@@iterator':'@@iterator',p=typeof k==='function',q=typeof n[o]==='function',r=0,s=void 0,t=void 0;if(q){s=typeof m==='function'?new m():[];var u=n[o](),v=void 0;while(!(v=u.next()).done){t=v.value;if(p)t=k.call(l,t,r);s[r]=t;r+=1}s.length=r;return s}var w=n.length;if(isNaN(w)||w<0)w=0;s=typeof m==='function'?new m(w):new Array(w);while(r<w){t=n[r];if(p)t=k.call(l,t,r);s[r]=t;r+=1}s.length=r;return s}};f.exports=h}),null);
  __d('ES6ArrayPrototype',[],(function a(b,c,d,e,f,g){var h={find:function i(j,k){if(this==null)throw new TypeError('Array.prototype.find called on null or undefined');if(typeof j!=='function')throw new TypeError('predicate must be a function');var l=h.findIndex.call(this,j,k);return l===-1?void 0:this[l]},findIndex:function i(j,k){if(this==null)throw new TypeError('Array.prototype.findIndex called on null or undefined');if(typeof j!=='function')throw new TypeError('predicate must be a function');var l=Object(this),m=l.length>>>0;for(var n=0;n<m;n++)if(j.call(k,l[n],n,l))return n;return -1},fill:function i(j){if(this==null)throw new TypeError('Array.prototype.fill called on null or undefined');var k=Object(this),l=k.length>>>0,m=arguments[1],n=m>>0,o=n<0?Math.max(l+n,0):Math.min(n,l),p=arguments[2],q=p===undefined?l:p>>0,r=q<0?Math.max(l+q,0):Math.min(q,l);while(o<r){k[o]=j;o++}return k}};f.exports=h}),null);
  __d('ES6DatePrototype',[],(function a(b,c,d,e,f,g){function h(j){return (j<10?'0':'')+j}var i={toISOString:function j(){if(!isFinite(this))throw new Error('Invalid time value');var k=this.getUTCFullYear();k=(k<0?'-':k>9999?'+':'')+('00000'+Math.abs(k)).slice(0<=k&&k<=9999?-4:-6);return k+'-'+h(this.getUTCMonth()+1)+'-'+h(this.getUTCDate())+'T'+h(this.getUTCHours())+':'+h(this.getUTCMinutes())+':'+h(this.getUTCSeconds())+'.'+(this.getUTCMilliseconds()/1000).toFixed(3).slice(2,5)+'Z'}};f.exports=i}),null);
  __d('ES6Number',[],(function a(b,c,d,e,f,g){var h=Math.pow(2,-52),i=Math.pow(2,53)-1,j=-1*i,k={isFinite:function(l){function m(n){return l.apply(this,arguments)}m.toString=function(){return l.toString()};return m}(function(l){return typeof l=='number'&&isFinite(l)}),isNaN:function(l){function m(n){return l.apply(this,arguments)}m.toString=function(){return l.toString()};return m}(function(l){return typeof l=='number'&&isNaN(l)}),isInteger:function l(m){return this.isFinite(m)&&Math.floor(m)===m},isSafeInteger:function l(m){return this.isFinite(m)&&m>=this.MIN_SAFE_INTEGER&&m<=this.MAX_SAFE_INTEGER&&Math.floor(m)===m},EPSILON:h,MAX_SAFE_INTEGER:i,MIN_SAFE_INTEGER:j};f.exports=k}),null);
  __d('ES6Object',['ie8DontEnum'],(function a(b,c,d,e,f,g,h){var i={}.hasOwnProperty,j={assign:function k(l){if(l==null)throw new TypeError('Object.assign target cannot be null or undefined');l=Object(l);for(var m=arguments.length,n=Array(m>1?m-1:0),o=1;o<m;o++)n[o-1]=arguments[o];for(var p=0;p<n.length;p++){var q=n[p];if(q==null)continue;q=Object(q);for(var r in q)if(i.call(q,r))l[r]=q[r];h(q,function(s){return l[s]=q[s]})}return l},is:function k(l,m){if(l===m){return l!==0||1/l===1/m}else return l!==l&&m!==m;}};f.exports=j}),null);
  __d('ES7ArrayPrototype',['ES5ArrayPrototype','ES5Array'],(function a(b,c,d,e,f,g,h,i){var j=h.indexOf,k=i.isArray;function l(p){return Math.min(Math.max(m(p),0),Number.MAX_SAFE_INTEGER)}function m(p){var q=Number(p);return isFinite(q)&&q!==0?n(q)*Math.floor(Math.abs(q)):q}function n(p){return p>=0?1:-1}var o={includes:function p(q){'use strict';if(q!==undefined&&k(this)&&!(typeof q==='number'&&isNaN(q)))return j.apply(this,arguments)!==-1;var r=Object(this),s=r.length?l(r.length):0;if(s===0)return false;var t=arguments.length>1?m(arguments[1]):0,u=t<0?Math.max(s+t,0):t,v=isNaN(q)&&typeof q==='number';while(u<s){var w=r[u];if(w===q||typeof w==='number'&&v&&isNaN(w))return true;u++}return false}};f.exports=o}),null);
  __d('ES7Object',['ie8DontEnum'],(function a(b,c,d,e,f,g,h){var i={}.hasOwnProperty,j={};j.entries=function(k){if(k==null)throw new TypeError('Object.entries called on non-object');var l=[];for(var m in k)if(i.call(k,m))l.push([m,k[m]]);h(k,function(n){return l.push([n,k[n]])});return l};j.values=function(k){if(k==null)throw new TypeError('Object.values called on non-object');var l=[];for(var m in k)if(i.call(k,m))l.push(k[m]);h(k,function(n){return l.push(k[n])});return l};f.exports=j}),null);
  __d('ES7StringPrototype',[],(function a(b,c,d,e,f,g){var h={};h.trimLeft=function(){return this.replace(/^\s+/,'')};h.trimRight=function(){return this.replace(/\s+$/,'')};f.exports=h}),null);
  /**
   * @providesModule JSON3
   * @preserve-header
   *
   *! JSON v3.2.3 | http://bestiejs.github.com/json3 | Copyright 2012, Kit Cambridge | http://kit.mit-license.org
   */
  __d("JSON3",[],(function a(b,c,d,e,f,g){(function(){var h={}.toString,i,j,k,l=f.exports={},m='{"A":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca=new Date(-3509827334573292),da,ea,fa;try{ca=ca.getUTCFullYear()==-109252&&ca.getUTCMonth()===0&&ca.getUTCDate()==1&&ca.getUTCHours()==10&&ca.getUTCMinutes()==37&&ca.getUTCSeconds()==6&&ca.getUTCMilliseconds()==708}catch(ga){}if(!ca){da=Math.floor;ea=[0,31,59,90,120,151,181,212,243,273,304,334];fa=function(ga,ha){return ea[ha]+365*(ga-1970)+da((ga-1969+(ha=+(ha>1)))/4)-da((ga-1901+ha)/100)+da((ga-1601+ha)/400)}}if(typeof JSON=="object"&&JSON){l.stringify=JSON.stringify;l.parse=JSON.parse}if(n=typeof l.stringify=="function"&&!fa){(ca=function(){return 1}).toJSON=ca;try{n=l.stringify(0)==="0"&&l.stringify(new Number())==="0"&&l.stringify(new String())=='""'&&l.stringify(h)===k&&l.stringify(k)===k&&l.stringify()===k&&l.stringify(ca)==="1"&&l.stringify([ca])=="[1]"&&l.stringify([k])=="[null]"&&l.stringify(null)=="null"&&l.stringify([k,h,null])=="[null,null,null]"&&l.stringify({result:[ca,true,false,null,"\0\b\n\f\r\t"]})==m&&l.stringify(null,ca)==="1"&&l.stringify([1,2],null,1)=="[\n 1,\n 2\n]"&&l.stringify(new Date(-8.64e+15))=='"-271821-04-20T00:00:00.000Z"'&&l.stringify(new Date(8.64e+15))=='"+275760-09-13T00:00:00.000Z"'&&l.stringify(new Date(-62198755200000))=='"-000001-01-01T00:00:00.000Z"'&&l.stringify(new Date(-1))=='"1969-12-31T23:59:59.999Z"'}catch(ga){n=false}}if(typeof l.parse=="function")try{if(l.parse("0")===0&&!l.parse(false)){ca=l.parse(m);if(s=ca.A.length==5&&ca.A[0]==1){try{s=!l.parse('"\t"')}catch(ga){}if(s)try{s=l.parse("01")!=1}catch(ga){}}}}catch(ga){s=false}ca=m=null;if(!n||!s){if(!(i={}.hasOwnProperty))i=function(ga){var ha={},ia;if((ha.__proto__=null,ha.__proto__={toString:1},ha).toString!=h){i=function(ja){var ka=this.__proto__,la=ja in (this.__proto__=null,this);this.__proto__=ka;return la}}else{ia=ha.constructor;i=function(ja){var ka=(this.constructor||ia).prototype;return ja in this&&!(ja in ka&&this[ja]===ka[ja])}}ha=null;return i.call(this,ga)};j=function(ga,ha){var ia=0,ja,ka,la,ma;(ja=function(){this.valueOf=0}).prototype.valueOf=0;ka=new ja();for(la in ka)if(i.call(ka,la))ia++;ja=ka=null;if(!ia){ka=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"];ma=function(na,oa){var pa=h.call(na)=="[object Function]",qa,ra;for(qa in na)if(!(pa&&qa=="prototype")&&i.call(na,qa))oa(qa);for(ra=ka.length;qa=ka[--ra];i.call(na,qa)&&oa(qa));}}else if(ia==2){ma=function(na,oa){var pa={},qa=h.call(na)=="[object Function]",ra;for(ra in na)if(!(qa&&ra=="prototype")&&!i.call(pa,ra)&&(pa[ra]=1)&&i.call(na,ra))oa(ra);}}else ma=function(na,oa){var pa=h.call(na)=="[object Function]",qa,ra;for(qa in na)if(!(pa&&qa=="prototype")&&i.call(na,qa)&&!(ra=qa==="constructor"))oa(qa);if(ra||i.call(na,qa="constructor"))oa(qa);};return ma(ga,ha)};if(!n){o={"\\":"\\\\",'"':'\\"',"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};p=function(ga,ha){return ("000000"+(ha||0)).slice(-ga)};q=function(ga){var ha='"',ia=0,ja;for(;ja=ga.charAt(ia);ia++)ha+='\\"\b\f\n\r\t'.indexOf(ja)>-1?o[ja]:ja<" "?"\\u00"+p(2,ja.charCodeAt(0).toString(16)):ja;return ha+'"'};r=function(ga,ha,ia,ja,ka,la,ma){var na=ha[ga],oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,ab,bb,cb;if(typeof na=="object"&&na){oa=h.call(na);if(oa=="[object Date]"&&!i.call(na,"toJSON")){if(na>-1/0&&na<1/0){if(fa){ra=da(na/86400000);for(pa=da(ra/365.2425)+1970-1;fa(pa+1,0)<=ra;pa++);for(qa=da((ra-fa(pa,0))/30.42);fa(pa,qa+1)<=ra;qa++);ra=1+ra-fa(pa,qa);sa=(na%86400000+86400000)%86400000;ta=da(sa/3600000)%24;ua=da(sa/60000)%60;va=da(sa/1000)%60;wa=sa%1000}else{pa=na.getUTCFullYear();qa=na.getUTCMonth();ra=na.getUTCDate();ta=na.getUTCHours();ua=na.getUTCMinutes();va=na.getUTCSeconds();wa=na.getUTCMilliseconds()}na=(pa<=0||pa>=10000?(pa<0?"-":"+")+p(6,pa<0?-pa:pa):p(4,pa))+"-"+p(2,qa+1)+"-"+p(2,ra)+"T"+p(2,ta)+":"+p(2,ua)+":"+p(2,va)+"."+p(3,wa)+"Z"}else na=null;}else if(typeof na.toJSON=="function"&&(oa!="[object Number]"&&oa!="[object String]"&&oa!="[object Array]"||i.call(na,"toJSON")))na=na.toJSON(ga);}if(ia)na=ia.call(ha,ga,na);if(na===null)return "null";oa=h.call(na);if(oa=="[object Boolean]"){return ""+na}else if(oa=="[object Number]"){return na>-1/0&&na<1/0?""+na:"null"}else if(oa=="[object String]")return q(na);if(typeof na=="object"){for(ab=ma.length;ab--;)if(ma[ab]===na)throw TypeError();ma.push(na);xa=[];bb=la;la+=ka;if(oa=="[object Array]"){for(za=0,ab=na.length;za<ab;cb||(cb=true),za++){ya=r(za,na,ia,ja,ka,la,ma);xa.push(ya===k?"null":ya)}return cb?ka?"[\n"+la+xa.join(",\n"+la)+"\n"+bb+"]":"["+xa.join(",")+"]":"[]"}else{j(ja||na,function(db){var eb=r(db,na,ia,ja,ka,la,ma);if(eb!==k)xa.push(q(db)+":"+(ka?" ":"")+eb);cb||(cb=true)});return cb?ka?"{\n"+la+xa.join(",\n"+la)+"\n"+bb+"}":"{"+xa.join(",")+"}":"{}"}ma.pop()}};l.stringify=function(ga,ha,ia){var ja,ka,la,ma,na,oa;if(typeof ha=="function"||typeof ha=="object"&&ha)if(h.call(ha)=="[object Function]"){ka=ha}else if(h.call(ha)=="[object Array]"){la={};for(ma=0,na=ha.length;ma<na;oa=ha[ma++],(h.call(oa)=="[object String]"||h.call(oa)=="[object Number]")&&(la[oa]=1));}if(ia)if(h.call(ia)=="[object Number]"){if((ia-=ia%1)>0)for(ja="",ia>10&&(ia=10);ja.length<ia;ja+=" ");}else if(h.call(ia)=="[object String]")ja=ia.length<=10?ia:ia.slice(0,10);return r("",(oa={},oa[""]=ga,oa),ka,la,ja,"",[])}}if(!s){t=String.fromCharCode;u={"\\":"\\",'"':'"',"/":"/",b:"\b",t:"\t",n:"\n",f:"\f",r:"\r"};v=function(){aa=ba=null;throw SyntaxError()};w=function(){var ga=ba,ha=ga.length,ia,ja,ka,la,ma;while(aa<ha){ia=ga.charAt(aa);if("\t\r\n ".indexOf(ia)>-1){aa++}else if("{}[]:,".indexOf(ia)>-1){aa++;return ia}else if(ia=='"'){for(ja="@",aa++;aa<ha;){ia=ga.charAt(aa);if(ia<" "){v()}else if(ia=="\\"){ia=ga.charAt(++aa);if('\\"/btnfr'.indexOf(ia)>-1){ja+=u[ia];aa++}else if(ia=="u"){ka=++aa;for(la=aa+4;aa<la;aa++){ia=ga.charAt(aa);if(!(ia>="0"&&ia<="9"||ia>="a"&&ia<="f"||ia>="A"&&ia<="F"))v();}ja+=t("0x"+ga.slice(ka,aa))}else v();}else{if(ia=='"')break;ja+=ia;aa++}}if(ga.charAt(aa)=='"'){aa++;return ja}v()}else{ka=aa;if(ia=="-"){ma=true;ia=ga.charAt(++aa)}if(ia>="0"&&ia<="9"){if(ia=="0"&&(ia=ga.charAt(aa+1),ia>="0"&&ia<="9"))v();ma=false;for(;aa<ha&&(ia=ga.charAt(aa),ia>="0"&&ia<="9");aa++);if(ga.charAt(aa)=="."){la=++aa;for(;la<ha&&(ia=ga.charAt(la),ia>="0"&&ia<="9");la++);if(la==aa)v();aa=la}ia=ga.charAt(aa);if(ia=="e"||ia=="E"){ia=ga.charAt(++aa);if(ia=="+"||ia=="-")aa++;for(la=aa;la<ha&&(ia=ga.charAt(la),ia>="0"&&ia<="9");la++);if(la==aa)v();aa=la}return +ga.slice(ka,aa)}if(ma)v();if(ga.slice(aa,aa+4)=="true"){aa+=4;return true}else if(ga.slice(aa,aa+5)=="false"){aa+=5;return false}else if(ga.slice(aa,aa+4)=="null"){aa+=4;return null}v()}}return "$"};x=function(ga){var ha,ia,ja;if(ga=="$")v();if(typeof ga=="string"){if(ga.charAt(0)=="@")return ga.slice(1);if(ga=="["){ha=[];for(;;ia||(ia=true)){ga=w();if(ga=="]")break;if(ia)if(ga==","){ga=w();if(ga=="]")v();}else v();if(ga==",")v();ha.push(x(ga))}return ha}else if(ga=="{"){ha={};for(;;ia||(ia=true)){ga=w();if(ga=="}")break;if(ia)if(ga==","){ga=w();if(ga=="}")v();}else v();if(ga==","||typeof ga!="string"||ga.charAt(0)!="@"||w()!=":")v();ha[ga.slice(1)]=x(w())}return ha}v()}return ga};z=function(ga,ha,ia){var ja=y(ga,ha,ia);if(ja===k){delete ga[ha]}else ga[ha]=ja;};y=function(ga,ha,ia){var ja=ga[ha],ka;if(typeof ja=="object"&&ja)if(h.call(ja)=="[object Array]"){for(ka=ja.length;ka--;)z(ja,ka,ia);}else j(ja,function(la){z(ja,la,ia)});return ia.call(ga,ha,ja)};l.parse=function(ga,ha){aa=0;ba=ga;var ia=x(w());if(w()!="$")v();aa=ba=null;return ha&&h.call(ha)=="[object Function]"?y((ca={},ca[""]=ia,ca),"",ha):ia}}}}).call(this)}),null);
  __d('ES',['ES5ArrayPrototype','ES5FunctionPrototype','ES5StringPrototype','ES5Array','ES5Object','ES5Date','JSON3','ES6Array','ES6Object','ES6ArrayPrototype','ES6DatePrototype','ES6Number','ES7StringPrototype','ES7Object','ES7ArrayPrototype'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){var w={}.toString,x={'JSON.stringify':n.stringify,'JSON.parse':n.parse},y={'Array.prototype':h,'Function.prototype':i,'String.prototype':j,Object:l,Array:k,Date:m},z={Object:p,'Array.prototype':q,'Date.prototype':r,Number:s,Array:o},aa={Object:u,'String.prototype':t,'Array.prototype':v};function ba(da){for(var ea in da){if(!Object.prototype.hasOwnProperty.call(da,ea))continue;var fa=da[ea],ga=ea.split('.');if(ga.length===2){var ha=ga[0],ia=ga[1];if(!ha||!ia||!window[ha]||!window[ha][ia]){var ja=ha?window[ha]:'-',ka=ha&&window[ha]&&ia?window[ha][ia]:'-';throw new Error('Unexpected state (t11975770): '+(ha+', '+ia+', '+ja+', '+ka+', '+ea))}}var la=ga.length===2?window[ga[0]][ga[1]]:window[ea];for(var ma in fa){if(!Object.prototype.hasOwnProperty.call(fa,ma))continue;if(typeof fa[ma]!=='function'){x[ea+'.'+ma]=fa[ma];continue}var na=la[ma];x[ea+'.'+ma]=na&&/\{\s+\[native code\]\s\}/.test(na)?na:fa[ma]}}}ba(y);ba(z);ba(aa);function ca(da,ea,fa){var ga=fa?w.call(da).slice(8,-1)+'.prototype':da,ha=x[ga+'.'+ea]||da[ea];if(typeof ha==='function'){for(var ia=arguments.length,ja=Array(ia>3?ia-3:0),ka=3;ka<ia;ka++)ja[ka-3]=arguments[ka];return ha.apply(da,ja)}else if(ha)return ha;throw new Error('Polyfill '+ga+' does not have implementation of '+ea)}f.exports=ca}),null);
  __d('ES5FunctionPrototype',[],(function a(b,c,d,e,f,g){var h={};h.bind=function(i){if(typeof this!='function')throw new TypeError('Bind must be called on a function');var j=this,k=Array.prototype.slice.call(arguments,1);function l(){return j.apply(i,k.concat(Array.prototype.slice.call(arguments)))}l.displayName='bound:'+(j.displayName||j.name||'(?)');l.toString=function m(){return 'bound: '+j};return l};f.exports=h}),null);
  __d('ie8DontEnum',[],(function a(b,c,d,e,f,g){var h=['toString','toLocaleString','valueOf','hasOwnProperty','isPrototypeOf','prototypeIsEnumerable','constructor'],i={}.hasOwnProperty,j=function k(){};if({toString:true}.propertyIsEnumerable('toString'))j=function k(l,m){for(var n=0;n<h.length;n++){var o=h[n];if(i.call(l,o))m(o);}};f.exports=j}),null);
  __d('ES5Object',['ie8DontEnum'],(function a(b,c,d,e,f,g,h){var i={}.hasOwnProperty,j={};function k(){}j.create=function(l){var m=typeof l;if(m!='object'&&m!='function')throw new TypeError('Object prototype may only be a Object or null');k.prototype=l;return new k()};j.keys=function(l){var m=typeof l;if(m!='object'&&m!='function'||l===null)throw new TypeError('Object.keys called on non-object');var n=[];for(var o in l)if(i.call(l,o))n.push(o);h(l,function(p){return n.push(p)});return n};f.exports=j}),null);
  __d('ES6Object',['ie8DontEnum'],(function a(b,c,d,e,f,g,h){var i={}.hasOwnProperty,j={assign:function k(l){if(l==null)throw new TypeError('Object.assign target cannot be null or undefined');l=Object(l);for(var m=arguments.length,n=Array(m>1?m-1:0),o=1;o<m;o++)n[o-1]=arguments[o];for(var p=0;p<n.length;p++){var q=n[p];if(q==null)continue;q=Object(q);for(var r in q)if(i.call(q,r))l[r]=q[r];h(q,function(s){return l[s]=q[s]})}return l},is:function k(l,m){if(l===m){return l!==0||1/l===1/m}else return l!==l&&m!==m;}};f.exports=j}),null);
  __d('sdk.babelHelpers',['ES5FunctionPrototype','ES5Object','ES6Object'],(function a(b,c,d,e,f,g,h,i,j){var k={},l=Object.prototype.hasOwnProperty;k.inherits=function(m,n){j.assign(m,n);m.prototype=i.create(n&&n.prototype);m.prototype.constructor=m;m.__superConstructor__=n;return n};k._extends=j.assign;k['extends']=k._extends;k.objectWithoutProperties=function(m,n){var o={};for(var p in m){if(!l.call(m,p)||n.indexOf(p)>=0)continue;o[p]=m[p]}return o};k.taggedTemplateLiteralLoose=function(m,n){m.raw=n;return m};k.bind=h.bind;f.exports=k}),null);      var ES = require('ES');      var babelHelpers = require('sdk.babelHelpers');      (function(a,b){var c='keys',d='values',e='entries',f=function(){var l=h(Array),m=void 0;if(!l)m=function(){function n(o,p){'use strict';this.$ArrayIterator1=o;this.$ArrayIterator2=p;this.$ArrayIterator3=0}n.prototype.next=function(){'use strict';if(this.$ArrayIterator1==null)return {value:b,done:true};var o=this.$ArrayIterator1,p=this.$ArrayIterator1.length,q=this.$ArrayIterator3,r=this.$ArrayIterator2;if(q>=p){this.$ArrayIterator1=b;return {value:b,done:true}}this.$ArrayIterator3=q+1;if(r===c){return {value:q,done:false}}else if(r===d){return {value:o[q],done:false}}else if(r===e)return {value:[q,o[q]],done:false};};n.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this};return n}();return {keys:l?function(n){return n.keys()}:function(n){return new m(n,c)},values:l?function(n){return n.values()}:function(n){return new m(n,d)},entries:l?function(n){return n.entries()}:function(n){return new m(n,e)}}}(),g=function(){var l=h(String),m=void 0;if(!l)m=function(){function n(o){'use strict';this.$StringIterator1=o;this.$StringIterator2=0}n.prototype.next=function(){'use strict';if(this.$StringIterator1==null)return {value:b,done:true};var o=this.$StringIterator2,p=this.$StringIterator1,q=p.length;if(o>=q){this.$StringIterator1=b;return {value:b,done:true}}var r=void 0,s=p.charCodeAt(o);if(s<55296||s>56319||o+1===q){r=p[o]}else{var t=p.charCodeAt(o+1);if(t<56320||t>57343){r=p[o]}else r=p[o]+p[o+1];}this.$StringIterator2=o+r.length;return {value:r,done:false}};n.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this};return n}();return {keys:function n(){throw TypeError('Strings default iterator doesn\'t implement keys.')},values:l?function(n){return n[typeof Symbol==='function'?Symbol.iterator:'@@iterator']()}:function(n){return new m(n)},entries:function n(){throw TypeError('Strings default iterator doesn\'t implement entries.')}}}();function h(l){return typeof l.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']==='function'&&typeof l.prototype.values==='function'&&typeof l.prototype.keys==='function'&&typeof l.prototype.entries==='function'}function i(l,m){'use strict';this.$ObjectIterator1=l;this.$ObjectIterator2=m;this.$ObjectIterator3=ES('Object','keys',false,l);this.$ObjectIterator4=0}i.prototype.next=function(){'use strict';var l=this.$ObjectIterator3.length,m=this.$ObjectIterator4,n=this.$ObjectIterator2,o=this.$ObjectIterator3[m];if(m>=l){this.$ObjectIterator1=b;return {value:b,done:true}}this.$ObjectIterator4=m+1;if(n===c){return {value:o,done:false}}else if(n===d){return {value:this.$ObjectIterator1[o],done:false}}else if(n===e)return {value:[o,this.$ObjectIterator1[o]],done:false};};i.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this};var j={keys:function l(m){return new i(m,c)},values:function l(m){return new i(m,d)},entries:function l(m){return new i(m,e)}};function k(l,m){if(typeof l==='string'){return g[m||d](l)}else if(ES('Array','isArray',false,l)){return f[m||d](l)}else if(l[typeof Symbol==='function'?Symbol.iterator:'@@iterator']){return l[typeof Symbol==='function'?Symbol.iterator:'@@iterator']()}else return j[m||e](l);}ES('Object','assign',false,k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function l(m){return k(m,c)},values:function l(m){return k(m,d)},entries:function l(m){return k(m,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(j){var k=j?j.ownerDocument||j:document,l=k.defaultView||c;return !!(j&&(typeof l.Node==='function'?j instanceof l.Node:typeof j==='object'&&typeof j.nodeType==='number'&&typeof j.nodeName==='string'))}function f(j){var k=c[j];if(k==null)return true;if(typeof c.Symbol!=='function')return true;var l=k.prototype;return k==null||typeof k!=='function'||typeof l.clear!=='function'||new k().size!==0||typeof l.keys!=='function'||typeof l['for'+'Each']!=='function'}var g=a.FB_enumerate,h=function(){if(!f('Map'))return c.Map;var j='key',k='value',l='key+value',m='$map_',n=void 0,o='IE_HASH_';function p(ba){'use strict';if(!u(this))throw new TypeError('Wrong map object type.');t(this);if(ba!=null){var ca=g(ba),da=void 0;while(!(da=ca.next()).done){if(!u(da.value))throw new TypeError('Expected iterable items to be pair objects.');this.set(da.value[0],da.value[1])}}}p.prototype.clear=function(){'use strict';t(this)};p.prototype.has=function(ba){'use strict';var ca=r(this,ba);return !!(ca!=null&&this._mapData[ca])};p.prototype.set=function(ba,ca){'use strict';var da=r(this,ba);if(da!=null&&this._mapData[da]){this._mapData[da][1]=ca}else{da=this._mapData.push([ba,ca])-1;s(this,ba,da);this.size+=1}return this};p.prototype.get=function(ba){'use strict';var ca=r(this,ba);if(ca==null){return b}else return this._mapData[ca][1];};p.prototype['delete']=function(ba){'use strict';var ca=r(this,ba);if(ca!=null&&this._mapData[ca]){s(this,ba,b);this._mapData[ca]=b;this.size-=1;return true}else return false;};p.prototype.entries=function(){'use strict';return new q(this,l)};p.prototype.keys=function(){'use strict';return new q(this,j)};p.prototype.values=function(){'use strict';return new q(this,k)};p.prototype.forEach=function(ba,ca){'use strict';if(typeof ba!=='function')throw new TypeError('Callback must be callable.');var da=ES(ba,'bind',true,ca||b),ea=this._mapData;for(var fa=0;fa<ea.length;fa++){var ga=ea[fa];if(ga!=null)da(ga[1],ga[0],this);}};p.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this.entries()};function q(ba,ca){'use strict';if(!(u(ba)&&ba._mapData))throw new TypeError('Object is not a map.');if(ES([j,l,k],'indexOf',true,ca)===-1)throw new Error('Invalid iteration kind.');this._map=ba;this._nextIndex=0;this._kind=ca}q.prototype.next=function(){'use strict';if(!this instanceof p)throw new TypeError('Expected to be called on a MapIterator.');var ba=this._map,ca=this._nextIndex,da=this._kind;if(ba==null)return v(b,true);var ea=ba._mapData;while(ca<ea.length){var fa=ea[ca];ca+=1;this._nextIndex=ca;if(fa)if(da===j){return v(fa[0],false)}else if(da===k){return v(fa[1],false)}else if(da)return v(fa,false);}this._map=b;return v(b,true)};q.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this};function r(ba,ca){if(u(ca)){var da=z(ca);return da?ba._objectIndex[da]:b}else{var ea=m+ca;if(typeof ca==='string'){return ba._stringIndex[ea]}else return ba._otherIndex[ea];}}function s(ba,ca,da){var ea=da==null;if(u(ca)){var fa=z(ca);if(!fa)fa=aa(ca);if(ea){delete ba._objectIndex[fa]}else ba._objectIndex[fa]=da;}else{var ga=m+ca;if(typeof ca==='string'){if(ea){delete ba._stringIndex[ga]}else ba._stringIndex[ga]=da;}else if(ea){delete ba._otherIndex[ga]}else ba._otherIndex[ga]=da;}}function t(ba){ba._mapData=[];ba._objectIndex={};ba._stringIndex={};ba._otherIndex={};ba.size=0}function u(ba){return ba!=null&&(typeof ba==='object'||typeof ba==='function')}function v(ba,ca){return {value:ba,done:ca}}p.__isES5=function(){try{Object.defineProperty({},'__.$#x',{});return true}catch(ba){return false}}();function w(ba){if(!p.__isES5||!Object.isExtensible){return true}else return Object.isExtensible(ba);}function x(ba){var ca=void 0;switch(ba.nodeType){case 1:ca=ba.uniqueID;break;case 9:ca=ba.documentElement.uniqueID;break;default:return null;}if(ca){return o+ca}else return null;}var y=d();function z(ba){if(ba[y]){return ba[y]}else if(!p.__isES5&&ba.propertyIsEnumerable&&ba.propertyIsEnumerable[y]){return ba.propertyIsEnumerable[y]}else if(!p.__isES5&&e(ba)&&x(ba)){return x(ba)}else if(!p.__isES5&&ba[y])return ba[y];}var aa=function(){var ba=Object.prototype.propertyIsEnumerable,ca=0;return function da(ea){if(w(ea)){ca+=1;if(p.__isES5){Object.defineProperty(ea,y,{enumerable:false,writable:false,configurable:false,value:ca})}else if(ea.propertyIsEnumerable){ea.propertyIsEnumerable=function(){return ba.apply(this,arguments)};ea.propertyIsEnumerable[y]=ca}else if(e(ea)){ea[y]=ca}else throw new Error('Unable to set a non-enumerable property on object.');return ca}else throw new Error('Non-extensible objects are not allowed as keys.');}}();return __annotator(p,{name:'Map'})}(),i=function(){if(!f('Set'))return c.Set;function j(l){'use strict';if(this==null||typeof this!=='object'&&typeof this!=='function')throw new TypeError('Wrong set object type.');k(this);if(l!=null){var m=g(l),n=void 0;while(!(n=m.next()).done)this.add(n.value);}}j.prototype.add=function(l){'use strict';this._map.set(l,l);this.size=this._map.size;return this};j.prototype.clear=function(){'use strict';k(this)};j.prototype['delete']=function(l){'use strict';var m=this._map['delete'](l);this.size=this._map.size;return m};j.prototype.entries=function(){'use strict';return this._map.entries()};j.prototype.forEach=function(l){'use strict';var m=arguments[1],n=this._map.keys(),o=void 0;while(!(o=n.next()).done)l.call(m,o.value,o.value,this);};j.prototype.has=function(l){'use strict';return this._map.has(l)};j.prototype.values=function(){'use strict';return this._map.values()};j.prototype.keys=function(){'use strict';return this.values()};j.prototype[typeof Symbol==='function'?Symbol.iterator:'@@iterator']=function(){'use strict';return this.values()};function k(l){l._map=new h();l.size=l._map.size}return __annotator(j,{name:'Set'})}();a.Map=h;a.Set=i})(typeof global==='undefined'?this:global);      __d("PromiseUsePolyfillSetImmediateGK",[],{"www_always_use_polyfill_setimmediate":false});__d("TimeSliceInteractionSV",[],{"on_demand_reference_counting":false,"default_rate":1000,"lite_default_rate":100,"interaction_to_coinflip":{"async_request":0,"video_psr":1000000,"video_stall":2500000,"snowlift_open_autoclosed":0,"Event":100,"cms_editor":1,"page_messaging_shortlist":1,"ffd_chart_loading":1},"interaction_to_lite_coinflip":{"Event":1,"video_psr":0,"video_stall":0},"enable_heartbeat":true,"maxBlockMergeDuration":1,"maxBlockMergeDistance":1,"banzai_stream_coinflip":10000,"compression_enabled":true});__d("ServerNonce",[],{"ServerNonce":"2dxpXbsv1mRodVPgk0uk4a"});      __d("InstantGamesErrorCode",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ADS_FREQUENT_LOAD:"ADS_FREQUENT_LOAD",ADS_NO_FILL:"ADS_NO_FILL",ADS_NOT_LOADED:"ADS_NOT_LOADED",ADS_TOO_MANY_INSTANCES:"ADS_TOO_MANY_INSTANCES",ANALYTICS_POST_EXCEPTION:"ANALYTICS_POST_EXCEPTION",CLIENT_REQUIRES_UPDATE:"CLIENT_REQUIRES_UPDATE",INVALID_OPERATION:"INVALID_OPERATION",INVALID_PARAM:"INVALID_PARAM",NETWORK_FAILURE:"NETWORK_FAILURE",PAYMENTS_NOT_INITIALIZED:"PAYMENTS_NOT_INITIALIZED",PENDING_REQUEST:"PENDING_REQUEST",SAME_CONTEXT:"SAME_CONTEXT",UNKNOWN:"UNKNOWN",USER_INPUT:"USER_INPUT"})}),null);
  __d('InstantGamesSDKFeatures',[],(function a(b,c,d,e,f,g){'use strict';var h={FLEXIBLE:'flexible'};f.exports=h}),null);
  __d('InstantGamesSDKMessages',[],(function a(b,c,d,e,f,g){'use strict';var h={AD_CLICK:'adclick',ANALYTICS_LOG_EVENT:'analyticslogevent',AVERAGE_FRAME_TIME:'averageframetime',CONTEXT_CHOOSE_ASYNC:'contextchooseasync',CONTEXT_CREATE_ASYNC:'contextcreateasync',CONTEXT_SWITCH_ASYNC:'contextswitchasync',CONTEXT_MATCH_CREATE_ASYNC:'contextmatchcreateasync',CONTEXT_MATCH_DATA_FETCH_ASYNC:'contextmatchdatafetchasync',CONTEXT_MATCH_DATA_INC_ASYNC:'contextmatchdataincasync',CONTEXT_MATCH_DATA_SAVE_ASYNC:'contextmatchdatasaveasync',CONTEXT_MATCH_END_ASYNC:'contextmatchendasync',CONTEXT_MATCH_FETCH_ASYNC:'contextmatchfetchasync',CONTEXT_PLAYERS_FETCH_ASYNC:'contextplayersfetchasync',FLUSH_PLAYER_DATA_ASYNC:'flushplayerdataasync',GAME_START:'gamestart',GET_CONNECTED_PLAYERS_ASYNC:'getconnectedplayersasync',GET_INTERSTITIAL_AD_ASYNC:'getinterstitialadasync',GET_REWARDED_VIDEO_ASYNC:'getrewardedvideoasync',GET_SIGNED_PLAYER_INFO_ASYNC:'getsignedplayerinfoasync',GET_PLAYER_DATA_ASYNC:'getplayerdataasync',INITIALIZE_ASYNC:'initializeasync',LOAD_AD_ASYNC:'loadadasync',ON_BEGIN_LOAD:'onbeginload',ON_CONSOLE:'onconsole',ON_END_GAME:'onendgame',ON_FRAME_DROP:'onframedrop',ON_GAME_READY:'ongameready',ON_PICTURE:'onpicture',ON_PROGRESS_LOAD:'onprogressload',ON_SCORE:'onscore',ON_SCREENSHOT:'onscreenshot',PAUSE:'pause',PAYMENTS_CONSUME_PURCHASE_ASYNC:'paymentsconsumepurchaseasync',PAYMENTS_FETCH_CATALOG_ASYNC:'paymentsfetchcatalogasync',PAYMENTS_FETCH_PURCHASES_ASYNC:'paymentsfetchpurchasesasync',PAYMENTS_PURCHASE_ASYNC:'paymentspurchaseasync',QUIT:'quit',REJECT_PROMISE:'rejectpromise',RESOLVE_PROMISE:'resolvepromise',RESTART:'restart',SEND_PASS_THROUGH_ASYNC:'sendpassthroughasync',SET_PLAYER_DATA_ASYNC:'setplayerdataasync',SET_SESSION_DATA:'setsessiondata',SHARE_ASYNC:'shareasync',SHOW_AD_ASYNC:'showadasync'};f.exports=h}),null);
  __d('ExecutionContextObservers',[],(function a(b,c,d,e,f,g){var h={MUTATION_COUNTING:0,PROFILING_COUNTERS_NEED_MANUAL_SYNCING:1,REFERENCE_COUNTING:2,HEARTBEAT:3,CALL_STACK:4},i={MUTATION_COUNTING:0,REFERENCE_COUNTING:1,PROFILING_COUNTERS_NEED_MANUAL_SYNCING:2,HEARTBEAT:3,CALL_STACK:4},j={beforeIDs:h,afterIDs:i};f.exports=j}),18);
  __d('ifRequired',[],(function a(b,c,d,e,f,g){function h(i,j,k){typeof k==='function'&&k()}f.exports=h}),null);
  __d('CallStackExecutionObserver',['ExecutionContextObservers','ifRequired'],(function a(b,c,d,e,f,g,h,i){'use strict';var j={onNewContextCreated:function k(l,m,n,o){var p=i('TimeSliceInteraction',function(t){return t}),q=p&&p.getReferenceCounterActiveTimeSlices(),r=void 0;if(o&&o.isContinuation&&q&&q.length){var s=Error.stackTraceLimit;Error.stackTraceLimit=1000;r=new Error().stack;Error.stackTraceLimit=s;return {creationStack:r,interactions:q,name:m}}return null},onBeforeContextStarted:function k(l,m,n){var o;if(m)(function(){var p='continuation StackTrace: '+m.name,q=m.creationStack;ES(m.interactions,'forEach',true,function(r){r.inform(p,{rawStackTrace:q});r.trace().addStringAnnotation('has_stack_trace','1')})})();},onAfterContextEnded:function k(l,m,n){},getBeforeID:function k(){return h.beforeIDs.CALL_STACK},getAfterID:function k(){return h.afterIDs.CALL_STACK}};f.exports=j}),null);
  __d('eprintf',[],(function a(b,c,d,e,f,g){function h(i){for(var j=arguments.length,k=Array(j>1?j-1:0),l=1;l<j;l++)k[l-1]=arguments[l];var m=ES(k,'map',true,function(p){return String(p)}),n=i.split('%s').length-1;if(n!==m.length)return h('eprintf args number mismatch: %s',ES('JSON','stringify',false,[i].concat(m)));var o=0;return i.replace(/%s/g,function(){return String(m[o++])})}f.exports=h}),null);
  __d('ex',['eprintf'],(function a(b,c,d,e,f,g,h){function i(j){for(var k=arguments.length,l=Array(k>1?k-1:0),m=1;m<k;m++)l[m-1]=arguments[m];var n=ES(l,'map',true,function(p){return String(p)}),o=j.split('%s').length-1;if(o!==n.length)return i('ex args number mismatch: %s',ES('JSON','stringify',false,[j].concat(n)));return i._prefix+ES('JSON','stringify',false,[j].concat(n))+i._suffix}i._prefix='<![EX[';i._suffix=']]>';f.exports=i}),18);
  __d("sprintf",[],(function a(b,c,d,e,f,g){function h(i){for(var j=arguments.length,k=Array(j>1?j-1:0),l=1;l<j;l++)k[l-1]=arguments[l];var m=0;return i.replace(/%s/g,function(){return String(k[m++])})}f.exports=h}),null);
  __d('invariant',['ex','sprintf'],(function a(b,c,d,e,f,g,h,i){'use strict';var j=h;function k(l,m){if(!l){var n=void 0;if(m===undefined){n=new Error('Minified exception occurred; use the non-minified dev environment '+'for the full error message and additional helpful warnings.')}else{for(var o=arguments.length,p=Array(o>2?o-2:0),q=2;q<o;q++)p[q-2]=arguments[q];n=new Error(j.apply(undefined,[m].concat(p)));n.name='Invariant Violation';n.messageWithParams=[m].concat(p)}n.framesToPop=1;throw n}}f.exports=k}),18);
  __d('CircularBuffer',['invariant'],(function a(b,c,d,e,f,g,h){function i(j){'use strict';j>0||h(0);this.$CircularBuffer1=j;this.$CircularBuffer2=0;this.$CircularBuffer3=[];this.$CircularBuffer4=[]}i.prototype.write=function(j){'use strict';if(this.$CircularBuffer3.length<this.$CircularBuffer1){this.$CircularBuffer3.push(j)}else{ES(this.$CircularBuffer4,'forEach',true,ES(function(k){return k(this.$CircularBuffer3[this.$CircularBuffer2])},'bind',true,this));this.$CircularBuffer3[this.$CircularBuffer2]=j;this.$CircularBuffer2++;this.$CircularBuffer2%=this.$CircularBuffer1}return this};i.prototype.onEvict=function(j){'use strict';this.$CircularBuffer4.push(j);return this};i.prototype.read=function(){'use strict';return this.$CircularBuffer3.slice(this.$CircularBuffer2).concat(this.$CircularBuffer3.slice(0,this.$CircularBuffer2))};i.prototype.expand=function(j){'use strict';if(j>this.$CircularBuffer1){var k=this.read();this.$CircularBuffer2=0;this.$CircularBuffer3=k;this.$CircularBuffer1=j}return this};i.prototype.clear=function(){'use strict';this.$CircularBuffer2=0;this.$CircularBuffer3=[];return this};f.exports=i}),18);
  __d("Env",[],(function a(b,c,d,e,f,g){var h={start:ES("Date","now",false),nocatch:b.FB_GKS&&b.FB_GKS.js_nocatch};if(b.Env)ES("Object","assign",false,h,b.Env);b.Env=h;f.exports=h}),null);
  __d('erx',['ex'],(function a(b,c,d,e,f,g,h){function i(j){if(typeof j!=='string')return j;var k=ES(j,'indexOf',true,h._prefix),l=j.lastIndexOf(h._suffix);if(k<0||l<0)return [j];var m=k+h._prefix.length,n=l+h._suffix.length;if(m>=l)return ['erx slice failure: %s',j];var o=j.substring(0,k),p=j.substring(n);j=j.substring(m,l);try{var q=ES('JSON','parse',false,j);q[0]=o+q[0]+p;return q}catch(r){return ['erx parse failure: %s',j]}}f.exports=i}),null);
  __d("removeFromArray",[],(function a(b,c,d,e,f,g){function h(i,j){var k=ES(i,"indexOf",true,j);if(k!==-1)i.splice(k,1);}f.exports=h}),null);
  __d('ErrorUtils',['Env','eprintf','erx','removeFromArray'],(function a(b,c,d,e,f,g,h,i,j,k){var l='<anonymous guard>',m='<generated guard>',n=typeof window==='undefined'?'<self.onerror>':'<window.onerror>',o=/^https?:\/\//i,p=/^Type Mismatch for/,q=/(.*)[@\s][^\s]+$/,r=[],s=void 0,t=[],u=50,v=[],w=false,x=false,y=ES(location.search,'indexOf',true,'nocatch')!==-1,z=['Unknown script code','Function code','eval code'];if(h.long_stack_traces&&Error.stackTraceLimit!=null)Error.stackTraceLimit=100;function aa(ma){var na=ma.columnNumber||ma.column;return na!=null?String(na):''}function ba(ma){return ma[0]&&ma[0].column||''}function ca(ma){for(var na=0;na<z.length;na++){var oa=' '+z[na];if(ES(ma,'endsWith',true,oa))return [ma,ma.substring(0,ma.length-oa.length)];}return null}function da(ma){var na=ma.lineNumber||ma.line;return na!=null?String(na):''}function ea(ma){return ma[0]&&ma[0].line||''}function fa(ma){var na=ma.fileName||ma.sourceURL;return na!=null?String(na):''}function ga(ma){return ma[0]&&ma[0].script||''}function ha(ma){if(!ma)return null;var na=ma.split('\n');na.splice(0,1);return ES(na,'map',true,function(oa){return ES(oa,'trim',true)})}function ia(ma){if(!ma)return [];return ES(ma.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]|^[\w \.]+:\s.*?\n/g,'').split('\n'),'map',true,function(na){na=ES(na,'trim',true);var oa=void 0,pa=void 0,qa=na.match(/:(\d+)(?::(\d+))?$/);if(qa){oa=qa[1];pa=qa[2];na=na.slice(0,-qa[0].length)}var ra=void 0,sa=ca(na)||na.match(q);if(sa){na=na.substring(sa[1].length+1);var ta=sa[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);ra=ta?ta[1]:''}if(ES(na,'includes',true,'charset=utf-8;base64,'))na='<inlined-file>';var ua={column:pa,identifier:ra,line:oa,script:na};if(s)s(ua);var va='    at'+(ua.identifier?' '+ua.identifier+' (':' ')+ua.script+(ua.line?':'+ua.line:'')+(ua.column?':'+ua.column:'')+(ua.identifier?')':'');return babelHelpers['extends']({},ua,{text:va})})}function ja(ma){v.unshift(ma);w=true}function ka(){v.shift();w=v.length!==0}var la={ANONYMOUS_GUARD_TAG:l,GENERATED_GUARD_TAG:m,GLOBAL_ERROR_HANDLER_TAG:n,history:t,addListener:function ma(na){var oa=arguments.length<=1||arguments[1]===undefined?false:arguments[1];r.push(na);if(!oa)ES(t,'forEach',true,na);},removeListener:function ma(na){k(r,na)},setSourceResolver:function ma(na){s=na},applyWithGuard:function ma(na,oa,pa,qa,ra){ja(ra||l);if(h.nocatch)y=true;if(y){var sa=void 0;try{sa=na.apply(oa,pa||[])}finally{ka()}return sa}try{return na.apply(oa,pa||[])}catch(ua){var ta=la.normalizeError(ua);if(qa)qa(ta);if(na)ta.callee=na.toString().substring(0,100);if(pa)ta.args=ES('Array','from',false,pa).toString().substring(0,100);ta.guard=v[0];ta.guardList=v.slice();la.reportError(ta)}finally{ka()}},guard:function ma(na,oa,pa){oa=oa||na.name||m;function qa(){return la.applyWithGuard(na,pa||this,arguments,null,oa)}if(na.__SMmeta)qa.__SMmeta=na.__SMmeta;return qa},inGuard:function ma(){return w},normalizeError:function ma(na){if(na._originalError)return na;var oa=ia(na.stackTrace||na.stack),pa=false;if(na.framesToPop){var qa=na.framesToPop,ra=void 0;while(qa>0&&oa.length>0){ra=oa.shift();qa--;pa=true}if(p.test(na.message)&&na.framesToPop===2&&ra)if(o.test(ra.script))na.message+=' at '+ra.script+(ra.line?':'+ra.line:'')+(ra.column?':'+ra.column:'');}var sa=ha(na.reactComponentStackForLogging),ta={_originalError:na,column:pa?ba(oa):aa(na)||ba(oa),extra:na.extra,guard:na.guard,guardList:na.guardList,line:pa?ea(oa):da(na)||ea(oa),message:na.message,messageWithParams:na.messageWithParams,name:na.name,reactComponentStack:sa,script:pa?ga(oa):fa(na)||ga(oa),snapshot:na.snapshot,stack:ES(oa,'map',true,function(va){return va.text}).join('\n'),stackFrames:oa,type:na.type};if(typeof ta.message==='string'){ta.messageWithParams=ta.messageWithParams||j(ta.message)}else{ta.messageObject=ta.message;ta.message=String(ta.message)+' ('+typeof ta.message+')'}if(ta.messageWithParams)ta.message=i.apply(undefined,ta.messageWithParams);if(typeof window!=='undefined'&&window&&window.location)ta.windowLocationURL=window.location.href;if(s)s(ta);for(var ua in ta)if(ta[ua]==null)delete ta[ua];return ta},onerror:function ma(na,oa,pa,qa,ra){ra=ra||{};ra.message=ra.message||na;ra.script=ra.script||oa;ra.line=ra.line||pa;ra.column=ra.column||qa;ra.guard=n;ra.guardList=[n];la.reportError(ra,true)},reportError:function ma(na){var oa=arguments.length<=1||arguments[1]===undefined?false:arguments[1];if(x)return false;if(v.length>0){na.guard=na.guard||v[0];na.guardList=v.slice()}var pa=la.normalizeError(na);!oa;if(t.length>u)t.splice(u/2,1);t.push(pa);x=true;for(var qa=0;qa<r.length;qa++)try{r[qa](pa)}catch(ra){}x=false;return true}};b.onerror=la.onerror;f.exports=b.ErrorUtils=la;if(typeof __t==='function'&&__t.setHandler)__t.setHandler(la.reportError);}),3);
  __d('LogBuffer',['CircularBuffer'],(function a(b,c,d,e,f,g,h){var i=b.setTimeout.nativeBackup||b.setTimeout,j=5000,k={},l={},m={write:function n(o,p){var q=k[o]=k[o]||new h(j);q.write(p);if(l[o])ES(l[o],'forEach',true,function(r){try{r(p)}catch(s){}});},read:function n(o){if(!k[o]){return []}else return k[o].read();},tail:function n(o,p){if(typeof p!=='function')return;l[o]=l[o]||[];l[o].push(p);if(k[o]){var q=k[o];ES(q.read(),'forEach',true,function(r){try{p(r)}catch(s){}})}},expand:function n(o,p){var q=k[o];if(q){q.expand(p)}else k[o]=new h(p);},clear:function n(o){if(k[o])i(function(){k[o].clear()},0);}};f.exports=m}),18);
  __d('ExecutionEnvironment',[],(function a(b,c,d,e,f,g){'use strict';var h=!!(typeof window!=='undefined'&&window.document&&window.document.createElement),i={canUseDOM:h,canUseWorkers:typeof Worker!=='undefined',canUseEventListeners:h&&!!(window.addEventListener||window.attachEvent),canUseViewport:h&&!!window.screen,isInWorker:!h};f.exports=i}),null);
  __d("MutationObserver",[],(function a(b,c,d,e,f,g){h.prototype.observe=function(j,k){};h.prototype.disconnect=function(){};h.prototype.takeRecords=function(){"use strict";return null};function h(){}var i=b.MutationObserver||b.WebKitMutationObserver||h;f.exports=i}),18);
  __d('PageDOMMutationObserver',['ExecutionEnvironment','MutationObserver'],(function a(b,c,d,e,f,g,h,i){'use strict';var j=new i(function(){}),k={tryStart:function l(){var m=typeof j.takeRecords==='function';if(!h.canUseDOM||!m){k.tryStart=function(){};k.consumePendingDOMMutations=function(){return 0};return}if(!window.Env||!document.body)return;k.tryStart=function(){};if(!window.Env.dom_mutation_flag)return;j.observe(document.body,{attributes:true,childList:true,characterData:true,subtree:true})},consumePendingDOMMutations:function l(){var m=j.takeRecords();return m!=null?m.length:0}};f.exports=k}),18);
  __d('performance',['ExecutionEnvironment'],(function a(b,c,d,e,f,g,h){'use strict';var i=void 0;if(h.canUseDOM)i=window.performance||window.msPerformance||window.webkitPerformance;f.exports=i||{}}),null);
  __d('performanceAbsoluteNow',['performance'],(function a(b,c,d,e,f,g,h){var i;if(h.now&&h.timing&&h.timing.navigationStart){var j=h.timing.navigationStart;i=function k(){return h.now()+j}}else i=function k(){return ES('Date','now',false)};f.exports=i}),null);
  __d('ProfilingCounters',['performanceAbsoluteNow'],(function a(b,c,d,e,f,g,h){h();var i={ALL:'ALL',ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC:'ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC'},j=100,k=[];l.prototype.onNewContextCreated=function(o,p,q,r){'use strict';return m.currentContext().getPropagatedContextForChild(!!(r&&r.isContinuation))};l.prototype.onBeforeContextStarted=function(o,p,q){'use strict';var r=q&&q.propagateCounterAttribution,s=null;if(o.executionNumber>0&&p){for(var t=ES('Object','entries',false,p),u=ES('Array','isArray',false,t),v=0,t=u?t:t[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var w;if(u){if(v>=t.length)break;w=t[v++]}else{v=t.next();if(v.done)break;w=v.value}var x=w,y=x[0],z=x[1],aa=z.propagationType;if(aa!=='ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC'){s=s||{};s[y]=z}}}else s=p;var ba=new m(false,s);if(r!=null)ba.addAttribution(r,i.ALL);m.nestContext(ba);return null};l.prototype.onAfterContextEnded=function(o,p,q){'use strict';m.unnestContext()};l.prototype.getBeforeID=function(){'use strict';return 1};l.prototype.getAfterID=function(){'use strict';return 2};function l(){}m.getObserver=function(){'use strict';if(!m.$ProfilingCounters1)m.$ProfilingCounters1=new l();return m.$ProfilingCounters1};m.wrapInSingleContext=function(o){'use strict';var p=new m(false,null);ES(o,'forEach',true,function(q){return p.$ProfilingCounters2(q,false)});return p};m.startTiming=function(o){'use strict';return m.currentContext().$ProfilingCounters3().startTiming(o)};m.stopTiming=function(o){'use strict';return m.currentContext().$ProfilingCounters3().stopTiming(o)};m.incrementCounter=function(o,p){'use strict';m.currentContext().$ProfilingCounters3().incrementCounter(o,p)};m.currentContext=function(){'use strict';return k[k.length-1]};function m(o,p){'use strict';this.isGlobal=o;this.propagatedAttributions=p;this.newAttributions=null;this.active=null;this.processedNestedContexts=null;this.newAttributionsCount=0}m.prototype.addAttribution=function(o,p){'use strict';if(!this.$ProfilingCounters4(o)){if(this.newAttributions==null)this.newAttributions={};this.newAttributions[o]={newCounterIdx:this.newAttributionsCount,propagationType:p,snapshotAtStart:this.$ProfilingCounters5()?this.$ProfilingCounters3().getTotals():null};this.newAttributionsCount++}return this};m.prototype.getNestedTotals=function(){'use strict';return m.$ProfilingCounters6(this,function(o,p){m.$ProfilingCounters7(p,o.$ProfilingCounters3().getTotals());return p},{})};m.$ProfilingCounters8=function(o,p){'use strict';if(o.length===0)return null;for(var q=o,r=ES('Array','isArray',false,q),s=0,q=r?q:q[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t;if(p.propagatedAttributions&&p.propagatedAttributions[u]!=null)return u;}var v=null,w=null;for(var x=o,y=ES('Array','isArray',false,x),z=0,x=y?x:x[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var aa;if(y){if(z>=x.length)break;aa=x[z++]}else{z=x.next();if(z.done)break;aa=z.value}var ba=aa;if(p.newAttributions&&p.newAttributions[ba]!=null){var ca=p.newAttributions[ba].newCounterIdx;if(w==null||ca<w){v=ba;w=ca}}}return v};m.prototype.getNestedTotalsByAttributions=function(o){'use strict';return m.$ProfilingCounters6(this,function(p,q){var r=m.$ProfilingCounters8(o,p);if(r){var s=m.$ProfilingCounters9(r,p),t=s.attributed,u=s.unattributed;if(t!=null)m.$ProfilingCounters7(q.attributed,t);if(u!=null)m.$ProfilingCounters7(q.unattributed,u);}else m.$ProfilingCounters7(q.unattributed,p.$ProfilingCounters3().getTotals());return q},{attributed:{},unattributed:{}})};m.$ProfilingCounters6=function(o,p,q){'use strict';var r=q;if(o.$ProfilingCounters5())r=p(o,r);if(o.processedNestedContexts!=null)for(var s=o.processedNestedContexts,t=ES('Array','isArray',false,s),u=0,s=t?s:s[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var v;if(t){if(u>=s.length)break;v=s[u++]}else{u=s.next();if(u.done)break;v=u.value}var w=v;r=m.$ProfilingCounters6(w,p,r)}return r};m.$ProfilingCounters9=function(o,p){'use strict';var q=p.$ProfilingCounters3().getTotals();if(p.propagatedAttributions!=null&&p.propagatedAttributions[o]!=null){return {attributed:q,unattributed:null}}else if(p.newAttributions!=null&&p.newAttributions[o]!=null){var r=p.newAttributions[o].snapshotAtStart;if(r!=null){var s=ES('Object','entries',false,r);for(var t=0;t<s.length;t++){var u=s[t],v=u[0],w=u[1],x=q[v]-w;if(x===0){delete q[v]}else q[v]=x;}return {attributed:q,unattributed:r}}else return {attributed:q,unattributed:null};}else return {attributed:null,unattributed:q};};m.$ProfilingCounters7=function(o,p){'use strict';for(var q=ES('Object','entries',false,p),r=ES('Array','isArray',false,q),s=0,q=r?q:q[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t,v=u[0],w=u[1];o[v]=(o[v]||0)+w}};m.prototype.$ProfilingCounters10=function(o,p){'use strict';return p!=null&&p[o]!=null};m.prototype.$ProfilingCounters4=function(o){'use strict';return this.$ProfilingCounters10(o,this.propagatedAttributions)||this.$ProfilingCounters10(o,this.newAttributions)};m.$ProfilingCounters11=function(o,p,q){'use strict';for(var r=0;r<q.length;r++){var s=q[r],t=s[0],u=s[1],v=u.propagationType;if(v===i.ALL||p)o[t]=u;}};m.prototype.$ProfilingCounters12=function(o){'use strict';return new m(false)};m.prototype.getPropagatedContextForChild=function(o){'use strict';var p=void 0;if(this.newAttributions==null)if(this.propagatedAttributions==null||o){return this.propagatedAttributions}else{p=ES('Object','entries',false,this.propagatedAttributions);var q=true;for(var r=0;r<p.length;r++){var s=p[r],t=s[0],u=s[1];if(u.propagationType===i.ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC){q=false;break}}if(q)return this.propagatedAttributions;}var v={};if(this.propagatedAttributions!=null)m.$ProfilingCounters11(v,o,p||ES('Object','entries',false,this.propagatedAttributions));if(this.newAttributions!=null)m.$ProfilingCounters11(v,o,ES('Object','entries',false,this.newAttributions));return v};m.prototype.$ProfilingCounters3=function(){'use strict';if(this.active==null)this.active=new n();return this.active};m.prototype.$ProfilingCounters13=function(){'use strict';return this.isGlobal};m.prototype.$ProfilingCounters5=function(){'use strict';return this.active!=null};m.prototype.$ProfilingCounters14=function(){'use strict';return new m(false,this.propagatedAttributions)};m.nestContext=function(o){'use strict';k.push(o)};m.unnestContext=function(){'use strict';if(k.length===1)throw new Error('popping off the global context');var o=k.pop();if(o.$ProfilingCounters5())var p=o.$ProfilingCounters3();if(o.$ProfilingCounters5()||o.processedNestedContexts!=null)m.currentContext().$ProfilingCounters2(o);};m.prototype.$ProfilingCounters2=function(o){var p=arguments.length<=1||arguments[1]===undefined?true:arguments[1];'use strict';if(this.$ProfilingCounters13()){return}else if(!(p&&this.processedNestedContexts!=null&&this.processedNestedContexts.length>=j)){this.processedNestedContexts=this.processedNestedContexts||[];this.processedNestedContexts.push(o)}};m.resetState=function(){'use strict';k=[new m(true,null)]};m.AttributionPropagation=i;function n(){'use strict';this.$SingleProfilingCounters1=null;this.$SingleProfilingCounters2=null;this.$SingleProfilingCounters3=null;this.$SingleProfilingCounters4=null}n.prototype.startTiming=function(o){'use strict';var p=n.$SingleProfilingCounters5++,q={value:0,counter:o,id:p,lastStartTime:0},r=this.$SingleProfilingCounters1||[];this.$SingleProfilingCounters2=this.$SingleProfilingCounters2||{};this.$SingleProfilingCounters2[p]=r.length;r.push(q);var s=h();q.lastStartTime=s;if(r.length>1){var t=r[r.length-2];t.value+=s-t.lastStartTime}this.$SingleProfilingCounters1=r;return p};n.prototype.stopTiming=function(o){'use strict';var p=h(),q=this.$SingleProfilingCounters2,r=this.$SingleProfilingCounters1,s=q[o];delete q[o];if(s==null||r[s]==null)return 0;var t=null,u=0;while(r.length-1>s){var v=r.pop();u+=v.value;delete q[v.id];if(t==null&&v.lastStartTime!=null)t=v.lastStartTime;}var w=r.pop();w.value+=p-(t||w.lastStartTime);w.value+=u;var x=this.$SingleProfilingCounters4||{};x[w.counter]=x[w.counter]||0;x[w.counter]+=w.value;if(r.length>0)r[r.length-1].lastStartTime=p;this.$SingleProfilingCounters1=r;this.$SingleProfilingCounters4=x;this.$SingleProfilingCounters2=q;return w.value};n.prototype.incrementCounter=function(o,p){'use strict';var q=this.$SingleProfilingCounters3||{};q[o]=q[o]||0;q[o]+=p;this.$SingleProfilingCounters3=q};n.prototype.getTotals=function(){'use strict';return babelHelpers['extends']({},this.$SingleProfilingCounters4||{},this.$SingleProfilingCounters3||{})};n.prototype.openCounterCount=function(){'use strict';return this.$SingleProfilingCounters1!=null?this.$SingleProfilingCounters1.length:0};n.$SingleProfilingCounters5=1;k.push(new m(true,null));b.ProfilingCounters=m;f.exports=m}),3);
  __d('MutationCountingExecutionObserver',['ExecutionContextObservers','PageDOMMutationObserver','ProfilingCounters','ifRequired'],(function a(b,c,d,e,f,g,h,i,j,k){'use strict';var l=[],m=false;function n(){var s=i.consumePendingDOMMutations();if(s){j.incrementCounter('DOM_MUTATION',s);var t=k('TimeSliceInteraction',function(v){return v});if(t){var u=t.getReferenceCounterActiveTimeSlices();if(u.length)ES(u,'forEach',true,function(v){v.informPointWithOverride('display_done_ts_executed_from_client',{isPointOfInterest:true});if(!v.__mceoSeenThisRootGuardFrame){v.__mceoSeenThisRootGuardFrame=true;v.countUp();l.push(v);if(!m){m=true;r.executeOnRootGuardEnded(function(){o();m=false})}var w=k('Visibility',function(x){return x});if(w)if(w.isHidden()){v.trace().addStringAnnotation('hidden_during_dd','1')}else v.trace().addStringAnnotation('hidden_during_dd','0');}});}}}function o(){if(l.length===0)return;ES(l,'forEach',true,function(v){v.informPointWithOverride('display_done',{isPointOfInterest:true});v.__mceoSeenThisRootGuardFrame=false});var s=l,t=k('requestAnimationFrameAcrossTransitions',function(v){return v}),u=k('setTimeoutAcrossTransitions',function(v){return v});if(!t||!u)return;t(function(){ES(s,'forEach',true,function(v){v.informPointWithOverride('display_done_ts_raf',{isPointOfInterest:true})});u(function(){ES(s,'forEach',true,function(v){v.informPointWithOverride('display_done_ts_st',{isPointOfInterest:true});v.countDown()})})});l=[]}var p=[];q.prototype.executeOnRootGuardEnded=function(s){p.push(s)};q.prototype.onNewContextCreated=function(s,t,u,v){return {}};q.prototype.onBeforeContextStarted=function(s,t,u){i.tryStart();n();return {}};q.prototype.onAfterContextEnded=function(s,t,u){n();if(s&&s.isRoot)while(p.length)p.pop()();};q.prototype.getBeforeID=function(){return h.beforeIDs.MUTATION_COUNTING};q.prototype.getAfterID=function(){return h.afterIDs.MUTATION_COUNTING};function q(){}var r=new q();f.exports=r}),18);
  __d('OnDemandExecutionContextObserver',['ErrorUtils'],(function a(b,c,d,e,f,g,h){'use strict';var i=void 0;j.setCatchUpFunction=function(k){i=k};function j(){this.$OnDemandExecutionContextObserver5=false;this.$OnDemandExecutionContextObserver4=false;this.$OnDemandExecutionContextObserver1=0;this.$OnDemandExecutionContextObserver2={};this.$OnDemandExecutionContextObserver3=0}j.prototype.onNewContextCreatedWhileEnabled=function(k,l,m,n){throw Error('unimplemented abstract method')};j.prototype.onNewContextCreatedWhileDisabled=function(k,l,m,n){};j.prototype.onBeforeContextStartedWhileEnabled=function(k,l,m){throw Error('unimplemented abstract method')};j.prototype.onBeforeContextStartedWhileDisabled=function(k,l,m){};j.prototype.onAfterContextEndedWhileEnabled=function(k,l,m){throw Error('unimplemented abstract method')};j.prototype.onAfterContextEndedWhileDisabled=function(k,l,m){};j.prototype.onNewContextCreated=function(k,l,m,n){if(this.isEnabled()){return this.onNewContextCreatedWhileEnabled(k,l,m,n)}else{this.onNewContextCreatedWhileDisabled(k,l,m,n);return null}};j.prototype.onBeforeContextStarted=function(k,l,m){if(this.isEnabled()){return this.onBeforeContextStartedWhileEnabled(k,l,m)}else{this.onBeforeContextStartedWhileDisabled(k,l,m);return null}};j.prototype.onAfterContextEnded=function(k,l,m){if(this.isEnabled()){this.onAfterContextEndedWhileEnabled(k,l,m)}else this.onAfterContextEndedWhileDisabled(k,l,m);if(this.$OnDemandExecutionContextObserver4&&!this.$OnDemandExecutionContextObserver5&&k.isRoot){this.onDisable();this.$OnDemandExecutionContextObserver4=false}};j.prototype.onDisable=function(){};j.prototype.onEnable=function(){};j.prototype.getBeforeID=function(){throw Error('unimplemented abstract method')};j.prototype.getAfterID=function(){throw Error('unimplemented abstract method')};j.prototype.isEnabled=function(){return this.$OnDemandExecutionContextObserver4};j.prototype.__getExpiryCallback=function(){var k=++this.$OnDemandExecutionContextObserver1;this.$OnDemandExecutionContextObserver2[k]=true;this.$OnDemandExecutionContextObserver3++;return ES(function(){if(this.$OnDemandExecutionContextObserver2[k]){delete this.$OnDemandExecutionContextObserver2[k];this.$OnDemandExecutionContextObserver3--;if(this.$OnDemandExecutionContextObserver3===0)this.$OnDemandExecutionContextObserver5=false;}},'bind',true,this)};j.prototype.expressInterest=function(){var k=j.expressInterests(this),l=k[0];return l};j.expressInterests=function(){var k=[],l=[];for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];for(var p=n,q=ES('Array','isArray',false,p),r=0,p=q?p:p[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var s;if(q){if(r>=p.length)break;s=p[r++]}else{r=p.next();if(r.done)break;s=r.value}var t=s;if(!t.isEnabled()){t.$OnDemandExecutionContextObserver4=true;k.push(t)}t.$OnDemandExecutionContextObserver5=true;l.push(t.__getExpiryCallback())}if(!i){h.reportError(new Error('did not set catchup function before expressing interest'))}else i(k);ES(k,'forEach',true,function(u){return u.onEnable()});return l};f.exports=j}),18);
  __d('nullthrows',[],(function a(b,c,d,e,f,g){var h=function i(j){var k=arguments.length<=1||arguments[1]===undefined?'Got unexpected null or undefined':arguments[1];if(j!=null)return j;throw new Error(k)};f.exports=h}),18);
  __d("wrapFunction",[],(function a(b,c,d,e,f,g){var h={},i=function j(k,l,m){return function(){var n=l in h?h[l](k,m):k;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n.apply(this,p)}};i.setWrapper=function(j,k){h[k]=j};f.exports=i}),18);
  __d('TimeSlice',['CallStackExecutionObserver','CircularBuffer','Env','ErrorUtils','LogBuffer','MutationCountingExecutionObserver','OnDemandExecutionContextObserver','ProfilingCounters','invariant','nullthrows','performanceAbsoluteNow','wrapFunction'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){var t=[],u=[],v='time_slice',w=1,x=false,y=0,z=1,aa=2,ba=y,ca=new i(100),da=0,ea=0,fa=j.shouldLogCounters,ga=j.timesliceBufferSize;if(ga)l.expand(v,ga);var ha='stackTraceLimit' in Error,ia=[],ja=[];function ka(){return la(ia)}function la(sa){return sa.length>0?sa[sa.length-1]:null}function ma(sa,ta){k.applyWithGuard(pa,null,[sa,ta]);ia.push(sa);ja.push(ta)}function na(sa,ta,ua,va){ES(t,'forEach',true,function(wa){var xa=wa.onNewContextCreated(ka(),ta,va,ua);sa[wa.getBeforeID()]=xa})}function oa(sa,ta){ES(u,'forEach',true,function(ua){ua.onAfterContextEnded(sa,ta[ua.getBeforeID()],sa.meta)})}function pa(sa,ta){ES(t,'forEach',true,function(ua){var va=ta[ua.getBeforeID()],wa=ua.onBeforeContextStarted(sa,va,sa.meta);ta[ua.getBeforeID()]=wa})}function qa(){var sa=ka(),ta=la(ja);if(sa==null||ta==null){k.reportError(new Error('popped too many times off the timeslice stack'));x=false;return}k.applyWithGuard(oa,null,[sa,ta]);x=!sa.isRoot;ia.pop();ja.pop()}var ra={guard:function sa(ta,ua,va){typeof ta==='function'||p(0);typeof ua==='string'||p(0);if(ta.__tsGuarded)return ta;if(!va||!va.root)ra.checkCoverage();var wa=void 0;if(x)wa=ka();var xa={},ya=0,za=function ab(){var bb=void 0,cb=w++,db={contextID:cb,name:ua,isRoot:!x,executionNumber:ya++,meta:va};ma(db,xa);if(wa!=null){var eb=!!(va&&va.isContinuation);if(wa.isRoot){db.indirectParentID=wa.contextID;db.isEdgeContinuation=eb}else{db.indirectParentID=wa.indirectParentID;db.isEdgeContinuation=!!(eb&&wa.isEdgeContinuation)}}var fb=void 0,gb=void 0;x=true;try{if(!db.isRoot){return ta.apply(this,arguments)}else{var hb='TimeSlice'+(ua?': '+ua:'');fb=r();bb=k.applyWithGuard(ta,this,arguments,null,hb);return bb}}finally{var ib=ka();if(ib==null){k.reportError(new Error('timeslice stack misaligned, not logging the block'));x=false}else{var jb=ib.isRoot,kb=ib.contextID,lb=ib.indirectParentID,mb=ib.isEdgeContinuation;if(jb&&fb!=null){gb=r();ea+=gb-fb;ib.absEndTimeMs=gb;ib.absBeginTimeMs=fb;var nb=babelHelpers['extends']({begin:fb,end:gb,id:kb,indirectParentID:lb,representsExecution:true,isEdgeContinuation:wa&&mb,guard:ua,counters:fa?o.currentContext():null},va,ta.__SMmeta);l.write('time_slice',nb)}qa()}}};za=za;k.applyWithGuard(na,null,[xa,ua,va,za]);za.__tsGuarded=true;return za},inGuard:function sa(){return x},checkCoverage:function sa(){var ta=void 0;if(ba!==aa&&!x){if(ha){ta=Error.stackTraceLimit;Error.stackTraceLimit=50}var ua=new Error('Missing TimeSlice coverage');if(ha)Error.stackTraceLimit=ta;ua.type='warn';if(ba===z&&Math.random()<da){k.reportError(ua)}else if(ba===y)q(ca).write(ua);}},setLogging:function sa(ta,ua){if(ba!==y)return;da=ua;if(ta){ba=z;ES(q(ca).read(),'forEach',true,function(va){if(Math.random()<da)k.reportError(va);})}else ba=aa;q(ca).clear();ca=undefined},getContext:function sa(){return ka()},getTotalTime:function sa(){return ea},getGuardedContinuation:function sa(ta){return ra.guard(function ua(va){for(var wa=arguments.length,xa=Array(wa>1?wa-1:0),ya=1;ya<wa;ya++)xa[ya-1]=arguments[ya];return va.apply(this,xa)},ta,{isContinuation:true})},getGuardNameStack:function sa(){return ES(ia,'map',true,function(ta){return ta.name})},registerExecutionContextObserver:function sa(ta){var ua=false;for(var va=0;va<t.length;va++)if(t[va].getBeforeID()>ta.getBeforeID()){t.splice(va,0,ta);ua=true;break}if(!ua)t.push(ta);for(var wa=0;wa<u.length;wa++)if(u[wa].getAfterID()>ta.getAfterID()){u.splice(wa,0,ta);return}u.push(ta)},catchUpOnDemandExecutionContextObservers:function sa(ta){var ua=ta.slice().sort(function(eb,fb){return eb.getBeforeID()-fb.getBeforeID()});for(var va=0;va<ia.length;va++){var wa=ia[va],xa=ja[va];for(var ya=ua,za=ES('Array','isArray',false,ya),ab=0,ya=za?ya:ya[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var bb;if(za){if(ab>=ya.length)break;bb=ya[ab++]}else{ab=ya.next();if(ab.done)break;bb=ab.value}var cb=bb,db=cb.onBeforeContextStartedWhileEnabled(wa,xa[cb.getBeforeID()],wa.meta);xa[cb.getBeforeID()]=db}}}};n.setCatchUpFunction(ra.catchUpOnDemandExecutionContextObservers);ra.registerExecutionContextObserver(o.getObserver());ra.registerExecutionContextObserver(m);if(j.sample_continuation_stacktraces)ra.registerExecutionContextObserver(h);s.setWrapper(ra.guard,'entry');b.TimeSlice=ra;f.exports=ra}),19);
  __d('TimerStorage',[],(function a(b,c,d,e,f,g){var h={ANIMATION_FRAME:'ANIMATION_FRAME',IDLE_CALLBACK:'IDLE_CALLBACK',IMMEDIATE:'IMMEDIATE',INTERVAL:'INTERVAL',TIMEOUT:'TIMEOUT'},i={};ES(ES('Object','keys',false,h),'forEach',true,function(k){return i[k]={}});var j=babelHelpers['extends']({},h,{set:function k(l,m){i[l][m]=true},unset:function k(l,m){delete i[l][m]},clearAll:function k(l,m){ES(ES('Object','keys',false,i[l]),'forEach',true,m);i[l]={}}});f.exports=j}),18);
  /**
   * Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic
   * Denicola
   *
   * Permission is hereby granted, free of charge, to any person obtaining
   * a copy of this software and associated documentation files (the
   * "Software"), to deal in the Software without restriction, including
   * without limitation the rights to use, copy, modify, merge, publish,
   * distribute, sublicense, and/or sell copies of the Software, and to
   * permit persons to whom the Software is furnished to do so, subject to
   * the following conditions:
   *
   * The above copyright notice and this permission 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.
   *
   * @preserve-header
   * @providesModule ImmediateImplementation
   */
  __d("ImmediateImplementation",[],(function a(b,c,d,e,f,g){(function(h,i){"use strict";var j=1,k={},l={},m=l,n=false,o=h.document,p=void 0;function q(y){var z=y[0];y=Array.prototype.slice.call(y,1);k[j]=function(){z.apply(i,y)};m=m.next={handle:j++};return m.handle}function r(){var y=void 0,z=void 0;while(!n&&(y=l.next)){l=y;if(z=k[y.handle]){n=true;try{z();n=false}finally{s(y.handle);if(n){n=false;if(l.next)p(r);}}}}}function s(y){delete k[y]}function t(){var y;if(h.postMessage&&!h.importScripts){var y=function(){var z=true,aa=function ba(){z=false;if(h.removeEventListener){h.removeEventListener("message",ba,false)}else h.detachEvent("onmessage",ba);};if(h.addEventListener){h.addEventListener("message",aa,false)}else if(h.attachEvent){h.attachEvent("onmessage",aa)}else return {v:false};h.postMessage("","*");return {v:z}}();if(typeof y==="object")return y.v;}}function u(){var y="setImmediate$"+Math.random()+"$",z=function aa(event){if(event.source===h&&typeof event.data==="string"&&ES(event.data,"indexOf",true,y)===0)r();};if(h.addEventListener){h.addEventListener("message",z,false)}else h.attachEvent("onmessage",z);p=function aa(){var ba=q(arguments);h.postMessage(y+ba,"*");return ba}}function v(){var y=new MessageChannel();y.port1.onmessage=r;p=function z(){var aa=q(arguments);y.port2.postMessage(aa);return aa}}function w(){var y=o.documentElement;p=function z(){var aa=q(arguments),ba=o.createElement("script");ba.onreadystatechange=function(){ba.onreadystatechange=null;y.removeChild(ba);ba=null;r()};y.appendChild(ba);return aa}}function x(){p=function y(){setTimeout(r,0);return q(arguments)}}if(t()){u()}else if(h.MessageChannel){v()}else if(o&&o.createElement&&"onreadystatechange" in o.createElement("script")){w()}else x();g.setImmediate=p;g.clearImmediate=s})(Function("return this")())}),null);
  __d('setImmediatePolyfill',['PromiseUsePolyfillSetImmediateGK','invariant','ImmediateImplementation'],(function a(b,c,d,e,f,g,h,i){var j=b.setImmediate;if(h.www_always_use_polyfill_setimmediate||!j){var k=c('ImmediateImplementation');j=k.setImmediate}function l(){for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];typeof n[0]==='function'||i(0);return j.apply(null,n)}f.exports=l}),null);
  __d('setImmediateAcrossTransitions',['TimeSlice','setImmediatePolyfill'],(function a(b,c,d,e,f,g,h,i){f.exports=function(){for(var j=arguments.length,k=Array(j),l=0;l<j;l++)k[l]=arguments[l];k[0]=h.guard(k[0],'setImmediate',{isContinuation:true});return i.apply(b,k)}}),null);
  __d('setImmediate',['TimerStorage','setImmediateAcrossTransitions'],(function a(b,c,d,e,f,g,h,i){f.exports=ES(function(){for(var j=arguments.length,k=Array(j),l=0;l<j;l++)k[l]=arguments[l];var m,n=k[0];k[0]=function(){h.unset(h.IMMEDIATE,m);Function.prototype.apply.call(n,this,arguments)};if(n.__tsGuarded){k[0].__tsGuarded=true;k[0].__cancelCallback=n.__cancelCallback;k[0].__creationID=n.__creationID}m=i.apply(b,k);h.set(h.IMMEDIATE,m);return m},'bind',true,this)}),null);
  __d('performanceNow',['performance'],(function a(b,c,d,e,f,g,h){var i;if(h.now){i=function j(){return h.now()}}else i=function j(){return ES('Date','now',false)};f.exports=i}),null);
  __d("emptyFunction",[],(function a(b,c,d,e,f,g){function h(j){return function(){return j}}var i=function j(){};i.thatReturns=h;i.thatReturnsFalse=h(false);i.thatReturnsTrue=h(true);i.thatReturnsNull=h(null);i.thatReturnsThis=function(){return this};i.thatReturnsArgument=function(j){return j};f.exports=i}),18);
  __d("nativeRequestAnimationFrame",[],(function a(b,c,d,e,f,g){var h=b.requestAnimationFrame&&b.requestAnimationFrame.nativeBackup||b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame;f.exports=h}),18);
  __d('requestAnimationFramePolyfill',['emptyFunction','nativeRequestAnimationFrame'],(function a(b,c,d,e,f,g,h,i){var j=0,k=i||function(l){var m=ES('Date','now',false),n=Math.max(0,16-(m-j));j=m+n;return b.setTimeout(function(){l(ES('Date','now',false))},n)};k(h);f.exports=k}),18);
  __d('IdleCallbackImplementation',['performanceNow','requestAnimationFramePolyfill'],(function a(b,c,d,e,f,g,h,i){var j=[],k=0,l=0,m=-1,n=false,o=1000/60,p=2;function q(aa,ba){var ca=l++;j[ca]=aa;s();if(ba!=null&&ba.timeout>0)b.setTimeout(function(){return y(ca)},ba.timeout);return ca}function r(aa){j[aa]=null}function s(){if(!n){n=true;i(function(aa){n=false;u(h()-aa)})}}function t(aa){var ba=o-p;if(aa<ba)return ba-aa;var ca=aa%o;if(ca>ba||ca<p){return 0}else return ba-ca;}function u(aa){var ba=h();if(ba>m){var ca=t(aa);if(ca>0){var da=ba+ca;x(da);m=da}}if(v())s();}function v(){return k<j.length}function w(){while(v()){var aa=j[k];k++;if(aa)return aa;}}function x(aa){var ba=void 0;while(h()<aa&&(ba=w()))ba(new z(aa));}function y(aa){var ba=j[aa];if(ba){r(aa);ba(new z(null))}}function z(aa){'use strict';this.didTimeout=aa==null;this.$IdleCallbackDeadline1=aa}z.prototype.timeRemaining=function(){'use strict';var aa=this.$IdleCallbackDeadline1;if(aa!=null){var ba=h();if(ba<aa)return aa-ba;}return 0};f.exports={requestIdleCallback:q,cancelIdleCallback:r}}),null);
  __d('requestIdleCallbackAcrossTransitions',['IdleCallbackImplementation','TimeSlice'],(function a(b,c,d,e,f,g,h,i){var j=b.requestIdleCallback||h.requestIdleCallback;f.exports=function k(l,m){return j.call(b,i.guard(l,'requestIdleCallback',{isContinuation:true}),m)}}),null);
  __d('TimeSliceReferenceCounting',['ExecutionContextObservers','OnDemandExecutionContextObserver','ProfilingCounters','TimeSlice','TimeSliceInteractionSV','requestIdleCallbackAcrossTransitions'],(function a(b,c,d,e,f,g,h,i,j,k,l,m){var n,o,p=[],q=null,r=null,s=1,t={},u={};function v(ba,ca,da,ea){if(ba==null||ba.length===0)return;var fa=0,ga=0,ha=[];while(ga<ba.length){var ia=ba[ga],ja=true;if(!(ea!==null&&ea!==ia.getRootContextID()&&ca)){ia.openReferenceCount--;if(ia.openReferenceCount===0){ha.push(ia);ja=false}}if(ja){ba[fa]=ia;fa++}ga++}ba.splice(fa,ga-fa);if(ha.length>0)m(k.guard(function(){return ES(ha,'forEach',true,function(ka){return ka.finish()})},'invoking onAllChildrenFinished callbacks',{isContinuation:false}));}function w(ba){'use strict';this.$ReferenceCounter2=w.$ReferenceCounter1++;this.$ReferenceCounter3=ba;this.$ReferenceCounter4=[];this.$ReferenceCounter5=false;this.openReferenceCount=1}w.prototype.addCallback=function(ba){'use strict';if(!this.$ReferenceCounter5){this.$ReferenceCounter4.push(ba)}else ba();return this};w.prototype.finish=function(){'use strict';if(!this.$ReferenceCounter5){this.$ReferenceCounter5=true;ES(this.$ReferenceCounter4,'forEach',true,function(ba){return ba()});delete this.$ReferenceCounter4}};w.prototype.getContinuationExecutionCounterID=function(){'use strict';return this.$ReferenceCounter2};w.prototype.isInsideContinuationExecution=function(){'use strict';var ba=k.getContext();if(ba==null){return false}else if(ba.executionNumber>0&&ba.id!==this.$ReferenceCounter3){return false}else return ES(p,'indexOf',true,this)!==-1;};w.prototype.getRootContextID=function(){'use strict';return this.$ReferenceCounter3};w.$ReferenceCounter1=1;function x(ba){}n=babelHelpers.inherits(y,i);o=n&&n.prototype;y.prototype.onNewContextCreatedWhileEnabled=function(ba,ca,da,ea){'use strict';var fa=ea&&ea.isContinuation,ga=void 0;if(ba!=null&&fa&&p.length>0){if(ba.executionNumber>0)p=ES(p,'filter',true,function(ja){return ja.getRootContextID()===ba.contextID});ES(p,'forEach',true,function(ja){return ja.openReferenceCount++});ga=p}var ha=s++,ia={hasBeenInvoked:false,hasExecutionBeenCounted:false,parentReferenceCounters:ga,creationID:ha,currentExecutionSavedState:null};da.__creationID=ha;da.__cancelCallback=function(){if(ia.parentReferenceCounters!=null&&!ia.hasBeenInvoked){v(ia.parentReferenceCounters,ia.hasBeenInvoked,ca,null);ia.hasBeenInvoked=true}};return ia};y.prototype.onBeforeContextStartedWhileEnabled=function(ba,ca,da){'use strict';var ea=ca||{hasBeenInvoked:false,creationID:-1,currentExecutionSavedState:null},fa={callerProfilingCounterID:r,callerReferenceCounters:p};ea.currentExecutionSavedState=fa;ea.hasBeenInvoked=true;var ga=ea.creationID,ha=u[ga];if(ha){delete t[ha];delete u[ga]}p=ea.parentReferenceCounters||[];if(p.length>0&&ba.executionNumber===0){r=j.startTiming('REF_COUNTED_TIMESLICE_TIME')}else r=null;return ea};y.prototype.onAfterContextEndedWhileEnabled=function(ba,ca,da){'use strict';var ea=ca||{},fa=ea.parentReferenceCounters,ga=ea.currentExecutionSavedState;if(r!=null){j.stopTiming(r);r=null}var ha=q!=null&&q.getRootContextID()===ba.contextID;if(fa!=null||ha)v(p,ba.executionNumber>0,ba.name,ba.contextID);p=ga!=null?ga.callerReferenceCounters:[];r=ga!=null?ga.callerProfilingCounterID:null;ea.currentExecutionSavedState=null};y.prototype.getBeforeID=function(){'use strict';return h.beforeIDs.REFERENCE_COUNTING};y.prototype.getAfterID=function(){'use strict';return h.afterIDs.REFERENCE_COUNTING};function y(){'use strict';n.apply(this,arguments)}var z={onAllChildrenFinished:function ba(ca){var da=k.getContext();if(da==null)return null;var ea=da.contextID,fa=void 0;if(l.on_demand_reference_counting)fa=z.getObserver().expressInterest();q=new w(ea);if(ca)q.addCallback(ca);if(fa)q.addCallback(fa);p=p.slice();p.push(q);if(r==null)r=j.startTiming('REF_COUNTED_TIMESLICE_TIME');return q},registerForCancelling:function ba(ca,da){if(!aa.isEnabled())return;if(!(t[ca]!=null))if(!!ca)if(typeof da.__cancelCallback==='function'&&da.__creationID!=null){t[ca]=da;u[da.__creationID]=ca}},cancelTimeSlice:function ba(ca){var da=t[ca];if(da){delete t[ca];delete u[da.__creationID];da.__cancelCallback()}},isValidCancellationToken:function ba(ca){return t[ca]!=null},getObserver:function ba(){return aa}},aa=new y();k.registerExecutionContextObserver(aa);if(!l.on_demand_reference_counting)aa.expressInterest();f.exports=z}),18);
  __d('setTimeoutAcrossTransitions',['TimerStorage','TimeSlice','TimeSliceReferenceCounting'],(function a(b,c,d,e,f,g,h,i,j){var k=b.setTimeout.nativeBackup||b.setTimeout,l=h.TIMEOUT;f.exports=function(){for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];var p=i.guard(n[0],'setTimeout',{isContinuation:true});n[0]=p;var q=Function.prototype.apply.call(k,b,n);j.registerForCancelling(l+q,n[0]);return q}}),18);
  __d('Promise',['TimeSlice','invariant','setImmediate','setTimeoutAcrossTransitions'],(function a(b,c,d,e,f,g,h,i,j,k){'use strict';function l(){}var m=null,n={};function o(ga){try{return ga.then}catch(ha){m=ha;return n}}function p(ga,ha){try{return ga(ha)}catch(ia){m=ia;return n}}function q(ga,ha,ia){try{ga(ha,ia)}catch(ja){m=ja;return n}}function r(ga){if(typeof this!=='object')throw new TypeError('Promises must be constructed via new');if(typeof ga!=='function')throw new TypeError('not a function');this._state=0;this._value=null;this._deferreds=[];if(ga===l)return;y(ga,this)}r._noop=l;r.prototype.then=function(ga,ha){if(this.constructor!==r)return s(this,ga,ha);var ia=new r(l);t(this,new x(ga,ha,ia));return ia};function s(ga,ha,ia){return new ga.constructor(function(ja,ka){var la=new r(l);la.then(ja,ka);t(ga,new x(ha,ia,la))})}function t(ga,ha){while(ga._state===3)ga=ga._value;if(ga._state===0){ga._deferreds.push(ha);return}j(function ia(){var ja=ga._state===1?ha.onFulfilled:ha.onRejected;if(ja===null){ha.continuation(function(){});if(ga._state===1){u(ha.promise,ga._value)}else v(ha.promise,ga._value);return}var ka=p(ES(ha.continuation,'bind',true,null,ja),ga._value);if(ka===n){v(ha.promise,m)}else u(ha.promise,ka);})}function u(ga,ha){if(ha===ga)return v(ga,new TypeError('A promise cannot be resolved with itself.'));if(ha&&(typeof ha==='object'||typeof ha==='function')){var ia=o(ha);if(ia===n)return v(ga,m);if(ia===ga.then&&ha instanceof r){ga._state=3;ga._value=ha;w(ga);return}else if(typeof ia==='function'){y(ES(ia,'bind',true,ha),ga);return}}ga._state=1;ga._value=ha;w(ga)}function v(ga,ha){ga._state=2;ga._value=ha;w(ga)}function w(ga){for(var ha=0;ha<ga._deferreds.length;ha++)t(ga,ga._deferreds[ha]);ga._deferreds=null}function x(ga,ha,ia){this.onFulfilled=typeof ga==='function'?ga:null;this.onRejected=typeof ha==='function'?ha:null;this.continuation=h.getGuardedContinuation('Promise Handler');this.promise=ia}function y(ga,ha){var ia=false,ja=q(ga,function(ka){if(ia)return;ia=true;u(ha,ka)},function(ka){if(ia)return;ia=true;v(ha,ka)});if(!ia&&ja===n){ia=true;v(ha,m)}}r.prototype.done=function(ga,ha){var ia=arguments.length?this.then.apply(this,arguments):this;ia.then(null,function(ja){k(function(){throw ja},0)})};var z=fa(true),aa=fa(false),ba=fa(null),ca=fa(undefined),da=fa(0),ea=fa('');function fa(ga){var ha=new r(r._noop);ha._state=1;ha._value=ga;return ha}r.resolve=function(ga){if(ga instanceof r)return ga;if(ga===null)return ba;if(ga===undefined)return ca;if(ga===true)return z;if(ga===false)return aa;if(ga===0)return da;if(ga==='')return ea;if(typeof ga==='object'||typeof ga==='function')try{var ha=ga.then;if(typeof ha==='function')return new r(ES(ha,'bind',true,ga));}catch(ia){return new r(function(ja,ka){ka(ia)})}return fa(ga)};r.all=function(ga){if(!ES('Array','isArray',false,ga))ga=[new r(function(){throw new TypeError('Promise.all must be passed an iterable.')})];var ha=Array.prototype.slice.call(ga);return new r(function(ia,ja){if(ha.length===0)return ia([]);var ka=ha.length;function la(na,oa){if(oa&&(typeof oa==='object'||typeof oa==='function'))if(oa instanceof r&&oa.then===r.prototype.then){while(oa._state===3)oa=oa._value;if(oa._state===1)return la(na,oa._value);if(oa._state===2)ja(oa._value);oa.then(function(ra){la(na,ra)},ja);return}else{var pa=oa.then;if(typeof pa==='function'){var qa=new r(ES(pa,'bind',true,oa));qa.then(function(ra){la(na,ra)},ja);return}}ha[na]=oa;if(--ka===0)ia(ha);}for(var ma=0;ma<ha.length;ma++)la(ma,ha[ma]);})};r.reject=function(ga){return new r(function(ha,ia){ia(ga)})};r.race=function(ga){return new r(function(ha,ia){ES(ga,'forEach',true,function(ja){r.resolve(ja).then(ha,ia)})})};r.prototype['catch']=function(ga){return this.then(null,ga)};f.exports=r}),null);
  __d('fbinstant/4.1/event',[],(function a(b,c,d,e,f,g){'use strict';function h(){this.$Event1=[]}h.prototype.on=function(i){this.$Event1.push(i)};h.prototype.off=function(i){for(var j=0;j<this.$Event1.length;j++)if(this.$Event1[j]===i){this.$Event1.splice(j,1);return}};h.prototype.unbind=function(){this.$Event1=[]};h.prototype.triggerSubscribers=function(i){for(var j=0;j<this.$Event1.length;j++)this.$Event1[j](i);};f.exports=h}),null);
  __d('fbinstant/4.1/gameContext',[],(function a(b,c,d,e,f,g){'use strict';function h(i){this.$GameContext1=i&&i.id||null;this.$GameContext2=i&&i.size||null;this.$GameContext3=i&&i.type||'solo';this.$GameContext4=null}h.prototype.getID=function(){return this.$GameContext1};h.prototype.getType=function(){return this.$GameContext3};h.prototype.getSize=function(){return this.$GameContext2};h.prototype.getContextSizeResponse=function(){return this.$GameContext4};h.prototype.setContextSizeResponse=function(i){this.$GameContext4=i};f.exports=h}),null);
  __d("AppCustomEventType",[],(function a(b,c,d,e,f,g){f.exports={FB_MOBILE_ACTIVATE_APP:"fb_mobile_activate_app",FB_MOBILE_COMPLETE_REGISTRATION:"fb_mobile_complete_registration",FB_MOBILE_CONTENT_VIEW:"fb_mobile_content_view",FB_MOBILE_SEARCH:"fb_mobile_search",FB_MOBILE_RATE:"fb_mobile_rate",FB_MOBILE_TUTORIAL_COMPLETION:"fb_mobile_tutorial_completion",FB_MOBILE_ADD_TO_CART:"fb_mobile_add_to_cart",FB_MOBILE_ADD_TO_WISHLIST:"fb_mobile_add_to_wishlist",FB_MOBILE_INITIATED_CHECKOUT:"fb_mobile_initiated_checkout",FB_MOBILE_ADD_PAYMENT_INFO:"fb_mobile_add_payment_info",FB_MOBILE_PURCHASE:"fb_mobile_purchase",FB_MOBILE_LEVEL_ACHIEVED:"fb_mobile_level_achieved",FB_MOBILE_ACHIEVEMENT_UNLOCKED:"fb_mobile_achievement_unlocked",FB_MOBILE_SPENT_CREDITS:"fb_mobile_spent_credits",FB_DIRECT_INSTALL_SUCCESS:"fb_direct_install_success",APPMANAGER_CRASH_REPORT:"appmanager_crash_report",FB_PAGE_VIEW:"fb_page_view",FB_WEB_NEW_USER:"fb_web_new_user",FB_OTHER:"fb_other",FB_MESSENGER_BOT_NEW_USER:"fb_messenger_bot_new_user",FB_MESSENGER_BOT_MESSAGE_SENT:"fb_messenger_bot_message_sent",FB_MESSENGER_BOT_MESSAGE_RECEIVED:"fb_messenger_bot_message_received",FB_MESSENGER_BOT_THREAD_DELETED:"fb_messenger_bot_thread_deleted",FB_MESSENGER_BOT_STOPPED:"fb_messenger_bot_stopped",FB_MESSENGER_BOT_STARTED:"fb_messenger_bot_started",FB_MESSENGER_BOT_POSTBACK_CALLED:"fb_messenger_bot_postback_called",FB_INSTANT_EXPERIENCES_LAUNCH:"fb_instant_experiences_launch",FB_INSTANT_EXPERIENCES_NEW_USER:"fb_instant_experiences_new_user",FB_INSTANT_ARTICLES_CTA_SIGN_UP:"fb_instant_articles_cta_sign_up",FB_INSTANT_ARTICLES_CTA_IMPRESSION:"fb_instant_articles_cta_impression",FB_INSTANT_ARTICLES_NEW_USER:"fb_instant_articles_new_user",FB_INSTANT_ARTICLES_CLICK:"fb_instant_articles_click",FB_INSTANT_GAMES_NEW_USER:"fb_instant_games_new_user",FB_INSTANT_GAMES_LAUNCH:"fb_instant_games_launch",FB_OFFLINE_PURCHASE:"fb_offline_purchase",FB_OFFLINE_NEW_USER:"fb_offline_new_user",FB_OFFLINE_LEAD:"fb_offline_lead",FB_PAGES_POST_REACTION:"fb_pages_post_reaction",FB_PAGES_POST_COMMENT:"fb_pages_post_comment",FB_PAGES_POST_SHARE:"fb_pages_post_share",FB_PAGES_POST_ANSWER:"fb_pages_post_answer",FB_PAGES_POST_RSVP:"fb_pages_post_rsvp",FB_PAGES_PAGE_CHECKIN:"fb_pages_page_checkin",FB_PAGES_MESSAGING_THREAD_READ:"fb_pages_messaging_thread_read",FB_PAGES_MESSAGING_MESSAGE_RECEIVED:"fb_pages_messaging_message_received",FB_PAGES_MESSAGING_MESSAGE_SENT:"fb_pages_messaging_message_sent",FB_PAGES_MESSAGING_BLOCK:"fb_pages_messaging_block",FB_PAGES_MESSAGING_DELETE_THREAD:"fb_pages_messaging_delete_thread",FB_PAGES_MESSAGING_MARK_SPAM:"fb_pages_messaging_mark_spam",FB_PAGES_MESSAGING_LABEL_ADDED:"fb_pages_messaging_label_added",FB_PAGES_MESSAGING_LABEL_REMOVED:"fb_pages_messaging_label_removed",FB_PAGES_MESSAGING_NEW_CONVERSATION:"fb_pages_messaging_new_conversation",FB_PAGES_POST_VIDEO_PLAY_CLICK:"fb_pages_post_video_play_click",FB_PAGES_POST_PHOTO_VIEW_CLICK:"fb_pages_post_photo_view_click",FB_PAGES_NEW_USER:"fb_pages_new_user",FB_CAMERA_EFFECT_OPENED:"fb_camera_effect_opened",FB_CAMERA_EFFECT_SHARED:"fb_camera_effect_shared",FB_CAMERA_EFFECT_SHARE_IMPRESSION:"fb_camera_effect_share_impression",FB_CAMERA_EFFECT_TIME_SPENT:"fb_camera_effect_time_spent",FB_CAMERA_EFFECT_POST_IMPRESSION:"fb_camera_effect_post_impression",FB_VIDEO_ASSET_VIDEO_VIEW:"fb_video_asset_video_view",FB_VIDEO_ASSET_IMPRESSION:"fb_video_asset_impression",FB_VIDEO_ASSET_REACTION:"fb_video_asset_reaction",FB_VIDEO_ASSET_COMMENT:"fb_video_asset_comment",FB_VIDEO_ASSET_SHARE:"fb_video_asset_share",FB_VIDEO_POST_VIDEO_VIEW:"fb_video_post_video_view",FB_VIDEO_POST_IMPRESSION:"fb_video_post_impression",FB_VIDEO_POST_REACTION:"fb_video_post_reaction",FB_VIDEO_POST_COMMENT:"fb_video_post_comment",FB_VIDEO_POST_SHARE:"fb_video_post_share",FB_MOBILE_INSTALL:"fb_mobile_first_app_launch",FB_MOBILE_DEACTIVATE_APP:"fb_mobile_deactivate_app",FB_BASE_EVENT:"fb_base_event",FB_NEW_USER:"fb_new_user",FB_PURCHASE:"fb_purchase",FB_PAGE_MESSAGING_ACTIVE_CONVERSATION:"fb_pages_messaging_active_conversation"}}),null);
  __d("AppEventField",[],(function a(b,c,d,e,f,g){f.exports={ANALYTICS_PARTNER_APP_ID:"_analyticsPartnerAppid",APP_USER_ID:"_app_user_id",APP_VERSION:"_appVersion",EVENT_NAME:"_eventName",EVENT_NAME_MD5:"_eventName_md5",IMPLICITLY_LOGGED:"_implicitlyLogged",IS_TIMED_EVENT:"_isTimedEvent",LOG_TIME:"_logTime",ORDER_ID:"fb_order_id",SESSION_ID:"_session_id",UI:"_ui",VALUE_TO_SUM:"_valueToSum",COUNT:"$aggr.count"}}),null);
  __d('FBEventsParamList',[],(function a(b,c,d,e,f,g){'use strict';var h='deep',i='shallow';function j(){this.list=[]}j.prototype={append:function l(m,n){this._append(encodeURIComponent(m),n,h)},_append:function l(m,n,o){if(Object(n)!==n){this._appendPrimitive(m,n)}else if(o===h){this._appendObject(m,n)}else this._appendPrimitive(m,k(n));},_appendPrimitive:function l(m,n){if(n!=null)this.list.push([m,n]);},_appendObject:function l(m,n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var p=m+'['+encodeURIComponent(o)+']';this._append(p,n[o],i)}},each:function l(m){var n=this.list;for(var o=0,p=n.length;o<p;o++)m(n[o][0],n[o][1]);},toQueryString:function l(){var m=[];this.each(function(n,o){m.push(n+'='+encodeURIComponent(o))});return m.join('&')}};function k(l){if(typeof JSON==='undefined'||JSON===null||!ES('JSON','stringify',false)){return Object.prototype.toString.call(l)}else return ES('JSON','stringify',false,l);}f.exports=j}),null);
  __d("GraphApplicationActivitiesUserIDType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({INSTANT_GAMES_PLAYER_ID:"INSTANT_GAMES_PLAYER_ID"})}),null);
  __d('Set',[],(function a(b,c,d,e,f,g){'use strict';f.exports=function(h){return h.Set}(b)}),18);
  __d('fbinstant/common/codedError',['InstantGamesErrorCode'],(function a(b,c,d,e,f,g,h){'use strict';var i=h;function j(k){this.code=k.code||i.UNKNOWN;this.message=k.message}f.exports=j}),null);
  __d("fbinstant/common/analytics",["AppCustomEventType","AppEventField","FBEventsParamList","GraphApplicationActivitiesUserIDType","InstantGamesErrorCode","Set","fbinstant/common/codedError"],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n){var o=h.FB_INSTANT_GAMES_LAUNCH,p=k.INSTANT_GAMES_PLAYER_ID;function q(){"use strict";this.$Analytics1='WAITING';this.$Analytics6=[];this.$Analytics2=null;this.$Analytics3=/^apps-(\d+)\..*\.fbsbx\.com$/i;this.$Analytics4=new m()}q.prototype.init=function(r,s){"use strict";this.$Analytics2=r;this.$Analytics5=s;if(!this.$Analytics2)this.$Analytics2=this.$Analytics7();if(!this.$Analytics2){this.$Analytics1='FAILED';return}this.$Analytics8();this.$Analytics1='DONE'};q.prototype.logActive=function(){"use strict";return this.logEvent(o)};q.prototype.logEvent=function(r,s,t){"use strict";var event={eventName:r,valueToSum:s,parameters:t};if(this.$Analytics1==='WAITING'){this.$Analytics6.push(event);return null}else if(this.$Analytics1==='DONE'){return this.$Analytics9([event])}else return new n({code:l.ANALYTICS_POST_EXCEPTION,message:'Failed to log analytics event'});};q.prototype.logAPICall=function(r){"use strict";if(this.$Analytics4.has(r))return new n({code:l.ANALYTICS_POST_EXCEPTION,message:'Already logged this API event'});var s=this.logEvent('_FBInstant',null,{name:r});if(!s)this.$Analytics4.add(r);return s};q.prototype.logBeginAsyncAPICall=function(r){"use strict";return this.logEvent('_FBInstant',null,{name:r,action:'begin'})};q.prototype.logResolveAsyncAPICall=function(r){"use strict";return this.logEvent('_FBInstant',null,{name:r,action:'resolve'})};q.prototype.logRejectAsyncAPICall=function(r){"use strict";return this.logEvent('_FBInstant',null,{name:r,action:'reject'})};q.prototype.$Analytics10=function(){"use strict";if(!this.$Analytics2)return null;return 'https://graph.facebook.com/'+this.$Analytics2+'/activities'};q.prototype.$Analytics11=function(event){"use strict";var r=babelHelpers["extends"]({},event.parameters,{app_id:this.$Analytics2});r[i.EVENT_NAME]=event.eventName;r[i.VALUE_TO_SUM]=event.valueToSum;return JSON.stringify(r)};q.prototype.$Analytics9=function(r){"use strict";if(!this.$Analytics2)return new n({code:l.ANALYTICS_POST_EXCEPTION,message:'Analytics failed to resolve the application ID.'});try{var s=r.map(function(event){return this.$Analytics11(event)}.bind(this)),t=new j();t.append('event','CUSTOM_APP_EVENTS');t.append('extinfo',['ig1']);t.append('user_id',this.$Analytics5);t.append('user_id_type',p);t.append('advertiser_tracking_enabled',1);t.append('application_tracking_enabled',1);t.append('custom_events',s);var u=this.$Analytics10();if(!u)return new n({code:l.ANALYTICS_POST_EXCEPTION,message:'Unable to use the analytics endpoint'});this.$Analytics12(u,t)}catch(v){return new n({code:l.ANALYTICS_POST_EXCEPTION,message:v.message})}return null};q.prototype.$Analytics8=function(){"use strict";this.$Analytics9(this.$Analytics6);this.$Analytics6=[]};q.prototype.$Analytics7=function(){"use strict";var r=window.location.hostname;if(r){var s=this.$Analytics3.exec(r);if(s&&s.length&&s.length>1&&s[1])return s[1];}return null};q.prototype.$Analytics12=function(r,s){"use strict";var t=new XMLHttpRequest();t.open('POST',r);t.setRequestHeader('Content-type','application/x-www-form-urlencoded');t.send(s.toQueryString())};f.exports=q}),null);
  __d("fbinstant/common/supportedFeaturesManager",["Set"],(function a(b,c,d,e,f,g,h){'use strict';function i(){this.$SupportedFeaturesManager1=new h()}i.prototype.setSupported=function(j){this.$SupportedFeaturesManager1=new h(j)};i.prototype.isSupported=function(j){if(this.$SupportedFeaturesManager1.has(j))return true;return false};f.exports=new i()}),null);
  __d("fbinstant/common/supportedMessagesManager",["InstantGamesSDKMessages","Set"],(function a(b,c,d,e,f,g,h,i){'use strict';var j=new i([h.INITIALIZE_ASYNC,h.ON_BEGIN_LOAD,h.ON_CONSOLE,h.ON_PROGRESS_LOAD,h.ON_GAME_READY,h.ON_SCORE,h.ON_SCREENSHOT,h.ON_PICTURE,h.ON_END_GAME,h.GET_PLAYER_DATA_ASYNC,h.SET_PLAYER_DATA_ASYNC]);function k(){this.$SupportedMessagesManager1=new i()}k.prototype.setSupported=function(l){this.$SupportedMessagesManager1=new i(l)};k.prototype.isSupported=function(l){if(j.has(l))return true;return this.$SupportedMessagesManager1.has(l)};f.exports=new k()}),null);
  __d('fbinstant/4.1/internalStates',['fbinstant/4.1/event','fbinstant/4.1/gameContext','fbinstant/common/analytics','fbinstant/common/supportedFeaturesManager','fbinstant/common/supportedMessagesManager'],(function a(b,c,d,e,f,g,h,i,j,k,l){'use strict';function m(){this.$InternalStates1=new j();this.$InternalStates2=null;this.$InternalStates3=null;this.$InternalStates4=new i();this.$InternalStates5=null;this.$InternalStates6=0;this.$InternalStates7=null;this.$InternalStates8='LOADING';this.$InternalStates9=new h();this.$InternalStates10=false;this.$InternalStates11=null;this.$InternalStates12=null;this.$InternalStates13=null;this.$InternalStates14=null;this.$InternalStates15=null;this.$InternalStates16=new h();this.$InternalStates17=new h();this.$InternalStates18=new h();this.$InternalStates19='fbinstant/4.1'.substring('fbinstant/'.length)}m.prototype.initialize=function(n){if(n.appID)this.setAppID(n.appID);this.setLocale(n.locale);this.setPlayerID(n.playerID);this.setPlayerName(n.playerName);this.setPlayerPhoto(n.playerPhoto);if(n.supportedMessages&&Array.isArray(n.supportedMessages))l.setSupported(n.supportedMessages);if(n.supportedFeatures&&Array.isArray(n.supportedFeatures))k.setSupported(n.supportedFeatures);if(n.entryPointData)try{this.setEntryPointData(JSON.parse(n.entryPointData))}catch(o){}this.updateContext(n);this.setInitialized();this.getAnalytics().init(this.getAppID(),this.getPlayerID())};m.prototype.updateContext=function(n){if(!n.contextType)return;this.setContextPlayersPromise(null);this.setContext({id:n.contextID,size:n.contextSize,type:n.contextType})};m.prototype.setAppID=function(n){this.$InternalStates2=n};m.prototype.setLocale=function(n){this.$InternalStates11=n};m.prototype.setPlayerID=function(n){this.$InternalStates13=n};m.prototype.setPlayerName=function(n){this.$InternalStates14=n};m.prototype.setPlayerPhoto=function(n){this.$InternalStates15=n};m.prototype.setEntryPointData=function(n){this.$InternalStates7=n};m.prototype.setContext=function(n){this.$InternalStates4=new i(n)};m.prototype.setInitialized=function(){this.$InternalStates10=true};m.prototype.setPlatform=function(n){this.$InternalStates12=n};m.prototype.setLoadingProgress=function(n){this.$InternalStates6=n};m.prototype.setGameState=function(n){this.$InternalStates8=n};m.prototype.setConnectedPlayersPromise=function(n){this.$InternalStates3=n};m.prototype.setContextPlayersPromise=function(n){this.$InternalStates5=n};m.prototype.getAnalytics=function(){return this.$InternalStates1};m.prototype.getAppID=function(){return this.$InternalStates2};m.prototype.getConnectedPlayersPromise=function(){return this.$InternalStates3};m.prototype.getContext=function(){return this.$InternalStates4};m.prototype.getContextPlayersPromise=function(){return this.$InternalStates5};m.prototype.getLoadingProgress=function(){return this.$InternalStates6};m.prototype.getEntryPointData=function(){return this.$InternalStates7};m.prototype.getGameState=function(){return this.$InternalStates8};m.prototype.getGameStartEvent=function(){return this.$InternalStates9};m.prototype.isInitialized=function(){return this.$InternalStates10};m.prototype.getLocale=function(){return this.$InternalStates11};m.prototype.getPlatform=function(){return this.$InternalStates12};m.prototype.getPlayerID=function(){return this.$InternalStates13};m.prototype.getPlayerName=function(){return this.$InternalStates14};m.prototype.getPlayerPhoto=function(){return this.$InternalStates15};m.prototype.getRestartEvent=function(){return this.$InternalStates16};m.prototype.getPauseEvent=function(){return this.$InternalStates17};m.prototype.getAdClickEvent=function(){return this.$InternalStates18};m.prototype.getSdkVersion=function(){return this.$InternalStates19};f.exports=new m()}),null);
  /**
   * Copyright (C) 2010 by Johannes Baagoe <baagoe@baagoe.org>
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission 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.
   *
   * @providesModule Alea
   * @preserve-header
   */
  __d('Alea',[],(function a(b,c,d,e,f,g){function h(){var j=4022871197,k=function l(m){m=m.toString();for(var n=0;n<m.length;n++){j+=m.charCodeAt(n);var o=.02519603282416938*j;j=o>>>0;o-=j;o*=j;j=o>>>0;o-=j;j+=o*4294967296}return (j>>>0)*2.3283064365386963e-10};k.version='Mash 0.9';return k}function i(){return function(j){var k=0,l=0,m=0,n=1;if(j.length===0)j=[new Date()];var o=new h();k=o(' ');l=o(' ');m=o(' ');for(var p=0;p<j.length;p++){k-=o(j[p]);if(k<0)k+=1;l-=o(j[p]);if(l<0)l+=1;m-=o(j[p]);if(m<0)m+=1;}o=null;var q=function r(){var s=2091639*k+n*2.3283064365386963e-10;k=l;l=m;m=s-(n=s|0);return m};q.version='Alea 0.9';q.args=j;return q}(Array.prototype.slice.call(arguments))}f.exports=i}),null);
  __d('Random',['Alea','ServerNonce'],(function a(b,c,d,e,f,g,h){'use strict';var i=4294967296,j=c('ServerNonce').ServerNonce,k=h(j),l={random:function m(){if(typeof window!=='undefined'&&typeof Uint32Array!=='undefined'){var n=new Uint32Array(1);if(window.crypto&&window.crypto.getRandomValues){return window.crypto.getRandomValues(n)[0]/i}else if(window.msCrypto&&window.msCrypto.getRandomValues)return window.msCrypto.getRandomValues(n)[0]/i;}return k()},uint32:function m(){return Math.floor(this.random()*i)},coinflip:function m(n){return n!==0&&l.random()*n<=1}};f.exports=l}),null);
  __d('Map',[],(function a(b,c,d,e,f,g){'use strict';f.exports=function(h){return h.Map}(b)}),18);
  __d("fbinstant/common/exclusiveMessageManager",["Promise","InstantGamesErrorCode","InstantGamesSDKMessages","Map","fbinstant/common/codedError","invariant"],(function a(b,c,d,e,f,g,h,i,j,k,l,m){'use strict';var n=[j.CONTEXT_CHOOSE_ASYNC,j.CONTEXT_CREATE_ASYNC,j.CONTEXT_SWITCH_ASYNC,j.SHARE_ASYNC],o=[j.FLUSH_PLAYER_DATA_ASYNC,j.SET_PLAYER_DATA_ASYNC],p={};p[j.SHARE_ASYNC]=n;p[j.CONTEXT_CHOOSE_ASYNC]=n;p[j.CONTEXT_CREATE_ASYNC]=n;p[j.CONTEXT_SWITCH_ASYNC]=n;p[j.FLUSH_PLAYER_DATA_ASYNC]=o;p[j.CONTEXT_MATCH_CREATE_ASYNC]=[j.CONTEXT_MATCH_CREATE_ASYNC];function q(){this.$ExclusiveMessageManager1=new k()}q.prototype.isPending=function(r){return this.$ExclusiveMessageManager1.has(r)};q.prototype.lockOrThrow=function(r){if(this.isPending(r)){var s=this.$ExclusiveMessageManager1.get(r);return this.$ExclusiveMessageManager2(String(s))}var t=p[r];if(!t)return h.resolve();for(var u=t,v=Array.isArray(u),w=0,u=v?u:u[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var x;if(v){if(w>=u.length)break;x=u[w++]}else{w=u.next();if(w.done)break;x=w.value}var y=x;if(this.$ExclusiveMessageManager1.has(y)){var z=this.$ExclusiveMessageManager1.get(y);z!==undefined||m(0);return this.$ExclusiveMessageManager2(z)}}for(var aa=t,ba=Array.isArray(aa),ca=0,aa=ba?aa:aa[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var da;if(ba){if(ca>=aa.length)break;da=aa[ca++]}else{ca=aa.next();if(ca.done)break;da=ca.value}var ea=da;this.$ExclusiveMessageManager1.set(ea,r)}return h.resolve()};q.prototype.release=function(r){var s=p[r];if(!s)return;for(var t=s,u=Array.isArray(t),v=0,t=u?t:t[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var w;if(u){if(v>=t.length)break;w=t[v++]}else{v=t.next();if(v.done)break;w=v.value}var x=w;this.$ExclusiveMessageManager1["delete"](x)}};q.prototype.$ExclusiveMessageManager2=function(r){return h.reject(new l({code:i.PENDING_REQUEST,message:'There is currently a pending request for locking message: '+r}))};f.exports=new q()}),null);
  __d("fbinstant/4.1/messageSender",["Promise","InstantGamesErrorCode","InstantGamesSDKMessages","Random","fbinstant/4.1/event","fbinstant/4.1/internalStates","fbinstant/common/codedError","fbinstant/common/exclusiveMessageManager","fbinstant/common/supportedMessagesManager"],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){'use strict';var q={_source:null,_sender:null,_promiseMap:null,_parseData:function r(s){return s},_createPromiseID:function r(s){return s+'_'+k.uint32().toString()},_registerPromise:function r(s,t,u){this._promiseMap[s]={resolve:t,reject:u}},_handlePromise:function r(s,t){var u=s.promiseID;if(!u||!this._promiseMap[u])return;var v=this._promiseMap[u];if(t&&v.resolve){v.resolve(s.data)}else if(!t&&v.reject){var w=s.data;if(!w){w=new n({message:''})}else w=new n({code:w.code||i.UNKNOWN,message:w.message||''});v.reject(w)}delete this._promiseMap[u]},_sendAsyncImpl:function r(s,t){return new h(function(u,v){var w=this._createPromiseID(s);this._registerPromise(w,u,v);var x=t||{};x.promiseID=w;this.send(s,x)}.bind(this))},init:function r(){var s=new RegExp('[?&]source(=([^&#]*)|&|#|$)','i'),t=s.exec(window.location.href);this._promiseMap={};this.resolvePromiseEvent.on(function(w){this._handlePromise(w,true)}.bind(this));this.rejectPromiseEvent.on(function(w){this._handlePromise(w,false)}.bind(this));if(window.IsQuicksilverReactNativeIOS||window.IsQuicksilverReactNativeAndroid){this._sender=parent;this._source='quicksilver-rn';this._parseData=function(w){return JSON.stringify(w)}}else if(window.QuicksilverAndroid){this._sender=window.QuicksilverAndroid;this._source='Android';this._parseData=function(w){return JSON.stringify(w)}}else if(window.webkit&&window.webkit.messageHandlers){if(window.webkit.messageHandlers.quicksilver){this._sender=window.webkit.messageHandlers.quicksilver}else this._sender=parent;this._source='iOS'}else{this._sender=parent;if(!t||!t[2])return;this._source=decodeURIComponent(t[2].replace(/\+/g,' '));var u=new RegExp('[?&]IsMobileWeb(=([^&#]*)|&|#|$)','i'),v=u.exec(window.location.href);if(!v||!v[2])return;window.IsMobileWeb=parseInt(v[2],10)===1}},send:function r(s,t){if(!this._source||!p.isSupported(s))return;this._sender.postMessage(this._parseData({type:s,content:t,destination:this._source}),'*')},sendAsync:function r(s,t){if(!p.isSupported(s))return h.reject(new n({code:i.CLIENT_REQUIRES_UPDATE,message:'Client does not support the message: '+s}));return o.lockOrThrow(s).then(function(){return this._sendAsyncImpl(s,t).then(function(u){o.release(s);return u})["catch"](function(u){o.release(s);throw u})}.bind(this))},sendPassThroughAsync:function r(s,t){var u=JSON.stringify(t),v={data:u,request:s,sdkVersion:m.getSdkVersion()};return this.sendAsync(j.SEND_PASS_THROUGH_ASYNC,v).then(function(w){if(!w)return h.reject(new n({code:i.UNKNOWN,message:'No response data provided'}));var x=JSON.parse(w),y=x.data,z=x.errorCode,aa=x.errorMessage;if(z)return h.reject(new n({code:z,message:aa||''}));return y})},resolvePromiseEvent:new l(),rejectPromiseEvent:new l()};f.exports=q}),null);
  __d("fbinstant/common/validator",["Promise","InstantGamesErrorCode","fbinstant/common/codedError"],(function a(b,c,d,e,f,g,h,i,j){'use strict';var k,l,m,n,o,p,q,r,s,t;u.prototype.validate=function(ba,ca){return ca.validate(ba)["catch"](function(da){var ea=new j({code:i.INVALID_PARAM,message:da.message});throw ea})};u.prototype.object=function(){return new w()};u.prototype.array=function(){return new x()};u.prototype.string=function(){return new y()};u.prototype.number=function(){return new z()};u.prototype["boolean"]=function(){return new aa()};function u(){}function v(){this.errors=[];this.isOptional=false;this.type='Any'}v.prototype.validate=function(ba){this.validator(ba);return new h(function(ca,da){if(this.errors.length>0)return da(new Error(this.errors.map(function(ea){return ea.message}).join('\n')));return ca(ba)}.bind(this))};v.prototype.validator=function(ba){return};v.prototype.optional=function(){this.isOptional=true;return this};v.prototype.addError=function(ba,ca){if(ca){this.errors.push(new Error(ca));return}this.errors.push(new Error('Expected a value of type '+this.type+', received: '+String(ba)))};v.prototype.getErrors=function(){return this.errors};v.prototype.getType=function(){return this.type};k=babelHelpers.inherits(w,v);l=k&&k.prototype;function w(){l.constructor.call(this);this.$ObjectSchema1={};this.$ObjectSchema2=null;this.$ObjectSchema3=null;this.type='Object'}w.prototype.keys=function(ba){this.$ObjectSchema1=ba;return this};w.prototype.maxSize=function(ba){this.$ObjectSchema2=ba;return this};w.prototype.minSize=function(ba){this.$ObjectSchema3=ba;return this};w.prototype.validator=function(ba){if(!ba&&this.isOptional)return;if(typeof ba!=='object'||Array.isArray(ba))this.addError(ba);this.$ObjectSchema4(ba);for(var ca in this.$ObjectSchema1){var da=ba[ca],ea=this.$ObjectSchema1[ca];if(!ea.validator){this.addError(da,'Bad/missing validator for key: '+ca);return}ea.validator(da);var fa=ea.getErrors();if(fa.length>0){var ga='For key '+ca+': ';for(var ha=fa,ia=Array.isArray(ha),ja=0,ha=ia?ha:ha[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var ka;if(ia){if(ja>=ha.length)break;ka=ha[ja++]}else{ja=ha.next();if(ja.done)break;ka=ja.value}var la=ka;ga+='['+la.message+'],'}this.addError(da,ga)}}};w.prototype.$ObjectSchema4=function(ba){if(this.$ObjectSchema2||this.$ObjectSchema3){var ca=JSON.stringify(ba).length;if(this.$ObjectSchema2&&ca>this.$ObjectSchema2)this.errors.push(new Error('Object must be at most '+String(this.$ObjectSchema2)+' characters when stringified, was '+String(ca)));if(this.$ObjectSchema3&&ca<this.$ObjectSchema3)this.errors.push(new Error('Object must be at least '+String(this.$ObjectSchema3)+' characters when stringified, was '+String(ca)));}};m=babelHelpers.inherits(x,v);n=m&&m.prototype;function x(){n.constructor.call(this);this.$ArraySchema1=new v();this.$ArraySchema2=null;this.type='Array'}x.prototype.schemaType=function(ba){this.$ArraySchema1=ba;return this};x.prototype.length=function(ba){this.$ArraySchema2=ba;return this};x.prototype.validator=function(ba){if(!ba&&this.isOptional)return;if(!Array.isArray(ba)){this.addError(ba);return}if(this.$ArraySchema2&&ba.length!==this.$ArraySchema2){this.addError(ba,'Received an array of length '+String(ba.length)+', expected an array of length '+String(this.$ArraySchema2));return}for(var ca=ba,da=Array.isArray(ca),ea=0,ca=da?ca:ca[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var fa;if(da){if(ea>=ca.length)break;fa=ca[ea++]}else{ea=ca.next();if(ea.done)break;fa=ea.value}var ga=fa;if(!this.$ArraySchema1.validator){this.addError(ga,'Bad/missing validator for Array');return}this.$ArraySchema1.validator(ga);var ha=this.$ArraySchema1.getErrors();if(ha.length>0){var ia=this.$ArraySchema1.getType(),ja='Array of type '+ia+' contained a value of another type: '+ga.toString();this.addError(ga,ja);return}}};o=babelHelpers.inherits(y,v);p=o&&o.prototype;function y(){p.constructor.call(this);this.type='String'}y.prototype.validator=function(ba){if(!ba&&this.isOptional)return;if(typeof ba!=='string')this.addError(ba);};q=babelHelpers.inherits(z,v);r=q&&q.prototype;function z(){r.constructor.call(this);this.type='Number'}z.prototype.validator=function(ba){if(!ba&&this.isOptional)return;var ca=typeof ba==='number'&&!isNaN(ba);if(!ca)this.addError(ba);};s=babelHelpers.inherits(aa,v);t=s&&s.prototype;function aa(){t.constructor.call(this);this.type='Boolean'}aa.prototype.validator=function(ba){if(!ba&&this.isOptional)return;if(typeof ba!=='boolean')this.addError(ba);};f.exports=new u()}),null);
  __d('fbinstant/4.1/ads',['InstantGamesSDKMessages','fbinstant/4.1/internalStates','fbinstant/4.1/messageSender','fbinstant/common/validator'],(function a(b,c,d,e,f,g,h,i,j,k){'use strict';function l(m){this.$AdInstance1=m}l.prototype.getPlacementID=function(){return this.$AdInstance1.placementID};l.prototype.loadAsync=function(){var m='AdInstance_loadAsync',n=i.getAnalytics();n.logBeginAsyncAPICall(m);return j.sendAsync(h.LOAD_AD_ASYNC,{adInstanceID:this.$AdInstance1.adInstanceID}).then(function(o){n.logResolveAsyncAPICall(m);return o})['catch'](function(o){n.logRejectAsyncAPICall(m);throw o})};l.prototype.showAsync=function(){var m='AdInstance_showAsync',n=i.getAnalytics();n.logBeginAsyncAPICall(m);return j.sendAsync(h.SHOW_AD_ASYNC,{adInstanceID:this.$AdInstance1.adInstanceID}).then(function(o){n.logResolveAsyncAPICall(m);return o})['catch'](function(o){n.logRejectAsyncAPICall(m);throw o})};l.prototype.onClick=function(m){i.getAnalytics().logAPICall('AdInstance_onClick');i.getAdClickEvent().on(function(n){if(n&&n.adInstanceID===this.$AdInstance1.adInstanceID)m();}.bind(this))};f.exports={AdInstance:l,getInterstitialAdAsync:function m(n){return k.validate(n,k.string()).then(function(){return j.sendAsync(h.GET_INTERSTITIAL_AD_ASYNC,{placementID:n})}).then(function(o){return new l(o)})},getRewardedVideoAsync:function m(n){return k.validate(n,k.string()).then(function(){return j.sendAsync(h.GET_REWARDED_VIDEO_ASYNC,{placementID:n})}).then(function(o){return new l(o)})}}}),null);
  __d("InstantGamesChallengePickerFilter",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NEW_CONTEXT_ONLY:"NEW_CONTEXT_ONLY",INCLUDE_EXISTING_CHALLENGES:"INCLUDE_EXISTING_CHALLENGES"})}),null);
  __d("InstantGamesContextMatchStatus",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTIVE:"ACTIVE",ENDED:"ENDED"})}),null);
  __d("fbinstant/4.1/connectedPlayers",["InstantGamesSDKMessages","fbinstant/4.1/messageSender"],(function a(b,c,d,e,f,g,h,i){'use strict';function j(l){this.$ConnectedPlayer1=l}j.prototype.getID=function(){return this.$ConnectedPlayer1.id};j.prototype.getName=function(){return this.$ConnectedPlayer1.name||null};j.prototype.getPhoto=function(){return this.$ConnectedPlayer1.photo||null};var k={fetchAsync:function l(){return i.sendAsync(h.GET_CONNECTED_PLAYERS_ASYNC,{}).then(function(m){return m.map(function(n){return new j(n)})})},ConnectedPlayer:j};f.exports=k}),null);
  __d("fbinstant/4.1/contextPlayers",["InstantGamesSDKMessages","fbinstant/4.1/messageSender"],(function a(b,c,d,e,f,g,h,i){'use strict';function j(l){this.$ContextPlayer1=l}j.prototype.getID=function(){return this.$ContextPlayer1.id};j.prototype.getName=function(){return this.$ContextPlayer1.name||null};j.prototype.getPhoto=function(){return this.$ContextPlayer1.photo||null};var k={fetchAsync:function l(){return i.sendAsync(h.CONTEXT_PLAYERS_FETCH_ASYNC,{}).then(function(m){return m.map(function(n){return new j(n)})})},ContextPlayer:j};f.exports=k}),null);
  __d('fbinstant/4.1/match',['Promise','InstantGamesContextMatchStatus','InstantGamesErrorCode','InstantGamesSDKMessages','fbinstant/4.1/internalStates','fbinstant/4.1/messageSender','fbinstant/common/codedError','fbinstant/common/validator'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o){'use strict';var p=64,q=2048;function r(s){var t=s.id,u=s.contextID,v=s.status;if(!t||!u||!v)throw new n({code:j.UNKNOWN,message:'Context match store has invalid configuration'});this.$Match1=s;this.$Match1.name=this.$Match1.name!=null?this.$Match1.name:null;this.$Match2=false}r.prototype.getID=function(){l.getAnalytics().logAPICall('match_getID');return this.$Match1.id};r.prototype.getContextID=function(){l.getAnalytics().logAPICall('match_getContextID');return this.$Match1.contextID};r.prototype.getName=function(){l.getAnalytics().logAPICall('match_getName');return this.$Match1.name};r.prototype.getStatus=function(){l.getAnalytics().logAPICall('match_getStatus');return this.$Match1.status};r.prototype.endAsync=function(){var s='match_endAsync',t=l.getAnalytics();t.logBeginAsyncAPICall(s);return this.$Match3().then(function(){return m.sendAsync(k.CONTEXT_MATCH_END_ASYNC,{contextID:this.$Match1.contextID,matchID:this.$Match1.id})}.bind(this)).then(function(u){this.$Match1=u;return this}.bind(this)).then(function(u){t.logResolveAsyncAPICall(s);return this.$Match4().then(function(){return u})}.bind(this))['catch'](function(u){t.logRejectAsyncAPICall(s);return this.$Match4().then(function(){throw u})}.bind(this))};r.prototype.fetchDataAsync=function(s){var t='match_fetchDataAsync',u=l.getAnalytics();u.logBeginAsyncAPICall(t);return o.validate(s,o.array().schemaType(o.string())).then(function(){return m.sendAsync(k.CONTEXT_MATCH_DATA_FETCH_ASYNC,{contextID:this.$Match1.contextID,keys:s,matchID:this.$Match1.id})}.bind(this)).then(this.$Match5).then(function(v){u.logResolveAsyncAPICall(t);return v})['catch'](function(v){u.logRejectAsyncAPICall(t);throw v})};r.prototype.saveDataAsync=function(s){var t='match_saveDataAsync',u=l.getAnalytics();u.logBeginAsyncAPICall(t);return this.$Match3().then(function(){return o.validate(s,o.object())}).then(this.$Match6).then(function(v){return m.sendAsync(k.CONTEXT_MATCH_DATA_SAVE_ASYNC,{contextID:this.$Match1.contextID,matchID:this.$Match1.id,data:v})}.bind(this)).then(function(){u.logResolveAsyncAPICall(t);return this.$Match4().then(function(){return})}.bind(this))['catch'](function(v){u.logRejectAsyncAPICall(t);return this.$Match4().then(function(){throw v})}.bind(this))};r.prototype.incrementDataAsync=function(s){var t='match_incrementDataAsync',u=l.getAnalytics();u.logBeginAsyncAPICall(t);return this.$Match3().then(function(){return o.validate(s,o.object())}).then(function(){for(var v in s)if(!Number.isInteger(s[v]))return h.reject(new n({code:j.INVALID_PARAM,message:'Provided key "'+v+'" contained a non-integer value: '+String(s[v])}));return h.resolve(JSON.stringify(s))}).then(function(v){return m.sendAsync(k.CONTEXT_MATCH_DATA_INC_ASYNC,{contextID:this.$Match1.contextID,data:v,keys:Object.keys(s),matchID:this.$Match1.id})}.bind(this)).then(this.$Match5).then(function(v){u.logResolveAsyncAPICall(t);return this.$Match4().then(function(){return v})}.bind(this))['catch'](function(v){u.logRejectAsyncAPICall(t);return this.$Match4().then(function(){throw v})}.bind(this))};r.prototype.$Match3=function(){if(this.$Match2)return h.reject(new n({code:j.PENDING_REQUEST,message:'Cannot mutate a match that has a pending mutation.'}));if(this.getStatus()===i.ENDED)return h.reject(new n({code:j.INVALID_OPERATION,message:'Cannot mutate a match that has ended.'}));if(l.getContext().getID()!==this.$Match1.contextID)return h.reject(new n({code:j.INVALID_PARAM,message:'Cannot mutate a match in a context other than the current one.'}));this.$Match2=true;return h.resolve()};r.prototype.$Match4=function(){this.$Match2=false;return h.resolve()};r.prototype.$Match6=function(s){var t={};for(var u in s){if(new Blob([u]).size>p)return h.reject(new n({code:j.INVALID_PARAM,message:'Key "'+u+'" in provided data was greater than '+String(p)+' byte limit'}));var v=s[u],w=JSON.stringify(v);if(new Blob([w]).size>q)return h.reject(new n({code:j.INVALID_PARAM,message:'Value "'+w+'" in provided data was greater than '+String(q)+' byte limit'}));t[u]=w}return h.resolve(JSON.stringify(t))};r.prototype.$Match5=function(s){var t=JSON.parse(s),u={};for(var v in t){var w=t[v],x=JSON.parse(w);u[v]=x}return h.resolve(u)};f.exports=r}),null);
  __d('fbinstant/4.1/context',['Promise','InstantGamesChallengePickerFilter','InstantGamesContextMatchStatus','InstantGamesErrorCode','InstantGamesSDKMessages','Set','fbinstant/4.1/connectedPlayers','fbinstant/4.1/contextPlayers','fbinstant/4.1/internalStates','fbinstant/4.1/match','fbinstant/4.1/messageSender','fbinstant/common/codedError','fbinstant/common/validator'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){'use strict';var u={getID:function v(){p.getAnalytics().logAPICall('context_getID');return p.getContext().getID()},getType:function v(){p.getAnalytics().logAPICall('context_getType');return p.getContext().getType().toUpperCase()},isSizeBetween:function v(w,x){p.getAnalytics().logAPICall('context_isSizeBetween');var y=p.getContext().getContextSizeResponse();if(y)return y;var z=p.getContext().getSize();if(w!==null&&!Number.isInteger(w)||x!==null&&!Number.isInteger(x)||z==null)return null;var aa=false;if((!w||z>=w)&&(!x||z<=x))aa=true;var ba={answer:aa,minSize:w,maxSize:x};p.getContext().setContextSizeResponse(ba);return ba},switchAsync:function v(w){var x='context_switchAsync',y=p.getAnalytics();y.logBeginAsyncAPICall(x);if(w===p.getContext().getID()){y.logRejectAsyncAPICall(x);return h.reject(new s({code:k.SAME_CONTEXT,message:'Must specify a context other than the current one.'}))}return t.validate(w,t.string()).then(function(){return r.sendAsync(l.CONTEXT_SWITCH_ASYNC,{id:w})}).then(function(z){p.updateContext(z);y.logResolveAsyncAPICall(x);return})['catch'](function(z){y.logRejectAsyncAPICall(x);throw z})},chooseAsync:function v(w){var x='context_chooseAsync',y=p.getAnalytics();y.logBeginAsyncAPICall(x);var z=w||{};z.filters=z.filters||[];z.maxSize=z.maxSize||null;z.minSize=z.minSize||null;if(z.maxSize&&z.maxSize<2){return h.reject(new s({code:k.INVALID_PARAM,message:'The maximum context size must be at least 2'}))}else if(z.minSize&&z.minSize<2){return h.reject(new s({code:k.INVALID_PARAM,message:'The minimum context size must be at least 2'}))}else if(z.maxSize&&z.minSize&&z.minSize>z.maxSize)return h.reject(new s({code:k.INVALID_PARAM,message:'The min size cannot be greater than the max size'}));for(var aa=z.filters,ba=Array.isArray(aa),ca=0,aa=ba?aa:aa[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var da;if(ba){if(ca>=aa.length)break;da=aa[ca++]}else{ca=aa.next();if(ca.done)break;da=ca.value}var ea=da;if(!Object.prototype.hasOwnProperty.call(i,ea))return h.reject(new s({code:k.INVALID_PARAM,message:'Filter "'+ea+'" is not supported'}));}var fa=t.object().keys({filters:t.array().schemaType(t.string()),maxSize:t.number().optional(),minSize:t.number().optional()});return t.validate(z,fa).then(function(){return r.sendAsync(l.CONTEXT_CHOOSE_ASYNC,z)}).then(function(ga){p.updateContext(ga);y.logResolveAsyncAPICall(x);return})['catch'](function(ga){y.logRejectAsyncAPICall(x);throw ga})},createAsync:function v(w){var x='context_createAsync',y=p.getAnalytics();y.logBeginAsyncAPICall(x);var z=[w];return t.validate(z,t.array().schemaType(t.string()).length(1)).then(function(){var aa=z.indexOf(p.getPlayerID()||'');if(aa>-1)z.splice(aa,1);if(z.length===0)return h.reject(new s({code:k.INVALID_PARAM,message:"At least one player id besides the current player's"+'must be provided.'}));var ba=p.getConnectedPlayersPromise();if(ba)return ba;var ca=n.fetchAsync();p.setConnectedPlayersPromise(ca);return ca}).then(function(aa){var ba=new m(aa.map(function(ha){return ha.getID()}));for(var ca=z,da=Array.isArray(ca),ea=0,ca=da?ca:ca[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var fa;if(da){if(ea>=ca.length)break;fa=ca[ea++]}else{ea=ca.next();if(ea.done)break;fa=ea.value}var ga=fa;if(!ba.has(ga))return h.reject(new s({code:k.INVALID_PARAM,message:'Provided ID '+String(ga)+' is not a connected player of the current player.'}));}return r.sendAsync(l.CONTEXT_CREATE_ASYNC,{playerIDs:z})}).then(function(aa){p.updateContext(aa);y.logResolveAsyncAPICall(x);return})['catch'](function(aa){y.logRejectAsyncAPICall(x);throw aa})},createMatchAsync:function v(w){var x='context_createMatchAsync',y=p.getAnalytics();y.logBeginAsyncAPICall(x);if(p.getContext().getID()===null){y.logRejectAsyncAPICall(x);return h.reject(new s({code:k.INVALID_OPERATION,message:'Cannot create a new match store in a solo context'}))}return t.validate(w,t.string().optional()).then(function(){return r.sendAsync(l.CONTEXT_MATCH_CREATE_ASYNC,{name:w||null})}).then(function(z){return new q(z)}).then(function(z){y.logResolveAsyncAPICall(x);return z})['catch'](function(z){y.logRejectAsyncAPICall(x);throw z})},fetchMatchesAsync:function v(w){var x='context_fetchMatchesAsync',y=p.getAnalytics();y.logBeginAsyncAPICall(x);var z=w||{};z.contextID=z.contextID||p.getContext().getID()||null;z.matches=z.matches||null;z.status=z.status||null;if(z.status!==null&&!Object.prototype.hasOwnProperty.call(j,z.status))return h.reject(new s({code:k.INVALID_PARAM,message:'Value provided for property "status" was not a valid option'}));var aa=t.object().keys({contextID:t.string(),matches:t.array().optional().schemaType(t.string()),status:t.string().optional()});return t.validate(z,aa).then(function(){return r.sendAsync(l.CONTEXT_MATCH_FETCH_ASYNC,z)}).then(function(ba){if(!ba||!Array.isArray(ba))return h.reject(new s({code:k.UNKNOWN,message:'Response data was invalid.'}));return ba.map(function(ca){return new q(ca)})}).then(function(ba){y.logResolveAsyncAPICall(x);return ba})['catch'](function(ba){y.logRejectAsyncAPICall(x);throw ba})},getPlayersAsync:function v(){var w='context_fetchPlayers',x=p.getContextPlayersPromise();if(x)return x;var y=p.getAnalytics();y.logBeginAsyncAPICall(w);if(p.getContext().getID()===null){y.logRejectAsyncAPICall(w);return h.reject(new s({code:k.INVALID_OPERATION,message:'Cannot get context players in a solo context'}))}var z=o.fetchAsync().then(function(aa){y.logResolveAsyncAPICall(w);return aa})['catch'](function(aa){y.logRejectAsyncAPICall(w);p.setConnectedPlayersPromise(null);throw aa});p.setContextPlayersPromise(z);return z}};f.exports=u}),null);
  __d("InstantGameSDKCustomUpdateNotificationType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PUSH:"PUSH",NO_PUSH:"NO_PUSH"})}),null);
  __d("InstantGameSDKEndAction",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({SCORE:"SCORE",CUSTOM:"CUSTOM",NONE:"NONE"})}),null);
  __d("InstantGamesCustomUpdateDeliveryPolicy",[],(function a(b,c,d,e,f,g){f.exports={IMMEDIATE:"IMMEDIATE",LAST:"LAST",IMMEDIATE_CLEAR:"IMMEDIATE_CLEAR"}}),null);
  __d('fbinstant/4.1/endGamePayload',['Promise','InstantGamesCustomUpdateDeliveryPolicy','InstantGameSDKCustomUpdateNotificationType','InstantGameSDKEndAction','fbinstant/common/validator'],(function a(b,c,d,e,f,g,h,i,j,k,l){'use strict';var m={action:k.NONE};n.prototype.format=function(o){if(!o||!(o instanceof Object)||!o.action)return h.resolve(m);switch(o.action){case k.CUSTOM:return this.$EndGamePayload1(o);case k.SCORE:case k.NONE:return this.$EndGamePayload2(o);default:return this.$EndGamePayload2(babelHelpers['extends']({},o,m));}};n.prototype.$EndGamePayload1=function(o){var p=o.strategy&&o.strategy in i?o.strategy:i.IMMEDIATE,q=o.notification&&o.notification in j?o.notification:j.NO_PUSH,r=babelHelpers['extends']({},o,{strategy:p,notification:q}),s=l.object().keys({action:l.string(),template:l.string(),cta:l.string().optional(),image:l.string(),text:l.string(),data:l.object().optional().maxSize(1000),strategy:l.string(),notification:l.string()});return this.$EndGamePayload3(r,s,['action','cta','image','text','data','strategy'],['data'])};n.prototype.$EndGamePayload2=function(o){var p=this.$EndGamePayload4(o,['action']);return h.resolve(p)};n.prototype.$EndGamePayload3=function(o,p,q){var r=arguments.length<=3||arguments[3]===undefined?[]:arguments[3];return l.validate(o,p).then(function(s){return h.resolve(this.$EndGamePayload4(s,q,r))}.bind(this))};n.prototype.$EndGamePayload4=function(o,p){var q=arguments.length<=2||arguments[2]===undefined?[]:arguments[2],r=babelHelpers['extends']({},o),s={};for(var t in r)if(q.indexOf(t)!==-1)try{r[t]=JSON.stringify(r[t])}catch(v){}for(var u in r)if(p.indexOf(u)===-1){s[u]=r[u];delete r[u]}r.extra=JSON.stringify(s);return r};function n(){}f.exports=new n()}),null);
  __d('fbinstant/4.1/messageReceiver',[],(function a(b,c,d,e,f,g){'use strict';var h={_messageMap:null,_messageDispatcher:function i(j){if(j.data&&j.data.source){var k=j.data.type;if(!k)return;var l=this._messageMap[k];if(!l)return;l(j.data.content)}},init:function i(){this._messageMap={};window.addEventListener('message',this._messageDispatcher.bind(this))},registerMessageHandler:function i(j,k,l){if(l){this._messageMap[j]=k.triggerSubscribers.bind(k,l)}else this._messageMap[j]=k.triggerSubscribers.bind(k);}};f.exports=h}),null);
  __d("fbinstant/4.1/auth",["InstantGamesSDKMessages","fbinstant/4.1/messageSender"],(function a(b,c,d,e,f,g,h,i){'use strict';function j(k){this.$SignedPlayerInfo1=k}j.prototype.getPlayerID=function(){return this.$SignedPlayerInfo1.playerID};j.prototype.getSignature=function(){return this.$SignedPlayerInfo1.signature};f.exports={SignedPlayerInfo:j,getSignedPlayerInfoAsync:function k(l){return i.sendAsync(h.GET_SIGNED_PLAYER_INFO_ASYNC,{requestPayload:l||null}).then(function(m){return new j(m)})}}}),null);
  __d('fbinstant/4.1/player',['Promise','InstantGamesErrorCode','InstantGamesSDKMessages','fbinstant/4.1/auth','fbinstant/4.1/connectedPlayers','fbinstant/4.1/internalStates','fbinstant/4.1/messageSender','fbinstant/common/codedError','fbinstant/common/validator'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){'use strict';var q={getID:function r(){m.getAnalytics().logAPICall('player_getID');return m.getPlayerID()},getSignedPlayerInfoAsync:function r(s){var t='player_getSignedPlayerInfoAsync',u=m.getAnalytics();u.logBeginAsyncAPICall(t);var v=p.string().optional();return p.validate(s,v).then(function(){return k.getSignedPlayerInfoAsync(s)}).then(function(w){u.logResolveAsyncAPICall(t);return w})['catch'](function(w){u.logRejectAsyncAPICall(t);throw w})},getName:function r(){m.getAnalytics().logAPICall('player_getName');return m.getPlayerName()},getPhoto:function r(){m.getAnalytics().logAPICall('player_getPhoto');return m.getPlayerPhoto()},getDataAsync:function r(s){var t='player_getDataAsync',u=m.getAnalytics();u.logBeginAsyncAPICall(t);var v=p.array().schemaType(p.string());return p.validate(s,v).then(function(){return n.sendAsync(j.GET_PLAYER_DATA_ASYNC,{keys:s})}).then(function(w){u.logResolveAsyncAPICall(t);return w})['catch'](function(w){u.logRejectAsyncAPICall(t);throw w})},setDataAsync:function r(s){var t='player_setDataAsync',u=m.getAnalytics();u.logBeginAsyncAPICall(t);var v=function x(y){for(var z=Object.keys(y),aa=Array.isArray(z),ba=0,z=aa?z:z[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var ca;if(aa){if(ba>=z.length)break;ca=z[ba++]}else{ba=z.next();if(ba.done)break;ca=ba.value}var da=ca,ea=y[da];if(typeof ea==='function')return true;}return false},w=function x(y){try{JSON.stringify(y);return false}catch(z){return true}};return p.validate(s,p.object()).then(function(x){if(v(x)||w(x)){u.logRejectAsyncAPICall(t);return h.reject(new o({code:i.INVALID_PARAM,message:'Object is not serializable'}))}return x}).then(function(x){return n.sendAsync(j.SET_PLAYER_DATA_ASYNC,{data:s})}).then(function(x){u.logResolveAsyncAPICall(t);return x})['catch'](function(x){u.logRejectAsyncAPICall(t);throw x})},flushDataAsync:function r(){var s='player_flushDataAsync',t=m.getAnalytics();t.logBeginAsyncAPICall(s);return n.sendAsync(j.FLUSH_PLAYER_DATA_ASYNC,null).then(function(u){t.logResolveAsyncAPICall(s);return u})['catch'](function(u){t.logRejectAsyncAPICall(s);throw u})},getConnectedPlayersAsync:function r(){var s='player_getConnectedPlayers',t=m.getConnectedPlayersPromise();if(t)return t;var u=m.getAnalytics();u.logBeginAsyncAPICall(s);var v=l.fetchAsync().then(function(w){u.logResolveAsyncAPICall(s);return w})['catch'](function(w){u.logRejectAsyncAPICall(s);m.setConnectedPlayersPromise(null);throw w});m.setConnectedPlayersPromise(v);return v}};f.exports=q}),null);
  __d('WebStorage',['ErrorUtils','ex'],(function a(b,c,d,e,f,g,h,i){var j={},k={};function l(r,s,t){if(!Object.prototype.hasOwnProperty.call(j,t))j[t]=s(t);return j[t]}function m(r){try{return window[r]}catch(s){}return null}function n(r){try{var s=window[r];if(s){var t='__test__'+ES('Date','now',false);s.setItem(t,'');s.removeItem(t)}return s}catch(u){}return null}function o(r){var s=[];for(var t=0;t<r.length;t++)s.push(r.key(t)||'');return s}function p(r,s,t){var u=null;try{r.setItem(s,t)}catch(w){var v=ES(o(r),'map',true,function(x){var y=(r.getItem(x)||'').length;return x+'('+y+')'});u=new Error(i('%sStorage quota exceeded while setting %s(%s). Items(length) follows: '+'%s',w.name?w.name+': ':'',s,t.length,v.join()));h.reportError(u)}return u}var q={getLocalStorage:function r(){return l(j,n,'localStorage')},getSessionStorage:function r(){return l(j,n,'sessionStorage')},getLocalStorageForRead:function r(){return l(k,m,'localStorage')},getSessionStorageForRead:function r(){return l(k,m,'sessionStorage')},setItemGuarded:p};f.exports=q}),18);
  __d("fbinstant/4.1/playerInfo",["Promise","Random","WebStorage"],(function a(b,c,d,e,f,g,h,i,j){'use strict';var k='INSTANT_GAMES_LOCAL_PLAYER_ID',l='en_US',m={getAsync:function n(){return new h(function(o,p){var q=i.uint32().toString(),r=j.getLocalStorage();if(r){var s=r.getItem(k);if(s){q=s}else r.setItem(k,q);}window.setTimeout(function(){o({id:q,locale:l})},50)})}};f.exports=m}),null);
  __d('ES6Array',[],(function a(b,c,d,e,f,g){'use strict';var h={from:function i(j){if(j==null)throw new TypeError('Object is null or undefined');var k=arguments[1],l=arguments[2],m=this,n=Object(j),o=typeof Symbol==='function'?typeof Symbol==='function'?Symbol.iterator:'@@iterator':'@@iterator',p=typeof k==='function',q=typeof n[o]==='function',r=0,s=void 0,t=void 0;if(q){s=typeof m==='function'?new m():[];var u=n[o](),v=void 0;while(!(v=u.next()).done){t=v.value;if(p)t=k.call(l,t,r);s[r]=t;r+=1}s.length=r;return s}var w=n.length;if(isNaN(w)||w<0)w=0;s=typeof m==='function'?new m(w):new Array(w);while(r<w){t=n[r];if(p)t=k.call(l,t,r);s[r]=t;r+=1}s.length=r;return s}};f.exports=h}),null);
  __d("fbinstant/4.1/supportedFunctions",["ES6Array","InstantGamesSDKFeatures","InstantGamesSDKMessages","Set","fbinstant/common/supportedFeaturesManager","fbinstant/common/supportedMessagesManager"],(function a(b,c,d,e,f,g,h,i,j,k,l,m){'use strict';var n=new k(['getLocale','getPlatform','getSDKVersion','getSupportedAPIs','getEntryPointData','player.getID','player.getName','player.getPhoto','context.getID','context.getType','context.isSizeBetween','logEvent','onPause']),o={initializeAsync:j.INITIALIZE_ASYNC,setLoadingProgress:j.ON_PROGRESS_LOAD,setSessionData:j.SET_SESSION_DATA,startGameAsync:j.ON_GAME_READY,'player.flushDataAsync':j.FLUSH_PLAYER_DATA_ASYNC,'player.getDataAsync':j.GET_PLAYER_DATA_ASYNC,'player.setDataAsync':j.SET_PLAYER_DATA_ASYNC,'player.getConnectedPlayersAsync':j.GET_CONNECTED_PLAYERS_ASYNC,'player.getSignedPlayerInfoAsync':j.GET_SIGNED_PLAYER_INFO_ASYNC,'context.switchAsync':j.CONTEXT_SWITCH_ASYNC,'context.chooseAsync':j.CONTEXT_CHOOSE_ASYNC,'context.createAsync':j.CONTEXT_CREATE_ASYNC,'context.createMatchAsync':j.CONTEXT_MATCH_CREATE_ASYNC,'context.fetchMatchesAsync':j.CONTEXT_MATCH_FETCH_ASYNC,'context.getPlayersAsync':j.CONTEXT_PLAYERS_FETCH_ASYNC,shareAsync:j.SHARE_ASYNC,quit:j.QUIT},p={updateAsync:function u(){return l.isSupported(i.FLEXIBLE)}};function q(){var u=r(),v=s();return h.from(n).concat(u).concat(v)}function r(){var u=new k();for(var v in o){var w=o[v];if(m.isSupported(w))u.add(v);}return h.from(u)}function s(){var u=new k();for(var v in p){var w=p[v]();if(w)u.add(v);}return h.from(u)}var t={getSupported:q};f.exports=t}),null);
  __d('fbinstant/common/consoleLogger',[],(function a(b,c,d,e,f,g){'use strict';var h={init:function i(j){if(!j)return;window.addEventListener('error',function(k){var l={type:'error',message:k&&k.message||null,filename:k&&k.filename||null,lineno:k&&k.lineno||null,colno:k&&k.colno||null,stack:k&&k.error&&k.error.stack||null};try{l.print=JSON.stringify(l)}catch(m){l.print=l.message}j(l)})}};f.exports=h}),null);
  __d('fbinstant/common/event',[],(function a(b,c,d,e,f,g){'use strict';function h(){this.$Event1=[]}h.prototype.on=function(i){this.$Event1.push(i)};h.prototype.off=function(i){for(var j=0;j<this.$Event1.length;j++)if(this.$Event1[j]===i){this.$Event1.splice(j,1);return}};h.prototype.unbind=function(){this.$Event1=[]};h.prototype.triggerSubscribers=function(i){for(var j=0;j<this.$Event1.length;j++)this.$Event1[j](i);};f.exports=h}),null);
  __d('fbinstant/common/requestAnimationFrameListener',['fbinstant/common/event'],(function a(b,c,d,e,f,g,h){'use strict';var i=['requestAnimationFrame','webkitRequestAnimationFrame','mozRequestAnimationFrame','msRequestAnimationFrame'];function j(){this.$requestAnimationFrameListener1=new h()}j.prototype.init=function(){for(var k=i,l=Array.isArray(k),m=0,k=l?k:k[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var n;if(l){if(m>=k.length)break;n=k[m++]}else{m=k.next();if(m.done)break;n=m.value}var o=n;this.$requestAnimationFrameListener2(o)}};j.prototype.on=function(k){this.$requestAnimationFrameListener1.on(k)};j.prototype.$requestAnimationFrameListener2=function(k){var l=window[k];if(l)window[k]=function(m){l(function(n){m(n);this.$requestAnimationFrameListener1.triggerSubscribers(n)}.bind(this))}.bind(this);};f.exports=new j()}),null);
  __d("fbinstant/common/performanceTracker",["InstantGamesSDKMessages","fbinstant/common/requestAnimationFrameListener"],(function a(b,c,d,e,f,g,h,i){'use strict';var j=1.5;(function(){var l;if(!window.performance)window.performance={};if(!window.performance.now)(function(){var m=Date.now();window.performance.now=function(){return Date.now()-m}})();})();function k(){this.$PerformanceTracker1=0;this.$PerformanceTracker2=0;this.$PerformanceTracker3=0;this.$PerformanceTracker4=0}k.prototype.init=function(l){this.$PerformanceTracker5=l;i.init();this.$PerformanceTracker1=window.performance.now();i.on(function(m){var n=m-this.$PerformanceTracker1;if(this.$PerformanceTracker4&&n>j*this.$PerformanceTracker4)this.$PerformanceTracker5.send(h.ON_FRAME_DROP,n);this.$PerformanceTracker2+=n;this.$PerformanceTracker3++;this.$PerformanceTracker1=m}.bind(this));window.setInterval(function(){if(this.$PerformanceTracker3){var m=this.$PerformanceTracker2/this.$PerformanceTracker3;this.$PerformanceTracker4=m;this.$PerformanceTracker5.send(h.AVERAGE_FRAME_TIME,m)}this.$PerformanceTracker2=0;this.$PerformanceTracker3=0}.bind(this),1000)};f.exports=new k()}),null);
  __d('fbinstant/4.1',['Promise','InstantGamesErrorCode','InstantGamesSDKFeatures','InstantGamesSDKMessages','fbinstant/4.1/ads','fbinstant/4.1/context','fbinstant/4.1/endGamePayload','fbinstant/4.1/internalStates','fbinstant/4.1/messageReceiver','fbinstant/4.1/messageSender','fbinstant/4.1/player','fbinstant/4.1/playerInfo','fbinstant/4.1/supportedFunctions','fbinstant/common/codedError','fbinstant/common/consoleLogger','fbinstant/common/performanceTracker','fbinstant/common/supportedFeaturesManager','fbinstant/common/validator'],(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){'use strict';var z={getLocale:function aa(){o.getAnalytics().logAPICall('getLocale');return o.getLocale()},getPlatform:function aa(){o.getAnalytics().logAPICall('getPlatform');return o.getPlatform()},getSDKVersion:function aa(){o.getAnalytics().logAPICall('getSDKVersion');return o.getSdkVersion()},initializeAsync:function aa(){var ba='initializeAsync';if(o.isInitialized())return h.reject(new u({code:i.INVALID_OPERATION,message:'Game has already been initialized.'}));var ca=this;return new h(function(da,ea){o.getAnalytics().logBeginAsyncAPICall(ba);q.init();q.send(k.ON_BEGIN_LOAD,100);v.init(function(fa){q.send(k.ON_CONSOLE,fa)});p.init();p.registerMessageHandler(k.RESTART,o.getRestartEvent(),null);p.registerMessageHandler(k.RESOLVE_PROMISE,q.resolvePromiseEvent,null);p.registerMessageHandler(k.REJECT_PROMISE,q.rejectPromiseEvent,null);p.registerMessageHandler(k.PAUSE,o.getPauseEvent(),null);p.registerMessageHandler(k.AD_CLICK,o.getAdClickEvent(),null);o.getGameStartEvent().on(function(){o.setGameState('STARTED')});p.registerMessageHandler(k.GAME_START,o.getGameStartEvent(),null);ca._populatePlatform();q.sendAsync(k.INITIALIZE_ASYNC,{sdkVersion:ca.sdkVersion}).then(function(fa){if(!o.isInitialized())o.initialize(fa);o.getAnalytics().logResolveAsyncAPICall(ba);da()})['catch'](function(fa){o.getAnalytics().logRejectAsyncAPICall(ba);ea(fa)}).done();window.setTimeout(function(){s.getAsync().then(function(fa){if(!o.isInitialized()){o.setLocale(fa.locale);o.setPlayerID(fa.id);o.setInitialized();var ga=o.getAnalytics();ga.init(null,fa.id);ga.logResolveAsyncAPICall(ba);da()}})['catch'](function(fa){o.getAnalytics().logRejectAsyncAPICall(ba);ea(fa)}).done()},10000)})},_populatePlatform:function aa(){if(window.IsQuicksilverReactNativeIOS||window.webkit){o.setPlatform('IOS')}else if(window.IsQuicksilverReactNativeAndroid||window.QuicksilverAndroid){o.setPlatform('ANDROID')}else if(window.IsMobileWeb){o.setPlatform('MOBILE_WEB')}else o.setPlatform('WEB');},setLoadingProgress:function aa(ba){if(ba>=0&&ba<=100&&ba>o.getLoadingProgress()){q.send(k.ON_PROGRESS_LOAD,ba);o.setLoadingProgress(ba)}else{var ca='FbInstant::setLoadingProgress(',da=') is invalid. The progress must be';if(!(ba<0||ba>100))ba<=o.getLoadingProgress();}},getSupportedAPIs:function aa(){return t.getSupported()},getEntryPointData:function aa(){o.getAnalytics().logAPICall('getEntryPointData');return o.getEntryPointData()},setSessionData:function aa(ba){o.getAnalytics().logAPICall('setSessionData');var ca=ba;y.validate(ca,y.object().maxSize(1000)).done(function(){q.send(k.SET_SESSION_DATA,JSON.stringify(ca))})},startGameAsync:function aa(){var ba='startGameAsync';return new h(function(ca,da){var ea,fa=o.getAnalytics();fa.logBeginAsyncAPICall(ba);if(o.getGameState()==='STARTED'){fa.logResolveAsyncAPICall(ba);ca()}else (function(){w.init(q);q.send(k.ON_GAME_READY);var ga=function ha(ia){o.getGameStartEvent().off(ha);o.setGameState('STARTED');fa.logActive();if(ia)o.updateContext(ia);if(!x.isSupported(j.FLEXIBLE)){fa.logRejectAsyncAPICall(ba);da(new u({code:i.CLIENT_REQUIRES_UPDATE,message:'Client does not support the flexible platform.'}));return}fa.logResolveAsyncAPICall(ba);ca()};o.getGameStartEvent().on(ga)})();})},player:r,context:m,shareAsync:function aa(ba){var ca='shareAsync',da=y.object().keys({intent:y.string(),image:y.string(),text:y.string(),data:y.object().optional().maxSize(1000)}),ea=o.getAnalytics();ea.logBeginAsyncAPICall(ca);return y.validate(ba,da).then(function(){var fa=babelHelpers['extends']({},ba);if(ba.data)fa.data=JSON.stringify(ba.data);return q.sendAsync(k.SHARE_ASYNC,fa)}).then(function(){ea.logResolveAsyncAPICall(ca)})['catch'](function(fa){ea.logRejectAsyncAPICall(ca);throw fa})},updateAsync:function aa(ba){var ca='updateAsync';return new h(function(da,ea){n.format(ba).then(function(fa){var ga=o.getAnalytics();ga.logBeginAsyncAPICall(ca);q.send(k.ON_END_GAME,fa);o.getRestartEvent().on(function(ha){if(ha&&ha.error){ga.logRejectAsyncAPICall(ca);ea(new u({message:ha.error.message}));return}if(ha&&ha.contextType)o.updateContext(ha);ga.logResolveAsyncAPICall(ca);da();o.getRestartEvent().unbind()})})['catch'](function(fa){ea(fa)})})},quit:function aa(){o.getAnalytics().logAPICall('quit');q.send(k.QUIT,{})},logEvent:function aa(ba,ca,da){return o.getAnalytics().logEvent(ba,ca,da)},onPause:function aa(ba){o.getAnalytics().logAPICall('onPause');o.getPauseEvent().on(ba)},getInterstitialAdAsync:function aa(ba){var ca='getInterstitialAdAsync',da=o.getAnalytics();da.logBeginAsyncAPICall(ca);var ea=y.string();return y.validate(ba,ea).then(function(){return l.getInterstitialAdAsync(ba)}).then(function(fa){da.logResolveAsyncAPICall(ca);return fa})['catch'](function(fa){da.logRejectAsyncAPICall(ca);throw fa})},getRewardedVideoAsync:function aa(ba){var ca='getRewardedVideoAsync',da=o.getAnalytics();da.logBeginAsyncAPICall(ca);var ea=y.string();return y.validate(ba,ea).then(function(){return l.getRewardedVideoAsync(ba)}).then(function(fa){da.logResolveAsyncAPICall(ca);return fa})['catch'](function(fa){da.logRejectAsyncAPICall(ca);throw fa})}};f.exports=z}),null);
  __d("legacy:fbinstant.4.1.all",["fbinstant/4.1"],(function a(b,c,d,e,f,g){'use strict';window.FBInstant=c("fbinstant\/4.1")}),3);
      }  }).call(global);})(window.inDapIF ? parent.window : window, window);} catch (e) {new Image().src="https:\/\/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":"3288106","namespace":"FB","message":"'+e.message+'"}}');}