if (self.CavalryLogger) { CavalryLogger.start_js(["giRBM"]); } __d("DialogPosition",["Vector"],(function(a,b,c,d,e,f){__p&&__p();var g=40,h;a={calculateTopMargin:function(a,c,d,e){__p&&__p();d===void 0&&(d=null);e===void 0&&(e=!1);var f=b("Vector").getViewportDimensions(),i=!1;e&&d&&(i=d+c>f.y);if(d!=null&&!i)return d;if(h)return h;e=Math.floor((f.x+a)*(f.y-c)/(4*f.x));return Math.max(e,g)},setFixedTopMargin:function(a){h=a}};e.exports=a}),null); __d("focusWithinLayer",["DOMQuery","Focus","TabbableElements","getActiveElement"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){__p&&__p();var d=b("DOMQuery").scry(a,".autofocus")[0],e=!0;if(!d){var f=b("getActiveElement")();if(b("DOMQuery").isNodeOfType(f,["input","textarea"]))return;f=b("TabbableElements").find(a);for(var g=0;g-1&&g.splice(a,1);this.$1.remove();this.$1=null}};c.$4=function(a){__p&&__p();if(b("Event").getKeyCode(a)!==b("Keys").TAB)return;var c=a.getTarget();if(!c)return;var d=b("TabbableElements").find(this.$3),e=d[0];d=d[d.length-1];var f=a.getModifiers();f=f.shift;f&&c===e?(a.preventDefault(),b("Focus").set(d)):(!f&&c===d||!b("containsNode")(this.$3,c))&&(a.preventDefault(),b("Focus").set(e))};return a}();e.exports=a}),null); __d("LayerTabIsolation",["TabIsolation"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,this._tabIsolation=null}var c=a.prototype;c.enable=function(){this._tabIsolation=new(b("TabIsolation"))(this._layer.getRoot()),this._subscriptions=[this._layer.subscribe("show",this._tabIsolation.enable.bind(this._tabIsolation)),this._layer.subscribe("hide",this._tabIsolation.disable.bind(this._tabIsolation))]};c.disable=function(){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._tabIsolation.disable();this._tabIsolation=null};return a}();Object.assign(a.prototype,{_subscriptions:[]});e.exports=a}),null); __d("LayerTogglerContext",["Toggler"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._root=this._layer.getRoot(),b("Toggler").createInstance(this._root).setSticky(!1)};c.disable=function(){b("Toggler").destroyInstance(this._root),this._root=null};return a}();e.exports=a}),null); __d("DialogX",["cx","fbt","Arbiter","CSS","DialogPosition","DOMQuery","Event","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerFormHooks","LayerRefocusOnHide","LayerTabIsolation","LayerTogglerContext","ModalLayer","Style","Vector","debounce","getOrCreateDOMID","goURI","shield"],(function(a,b,c,d,e,f,g,h){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d._configure=function(c,d){__p&&__p();a.prototype._configure.call(this,c,d);b("CSS").addClass(this.getRoot(),"_4-hy");if(c.autohide)var e=this.subscribe("show",function(){e.unsubscribe(),window.setTimeout(b("shield")(this.hide,this),c.autohide)}.bind(this));if(c.redirectURI)var f=this.subscribe("hide",function(){f.unsubscribe(),b("goURI")(c.redirectURI)});this._fixedTopPosition=c.fixedTopPosition;this._ignoreFixedTopInShortViewport=c.ignoreFixedTopInShortViewport};d._getDefaultBehaviors=function(){return a.prototype._getDefaultBehaviors.call(this).concat([i,b("ModalLayer"),b("LayerAutoFocus"),b("LayerButtons"),b("LayerFormHooks"),b("LayerTabIsolation"),b("LayerTogglerContext"),b("LayerRefocusOnHide")])};d._buildWrapper=function(a,c){__p&&__p();var d=a.xui?"_4t2a":"_t",e=a.xui?"_59s7":"_1yv";this._innerContent=b("JSXDOM").div(null,c);c={className:e,role:"dialog"};if(a.labelledBy)c["aria-labelledby"]=a.labelledBy;else if(a.label)c["aria-label"]=a.label;else if(a.titleID)c["aria-labelledby"]=a.titleID;else if(a.titleClass){e=b("DOMQuery").scry(this._innerContent,a.titleClass);if(e.length){e=b("getOrCreateDOMID")(e[0]);c["aria-labelledby"]=e}else c["aria-label"]=this._getDefaultLabel()}else c["aria-label"]=this._getDefaultLabel();e={className:d};a["data-testid"]&&(e["data-testid"]=a["data-testid"]);this._wrapper=b("JSXDOM").div(c,b("JSXDOM").div(e,this._innerContent));a.width!=null&&this.setWidth(a.width);a.height!=null&&this.setHeight(a.height);return b("JSXDOM").div({className:"_10"},this._wrapper)};d._getDefaultLabel=function(){return h._("Dialogue content")};d.getContentRoot=function(){return this._wrapper};d.getInnerContent=function(){return this._innerContent};d.updatePosition=function(){var a=b("Vector").getElementDimensions(this._wrapper);a=b("DialogPosition").calculateTopMargin(a.x,a.y,this._fixedTopPosition,this._ignoreFixedTopInShortViewport);b("Style").set(this._wrapper,"margin-top",a+"px");this.inform("update_position",{type:"DialogX",top:a})};d.setWidth=function(a){a=Math.floor(a);if(a===this._width)return;this._width=a;b("Style").set(this._wrapper,"width",a+"px")};d.getWidth=function(){return this._width};d.setHeight=function(a){a=Math.floor(a);if(a===this._height)return;this._height=a;b("Style").set(this._wrapper,"height",a+"px")};d.getFixedTopPosition=function(){return this._fixedTopPosition};d.shouldIgnoreFixedTopInShortViewport=function(){return this._ignoreFixedTopInShortViewport};return c}(b("Layer"));var i=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe(["show","hide"],function(a){a==="show"?(this._attach(),b("Arbiter").inform("layer_shown",{type:"DialogX"})):(this._detach(),b("Arbiter").inform("layer_hidden",{type:"DialogX"}))}.bind(this))};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null,this._resize&&this._detach()};c._attach=function(){this._layer.updatePosition(),this._resize=b("Event").listen(window,"resize",b("debounce")(this._layer.updatePosition.bind(this._layer)))};c._detach=function(){this._resize.remove(),this._resize=null};return a}();Object.assign(i.prototype,{_subscription:null,_resize:null});e.exports=a}),null); __d("LayerHideOnBlur",["LayerHideSources","requestAnimationFrame"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscriptions=[this._layer.subscribe("show",this._attach.bind(this)),this._layer.subscribe("hide",this._detach.bind(this))],this._layer.isShown()&&this._attach()};c.disable=function(){this._detach();while(this._subscriptions&&this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null};c._detach=function(){this._onBlur&&this._onBlur.unsubscribe(),this._onBlur=null};c._attach=function(){var a=this;this._onBlur=this._layer.subscribe("blur",function(){b("requestAnimationFrame")(function(){a._layer.hide(b("LayerHideSources").BLUR)});return!1})};return a}();Object.assign(a.prototype,{_subscriptions:null,_onBlur:null});e.exports=a}),null); __d("AbstractDialog.react",["DialogX","LayerHideOnBlur","LayerHideOnEscape","React","ReactDOM"],(function(a,b,c,d,e,f){__p&&__p();var g=b("React").PropTypes;a={createSpec:function(a){__p&&__p();return{displayName:a.displayName,propTypes:{behaviors:g.object,className:g.string,"data-testid":g.string,modal:g.bool,autohide:g.number,width:g.number,label:g.node,labelledBy:g.string,titleID:g.string,titleClass:g.string,causalElement:g.object,causalElementRef:g.func,shown:g.bool,layerHideOnBlur:g.bool,hideOnEscape:g.bool,isStrictlyControlled:g.bool,onHide:g.func,onToggle:g.func,fixedTopPosition:g.number},createLayer:function(c){__p&&__p();var d=this.props.className;d=babelHelpers["extends"]({width:this.props.width,xui:!0,autohide:this.props.autohide,classNames:d?d.split(" "):null,label:this.props.label,labelledBy:this.props.labelledBy,isStrictlyControlled:this.props.isStrictlyControlled,titleID:this.props.titleID,titleClass:this.props.titleClass,causalElement:this._getCausalElement(),fixedTopPosition:this.props.fixedTopPosition},a||{});this.props["data-testid"]&&(d["data-testid"]=this.props["data-testid"]);var e=babelHelpers["extends"]({},a.addedBehaviors,this.props.behaviors);this.props.layerHideOnBlur!==!1&&(e.LayerHideOnBlur=b("LayerHideOnBlur"));(this.props.hideOnEscape===!0||this.props.hideOnEscape!==!1&&a.hideOnEscape===!0)&&(e.LayerHideOnEscape=b("LayerHideOnEscape"));d.addedBehaviors=this.enumerateBehaviors(e);e=new(b("DialogX"))(d,c);e.conditionShow(this.props.shown);return e},receiveProps:function(a,b){this.updateBehaviors(b.behaviors,a.behaviors),this.layer&&(this.layer.setCausalElement(this._getCausalElement()),this.layer.conditionShow(a.shown),this.layer.setWidth(a.width),a.shown&&this.layer.updatePosition())},_getCausalElement:function(){var a;this.props.causalElementRef?a=b("ReactDOM").findDOMNode(this.props.causalElementRef()):a=this.props.causalElement;return a}}}};e.exports=a}),null); __d("LayerFadeOnShow",["Bootloader","Run","emptyFunction","ifRequired"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,b("Run").onAfterLoad(function(){b("Bootloader").loadModules(["CSSFade"],b("emptyFunction"),"LayerFadeOnShow")})}var c=a.prototype;c.enable=function(){this._subscriptions=[this._layer.subscribe("show",this._animate.bind(this))]};c.disable=function(){if(this._subscriptions){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null}};c._getDuration=function(){return 100};c._animate=function(){var a=this,c=this._layer.getRoot();b("ifRequired")("CSSFade",function(b){b.show(c,{duration:a._getDuration()})},function(){})};a.forDuration=function(c){var d=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(a);d.prototype._getDuration=b("emptyFunction").thatReturns(c);return d};return a}();Object.assign(a.prototype,{_subscriptions:null});e.exports=a}),null); __d("ReactBrowserEventEmitter_DO_NOT_USE",["ReactDOM-fb"],(function(a,b,c,d,e,f){"use strict";a=b("ReactDOM-fb").__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;e.exports=a.ReactBrowserEventEmitter}),null); __d("ReactLayerCommon",["invariant","React","ReactBrowserEventEmitter_DO_NOT_USE","ReactDOM","SubscriptionsHandler","emptyFunction","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=function(a){a.isPropagationStopped=b("emptyFunction").thatReturnsTrue},i=function(c){babelHelpers.inheritsLoose(a,c);function a(){return c.apply(this,arguments)||this}var d=a.prototype;d.render=function(){return b("React").createElement("div",{onClick:h,onBlur:h,onDoubleClick:h,onFocus:h,onKeyDown:h,onKeyPress:h,onKeyUp:h,onMouseDown:h,onMouseMove:h,onMouseUp:h},this.props.children)};return a}(b("React").Component),j={makeInitialSubscriptions:function(a,c){var d=new(b("SubscriptionsHandler"))();c.onToggle&&(j.layerSubscribe(a,d,"show",function(){return c.onToggle(!0)}),j.layerSubscribe(a,d,"hide",function(){return c.onToggle(!1)}));c.onBlur&&j.layerSubscribe(a,d,"blur",function(a,b){return c.onBlur(b)});c.onHide&&j.layerSubscribe(a,d,"runhide",function(a,b){return c.includeHideSource?c.onHide(b):c.onHide()});return d},layerSubscribe:function(a,c,d,e){var f=a.subscribe||a.addListener;c.addSubscriptions(f.call(a,d,function(a,c){var d=b("ReactBrowserEventEmitter_DO_NOT_USE").isEnabled();d&&e(a,c)}))},render:function(a,c){a=b("ReactDOM").createPortal(b("React").createElement(i,null,a),c);a===void 0&&b("ReactDOM").createPortal._isMockFunction&&(a=null);return a},diffBehaviors:function(a,b,c){__p&&__p();var d;for(d in a)a[d]&&!b[d]&&c.disableBehavior(a[d]);for(d in b){var e=a[d],f=b[d];if(e&&f){e===f||g(0,120,d);continue}e&&c.disableBehavior(e);f&&c.enableBehavior(f)}}};e.exports=j}),null); __d("ReactLayer",["invariant","React","ReactLayerCommon","emptyFunction","getObjectValues"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={componentDidMount:function(){this.layer=this.createLayer(this._layerContainer),this.layer||g(0,2397),this.layerSubscriptions=b("ReactLayerCommon").makeInitialSubscriptions(this.layer,this.props),this._resetBehaviors()},componentDidUpdate:function(a){this.receiveProps(this.props,a)},componentWillUnmount:function(){this._layerContainer=null,this.layerSubscriptions&&(this.layerSubscriptions.release(),this.layerSubscriptions=null),this.layer&&(this.layer.destroy(),this.layer=null)},_createLayerContainer:function(){this._layerContainer==null&&(this._layerContainer=document.createElement("div"))},render:function(){this._createLayerContainer();return b("ReactLayerCommon").render(this.props.children,this._layerContainer)},enumerateBehaviors:function(a){a=this.getEffectiveBehaviors(a);return b("getObjectValues")(a).filter(b("emptyFunction").thatReturnsArgument)},_resetBehaviors:function(){this._diffBehaviors({},this.props.behaviors)},updateBehaviors:function(a,b){this._diffBehaviors(a,b)},_diffBehaviors:function(a,c){a=this.getEffectiveBehaviors(a),c=this.getEffectiveBehaviors(c),b("ReactLayerCommon").diffBehaviors(a,c,this.layer)},getEffectiveBehaviors:function(a){return!this.getDefaultEnabledBehaviors?a||{}:babelHelpers["extends"]({},this.getDefaultEnabledBehaviors(),a)},layerSubscribe:function(a,c){b("ReactLayerCommon").layerSubscribe(this.layer,this.layerSubscriptions,a,c)}};a={createClass:function(a){return b("React").createClass({mixins:[h,a]})}};e.exports=a}),null); __d("XUIDialog.react",["csx","AbstractDialog.react","LayerFadeOnShow","ReactLayer"],(function(a,b,c,d,e,f,g){a=b("ReactLayer").createClass(b("AbstractDialog.react").createSpec({displayName:"XUIDialog",addedBehaviors:{LayerFadeOnShow:b("LayerFadeOnShow")},titleClass:"._52c9",hideOnEscape:!0}));e.exports=a}),null); __d("EncryptedImgUtils",[],(function(a,b,c,d,e,f){var g="ek",h=/^data\:/,i=/\?(ek\=|.*&ek\=)/;a={extractKey:function(a){var b=a.getQueryData(),c=b[g];delete b[g];a.setQueryData(b);return c},isEncrypted:function(a){return!h.test(a)&&i.test(a)}};e.exports=a}),null); __d("coerceImageishSprited",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a&&typeof a==="object"&&a.sprited&&a.spriteMapCssClass&&a.spriteCssClass)return a;else return null}e.exports=a}),null); __d("coerceImageishURL",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a&&typeof a==="object"&&a.sprited===!1&&typeof a.uri==="string"&&a.width!==void 0&&a.height!==void 0)return a;else return null}e.exports=a}),null); __d("getImageSourceURLFromImageish",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(typeof a==="string")return a;return typeof a==="object"&&(!a.sprited&&a.uri&&typeof a.uri==="string")?a.uri:""}e.exports=a}),null); __d("validateImageSrcPropType",["coerceImageishSprited","getImageSourceURLFromImageish"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){a=a[c];return a==null||b("coerceImageishSprited")(a)||b("getImageSourceURLFromImageish")(a)!==""?null:new Error("Provided `"+c+"` to `"+d+"`. Must be `null`, `undefined`, a string or an `ix` call.")}e.exports=a}),null); __d("warnUnsupportedProp",["warning"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){b("warning")(!1,"%s component does not support prop `%s`.%s",a,c,d?" "+d:"")}e.exports=a}),null); __d("ImageCore.react",["Bootloader","EncryptedImgUtils","FBLogger","React","SubscriptionsHandler","coerceImageishSprited","coerceImageishURL","createCancelableFunction","getImageSourceURLFromImageish","ifRequired","joinClasses","validateImageSrcPropType","warnUnsupportedProp"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c={alt:""};var g=function(c){__p&&__p();babelHelpers.inheritsLoose(a,c);function a(){var a,d;for(var e=arguments.length,f=new Array(e),g=0;g0||a.intersectionRect&&(a.intersectionRect.height>0||a.intersectionRect.width>0)}e.exports=a}),null); __d("AvailableListState",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({OFFLINE:0,IDLE:1,ACTIVE:2,MOBILE:3})}),null); __d("fbjs/lib/ExecutionEnvironment",["ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";e.exports=b("ExecutionEnvironment")}),null); __d("fbjs/lib/shallowEqual",["shallowEqual"],(function(a,b,c,d,e,f){"use strict";e.exports=b("shallowEqual")}),null); /** * License: https://www.facebook.com/legal/license/2v2plzJQoTQ/ */ __d("IntersectionObserverFallback",["FBLogger","TimeSlice","containsNode","getElementRect","performanceNow","setInterval","throttle"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=document.documentElement,h=[];function i(a,b){var c=Math.max(a.top,b.top),d=Math.min(a.bottom,b.bottom),e=Math.max(a.left,b.left);a=Math.min(a.right,b.right);b=a-e;var f=d-c;return b>=0&&f>=0?{top:c,bottom:d,left:e,right:a,width:b,height:f}:void 0}function j(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}var k=function(a){__p&&__p();this.time=a.time;this.target=a.target;this.rootBounds=a.rootBounds;this.boundingClientRect=a.boundingClientRect;this.intersectionRect=a.intersectionRect||j();this.isIntersecting=!!a.intersectionRect;a=this.boundingClientRect;a=a.width*a.height;var b=this.intersectionRect.width*this.intersectionRect.height;a?this.intersectionRatio=b/a:this.intersectionRatio=this.isIntersecting?1:0};a=function(){__p&&__p();function a(a,c){__p&&__p();var d=this;this.THROTTLE_TIMEOUT=100;this.POLL_INTERVAL=null;this.$12=b("TimeSlice").guard(b("throttle")(function(){var a=d.$14(),c=a?d.$15():j();d.$6.forEach(function(e){var f=e.element,g=b("getElementRect")(f),h=d.$16(f),i=e.entry,j=a&&h&&!d.$2&&d.$17(f,c);e=e.entry=new k({time:b("performanceNow")(),target:f,boundingClientRect:g,rootBounds:c,intersectionRect:j});!i?d.$7.push(e):a&&h?d.$18(i,e)&&d.$7.push(e):i&&i.isIntersecting&&d.$7.push(e)});d.$7.length&&d.$1(d.takeRecords(),d)},this.THROTTLE_TIMEOUT),"IntersectionObserverFallback: checkForIntersections");this.$2=!1;try{window.top.document}catch(a){this.$2=!0}c=c||{};this.$1=a;this.$4=!1;this.$6=[];this.$7=[];this.$8=this.$9(c.rootMargin);this.thresholds=this.$10(c.threshold);this.root=c.root||null;this.rootMargin=this.$8.map(function(a){return a.value+a.unit}).join(" ")}var c=a.prototype;c.$10=function(a){a=a||[0];Array.isArray(a)||(a=[a]);return a.sort().filter(function(a,b,c){return a!==c[b-1]})};c.$9=function(a){a=a||"0px";a=a.split(/\s+/).map(function(a){a=/^(-?\d*\.?\d+)(px|%)$/.exec(a);return{value:parseFloat(a[1]),unit:a[2]}});a[1]=a[1]||a[0];a[2]=a[2]||a[0];a[3]=a[3]||a[1];return a};c.$11=function(){this.$4||(this.$4=!0,this.$12(),this.POLL_INTERVAL?this.$5=b("setInterval")(this.$12,this.POLL_INTERVAL):(window.addEventListener("resize",this.$12),document.addEventListener("scroll",this.$12),"MutationObserver"in window&&(this.$3=new MutationObserver(this.$12),this.$3.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))};c.$13=function(){this.$4&&(this.$4=!1,this.$5&&(clearInterval(this.$5),this.$5=void 0),window.removeEventListener("resize",this.$12),document.removeEventListener("scroll",this.$12),this.$3&&(this.$3.disconnect(),this.$3=void 0))};c.$17=function(a,c){__p&&__p();var d=window.getComputedStyle(a);if(!d||d.display=="none")return void 0;d=b("getElementRect")(a);d=d;a=a.parentElement;var e=!1;while(!e){var f=null;a==this.root||a&&a.nodeType!=1?(e=!0,f=c):a&&window.getComputedStyle(a).overflow!="visible"&&(f=b("getElementRect")(a));if(f){d=i(f,d);if(!d)break}a=a&&a.parentElement}return d};c.$15=function(){var a;if(this.root)a=b("getElementRect")(this.root);else{var c=document.documentElement,d=document.body,e=c&&c.clientWidth||d&&d.clientWidth;c=c&&c.clientHeight||d&&d.clientHeight;a={top:0,left:0,right:e,width:e,bottom:c,height:c}}return this.$19(a)};c.$19=function(a){var b=this.$8.map(function(b,c){return b.unit=="px"?b.value:b.value*(c%2?a.width:a.height)/100});b={top:a.top-b[0],right:a.right+b[1],bottom:a.bottom+b[2],left:a.left-b[3],width:0,height:0};b.width=b.right-b.left;b.height=b.bottom-b.top;return b};c.$18=function(a,b){__p&&__p();a=a&&a.isIntersecting?a.intersectionRatio||0:-1;b=b.isIntersecting?b.intersectionRatio||0:-1;if(a===b)return!1;for(var c=0;c0&&c.forEach(function(c){b("ErrorUtils").applyWithGuard(c,null,[a],null,"observeIntersection")})})},d);m={intersectionObserver:d,referenceCount:0,targetToCallbacksMap:h?new WeakMap():new Map()};l[e]=m}d=m.targetToCallbacksMap.get(a);d==null&&(m.intersectionObserver.observe(a),m.referenceCount+=1,d=[],m.targetToCallbacksMap.set(a,d));d.push(c);var n=!1;return{remove:function(){__p&&__p();if(n)return;var b=m.targetToCallbacksMap.get(a);b!=null||g(0,2440);if(b.length===1)m.intersectionObserver.unobserve(a),m.targetToCallbacksMap["delete"](a),m.referenceCount-=1;else{var d=b.indexOf(c);d!==-1||g(0,2441);b.splice(d,1)}m.referenceCount===0&&(l!=null||g(0,2442),delete l[e],Object.keys(l).length===0&&j["delete"](f));n=!0}}}e.exports=a}),null); __d("renderSubtreeIntoContainer_DO_NOT_USE",["ReactDOM-fb"],(function(a,b,c,d,e,f){"use strict";e.exports=b("ReactDOM-fb").unstable_renderSubtreeIntoContainer}),null); __d("shallowCompare",["fbjs/lib/shallowEqual"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){return!b("fbjs/lib/shallowEqual")(a.props,c)||!b("fbjs/lib/shallowEqual")(a.state,d)}e.exports=a}),null); __d("isValidUniqueID",[],(function(a,b,c,d,e,f){function a(a){return a!==null&&a!==void 0&&a!==""&&(typeof a==="string"||typeof a==="number")}e.exports=a}),null); __d("SearchableEntry",["invariant","FbtResultBase","HTML","isValidUniqueID"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a){__p&&__p();if(!a)return"";else if(typeof a==="string")return a;else if(a instanceof b("FbtResultBase"))return a.toString();else if(typeof a==="object"){a=b("HTML").replaceJSONWrapper(a);if(b("HTML").isHTML(a)){a=a.getRootNode();return a.textContent||a.innerText||""}else return""}else return""}a=function(){"use strict";__p&&__p();function a(a){__p&&__p();this.valueOf=this.getUniqueID;b("isValidUniqueID")(a.uniqueID)||g(0,3851,a.uniqueID);this.$8=a.uniqueID+"";a.title instanceof b("FbtResultBase")&&(a.title=a.title.toString());a.title!=null&&typeof a.title==="string"||g(0,3852,a.title);this.$6=a.title;this.$3=a.order||0;this.$5=h(a.subtitle);this.$2=a.keywordString||"";this.$4=a.photo||"";this.$9=a.uri||"";this.$7=h(a.type);var c=a.auxiliaryData==null?{}:a.auxiliaryData;this.$1=c;this.$10=a.dataType||""}var c=a.prototype;c.getUniqueID=function(){return this.$8};c.getOrder=function(){return this.$3};c.getTitle=function(){return this.$6};c.getSubtitle=function(){return this.$5};c.getKeywordString=function(){return this.$2};c.getPhoto=function(){return this.$4};c.getURI=function(){return this.$9};c.getType=function(){return this.$7};c.getAuxiliaryData=function(){return this.$1};c.getDataType=function(){return this.$10};c.toPlainObject=function(){return{auxiliaryData:this.$1,keywordString:this.$2,order:this.$3,photo:this.$4,subtitle:this.$5,title:this.$6,type:this.$7,uniqueID:this.$8,uri:this.$9,dataType:this.$10}};return a}();e.exports=a}),null); __d("BinarySearch",["unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={GREATEST_LOWER_BOUND:"GREATEST_LOWER_BOUND",GREATEST_STRICT_LOWER_BOUND:"GREATEST_STRICT_LOWER_BOUND",LEAST_STRICT_UPPER_BOUND:"LEAST_STRICT_UPPER_BOUND",LEAST_UPPER_BOUND:"LEAST_UPPER_BOUND"};var g=function(a,c){if(typeof a!=="number"||typeof c!=="number")throw b("unrecoverableViolation")("The default comparator can only be used with sequences of numbers.","comet_infra");return a-c},h={GREATEST_LOWER_BOUND:a.GREATEST_LOWER_BOUND,GREATEST_STRICT_LOWER_BOUND:a.GREATEST_STRICT_LOWER_BOUND,LEAST_STRICT_UPPER_BOUND:a.LEAST_STRICT_UPPER_BOUND,LEAST_UPPER_BOUND:a.LEAST_UPPER_BOUND,find:function(a,b,c,d,e){e===void 0&&(e=g);var f=h.LEAST_UPPER_BOUND;f=h.findBound(a,b,c,d,e,f);if(c<=f&&f=0?d=f:c=f}return c=0?c:d},greatestLowerBound:function(a,b,c,d,e){return h.leastStrictUpperBound(a,b,c,d,e)-1},leastStrictUpperBound:function(a,b,c,d,e){c=c;d=d;while(c+10?d=f:c=f}return c0?c:d},greatestStrictLowerBound:function(a,b,c,d,e){return h.leastUpperBound(a,b,c,d,e)-1},findInArray:function(a,b,c){return h.find(function(b){return a[b]},b,0,a.length,c)},findIndexInArray:function(a,b,c){return h.findIndex(function(b){return a[b]},b,0,a.length,c)},findBoundInArray:function(a,b,c,d){return h.findBound(function(b){return a[b]},b,0,a.length,c,d)}};e.exports=h}),null); __d("MaybeNativePromise",["Promise"],(function(a,b,c,d,e,f){"use strict";c=a.Promise||b("Promise");b("Promise").resolve();e.exports=c}),null);