HiddenEye-Legacy/WebPages/fb_standard/mobile_files/kiz4-aETZgZ.js

49 lines
61 KiB
JavaScript
Raw Normal View History

2019-06-23 11:28:33 +08:00
if (self.CavalryLogger) { CavalryLogger.start_js(["oPM9s"]); }
__d("ActorURIConfig",[],(function(a,b,c,d,e,f){e.exports={PARAMETER_ACTOR:"av",ENCRYPTED_PARAMETER_ACTOR:"eav"}}),null);
__d("MPageHeaderRight",["DOM","Stratcom"],(function(a,b,c,d,e,f){__p&&__p();function g(){return b("DOM").scry(document.body,"*","mChromeHeaderRight")[0]}f.setup=function(a){if(a){var c=g();c&&(b("DOM").setContent(c,a.node||""),b("Stratcom").listen("m:page:unload",null,function(a){b("Stratcom").removeCurrentListener(),b("DOM").setContent(c,"")}))}};f.getChromeHeaderRightContent=function(){var a=g();return a?Array.prototype.slice.call(a.childNodes):null}}),null);
__d("CancelableEventListener",["Stratcom"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,c,d,e,f){__p&&__p();f===void 0&&(f=!1);var g=function(a){var c=b("Stratcom").getJavelinEventFromNative(a);a=typeof d==="string"?[d]:d;if(a&&!a.every(function(a){return c.getNode(a)}))return;e(c)},h={passive:!1,capture:f},i=typeof c==="string"?[c]:c;i.forEach(function(b){return a.addEventListener(b,g,h)});return{_callback:g,remove:function(){i.forEach(function(b){return a.removeEventListener(b,g,h)})}}}function a(a,b,c,d){return g(a,b,c,d,!1)}function c(a,b,c,d){return g(a,b,c,d,!0)}e.exports={listen:a,listenCapture:c}}),null);
__d("MHeadMeta",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={isExistsByName:function(a){return!!this.getByName(a)},getByName:function(a){__p&&__p();if(document.querySelector)return document.querySelector('head meta[name="'+a+'"]');var b=document.head||document.getElementsByTagName("head")[0];if(!b)return null;b=b.getElementsByTagName("meta");for(var c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("name");if(e===a)return d}return null}};e.exports=a}),null);
__d("RemoteDevice",["Banzai","Cookie","GeneratedLoggerUtils","MViewport","Run","isInIframe"],(function(a,b,c,d,e,f){__p&&__p();var g=!1,h={init:function(c){__p&&__p();if(!b("isInIframe")()&&!window.APP_ENABLED&&!window.FW_ENABLED){if(/\((?:iPad|iPhone|iPod(?: touch));/.test(navigator.userAgent)){var d=Math.min(screen.width,screen.height),e=Math.max(screen.width,screen.height);d&&e&&(b("Cookie").set("wd",d+"x"+e),b("Cookie").set("m_pixel_ratio",window.devicePixelRatio));c&&c.performHardwareDetection&&c.hashId!==null&&b("Run").onAfterLoad(function(){h.logHardwareInfo(c.hashId||"")});return}d=b("MViewport").getWidth();e=b("MViewport").getScreenHeight();if(!d||!e)return;a.DEFER_COOKIES||b("Cookie").set("wd",d+"x"+e)}},logHardwareInfo:function(a){__p&&__p();if(g)return;g=!0;var c=document.createElement("canvas");if(!c)return;c=c.getContext("webgl")||c.getContext("experimental-webgl");if(!c)return;var d=c.getExtension("WEBGL_debug_renderer_info");if(!d)return;var e="unknown",f="unknown";d!=null&&(e=c.getParameter(d.UNMASKED_RENDERER_WEBGL),f=c.getParameter(d.UNMASKED_VENDOR_WEBGL));c=0;window.navigator&&(c=window.navigator.hardwareConcurrency);d=window.screen.width;var h=window.screen.height,i=Math.min(d,h);d=Math.max(d,h);h={gpu_renderer:e,gpu_vendor:f,logical_cpu_count:c,screen_width_pixel:i,screen_height_pixel:d,device_pixel_ratio:window.devicePixelRatio,hashid:a};b("GeneratedLoggerUtils").log("logger:MHardwareDetectorLoggerConfig",h,b("Banzai").VITAL)}};e.exports=h}),null);
__d("MFriendingActionError",[],(function(a,b,c,d,e,f){e.exports={CONFIRM_INCOMING_REQUEST_ERROR:"confirm_incomming_request_error",DELETE_INCOMING_REQUEST_ERROR:"delete_incomming_request_error",SEND_OUTGOING_REQUEST_ERROR:"send_outgoing_request_error",CANCEL_OUTGOING_REQUEST_ERROR:"cancel_outgoing_request_error"}}),null);
__d("MViewportTracking",["invariant","DataAttributeUtils","DOM","FBJSON","MHome","MPopoverVisiblityTracker","MViewport","NavigationMetrics","Stratcom","Style","Vector","Visibility","VisibilityTrackingHelper","gkx","onAfterTTI","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=97,i=200,j=new Map();a=function(){__p&&__p();function a(){this.$2=[],this.debugConsole=!1,this.activeStories={},this.cachedViewportHeight=0,this.discardVPVDIntervalThreshold=9e4,this.vpvdMinDuration=250,this.isLoose=!1,this.isTimeTrackingEnabled=!1,this.latestTimeTrackingTimestamp=0,this.maxScrollPosition=0,this.minSizeToBeVisible=0,this.readStoryIDs={},this.relaxedMinSize=!1,this.trackingHooks=!1,this.vpvdDebug=!1,this.vpvDebug=!1,this.enableAdsAllocationIntegrityLogging=!1}var c=a.prototype;c.getDataFromConfig=function(a){g(0,2199)};c.getStoryID=function(a){g(0,2200)};c.getDataToLog=function(a){g(0,2201)};c.sendDataToLog=function(a){g(0,2202)};c.getTimeout=function(){g(0,2203)};c.getAllStories=function(){g(0,2204)};c.init=function(c){__p&&__p();var d=this;this.isLoose=!!c.is_loose;this.relaxedMinSize=!!c.relaxed_min_size;this.vpvDebug=!!c.vpv_debug;this.isTimeTrackingEnabled=!1;this.vpvdMinDuration=c.vpvd_min_duration||250;var e=a.shouldRunTrackingAfterTTI();b("MPopoverVisiblityTracker").init();e||(this.cachedViewportHeight=b("MViewport").getHeight());this.getDataFromConfig(c);this.maxScrollPosition=0;this.readStoryIDs=this.getCachedReadStoryIDs()||{};this.$2=[b("Stratcom").listen("m:page:unload",null,this.onUnload.bind(this)),b("Stratcom").listen("m:viewport:update-complete",null,function(){d.cachedViewportHeight=b("MViewport").getHeight()})];c.triggerOverride?this.$2=this.$2.concat(c.triggerOverride.map(function(a){var c=a[0];a=a[1];return b("Stratcom").listen(c,a,d.queueLogAction.bind(d))})):this.$2.push(b("Stratcom").listen("scroll",null,this.queueLogAction.bind(this)));this.isTimeTrackingEnabled&&(this.$2.push(b("Visibility").addListener(b("Visibility").VISIBLE,function(){return d.startVpvTracking()})),this.$2.push(b("Visibility").addListener(b("Visibility").HIDDEN,function(){return d.stopVpvTracking()})));this.$2.push(b("Stratcom").listen("m:newsfeed:popup-visible",null,function(){d.stopVpvTracking()}),b("Stratcom").listen("m:newsfeed:popup-hidden",null,function(){d.startVpvTracking()}));e?b("onAfterTTI")(function(){d.startVpvTracking()},!1):(this.startVpvTracking(),b("NavigationMetrics").addRetroactiveListener(b("NavigationMetrics").Events.EVENT_OCCURRED,function(a,c){a=c.event;a==="tti"&&(d.startVpvTracking(),b("NavigationMetrics").removeCurrentListener())}))};c.getFBFeedLocation=function(){return-1};c.unitTestOnlyGetListeners=function(){return[].concat(this.$2)};c.getCachedReadStoryIDs=function(){return null};c.getMinSizeToBeVisible=function(a){if(!this.relaxedMinSize)return i;a="getBoundingClientRect"in a?a.getBoundingClientRect().height:b("Vector").getDim(a).y;return Math.min(i,a*.5)};c.startVpvTracking=function(){this.isTimeTrackingEnabled?this.startRecordingTimeTrackingData():this.fireEvent()};c.stopVpvTracking=function(){this.isTimeTrackingEnabled?this.stopRecordingTimeTrackingData():this.fireEvent()};c.fireEvent=function(){__p&&__p();if(b("VisibilityTrackingHelper").isSnippetFlyoutVisible())return;var a=this.getAllStoriesInView();for(var c=0;c<a.length;c++){var d=a[c],e=this.getStoryID(d);if(!e||e in this.readStoryIDs)continue;this.readStoryIDs[e]=!0;this.sendDataToLog(this.getDataToLog(d));if(this.vpvDebug){e=b("DOM").scry(d,"div")[0];e&&b("Style").set(e,"background-color","#fffbe2")}this.markStoryRead(d);this.fireStoryVisibleHandlers(d)}};c.fireStoryVisibleHandlers=function(a){(j.get(a)||[]).forEach(function(a){return a()}),j["delete"](a)};c.markStoryRead=function(a){};c.queueLogAction=function(){var a=this;this.isLoose?this.$3||(this.$3=b("setTimeoutAcrossTransitions")(function(){a.maxScrollPosition=Math.max(a.maxScrollPosition,b("MViewport").getScrollTop()),a.startVpvTracking(),a.$3=null},100)):(window.clearTimeout(this.$1),this.$1=b("setTimeoutAcrossTransitions")(function(){a.startVpvTrackin
__d("MCommentViewportTracking",["Banzai","DataStore","DOM","FBJSON","MParent","MViewportTracking","Stratcom","StratcomManager","compactArray","gkx","onAfterTTI"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=null,h={m_group_stories_container:"group",m_newsfeed_stream:"",m_story_permalink_view:"",structured_composer_async_container:"user",root:""};a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}c.loadedReplies=function(){b("Stratcom").invoke("m:commentViewportTracking:loadedReplies")};c.loadedComments=function(){g&&g.isTimeTrackingEnabled&&g.startRecordingTimeTrackingData()};c.singleton=function(a){__p&&__p();if(!g){a={triggerOverride:[["scroll",null],["m:commentViewportTracking:loadedReplies",null],["m:feed-ufi-flyout:comments-displayed",null],["m:ufi:live-comments:render",null],["m:ufi:live-comments:new-comment",null],["m:feed-ufi-flyout:reset",null],["m:page:render:complete",null]]};b("StratcomManager").enableDispatch(document,"scroll");g=new c();g.init(a);g.debugConsole;g.isTimeTrackingEnabled&&(b("MViewportTracking").shouldRunTrackingAfterTTI()?b("onAfterTTI")(function(){g instanceof c&&g.startRecordingTimeTrackingData()},!1):g.startRecordingTimeTrackingData());b("Stratcom").listen("m:page:unload",null,function(){g=null,b("Stratcom").removeCurrentListener()})}};c.registerFlyout=function(a,b){var c;g&&(g.debugConsole,g.streamRoot=a);h=babelHelpers["extends"]((c={},c[a.id]=b||"",c),h)};var d=c.prototype;d.getDataFromConfig=function(){this.debugConsole=b("gkx")("676811"),this.isTimeTrackingEnabled=!0,this.idle_timeout=5e3,this.min_duration_to_log=100,this.min_visible_size=200,this.relaxedMinSize=!0};d.__getRootNode=function(){this.streamRoot||(this.streamRoot=b("compactArray")(Object.keys(h).map(function(a){return document.getElementById(a)}))[0]||null);return this.streamRoot};d.__getStaticTemplateRootNode=function(){this.staticElementRoot||(this.staticElementRoot=document.getElementById("static_templates"));return this.staticElementRoot};d.getAllStories=function(){var a=this.__getRootNode();if(!a)return[];a=b("DOM").scry(this.__getRootNode(),"div","comment-body");return this.__getStaticTemplateRootNode()?a.concat(b("DOM").scry(this.__getStaticTemplateRootNode(),"div","comment-body")):a};d.getTimeout=function(){return this.min_duration_to_log};d.getDataToLog=function(a){return{}};d.getStoryID=function(a){var c=a.getAttribute("data-commentid");return!c?String(b("DataStore").get(a,"token"))||null:c};d.getContainerModule=function(){var a=this.__getRootNode();return!a||!(a.id in h)?"other":h[a.id]};d.getTimetrackingDataToLog=function(a){var c=a.story,d;try{var f=b("MParent").bySigil(a.story,"story-div")||b("MParent").bySigil(a.story,"m-feed-single-story");f&&(d=b("FBJSON").parse(f.getAttribute("data-ft"),e.id))}catch(a){}return{comment_id:this.getStoryID(c),duration_ms:Math.round(a.vpvd),container_module:this.getContainerModule(),mf_story_key:d?d.mf_story_key||d.top_level_post_id:null}};d.sendDataToLog=function(a){if(a.comment_id){this.debugConsole;var c=b("Banzai").isEnabled("comment_vpv_vital")?b("Banzai").VITAL:void 0;b("Banzai").post("comment_vpvd",a,c)}};return c}(b("MViewportTracking"));e.exports=a}),null);
__d("AccessibilityWebAssistiveTechTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var c=a.prototype;c.log=function(){b("GeneratedLoggerUtils").log("logger:AccessibilityWebAssistiveTechLoggerConfig",this.$1,b("Banzai").BASIC)};c.logVital=function(){b("GeneratedLoggerUtils").log("logger:AccessibilityWebAssistiveTechLoggerConfig",this.$1,b("Banzai").VITAL)};c.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:AccessibilityWebAssistiveTechLoggerConfig",this.$1,{signal:!0})};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setIndicatedBrowsers=function(a){this.$1.indicated_browsers=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setIsVirtualCursorAction=function(a){this.$1.is_virtual_cursor_action=a;return this};c.setTime=function(a){this.$1.time=a;return this};c.setVC=function(a){this.$1.vc=a;return this};c.setWeight=function(a){this.$1.weight=a;return this};c.updateExtraData=function(a){a=b("nullthrows")(b("GeneratedLoggerUtils").serializeMap(a));b("GeneratedLoggerUtils").checkExtraDataFieldNames(a,g);this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.addToExtraData=function(a,b){var c={};c[a]=b;return this.updateExtraData(c)};return a}();var g={indicated_browsers:!0,is_virtual_cursor_action:!0,time:!0,vc:!0,weight:!0};e.exports=a}),null);
__d("MSiteMessengerDiodeTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var c=a.prototype;c.log=function(){b("GeneratedLoggerUtils").log("logger:MSiteMessengerDiodeLoggerConfig",this.$1,b("Banzai").BASIC)};c.logVital=function(){b("GeneratedLoggerUtils").log("logger:MSiteMessengerDiodeLoggerConfig",this.$1,b("Banzai").VITAL)};c.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:MSiteMessengerDiodeLoggerConfig",this.$1,{signal:!0})};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setEvent=function(a){this.$1.event=a;return this};c.setMessagingEntryPoint=function(a){this.$1.messaging_entry_point=a;return this};c.setMsiteDiodeStateFromClient=function(a){this.$1.msite_diode_state_from_client=a;return this};c.setTime=function(a){this.$1.time=a;return this};c.setVC=function(a){this.$1.vc=a;return this};c.setWeight=function(a){this.$1.weight=a;return this};return a}();c={event:!0,messaging_entry_point:!0,msite_diode_state_from_client:!0,time:!0,vc:!0,weight:!0};e.exports=a}),null);
__d("NTAnnounceSubscription",["Stratcom"],(function(a,b,c,d,e,f){"use strict";a={subscribe:function(a,c){b("Stratcom").listen(a,null,function(a){c(a.getData())})}};e.exports=a}),null);
__d("MPageTitle",[],(function(a,b,c,d,e,f){f.setTitle=function(a){document.title=a}}),null);
__d("runMaybeOnAfterTTI",["MHome","gkx","onAfterTTI"],(function(a,b,c,d,e,f){function a(a){b("MHome").isHome(location.href)&&b("gkx")("676815")?b("onAfterTTI")(a):a()}e.exports=a}),null);
__d("FRXFunnelLoggerUtil",["CurrentUser"],(function(a,b,c,d,e,f){a={getSessionKey:function(a){var c=b("CurrentUser").getAccountID();if(a==null)return c;else return c+"#"+a}};e.exports=a}),null);
__d("FRXFunnelTag",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ENTRY_POINT:"entry_point",IS_FROM_TAG_SEARCH:"is_from_tag_search",IS_FRX:"is_frx",IS_NFX:"is_nfx",IS_NT:"is_nt",IS_REPORTED:"is_reported",OBJECT_ID:"object_id",SURFACE:"surface",TAG_EXPERIMENT_GROUP:"tag_experiment_group",ACTION_EXPERIMENT_GROUP:"action_experiment_group"})}),null);
__d("MFRXWebFunnelLogger",["Event","FRXFunnelLoggerUtil","FRXFunnelTag","Stratcom","WebFunnelLogger"],(function(a,b,c,d,e,f){__p&&__p();var g={startcomListeners:[],get:function(a,c){c=b("FRXFunnelLoggerUtil").getSessionKey(c);return new(b("WebFunnelLogger"))("FRXMSiteFunnelDefinition").setAction(a).setSessionKey(c)},createFunnelTagList:function(a,c,d){return[b("FRXFunnelTag").ENTRY_POINT+": "+a,b("FRXFunnelTag").IS_FRX+": true",b("FRXFunnelTag").OBJECT_ID+": "+c,b("FRXFunnelTag").SURFACE+": "+d]},attachClickLogging:function(a,c,d,e,f){b("Event").listen(a,"click",function(a){a=g._getLoggerForXHP(c,d,e,f);a.log()})},removeStratcomListeners:function(){__p&&__p();for(var a=g.startcomListeners,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.remove()}g.startcomListeners=[]},attachStratcomClickLogging:function(a,c,d,e,f){a=b("Stratcom").listen("click",a,function(a){a=g._getLoggerForXHP(c,d,e,f);a.log();b("Stratcom").removeCurrentListener()});g.startcomListeners.push(a)},logEvent:function(a,b,c,d){a=g._getLoggerForXHP(a,b,c,d);a.log()},_getLoggerForXHP:function(a,b,c,d){__p&&__p();a=g.get(a,b);if(c!=null){b=Object.entries(c);for(var c=0;c<b.length;c++){var e=b[c],f=e[0];e=e[1];a.addActionPayload(f,e)}}d!=null&&a.setFunnelTags(d);return a}};e.exports=g}),null);
__d("MAsyncPageLoadWithGraphSearch",["Stratcom"],(function(a,b,c,d,e,f){"use strict";var g="graph-search-entry-point";a={pageLoad:function(a){b("Stratcom").invoke("setSearchText",g,{title:a.searchTitle||""}),b("Stratcom").invoke("setCurrentProfileID",g,{profileID:a.currentProfileID})}};e.exports=a}),null);
__d("MAnimator",["cancelAnimationFrame","requestAnimationFrame"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){}var c=a.prototype;c.dispose=function(){if(!this._disposed){this.stop();for(var a in this)delete this[a];this._disposed=!0}};c.start=function(c,d,e,f,g){__p&&__p();if(this._disposed)return;this.stop();f=f||250;g=g||a.easeOutCubic;var h=0,i=0,j=Date.now();this._value=0;this._onStopCallback=e;this._animating=!0;var k=function(){__p&&__p();var a=Date.now(),e;d!==null&&!d()?e=!0:(h=(a-j+1)/f,h>1&&(h=1),i=g?g(h):h,this._value=i);if(e||c(i,this._animating,a)===!1||h===1){c=null;d=null;h=null;g=null;h=null;k=null;this.stop();return}this._animID=b("requestAnimationFrame")(k)}.bind(this);this._animID=b("requestAnimationFrame")(k)};c.stop=function(){if(this._disposed)return;this._animating&&(this._animating=!1,b("cancelAnimationFrame")(this._animID),this._onStopCallback&&this._onStopCallback(this._value,this._animating,Date.now()),delete this._animID,delete this._onStopCallback,this._value=0)};a.play=function(b,c,d,e,f){var g=new a(),h=c-b,i=function(a){return e(b+h*a)},j=function(a){i(a),i=null,h=null,e=null,c=null,b=null};g.start(i,null,j,d,f);return g};a.easeOutCubic=function(a){return Math.pow(a-1,3)+1};a.easeInOutCubic=function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)};return a}();Object.assign(a.prototype,{_value:0});e.exports=a}),null);
__d("MTouchScroll",["CancelableEventListener"],(function(a,b,c,d,e,f){var g={_blocks:0,_blocker:null,_releaser:null,release:function(){g._blocks&&(g._releaser&&(g._releaser.remove(),g._releaser=null),g._blocks--,g._blocks||(g._blocker.remove(),g._blocker=null))},block:function(){g._blocks||(g._blocker=b("CancelableEventListener").listen(document.body,"touchmove",null,function(a){a.prevent()})),g._blocks++},blockDuringTouch:function(a){a.prevent(),g._blocks||(g.block(),g._releaser=b("CancelableEventListener").listen(document.body,["touchcancel","touchend"],null,g.release))}};e.exports=g}),null);
__d("MBlockingTouchable",["CancelableEventListener","CSS","MLegacyDataStore","MTouchClick","MTouchScroll","Vector","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=30,h=20;function a(a){__p&&__p();if(!b("MTouchClick").hasTouchEvents())return;var c,d,e,f,i,j,k,l=function(a){__p&&__p();k=a.getTarget();if(!(k instanceof Element))return;if(k.getAttribute("disabled")!==null){a.prevent();k=null;return}j=[b("CancelableEventListener").listen(k,"touchmove",null,n),b("CancelableEventListener").listen(k,"touchend",null,m),b("CancelableEventListener").listen(k,"touchcancel",null,p)];var l=a.getRawEvent().targetTouches[0],o=b("Vector").getDim(k);c=Math.min(o.x/2,g);d=Math.min(o.y/2,h);i={x:l.screenX,y:l.screenY};b("MLegacyDataStore").get(k).allowScroll?(f=!1,clearTimeout(e),e=b("setTimeoutAcrossTransitions")(function(){f=!0,q(r(a)),b("MTouchScroll").blockDuringTouch(a)},100)):(f=!0,q(!0),b("MTouchScroll").blockDuringTouch(a))},m=function(a){k&&r(a)?b("MTouchClick").click(k,a):b("MTouchClick").killGhostClicksNearTouch(),p()},n=function(a){f?(b("MTouchScroll").blockDuringTouch(a),q(r(a))):k&&o()},o=function(){k&&q(!1),clearTimeout(e),f=!1,i=null,k=null},p=function(){o(),j.forEach(function(a){a.remove()}),j=[]},q=function(a){k instanceof Element&&b("CSS").conditionClass(k,"touched",a)},r=function(a){a=a.getTouch();return!i?!1:Math.abs(i.y-a.screenY)<=d&&Math.abs(i.x-a.screenX)<=c};b("CancelableEventListener").listen(a,"touchstart",null,l)}e.exports={init:a}}),null);
__d("MScrollPositionSaver",["MViewport","Stratcom","Vector","$","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g,h={getElementPositionY:function(a){return b("Vector").getPos(a).y},getScrollPosition:function(a){__p&&__p();var c=b("$")("root");g=a;a=a?a.scrollTop:b("MViewport").getScrollTop();if(a<b("MViewport").getHeight()/3)return{element:document.body,hiddenRatio:0};do{var d=[];for(var e=0;e<c.childNodes.length;e++){var f=c.childNodes[e];if(f.nodeType!==1)continue;var i=document.defaultView.getComputedStyle(f,"");i.display!="none"&&i.visibility!="hidden"&&d.push(f)}if(!d.length)break;i=a;d[0].offsetParent&&(i-=h.getElementPositionY(d[0].offsetParent));f=0;e=d.length-1;while(f<=e){var j=Math.floor((f+e)/2);d[j].offsetTop<=i?f=j+1:e=j-1}c=d[Math.max(e,0)]}while(!b("Stratcom").hasSigil(c,"marea"));j=Math.max(a-h.getElementPositionY(c),0);i=0;c.offsetHeight&&(i=Math.min(j/c.offsetHeight,1));return{element:c,hiddenRatio:i}},setScrollPosition:function(a,c){var d=a.element.offsetHeight*a.hiddenRatio;a=h.getElementPositionY(a.element)+parseInt(d,10);d=c?c.scrollTop:b("MViewport").getScrollTop();(a>0||d>0)&&(c?c.scrollTop=a:b("MViewport").scrollTo(0,a))}},i=null,j=null,k=b("MViewport").isLandscape(),l=!1,m=!1;function n(){var a=g?g.scrollTop:b("MViewport").getScrollTop();a!=i&&(j=h.getScrollPosition(g),i=a);m=!1}b("Stratcom").listen("scroll",null,function(a){if(a.getType()=="scroll"&&l)return;m||(b("setTimeoutAcrossTransitions")(n,50),m=!0)});b("Stratcom").listen("resize",null,function(){l=!0,b("setTimeoutAcrossTransitions")(function(){var a=b("MViewport").isLandscape();j&&k!==a&&(k=a,h.setScrollPosition(j,g),n());l=!1},200)});e.exports=h}),null);
__d("ModalDialogURIWhitelistForNavigationLogging",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ADD_FEATURE_PHOTOS:"/profile/intro/edit/photos/",DESCRIBE_WHO_YOU_ARE:"/profile/intro/edit/bio/"})}),null);
__d("MModalDialog",["fbt","CSS","DOM","FWLoader","MHistory","MLinkHack","ModalDialogURIWhitelistForNavigationLogging","MPageCache","MPageController","MRequest","MRequestGateway","MRequestTypes","MScrollPositionSaver","MURI","MViewport","ScriptPath","Stratcom","URI","$","ge","gkx","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){__p&&__p();var h=b("FWLoader").FW,i="dialog-ignore-subtree-links",j="mds",k="mdf",l="mdp",m="fw:modal-dialog:close",n="m:modal-dialog:step-change",o="m:modal-dialog:initial-load",p="m:modal-dialog:close",q="m:modal-dialog:will-close",r,s=!1,t=!1,u=!1,v,w,x,y,z,A,B,C=[],D=null,E=null,F;function a(){return t}function c(a,b,c){E=b,G(a,c)}function G(a,c,d,e){__p&&__p();e===void 0&&(e={});a instanceof b("URI")&&(a=a.toString());$(a)&&b("ScriptPath").openOverlayView(a);if(window.FW_ENABLED){c&&b("Stratcom").listen(m,null,function(a){b("Stratcom").removeCurrentListener(),c&&c(a.getData())});var f=encodeURIComponent(a);h.openInNewWebView("fb://facewebmodal/f?href="+f);return}if(t)throw new Error("A modal dialog is already open.");b("DOM").hide(Y());b("DOM").setContent(X(),null);t=!0;S(!0);v=c;d?L(d):L(g._("Loading..."));O(!0);B=b("MScrollPositionSaver").getScrollPosition();I(a,babelHelpers["extends"]({},e,{firstStep:!0}));b("DOM").hide(b("$")("viewport"));b("DOM").show(r);b("MViewport").scrollToHeader();A=b("MViewport").getUseableHeight()-b("$")("mDialogHeader").offsetHeight}function H(a){a===void 0&&(a={});if(window.FW_ENABLED){h.broadcastEvent(m,null,a,1);h.dismissModalDialog(!0);return}$(x)&&b("ScriptPath").closeOverlayView(x);!!a&&a.goBack===!0?(D=Q.bind(null,a),window.history.go(-1)):Q(a)}function I(a,c){c===void 0&&(c={});a instanceof b("URI")&&(a=a.toString());c.dontPushState||J(E,a,c);if(c.hideNavBar){c=b("ge")("mDialogHeader");c!=null&&b("DOM").hide(c)}U(a)}function J(a,c,d){__p&&__p();d===void 0&&(d={});w=c||w;C.push(b("MViewport").getScrollPos());if(!window.FW_ENABLED){a=a||b("MHistory").getPath();c=new(b("MURI"))(a).addQueryData(b("MHistory").SOFT_STATE_KEY).addQueryData(j,w.toString());a===E&&(b("gkx")("726410")&&(c=c.addQueryData(l,1)));d.firstStep?c.addQueryData(k,1):c.addQueryData(k,void 0);b("MHistory").pushState(c.toString())}}function K(){b("Stratcom").invoke(n);window.FW_ENABLED?ba(!0):(u=!0,window.history.go(-1));if(C.length){var a=C.pop();b("setTimeout")(function(){b("MViewport").scrollTo(a.x,a.y)})}}function L(a){b("DOM").setContent(y,a)}function M(){return y.innerText||null}function N(a){b("CSS").conditionClass(b("$")("modalDialog"),"spin",a)}function O(a){b("DOM").scry(b("$")("mDialogHeader"),"button").forEach(function(b){b.disabled=!a})}function d(a){P(),t=!0,a instanceof b("URI")&&(a=a.toString()),x=a,b("Stratcom").invoke(n)}function P(){__p&&__p();var a=b("$")("modalDialog");if(r===a)return;r=a;b("Stratcom").addSigil(r,"context-layer-root");y=b("DOM").find(a,"div","dialog-title");F=b("DOM").listen(a,"click","dialog-cancel-button",function(a){a.kill(),H({canceled:!0,goBack:!0})});b("DOM").listen(a,"click","dialog-back-button",function(a){a.kill(),K()});b("DOM").listen(a,"click",null,function(a){__p&&__p();var c=a.getNode("tag:a");if(!c)return;if(a.getPrevented())return;var d=a.getNode(i);if(c.getAttribute("rel")=="ignore"||d)return;a.kill();if(b("Stratcom").hasSigil(c,"cancel-link")){K();return}b("MLinkHack").remove(c);d=c.getAttribute("href");b("setTimeoutAcrossTransitions")(I.bind(null,d),200)});window.FW_ENABLED?z=[]:b("Stratcom").listen("m:history:change",null,R);b("Stratcom").listen("m:page:unload",null,function(){!window.FW_ENABLED&&t&&H({canceled:!0})})}function Q(a){__p&&__p();b("Stratcom").invoke(q);b("DOM").hide(r);var c=b("ge")("mDialogHeader");c!=null&&b("DOM").show(c);b("DOM").show(b("$")("viewport"));B&&b("MScrollPositionSaver").setScrollPosition(B);v&&v(a);b("Stratcom").invoke(n);b("DOM").setContent(b("$")("modalDialogView"),null);b("Stratcom").invoke(p);t=!1}function R(a){__p&&__p();var c=new(b("URI"))(a.getData().path).getQueryData(),d=c[j];if(D!==null){if(d)a.kill(),window.history.go(-1);else{var e=D;D=null;e&&e()}return}if(!t){d&&!c[l]&&(a
__d("MModalDialogLink",["MLegacyDataStore","MModalDialog","MPageController","Stratcom"],(function(a,b,c,d,e,f){__p&&__p();var g="dialog-link";b("Stratcom").listen("click",g,function(a){__p&&__p();a.prevent();var c=a.getNode(g);switch(c.getAttribute("rel")){case"dialog":b("MModalDialog").open(b("MLegacyDataStore").get(a.getNode(g)).dialogURI,function(a){a&&(a.redirectURI?b("MPageController").forceLoad(a.redirectURI):a.refresh&&b("MPageController").reload())},c.getAttribute("data-loading-title"));break;case"dialog-load":b("MModalDialog").load(b("MLegacyDataStore").get(a.getNode(g)).dialogURI,{dontPushState:!1,hideNavBar:!1},c.getAttribute("data-loading-title"));break;case"dialog-close":b("MModalDialog").close({redirectURI:b("MLegacyDataStore").get(a.getNode(g)).dialogURI,goBack:!0});break;case"dialog-close-and-navigate":b("MModalDialog").close({redirectURI:b("MLegacyDataStore").get(a.getNode(g)).dialogURI,goBack:!1});break;case"dialog-close-and-refresh":b("MModalDialog").close({refresh:!0,goBack:!0});break}})}),null);
__d("MContextualThing",[],(function(a,b,c,d,e,f){__p&&__p();var g=0,h={register:function(a,b){b.id=b.id||"ctxtlayer_"+g++,a.setAttribute("data-ownerid",b.id)},containsIncludingLayers:function(a,b){while(b){if(a.contains(b))return!0;b=h.getContext(b)}return!1},getContext:function(a){var b;while(a){if(a.getAttribute&&(b=a.getAttribute("data-ownerid")))return document.getElementById(b);a=a.parentNode}return null}};e.exports=h}),null);
__d("BehaviorsMixin",[],(function(a,b,c,d,e,f){__p&&__p();var g=function(){"use strict";function a(a){this.$1=a,this.$2=!1}var b=a.prototype;b.enable=function(){this.$2||(this.$2=!0,this.$1.enable())};b.disable=function(){this.$2&&(this.$2=!1,this.$1.disable())};return a}(),h=1;function i(a){a.__BEHAVIOR_ID||(a.__BEHAVIOR_ID=h++);return a.__BEHAVIOR_ID}a={enableBehavior:function(a){this._behaviors||(this._behaviors={});var b=i(a);this._behaviors[b]||(this._behaviors[b]=new g(new a(this)));this._behaviors[b].enable();return this},disableBehavior:function(a){if(this._behaviors){a=i(a);this._behaviors[a]&&this._behaviors[a].disable()}return this},enableBehaviors:function(a){a.forEach(this.enableBehavior,this);return this},destroyBehaviors:function(){if(this._behaviors){for(var a in this._behaviors)this._behaviors[a].disable();this._behaviors={}}},hasBehavior:function(a){return this._behaviors&&i(a)in this._behaviors}};e.exports=a}),null);
__d("MLayer",["BehaviorsMixin","CSS","DOM","MContextualThing","MLegacyDataStore","Stratcom","ge","mixin","mixInEventEmitter","nullthrows","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h={};d=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c.$MLayer2=!1;c.$MLayer3=!1;c.$MLayer4=null;c.config=b||{layerid:void 0};return c}var d=c.prototype;d.init=function(a){__p&&__p();if(this.config.layerid){if(h[this.config.layerid])return;h[this.config.layerid]=this}this.configure(this.config,b("nullthrows")(a));a=this.config.addedBehaviors||[];this.enableBehaviors(this.getDefaultBehaviors().concat(a));a=b("ge")("flyout-nocontext-root");a||(a=b("DOM").create("div",{id:"flyout-nocontext-root"}));b("DOM").appendContent(document.body,a);b("DOM").appendContent(a,this.getRoot());b("DOM").hide(this.getRoot());b("Stratcom").invoke("m:layer:init",null,this)};d.configure=function(a,c){__p&&__p();this.$MLayer1=this.buildWrapper(a,c);b("Stratcom").addSigil(this.$MLayer1,"m-layer-root");c=a.attributes;if(c){if(c.sigil){var d=c.sigil.split(" ");d.forEach(function(a){b("Stratcom").addSigil(this.$MLayer1,a)},this);delete c.sigil}for(var e in c)this.getRoot().setAttribute(e,c[e])}a.classNames&&a.classNames.forEach(function(a){b("CSS").conditionClass(this.$MLayer1,a,!0)},this);a.causalElement&&(this.$MLayer4=a.causalElement);b("MLegacyDataStore").set(this.$MLayer1,{layer:this})};d.getDefaultBehaviors=function(){return[]};d.getCausalElement=function(){return this.$MLayer4};d.setCausalElement=function(a){this.$MLayer4=a;return this};d.getInsertParent=function(){return this.insertParent||b("nullthrows")(document.body)};d.getRoot=function(){return b("nullthrows")(this.$MLayer1)};d.getContentRoot=function(){return this.$MLayer1};d.buildWrapper=function(a,b){return b};d.setInsertParent=function(a){a&&(this.$MLayer2&&a!==this.getInsertParent()&&(b("DOM").appendContent(a,this.getRoot()),this.updatePosition()),this.insertParent=a);return this};d.show=function(){__p&&__p();if(this.$MLayer2)return this;var a=this.getRoot(),c=this.getInsertParent();a.parentNode!==c&&b("DOM").appendContent(c,a);this.emit("beforeshow");a.style.visibility="hidden";a.style.overflow="hidden";b("DOM").show(a);this.updatePosition()!==!1?(this.$MLayer2=!0,this.emit("show"),b("Stratcom").invoke("Layer:show",null,this),b("setTimeoutAcrossTransitions")(function(){this.$MLayer2&&g.push(this)}.bind(this))):b("DOM").hide(a);a.style.visibility="";a.style.overflow="";this.emit("aftershow");return this};d.hide=function(){if(this.$MLayer3||!this.$MLayer2||this.emit("beforehide")===!1)return this;this.$MLayer3=!0;this.emit("starthide")!==!1&&this.finishHide();return this};d.conditionShow=function(a){return a?this.show():this.hide()};d.finishHide=function(){this.$MLayer2&&(g.splice(g.indexOf(this),1),this.$MLayer3=!1,this.$MLayer2=!1,b("DOM").hide(this.getRoot()),this.emit("hide"),b("Stratcom").invoke("m:layer:hide",null,this));return this};d.isShown=function(){return this.$MLayer2};d.updatePosition=function(){return!0};d.updateIfShown=function(){this.isShown()&&this.updatePosition()};d.isDestroyed=function(){return this.destroyed};d.destroy=function(){__p&&__p();if(this.destroyed)return;this.destroyed=!0;this.finishHide();var a=this.getRoot();b("DOM").remove(a);this.destroyBehaviors();this.emit("destroy");b("Stratcom").invoke("Layer:destroy",null,this);delete b("MLegacyDataStore").get(a).layer;this.$MLayer1=this.$MLayer4=null;this.config.layerid&&delete h[this.config.layerid];this.config=null};d.shouldBlurOnTouchEnd=function(){return!0};c.getLayers=function(){return h};c.show=function(a){a.show()};return c}(b("mixin")(b("BehaviorsMixin")));b("mixInEventEmitter")(d,{destroy:!0,blur:!0,beforeshow:!0,show:!0,aftershow:!0,beforehide:!0,starthide:!0,hide:!0});var i;function a(a){a=a.getTouch();var b=a.clientX;a=a.clientY;i={x:b,y:a}}function c(a){__p&&__p();var c=g.length;if(!c)return;var d=a.getTarget(),e=a.getType();if(!b("nullthrows")(document.documentElement).contains(d))return;if(e==="touchend"&&i){a=a.getTouch()
__d("MLayerDestroyOnHide",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";function a(a){this.$1=a,this.$2}var b=a.prototype;b.enable=function(){this.$2=this.$1.addListener("hide",this.$1.destroy.bind(this.$1))};b.disable=function(){this.$1=null,this.$2.remove(),this.$2=null};return a}();e.exports=a}),null);
__d("MLayerDestroyOnTransition",["Stratcom"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){this.$1=b("Stratcom").listen("m:page:unload",null,this.$2.destroy.bind(this.$2))};c.disable=function(){this.$1.remove(),this.$1=null};return a}();e.exports=a}),null);
__d("MLayerHideOnBlur",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this.$3=null,this.$2=null,this.$1=a}var b=a.prototype;b.enable=function(){this.$3=[this.$1.addListener("show",this.$4.bind(this)),this.$1.addListener("hide",this.$5.bind(this))],this.$1.isShown()&&this.$4()};b.disable=function(){this.$5();while(this.$3.length)this.$3.pop().remove();this.$3=null};b.$5=function(){this.$2&&this.$2.remove(),this.$2=null};b.$4=function(){this.$2=this.$1.addListener("blur",function(){this.$1.hide()}.bind(this))};return a}();e.exports=a}),null);
__d("MLayerHideOnScroll",["Stratcom"],(function(a,b,c,d,e,f){__p&&__p();var g=5;a=function(){"use strict";__p&&__p();function a(a){this.$1=null,this.$2=null,this.$3=a,this.$4=null}var c=a.prototype;c.enable=function(){this.$1=[this.$3.addListener("show",this.$5.bind(this)),this.$3.addListener("hide",this.$6.bind(this))],this.$3.isShown()&&this.$5()};c.disable=function(){this.$6();while(this.$1.length)this.$1.pop().remove();this.$1=null};c.$6=function(){this.$2&&this.$2.remove()};c.$5=function(){var a=this,c=window;this.$4=c.scrollY;this.$2=b("Stratcom").listen("scroll",null,function(){var b=c.scrollY;Math.abs(a.$4-b)>=g&&a.$3.hide()})};return a}();e.exports=a}),null);
__d("MLayerHideOnTouch",["CancelableEventListener","TouchEventType"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){this.$1=[this.$2.addListener("show",this.$3.bind(this)),this.$2.addListener("hide",this.$4.bind(this))],this.$2.isShown()&&this.$3()};c.disable=function(){this.$4();while(this.$1.length)this.$1.pop().remove();this.$1=null};c.$4=function(){this.$5&&this.$5.remove(),this.$5=null};c.$3=function(){var a=this;this.$5=b("CancelableEventListener").listen(document.body,b("TouchEventType").START,null,function(b){a.$2.getContentRoot().contains(b.getTarget())||(a.$2.hide(),b.prevent())})};return a}();e.exports=a}),null);
__d("Locale",["ExecutionEnvironment","SiteData"],(function(a,b,c,d,e,f){function a(){if(!b("ExecutionEnvironment").canUseDOM)return!1;else return b("SiteData").is_rtl}e.exports={isRTL:a}}),null);
__d("TabbableElements",["Style"],(function(a,b,c,d,e,f){__p&&__p();function g(a){__p&&__p();if(a.tabIndex<0)return!1;if(a.tabIndex>0||a.tabIndex===0&&a.getAttribute("tabIndex")!==null)return!0;var b=a;switch(a.tagName){case"A":a=b;return!!a.href&&a.rel!="ignore";case"INPUT":a=b;return a.type!="hidden"&&a.type!="file"&&!a.disabled;case"BUTTON":case"SELECT":case"TEXTAREA":a=b;return!a.disabled}return!1}function h(a){a=a;while(a&&a!==document&&b("Style").get(a,"visibility")!="hidden"&&b("Style").get(a,"display")!="none")a=a.parentNode;return a===document}var i={find:function(a){return Array.from(a.getElementsByTagName("*")).filter(i.isTabbable)},findFirst:function(a){return Array.from(a.getElementsByTagName("*")).find(i.isTabbable)},isTabbable:function(a){return g(a)&&h(a)},isVisible:function(a){return h(a)}};e.exports=i}),null);
__d("clamp",[],(function(a,b,c,d,e,f){function a(a,b,c){if(a<b)return b;return a>c?c:a}e.exports=a}),null);
__d("MFlyout",["cx","CSS","DOM","Locale","MContextualThing","MJSEnvironment","MLayer","MLegacyDataStore","MParent","MViewport","Scroll","Stratcom","TabbableElements","Vector","clamp","emptyFunction","mixInEventEmitter"],(function(a,b,c,d,e,f,g){__p&&__p();var h=52,i=26,j=10,k=22,l=20,m=10,n=14,o=44,p=3,q=400,r=320,s=["resize","m:schedulable:loaded","m:viewport:orientation-change","m:orientation-resize:complete","m:hideout:reflow","m:landscape-cover-crop:complete"],t="flyout-causal";function u(){return document.body}var v=[];a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b,c){__p&&__p();b=a.call(this,b)||this;b._contentRoot=null;b._overlay=null;b._contentWrapper=null;b._nubNode=null;b._nubAlignment=null;b._content=null;b._contextNode=null;b._parentLayer=null;b._parentSubscription=null;b._orientation=null;b._orientationClass=null;b._width=null;b._modal=null;b._contentPositioner=null;b._heightConstraint=null;b._autoflipTopOffset=null;b._coverZIndex=null;b._cover=null;b._supportFixedPosition=!1;b._contentContainer=null;b._useContentAsBounds=!1;b.init(c);return b}var d=c.prototype;d.configure=function(c,d){__p&&__p();a.prototype.configure.call(this,c,d);if(c.context){this.setContext(c.context);this.setParentSubscription();b("Stratcom").addSigil(this.getCausalElement(),t);var e=b("MLegacyDataStore").get(this.getCausalElement());e.flyout=this}this.setMargin(c.margin);this.setPosition(c.position);this.setNubAlign(c.nubalign);this.setOffsetY(c.offsetY);this._content=d;this.setWidth(c.width);this.setModal(!!c.modal);this.setAutoflipTopOffset(c.autoFlipTopOffset);this.setCoverZIndex(c.coverZIndex);this.setUseContentAsBounds(c.useContentAsBounds||!1);this._supportFixedPosition=c.supportFixedPosition!=null?c.supportFixedPosition:!1};d.setCoverZIndex=function(a){this._coverZIndex=a};d.setWidth=function(a){this._width=a};d.setModal=function(a){this._modal=a};d.getModal=function(){return this._modal};d.setAutoflipTopOffset=function(a){this._autoflipTopOffset=a};d.getAutoflipTopOffset=function(){return this._autoflipTopOffset};d._getLayerParentWidth=function(){return b("Vector").getDim(this.getRoot().offsetParent).x};d.getMaxWidth=function(){return Math.min(this._getLayerParentWidth(),b("MJSEnvironment").IS_TABLET?r:q)};d._maxWidthIsApplicable=function(){return this.getMaxWidth()!==this._getLayerParentWidth()};d._isCustomWidth=function(){return this._width==="auto"||this._maxWidthIsApplicable()};d.applyWidth=function(){var a=this._contentRoot.style;a.width="";a.maxWidth="";if(this._maxWidthIsApplicable()){var c=this.getMaxWidth()+"px";this._width==="auto"?a.maxWidth=c:a.width=c}b("CSS").conditionClass(this._contentRoot,"_556f",this._isCustomWidth())};d.buildWrapper=function(a,c){this._nubNode=b("DOM").create("div",{className:"_5bn_"});this._backgroundNode=b("DOM").create("div",{className:"_5c0e"},this._nubNode);this._contentContainer=b("DOM").create("div",{className:"_5c0f"},c);this._contentRoot=b("DOM").create("div",{className:"_5bo0"},[this._backgroundNode,this._contentContainer]);b("Locale").isRTL()&&(this._contentRoot.style.direction="rtl");this.config.isBottomSheet?(this._overlay=b("DOM").create("div",{className:"_7ahu"}),this._contentWrapper=b("DOM").create("div",{className:"_544k"},[this._contentRoot,this._overlay])):this._contentWrapper=b("DOM").create("div",{className:"_544k"},this._contentRoot);this._contentPositioner=b("DOM").create("div",{className:"_544l _7a_1"},this._contentWrapper);return this._contentPositioner};d.setMargin=function(a){b("CSS").conditionClass(this._contentRoot,"_54wl",a==="large"),b("CSS").conditionClass(this._contentRoot,"_55kj",a==="medium")};d.getInsertParent=function(){var c=this.insertParent;if(!c){var d=this.getContext();d&&(c=b("MParent").bySigil(d,"context-layer-root")||u())}return c||a.prototype.getInsertParent.call(this)};d.setContent=function(a){this._content=a;b("DOM").setContent(this._contentRoot,this._content);this.updateIfShown();return this};d.setContext=function(a){this._contextNode=a};d.getCausalElement=function(){return a.prototype.getCausalElement.cal
__d("MFlyoutAutoFlip",["MParent","MViewport"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){this.$1=this.$2.addListener("adjust",this.$3.bind(this)),this.$2.isShown()&&this.$2.updatePosition()};c.disable=function(){this.$1.remove(),this.$1=null,this.$2.isShown()&&this.$2.updatePosition()};c.$3=function(a){__p&&__p();var c=this.$4(a),d={top:this.$2.getAutoflipTopOffset()||0,bottom:b("MViewport").getUseableHeight()},e=b("MParent").bySigil(this.$2.getRoot(),"scroll-area");if(e){e=e.getBoundingClientRect();d={top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}}var f,g,h=this.$2;e=h.getContext();e=e.getBoundingClientRect();for(f=0;f<c.length;f++){a.setPosition(c[f]);g=h.simulateOrientation(a,function(){return h.getRoot().firstChild.getBoundingClientRect()});var i=e.top+a.getOffsetY();a.getPosition()==="above"?i-=g.height:a.getPosition()==="below"&&(i+=e.height);i={top:i,bottom:i+g.height};if(i.top>=d.top&&i.bottom<=d.bottom)return}a.setPosition(c.indexOf("below")>-1?"below":c[0])};c.$4=function(a){return[a.getPosition(),a.getOppositePosition()]};return a}();e.exports=a}),null);
__d("MFlyoutContextSigil",["DOM","MLegacyDataStore","Stratcom","ex"],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(){"use strict";__p&&__p();function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){var a=this.$3();g[a];g[a]=this.$2;this.$1=b("Stratcom").listen("click",this.$3(),this.$4.bind(this))};c.disable=function(){delete g[this.$3()],this.$1.remove(),this.$1=null,this.$2=null};c.$3=function(){var a=this.$2.config;return a.causalSigil||a.contextSigil};c.$4=function(a){__p&&__p();var c=a.getNode(this.$3()),d,e=this.$2.config.contextSigil,f=this.$2.config.causalSigil;if(f&&f!==e){f=c;while(f&&f!==document.body&&!d)if(b("Stratcom").hasSigil(f,e))d=f;else{var g=b("DOM").scry(f,"*",e);d=g[0];f=f.parentNode}}else d=c;if(this.$2.getContext()!==d&&this.$2.isShown()){this.$2.hide();if(!this.$2)return}this.$2.setCausalElement(c);this.$2.setContext(d);b("MLegacyDataStore").get(c).flyout=this.$2;this.$2.isShown()||this.$2.show();a.prevent()};return a}();e.exports=a}),null);
__d("VirtualCursorStatus",["Event","UserAgent","emptyFunction","setImmediate"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h=null;function i(){h||(h=b("Event").listen(window,"blur",function(){g=null,j()}))}function j(){h&&(h.remove(),h=null)}function a(a){g=a.keyCode,i()}function c(){g=null,j()}if(typeof window!=="undefined"&&window.document&&window.document.createElement){d=document.documentElement;if(d)if(d.addEventListener)d.addEventListener("keydown",a,!0),d.addEventListener("keyup",c,!0);else if(d.attachEvent){f=d.attachEvent;f("onkeydown",a);f("onkeyup",c)}}var k={isKeyDown:function(){return!!g},getKeyDownCode:function(){return g}},l=!1,m=!1,n=null,o=!1;function p(a){__p&&__p();var c=new Set(),d=k.isKeyDown(),e=a.clientX,f=a.clientY,g=a.isPrimary,h=a.isTrusted,i=a.offsetX,j=a.offsetY,n=a.pointerType,o=a.mozInputSource,p=a.WEBKIT_FORCE_AT_MOUSE_DOWN,q=a.webkitForce;a=a.target;var r=a.clientWidth;a=a.clientHeight;e===0&&f===0&&i>=0&&j>=0&&m&&h&&o==null&&c.add("Chrome");l&&m&&!d&&q!=null&&q<p&&i===0&&j===0&&o==null&&c.add("Safari-edge");e===0&&f===0&&i<0&&j<0&&m&&o==null&&c.add("Safari-old");!l&&!m&&d&&g===!1&&h&&n===""&&e===0&&f===0&&i===0&&j===0&&o==null;!l&&!m&&!d&&h&&b("UserAgent").isBrowser("IE >= 10")&&o==null&&(e<0&&f<0?c.add("IE"):(i<0||i>r)&&(j<0||j>a)&&c.add("MSIE"));o===0&&h&&c.add("Firefox");return c}function q(){l=!0,b("setImmediate")(function(){l=!1})}function r(){m=!0,b("setImmediate")(function(){m=!1})}function s(a,c){n===null&&(n=p(a));o=n.size>0;a=a.target.getAttribute("data-accessibilityid")==="virtual_cursor_trigger";c(o,n,a);b("setImmediate")(function(){o=!1,n=null})}d={isVirtualCursorTriggered:function(){return o},add:function(a,c){c===void 0&&(c=b("emptyFunction"));var d=function(a){return s(a,c)};a.addEventListener("click",d);var e=b("Event").listen(a,"mousedown",q),f=b("Event").listen(a,"mouseup",r);return{remove:function(){a.removeEventListener("click",d),e.remove(),f.remove()}}}};e.exports=d}),null);
__d("AccessibilityWebVirtualCursorClickLogger",["AccessibilityWebAssistiveTechTypedLogger","VirtualCursorStatus"],(function(a,b,c,d,e,f){a={init:function(a){var c=this;a.forEach(function(a){b("VirtualCursorStatus").add(a,c._log)},this)},_log:function(a,c,d){d===void 0&&(d=!1),a&&new(b("AccessibilityWebAssistiveTechTypedLogger"))().setIndicatedBrowsers(c).setIsVirtualCursorAction(d).log()}};e.exports=a}),null);
__d("ActorURI",["ActorURIConfig","URI"],(function(a,b,c,d,e,f){a={create:function(a,c){return new(b("URI"))(a).addQueryData(b("ActorURIConfig").PARAMETER_ACTOR,c)},PARAMETER_ACTOR:b("ActorURIConfig").PARAMETER_ACTOR};e.exports=a}),null);
__d("Deferred",["Promise"],(function(a,b,c,d,e,f){"use strict";__p&&__p();b("Promise").resolve();a=function(){__p&&__p();function a(a){var c=this;a=a||b("Promise");this.$1=!1;this.$2=new a(function(a,b){c.$3=a,c.$4=b})}var c=a.prototype;c.getPromise=function(){return this.$2};c.resolve=function(a){this.$1=!0,this.$3(a)};c.reject=function(a){this.$1=!0,this.$4(a)};c.isSettled=function(){return this.$1};return a}();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("DateConsts",[],(function(a,b,c,d,e,f){__p&&__p();var g=1e3;a=60;b=60;c=24;d=7;f=12;var h=1e3,i=30.43,j=365.242,k=a*b,l=k*c,m=l*d,n=l*j,o=g*a,p=o*b,q=g*l,r=q*d,s=q*j,t={SUNDAY:0,MONDAY:1,TUESDAY:2,WEDNESDAY:3,THURSDAY:4,FRIDAY:5,SATURDAY:6};Object.freeze(t);t={getDaysInMonth:function(a,b){return new Date(a,b,0).getDate()},getCurrentTimeInSeconds:function(){return Date.now()/g},DAYS:t,MS_PER_SEC:g,MS_PER_MIN:o,MS_PER_HOUR:p,MS_PER_DAY:q,MS_PER_WEEK:r,MS_PER_YEAR:s,SEC_PER_MIN:a,SEC_PER_HOUR:k,SEC_PER_DAY:l,SEC_PER_WEEK:m,SEC_PER_YEAR:n,US_PER_MS:h,MIN_PER_HOUR:b,HOUR_PER_DAY:c,DAYS_PER_WEEK:d,MONTHS_PER_YEAR:f,AVG_DAYS_PER_MONTH:i,AVG_DAYS_PER_YEAR:j,"private":{instantRange:{since:-864e10,until:864e10+1}}};e.exports=t}),null);
__d("keyMirror",["unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){var c={};if(!(a instanceof Object&&!Array.isArray(a)))throw b("unrecoverableViolation")("keyMirror(...): Argument must be an object.","comet_infra");for(var d in a){if(!Object.prototype.hasOwnProperty.call(a,d))continue;c[d]=d}return c}e.exports=a}),null);
__d("idx",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,d){try{return d(a)}catch(a){if(a instanceof TypeError)if(b(a))return null;else if(c(a))return void 0;throw a}}var g;function b(a){a=a.message;g||(g=i("null"));return g.test(a)}var h;function c(a){a=a.message;h||(h=i("undefined"));return h.test(a)}function i(a){return new RegExp("^"+a+" | "+a+"$|^[^\\(]* "+a+" ")}e.exports=a}),null);
__d("createChunkedResponseParser",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="\r\n",i=2;function a(a,b){__p&&__p();var c=0,d=function(d,e,f){__p&&__p();b&&(d=b(d),d==null||typeof d==="string"||g(0,4071));if(d){var j=d.length;while(c<j){var k=d.indexOf(h,c);if(k<0)if(f)k=j;else break;k=d.slice(c,k);c+=k.length+i;a(k,e,f&&c>=j)}}else f&&a("",e,!0)};d.parseStreaming=!0;return d}e.exports=a}),null);