if (self.CavalryLogger) { CavalryLogger.start_js(["7T+wt"]); } self.__DEV__=self.__DEV__||0,self.emptyFunction=function(){}; "use strict"; (function(){"use strict";var a=Array.prototype.indexOf;Array.prototype.includes||(Array.prototype.includes=function(d){"use strict";if(d!==void 0&&Array.isArray(this)&&!Number.isNaN(d))return a.apply(this,arguments)!==-1;var e=Object(this),f=e.length?b(e.length):0;if(f===0)return!1;var g=arguments.length>1?c(arguments[1]):0,h=g<0?Math.max(f+g,0):g,i=Number.isNaN(d);while(h=0?1:-1}})(); var __p; (function(){var a={},b=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},c=function(a,c){return b(a&&/^[A-Z]/.test(a)?a:void 0,c&&(c.params&&c.params.length||c.returns)?"function("+(c.params?c.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(c.returns?":"+c.returns:""):void 0)},d=function(a,b,c){return a},e=function(a,b,d){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=c(b?b.name:void 0,d);b&&__w(a,b)}return a},f=function(a,b,c){return c.apply(a,b)},g=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c},h=function(b,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;a[e]=(a[e]||0)+1}return d.apply(b,c)};typeof __transform_includes==="undefined"?(__annotator=d,__bodyWrapper=f):(__annotator=e,"codeusage"in __transform_includes?(__annotator=d,__bodyWrapper=h,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=g:__bodyWrapper=f)})(); __t=function(a){return a[0]},__w=function(a){return a}; (function(a,b){var c="keys",d="values",e="entries",f=function(){var a=h(Array),b;a||(b=function(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=0}var b=a.prototype;b.next=function(){if(this.$1==null)return{value:void 0,done:!0};var a=this.$1,b=this.$1.length,f=this.$3,g=this.$2;if(f>=b){this.$1=void 0;return{value:void 0,done:!0}}this.$3=f+1;if(g===c)return{value:f,done:!1};else if(g===d)return{value:a[f],done:!1};else if(g===e)return{value:[f,a[f]],done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}());return{keys:a?function(a){return a.keys()}:function(a){return new b(a,c)},values:a?function(a){return a.values()}:function(a){return new b(a,d)},entries:a?function(a){return a.entries()}:function(a){return new b(a,e)}}}(),g=function(){var a=h(String),b;a||(b=function(){"use strict";function a(a){this.$1=a,this.$2=0}var b=a.prototype;b.next=function(){if(this.$1==null)return{value:void 0,done:!0};var a=this.$2,b=this.$1,c=b.length;if(a>=c){this.$1=void 0;return{value:void 0,done:!0}}var d=b.charCodeAt(a);if(d<55296||d>56319||a+1===c)d=b[a];else{c=b.charCodeAt(a+1);c<56320||c>57343?d=b[a]:d=b[a]+b[a+1]}this.$2=a+d.length;return{value:d,done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}());return{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:a?function(a){return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]()}:function(a){return new b(a)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}}();function h(a){return typeof a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]==="function"&&typeof a.prototype.values==="function"&&typeof a.prototype.keys==="function"&&typeof a.prototype.entries==="function"}var i=function(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=Object.keys(a),this.$4=0}var b=a.prototype;b.next=function(){var a=this.$3.length,b=this.$4,f=this.$2,g=this.$3[b];if(b>=a){this.$1=void 0;return{value:void 0,done:!0}}this.$4=b+1;if(f===c)return{value:g,done:!1};else if(f===d)return{value:this.$1[g],done:!1};else if(f===e)return{value:[g,this.$1[g]],done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}(),j={keys:function(a){return new i(a,c)},values:function(a){return new i(a,d)},entries:function(a){return new i(a,e)}};function k(a,b){if(typeof a==="string")return g[b||d](a);else if(Array.isArray(a))return f[b||d](a);else if(a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();else return j[b||e](a)}Object.assign(k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function(a){return k(a,c)},values:function(a){return k(a,d)},entries:function(a){return k(a,e)},generic:j.entries});a.FB_enumerate=k})(typeof global==="undefined"?this:global); typeof window!=="undefined"&&window.JSON&&JSON.stringify(["\u2028\u2029"])==='["\u2028\u2029"]'&&(JSON.stringify=function(a){var b=/\u2028/g,c=/\u2029/g;return function(d,e,f){d=a.call(this,d,e,f);d&&(-1>0;b=String(b||" ");if(this.length>a)return String(this);else{a=a-this.length;a>b.length&&(b+=b.repeat(a/b.length));return b.slice(0,a)+String(this)}}),String.prototype.padEnd||(String.prototype.padEnd=function(a,b){a=a>>0;b=String(b||" ");if(this.length>a)return String(this);else{a=a-this.length;a>b.length&&(b+=b.repeat(a/b.length));return String(this)+b.slice(0,a)}}); String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/,"")}); (function(a){var b=a.babelHelpers={},c=Object.prototype.hasOwnProperty;b.inheritsLoose=function(a,b){Object.assign(a,b);a.prototype=Object.create(b&&b.prototype);a.prototype.constructor=a;a.__superConstructor__=b;return b};b.wrapNativeSuper=function(a){var c=typeof Map==="function"?new Map():void 0;b.wrapNativeSuper=function(a){if(a===null)return null;if(typeof a!=="function")throw new TypeError("Super expression must either be null or a function");if(c!==void 0){if(c.has(a))return c.get(a);c.set(a,d)}b.inheritsLoose(d,a);function d(){a.apply(this,arguments)}return d};return b.wrapNativeSuper(a)};b.assertThisInitialized=function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a};b._extends=Object.assign;b["extends"]=b._extends;b.construct=function(a,b){var c=[null];c.push.apply(c,b);return new(Function.prototype.bind.apply(a,c))()};b.objectWithoutPropertiesLoose=function(a,b){var d={};for(var e in a){if(!c.call(a,e)||b.indexOf(e)>=0)continue;d[e]=a[e]}return d};b.taggedTemplateLiteralLoose=function(a,b){b||(b=a.slice(0));a.raw=b;return a};b.bind=Function.prototype.bind})(typeof global==="undefined"?self:global); (function(a){if(a.require)return;var b=(a.Env||{}).gk_require_dic,c=null,d=[],e=b?Object.create(null):{},f=b?Object.create(null):{},g=0,h=0,i=0,j=1,k=2,l=4,m=8,n={},o=Object.prototype.hasOwnProperty,p=Object.prototype.toString;function q(a){a=Array.prototype.slice.call(a);var b={},c,d,f,g;while(a.length){d=a.shift();if(b[d])continue;b[d]=!0;f=e[d];if(!f||Q(f))continue;if(f.dependencies)for(c=0;c0){b=d;d=[];while(b.length>0)y.call(null,b.pop().id)}return k}function I(a){var b=e[a];if(b)return b;b=new J(a,0);e[a]=b;return b}function J(a,b,c,d,e,f,g){this.id=a,this.refcount=b,this.exports=c||null,this.factory=d,this.factoryLength=-1,this.factoryFinished=!1,this.dependencies=e,this.depPosition=0,this.context=f,this.special=g||0,this.hasError=!1,this.error=null,this.ranRecursiveSideEffects=!1,this.sideEffectDependencyException=null,this.nextDepWaitingHead=null,this.nextDepWaitingNext=null,this.tarjanGeneration=-1,this.tarjanLow=0,this.tarjanIndex=0,this.tarjanOnStack=!1}function K(a){if(!e[a])return;var b=e[a];e[a]=void 0;if(b.dependencies)for(var a=0;a0?a.join(",")+"__":"")+g++,a,$()(b,"requireLazy",{propagationType:0}),j,c,1)}function M(a){return"__mod__"+(a?a+"__":"")+g++}function N(a,b,c){c.tarjanGeneration!=h&&(c.tarjanGeneration=h,c.tarjanLow=c.tarjanIndex=i++,c.tarjanOnStack=!0,b.push(c));if(c.dependencies!=null)for(var d=c.depPosition;d=a.dependencies.length}function R(a){a.depPosition++,T(a)}function S(a){var b=a.nextDepWaitingHead;a.nextDepWaitingHead=null;while(b!==null){a=b;b=a.nextDepWaitingNext;a.nextDepWaitingNext=null;var c=!e[a.id];c||R(a)}}function aa(a){return a.special&j}function T(a){while(a.depPosition1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d2?e-2:0),i=2;i0&&(d+=" Params: "+c.map(function(a){return"%s"}).join(", "));a=b("Env").show_invariant_decoder===!0?"visit "+i(a,c)+" to see the full message.":"";return{message:d,decoderLink:a}}function i(a,b){a="https://our.intern.facebook.com/intern/invariant/"+a+"/";b.length>0&&(a+="?"+b.map(function(a,b){return"args["+b+"]="+encodeURIComponent(String(a))}).join("&"));return a}e.exports=a}),null); __d("ArbiterToken",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(){__p&&__p();function a(a,b){this.unsubscribe=function(){for(var a=0;a"}function b(a){try{var b=l(a,/^<\!\[EX\[(\[.*\])\]\]>$/);b=b?JSON.parse(b[0]):[a];var c=b[0];b=b.slice(1);c=k(c);b&&b.length>0&&(c.params=b);return c}catch(b){return{message:"Unable to parse error message %s because %s",params:[a,b.message]}}}function g(a){var b=a.message||"",c=a.params||[],d=0;a=b.replace(/%s/g,function(){return d0?" TAAL["+a.join(";")+"]":""}function j(a){return((a=a.params)!=null?a:[]).map(function(a){return String(a)})}function k(a){__p&&__p();var b=l(a,/^(.*) TAAL\[([1234](?:;[1234])*)\]$/);b=(b=b)!=null?b:[a,null];a=b[0];b=b[1];a={message:a};if(b){b=b.split(";").map(function(a){return parseInt(a,10)});b.length>0&&(a.taalOpcodes=b)}return a}function l(a,b){if(typeof a==="string"){a=a.match(b);if(a&&a.length>0)return a.slice(1)}}e.exports={parse:b,stringify:a,toFormattedMessage:c,toFormattedMessageNoTAAL:g,toMessageWithParams:h}}),null); __d("FBLoggerMetadata",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a=function(){__p&&__p();function a(){this.metadata=[].concat(g)}var b=a.prototype;b.addMetadata=function(a,b,c){this.metadata.push([a,b,c]);return this};b.isEmpty=function(){return this.metadata.length===0};b.formatMetadata=function(){var a=[];this.metadata.forEach(function(b){if(b&&b.length){b=b.map(function(a){return a!=null?String(a).replace(/:/g,"_"):""}).join(":");a.push(b)}});return a};a.addGlobalMetadata=function(a,b,c){g.push([a,b,c])};a.getGlobalMetadata=function(){return g};a.unsetGlobalMetadata=function(a,b){g=g.filter(function(c){return!(Array.isArray(c)&&c[0]===a&&c[1]===b)})};return a}();e.exports=a}),null); __d("ErrorNormalizeUtils",["ErrorSerializer","FBLoggerMetadata"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=/^https?:\/\//i,h=/^Type Mismatch for/,i=/^at .*eval eval (at .*\:\d+\:\d+), .*$/,j=/(.*)[@\s][^\s]+$/,k=["Unknown script code","Function code","eval code"];Error.stackTraceLimit!=null&&Error.stackTraceLimit<40&&(Error.stackTraceLimit=40);function l(a){a=a.columnNumber||a.column;return a!=null?String(a):""}function m(a){return a[0]&&a[0].column||""}function n(a){a=a.lineNumber||a.line;return a!=null?String(a):""}function o(a){return a[0]&&a[0].line||""}function p(a){a=a.fileName||a.sourceURL;return a!=null?String(a):""}function q(a){return a[0]&&a[0].script||""}function r(a){for(var b=0;b:]+:\s/,"");a=a!=null&&c.startsWith(a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n").map(function(a){__p&&__p();a=a.trim();var b=a.match(i);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=r(a)||a.match(j);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}a.includes("charset=utf-8;base64,")&&(a="");b={column:d,identifier:e,line:c,script:a};var f=e!=null&&e!==""?" "+e+" (":" ",g=f.length>1?")":"",h=c!=null&&c!==""?":"+c:"",k=d!=null&&d!==""?":"+d:"";f=" at"+f+a+h+k+g;return babelHelpers["extends"]({},b,{text:f})})}function t(a){if(a==null||a==="")return null;a=a.split("\n");a.splice(0,1);return a.map(function(a){return a.trim()})}function a(a,c){__p&&__p();var d;a=a;d=(d=c==null?void 0:c.message)!=null?d:a.message;var e=s(a),f=!1;if(a.framesToPop!=null){var i=a.framesToPop,j;while(i>0&&e.length>0)j=e.shift(),i--,f=!0;h.test(d)&&a.framesToPop===2&&j!=null&&(g.test(j.script)&&(d+=" at "+j.script+(j.line?":"+j.line:"")+(j.column?":"+j.column:"")))}i=t(a.componentStack);var k=a.fbloggerMetadata?a.fbloggerMetadata:[],r=b("FBLoggerMetadata").getGlobalMetadata().map(function(a){return a.join(":")});k=[].concat(k,r);k.length===0&&(k=void 0);r=a.messageWithParams;var u;r!=null&&r.length>0?r={message:r[0],params:r.slice(1).map(function(a){return String(a)})}:(typeof d!=="string"&&(u=d,d=String(d)+" ("+typeof d+")"),r=b("ErrorSerializer").parse(d));k={_originalError:a,column:f?m(e):l(a)||m(e),deferredSource:a.deferredSource,extra:(d=a.extra)!=null?d:{},fbloggerMetadata:k,guard:(d=a.guard)!=null?d:"",guardList:(k=a.guardList)!=null?k:[],line:f?o(e):n(a)||o(e),message:b("ErrorSerializer").toFormattedMessage(r),messageObject:u,messageWithParams:b("ErrorSerializer").toMessageWithParams(r),name:(d=c==null?void 0:c.name)!=null?d:a.name,reactComponentStack:i,script:f?q(e):p(a)||q(e),serverHash:a.serverHash,snapshot:a.snapshot,stack:e.map(function(a){return a.text}).join("\n"),stackFrames:e,type:a.type||""};typeof window!=="undefined"&&window&&window.location&&(k.windowLocationURL=window.location.href);for(var v in k)k[v]==null&&delete k[v];return k}e.exports={normalizeError:a,normalizeReactComponentStack:t}}),null); __d("ErrorBrowserConsole",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=!1,h=a.console;function b(a){if(a.suppressConsole===!0)return;if((!h[a.type]||a.type==="error")&&!g&&!(window&&window.__iframe_dt)){a=a.message;a=a.length>80?a.slice(0,77)+"...":a;h.error('ErrorUtils caught an error: "'+a+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");g=!0}}e.exports={errorListener:b}}),null); __d("removeFromArray",[],(function(a,b,c,d,e,f){function a(a,b){b=a.indexOf(b);b!==-1&&a.splice(b,1)}e.exports=a}),null); __d("ErrorPubSub",["ErrorBrowserConsole","ErrorNormalizeUtils","removeFromArray"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=typeof window==="undefined"?"":"",h="",i=[],j=[],k=50,l=[],m=!1,n={history:j,guardList:l,addListener:function(a,b){b===void 0&&(b=!1),i.push(a),b||j.forEach(function(b){return a(b,(b=b.loggingType)!=null?b:"DEPRECATED")})},removeListener:function(a){b("removeFromArray")(i,a)},onerror:function(a,c,d,e,f){__p&&__p();f=f||{};f.message=f.message||a;f.script=f.script||c;f.line=f.line||d;f.column=f.column||e;f.guard=g;f.guardList=[g];a=b("ErrorNormalizeUtils").normalizeError(f);a.loggingType="FATAL";n.reportNormalizedError(a)},pushGuard:function(a){l.unshift(a)},popGuard:function(){l.shift()},reportNormalizedError:function(a){__p&&__p();if(m)return!1;a.reactComponentStack&&n.pushGuard(h);l.length>0&&(a.guard=a.guard||l[0],a.guardList=l.slice());a.reactComponentStack&&n.popGuard();j.length>k&&j.splice(k/2,1);j.push(a);m=!0;for(var b=0;b=b.length)break;d=b[f++]}else{f=b.next();if(f.done)break;d=f.value}d=d;if(this.$4.get(d))continue;c++;var g=this.$1.get(d);g===void 0&&(g=new Map(),this.$1.set(d,g));g.set(a,(g.get(a)||0)+1)}return c};c.$6=function(a){__p&&__p();a=this.$1.get(a);if(!a)return;for(var c=a.entries(),d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1]-1;a.set(g,f);f<=0&&a["delete"](g);f=this.$2.get(g);if(f!==void 0){f.$7--;if(f.$7<=0){f=f.$8;this.$2["delete"](g);b("ErrorUtils").applyWithGuard(f)}}}};c.addDependenciesToExistingCallback=function(a,b){var c=this.$2.get(a);if(!c)return null;b=this.$5(a,b);c.$7+=b;return a};c.isPersistentDependencySatisfied=function(a){return!!this.$4.get(a)};c.satisfyPersistentDependency=function(a){this.$4.set(a,1),this.$6(a)};c.satisfyNonPersistentDependency=function(a){var b=this.$4.get(a)===1;b||this.$4.set(a,1);this.$6(a);b||this.$4["delete"](a)};c.registerCallback=function(a,c){var d=this.$3;this.$3++;c=this.$5(d,c);if(c===0){b("ErrorUtils").applyWithGuard(a);return null}this.$2.set(d,{$8:a,$7:c});return d};return a}();e.exports=a}),null); __d("EventSubscription",[],(function(a,b,c,d,e,f){"use strict";a=function(a){var b=this;this.remove=function(){b.subscriber&&(b.subscriber.removeSubscription(b),b.subscriber=null)};this.subscriber=a};e.exports=a}),null); __d("EmitterSubscription",["EventSubscription"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,d){b=a.call(this,b)||this;b.listener=c;b.context=d;return b}return b}(b("EventSubscription"));e.exports=a}),null); __d("EventSubscriptionVendor",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var b=a.prototype;b.addSubscription=function(a,b){b.subscriber===this||g(0,2828);this.$1[a]||(this.$1[a]=[]);var c=this.$1[a].length;this.$1[a].push(b);b.eventType=a;b.key=c;return b};b.removeAllSubscriptions=function(a){a===void 0?this.$1={}:delete this.$1[a]};b.removeSubscription=function(a){var b=a.eventType;a=a.key;b=this.$1[b];b&&delete b[a]};b.getSubscriptionsForType=function(a){return this.$1[a]};return a}();e.exports=a}),null); __d("emptyFunction",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){return function(){return a}}b=function(){};b.thatReturns=a;b.thatReturnsFalse=a(!1);b.thatReturnsTrue=a(!0);b.thatReturnsNull=a(null);b.thatReturnsThis=function(){return this};b.thatReturnsArgument=function(a){return a};e.exports=b}),null); __d("requireCond",[],(function(a,b,c,d,e,f){function a(a,b,c){throw new Error("Cannot use raw untransformed requireCond.")}e.exports=a}),null); __d("FBLogger",["requireCond","cr:794450"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:794450")}),null); __d("unrecoverableViolationBase",["FBLogger","TAAL","TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){c=b("FBLogger")(c);d&&(c=c.catching(d));c.blameToPreviousFrame().blameToPreviousFrame().mustfix(a);return new Error(b("TAAL").applyOpcodes(a,[b("TAALOpcodes").PREVIOUS_FRAME,b("TAALOpcodes").PREVIOUS_FRAME]))}e.exports=a}),null); __d("unrecoverableViolation",["unrecoverableViolationBase"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){d=d===void 0?{}:d;d=d.error;return b("unrecoverableViolationBase")(a,c,d)}e.exports=a}),null); __d("BaseEventEmitter",["EmitterSubscription","ErrorGuard","EventSubscriptionVendor","emptyFunction","unrecoverableViolation"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){this.$2=new(b("EventSubscriptionVendor"))(),this.$1=null}var c=a.prototype;c.addListener=function(a,c,d){return this.$2.addSubscription(a,new(b("EmitterSubscription"))(this.$2,c,d))};c.once=function(a,b,c){var d=this;return this.addListener(a,function(){d.removeCurrentListener(),b.apply(c,arguments)})};c.removeAllListeners=function(a){this.$2.removeAllSubscriptions(a)};c.removeCurrentListener=function(){if(!this.$1)throw b("unrecoverableViolation")("Not in an emitting cycle; there is no current subscription","emitter");this.$2.removeSubscription(this.$1)};c.listeners=function(a){a=this.$2.getSubscriptionsForType(a);return a?a.filter(b("emptyFunction").thatReturnsTrue).map(function(a){return a.listener}):[]};c.emit=function(a){__p&&__p();var b=this.$2.getSubscriptionsForType(a);if(b){var c=Object.keys(b),d;for(var e=0;e2?d-2:0),f=2;f1?c-1:0),e=1;e1?d-1:0),f=1;f0&&this.$3.releaseCurrentEvent()};b.releaseHeldEventType=function(a){this.$3.releaseEventType(a)};return a}();e.exports=a}),null); __d("EventHolder",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={},this.$2=[]}var b=a.prototype;b.holdEvent=function(a){this.$1[a]=this.$1[a]||[];var b=this.$1[a],c={eventType:a,index:b.length};for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f1?e-1:0),g=1;g0||g(0,2222),this.$1=a,this.$2=0,this.$3=[],this.$4=[]}var b=a.prototype;b.write=function(a){var b=this;this.$3.lengththis.$1){var b=this.read();this.$2=0;this.$3=b;this.$1=a}return this};b.dropFirst=function(a){if(a<=this.$1){var b=this.read();this.$2=0;b.splice(0,a);this.$3=b}return this};b.clear=function(){this.$2=0;this.$3=[];return this};b.currentSize=function(){return this.$3.length};return a}();e.exports=a}),null); __d("ResourceTypes",[],(function(a,b,c,d,e,f){"use strict";a={JS:"js",CSS:"css",XHR:"xhr"};e.exports=a}),null); __d("TimingAnnotations",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){}var b=a.prototype;b.addStringAnnotation=function(a,b){return this};b.addSetAnnotation=function(a,b){return this};b.addSetElement=function(a,b){return this};b.registerOnBeforeSend=function(a){return this};b.addVectorAnnotation=function(a,b){return this};b.addVectorElement=function(a,b){return this};return a}();b=function(){"use strict";__p&&__p();function a(){this.$1=null,this.$2=null,this.$3=null,this.$4=[]}var b=a.prototype;b.addStringAnnotation=function(a,b){this.$2=this.$2||new Map();this.$2.set(a,b);return this};b.addSetAnnotation=function(a,b){var c=this.$1||new Map(),d=c.get(a)||new Set();b.forEach(function(a){return d.add(a)});c.set(a,d);this.$1=c;return this};b.addSetElement=function(a,b){var c=this.$1||new Map(),d=c.get(a)||new Set();d.add(b);c.set(a,d);this.$1=c;return this};b.addVectorAnnotation=function(a,b){this.$3=this.$3||new Map();this.$3.set(a,b);return this};b.addVectorElement=function(a,b){var c=this.$3=this.$3||new Map(),d=this.$3.get(a)||[];d.push(b);c.set(a,d);return this};b.registerOnBeforeSend=function(a){this.$4.push(a);return this};b.prepareToSend=function(){__p&&__p();var a=this;this.$4.forEach(function(b){return b(a)});this.$4=[];var b={};if(this.$1!=null)for(var c=this.$1,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1];b[g]=Array.from(f.values())}g={};if(this.$2!=null)for(var f=this.$2,e=Array.isArray(f),d=0,f=e?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(d>=f.length)break;c=f[d++]}else{d=f.next();if(d.done)break;c=d.value}c=c;var h=c[0];c=c[1];g[h]=c}h={};if(this.$3!=null)for(var c=this.$3,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var i=f[0];f=f[1];h[i]=f}return{setProps:b,stringProps:g,vectorProps:h}};a.combine=function(a,b){var c;a!=null&&b!=null?(a.stringProps=babelHelpers["extends"]({},b.stringProps,a.stringProps),a.setProps=babelHelpers["extends"]({},b.setProps,a.setProps),c=a):a!=null?c=a:b!=null&&(c=b);return c};return a}();b.EmptyTimingAnnotations=a;b.EmptyTraceTimingAnnotations=a;b.TraceTimingAnnotations=b;e.exports=b}),null); __d("BlueCompatBroker",["Env","URI"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=new Map(),i=!1,j=function(a){return new(b("URI"))(a).getRegisteredDomain()==="facebook.com"},k={dispatch:function(a){var b=k.getMessageEventString(a,"compatAction");if(b!=null){b=h.get(b);b&&b(a)}},getMessageEventString:function(a,b){a=a.data;if(typeof a==="object"){a=a==null?void 0:a[b];if(typeof a==="string")return a}return""},init:function(){__p&&__p();if(!i){document.body&&(document.body.style.overflow="auto");var a=document.referrer.indexOf("/",8);a=document.referrer.substring(0,a);if(j(a)){var c=new MessageChannel(),d=b("Env").iframeKey;g=c.port1;g.onmessage=k.dispatch;window.parent.postMessage({compatAction:"CompatSetup",iframeKey:d},a+"/",[c.port2])}i=!0}},register:function(a,b){h.set(a,b)},sendMessage:function(a){g&&g.postMessage(babelHelpers["extends"]({},a))}};e.exports=k}),null); __d("MessengerEnvironment",["CurrentEnvironment"],(function(a,b,c,d,e,f){"use strict";a=babelHelpers["extends"]({},b("CurrentEnvironment"),{messengerui:!1,setMessengerUI:function(a){this.messengerui=a}});e.exports=a}),null); __d("isCdnURI",["CdnAkamaiDomainsConfig"],(function(a,b,c,d,e,f){"use strict";function a(a){if(a.getProtocol()!=="http"&&a.getProtocol()!=="https")return!1;var c=a.getPort();if(!!c&&c!==80&&c!==443)return!1;return a.isSubdomainOfDomain("fbcdn.net")?!0:b("CdnAkamaiDomainsConfig")[a.getDomain()]!=void 0}e.exports=a}),null); __d("BlueCompatRouter",["BlueCompatBroker","Env","MessengerEnvironment","URI","isCdnURI"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={convertUri:function(a){if(a==null||a==="")return new(b("URI"))();a=new(b("URI"))(a);var c=a.getRegisteredDomain();if(a.getSubdomain()==="apps"&&c!=null&&c!==""){c=a.getDomain().replace(/apps/i,"www");return a.setDomain(c).setPath("/apps"+a.getPath())}else return a},go:function(a){__p&&__p();if(b("Env").isCQuick){var c=new(b("URI"))(a);a=g.convertUri(a);var d=a.getQualifiedURI();if(b("isCdnURI")(a))return!1;a=function(){if(b("MessengerEnvironment").messengerui&&d.getPath().startsWith("/messages"))return[!1,"/messages"];return c.getPath().startsWith("/settings")&&d.getPath().startsWith("/settings")?[!1,"/settings"]:[!0,""]}();var e=a[0];a=a[1];g.sendMessage({compatAction:"route",maintainKey:a,uri:String(d)});return e}return!1},startChat:function(a){return g.sendMessage({compatAction:"startchat",tabId:a})},chatListener:function(a,b){a.addEventListener("click",function(){g.startChat("fbid:"+b)})},sendMessage:function(a){if(b("Env").isCQuick){b("BlueCompatBroker").init();b("BlueCompatBroker").sendMessage(a);return!0}return!1}};e.exports=g}),null); __d("flattenPHPQueryData",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){return h(a,"",{})}function h(a,b,c){if(a===null||a===void 0)c[b]=void 0;else if(typeof a==="object"){typeof a.appendChild!=="function"||g(0,2616);for(var d in a)d!=="$$typeof"&&Object.prototype.hasOwnProperty.call(a,d)&&a[d]!==void 0&&h(a[d],b?b+"["+d+"]":d,c)}else c[b]=a;return c}e.exports=a}),null); __d("PHPQuerySerializer",["invariant","flattenPHPQueryData"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){var c=[];a=b("flattenPHPQueryData")(a);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=h(d);a[d]===void 0?c.push(e):c.push(e+"="+h(String(a[d])))}return c.join("&")}function h(a){return encodeURIComponent(a).replace(/%5D/g,"]").replace(/%5B/g,"[")}var i=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function j(a){return a==="hasOwnProperty"||a==="__proto__"?"\ud83d\udf56":a}function c(a){__p&&__p();if(!a)return{};var b={};a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");a=a.split("&");var c=Object.prototype.hasOwnProperty;for(var d=0,e=a.length;d=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}e.exports=g}),null); __d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f){var g=b("createObjectFrom")(["blob","cmms","fb","fba","fbatwork","fb-ama","fb-workchat","fb-workchat-secure","fb-messenger","fb-messenger-public","fb-messenger-group-thread","fb-page-messages","fb-pma","fbcf","fbconnect","fbinternal","fbmobilehome","fbrpc","file","ftp","http","https","mailto","wss","ms-app","intent","itms","itms-apps","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","oculus","oculus.store","skype","callto","workchat","fb236786383180508","fb1775440806014337","data","fb-mk","munki","kirigami"]);a={isAllowed:function(a){return!a?!0:Object.prototype.hasOwnProperty.call(g,a.toLowerCase())}};e.exports=a}),null); __d("setHostSubdomain",[],(function(a,b,c,d,e,f){function a(a,b){a=a.split(".");a.length<3?a.unshift(b):a[0]=b;return a.join(".")}e.exports=a}),null); __d("URIBase",["invariant","URIRFC3986","URISchemes","ex","setHostSubdomain"],(function(a,b,c,d,e,f,g){__p&&__p();var h=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),i=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function j(a,c,d,e){__p&&__p();if(!c)return!0;if(c instanceof l){a.setProtocol(c.getProtocol());a.setDomain(c.getDomain());a.setPort(c.getPort());a.setPath(c.getPath());a.setQueryData(e.deserialize(e.serialize(c.getQueryData())));a.setFragment(c.getFragment());a.setIsGeneric(c.getIsGeneric());a.setForceFragmentSeparator(c.getForceFragmentSeparator());return!0}c=c.toString().trim();var f=b("URIRFC3986").parse(c)||{fragment:null,scheme:null};if(!d&&!b("URISchemes").isAllowed(f.scheme))return!1;a.setProtocol(f.scheme||"");if(!d&&h.test(f.host||""))return!1;a.setDomain(f.host||"");a.setPort(f.port||"");a.setPath(f.path||"");if(d)a.setQueryData(e.deserialize(f.query||"")||{});else try{a.setQueryData(e.deserialize(f.query||"")||{})}catch(a){return!1}a.setFragment(f.fragment||"");f.fragment===""&&a.setForceFragmentSeparator(!0);a.setIsGeneric(f.isGenericURI||!1);if(f.userinfo!==null)if(d)throw new Error(b("ex")("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",a.toString()));else return!1;if(!a.getDomain()&&a.getPath().indexOf("\\")!==-1)if(d)throw new Error(b("ex")("URI.parse: invalid URI (no domain but multiple back-slashes): %s",a.toString()));else return!1;if(!a.getProtocol()&&i.test(c))if(d)throw new Error(b("ex")("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",a.toString()));else return!1;if(a.getDomain()&&a.getPath()&&!a.getPath().startsWith("/"))if(d)throw new Error(b("ex")("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",a.toString()));else return!1;return!0}var k=[],l=function(){"use strict";__p&&__p();a.tryParse=function(b,c){var d=new a(null,c);return j(d,b,!1,c)?d:null};a.isValid=function(b,c){return!!a.tryParse(b,c)};function a(a,b){b||g(0,2966),this.$9=b,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,j(this,a,!0,b)}var c=a.prototype;c.setProtocol=function(a){b("URISchemes").isAllowed(a)||g(0,587,a);this.$7=a;return this};c.getProtocol=function(){return(this.$7||"").toLowerCase()};c.setSecure=function(a){return this.setProtocol(a?"https":"http")};c.isSecure=function(){return this.getProtocol()==="https"};c.setDomain=function(a){if(h.test(a))throw new Error(b("ex")("URI.setDomain: unsafe domain specified: %s for url %s",a,this.toString()));this.$1=a;return this};c.getDomain=function(){return this.$1};c.setPort=function(a){this.$6=a;return this};c.getPort=function(){return this.$6};c.setPath=function(a){this.$5=a;return this};c.getPath=function(){return this.$5};c.addQueryData=function(a,b){Object.prototype.toString.call(a)==="[object Object]"?Object.assign(this.$8,a):this.$8[a]=b;return this};c.setQueryData=function(a){this.$8=a;return this};c.getQueryData=function(){return this.$8};c.setQueryString=function(a){return this.setQueryData(this.$9.deserialize(a))};c.getQueryString=function(){return this.$9.serialize(this.getQueryData())};c.removeQueryData=function(a){Array.isArray(a)||(a=[a]);for(var b=0,c=a.length;b0||this.getFragment())};c.toString=function(){var a=this;for(var b=0;b0&&a[a.length-1]!=="/"&&this.setPath(a+"/");return this};e.valueOf=function(){return this.toString()};e.getRegisteredDomain=function(){if(!this.getDomain())return"";if(!b("isFacebookURI")(this))return null;var a=this.getDomain().split("."),c=a.indexOf("facebook");c===-1&&(c=a.indexOf("workplace"));return a.slice(c).join(".")};e.getUnqualifiedURI=function(){var a=new c(this);b("unqualifyURI")(a);return a};e.getQualifiedURI=function(){return new c(this).qualify()};e.isSameOrigin=function(a){a=a;!a?a=g():a instanceof c||(a=new c(a.toString()));return b("areSameOrigin")(this,a)};c.go=function(a,b,d){c.goURIOnWindow(a,window,b,d)};c.goURIOnNewWindow=function(a){c.goURIOnWindow(a,window.open("","_blank"),!0)};c.goURIOnWindow=function(d,e,f,g){__p&&__p();d=new c(d);var h=f;if(b("Env").isCQuick&&b("isFacebookURI")(d)){f={};f.cquick=b("Env").iframeKey;f.ctarget=b("Env").iframeTarget;f.cquick_token=b("Env").iframeToken;d.addQueryData(f);h=!1}var i=d.toString();f=e?e:window;b("ifRequired")("PageNavigationStageLogger",function(b){h?b.setNote("force"):a.PageTransitions||b.setNote("no_pagetrans"),b.setCookieForNavigation(i)});!h&&a.PageTransitions?a.PageTransitions.go(i,g):window.location.href===i?b("ReloadPage").now():g?f.location.replace(i):f.location.href=i};e.go=function(a,b){c.go(this,a,b)};c.tryParseURI=function(a){a=b("URIBase").tryParse(a,b("PHPQuerySerializer"));return a?new c(a):null};c.isValidURI=function(a){return b("URIBase").isValid(a,b("PHPQuerySerializer"))};c.getRequestURI=function(a,b){a=a===void 0||a;if(a){a=h();if(a)return a.getCurrentURI(!!b).getQualifiedURI()}return new c(window.location.href)};c.getMostRecentURI=function(){var a=h();return a?a.getMostRecentURI().getQualifiedURI():new c(window.location.href)};c.getNextURI=function(){var a=h();return a?a.getNextURI().getQualifiedURI():new c(window.location.href)};c.encodeComponent=function(a){return encodeURIComponent(a).replace(/%5D/g,"]").replace(/%5B/g,"[")};c.decodeComponent=function(a){return decodeURIComponent(a.replace(/\+/g," "))};c.normalize=function(a){return a!=null&&typeof a==="string"?this.normalizeString(a):new c(a).toString()};return c}(b("URIBase"));i.normalizeString=b("memoizeStringOnly")(function(a){return new i(a).toString()});Object.assign(i,{expression:/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,arrayQueryExpression:/^(\w+)((?:\[\w*\])+)=?(.*)/});e.exports=i}),null); __d("ReloadPage",["BlueCompatRouter","Env"],(function(a,b,c,d,e,f){c={now:function(c){!b("Env").isCQuick?a.window.location.reload(c):b("BlueCompatRouter").sendMessage({compatAction:"reload"})},delay:function(b){a.setTimeout(this.now.bind(this),b)}};e.exports=c}),null); __d("ExecutionEnvironment",[],(function(a,b,c,d,e,f){"use strict";a=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);b={canUseDOM:a,canUseWorkers:typeof Worker!=="undefined",canUseEventListeners:a&&!!(window.addEventListener||window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=b}),null); __d("performance",["ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";var g;b("ExecutionEnvironment").canUseDOM&&(g=window.performance||window.msPerformance||window.webkitPerformance);e.exports=g||{}}),null); __d("performanceAbsoluteNow",["performance"],(function(a,b,c,d,e,f){if(b("performance").now&&b("performance").timing&&b("performance").timing.navigationStart){var g=b("performance").timing.navigationStart;a=function(){return b("performance").now()+g}}else a=function(){return Date.now()};e.exports=a}),null); __d("ResourceTimingsStore",["CircularBuffer","ResourceTypes","TimingAnnotations","URI","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=1e3,h=new(b("TimingAnnotations").EmptyTimingAnnotations)(),i={},j={};Object.keys(b("ResourceTypes")).forEach(function(a){a=b("ResourceTypes")[a];var c=new(b("CircularBuffer"))(g),d=new Map();c.onEvict(function(a){d["delete"](a)});i[a]={idx:1,entries:c};j[a]=d});function k(a,c,d){__p&&__p();var e;switch(a){case"css":case"js":var f=l.parseMakeHasteURL(c);f=f==null?"unknown_resource":f[0];e=d+"_"+f;break;case"xhr":f=new(b("URI"))(c).getQualifiedURI();c=f.getDomain()+f.getPath();e=d+"_"+c;break;default:a,e="never here"}return e}var l={getUID:function(a,b){var c=i[a],d=k(a,b,c.idx);c.entries.write(d);j[a].set(d,{uri:b,uid:d});c.idx++;return d},updateURI:function(a,b,c){a=j[a].get(b);a!=null&&(a.uri=c)},getMapFor:function(a){return j[a]},parseMakeHasteURL:function(a){a=a.match(/\/rsrc\.php\/.*\/([^\?]+)/);if(!a)return null;a=a[1];var b="",c=a.match(/\.(\w+)$/);c&&(b=c[1]);return[a,b]},measureRequestSent:function(a,c){a=j[a];a=a.get(c);if(a==null||a.requestSent!=null)return;else a.requestSent=b("performanceAbsoluteNow")()},measureResponseReceived:function(a,c){a=j[a];a=a.get(c);if(a==null||a.requestSent==null||a.responseReceived!=null)return;else a.responseReceived=b("performanceAbsoluteNow")()},annotate:function(a,c){__p&&__p();a=j[a];a=a.get(c);if(!a)return h;else{c=a.annotations;if(c!=null)return c;else{c=new(b("TimingAnnotations"))();a.annotations=c;return c}}},getAnnotationsFor:function(a,b){a=j[a];a=a.get(b);if(!a)return null;else{b=a.annotations;return b!=null?b.prepareToSend():null}}};e.exports=l}),null); __d("TimeSlice",["requireCond","cr:717822"],(function(a,b,c,d,e,f){e.exports=b("cr:717822")}),3); __d("TimerStorage",[],(function(a,b,c,d,e,f){__p&&__p();a={ANIMATION_FRAME:"ANIMATION_FRAME",IDLE_CALLBACK:"IDLE_CALLBACK",IMMEDIATE:"IMMEDIATE",INTERVAL:"INTERVAL",TIMEOUT:"TIMEOUT"};var g={};Object.keys(a).forEach(function(a){return g[a]={}});b=babelHelpers["extends"]({},a,{set:function(a,b){g[a][b]=!0},unset:function(a,b){delete g[a][b]},clearAll:function(a,b){Object.keys(g[a]).forEach(b),g[a]={}},getStorages:function(){return{}}});e.exports=b}),null); __d("clearInterval",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeClearTimeout||a.clearTimeout;function c(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").INTERVAL,a);var c=b("TimerStorage").TIMEOUT+String(a);b("TimeSlice").cancelWithToken(c)}g(a)}e.exports=c}),null); __d("isEmpty",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){__p&&__p();if(Array.isArray(a))return a.length===0;else if(typeof a==="object"){if(a){!h(a)||a.size===void 0||g(0,1445);for(var b in a)return!1}return!0}else return!a}function h(a){return typeof Symbol==="undefined"?!1:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]}e.exports=a}),null); __d("setIntervalAcrossTransitions",["TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeSetInterval||a.setInterval;function c(c,d){var e=b("TimeSlice").guard(c,"setInterval");for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i=l){for(a in m)d.push(m[a].signal),c.push(m[a].error);m={}}else for(a in m){var e=m[a].signal,f=window.getComputedStyle?getComputedStyle(e):e.currentStyle;f&&parseInt(f.height,10)>1&&(c.push(m[a].load),d.push(e),delete m[a])}for(var f=0;f1?b-1:0),d=1;d1?d-1:0),f=1;f0,J=Object.freeze({BOOTLOAD:"bootloader/bootload"});b("ErrorUtils").addListener(function(a){a.loadingUrls=Object.keys(q)},!0);function K(a){return b("BootloaderConfig").retryQueuedBootloads?a.every(function(a){return m[a]}):z}function L(a){if(!m[a])throw new Error(b("TAAL").blameToPreviousFile(b("ex")("Bootloader: %s is not in the component map",a)));return m[a]}function M(){o||(o=document.head||document.getElementsByTagName("head")[0]||document.body);return o}function N(){if(!I)return!1;var a=u.length;if(a=g.length)return"break";c=g[j++]}else{j=g.next();if(j.done)return"break";c=j.value}var f=c,i=L(f);a=[i.r,((a=i.rdfds)==null?void 0:a.r)||[]];for(var k=0;k=l.length)break;p=l[o++]}else{o=l.next();if(o.done)break;p=o.value}p=p;Z(p,d)}}};for(var g=a,h=Array.isArray(g),j=0,g=h?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){a=f();if(a==="break")break}if(e.length>0){a=Q(e);Z(a,d)}M().appendChild(d)},loadModules:function(a,c,e){__p&&__p();c===void 0&&(c=h);e===void 0&&(e="loadModules: unknown caller");var f=function(){return c.apply(void 0,arguments)},g={remove:function(){c=h}};if(!K(a)){var i="Deferred: Bootloader.loadModules";i=b("TimeSlice").getGuardedContinuation(i);j.push([a,f,e,i]);return g}var k=[],l=[],m=[],o=[],p=[],q=[];i=!1;var r=0,s=b("performanceAbsoluteNow")();a.forEach(function(a){var c,d=L(a);d.be&&(r++,a in n?k.push(n[a]):b("ifRequired").call(null,a,null,function(){q.push(a)}));a in v||(i=!0,v[a]=s);k.push.apply(k,d.r);l.push.apply(l,((c=d.rdfds)==null?void 0:c.r)||[]);m.push.apply(m,((c=d.rds)==null?void 0:c.r)||[]);o.push.apply(o,((c=d.rdfds)==null?void 0:c.m)||[]);p.push.apply(p,((c=d.rds)==null?void 0:c.m)||[])});if(q.length>0){var t=Q(q);k.push(t)}b("ifRequired")("TimeSliceInteraction",function(b){b.informGlobally("Bootloader.loadResources").addSetAnnotation("requested_hashes",k).addSetAnnotation("rdfd_requested_hashes",l).addSetAnnotation("rd_requested_hashes",m).addStringAnnotation("bootloader_reference",e).addSetAnnotation("requested_components",a)});t=JSON.stringify([e,a]);var u=!1;t in w||(u=!0,w[t]=s);var x=null;u&&(x={ref:e,components:a,has_new_component:i,first_identical_request:u,async_resources_count:r,async_resources_downloaded:q.length});var y="rsrcs:"+t;V(k,d.bind(null,a,function(){f.apply(void 0,arguments),A.satisfyPersistentDependency(y)}),null,x);var z="rdfds:"+t;V(l,function(){A.registerCallback(d.bind(null,o,function(){A.satisfyPersistentDependency(z)}),[y])});V(m,function(){A.registerCallback(d.bind(null,p,h),[z])});return g},loadResources:function(a,b,c){X(),V(a,b,c)},requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN:function(a){U("js",a,null,M())},done:function(a,c){c!=null&&(r[c]=b("performanceAbsoluteNow")()-q[c],delete q[c]),window.CavalryLogger&&window.CavalryLogger.done_js(a),a.forEach(function(a){a!=null&&(k[a]=!0,A.satisfyPersistentDependency(a))})},pickupResourcesByIDs:function(a){for(var b=0;b-1},matchesSelector:function(a,b){var c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||function(b){return h(a,b)};return c.call(a,b)}};e.exports=i}),null); __d("CSS",["CSSCore","$"],(function(a,b,c,d,e,f){__p&&__p();a=typeof window!="undefined"?window.CSS:null;var g="hidden_elem",h={supports:a&&a.supports.bind(a),setClass:function(a,c){b("$").fromIDOrElement(a).className=c||"";return a},hasClass:function(a,c){return a instanceof Document||a instanceof Text?!1:b("CSSCore").hasClass(b("$").fromIDOrElement(a),c)},matchesSelector:function(a,c){return a instanceof Document||a instanceof Text?!1:b("CSSCore").matchesSelector(b("$").fromIDOrElement(a),c)},addClass:function(a,c){return b("CSSCore").addClass(b("$").fromIDOrElement(a),c)},removeClass:function(a,c){return b("CSSCore").removeClass(b("$").fromIDOrElement(a),c)},conditionClass:function(a,c,d){return b("CSSCore").conditionClass(b("$").fromIDOrElement(a),c,!!d)},toggleClass:function(a,b){return h.conditionClass(a,b,!h.hasClass(a,b))},shown:function(a){return!h.hasClass(a,g)},hide:function(a){return h.addClass(a,g)},show:function(a){return h.removeClass(a,g)},toggle:function(a){return h.toggleClass(a,g)},conditionShow:function(a,b){return h.conditionClass(a,g,!b)}};e.exports=h}),null); __d("Parent",["CSS"],(function(a,b,c,d,e,f){__p&&__p();var g={byTag:function(a,b){b=b.toUpperCase();a=g.find(a,function(a){return a.nodeName===b});return a instanceof Element?a:null},byClass:function(a,c){a=g.find(a,function(a){return a instanceof Element&&b("CSS").hasClass(a,c)});return a instanceof Element?a:null},bySelector:function(a,b){__p&&__p();a=a;if(typeof a.matches==="function"){while(a&&a!==document&&!a.matches(b))a=a.parentNode;return a instanceof Element?a:null}else if(typeof a.msMatchesSelector==="function"){while(a&&a!==document&&!a.msMatchesSelector(b))a=a.parentNode;return a instanceof Element?a:null}else return g.bySelector_SLOW(a,b)},bySelector_SLOW:function(a,b){__p&&__p();a=a;var c=a;while(c.parentNode)c=c.parentNode;if(!(c instanceof Element)&&!(c instanceof Document))return null;c=c.querySelectorAll(b);while(a){if(Array.prototype.indexOf.call(c,a)!==-1)return a instanceof Element?a:null;a=a.parentNode}return a instanceof Element?a:null},byAttribute:function(a,b){a=g.find(a,function(a){return a instanceof Element&&!!a.getAttribute(b)});return a instanceof Element?a:null},find:function(a,b){a=a;while(a){if(b(a))return a;a=a.parentNode}return null}};e.exports=g}),null); __d("ContextualComponent",["Parent"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();a.forNode=function(b){return a.$1.get(b)||null};a.closestToNode=function(c){c=b("Parent").find(c,function(b){return!!a.forNode(b)});return c?a.forNode(c):null};a.register=function(b){return new a(b)};function a(a){var b=a.element,c=a.isRoot;a=a.parent;this.$2=c;this.$3=b;this.$4=a;this.$5=new Set();this.$6=[];this.$7=[];this.$8()}var c=a.prototype;c.onCleanup=function(a){this.$6.push(a)};c.onUnmount=function(a){this.$7.push(a)};c.cleanup=function(){this.$5.forEach(function(a){return a.cleanup()}),this.$6.forEach(function(a){return a()}),this.$6=[]};c.unmount=function(){this.cleanup();this.$5.forEach(function(a){return a.unmount()});this.$7.forEach(function(a){return a()});this.$7=[];var b=this.$4;b&&(a.$1["delete"](this.$3),b.$9(this))};c.reinitialize=function(){var b=this.$4;b&&(b.$9(this),this.$4=void 0);a.$1["delete"](this.$3);this.$8()};c.$8=function(){if(!this.$2&&!this.$4){var b=a.closestToNode(this.$3);b&&(this.$4=b)}this.$4&&this.$4.$10(this);a.$1.set(this.$3,this)};c.$10=function(a){this.$5.add(a)};c.$9=function(a){this.$5["delete"](a)};return a}();a.$1=new Map();e.exports=a}),null); __d("BitMap",[],(function(a,b,c,d,e,f){__p&&__p();var g="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";a=function(){"use strict";__p&&__p();function a(){this.$1=[]}var b=a.prototype;b.set=function(a){this.$1[a]=1;return this};b.toString=function(){var a=[];for(var b=0;b=0&&i.set(f),define(a,c,function(g,h,i,k,c){g={data:d};b("replaceTransportMarkers")({relativeTo:j},g);if(f===-42){h=d!=null&&typeof d==="object"&&d.__throw8367__;throw new Error(a+": "+(typeof h==="string"?h:""))}c.exports=g.data},g|h)},handleDefines:function(a,b){a.forEach(function(a){var c;b!=null?c=[].concat(a,[b]):c=[].concat(a,[null]);j.handleDefine.apply(null,c)})}};e.exports=j}),null); __d("__debug",[],(function(a,b,c,d,e,f){e.exports={}}),null); __d("ServerJS",["ContextualComponent","ErrorGuard","ServerJSDefine","ex","ge","replaceTransportMarkers","__debug"],(function(a,b,c,d,e,f){__p&&__p();var g=1,h=2,i=0;a=function(){"use strict";__p&&__p();function a(){this.$1={},this.$2=null,this.$3={},this.$4=void 0}var c=a.prototype;c.handle=function(a,b){return this.$5(a,b,k)};c.handleWithCustomApplyEach=function(a,b,c){this.$5(b,c,a)};c.$5=function(a,b,c){__p&&__p();this.$4=b;if(a.__guard)throw new Error("ServerJS.handle called on data that has already been handled");a.__guard=!0;c(a.define||[],this.$6,this);c(a.markup||[],this.$7,this);c(a.elements||[],this.$8,this);this.$9(a.contexts||[]);c(a.instances||[],this.$10,this);var d=c(a.pre_display_requires||[],this.$11,this);d=d.concat(c(a.require||[],this.$11,this));return{cancel:function(){for(var a=0;a2?f-2:0),j=2;j1?a.then(c,d):a;f.then(null,function(a){b("setTimeoutAcrossTransitions")(function(){if(a instanceof Error)throw a;else{e.message=b("TAAL").blameToPreviousFile(a);throw e}},0)})}e.exports=a}),null); __d("RequireDeferredReference",["Promise","Bootloader","ifRequired","performanceNow","promiseDone","requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=function(a){return a};a=function(){__p&&__p();function a(a){this.$1=a}var c=a.prototype;c.getModuleId=function(){var a=this.$1;return a};c.getModuleIdAsRef=function(){return this.$1};c.preload=function(){};c.getModuleIfRequired=function(){return b("ifRequired").call(null,this.$1,g)};c.load=function(){var a=this,c=b("ifRequired")("CometInteractionTracingMetrics",function(c){return c.currentInteractionLogger().addRequireDeferred(a.getModuleId(),b("performanceNow")())});return new(b("Promise"))(function(d){b("requireWeak").call(null,a.getModuleId(),function(a){if(c){var e=!1;c(b("performanceNow")(),e)}d(a)})})};c.loadImmediately=function(a){return b("Bootloader").loadModules.call(b("Bootloader"),[this.getModuleId()],a,"RequireDeferredReference.loadImmediately()")};c.onReady=function(a){__p&&__p();var c=this,d=!1,e=this.getModuleIfRequired(),f=e!=null?b("Promise").resolve(e):this.load();if(e!=null){var g=b("performanceNow")();e=b("ifRequired")("CometInteractionTracingMetrics",function(a){return a.currentInteractionLogger().addRequireDeferred(c.getModuleId(),g)});if(e){var h=!0;e(g,h)}}b("promiseDone")(f,function(){d||a.apply(void 0,arguments)});return{remove:function(){d=!0}}};return a}();e.exports=a}),null); __d("requireDeferred",["RequireDeferredReference"],(function(a,b,c,d,e,f){"use strict";function a(a){return new(b("RequireDeferredReference"))(a)}e.exports=a}),null); __d("CurrentCommunity",["CurrentCommunityInitialData"],(function(a,b,c,d,e,f){a={getID:function(){return b("CurrentCommunityInitialData").COMMUNITY_ID||"0"},getName:function(){return b("CurrentCommunityInitialData").COMMUNITY_NAME||""}};e.exports=a}),null); __d("DTSG",["invariant","DTSGInitialData"],(function(a,b,c,d,e,f,g){"use strict";var h=b("DTSGInitialData").token||null;a={getToken:function(){return h},setToken:function(a){h=a},refresh:function(){g(0,5809)}};e.exports=a}),null); __d("isMessengerDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)messenger\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}e.exports=a}),null); __d("isOculusDotComURI",["URI"],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)oculus\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}e.exports=a}),null); __d("isWorkplaceDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)workplace\\.com$","i");function a(a){return a.getProtocol()==="https"&&g.test(a.getDomain())}e.exports=a}),null); __d("DTSGUtils",["SprinkleConfig","isCdnURI","isFacebookURI","isMessengerDotComURI","isOculusDotComURI","isWorkplaceDotComURI"],(function(a,b,c,d,e,f){"use strict";a={getNumericValue:function(a){var c=0;for(var d=0;d-1)&&(d[b]=a)});b("Env").isCQuick&&!d.cquick&&(d.cquick=b("Env").iframeKey,d.ctarget=b("Env").iframeTarget,d.cquick_token=b("Env").iframeToken);if(a=="POST"){c=b("DTSG").getCachedToken?b("DTSG").getCachedToken():b("DTSG").getToken();c&&(d.fb_dtsg=c,b("SprinkleConfig").param_name&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(c)));b("LSD").token&&(d.lsd=b("LSD").token,b("SprinkleConfig").param_name&&!c&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(b("LSD").token)))}if(a=="GET"){c=b("DTSG_ASYNC").getCachedToken?b("DTSG_ASYNC").getCachedToken():b("DTSG_ASYNC").getToken();c&&(d.fb_dtsg_ag=c,b("SprinkleConfig").param_name&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(c)))}b("ISB").token&&(d.fb_isb=b("ISB").token);b("CurrentCommunity").getID()!=="0"&&(d.__cid=b("CurrentCommunity").getID());b("isSocialPlugin")()&&(d.__sp=1);b("SiteData").spin&&(d[b("StaticSiteData").spin_rev_key]=b("SiteData")[b("StaticSiteData").spin_rev_key],d[b("StaticSiteData").spin_branch_key]=b("SiteData")[b("StaticSiteData").spin_branch_key],d[b("StaticSiteData").spin_time_key]=b("SiteData")[b("StaticSiteData").spin_time_key],b("SiteData")[b("StaticSiteData").spin_mhenv_key]&&(d[b("StaticSiteData").spin_mhenv_key]=b("SiteData")[b("StaticSiteData").spin_mhenv_key]));return d}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/09P_rcHKL4D/ */ __d("Alea",[],(function(a,b,c,d,e,f){__p&&__p();function g(){__p&&__p();var a=4022871197,b=function(b){__p&&__p();b=b.toString();for(var c=0;c>>0;d-=a;d*=a;a=d>>>0;d-=a;a+=d*4294967296}return(a>>>0)*23283064365386963e-26};b.version="Mash 0.9";return b}function a(){__p&&__p();var a=0,b=0,c=0,d=1;for(var e=arguments.length,f=new Array(e),h=0;h0?f:[new Date()],j=new g();a=j(" ");b=j(" ");c=j(" ");for(var k=0;k=a||a<=c)return;c=b("WebStorage").getLocalStorage();if(c!=null){d=d==null?n():d.id;c.setItem("Session",d+":"+a)}},getId:function(){var a,b,c=p();a=(a=r())!=null?a:"";b=(b=s())!=null?b:"";return a+":"+b+":"+c},getPageId_DO_NOT_USE:function(){return p()}};e.exports=a}),null); __d("CookieConsent",["InitialCookieConsent"],(function(a,b,c,d,e,f){"use strict";var g=b("InitialCookieConsent").deferCookies;a={setConsented:function(){g=!1},isDeferCookies:function(){return g},isCookiesBlocked:function(){return b("InitialCookieConsent").noCookies}};e.exports=a}),null); __d("WebStorage",["CookieConsent","FBLogger","ex","gkx","repairLocalStorage"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h={};function i(a,c,d){__p&&__p();if(b("CookieConsent").isCookiesBlocked()||b("CookieConsent").isDeferCookies())return null;if(d==="localStorage"){a=!1;try{a=b("gkx")("946894")}catch(a){}a&&b("repairLocalStorage")()}Object.prototype.hasOwnProperty.call(g,d)||(g[d]=c(d));return g[d]}function j(a){try{return window[a]}catch(a){b("FBLogger")("web_storage").warn("Failed to get storage for read %s",a.message)}return null}function k(a){__p&&__p();try{a=window[a];if(a){var c="__test__"+Date.now();a.setItem(c,"");a.removeItem(c)}return a}catch(a){c="";b("FBLogger")("web_storage").warn("Failed to get storage %s"+c,a.message)}return null}function l(a){var b=[];for(var c=0;c0}n()&&b("Bootloader").loadModules(["GeneratedArtilleryUserTimingSink"],function(a){__p&&__p();j=new a();j.setScalar("navStart",window.performance.timing.navigationStart);for(var a=0;a-1&&navigator.userAgent.indexOf("Chrome")>-1){var a=navigator.userAgent.match(/Chrome\/(\d*)/);if(a){a=Number(a[1]);if(a<60)return!1}}return b("ArtilleryExperiments").user_timing&&window&&window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&g&&h}function o(a,b){j!=null?a.getEntries().forEach(function(a){j.addEntry(a)}):k.push(a)}function p(){return{react:b("ReactExperimentalProdProfiling").startProfiling()}}function q(a){a.react.stopProfiling()}var r={close:function(a){a===void 0;return null}};function a(){__p&&__p();if(!n())return null;i===null&&(i=new g(o),i.observe({entryTypes:["measure"]}));var a=!1,b;j==null?(b=r,l.push(function(){a||(b=j.open())})):b=j.open();var c=p();return{close:function(d){d===void 0&&(d=!1);a=!0;q(c);d=b.close(d);!m()&&i!==null&&(i.disconnect(),i=null);return d}}}c={startRecording:a};e.exports=c}),null); __d("ExecutionContextObservers",[],(function(a,b,c,d,e,f){a={MUTATION_COUNTING:0,PROFILING_COUNTERS:1,REFERENCE_COUNTING:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6,FLUX_PERF_TOOL:7};b={MUTATION_COUNTING:0,REFERENCE_COUNTING:1,PROFILING_COUNTERS:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6,FLUX_PERF_TOOL:7};c={beforeIDs:a,afterIDs:b};e.exports=c}),null); __d("LogBuffer",["CircularBuffer"],(function(a,b,c,d,e,f){__p&&__p();var g=a.__fbNativeSetTimeout||a.setTimeout,h=5e3,i={},j={};c={write:function(a,c){var d=i[a]=i[a]||new(b("CircularBuffer"))(h);d.write(c);j[a]&&j[a].forEach(function(a){try{a(c)}catch(a){}})},read:function(a){if(!i[a])return[];else return i[a].read()},tail:function(a,b){__p&&__p();if(typeof b!=="function")return;j[a]=j[a]||[];j[a].push(b);if(i[a]){a=i[a];a.read().forEach(function(a){try{b(a)}catch(a){}})}},expand:function(a,c){var d=i[a];d?d.expand(c):i[a]=new(b("CircularBuffer"))(c)},clear:function(a){i[a]&&g(function(){i[a].clear()},0)}};e.exports=c}),null); __d("OnDemandExecutionContextObserver",["TimeSlice"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$5=!1,this.$4=!1,this.$1=0,this.$2={},this.$3=0}var c=a.prototype;c.onNewContextCreatedWhileEnabled=function(a,b,c){throw Error("unimplemented abstract method")};c.onNewContextCreatedWhileDisabled=function(a,b,c){};c.onContextCanceled=function(a,b){};c.onBeforeContextStartedWhileEnabled=function(a,b,c){throw Error("unimplemented abstract method")};c.onBeforeContextStartedWhileDisabled=function(a,b,c){};c.onAfterContextStartedWhileEnabled=function(a,b,c,d){throw Error("unimplemented abstract method")};c.onAfterContextStartedWhileDisabled=function(a,b,c,d){};c.onAfterContextEndedWhileEnabled=function(a,b,c,d){throw Error("unimplemented abstract method")};c.onAfterContextEndedWhileDisabled=function(a,b,c,d){};c.onNewContextCreated=function(a,b,c){if(this.isEnabled())return this.onNewContextCreatedWhileEnabled(a,b,c);else{this.onNewContextCreatedWhileDisabled(a,b,c);return null}};c.onBeforeContextStarted=function(a,b,c){if(this.isEnabled())return this.onBeforeContextStartedWhileEnabled(a,b,c);else{this.onBeforeContextStartedWhileDisabled(a,b,c);return null}};c.onAfterContextStarted=function(a,b,c,d){c=c;if(this.isEnabled())return this.onAfterContextStartedWhileEnabled(a,b,c,d);else{this.onAfterContextStartedWhileDisabled(a,b,c,d);return null}};c.onAfterContextEnded=function(a,b,c,d){if(this.isEnabled()){var e=c;this.onAfterContextEndedWhileEnabled(a,b,e,d)}else this.onAfterContextEndedWhileDisabled(a,b,c,d);this.$4&&!this.$5&&a.isRoot&&(this.onDisable(),this.$4=!1)};c.onDisable=function(){};c.onEnable=function(){};c.getBeforeID=function(){throw Error("unimplemented abstract method")};c.getAfterID=function(){throw Error("unimplemented abstract method")};c.isEnabled=function(){return this.$4};c.__getExpiryCallback=function(){var a=this,b=++this.$1;this.$2[b]=!0;this.$3++;return function(){a.$2[b]&&(delete a.$2[b],a.$3--,a.$3===0&&(a.$5=!1))}};c.expressInterest=function(){var a=this.__getExpiryCallback();this.isEnabled()||(this.onEnable(),b("TimeSlice").catchUpOnDemandExecutionContextObservers(this));this.$4=!0;this.$5=!0;return a};return a}();e.exports=a}),null); __d("Heartbeat",["Env","ExecutionContextObservers","FBLogger","LogBuffer","OnDemandExecutionContextObserver","TimeSlice","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c=function(c){__p&&__p();babelHelpers.inheritsLoose(d,c);function d(){var a,b;for(var d=arguments.length,e=new Array(d),f=0;fc;if(this.$HeartbeatObserver4.type==="exec")a.type==="exec"?this.$HeartbeatObserver15(d,e,c?"likely_btwn_exec":"btwn_exec"):this.$HeartbeatObserver14(a)&&this.$HeartbeatObserver15(d,e,c?"likely_post_exec":"post_exec");else if(this.$HeartbeatObserver14(this.$HeartbeatObserver4))if(a.type==="exec")this.$HeartbeatObserver15(d,e,c?"likely_pre_exec":"pre_exec");else if(this.$HeartbeatObserver14(a)&&c){c=a.type==="beat"?"delayed_beat":"delayed_beat_btwn_ignored";this.$HeartbeatObserver15(d,e,c)}}this.$HeartbeatObserver4=a};e.$HeartbeatObserver15=function(a,c,d){a0){var c=this.$HeartbeatObserver8[0],d=c[0];c=c[1];if(a-d>h.MAX_SINGLE_INTEREST_TIME_MS)c(),this.$HeartbeatObserver8.shift();else break}d=this.$HeartbeatObserver10;a-d>h.MAX_ENABLE_TO_DISABLE_TIME_MS&&this.$HeartbeatObserver16()};e.$HeartbeatObserver16=function(){__p&&__p();for(var a=this.$HeartbeatObserver8,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;d[0];d=d[1];d()}this.$HeartbeatObserver8=[]};return d}(b("OnDemandExecutionContextObserver"));var g=new c();b("TimeSlice").registerExecutionContextObserver(g);var h={MAX_SINGLE_INTEREST_TIME_MS:6e4,MAX_ENABLE_TO_DISABLE_TIME_MS:4*6e4,get:function(){return g},enableHeartbeat:function(){},disablePageHeartbeat:function(){}};e.exports=h}),3); __d("IntervalTrackingBoundedBuffer",["CircularBuffer","ErrorUtils"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=5e3;a=function(){__p&&__p();function a(a){__p&&__p();var c=this;this.$6=0;if(a!=null){if(a<=0)throw new Error("Size for a buffer must be greater than zero.")}else a=g;this.$4=a;this.$1=new(b("CircularBuffer"))(a);this.$1.onEvict(function(){c.$6++});this.$2=[];this.$3=1;this.$5=0}var c=a.prototype;c.open=function(){__p&&__p();var a=this,b=this.$3++,c=!1,d,e=this.$5,f={id:b,startIdx:e,hasOverflown:function(){return f.getOverflowSize()>0},getOverflowSize:function(){return d!=null?d:Math.max(a.$6-e,0)},close:function(){if(c)return[];else{c=!0;d=a.$6-e;return a.$7(b)}}};this.$2.push(f);return f};c.pushElement=function(a){this.$2.length>0&&(this.$1.write(a),this.$5++);return this};c.isActive=function(){return this.$2.length>0};c.$8=function(a){return Math.max(a-this.$6,0)};c.$7=function(a){__p&&__p();var c,d,e,f;for(var g=0;g0&&(this.$1.dropFirst(g),this.$6+=g);return i};return a}();e.exports=a}),null); __d("ProfilingCountersStore",["IntervalTrackingBoundedBuffer"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new(b("IntervalTrackingBoundedBuffer"))(),h={getInstance:function(){return g},toMap:function(a){var b={};a.forEach(function(a){return b[a.getTimeSliceContextID()]=a});return b},getNestedTotals:function(a){return h._accumulateOverNestedActiveCounters(a,function(a,b){h._addOnto(b,a.getActiveCounters().getTotals());return b},{})},_accumulateOverNestedActiveCounters:function(a,b,c){__p&&__p();c=c;a.hasActiveCounters()&&(c=b(a,c));if(a.processedNestedContexts!=null)for(var a=a.processedNestedContexts,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c=h._accumulateOverNestedActiveCounters(f,b,c)}return c},_getMaximumAttribution:function(a,b){__p&&__p();if(a.length===0)return null;for(var c=a,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;if(b.propagatedAttributions&&b.propagatedAttributions[f]!=null)return f}f=null;e=null;for(var d=a,c=Array.isArray(d),a=0,d=c?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(c){if(a>=d.length)break;g=d[a++]}else{a=d.next();if(a.done)break;g=a.value}g=g;if(b.newAttributions&&b.newAttributions[g]!=null){var h=b.newAttributions[g].newCounterIdx;(e==null||h0&&b){var f=Object.entries(b);for(var h=0;h=h||(this.processedNestedContexts=this.processedNestedContexts||[],this.processedNestedContexts.push(a))};b.getTimeSliceContextID=function(){return this.$1};a.resetState=function(){i=[new a(!0,null,0)]};a.getHandle=function(){return m};return a}();k.AttributionPropagation=g;var l=function(){"use strict";__p&&__p();function a(){this.$1=null,this.$2=null,this.$3=null,this.$4=null}var c=a.prototype;c.startTiming=function(c){__p&&__p();var d=a.$5++;c={value:0,counter:c,id:d,lastStartTime:0};var e=this.$1||[];this.$2=this.$2||{};this.$2[d]=e.length;e.push(c);var f=b("performanceAbsoluteNow")();c.lastStartTime=f;if(e.length>1){c=e[e.length-2];c.value+=f-c.lastStartTime}this.$1=e;return d};c.stopTiming=function(a){__p&&__p();var c=b("performanceAbsoluteNow")(),d=this.$2,e=this.$1;if(d==null||e==null){b("ErrorUtils").reportError(new Error("token does not match the counter context"));return 0}var f=d[a];delete d[a];if(f==null||e[f]==null)return 0;a=null;var g=0;while(e.length-1>f){var h=e.pop();g+=h.value;delete d[h.id];a==null&&h.lastStartTime!=null&&(a=h.lastStartTime)}h=e.pop();h.value+=c-(a||h.lastStartTime);h.value+=g;f=this.$4||{};f[h.counter]=f[h.counter]||0;f[h.counter]+=h.value;e.length>0&&(e[e.length-1].lastStartTime=c);this.$1=e;this.$4=f;this.$2=d;return h.value};c.incrementCounter=function(a,b){var c=this.$3||{};c[a]=c[a]||0;c[a]+=b;this.$3=c};c.getTotals=function(){return babelHelpers["extends"]({},this.$4||{},this.$3||{})};c.openCounterCount=function(){return this.$1!=null?this.$1.length:0};return a}();l.$5=1;i.push(new k(!0,null,0));b("TimeSlice").registerExecutionContextObserver(k.getObserver());var m=k.getObserver().expressInterest();a.ProfilingCounters=k;e.exports=k}),3); __d("ArtilleryRequestDataCollector",["ArtilleryUserTimingProfiler","Env","FBLogger","Heartbeat","ProfilingCounters","ProfilingCountersStore","TimeSlice","requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;b("requireWeak")("AsyncProfiler",function(a){g=a});a=function(){__p&&__p();function a(a){a===void 0&&(a=!1),this.$1=null,this.$2=!1,this.$3=null,this.$4=null,this.$5=null,this.$6=null,this.$7=null,this.$2=a}var c=a.prototype;c.start=function(){this.$3=b("ProfilingCountersStore").getInstance().open();this.$7=b("ArtilleryUserTimingProfiler").startRecording();g!=null&&g.isSupported()?this.$5=g.startRecording():this.$5=null;var a=b("Env").timeslice_heartbeat_config||{},c=a.isHeartbeatEnabled;a=a.isArtilleryOn;c&&(!this.$2||a)&&this.enablePageHeartbeat();this.$2?this.$4=b("ProfilingCounters").getHandle():this.$4=b("ProfilingCounters").getObserver().expressInterest();this.$6=b("TimeSlice").getBuffer().open();return this};c.enablePageHeartbeat=function(){this.$1==null&&(this.$1=b("Heartbeat").get().expressInterest())};c.finish=function(){(!this.$3||!this.$4||!this.$6||!this.$1)&&b("FBLogger")("artillery").warn("Missing handles. PCData: %s, PCOnDemand: %s, TS: %s, heartbeat: %s",this.$3==null,this.$4==null,this.$6==null,this.$1==null);return this.$8()};c.disable=function(){var a=this.$5;a!=null&&g!=null&&(g.stopRecording(a),this.$5=null);this.$8()};c.$8=function(){__p&&__p();var a=this.$7?this.$7.close():null;this.$7=null;var b=this.$3?this.$3.close():[];this.$3=null;var c=this.$6?this.$6.close():[];this.$6=null;this.$4&&this.$4();this.$4=null;this.$1&&this.$1();this.$1=null;return{sampleRecorder:this.$5,profilingCountersData:b,userTimingProfilerData:a,timeSliceData:c}};return a}();e.exports=a}),null); __d("setInterval",["TimerStorage","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){function a(a,c){for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f")}var g=d.onload;d.onload=b("TimeSlice").guard(function(){i("t_layout"),g&&g(),b("Arbiter").inform(b("PageEvents").NATIVE_ONLOAD,!0,"state")},"window.onload");d.onbeforeunload=b("TimeSlice").guard(function(a){var c={};b("Arbiter").inform(b("PageEvents").NATIVE_ONBEFOREUNLOAD,c,"state");c.warn||b("Arbiter").inform(b("PageEvents").AJAXPIPE_ONUNLOAD,{transition_type:"normal"});if(c.warn!==void 0){a.returnValue=c.warn;return c.warn}else return},"window.onbeforeunload")}function s(){var a,c=b("performanceAbsoluteNow")();((a=window.console)==null?void 0:a.timeStamp)&&window.console.timeStamp('perf_trace {"name": "e2e", "parent": "PageEvents.BIGPIPE_ONLOAD"}');i("t_onload",c);b("Arbiter").inform(b("PageEvents").BIGPIPE_ONLOAD,{ts:c},"state")}var t=b("Arbiter").registerCallback(function(){b("BigPipeInstance").getCurrentInstance()?b("Arbiter").subscribeOnce(b("BigPipeInstance").Events.displayed,s):s()},[b("PageEvents").NATIVE_ONLOAD]),u=b("Arbiter").registerCallback(function(){i("t_domcontent");var a={timeTriggered:Date.now()};b("Arbiter").inform(b("PageEvents").BIGPIPE_DOMREADY,a,"state")},[b("PageEvents").NATIVE_DOMREADY]);b("ExecutionEnvironment").canUseDOM&&r();r={onAfterLoad:d,onAfterUnload:l,onBeforeUnload:f,onCleanupOrLeave:n,onLeave:m,onLoad:c,onUnload:k,__domContentCallback:u,__onloadCallback:t,__removeHook:p};e.exports=r}),null); __d("UserTimingUtils",["performance"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=typeof b("performance").mark==="function"&&typeof b("performance").clearMarks==="function"&&typeof b("performance").measure==="function"&&typeof b("performance").clearMeasures==="function";function a(a){g&&b("performance").mark(a)}function c(a,c){if(g){try{b("performance").measure(a,c)}catch(a){}b("performance").clearMarks(c);b("performance").clearMeasures(a)}}e.exports={measureStart:a,measureEnd:c}}),null); __d("__getCompileTime",[],(function(a,b,c,d,e,f){e.exports={}}),null); __d("__getFactoryTime",[],(function(a,b,c,d,e,f){e.exports={}}),null); __d("__getTotalFactories",[],(function(a,b,c,d,e,f){e.exports={}}),null); __d("captureUsageSnapshot",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){var a=window.__bodyWrapper;if(!a.getCodeUsage)return{js_calls:{},document_html:"",stylesheets:{}};a=babelHelpers["extends"]({},a.getCodeUsage());var b=String(window.document.body.outerHTML),c={};Array.from(document.styleSheets).forEach(function(a){a.href&&(c[a.href]=!0)});return{js_calls:a,document_html:b,stylesheets:c}};e.exports=a}),null); __d("clearTimeout",["requireCond","cr:806696"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:806696")}),null); __d("fastDeepCopy",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){return typeof a==="object"&&a!==null?g(a):a}function g(a){__p&&__p();var b=typeof a.constructor==="function"?a.constructor():{};if(Array.isArray(a))for(var c=0;cm.DEFAULT&&(j=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(function(){j=null,n(b("performanceNow")())},"requestAnimationFrame priorityRAFCallback setTimeout",{propagationType:b("TimeSlice").PropagationType.ORPHAN}),h));a=b("TimeSlice").guard(a,"requestAnimationFrame",{propagationType:b("TimeSlice").PropagationType.CONTINUATION,registerCallStack:!0});a.priority=c;a.deleted&&b("ErrorUtils").applyWithGuard(function(){throw new Error("Scheduling a deleted callback")});c=b("requestAnimationFramePolyfill")(function(){});k[c]=a;return c}function p(a){a=b("TimeSlice").guard(a,"requestAnimationFrame",{propagationType:b("TimeSlice").PropagationType.CONTINUATION});var c=b("requestAnimationFramePolyfill")(a);b("TimeSlice").registerForCancelling(g+c,a);return c}e.exports=function(a,c){if(b("Env").gk_raf_flush)return o(a,c);else return p(a)};e.exports.Priorities=m;e.exports.cancelVirtualRAF=function(a){if(b("Env").gk_raf_flush){b("TimeSlice").cancel(k[a]);delete k[a];if(l){a=l[a];a&&(a.deleted=!0)}}}}),null); __d("requestAnimationFrame",["TimerStorage","TimeSlice","requestAnimationFrameAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){var d;function e(c){b("TimerStorage").unset(b("TimerStorage").ANIMATION_FRAME,d),a(c)}b("TimeSlice").copyGuardForWrapper(a,e);e.__originalCallback=a;d=b("requestAnimationFrameAcrossTransitions")(e,c);b("TimerStorage").set(b("TimerStorage").ANIMATION_FRAME,d);return d}e.exports=a}),null); __d("setTimeout",["requireCond","cr:807042"],(function(a,b,c,d,e,f){e.exports=b("cr:807042")}),null); __d("BigPipe",["ix","requireDeferred","Arbiter","BigPipeExperiments","BigPipeInstance","BigPipePlugins","Bootloader","Env","ErrorUtils","FBLogger","JSCC","PageEvents","PageletEventConstsJS","PageletSet","RunBlue","ServerJS","TimeSlice","UserTimingUtils","$","bx","captureUsageSnapshot","clearTimeout","fastDeepCopy","ge","gkx","performanceAbsoluteNow","qex","requestAnimationFrame","requestAnimationFrameAcrossTransitions","setTimeout","__getTotalFactories","__getCompileTime","__getFactoryTime"],(function(a,b,c,d,e,f,g){__p&&__p();var h=document.documentMode||+(/MSIE.(\d+)/.exec(navigator.userAgent)||[])[1],i=console.timeStamp&&window.location.search.indexOf("pagelet_ts=1")>0;function j(a,c){b("UserTimingUtils").measureStart(a+" "+c)}function k(a,c,d){b("UserTimingUtils").measureEnd("\u26cf "+a+" ["+c+"][phase "+d+"]",a+" "+c)}function l(a,c){if(a)for(var d=0;d=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;var e=this._phases[d];if(e.begun)if(e.complete)continue;else return;else{this._currentPhase=d;this._beginPhase(d);return}}};c._displayPageletHandler=function(a){this.displayCallback?this.displayCallback(this._displayPagelet.bind(this,a)):this._displayPagelet(a)};c._displayPagelet=function(a){__p&&__p();j(a.id,"display");a.displayStarted=!0;this._informPageletEvent(b("PageletEventConstsJS").DISPLAY_START,a);var c=this._getPagelet(a),d=[],e={};for(var f in a.content){var g=a.content[f];a.append&&(f=this._getPageletRootID(a));var h=b("ge")(f);if(!h){var i="Root element %s is missing for pagelet %s";n(f,"missing");continue}else n(f,"found");f===c.id&&c.setRoot(h);if(g){if(a.append)q(h,g,d);else if(g.nodeType)h.innerHTML="",q(h,g,d);else{i=o(g);h.innerHTML=i;e[f]=i;d.push(h)}b("BigPipeExperiments").enable_bigpipe_plugins&&b("BigPipePlugins").runPluginOnPagelet(h)}g=h.getAttribute("data-referrer");g||h.setAttribute("data-referrer",f)}i=null;if(a.static_templates){g=b("ge")("static_templates");g&&(i=o(a.static_templates),a.replace_static_templates_if_exists&&(i=r(g,i,d)),q(g,i,d))}this._informPageletDisplayDetails(a.id,a.jsmods,e,i);a.displayed=!0;if(a.jsmods){h=this._serverJS.handlePartial(a.jsmods,{pagelet:a.id,bigPipeContext:{onDisplayDone:this._onDisplayDone}});c.addDestructor(h.cancel.bind(h))}var l=[];d.forEach(function(a){if(typeof a.getElementsByTagName==="function"){a=a.getElementsByTagName("img");for(var b=0;b0&&this._informEventExternal("images_displayed",{pagelet:a.id,timeslice:b("TimeSlice").getContext()?b("TimeSlice").getContext().contextID:null,images:l});if(b("gkx")("676920")){var m=b("performanceAbsoluteNow")();b("requireDeferred")("VisualCompletionGating").onReady(function(b){b&&b.addElements(a.id,d,m)})}this._informPageletEvent(b("PageletEventConstsJS").DISPLAY_END,a);k(a.id,"display",a.phase);this.arbiter.inform(a.id+"_displayed",!0,"state")};c._onPhaseDisplayEnd=function(c){__p&&__p();var d=this,e=this._getOrCreatePhase(c);e.complete=!0;if(c===this._ttiPhase){e={};var f=b("captureUsageSnapshot")();this.isAjax||(e.cjs_factory_count_tti=b("__getTotalFactories")(),e.cjs_compile_time_tti=b("__getCompileTime")(),e.cjs_factory_time_tti=b("__getFactoryTime")());this._informEventExternal(a.Events.tti,{phase:this._ttiPhase,rid:this.rid,ajax:this.isAjax,metrics:e,usageSnapshot:f});this.arbiter.inform("tti_pagelet_displayed",!0,"state")}e=b("gkx")("676921");var g=!1;this._isRelevant()&&(c===this._lastPhaseBeforeLastResponse&&(g=e,this._fireDisplayDone(function(){g&&d._nextPhase()})),c===this._lastPhaseOfLastResponse&&(this._displayDoneFired||(g=e,this._fireDisplayDone(function(){})),this.arbiter.inform("pagelet_displayed_all",!0,"state")));!g&&c!==this._lastPhaseOfLastResponse&&this._nextPhase()};c._nextPhase=function(){this.config.flush_pagelets_asap?h<=8?b("setTimeout")(this._tryRenderingNextPhase.bind(this),20):this._tryRenderingNextPhase():(this._currentPhase++,h<=8?b("setTimeout")(this._beginPhase.bind(this,this._currentPhase),20):this._beginPhase(this._currentPhase))};c._fireDisplayDone=function(a){var c=this;this._displayDoneFired=!0;b("Env").gk_raf_flush?b("requestAnimationFrame")(function(){c.arbiter.inform("display_done",!0),c._displayDone=!0,a()},{priority:b("requestAnimationFrameAcrossTransitions").Priorities.DISPLAY_DONE_LOGGING}):(this.arbiter.inform("display_done",!0),this._displayDone=!0,a());this.lid&&k("display_done",this.lid,"all")};c._downloadJsForPagelet=function(a){__p&&__p();this._informPageletEvent(b("PageletEventConstsJS").JS_START,a),b("Bootloader").loadResources(a.allResources||[],function(){var c=this;this._informPageletEvent(b("PageletEventConstsJS").JS_END,a);a.requires=a.requires||[];(!this.isAjax||a.phase>=1)&&a.requires.push("uipage_onload");var d=function(){c._informPageletEvent(b("PageletEventConstsJS").ONLOAD_START,a),c._isRelevantPagelet(a)&&l(a.onload),c._informPageletEvent(b("PageletEventConstsJS").ONLOAD_END,a),c.arbiter.inform("pagelet_onload",!0),a.provides&&c.arbiter.inform(a.provides,!0,"state")},e=function(){c._isRelevantPagelet(a)&&l(a.onafterload)};this.arbiter.registerCallback(d,a.requires);this.arbiter.registerCallback(e,[this.onloadEvt])}.bind(this),a.id)};c._getPagelet=function(a){a=this._getPageletRootID(a);return b("PageletSet").getPagelet(a)};c._getPageletRootID=function(a){return a.append||Object.keys(a.content)[0]||null};c._isRelevant=function(){var a=b("BigPipeInstance").getCurrentInstance();return this==a||this.automatic&&this._relevant_instance==a||this.jsNonBlock||this.forceFinish||a&&a.allowIrrelevantRequests};c._isRelevantPagelet=function(a){if(!this._isRelevant())return!1;a=this._getPageletRootID(a);return!!this._livePagelets[a]};c._informEventExternal=function(a,c,d){c=c||{},d=d||this.arbiter,c.ts=b("performanceAbsoluteNow")(),i&&(console.timeStamp&&console.timeStamp(a+" "+(Object.prototype.hasOwnProperty.call(c,"arbiter")?JSON.stringify(babelHelpers["extends"]({},c,{arbiter:null})):JSON.stringify(c)))),this.lid===null?this._awaitingLIDEventQueue.push([d,a,c]):(c.lid=this.lid,d.inform(a,c,"persistent"))};c._informPageletEvent=function(a,b){a={event:a,id:b.id};b.phase&&(a.phase=b.phase);b.categories&&(a.categories=b.categories);b.allResources&&(a.allResources=b.allResources);b.displayResources&&(a.displayResources=b.displayResources);this._informEventExternal("pagelet_event",a)};c._informPageletDisplayDetails=function(a,c,d,e){if(this.config.dispatch_pagelet_replayable_actions)try{this._informEventExternal("pagelet_performing_replayable_actions",{id:a,jsmods:b("fastDeepCopy")(c),contentMap:d,staticTemplates:e})}catch(a){b("FBLogger")("bigpipe_pagelet_replay").catching(a).warn("failed at _informPageletDisplayDetails"),this._informEventExternal("pagelet_performing_replayable_actions_failed",{})}};a.getCurrentInstance=function(){return b("BigPipeInstance").getCurrentInstance()};return a}();Object.assign(c.prototype,{beforePageletArrive:function(a){var c=this;b("TimeSlice").guard(function(){return c._informPageletEvent(b("PageletEventConstsJS").ARRIVE_START,{id:a})},"beforePageletArrive "+a,{root:!0})()},setPageID:function(a){this.lid=a,this._awaitingLIDEventQueue.forEach(function(b){var c=b[0],d=b[1];b=b[2];b.lid=a;c.inform(d,b,"persistent")}),this._awaitingLIDEventQueue=[],this.lid&&j("display_done",this.lid)},onPageletArrive:b("ErrorUtils").guard(function(a){__p&&__p();var c=this;this._informPageletEvent(b("PageletEventConstsJS").ARRIVE_END,a);b("bx").add(a.bxData);b("gkx").add(a.gkxData);g.add(a.ixData);b("qex").add(a.qexData);b("Bootloader").setResourceMap(a.resource_map||{});a.bootloadable&&b("Bootloader").enableBootload(a.bootloadable);a.content=a.content||{};var d=a.phase;if(a.all_phases)for(var e=a.all_phases,f=Array.isArray(e),h=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(f){if(h>=e.length)break;i=e[h++]}else{h=e.next();if(h.done)break;i=h.value}i=i;this._getOrCreatePhase(i)}i=this._getOrCreatePhase(d);i.pagelets.push(a.id);this._maxPhase=Math.max(d,this._maxPhase);a.last_in_phase&&this.arbiter.registerCallback(function(){return c._onPhaseDisplayEnd(d)},i.pagelets.map(function(a){return a+"_displayed"}).concat(["phase_begin_"+d]));h=this._getPageletRootID(a);var j=b("PageletSet").getOrCreatePagelet(h);a.last_pagelet&&(this._lastPhaseBeforeLastResponse=this._maxPhase);a.the_end&&(this._lastPhaseOfLastResponse=d);a.tti_phase!==void 0&&(this._ttiPhase=a.tti_phase);this._livePagelets[j.id]=!0;j.addDestructor(function(){delete c._livePagelets[j.id]});if(a.jscc_map){f=b("JSCC").parse(a.jscc_map);e=b("JSCC").init(f);j.addDestructor(e)}var k,l=[];i=!a.the_end||this._displayDone||!b("gkx")("676922");if(a.jsmods&&i){h=a.jsmods.define;f=a.jsmods.instances;e=a.jsmods.markup;var n=a.jsmods.pre_display_requires;delete a.jsmods.define;delete a.jsmods.instances;delete a.jsmods.markup;delete a.jsmods.pre_display_requires;var o=19e3;o=function(){if(a.displayStarted){b("FBLogger")("BigPipe").warn("registerToBlockDisplayUntilDone_DONOTUSE called after pagelet %s was displayed. This is a no-op.",a.id);return function(){}}var d,e,f=m+"_preDisplayEvent";m++;k?c.arbiter.registerCallback(k,[f]):l.push(f);return b("TimeSlice").guard(function(){e=!0,b("clearTimeout")(d),c.arbiter.inform(f,!0,"state")},"BigPipeDisplayBlockingEvent "+f,{propagationType:b("TimeSlice").PropagationType.EXECUTION})};this._informPageletDisplayDetails(a.id,{define:h,instances:f,markup:e,pre_display_requires:n},{});this._serverJS.handlePartial({define:h,instances:f,markup:e,pre_display_requires:n},{pagelet:a.id,bigPipeContext:{onDisplayDone:this._onDisplayDone,registerToBlockDisplayUntilDone_DONOTUSE:o}})}this._informPageletEvent(b("PageletEventConstsJS").SETUP,a);if(a.display_out_of_phase==="asap")l=l.concat(["first_response_displayed",a.id+"_css_end"]);else if(a.display_out_of_phase==="after_tti"){var p=a.id+"_greedy_render";l=l.concat(["first_response_displayed",a.id+"_css_end",p]);var q=!1;h=function(){if(q)return;c.arbiter.inform(p,!0,"state")};this.arbiter.registerCallback(h,["tti_pagelet_displayed"]);this.arbiter.registerCallback(h,["phase_begin_"+d])}else l=l.concat(["phase_begin_"+a.phase,a.id+"_css_end"]);(a.display_dependency||[]).forEach(function(a){return l.push(a+"_displayed")});if(a.display_group){f=document.body.getElementsByClassName("pagelet-group");for(var e=0;e=0;d--)a<6&&(b=Math.floor(2147483648*h()),a=32),d===0&&(b&=7),c=g.charAt(b&63)+c,b>>=6,a-=6;return c};a={newTraceId:function(){var a;for(var c=3;c>0;c--){a=i();if(a!=this.getDummyId())return a}b("FBLogger")("FIXME").mustfix("failed to generate valid Fbtrace id");return this.getDummyId()},newObjectId:function(){return this.newTraceId()},getDummyId:function(){return"AAAAAAAAAAA"},traceIdToBucket:function(a){a=a.charAt(a.length-1);return g.indexOf(a)%32}};e.exports=a}),null); __d("ArtilleryAsyncRequestTracingAnnotator",["FBLogger","IntervalTrackingBoundedBuffer","ResourceTimingsStore","ResourceTypes"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[1e3],h=new(b("IntervalTrackingBoundedBuffer"))(),i="FB-ART-INFO",j=new Map();function k(a,b){return b!=null&&b.artillery_join_data!=null?{uid:a,ids_for_timings:b.artillery_join_data}:null}a={startTracingWindow:function(a,b,c){c===void 0&&(c=null);var d=h.open();c=c||g;j.set(a,{trace_id:a,interaction_name:b,tracing_levels:c});return{finishTracingWindow:function(){j["delete"](a);return d.close()}}},registerAsyncRequest:function(a,c){if(j.size===0)return function(){};else{var d=JSON.stringify(Array.from(j.values()));a.setRequestHeader(i,d);return function(a){a=k(c,a);a!=null?h.pushElement(a):(b("FBLogger")("ArtilleryAsyncRequestTracingAnnotator").debug("expected a payload back in the response from the server containing trace information, but nothing arrived."),b("ResourceTimingsStore").annotate(b("ResourceTypes").XHR,c).addStringAnnotation("join_error","join_data_expected_but_not_found"))}}},__active:function(){throw new Error("__active should only be available in __DEV__")}};e.exports=a}),null); __d("TimeSliceInteractionExtraSaver",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({EXAMPLE_COMPONENT_SAVER:"example_component_saver",ADS_WAIT_TIME_SAVER:"ads_wait_time_saver",ADS_FLUX_PROFILER_SAVER:"ads_flux_profiler_saver",TIMESLICE_EXECUTION_SAVER:"timeslice_execution_saver",INTERACTION_ASYNC_REQUEST_JOIN_DATA:"interaction_async_request_join_data",RESOURCES_SAVER:"resources_saver",USER_TIMING_SAVER:"user_timing_saver"})}),null); __d("InteractionAsyncRequestJoinDataSource",["ArtilleryAsyncRequestTracingAnnotator","FBLogger","TimeSliceInteractionExtraSaver"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={registerInteraction:function(a){__p&&__p();a.countDown();var c=a.traceID,d=a.name;if(c==null){b("FBLogger")("InteractionAsyncRequestJoinDataSource").mustfix("got a null trace_id for interaction "+d+". Typically this indicates that only lite tracing was on, which this hook does not support");return}var e=b("ArtilleryAsyncRequestTracingAnnotator").startTracingWindow(c,d);a.registerOnBeforeFinish(function(a){var c=e.finishTracingWindow();a.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").INTERACTION_ASYNC_REQUEST_JOIN_DATA,"entries",c)});a.registerOnCleanup(function(){e.finishTracingWindow()})}};e.exports=a}),null); __d("TSIAdsReliabilityHook",[],(function(a,b,c,d,e,f){"use strict";var g={callbacks:[],register:function(a){g.callbacks.push(a)},event:function(a,b,c){g.callbacks.forEach(function(d){return d(a,b,c)})}};e.exports=g}),null); __d("TimeSliceExecutionLogger",["ExecutionContextObservers","IntervalTrackingBoundedBuffer","OnDemandExecutionContextObserver","TimeSlice","TimingAnnotations","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=1e4,h={BEGIN:"b",END:"e"},i=new(b("TimingAnnotations"))(),j;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),h=0;h0){var e=n(d);a.setTimeout(function(){return w(e)},c.timeout)}return n(d)}function p(a){a=o(a);g[a]=null}function q(){k||(k=!0,b("requestAnimationFramePolyfill")(function(a){k=!1,s(b("performanceNow")()-a)}))}function r(a){var b=l-m;if(ab||aj){a=r(a);if(a>0){c=c+a;v(c);j=c}}t()&&q()}function t(){return h=j.length)break;c=j[d++]}else{d=j.next();if(d.done)break;c=d.value}g=c;b("TimeSliceInteractionReliability").bumpLifecycleCounter("starting",a,g)}}var d=c.prototype;d.recordWithExtraSaver=function(a,b,c){if(this.isEnabled()){var d=this.$27.get(a)||{};b!=null&&c!=null&&(d[b]=c);this.$27.set(a,d)}return this};d.countDown=function(){this.$24--,this.$24===0?this.$20&&this.$20():this.$24<0&&b("FBLogger")("TimeSliceInteraction").warn("some hook counted down twice")};d.countUp=function(){this.$24>0?++this.$24:b("FBLogger")("TimeSliceInteraction").warn("Attempting to countUp on finished interaction")};d.inform=function(a,c){var d=c!=null&&c.isPointOfInterest;if(!this.isEnabledForMode("full")&&!(this.isEnabledForMode("lite")&&d))return p;d=c&&c.ts||b("performanceAbsoluteNow")();var e=new(b("TimingAnnotations"))(),f=this.isEnabledForMode("full")?b("TimeSlice").getGuardNameStack():[];this.$12.push(babelHelpers["extends"]({ts:d,name:a,annotations:e,rawStackTrace:c&&c.rawStackTrace||null,guardStack:f},j,c));return e};d.informPointWithOverride=function(a,c){__p&&__p();var d=b("performanceAbsoluteNow")(),e=c!=null&&c.isPointOfInterest;if(!this.isEnabledForMode("full")&&!(this.isEnabledForMode("lite")&&e)||!this.$29)return p;e=this.isEnabledForMode("full")?b("TimeSlice").getGuardNameStack():[];var f=this.$29[a];c&&(c.rawStackTrace=c.rawStackTrace||null);if(f)f.ts=d,f.guardStack=e,Object.assign(f,c||{});else{f=new(b("TimingAnnotations"))();this.$29[a]=babelHelpers["extends"]({ts:d,name:a,annotations:f,rawStackTrace:c&&c.rawStackTrace||null,guardStack:e},j,c)}return this.$29[a].annotations};d.invokeWithProfiling=function(c,d){if(!this.isEnabledForMode("full"))return d();var e=this.inform("start_"+c);this.$6.push(e);e=b("ErrorUtils").applyWithGuard(d,a,null,null,c);this.inform("finished_"+c);this.$6.pop();return e};d.getCurrentInvocation=function(){if(!this.isEnabledForMode("full"))return p;else if(this.$6.length<1)return p;else return this.$6[this.$6.length-1]};d.finish=function(a){__p&&__p();var c=this;this.$30(a?"client_tsi_finish_on_unload":"client_tsi_finish");if(!this.$4)return;if(a&&this.$20){this.$20();return}if(this.$7)b("FBLogger")("TimeSliceInteraction").warn("Trace was already marked as ended");else{t(this);this.$15.forEach(function(a){return a(c)});for(var d=this.$18,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(e){if(f>=d.length)break;i=d[f++]}else{f=d.next();if(f.done)break;i=f.value}i=i;b("TimeSliceInteractionReliability").bumpLifecycleCounter("finishing",this.$1,i)}this.inform("trace_ended",{type:b("ArtilleryJSPointTypes").TRACE_ENDED,pointGroup:"e2e",isPointOfInterest:!0});var j=this.isEnabledForMode("lite"),k=this.isEnabledForMode("full");k&&this.trace().addStringAnnotation("weight",""+1/(this.$21*this.$22));j&&this.trace().addStringAnnotation("lite_weight",""+1/(this.$21*this.$23));navigator&&navigator.connection&&(typeof navigator.connection.downlink==="number"&&this.trace().addStringAnnotation("browser_downlink_megabits",navigator.connection.downlink.toString()),typeof navigator.connection.rtt==="number"&&this.trace().addStringAnnotation("browser_rtt_ms",navigator.connection.rtt.toString()),typeof navigator.connection.effectiveType==="string"&&this.trace().addStringAnnotation("browser_effective_connection_type",navigator.connection.effectiveType));var l=b("performanceAbsoluteNow")(),n=m.get(this);m["delete"](this);this.$5&&this.$5();var p=this.$25!=null?this.$25.close():[],q=this.$26!=null?this.$26.close():[],r=this.$26!=null?this.$26.hasOverflown():!1,s=this.$26!=null?this.$26.getOverflowSize():0,u=this.$10!=null?this.$10.close():null;if(j||k){var v=function(a){j&&c.$31(n),k&&(u!=null&&c.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").USER_TIMING_SAVER,"data",u),c.$32(l,n,a,p,q,r,s)),o&&o===c.$3&&(b("Arbiter").inform("time_slice_trace_posted",{traceId:c.$3}),o=null),c.$33()},w=v;if(this.$9!==void 0){h||g(0,1439);var x=h.stopRecording(this.$9);w=function(){x["catch"](function(a){setTimeout(function(){throw a},0)}).then(v)}}a?w():this.$20=function(){return b("requestIdleCallbackAcrossTransitions")(function(){return w()})}}this.countDown();this.$7=!0}};d.registerOnBeforeSend=function(a){this.$4&&this.$13.push(a);return this};d.registerOnBeforeFinish=function(a){this.$4&&this.$15.push(a);return this};d.registerOnCleanUp=function(a){this.$4&&this.$14.push(a);return this};d.trace=function(){return!this.$4?q:this.$16};d.getTraceID=function(){return this.$4?this.$3:null};d.setExtraSampleRate=function(a){this.$21=a;return this};d.isEnabled=function(){return this.$4};d.disable=function(a){__p&&__p();a===void 0&&(a=!1);m["delete"](this);this.$5&&this.$5();this.$9!==void 0&&(h||g(0,1439),h.stopRecording(this.$9));if(!a&&this.$4)for(var a=this.$18,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;b("TimeSliceInteractionReliability").bumpLifecycleCounter("disabled",this.$1,e)}this.$4=!1;this.$33()};d.disableBanzaiStream=function(){this.$28=!1};c.getPageLoadPoints=function(a,b){var c=[],d=k.read();for(var e=d.length-1;e>=0;e--){var f=d[e];if(f.ts=0;e--){var f=d[e],g=f.interaction;f=f.ts;g=g.getTraceID();if(f0?f[0].begin:null;o=o.getMetrics(t!=null&&t0&&(k.push.apply(k,a),b("requestIdleCallbackAcrossTransitions")(b("TimeSlice").guard(m,"invoking onAllChildrenFinished callbacks",{propagationType:b("TimeSlice").PropagationType.ORPHAN})))}function m(){while(k.length)k.pop().finish()}var n=function(){"use strict";__p&&__p();function a(b,c){this.$2=a.$1++,this.$3=b,this.$4=[],this.$5=!1,this.$6=c,this.openReferenceCount=1,this.timeslices=[b]}var b=a.prototype;b.isProfiling=function(){return this.$6};b.addCallback=function(a){!this.$5?this.$4.push(a):a();return this};b.finish=function(){this.$5||(this.$5=!0,this.$4.forEach(function(a){return a()}),delete this.$4)};b.getContinuationExecutionCounterID=function(){return this.$2};b.isInsideContinuationExecution=function(){return h.indexOf(this)!==-1};b.getTimeSliceContextsThisCounted=function(){return this.timeslices};b.getRootContextID=function(){return this.$3};return a}();n.$1=1;function o(a,b){a.forEach(function(a){var c=a.getContinuationExecutionCounterID(),d=b.find(function(a){return a.getContinuationExecutionCounterID()===c});d||b.push(a)})}c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.onNewContextCreatedWhileEnabled=function(a,b,c){var d;c.isContinuation&&(d=h,d.forEach(function(a){return a.openReferenceCount++}));a={hasBeenInvoked:!1,hasExecutionBeenCounted:!1,parentReferenceCounters:d,creationID:j++};return a};d.onContextCanceled=function(a,b){a=b||{};a.hasBeenInvoked||(l(a.parentReferenceCounters),a.hasBeenInvoked=!0)};d.onBeforeContextStartedWhileEnabled=function(a,c,d){__p&&__p();var e={callerProfilingCounterID:i,callerReferenceCounters:g,callerExecutionCounters:h.slice()};c=c||{hasBeenInvoked:!1,creationID:-1};c.hasBeenInvoked=!0;a.executionNumber>0?g=[]:g=c.parentReferenceCounters||[];d.extendsExecution?o(g,h):h=[];h.forEach(function(b){return b.timeslices.push(a.contextID)});g.filter(function(a){return a.isProfiling()}).length>0&&a.executionNumber===0?i=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",a.contextID):i=null;return e};d.onDisable=function(){i=null,g=[],h=[]};d.onAfterContextStartedWhileEnabled=function(a,b,c,d){return c};d.onAfterContextEndedWhileEnabled=function(a,c,d,e){c=a.contextID;i!=null&&(b("ProfilingCounters").stopTimingInContext(i,c),i=null);l(g);g=d.callerReferenceCounters;h=d.callerExecutionCounters;i=d.callerProfilingCounterID};d.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.REFERENCE_COUNTING};d.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.REFERENCE_COUNTING};return c}(b("OnDemandExecutionContextObserver"));var p={onAllChildrenFinished:function(a,b){b===void 0&&(b=!1);var c=p.getObserver().expressInterest();return p.onAllChildrenFinishedWithoutAutoTurningObserverOn(a,c,b)},onAllChildrenFinishedWithoutAutoTurningObserverOn:function(c,d,e){__p&&__p();var f=b("TimeSlice").getContext();if(f==null){d();return null}f=f.contextID;a=new n(f,e);a.addCallback(d);c&&a.addCallback(c);g=g.slice();g.push(a);h=h.slice();h.push(a);i==null&&a.isProfiling()&&(i=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",f));return a},getObserver:function(){return q}},q=new c();b("TimeSlice").registerExecutionContextObserver(q);e.exports=p}),null); __d("TimeSliceAutoclosedInteraction",["ErrorUtils","ProfilingCounters","TimeSlice","TimeSliceInteraction","TimeSliceInteractionExtraSaver","TimeSliceInteractionSV","TimeSliceReferenceCounting","clearTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=70*1e3;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d){__p&&__p();var e;d===void 0&&(d=[]);e=a.call(this,c,d)||this;e.$TimeSliceAutoclosedInteraction1=new Map();e.$TimeSliceAutoclosedInteraction2=0;e.$TimeSliceAutoclosedInteraction3=!0;e.$TimeSliceAutoclosedInteraction4=[];e.$TimeSliceAutoclosedInteraction5=new Set();if(e.isEnabled()){e.trace().addStringAnnotation("initiatorType","autoclosed");var f=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(function(){e.isDone()||(e.trace().addStringAnnotation("terminated_by_timeout_ms",g.toString()),e.finish())},"timeout for action "+c,{propagationType:b("TimeSlice").PropagationType.EXECUTION}),g);e.registerOnBeforeSend(function(){e.trace().addStringAnnotation("ref_counting_trees",""+e.$TimeSliceAutoclosedInteraction2).addStringAnnotation("ref_counters_pending_count",""+e.$TimeSliceAutoclosedInteraction1.size),b("clearTimeout")(f)});d=b("TimeSliceReferenceCounting").onAllChildrenFinished(null,!0);if(d==null)e.disable(),b("ErrorUtils").reportError(new Error("starting autoclosed interaction outside of a timeslice."));else{e.waitForReferenceCounter(d);e.trace().addStringAnnotation("on_demand_reference_counting",b("TimeSliceInteractionSV").on_demand_reference_counting?"1":"0");c="timeslice_interaction_"+e.getTraceID();e.isEnabledForMode("full")&&(b("ProfilingCounters").currentContext().addAttribution(c,b("ProfilingCounters").AttributionPropagation.ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC),e.addProfilingCounterAttribution(c))}}return e}c.getInteractionsActiveRightNow=function(){return Array.from(b("TimeSliceInteraction").getAllActiveInteractions()).filter(function(a){return a.$TimeSliceAutoclosedInteraction3&&a.hasActiveReferenceCountingHandle()})};var d=c.prototype;d.waitForReferenceCounter=function(a){__p&&__p();var c=this;if(!this.isEnabled())return this;var d=a.getContinuationExecutionCounterID();this.$TimeSliceAutoclosedInteraction1.set(d,a);this.$TimeSliceAutoclosedInteraction2++;a.addCallback(function(){b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.$TimeSliceAutoclosedInteraction1.has(d)&&a.getTimeSliceContextsThisCounted().forEach(function(a){return c.$TimeSliceAutoclosedInteraction5.add(a)}),c.$TimeSliceAutoclosedInteraction1["delete"](d)&&c.$TimeSliceAutoclosedInteraction1.size===0&&(c.$TimeSliceAutoclosedInteraction4.forEach(function(a){return a()}),c.$TimeSliceAutoclosedInteraction4=[],c.isEnabled()&&!c.isDone()&&(b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").TIMESLICE_EXECUTION_SAVER,"reference_counted_contexts",Array.from(c.$TimeSliceAutoclosedInteraction5.values())),c.finish()))});return this};d.onReferenceCountedExecutionFinished=function(a){this.$TimeSliceAutoclosedInteraction4.push(a)};d.hasActiveReferenceCountingHandle=function(){__p&&__p();for(var a=this.$TimeSliceAutoclosedInteraction1.values(),b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(d.isInsideContinuationExecution())return!0}return!1};return c}(b("TimeSliceInteraction"));e.exports=a}),null); __d("Keys",[],(function(a,b,c,d,e,f){"use strict";e.exports=Object.freeze({BACKSPACE:8,TAB:9,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE_BREAK:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,LEFT_WINDOW_KEY:91,RIGHT_WINDOW_KEY:92,SELECT_KEY:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,MULTIPLY:106,ADD:107,SUBTRACT:109,DECIMAL_POINT:110,DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,SEMI_COLON:186,EQUAL_SIGN:187,COMMA:188,DASH:189,PERIOD:190,FORWARD_SLASH:191,GRAVE_ACCENT:192,OPEN_BRACKET:219,BACK_SLASH:220,CLOSE_BRAKET:221,SINGLE_QUOTE:222})}),null); __d("clearImmediatePolyfill",["ImmediateImplementation"],(function(a,b,c,d,e,f){e.exports=a.clearImmediate||b("ImmediateImplementation").clearImmediate}),null); __d("clearImmediate",["TimerStorage","TimeSlice","clearImmediatePolyfill"],(function(a,b,c,d,e,f){var g=b("TimerStorage").IMMEDIATE;function a(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,a);var c=g+String(a);b("TimeSlice").cancelWithToken(c)}b("clearImmediatePolyfill")(a)}e.exports=a}),null); __d("TimeSliceInteractionCancelHook",["Keys","clearImmediate","requireWeak","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){var c=b("setImmediateAcrossTransitions")(function(){g.push(a)}),d=!1;return{remove:function(){if(d)return;d=!0;b("clearImmediate")(c);var e=g.indexOf(a);e!==-1&&g.splice(e,1)}}}};b("requireWeak")("Event",function(a){a.listen(document,"click",function(){g.forEach(function(a){a.trace().addStringAnnotation("clicked_during_interaction","1")})}),a.listen(document,"keydown",function(c){a.getKeyCode(c)===b("Keys").ESC&&g.forEach(function(a){a.trace().addStringAnnotation("escaped_during_interaction","1")})})});e.exports=a}),null); __d("CurrentEventMeta",[],(function(a,b,c,d,e,f){var g=null,h={};a={__setCurrentEventID:function(a){g=a},__informEventDataReady:function(a,b){h[a]&&(h[a].forEach(function(a){return a(b)}),delete h[a])},hasCurrentEvent:function(){return!!g},registerForCurrentEventData:function(a){g&&(h[g]=h[g]||[],h[g].push(a))}};e.exports=a}),null); __d("TimeSliceInteractionEventHook",["CurrentEventMeta"],(function(a,b,c,d,e,f){"use strict";a={registerInteraction:function(a){b("CurrentEventMeta").hasCurrentEvent()&&(a.countUp(),b("CurrentEventMeta").registerForCurrentEventData(function(b){Object.keys(b).forEach(function(c){var d=""+b[c];a.trace().addStringAnnotation(c,d)}),a.countDown()}));return null}};e.exports=a}),null); __d("Run",["requireCond","cr:925100"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:925100")}),null); __d("TimeSliceInteractionLeaveHook",["Run"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){g.push(a);return{remove:function(){var b=g.indexOf(a);b!==-1&&g.splice(b,1)}}}};b("Run").onUnload(function(){g.forEach(function(a){a.trace().addStringAnnotation("ended_early_because_page_is_unloading","1"),a.finish(!0)})});e.exports=a}),null); __d("EventEmitterWithValidation",["BaseEventEmitter"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(b,a);function b(b){var c;c=a.call(this)||this;c.$EventEmitterWithValidation1=Object.keys(b);return c}var c=b.prototype;c.emit=function(b){g(b,this.$EventEmitterWithValidation1);return a.prototype.emit.apply(this,arguments)};return b}(b("BaseEventEmitter"));function g(a,b){if(b.indexOf(a)===-1)throw new TypeError(h(a,b))}function h(a,b){a='Unknown event type "'+a+'". ';a+="Known event types: "+b.join(", ")+".";return a}e.exports=a}),null); __d("mixInEventEmitter",["invariant","EventEmitterWithHolding","EventEmitterWithValidation","EventHolder"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,b){b||g(0,3159);var c=a.prototype||a;c.__eventEmitter&&g(0,3160);a=a.constructor;a&&(a===Object||a===Function||g(0,3161));c.__types=babelHelpers["extends"]({},c.__types,b);Object.assign(c,h)}var h={emit:function(a,b,c,d,e,f,g){return this.__getEventEmitter().emit(a,b,c,d,e,f,g)},emitAndHold:function(a,b,c,d,e,f,g){return this.__getEventEmitter().emitAndHold(a,b,c,d,e,f,g)},addListener:function(a,b,c){return this.__getEventEmitter().addListener(a,b,c)},once:function(a,b,c){return this.__getEventEmitter().once(a,b,c)},addRetroactiveListener:function(a,b,c){return this.__getEventEmitter().addRetroactiveListener(a,b,c)},listeners:function(a){return this.__getEventEmitter().listeners(a)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(a){this.__getEventEmitter().releaseHeldEventType(a)},__getEventEmitter:function(){if(!this.__eventEmitter){var a=new(b("EventEmitterWithValidation"))(this.__types),c=new(b("EventHolder"))();this.__eventEmitter=new(b("EventEmitterWithHolding"))(a,c)}return this.__eventEmitter}};e.exports=a}),null); __d("pageID",["WebSession"],(function(a,b,c,d,e,f){"use strict";e.exports=b("WebSession").getPageId_DO_NOT_USE()}),null); __d("NavigationMetricsCore",["mixInEventEmitter","pageID"],(function(a,b,c,d,e,f){__p&&__p();var g={NAVIGATION_DONE:"NAVIGATION_DONE",EVENT_OCCURRED:"EVENT_OCCURRED"},h={tti:"tti",e2e:"e2e",all_pagelets_loaded:"all_pagelets_loaded",all_pagelets_displayed:"all_pagelets_displayed"},i=0,j={},k=function(){"use strict";__p&&__p();function a(){this.eventTimings={tti:null,e2e:null,all_pagelets_loaded:null,all_pagelets_displayed:null},this.lid=b("pageID")+":"+i++,this.extras={}}var c=a.prototype;c.getLID=function(){return this.lid};c.setRequestStart=function(a){this.start=a;return this};c.setTTI=function(a){this.eventTimings.tti=a;this.$1(h.tti,a);return this};c.setE2E=function(a){this.eventTimings.e2e=a;this.$1(h.e2e,a);return this};c.setExtra=function(a,b){this.extras[a]=b;return this};c.setDisplayDone=function(a){this.eventTimings.all_pagelets_displayed=a;this.setExtra("all_pagelets_displayed",a);this.$1(h.all_pagelets_displayed,a);return this};c.setAllPageletsLoaded=function(a){this.eventTimings.all_pagelets_loaded=a;this.setExtra("all_pagelets_loaded",a);this.$1(h.all_pagelets_loaded,a);return this};c.setServerLID=function(a){this.serverLID=a;return this};c.$1=function(a,b){var c={};j!=null&&this.serverLID!=null&&j[this.serverLID]!=null&&(c=j[this.serverLID]);c=babelHelpers["extends"]({},c,{event:a,timestamp:b});l.emitAndHold(g.EVENT_OCCURRED,this.serverLID,c);return this};c.doneNavigation=function(){var a=babelHelpers["extends"]({start:this.start,extras:this.extras},this.eventTimings);if(this.serverLID&&j[this.serverLID]){var b=this.serverLID;Object.assign(a,j[b]);delete j[b]}l.emitAndHold(g.NAVIGATION_DONE,this.lid,a)};return a}(),l={Events:g,postPagelet:function(a,b,c){},siteInit:function(a){a(k)},setPage:function(a){if(!a.serverLID)return;j[a.serverLID]={page:a.page,pageType:a.page_type,pageURI:a.page_uri,serverLID:a.serverLID}},getFullPageLoadLid:function(){throw new Error("getFullPageLoadLid is not implemented on this site")}};b("mixInEventEmitter")(l,g);e.exports=l}),null); __d("NavigationMetrics",["Arbiter","BigPipeInstance","NavigationMetricsCore","PageEvents","performance"],(function(a,b,c,d,e,f){__p&&__p();var g="0";b("NavigationMetricsCore").getFullPageLoadLid=function(){return g};b("NavigationMetricsCore").siteInit(function(a){__p&&__p();var c=new a(),d=!0;b("Arbiter").subscribe(b("BigPipeInstance").Events.init,function(e,f){__p&&__p();var h=d?c:new a();d&&(g=f.lid);d=!1;h.setServerLID(f.lid);e=f.arbiter;e.subscribe(b("BigPipeInstance").Events.tti,function(a,b){a=b.ts;h.setTTI(a)});e.subscribe(b("PageEvents").AJAXPIPE_SEND,function(a,b){a=b.ts;h.setRequestStart(a)});e.subscribe(b("PageEvents").AJAXPIPE_ONLOAD,function(a,b){a=b.ts;h.setE2E(a).doneNavigation()});e.subscribe(b("BigPipeInstance").Events.displayed,function(a,b){a=b.ts;h.setDisplayDone(a)});e.subscribe(b("BigPipeInstance").Events.loaded,function(a,b){a=b.ts;h.setAllPageletsLoaded(a)})});b("Arbiter").subscribe(b("PageEvents").BIGPIPE_ONLOAD,function(a,e){a=e.ts;d=!1;c.setRequestStart(b("performance").timing&&b("performance").timing.navigationStart).setE2E(a).doneNavigation()})});e.exports=b("NavigationMetricsCore")}),null); __d("TimeSliceInteractionPageStatsHook",["NavigationMetrics"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=[];b("NavigationMetrics").addRetroactiveListener(b("NavigationMetrics").Events.NAVIGATION_DONE,function(a,b){if(b.pageType!=="normal")return;g={start:b.start,dd:b.all_pagelets_displayed,tti:b.tti,e2e:b.e2e};for(var a=0;a=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$BrowserEventBasedInteraction2.includes(d))return!1}return!0};d.addEagerExecution=function(a,b,c){this.waitForReferenceCounter(a),this.addProfilingCounterAttribution(b),[].push.apply(this.$BrowserEventBasedInteraction2,c)};d.setManualStartAndEnd=function(a,b,c,d){this.$BrowserEventBasedInteraction7++,this.$BrowserEventBasedInteraction8++,this.$BrowserEventBasedInteraction3=a,this.$BrowserEventBasedInteraction4=b,this.$BrowserEventBasedInteraction5=c,this.$BrowserEventBasedInteraction6=d,this.isEnabled()?this.addManualInstrumentationData():d||this.logManualInstrumentationData()};d.markManualStart=function(a,c){var d=this;this.$BrowserEventBasedInteraction7++;this.$BrowserEventBasedInteraction4||(this.$BrowserEventBasedInteraction4=c||b("performanceAbsoluteNow")(),this.$BrowserEventBasedInteraction3=a,this.isEnabled()&&(this.countUp(),this.registerOnBeforeFinish(function(){d.addManualInstrumentationData()})))};d.markManualEnd=function(a){if(!this.$BrowserEventBasedInteraction4){b("FBLogger")("event_profiler").warn("Attempting to mark end for interaction which never had start marked");return}this.$BrowserEventBasedInteraction8++;this.$BrowserEventBasedInteraction5=a||b("performanceAbsoluteNow")();this.$BrowserEventBasedInteraction6=this.hasActiveReferenceCountingHandle();!this.isEnabled()&&!this.$BrowserEventBasedInteraction6?this.logManualInstrumentationData():this.isEnabled()&&this.$BrowserEventBasedInteraction8===1&&this.countDown()};d.getManualInstrumentationData=function(){var a={};this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction3&&(a.manual_instrumentation_start=""+this.$BrowserEventBasedInteraction4,a.manual_instrumentation_marked_start_count=""+this.$BrowserEventBasedInteraction7,a.manual_instrumentation_start_reference_counted="1");this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_end=""+this.$BrowserEventBasedInteraction5,a.manual_instrumentation_marked_end_count=""+this.$BrowserEventBasedInteraction8,a.manual_instrumentation_end_reference_counted=this.$BrowserEventBasedInteraction6?"1":"0");this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_duration=""+(this.$BrowserEventBasedInteraction5-this.$BrowserEventBasedInteraction4));return a};d.addManualInstrumentationData=function(){var a=this,b=this.getManualInstrumentationData();Object.keys(b).forEach(function(c){a.trace().addStringAnnotation(c,b[c])});this.trace().addVectorAnnotation("manual_instrumentation_interaction_ids",this.$BrowserEventBasedInteraction3||[]);b.manual_instrumentation_start&&this.inform("manual_instrumentation_start",{ts:parseFloat(b.manual_instrumentation_start)}).addStringAnnotation("visual_role","global_signpost");b.manual_instrumentation_end&&this.inform("manual_instrumentation_end",{ts:parseFloat(b.manual_instrumentation_end)}).addStringAnnotation("visual_role","global_signpost")};d.logManualInstrumentationData=function(){var a=this,c=this.$BrowserEventBasedInteraction3||[],d=this.getManualInstrumentationData();d.lite_weight="1";b("Bootloader").loadModules(["TimeSliceInteractionsLiteTypedLogger","PerfXSharedFields"],function(b,e){new b().setActionName("Event").setTraceAnnotations({stringProps:d,setProps:{},vectorProps:{manual_instrumentation_interaction_ids:c,interaction_ids:a.$BrowserEventBasedInteraction2}}).updateData(e.getCommonData()).logVital()},"BrowserEventBasedInteraction")};d.getActiveBrowserEventBasedInteractions=function(){return b("TimeSliceAutoclosedInteraction").getInteractionsActiveRightNow().filter(function(a){return a instanceof c})};return c}(b("TimeSliceAutoclosedInteraction"));e.exports=a}),null); __d("EventProfilerAdsSessionProvider",["AdsInterfacesSessionConfig"],(function(a,b,c,d,e,f){"use strict";e.exports={sessionID:b("AdsInterfacesSessionConfig").sessionID}}),null); __d("EventProfilerEagerExecution",["EventConfig","FBLogger","ProfilingCounters","TimeSliceReferenceCounting"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=0,h={},i=0,j={},k=function(){__p&&__p();function a(a,c,d){__p&&__p();var e=this;this.interaction=null;this.$2=[];this.$3=[];this.$4=[];this.$5=[];this.id=i++;this.$6=a;for(var d=0;d=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$6.includes(d))return!1}return!0};c.__registerInteractionWePotentiallyEagerlyExecutedFor=function(a){this.$2.push(a)};c.attributeToCurrentlyActiveInteraction=function(){__p&&__p();var a=this,b=this.handle;if(!b)return;var c=function(){__p&&__p();if(e){if(f>=d.length)return"break";g=d[f++]}else{f=d.next();if(f.done)return"break";g=f.value}var c=g;if(c.hasActiveReferenceCountingHandle()){c.addEagerExecution(b,a.$1,a.$3.slice());a.interaction=c;a.$4.forEach(function(a){return a(c)});a.$4=[];return"break"}};for(var d=this.$2,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g,h=c();if(h==="break")break}};c.tagAsInteractionID=function(a){this.$3.push(a)};c.withInteraction=function(a){!this.interaction?this.$4.push(a):a(this.interaction)};c.isActive=function(){return!!(this.handle&&this.handle.isInsideContinuationExecution())};c.onFinish=function(a){this.$5.push(a)};c.finish=function(){delete h[this.id],this.$5.forEach(function(a){return a()}),this.$5=[]};return a}();a={declareEagerExecution:function(a,b,c){a=new k(a,c,b);var d=a.id;return function(){h[d]&&h[d].attributeToCurrentlyActiveInteraction()}},getEagerExecution:function(a,b){var c=a.map(function(a){return j[a]}).filter(function(b){return b&&b.hasInteractionIDs(a)});b=c.filter(function(a,b){return b===c.indexOf(a)});return b.length==1?b[0]:null},getActiveExecutions:function(){return Object.values(h).filter(function(a){return a.handle&&a.handle.isInsideContinuationExecution()})}};e.exports=a}),null); __d("EventProfilerInteractionTracker",["Bootloader","BrowserEventBasedInteraction","EventProfilerEagerExecution","EventConfig","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[],h=b("EventConfig").profile_eager_execution&&b("EventConfig").manual_instrumentation;a={createNewInteraction:function(a,c,d,e){__p&&__p();if(!a.length)return null;var f=e&&e.sampleWeight||0,i;(h||d||f)&&(i=new(b("BrowserEventBasedInteraction"))(a,c,1/(f||d)));if(i&&e){var j=e;j.__registerInteractionWePotentiallyEagerlyExecutedFor(i);i.registerOnBeforeSend(function(){i&&i!==j.interaction&&(d?i.setExtraSampleRate(1/d):i.disable())})}if(i){var k=i;g.push(i);i.onReferenceCountedExecutionFinished(function(){var a=g.indexOf(k);a!==-1&&g.splice(a,1)})}f===0&&d===0&&i&&i.disable();return d===0?null:i},markManualStart:function(a,c,d){__p&&__p();if(!h)return{markManualEnd:function(){}};var e=g.filter(function(b){return b.hasInteractionIDs(a)&&b.getEventType()===c}),f=b("EventProfilerEagerExecution").getActiveExecutions();if(e.length===1)return i(e[0],a,d);else if(f.length===1)return l(f[0],a,d);else{e.forEach(function(a){a.trace().addStringAnnotation("has_manual_instrumentation_conflict","1")});return j(a,e.length+f.length,d)}}};function i(a,b,c){a.markManualStart(b,c);return{markManualEnd:function(b){a.markManualEnd(b)}}}function j(a,c,d){var e=d||b("performanceAbsoluteNow")();return{markManualEnd:function(d){d=d||b("performanceAbsoluteNow")();k(e,d,a,c)}}}function k(a,c,d,e){var f={manual_instrumentation_start:""+a,manual_instrumentation_end:""+c,manual_instrumentation_duration:""+(c-a),manual_instrumentation_start_reference_counted:"0",manual_instrumentation_end_reference_counted:"0",lite_weight:"1"};e&&(f.manual_instrumentation_conflicts=""+e);b("Bootloader").loadModules(["TimeSliceInteractionsLiteTypedLogger","PerfXSharedFields"],function(a,b){new a().setActionName("Event").setTraceAnnotations({stringProps:f,setProps:{},vectorProps:{manual_instrumentation_interaction_ids:d}}).updateData(b.getCommonData()).logVital()},"EventProfilerInteractionTracker")}function l(a,c,d){__p&&__p();var e=d||b("performanceAbsoluteNow")(),f,g,h,i=!1;function j(){f&&g!==void 0&&!i&&h!==void 0&&(i=!0,g?g.setManualStartAndEnd(c,e,f,h):k(e,f,c))}var l;a.withInteraction(function(a){l=a,a.onReferenceCountedExecutionFinished(function(){a.hasInteractionIDs(c)?g=a:g=null,j()})});a.onFinish(function(){l||(g=!1,j())});return{markManualEnd:function(c){if(f)return;h=a.isActive()||l&&l.hasActiveReferenceCountingHandle()||!1;f=c||b("performanceAbsoluteNow")();j()}}}e.exports=a}),null); __d("EventProfilerSampler",["EventConfig"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("EventConfig").interaction_boost,h=b("EventConfig").event_types,i=b("EventConfig").sampling||{},j=b("EventConfig").page_sampling_boost||1,k=[];Object.keys(b("EventConfig").interaction_regexes).forEach(function(a){k.push({id:a,regex:new RegExp(b("EventConfig").interaction_regexes[a])})});a="click";c="mouseup";var l=[a,c],m=a;d={canSample:function(a){return!!i[a]},getEventSampleWeights:function(a,b){a.__samplingWeights==void 0&&(a.__samplingWeights={interaction:n(this.getInteractionWeight(a,b)),event:n(this.getEventWeight(a))});return a.__samplingWeights},getInteractionWeight:function(a,b){__p&&__p();a=a.type in i?i[a.type]:1;if(!a||!b||!b.length)return 0;var c=1;for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;if(g[f]){c=g[f];break}}return a*i.__interactionDefault/c},getEventWeight:function(a){a=a.type in i?i[a.type]:1;a/=j;return a*i.__eventDefault},getEventInteractionIDs:function(a,b){__p&&__p();if(l.indexOf(a)===-1)return[];var c=[];for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;for(var g=0;g0?(m[e-1]=a,n(b("TimeSpentPageTransitionCause").REPLACE_OVERLAY_VIEW,c)):(m.push(a),n(b("TimeSpentPageTransitionCause").OPEN_OVERLAY_VIEW,c)))},closeOverlayView:function(a,c){a=m.lastIndexOf(a);if(a===-1)return;i=Object.assign({},j);j&&(a>0?j.topViewEndpoint=m[a-1]:j.topViewEndpoint=null);m=m.slice(0,a);n(b("TimeSpentPageTransitionCause").CLOSE_OVERLAY_VIEW,c)},setClickPointInfo:function(a){l=a,p()},getClickPointInfo:function(){return l},getScriptPath:o,getCategoryToken:function(){return j?j.categoryToken:void 0},getEarlyFlushPage:function(){var a;return(a=j)==null?void 0:(a=a.extraData)==null?void 0:a.ef_page},getTopViewEndpoint:function(){var a=m.length;return a>0?m[a-1]:o()},getPageInfo:function(){return j},getSourcePageInfo:function(){return i},subscribe:function(a){return k.add(b("TimeSlice").guard(a,"ScriptPath.subscribe"))},shutdown:function(){p()}};e.exports=c}),null); __d("VersionRange",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=/\./,i=/\|\|/,j=/\s+\-\s+/,k=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function m(a,b){a=a.split(i);if(a.length>1)return a.some(function(a){return D.contains(a,b)});else return n(a[0].trim(),b)}function n(a,b){a=a.split(j);a.length>0&&a.length<=2||g(0,3072);if(a.length===1)return o(a[0],b);else{var c=a[0];a=a[1];x(c)&&x(a)||g(0,3073);return o(">="+c,b)&&o("<="+a,b)}}function o(a,b){__p&&__p();a=a.trim();if(a==="")return!0;b=b.split(h);a=v(a);var c=a.modifier;a=a.rangeComponents;switch(c){case"<":return p(b,a);case"<=":return q(b,a);case">=":return s(b,a);case">":return t(b,a);case"~":case"~>":return u(b,a);default:return r(b,a)}}function p(a,b){return C(a,b)===-1}function q(a,b){a=C(a,b);return a===-1||a===0}function r(a,b){return C(a,b)===0}function s(a,b){a=C(a,b);return a===1||a===0}function t(a,b){return C(a,b)===1}function u(a,b){var c=b.slice();b=b.slice();b.length>1&&b.pop();var d=b.length-1,e=parseInt(b[d],10);w(e)&&(b[d]=e+1+"");return s(a,c)&&p(a,b)}function v(a){a=a.split(h);var b=a[0].match(k);b||g(0,3074);return{modifier:b[1],rangeComponents:[b[2]].concat(a.slice(1))}}function w(a){return!isNaN(a)&&isFinite(a)}function x(a){return!v(a).modifier}function y(a,b){for(var c=a.length;cb)return 1;else if(ab)return 1;else if(a",request_animation_frame_wait_ms:0,set_timeout_wait_ms:0};g[w]={event_target_raw:y,weight:q.event,cancelable:!!C,deliberate_sync:!!D,ad_account_id:n,event_end_ms:0};A=b("EventProfilerAdsSessionProvider").sessionID;A&&(g[w].ads_session_id=A);var E=!1;l.has(c)&&(!j&&k-1);d=d?new a.CustomEvent("test").timeStamp:a.document.createEvent("KeyboardEvent").timeStamp;return d&&d<=a.performance.now()?function(a){return a.timeStamp+c}:b}();function t(a,c){var d=[];while(a&&a instanceof HTMLElement){var e=a.getAttribute(c);e&&d.push(e);a=b("Parent").byAttribute(a.parentNode,c)}return d.reverse()}function u(a,c){return o!=null?o.getEventSampleWeights(a,c):b("EventProfilerSampler").getEventSampleWeights(a,c)}e.exports=q}),null); __d("FBLogMessage",["ErrorNormalizeUtils","ErrorPubSub","ErrorSerializer","FBLoggerMetadata","TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={info:"log",mustfix:"error",warn:"warn"};a=function(){__p&&__p();function a(a){this.project=a,this.metadata=new(b("FBLoggerMetadata"))(),this.taalOpcodes=[]}var c=a.prototype;c.$1=function(c,d){__p&&__p();var e;for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i0&&new a("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching");var o=b("ErrorSerializer").parse(j.message),p=o.taalOpcodes;m={message:d+" from %s: %s",params:[].concat(h,[j.name,b("ErrorSerializer").toFormattedMessageNoTAAL(o)]),taalOpcodes:p};n="FBLogger caught "+j.name}else m={message:d,params:h,taalOpcodes:[b("TAALOpcodes").PREVIOUS_FRAME,b("TAALOpcodes").PREVIOUS_FRAME].concat(this.taalOpcodes)},n="FBLogger";var q=b("ErrorSerializer").stringify(m),r=" "+n,s=b("ErrorNormalizeUtils").normalizeError((e=j)!=null?e:new Error(q),{message:q,name:r});s.type=g[c];s.loggingType="FBLOGGER";l.isEmpty()||(s.fbloggerMetadata=l.formatMetadata());b("ErrorPubSub").reportNormalizedError(s)};c.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d',""];d=[1,"","
"];f=[3,"","
"];var j=[1,'',""],k={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:c,option:c,caption:d,colgroup:d,tbody:d,tfoot:d,thead:d,td:f,th:f};b=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];b.forEach(function(a){k[a]=j,i[a]=!0});function a(a){a=a;!h&&g(0,144);Object.prototype.hasOwnProperty.call(k,a)||(a="*");Object.prototype.hasOwnProperty.call(i,a)||(a==="*"?h.innerHTML="":h.innerHTML="<"+a+">",i[a]=!h.firstChild);return i[a]?k[a]:null}e.exports=a}),null); __d("createNodesFromMarkup",["invariant","ExecutionEnvironment","getMarkupWrap"],(function(a,b,c,d,e,f,g){__p&&__p();var h=b("ExecutionEnvironment").canUseDOM?document.createElement("div"):null,i=/^\s*<(\w+)/;function j(a){a=a.match(i);return a&&a[1].toLowerCase()}function a(a,c){__p&&__p();var d=h;!h&&g(0,5001);var e=j(a);e=e&&b("getMarkupWrap")(e);if(e){d.innerHTML=e[1]+a+e[2];e=e[0];while(e--)d=d.lastChild}else d.innerHTML=a;e=d.getElementsByTagName("script");e.length&&(c||g(0,5002),Array.from(e).forEach(c));a=Array.from(d.childNodes);while(d.lastChild)d.removeChild(d.lastChild);return a}e.exports=a}),null); __d("evalGlobal",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();if(typeof a!=="string")throw new TypeError("JS sent to evalGlobal is not a string. Only strings are permitted.");if(!a)return;var b=document.createElement("script");try{b.appendChild(document.createTextNode(a))}catch(c){b.text=a}a=document.getElementsByTagName("head")[0]||document.documentElement;a.appendChild(b);a.removeChild(b)}e.exports=a}),null); __d("HTML",["invariant","Bootloader","createNodesFromMarkup","emptyFunction","evalGlobal"],(function(a,b,c,d,e,f,g){__p&&__p();var h=/(<(\w+)[^>]*?)\/>/g,i={abbr:!0,area:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0};a=function(){"use strict";__p&&__p();function a(c){__p&&__p();c&&typeof c.__html==="string"&&(c=c.__html);if(!(this instanceof a))return c instanceof a?c:new a(c);if(c){var d=typeof c;d==="string"||g(0,277,d)}this._markup=c||"";this._defer=!1;this._nodes=null;this._inlineJS=b("emptyFunction");this._rootNode=null}var c=a.prototype;c.toString=function(){return this._markup};c.getContent=function(){return this._markup};c.getNodes=function(){this._fillCache();return this._nodes};c.getRootNode=function(){__p&&__p();this._rootNode&&g(0,278);var a=this.getNodes();if(a.length===1)this._rootNode=a[0];else{var b=document.createDocumentFragment();for(var c=0;c"}),c=null;a=b("createNodesFromMarkup")(a,function(a){c=c||[],c.push(a.src?b("Bootloader").requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN.bind(b("Bootloader"),a.src):b("evalGlobal").bind(null,a.innerHTML)),a.parentNode.removeChild(a)});c&&(this._inlineJS=function(){for(var a=0;a=4?a.setAttribute("class",b+" cores-gte4"):a.setAttribute("class",b+" cores-lt4")}}var h={init:function(){g(),h.init=function(){}}};e.exports=h}),null); __d("InitialJSLoader",["Arbiter","Bootloader","PageEvents","Run","ServerJS","TimeSlice"],(function(a,b,c,d,e,f){__p&&__p();var g={INITIAL_JS_READY:"BOOTLOAD/JSREADY",loadOnDOMContentReady:function(a,c){b("Arbiter").subscribe(b("PageEvents").BIGPIPE_DOMREADY,function(){function d(){b("Bootloader").loadResources(a,function(){b("Arbiter").inform(g.INITIAL_JS_READY,!0,"state")})}c?setTimeout(d,c):d()})},handleServerJS:function(a){var c=new(b("ServerJS"))();c.handle(a);b("Run").onAfterLoad(c.cleanup.bind(c,b("TimeSlice")))}};e.exports=g}),null); __d("MutationCountingExecutionObserver",["EventConfig","ExecutionContextObservers","PageDOMMutationObserver","ProfilingCounters","TimeSlice","ifRequired"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[],h=!1;function i(){__p&&__p();var a=b("PageDOMMutationObserver").consumePendingDOMMutations();if(a){b("ProfilingCounters").incrementCounter("DOM_MUTATION",a);a=b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a});if(a){a=a.getInteractionsActiveRightNow();a.length&&a.forEach(function(a){__p&&__p();a.informPointWithOverride("display_done_ts_executed_from_client",{isPointOfInterest:!0});if(!a.__mceoSeenThisRootGuardFrame){a.__mceoSeenThisRootGuardFrame=!0;a.countUp();g.push(a);h||(h=!0,l.executeOnRootGuardEnded(function(){j(),h=!1}));var c=b("ifRequired")("Visibility",function(a){return a});c&&(c.isHidden()?a.trace().addStringAnnotation("hidden_during_dd","1"):a.trace().addStringAnnotation("hidden_during_dd","0"))}})}}}function j(){__p&&__p();if(g.length===0)return;g.forEach(function(a){a.informPointWithOverride("display_done",{isPointOfInterest:!0}).addStringAnnotation("visual_role","global_signpost"),a.__mceoSeenThisRootGuardFrame=!1});if(b("EventConfig").disable_heuristic){g.forEach(function(a){return a.countDown()});g=[];return}var a=g,c=b("ifRequired")("requestAnimationFrameAcrossTransitions",function(a){return a}),d=b("ifRequired")("setTimeoutAcrossTransitions",function(a){return a});if(!c||!d)return;c(function(){a.forEach(function(a){a.informPointWithOverride("display_done_ts_raf",{isPointOfInterest:!0})}),d(function(){a.forEach(function(a){a.informPointWithOverride("display_done_ts_st",{isPointOfInterest:!0}),a.countDown()})})});g=[]}var k=[];a=function(){__p&&__p();function a(){}var c=a.prototype;c.executeOnRootGuardEnded=function(a){k.push(a)};c.onNewContextCreated=function(a,b,c){return null};c.onContextCanceled=function(a,b){};c.onBeforeContextStarted=function(a,c,d){b("PageDOMMutationObserver").tryStart();i();return null};c.onAfterContextStarted=function(a,b,c,d){return null};c.onAfterContextEnded=function(a,b,c,d){i();if(a&&a.isRoot)while(k.length)k.pop()()};c.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.MUTATION_COUNTING};c.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.MUTATION_COUNTING};return a}();var l=new a();b("TimeSlice").registerExecutionContextObserver(l);e.exports=l}),3); __d("DOMEvent",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this.event=a||window.event,typeof this.event.srcElement!=="unknown"||g(0,5798),this.target=this.event.target||this.event.srcElement}var b=a.prototype;b.preventDefault=function(){var a=this.event;a.preventDefault?(a.preventDefault(),"defaultPrevented"in a||(a.defaultPrevented=!0)):a.returnValue=!1;return this};b.isDefaultPrevented=function(){var a=this.event;return"defaultPrevented"in a?a.defaultPrevented:a.returnValue===!1};b.stopPropagation=function(){var a=this.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;return this};b.kill=function(){this.stopPropagation().preventDefault();return this};a.killThenCall=function(b){return function(c){new a(c).kill();return b()}};return a}();e.exports=a}),null); __d("dedupString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;return Object.keys((b={},b[a]=0,b))[0]}e.exports=a}),null); __d("wrapFunction",[],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(a,b,c){return function(){var d=b in g?g[b](a,c):a;for(var e=arguments.length,f=new Array(e),h=0;h), ge()) instead");return b("containsNode")(b("ge")(a),b("ge")(c))},getRootElement:function(){var a=b("ifRequired")("Quickling",function(a){return a.isActive()?b("ge")("content"):null});return a||document.body},isNodeOfType:function(a,c){c=b("createArrayFromMixed")(c).join("|").toUpperCase().split("|");c=b("createObjectFrom")(c);return b("isNode")(a)&&a.nodeName in c},isInputNode:function(a){return i.isNodeOfType(a,["input","textarea"])||a.contentEditable==="true"}};e.exports=i}),null); __d("EventProfiler",["requireCond","cr:708886"],(function(a,b,c,d,e,f){e.exports=b("cr:708886")}),null); __d("Scroll",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){return!!b&&(a===b.documentElement||a===b.body)}a={getTop:function(a){var b=a.ownerDocument;return g(a,b)?b.body.scrollTop||b.documentElement.scrollTop:a.scrollTop},setTop:function(a,b){var c=a.ownerDocument;g(a,c)?c.body.scrollTop=c.documentElement.scrollTop=b:a.scrollTop=b},getLeft:function(a){var b=a.ownerDocument;return g(a,b)?b.body.scrollLeft||b.documentElement.scrollLeft:a.scrollLeft},setLeft:function(a,b){var c=a.ownerDocument;g(a,c)?c.body.scrollLeft=c.documentElement.scrollLeft=b:a.scrollLeft=b}};e.exports=a}),null); __d("clickRefAction",["Arbiter"],(function(a,b,c,d,e,f){__p&&__p();function g(b,a,c,d,e){var f=b+"/"+a;this.ue=f;this._ue_ts=b;this._ue_count=a;this._context=c;this._ns=null;this._node=d;this._type=e}g.prototype.set_namespace=function(a){this._ns=a;return this};g.prototype.coalesce_namespace=function(a){this._ns===null&&(this._ns=a);return this};g.prototype.add_event=function(){return this};var h=0,i=[],j=Date.now()+6e4;function c(a,c,d,e,f){__p&&__p();var k=Date.now(),l=d&&d.type;f=f||{};!c&&d&&(c=d.getTarget());var m=50;if(c&&e!="FORCE")for(var n=i.length-1;n>=0&&k-i[n]._ue_ts10)i.shift();l=k-1;function a(a){a=a||document;return a.scrollingElement?a.scrollingElement:!g&&a.compatMode==="CSS1Compat"?a.documentElement:a.body}e.exports=a}),null); __d("getObjectValues",[],(function(a,b,c,d,e,f){function a(a){var b=[];for(var c in a)b.push(a[c]);return b}e.exports=a}),null); __d("Event",["Arbiter","DataStore","DOMEvent","DOMEventListener","DOMQuery","ErrorUtils","EventProfiler","ExecutionEnvironment","FBLogger","Parent","Scroll","TAAL","TimeSlice","UserAgent","$","clickRefAction","dedupString","getDocumentScrollElement","getObjectValues"],(function(a,b,c,d,e,f){__p&&__p();var g=a.Event,h="Event.listeners";g.prototype||(g.prototype={});function i(a){(a.type==="click"||a.type==="mouseover"||a.type==="keydown")&&b("Arbiter").inform("Event/stop",{event:a})}function j(a,b,c){this.target=a,this.type=b,this.data=c}Object.assign(j.prototype,{getData:function(){this.data=this.data||{};return this.data},stop:function(){return g.stop(this)},prevent:function(){return g.prevent(this)},isDefaultPrevented:function(){return g.isDefaultPrevented(this)},kill:function(){return g.kill(this)},getTarget:function(){return new(b("DOMEvent"))(this).target||null}});function k(a){if(a instanceof j)return a;a||(!window.addEventListener&&document.createEventObject?a=window.event?document.createEventObject(window.event):{}:a={});if(!a._inherits_from_prototype)for(var b in g.prototype)try{a[b]=g.prototype[b]}catch(a){}return a}Object.assign(g.prototype,{_inherits_from_prototype:!0,getRelatedTarget:function(){var a=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return a&&a.nodeType?a:null},getModifiers:function(){var a={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};a.access=b("UserAgent").isPlatform("Mac OS X")?a.control:a.alt;a.any=a.control||a.shift||a.alt||a.meta;return a},isRightClick:function(){return this.which?this.which===3:this.button&&this.button===2},isMiddleClick:function(){return this.which?this.which===2:this.button&&this.button===4},isDefaultRequested:function(){return this.getModifiers().any||this.isMiddleClick()||this.isRightClick()}},j.prototype);Object.assign(g,{listen:function(a,c,d,e,f){__p&&__p();typeof d==="function"&&(d=b("TimeSlice").guard(d,b("dedupString")("Event.js "+c+" handler")));!f||typeof f==="boolean"?f={passive:!1}:f={passive:f.passive||!1};if(!b("ExecutionEnvironment").canUseDOM)return new s(a,d,k,c,e,l,f);typeof a==="string"&&(a=b("$")(a));typeof e==="undefined"&&(e=g.Priority.NORMAL);if(typeof c==="object"){var i={};for(var j in c)i[j]=g.listen(a,j,c[j],e,f);return i}if(c.match(/^on/i))throw new TypeError("Bad event name `"+c+"': use `click', not `onclick'.");if(!a){i=new Error(b("TAAL").blameToPreviousFrame("Cannot listen to an undefined element."));b("FBLogger")("event").catching(i).mustfix("Tried to listen to element of type %s",c);throw i}if(a.nodeName=="LABEL"&&c=="click"){i=a.getElementsByTagName("input");a=i.length==1?i[0]:a}else if(a===window&&c==="scroll"){i=b("getDocumentScrollElement")();i!==document.documentElement&&i!==document.body&&(a=i)}var k=b("DataStore").get(a,h,{});i=m[c];i&&(c=i.base,i.wrap&&(d=i.wrap(d)));o(a,k,c,f);i=k[c];e in i||(i[e]=[]);var l=i[e].length;d=new s(a,d,k,c,e,l,f);i[e][l]=d;i.numHandlers++;f.passive||(i.numNonPassiveHandlers++,n(a,k[c],c));return d},stop:function(a){var c=new(b("DOMEvent"))(a).stopPropagation();i(c.event);return a},prevent:function(a){new(b("DOMEvent"))(a).preventDefault();return a},isDefaultPrevented:function(a){return new(b("DOMEvent"))(a).isDefaultPrevented(a)},kill:function(a){a=new(b("DOMEvent"))(a).kill();i(a.event);return!1},getKeyCode:function(a){__p&&__p();a=new(b("DOMEvent"))(a).event;if(!a)return!1;switch(a.keyCode){case 63232:return 38;case 63233:return 40;case 63234:return 37;case 63235:return 39;case 63272:case 63273:case 63275:return null;case 63276:return 33;case 63277:return 34}if(a.shiftKey)switch(a.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null}return a.keyCode},getPriorities:function(){if(!l){var a=b("getObjectValues")(g.Priority);a.sort(function(a,b){return a-b});l=a}return l},fire:function(a,b,c){c=new j(a,b,c);var d;do{var e=g.__getHandler(a,b);e&&(d=e(c));a=a.parentNode}while(a&&d!==!1&&!c.cancelBubble);return d!==!1},__fire:function(a,b,c){a=g.__getHandler(a,b);if(a)return a(k(c))},__getHandler:function(a,c){var d=b("DataStore").get(a,h);return d&&d[c]?d[c].domHandler:a["on"+c]},getPosition:function(a){a=new(b("DOMEvent"))(a).event;var c=b("getDocumentScrollElement")(),d=a.clientX+b("Scroll").getLeft(c);a=a.clientY+b("Scroll").getTop(c);return{x:d,y:a}}});var l=null;c=function(a){return function(c){if(!b("DOMQuery").contains(this,c.getRelatedTarget()))return a.call(this,c)}};var m;!window.navigator.msPointerEnabled?m={mouseenter:{base:"mouseover",wrap:c},mouseleave:{base:"mouseout",wrap:c}}:m={mousedown:{base:"MSPointerDown"},mousemove:{base:"MSPointerMove"},mouseup:{base:"MSPointerUp"},mouseover:{base:"MSPointerOver"},mouseout:{base:"MSPointerOut"},mouseenter:{base:"MSPointerOver",wrap:c},mouseleave:{base:"MSPointerOut",wrap:c}};if(b("UserAgent").isBrowser("Firefox < 52")){d=function(a,b){b=k(b);var c=b.getTarget();while(c)g.__fire(c,a,b),c=c.parentNode};document.documentElement.addEventListener("focus",d.bind(null,"focusin"),!0);document.documentElement.addEventListener("blur",d.bind(null,"focusout"),!0)}var n=function(a,c,d){var e=c.numNonPassiveHandlers==0;e!=c.options.passive&&(c.domHandlerRemover.remove(),c.options.passive=e,c.domHandlerRemover=b("DOMEventListener").add(a,d,c.domHandler,{passive:e}))},o=function(a,c,d,e){__p&&__p();if(d in c)return;var f=b("TimeSlice").guard(r.bind(a,d),b("dedupString")("Event listenHandler "+d));c[d]={numHandlers:0,numNonPassiveHandlers:0,domHandlerRemover:b("DOMEventListener").add(a,d,f,e),domHandler:f,options:e};c="on"+d;if(a[c]){f=a===document.documentElement?g.Priority._BUBBLE:g.Priority.TRADITIONAL;var h=a[c];a[c]=null;g.listen(a,d,h,f,e)}};function p(a){return!a.href.endsWith("#")?!1:a.href===document.location.href||a.href===document.location.href+"#"}function q(a,b){return a.nodeName==="INPUT"&&a.type===b}var r=b("EventProfiler").__wrapEventListenHandler(function(a,c){__p&&__p();c=k(c);if(!b("DataStore").get(this,h))throw new Error("Bad listenHandler context.");var d=b("DataStore").get(this,h)[a];if(!d)throw new Error("No registered handlers for `"+a+"'.");if(a=="click"||a=="contextmenu"||a=="mousedown"&&c.which==2){var e=c.getTarget(),f=b("Parent").byTag(e,"a");f instanceof HTMLAnchorElement&&f.href&&p(f)&&!q(e,"file")&&!q(e,"submit")&&c.prevent();a=="click"&&b("clickRefAction")("click",f,c);a=="contextmenu"&&b("clickRefAction")("contextmenu",f,c);a=="mousedown"&&c.which==2&&b("clickRefAction")("middleclick",f,c)}e=g.getPriorities();for(var a=0;a>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(JSON.stringify(a))},decodeObject:function(a){return JSON.parse(k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,a.map(function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};e.exports=k}),null); __d("CookieStore",["CookieCoreLoggingConfig","FBLogger","Random","gkx","performanceNow","requireDeferred"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("requireDeferred")("BanzaiScuba");function h(a,b,c,d,e,f,g){return b+"="+encodeURIComponent(c)+"; "+(f!==0&&f!=void 0?"expires="+new Date(a+f).toUTCString()+"; ":"")+"path="+d+"; domain="+e+(g?"; secure":"")}function i(a,b,c){return a+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+b+"; domain="+c}function j(){if(b("CookieCoreLoggingConfig").sampleRate>0){var a=b("performanceNow")(),c=document.cookie;a=b("performanceNow")()-a;var d=a>b("CookieCoreLoggingConfig").maximumIgnorableStallMs&&b("Random").coinflip(1/b("CookieCoreLoggingConfig").sampleRate);d&&b("FBLogger")("cookie_infra").addMetadata("COOKIE_INFRA","WALL_TIME",String(a)).warn("Cookie read exceeded %s milliseconds.",b("CookieCoreLoggingConfig").maximumIgnorableStallMs);return c}else return document.cookie}var k=function(){__p&&__p();function a(){this.$1=0}var c=a.prototype;c.setCookie=function(a,b,c,d,e,f,g){document.cookie=h(a,b,c,d,e,f,g)};c.clearCookie=function(a,b,c){document.cookie=i(a,b,c)};c.getCookie=function(a){this.$1++;var c=b("performanceNow")();a=j().match("(?:^|;\\s*)"+a+"=(.*?)(?:;|$)");c=b("performanceNow")()-c;var d=1/b("CookieCoreLoggingConfig").sampleRateClassic,e=b("Random").coinflip(d);e&&l(d,"classic",c,this.$1);return a?decodeURIComponent(a[1]):null};return a}();function l(a,b,c,d,e,f){g.onReady(function(g){g=new g("cookie_perf",null,{addBrowserFields:!0});g.addInteger("sample_rate",Math.floor(a));g.addNormal("type",b);g.addInteger("duration_usec",c*1e3);g.addInteger("reads",d);typeof e==="number"&&g.addInteger("misses",e);typeof f==="boolean"&&g.addNormal("hit",f);g.post()})}var m=10*1e3,n=function(){__p&&__p();function a(){this.$1={},this.$2=0,this.$3=0,this.$4=0}var c=a.prototype;c.setCookie=function(a,b,c,d,e,f,g){document.cookie=h(a,b,c,d,e,f,g),this.$1[b]={value:c,updated:a}};c.clearCookie=function(a,b,c){document.cookie=i(a,b,c),this.$1[a]={value:null,updated:Date.now()}};c.getCookie=function(a){__p&&__p();var c=b("performanceNow")();a=this.$5(a);var d=a.cookie;a=a.hit;var e=1/b("CookieCoreLoggingConfig").sampleRateFastStale,f=b("Random").coinflip(e);if(f){f=b("performanceNow")()-c;l(e,"fast_stale",f,this.$3,this.$4,a)}return d};c.$5=function(a){__p&&__p();var b=Date.now(),c=this.$1[a];if(!c){if(this.$2+m=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;d=d.match("\\s*([^=]+)=(.*)");if(!d)continue;this.$1[d[1]]={value:decodeURIComponent(d[2]),updated:this.$2}}};return a}();e.exports={newCookieStore:function(){return b("gkx")("676837")?new n():new k()},CookieCacheForTest:n,CookieStoreSlowForTest:k}}),null); __d("CookieCore",["CookieCoreConfig","CookieStore"],(function(a,b,c,d,e,f){__p&&__p();var g=/^.*(\.(facebook|messenger|oculus|instagram|facebookcorewwwi|workplace)\..*)$/i,h=/_js_(.*)/,i;function j(){i||(i=b("CookieStore").newCookieStore());return i}function k(a){return window.self!=window.top?!1:!0}var l={set:function(a,b){if(!o(a))return;l.setWithoutChecks(a,b,q(a),r(a),p(a))},setWithoutChecks:function(a,b,c,d,e){var f=Date.now();if(c!=null)if(c>f)c-=f;else if(c==1){l.clear(a,d);return}j().setCookie(f,a,b,d,window.location.hostname.replace(g,"$1"),c,e)},setIfFirstPartyContext:function(a,b){if(!k(a))return;l.set(a,b)},setWithoutChecksIfFirstPartyContext:function(a,b,c,d,e){if(!k(a))return;l.setWithoutChecks(a,b,c,d,e)},clear:function(a,b){b===void 0&&(b="/"),b=b||"/",j().clearCookie(a,b,window.location.hostname.replace(g,"$1"))},get:function(a){return!o(a)?null:j().getCookie(a)}};function m(a){return{insecure:a.i||!1,path:a.p||"/",ttlSeconds:a.t||0}}function n(a){if(b("CookieCoreConfig")[a]!==void 0)return m(b("CookieCoreConfig")[a]);a=a.match(h);return a&&a.length>1?n(a[1]):null}function o(a){return n(a)!==null}function p(a){a=n(a);return a==null?!0:!a.insecure}function q(a){a=n(a);return a==null?null:a.ttlSeconds*1e3}function r(a){a=n(a);return a==null?"/":a.path}e.exports=l}),null); __d("Cookie",["Bootloader","CookieConsent","CookieCore"],(function(a,b,c,d,e,f){__p&&__p();function g(a){if(b("CookieConsent").isDeferCookies()){b("Bootloader").loadModules(["BanzaiODS"],function(b){b.bumpEntityKey("defer_cookies","set."+a)},"Cookie");return!1}return!0}function h(){return!b("CookieConsent").isCookiesBlocked()}function a(a,c){if(!h()||!g(a))return;b("CookieCore").set(a,c)}function c(a,c){if(!h())return;b("CookieCore").set(a,c)}function d(a,c,d,e,f){if(!h()||!g(a))return;b("CookieCore").setWithoutChecks(a,c,d,e,f)}e.exports=babelHelpers["extends"]({},b("CookieCore"),{set:a,setWithoutChecks:d,setWithoutCheckingUserConsent_DANGEROUS:c})}),null); __d("PageNavigationStageLoggerKeys",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({LOAD_STAGE:"a",REFERER_MODIFIED_CLICK:"b",REFERER_SCRIPT_PATH:"c",TARGET_URL_PATH:"d",NOTES:"e"})}),null); __d("PageNavigationStageLogger",["Arbiter","Base64","BigPipe","Cookie","PageNavigationStageLoggerKeys","Run","ScriptPath","URI","emptyFunction","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h=null,i="first_byte";b("Run").onLoad(function(){i="onload"});b("Run").onAfterLoad(function(){i="onafterload",h&&h.unsubscribe(),h=null});var j=!1,k=null,l={init:function(){l.init=b("emptyFunction"),g=b("Arbiter").subscribe(b("BigPipe").Events.init,function(a,c){g&&g.unsubscribe(),g=null,i=b("BigPipe").Events.init,h=c.arbiter.subscribe(Object.values(b("BigPipe").Events),function(a){i=a})})},updateCookie:function(){if(k==null)return;var a=b("Base64").encode(JSON.stringify(k));b("Cookie").set("pnl_data2",a)},setNote:function(a){if(k==null)return;k[b("PageNavigationStageLoggerKeys").NOTES].push(a)},setCookieForNavigation:function(a,c){__p&&__p();if(!j){var d;try{a=new(b("URI"))(a).getPath()}catch(a){return}k=(d={},d[b("PageNavigationStageLoggerKeys").LOAD_STAGE]=i,d[b("PageNavigationStageLoggerKeys").REFERER_SCRIPT_PATH]=b("ScriptPath").getScriptPath(),d[b("PageNavigationStageLoggerKeys").REFERER_MODIFIED_CLICK]=c?c.getModifiers().any||c.which&&c.which!==1:!1,d[b("PageNavigationStageLoggerKeys").TARGET_URL_PATH]=a,d[b("PageNavigationStageLoggerKeys").NOTES]=[],d);j=!0;b("setImmediateAcrossTransitions")(function(){k=null,j=!1})}l.updateCookie()}};e.exports=l}),null); __d("getSurfaceAwareContainer",["ge"],(function(a,b,c,d,e,f){"use strict";function a(){var a=b("ge")("workGalahadWebChromeEntity");return a?a:document.body}e.exports=a}),null); __d("snowliftLoadingSpinner",["cx","CSS"],(function(a,b,c,d,e,f,g){"use strict";function a(a){b("CSS").addClass(a,"_1m42");return function(){b("CSS").removeClass(a,"_1m42")}}e.exports=a}),null); __d("PhotoSnowliftLoader",["Arbiter","Bootloader","EventProfiler","FBLogger","PageEvents","getSurfaceAwareContainer","ifRequired","snowliftLoadingSpinner"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,c,d){if(a&&a.offer_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftOffer");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest"],function(a){new a().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}function h(a,c,d){if(a&&a.offerx_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftOfferX");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest","XOfferController"],function(b,c){c=c.getURIBuilder().setFBID("offer_id",a.offerx_id).setEnum("referrer",a.offerx_referrer).setStringVector("__xts__",a.__xts__).setString("__tn__",a.__tn__).getURI();new b().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}function i(a,c,d){if(a&&a.sales_promo_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftSalesPromo");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest","XSalesPromoWWWDetailsDialogAsyncController"],function(b,c){c=c.getURIBuilder().setFBID("offer_id",a.sales_promo_id).setString("referrer",a.sales_promo_referrer).setStringVector("__xts__",a.__xts__).setString("__tn__",a.__tn__).getURI();new b().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}var j=function(){};b("Arbiter").subscribe("PhotoSnowlift.OPEN",function(){j()});b("Arbiter").subscribe("SalesPromoDetails.OPEN",function(){j()});b("Arbiter").subscribe("OfferDetails.OPEN",function(){j()});var k=!1,l="",m={STAGE_NORMAL_MAX:{x:960,y:960},SIDEBAR_SIZE_MAX:360,STAGE_CHROME:{x:82,y:42},load:function(a,c,d){__p&&__p();var e=this;b("Bootloader").loadModules(["URI"],function(f){l="";j();j=b("snowliftLoadingSpinner")(c);var g=String(f.getMostRecentURI().getQueryData().viewas),h=new f(a).getQueryData();h=m.shouldUseSnowlift(h,a,c,g);if(h){c.getAttribute("data-ploi")&&(h=new Image(),h.src=new f(m.getImageURL(c)));e.loadWithSnowLift(a,c,g,d)}},"PhotoSnowliftLoader")},loadWithSnowLift:function(a,c,d,e){m.loadFrame(d),b("Bootloader").loadModules(["Live","PhotoTagApproval","PhotoTagger","PhotoTags","TagTokenizer"],function(){},"PhotoSnowliftLoader"),b("Bootloader").loadModules(["PhotoSnowlift"],function(b){b.bootstrap(a,c)},e)},loadFrame:function(a){if(k)return;k=!0;var c=a?{viewas:a}:{};b("Bootloader").loadModules(["AsyncRequest"],function(a){new a("/ajax/photos/snowlift/init.php").setAllowCrossPageTransition(!0).setMethod("GET").setReadOnly(!0).setData(c).setErrorHandler(function(a){b("FBLogger")("photo_snowlift").catching(a.toError()).warn("failed to initialize snowlift")}).send()},"PhotoSnowliftLoader")},shouldUseSnowlift:function(a,b,c,d){c=g(a,b,d);var e=h(a,b,d);a=i(a,b,d);return!c&&!a&&!e},getImageURL:function(a){l===""&&b("ifRequired")("URI",function(b){var c=a.getAttribute("data-ploi"),d=a.getAttribute("data-plsi");b=new b(a.getAttribute("ajaxify")).getQueryData().size.split(",");d&&!m.shouldShowHiRes({hasSmallImage:!!d,dimensions:{x:b[0],y:b[1]}})?l=d:c?l=c:l=""});return l},shouldShowHiRes:function(a){__p&&__p();b("ifRequired")("Vector",function(b){__p&&__p();if(!a.hasSmallImage)return!1;b=m.getStageSize(a.dimensions);if(b){b=m.adjustStageSizeForPixelRatio(b);b=m.getImageSizeInStage(a.dimensions,b);if(b)return b.x>m.STAGE_NORMAL_MAX.x||b.y>m.STAGE_NORMAL_MAX.y}return!1});return!1},getStageSize:function(a){__p&&__p();b("ifRequired")("Vector",function(b){var c=b.getViewportDimensions(),d=new b(a.x,a.y),e;e=Math.min(d.x,c.x-m.SIDEBAR_SIZE_MAX-m.STAGE_CHROME.x);c=c.y-m.STAGE_CHROME.y;c=Math.min(d.y,c);if(e===0&&c===0)return new b(0,0);var f=e/c;d=d.x/d.y;return f1&&(a=new b(a.x*window.devicePixelRatio,a.y*window.devicePixelRatio))});return a},getImageSizeInStage:function(a,c){b("ifRequired")("Vector",function(b){var d=a.x,e=a.y;if(d>=c.x||e>=c.y){var f=c.x/c.y,g=d/e;fg?(e=c.y,d=Math.round(e*g)):(d=c.x,e=c.y)}return new b(d,e)})},preload:function(){b("Arbiter").subscribe(b("PageEvents").BIGPIPE_ONLOAD,function(){var a=b("getSurfaceAwareContainer")();(a&&a.classList.contains("home")||a&&a.classList.contains("timelineLayout"))&&b("ifRequired")("requestIdleCallback",function(a){a(function(){m.loadFrame()})},function(){m.loadFrame()})})}};e.exports=m}),null); __d("PrimerInlineHandlers",["Bootloader","CSS","Parent","nullthrows","uniqueID"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h=new Map();function i(a,c){var d=b("nullthrows")(a.id);d in g||(g[d]=0);g[d]===0&&b("CSS").addClass(a,"bootloading");g[d]+=c}function j(a){var c=b("nullthrows")(a.id);g[c]--;g[c]===0&&b("CSS").removeClass(a,"bootloading")}function k(a,b,c,d){__p&&__p();var e=d!==void 0?c[d]:c,f;if(Array.isArray(e))for(f=0;f=2)return;h=a.target||a.srcElement;var c=b("Parent").byTag(h,"A");c instanceof HTMLAnchorElement?c=j(a,c,h):c=b("PrimerInlineHandlers").run(h,a,"data-onclick");c==null&&(c=b("ReactServerPrimer").handleEvent("data-sr-onclick",a,h));return c},b("Event").Priority._BUBBLE);b("Event").listen(document,"submit",function(a){__p&&__p();var c=a.getTarget(),d=c&&c.getAttribute("rel");if(c&&c.nodeName=="FORM"&&(d=="async"||d==="dialog")){b("clickRefAction")("f",c,a).coalesce_namespace("primer");var e=h;switch(d){case"async":b("Bootloader").loadModules(["FormSubmit"],function(a){a.send(c,e)},"Primer: async");break;case"dialog":b("Bootloader").loadModules(["FormSubmit","AsyncDialog"],function(a,b){a=a.buildRequest(c,e);a&&b.send(a)},"Primer: form dialog");break}return!1}else return b("ifRequired")("PageTransitionsRegistrar",function(b){return b.__onSubmit(a,h)})},b("Event").Priority._BUBBLE);var k=null;c=function(a,c){c=c||window.event;k=c.target||c.srcElement;var d=b("PrimerInlineHandlers").run(k,c,"data-on"+a);l();a==="mouseover"&&(m(),d==null&&k&&(d=b("ReactServerPrimer").handleEvent("data-sr-onmouseover",c,k)))};d=function(a,b){b=b||window.event,k=b.relatedTarget||b.toElement};var l=function(){var a=k,c=b("Parent").byAttribute(k,"data-hover");if(c){switch(c.getAttribute("data-hover")){case"tooltip":b("Bootloader").loadModules(["Tooltip"],function(b){k===a&&b.process(c,k)},"Primer: tooltip");break}return}},m=function(){var a=k,c=b("Parent").byAttribute(a,"data-hovercard");c&&b("Bootloader").loadModules(["Hovercard"],function(b){k===a&&b.processNode(c)},"Primer: hovercard")};a.onmouseover=b("TimeSlice").guard(c.bind(null,"mouseover"),"Primer mouseover");a.onmouseout=b("TimeSlice").guard(d.bind(null,"mouseout"),"Primer mouseout");f=b("TimeSlice").guard(c.bind(null,"focus"),"Primer focus");a.addEventListener?a.addEventListener("focus",f,!0):a.attachEvent("onfocusin",f);d=b("TimeSlice").guard(c.bind(null,"keypress"),"Primer keypress");a.addEventListener&&a.addEventListener("keypress",d,!0);b("PageNavigationStageLogger").init();b("PhotoSnowliftLoader").preload();e.exports={primerHandleAjaxify:j}}),null); __d("ChatConfig",["invariant","ChatConfigInitialData"],(function(a,b,c,d,e,f,g){__p&&__p();var h=Object.assign({},b("ChatConfigInitialData")),i={get:function(a,b){return a in h?h[a]:b},getBool:function(a){return!!i.get(a,!1)},getNumber:function(a,b){b===void 0&&(b=0);if(a in h){typeof h[a]==="number"||g(0,3109);return h[a]}return b},set:function(a,b){h[a]=b},getDebugInfo:function(){return h}};e.exports=i}),null); __d("SidebarPrelude",["Arbiter","Bootloader","ChatConfig","CSS","URI","setTimeout"],(function(a,b,c,d,e,f){__p&&__p();var g=b("ChatConfig").get("sidebar.hide_buddylist_off_homepage"),h="buddylistOff",i="sidebarMode";a={addSidebarMode:function(a){var c=document.documentElement;c&&(g&&!this.isOnHomepage()?b("CSS").addClass(c,h):(b("CSS").removeClass(c,h),g&&b("setTimeout")(function(){b("Bootloader").loadModules(["Dock"],function(a){a.resizeAllFlyouts()},"SidebarPrelude")})),c.clientWidth>a&&(b("CSS").addClass(c,i),b("Arbiter").inform("sidebar/visibility",!0,"state")))},addBuddylistMode:function(){var a=document.documentElement;a&&(g&&!this.isOnHomepage()?b("CSS").addClass(a,h):(b("CSS").removeClass(a,h),g&&b("setTimeout")(function(){b("Bootloader").loadModules(["Dock"],function(a){a.resizeAllFlyouts()},"SidebarPrelude")})))},isOnHomepage:function(){return new(b("URI"))(window.location.href).getPath()==="/"}};e.exports=a}),null); __d("SubmitOnEnterListener",["Bootloader","CSS"],(function(a,b,c,d,e,f){__p&&__p();document.documentElement.onkeydown=function(a){__p&&__p();a=a||window.event;var c=a.target||a.srcElement;a=a.keyCode==13&&!a.altKey&&!a.ctrlKey&&!a.metaKey&&!a.shiftKey&&b("CSS").hasClass(c,"enter_submit");if(a){b("Bootloader").loadModules(["DOM","Input","trackReferrer","Form"],function(a,b,d,e){if(!b.isEmpty(c)){b=c.form;a=a.scry(b,".enter_submit_target")[0]||a.scry(b,'[type="submit"]')[0];if(a){e=e.getAttribute(b,"ajaxify")||e.getAttribute(b,"action");e&&d(b,e);a.click()}}},"SubmitOnEnterListener");return!1}}}),null); __d("SyntaxErrorMonitor",["Cookie","ErrorUtils"],(function(a,b,c,d,e,f){__p&&__p();var g="js_ver",h=864e5,i=1262304e6,j=null;function k(a){return a.name=="SyntaxError"||/syntaxerror/i.test(a.message)}function l(a){__p&&__p();if(k(a)){a=b("Cookie").get(g);var c=Math.floor((Date.now()-i)/h);if(!a||c-a>=j.bump_freq_day){b("Cookie").set(g,c);a||(a=c);var d=encodeURIComponent(j.cdn_config);d="/ajax/js_bump/?cdn_config="+d+"&days="+c+"&last_update="+a;c=new Image();c.src=d}}}a={init:function(a){j=a,b("ErrorUtils").addListener(l)}};e.exports=a}),null); __d("CallStackExecutionObserver",["ExecutionContextObservers","ifRequired","uniqueID"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=null;function h(a,b){__p&&__p();if(b){var c=b.id,d=b.name;b=b.interactions;var e=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var f=new Error().stack;Error.stackTraceLimit=e;b.forEach(function(b){b.inform(a+":"+d,{rawStackTrace:f}).addStringAnnotation("id",c)})}}a={onNewContextCreated:function(a,c,d){__p&&__p();a=b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a});a=a?a.getInteractionsActiveRightNow():[];a=a.filter(function(a){return a.isEnabledForMode("full")});if(d&&d.isContinuation&&a.length){var e=b("uniqueID")();d=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var f=new Error().stack;Error.stackTraceLimit=d;a.forEach(function(a){var b=a.inform("created_continuation:"+c,{rawStackTrace:f}).addStringAnnotation("id",e);g&&b.addStringAnnotation("parentID",g);a.trace().addStringAnnotation("has_stack_trace","1")});return{id:e,parentID:g,name:c,interactions:a}}return null},onContextCanceled:function(a,b){h("cancelling_continuation",b)},onBeforeContextStarted:function(a,b,c){a=g;b&&b.id&&(g=b.id);return{executionParentID:a}},onAfterContextStarted:function(a,b,c,d){h("executing_continuation",b);return c},onAfterContextEnded:function(a,b,c,d){c&&(g=c.executionParentID),h("executing_continuation_end",b)},getBeforeID:function(){return b("ExecutionContextObservers").beforeIDs.CALL_STACK},getAfterID:function(){return b("ExecutionContextObservers").afterIDs.CALL_STACK}};e.exports=a}),null); __d("WorkerUtils",[],(function(a,b,c,d,e,f){"use strict";function b(){try{return"WorkerGlobalScope"in a&&a instanceof a.WorkerGlobalScope}catch(a){return!1}}e.exports={isWorkerContext:b}}),null); __d("getReusableTimeSliceContinuation",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,b,c){__p&&__p();var d=!1,e=a.getGuardedContinuation(c),f=function(b){e(function(){d||(e=a.getGuardedContinuation(c)),b()})};f.last=function(a){var b=e;g();b(a)};f[b]={cancel:function(){d||(a.cancel(e),g(),d=!0)},tokens:[],invoked:!1};function g(){d=!0,e=function(a){a()}}return f}e.exports=a}),null); __d("TimeSliceImpl",["invariant","CallStackExecutionObserver","CircularBuffer","Env","ErrorUtils","FBLoggerImpl","IntervalTrackingBoundedBuffer","WorkerUtils","getReusableTimeSliceContinuation","nullthrows","performanceAbsoluteNow","wrapFunction"],(function(a,b,c,d,e,f,g){__p&&__p();var h=[],i=[],j="key"+Math.random(),k=1,l=!1,m=0,n=1,o=2,p={},q=m,r=new(b("CircularBuffer"))(100),s=0,t=0;c=b("Env").timesliceBufferSize;c==null&&(c=5e3);var u=new(b("IntervalTrackingBoundedBuffer"))(c),v="stackTraceLimit"in Error,w=[],x=[],y=[];function z(){return A(w)}function A(a){return a.length>0?a[a.length-1]:null}function B(a,c){var d={};b("ErrorUtils").applyWithGuard(F,null,[a,c,d]);b("ErrorUtils").applyWithGuard(G,null,[a,c,d]);w.push(a);x.push(c);y.push(d)}function C(a,b,c){h.forEach(function(d){var e=d.onNewContextCreated(z(),b,c);a[d.getBeforeID()]=e})}function D(a,b){h.forEach(function(c){c.onContextCanceled(a,b[c.getBeforeID()])})}function E(a,b,c){i.forEach(function(d){d.onAfterContextEnded(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta)})}function F(a,b,c){h.forEach(function(d){var e=d.onBeforeContextStarted(a,b[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function G(a,b,c){h.forEach(function(d){var e=d.onAfterContextStarted(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function H(){__p&&__p();var a=z(),c=A(x),d=A(y);if(a==null||c==null||d==null){b("FBLoggerImpl")("TimeSlice").mustfix("popped too many times off the timeslice stack");l=!1;return}b("ErrorUtils").applyWithGuard(E,null,[a,c,d]);l=!a.isRoot;w.pop();x.pop();y.pop()}var I={PropagationType:{CONTINUATION:0,EXECUTION:1,ORPHAN:2},guard:function(a,c,d){__p&&__p();typeof a==="function"||g(0,3725);typeof c==="string"||g(0,3726);var e=J(d);if(a[j])return a;e.root||I.checkCoverage();var f;l&&(f=z());var h={},i=0,m=void 0,n=b("Env").deferred_stack_trace_rate||0;n!==0&&Math.random()*n<=1&&b("Env").timeslice_heartbeat_config&&b("Env").timeslice_heartbeat_config.isArtilleryOn&&d&&d.registerCallStack&&(m=b("ErrorUtils").normalizeError(new Error("deferred execution source")));var o={cancel:function(){o.invoked||b("ErrorUtils").applyWithGuard(D,null,[c,h])},tokens:[],invoked:!1};n=function(){__p&&__p();var d=b("performanceAbsoluteNow")(),g,j=k++,n={contextID:j,name:c,isRoot:!l,executionNumber:i++,meta:e,absBeginTimeMs:d};o.invoked||(o.invoked=!0,o.tokens.length&&(o.tokens.forEach(function(a){delete p[a]}),o.tokens=[]));B(n,h);if(f!=null){var q=!!e.isContinuation;f.isRoot?(n.indirectParentID=f.contextID,n.isEdgeContinuation=q):(n.indirectParentID=f.indirectParentID,n.isEdgeContinuation=!!(q&&f.isEdgeContinuation))}var r=b("WorkerUtils").isWorkerContext();l=!0;try{if(!n.isRoot||r)return a.apply(this,arguments);else{var s="TimeSlice"+(c?": "+c:"");g=b("ErrorUtils").applyWithGuard(a,this,[].concat(Array.prototype.slice.call(arguments)),null,s,{deferredSource:m});return g}}finally{var v=z();if(v==null)b("FBLoggerImpl")("TimeSlice").mustfix("timeslice stack misaligned, not logging the block"),l=!1;else{var w=v.isRoot,x=v.contextID,y=v.indirectParentID,A=v.isEdgeContinuation,C=b("performanceAbsoluteNow")();v.absEndTimeMs=C;if(w&&d!=null){t+=C-d;var D=babelHelpers["extends"]({begin:d,end:C,id:x,indirectParentID:y,representsExecution:!0,isEdgeContinuation:f&&A,guard:c},e,a.__SMmeta);u.pushElement(D)}H()}}};n=n;n[j]=o;b("ErrorUtils").applyWithGuard(C,null,[h,c,e]);return n},copyGuardForWrapper:function(a,b){a&&a[j]&&(b[j]=a[j]);return b},cancel:function(a){a=a?a[j]:null;a&&!a.invoked&&(a.cancel(),a.tokens.forEach(function(a){delete p[a]}),a.invoked=!0)},cancelWithToken:function(a){p[a]&&I.cancel(p[a])},registerForCancelling:function(a,b){a&&(b[j]&&(p[a]||(b[j].invoked||(p[a]=b,b[j].tokens.push(a)))))},inGuard:function(){return l},checkCoverage:function(){var a;if(q!==o&&!l){v&&(a=Error.stackTraceLimit,Error.stackTraceLimit=50);var c=new Error("Missing TimeSlice coverage");v&&(Error.stackTraceLimit=a);q===n&&Math.random()1?b-1:0),d=1;da.getBeforeID()){h.splice(c,0,a);b=!0;break}b||h.push(a);for(var c=0;ca.getAfterID()){i.splice(c,0,a);return}i.push(a)},catchUpOnDemandExecutionContextObservers:function(a){for(var b=0;bj){i=!0;return}h.push({key:a+g,value:b})}b("Visibility").addListener(b("Visibility").VISIBLE,function(a){k(a.changeTime,!1)});b("Visibility").addListener(b("Visibility").HIDDEN,function(a){k(a.changeTime,!0)});var l={getHiddenTimings:function(a,c){__p&&__p();if(i)return null;var d;for(var a=h.length-1;a>=0;a--)if(h[a].key<=c){d=h.slice(0,a+1);break}if(d===void 0)return null;d[d.length-1].value!==b("Visibility").isHidden()&&(d[d.length]={key:c,value:b("Visibility").isHidden()});return d},getHiddenTime:function(a,c){__p&&__p();var d=l.getHiddenTimings(a,c);if(!d)return null;if(d.length<2)return b("Visibility").isHidden()?c-a:0;var e=d.length-1;c=d[e].value?c-d[e].key:0;for(--e;e>0;e--)if(d[e].key>a)d[e].value&&(c+=d[e+1].key-d[e].key);else break;d[e].value&&(c=d[e+1].key-a);return c},supported:function(){return!0}};e.exports=l}),3); __d("bootstrapWebSession",["WebSession","WebSessionDefaultTimeoutMs","performanceNavigationStart"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){a=b("performanceNavigationStart")()||a;return Number.isInteger(a)?a:null}var h=!1;function a(a){if(h===!0)return;h=!0;a=g(a);a!=null&&a>0&&b("WebSession").extend(a+b("WebSessionDefaultTimeoutMs"))}e.exports=a}),null); __d("clearTimeoutBlue",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeClearTimeout||a.clearTimeout,h=b("TimerStorage").TIMEOUT;function c(a){if(a!=null){b("TimerStorage").unset(h,a);var c=h+String(a);b("TimeSlice").cancelWithToken(c)}g(a)}e.exports=c}),null); __d("legacy:arbiter",["Arbiter"],(function(a,b,c,d,e,f){a.Arbiter=b("Arbiter")}),3); __d("legacy:bootloader",["Bootloader"],(function(a,b,c,d,e,f){a.Bootloader=b("Bootloader")}),3); __d("legacy:constructor-cache",["JSCC"],(function(a,b,c,d,e,f){a.JSCC=b("JSCC")}),3); __d("legacy:css",["CSS"],(function(a,b,c,d,e,f){a.CSS=b("CSS")}),3); __d("legacy:dom-core",["$","ge"],(function(a,b,c,d,e,f){a.$=a.$||b("$"),a.ge=b("ge")}),3); __d("legacy:emptyFunction",["emptyFunction"],(function(a,b,c,d,e,f){a.emptyFunction=b("emptyFunction")}),3); __d("goURI",["URI"],(function(a,b,c,d,e,f){"use strict";e.exports=b("URI").go}),null); __d("legacy:goURI",["goURI"],(function(a,b,c,d,e,f){a.goURI=b("goURI")}),3); __d("legacy:onload",["Run","PageEvents"],(function(a,b,c,d,e,f){a.PageEvents=b("PageEvents"),a.onloadRegister_DEPRECATED=b("Run").onLoad,a.onloadRegister=function(){return b("Run").onLoad.apply(this,arguments)},a.onafterloadRegister_DEPRECATED=b("Run").onAfterLoad,a.onafterloadRegister=function(){return b("Run").onAfterLoad.apply(this,arguments)},a.onleaveRegister=b("Run").onLeave,a.onbeforeunloadRegister=b("Run").onBeforeUnload,a.onunloadRegister=b("Run").onUnload}),3); __d("legacy:parent",["Parent"],(function(a,b,c,d,e,f){a.Parent=b("Parent")}),3); __d("lowerFacebookDomain",[],(function(a,b,c,d,e,f){b=window.location.hostname.match(/\.(facebook\.sg|facebookcorewwwi\.onion|workplace\.com)$/);var g=b?b[1]:"facebook.com";a.setDomain=function(a){g=a};a.isValidDocumentDomain=function(){return document.domain==g?!0:!1};function a(){document.domain=g}e.exports=a}),null); __d("lowerDomain",["lowerFacebookDomain"],(function(a,b,c,d,e,f){((a=document.domain)!=null?a:"").toLowerCase().match(/(^|\.)(facebook|facebookcorewwwi|workplace)\..*/)&&b("lowerFacebookDomain")()}),null); __d("markJSEnabled",[],(function(a,b,c,d,e,f){a=document.documentElement;a.className=a.className.replace("no_js","")}),null); __d("setTimeoutBlue",["TimerStorage","TimeSlice","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){__p&&__p();var d,e=function(){b("TimerStorage").unset(b("TimerStorage").TIMEOUT,d);for(var c=arguments.length,e=new Array(c),f=0;f2?f-2:0),h=2;h