if (self.CavalryLogger) { CavalryLogger.start_js(["I1hGl"]); }
__d("FetchStreamConfig",[],(function(a,b,c,d,e,f){e.exports={delim:"/**/"}}),null);
__d("GenderConst",[],(function(a,b,c,d,e,f){e.exports={NOT_A_PERSON:0,FEMALE_SINGULAR:1,MALE_SINGULAR:2,FEMALE_SINGULAR_GUESS:3,MALE_SINGULAR_GUESS:4,MIXED_SINGULAR:5,MIXED_PLURAL:5,NEUTER_SINGULAR:6,UNKNOWN_SINGULAR:7,FEMALE_PLURAL:8,MALE_PLURAL:9,NEUTER_PLURAL:10,UNKNOWN_PLURAL:11}}),null);
__d("IntlVariations",[],(function(a,b,c,d,e,f){e.exports={BITMASK_NUMBER:28,BITMASK_GENDER:3,NUMBER_ZERO:16,NUMBER_ONE:4,NUMBER_TWO:8,NUMBER_FEW:20,NUMBER_MANY:12,NUMBER_OTHER:24,GENDER_MALE:1,GENDER_FEMALE:2,GENDER_UNKNOWN:3}}),null);
__d("AsyncDOM",["CSS","DOM","FBLogger"],(function(a,b,c,d,e,f){__p&&__p();a={invoke:function(a,c){__p&&__p();for(var d=0;d');return this._iframe=b("DOM").appendContent(document.body,a)[0]};c.prototype.send=function(){"use strict";this._type===j?setTimeout(function(){b("DOM").appendContent(document.body,b("DOM").create("script",{src:this.getRequestURI().toString(),type:"text/javascript"}))}.bind(this),0):(this.getTransportFrame().onload=this._checkForErrors.bind(this),this.getTransportFrame().src=this.getRequestURI().toString()),this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};c.prototype.createContinuationForFileForm_DO_NOT_USE=function(){"use strict";this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};c.prototype.handleResponse=function(a){"use strict";this._continuation(function(){this.inform("response",a),this.hasFinished()?setTimeout(this._cleanup.bind(this),0):this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for next response")}.bind(this))};c.prototype.abort=function(){"use strict";if(this._aborted)return;this._aborted=!0;this._cleanup();l(this.getID());this.inform("abort");this._continuation&&b("TimeSlice").cancel(this._continuation)};c.prototype._checkForErrors=function(){"use strict";this._hasResponse||this.abort()};c.prototype._cleanup=function(){"use strict";this._iframe&&(b("DOM").remove(this._iframe),this._iframe=null)};c.respond=function(b,c,d){"use strict";var e=h[b];if(e)e._hasResponse=!0,d||l(b),e._type==k&&(typeof c==="string"?c=JSON.parse(c):c=JSON.parse(JSON.stringify(c))),e.handleResponse(c);else{e=a.ErrorSignal;e&&!d&&e.logJSError("ajax",{error:"UnexpectedJsonResponse",extra:{id:b,uri:c.payload&&c.payload.uri||""}})}};c.respond=b("TimeSlice").guard(c.respond,"JSONPTransport.respond",{root:!0});e.exports=c}),null);
__d("bind",[],(function(a,b,c,d,e,f){__p&&__p();function a(a,b){__p&&__p();var c=Array.prototype.slice.call(arguments,2);if(typeof b!=="string")return Function.prototype.bind.apply(b,[a].concat(c));function d(){var d=c.concat(Array.prototype.slice.call(arguments));if(a[b])return a[b].apply(a,d)}d.toString=function(){return"bound lazily: "+a[b]};return d}e.exports=a}),null);
__d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}e.exports=a}),null);
__d("executeAfter",[],(function(a,b,c,d,e,f){function a(a,b,c){return function(){a.apply(c||this,arguments),b.apply(c||this,arguments)}}e.exports=a}),null);
__d("FbtNativeTranslations",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){return null}function b(){return!1}e.exports={getTranslatedPayload:a,isComponentScript:b}}),null);
__d("FbtReactUtil",[],(function(a,b,c,d,e,f){a=typeof Symbol==="function"&&Symbol["for"]&&Symbol["for"]("react.element")||60103;var g=!1;b={REACT_ELEMENT_TYPE:a,defineProperty:function(a,b,c){g?Object.defineProperty(a,b,{configurable:!1,enumerable:!1,writable:!1,value:c}):a[b]=c}};e.exports=b}),null);
__d("FbtResult",["FbtReactUtil","FbtResultBase"],(function(a,b,c,d,e,f){__p&&__p();var g;c=function(a){return a.content};d=babelHelpers.inherits(a,b("FbtResultBase"));g=d&&d.prototype;function a(a){"use strict";g.constructor.call(this,a),this.key=null,this.ref=null,this.props={content:a}}a.prototype.type=c;a.prototype.$$typeof=b("FbtReactUtil").REACT_ELEMENT_TYPE;e.exports=a}),null);
__d("InlineFbtResult",["cx","FbtReactUtil","FbtResultBase"],(function(a,b,c,d,e,f,g){__p&&__p();var h;function i(a,c,d,e){var f="_4qba";e&&(c==="TRANSLATION"?f="_4qbb":c==="APPROVE"?f="_4qbc":c==="REPORT"&&(f="_4qbd"));return{$$typeof:b("FbtReactUtil").REACT_ELEMENT_TYPE,type:"em",key:null,ref:null,props:{className:f,"data-intl-hash":e,"data-intl-translation":d,"data-intl-trid":"",children:a,suppressHydrationWarning:!0},_owner:null}}c=function(a){return i(a.content,a.inlineMode,a.translation,a.hash)};d=babelHelpers.inherits(a,b("FbtResultBase"));h=d&&d.prototype;function a(a,b,c,d){"use strict";h.constructor.call(this,a),this.key=null,this.ref=null,this.props={content:a,inlineMode:b,translation:c,hash:d}}a.prototype.type=c;a.prototype.$$typeof=b("FbtReactUtil").REACT_ELEMENT_TYPE;e.exports=a}),null);
__d("FbtNumberType",["IntlNumberTypeConfig","IntlVariations"],(function(a,b,c,d,e,f){a=new Function("IntlVariations",'"use strict"; return (function(n) {'+b("IntlNumberTypeConfig").impl+"});")(b("IntlVariations"));e.exports={getVariation:a}}),null);
__d("IntlNumberType",["FbtNumberType"],(function(a,b,c,d,e,f){a={get:function(a){return b("FbtNumberType")}};e.exports=a}),null);
__d("escapeRegex",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")}e.exports=a}),null);
__d("intlNumUtils",["NumberFormatConfig","escapeRegex"],(function(a,b,c,d,e,f){__p&&__p();var g=3;f=["\u0433\u0440\u043d.","\u0434\u0435\u043d.","\u043b\u0432.","\u043c\u0430\u043d.","\u0564\u0580.","\u062c.\u0645.","\u062f.\u0625.","\u062f.\u0627.","\u062f.\u0628.","\u062f.\u062a.","\u062f.\u062c.","\u062f.\u0639.","\u062f.\u0643.","\u062f.\u0644.","\u062f.\u0645.","\u0631.\u0633.","\u0631.\u0639.","\u0631.\u0642.","\u0631.\u064a.","\u0644.\u0633.","\u0644.\u0644.","\u0783.","B/.","Bs.","Fr.","kr.","L.","p.","S/."];var h={};function i(a){h[a]||(h[a]=new RegExp(a,"i"));return h[a]}var j=i(f.reduce(function(a,c,d){return a+(d?"|":"")+"("+b("escapeRegex")(c)+")"},""));function k(a,c,d,e,f,h,j){__p&&__p();d=d||"";e=e||".";f=f||0;h=h||{primaryGroupSize:g,secondaryGroupSize:g};var k=h.primaryGroupSize||g;h=h.secondaryGroupSize||k;j=j&&j.digits;c===undefined||c===null?a=a.toString():typeof a==="string"?a=p(a,c):a=n(a,c);c=a.toString().split(".");a=c[0];c=c[1];if(Math.abs(parseInt(a,10)).toString().length>=f){f="$1"+d+"$2$3";k="(\\d)(\\d{"+(k-0)+"})($|\\D)";k=a.replace(i(k),f);if(k!=a){a=k;h="(\\d)(\\d{"+(h-0)+"})("+b("escapeRegex")(d)+")";d=i(h);while((k=a.replace(d,f))!=a)a=k}}j&&(a=l(a,j),c=c&&l(c,j));h=a;c&&(h+=e+c);return h}function l(a,b){var c="";for(var d=0;d=c.length)return a;else if(a==null)return null;var e=null,f=c[d],g=f[m.INDEX];if(Array.isArray(g))for(var h=0;h1?d[1]:c;typeof h==="number"||g(0,484);e=s(h);f=!0}else d[0]===n.GENDER?(d.length>1||g(0,485),e=t(d[1])):g(0,486);h={};h[a]=f&&typeof c==="number"?b("intlNumUtils").formatNumberWithThousandDelimiters(c):c;return[e,h]};r._plural=function(a,c,d){var e=s(a),f={};c&&(typeof d==="number"?f[c]=b("intlNumUtils").formatNumberWithThousandDelimiters(d):f[c]=d||b("intlNumUtils").formatNumberWithThousandDelimiters(a));return[e,f]};r._pronoun=function(a,c,d){c!==b("GenderConst").NOT_A_PERSON||!d||!d.human||g(0,487);d=u(a,c);return[[d,"*"],null]};function u(a,c){switch(c){case b("GenderConst").NOT_A_PERSON:return a===o.OBJECT||a===o.REFLEXIVE?b("GenderConst").NOT_A_PERSON:b("GenderConst").UNKNOWN_PLURAL;case b("GenderConst").FEMALE_SINGULAR:case b("GenderConst").FEMALE_SINGULAR_GUESS:return b("GenderConst").FEMALE_SINGULAR;case b("GenderConst").MALE_SINGULAR:case b("GenderConst").MALE_SINGULAR_GUESS:return b("GenderConst").MALE_SINGULAR;case b("GenderConst").MIXED_SINGULAR:case b("GenderConst").FEMALE_PLURAL:case b("GenderConst").MALE_PLURAL:case b("GenderConst").NEUTER_PLURAL:case b("GenderConst").UNKNOWN_PLURAL:return b("GenderConst").UNKNOWN_PLURAL;case b("GenderConst").NEUTER_SINGULAR:case b("GenderConst").UNKNOWN_SINGULAR:return a===o.REFLEXIVE?b("GenderConst").NOT_A_PERSON:b("GenderConst").UNKNOWN_PLURAL}return b("GenderConst").NOT_A_PERSON}r._name=function(a,b,c){c=t(c);var d={};d[a]=b;return[c,d]};r.logImpression=function(a){h&&h.logImpression(a);return a};r.logQTImpression=function(a){b("Banzai").post("intl_qt_event",{hash:a});return a};function v(a,c,d){if(!b("FbtResultGK").shouldReturnFbtResult&&b("FbtResultGK").inlineMode!=="REPORT")return a;a=typeof a==="string"?[a]:a;return b("FbtResultGK").inlineMode&&b("FbtResultGK").inlineMode!=="NO_INLINE"?new(b("InlineFbtResult"))(a,b("FbtResultGK").inlineMode,c,d):new(b("FbtResult"))(a)}r.enableJsonExportMode=function(){l=!0};r.disableJsonExportMode=function(){l=!1};e.exports=r}),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("AsyncRequest",["errorCode","fbt","invariant","ix","Promise","Arbiter","ArtilleryAsyncRequestTracingAnnotator","AsyncDOM","AsyncRequestConfig","AsyncResponse","Bootloader","CSS","Deferred","DTSG","DTSG_ASYNC","Env","ErrorUtils","Event","FBLogger","FetchStreamTransport","HTTPErrors","JSCC","Parent","PHPQuerySerializer","PixelRatioConst","ProfilingCounters","ResourceTimingsStore","ResourceTypes","ServerJS","SessionName","TimeSlice","URI","UserAgent_DEPRECATED","WebPixelRatio","ZeroRewrites","bind","bx","clearTimeout","emptyFunction","evalGlobal","executeAfter","ge","getAsyncHeaders","getAsyncParams","gkx","goURI","ifRequired","isBonfireURI","isEmpty","isFacebookURI","isMessengerDotComURI","isWorkplaceDotComURI","killswitch","promiseDone","qex","replaceTransportMarkers","setTimeout","setTimeoutAcrossTransitions"],(function $module_AsyncRequest(global,require,requireDynamic,requireLazy,module,exports,errorCode,fbt,invariant,ix){"use strict";__p&&__p();var nineteenSecInMs=19e3;function hasUnloaded(){try{return!window.domready}catch(_unused){return!0}}function supportsUploadProgress(transport){return"upload"in transport&&"onprogress"in transport.upload}function supportsCrossOrigin(transport){return"withCredentials"in transport}function isNetworkError(transport){return transport.status in{0:1,12029:1,12030:1,12031:1,12152:1}}function validateResponseHandler(handler){var valid=!handler||typeof handler==="function";valid||require("FBLogger")("asyncresponse").mustfix("AsyncRequest response handlers must be functions. Pass a function, or use bind() to build one.");return valid}var last_id=2,id_threshold=last_id;require("Arbiter").subscribe("page_transition",function(_,message){id_threshold=message.id});function AsyncRequest(uri){__p&&__p();this._allowIrrelevantRequests=!1,this._delayPreDisplayJS=!1,this._shouldReplaceTransportMarkers=require("gkx")("678674"),this._dispatchErrorResponse=function(asyncResponse,errorHandler){__p&&__p();var error=asyncResponse.getError();this.clearStatusIndicator();if(!this._isRelevant()||error===1010){!1;this.abort();return}if(this._isServerDialogErrorCode(error)){var is_confirmation=error==1357008||error==1357007;this.interceptHandler(asyncResponse);error==1357041?this._solveQuicksandChallenge(asyncResponse):error==1357007?this._displayServerDialog(asyncResponse,is_confirmation,!0):this._displayServerDialog(asyncResponse,is_confirmation)}else if(this.initialHandler(asyncResponse)!==!1){require("clearTimeout")(this.timer);try{errorHandler(asyncResponse)}catch(e){this.finallyHandler(asyncResponse);throw e}this.finallyHandler(asyncResponse)}}.bind(this),this._onStateChange=function(){__p&&__p();var transport=this.transport;if(!transport)return;try{AsyncRequest._inflightCount--;require("ResourceTimingsStore").measureResponseReceived(require("ResourceTypes").XHR,this.resourceTimingStoreUID);try{typeof transport.getResponseHeader!=="undefined"&&transport.getResponseHeader("X-FB-Debug")&&(this._xFbServer=transport.getResponseHeader("X-FB-Debug"))}catch(_unused2){}if(transport.status>=200&&transport.status<300)AsyncRequest.lastSuccessTime=Date.now(),this._handleXHRResponse(transport);else if(require("UserAgent_DEPRECATED").webkit()&&typeof transport.status==="undefined")this._invokeErrorHandler(1002);else if(require("AsyncRequestConfig").retryOnNetworkError&&isNetworkError(transport)&&this.remainingRetries>0&&!this._requestTimeout){this.remainingRetries--;delete this.transport;this.send(!0);return}else this._invokeErrorHandler();this.getOption("asynchronous_DEPRECATED")!==!1&&delete this.transport}catch(exception){if(hasUnloaded())return;delete this.transport;this.remainingRetries>0?(this.remainingRetries--,this.send(!0)):(this.getOption("suppressErrorAlerts")||require("FBLogger")("AsyncRequest").catching(exception).mustfix("AsyncRequest exception when attempting to handle a state change"),this._invokeErrorHandler(1007))}}.bind(this),this.continuation=require("TimeSlice").getPlaceholderReusableContinuation(),this.transport=null,this.method="POST",this.uri="",this.timeout=null,this.timer=null,this.initialHandler=require("emptyFunction"),this.handler=null,this.uploadProgressHandler=null,this.errorHandler=require("AsyncResponse").defaultErrorHandler,this.transportErrorHandler=null,this.timeoutHandler=null,this.interceptHandler=require("emptyFunction"),this.finallyHandler=require("emptyFunction"),this.abortHandler=require("emptyFunction"),this.serverDialogCancelHandler=null,this.relativeTo=null,this.statusElement=null,this.statusClass="",this.data={},this.headers={},this.file=null,this.context={},this.readOnly=!1,this.writeRequiredParams=[],this.remainingRetries=0,this.userActionID="-",this.logErrorsEnabled=require("AsyncRequestConfig").logAsyncRequest,this.allowInteractionServerTracing=!0,this.resourceTimingStoreUID=require("ResourceTimingsStore").getUID(require("ResourceTypes").XHR,uri!=null?uri.toString():""),this._warningList=[500,1010,1004],this.option={asynchronous_DEPRECATED:!0,suppressErrorHandlerWarning:!1,suppressEvaluation:!1,suppressErrorAlerts:!1,retries:0,jsonp:!1,bundle:!1,useIframeTransport:!1,handleErrorAfterUnload:!1,useFetchWithIframeFallback:!1},this.transportErrorHandler=require("bind")(this,"errorHandler"),uri!==undefined&&this.setURI(uri),this.setAllowCrossPageTransition(require("AsyncRequestConfig").asyncRequestsSurviveTransitionsDefault||!1)}AsyncRequest.prototype._dispatchResponse=function(asyncResponse){__p&&__p();this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(1010);return}if(this.initialHandler(asyncResponse)===!1)return;require("clearTimeout")(this.timer);if(asyncResponse.jscc_map){var jsccMap=require("JSCC").parse(asyncResponse.jscc_map);require("JSCC").init(jsccMap)}var suppress_js,handler=this.getHandler();if(handler)try{suppress_js=this._shouldSuppressJS(handler(asyncResponse))}catch(e){asyncResponse.is_last&&this.finallyHandler(asyncResponse);throw e}suppress_js||this._handleJSResponse(asyncResponse);asyncResponse.is_last&&this.finallyHandler(asyncResponse)};AsyncRequest.prototype._shouldSuppressJS=function(handler_return_value){return handler_return_value===AsyncRequest.suppressOnloadToken};AsyncRequest.prototype._handlePreDisplayServerJS=function(serverJS,preDisplayJSMods){__p&&__p();var _displayStarted=!1,preDisplayPromises=[],registerToBlockDisplayUntilDone_DONOTUSE=function registerToBlockDisplayUntilDone_DONOTUSE(){if(_displayStarted){require("FBLogger")("AsyncResponse").warn("registerToBlockDisplayUntilDone_DONOTUSE called after AsyncResponse display started. This is a no-op.");return function(){}}var timeoutId,deferrable=new(require("Deferred"))();preDisplayPromises.push(deferrable.getPromise());return require("TimeSlice").guard(function(){timeoutId&&require("clearTimeout")(timeoutId),deferrable.resolve()},"AsyncRequestDisplayBlockingEvent",{propagationType:require("TimeSlice").PropagationType.EXECUTION})};serverJS.handle(preDisplayJSMods,{bigPipeContext:{registerToBlockDisplayUntilDone_DONOTUSE:registerToBlockDisplayUntilDone_DONOTUSE}});_displayStarted=!0;return preDisplayPromises};AsyncRequest.prototype._hasEvalDomOp=function(domOps){return domOps&&domOps.length?domOps.some(function(op){return op[0]==="eval"}):!1};AsyncRequest.prototype._handleJSResponse=function(asyncResponse){__p&&__p();var relativeTo=this.getRelativeTo(),domOps=asyncResponse.domops,dtsgToken=asyncResponse.dtsgToken,dtsgAsyncGetToken=asyncResponse.dtsgAsyncGetToken,jsMods=asyncResponse.jsmods,serverJS,savedServerJSInstance=asyncResponse.savedServerJSInstance;savedServerJSInstance&&savedServerJSInstance instanceof require("ServerJS")?serverJS=savedServerJSInstance:serverJS=new(require("ServerJS"))();serverJS.setRelativeTo(relativeTo);if(jsMods){var preDisplayJSMods={};preDisplayJSMods.define=jsMods.define;preDisplayJSMods.instances=jsMods.instances;preDisplayJSMods.markup=jsMods.markup;delete jsMods.define;delete jsMods.instances;delete jsMods.markup;this._hasEvalDomOp(domOps)&&(preDisplayJSMods.elements=jsMods.elements,delete jsMods.elements);serverJS.handle(preDisplayJSMods)}dtsgToken&&require("DTSG").setToken(dtsgToken);dtsgAsyncGetToken&&require("DTSG_ASYNC").setToken(dtsgAsyncGetToken);domOps&&require("AsyncDOM").invoke(domOps,relativeTo);jsMods&&serverJS.handle(jsMods);this._handleJSRegisters(asyncResponse,"onload");this._handleJSRegisters(asyncResponse,"onafterload")};AsyncRequest.prototype._handleJSRegisters=function(asyncResponse,phase){var registers=asyncResponse[phase];if(registers)for(var ii=0;ii=_iterator.length)return"break";_ref=_iterator[_i++]}else{_i=_iterator.next();if(_i.done)return"break";_ref=_i.value}var rsrcs=_ref;require("TimeSlice").guard(function(){require("Bootloader").loadPredictedResourceMap(rsrcs)},"Bootloader.loadPredictedResourceMap",{root:!0})()};for(var _iterator=toBootload,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var _ref,_ret=_loop();if(_ret==="break")break}return}if(!this.handler&&!this.errorHandler&&!this.transportErrorHandler&&!this.preBootloadHandler&&this.initialHandler===require("emptyFunction")&&this.finallyHandler===require("emptyFunction"))return;var response=interpreted.asyncResponse;if(typeof response!=="undefined"){this._artilleryHandle!=null&&this._artilleryHandle(response);if(!this._isRelevant()){this._invokeErrorHandler(1010);return}response.inlinejs&&require("evalGlobal")(response.inlinejs);response.lid&&(this._responseTime=Date.now(),global.CavalryLogger&&(this.cavalry=global.CavalryLogger.getInstance(response.lid)),this.lid=response.lid);ix.add(response.ixData);require("bx").add(response.bxData);require("gkx").add(response.gkxData);require("qex").add(response.qexData);response.resource_map&&require("Bootloader").setResourceMap(response.resource_map);response.bootloadable&&require("Bootloader").enableBootload(response.bootloadable);var dispatch,arbiter_event;if(response.getError()&&!response.getErrorIsWarning()){var handler=this.getErrorHandler().bind(this);dispatch=require("ErrorUtils").guard(this._dispatchErrorResponse,"AsyncRequest#_dispatchErrorResponse for "+this.getURI());dispatch=dispatch.bind(this,response,handler);this._logError(response);arbiter_event="error"}else{dispatch=require("ErrorUtils").guard(this._dispatchResponse.bind(this),"AsyncRequest#_dispatchResponse for "+this.getURI());dispatch=dispatch.bind(this,response);arbiter_event="response";var domOps=response.domops;if(!this._delayPreDisplayJS&&response.jsmods&&response.jsmods.pre_display_requires&&!this._hasEvalDomOp(domOps)&&!require("killswitch")("ASYNC_REQUEST_EARLY_RENDERING_OF_PREDISPLAY_PRIORITY_JS")){var jsMods=response.jsmods,preDisplayJSMods={};preDisplayJSMods.define=jsMods.define;preDisplayJSMods.instances=jsMods.instances;preDisplayJSMods.markup=jsMods.markup;delete jsMods.define;delete jsMods.instances;delete jsMods.markup;preDisplayJSMods.pre_display_requires=jsMods.pre_display_requires;delete jsMods.pre_display_requires;var serverJS=new(require("ServerJS"))();serverJS.setRelativeTo(this.getRelativeTo());response.savedServerJSInstance=serverJS;var preDisplayPromises=this._handlePreDisplayServerJS(serverJS,preDisplayJSMods);if(preDisplayPromises&&preDisplayPromises.length){var realDispatch=dispatch;dispatch=function dispatch(){require("promiseDone")(require("Promise").all(preDisplayPromises).then(realDispatch))}}}}dispatch=require("executeAfter")(dispatch,function(){require("Arbiter").inform("AsyncRequest/"+arbiter_event,{request:this,response:response})}.bind(this));var replace=!1;this.preBootloadHandler&&(replace=this.preBootloadHandler(response));response.css=response.css||[];response.js=response.js||[];require("Bootloader").loadResources(response.css.concat(response.js),require("AsyncRequestConfig").immediateDispatch?dispatch:function(){require("setTimeout")(dispatch,0)},replace,this.getURI())}else typeof interpreted.transportError!=="undefined"?this._xFbServer?this._invokeErrorHandler(1008):this._invokeErrorHandler(1012):this._invokeErrorHandler(1007)};AsyncRequest.prototype._logError=function(response){__p&&__p();if(this.logErrorsEnabled&&!this.getOption("suppressErrorAlerts")){var message;try{message=JSON.stringify(response)}catch(_unused3){try{message=JSON.stringify({error:response.error,errorSummary:response.errorSummary,errorDescription:response.errorDescription})}catch(ex){require("FBLogger")("AsyncRequest").catching(ex).mustfix("Failed to stringify message");return}}require("FBLogger")("asyncresponse").mustfix("Async error response %s",message)}};AsyncRequest.prototype._invokeErrorHandler=function(explicitError){__p&&__p();var transport=this.transport;if(!transport)return;var error;if(this.responseText==="")error=1002;else if(this._requestAborted)error=1011;else{try{error=explicitError||transport.status||1004}catch(_unused4){error=1005}!1===navigator.onLine&&(error=1006)}var desc,summary,silent=!0;if(error===1006)summary=fbt._("No network connection"),desc=fbt._("Your browser appears to be offline. Please check your Internet connection and try again.");else if(error>=300&&error<=399){summary=fbt._("Redirection");desc=fbt._("Your access to Facebook was redirected or blocked by a third party at this time, please contact your ISP or reload.");var location=transport.getResponseHeader("Location");location&&require("goURI")(location,!0);silent=!0}else summary=fbt._("Oops!"),desc=fbt._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");var async_response=new(require("AsyncResponse"))(this,transport);Object.assign(async_response,{error:error,errorSummary:summary,errorDescription:desc,silentError:silent});this._logError(async_response);require("setTimeout")(function(){require("Arbiter").inform("AsyncRequest/error",{request:this,response:async_response})}.bind(this),0);if(hasUnloaded()&&!this.getOption("handleErrorAfterUnload"))return;if(!this.transportErrorHandler){require("FBLogger")("asyncresponse").mustfix("Async request to %s failed with a %d error, but there was no error handler available to deal with it.",this.getURI(),error);return}var error_handler=this.getTransportErrorHandler().bind(this);!(this.getOption("suppressErrorAlerts")||this._warningList.indexOf(error)>-1)?require("FBLogger")("asyncresponse").mustfix("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI()):this._warningList.indexOf(error)>-1&&require("FBLogger")("asyncresponse").warn("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI());require("ErrorUtils").applyWithGuard(this._dispatchErrorResponse,this,[async_response,error_handler])};AsyncRequest.prototype._isServerDialogErrorCode=function(error){return error==1357008||error==1357007||error==1357041||error==1442002||error==1357001};AsyncRequest.prototype._solveQuicksandChallenge=function(async_response){var payload=async_response.getPayload();require("Bootloader").loadModules(["QuickSandSolver"],function(QuickSandSolver){QuickSandSolver.solveAndSendRequestBack(this,payload)}.bind(this),"AsyncRequest")};AsyncRequest.prototype._displayServerDialog=function(async_response,is_confirmation,allow_get){__p&&__p();allow_get===void 0&&(allow_get=!1);var payload=async_response.getPayload();if(payload.__dialog!==undefined){this._displayServerLegacyDialog(async_response,is_confirmation);return}var json=payload.__dialogx;new(require("ServerJS"))().handle(json);require("Bootloader").loadModules(["ConfirmationDialog"],function(ConfirmationDialog){ConfirmationDialog.setupConfirmation(async_response,this,allow_get)}.bind(this),"AsyncRequest")};AsyncRequest.prototype._displayServerLegacyDialog=function(async_response,is_confirmation){__p&&__p();var model=async_response.getPayload().__dialog;require("Bootloader").loadModules(["Dialog"],function(Dialog){var dialog=new Dialog(model);is_confirmation&&dialog.setHandler(this._displayConfirmationHandler.bind(this,dialog));dialog.setCancelHandler(function(){var handler=this.getServerDialogCancelHandler();try{handler&&handler(async_response)}catch(e){throw e}finally{this.finallyHandler(async_response)}}.bind(this)).setCausalElement(this.relativeTo).show()}.bind(this),"AsyncRequest")};AsyncRequest.prototype._displayConfirmationHandler=function(dialog){this.data.confirmed=1,Object.assign(this.data,dialog.getFormData()),this.send()};AsyncRequest.prototype.setJSONPTransport=function(transport){transport.subscribe("response",this._handleJSONPResponse.bind(this)),transport.subscribe("abort",this._handleJSONPAbort.bind(this)),this.transport=transport};AsyncRequest.prototype._handleJSONPResponse=function(_,data){var transport=this.transport;if(!transport)return;data.bootloadOnly||(this.is_first=this.is_first===undefined);var interpreted=this._interpretResponse(data);interpreted.asyncResponse&&(interpreted.asyncResponse.is_first=this.is_first,interpreted.asyncResponse.is_last=transport.hasFinished());this.invokeResponseHandler(interpreted);transport.hasFinished()&&delete this.transport};AsyncRequest.prototype._handleJSONPAbort=function(){this._invokeErrorHandler(),delete this.transport};AsyncRequest.prototype._handleXHRResponse=function(transport){__p&&__p();var interpreted;if(this.getOption("suppressEvaluation"))interpreted={asyncResponse:new(require("AsyncResponse"))(this,transport)};else{var text=transport.responseText;try{var safe_text=this._unshieldResponseText(text),_response=eval("("+safe_text+")");interpreted=this._interpretResponse(_response)}catch(error){interpreted=error.message,require("FBLogger")("async_request").catching(error).warn("Faild to handle repsonse")}}this.invokeResponseHandler(interpreted)};AsyncRequest.prototype._unshieldResponseText=function(text){var shield="for (;;);",shieldlen=shield.length;if(text.length<=shieldlen)throw new Error("Response too short on async to "+this.getURI());var offset=0;while(text.charAt(offset)==" "||text.charAt(offset)=="\n")offset++;offset&&text.substring(offset,offset+shieldlen)==shield&&!1;return text.substring(offset+shieldlen)};AsyncRequest.prototype._interpretResponse=function(response){__p&&__p();if(response.redirect)return{redirect:response.redirect};if(response.bootloadOnly)return{bootloadOnly:response.bootloadOnly};var isServerDialog=response.error&&this._isServerDialogErrorCode(response.error);this._shouldReplaceTransportMarkers&&response.payload&&!isServerDialog&&require("replaceTransportMarkers")({relativeTo:this.getRelativeTo(),bigPipeContext:null},response.payload);var r=new(require("AsyncResponse"))(this);if(response.__ar!=1)require("FBLogger")("AsyncRequest").warn("AsyncRequest to endpoint %s returned a JSON response, but it is not properly formatted. The endpoint needs to provide a response using the AsyncResponse class in PHP.",this.getURI()),r.payload=response;else{Object.assign(r,response);var transport=this.transport;transport&&transport.getAllResponseHeaders!==undefined&&(r.responseHeaders=transport.getAllResponseHeaders())}return{asyncResponse:r}};AsyncRequest.prototype._isMultiplexable=function(){__p&&__p();if(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback")){require("FBLogger")("AsyncRequest").mustfix("You cannot bundle AsyncRequest that uses jsonp or iframe transport.");return!1}if(!require("isFacebookURI")(new(require("URI"))(this.uri))){require("FBLogger")("AsyncRequest").mustfix("You can not bundle AsyncRequest sent to non-facebook URIs. Uri: %s",this.getURI());return!1}if(!this.getOption("asynchronous_DEPRECATED")){require("FBLogger")("AsyncRequest").mustfix("We cannot bundle synchronous AsyncRequests");return!1}return!0};AsyncRequest.prototype.handleResponse=function(response){var interpreted=this._interpretResponse(response);this.invokeResponseHandler(interpreted)};AsyncRequest.prototype.setMethod=function(m){this.method=m.toString().toUpperCase();return this};AsyncRequest.prototype.getMethod=function(){return this.method};AsyncRequest.prototype.setData=function(obj){this.data=obj;return this};AsyncRequest.prototype.setRequestHeader=function(name,value){this.headers[name]=value;return this};AsyncRequest.prototype.setRawData=function(raw_data){this.rawData=raw_data;return this};AsyncRequest.prototype.getData=function(){return this.data};AsyncRequest.prototype.setContextData=function(key,value,enabled){enabled=enabled===undefined?!0:enabled;enabled&&(this.context["_log_"+key]=value);return this};AsyncRequest.prototype._setUserActionID=function(){this.userActionID=(require("SessionName").getName()||"-")+"/-"};AsyncRequest.prototype.setURI=function(uri){__p&&__p();typeof uri==="string"&&uri.match(/^\/?u_\d+_\d+/)&&require("FBLogger")("asyncrequest").warn("Invalid URI %s",uri);var uri_obj=new(require("URI"))(uri);if((this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&!require("isFacebookURI")(uri_obj)){!1;return this}if(!this._allowCrossOrigin&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")&&!uri_obj.isSameOrigin()){!1;return this}this._setUserActionID();if(!uri||uri_obj.isEmpty()){require("FBLogger")("async_request").mustfix("URI cannot be empty");return this}this.uri=require("ZeroRewrites").rewriteURI(uri_obj);return this};AsyncRequest.prototype.getURI=function(){return this.uri.toString()};AsyncRequest.prototype.delayPreDisplayJS=function(shouldDelayJS){shouldDelayJS===void 0&&(shouldDelayJS=!0);this._delayPreDisplayJS=shouldDelayJS;return this};AsyncRequest.prototype.setInitialHandler=function(fn){this.initialHandler=fn;return this};AsyncRequest.prototype.setPayloadHandler=function(fn){this.setHandler(function(response){return fn(response.payload)});return this};AsyncRequest.prototype.setHandler=function(fn){validateResponseHandler(fn)&&(this.handler=fn);return this};AsyncRequest.prototype.getHandler=function(){return this.handler||require("emptyFunction")};AsyncRequest.prototype.setUploadProgressHandler=function(fn){validateResponseHandler(fn)&&(this.uploadProgressHandler=fn);return this};AsyncRequest.prototype.setErrorHandler=function(fn){validateResponseHandler(fn)&&(this.errorHandler=fn);return this};AsyncRequest.prototype.setTransportErrorHandler=function(fn){this.transportErrorHandler=fn;return this};AsyncRequest.prototype.getErrorHandler=function(){return this.errorHandler||require("emptyFunction")};AsyncRequest.prototype.getTransportErrorHandler=function(){return this.transportErrorHandler||require("emptyFunction")};AsyncRequest.prototype.setTimeoutHandler=function(timeout,fn){validateResponseHandler(fn)&&(this.timeout=timeout,this.timeoutHandler=fn);return this};AsyncRequest.prototype.resetTimeout=function(timeout){__p&&__p();if(this.timeoutHandler===null)!1;else if(timeout===null)this.timeout=null,require("clearTimeout")(this.timer),this.timer=null;else{var clear_on_quickling_event=!this._allowCrossPageTransition;this.timeout=timeout;require("clearTimeout")(this.timer);clear_on_quickling_event?this.timer=require("setTimeout")(this._handleTimeout.bind(this),this.timeout):this.timer=require("setTimeoutAcrossTransitions")(this._handleTimeout.bind(this),this.timeout)}return this};AsyncRequest.prototype._handleTimeout=function(){this.continuation.last(function(){this._requestTimeout=!0;var func=this.timeoutHandler;this.abandon();func&&func(this);this._logError({timeout:this});require("setTimeout")(function(){require("Arbiter").inform("AsyncRequest/timeout",{request:this})}.bind(this),0)}.bind(this))};AsyncRequest.prototype.disableInteractionServerTracing=function(){this.allowInteractionServerTracing=!1;return this};AsyncRequest.prototype.setNewSerial=function(){this.id=++last_id;return this};AsyncRequest.prototype.setInterceptHandler=function(fn){this.interceptHandler=fn;return this};AsyncRequest.prototype.setFinallyHandler=function(fn){this.finallyHandler=fn;return this};AsyncRequest.prototype.setAbortHandler=function(fn){this.abortHandler=fn;return this};AsyncRequest.prototype.getServerDialogCancelHandler=function(){return this.serverDialogCancelHandler};AsyncRequest.prototype.setServerDialogCancelHandler=function(fn){this.serverDialogCancelHandler=fn;return this};AsyncRequest.prototype.setPreBootloadHandler=function(fn){this.preBootloadHandler=fn;return this};AsyncRequest.prototype.setReadOnly=function(readOnly){typeof readOnly!=="boolean"?!1:this.readOnly=readOnly;return this};AsyncRequest.prototype.getReadOnly=function(){return this.readOnly};AsyncRequest.prototype.setRelativeTo=function(element){this.relativeTo=element;return this};AsyncRequest.prototype.getRelativeTo=function(){return this.relativeTo};AsyncRequest.prototype.setStatusClass=function(c){this.statusClass=c;return this};AsyncRequest.prototype.setStatusElement=function(element){this.statusElement=element;return this};AsyncRequest.prototype.getStatusElement=function(){return require("ge")(this.statusElement)};AsyncRequest.prototype._isRelevant=function(){if(this._allowCrossPageTransition)return!0;return!this.id?!0:this.id>id_threshold};AsyncRequest.prototype.clearStatusIndicator=function(){var statusElem=this.getStatusElement();statusElem&&(require("CSS").removeClass(statusElem,"async_saving"),require("CSS").removeClass(statusElem,this.statusClass))};AsyncRequest.prototype.addStatusIndicator=function(){var statusElem=this.getStatusElement();statusElem&&(require("CSS").addClass(statusElem,"async_saving"),require("CSS").addClass(statusElem,this.statusClass))};AsyncRequest.prototype.specifiesWriteRequiredParams=function(){return this.writeRequiredParams.every(function(param){this.data[param]=this.data[param]||require("Env")[param]||(require("ge")(param)||{}).value;return this.data[param]!==undefined?!0:!1},this)};AsyncRequest.prototype.setOption=function(opt,v){typeof this.option[opt]!=="undefined"?this.option[opt]=v:!1;return this};AsyncRequest.prototype.getOption=function(opt){typeof this.option[opt]==="undefined"&&!1;return this.option[opt]};AsyncRequest.prototype.abort=function(){__p&&__p();this.continuation.last(function(){__p&&__p();var transport=this.transport;if(transport){var old_handler=this.getTransportErrorHandler();this.setOption("suppressErrorAlerts",!0);this.setTransportErrorHandler(require("emptyFunction"));this._requestAborted=!0;transport.abort();this.setTransportErrorHandler(old_handler)}this.abortHandler();AsyncMultiplex.unschedule(this)}.bind(this))};AsyncRequest.prototype.abandon=function(){this.continuation.last(function(){require("clearTimeout")(this.timer);this.setOption("suppressErrorAlerts",!0).setHandler(require("emptyFunction")).setErrorHandler(require("emptyFunction")).setTransportErrorHandler(require("emptyFunction")).setUploadProgressHandler(require("emptyFunction"));var transport=this.transport;transport&&(this._requestAborted=!0,supportsUploadProgress(transport)&&delete transport.upload.onprogress,transport.abort());this.abortHandler();AsyncMultiplex.unschedule(this)}.bind(this))};AsyncRequest.prototype.setNectarData=function(nctrParams){nctrParams&&(this.data.nctr===undefined&&(this.data.nctr={}),Object.assign(this.data.nctr,nctrParams));return this};AsyncRequest.prototype.setNectarModuleDataSafe=function(elem){var setNectarModuleData=this.setNectarModuleData;setNectarModuleData&&setNectarModuleData.call(this,elem);return this};AsyncRequest.prototype.setAllowCrossPageTransition=function(allow){this._allowCrossPageTransition=!!allow;this.timer&&this.resetTimeout(this.timeout);return this};AsyncRequest.prototype.getAllowIrrelevantRequests=function(){return this._allowIrrelevantRequests};AsyncRequest.prototype.setAllowIrrelevantRequests=function(allowIrrelevantRequests){this._allowIrrelevantRequests=allowIrrelevantRequests;return this};AsyncRequest.prototype.setAllowCrossOrigin=function(allow){this._allowCrossOrigin=allow;return this};AsyncRequest.prototype.setAllowCredentials=function(allow){this._allowCredentials=allow;return this};AsyncRequest.prototype.setIsBackgroundRequest=function(isBackgroundRequest){this._isBackgroundRequest=isBackgroundRequest;return this};AsyncRequest.prototype.setReplaceTransportMarkers=function(value){value===void 0&&(value=!0);this._shouldReplaceTransportMarkers=value;return this};AsyncRequest.prototype.send=function(isRetry){__p&&__p();var _this$uri$addQueryDat;isRetry=isRetry||!1;if(!this.uri){!1;return!1}!this.errorHandler&&!this.getOption("suppressErrorHandlerWarning")&&!1;this.getOption("jsonp")&&this.method!="GET"&&this.setMethod("GET");(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&this.method!="GET"&&(!1,this.setMethod("GET"));this.timeoutHandler!==null&&(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&!1;if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!="POST"){!1;return!1}}if(document.location.search.toString().includes(this.uri.toString())){!1;return!1}Object.assign(this.data,require("getAsyncParams")(this.method));this.allowInteractionServerTracing&&(this._artilleryHandle=require("ArtilleryAsyncRequestTracingAnnotator").registerAsyncRequest(this,this.resourceTimingStoreUID));require("isEmpty")(this.context)||(Object.assign(this.data,this.context),this.data.ajax_log=1);require("Env").force_param&&Object.assign(this.data,require("Env").force_param);this._setUserActionID();if(this.getOption("bundle")&&this._isMultiplexable()){AsyncMultiplex.schedule(this);return!0}this.setNewSerial();this.getOption("asynchronous_DEPRECATED")||this.uri.addQueryData({__s:1});this.uri.addQueryData((_this$uri$addQueryDat={},_this$uri$addQueryDat[require("PixelRatioConst").cookieName]=require("WebPixelRatio").get(),_this$uri$addQueryDat));require("Arbiter").inform("AsyncRequest/send",{request:this});var uri_str,query;this.method=="GET"&&this.uri.addQueryData({fb_dtsg_ag:require("DTSG_ASYNC").getToken()});this.method=="GET"||this.rawData?(uri_str=this.uri.addQueryData(this.data).toString(),query=this.rawData||""):(this._allowCrossOrigin&&this.uri.addQueryData({__a:1}),uri_str=this.uri.toString(),query=require("PHPQuerySerializer").serialize(this.data));if(this.transport){!1;return!1}if(this.getOption("useFetchWithIframeFallback"))try{var _transport=new(require("FetchStreamTransport"))(this.uri);this.setJSONPTransport(_transport);this._markRequestSent();_transport.send();this.setOption("useIframeTransport",!1);return!0}catch(_unused5){this.setOption("useFetchWithIframeFallback",!1),this.setOption("useIframeTransport",!0)}if(this.getOption("jsonp")||this.getOption("useIframeTransport")){requireLazy(["JSONPTransport"],function(JSONPTransport){var transport=new JSONPTransport(this.getOption("jsonp")?"jsonp":"iframe",this.uri);this.setJSONPTransport(transport);this._markRequestSent();transport.send();require("ProfilingCounters").incrementCounter("ASYNC_REQUEST_COUNT",1)}.bind(this));return!0}var transport=require("ZeroRewrites").getTransportBuilderForURI(this.uri)();if(!transport){!1;return!1}this.schedule("AsyncRequest.send");transport.onreadystatechange=function(){transport.readyState===4&&this.continuation.last(this._onStateChange)}.bind(this);this.uploadProgressHandler&&supportsUploadProgress(transport)&&(transport.upload.onprogress=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];this.continuation(function(){this.uploadProgressHandler&&this.uploadProgressHandler.apply(this,args)}.bind(this))}.bind(this));isRetry||(this.remainingRetries=this.getOption("retries"));this.transport=transport;try{transport.open(this.method,uri_str,this.getOption("asynchronous_DEPRECATED"))}catch(exception){!1;return!1}if(!this.uri.isSameOrigin()&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")){if(!supportsCrossOrigin(transport)){!1;return!1}this._canSendCredentials()&&(transport.withCredentials=!0)}this.method=="POST"&&!this.rawData&&transport.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this._isBackgroundRequest&&transport.setRequestHeader("X_FB_BACKGROUND_STATE","1");var asyncHeaders=require("getAsyncHeaders")(this.uri);Object.keys(asyncHeaders).forEach(function(name){transport&&transport.setRequestHeader(name,asyncHeaders[name])});require("Arbiter").inform("AsyncRequest/will_send",{request:this});if(transport)for(var headerName in this.headers)Object.prototype.hasOwnProperty.call(this.headers,headerName)&&transport.setRequestHeader(headerName,this.headers[headerName]);this.addStatusIndicator();this._markRequestSent();transport.send(query);this.timeout!==null&&this.resetTimeout(this.timeout);AsyncRequest._inflightCount++;require("ProfilingCounters").incrementCounter("ASYNC_REQUEST_COUNT",1);return!0};AsyncRequest.prototype.schedule=function(name){this.continuation=require("TimeSlice").getReusableContinuation(name)};AsyncRequest.prototype._canSendCredentials=function(){if(this._allowCredentials===!1)return!1;var uri=new(require("URI"))(this.uri);return require("isFacebookURI")(uri)||require("isMessengerDotComURI")(uri)||require("isWorkplaceDotComURI")(uri)||require("isBonfireURI")(uri)};AsyncRequest.prototype._markRequestSent=function(){var fullURI=new(require("URI"))(this.getURI()).getQualifiedURI().toString();require("ResourceTimingsStore").updateURI(require("ResourceTypes").XHR,this.resourceTimingStoreUID,fullURI);require("ResourceTimingsStore").annotate(require("ResourceTypes").XHR,this.resourceTimingStoreUID).addStringAnnotation("uri",fullURI);require("ifRequired")("TimeSliceAutoclosedInteraction",function(TimeSliceAutoclosedInteraction){return TimeSliceAutoclosedInteraction.getInteractionsActiveRightNow().forEach(function(interaction){return interaction.forResourceRequest(this.resourceTimingStoreUID).addStringAnnotation("requested_in_continuation","true")}.bind(this))}.bind(this));require("ResourceTimingsStore").measureRequestSent(require("ResourceTypes").XHR,this.resourceTimingStoreUID)};AsyncRequest.prototype.exec=function(isRetry){if(this.getHandler()!==require("emptyFunction")||this.getErrorHandler()!==require("AsyncResponse").defaultErrorHandler)throw new Error("exec is an async function and does not allow previously set handlers");return new(require("Promise"))(function(resolve,reject){this.setHandler(resolve).setErrorHandler(reject).send(isRetry)}.bind(this))};AsyncRequest.bootstrap=function(href,elem,is_post){__p&&__p();var method="GET",readonly=!0,data={};(is_post||elem&&elem.rel=="async-post")&&(method="POST",readonly=!1,href&&(href=new(require("URI"))(href),data=href.getQueryData(),href.setQueryData({})));var status_elem=require("Parent").byClass(elem,"stat_elem")||elem;if(status_elem&&require("CSS").hasClass(status_elem,"async_saving"))return!1;var async=new AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).setNectarModuleDataSafe(elem).setRelativeTo(elem);elem&&(async.setHandler(function(response){require("Event").fire(elem,"success",{response:response})}),async.setErrorHandler(function(response){require("Event").fire(elem,"error",{response:response})!==!1&&require("AsyncResponse").defaultErrorHandler(response)}));if(status_elem instanceof HTMLElement){async.setStatusElement(status_elem);var status_class=status_elem.getAttribute("data-status-class");status_class&&async.setStatusClass(status_class)}async.send();return!1};AsyncRequest.post=function(href,data){new AsyncRequest(href).setReadOnly(!1).setMethod("POST").setData(data).send();return!1};AsyncRequest.getLastID=function(){return last_id};AsyncRequest.getInflightCount=function(){return this._inflightCount};AsyncRequest._inflightCount=0;var _asyncMultiplex,_pendingAsyncMultiplexes=[];function AsyncMultiplex(){this._requests=[]}AsyncMultiplex.prototype.add=function(request){this._requests.push(request)};AsyncMultiplex.prototype.remove=function(request){var requests=this._requests,requestsSent=this._requestsSent;for(var ii=0,jj=requests.length;iih&&(f=h);var l=k(a,f,c,e,d),m=l[0],n=l[1];l=l[2];if(l){f+=1;l=k(a,f,c,e,d);m=l[0];n=l[1];l[2]}e=b("FbtNumberType").getVariation(m)||b("IntlVariations").NUMBER_OTHER;l=f.toString();l=(d=d)!=null?(d=d[l])!=null?d[e.toString()]:d:d;if(!l||f2?1:0);g=e==i.TRUNCATE?b("intlNumUtils").truncateLongNumber(j.toString(),d):j.toFixed(d);e=parseFloat(g)*(a<0?-1:1);return[e,e%1===0&&!k?0:d,g.length>f+(d>0?d+1:0)+(j>=0?0:1)&&c