/*!CK:2412394908!*//*1427408581,*/

if (self.CavalryLogger) { CavalryLogger.start_js(["6MP\/T"]); }

__d("ActorURIConfig",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={PARAMETER_ACTOR:"av"};},null);
__d("AdminSignatureConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={SETTING_ATTACH_TO_POST:"shouldAttachToPost",SETTING_ATTACH_TO_COMMENT:"shouldAttachToComment",SETTING_ATTACH_TO_MESSAGE:"shouldAttachToMessage",SETTING_EVER_PROMPTED:"everPromptedUser",SETTING_SIGNATURE_TEXT:"signature",FIELD_PAGE_ID:"pageID",FIELD_SIGNATURE_OPTION_FIELD:"signatureOption",FIELD_SIGNATURE_OPTION_VALUE_FIELD:"signatureOptionValue",FIELD_SIGNATURE_TEXT_FIELD:"signatureText",EVENT_ADMIN_SIGNATURE_PROMPTED:"AdminSignature\/prompted",EVENT_ADMIN_SIGNATURE_SETTING_CHANGED:"AdminSignatureSetting\/changed"};},null);
__d("ApiPageFields",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ABOUT:"about",ACCESS_TOKEN:"access_token",ADMIN_SETTINGS:"admin_settings",ADMINS:"admins",AFFILIATION:"affiliation",AGENCIES:"agencies",ALBUMS:"albums",APP_ID:"app_id",APP_LINKS:"app_links",ARTISTS_WE_LIKE:"artists_we_like",ATTIRE:"attire",AWARDS:"awards",BAND_INTERESTS:"band_interests",BAND_MEMBERS:"band_members",BEST_PAGE:"best_page",BIO:"bio",BIRTHDAY:"birthday",BLOCKED:"blocked",BOOKING_AGENT:"booking_agent",BUILT:"built",BUSINESS:"business",BUSINESSPROJECTS:"businessprojects",BUSINESSSETTINGLOGS:"businesssettinglogs",CAN_POST:"can_post",CATEGORY:"category",CATEGORY_LIST:"category_list",CHECKINS:"checkins",COMMERCE_MERCHANT_SETTINGS:"commerce_merchant_settings",COMPANY_OVERVIEW:"company_overview",CONTACT_ADDRESS:"contact_address",CONTEXT:"context",CONVERSATIONS:"conversations",COUNTRY_PAGE_LIKES:"country_page_likes",COVER:"cover",CULINARY_TEAM:"culinary_team",CURRENT_LOCATION:"current_location",DESCRIPTION:"description",DESCRIPTION_HTML:"description_html",DIRECTED_BY:"directed_by",DRAFT_POSTS:"draft_posts",EMAILS:"emails",ENGAGEMENT:"engagement",EVENTS:"events",FEATURES:"features",FEED:"feed",FOOD_STYLES:"food_styles",FOUNDED:"founded",GENERAL_INFO:"general_info",GENERAL_MANAGER:"general_manager",GENRE:"genre",GLOBAL_BRAND_CHILDREN:"global_brand_children",GLOBAL_BRAND_PAGE_NAME:"global_brand_page_name",GLOBAL_BRAND_PARENT_PAGE:"global_brand_parent_page",GLOBAL_BRAND_ROOT_ID:"global_brand_root_id",HAS_ADDED_APP:"has_added_app",HOMETOWN:"hometown",HOURS:"hours",ID:"id",IMPRESSUM:"impressum",INFLUENCES:"influences",INSIGHTS:"insights",IS_COMMUNITY_PAGE:"is_community_page",IS_PERMANENTLY_CLOSED:"is_permanently_closed",IS_PUBLISHED:"is_published",IS_UNCLAIMED:"is_unclaimed",IS_VERIFIED:"is_verified",KEYWORDS:"keywords",LIKES:"likes",LINK:"link",LINKS:"links",LOCATION:"location",LOCATIONS:"locations",MEMBERS:"members",MILESTONES:"milestones",MISSION:"mission",MPG:"mpg",NAME:"name",NAME_WITH_LOCATION_DESCRIPTOR:"name_with_location_descriptor",NETWORK:"network",NEW_LIKE_COUNT:"new_like_count",NOTES:"notes",NOTIFICATIONS:"notifications",OFFER_ELIGIBLE:"offer_eligible",OFFERS:"offers",PARENT_PAGE:"parent_page",PARKING:"parking",PAYMENT_OPTIONS:"payment_options",PERSONAL_INFO:"personal_info",PERSONAL_INTERESTS:"personal_interests",PHARMA_SAFETY_INFO:"pharma_safety_info",PHONE:"phone",PHOTOS:"photos",PICTURE:"picture",PLOT_OUTLINE:"plot_outline",POSTS:"posts",PRESS_CONTACT:"press_contact",PRICE_RANGE:"price_range",PRODUCED_BY:"produced_by",PRODUCT_PUBLISHERS:"product_publishers",PRODUCTS:"products",PROMOTABLE_POSTS:"promotable_posts",PROMOTION_ELIGIBLE:"promotion_eligible",PROMOTION_INELIGIBLE_REASON:"promotion_ineligible_reason",PUBLIC_TRANSIT:"public_transit",QUESTIONS:"questions",RATINGS:"ratings",RECORD_LABEL:"record_label",RELEASE_DATE:"release_date",RESTAURANT_SERVICES:"restaurant_services",RESTAURANT_SPECIALTIES:"restaurant_specialties",ROLES:"roles",RTB_DYNAMIC_POSTS:"rtb_dynamic_posts",SCHEDULE:"schedule",SCHEDULED_POSTS:"scheduled_posts",SCREENNAMES:"screennames",SCREENPLAY_BY:"screenplay_by",SEASON:"season",SETTINGS:"settings",STARRING:"starring",STATUSES:"statuses",STORE_NUMBER:"store_number",STUDIO:"studio",SUBSCRIBED_APPS:"subscribed_apps",TABS:"tabs",TAGGED:"tagged",TALKING_ABOUT_COUNT:"talking_about_count",THREADS:"threads",TOPIC:"topic",UNREAD_MESSAGE_COUNT:"unread_message_count",UNREAD_NOTIF_COUNT:"unread_notif_count",UNSEEN_MESSAGE_COUNT:"unseen_message_count",USERNAME:"username",USERPERMISSIONS:"userpermissions",VIDEO_COLLECTION:"video_collection",VIDEOS:"videos",VOIP_INFO:"voip_info",WEBSITE:"website",WERE_HERE_COUNT:"were_here_count",WRITTEN_BY:"written_by"};},null);
__d("BusinessConf",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={DOMAIN:"business",HOSTNAME:"business.facebook.com",BIZ_ID_PARAM_NAME:"business_id",LABEL_ID_PARAM_NAME:"label_id",ACCOUNT_ID_PARAM_NAME:"act",ACCOUNT_ID_PARAM_NAME_LONG:"account_id",ACCOUNT_IDS_PARAM_NAME_LONG:"account_ids",PAGE_ID_PARAM_NAME:"id",PAGE_ADMIN_SELECTED_KEY:"sk",PRODUCT_CATALOG_ID_PARAM_NAME:"catalog_id",PRODUCT_FEED_ID_PARAM_NAME:"feed_id",LEGACY_ADS_MANAGER_PREFIX:"\/ads\/manage\/",CAMPAIGN_MANAGER_PREFIX:"\/ads\/manager\/",SAM_PREFIX:"\/ads\/management\/",SHOW_ADD_PRODUCT_FEED_DIALOG:"add_feed",SHOW_SPLASH_PARAM_NAME:"splash",SHOW_GRAY_MIGRATE_COMPLETE_SPLASH_PARAM_NAME:"migrate",WHITELISTED_URI_CLASS:"bizOK",OPT_OUT_KEY:"do_not_redirect_to_biz_site",OPT_OUT_EXPIRE:86400,HIGHLANDER_OPT_OUT_KEY:"use_biz_page_in_highlander"};},null);
__d("ComposedBlockType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={UNSTYLED:0,PARAGRAPH:1,UNORDERED_LIST_ITEM:2,ORDERED_LIST_ITEM:3,BLOCKQUOTE:4,HEADER_ONE:5,HEADER_TWO:6,CODE:7,MEDIA:8,PULLQUOTE:9};},null);
__d("ComposedEntityMutability",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MUTABLE:0,IMMUTABLE:1,SEGMENTED:2};},null);
__d("ComposedEntityType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MENTION:0,LINK:1,IMAGE:2,VIDEO:3,EMOTICON:4,TOKEN:5,HASHTAG:6};},null);
__d("ComposedInlineStyle",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={NONE:0,BOLD:1,ITALIC:2,UNDERLINE:4,CODE:8,STRIKETHROUGH:16,SUBSCRIPT:32,SUPERSCRIPT:64};},null);
__d("MessagingRealtimeConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={VIEWER_FBID:"realtime_viewer_fbid"};},null);
__d("PageAdminTypes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MANAGER:"MANAGER",CONTENT_CREATOR:"CONTENT_CREATOR",MODERATOR:"MODERATOR",ADVERTISER:"ADVERTISER",INSIGHTS_ANALYST:"INSIGHTS_ANALYST"};},null);
__d("PagesPrivateReplyConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={Status:{REPLYABLE:"replyable",ALREADY_REPLIED:"already_replied",RECIPIENT_FILTER:"recipient_filter",EXPIRED:"expired",NOT_USER_CREATED:"not_user_created"},Type:{COMMENT_PAGE_POST:"comment_page_post",COMMENT_WALL_POST:"comment_wall_post",COMMENT_REVIEW:"comment_review",REVIEW:"review",WALL_POST:"wall_post"}};},null);
__d("PrivacyConst",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={BaseValue:{FRIEND_LIST:129,FRIENDS_PLUS_GAMER_FRIENDS:128,FRIENDS_MINUS_ACQUAINTANCES:127,FACEBOOK_EMPLOYEES:112,CUSTOM:111,EVERYONE:80,NETWORKS_FRIENDS_OF_FRIENDS:60,NETWORKS_FRIENDS:55,FRIENDS_OF_FRIENDS:50,ALL_FRIENDS:40,SELF:10,NOBODY:0},CustomPrivacyTokens:{FRIENDS:247124075410460,FRIENDS_OF_FRIENDS:498125493540100},FriendsValue:{EVERYONE:80,NETWORKS_FRIENDS:55,FRIENDS_OF_FRIENDS:50,ALL_FRIENDS:40,SOME_FRIENDS:30,SELF:10,NO_FRIENDS:0},PostParam:{EVERYONE:300645083384735,NETWORKS_FRIENDS:123780391104836,FRIENDS_OF_FRIENDS:275425949243301,FRIENDS:291667064279714,FRIENDS_MINUS_ACQUAINTANCES:284920934947802,ONLY_ME:286958161406148,FB_ONLY:411331705596297,EVENT_PUBLIC:1493271774218406,EVENT_OPEN_INVITE:854618297899786,EVENT_GUESTS_AND_FRIENDS:1439959856260766,EVENT_INVITE_ONLY:599950423437029},PrivacyField:{CURRENT_COMPOSER:8787670733,DEFAULT_COMPOSER:875106179167765,TIMELINE_TAGGED_CONTENT_VISIBILITY:8787530733,WALL_POSTS:8787370733,TAG_EXPANDED_CONTENT:8787795733,SEARCH_BY_PHONE:8787815733,SEARCH_BY_EMAIL:8787820733,CAN_FRIEND:8787540733,DEPRECATED_APP_DEFAULT:8787700733,SEARCH_BY_NAME:8787755733,SEARCH_BY_CONTACT_INFO:8787760733,SCREENNAME:8787335733,CURRENT_ADDRESS:8787355733,FRIENDS:8787365733,WEBSITE:8787375733,STATUS_UPDATES:8787395733,BIRTHDAY:8787510733,BIRTHYEAR:8787805733,CAN_COMMENT:8787535733,CAN_MESSAGE:8787545733,RELATIONSHIPS:8787550733,PROFILE_PICTURE_ALBUM:8787565733,DASHBOARD_ACTIVITY:8787575733,FAMILY:8787585733,INTERESTED_IN_LOOKING_FOR:8787590733,PLACES:8787620733,NAME_DAY:8787810733,LANGUAGES:8787625733,QUOTATIONS:8787630733,ABOUT_ME:8787635733,POLITICAL:8787640733,RELIGIOUS:8787645733,CURRENT_CITY:8787650733,HOMETOWN:8787655733,PROFILE_LIKES_AND_INTERESTS:8787660733,BLURB:8787665733,OTHER_LIKES_AND_INTERESTS:8787680733,SUBSCRIBERS:8787690733,SUBSCRIBED_TO:8787695733,PERSONAL_CONTACT_DEFAULT:8787765733,PAGE_CONTACT_DEFAULT:8787770733,AUTO_GENERATED_FB_EMAIL:8787775733,SKILLS:8787780733,CUSTOM_GENDERS:237760973066217,LOCATION_DO_NOT_WRITE_DIRECTLY:8787785733,SOCIAL_ADS:7719929599,PLATFORM_ADS:126540474531,BASS_ADS:183468681673909,ACTIVITIES:144331422306930,INTERESTS:113693108715766,MUSIC:172372399483077,BOOKS:100725463352700,GAMES:199298603444535,MOVIES:201146206594049,TV_SHOWS:129665560441221,SPORTS_PLAYED:129991670408857,FAVORITE_TEAMS:225288534151802,FAVORITE_ATHLETES:203380763033334,PEOPLE_I_ADMIRE:210380795648667,FAVORITE_FOODS:585935528106425,FAVORITE_RESTAURANTS:172588449584647,FAVORITE_WEBSITES:180412195459106,CLOTHING_BRANDS:397391233714082,LAST_POST_PRIVACY:314763985364212,SECOND_TO_LAST_POST_PRIVACY:321179124722698,PREVIOUS_SECONDARY_COMPOSER:864562253561430,RECENT_COMPOSER:358304524327898,NOW_COMPOSER:421290164697736},TagExpansion:{NONE:0,TAGGEES:1,FRIENDS_OF_TAGGEES:2}};},null);
__d("ProfileTabConst",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ALL_ACTIVITY:"allactivity",APPROVAL:"approve",APPS:"apps",BOXES:"box_3",COMMERCE:"shop",DEALS:"deals",DRAFT_NOTES:"notes_drafts",EVENTS:"events",FAVORITES:"favorites",FOLLOWERS:"followers",FOLLOWING:"following",FRIENDS:"friends",FRIENDS_MUTUAL:"friends_mutual",GROUPS:"groups",INBOX_MESSAGES:"messages_inbox",INFO:"info",LIKES:"likes",LOCATIONS:"locations",MAP:"map",MEMORIAL_CONTACT:"legacy_contact",MESSAGES:"messages",NEARBY:"nearby",NOTES:"notes",OTHER_MESSAGES:"messages_other",OVERVIEW:"about",PAST_EVENTS:"pe",PHOTOS:"photos",PHOTOS_ALBUM:"media_set",PHOTOS_ALBUMS:"photos_albums",PHOTOS_STREAM:"photos_stream",PHOTOS_SYNCED:"photos_synced",POSTS:"posts",POSTS_OTHERS:"posts_to_page",RESUME:"resume",REVIEWS:"reviews",SAVED_FOR_LATER:"saved",SPORTS:"sports",TAGGED_NOTES:"notes_tagged",TIMELINE:"timeline",VIDEOS:"videos",WALL:"wall",WALL_ADMIN:"wall_admin",WIKIPEDIA:"wiki",PAGE_GETTING_STARTED:"page_getting_started",PAGE_MAP:"page_map",PAGE_MENU:"menu",PAGE_PRODUCTS:"products",PAGE_SERVICES:"services",PAGES_CONTENT_TAB:"content_tab",OG_APP_URL_PREFIX:"app_",OG_APPID_PREFIX:"og_app_",OG_NAMESPACE_PREFIX:"og_ns_",OG_BOOKS:"books",OG_FITNESS:"fitness",OG_GAMES:"games",OG_MOVIES:"movies",OG_MUSIC:"music",OG_NEWS:"news",OG_TV_SHOWS:"tv",OG_VIDEO:"video"};},null);
__d("SpotlightViewerLoggingEvents",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={LOADED:"loaded",LOADING:"loading",ERROR:"error",ABORT:"abort",OPEN_BEGIN:"open_begin",OPEN_COMPLETE:"open_complete",CLOSE_BEGIN:"close_begin",CLOSE_COMPLETE:"close_complete",PAGE_BEGIN:"page_begin",PAGE_COMPLETE:"page_complete",PHOTO_CHANGE_BEGIN:"photo_change_begin",PHOTO_CHANGE_COMPLETE:"photo_change_complete",DATA_FETCH_BEGIN:"data_fetch_begin",DATA_FETCH_COMPLETE:"data_fetch_complete",PHOTO_FETCH:"photo_fetch"};},null);
__d("StickerConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MOBILE_LIKE_STICKER_PACK_ID:"227877430692340",GRAVEYARD_PACK_ID:"604597256247273",LIKE_STICKER_ID:"227878347358915",HOT_LIKE_SMALL_STICKER_ID:"369239263222822",HOT_LIKE_MEDIUM_STICKER_ID:"369239343222814",HOT_LIKE_LARGE_STICKER_ID:"369239383222810",MRU_STICKER_PACK:"599061016853145",SEARCH_PACK_ID:"680229632032514",SPRITE_PADDING:"24",PayloadSource:{VIEW_ACTION:"view-action"},ActionTypes:{ADD_PACK:"ADD_PACK",REMOVE_PACK:"REMOVE_PACK",SELECT_PACK:"SELECT_PACK",RESET_NUM_NEW_PACKS:"RESET_NUM_NEW_PACKS"},EMOTICON_PACK_ID:"1471127876485636",DEFAULT_FRAME_RATE:83,TRAY_SIZE:64,THREAD_SIZE:120};},null);
__d("StickerInterfaces",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MESSAGES:"messages",COMMENTS:"comments",STICKERED:"stickered",COMPOSER:"composer"};},null);
__d("SyncRequestStatusEnum",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={PENDING:0,ACCEPTED:1,REJECTED:2,EXPIRED:3,CANCELED:4,namesByValue:["PENDING","ACCEPTED","REJECTED","EXPIRED","CANCELED"]};},null);
__d("TrackingNodeTypes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={HEADLINE:1,USER_NAME:2,ACTOR_PHOTO:3,ACTION_LINKS:4,LIKE_LINK:5,UNLIKE_LINK:6,PARTICIPANT:7,PRONOUN:8,ROBOTEXT:9,TITLE:10,MEDIA_GENERIC:11,PHOTO:12,VIDEO:13,MUSIC:14,ATTACHMENT:15,NAME_LIST:16,SHARE_LINK:17,USER_MESSAGE:18,SUBTITLE:19,DESCRIPTION:20,SOURCE:21,BLINGBOX:22,OTHER:23,VIEW_ALL_COMMENTS:24,COMMENT:25,COMMENT_LINK:26,SMALL_ACTOR_PHOTO:27,SUBSTORY:28,XBUTTON:29,HIDE_LINK:30,REPORT_SPAM_LINK:31,HIDE_ALL_LINK:32,BAD_AGGREGATION_LINK:33,ADD_COMMENT_BOX:34,APP_CALL_TO_ACTION:35,UFI:36,OG_LEFT_SLIDE_PAGER:37,OG_RIGHT_SLIDE_PAGER:38,EXP_CALL_TO_ACTION:39,LARGE_MEDIA_ATTACHMENT:40,FAN_PAGE:42,UNFAN_PAGE:43,SEE_MORE:44,COLLECTION_ROBOTEXT_LINK:45,COLLECTION_ACTION_LINK:46,COLLECTION_TICKER_LINK:47,SPONSORED_LINK:49,PAGE_LINK:50,SOCIAL_CONTEXT:51,SOCIAL_ACTOR_PHOTO:52,OFFERS_CLAIM:53,OFFERS_CLICK:54,DROPDOWN_BUTTON:55,EVENT_VIEW:56,EVENT_RSVP:57,ADS_SHIMMED_LINK:58,COLLECTION_ADD_BUTTON:59,EVENT_INVITE_FRIENDS:60,RHC_AD:61,AD_CREATIVE_TITLE:62,AD_CREATIVE_BODY:63,AD_CREATIVE_IMAGE:64,AD_SOCIAL_SENTENCE:65,APP_NAME:66,GROUP_JOIN:67,PAGE_COVER_PHOTO:68,PAGE_PROFILE_PIC:69,AD_IDENTITY:70,UNHIDE_LINK:71,TRENDING_TOPIC_LINK:72,RELATED_SHARE_ARTICLE:73,OFFERS_USE_NOW:74,RELATED_SHARE_VIDEO:75,RHC_CARD:76,RHC_CARD_HIDE:77,RHC_SIMPLIFICATION:78,RHC_SIMPLIFICATION_HIDE:79,TOPIC_PIVOT_HEADER:80,ADD_FRIEND_BUTTON:81,SNOWLIFT:82,SNOWLIFT_MESSAGE:83,OFFERS_RESEND:84,RHC_LINK_OPEN:85,GENERIC_CALL_TO_ACTION_BUTTON:86,AD_LOGOUT:87,RHC_PHOTO_SLIDER:88,RHC_COMMENT_BUTTON:89,HASHTAG:90,NOTE:91,RELATED_SHARE_ARTICLE_HIDE:92,RELATED_SHARE_VIDEO_HIDE:93,NEKO_PREVIEW:94,OG_COMPOSER_OBJECT:95,INSTALL_ACTION:96,SPONSORED_CONTEXT:97,DIGITAL_GOOD:98,STORY_FOOTER:99,STORY_LOCATION:100,ADD_PHOTO_ACTION:101,ACTION_ICON:102,EGO_FEED_UNIT:103,PLACE_STAR_SURVEY:104,REVIEW_MENU:105,SAVE_ACTION:106,PHOTO_GALLERY:107,SUB_ATTACHMENT:108,FEEDBACK_SECTION:109,ALBUM:110,ALBUM_COLLAGE:111,AVATAR_LIST:112,STORY_LIST:113,MEDIA_CONTROLS:114,ZERO_UPSELL_BUY:115,ZERO_UPSELL_FEED_UNIT:116,RATING:117,PERMALINK_COMMENT:118,LIKE_COUNT:119,RETRY_BUTTON:120,TIMELINE_GIFTS:121,NEARBY_FRIENDS_LIST:122,PRESENCE_UNIT:123,EVENT_INVITE_SENT:124,ATTACHMENT_TITLE:125,HSCROLL_PAGER:126,STORY_MESSAGE:127,STATUS_LINK:128,ADD_MEDIA_LINK:129,ADD_QUESTION_LINK:130,START_Q_AND_A_LINK:131,UPLOAD_FILE_LINK:132,START_CONVERSATION_LINK:133,ATTACH_LIFE_EVENT_LINK:134,ATTACH_PLACE_LINK:135,COVER_PHOTO_EDIT_LINK:136,SHOW_LIKES:137,ROTATE_LEFT_BUTTON:138,ROTATE_RIGHT_BUTTON:139,TAG_LINK:140,CLOSE_BUTTON:141,PAGER_NEXT:142,PAGER_PREVIOUS:143,FULLSCREEN_BUTTON:144,ACTIONS:145,CURATION_MENU:146,PROFILE_PIC_EDIT_LINK:147,VIEW_ALL_SHARES:148,THUMBNAIL_LINK:149,EDIT_HISTORY:150,ADD_TO_THREAD:151,SIDEBAR:152,HOME_SIDENAV:153,BUDDYLIST_NUB:154,TITLEBAR:155,SEND_BUTTON:156,CONVERSATION:157,CHAT_FLYOUT:158,INPUT:159,EMOTICONS:160,VIDEOCHAT:161,TYPEAHEAD:162,OPTIONS_MENU:163,BOOST_POST_BUTTON:164,TOGGLE_BUTTON:165,CHAT_SIDEBAR_FOOTER:166,GRIPPER:167,BOOKMARK_ITEM:168,BOOKMARKS_SECTION:169,BOOKMARKS_NAV:170,RHC:171,RHC_HEADER:172,SIDE_ADS:173,BUDDY_LIST:174,SHOW_ADS_FEED:184,VIDEO_IN_PLAY_CALL_TO_ACTION_BUTTON:185,VIDEO_ENDSCREEN_CALL_TO_ACTION_BUTTON:186,INLINE_PHOTO_PIVOTS_HIDE:187,VIDEO_CALL_TO_ACTION_ENDSCREEN_REPLAY:188,APP_ATTACHMENT:189,ACTIVITY_LINK:190,SAVE_BUTTON:191,SEE_MORE_PHOTO_PAGE_POST_BUTTON:192,BUY_VIRTUAL_GOOD:193,SAVE_SECONDARY_MENU:194,MPP_INSIGHTS:195,WAP_FOOTER:196,GROUP_CANCEL:197,GROUP_LEAVE:198,MESSAGE_LINK:199,VIDEO_SPONSORSHIP_LABEL:200,MULTI_ATTACHMENT_PAGER_NEXT:201,MULTI_ATTACHMENT_PAGER_PREV:202,WEB_CLICK:203,COMPOSER_POST:204,UNUSED:-1};},null);
__d("UFITranslationConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={BING_PAGE_URL:"http:\/\/bing.com\/translator",BING_TRANSLATOR_APP:"bing",FB_TRANSLATOR_APP:"fb"};},null);
__d("VideoPlayerReason",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={AUTOPLAY:"autoplay_initiated",USER:"user_initiated",PAGE_VISIBILITY:"page_visibility_initiated",SEEK:"seek_initiated"};},null);
__d("InstanceProxy",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";this.$InstanceProxy0=h;}g.prototype.getInstance=function(){"use strict";return this.$InstanceProxy0;};e.exports=g;},null);
__d("getVendorPrefixedName",["ExecutionEnvironment","UserAgent","camelize","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={},l=['Webkit','ms','Moz','O'],m=new RegExp('^('+l.join('|')+')'),n=g.canUseDOM?document.createElement('div').style:{};function o(r){for(var s=0;s<l.length;s++){var t=l[s]+r;if(t in n)return t;}return null;}function p(r){switch(r){case 'lineClamp':if(h.isEngine('WebKit >= 315.14.2'))return 'WebkitLineClamp';return null;default:return null;}}function q(r){var s=i(r);if(k[s]===(void 0)){var t=s.charAt(0).toUpperCase()+s.slice(1);if(m.test(t))j(false);if(g.canUseDOM){k[s]=(s in n)?s:o(t);}else k[s]=p(s);}return k[s];}e.exports=q;},null);
__d("BrowserSupportCore",["getVendorPrefixedName"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={hasCSSAnimations:function(){return !!g('animationName');},hasCSSTransforms:function(){return !!g('transform');},hasCSS3DTransforms:function(){return !!g('perspective');},hasCSSTransitions:function(){return !!g('transition');}};e.exports=h;},null);
__d("BrowserSupport",["BrowserSupportCore","DOM","ExecutionEnvironment","UserAgent_DEPRECATED","getVendorPrefixedName"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l={},m=i.canUseDOM?document.createElement('div'):null,n={hasCSSAnimations:g.hasCSSAnimations,hasCSSTransforms:g.hasCSSTransforms,hasCSS3DTransforms:g.hasCSS3DTransforms,hasCSSTransitions:g.hasCSSTransitions,hasPositionSticky:function(){if(!i.canUseDOM)return false;if(l.sticky===(void 0)){m.style.cssText='position:-moz-sticky;position:-webkit-sticky;'+'position:-o-sticky;position:-ms-sticky;position:sticky;';l.sticky=/sticky/.test(m.style.position);}return l.sticky;},hasPointerEvents:function(){if(!i.canUseDOM)return false;if(l.pointerEvents===(void 0))if(!('pointerEvents' in m.style)){l.pointerEvents=false;}else{m.style.pointerEvents='auto';m.style.pointerEvents='x';h.appendContent(document.documentElement,m);l.pointerEvents=window.getComputedStyle&&getComputedStyle(m,'').pointerEvents==='auto';h.remove(m);}return l.pointerEvents;},hasFileAPI:function(){if(l.fileAPI===(void 0))l.fileAPI=!(j.webkit()&&!j.chrome()&&j.windows())&&'FileList' in window&&'FormData' in window;return l.fileAPI;},hasBlobFactory:function(){if(l.blobFactory===(void 0))l.blobFactory=!!a.blob;return l.blobFactory;},getTransitionEndEvent:function(){if(l.transitionEnd===(void 0)){var o={transition:'transitionend',WebkitTransition:'webkitTransitionEnd',MozTransition:'mozTransitionEnd',OTransition:'oTransitionEnd'},p=k('transition');l.transitionEnd=o[p]||null;}return l.transitionEnd;},hasClipboardEvents:function(){if(!i.canUseDOM)return false;if(l.clipboardEvents===(void 0)){var o=document.createElement('textarea'),p='oncut',q=(p in o);if(!q){o.setAttribute(p,'return;');q=typeof o[p]=='function';}l.clipboardEvents=q;}return l.clipboardEvents;},hasCanvasRenderingContext2D:function(){return !!window.CanvasRenderingContext2D;}};e.exports=n;},null);
__d("shield",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){if(typeof h!='function')throw new TypeError();var j=Array.prototype.slice.call(arguments,2);return function(){return h.apply(i,j);};}e.exports=g;},null);
__d("Animation",["BrowserSupport","CSS","DataStore","DOM","Style","getVendorPrefixedName","setIntervalAcrossTransitions","setTimeoutAcrossTransitions","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p,q=[],r;function s(ja){if(a==this){return new s(ja);}else{this.obj=ja;this._reset_state();this.queue=[];this.last_attr=null;}}function t(ja){if(g.hasCSS3DTransforms()){return w(ja);}else return v(ja);}function u(ja){return ja.toFixed(8);}function v(ja){ja=[ja[0],ja[4],ja[1],ja[5],ja[12],ja[13]];return 'matrix('+ja.map(u).join(',')+')';}function w(ja){return 'matrix3d('+ja.map(u).join(',')+')';}function x(ja,ka){if(!ja)ja=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];var la=[];for(var ma=0;ma<4;ma++)for(var na=0;na<4;na++){var oa=0;for(var pa=0;pa<4;pa++)oa+=ja[ma*4+pa]*ka[pa*4+na];la[ma*4+na]=oa;}return la;}var y=0;s.prototype._reset_state=function(){this.state={attrs:{},duration:500};};s.prototype.stop=function(){this._reset_state();this.queue=[];return this;};s.prototype._build_container=function(){if(this.container_div){this._refresh_container();return;}if(this.obj.firstChild&&this.obj.firstChild.__animation_refs){this.container_div=this.obj.firstChild;this.container_div.__animation_refs++;this._refresh_container();return;}var ja=document.createElement('div');ja.style.padding='0px';ja.style.margin='0px';ja.style.border='0px';ja.__animation_refs=1;var ka=this.obj.childNodes;while(ka.length)ja.appendChild(ka[0]);this.obj.appendChild(ja);this._orig_overflow=this.obj.style.overflow;this.obj.style.overflow='hidden';this.container_div=ja;this._refresh_container();};s.prototype._refresh_container=function(){this.container_div.style.height='auto';this.container_div.style.width='auto';this.container_div.style.height=this.container_div.offsetHeight+'px';this.container_div.style.width=this.container_div.offsetWidth+'px';};s.prototype._destroy_container=function(){if(!this.container_div)return;if(!--this.container_div.__animation_refs){var ja=this.container_div.childNodes;while(ja.length)this.obj.appendChild(ja[0]);this.obj.removeChild(this.container_div);}this.container_div=null;this.obj.style.overflow=this._orig_overflow;};var z=1,aa=2,ba=3;s.prototype._attr=function(ja,ka,la){ja=ja.replace(/-[a-z]/gi,function(na){return na.substring(1).toUpperCase();});var ma=false;switch(ja){case 'background':this._attr('backgroundColor',ka,la);return this;case 'backgroundColor':case 'borderColor':case 'color':ka=fa(ka);break;case 'opacity':ka=parseFloat(ka,10);break;case 'height':case 'width':if(ka=='auto'){ma=true;}else ka=parseInt(ka,10);break;case 'borderWidth':case 'lineHeight':case 'fontSize':case 'margin':case 'marginBottom':case 'marginLeft':case 'marginRight':case 'marginTop':case 'padding':case 'paddingBottom':case 'paddingLeft':case 'paddingRight':case 'paddingTop':case 'bottom':case 'left':case 'right':case 'top':case 'scrollTop':case 'scrollLeft':ka=parseInt(ka,10);break;case 'rotateX':case 'rotateY':case 'rotateZ':ka=parseInt(ka,10)*Math.PI/180;break;case 'translateX':case 'translateY':case 'translateZ':case 'scaleX':case 'scaleY':case 'scaleZ':ka=parseFloat(ka,10);break;case 'rotate3d':this._attr('rotateX',ka[0],la);this._attr('rotateY',ka[1],la);this._attr('rotateZ',ka[2],la);return this;case 'rotate':this._attr('rotateZ',ka,la);return this;case 'scale3d':this._attr('scaleZ',ka[2],la);case 'scale':this._attr('scaleX',ka[0],la);this._attr('scaleY',ka[1],la);return this;case 'translate3d':this._attr('translateZ',ka[2],la);case 'translate':this._attr('translateX',ka[0],la);this._attr('translateY',ka[1],la);return this;default:throw new Error(ja+' is not a supported attribute!');}if(this.state.attrs[ja]===(void 0))this.state.attrs[ja]={};if(ma)this.state.attrs[ja].auto=true;switch(la){case ba:this.state.attrs[ja].start=ka;break;case aa:this.state.attrs[ja].by=true;case z:this.state.attrs[ja].value=ka;break;}};function ca(ja){var ka=parseInt(k.get(ja,'paddingLeft'),10),la=parseInt(k.get(ja,'paddingRight'),10),ma=parseInt(k.get(ja,'borderLeftWidth'),10),na=parseInt(k.get(ja,'borderRightWidth'),10);return ja.offsetWidth-(ka?ka:0)-(la?la:0)-(ma?ma:0)-(na?na:0);}function da(ja){var ka=parseInt(k.get(ja,'paddingTop'),10),la=parseInt(k.get(ja,'paddingBottom'),10),ma=parseInt(k.get(ja,'borderTopWidth'),10),na=parseInt(k.get(ja,'borderBottomWidth'),10);return ja.offsetHeight-(ka?ka:0)-(la?la:0)-(ma?ma:0)-(na?na:0);}s.prototype.to=function(ja,ka){if(ka===(void 0)){this._attr(this.last_attr,ja,z);}else{this._attr(ja,ka,z);this.last_attr=ja;}return this;};s.prototype.by=function(ja,ka){if(ka===(void 0)){this._attr(this.last_attr,ja,aa);}else{this._attr(ja,ka,aa);this.last_attr=ja;}return this;};s.prototype.from=function(ja,ka){if(ka===(void 0)){this._attr(this.last_attr,ja,ba);}else{this._attr(ja,ka,ba);this.last_attr=ja;}return this;};s.prototype.duration=function(ja){this.state.duration=ja?ja:0;return this;};s.prototype.checkpoint=function(ja,ka){if(ja===(void 0))ja=1;this.state.checkpoint=ja;this.queue.push(this.state);this._reset_state();this.state.checkpointcb=ka;return this;};s.prototype.blind=function(){this.state.blind=true;return this;};s.prototype.hide=function(){this.state.hide=true;return this;};s.prototype.show=function(){this.state.show=true;return this;};s.prototype.ease=function(ja){this.state.ease=ja;return this;};s.prototype.go=function(){var ja=Date.now();this.queue.push(this.state);for(var ka=0;ka<this.queue.length;ka++){this.queue[ka].start=ja-y;if(this.queue[ka].checkpoint)ja+=this.queue[ka].checkpoint*this.queue[ka].duration;}ga(this);return this;};s.prototype._show=function(){h.show(this.obj);};s.prototype._hide=function(){h.hide(this.obj);};s.prototype._frame=function(ja){var ka=true,la=false,ma;function na(kb){return document.documentElement[kb]||document.body[kb];}function oa(kb,lb){return ((kb===document.body)?na(lb):kb[lb]);}function pa(kb,lb){return (lb.lastScrollTop!==oa(kb.obj,'scrollTop')||lb.lastScrollLeft!==oa(kb.obj,'scrollLeft'));}function qa(kb,lb){lb.lastScrollTop=oa(kb.obj,'scrollTop');lb.lastScrollLeft=oa(kb.obj,'scrollLeft');}for(var ra=0;ra<this.queue.length;ra++){var sa=this.queue[ra];if(sa.start>ja){ka=false;continue;}if(sa.checkpointcb){this._callback(sa.checkpointcb,ja-sa.start);sa.checkpointcb=null;}if(sa.started===(void 0)){if(sa.show)this._show();for(var ta in sa.attrs){if(sa.attrs[ta].start!==(void 0))continue;switch(ta){case 'backgroundColor':case 'borderColor':case 'color':ma=fa(k.get(this.obj,ta=='borderColor'?'borderLeftColor':ta));if(sa.attrs[ta].by){sa.attrs[ta].value[0]=Math.min(255,Math.max(0,sa.attrs[ta].value[0]+ma[0]));sa.attrs[ta].value[1]=Math.min(255,Math.max(0,sa.attrs[ta].value[1]+ma[1]));sa.attrs[ta].value[2]=Math.min(255,Math.max(0,sa.attrs[ta].value[2]+ma[2]));}break;case 'opacity':ma=k.getOpacity(this.obj);if(sa.attrs[ta].by)sa.attrs[ta].value=Math.min(1,Math.max(0,sa.attrs[ta].value+ma));break;case 'height':ma=da(this.obj);if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;break;case 'width':ma=ca(this.obj);if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;break;case 'scrollLeft':case 'scrollTop':ma=oa(this.obj,ta);if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;qa(this,sa);break;case 'rotateX':case 'rotateY':case 'rotateZ':case 'translateX':case 'translateY':case 'translateZ':ma=i.get(this.obj,ta,0);if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;break;case 'scaleX':case 'scaleY':case 'scaleZ':ma=i.get(this.obj,ta,1);if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;break;default:ma=parseInt(k.get(this.obj,ta),10)||0;if(sa.attrs[ta].by)sa.attrs[ta].value+=ma;break;}sa.attrs[ta].start=ma;}if((sa.attrs.height&&sa.attrs.height.auto)||(sa.attrs.width&&sa.attrs.width.auto)){this._destroy_container();for(var ta in {height:1,width:1,fontSize:1,borderLeftWidth:1,borderRightWidth:1,borderTopWidth:1,borderBottomWidth:1,paddingLeft:1,paddingRight:1,paddingTop:1,paddingBottom:1})if(sa.attrs[ta])this.obj.style[ta]=sa.attrs[ta].value+(typeof sa.attrs[ta].value=='number'?'px':'');if(sa.attrs.height&&sa.attrs.height.auto)sa.attrs.height.value=da(this.obj);if(sa.attrs.width&&sa.attrs.width.auto)sa.attrs.width.value=ca(this.obj);}sa.started=true;if(sa.blind)this._build_container();}var ua=(ja-sa.start)/sa.duration;if(ua>=1){ua=1;if(sa.hide)this._hide();}else ka=false;var va=sa.ease?sa.ease(ua):ua;if(!la&&ua!=1&&sa.blind)la=true;for(var ta in sa.attrs)switch(ta){case 'backgroundColor':case 'borderColor':case 'color':if(sa.attrs[ta].start[3]!=sa.attrs[ta].value[3]){this.obj.style[ta]='rgba('+ea(va,sa.attrs[ta].start[0],sa.attrs[ta].value[0],true)+','+ea(va,sa.attrs[ta].start[1],sa.attrs[ta].value[1],true)+','+ea(va,sa.attrs[ta].start[2],sa.attrs[ta].value[2],true)+','+ea(va,sa.attrs[ta].start[3],sa.attrs[ta].value[3],false)+')';}else this.obj.style[ta]='rgb('+ea(va,sa.attrs[ta].start[0],sa.attrs[ta].value[0],true)+','+ea(va,sa.attrs[ta].start[1],sa.attrs[ta].value[1],true)+','+ea(va,sa.attrs[ta].start[2],sa.attrs[ta].value[2],true)+')';break;case 'opacity':k.set(this.obj,'opacity',ea(va,sa.attrs[ta].start,sa.attrs[ta].value));break;case 'height':case 'width':this.obj.style[ta]=va==1&&sa.attrs[ta].auto?'auto':ea(va,sa.attrs[ta].start,sa.attrs[ta].value,true)+'px';break;case 'scrollLeft':case 'scrollTop':var wa=this.obj===document.body;if(pa(this,sa)){delete sa.attrs.scrollTop;delete sa.attrs.scrollLeft;}else{var xa=ea(va,sa.attrs[ta].start,sa.attrs[ta].value,true);if(!wa){this.obj[ta]=xa;}else if(ta=='scrollLeft'){a.scrollTo(xa,na('scrollTop'));}else a.scrollTo(na('scrollLeft'),xa);qa(this,sa);}break;case 'translateX':case 'translateY':case 'translateZ':case 'rotateX':case 'rotateY':case 'rotateZ':case 'scaleX':case 'scaleY':case 'scaleZ':i.set(this.obj,ta,ea(va,sa.attrs[ta].start,sa.attrs[ta].value,false));break;default:this.obj.style[ta]=ea(va,sa.attrs[ta].start,sa.attrs[ta].value,true)+'px';break;}var ya=null,za=i.get(this.obj,'translateX',0),ab=i.get(this.obj,'translateY',0),bb=i.get(this.obj,'translateZ',0);if(za||ab||bb)ya=x(ya,[1,0,0,0,0,1,0,0,0,0,1,0,za,ab,bb,1]);var cb=i.get(this.obj,'scaleX',1),db=i.get(this.obj,'scaleY',1),eb=i.get(this.obj,'scaleZ',1);if(cb-1||db-1||eb-1)ya=x(ya,[cb,0,0,0,0,db,0,0,0,0,eb,0,0,0,0,1]);var fb=i.get(this.obj,'rotateX',0);if(fb)ya=x(ya,[1,0,0,0,0,Math.cos(fb),Math.sin(-fb),0,0,Math.sin(fb),Math.cos(fb),0,0,0,0,1]);var gb=i.get(this.obj,'rotateY',0);if(gb)ya=x(ya,[Math.cos(gb),0,Math.sin(gb),0,0,1,0,0,Math.sin(-gb),0,Math.cos(gb),0,0,0,0,1]);var hb=i.get(this.obj,'rotateZ',0);if(hb)ya=x(ya,[Math.cos(hb),Math.sin(-hb),0,0,Math.sin(hb),Math.cos(hb),0,0,0,0,1,0,0,0,0,1]);var ib=l('transform');if(ib)if(ya){var jb=t(ya);k.set(this.obj,ib,jb);}else if(ka)k.set(this.obj,ib,null);if(ua==1){this.queue.splice(ra--,1);this._callback(sa.ondone,ja-sa.start-sa.duration);}}if(!la&&this.container_div)this._destroy_container();return !ka;};s.prototype.ondone=function(ja){this.state.ondone=ja;return this;};s.prototype._callback=function(ja,ka){if(ja){y=ka;ja.call(this);y=0;}};function ea(ja,ka,la,ma){return (ma?parseInt:parseFloat)((la-ka)*ja+ka,10);}function fa(ja){var ka=/^#([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})$/i.exec(ja);if(ka){return [parseInt(ka[1].length==1?ka[1]+ka[1]:ka[1],16),parseInt(ka[2].length==1?ka[2]+ka[2]:ka[2],16),parseInt(ka[3].length==1?ka[3]+ka[3]:ka[3],16),1];}else{var la=/^rgba? *\(([0-9]+), *([0-9]+), *([0-9]+)(?:, *([0-9\.]+))?\)$/.exec(ja);if(la){return [parseInt(la[1],10),parseInt(la[2],10),parseInt(la[3],10),la[4]?parseFloat(la[4]):1];}else if(ja=='transparent'){return [255,255,255,0];}else throw 'Named color attributes are not supported.';}}function ga(ja){q.push(ja);if(q.length===1){if(!p){var ka=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame;if(ka)p=ka.bind(a);}if(p){p(ia);}else r=m(ia,20);}if(p)ha();ia(Date.now(),true);}function ha(){if(!p)throw new Error('Ending timer only valid with requestAnimationFrame');var ja=0;for(var ka=0;ka<q.length;ka++){var la=q[ka];for(var ma=0;ma<la.queue.length;ma++){var na=la.queue[ma].start+la.queue[ma].duration;if(na>ja)ja=na;}}if(r){clearTimeout(r);r=null;}var oa=Date.now();if(ja>oa)r=n(o(ia),ja-oa);}function ia(ja,ka){var la=Date.now();for(var ma=(ka===true)?q.length-1:0;ma<q.length;ma++)try{if(!q[ma]._frame(la))q.splice(ma--,1);}catch(na){q.splice(ma--,1);}if(q.length===0){if(r){if(p){clearTimeout(r);}else clearInterval(r);r=null;}}else if(p)p(ia);}s.ease={};s.ease.begin=function(ja){return Math.sin(Math.PI/2*(ja-1))+1;};s.ease.end=function(ja){return Math.sin(.5*Math.PI*ja);};s.ease.both=function(ja){return .5*Math.sin(Math.PI*(ja-.5))+.5;};s.prependInsert=function(ja,ka){s.insert(ja,ka,j.prependContent);};s.appendInsert=function(ja,ka){s.insert(ja,ka,j.appendContent);};s.insert=function(ja,ka,la){k.set(ka,'opacity',0);la(ja,ka);new s(ka).from('opacity',0).to('opacity',1).duration(400).go();};e.exports=s;},null);
__d("Rect",["Vector","$","copyProperties"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l,m,n,o){"use strict";if(arguments.length===1){if(k instanceof j)return k;if(k instanceof g)return new j(k.y,k.x,k.y,k.x,k.domain);return j.getElementBounds(h(k));}i(this,{t:k,r:l,b:m,l:n,domain:o||'pure'});}j.prototype.w=function(){"use strict";return this.r-this.l;};j.prototype.h=function(){"use strict";return this.b-this.t;};j.prototype.toString=function(){"use strict";return '(('+this.l+', '+this.t+'), ('+this.r+', '+this.b+'))';};j.prototype.contains=function(k){"use strict";k=new j(k).convertTo(this.domain);var l=this;return (l.l<=k.l&&l.r>=k.r&&l.t<=k.t&&l.b>=k.b);};j.prototype.isEqualTo=function(k){"use strict";return (this.t===k.t&&this.r===k.r&&this.b===k.b&&this.l===k.l&&this.domain===k.domain);};j.prototype.add=function(k,l){"use strict";if(arguments.length==1){if(k.domain!='pure')k=k.convertTo(this.domain);return this.add(k.x,k.y);}var m=parseFloat(k),n=parseFloat(l);return new j(this.t+n,this.r+m,this.b+n,this.l+m,this.domain);};j.prototype.sub=function(k,l){"use strict";if(arguments.length==1){return this.add(k.mul(-1));}else return this.add(-k,-l);};j.prototype.rotateAroundOrigin=function(k){"use strict";var l=this.getCenter().rotate(k*Math.PI/2),m,n;if(k%2){m=this.h();n=this.w();}else{m=this.w();n=this.h();}var o=l.y-n/2,p=l.x-m/2,q=o+n,r=p+m;return new j(o,r,q,p,this.domain);};j.prototype.boundWithin=function(k){"use strict";var l=0,m=0;if(this.l<k.l){l=k.l-this.l;}else if(this.r>k.r)l=k.r-this.r;if(this.t<k.t){m=k.t-this.t;}else if(this.b>k.b)m=k.b-this.b;return this.add(l,m);};j.prototype.getCenter=function(){"use strict";return new g(this.l+this.w()/2,this.t+this.h()/2,this.domain);};j.prototype.getTop=function(){"use strict";return this.t;};j.prototype.getLeft=function(){"use strict";return this.l;};j.prototype.getPositionVector=function(){"use strict";return new g(this.l,this.t,this.domain);};j.prototype.getDimensionVector=function(){"use strict";return new g(this.w(),this.h(),'pure');};j.prototype.convertTo=function(k){"use strict";if(this.domain==k)return this;if(k=='pure')return new j(this.t,this.r,this.b,this.l,'pure');if(this.domain=='pure')return new j(0,0,0,0);var l=new g(this.l,this.t,this.domain).convertTo(k);return new j(l.y,l.x+this.w(),l.y+this.h(),l.x,k);};j.deserialize=function(k){"use strict";var l=k.split(':');return new j(parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3]),parseFloat(l[0]));};j.newFromVectors=function(k,l){"use strict";return new j(k.y,k.x+l.x,k.y+l.y,k.x,k.domain);};j.getElementBounds=function(k){"use strict";return j.newFromVectors(g.getElementPosition(k),g.getElementDimensions(k));};j.getViewportBounds=function(){"use strict";return j.newFromVectors(g.getScrollPosition(),g.getViewportDimensions());};j.getViewportWithoutScrollbarsBounds=function(){"use strict";return j.newFromVectors(g.getScrollPosition(),g.getViewportWithoutScrollbarDimensions());};j.minimumBoundingBox=function(k){"use strict";var l=new j(Math.min(),Math.max(),Math.max(),Math.min()),m;for(var n=0;n<k.length;n++){m=k[n];l.t=Math.min(l.t,m.t);l.r=Math.max(l.r,m.r);l.b=Math.max(l.b,m.b);l.l=Math.min(l.l,m.l);}return l;};e.exports=j;},null);
__d("ContextualBlind",["Event","Animation","Arbiter","DOM","Rect","Vector","$","cx","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=0,q=1,r=.8,s=500;function t(){"use strict";}t.prototype.$ContextualBlind0=function(){"use strict";this.$ContextualBlind1&&i.unsubscribe(this.$ContextualBlind1);this.$ContextualBlind1=null;this.$ContextualBlind2=[];this.$ContextualBlind3&&this.$ContextualBlind3.remove();this.$ContextualBlind3=null;this.$ContextualBlind4&&j.remove(this.$ContextualBlind4);this.$ContextualBlind5=false;};t.prototype.show=function(u,v,w,x,y,z,aa,ba){"use strict";if(aa==null)aa=r;ba=ba||p;this.hide();var ca=(ba===p)?"_2xgb":"_2xgc";for(var da=0;da<4;da++)this.$ContextualBlind2.push(j.create('div',{className:ca,style:'opacity:'+aa}));j.appendContent(document.body,this.$ContextualBlind2);if(z!==false){ca=(ba===p)?"_2xgd":"_2xge";this.$ContextualBlind4=j.create('div',{className:ca});j.appendContent(document.body,this.$ContextualBlind4);}var ea=o(this.updatePosition,this,u,v,w,x,y);ea();this.$ContextualBlind1=i.subscribe('reflow',ea);this.$ContextualBlind3=g.listen(window,'resize',ea);this.$ContextualBlind5=true;};t.prototype.fadeIn=function(u,v,w,x,y,z,aa,ba){"use strict";ba=ba||s;if(aa==null)aa=r;this.show(u,v,w,x,y,z,aa,p);if(this.$ContextualBlind5)return;for(var ca=0;ca<this.$ContextualBlind2.length;ca++){var da=this.$ContextualBlind2[ca];new h(da).duration(ba).from('opacity',0).to('opacity',aa).go();}};t.prototype.hide=function(){"use strict";this.$ContextualBlind2&&this.$ContextualBlind2.forEach(j.remove);this.$ContextualBlind0();};t.prototype.fadeOut=function(){"use strict";for(var u=0;u<this.$ContextualBlind2.length;u++){var v=this.$ContextualBlind2[u];new h(v).duration(s).from('opacity',r).to('opacity',0).ondone(j.remove.bind(null,v)).go();}this.$ContextualBlind0();};t.prototype.$ContextualBlind6=function(u,v){"use strict";v.getPositionVector().setElementPosition(u);v.getDimensionVector().setElementDimensions(u);};t.prototype.updatePosition=function(u,v,w,x,y){"use strict";var z=l.getDocumentDimensions().y,aa=k.getElementBounds(m(u));aa=new k(aa.t-(v||0),aa.r+(w||0),aa.b+(x||0),aa.l-(y||0),aa.domain);var ba=document,ca=(ba&&ba.documentElement&&ba.documentElement.scrollWidth)||(ba&&ba.body&&ba.body.scrollWidth)||0;this.$ContextualBlind6(this.$ContextualBlind2[0],new k(0,ca,aa.t,0,'document'));this.$ContextualBlind6(this.$ContextualBlind2[1],new k(aa.t,ca,aa.b,aa.r,'document'));this.$ContextualBlind6(this.$ContextualBlind2[2],new k(aa.b,ca,z,0,'document'));this.$ContextualBlind6(this.$ContextualBlind2[3],new k(aa.t,aa.l,aa.b,0,'document'));if(this.$ContextualBlind4)this.$ContextualBlind6(this.$ContextualBlind4,aa);};t.STYLE_LIGHT=p;t.STYLE_DARK=q;e.exports=t;},null);
__d("ContextualLayerBlind",["ContextualBlind","cx","CSS"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={isModal:false,opacity:.3,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,style:g.STYLE_DARK};function k(l,m){"use strict";m=Object.assign({},j,m);this.$ContextualLayerBlind0=m.isModal;this.$ContextualLayerBlind1=l;this.$ContextualLayerBlind2=m.opacity;this.$ContextualLayerBlind3=m.paddingTop;this.$ContextualLayerBlind4=m.paddingRight;this.$ContextualLayerBlind5=m.paddingBottom;this.$ContextualLayerBlind6=m.paddingLeft;this.$ContextualLayerBlind7=m.style;}k.prototype.enable=function(){"use strict";this.$ContextualLayerBlind8=[this.$ContextualLayerBlind1.subscribe(['show','reposition'],this.$ContextualLayerBlind9.bind(this)),this.$ContextualLayerBlind1.subscribe('hide',this.$ContextualLayerBlinda.bind(this))];i.addClass(this.$ContextualLayerBlind1.getRoot(),"_4746");this.$ContextualLayerBlindb=new g();};k.prototype.disable=function(){"use strict";this.$ContextualLayerBlinda();i.removeClass(this.$ContextualLayerBlind1.getRoot(),"_4746");while(this.$ContextualLayerBlind8.length)this.$ContextualLayerBlind8.pop().unsubscribe();this.$ContextualLayerBlind8=null;this.$ContextualLayerBlindb=null;};k.prototype.$ContextualLayerBlind9=function(){"use strict";if(this.$ContextualLayerBlind1.isShown()){var l=this.$ContextualLayerBlind1.getContext();this.$ContextualLayerBlindb.show(l,this.$ContextualLayerBlind3,this.$ContextualLayerBlind4,this.$ContextualLayerBlind5,this.$ContextualLayerBlind6,this.$ContextualLayerBlind0,this.$ContextualLayerBlind2,this.$ContextualLayerBlind7);}};k.prototype.$ContextualLayerBlinda=function(){"use strict";this.$ContextualLayerBlindb.hide();};e.exports=k;},null);
__d("ViewportBounds",["Arbiter","ArbiterMixin","DOM","Style","Vector","csx","copyProperties","emptyFunction","removeFromArray"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p={top:[],right:[],bottom:[],left:[]};function q(u){return function(){var v=0;p[u].forEach(function(w){v=Math.max(v,w.getSize());});return v;};}function r(u,v){return function(w){return new s(u,w,v);};}function s(u,v,w){this.getSide=n.thatReturns(u);this.getSize=function(){return typeof v==='function'?v():v;};this.isPersistent=n.thatReturns(w);p[u].push(this);t.inform('change');}s.prototype.remove=function(){o(p[this.getSide()],this);t.inform('change');};g.subscribe('page_transition',function(){for(var u in p)p[u].forEach(function(v){if(!v.isPersistent())v.remove();});});var t=m({getTop:q('top'),getRight:q('right'),getBottom:q('bottom'),getLeft:q('left'),getElementPosition:function(u){var v=k.getElementPosition(u);v.y-=t.getTop();return v;},addTop:r('top'),addRight:r('right'),addBottom:r('bottom'),addLeft:r('left'),addPersistentTop:r('top',true),addPersistentRight:r('right',true),addPersistentBottom:r('bottom',true),addPersistentLeft:r('left',true)},h);t.addPersistentTop(function(){var u=i.scry(document,"div._4f7n")[0];if(u&&j.isFixed(u)){var v=i.scry(document,"div._21mm")[0];return v?v.offsetHeight:0;}return 0;});e.exports=t;},null);
__d("isAsyncScrollQuery",["UserAgent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=null;function i(){if(h===null)h=g.isPlatform('Mac OS X >= 10.8')&&g.isBrowser('Safari >= 6.0');return h;}e.exports=i;},null);
__d("DOMScroll",["Animation","Arbiter","DOM","DOMQuery","Vector","ViewportBounds","ge","isAsyncScrollQuery"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={SCROLL:'dom-scroll',getScrollState:function(){var p=k.getViewportDimensions(),q=k.getDocumentDimensions(),r=(q.x>p.x),s=(q.y>p.y);r+=0;s+=0;return new k(r,s);},_scrollbarSize:null,_initScrollbarSize:function(){var p=i.create('p');p.style.width='100%';p.style.height='200px';var q=i.create('div');q.style.position='absolute';q.style.top='0px';q.style.left='0px';q.style.visibility='hidden';q.style.width='200px';q.style.height='150px';q.style.overflow='hidden';q.appendChild(p);document.body.appendChild(q);var r=p.offsetWidth;q.style.overflow='scroll';var s=p.offsetWidth;if(r==s)s=q.clientWidth;document.body.removeChild(q);o._scrollbarSize=r-s;},getScrollbarSize:function(){if(o._scrollbarSize===null)o._initScrollbarSize();return o._scrollbarSize;},scrollTo:function(p,q,r,s,t,u){if(typeof q=='undefined'||q===true)q=750;if(n())q=false;if(!(p instanceof k)){var v=k.getScrollPosition().x,w=k.getElementPosition(m(p)).y;p=new k(v,w,'document');if(!s)p.y-=l.getTop()/(r?2:1);}if(r){p.y-=k.getViewportDimensions().y/2;}else if(s){p.y-=k.getViewportDimensions().y;p.y+=s;}if(t)p.y-=t;p=p.convertTo('document');if(q){return new g(document.body).to('scrollTop',p.y).to('scrollLeft',p.x).ease(g.ease.end).duration(q).ondone(u).go();}else if(window.scrollTo){window.scrollTo(p.x,p.y);u&&u();}h.inform(o.SCROLL);},ensureVisible:function(p,q,r,s,t){if(r===(void 0))r=10;p=m(p);if(q)p=j.find(p,q);var u=k.getScrollPosition().x,v=k.getScrollPosition().y,w=v+k.getViewportDimensions().y,x=k.getElementPosition(p).y,y=x+k.getElementDimensions(p).y;x-=l.getTop();x-=r;y+=r;if(x<v){o.scrollTo(new k(u,x,'document'),s,false,false,0,t);}else if(y>w)if(x-(y-w)<v){o.scrollTo(new k(u,x,'document'),s,false,false,0,t);}else o.scrollTo(new k(u,y,'document'),s,false,true,0,t);},scrollToTop:function(p){var q=k.getScrollPosition();o.scrollTo(new k(q.x,0,'document'),p!==false);}};e.exports=o;},null);
__d("EventConstants",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g({bubbled:null,captured:null}),i=g({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),j={topLevelTypes:i,PropagationPhases:h};e.exports=j;},null);
__d("createWarning",["CoreWarningGK","emptyFunction"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h.thatReturns;e.exports=i;},null);
__d("ReactCurrentOwner",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={current:null};e.exports=g;},null);
__d("monitorCodeUse",["BanzaiScuba","ReactCurrentOwner","invariant","forEachObject","ErrorUtils"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(r){var s=[];while(r){s.push(r.getName()||'');r=r._currentElement&&r._currentElement._owner;}return s;}function m(r){if(Array.isArray(r))return '[...]';return n(r);}function n(r){if(r==null)return ''+r;if(Array.isArray(r)){if(r.length>10){var s=r.slice(0,5).map(m);return '['+s.join(', ')+', ...]';}s=r.map(m);return '['+s.join(', ')+']';}if(typeof r==='string')return '\''+r+'\'';if(typeof r==='object'){var t=Object.keys(r).map(function(u){return u+'=...';});return '{'+t.join(', ')+'}';}return ''+r;}function o(r){return r.identifier||'';}function p(r){return (r.script+'  '+r.line+':'+r.column);}function q(r,s){i(r&&!/[^a-z0-9_]/.test(r));var t=new g('core_monitor');t.addNormal('event',r);t.addNormVector('owners',l(h.current));j(s,function(u,v,w){if(typeof u==='string'){t.addNormal(v,u);}else if(Array.isArray(u)){t.addNormVector(v,u.map(n));}else t.addNormal(v,n(u));});t.post();}e.exports=q;},null);
__d("warning",["Bootloader","createWarning","monitorCodeUse"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(l){}var k=h(i,j);e.exports=k;},null);
__d("EventPluginUtils",["EventConstants","invariant","warning"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j={Mount:null,injectMount:function(x){j.Mount=x;}},k=g.topLevelTypes;function l(x){return x===k.topMouseUp||x===k.topTouchEnd||x===k.topTouchCancel;}function m(x){return x===k.topMouseMove||x===k.topTouchMove;}function n(x){return x===k.topMouseDown||x===k.topTouchStart;}var o;function p(event,x){var y=event._dispatchListeners,z=event._dispatchIDs;if(Array.isArray(y)){for(var aa=0;aa<y.length;aa++){if(event.isPropagationStopped())break;x(event,y[aa],z[aa]);}}else if(y)x(event,y,z);}function q(event,x,y){event.currentTarget=j.Mount.getNode(y);var z=x(event,y);event.currentTarget=null;return z;}function r(event,x){p(event,x);event._dispatchListeners=null;event._dispatchIDs=null;}function s(event){var x=event._dispatchListeners,y=event._dispatchIDs;if(Array.isArray(x)){for(var z=0;z<x.length;z++){if(event.isPropagationStopped())break;if(x[z](event,y[z]))return y[z];}}else if(x)if(x(event,y))return y;return null;}function t(event){var x=s(event);event._dispatchIDs=null;event._dispatchListeners=null;return x;}function u(event){var x=event._dispatchListeners,y=event._dispatchIDs;h(!Array.isArray(x));var z=x?x(event,y):null;event._dispatchListeners=null;event._dispatchIDs=null;return z;}function v(event){return !!event._dispatchListeners;}var w={isEndish:l,isMoveish:m,isStartish:n,executeDirectDispatch:u,executeDispatch:q,executeDispatchesInOrder:r,executeDispatchesInOrderStopAtTrue:t,hasDispatches:v,injection:j,useTouchEvents:false};e.exports=w;},null);
__d("PooledClass",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=function(q){var r=this;if(r.instancePool.length){var s=r.instancePool.pop();r.call(s,q);return s;}else return new r(q);},i=function(q,r){var s=this;if(s.instancePool.length){var t=s.instancePool.pop();s.call(t,q,r);return t;}else return new s(q,r);},j=function(q,r,s){var t=this;if(t.instancePool.length){var u=t.instancePool.pop();t.call(u,q,r,s);return u;}else return new t(q,r,s);},k=function(q,r,s,t,u){var v=this;if(v.instancePool.length){var w=v.instancePool.pop();v.call(w,q,r,s,t,u);return w;}else return new v(q,r,s,t,u);},l=function(q){var r=this;g(q instanceof r);if(q.destructor)q.destructor();if(r.instancePool.length<r.poolSize)r.instancePool.push(q);},m=10,n=h,o=function(q,r){var s=q;s.instancePool=[];s.getPooled=r||n;if(!s.poolSize)s.poolSize=m;s.release=l;return s;},p={addPoolingTo:o,oneArgumentPooler:h,twoArgumentPooler:i,threeArgumentPooler:j,fiveArgumentPooler:k};e.exports=p;},null);
__d("Object.assign",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=Object.assign;},null);
__d("emptyObject",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";var g={};e.exports=g;},null);
__d("ReactContext",["Object.assign","emptyObject","warning"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j=false,k={current:h,withContext:function(l,m){var n,o=k.current;k.current=g({},o,l);try{n=m();}finally{k.current=o;}return n;}};e.exports=k;},null);
__d("ReactElement",["ReactContext","ReactCurrentOwner","Object.assign","warning"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={key:true,ref:true};function l(p,q){Object.defineProperty(p,q,{configurable:false,enumerable:true,get:function(){if(!this._store)return null;return this._store[q];},set:function(r){j(false,'Don\'t set the %s property of the React element. Instead, '+'specify the correct value when initially creating the element.',q);this._store[q]=r;}});}var m=false;function n(p){try{var r={props:true};for(var s in r)l(p,s);m=true;}catch(q){}}var o=function(p,q,r,s,t,u){this.type=p;this.key=q;this.ref=r;this._owner=s;this._context=t;this.props=u;};o.prototype={_isReactElement:true};o.createElement=function(p,q,r){var s,t={},u=null,v=null;if(q!=null){v=q.ref===(void 0)?null:q.ref;u=q.key===(void 0)?null:''+q.key;for(s in q)if(q.hasOwnProperty(s)&&!k.hasOwnProperty(s))t[s]=q[s];}var w=arguments.length-2;if(w===1){t.children=r;}else if(w>1){var x=Array(w);for(var y=0;y<w;y++)x[y]=arguments[y+2];t.children=x;}if(p&&p.defaultProps){var z=p.defaultProps;for(s in z)if(typeof t[s]==='undefined')t[s]=z[s];}return new o(p,u,v,h.current,g.current,t);};o.createFactory=function(p){var q=o.createElement.bind(null,p);q.type=p;return q;};o.cloneAndReplaceProps=function(p,q){var r=new o(p.type,p.key,p.ref,p._owner,p._context,q);return r;};o.cloneElement=function(p,q,r){var s,t=i({},p.props),u=p.key,v=p.ref,w=p._owner;if(q!=null){if(q.ref!==(void 0)){v=q.ref;w=h.current;}if(q.key!==(void 0))u=''+q.key;for(s in q)if(q.hasOwnProperty(s)&&!k.hasOwnProperty(s))t[s]=q[s];}var x=arguments.length-2;if(x===1){t.children=r;}else if(x>1){var y=Array(x);for(var z=0;z<x;z++)y[z]=arguments[z+2];t.children=y;}return new o(p.type,u,v,w,p._context,t);};o.isValidElement=function(p){var q=!!(p&&p._isReactElement);return q;};e.exports=o;},null);
__d("ReactFragment",["ReactElement","warning"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={create:function(j){return j;},extract:function(j){return j;},extractIfFragment:function(j){return j;}};e.exports=i;},null);
__d("ReactRootIndex",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={injectCreateReactRootIndex:function(i){h.createReactRootIndex=i;}},h={createReactRootIndex:null,injection:g};e.exports=h;},null);
__d("ReactInstanceHandles",["ReactRootIndex","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i='.',j=i.length,k=100;function l(u){return i+u.toString(36);}function m(u,v){return u.charAt(v)===i||v===u.length;}function n(u){return u===''||(u.charAt(0)===i&&u.charAt(u.length-1)!==i);}function o(u,v){return (v.indexOf(u)===0&&m(v,u.length));}function p(u){return u?u.substr(0,u.lastIndexOf(i)):'';}function q(u,v){h(n(u)&&n(v));h(o(u,v));if(u===v)return u;var w=u.length+j,x;for(x=w;x<v.length;x++)if(m(v,x))break;return v.substr(0,x);}function r(u,v){var w=Math.min(u.length,v.length);if(w===0)return '';var x=0;for(var y=0;y<=w;y++)if(m(u,y)&&m(v,y)){x=y;}else if(u.charAt(y)!==v.charAt(y))break;var z=u.substr(0,x);h(n(z));return z;}function s(u,v,w,x,y,z){u=u||'';v=v||'';h(u!==v);var aa=o(v,u);h(aa||o(u,v));var ba=0,ca=aa?p:q;for(var da=u;;da=ca(da,v)){var ea;if((!y||da!==u)&&(!z||da!==v))ea=w(da,aa,x);if(ea===false||da===v)break;h(ba++<k);}}var t={createReactRootID:function(){return l(g.createReactRootIndex());},createReactID:function(u,v){return u+v;},getReactRootIDFromNodeID:function(u){if(u&&u.charAt(0)===i&&u.length>1){var v=u.indexOf(i,1);return v>-1?u.substr(0,v):u;}return null;},traverseEnterLeave:function(u,v,w,x,y){var z=r(u,v);if(z!==u)s(u,z,w,x,false,true);if(z!==v)s(z,v,w,y,true,false);},traverseTwoPhase:function(u,v,w){if(u){s('',u,v,w,true,false);s(u,'',v,w,false,true);}},traverseAncestors:function(u,v,w){s('',u,v,w,true,false);},_getFirstCommonAncestorID:r,_getNextDescendantID:q,isAncestorIDOf:o,SEPARATOR:i};e.exports=t;},null);
__d("getIteratorFn",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=typeof Symbol==='function'&&Symbol.iterator,h='@@iterator';function i(j){var k=j&&((g&&j[g])||j[h]);if(typeof k==='function')return k;}e.exports=i;},null);
__d("traverseAllChildren",["ReactElement","ReactFragment","ReactInstanceHandles","getIteratorFn","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=i.SEPARATOR,n=':',o={'=':'=0','.':'=1',':':'=2'},p=/[=.:]/g,q=false;function r(x){return o[x];}function s(x,y){if(x&&x.key!=null)return u(x.key);return y.toString(36);}function t(x){return (''+x).replace(p,r);}function u(x){return '$'+t(x);}function v(x,y,z,aa,ba){var ca=typeof x;if(ca==='undefined'||ca==='boolean')x=null;if(x===null||ca==='string'||ca==='number'||g.isValidElement(x)){aa(ba,x,y===''?m+s(x,0):y,z);return 1;}var da,ea,fa,ga=0;if(Array.isArray(x)){for(var ha=0;ha<x.length;ha++){da=x[ha];ea=((y!==''?y+n:m)+s(da,ha));fa=z+ga;ga+=v(da,ea,fa,aa,ba);}}else{var ia=j(x);if(ia){var ja=ia.call(x),ka;if(ia!==x.entries){var la=0;while(!(ka=ja.next()).done){da=ka.value;ea=((y!==''?y+n:m)+s(da,la++));fa=z+ga;ga+=v(da,ea,fa,aa,ba);}}else while(!(ka=ja.next()).done){var ma=ka.value;if(ma){da=ma[1];ea=((y!==''?y+n:m)+u(ma[0])+n+s(da,0));fa=z+ga;ga+=v(da,ea,fa,aa,ba);}}}else if(ca==='object'){k(x.nodeType!==1);var na=h.extract(x);for(var oa in na)if(na.hasOwnProperty(oa)){da=na[oa];ea=((y!==''?y+n:m)+u(oa)+n+s(da,0));fa=z+ga;ga+=v(da,ea,fa,aa,ba);}}}return ga;}function w(x,y,z){if(x==null)return 0;return v(x,'',0,y,z);}e.exports=w;},null);
__d("ReactChildren",["PooledClass","ReactFragment","traverseAllChildren","warning"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=g.twoArgumentPooler,l=g.threeArgumentPooler;function m(v,w){this.forEachFunction=v;this.forEachContext=w;}g.addPoolingTo(m,k);function n(v,w,x,y){var z=v;z.forEachFunction.call(z.forEachContext,w,y);}function o(v,w,x){if(v==null)return v;var y=m.getPooled(w,x);i(v,n,y);m.release(y);}function p(v,w,x){this.mapResult=v;this.mapFunction=w;this.mapContext=x;}g.addPoolingTo(p,l);function q(v,w,x,y){var z=v,aa=z.mapResult,ba=!aa.hasOwnProperty(x);if(ba){var ca=z.mapFunction.call(z.mapContext,w,y);aa[x]=ca;}}function r(v,w,x){if(v==null)return v;var y={},z=p.getPooled(y,w,x);i(v,q,z);p.release(z);return h.create(y);}function s(v,w,x,y){return null;}function t(v,w){return i(v,s,null);}var u={forEach:o,map:r,count:t};e.exports=u;},null);
__d("ReactLifeCycle",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={currentlyMountingInstance:null,currentlyUnmountingInstance:null};e.exports=g;},null);
__d("ReactInstanceMap",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={remove:function(h){h._reactInternalInstance=(void 0);},get:function(h){return h._reactInternalInstance;},has:function(h){return h._reactInternalInstance!==(void 0);},set:function(h,i){h._reactInternalInstance=i;}};e.exports=g;},null);
__d("CallbackQueue",["PooledClass","Object.assign","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(){this._callbacks=null;this._contexts=null;}h(j.prototype,{enqueue:function(k,l){this._callbacks=this._callbacks||[];this._contexts=this._contexts||[];this._callbacks.push(k);this._contexts.push(l);},notifyAll:function(){var k=this._callbacks,l=this._contexts;if(k){i(k.length===l.length);this._callbacks=null;this._contexts=null;for(var m=0,n=k.length;m<n;m++)k[m].call(l[m]);k.length=0;l.length=0;}},reset:function(){this._callbacks=null;this._contexts=null;},destructor:function(){this.reset();}});g.addPoolingTo(j);e.exports=j;},null);
__d("ReactPerf",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={enableMeasure:false,storedMeasure:h,measureMethods:function(i,j,k){},measure:function(i,j,k){return k;},injection:{injectMeasure:function(i){g.storedMeasure=i;}}};function h(i,j,k){return k;}e.exports=g;},null);
__d("ReactOwner",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={isValidOwner:function(i){return !!(i&&typeof i.attachRef==='function'&&typeof i.detachRef==='function');},addComponentAsRefTo:function(i,j,k){g(h.isValidOwner(k));k.attachRef(j,i);},removeComponentAsRefFrom:function(i,j,k){g(h.isValidOwner(k));if(k.getPublicInstance().refs[j]===i.getPublicInstance())k.detachRef(j);}};e.exports=h;},null);
__d("ReactRef",["ReactOwner"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={};function i(k,l,m){if(typeof k==='function'){k(l.getPublicInstance());}else g.addComponentAsRefTo(l,k,m);}function j(k,l,m){if(typeof k==='function'){k(null);}else g.removeComponentAsRefFrom(l,k,m);}h.attachRefs=function(k,l){var m=l.ref;if(m!=null)i(m,k,l._owner);};h.shouldUpdateRefs=function(k,l){return (l._owner!==k._owner||l.ref!==k.ref);};h.detachRefs=function(k,l){var m=l.ref;if(m!=null)j(m,k,l._owner);};e.exports=h;},null);
__d("ReactPropTypeLocations",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g({prop:null,context:null,childContext:null});e.exports=h;},null);
__d("ReactPropTypeLocationNames",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={};e.exports=g;},null);
__d("ReactNativeComponent",["Object.assign","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i=null,j=null,k={},l=null,m={injectGenericComponentClass:function(s){j=s;},injectTextComponentClass:function(s){l=s;},injectComponentClasses:function(s){g(k,s);},injectAutoWrapper:function(s){i=s;}};function n(s){if(typeof s.type==='function')return s.type;var t=s.type,u=k[t];if(u==null)k[t]=u=i(t);return u;}function o(s){h(j);return new j(s.type,s.props);}function p(s){return new l(s);}function q(s){return s instanceof l;}var r={getComponentClassForElement:n,createInternalComponent:o,createInstanceForText:p,isTextComponent:q,injection:m};e.exports=r;},null);
__d("ReactElementValidator",["ReactElement","ReactFragment","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactCurrentOwner","ReactNativeComponent","getIteratorFn","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();'use strict';function p(){if(k.current){var ga=k.current.getName();if(ga)return ' Check the render method of `'+ga+'`.';}return '';}var q={},r={},s=/^\d+$/;function t(ga){var ha=ga&&ga.getPublicInstance();if(!ha)return (void 0);var ia=ha.constructor;if(!ia)return (void 0);return ia.displayName||ia.name||(void 0);}function u(){var ga=k.current;return (ga&&t(ga)||(void 0));}function v(ga,ha){if(ga._store.validated||ga.key!=null)return;ga._store.validated=true;x('Each child in an array or iterator should have a unique "key" prop.',ga,ha);}function w(ga,ha,ia){if(!s.test(ga))return;x('Child objects should have non-numeric keys so ordering is preserved.',ha,ia);}function x(ga,ha,ia){var ja=u(),ka=typeof ia==='string'?ia:ia.displayName||ia.name,la=ja||ka,ma=q[ga]||(q[ga]={});if(ma.hasOwnProperty(la))return;ma[la]=true;var na=ja?(" Check the render method of "+ja+"."):ka?(" Check the React.render call using <"+ka+">."):'',oa='';if(ha&&ha._owner&&ha._owner!==k.current){var pa=t(ha._owner);oa=(" It was passed a child from "+pa+".");}o(false,ga+'%s%s See http://fb.me/react-warning-keys for more information.',na,oa);}function y(ga,ha){if(Array.isArray(ga)){for(var ia=0;ia<ga.length;ia++){var ja=ga[ia];if(g.isValidElement(ja))v(ja,ha);}}else if(g.isValidElement(ga)){ga._store.validated=true;}else if(ga){var ka=m(ga);if(ka){if(ka!==ga.entries){var la=ka.call(ga),ma;while(!(ma=la.next()).done)if(g.isValidElement(ma.value))v(ma.value,ha);}}else if(typeof ga==='object'){var na=h.extractIfFragment(ga);for(var oa in na)if(na.hasOwnProperty(oa))w(oa,na[oa],ha);}}}function z(ga,ha,ia,ja){for(var ka in ha)if(ha.hasOwnProperty(ka)){var la;try{n(typeof ha[ka]==='function');la=ha[ka](ia,ka,ga,ja);}catch(ma){la=ma;}o(!la||la instanceof Error,'%s: type specification of %s `%s` is invalid; the type checker '+'function must return `null` or an `Error` but returned a %s. '+'You may have forgotten to pass an argument to the type checker '+'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and '+'shape all require an argument).',ga||'React class',j[ja],ka,typeof la);if(la instanceof Error&&!(la.message in r)){r[la.message]=true;var na=p();o(false,'Failed propType: %s%s',la.message,na);}}}var aa={};function ba(ga,ha){var ia=ha.type,ja=typeof ia==='string'?ia:ia.displayName,ka=ha._owner?ha._owner.getPublicInstance().constructor.displayName:null,la=ga+'|'+ja+'|'+ka;if(aa.hasOwnProperty(la))return;aa[la]=true;var ma='';if(ja)ma=' <'+ja+' />';var na='';if(ka)na=' The element was created by '+ka+'.';o(false,'Don\'t set .props.%s of the React component%s. '+'Instead, specify the correct value when '+'initially creating the element.%s',ga,ma,na);}function ca(ga,ha){if(ga!==ga)return ha!==ha;if(ga===0&&ha===0)return 1/ga===1/ha;return ga===ha;}function da(ga){if(!ga._store)return;var ha=ga._store.originalProps,ia=ga.props;for(var ja in ia)if(ia.hasOwnProperty(ja))if(!ha.hasOwnProperty(ja)||!ca(ha[ja],ia[ja])){ba(ja,ga);ha[ja]=ia[ja];}}function ea(ga){if(ga.type==null)return;var ha=l.getComponentClassForElement(ga),ia=ha.displayName||ha.name;if(ha.propTypes)z(ia,ha.propTypes,ga.props,i.prop);if(typeof ha.getDefaultProps==='function')o(ha.getDefaultProps.isReactClassApproved,'getDefaultProps is only used on classic React.createClass '+'definitions. Use a static property named `defaultProps` instead.');}var fa={checkAndWarnForMutatedProps:da,createElement:function(ga,ha,ia){o(ga!=null,'React.createElement: type should not be null or undefined. It should '+'be a string (for DOM elements) or a ReactClass (for composite '+'components).%s',p());var ja=g.createElement.apply(this,arguments);if(ja==null)return ja;for(var ka=2;ka<arguments.length;ka++)y(arguments[ka],ga);ea(ja);return ja;},createFactory:function(ga){var ha=fa.createElement.bind(null,ga);ha.type=ga;return ha;},cloneElement:function(ga,ha,ia){var ja=g.cloneElement.apply(this,arguments);for(var ka=2;ka<arguments.length;ka++)y(arguments[ka],ja.type);ea(ja);return ja;}};e.exports=fa;},null);
__d("ReactReconciler",["ReactRef","ReactElementValidator"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';function i(){g.attachRefs(this,this._currentElement);}var j={mountComponent:function(k,l,m,n){var o=k.mountComponent(l,m,n);m.getReactMountReady().enqueue(i,k);return o;},unmountComponent:function(k){g.detachRefs(k,k._currentElement);k.unmountComponent();},receiveComponent:function(k,l,m,n){var o=k._currentElement;if(l===o&&l._owner!=null)return;var p=g.shouldUpdateRefs(o,l);if(p)g.detachRefs(k,o);k.receiveComponent(l,m,n);if(p)m.getReactMountReady().enqueue(i,k);},performUpdateIfNecessary:function(k,l){k.performUpdateIfNecessary(l);}};e.exports=j;},null);
__d("Transaction",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers();if(!this.wrapperInitData){this.wrapperInitData=[];}else this.wrapperInitData.length=0;this._isInTransaction=false;},_isInTransaction:false,getTransactionWrappers:null,isInTransaction:function(){return !!this._isInTransaction;},perform:function(j,k,l,m,n,o,p,q){g(!this.isInTransaction());var r,s;try{this._isInTransaction=true;r=true;this.initializeAll(0);s=j.call(k,l,m,n,o,p,q);r=false;}finally{try{if(r){try{this.closeAll(0);}catch(t){}}else this.closeAll(0);}finally{this._isInTransaction=false;}}return s;},initializeAll:function(j){var k=this.transactionWrappers;for(var l=j;l<k.length;l++){var m=k[l];try{this.wrapperInitData[l]=i.OBSERVED_ERROR;this.wrapperInitData[l]=m.initialize?m.initialize.call(this):null;}finally{if(this.wrapperInitData[l]===i.OBSERVED_ERROR)try{this.initializeAll(l+1);}catch(n){}}}},closeAll:function(j){g(this.isInTransaction());var k=this.transactionWrappers;for(var l=j;l<k.length;l++){var m=k[l],n=this.wrapperInitData[l],o;try{o=true;if(n!==i.OBSERVED_ERROR&&m.close)m.close.call(this,n);o=false;}finally{if(o)try{this.closeAll(l+1);}catch(p){}}}this.wrapperInitData.length=0;}},i={Mixin:h,OBSERVED_ERROR:{}};e.exports=i;},null);
__d("ReactUpdates",["CallbackQueue","PooledClass","ReactCurrentOwner","ReactPerf","ReactReconciler","Transaction","Object.assign","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();'use strict';var p=[],q=g.getPooled(),r=false,s=null;function t(){n(fa.ReactReconcileTransaction&&s);}var u={initialize:function(){this.dirtyComponentsLength=p.length;},close:function(){if(this.dirtyComponentsLength!==p.length){p.splice(0,this.dirtyComponentsLength);ba();}else p.length=0;}},v={initialize:function(){this.callbackQueue.reset();},close:function(){this.callbackQueue.notifyAll();}},w=[u,v];function x(){this.reinitializeTransaction();this.dirtyComponentsLength=null;this.callbackQueue=g.getPooled();this.reconcileTransaction=fa.ReactReconcileTransaction.getPooled();}m(x.prototype,l.Mixin,{getTransactionWrappers:function(){return w;},destructor:function(){this.dirtyComponentsLength=null;g.release(this.callbackQueue);this.callbackQueue=null;fa.ReactReconcileTransaction.release(this.reconcileTransaction);this.reconcileTransaction=null;},perform:function(ga,ha,ia){return l.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,ga,ha,ia);}});h.addPoolingTo(x);function y(ga,ha,ia,ja,ka){t();s.batchedUpdates(ga,ha,ia,ja,ka);}function z(ga,ha){return ga._mountOrder-ha._mountOrder;}function aa(ga){var ha=ga.dirtyComponentsLength;n(ha===p.length);p.sort(z);for(var ia=0;ia<ha;ia++){var ja=p[ia],ka=ja._pendingCallbacks;ja._pendingCallbacks=null;k.performUpdateIfNecessary(ja,ga.reconcileTransaction);if(ka)for(var la=0;la<ka.length;la++)ga.callbackQueue.enqueue(ka[la],ja.getPublicInstance());}}var ba=function(){while(p.length||r){if(p.length){var ga=x.getPooled();ga.perform(aa,null,ga);x.release(ga);}if(r){r=false;var ha=q;q=g.getPooled();ha.notifyAll();g.release(ha);}}};ba=j.measure('ReactUpdates','flushBatchedUpdates',ba);function ca(ga){t();o(i.current==null,'enqueueUpdate(): Render methods should be a pure function of props '+'and state; triggering nested component updates from render is not '+'allowed. If necessary, trigger nested updates in '+'componentDidUpdate.');if(!s.isBatchingUpdates){s.batchedUpdates(ca,ga);return;}p.push(ga);}function da(ga,ha){n(s.isBatchingUpdates);q.enqueue(ga,ha);r=true;}var ea={injectReconcileTransaction:function(ga){n(ga);fa.ReactReconcileTransaction=ga;},injectBatchingStrategy:function(ga){n(ga);n(typeof ga.batchedUpdates==='function');n(typeof ga.isBatchingUpdates==='boolean');s=ga;}},fa={ReactReconcileTransaction:null,batchedUpdates:y,enqueueUpdate:ca,flushBatchedUpdates:ba,injection:ea,asap:da};e.exports=fa;},null);
__d("ReactUpdateQueue",["ReactLifeCycle","ReactCurrentOwner","ReactElement","ReactInstanceMap","ReactUpdates","Object.assign","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();'use strict';function o(r){if(r!==g.currentlyMountingInstance)k.enqueueUpdate(r);}function p(r,s){m(h.current==null);var t=j.get(r);if(!t)return null;if(t===g.currentlyUnmountingInstance)return null;return t;}var q={enqueueCallback:function(r,s){m(typeof s==='function');var t=p(r);if(!t||t===g.currentlyMountingInstance)return null;if(t._pendingCallbacks){t._pendingCallbacks.push(s);}else t._pendingCallbacks=[s];o(t);},enqueueCallbackInternal:function(r,s){m(typeof s==='function');if(r._pendingCallbacks){r._pendingCallbacks.push(s);}else r._pendingCallbacks=[s];o(r);},enqueueForceUpdate:function(r){var s=p(r,'forceUpdate');if(!s)return;s._pendingForceUpdate=true;o(s);},enqueueReplaceState:function(r,s){var t=p(r,'replaceState');if(!t)return;t._pendingStateQueue=[s];t._pendingReplaceState=true;o(t);},enqueueSetState:function(r,s){var t=p(r,'setState');if(!t)return;var u=t._pendingStateQueue||(t._pendingStateQueue=[]);u.push(s);o(t);},enqueueSetProps:function(r,s){var t=p(r,'setProps');if(!t)return;m(t._isTopLevel);var u=t._pendingElement||t._currentElement,v=l({},u.props,s);t._pendingElement=i.cloneAndReplaceProps(u,v);o(t);},enqueueReplaceProps:function(r,s){var t=p(r,'replaceProps');if(!t)return;m(t._isTopLevel);var u=t._pendingElement||t._currentElement;t._pendingElement=i.cloneAndReplaceProps(u,s);o(t);},enqueueElementInternal:function(r,s){r._pendingElement=s;o(r);}};e.exports=q;},null);
__d("ReactComponent",["ReactUpdateQueue","invariant","warning"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(k,l){this.props=k;this.context=l;}j.prototype.setState=function(k,l){h(typeof k==='object'||typeof k==='function'||k==null);g.enqueueSetState(this,k);if(l)g.enqueueCallback(this,l);};j.prototype.forceUpdate=function(k){g.enqueueForceUpdate(this);if(k)g.enqueueCallback(this,k);};e.exports=j;},null);
__d("ReactErrorUtils",["ErrorUtils"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={guard:g.guard};e.exports=h;},null);
__d("ReactClass",["ReactComponent","ReactCurrentOwner","ReactElement","ReactErrorUtils","ReactInstanceMap","ReactLifeCycle","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactUpdateQueue","Object.assign","invariant","keyMirror","keyOf","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();'use strict';var u=s({mixins:null}),v=r({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],x={mixins:v.DEFINE_MANY,statics:v.DEFINE_MANY,propTypes:v.DEFINE_MANY,contextTypes:v.DEFINE_MANY,childContextTypes:v.DEFINE_MANY,getDefaultProps:v.DEFINE_MANY_MERGED,getInitialState:v.DEFINE_MANY_MERGED,getChildContext:v.DEFINE_MANY_MERGED,render:v.DEFINE_ONCE,componentWillMount:v.DEFINE_MANY,componentDidMount:v.DEFINE_MANY,componentWillReceiveProps:v.DEFINE_MANY,shouldComponentUpdate:v.DEFINE_ONCE,componentWillUpdate:v.DEFINE_MANY,componentDidUpdate:v.DEFINE_MANY,componentWillUnmount:v.DEFINE_MANY,updateComponent:v.OVERRIDE_BASE},y={displayName:function(ma,na){ma.displayName=na;},mixins:function(ma,na){if(na)for(var oa=0;oa<na.length;oa++)ba(ma,na[oa]);},childContextTypes:function(ma,na){ma.childContextTypes=p({},ma.childContextTypes,na);},contextTypes:function(ma,na){ma.contextTypes=p({},ma.contextTypes,na);},getDefaultProps:function(ma,na){if(ma.getDefaultProps){ma.getDefaultProps=ea(ma.getDefaultProps,na);}else ma.getDefaultProps=na;},propTypes:function(ma,na){ma.propTypes=p({},ma.propTypes,na);},statics:function(ma,na){ca(ma,na);}};function z(ma,na,oa){for(var pa in na)if(na.hasOwnProperty(pa))t(typeof na[pa]==='function','%s: %s type `%s` is invalid; it must be a function, usually from '+'React.PropTypes.',ma.displayName||'ReactClass',n[oa],pa);}function aa(ma,na){var oa=x.hasOwnProperty(na)?x[na]:null;if(ja.hasOwnProperty(na))q(oa===v.OVERRIDE_BASE);if(ma.hasOwnProperty(na))q(oa===v.DEFINE_MANY||oa===v.DEFINE_MANY_MERGED);}function ba(ma,na){if(!na)return;q(typeof na!=='function');q(!i.isValidElement(na));var oa=ma.prototype;if(na.hasOwnProperty(u))y.mixins(ma,na.mixins);for(var pa in na){if(!na.hasOwnProperty(pa))continue;if(pa===u)continue;var qa=na[pa];aa(oa,pa);if(y.hasOwnProperty(pa)){y[pa](ma,qa);}else{var ra=x.hasOwnProperty(pa),sa=oa.hasOwnProperty(pa),ta=qa&&qa.__reactDontBind,ua=typeof qa==='function',va=ua&&!ra&&!sa&&!ta;if(va){if(!oa.__reactAutoBindMap)oa.__reactAutoBindMap={};oa.__reactAutoBindMap[pa]=qa;oa[pa]=qa;}else if(sa){var wa=x[pa];q(ra&&(wa===v.DEFINE_MANY_MERGED||wa===v.DEFINE_MANY));if(wa===v.DEFINE_MANY_MERGED){oa[pa]=ea(oa[pa],qa);}else if(wa===v.DEFINE_MANY)oa[pa]=fa(oa[pa],qa);}else oa[pa]=qa;}}}function ca(ma,na){if(!na)return;for(var oa in na){var pa=na[oa];if(!na.hasOwnProperty(oa))continue;var qa=oa in y;q(!qa);var ra=oa in ma;q(!ra);ma[oa]=pa;}}function da(ma,na){q(ma&&na&&typeof ma==='object'&&typeof na==='object');for(var oa in na)if(na.hasOwnProperty(oa)){q(ma[oa]===(void 0));ma[oa]=na[oa];}return ma;}function ea(ma,na){return function oa(){var pa=ma.apply(this,arguments),qa=na.apply(this,arguments);if(pa==null){return qa;}else if(qa==null)return pa;var ra={};da(ra,pa);da(ra,qa);return ra;};}function fa(ma,na){return function oa(){ma.apply(this,arguments);na.apply(this,arguments);};}function ga(ma,na){var oa=na.bind(ma);return oa;}function ha(ma){for(var na in ma.__reactAutoBindMap)if(ma.__reactAutoBindMap.hasOwnProperty(na)){var oa=ma.__reactAutoBindMap[na];ma[na]=ga(ma,j.guard(oa,ma.constructor.displayName+'.'+na));}}var ia={enumerable:false,get:function(){var ma=this.displayName||this.name||'Component';t(false,'%s.type is deprecated. Use %s directly to access the class.',ma,ma);Object.defineProperty(this,'type',{value:this});return this;}},ja={replaceState:function(ma,na){o.enqueueReplaceState(this,ma);if(na)o.enqueueCallback(this,na);},isMounted:function(){var ma=k.get(this);return (ma&&ma!==l.currentlyMountingInstance);},setProps:function(ma,na){o.enqueueSetProps(this,ma);if(na)o.enqueueCallback(this,na);},replaceProps:function(ma,na){o.enqueueReplaceProps(this,ma);if(na)o.enqueueCallback(this,na);}},ka=function(){};p(ka.prototype,g.prototype,ja);var la={createClass:function(ma){var na=function(pa,qa){if(this.__reactAutoBindMap)ha(this);this.props=pa;this.context=qa;this.state=null;var ra=this.getInitialState?this.getInitialState():null;q(typeof ra==='object'&&!Array.isArray(ra));this.state=ra;};na.prototype=new ka();na.prototype.constructor=na;w.forEach(ba.bind(null,na));ba(na,ma);if(na.getDefaultProps)na.defaultProps=na.getDefaultProps();q(na.prototype.render);for(var oa in x)if(!na.prototype[oa])na.prototype[oa]=null;na.type=na;return na;},injection:{injectMixin:function(ma){w.push(ma);}}};e.exports=la;},null);
__d("ReactDOM",["ReactElement","ReactElementValidator","mapObject"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(l){return g.createFactory(l);}var k=i({a:'a',abbr:'abbr',address:'address',area:'area',article:'article',aside:'aside',audio:'audio',b:'b',base:'base',bdi:'bdi',bdo:'bdo',big:'big',blockquote:'blockquote',body:'body',br:'br',button:'button',canvas:'canvas',caption:'caption',cite:'cite',code:'code',col:'col',colgroup:'colgroup',data:'data',datalist:'datalist',dd:'dd',del:'del',details:'details',dfn:'dfn',dialog:'dialog',div:'div',dl:'dl',dt:'dt',em:'em',embed:'embed',fieldset:'fieldset',figcaption:'figcaption',figure:'figure',footer:'footer',form:'form',h1:'h1',h2:'h2',h3:'h3',h4:'h4',h5:'h5',h6:'h6',head:'head',header:'header',hr:'hr',html:'html',i:'i',iframe:'iframe',img:'img',input:'input',ins:'ins',kbd:'kbd',keygen:'keygen',label:'label',legend:'legend',li:'li',link:'link',main:'main',map:'map',mark:'mark',menu:'menu',menuitem:'menuitem',meta:'meta',meter:'meter',nav:'nav',noscript:'noscript',object:'object',ol:'ol',optgroup:'optgroup',option:'option',output:'output',p:'p',param:'param',picture:'picture',pre:'pre',progress:'progress',q:'q',rp:'rp',rt:'rt',ruby:'ruby',s:'s',samp:'samp',script:'script',section:'section',select:'select',small:'small',source:'source',span:'span',strong:'strong',style:'style',sub:'sub',summary:'summary',sup:'sup',table:'table',tbody:'tbody',td:'td',textarea:'textarea',tfoot:'tfoot',th:'th',thead:'thead',time:'time',title:'title',tr:'tr',track:'track',u:'u',ul:'ul','var':'var',video:'video',wbr:'wbr',circle:'circle',defs:'defs',ellipse:'ellipse',g:'g',line:'line',linearGradient:'linearGradient',mask:'mask',path:'path',pattern:'pattern',polygon:'polygon',polyline:'polyline',radialGradient:'radialGradient',rect:'rect',stop:'stop',svg:'svg',text:'text',tspan:'tspan'},j);e.exports=k;},null);
__d("DOMProperty",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(l,m){return (l&m)===m;}var i={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:32|16,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(l){var m=l.Properties||{},n=l.DOMAttributeNames||{},o=l.DOMPropertyNames||{},p=l.DOMMutationMethods||{};if(l.isCustomAttribute)k._isCustomAttributeFunctions.push(l.isCustomAttribute);for(var q in m){g(!k.isStandardName.hasOwnProperty(q));k.isStandardName[q]=true;var r=q.toLowerCase();k.getPossibleStandardName[r]=q;if(n.hasOwnProperty(q)){var s=n[q];k.getPossibleStandardName[s]=q;k.getAttributeName[q]=s;}else k.getAttributeName[q]=r;k.getPropertyName[q]=o.hasOwnProperty(q)?o[q]:q;if(p.hasOwnProperty(q)){k.getMutationMethod[q]=p[q];}else k.getMutationMethod[q]=null;var t=m[q];k.mustUseAttribute[q]=h(t,i.MUST_USE_ATTRIBUTE);k.mustUseProperty[q]=h(t,i.MUST_USE_PROPERTY);k.hasSideEffects[q]=h(t,i.HAS_SIDE_EFFECTS);k.hasBooleanValue[q]=h(t,i.HAS_BOOLEAN_VALUE);k.hasNumericValue[q]=h(t,i.HAS_NUMERIC_VALUE);k.hasPositiveNumericValue[q]=h(t,i.HAS_POSITIVE_NUMERIC_VALUE);k.hasOverloadedBooleanValue[q]=h(t,i.HAS_OVERLOADED_BOOLEAN_VALUE);g(!k.mustUseAttribute[q]||!k.mustUseProperty[q]);g(k.mustUseProperty[q]||!k.hasSideEffects[q]);g(!!k.hasBooleanValue[q]+!!k.hasNumericValue[q]+!!k.hasOverloadedBooleanValue[q]<=1);}}},j={},k={ID_ATTRIBUTE_NAME:'data-reactid',isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(l){for(var m=0;m<k._isCustomAttributeFunctions.length;m++){var n=k._isCustomAttributeFunctions[m];if(n(l))return true;}return false;},getDefaultValueForProperty:function(l,m){var n=j[l],o;if(!n)j[l]=n={};if(!(m in n)){o=document.createElement(l);n[m]=o[m];}return n[m];},injection:i};e.exports=k;},null);
__d("escapeTextContentForBrowser",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={'&':'&amp;','>':'&gt;','<':'&lt;','"':'&quot;','\'':'&#x27;'},h=/[&><"']/g;function i(k){return g[k];}function j(k){return (''+k).replace(h,i);}e.exports=j;},null);
__d("quoteAttributeValueForBrowser",["escapeTextContentForBrowser"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(i){return '"'+g(i)+'"';}e.exports=h;},null);
__d("DOMPropertyOperations",["DOMProperty","quoteAttributeValueForBrowser","warning"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(l,m){return m==null||(g.hasBooleanValue[l]&&!m)||(g.hasNumericValue[l]&&isNaN(m))||(g.hasPositiveNumericValue[l]&&(m<1))||(g.hasOverloadedBooleanValue[l]&&m===false);}var k={createMarkupForID:function(l){return g.ID_ATTRIBUTE_NAME+'='+h(l);},createMarkupForProperty:function(l,m){if(g.isStandardName.hasOwnProperty(l)&&g.isStandardName[l]){if(j(l,m))return '';var n=g.getAttributeName[l];if(g.hasBooleanValue[l]||(g.hasOverloadedBooleanValue[l]&&m===true))return n+'=""';return n+'='+h(m);}else if(g.isCustomAttribute(l)){if(m==null)return '';return l+'='+h(m);}return null;},setValueForProperty:function(l,m,n){if(g.isStandardName.hasOwnProperty(m)&&g.isStandardName[m]){var o=g.getMutationMethod[m];if(o){o(l,n);}else if(j(m,n)){this.deleteValueForProperty(l,m);}else if(g.mustUseAttribute[m]){l.setAttribute(g.getAttributeName[m],''+n);}else{var p=g.getPropertyName[m];if(!g.hasSideEffects[m]||(''+l[p])!==(''+n))l[p]=n;}}else if(g.isCustomAttribute(m))if(n==null){l.removeAttribute(m);}else l.setAttribute(m,''+n);},deleteValueForProperty:function(l,m){if(g.isStandardName.hasOwnProperty(m)&&g.isStandardName[m]){var n=g.getMutationMethod[m];if(n){n(l,(void 0));}else if(g.mustUseAttribute[m]){l.removeAttribute(g.getAttributeName[m]);}else{var o=g.getPropertyName[m],p=g.getDefaultValueForProperty(l.nodeName,o);if(!g.hasSideEffects[m]||(''+l[o])!==p)l[o]=p;}}else if(g.isCustomAttribute(m))l.removeAttribute(m);}};e.exports=k;},null);
__d("CSSProperty",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={boxFlex:true,boxFlexGroup:true,columnCount:true,flex:true,flexGrow:true,flexShrink:true,fontWeight:true,lineClamp:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true,fillOpacity:true,strokeOpacity:true,strokeWidth:true};function h(l,m){return l+m.charAt(0).toUpperCase()+m.substring(1);}var i=['Webkit','ms','Moz','O'];Object.keys(g).forEach(function(l){i.forEach(function(m){g[h(m,l)]=g[l];});});var j={background:{backgroundImage:true,backgroundPosition:true,backgroundRepeat:true,backgroundColor:true},border:{borderWidth:true,borderStyle:true,borderColor:true},borderBottom:{borderBottomWidth:true,borderBottomStyle:true,borderBottomColor:true},borderLeft:{borderLeftWidth:true,borderLeftStyle:true,borderLeftColor:true},borderRight:{borderRightWidth:true,borderRightStyle:true,borderRightColor:true},borderTop:{borderTopWidth:true,borderTopStyle:true,borderTopColor:true},font:{fontStyle:true,fontVariant:true,fontWeight:true,fontSize:true,lineHeight:true,fontFamily:true}},k={isUnitlessNumber:g,shorthandPropertyExpansions:j};e.exports=k;},null);
__d("camelizeStyleName",["camelize"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=/^-ms-/;function i(j){return g(j.replace(h,'ms-'));}e.exports=i;},null);
__d("dangerousStyleValue",["CSSProperty"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g.isUnitlessNumber;function i(j,k){var l=k==null||typeof k==='boolean'||k==='';if(l)return '';var m=isNaN(k);if(m||k===0||h.hasOwnProperty(j)&&h[j])return ''+k;if(typeof k==='string')k=k.trim();return k+'px';}e.exports=i;},null);
__d("hyphenateStyleName",["hyphenate"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=/^ms-/;function i(j){return g(j).replace(h,'-ms-');}e.exports=i;},null);
__d("CSSPropertyOperations",["CSSProperty","ExecutionEnvironment","camelizeStyleName","dangerousStyleValue","hyphenateStyleName","memoizeStringOnly","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=l(function(q){return k(q);}),o='cssFloat';if(h.canUseDOM)if(document.documentElement.style.cssFloat===(void 0))o='styleFloat';var p={createMarkupForStyles:function(q){var r='';for(var s in q){if(!q.hasOwnProperty(s))continue;var t=q[s];if(t!=null){r+=n(s)+':';r+=j(s,t)+';';}}return r||null;},setValueForStyles:function(q,r){var s=q.style;for(var t in r){if(!r.hasOwnProperty(t))continue;var u=j(t,r[t]);if(t==='float')t=o;if(u){s[t]=u;}else{var v=g.shorthandPropertyExpansions[t];if(v){for(var w in v)s[w]='';}else s[t]='';}}}};e.exports=p;},null);
__d("Danger",["ExecutionEnvironment","createNodesFromMarkup","emptyFunction","getMarkupWrap","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=/^(<[^ \/>]+)/,m='data-danger-index';function n(p){return p.substring(1,p.indexOf(' '));}var o={dangerouslyRenderMarkup:function(p){k(g.canUseDOM);var q,r={};for(var s=0;s<p.length;s++){k(p[s]);q=n(p[s]);q=j(q)?q:'*';r[q]=r[q]||[];r[q][s]=p[s];}var t=[],u=0;for(q in r){if(!r.hasOwnProperty(q))continue;var v=r[q],w;for(w in v)if(v.hasOwnProperty(w)){var x=v[w];v[w]=x.replace(l,'$1 '+m+'="'+w+'" ');}var y=h(v.join(''),i);for(var z=0;z<y.length;++z){var aa=y[z];if(aa.hasAttribute&&aa.hasAttribute(m)){w=+aa.getAttribute(m);aa.removeAttribute(m);k(!t.hasOwnProperty(w));t[w]=aa;u+=1;}}}k(u===t.length);k(t.length===p.length);return t;},dangerouslyReplaceNodeWithMarkup:function(p,q){k(g.canUseDOM);k(q);k(p.tagName.toLowerCase()!=='html');var r=h(q,i)[0];p.parentNode.replaceChild(r,p);}};e.exports=o;},null);
__d("ReactMultiChildUpdateTypes",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});e.exports=h;},null);
__d("setInnerHTML",["ExecutionEnvironment"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=/^[ \r\n\t\f]/,i=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,j=function(l,m){l.innerHTML=m;};if(typeof MSApp!=='undefined'&&MSApp.execUnsafeLocalFunction)j=function(l,m){MSApp.execUnsafeLocalFunction(function(){l.innerHTML=m;});};if(g.canUseDOM){var k=document.createElement('div');k.innerHTML=' ';if(k.innerHTML==='')j=function(l,m){if(l.parentNode)l.parentNode.replaceChild(l,l);if(h.test(m)||m[0]==='<'&&i.test(m)){l.innerHTML='\uFEFF'+m;var n=l.firstChild;if(n.data.length===1){l.removeChild(n);}else n.deleteData(0,1);}else l.innerHTML=m;};}e.exports=j;},null);
__d("setTextContent",["ExecutionEnvironment","escapeTextContentForBrowser","setInnerHTML"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j=function(k,l){k.textContent=l;};if(g.canUseDOM)if(!('textContent' in document.documentElement))j=function(k,l){i(k,h(l));};e.exports=j;},null);
__d("DOMChildrenOperations",["Danger","ReactMultiChildUpdateTypes","setTextContent","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';function k(m,n,o){m.insertBefore(n,m.childNodes[o]||null);}var l={dangerouslyReplaceNodeWithMarkup:g.dangerouslyReplaceNodeWithMarkup,updateTextContent:i,processUpdates:function(m,n){var o,p=null,q=null;for(var r=0;r<m.length;r++){o=m[r];if(o.type===h.MOVE_EXISTING||o.type===h.REMOVE_NODE){var s=o.fromIndex,t=o.parentNode.childNodes[s],u=o.parentID;j(t);p=p||{};p[u]=p[u]||[];p[u][s]=t;q=q||[];q.push(t);}}var v=g.dangerouslyRenderMarkup(n);if(q)for(var w=0;w<q.length;w++)q[w].parentNode.removeChild(q[w]);for(var x=0;x<m.length;x++){o=m[x];switch(o.type){case h.INSERT_MARKUP:k(o.parentNode,v[o.markupIndex],o.toIndex);break;case h.MOVE_EXISTING:k(o.parentNode,p[o.parentID][o.fromIndex],o.toIndex);break;case h.TEXT_CONTENT:i(o.parentNode,o.textContent);break;case h.REMOVE_NODE:break;}}}};e.exports=l;},null);
__d("EventPluginRegistry",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=null,i={};function j(){if(!h)return;for(var n in i){var o=i[n],p=h.indexOf(n);g(p>-1);if(m.plugins[p])continue;g(o.extractEvents);m.plugins[p]=o;var q=o.eventTypes;for(var r in q)g(k(q[r],o,r));}}function k(n,o,p){g(!m.eventNameDispatchConfigs.hasOwnProperty(p));m.eventNameDispatchConfigs[p]=n;var q=n.phasedRegistrationNames;if(q){for(var r in q)if(q.hasOwnProperty(r)){var s=q[r];l(s,o,p);}return true;}else if(n.registrationName){l(n.registrationName,o,p);return true;}return false;}function l(n,o,p){g(!m.registrationNameModules[n]);m.registrationNameModules[n]=o;m.registrationNameDependencies[n]=o.eventTypes[p].dependencies;}var m={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(n){g(!h);h=Array.prototype.slice.call(n);j();},injectEventPluginsByName:function(n){var o=false;for(var p in n){if(!n.hasOwnProperty(p))continue;var q=n[p];if(!i.hasOwnProperty(p)||i[p]!==q){g(!i[p]);i[p]=q;o=true;}}if(o)j();},getPluginModuleForEvent:function(event){var n=event.dispatchConfig;if(n.registrationName)return m.registrationNameModules[n.registrationName]||null;for(var o in n.phasedRegistrationNames){if(!n.phasedRegistrationNames.hasOwnProperty(o))continue;var p=m.registrationNameModules[n.phasedRegistrationNames[o]];if(p)return p;}return null;},_resetEventPlugins:function(){h=null;for(var n in i)if(i.hasOwnProperty(n))delete i[n];m.plugins.length=0;var o=m.eventNameDispatchConfigs;for(var p in o)if(o.hasOwnProperty(p))delete o[p];var q=m.registrationNameModules;for(var r in q)if(q.hasOwnProperty(r))delete q[r];}};e.exports=m;},null);
__d("accumulateInto",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(i,j){g(j!=null);if(i==null)return j;var k=Array.isArray(i),l=Array.isArray(j);if(k&&l){i.push.apply(i,j);return i;}if(k){i.push(j);return i;}if(l)return [i].concat(j);return [i,j];}e.exports=h;},null);
__d("forEachAccumulated",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=function(h,i,j){if(Array.isArray(h)){h.forEach(i,j);}else if(h)i.call(j,h);};e.exports=g;},null);
__d("EventPluginHub",["EventPluginRegistry","EventPluginUtils","accumulateInto","forEachAccumulated","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m={},n=null,o=function(event){if(event){var s=h.executeDispatch,t=g.getPluginModuleForEvent(event);if(t&&t.executeDispatch)s=t.executeDispatch;h.executeDispatchesInOrder(event,s);if(!event.isPersistent())event.constructor.release(event);}},p=null;function q(){var s=p&&p.traverseTwoPhase&&p.traverseEnterLeave;l(s,'InstanceHandle not injected before use!');}var r={injection:{injectMount:h.injection.injectMount,injectInstanceHandle:function(s){p=s;},getInstanceHandle:function(){return p;},injectEventPluginOrder:g.injectEventPluginOrder,injectEventPluginsByName:g.injectEventPluginsByName},eventNameDispatchConfigs:g.eventNameDispatchConfigs,registrationNameModules:g.registrationNameModules,putListener:function(s,t,u){k(typeof u==='function');var v=m[t]||(m[t]={});v[s]=u;var w=g.registrationNameModules[t];if(w&&w.didPutListener)w.didPutListener(s,t,u);},getListener:function(s,t){var u=m[t];return u&&u[s];},deleteListener:function(s,t){var u=g.registrationNameModules[t];if(u&&u.willDeleteListener)u.willDeleteListener(s,t);var v=m[t];if(v)delete v[s];},deleteAllListeners:function(s){for(var t in m){if(!m[t][s])continue;var u=g.registrationNameModules[t];if(u&&u.willDeleteListener)u.willDeleteListener(s,t);delete m[t][s];}},extractEvents:function(s,t,u,v){var w,x=g.plugins;for(var y=0,z=x.length;y<z;y++){var aa=x[y];if(aa){var ba=aa.extractEvents(s,t,u,v);if(ba)w=i(w,ba);}}return w;},enqueueEvents:function(s){if(s)n=i(n,s);},processEventQueue:function(){var s=n;n=null;j(s,o);k(!n);},__purge:function(){m={};},__getListenerBank:function(){return m;}};e.exports=r;},null);
__d("ReactEventEmitterMixin",["EventPluginHub"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(j){g.enqueueEvents(j);g.processEventQueue();}var i={handleTopLevel:function(j,k,l,m){var n=g.extractEvents(j,k,l,m);h(n);}};e.exports=i;},null);
__d("ViewportMetrics",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(h){g.currentScrollLeft=h.x;g.currentScrollTop=h.y;}};e.exports=g;},null);
__d("isEventSupported",["ExecutionEnvironment"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h;if(g.canUseDOM)h=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature('','')!==true;function i(j,k){if(!g.canUseDOM||k&&!('addEventListener' in document))return false;var l='on'+j,m=l in document;if(!m){var n=document.createElement('div');n.setAttribute(l,'return;');m=typeof n[l]==='function';}if(!m&&h&&j==='wheel')m=document.implementation.hasFeature('Events.wheel','3.0');return m;}e.exports=i;},null);
__d("ReactBrowserEventEmitter",["EventConstants","EventPluginHub","EventPluginRegistry","ReactEventEmitterMixin","ViewportMetrics","Object.assign","isEventSupported"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n={},o=false,p=0,q={topBlur:'blur',topChange:'change',topClick:'click',topCompositionEnd:'compositionend',topCompositionStart:'compositionstart',topCompositionUpdate:'compositionupdate',topContextMenu:'contextmenu',topCopy:'copy',topCut:'cut',topDoubleClick:'dblclick',topDrag:'drag',topDragEnd:'dragend',topDragEnter:'dragenter',topDragExit:'dragexit',topDragLeave:'dragleave',topDragOver:'dragover',topDragStart:'dragstart',topDrop:'drop',topFocus:'focus',topInput:'input',topKeyDown:'keydown',topKeyPress:'keypress',topKeyUp:'keyup',topMouseDown:'mousedown',topMouseMove:'mousemove',topMouseOut:'mouseout',topMouseOver:'mouseover',topMouseUp:'mouseup',topPaste:'paste',topScroll:'scroll',topSelectionChange:'selectionchange',topTextInput:'textInput',topTouchCancel:'touchcancel',topTouchEnd:'touchend',topTouchMove:'touchmove',topTouchStart:'touchstart',topWheel:'wheel'},r='_reactListenersID'+String(Math.random()).slice(2);function s(u){if(!Object.prototype.hasOwnProperty.call(u,r)){u[r]=p++;n[u[r]]={};}return n[u[r]];}var t=l({},j,{ReactEventListener:null,injection:{injectReactEventListener:function(u){u.setHandleTopLevel(t.handleTopLevel);t.ReactEventListener=u;}},setEnabled:function(u){if(t.ReactEventListener)t.ReactEventListener.setEnabled(u);},isEnabled:function(){return !!(t.ReactEventListener&&t.ReactEventListener.isEnabled());},listenTo:function(u,v){var w=v,x=s(w),y=i.registrationNameDependencies[u],z=g.topLevelTypes;for(var aa=0,ba=y.length;aa<ba;aa++){var ca=y[aa];if(!(x.hasOwnProperty(ca)&&x[ca])){if(ca===z.topWheel){if(m('wheel')){t.ReactEventListener.trapBubbledEvent(z.topWheel,'wheel',w);}else if(m('mousewheel')){t.ReactEventListener.trapBubbledEvent(z.topWheel,'mousewheel',w);}else t.ReactEventListener.trapBubbledEvent(z.topWheel,'DOMMouseScroll',w);}else if(ca===z.topScroll){if(m('scroll',true)){t.ReactEventListener.trapCapturedEvent(z.topScroll,'scroll',w);}else t.ReactEventListener.trapBubbledEvent(z.topScroll,'scroll',t.ReactEventListener.WINDOW_HANDLE);}else if(ca===z.topFocus||ca===z.topBlur){if(m('focus',true)){t.ReactEventListener.trapCapturedEvent(z.topFocus,'focus',w);t.ReactEventListener.trapCapturedEvent(z.topBlur,'blur',w);}else if(m('focusin')){t.ReactEventListener.trapBubbledEvent(z.topFocus,'focusin',w);t.ReactEventListener.trapBubbledEvent(z.topBlur,'focusout',w);}x[z.topBlur]=true;x[z.topFocus]=true;}else if(q.hasOwnProperty(ca))t.ReactEventListener.trapBubbledEvent(ca,q[ca],w);x[ca]=true;}}},trapBubbledEvent:function(u,v,w){return t.ReactEventListener.trapBubbledEvent(u,v,w);},trapCapturedEvent:function(u,v,w){return t.ReactEventListener.trapCapturedEvent(u,v,w);},ensureScrollValueMonitoring:function(){if(!o){var u=k.refreshScrollValues;t.ReactEventListener.monitorScrollValue(u);o=true;}},eventNameDispatchConfigs:h.eventNameDispatchConfigs,registrationNameModules:h.registrationNameModules,putListener:h.putListener,getListener:h.getListener,deleteListener:h.deleteListener,deleteAllListeners:h.deleteAllListeners});e.exports=t;},null);
__d("ReactEmptyComponent",["ReactElement","ReactInstanceMap","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j,k={},l={injectEmptyComponent:function(s){j=g.createFactory(s);}},m=function(){};m.prototype.componentDidMount=function(){var s=h.get(this);if(!s)return;o(s._rootNodeID);};m.prototype.componentWillUnmount=function(){var s=h.get(this);if(!s)return;p(s._rootNodeID);};m.prototype.render=function(){i(j);return j();};var n=g.createElement(m);function o(s){k[s]=true;}function p(s){delete k[s];}function q(s){return !!k[s];}var r={emptyElement:n,injection:l,isNullComponentID:q};e.exports=r;},null);
__d("adler32",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=65521;function h(i){var j=1,k=0;for(var l=0;l<i.length;l++){j=(j+i.charCodeAt(l))%g;k=(k+j)%g;}return j|(k<<16);}e.exports=h;},null);
__d("ReactMarkupChecksum",["adler32"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={CHECKSUM_ATTR_NAME:'data-react-checksum',addChecksumToMarkup:function(i){var j=g(i);return i.replace('>',' '+h.CHECKSUM_ATTR_NAME+'="'+j+'">');},canReuseMarkup:function(i,j){var k=j.getAttribute(h.CHECKSUM_ATTR_NAME);k=k&&parseInt(k,10);var l=g(i);return l===k;}};e.exports=h;},null);
__d("getReactRootElementInContainer",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=9;function h(i){if(!i)return null;if(i.nodeType===g){return i.documentElement;}else return i.firstChild;}e.exports=h;},null);
__d("ReactComponentEnvironment",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=false,i={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(j){g(!h);i.unmountIDFromEnvironment=j.unmountIDFromEnvironment;i.replaceNodeWithMarkupByID=j.replaceNodeWithMarkupByID;i.processChildrenUpdates=j.processChildrenUpdates;h=true;}}};e.exports=i;},null);
__d("shouldUpdateReactComponent",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h,i){if(h!=null&&i!=null){var j=typeof h,k=typeof i;if(j==='string'||j==='number'){return (k==='string'||k==='number');}else return (k==='object'&&h.type===i.type&&h.key===i.key);}return false;}e.exports=g;},null);
__d("ReactCompositeComponent",["ReactComponentEnvironment","ReactContext","ReactCurrentOwner","ReactElement","ReactElementValidator","ReactInstanceMap","ReactLifeCycle","ReactNativeComponent","ReactPerf","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactReconciler","ReactUpdates","Object.assign","emptyObject","invariant","shouldUpdateReactComponent","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){b.__markCompiled&&b.__markCompiled();'use strict';function y(ca){var da=ca._currentElement._owner||null;if(da){var ea=da.getName();if(ea)return ' Check the render method of `'+ea+'`.';}return '';}var z=1,aa={construct:function(ca){this._currentElement=ca;this._rootNodeID=null;this._instance=null;this._pendingElement=null;this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;this._renderedComponent=null;this._context=null;this._mountOrder=0;this._isTopLevel=false;this._pendingCallbacks=null;},mountComponent:function(ca,da,ea){this._context=ea;this._mountOrder=z++;this._rootNodeID=ca;var fa=this._processProps(this._currentElement.props),ga=this._processContext(this._currentElement._context),ha=n.getComponentClassForElement(this._currentElement),ia=new ha(fa,ga);ia.props=fa;ia.context=ga;ia.refs=u;this._instance=ia;l.set(ia,this);var ja=ia.state;if(ja===(void 0))ia.state=ja=null;v(typeof ja==='object'&&!Array.isArray(ja));this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;var ka,la=m.currentlyMountingInstance;m.currentlyMountingInstance=this;try{if(ia.componentWillMount){ia.componentWillMount();if(this._pendingStateQueue)ia.state=this._processPendingState(ia.props,ia.context);}ka=this._renderValidatedComponent();}finally{m.currentlyMountingInstance=la;}this._renderedComponent=this._instantiateReactComponent(ka,this._currentElement.type);var ma=r.mountComponent(this._renderedComponent,ca,da,this._processChildContext(ea));if(ia.componentDidMount)da.getReactMountReady().enqueue(ia.componentDidMount,ia);return ma;},unmountComponent:function(){var ca=this._instance;if(ca.componentWillUnmount){var da=m.currentlyUnmountingInstance;m.currentlyUnmountingInstance=this;try{ca.componentWillUnmount();}finally{m.currentlyUnmountingInstance=da;}}r.unmountComponent(this._renderedComponent);this._renderedComponent=null;this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;this._pendingCallbacks=null;this._pendingElement=null;this._context=null;this._rootNodeID=null;l.remove(ca);},_setPropsInternal:function(ca,da){var ea=this._pendingElement||this._currentElement;this._pendingElement=j.cloneAndReplaceProps(ea,t({},ea.props,ca));s.enqueueUpdate(this,da);},_maskContext:function(ca){var da=null;if(typeof this._currentElement.type==='string')return u;var ea=this._currentElement.type.contextTypes;if(!ea)return u;da={};for(var fa in ea)da[fa]=ca[fa];return da;},_processContext:function(ca){var da=this._maskContext(ca);return da;},_processChildContext:function(ca){var da=this._instance,ea=da.getChildContext&&da.getChildContext();if(ea){v(typeof da.constructor.childContextTypes==='object');for(var fa in ea)v(fa in da.constructor.childContextTypes);return t({},ca,ea);}return ca;},_processProps:function(ca){return ca;},_checkPropTypes:function(ca,da,ea){var fa=this.getName();for(var ga in ca)if(ca.hasOwnProperty(ga)){var ha;try{v(typeof ca[ga]==='function');ha=ca[ga](da,ga,fa,ea);}catch(ia){ha=ia;}if(ha instanceof Error){var ja=y(this);if(ea===p.prop){x(false,'Failed Composite propType: %s%s',ha.message,ja);}else x(false,'Failed Context Types: %s%s',ha.message,ja);}}},receiveComponent:function(ca,da,ea){var fa=this._currentElement,ga=this._context;this._pendingElement=null;this.updateComponent(da,fa,ca,ga,ea);},performUpdateIfNecessary:function(ca){if(this._pendingElement!=null)r.receiveComponent(this,this._pendingElement||this._currentElement,ca,this._context);if(this._pendingStateQueue!==null||this._pendingForceUpdate)this.updateComponent(ca,this._currentElement,this._currentElement,this._context,this._context);},_warnIfContextsDiffer:function(ca,da){ca=this._maskContext(ca);da=this._maskContext(da);var ea=Object.keys(da).sort(),fa=this.getName()||'ReactCompositeComponent';for(var ga=0;ga<ea.length;ga++){var ha=ea[ga];x(ca[ha]===da[ha],'owner-based and parent-based contexts differ '+'(values: `%s` vs `%s`) for key (%s) while mounting %s '+'(see: http://fb.me/react-context-by-parent)',ca[ha],da[ha],ha,fa);}},updateComponent:function(ca,da,ea,fa,ga){var ha=this._instance,ia=ha.context,ja=ha.props;if(da!==ea){ia=this._processContext(ea._context);ja=this._processProps(ea.props);if(ha.componentWillReceiveProps)ha.componentWillReceiveProps(ja,ia);}var ka=this._processPendingState(ja,ia),la=this._pendingForceUpdate||!ha.shouldComponentUpdate||ha.shouldComponentUpdate(ja,ka,ia);if(la){this._pendingForceUpdate=false;this._performComponentUpdate(ea,ja,ka,ia,ca,ga);}else{this._currentElement=ea;this._context=ga;ha.props=ja;ha.state=ka;ha.context=ia;}},_processPendingState:function(ca,da){var ea=this._instance,fa=this._pendingStateQueue,ga=this._pendingReplaceState;this._pendingReplaceState=false;this._pendingStateQueue=null;if(!fa)return ea.state;var ha=t({},ga?fa[0]:ea.state);for(var ia=ga?1:0;ia<fa.length;ia++){var ja=fa[ia];t(ha,typeof ja==='function'?ja.call(ea,ha,ca,da):ja);}return ha;},_performComponentUpdate:function(ca,da,ea,fa,ga,ha){var ia=this._instance,ja=ia.props,ka=ia.state,la=ia.context;if(ia.componentWillUpdate)ia.componentWillUpdate(da,ea,fa);this._currentElement=ca;this._context=ha;ia.props=da;ia.state=ea;ia.context=fa;this._updateRenderedComponent(ga,ha);if(ia.componentDidUpdate)ga.getReactMountReady().enqueue(ia.componentDidUpdate.bind(ia,ja,ka,la),ia);},_updateRenderedComponent:function(ca,da){var ea=this._renderedComponent,fa=ea._currentElement,ga=this._renderValidatedComponent();if(w(fa,ga)){r.receiveComponent(ea,ga,ca,this._processChildContext(da));}else{var ha=this._rootNodeID,ia=ea._rootNodeID;r.unmountComponent(ea);this._renderedComponent=this._instantiateReactComponent(ga,this._currentElement.type);var ja=r.mountComponent(this._renderedComponent,ha,ca,da);this._replaceNodeWithMarkupByID(ia,ja);}},_replaceNodeWithMarkupByID:function(ca,da){g.replaceNodeWithMarkupByID(ca,da);},_renderValidatedComponentWithoutOwnerOrContext:function(){var ca=this._instance,da=ca.render();return da;},_renderValidatedComponent:function(){var ca,da=h.current;h.current=this._processChildContext(this._currentElement._context);i.current=this;try{ca=this._renderValidatedComponentWithoutOwnerOrContext();}finally{h.current=da;i.current=null;}v(ca===null||ca===false||j.isValidElement(ca));return ca;},attachRef:function(ca,da){var ea=this.getPublicInstance(),fa=ea.refs===u?(ea.refs={}):ea.refs;fa[ca]=da.getPublicInstance();},detachRef:function(ca){var da=this.getPublicInstance().refs;delete da[ca];},getName:function(){var ca=this._currentElement.type,da=this._instance&&this._instance.constructor;return (ca.displayName||(da&&da.displayName)||ca.name||(da&&da.name)||null);},getPublicInstance:function(){return this._instance;},_instantiateReactComponent:null};o.measureMethods(aa,'ReactCompositeComponent',{mountComponent:'mountComponent',updateComponent:'updateComponent',_renderValidatedComponent:'_renderValidatedComponent'});var ba={Mixin:aa};e.exports=ba;},null);
__d("instantiateReactComponent",["ReactCompositeComponent","ReactEmptyComponent","ReactNativeComponent","Object.assign","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=function(){};j(m.prototype,g.Mixin,{_instantiateReactComponent:o});function n(p){return (typeof p==='function'&&typeof p.prototype.mountComponent==='function'&&typeof p.prototype.receiveComponent==='function');}function o(p,q){var r;if(p===null||p===false)p=h.emptyElement;if(typeof p==='object'){var s=p;if(q===s.type&&typeof s.type==='string'){r=i.createInternalComponent(s);}else if(n(s.type)){r=new s.type(s);}else r=new m();}else if(typeof p==='string'||typeof p==='number'){r=i.createInstanceForText(p);}else k(false);r.construct(p);r._mountIndex=0;r._mountImage=null;return r;}e.exports=o;},null);
__d("ReactMount",["DOMProperty","ReactBrowserEventEmitter","ReactCurrentOwner","ReactElement","ReactElementValidator","ReactEmptyComponent","ReactInstanceHandles","ReactInstanceMap","ReactMarkupChecksum","ReactPerf","ReactReconciler","ReactUpdateQueue","ReactUpdates","emptyObject","containsNode","getReactRootElementInContainer","instantiateReactComponent","invariant","setInnerHTML","shouldUpdateReactComponent","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();'use strict';var ba=m.SEPARATOR,ca=g.ID_ATTRIBUTE_NAME,da={},ea=1,fa=9,ga=11,ha={},ia={},ja=[];function ka(za,ab){var bb=Math.min(za.length,ab.length);for(var cb=0;cb<bb;cb++)if(za.charAt(cb)!==ab.charAt(cb))return cb;return za.length===ab.length?-1:bb;}function la(za){var ab=v(za);return ab&&ya.getID(ab);}function ma(za){var ab=na(za);if(ab)if(da.hasOwnProperty(ab)){var bb=da[ab];if(bb!==za){x(!ra(bb,ab));da[ab]=za;}}else da[ab]=za;return ab;}function na(za){return za&&za.getAttribute&&za.getAttribute(ca)||'';}function oa(za,ab){var bb=na(za);if(bb!==ab)delete da[bb];za.setAttribute(ca,ab);da[ab]=za;}function pa(za){if(!da.hasOwnProperty(za)||!ra(da[za],za))da[za]=ya.findReactNodeByID(za);return da[za];}function qa(za){var ab=n.get(za)._rootNodeID;if(l.isNullComponentID(ab))return null;if(!da.hasOwnProperty(ab)||!ra(da[ab],ab))da[ab]=ya.findReactNodeByID(ab);return da[ab];}function ra(za,ab){if(za){x(na(za)===ab);var bb=ya.findReactContainerForID(ab);if(bb&&u(bb,za))return true;}return false;}function sa(za){delete da[za];}var ta=null;function ua(za){var ab=da[za];if(ab&&ra(ab,za)){ta=ab;}else return false;}function va(za){ta=null;m.traverseAncestors(za,ua);var ab=ta;ta=null;return ab;}function wa(za,ab,bb,cb,db){var eb=q.mountComponent(za,ab,cb,t);za._isTopLevel=true;ya._mountImageIntoNode(eb,bb,db);}function xa(za,ab,bb,cb){var db=s.ReactReconcileTransaction.getPooled();db.perform(wa,null,za,ab,bb,db,cb);s.ReactReconcileTransaction.release(db);}var ya={_instancesByReactRootID:ha,scrollMonitor:function(za,ab){ab();},_updateRootComponent:function(za,ab,bb,cb){ya.scrollMonitor(bb,function(){r.enqueueElementInternal(za,ab);if(cb)r.enqueueCallbackInternal(za,cb);});return za;},_registerComponent:function(za,ab){x(ab&&(ab.nodeType===ea||ab.nodeType===fa||ab.nodeType===ga));h.ensureScrollValueMonitoring();var bb=ya.registerContainer(ab);ha[bb]=za;return bb;},_renderNewRootComponent:function(za,ab,bb){aa(i.current==null,'_renderNewRootComponent(): Render methods should be a pure function '+'of props and state; triggering nested component updates from '+'render is not allowed. If necessary, trigger nested updates in '+'componentDidUpdate. Check the render method of %s.',i.current&&i.current.getName()||'ReactCompositeComponent');var cb=w(za,null),db=ya._registerComponent(cb,ab);s.batchedUpdates(xa,cb,db,ab,bb);return cb;},render:function(za,ab,bb){x(j.isValidElement(za));aa(ab&&ab.tagName!=='BODY','render(): Rendering components directly into document.body is '+'discouraged, since its children are often manipulated by third-party '+'scripts and browser extensions. This may lead to subtle '+'reconciliation issues. Try rendering into a container element created '+'for your app.');var cb=ha[la(ab)];if(cb){var db=cb._currentElement;if(z(db,za)){return ya._updateRootComponent(cb,za,ab,bb).getPublicInstance();}else ya.unmountComponentAtNode(ab);}var eb=v(ab),fb=eb&&ya.isRenderedByReact(eb),gb=fb&&!cb,hb=ya._renderNewRootComponent(za,ab,gb).getPublicInstance();if(bb)bb.call(hb);return hb;},constructAndRenderComponent:function(za,ab,bb){var cb=j.createElement(za,ab);return ya.render(cb,bb);},constructAndRenderComponentByID:function(za,ab,bb){var cb=document.getElementById(bb);x(cb);return ya.constructAndRenderComponent(za,ab,cb);},registerContainer:function(za){var ab=la(za);if(ab)ab=m.getReactRootIDFromNodeID(ab);if(!ab)ab=m.createReactRootID();ia[ab]=za;return ab;},unmountComponentAtNode:function(za){aa(i.current==null,'unmountComponentAtNode(): Render methods should be a pure function '+'of props and state; triggering nested component updates from render '+'is not allowed. If necessary, trigger nested updates in '+'componentDidUpdate. Check the render method of %s.',i.current&&i.current.getName()||'ReactCompositeComponent');x(za&&(za.nodeType===ea||za.nodeType===fa||za.nodeType===ga));var ab=la(za),bb=ha[ab];if(!bb)return false;ya.unmountComponentFromNode(bb,za);delete ha[ab];delete ia[ab];return true;},unmountComponentFromNode:function(za,ab){q.unmountComponent(za);if(ab.nodeType===fa)ab=ab.documentElement;while(ab.lastChild)ab.removeChild(ab.lastChild);},findReactContainerForID:function(za){var ab=m.getReactRootIDFromNodeID(za),bb=ia[ab];return bb;},findReactNodeByID:function(za){var ab=ya.findReactContainerForID(za);return ya.findComponentRoot(ab,za);},isRenderedByReact:function(za){if(za.nodeType!==1)return false;var ab=ya.getID(za);return ab?ab.charAt(0)===ba:false;},getFirstReactDOM:function(za){var ab=za;while(ab&&ab.parentNode!==ab){if(ya.isRenderedByReact(ab))return ab;ab=ab.parentNode;}return null;},findComponentRoot:function(za,ab){var bb=ja,cb=0,db=va(ab)||za;bb[0]=db.firstChild;bb.length=1;while(cb<bb.length){var eb=bb[cb++],fb;while(eb){var gb=ya.getID(eb);if(gb){if(ab===gb){fb=eb;}else if(m.isAncestorIDOf(gb,ab)){bb.length=cb=0;bb.push(eb.firstChild);}}else bb.push(eb.firstChild);eb=eb.nextSibling;}if(fb){bb.length=0;return fb;}}bb.length=0;x(false);},_mountImageIntoNode:function(za,ab,bb){x(ab&&(ab.nodeType===ea||ab.nodeType===fa||ab.nodeType===ga));if(bb){var cb=v(ab);if(o.canReuseMarkup(za,cb)){return;}else{var db=cb.getAttribute(o.CHECKSUM_ATTR_NAME);cb.removeAttribute(o.CHECKSUM_ATTR_NAME);var eb=cb.outerHTML;cb.setAttribute(o.CHECKSUM_ATTR_NAME,db);var fb=ka(za,eb),gb=' (client) '+za.substring(fb-20,fb+20)+'\n (server) '+eb.substring(fb-20,fb+20);x(ab.nodeType!==fa);}}x(ab.nodeType!==fa);y(ab,za);},getReactRootID:la,getID:ma,setID:oa,getNode:pa,getNodeFromInstance:qa,purgeID:sa};p.measureMethods(ya,'ReactMount',{_renderNewRootComponent:'_renderNewRootComponent',_mountImageIntoNode:'_mountImageIntoNode'});e.exports=ya;},null);
__d("ReactDOMIDOperations",["CSSPropertyOperations","DOMChildrenOperations","DOMPropertyOperations","ReactMount","ReactPerf","invariant","setInnerHTML"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n={dangerouslySetInnerHTML:'`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.',style:'`style` must be set using `updateStylesByID()`.'},o={updatePropertyByID:function(p,q,r){var s=j.getNode(p);l(!n.hasOwnProperty(q));if(r!=null){i.setValueForProperty(s,q,r);}else i.deleteValueForProperty(s,q);},deletePropertyByID:function(p,q,r){var s=j.getNode(p);l(!n.hasOwnProperty(q));i.deleteValueForProperty(s,q,r);},updateStylesByID:function(p,q){var r=j.getNode(p);g.setValueForStyles(r,q);},updateInnerHTMLByID:function(p,q){var r=j.getNode(p);m(r,q);},updateTextContentByID:function(p,q){var r=j.getNode(p);h.updateTextContent(r,q);},dangerouslyReplaceNodeWithMarkupByID:function(p,q){var r=j.getNode(p);h.dangerouslyReplaceNodeWithMarkup(r,q);},dangerouslyProcessChildrenUpdates:function(p,q){for(var r=0;r<p.length;r++)p[r].parentNode=j.getNode(p[r].parentID);h.processUpdates(p,q);}};k.measureMethods(o,'ReactDOMIDOperations',{updatePropertyByID:'updatePropertyByID',deletePropertyByID:'deletePropertyByID',updateStylesByID:'updateStylesByID',updateInnerHTMLByID:'updateInnerHTMLByID',updateTextContentByID:'updateTextContentByID',dangerouslyReplaceNodeWithMarkupByID:'dangerouslyReplaceNodeWithMarkupByID',dangerouslyProcessChildrenUpdates:'dangerouslyProcessChildrenUpdates'});e.exports=o;},null);
__d("ReactComponentBrowserEnvironment",["ReactDOMIDOperations","ReactMount"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={processChildrenUpdates:g.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:g.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(j){h.purgeID(j);}};e.exports=i;},null);
__d("flattenChildren",["traverseAllChildren","warning"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';function i(k,l,m){var n=k,o=!n.hasOwnProperty(m);if(o&&l!=null)n[m]=l;}function j(k){if(k==null)return k;var l={};g(k,i,l);return l;}e.exports=j;},null);
__d("ReactChildReconciler",["ReactReconciler","flattenChildren","instantiateReactComponent","shouldUpdateReactComponent"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={instantiateChildren:function(l,m,n){var o=h(l);for(var p in o)if(o.hasOwnProperty(p)){var q=o[p],r=i(q,null);o[p]=r;}return o;},updateChildren:function(l,m,n,o){var p=h(m);if(!p&&!l)return null;var q;for(q in p){if(!p.hasOwnProperty(q))continue;var r=l&&l[q],s=r&&r._currentElement,t=p[q];if(j(s,t)){g.receiveComponent(r,t,n,o);p[q]=r;}else{if(r)g.unmountComponent(r,q);var u=i(t,null);p[q]=u;}}for(q in l)if(l.hasOwnProperty(q)&&!(p&&p.hasOwnProperty(q)))g.unmountComponent(l[q]);return p;},unmountChildren:function(l){for(var m in l){var n=l[m];g.unmountComponent(n);}}};e.exports=k;},null);
__d("ReactMultiChild",["ReactComponentEnvironment","ReactMultiChildUpdateTypes","ReactReconciler","ReactChildReconciler"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=0,l=[],m=[];function n(u,v,w){l.push({parentID:u,parentNode:null,type:h.INSERT_MARKUP,markupIndex:m.push(v)-1,textContent:null,fromIndex:null,toIndex:w});}function o(u,v,w){l.push({parentID:u,parentNode:null,type:h.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:v,toIndex:w});}function p(u,v){l.push({parentID:u,parentNode:null,type:h.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:v,toIndex:null});}function q(u,v){l.push({parentID:u,parentNode:null,type:h.TEXT_CONTENT,markupIndex:null,textContent:v,fromIndex:null,toIndex:null});}function r(){if(l.length){g.processChildrenUpdates(l,m);s();}}function s(){l.length=0;m.length=0;}var t={Mixin:{mountChildren:function(u,v,w){var x=j.instantiateChildren(u,v,w);this._renderedChildren=x;var y=[],z=0;for(var aa in x)if(x.hasOwnProperty(aa)){var ba=x[aa],ca=this._rootNodeID+aa,da=i.mountComponent(ba,ca,v,w);ba._mountIndex=z;y.push(da);z++;}return y;},updateTextContent:function(u){k++;var v=true;try{var w=this._renderedChildren;j.unmountChildren(w);for(var x in w)if(w.hasOwnProperty(x))this._unmountChildByName(w[x],x);this.setTextContent(u);v=false;}finally{k--;if(!k)if(v){s();}else r();}},updateChildren:function(u,v,w){k++;var x=true;try{this._updateChildren(u,v,w);x=false;}finally{k--;if(!k)if(x){s();}else r();}},_updateChildren:function(u,v,w){var x=this._renderedChildren,y=j.updateChildren(x,u,v,w);this._renderedChildren=y;if(!y&&!x)return;var z,aa=0,ba=0;for(z in y){if(!y.hasOwnProperty(z))continue;var ca=x&&x[z],da=y[z];if(ca===da){this.moveChild(ca,ba,aa);aa=Math.max(ca._mountIndex,aa);ca._mountIndex=ba;}else{if(ca){aa=Math.max(ca._mountIndex,aa);this._unmountChildByName(ca,z);}this._mountChildByNameAtIndex(da,z,ba,v,w);}ba++;}for(z in x)if(x.hasOwnProperty(z)&&!(y&&y.hasOwnProperty(z)))this._unmountChildByName(x[z],z);},unmountChildren:function(){var u=this._renderedChildren;j.unmountChildren(u);this._renderedChildren=null;},moveChild:function(u,v,w){if(u._mountIndex<w)o(this._rootNodeID,u._mountIndex,v);},createChild:function(u,v){n(this._rootNodeID,v,u._mountIndex);},removeChild:function(u){p(this._rootNodeID,u._mountIndex);},setTextContent:function(u){q(this._rootNodeID,u);},_mountChildByNameAtIndex:function(u,v,w,x,y){var z=this._rootNodeID+v,aa=i.mountComponent(u,z,x,y);u._mountIndex=w;this.createChild(u,aa);},_unmountChildByName:function(u,v){this.removeChild(u);u._mountIndex=null;}}};e.exports=t;},null);
__d("ReactDOMComponent",["CSSPropertyOperations","DOMProperty","DOMPropertyOperations","ReactBrowserEventEmitter","ReactComponentBrowserEnvironment","ReactMount","ReactMultiChild","ReactPerf","Object.assign","escapeTextContentForBrowser","invariant","isEventSupported","keyOf","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();'use strict';var u=j.deleteListener,v=j.listenTo,w=j.registrationNameModules,x={string:true,number:true},y=s({style:null}),z=1,aa=null;function ba(la,ma){if(!ma)return;if(ma.dangerouslySetInnerHTML!=null){q(ma.children==null);q(ma.dangerouslySetInnerHTML.__html!=null);}q(ma.style==null||typeof ma.style==='object');}function ca(la,ma,na,oa){var pa=l.findReactContainerForID(la);if(pa){var qa=pa.nodeType===z?pa.ownerDocument:pa;v(ma,qa);}oa.getPutListenerQueue().enqueuePutListener(la,ma,na);}var da={area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true},ea={listing:true,pre:true,textarea:true},fa=o({menuitem:true},da),ga=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ha={},ia={}.hasOwnProperty;function ja(la){if(!ia.call(ha,la)){q(ga.test(la));ha[la]=true;}}function ka(la){ja(la);this._tag=la;this._renderedChildren=null;this._previousStyleCopy=null;this._rootNodeID=null;}ka.displayName='ReactDOMComponent';ka.Mixin={construct:function(la){this._currentElement=la;},mountComponent:function(la,ma,na){this._rootNodeID=la;ba(this,this._currentElement.props);var oa=this._createOpenTagMarkupAndPutListeners(ma),pa=this._createContentMarkup(ma,na);if(!pa&&da[this._tag])return oa+'/>';return oa+'>'+pa+'</'+this._tag+'>';},_createOpenTagMarkupAndPutListeners:function(la){var ma=this._currentElement.props,na='<'+this._tag;for(var oa in ma){if(!ma.hasOwnProperty(oa))continue;var pa=ma[oa];if(pa==null)continue;if(w.hasOwnProperty(oa)){ca(this._rootNodeID,oa,pa,la);}else{if(oa===y){if(pa)pa=this._previousStyleCopy=o({},ma.style);pa=g.createMarkupForStyles(pa);}var qa=i.createMarkupForProperty(oa,pa);if(qa)na+=' '+qa;}}if(la.renderToStaticMarkup)return na;var ra=i.createMarkupForID(this._rootNodeID);return na+' '+ra;},_createContentMarkup:function(la,ma){var na='',oa=this._currentElement.props,pa=oa.dangerouslySetInnerHTML;if(pa!=null){if(pa.__html!=null)na=pa.__html;}else{var qa=x[typeof oa.children]?oa.children:null,ra=qa!=null?null:oa.children;if(qa!=null){na=p(qa);}else if(ra!=null){var sa=this.mountChildren(ra,la,ma);na=sa.join('');}}if(ea[this._tag]&&na.charAt(0)==='\n'){return '\n'+na;}else return na;},receiveComponent:function(la,ma,na){var oa=this._currentElement;this._currentElement=la;this.updateComponent(ma,oa,la,na);},updateComponent:function(la,ma,na,oa){ba(this,this._currentElement.props);this._updateDOMProperties(ma.props,la);this._updateDOMChildren(ma.props,la,oa);},_updateDOMProperties:function(la,ma){var na=this._currentElement.props,oa,pa,qa;for(oa in la){if(na.hasOwnProperty(oa)||!la.hasOwnProperty(oa))continue;if(oa===y){var ra=this._previousStyleCopy;for(pa in ra)if(ra.hasOwnProperty(pa)){qa=qa||{};qa[pa]='';}this._previousStyleCopy=null;}else if(w.hasOwnProperty(oa)){if(la[oa])u(this._rootNodeID,oa);}else if(h.isStandardName[oa]||h.isCustomAttribute(oa))aa.deletePropertyByID(this._rootNodeID,oa);}for(oa in na){var sa=na[oa],ta=oa===y?this._previousStyleCopy:la[oa];if(!na.hasOwnProperty(oa)||sa===ta)continue;if(oa===y){if(sa)sa=this._previousStyleCopy=o({},sa);if(ta){for(pa in ta)if(ta.hasOwnProperty(pa)&&(!sa||!sa.hasOwnProperty(pa))){qa=qa||{};qa[pa]='';}for(pa in sa)if(sa.hasOwnProperty(pa)&&ta[pa]!==sa[pa]){qa=qa||{};qa[pa]=sa[pa];}}else qa=sa;}else if(w.hasOwnProperty(oa)){if(sa){ca(this._rootNodeID,oa,sa,ma);}else if(ta)u(this._rootNodeID,oa);}else if(h.isStandardName[oa]||h.isCustomAttribute(oa))aa.updatePropertyByID(this._rootNodeID,oa,sa);}if(qa)aa.updateStylesByID(this._rootNodeID,qa);},_updateDOMChildren:function(la,ma,na){var oa=this._currentElement.props,pa=x[typeof la.children]?la.children:null,qa=x[typeof oa.children]?oa.children:null,ra=la.dangerouslySetInnerHTML&&la.dangerouslySetInnerHTML.__html,sa=oa.dangerouslySetInnerHTML&&oa.dangerouslySetInnerHTML.__html,ta=pa!=null?null:la.children,ua=qa!=null?null:oa.children,va=pa!=null||ra!=null,wa=qa!=null||sa!=null;if(ta!=null&&ua==null){this.updateChildren(null,ma,na);}else if(va&&!wa)this.updateTextContent('');if(qa!=null){if(pa!==qa)this.updateTextContent(''+qa);}else if(sa!=null){if(ra!==sa)aa.updateInnerHTMLByID(this._rootNodeID,sa);}else if(ua!=null)this.updateChildren(ua,ma,na);},unmountComponent:function(){this.unmountChildren();j.deleteAllListeners(this._rootNodeID);k.unmountIDFromEnvironment(this._rootNodeID);this._rootNodeID=null;}};n.measureMethods(ka,'ReactDOMComponent',{mountComponent:'mountComponent',updateComponent:'updateComponent'});o(ka.prototype,ka.Mixin,m.Mixin);ka.injection={injectIDOperations:function(la){ka.BackendIDOperations=aa=la;}};e.exports=ka;},null);
__d("ReactDOMTextComponent",["DOMPropertyOperations","ReactComponentBrowserEnvironment","ReactDOMComponent","Object.assign","escapeTextContentForBrowser"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=function(m){};j(l.prototype,{construct:function(m){this._currentElement=m;this._stringText=''+m;this._rootNodeID=null;this._mountIndex=0;},mountComponent:function(m,n,o){this._rootNodeID=m;var p=k(this._stringText);if(n.renderToStaticMarkup)return p;return ('<span '+g.createMarkupForID(m)+'>'+p+'</span>');},receiveComponent:function(m,n){if(m!==this._currentElement){this._currentElement=m;var o=''+m;if(o!==this._stringText){this._stringText=o;i.BackendIDOperations.updateTextContentByID(this._rootNodeID,o);}}},unmountComponent:function(){h.unmountIDFromEnvironment(this._rootNodeID);}});e.exports=l;},null);
__d("EventPropagators",["EventConstants","EventPluginHub","warning","accumulateInto","forEachAccumulated"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=g.PropagationPhases,m=h.getListener;function n(w,event,x){var y=event.dispatchConfig.phasedRegistrationNames[x];return m(w,y);}function o(w,x,event){var y=x?l.bubbled:l.captured,z=n(w,event,y);if(z){event._dispatchListeners=j(event._dispatchListeners,z);event._dispatchIDs=j(event._dispatchIDs,w);}}function p(event){if(event&&event.dispatchConfig.phasedRegistrationNames)h.injection.getInstanceHandle().traverseTwoPhase(event.dispatchMarker,o,event);}function q(w,x,event){if(event&&event.dispatchConfig.registrationName){var y=event.dispatchConfig.registrationName,z=m(w,y);if(z){event._dispatchListeners=j(event._dispatchListeners,z);event._dispatchIDs=j(event._dispatchIDs,w);}}}function r(event){if(event&&event.dispatchConfig.registrationName)q(event.dispatchMarker,null,event);}function s(w){k(w,p);}function t(w,x,y,z){h.injection.getInstanceHandle().traverseEnterLeave(y,z,q,w,x);}function u(w){k(w,r);}var v={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:u,accumulateEnterLeaveDispatches:t};e.exports=v;},null);
__d("getTextContentAccessor",["ExecutionEnvironment"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=null;function i(){if(!h&&g.canUseDOM)h='textContent' in document.documentElement?'textContent':'innerText';return h;}e.exports=i;},null);
__d("FallbackCompositionState",["PooledClass","Object.assign","getTextContentAccessor"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(k){this._root=k;this._startText=this.getText();this._fallbackText=null;}h(j.prototype,{getText:function(){if('value' in this._root)return this._root.value;return this._root[i()];},getData:function(){if(this._fallbackText)return this._fallbackText;var k,l=this._startText,m=l.length,n,o=this.getText(),p=o.length;for(k=0;k<m;k++)if(l[k]!==o[k])break;var q=m-k;for(n=1;n<=q;n++)if(l[m-n]!==o[p-n])break;var r=n>1?1-n:(void 0);this._fallbackText=o.slice(k,r);return this._fallbackText;}});g.addPoolingTo(j);e.exports=j;},null);
__d("getEventTarget",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h){var i=h.target||h.srcElement||window;return i.nodeType===3?i.parentNode:i;}e.exports=g;},null);
__d("SyntheticEvent",["PooledClass","Object.assign","emptyFunction","getEventTarget"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={type:null,target:j,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now();},defaultPrevented:null,isTrusted:null};function l(m,n,o){this.dispatchConfig=m;this.dispatchMarker=n;this.nativeEvent=o;var p=this.constructor.Interface;for(var q in p){if(!p.hasOwnProperty(q))continue;var r=p[q];if(r){this[q]=r(o);}else this[q]=o[q];}var s=o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===false;if(s){this.isDefaultPrevented=i.thatReturnsTrue;}else this.isDefaultPrevented=i.thatReturnsFalse;this.isPropagationStopped=i.thatReturnsFalse;}h(l.prototype,{preventDefault:function(){this.defaultPrevented=true;var event=this.nativeEvent;if(event.preventDefault){event.preventDefault();}else event.returnValue=false;this.isDefaultPrevented=i.thatReturnsTrue;},stopPropagation:function(){var event=this.nativeEvent;if(event.stopPropagation){event.stopPropagation();}else event.cancelBubble=true;this.isPropagationStopped=i.thatReturnsTrue;},persist:function(){this.isPersistent=i.thatReturnsTrue;},isPersistent:i.thatReturnsFalse,destructor:function(){var m=this.constructor.Interface;for(var n in m)this[n]=null;this.dispatchConfig=null;this.dispatchMarker=null;this.nativeEvent=null;}});l.Interface=k;l.augmentClass=function(m,n){var o=this,p=Object.create(o.prototype);h(p,m.prototype);m.prototype=p;m.prototype.constructor=m;m.Interface=h({},o.Interface,n);m.augmentClass=o.augmentClass;g.addPoolingTo(m,g.threeArgumentPooler);};g.addPoolingTo(l,g.threeArgumentPooler);e.exports=l;},null);
__d("SyntheticCompositionEvent",["SyntheticEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={data:null};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("SyntheticInputEvent",["SyntheticEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={data:null};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("BeforeInputEventPlugin",["EventConstants","EventPropagators","ExecutionEnvironment","FallbackCompositionState","SyntheticCompositionEvent","SyntheticInputEvent","keyOf"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=[9,13,27,32],o=229,p=(i.canUseDOM&&'CompositionEvent' in window),q=null;if(i.canUseDOM&&'documentMode' in document)q=document.documentMode;var r=(i.canUseDOM&&'TextEvent' in window&&!q&&!t()),s=(i.canUseDOM&&(!p||(q&&q>8&&q<=11)));function t(){var ka=window.opera;return (typeof ka==='object'&&typeof ka.version==='function'&&parseInt(ka.version(),10)<=12);}var u=32,v=String.fromCharCode(u),w=g.topLevelTypes,x={beforeInput:{phasedRegistrationNames:{bubbled:m({onBeforeInput:null}),captured:m({onBeforeInputCapture:null})},dependencies:[w.topCompositionEnd,w.topKeyPress,w.topTextInput,w.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:m({onCompositionEnd:null}),captured:m({onCompositionEndCapture:null})},dependencies:[w.topBlur,w.topCompositionEnd,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:m({onCompositionStart:null}),captured:m({onCompositionStartCapture:null})},dependencies:[w.topBlur,w.topCompositionStart,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:m({onCompositionUpdate:null}),captured:m({onCompositionUpdateCapture:null})},dependencies:[w.topBlur,w.topCompositionUpdate,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]}},y=false;function z(ka){return ((ka.ctrlKey||ka.altKey||ka.metaKey)&&!(ka.ctrlKey&&ka.altKey));}function aa(ka){switch(ka){case w.topCompositionStart:return x.compositionStart;case w.topCompositionEnd:return x.compositionEnd;case w.topCompositionUpdate:return x.compositionUpdate;}}function ba(ka,la){return (ka===w.topKeyDown&&la.keyCode===o);}function ca(ka,la){switch(ka){case w.topKeyUp:return (n.indexOf(la.keyCode)!==-1);case w.topKeyDown:return (la.keyCode!==o);case w.topKeyPress:case w.topMouseDown:case w.topBlur:return true;default:return false;}}function da(ka){var la=ka.detail;if(typeof la==='object'&&'data' in la)return la.data;return null;}var ea=null;function fa(ka,la,ma,na){var oa,pa;if(p){oa=aa(ka);}else if(!ea){if(ba(ka,na))oa=x.compositionStart;}else if(ca(ka,na))oa=x.compositionEnd;if(!oa)return null;if(s)if(!ea&&oa===x.compositionStart){ea=j.getPooled(la);}else if(oa===x.compositionEnd)if(ea)pa=ea.getData();var event=k.getPooled(oa,ma,na);if(pa){event.data=pa;}else{var qa=da(na);if(qa!==null)event.data=qa;}h.accumulateTwoPhaseDispatches(event);return event;}function ga(ka,la){switch(ka){case w.topCompositionEnd:return da(la);case w.topKeyPress:var ma=la.which;if(ma!==u)return null;y=true;return v;case w.topTextInput:var na=la.data;if(na===v&&y)return null;return na;default:return null;}}function ha(ka,la){if(ea){if(ka===w.topCompositionEnd||ca(ka,la)){var ma=ea.getData();j.release(ea);ea=null;return ma;}return null;}switch(ka){case w.topPaste:return null;case w.topKeyPress:if(la.which&&!z(la))return String.fromCharCode(la.which);return null;case w.topCompositionEnd:return s?null:la.data;default:return null;}}function ia(ka,la,ma,na){var oa;if(r){oa=ga(ka,na);}else oa=ha(ka,na);if(!oa)return null;var event=l.getPooled(x.beforeInput,ma,na);event.data=oa;h.accumulateTwoPhaseDispatches(event);return event;}var ja={eventTypes:x,extractEvents:function(ka,la,ma,na){return [fa(ka,la,ma,na),ia(ka,la,ma,na)];}};e.exports=ja;},null);
__d("isTextInputElement",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={color:true,date:true,datetime:true,'datetime-local':true,email:true,month:true,number:true,password:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true};function h(i){return i&&((i.nodeName==='INPUT'&&g[i.type])||i.nodeName==='TEXTAREA');}e.exports=h;},null);
__d("ChangeEventPlugin",["EventConstants","EventPluginHub","EventPropagators","ExecutionEnvironment","ReactUpdates","SyntheticEvent","isEventSupported","isTextInputElement","keyOf"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();'use strict';var p=g.topLevelTypes,q={change:{phasedRegistrationNames:{bubbled:o({onChange:null}),captured:o({onChangeCapture:null})},dependencies:[p.topBlur,p.topChange,p.topClick,p.topFocus,p.topInput,p.topKeyDown,p.topKeyUp,p.topSelectionChange]}},r=null,s=null,t=null,u=null;function v(oa){return (oa.nodeName==='SELECT'||(oa.nodeName==='INPUT'&&oa.type==='file'));}var w=false;if(j.canUseDOM)w=m('change')&&(!('documentMode' in document)||document.documentMode>8);function x(oa){var event=l.getPooled(q.change,s,oa);i.accumulateTwoPhaseDispatches(event);k.batchedUpdates(y,event);}function y(event){h.enqueueEvents(event);h.processEventQueue();}function z(oa,pa){r=oa;s=pa;r.attachEvent('onchange',x);}function aa(){if(!r)return;r.detachEvent('onchange',x);r=null;s=null;}function ba(oa,pa,qa){if(oa===p.topChange)return qa;}function ca(oa,pa,qa){if(oa===p.topFocus){aa();z(pa,qa);}else if(oa===p.topBlur)aa();}var da=false;if(j.canUseDOM)da=m('input')&&(!('documentMode' in document)||document.documentMode>9);var ea={get:function(){return u.get.call(this);},set:function(oa){t=''+oa;u.set.call(this,oa);}};function fa(oa,pa){r=oa;s=pa;t=oa.value;u=Object.getOwnPropertyDescriptor(oa.constructor.prototype,'value');Object.defineProperty(r,'value',ea);r.attachEvent('onpropertychange',ha);}function ga(){if(!r)return;delete r.value;r.detachEvent('onpropertychange',ha);r=null;s=null;t=null;u=null;}function ha(oa){if(oa.propertyName!=='value')return;var pa=oa.srcElement.value;if(pa===t)return;t=pa;x(oa);}function ia(oa,pa,qa){if(oa===p.topInput)return qa;}function ja(oa,pa,qa){if(oa===p.topFocus){ga();fa(pa,qa);}else if(oa===p.topBlur)ga();}function ka(oa,pa,qa){if(oa===p.topSelectionChange||oa===p.topKeyUp||oa===p.topKeyDown)if(r&&r.value!==t){t=r.value;return s;}}function la(oa){return (oa.nodeName==='INPUT'&&(oa.type==='checkbox'||oa.type==='radio'));}function ma(oa,pa,qa){if(oa===p.topClick)return qa;}var na={eventTypes:q,extractEvents:function(oa,pa,qa,ra){var sa,ta;if(v(pa)){if(w){sa=ba;}else ta=ca;}else if(n(pa)){if(da){sa=ia;}else{sa=ka;ta=ja;}}else if(la(pa))sa=ma;if(sa){var ua=sa(oa,pa,qa);if(ua){var event=l.getPooled(q.change,ua,ra);i.accumulateTwoPhaseDispatches(event);return event;}}if(ta)ta(oa,pa,qa);}};e.exports=na;},null);
__d("ClientReactRootIndex",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=0,h={createReactRootIndex:function(){return g++;}};e.exports=h;},null);
__d("DefaultEventPluginOrder",["keyOf"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=[g({ResponderEventPlugin:null}),g({SimpleEventPlugin:null}),g({TapEventPlugin:null}),g({EnterLeaveEventPlugin:null}),g({ChangeEventPlugin:null}),g({SelectEventPlugin:null}),g({BeforeInputEventPlugin:null}),g({AnalyticsEventPlugin:null})];e.exports=h;},null);
__d("SyntheticUIEvent",["SyntheticEvent","getEventTarget"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={view:function(event){if(event.view)return event.view;var k=h(event);if(k!=null&&k.window===k)return k;var l=k.ownerDocument;if(l){return l.defaultView||l.parentWindow;}else return window;},detail:function(event){return event.detail||0;}};function j(k,l,m){g.call(this,k,l,m);}g.augmentClass(j,i);e.exports=j;},null);
__d("getEventModifierState",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={Alt:'altKey',Control:'ctrlKey',Meta:'metaKey',Shift:'shiftKey'};function h(j){var k=this,l=k.nativeEvent;if(l.getModifierState)return l.getModifierState(j);var m=g[j];return m?!!l[m]:false;}function i(j){return h;}e.exports=i;},null);
__d("SyntheticMouseEvent",["SyntheticUIEvent","ViewportMetrics","getEventModifierState"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(event){var l=event.button;if('which' in event)return l;return l===2?2:l===4?1:0;},buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement);},pageX:function(event){return 'pageX' in event?event.pageX:event.clientX+h.currentScrollLeft;},pageY:function(event){return 'pageY' in event?event.pageY:event.clientY+h.currentScrollTop;}};function k(l,m,n){g.call(this,l,m,n);}g.augmentClass(k,j);e.exports=k;},null);
__d("EnterLeaveEventPlugin",["EventConstants","EventPropagators","SyntheticMouseEvent","ReactMount","keyOf"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=g.topLevelTypes,m=j.getFirstReactDOM,n={mouseEnter:{registrationName:k({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:k({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},o=[null,null],p={eventTypes:n,extractEvents:function(q,r,s,t){if(q===l.topMouseOver&&(t.relatedTarget||t.fromElement))return null;if(q!==l.topMouseOut&&q!==l.topMouseOver)return null;var u;if(r.window===r){u=r;}else{var v=r.ownerDocument;if(v){u=v.defaultView||v.parentWindow;}else u=window;}var w,x;if(q===l.topMouseOut){w=r;x=m(t.relatedTarget||t.toElement)||u;}else{w=u;x=r;}if(w===x)return null;var y=w?j.getID(w):'',z=x?j.getID(x):'',aa=i.getPooled(n.mouseLeave,y,t);aa.type='mouseleave';aa.target=w;aa.relatedTarget=x;var ba=i.getPooled(n.mouseEnter,z,t);ba.type='mouseenter';ba.target=x;ba.relatedTarget=w;h.accumulateEnterLeaveDispatches(aa,ba,y,z);o[0]=aa;o[1]=ba;return o;}};e.exports=p;},null);
__d("HTMLDOMPropertyConfig-upstream",["DOMProperty","ExecutionEnvironment"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i=g.injection.MUST_USE_ATTRIBUTE,j=g.injection.MUST_USE_PROPERTY,k=g.injection.HAS_BOOLEAN_VALUE,l=g.injection.HAS_SIDE_EFFECTS,m=g.injection.HAS_NUMERIC_VALUE,n=g.injection.HAS_POSITIVE_NUMERIC_VALUE,o=g.injection.HAS_OVERLOADED_BOOLEAN_VALUE,p;if(h.canUseDOM){var q=document.implementation;p=(q&&q.hasFeature&&q.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure','1.1'));}var r={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|k,allowTransparency:i,alt:null,async:k,autoComplete:null,autoPlay:k,cellPadding:null,cellSpacing:null,charSet:i,checked:j|k,classID:i,className:p?i:j,cols:i|n,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:j|k,coords:null,crossOrigin:null,data:null,dateTime:i,defer:k,dir:null,disabled:i|k,download:o,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:k,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|k,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:j,label:null,lang:null,list:i,loop:j|k,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,multiple:j|k,muted:j|k,name:null,noValidate:k,open:k,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:j|k,rel:null,required:k,role:i,rows:i|n,rowSpan:null,sandbox:null,scope:null,scrolling:null,seamless:i|k,selected:j|k,shape:null,size:i|n,sizes:i,span:n,spellCheck:null,src:null,srcDoc:j,srcSet:i,start:m,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:j|l,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|k,itemType:i,itemID:i,itemRef:i,property:null},DOMAttributeNames:{acceptCharset:'accept-charset',className:'class',htmlFor:'for',httpEquiv:'http-equiv'},DOMPropertyNames:{autoCapitalize:'autocapitalize',autoComplete:'autocomplete',autoCorrect:'autocorrect',autoFocus:'autofocus',autoPlay:'autoplay',encType:'encoding',hrefLang:'hreflang',radioGroup:'radiogroup',spellCheck:'spellcheck',srcDoc:'srcdoc',srcSet:'srcset'}};e.exports=r;},null);
__d("HTMLDOMPropertyConfig",["HTMLDOMPropertyConfig-upstream","DOMProperty"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h.injection.MUST_USE_ATTRIBUTE;g.Properties.ajaxify=i;e.exports=g;},null);
__d("findDOMNode",["ReactCurrentOwner","ReactInstanceMap","ReactMount","invariant","isNode","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';function m(n){if(n==null)return null;if(k(n))return n;if(h.has(n))return i.getNodeFromInstance(n);j(n.render==null||typeof n.render!=='function');j(false);}e.exports=m;},null);
__d("ReactBrowserComponentMixin",["ReactInstanceMap","findDOMNode","warning"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j='_getDOMNodeDidWarn',k={getDOMNode:function(){i(this.constructor[j],'%s.getDOMNode(...) is deprecated. Please use '+'React.findDOMNode(instance) instead.',g.get(this).getName()||this.tagName||'Unknown');this.constructor[j]=true;return h(this);}};e.exports=k;},null);
__d("ReactDefaultBatchingStrategy",["ReactUpdates","Transaction","Object.assign","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={initialize:j,close:function(){p.isBatchingUpdates=false;}},l={initialize:j,close:g.flushBatchedUpdates.bind(g)},m=[l,k];function n(){this.reinitializeTransaction();}i(n.prototype,h.Mixin,{getTransactionWrappers:function(){return m;}});var o=new n(),p={isBatchingUpdates:false,batchedUpdates:function(q,r,s,t,u){var v=p.isBatchingUpdates;p.isBatchingUpdates=true;if(v){q(r,s,t,u);}else o.perform(q,null,r,s,t,u);}};e.exports=p;},null);
__d("focusNode",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";function g(h){try{h.focus();}catch(i){}}e.exports=g;},null);
__d("AutoFocusMixin",["findDOMNode","focusNode"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={componentDidMount:function(){if(this.props.autoFocus)h(g(this));}};e.exports=i;},null);
__d("ReactDOMButton",["AutoFocusMixin","ReactBrowserComponentMixin","ReactClass","ReactElement","keyMirror"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=j.createFactory('button'),m=k({onClick:true,onDoubleClick:true,onMouseDown:true,onMouseMove:true,onMouseUp:true,onClickCapture:true,onDoubleClickCapture:true,onMouseDownCapture:true,onMouseMoveCapture:true,onMouseUpCapture:true}),n=i.createClass({displayName:'ReactDOMButton',tagName:'BUTTON',mixins:[g,h],render:function(){var o={};for(var p in this.props)if(this.props.hasOwnProperty(p)&&(!this.props.disabled||!m[p]))o[p]=this.props[p];return l(o,this.props.children);}});e.exports=n;},null);
__d("LocalEventTrapMixin",["ReactBrowserEventEmitter","accumulateInto","findDOMNode","forEachAccumulated","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';function l(event){event.remove();}var m={trapBubbledEvent:function(n,o){k(this.isMounted());var p=i(this);k(p);var q=g.trapBubbledEvent(n,o,p);this._localEventListeners=h(this._localEventListeners,q);},componentWillUnmount:function(){if(this._localEventListeners)j(this._localEventListeners,l);}};e.exports=m;},null);
__d("ReactDOMForm",["EventConstants","LocalEventTrapMixin","ReactBrowserComponentMixin","ReactClass","ReactElement"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=k.createFactory('form'),m=j.createClass({displayName:'ReactDOMForm',tagName:'FORM',mixins:[i,h],render:function(){return l(this.props);},componentDidMount:function(){this.trapBubbledEvent(g.topLevelTypes.topReset,'reset');this.trapBubbledEvent(g.topLevelTypes.topSubmit,'submit');}});e.exports=m;},null);
__d("ReactDOMImg",["EventConstants","LocalEventTrapMixin","ReactBrowserComponentMixin","ReactClass","ReactElement"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=k.createFactory('img'),m=j.createClass({displayName:'ReactDOMImg',tagName:'IMG',mixins:[i,h],render:function(){return l(this.props);},componentDidMount:function(){this.trapBubbledEvent(g.topLevelTypes.topLoad,'load');this.trapBubbledEvent(g.topLevelTypes.topError,'error');}});e.exports=m;},null);
__d("ReactDOMIframe",["EventConstants","LocalEventTrapMixin","ReactBrowserComponentMixin","ReactClass","ReactElement"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=k.createFactory('iframe'),m=j.createClass({displayName:'ReactDOMIframe',tagName:'IFRAME',mixins:[i,h],render:function(){return l(this.props);},componentDidMount:function(){this.trapBubbledEvent(g.topLevelTypes.topLoad,'load');}});e.exports=m;},null);
__d("ReactPropTypes",["ReactElement","ReactFragment","ReactPropTypeLocationNames","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k='<<anonymous>>',l={array:n('array'),bool:n('boolean'),func:n('function'),number:n('number'),object:n('object'),string:n('string'),any:o(),arrayOf:p,element:q(),instanceOf:r,node:v(),objectOf:t,oneOf:s,oneOfType:u,shape:w};function m(aa){function ba(da,ea,fa,ga,ha){ga=ga||k;if(ea[fa]==null){var ia=i[ha];if(da)return new Error(("Required "+ia+" `"+fa+"` was not specified in ")+("`"+ga+"`."));return null;}else return aa(ea,fa,ga,ha);}var ca=ba.bind(null,false);ca.isRequired=ba.bind(null,true);return ca;}function n(aa){function ba(ca,da,ea,fa){var ga=ca[da],ha=y(ga);if(ha!==aa){var ia=i[fa],ja=z(ga);return new Error(("Invalid "+ia+" `"+da+"` of type `"+ja+"` ")+("supplied to `"+ea+"`, expected `"+aa+"`."));}return null;}return m(ba);}function o(){return m(j.thatReturns(null));}function p(aa){function ba(ca,da,ea,fa){var ga=ca[da];if(!Array.isArray(ga)){var ha=i[fa],ia=y(ga);return new Error(("Invalid "+ha+" `"+da+"` of type ")+("`"+ia+"` supplied to `"+ea+"`, expected an array."));}for(var ja=0;ja<ga.length;ja++){var ka=aa(ga,ja,ea,fa);if(ka instanceof Error)return ka;}return null;}return m(ba);}function q(){function aa(ba,ca,da,ea){if(!g.isValidElement(ba[ca])){var fa=i[ea];return new Error(("Invalid "+fa+" `"+ca+"` supplied to ")+("`"+da+"`, expected a ReactElement."));}return null;}return m(aa);}function r(aa){function ba(ca,da,ea,fa){if(!(ca[da] instanceof aa)){var ga=i[fa],ha=aa.name||k;return new Error(("Invalid "+ga+" `"+da+"` supplied to ")+("`"+ea+"`, expected instance of `"+ha+"`."));}return null;}return m(ba);}function s(aa){function ba(ca,da,ea,fa){var ga=ca[da];for(var ha=0;ha<aa.length;ha++)if(ga===aa[ha])return null;var ia=i[fa],ja=JSON.stringify(aa);return new Error(("Invalid "+ia+" `"+da+"` of value `"+ga+"` ")+("supplied to `"+ea+"`, expected one of "+ja+"."));}return m(ba);}function t(aa){function ba(ca,da,ea,fa){var ga=ca[da],ha=y(ga);if(ha!=='object'){var ia=i[fa];return new Error(("Invalid "+ia+" `"+da+"` of type ")+("`"+ha+"` supplied to `"+ea+"`, expected an object."));}for(var ja in ga)if(ga.hasOwnProperty(ja)){var ka=aa(ga,ja,ea,fa);if(ka instanceof Error)return ka;}return null;}return m(ba);}function u(aa){function ba(ca,da,ea,fa){for(var ga=0;ga<aa.length;ga++){var ha=aa[ga];if(ha(ca,da,ea,fa)==null)return null;}var ia=i[fa];return new Error(("Invalid "+ia+" `"+da+"` supplied to ")+("`"+ea+"`."));}return m(ba);}function v(){function aa(ba,ca,da,ea){if(!x(ba[ca])){var fa=i[ea];return new Error(("Invalid "+fa+" `"+ca+"` supplied to ")+("`"+da+"`, expected a ReactNode."));}return null;}return m(aa);}function w(aa){function ba(ca,da,ea,fa){var ga=ca[da],ha=y(ga);if(ha!=='object'){var ia=i[fa];return new Error(("Invalid "+ia+" `"+da+"` of type `"+ha+"` ")+("supplied to `"+ea+"`, expected `object`."));}for(var ja in aa){var ka=aa[ja];if(!ka)continue;var la=ka(ga,ja,ea,fa);if(la)return la;}return null;}return m(ba);}function x(aa){switch(typeof aa){case 'number':case 'string':case 'undefined':return true;case 'boolean':return !aa;case 'object':if(Array.isArray(aa))return aa.every(x);if(aa===null||g.isValidElement(aa))return true;aa=h.extractIfFragment(aa);for(var ba in aa)if(!x(aa[ba]))return false;return true;default:return false;}}function y(aa){var ba=typeof aa;if(Array.isArray(aa))return 'array';if(aa instanceof RegExp)return 'object';return ba;}function z(aa){var ba=y(aa);if(ba==='object')if(aa instanceof Date){return 'date';}else if(aa instanceof RegExp)return 'regexp';return ba;}e.exports=l;},null);
__d("LinkedValueUtils",["ReactPropTypes","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={button:true,checkbox:true,image:true,hidden:true,radio:true,reset:true,submit:true};function j(p){h(p.props.checkedLink==null||p.props.valueLink==null);}function k(p){j(p);h(p.props.value==null&&p.props.onChange==null);}function l(p){j(p);h(p.props.checked==null&&p.props.onChange==null);}function m(p){this.props.valueLink.requestChange(p.target.value);}function n(p){this.props.checkedLink.requestChange(p.target.checked);}var o={Mixin:{propTypes:{value:function(p,q,r){if(!p[q]||i[p.type]||p.onChange||p.readOnly||p.disabled)return null;return new Error('You provided a `value` prop to a form field without an '+'`onChange` handler. This will render a read-only field. If '+'the field should be mutable use `defaultValue`. Otherwise, '+'set either `onChange` or `readOnly`.');},checked:function(p,q,r){if(!p[q]||p.onChange||p.readOnly||p.disabled)return null;return new Error('You provided a `checked` prop to a form field without an '+'`onChange` handler. This will render a read-only field. If '+'the field should be mutable use `defaultChecked`. Otherwise, '+'set either `onChange` or `readOnly`.');},onChange:g.func}},getValue:function(p){if(p.props.valueLink){k(p);return p.props.valueLink.value;}return p.props.value;},getChecked:function(p){if(p.props.checkedLink){l(p);return p.props.checkedLink.value;}return p.props.checked;},getOnChange:function(p){if(p.props.valueLink){k(p);return m;}else if(p.props.checkedLink){l(p);return n;}return p.props.onChange;}};e.exports=o;},null);
__d("ReactDOMInput",["AutoFocusMixin","DOMPropertyOperations","LinkedValueUtils","ReactBrowserComponentMixin","ReactClass","ReactElement","ReactMount","ReactUpdates","Object.assign","findDOMNode","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();'use strict';var r=l.createFactory('input'),s={};function t(){if(this.isMounted())this.forceUpdate();}var u=k.createClass({displayName:'ReactDOMInput',tagName:'INPUT',mixins:[g,i.Mixin,j],getInitialState:function(){var v=this.props.defaultValue;return {initialChecked:this.props.defaultChecked||false,initialValue:v!=null?v:null};},render:function(){var v=o({},this.props);v.defaultChecked=null;v.defaultValue=null;var w=i.getValue(this);v.value=w!=null?w:this.state.initialValue;var x=i.getChecked(this);v.checked=x!=null?x:this.state.initialChecked;v.onChange=this._handleChange;return r(v,this.props.children);},componentDidMount:function(){var v=m.getID(p(this));s[v]=this;},componentWillUnmount:function(){var v=p(this),w=m.getID(v);delete s[w];},componentDidUpdate:function(v,w,x){var y=p(this);if(this.props.checked!=null)h.setValueForProperty(y,'checked',this.props.checked||false);var z=i.getValue(this);if(z!=null)h.setValueForProperty(y,'value',''+z);},_handleChange:function(event){var v,w=i.getOnChange(this);if(w)v=w.call(this,event);n.asap(t,this);var x=this.props.name;if(this.props.type==='radio'&&x!=null){var y=p(this),z=y;while(z.parentNode)z=z.parentNode;var aa=z.querySelectorAll('input[name='+JSON.stringify(''+x)+'][type="radio"]');for(var ba=0,ca=aa.length;ba<ca;ba++){var da=aa[ba];if(da===y||da.form!==y.form)continue;var ea=m.getID(da);q(ea);var fa=s[ea];q(fa);n.asap(t,fa);}}return v;}});e.exports=u;},null);
__d("ReactDOMOption",["ReactBrowserComponentMixin","ReactClass","ReactElement","warning"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=i.createFactory('option'),l=h.createClass({displayName:'ReactDOMOption',tagName:'OPTION',mixins:[g],componentWillMount:function(){},render:function(){return k(this.props,this.props.children);}});e.exports=l;},null);
__d("ReactDOMSelect",["AutoFocusMixin","LinkedValueUtils","ReactBrowserComponentMixin","ReactClass","ReactElement","ReactUpdates","Object.assign","findDOMNode"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();'use strict';var o=k.createFactory('select');function p(){if(this._pendingUpdate){this._pendingUpdate=false;var t=h.getValue(this);if(t!=null&&this.isMounted())r(this,t);}}function q(t,u,v){if(t[u]==null)return null;if(t.multiple){if(!Array.isArray(t[u]))return new Error(("The `"+u+"` prop supplied to <select> must be an array if ")+("`multiple` is true."));}else if(Array.isArray(t[u]))return new Error(("The `"+u+"` prop supplied to <select> must be a scalar ")+("value if `multiple` is false."));}function r(t,u){var v,w,x,y=n(t).options;if(t.props.multiple){v={};for(w=0,x=u.length;w<x;w++)v[''+u[w]]=true;for(w=0,x=y.length;w<x;w++){var z=v.hasOwnProperty(y[w].value);if(y[w].selected!==z)y[w].selected=z;}}else{v=''+u;for(w=0,x=y.length;w<x;w++)if(y[w].value===v){y[w].selected=true;return;}if(y.length)y[0].selected=true;}}var s=j.createClass({displayName:'ReactDOMSelect',tagName:'SELECT',mixins:[g,h.Mixin,i],propTypes:{defaultValue:q,value:q},render:function(){var t=m({},this.props);t.onChange=this._handleChange;t.value=null;return o(t,this.props.children);},componentWillMount:function(){this._pendingUpdate=false;},componentDidMount:function(){var t=h.getValue(this);if(t!=null){r(this,t);}else if(this.props.defaultValue!=null)r(this,this.props.defaultValue);},componentDidUpdate:function(t){var u=h.getValue(this);if(u!=null){this._pendingUpdate=false;r(this,u);}else if(!t.multiple!==!this.props.multiple)if(this.props.defaultValue!=null){r(this,this.props.defaultValue);}else r(this,this.props.multiple?[]:'');},_handleChange:function(event){var t,u=h.getOnChange(this);if(u)t=u.call(this,event);this._pendingUpdate=true;l.asap(p,this);return t;}});e.exports=s;},null);
__d("ReactDOMTextarea",["AutoFocusMixin","DOMPropertyOperations","LinkedValueUtils","ReactBrowserComponentMixin","ReactClass","ReactElement","ReactUpdates","Object.assign","findDOMNode","invariant","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();'use strict';var r=l.createFactory('textarea');function s(){if(this.isMounted())this.forceUpdate();}var t=k.createClass({displayName:'ReactDOMTextarea',tagName:'TEXTAREA',mixins:[g,i.Mixin,j],getInitialState:function(){var u=this.props.defaultValue,v=this.props.children;if(v!=null){p(u==null);if(Array.isArray(v)){p(v.length<=1);v=v[0];}u=''+v;}if(u==null)u='';var w=i.getValue(this);return {initialValue:''+(w!=null?w:u)};},render:function(){var u=n({},this.props);p(u.dangerouslySetInnerHTML==null);u.defaultValue=null;u.value=null;u.onChange=this._handleChange;return r(u,this.state.initialValue);},componentDidUpdate:function(u,v,w){var x=i.getValue(this);if(x!=null){var y=o(this);h.setValueForProperty(y,'value',''+x);}},_handleChange:function(event){var u,v=i.getOnChange(this);if(v)u=v.call(this,event);m.asap(s,this);return u;}});e.exports=t;},null);
__d("ReactEventListener",["EventListener","ExecutionEnvironment","PooledClass","ReactInstanceHandles","ReactMount","ReactUpdates","Object.assign","getEventTarget","getUnboundedScrollPosition"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();'use strict';function p(u){var v=k.getID(u),w=j.getReactRootIDFromNodeID(v),x=k.findReactContainerForID(w),y=k.getFirstReactDOM(x);return y;}function q(u,v){this.topLevelType=u;this.nativeEvent=v;this.ancestors=[];}m(q.prototype,{destructor:function(){this.topLevelType=null;this.nativeEvent=null;this.ancestors.length=0;}});i.addPoolingTo(q,i.twoArgumentPooler);function r(u){var v=k.getFirstReactDOM(n(u.nativeEvent))||window,w=v;while(w){u.ancestors.push(w);w=p(w);}for(var x=0,y=u.ancestors.length;x<y;x++){v=u.ancestors[x];var z=k.getID(v)||'';t._handleTopLevel(u.topLevelType,v,z,u.nativeEvent);}}function s(u){var v=o(window);u(v);}var t={_enabled:true,_handleTopLevel:null,WINDOW_HANDLE:h.canUseDOM?window:null,setHandleTopLevel:function(u){t._handleTopLevel=u;},setEnabled:function(u){t._enabled=!!u;},isEnabled:function(){return t._enabled;},trapBubbledEvent:function(u,v,w){var x=w;if(!x)return null;return g.listen(x,v,t.dispatchEvent.bind(null,u));},trapCapturedEvent:function(u,v,w){var x=w;if(!x)return null;return g.capture(x,v,t.dispatchEvent.bind(null,u));},monitorScrollValue:function(u){var v=s.bind(null,u);g.listen(window,'scroll',v);},dispatchEvent:function(u,v){if(!t._enabled)return;var w=q.getPooled(u,v);try{l.batchedUpdates(r,w);}finally{q.release(w);}}};e.exports=t;},null);
__d("ReactInjection",["DOMProperty","EventPluginHub","ReactComponentEnvironment","ReactClass","ReactEmptyComponent","ReactBrowserEventEmitter","ReactNativeComponent","ReactDOMComponent","ReactPerf","ReactRootIndex","ReactUpdates"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();'use strict';var r={Component:i.injection,Class:j.injection,DOMComponent:n.injection,DOMProperty:g.injection,EmptyComponent:k.injection,EventPluginHub:h.injection,EventEmitter:l.injection,NativeComponent:m.injection,Perf:o.injection,RootIndex:p.injection,Updates:q.injection};e.exports=r;},null);
__d("getNodeForCharacterOffset",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(j){while(j&&j.firstChild)j=j.firstChild;return j;}function h(j){while(j){if(j.nextSibling)return j.nextSibling;j=j.parentNode;}}function i(j,k){var l=g(j),m=0,n=0;while(l){if(l.nodeType===3){n=m+l.textContent.length;if(m<=k&&n>=k)return {node:l,offset:k-m};m=n;}l=g(h(l));}}e.exports=i;},null);
__d("ReactDOMSelection",["ExecutionEnvironment","getNodeForCharacterOffset","getTextContentAccessor"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(q,r,s,t){return q===s&&r===t;}function k(q){var r=document.selection,s=r.createRange(),t=s.text.length,u=s.duplicate();u.moveToElementText(q);u.setEndPoint('EndToStart',s);var v=u.text.length,w=v+t;return {start:v,end:w};}function l(q){var r=window.getSelection&&window.getSelection();if(!r||r.rangeCount===0)return null;var s=r.anchorNode,t=r.anchorOffset,u=r.focusNode,v=r.focusOffset,w=r.getRangeAt(0),x=j(r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset),y=x?0:w.toString().length,z=w.cloneRange();z.selectNodeContents(q);z.setEnd(w.startContainer,w.startOffset);var aa=j(z.startContainer,z.startOffset,z.endContainer,z.endOffset),ba=aa?0:z.toString().length,ca=ba+y,da=document.createRange();da.setStart(s,t);da.setEnd(u,v);var ea=da.collapsed;return {start:ea?ca:ba,end:ea?ba:ca};}function m(q,r){var s=document.selection.createRange().duplicate(),t,u;if(typeof r.end==='undefined'){t=r.start;u=t;}else if(r.start>r.end){t=r.end;u=r.start;}else{t=r.start;u=r.end;}s.moveToElementText(q);s.moveStart('character',t);s.setEndPoint('EndToStart',s);s.moveEnd('character',u-t);s.select();}function n(q,r){if(!window.getSelection)return;var s=window.getSelection(),t=q[i()].length,u=Math.min(r.start,t),v=typeof r.end==='undefined'?u:Math.min(r.end,t);if(!s.extend&&u>v){var w=v;v=u;u=w;}var x=h(q,u),y=h(q,v);if(x&&y){var z=document.createRange();z.setStart(x.node,x.offset);s.removeAllRanges();if(u>v){s.addRange(z);s.extend(y.node,y.offset);}else{z.setEnd(y.node,y.offset);s.addRange(z);}}}var o=(g.canUseDOM&&'selection' in document&&!('getSelection' in window)),p={getOffsets:o?k:l,setOffsets:o?m:n};e.exports=p;},null);
__d("ReactInputSelection",["ReactDOMSelection","containsNode","focusNode","getActiveElement"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';function k(m){return h(document.documentElement,m);}var l={hasSelectionCapabilities:function(m){return m&&((m.nodeName==='INPUT'&&m.type==='text')||m.nodeName==='TEXTAREA'||m.contentEditable==='true');},getSelectionInformation:function(){var m=j();return {focusedElem:m,selectionRange:l.hasSelectionCapabilities(m)?l.getSelection(m):null};},restoreSelection:function(m){var n=j(),o=m.focusedElem,p=m.selectionRange;if(n!==o&&k(o)){if(l.hasSelectionCapabilities(o))l.setSelection(o,p);i(o);}},getSelection:function(m){var n;if('selectionStart' in m){n={start:m.selectionStart,end:m.selectionEnd};}else if(document.selection&&m.nodeName==='INPUT'){var o=document.selection.createRange();if(o.parentElement()===m)n={start:-o.moveStart('character',-m.value.length),end:-o.moveEnd('character',-m.value.length)};}else n=g.getOffsets(m);return n||{start:0,end:0};},setSelection:function(m,n){var o=n.start,p=n.end;if(typeof p==='undefined')p=o;if('selectionStart' in m){m.selectionStart=o;m.selectionEnd=Math.min(p,m.value.length);}else if(document.selection&&m.nodeName==='INPUT'){var q=m.createTextRange();q.collapse(true);q.moveStart('character',o);q.moveEnd('character',p-o);q.select();}else g.setOffsets(m,n);}};e.exports=l;},null);
__d("ReactPutListenerQueue",["PooledClass","ReactBrowserEventEmitter","Object.assign"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(){this.listenersToPut=[];}i(j.prototype,{enqueuePutListener:function(k,l,m){this.listenersToPut.push({rootNodeID:k,propKey:l,propValue:m});},putListeners:function(){for(var k=0;k<this.listenersToPut.length;k++){var l=this.listenersToPut[k];h.putListener(l.rootNodeID,l.propKey,l.propValue);}},reset:function(){this.listenersToPut.length=0;},destructor:function(){this.reset();}});g.addPoolingTo(j);e.exports=j;},null);
__d("ReactReconcileTransaction",["CallbackQueue","PooledClass","ReactBrowserEventEmitter","ReactInputSelection","ReactPutListenerQueue","Transaction","Object.assign"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n={initialize:j.getSelectionInformation,close:j.restoreSelection},o={initialize:function(){var u=i.isEnabled();i.setEnabled(false);return u;},close:function(u){i.setEnabled(u);}},p={initialize:function(){this.reactMountReady.reset();},close:function(){this.reactMountReady.notifyAll();}},q={initialize:function(){this.putListenerQueue.reset();},close:function(){this.putListenerQueue.putListeners();}},r=[q,n,o,p];function s(){this.reinitializeTransaction();this.renderToStaticMarkup=false;this.reactMountReady=g.getPooled(null);this.putListenerQueue=k.getPooled();}var t={getTransactionWrappers:function(){return r;},getReactMountReady:function(){return this.reactMountReady;},getPutListenerQueue:function(){return this.putListenerQueue;},destructor:function(){g.release(this.reactMountReady);this.reactMountReady=null;k.release(this.putListenerQueue);this.putListenerQueue=null;}};m(s.prototype,l.Mixin,t);h.addPoolingTo(s);e.exports=s;},null);
__d("shallowEqual",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h,i){if(h===i)return true;if(!h||!i)return false;if(typeof h!=='object'||typeof i!=='object')return false;var j;for(j in h)if(h.hasOwnProperty(j)&&(!i.hasOwnProperty(j)||h[j]!==i[j]))return false;for(j in i)if(i.hasOwnProperty(j)&&!h.hasOwnProperty(j))return false;return true;}e.exports=g;},null);
__d("SelectEventPlugin",["EventConstants","EventPropagators","ReactInputSelection","SyntheticEvent","getActiveElement","isTextInputElement","keyOf","shallowEqual"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();'use strict';var o=g.topLevelTypes,p={select:{phasedRegistrationNames:{bubbled:m({onSelect:null}),captured:m({onSelectCapture:null})},dependencies:[o.topBlur,o.topContextMenu,o.topFocus,o.topKeyDown,o.topMouseDown,o.topMouseUp,o.topSelectionChange]}},q=null,r=null,s=null,t=false;function u(x){if('selectionStart' in x&&i.hasSelectionCapabilities(x)){return {start:x.selectionStart,end:x.selectionEnd};}else if(window.getSelection){var y=window.getSelection();return {anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset};}else if(document.selection){var z=document.selection.createRange();return {parentElement:z.parentElement(),text:z.text,top:z.boundingTop,left:z.boundingLeft};}}function v(x){if(t||q==null||q!==k())return null;var y=u(q);if(!s||!n(s,y)){s=y;var z=j.getPooled(p.select,r,x);z.type='select';z.target=q;h.accumulateTwoPhaseDispatches(z);return z;}}var w={eventTypes:p,extractEvents:function(x,y,z,aa){switch(x){case o.topFocus:if(l(y)||y.contentEditable==='true'){q=y;r=z;s=null;}break;case o.topBlur:q=null;r=null;s=null;break;case o.topMouseDown:t=true;break;case o.topContextMenu:case o.topMouseUp:t=false;return v(aa);case o.topSelectionChange:case o.topKeyDown:case o.topKeyUp:return v(aa);}}};e.exports=w;},null);
__d("ServerReactRootIndex",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=Math.pow(2,53),h={createReactRootIndex:function(){return Math.ceil(Math.random()*g);}};e.exports=h;},null);
__d("SyntheticClipboardEvent",["SyntheticEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={clipboardData:function(event){return ('clipboardData' in event?event.clipboardData:window.clipboardData);}};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("SyntheticFocusEvent",["SyntheticUIEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={relatedTarget:null};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("getEventCharCode",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h){var i,j=h.keyCode;if('charCode' in h){i=h.charCode;if(i===0&&j===13)i=13;}else i=j;if(i>=32||i===13)return i;return 0;}e.exports=g;},null);
__d("getEventKey",["getEventCharCode"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={Esc:'Escape',Spacebar:' ',Left:'ArrowLeft',Up:'ArrowUp',Right:'ArrowRight',Down:'ArrowDown',Del:'Delete',Win:'OS',Menu:'ContextMenu',Apps:'ContextMenu',Scroll:'ScrollLock',MozPrintableKey:'Unidentified'},i={8:'Backspace',9:'Tab',12:'Clear',13:'Enter',16:'Shift',17:'Control',18:'Alt',19:'Pause',20:'CapsLock',27:'Escape',32:' ',33:'PageUp',34:'PageDown',35:'End',36:'Home',37:'ArrowLeft',38:'ArrowUp',39:'ArrowRight',40:'ArrowDown',45:'Insert',46:'Delete',112:'F1',113:'F2',114:'F3',115:'F4',116:'F5',117:'F6',118:'F7',119:'F8',120:'F9',121:'F10',122:'F11',123:'F12',144:'NumLock',145:'ScrollLock',224:'Meta'};function j(k){if(k.key){var l=h[k.key]||k.key;if(l!=='Unidentified')return l;}if(k.type==='keypress'){var m=g(k);return m===13?'Enter':String.fromCharCode(m);}if(k.type==='keydown'||k.type==='keyup')return i[k.keyCode]||'Unidentified';return '';}e.exports=j;},null);
__d("SyntheticKeyboardEvent",["SyntheticUIEvent","getEventCharCode","getEventKey","getEventModifierState"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:j,charCode:function(event){if(event.type==='keypress')return h(event);return 0;},keyCode:function(event){if(event.type==='keydown'||event.type==='keyup')return event.keyCode;return 0;},which:function(event){if(event.type==='keypress')return h(event);if(event.type==='keydown'||event.type==='keyup')return event.keyCode;return 0;}};function l(m,n,o){g.call(this,m,n,o);}g.augmentClass(l,k);e.exports=l;},null);
__d("SyntheticDragEvent",["SyntheticMouseEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={dataTransfer:null};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("SyntheticTouchEvent",["SyntheticUIEvent","getEventModifierState"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:h};function j(k,l,m){g.call(this,k,l,m);}g.augmentClass(j,i);e.exports=j;},null);
__d("SyntheticWheelEvent",["SyntheticMouseEvent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={deltaX:function(event){return ('deltaX' in event?event.deltaX:'wheelDeltaX' in event?-event.wheelDeltaX:0);},deltaY:function(event){return ('deltaY' in event?event.deltaY:'wheelDeltaY' in event?-event.wheelDeltaY:'wheelDelta' in event?-event.wheelDelta:0);},deltaZ:null,deltaMode:null};function i(j,k,l){g.call(this,j,k,l);}g.augmentClass(i,h);e.exports=i;},null);
__d("SimpleEventPlugin",["EventConstants","EventListener","EventPluginUtils","EventPropagators","ReactMount","SyntheticClipboardEvent","SyntheticEvent","SyntheticFocusEvent","SyntheticKeyboardEvent","SyntheticMouseEvent","SyntheticDragEvent","SyntheticTouchEvent","SyntheticUIEvent","SyntheticWheelEvent","emptyFunction","getEventCharCode","invariant","keyOf","warning"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y){b.__markCompiled&&b.__markCompiled();'use strict';var z=g.topLevelTypes,aa={blur:{phasedRegistrationNames:{bubbled:x({onBlur:true}),captured:x({onBlurCapture:true})}},click:{phasedRegistrationNames:{bubbled:x({onClick:true}),captured:x({onClickCapture:true})}},contextMenu:{phasedRegistrationNames:{bubbled:x({onContextMenu:true}),captured:x({onContextMenuCapture:true})}},copy:{phasedRegistrationNames:{bubbled:x({onCopy:true}),captured:x({onCopyCapture:true})}},cut:{phasedRegistrationNames:{bubbled:x({onCut:true}),captured:x({onCutCapture:true})}},doubleClick:{phasedRegistrationNames:{bubbled:x({onDoubleClick:true}),captured:x({onDoubleClickCapture:true})}},drag:{phasedRegistrationNames:{bubbled:x({onDrag:true}),captured:x({onDragCapture:true})}},dragEnd:{phasedRegistrationNames:{bubbled:x({onDragEnd:true}),captured:x({onDragEndCapture:true})}},dragEnter:{phasedRegistrationNames:{bubbled:x({onDragEnter:true}),captured:x({onDragEnterCapture:true})}},dragExit:{phasedRegistrationNames:{bubbled:x({onDragExit:true}),captured:x({onDragExitCapture:true})}},dragLeave:{phasedRegistrationNames:{bubbled:x({onDragLeave:true}),captured:x({onDragLeaveCapture:true})}},dragOver:{phasedRegistrationNames:{bubbled:x({onDragOver:true}),captured:x({onDragOverCapture:true})}},dragStart:{phasedRegistrationNames:{bubbled:x({onDragStart:true}),captured:x({onDragStartCapture:true})}},drop:{phasedRegistrationNames:{bubbled:x({onDrop:true}),captured:x({onDropCapture:true})}},focus:{phasedRegistrationNames:{bubbled:x({onFocus:true}),captured:x({onFocusCapture:true})}},input:{phasedRegistrationNames:{bubbled:x({onInput:true}),captured:x({onInputCapture:true})}},keyDown:{phasedRegistrationNames:{bubbled:x({onKeyDown:true}),captured:x({onKeyDownCapture:true})}},keyPress:{phasedRegistrationNames:{bubbled:x({onKeyPress:true}),captured:x({onKeyPressCapture:true})}},keyUp:{phasedRegistrationNames:{bubbled:x({onKeyUp:true}),captured:x({onKeyUpCapture:true})}},load:{phasedRegistrationNames:{bubbled:x({onLoad:true}),captured:x({onLoadCapture:true})}},error:{phasedRegistrationNames:{bubbled:x({onError:true}),captured:x({onErrorCapture:true})}},mouseDown:{phasedRegistrationNames:{bubbled:x({onMouseDown:true}),captured:x({onMouseDownCapture:true})}},mouseMove:{phasedRegistrationNames:{bubbled:x({onMouseMove:true}),captured:x({onMouseMoveCapture:true})}},mouseOut:{phasedRegistrationNames:{bubbled:x({onMouseOut:true}),captured:x({onMouseOutCapture:true})}},mouseOver:{phasedRegistrationNames:{bubbled:x({onMouseOver:true}),captured:x({onMouseOverCapture:true})}},mouseUp:{phasedRegistrationNames:{bubbled:x({onMouseUp:true}),captured:x({onMouseUpCapture:true})}},paste:{phasedRegistrationNames:{bubbled:x({onPaste:true}),captured:x({onPasteCapture:true})}},reset:{phasedRegistrationNames:{bubbled:x({onReset:true}),captured:x({onResetCapture:true})}},scroll:{phasedRegistrationNames:{bubbled:x({onScroll:true}),captured:x({onScrollCapture:true})}},submit:{phasedRegistrationNames:{bubbled:x({onSubmit:true}),captured:x({onSubmitCapture:true})}},touchCancel:{phasedRegistrationNames:{bubbled:x({onTouchCancel:true}),captured:x({onTouchCancelCapture:true})}},touchEnd:{phasedRegistrationNames:{bubbled:x({onTouchEnd:true}),captured:x({onTouchEndCapture:true})}},touchMove:{phasedRegistrationNames:{bubbled:x({onTouchMove:true}),captured:x({onTouchMoveCapture:true})}},touchStart:{phasedRegistrationNames:{bubbled:x({onTouchStart:true}),captured:x({onTouchStartCapture:true})}},wheel:{phasedRegistrationNames:{bubbled:x({onWheel:true}),captured:x({onWheelCapture:true})}}},ba={topBlur:aa.blur,topClick:aa.click,topContextMenu:aa.contextMenu,topCopy:aa.copy,topCut:aa.cut,topDoubleClick:aa.doubleClick,topDrag:aa.drag,topDragEnd:aa.dragEnd,topDragEnter:aa.dragEnter,topDragExit:aa.dragExit,topDragLeave:aa.dragLeave,topDragOver:aa.dragOver,topDragStart:aa.dragStart,topDrop:aa.drop,topError:aa.error,topFocus:aa.focus,topInput:aa.input,topKeyDown:aa.keyDown,topKeyPress:aa.keyPress,topKeyUp:aa.keyUp,topLoad:aa.load,topMouseDown:aa.mouseDown,topMouseMove:aa.mouseMove,topMouseOut:aa.mouseOut,topMouseOver:aa.mouseOver,topMouseUp:aa.mouseUp,topPaste:aa.paste,topReset:aa.reset,topScroll:aa.scroll,topSubmit:aa.submit,topTouchCancel:aa.touchCancel,topTouchEnd:aa.touchEnd,topTouchMove:aa.touchMove,topTouchStart:aa.touchStart,topWheel:aa.wheel};for(var ca in ba)ba[ca].dependencies=[ca];var da=x({onClick:null}),ea={},fa={eventTypes:aa,executeDispatch:function(event,ga,ha){var ia=i.executeDispatch(event,ga,ha);y(typeof ia!=='boolean','Returning `false` from an event handler is deprecated and will be '+'ignored in a future release. Instead, manually call '+'e.stopPropagation() or e.preventDefault(), as appropriate.');if(ia===false){event.stopPropagation();event.preventDefault();}},extractEvents:function(ga,ha,ia,ja){var ka=ba[ga];if(!ka)return null;var la;switch(ga){case z.topInput:case z.topLoad:case z.topError:case z.topReset:case z.topSubmit:la=m;break;case z.topKeyPress:if(v(ja)===0)return null;case z.topKeyDown:case z.topKeyUp:la=o;break;case z.topBlur:case z.topFocus:la=n;break;case z.topClick:if(ja.button===2)return null;case z.topContextMenu:case z.topDoubleClick:case z.topMouseDown:case z.topMouseMove:case z.topMouseOut:case z.topMouseOver:case z.topMouseUp:la=p;break;case z.topDrag:case z.topDragEnd:case z.topDragEnter:case z.topDragExit:case z.topDragLeave:case z.topDragOver:case z.topDragStart:case z.topDrop:la=q;break;case z.topTouchCancel:case z.topTouchEnd:case z.topTouchMove:case z.topTouchStart:la=r;break;case z.topScroll:la=s;break;case z.topWheel:la=t;break;case z.topCopy:case z.topCut:case z.topPaste:la=l;break;}w(la);var event=la.getPooled(ka,ia,ja);j.accumulateTwoPhaseDispatches(event);return event;},didPutListener:function(ga,ha,ia){if(ha===da){var ja=k.getNode(ga);if(!ea[ga])ea[ga]=h.listen(ja,'click',u);}},willDeleteListener:function(ga,ha){if(ha===da){ea[ga].remove();delete ea[ga];}}};e.exports=fa;},null);
__d("SVGDOMPropertyConfig",["DOMProperty"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g.injection.MUST_USE_ATTRIBUTE,i={Properties:{cx:h,cy:h,d:h,dx:h,dy:h,fill:h,fillOpacity:h,fontFamily:h,fontSize:h,fx:h,fy:h,gradientTransform:h,gradientUnits:h,markerEnd:h,markerMid:h,markerStart:h,offset:h,opacity:h,patternContentUnits:h,patternUnits:h,points:h,preserveAspectRatio:h,r:h,rx:h,ry:h,spreadMethod:h,stopColor:h,stopOpacity:h,stroke:h,strokeDasharray:h,strokeLinecap:h,strokeOpacity:h,strokeWidth:h,textAnchor:h,transform:h,version:h,viewBox:h,x1:h,x2:h,x:h,y1:h,y2:h,y:h},DOMAttributeNames:{fillOpacity:'fill-opacity',fontFamily:'font-family',fontSize:'font-size',gradientTransform:'gradientTransform',gradientUnits:'gradientUnits',markerEnd:'marker-end',markerMid:'marker-mid',markerStart:'marker-start',patternContentUnits:'patternContentUnits',patternUnits:'patternUnits',preserveAspectRatio:'preserveAspectRatio',spreadMethod:'spreadMethod',stopColor:'stop-color',stopOpacity:'stop-opacity',strokeDasharray:'stroke-dasharray',strokeLinecap:'stroke-linecap',strokeOpacity:'stroke-opacity',strokeWidth:'stroke-width',textAnchor:'text-anchor',viewBox:'viewBox'}};e.exports=i;},null);
__d("createFullPageComponent",["ReactClass","ReactElement","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(k){var l=h.createFactory(k),m=g.createClass({tagName:k.toUpperCase(),displayName:'ReactFullPageComponent'+k,componentWillUnmount:function(){i(false);},render:function(){return l(this.props);}});return m;}e.exports=j;},null);
__d("ReactDefaultPerfAnalysis",["Object.assign"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=1.2,i={_mountImageIntoNode:'set innerHTML',INSERT_MARKUP:'set innerHTML',MOVE_EXISTING:'move',REMOVE_NODE:'remove',TEXT_CONTENT:'set textContent',updatePropertyByID:'update attribute',deletePropertyByID:'delete attribute',updateStylesByID:'update styles',updateInnerHTMLByID:'set innerHTML',dangerouslyReplaceNodeWithMarkupByID:'replace'};function j(p){var q=0;for(var r=0;r<p.length;r++){var s=p[r];q+=s.totalTime;}return q;}function k(p){var q=[];for(var r=0;r<p.length;r++){var s=p[r],t;for(t in s.writes)s.writes[t].forEach(function(u){q.push({id:t,type:i[u.type]||u.type,args:u.args});});}return q;}function l(p){var q={},r;for(var s=0;s<p.length;s++){var t=p[s],u=g({},t.exclusive,t.inclusive);for(var v in u){r=t.displayNames[v].current;q[r]=q[r]||{componentName:r,inclusive:0,exclusive:0,render:0,count:0};if(t.render[v])q[r].render+=t.render[v];if(t.exclusive[v])q[r].exclusive+=t.exclusive[v];if(t.inclusive[v])q[r].inclusive+=t.inclusive[v];if(t.counts[v])q[r].count+=t.counts[v];}}var w=[];for(r in q)if(q[r].exclusive>=h)w.push(q[r]);w.sort(function(x,y){return y.exclusive-x.exclusive;});return w;}function m(p,q){var r={},s;for(var t=0;t<p.length;t++){var u=p[t],v=g({},u.exclusive,u.inclusive),w;if(q)w=n(u);for(var x in v){if(q&&!w[x])continue;var y=u.displayNames[x];s=y.owner+' > '+y.current;r[s]=r[s]||{componentName:s,time:0,count:0};if(u.inclusive[x])r[s].time+=u.inclusive[x];if(u.counts[x])r[s].count+=u.counts[x];}}var z=[];for(s in r)if(r[s].time>=h)z.push(r[s]);z.sort(function(aa,ba){return ba.time-aa.time;});return z;}function n(p){var q={},r=Object.keys(p.writes),s=g({},p.exclusive,p.inclusive);for(var t in s){var u=false;for(var v=0;v<r.length;v++)if(r[v].indexOf(t)===0){u=true;break;}if(!u&&p.counts[t]>0)q[t]=true;}return q;}var o={getExclusiveSummary:l,getInclusiveSummary:m,getDOMSummary:k,getTotalTime:j};e.exports=o;},null);
__d("ReactDefaultPerf",["DOMProperty","ReactDefaultPerfAnalysis","ReactMount","ReactPerf","performanceNow"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';function l(o){return Math.floor(o*100)/100;}function m(o,p,q){o[p]=(o[p]||0)+q;}var n={_allMeasurements:[],_mountStack:[0],_injected:false,start:function(){if(!n._injected)j.injection.injectMeasure(n.measure);n._allMeasurements.length=0;j.enableMeasure=true;},stop:function(){j.enableMeasure=false;},getLastMeasurements:function(){return n._allMeasurements;},printExclusive:function(o){o=o||n._allMeasurements;var p=h.getExclusiveSummary(o);console.table(p.map(function(q){return {'Component class name':q.componentName,'Total inclusive time (ms)':l(q.inclusive),'Exclusive mount time (ms)':l(q.exclusive),'Exclusive render time (ms)':l(q.render),'Mount time per instance (ms)':l(q.exclusive/q.count),'Render time per instance (ms)':l(q.render/q.count),Instances:q.count};}));},printInclusive:function(o){o=o||n._allMeasurements;var p=h.getInclusiveSummary(o);console.table(p.map(function(q){return {'Owner > component':q.componentName,'Inclusive time (ms)':l(q.time),Instances:q.count};}));},getMeasurementsSummaryMap:function(o){var p=h.getInclusiveSummary(o,true);return p.map(function(q){return {'Owner > component':q.componentName,'Wasted time (ms)':q.time,Instances:q.count};});},printWasted:function(o){o=o||n._allMeasurements;console.table(n.getMeasurementsSummaryMap(o));},printDOM:function(o){o=o||n._allMeasurements;var p=h.getDOMSummary(o);console.table(p.map(function(q){var r={};r[g.ID_ATTRIBUTE_NAME]=q.id;r.type=q.type;r.args=JSON.stringify(q.args);return r;}));},_recordWrite:function(o,p,q,r){var s=n._allMeasurements[n._allMeasurements.length-1].writes;s[o]=s[o]||[];s[o].push({type:p,time:q,args:r});},measure:function(o,p,q){return function(){for(var r=[],s=0,t=arguments.length;s<t;s++)r.push(arguments[s]);var u,v,w;if(p==='_renderNewRootComponent'||p==='flushBatchedUpdates'){n._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0});w=k();v=q.apply(this,r);n._allMeasurements[n._allMeasurements.length-1].totalTime=k()-w;return v;}else if(p==='_mountImageIntoNode'||o==='ReactDOMIDOperations'){w=k();v=q.apply(this,r);u=k()-w;if(p==='_mountImageIntoNode'){var x=i.getID(r[1]);n._recordWrite(x,p,u,r[0]);}else if(p==='dangerouslyProcessChildrenUpdates'){r[0].forEach(function(ea){var fa={};if(ea.fromIndex!==null)fa.fromIndex=ea.fromIndex;if(ea.toIndex!==null)fa.toIndex=ea.toIndex;if(ea.textContent!==null)fa.textContent=ea.textContent;if(ea.markupIndex!==null)fa.markup=r[1][ea.markupIndex];n._recordWrite(ea.parentID,ea.type,u,fa);});}else n._recordWrite(r[0],p,u,Array.prototype.slice.call(r,1));return v;}else if(o==='ReactCompositeComponent'&&(p==='mountComponent'||p==='updateComponent'||p==='_renderValidatedComponent')){if(typeof this._currentElement.type==='string')return q.apply(this,r);var y=p==='mountComponent'?r[0]:this._rootNodeID,z=p==='_renderValidatedComponent',aa=p==='mountComponent',ba=n._mountStack,ca=n._allMeasurements[n._allMeasurements.length-1];if(z){m(ca.counts,y,1);}else if(aa)ba.push(0);w=k();v=q.apply(this,r);u=k()-w;if(z){m(ca.render,y,u);}else if(aa){var da=ba.pop();ba[ba.length-1]+=u;m(ca.exclusive,y,u-da);m(ca.inclusive,y,u);}else m(ca.inclusive,y,u);ca.displayNames[y]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():'<root>'};return v;}else return q.apply(this,r);};}};e.exports=n;},null);
__d("ReactDefaultInjection",["BeforeInputEventPlugin","ChangeEventPlugin","ClientReactRootIndex","DefaultEventPluginOrder","EnterLeaveEventPlugin","ExecutionEnvironment","HTMLDOMPropertyConfig","ReactBrowserComponentMixin","ReactClass","ReactComponentBrowserEnvironment","ReactDefaultBatchingStrategy","ReactDOMComponent","ReactDOMButton","ReactDOMForm","ReactDOMImg","ReactDOMIDOperations","ReactDOMIframe","ReactDOMInput","ReactDOMOption","ReactDOMSelect","ReactDOMTextarea","ReactDOMTextComponent","ReactElement","ReactEventListener","ReactInjection","ReactInstanceHandles","ReactMount","ReactReconcileTransaction","SelectEventPlugin","ServerReactRootIndex","SimpleEventPlugin","SVGDOMPropertyConfig","createFullPageComponent","ReactDefaultPerf"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma){b.__markCompiled&&b.__markCompiled();'use strict';function na(pa){return o.createClass({tagName:pa.toUpperCase(),render:function(){return new ca(pa,null,null,null,null,this.props);}});}function oa(){ea.EventEmitter.injectReactEventListener(da);ea.EventPluginHub.injectEventPluginOrder(j);ea.EventPluginHub.injectInstanceHandle(fa);ea.EventPluginHub.injectMount(ga);ea.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:ka,EnterLeaveEventPlugin:k,ChangeEventPlugin:h,SelectEventPlugin:ia,BeforeInputEventPlugin:g});ea.NativeComponent.injectGenericComponentClass(r);ea.NativeComponent.injectTextComponentClass(ba);ea.NativeComponent.injectAutoWrapper(na);ea.Class.injectMixin(n);ea.NativeComponent.injectComponentClasses({button:s,form:t,iframe:w,img:u,input:x,option:y,select:z,textarea:aa,html:ma('html'),head:ma('head'),body:ma('body')});ea.DOMProperty.injectDOMPropertyConfig(m);ea.DOMProperty.injectDOMPropertyConfig(la);ea.EmptyComponent.injectEmptyComponent('noscript');ea.Updates.injectReconcileTransaction(ha);ea.Updates.injectBatchingStrategy(q);ea.RootIndex.injectCreateReactRootIndex(l.canUseDOM?i.createReactRootIndex:ja.createReactRootIndex);ea.Component.injectEnvironment(p);ea.DOMComponent.injectIDOperations(v);}e.exports={inject:oa};},null);
__d("ReactServerRenderingTransaction",["PooledClass","CallbackQueue","ReactPutListenerQueue","Transaction","Object.assign","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m={initialize:function(){this.reactMountReady.reset();},close:l},n={initialize:function(){this.putListenerQueue.reset();},close:l},o=[n,m];function p(r){this.reinitializeTransaction();this.renderToStaticMarkup=r;this.reactMountReady=h.getPooled(null);this.putListenerQueue=i.getPooled();}var q={getTransactionWrappers:function(){return o;},getReactMountReady:function(){return this.reactMountReady;},getPutListenerQueue:function(){return this.putListenerQueue;},destructor:function(){h.release(this.reactMountReady);this.reactMountReady=null;i.release(this.putListenerQueue);this.putListenerQueue=null;}};k(p.prototype,j.Mixin,q);g.addPoolingTo(p);e.exports=p;},null);
__d("ReactServerRendering",["ReactElement","ReactInstanceHandles","ReactMarkupChecksum","ReactServerRenderingTransaction","emptyObject","instantiateReactComponent","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';function n(p){m(g.isValidElement(p));var q;try{var r=h.createReactRootID();q=j.getPooled(false);return q.perform(function(){var s=l(p,null),t=s.mountComponent(r,q,k);return i.addChecksumToMarkup(t);},null);}finally{j.release(q);}}function o(p){m(g.isValidElement(p));var q;try{var r=h.createReactRootID();q=j.getPooled(true);return q.perform(function(){var s=l(p,null);return s.mountComponent(r,q,k);},null);}finally{j.release(q);}}e.exports={renderToString:n,renderToStaticMarkup:o};},null);
__d("onlyChild",["ReactElement","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';function i(j){h(g.isValidElement(j));return j;}e.exports=i;},null);
__d("React",["EventPluginUtils","ReactChildren","ReactComponent","ReactClass","ReactContext","ReactCurrentOwner","ReactElement","ReactElementValidator","ReactDOM","ReactDOMTextComponent","ReactDefaultInjection","ReactInstanceHandles","ReactMount","ReactPerf","ReactPropTypes","ReactReconciler","ReactServerRendering","Object.assign","findDOMNode","onlyChild","warning","ExecutionEnvironment"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();'use strict';q.inject();var ba=m.createElement,ca=m.createFactory,da=m.cloneElement,ea=t.measure('React','render',s.render),fa={Children:{map:h.map,forEach:h.forEach,count:h.count,only:z},Component:i,DOM:o,PropTypes:u,initializeTouchEvents:function(ga){g.useTouchEvents=ga;},createClass:j.createClass,createElement:ba,cloneElement:da,createFactory:ca,createMixin:function(ga){return ga;},constructAndRenderComponent:s.constructAndRenderComponent,constructAndRenderComponentByID:s.constructAndRenderComponentByID,findDOMNode:y,render:ea,renderToString:w.renderToString,renderToStaticMarkup:w.renderToStaticMarkup,unmountComponentAtNode:s.unmountComponentAtNode,isValidElement:m.isValidElement,withContext:k.withContext,__spread:x};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=='undefined'&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject==='function')__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:l,InstanceHandles:r,Mount:s,Reconciler:v,TextComponent:p});fa.version='0.14.0-alpha';e.exports=fa;},null);
__d("joinClasses",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h){if(!h)h='';var i,j=arguments.length;if(j>1)for(var k=1;k<j;k++){i=arguments[k];if(i)h=(h?h+' ':'')+i;}return h;}e.exports=g;},null);
__d("Image.react-upstream",["React","joinClasses"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(k,l,m){var n=k[l];if(typeof n==='string')return;if(n&&typeof n==='object'){if(n.sprited&&n.spriteMapCssClass&&n.spriteCssClass)return;if(!n.sprited&&n.uri)return;}return new Error(("Provided `"+l+"` to `"+m+"`. Must be a string ")+("or `ix` call."));}var j=g.createClass({displayName:"ReactImage",propTypes:{src:i},render:function(){var k=h(this.props.className,'img'),l=this.props.src,m=null;if(this.props.alt&&typeof l!=='string'&&l.sprited)m=g.createElement("u",null,this.props.alt);if(typeof l==='string')return g.createElement("img",g.__spread({},this.props,{className:k}),m);if(l.sprited){k=h(k,l.spriteMapCssClass,l.spriteCssClass);return g.createElement("i",g.__spread({},this.props,{className:k,src:null}),m);}if(this.props.width===(void 0)&&this.props.height===(void 0))return (g.createElement("img",g.__spread({},this.props,{className:k,width:l.width,height:l.height,src:l.uri}),m));return (g.createElement("img",g.__spread({},this.props,{className:k,src:l.uri}),m));}});j.validateImageSrcPropType=i;e.exports=j;},null);
__d("Image.react",["Image.react-upstream"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();e.exports=g;},null);
__d("LayerFadeOnHide",["Animation","Layer","Style","UserAgent_DEPRECATED","copyProperties","setTimeoutAcrossTransitions"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n){"use strict";this._layer=n;}m.prototype.enable=function(){"use strict";if(j.ie()<9)return;this._subscription=this._layer.subscribe('starthide',this._handleStartHide.bind(this));};m.prototype.disable=function(){"use strict";if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};m.prototype._handleStartHide=function(){"use strict";var n=true,o=h.subscribe('show',function(){o.unsubscribe();n=false;});l((function(){o.unsubscribe();o=null;var p=function(){this._layer.finishHide();}.bind(this);if(n){this._animate(p);}else p();}).bind(this),0);return false;};m.prototype._animate=function(n){"use strict";var o=this._layer.getRoot();new g(o).from('opacity',1).to('opacity',0).duration(150).ondone(function(){i.set(o,'opacity','');n();}).go();};k(m.prototype,{_subscription:null});e.exports=m;},null);
__d("LayerFadeOnShow",["Animation","Style","UserAgent_DEPRECATED","copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m){"use strict";this._layer=m;}l.prototype.enable=function(){"use strict";if(i.ie()<9)return;this._subscriptions=[this._layer.subscribe('beforeshow',function(){h.set(this._layer.getRoot(),'opacity',0);}.bind(this)),this._layer.subscribe('show',this._animate.bind(this))];};l.prototype.disable=function(){"use strict";if(this._subscriptions){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null;}};l.prototype._getDuration=function(){"use strict";return 100;};l.prototype._animate=function(){"use strict";var m=this._layer.getRoot();new g(m).from('opacity',0).to('opacity',1).duration(this._getDuration()).ondone(h.set.bind(null,m,'opacity','')).go();};l.forDuration=function(m){"use strict";for(var n in l)if(l.hasOwnProperty(n))p[n]=l[n];var o=l===null?null:l.prototype;p.prototype=Object.create(o);p.prototype.constructor=p;p.__superConstructor__=l;function p(){if(l!==null)l.apply(this,arguments);}p.prototype._getDuration=k.thatReturns(m);return p;};j(l.prototype,{_subscriptions:null});e.exports=l;},null);
__d("goOrReplace",["URI"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j,k){var l=new g(j),m=a.Quickling;if(i.pathname=='/'&&l.getPath()!='/'&&m&&m.isActive()&&m.isPageActive(l)){var n=i.search?{}:{q:''};l=new g().setPath('/').setQueryData(n).setFragment(l.getUnqualifiedURI().toString());j=l.toString();}if(k){i.replace(j);}else if(i.href==j){i.reload();}else i.href=j;}e.exports=h;},null);
__d("HistoryManager",["Cookie","Env","Event","URI","UserAgent_DEPRECATED","isFacebookURI","copyProperties","emptyFunction","goOrReplace","isInIframe","setIntervalAcrossTransitions","SessionName"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();b('SessionName');var r={history:null,current:0,fragment:null,isInitialized:function(){return !!r._initialized;},init:function(){if(!h.ALLOW_TRANSITION_IN_IFRAME&&p())return;if(r._initialized)return r;var s=j(),t=s.getFragment()||'';if(t.charAt(0)==='!'){t=t.substr(1);s.setFragment(t);}m(r,{_initialized:true,fragment:t,orig_fragment:t,history:[s],callbacks:[],lastChanged:Date.now(),canonical:j('#'),user:0,enabled:true,debug:n});if(window.history&&history.pushState){this.lastURI=document.URL;window.history.replaceState(this.lastURI,null);i.listen(window,'popstate',function(u){var v=u&&u.state&&typeof u.state==='string';if(v&&r.lastURI!=u.state){r.lastURI=u.state;r.lastChanged=Date.now();r.notify(j(u.state).getUnqualifiedURI().toString());}}.bind(r));if(k.webkit()<534||k.chrome()<=13){q(r.checkURI,42);r._updateRefererURI(this.lastURI);}return r;}r._updateRefererURI(j.getRequestURI(false));if(k.webkit()<500||k.firefox()<2){r.enabled=false;return r;}if('onhashchange' in window){i.listen(window,'hashchange',function(){setTimeout(r.checkURI.bind(r),0);});}else q(r.checkURI,42);return r;},registerURIHandler:function(s){r.callbacks.push(s);return r;},setCanonicalLocation:function(s){r.canonical=j(s);return r;},notify:function(s){if(s==r.orig_fragment)s=r.canonical.getFragment();for(var t=0;t<r.callbacks.length;t++)try{if(r.callbacks[t](s))return true;}catch(u){}return false;},checkURI:function(){if(Date.now()-r.lastChanged<400)return;if(window.history&&history.pushState){var s=j(document.URL).removeQueryData('ref').toString(),t=j(r.lastURI).removeQueryData('ref').toString();if(s!=t){r.lastChanged=Date.now();r.lastURI=s;if(k.webkit()<534)r._updateRefererURI(s);r.notify(j(s).getUnqualifiedURI().toString());}return;}if(k.webkit()&&window.history.length==200){if(!r.warned)r.warned=true;return;}var u=j().getFragment();if(u.charAt(0)=='!')u=u.substr(1);u=u.replace(/%23/g,'#');if(u!=r.fragment.replace(/%23/g,'#')){r.debug([u,' vs ',r.fragment,'whl: ',window.history.length,'QHL: ',r.history.length].join(' '));for(var v=r.history.length-1;v>=0;--v)if(r.history[v].getFragment().replace(/%23/g,'#')==u)break;++r.user;if(v>=0){r.go(v-r.current);}else r.go('#'+u);--r.user;}},_updateRefererURI:function(s){s=s.toString();if(s.charAt(0)!='/'&&s.indexOf('//')==-1)return;var t=new j(window.location);if(l(t)){var u=t.getPath()+window.location.search;}else var u='';var v=j(s).getQualifiedURI().setFragment(u).toString(),w=2048;if(v.length>w)v=v.substring(0,w)+'...';g.set('x-referer',v);},go:function(s,t,u){if(window.history&&history.pushState){t||typeof(s)=='number';var v=j(s).removeQueryData('ref').toString();r.lastChanged=Date.now();this.lastURI=v;if(u){window.history.replaceState(s,null,v);}else window.history.pushState(s,null,v);if(k.webkit()<534)r._updateRefererURI(s);return false;}r.debug('go: '+s);if(t===(void 0))t=true;if(!r.enabled)if(!t)return false;if(typeof(s)=='number'){if(!s)return false;var w=s+r.current,x=Math.max(0,Math.min(r.history.length-1,w));r.current=x;w=r.history[x].getFragment()||r.orig_fragment;w=j(w).removeQueryData('ref').getUnqualifiedURI().toString();r.fragment=w;r.lastChanged=Date.now();if(!r.user)o(window.location,window.location.href.split('#')[0]+'#!'+w,u);if(t)r.notify(w);r._updateRefererURI(w);return false;}s=j(s);if(s.getDomain()==j().getDomain())s=j('#'+s.getUnqualifiedURI());var y=r.history[r.current].getFragment(),z=s.getFragment();if(z==y||(y==r.orig_fragment&&z==r.canonical.getFragment())){if(t)r.notify(z);r._updateRefererURI(z);return false;}if(u)r.current--;var aa=(r.history.length-r.current)-1;r.history.splice(r.current+1,aa);r.history.push(j(s));return r.go(1,t,u);},getCurrentFragment:function(){var s=j.getRequestURI(false).getFragment();return s==r.orig_fragment?r.canonical.getFragment():s;}};e.exports=r;},null);
__d("JSLogger",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={MAX_HISTORY:500,counts:{},categories:{},seq:0,pageId:(Math.random()*2147483648|0).toString(36),forwarding:false};function h(m){if(m=='/'||m.indexOf('/',1)<0)return false;var n=/^\/(v\d+\.\d\d?|head)\//.test(m);if(n)return (/^\/(dialog|plugins)\//).test(m.substring(m.indexOf('/',1)));return (/^\/(dialog|plugins)\//).test(m);}function i(m){if(m instanceof Error&&a.ErrorUtils)m=a.ErrorUtils.normalizeError(m);try{return JSON.stringify(m);}catch(n){return '{}';}}function j(m,event,n){if(!g.counts[m])g.counts[m]={};if(!g.counts[m][event])g.counts[m][event]=0;n=n==null?1:Number(n);g.counts[m][event]+=isFinite(n)?n:0;}g.logAction=function(event,m,n){if(this.type=='bump'){j(this.cat,event,m);}else if(this.type=='rate'){(m&&j(this.cat,event+'_n',n));j(this.cat,event+'_d',n);}else{var o={cat:this.cat,type:this.type,event:event,data:m!=null?i(m):null,date:Date.now(),seq:g.seq++};g.head=g.head?(g.head.next=o):(g.tail=o);while(g.head.seq-g.tail.seq>g.MAX_HISTORY)g.tail=g.tail.next;return o;}};function k(m){if(!g.categories[m]){g.categories[m]={};var n=function(o){var p={cat:m,type:o};g.categories[m][o]=function(){g.forwarding=false;var q=null;if(document.domain!='facebook.com')return;q=g.logAction;if(h(location.pathname)){g.forwarding=false;}else try{q=a.top.require('JSLogger')._.logAction;g.forwarding=q!==g.logAction;}catch(r){}(q&&q.apply(p,arguments));};};n('debug');n('log');n('warn');n('error');n('bump');n('rate');}return g.categories[m];}function l(m,n){var o=[];for(var p=n||g.tail;p;p=p.next)if(!m||m(p)){var q={type:p.type,cat:p.cat,date:p.date,event:p.event,seq:p.seq};if(p.data)q.data=JSON.parse(p.data);o.push(q);}return o;}e.exports={_:g,DUMP_EVENT:'jslogger/dump',create:k,getEntries:l};},null);
__d("Keys",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105};},null);
__d("LayerHideOnEscape",["Event","Keys","copyProperties"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k){"use strict";this._layer=k;}j.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('key',this._handle.bind(this));};j.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};j.prototype._handle=function(k,event){"use strict";if(g.getKeyCode(event)===h.ESC){this._layer.hide();return false;}};i(j.prototype,{_subscription:null});e.exports=j;},null);
__d("LinkController",["Event","DataStore","Parent","trackReferrer"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k='LinkControllerHandler',l=[],m=[];function n(event){var r=event.getTarget(),s=i.byTag(r,'a'),t=s&&s.getAttribute('href',2);if(!t||s.rel||!p(t)||(r.nodeName=='INPUT'&&r.type=='file')||h.get(s,k))return;var u=g.listen(s,'click',function(v){if(t.charAt(t.length-1)=='#'){v.prevent();return;}j(s,t);o(s,v);});h.set(s,k,u);}function o(r,event){if(r.target||r.rel||event.getModifiers().any||(event.which&&event.which!=1))return;var s=l.concat(m);for(var t=0,u=s.length;t<u;t++)if(s[t](r,event)===false)return event.prevent();}function p(r){var s=r.match(/^(\w+):/);return !s||s[1].match(/^http/i);}var q={registerHandler:function(r){l.push(r);},registerFallbackHandler:function(r){m.push(r);}};g.listen(document.documentElement,'mousedown',n);g.listen(document.documentElement,'keydown',n);e.exports=q;},null);
__d("ScrollAwareDOM",["ArbiterMixin","CSS","DOM","DOMDimensions","DOMQuery","HTML","Vector","ViewportBounds","copyProperties","getElementPosition","isAsyncScrollQuery"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();function r(w,x){return function(){var y=arguments;v.monitor(arguments[w],function(){x.apply(null,y);});};}function s(w){if(!(w instanceof Array))w=[w];for(var x=0;x<w.length;x++){var y=l.replaceJSONWrapper(w[x]);if(y instanceof l){return y.getRootNode();}else if(i.isNode(y))return y;}return null;}function t(w){return p(w).y>n.getTop();}function u(w){var x=p(w).y+j.getElementDimensions(w).height,y=j.getViewportDimensions().height-n.getBottom();return x>=y;}var v=o({monitor:function(w,x){if(q())return x();var y=s(w);if(y){var z=!!y.offsetParent;if(z&&(t(y)||u(y)))return x();var aa=m.getDocumentDimensions(),ba=x();if(z||(y.offsetParent&&!t(y))){var ca=m.getDocumentDimensions().sub(aa),da={delta:ca,target:y};if(v.inform('scroll',da)!==false)ca.scrollElementBy(k.getDocumentScrollElement());}return ba;}else return x();},replace:function(w,x){var y=s(x);if(!y||h.hasClass(y,'hidden_elem'))y=w;return v.monitor(y,function(){i.replace(w,x);});},prependContent:r(1,i.prependContent),insertAfter:r(1,i.insertAfter),insertBefore:r(1,i.insertBefore),setContent:r(0,i.setContent),appendContent:r(1,i.appendContent),remove:r(0,i.remove),empty:r(0,i.empty)},g);e.exports=v;},null);
__d("debounceCore",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j,k,l){k=k||setTimeout;l=l||clearTimeout;var m;function n(){for(var o=[],p=0,q=arguments.length;p<q;p++)o.push(arguments[p]);n.reset();m=k(function(){h.apply(j,o);},i);}n.reset=function(){l(m);};return n;}e.exports=g;},null);
__d("debounce",["debounceCore"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j,k,l){if(j==null)j=100;var m=function(n,o,p){return setTimeout(n,o,p,!l);};return g(i,j,k,m);}e.exports=h;},null);
__d("debounceAcrossTransitions",["debounce"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j,k){return g(i,j,k,true);}e.exports=h;},null);
__d("ModalLayer",["Arbiter","ArbiterMixin","CSS","DataStore","DOM","DOMDimensions","DOMQuery","Event","ScrollAwareDOM","Style","UserAgent_DEPRECATED","Vector","copyProperties","csx","cx","debounceAcrossTransitions","isAsyncScrollQuery","removeFromArray","setTimeoutAcrossTransitions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y){b.__markCompiled&&b.__markCompiled();var z=[],aa=null,ba=null,ca=null;function da(){if(!ca)ca=m.scry(document.body,"._li")[0];return ca;}function ea(la){var ma={position:r.getScrollPosition()},na=la.offsetTop-ma.position.y;i.addClass(la,"_31e");p.set(la,'top',na+'px');g.inform('reflow');ma.listener=o.subscribe('scroll',function(oa,pa){if(m.contains(la,pa.target)){var qa=la.offsetTop-pa.delta.y;p.set(la,'top',qa+'px');ma.position=ma.position.add(pa.delta);return false;}});j.set(la,'ModalLayerData',ma);}function fa(la,ma){var na=j.get(la,'ModalLayerData');if(na){var oa=function(){i.removeClass(la,"_31e");p.set(la,'top','');if(ma){var ra=m.getDocumentScrollElement();ra.scrollTop=na.position.y;if(ra.scrollTop!==na.position.y){ra.scrollTop=na.position.y+1;ra.scrollTop=na.position.y;}}g.inform('reflow');na.listener.unsubscribe();na.listener=null;j.remove(la,'ModalLayerData');};if(ma&&w()){var pa=k.create('div',{className:"_42w"});p.set(pa,'height',la.offsetHeight+'px');k.appendContent(document.body,pa);var qa=m.getDocumentScrollElement();qa.scrollTop=na.position.y;ma=false;setTimeout(function(){oa();k.remove(pa);},0);}else oa();}}function ga(){var la=da();if(!i.hasClass(la,"_31e"))ea(la);}function ha(){if(!z.length)fa(da(),true);}function ia(){var la=z.length;while(la--){var ma=z[la],na=ma.getLayerRoot();ja(na,'');var oa=ma.getLayerContentRoot(),pa=oa.offsetWidth+l.measureElementBox(oa,'width',0,0,1);ja(na,pa);}}function ja(la,ma){p.set(la,'min-width',ma+(ma?'px':''));}function ka(la){"use strict";this._layer=la;}ka.prototype.enable=function(){"use strict";if(!da())return;this._subscription=this._layer.subscribe(['show','hide'],function(la){la=='show'?this._addModal():this._removeModal();}.bind(this));if(this._layer.isShown())this._addModal();};ka.prototype.disable=function(){"use strict";if(!da())return;this._subscription.unsubscribe();this._subscription=null;if(this._layer.isShown())this._removeModal();};ka.prototype._addModal=function(){"use strict";var la=this.getLayerRoot();i.addClass(la,"_3qw");this._wash=k.create('div',{className:"_3ixn"});k.prependContent(la,this._wash);var ma=z[z.length-1];if(ma){ea(ma.getLayerRoot());}else ga();var na=m.getDocumentScrollElement();na.scrollTop=0;if(!z.length){var oa=v(ia,100);aa=n.listen(window,'resize',oa);ba=g.subscribe('reflow',oa);}z.push(this);ka.inform('show',this);setTimeout(ia,0);};ka.prototype._removeModal=function(){"use strict";var la=this.getLayerRoot();i.removeClass(la,"_3qw");k.remove(this._wash);this._wash=null;ja(la,'');var ma=this===z[z.length-1];x(z,this);if(!z.length){aa.remove();aa=null;ba.unsubscribe();ba=null;}y(function(){var na=z[z.length-1];if(na){fa(na.getLayerRoot(),ma);ka.inform('show',na);}else{ha();ka.inform('hide',this);}if(z.length)setTimeout(ia,0);}.bind(this),400);};ka.prototype.getLayerRoot=function(){"use strict";return this._layer.getRoot();};ka.prototype.getLayerContentRoot=function(){"use strict";return this._layer.getContentRoot();};ka.getTopmostModalLayer=function(){"use strict";return z[z.length-1];};ka.unfixed=function(la){"use strict";if(q.chrome()){var ma=da();if(ma&&i.hasClass(ma,"_31e")){var na=m.getDocumentScrollElement(),oa=na.scrollTop;fa(ma,true);la();ea(ma);na.scrollTop=oa;return;}}la();};s(ka,h);e.exports=ka;},null);
__d("areEqual",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=function(k,l,m,n){if(k===l)return k!==0||1/k==1/l;if(k==null||l==null)return false;if(typeof k!='object'||typeof l!='object')return false;var o=Object.prototype.toString,p=o.call(k);if(p!=o.call(l))return false;switch(p){case '[object String]':return k==String(l);case '[object Number]':return isNaN(k)||isNaN(l)?false:k==Number(l);case '[object Date]':case '[object Boolean]':return +k==+l;case '[object RegExp]':return k.source==l.source&&k.global==l.global&&k.multiline==l.multiline&&k.ignoreCase==l.ignoreCase;}var q=m.length;while(q--)if(m[q]==k)return n[q]==l;m.push(k);n.push(l);var r=0;if(p==='[object Array]'){r=k.length;if(r!==l.length)return false;while(r--)if(!g(k[r],l[r],m,n))return false;}else{if(k.constructor!==l.constructor)return false;if(k.hasOwnProperty('valueOf')&&l.hasOwnProperty('valueOf'))return k.valueOf()==l.valueOf();var s=Object.keys(k);if(s.length!=Object.keys(l).length)return false;for(var t=0;t<s.length;t++)if(!g(k[s[t]],l[s[t]],m,n))return false;}m.pop();n.pop();return true;},h=[],i=[],j=function(k,l){var m=h.length?h.pop():[],n=i.length?i.pop():[],o=g(k,l,m,n);m.length=0;n.length=0;h.push(m);i.push(n);return o;};e.exports=j;},null);
__d("computeRelativeURI",["URI","isFacebookURI","isEmpty"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(l,m){if(!m)return l;if(m.charAt(0)=='/')return m;var n=l.split('/').slice(0,-1);n[0]!=='';m.split('/').forEach(function(o){if(!(o=='.'))if(o=='..'){if(n.length>1)n=n.slice(0,-1);}else n.push(o);});return n.join('/');}function k(l,m){var n=new g(),o=m;l=new g(l);m=new g(m);if(m.getDomain()&&!h(m))return o;var p=l,q=['Protocol','Domain','Port','Path','QueryData','Fragment'];q.forEach(function(r){var s=r=='Path'&&p===l;if(s)n.setPath(j(l.getPath(),m.getPath()));if(!i(m['get'+r]()))p=m;if(!s)n['set'+r](p['get'+r]());});return n;}e.exports=k;},null);
__d("escapeJSQuotes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){if(typeof h=='undefined'||h==null||!h.valueOf())return '';return h.toString().replace(/\\/g,'\\\\').replace(/\n/g,'\\n').replace(/\r/g,'\\r').replace(/"/g,'\\x22').replace(/'/g,'\\\'').replace(/</g,'\\x3c').replace(/>/g,'\\x3e').replace(/&/g,'\\x26');}e.exports=g;},null);
__d("PageTransitions",["Arbiter","Bootloader","DOMQuery","DOMScroll","Env","Event","Form","HistoryManager","JSLogger","LayerHideOnEscape","LinkController","ModalLayer","PageHooks","Parent","React","URI","UserAgent_DEPRECATED","Vector","areEqual","clickRefAction","computeRelativeURI","copyProperties","escapeJSQuotes","ge","goOrReplace","invariant","isInIframe","setTimeoutAcrossTransitions","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia){b.__markCompiled&&b.__markCompiled();var ja={};function ka(va,wa){ja[va.getUnqualifiedURI()]=wa;}function la(va){return ja[va.getUnqualifiedURI()];}function ma(va){delete ja[va.getUnqualifiedURI()];}var na=null,oa=null;function pa(va){oa=va;ha(function(){oa=null;},0);}function qa(event){if(oa){if(!event.isDefaultPrevented()){ra(oa);ua.lookBusy(oa);ta.go(oa.getAttribute('href'));}event.prevent();}else{na=event.getTarget();ha(function(){na=null;},0);}}function ra(va){var wa=va.getAttribute('href'),xa=aa(ta._most_recent_uri.getQualifiedURI(),wa).toString();if(wa!=xa)va.setAttribute('href',xa);}function sa(event){var va=event.getTarget();if(m.getAttribute(va,'rel')||m.getAttribute(va,'target'))return;z('form',va,event).set_namespace('page_transition');var wa=new v(m.getAttribute(va,'action')||''),xa=aa(ta._most_recent_uri,wa);va.setAttribute('action',xa.toString());if((m.getAttribute(va,'method')||'GET').toUpperCase()==='GET'){var ya=m.serialize(va),za=na;if(za&&(i.isNodeOfType(za,'input')&&za.type==='submit'||(za=t.byTag(za,'button')))&&za.name)ya[za.name]=za.value;ta.go(xa.addQueryData(ya));event.kill();}}var ta={_transition_handlers:[],_completion_callbacks:[],_scroll_locked:false,isInitialized:function(){return !!ta._initialized;},_init:function(){if(!k.ALLOW_TRANSITION_IN_IFRAME&&ga())return;if(ta._initialized)return ta;ta._initialized=true;var va=v.getRequestURI(false),wa=va.getUnqualifiedURI(),xa=v(wa).setFragment(null),ya=wa.getFragment();if(ya.charAt(0)==='!'&&xa.toString()===ya.substr(1))wa=xa;ba(ta,{_current_uri:wa,_most_recent_uri:wa,_next_uri:wa});var za;if(va.getFragment().startsWith('/')){za=va.getFragment();}else za=wa;n.init().setCanonicalLocation('#'+za).registerURIHandler(ta._historyManagerHandler);q.registerFallbackHandler(pa);l.listen(document,'click',qa,l.Priority._BUBBLE);l.listen(document,'submit',sa,l.Priority._BUBBLE);l.listen(window,'scroll',function(){if(!ta._scroll_locked)ka(ta._current_uri,x.getScrollPosition());});return ta;},registerHandler:function(va,wa){ta._init();wa=wa||5;if(!ta._transition_handlers[wa])ta._transition_handlers[wa]=[];ta._transition_handlers[wa].push(va);},removeHandler:function(va,wa){ta._init();wa=wa||5;var xa=-1;if(ta._transition_handlers[wa])xa=ta._transition_handlers[wa].indexOf(va);if(xa>-1)ta._transition_handlers[wa].splice(xa,1);},getCurrentURI:function(va){if(!ta._current_uri&&!va)return new v(ta._most_recent_uri);return new v(ta._current_uri);},getMostRecentURI:function(){return new v(ta._most_recent_uri);},go:function(va,wa){var xa=new v(va).removeQueryData('quickling').getQualifiedURI();o.create('pagetransition').debug('go',{uri:xa.toString()});ma(xa);!wa&&z('uri',{href:xa.toString()},null,'INDIRECT');ua.lookBusy();ta._loadPage(xa,function(ya){if(ya){r.unfixed(function(){n.go(xa.toString(),false,wa);});}else ea(window.location,xa,wa);});},_historyManagerHandler:function(va){if(va.charAt(0)!='/')return false;z('h',{href:va});ta._loadPage(new v(va),function(wa){if(!wa)ea(window.location,va,true);});return true;},_loadPage:function(va,wa){if(v(va).getFragment()&&y(v(va).setFragment(null).getQualifiedURI(),v(ta._current_uri).setFragment(null).getQualifiedURI())){g.inform("pre_page_fragment_transition",{from:v(ta._current_uri).getFragment(),to:v(va).getFragment()});if(ta.restoreScrollPosition(va)){ta._current_uri=ta._most_recent_uri=va;ua.stopLookingBusy();g.inform("page_fragment_transition",{fragment:v(va).getFragment()});return;}}var xa;if(ta._current_uri)xa=la(ta._current_uri);var ya=function(){if(xa&&ta._current_uri)ka(ta._current_uri,xa);ta._current_uri=null;ta._next_uri=va;if(xa)j.scrollTo(xa,false);ta._scroll_locked=true;var bb=ta._handleTransition(va);wa&&wa(bb);},za=ta._next_uri;ta._next_uri=va;var ab=s.runHooks('onbeforeleavehooks');ta._next_uri=za;if(ab){ua.stopLookingBusy();ta._warnBeforeLeaving(ab,ya);}else ya();},_handleTransition:function(va){window.onbeforeleavehooks=(void 0);ua.lookBusy();if(!va.isSameOrigin())return false;var wa,xa=a.AsyncRequest;if(xa)wa=xa.getLastID();g.inform("pre_page_transition",{from:ta.getMostRecentURI(),to:va});for(var ya=ta._transition_handlers.length-1;ya>=0;--ya){var za=ta._transition_handlers[ya];if(!za)continue;for(var ab=za.length-1;ab>=0;--ab)if(za[ab](va)===true){var bb={sender:this,uri:va,id:wa};try{g.inform("page_transition",bb);}catch(cb){}return true;}else za.splice(ab,1);}return false;},unifyURI:function(){ta._current_uri=ta._most_recent_uri=ta._next_uri;},transitionComplete:function(va){ta._scroll_locked=false;ta._executeCompletionCallbacks();ua.stopLookingBusy();ta.unifyURI();if(!va)ta.restoreScrollPosition(ta._current_uri);try{if(document.activeElement&&document.activeElement.nodeName==='A')document.activeElement.blur();}catch(wa){}},_executeCompletionCallbacks:function(){if(ta._completion_callbacks.length>0){var va=ta._completion_callbacks;ta._completion_callbacks=[];va.forEach(function(wa){return wa();});}},registerCompletionCallback:function(va){ta._completion_callbacks.push(va);},rewriteCurrentURI:function(va,wa){var xa=ta._transition_handlers,ya=xa.length||1,za=false;ta.registerHandler(function(){if(va==ta.getMostRecentURI().getUnqualifiedURI().toString()){ta.transitionComplete();return true;}za=true;},ya);ta.go(wa,true);fa(xa.length===ya+1&&xa[ya].length===(za?0:1));xa.length=ya;},_warnBeforeLeaving:function(va,wa){h.loadModules(["DialogX","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIGrayText.react"],function(xa,ya,za,ab,bb,cb){var db=new xa({width:450,addedBehaviors:[p]},u.createElement("div",null,u.createElement(ya,{showCloseButton:false},ia._("Are you sure you want to leave this page?")),u.createElement(za,null,u.createElement(cb,{shade:"medium",size:"medium"},va)),u.createElement(bb,null,u.createElement(ab,{action:"cancel",label:ia._("Stay on This Page")}),u.createElement(ab,{action:"confirm",use:"confirm",label:ia._("Leave this page")}))));db.subscribe('confirm',function(){db.hide();wa();});db.show();});},restoreScrollPosition:function(va){var wa=la(va);if(wa){j.scrollTo(wa,false);return true;}function xa(ab){if(!ab)return null;var bb="a[name='"+ca(ab)+"']";return i.scry(document.body,bb)[0]||da(ab);}var ya=xa(v(va).getFragment());if(ya){var za=x.getElementPosition(ya);za.x=0;j.scrollTo(za);return true;}return false;}},ua=window._BusyUIManager||{_looking_busy:false,_original_cursors:[],lookBusy:function(va){if(va)ua._giveProgressCursor(va);if(ua._looking_busy)return;ua._looking_busy=true;ua._giveProgressCursor(document.documentElement);},stopLookingBusy:function(){if(!ua._looking_busy)return;ua._looking_busy=false;while(ua._original_cursors.length){var va=ua._original_cursors.pop(),wa=va[0],xa=va[1];if(wa.style)wa.style.cursor=xa||'';}},_giveProgressCursor:function(va){if(!w.webkit()){ua._original_cursors.push([va,va.style.cursor]);va.style.cursor='progress';}}};e.exports=ta;a.PageTransitions=ta;},null);
__d("keyMirrorRecursive",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(k,l){return i(k,l);}function i(k,l){var m={},n;g(j(k));for(n in k){if(!k.hasOwnProperty(n))continue;var o=k[n],p=l?l+'.'+n:n;if(j(o)){o=i(o,p);}else o=p;m[n]=o;}return m;}function j(k){return k instanceof Object&&!Array.isArray(k);}e.exports=h;},null);
__d("AdsAssetSectionType",["keyMirrorRecursive"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g({BOOKMARKED:'',OWNED:'',SEARCH:'',UNOWNED:''});e.exports=h;},null);
__d("AdsLoadState",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=g({DELETING:null,ERROR:null,LOADED:null,LOADING:null,NOT_LOADED:null,PENDING_WRITE:null});e.exports=h;},null);
__d("AdsGenericFilterOperator",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g({IN_RANGE:null,CONTAIN:null,EQUAL:null,GREATER_THAN:null,IN:null,NOT_IN_RANGE:null,NOT_CONTAIN:null,NOT_IN:null,NOT_EQUAL:null,LESS_THAN:null});e.exports=h;},null);
__d("AdsGenericFilterFieldType",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g({NUMBER:null,CURRENCY:null,NUMBER_RANGE:null,NUMBER_SET:null,STRING:null,STRING_SET:null,DATE_RANGE:null});e.exports=h;},null);
__d("LegacyImmutableObject",["Object.assign","invariant","isNode","mergeHelpers"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();"use strict";var k=j.checkMergeObjectArgs,l=j.isTerminal,m;function n(p){h(p instanceof m);}m=function p(q){g(this,q);};m.set=function(p,q){n(p);var r=new m(p);g(r,q);return r;};m.setField=function(p,q,r){var s={};s[q]=r;return m.set(p,s);};m.setDeep=function(p,q){n(p);return o(p,q);};function o(p,q){k(p,q);var r={},s=Object.keys(p);for(var t=0;t<s.length;t++){var u=s[t];if(!q.hasOwnProperty(u)){r[u]=p[u];}else if(l(p[u])||l(q[u])){r[u]=q[u];}else r[u]=o(p[u],q[u]);}var v=Object.keys(q);for(t=0;t<v.length;t++){var w=v[t];if(p.hasOwnProperty(w))continue;r[w]=q[w];}return (p instanceof m||q instanceof m)?new m(r):r;}e.exports=m;},null);
__d("AdsGenericFilter",["AdsGenericFilterOperator","AdsGenericFilterFieldType","LegacyImmutableObject","getObjectValues","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=j(g),m={},n='\u00A0';for(var o in i)if(i.hasOwnProperty(o))q[o]=i[o];var p=i===null?null:i.prototype;q.prototype=Object.create(p);q.prototype.constructor=q;q.__superConstructor__=i;function q(r,s,t){"use strict";var u=t,v=t&&Array.isArray(t);if(t==null||(typeof t==='number'&&isNaN(t)))throw new Error('invalid filter value');if(v&&t.length>1){t=t.slice(0);t.sort();}m.field=r;m.operator=s;m.value=u;m.key=r.toString()+n+s+n+(v?t.join(n):t);i.call(this,m);}q.prototype.toString=function(){"use strict";return this.key;};q.prototype.toAPI=function(){"use strict";return this.isComplete()?{field:this.field.name,operator:this.operator,value:this.value}:null;};q.prototype.isComplete=function(){"use strict";switch(this.operator){case g.IN:case g.NOT_IN:return true;default:return this.value!=='';}};e.exports=q;},null);
__d("AdsGenericFilterField",["AdsGenericFilterFieldType","LegacyImmutableObject","getObjectValues","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={},l=i(g);for(var m in h)if(h.hasOwnProperty(m))o[m]=h[m];var n=h===null?null:h.prototype;o.prototype=Object.create(n);o.prototype.constructor=o;o.__superConstructor__=h;function o(p,q,r){"use strict";k.name=p;k.type=q;if(r){k.level=r;k.key=p+'-'+q+'-'+r;}else k.key=p+'-'+q;h.call(this,k);}o.prototype.toString=function(){"use strict";return this.key;};e.exports=o;},null);
__d("AdsGenericFilterSet",["LegacyImmutableObject"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={},i=[],j=';';for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(n){"use strict";var o,p=[];switch(n.length){case 0:throw Error('AdsGenericFilterSet contains no filter');case 1:p.push(n[0]);o=n[0].key;break;default:var q={};i.length=0;n.forEach(function(r){var s=r.key;if(!(s in q)){p.push(r);q[s]=true;i.push(s);}});i.sort();o=i.join(j);}h.values=p;h.key='('+o+')';g.call(this,h);}m.prototype.toString=function(){"use strict";return this.key;};m.prototype.toAPI=function(){"use strict";var n=this.values,o=[];for(var p=0;p<n.length;p++){var q=n[p].toAPI();if(q!==null)o.push(q);}return o;};m.prototype.getCompleteFilters=function(){"use strict";var n=this.values.filter(function(o){return o.isComplete();});return n.length?new this.constructor(n):(void 0);};e.exports=m;},null);
__d("AdsGenericFilterSetUtil",["AdsGenericFilterOperator","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(v,w){if(v&&v.length>=w.length){var x={},y=true;v.forEach(function(z){x[z]=true;});w.some(function(z){if(!(z in x)){y=false;return true;}});return y;}else return false;}function j(v,w){if(!v)return w;var x=[],y={};h(v.field.key===w.field.key&&v.operator===w.operator);h(Array.isArray(v.value)&&Array.isArray(w.value));v.value.forEach(function(z){y[z]=true;x.push(z);});w.value.forEach(function(z){if(!y.hasOwnProperty(z))x.push(z);});return x.length?new v.constructor(v.field,w.operator,x):null;}function k(v,w){if(!v)return null;var x=[],y={};h(v.field.key===w.field.key&&v.operator===w.operator);w.value.forEach(function(z){y[z]=true;});v.value.forEach(function(z){if(!y.hasOwnProperty(z))x.push(z);});return x.length?new v.constructor(v.field,w.operator,x):null;}function l(v,w,x){var y;v.values.some(function(ea,fa){if(ea.field.key===w.key){y=fa;return true;}});if(y==null)return v;var z=v.values.slice(0),aa=z[y],ba=false,ca=aa.value.filter(function(ea){var fa=x.indexOf(ea)>-1;ba=fa||ba;return !fa;});if(!ba)return v;var da=new aa.constructor(aa.field,aa.operator,ca);z[y]=da;return new v.constructor(z);}function m(v,w){if(v.key===w.key)return true;if(v.values.length<w.values.length)return false;var x={},y={},z={},aa={};v.values.forEach(function(ca){var da=ca.key,ea=ca.field.key;switch(ca.operator){case g.IN:z[ea]=ca.value;break;case g.NOT_IN:aa[ea]=ca.value;break;default:x[da]=true;y[ea]=true;}});var ba=true;w.values.some(function(ca){var da=ca.key,ea=ca.value,fa=ca.field,ga=!ca.isComplete();switch(ca.operator){case g.IN:if(!i(z[fa],ea)){ba=false;return true;}break;case g.NOT_IN:if(!i(aa[fa],ea)){ba=false;return true;}break;default:if(!x[da]&&!(ga&&y[fa])){ba=false;return true;}}});return ba;}function n(v,w){return v.key===w.key;}function o(v,w){var x={},y={};v.values.forEach(function(ca){var da=ca.field.key;switch(ca.operator){case g.IN:case g.NOT_IN:x[da]=ca;break;default:y[da]=ca;}});w.values.forEach(function(ca){var da=ca.field.key;switch(ca.operator){case g.IN:case g.NOT_IN:if(x[da]&&x[da].operator!==ca.operator)x[da]=(void 0);x[da]=j(x[da],ca);break;default:y[da]=ca;}});var z=[];for(var aa in x)if(x[aa]&&x.hasOwnProperty(aa))z.push(x[aa]);for(var ba in y)if(y[ba]&&y.hasOwnProperty(ba))z.push(y[ba]);return new v.constructor(z);}function p(v,w){var x={},y={},z={};v.values.forEach(function(da){var ea=da.key,fa=da.field.key;switch(da.operator){case g.IN:case g.NOT_IN:x[fa]=da;break;default:y[ea]=da;z[fa]=ea;}});w.values.forEach(function(da){var ea=da.key,fa=da.field.key;switch(da.operator){case g.IN:case g.NOT_IN:x[fa]=k(x[fa],da);break;default:delete y[ea];if(!da.isComplete())delete y[z[fa]];}});var aa=[];for(var ba in x)if(x[ba]&&x.hasOwnProperty(ba))aa.push(x[ba]);for(var ca in y)if(y[ca]&&y.hasOwnProperty(ca))aa.push(y[ca]);return aa.length?new v.constructor(aa):null;}function q(v,w){return v.values.filter(function(x){return x.field.key===w.key;});}function r(v,w){var x=v.values.filter(function(y){return y.field.key!==w.key;});return x.length?new v.constructor(x):null;}function s(v,w){var x=w.map(function(z){return z.key;}),y=v.values.filter(function(z){return x.indexOf(z.field.key)!==-1;});return y.length?new v.constructor(y):null;}function t(v,w){var x=q(v,w);if(!x||x.length===0)return null;h(x.length===1);var y=x[0];return y.value;}var u={contains:m,exclude:p,excludeFiltersByField:r,excludeFiltersArrayValueByField:l,getFiltersByField:q,getFilterValueByField:t,includeFiltersByFields:s,matchesExactly:n,mergeByField:o};e.exports=u;},null);
__d("Layout.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"Layout",render:function(){var k=[],l=[],m=null;g.Children.forEach(this.props.children,function(o,p){if(!o)return;var q=m!==null,r=g.cloneElement(o,{className:i(o.props.className,((q?"_4bl8":''))),key:p});if(m===null){if(o.type===j.FillColumn){m=r;}else k.push(r);}else l.push(r);});l.reverse();var n=k.concat(l);if(m)n.push(m);return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,'clearfix')}),n));}});j.Column=g.createClass({displayName:"Column",render:function(){return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,"_4bl7")})));}});j.FillColumn=g.createClass({displayName:"FillColumn",render:function(){return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,"_4bl9")})));}});e.exports=j;},null);
__d("TextInputFilter.brands",["AdsGenericFilter","AdsGenericFilterField","AdsGenericFilterOperator","Keys","React"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=k,m=l.PropTypes,n=200,o=k.createClass({displayName:"TextInputFilter",propTypes:{onChange:m.func.isRequired,value:m.string,placeholder:m.string,filterField:m.instanceOf(h).isRequired,hasCustomValue:m.bool,changeDebounceMS:m.number},getDefaultProps:function(){return {hasCustomValue:false,changeDebounceMS:n};},getInitialState:function(){return {filter:null,value:this.props.value||""};},componentWillReceiveProps:function(p){if(this.props.hasCustomValue&&p.value!==this.state.value)this.setState({value:p.value});},render:function(){return (k.createElement("input",{className:this.props.className,value:this.state.value,onChange:this._onKeywordInputChange,onKeyPress:this._onKeywordInputEnter,placeholder:this.props.placeholder}));},_changeDebounceTimer:null,_onKeywordInputChange:function(p){var q=p.target.value;this.setState({value:q});if(!q){this.setState({filter:null},this._announceFilterChange);}else{var r=new g(this.props.filterField,i.CONTAIN,q);this.setState({filter:r},this._announceFilterChange);}},_onKeywordInputEnter:function(p){if(p.charCode===j.RETURN)this._announceFilterChangeImmediately();},_announceFilterChangeImmediately:function(){clearInterval(this._changeDebounceTimer);this.props.onChange(this.state.filter);},_announceFilterChange:function(){if(this._changeDebounceTimer)clearInterval(this._changeDebounceTimer);this._changeDebounceTimer=setTimeout(this._announceFilterChangeImmediately,this.props.changeDebounceMS);}});e.exports=o;},null);
__d("InlineBlock.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes,l={baseline:null,bottom:"_6d",middle:"_6b",top:"_6e"},m=g.createClass({displayName:"InlineBlock",propTypes:{alignv:k.oneOf(['baseline','bottom','middle','top']),height:k.number,fullWidth:k.bool},getDefaultProps:function(){return {alignv:'baseline',fullWidth:false};},render:function(){var n=l[this.props.alignv],o="_6a";if(this.props.fullWidth)o=i(o,"_5u5j");var p=i(o,n);if(this.props.height!=null){var q=g.createElement("div",{className:i("_6a",n),style:{height:this.props.height+'px'}});return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,o),height:null}),q,g.createElement("div",{className:p},this.props.children)));}else return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,p)}),this.props.children));}});e.exports=m;},null);
__d("ARIA",["DOM","emptyFunction","ge"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j,k,l=function(){j=i('ariaAssertiveAlert');if(!j){j=g.create('div',{id:'ariaAssertiveAlert',className:'accessible_elem','aria-live':'assertive'});g.appendContent(document.body,j);}k=i('ariaPoliteAlert');if(!k){k=j.cloneNode(false);k.setAttribute('id','ariaPoliteAlert');k.setAttribute('aria-live','polite');g.appendContent(document.body,k);}l=h;};function m(o,p){l();var q=p?j:k;g.setContent(q,o);}var n={owns:function(o,p){o.setAttribute('aria-owns',g.getID(p));},setPopup:function(o,p){var q=g.getID(p);o.setAttribute('aria-owns',q);o.setAttribute('aria-haspopup','true');if(o.tabIndex==-1)o.tabIndex=0;},announce:function(o){m(o,true);},notify:function(o){m(o);}};e.exports=n;},null);
__d("LayerHideOnTransition",["PageTransitions","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;}i.prototype.enable=function(){"use strict";this._enabled=true;if(!this._subscribed)setTimeout(this._subscribe.bind(this),0);};i.prototype.disable=function(){"use strict";this._enabled=false;};i.prototype._handler=function(){"use strict";if(this._enabled)this._layer.hide();this._subscribe();};i.prototype._subscribe=function(){"use strict";g.registerHandler(this._handler.bind(this));this._subscribed=true;};h(i.prototype,{_enabled:false,_subscribed:false});e.exports=i;},null);
__d("SVGChecker",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={isSVG:function(g){return !!g.ownerSVGElement||g.tagName.toLowerCase()==="svg";},isDisplayed:function(g){try{var i=g.getBBox();if(i&&(i.height===0||i.width===0))return false;}catch(h){return false;}return true;}};},null);
__d("getOverlayZIndex",["Style"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){j=j||document.body;var k=[];while(i&&i!==j){k.push(i);i=i.parentNode;}if(i!==j)return 0;for(var l=k.length-1;l>=0;l--){var m=k[l];if(g.get(m,'position')!='static'){var n=parseInt(g.get(m,'z-index'),10);if(!isNaN(n))return n;}}return 0;}e.exports=h;},null);
__d("ContextualLayer",["Arbiter","ARIA","ContextualThing","CSS","DataStore","DOM","Event","Layer","LayerHideOnTransition","Locale","Parent","Rect","Style","SVGChecker","Vector","arrayContains","containsNode","copyProperties","emptyFunction","getOffsetParent","getOverlayZIndex","removeFromArray","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca){b.__markCompiled&&b.__markCompiled();function da(la){return la.getPosition()==='left'||(la.isVertical()&&la.getAlignment()==='right');}for(var ea in n)if(n.hasOwnProperty(ea))ga[ea]=n[ea];var fa=n===null?null:n.prototype;ga.prototype=Object.create(fa);ga.prototype.constructor=ga;ga.__superConstructor__=n;function ga(){"use strict";if(n!==null)n.apply(this,arguments);}ga.prototype._configure=function(la,ma){"use strict";fa._configure.call(this,la,ma);if(la.shouldSetARIAProperties===false)this._shouldSetARIAProperties=la.shouldSetARIAProperties;if(la.context){this.setContext(la.context);}else if(la.contextID){this._setContextID(la.contextID);}else if(la.contextSelector)this._setContextSelector(la.contextSelector);this.setPosition(la.position);this.setAlignment(la.alignment);this.setOffsetX(la.offsetX);this.setOffsetY(la.offsetY);this._content=ma;};ga.prototype._getDefaultBehaviors=function(){"use strict";return fa._getDefaultBehaviors.call(this).concat([o]);};ga.prototype._buildWrapper=function(la,ma){"use strict";this._contentWrapper=l.create('div',{className:'uiContextualLayer'},ma);return l.create('div',{className:'uiContextualLayerPositioner'},this._contentWrapper);};ga.prototype.getInsertParent=function(){"use strict";var la=this._insertParent;if(!la){var ma=this.getContext();if(ma)la=q.byClass(ma,'uiContextualLayerParent');}return la||fa.getInsertParent.call(this);};ga.prototype.setContent=function(la){"use strict";this._content=la;l.setContent(this._contentWrapper,this._content);this._shown&&this.updatePosition();return this;};ga.prototype.setContext=function(la){"use strict";return this.setContextWithBounds(la,null);};ga.prototype.setContextWithBounds=function(la,ma){"use strict";if(this._contextNode===la&&ma&&this._contextBounds&&ma.isEqualTo(this._contextBounds))return this;this._contextNode=la;var na=(ma&&this._contextBounds&&ma.t===this._contextBounds.t&&ma.r===this._contextBounds.r&&ma.b===this._contextBounds.b&&ma.l===this._contextBounds.l);if(na)return this;this._contextBounds=ma||null;this._contextSelector=this._contextScrollParent=null;if(this._shown){i.register(this.getRoot(),this._contextNode);this.updatePosition();}this._setParentSubscription();this.setARIAProperties();return this;};ga.prototype.shouldSetARIAProperties=function(la){"use strict";this._shouldSetARIAProperties=la;return this;};ga.prototype.setARIAProperties=function(){"use strict";if(this._shouldSetARIAProperties)h.setPopup(this.getCausalElement(),this.getRoot());return this;};ga.prototype._setContextID=function(la){"use strict";this._contextSelector='#'+la;this._contextNode=null;};ga.prototype._setContextSelector=function(la){"use strict";this._contextSelector=la;this._contextNode=null;};ga.prototype.getCausalElement=function(){"use strict";return fa.getCausalElement.call(this)||this.getContext();};ga.prototype._setParentSubscription=function(){"use strict";var la=this.getContext(),ma=null;while(la!==null){ma=k.get(la,'layer');if(ma)break;la=la.parentNode;}if(ma===this._parentLayer)return;if(this._parentLayer&&this._parentSubscription){this._parentLayer.unsubscribe(this._parentSubscription);this._parentSubscription=null;}if(ma)this._parentSubscription=ma.subscribe('hide',this.hide.bind(this));this._parentLayer=ma;};ga.prototype.setPosition=function(la){"use strict";if(this._getOrientation().setDefaultPosition(la))this._shown&&this.updatePosition();return this;};ga.prototype.setAlignment=function(la){"use strict";if(this._getOrientation().setDefaultAlignment(la))this._shown&&this.updatePosition();return this;};ga.prototype.setOffsetX=function(la){"use strict";if(this._getOrientation().setDefaultOffsetX(la))this._shown&&this.updatePosition();return this;};ga.prototype.setOffsetY=function(la){"use strict";if(this._getOrientation().setDefaultOffsetY(la))this._shown&&this.updatePosition();return this;};ga.prototype.getPosition=function(){"use strict";return this._getOrientation().getPosition();};ga.prototype._getOrientation=function(){"use strict";if(!this._orientation)this._orientation=new ka();return this._orientation;};ga.prototype.getContentRoot=function(){"use strict";return this._contentWrapper;};ga.prototype.getContent=function(){"use strict";return this._content;};ga.prototype.getContext=function(){"use strict";if(!this._contextNode)this._contextNode=l.find(document,this._contextSelector);return this._contextNode;};ga.prototype.getContextBounds=function(la){"use strict";if(this._contextBounds)return this._contextBounds.convertTo(la);var ma=this.getContext();return r.newFromVectors(u.getElementPosition(ma,la),u.getElementDimensions(ma));};ga.prototype.getContextScrollParent=function(){"use strict";if(!this._contextScrollParent){this._contextScrollParent=s.getScrollParent(this.getContext());}else if(l.isElementNode(this._contextScrollParent)&&!w(document.documentElement,this._contextScrollParent))this._contextScrollParent=s.getScrollParent(this.getContext());return this._contextScrollParent;};ga.prototype.setInsertParent=function(la){"use strict";this._insertScrollParent=null;return fa.setInsertParent.call(this,la);};ga.prototype.getInsertScrollParent=function(){"use strict";if(!this._insertScrollParent)this._insertScrollParent=s.getScrollParent(this.getInsertParent());return this._insertScrollParent;};ga.prototype.show=function(){"use strict";if(this._shown)return this;fa.show.call(this);if(this._shown){i.register(this.getRoot(),this.getContext());ha.push(this);this._resizeListener=this._resizeListener||m.listen(window,'resize',ca(this.updatePosition.bind(this)));}return this;};ga.prototype.finishHide=function(){"use strict";ba(ha,this);this._resizeListener&&this._resizeListener.remove();this._resizeListener=null;return fa.finishHide.call(this);};ga.prototype.isFixed=function(){"use strict";return (s.isFixed(this.getContext())&&!s.isFixed(this.getInsertParent()));};ga.prototype.updatePosition=function(){"use strict";var la=this.getContext();if(!la)return false;var ma=this.isFixed();if(!ma&&!(la.offsetParent||(t.isSVG(la)&&t.isDisplayed(la))))return false;var na=this.getRoot();s.set(na,'width',u.getViewportDimensions().x+'px');var oa=this._getOrientation();this.inform('adjust',oa.reset());if(!oa.isValid())return false;this._updateWrapperPosition(oa);this._updateWrapperClass(oa);j.conditionClass(na,'uiContextualLayerPositionerFixed',ma);var pa,qa,ra=ma?'viewport':'document',sa=ma?document.documentElement:z(na);if(sa===document.documentElement){pa=new u(0,0);qa=document.documentElement.clientWidth;}else if(!na.offsetParent){return false;}else{pa=u.getElementPosition(sa,ra);qa=sa.offsetWidth;if(sa!==document.body)pa=pa.sub(new u(sa.scrollLeft,sa.scrollTop));}var ta=this.getContextBounds(ra),ua=ta.l-pa.x,va=ta.t-pa.y,wa=ta.h(),xa=ta.w(),ya=p.isRTL();if(oa.getPosition()==='below')va+=wa;if((oa.getPosition()==='right'||(oa.isVertical()&&oa.getAlignment()==='right'))!=ya)ua+=xa;var za=oa.getOffsetX();if(oa.isVertical()&&oa.getAlignment()==='center')za+=(xa-this.getContentRoot().offsetWidth)/2;if(ya)za*=-1;var ab='left',bb=Math.floor(ua+za);if(da(oa)!==ya){ab='right';bb=qa-bb;}s.set(na,ab,bb+'px');s.set(na,ab==='left'?'right':'left','');var cb=this.getInsertScrollParent(),db;if(cb!==window){db=cb.clientWidth;}else db=document.documentElement.clientWidth;var eb=u.getElementPosition(na).x;if(ab==='left'&&db-eb>0){s.set(na,'width',(db-eb)+'px');}else if(ab==='right'&&eb+na.offsetWidth>0){s.set(na,'width',eb+na.offsetWidth+'px');}else s.set(na,'width','');s.set(na,'top',(va+oa.getOffsetY())+'px');var fb=aa(la,this.getInsertParent());s.set(na,'z-index',fb>200?fb:'');this.inform('reposition',oa);return true;};ga.prototype._updateWrapperPosition=function(la){"use strict";var ma=la.getPosition()==='above';s.set(this._contentWrapper,'bottom',ma?'0':null);var na=p.isRTL()?'left':'right',oa=da(la);s.set(this._contentWrapper,na,oa?'0':null);};ga.prototype._updateWrapperClass=function(la){"use strict";var ma=la.getClassName();if(ma===this._orientationClass)return;if(this._orientationClass)j.removeClass(this._contentWrapper,this._orientationClass);this._orientationClass=ma;j.addClass(this._contentWrapper,ma);};ga.prototype.simulateOrientation=function(la,ma){"use strict";var na=la.getClassName();if(na===this._orientationClass){return ma();}else{if(this._orientationClass)j.removeClass(this._contentWrapper,this._orientationClass);j.addClass(this._contentWrapper,na);var oa=ma();j.removeClass(this._contentWrapper,na);if(this._orientationClass)j.addClass(this._contentWrapper,this._orientationClass);return oa;}};ga.prototype.destroy=function(){"use strict";fa.destroy.call(this);this._contentWrapper=null;this._content=null;return this;};ga.prototype.getArrowDimensions=function(){"use strict";return this._config.arrowDimensions||{offset:0,length:0};};var ha=[];g.subscribe('reflow',function(){ha.forEach(function(la){if(la.updatePosition()===false)la.hide();});});x(ga.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:true});var ia=y.thatReturnsArgument,ja=y.thatReturnsArgument;function ka(){"use strict";this._default={_position:'above',_alignment:'left',_offsetX:0,_offsetY:0,_valid:true};this.reset();}ka.prototype.setPosition=function(la){"use strict";this._position=ia(la);return this;};ka.prototype.setAlignment=function(la){"use strict";this._alignment=ja(la);return this;};ka.prototype.getOppositePosition=function(){"use strict";return ka.OPPOSITE[this.getPosition()];};ka.prototype.invalidate=function(){"use strict";this._valid=false;return this;};ka.prototype.getPosition=function(){"use strict";return this._position||'above';};ka.prototype.getAlignment=function(){"use strict";return this._alignment||'left';};ka.prototype.getOffsetX=function(){"use strict";var la=this._offsetX||0;if(!this.isVertical()){if(this._default._position!==this._position)la*=-1;}else if(this._default._alignment!==this._alignment)la*=-1;return la;};ka.prototype.getOffsetY=function(){"use strict";var la=this._offsetY||0;if(this.isVertical()&&this._default._position!==this._position)la*=-1;return la;};ka.prototype.getClassName=function(){"use strict";var la=this.getAlignment(),ma=this.getPosition();if(ma==='below'){if(la==='left'){return 'uiContextualLayerBelowLeft';}else if(la==='right'){return 'uiContextualLayerBelowRight';}else return 'uiContextualLayerBelowCenter';}else if(ma==='above'){if(la==='left'){return 'uiContextualLayerAboveLeft';}else if(la==='right'){return 'uiContextualLayerAboveRight';}else return 'uiContextualLayerAboveCenter';}else if(ma==='left'){return 'uiContextualLayerLeft';}else return 'uiContextualLayerRight';};ka.prototype.isValid=function(){"use strict";return this._valid;};ka.prototype.isVertical=function(){"use strict";return this.getPosition()==='above'||this.getPosition()==='below';};ka.prototype.reset=function(){"use strict";x(this,this._default);return this;};ka.prototype.setDefaultPosition=function(la){"use strict";var ma=this._default._position;this._default._position=ia(la);return ma!==la;};ka.prototype.setDefaultAlignment=function(la){"use strict";var ma=this._default._alignment;this._default._alignment=ja(la);return ma!==la;};ka.prototype.setDefaultOffsetX=function(la){"use strict";var ma=this._default._offsetX;this._default._offsetX=la;return ma!==la;};ka.prototype.setDefaultOffsetY=function(la){"use strict";var ma=this._default._offsetY;this._default._offsetY=la;return ma!==la;};ka.OPPOSITE={above:'below',below:'above',left:'right',right:'left'};e.exports=ga;},null);
__d("ContextualLayerHideOnScroll",["Event","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;}i.prototype.enable=function(){"use strict";this._subscriptions=[this._layer.subscribe('contextchange',this._handleContextChange.bind(this)),this._layer.subscribe('show',this.attach.bind(this)),this._layer.subscribe('hide',this.detach.bind(this))];};i.prototype.disable=function(){"use strict";while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this.detach();};i.prototype.attach=function(){"use strict";if(this._listener)return;var j=this._layer.getContextScrollParent();if(j===window)return;this._listener=g.listen(j,'scroll',this._layer.hide.bind(this._layer));};i.prototype.detach=function(){"use strict";this._listener&&this._listener.remove();this._listener=null;};i.prototype._handleContextChange=function(){"use strict";this.detach();if(this._layer.isShown())this.attach();};h(i.prototype,{_subscriptions:[]});e.exports=i;},null);
__d("TabbableElements",["Style","createArrayFromMixed"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(l){if(l.tabIndex>0||(l.tabIndex===0&&l.getAttribute('tabIndex')!==null))return true;switch(l.tagName){case "A":return l.href&&l.rel!="ignore";case "INPUT":return l.type!="hidden"&&l.type!="file"&&!l.disabled;case "BUTTON":case "SELECT":case "TEXTAREA":return !l.disabled;}return false;}function j(l){if(l.offsetHeight===0&&l.offsetWidth===0)return false;while(l!==document&&g.get(l,'visibility')!='hidden')l=l.parentNode;return l===document;}var k={find:function(l){var m=h(l.getElementsByTagName("*"));return m.filter(k.isTabbable);},isTabbable:function(l){return i(l)&&j(l);}};e.exports=k;},null);
__d("Toggler",["Arbiter","ArbiterMixin","ContextualThing","CSS","DataStore","DOM","DOMQuery","Event","Focus","Keys","TabbableElements","arrayContains","copyProperties","createArrayFromMixed","cx","emptyFunction","ge","getContextualParent","getObjectValues","setImmediate","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();var ba=[],ca,da=false;function ea(){if(!da){da=true;z(function(){da=false;});}}function fa(){fa=v;n.listen(document.documentElement,'click',function(event){if(da)return;var ma=event.getTarget();ba.forEach(function(na){na.clickedTarget=ma;na.active&&!na.sticky&&!i.containsIncludingLayers(na.getActive(),ma)&&!na.inTargetFlyout(ma)&&na.inActiveDialog()&&!na.isIgnoredByModalLayer(ma)&&na.hide();});},n.Priority.URGENT);}var ga=aa(h);for(var ha in ga)if(ga.hasOwnProperty(ha))ja[ha]=ga[ha];var ia=ga===null?null:ga.prototype;ja.prototype=Object.create(ia);ja.prototype.constructor=ja;ja.__superConstructor__=ga;function ja(){"use strict";this.active=null;this.togglers={};this.setSticky(false);ba.push(this);this.subscribe(['show','hide'],ja.inform.bind(ja));return fa();}ja.prototype.show=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(ma!==oa){oa&&na.hide();na.active=ma;j.addClass(ma,'openToggler');var pa=l.scry(ma,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target'))j.removeClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');var qa=m.scry(ma,'.uiToggleFlyout')[0];if(qa){var ra=q.find(qa)[0]||qa;if(ra.tabIndex==-1)ra.tabIndex=0;o.setWithoutOutline(ra);}if(pa.length>0){l.appendContent(ma,na.getToggler('next'));l.prependContent(ma,na.getToggler('prev'));}n.listen(ma,'keydown',function(event){if(n.getKeyCode(event)===p.ESC)if(na.isShown()){var sa=l.scry(ma,'a[rel="toggle"]')[0];sa&&sa.focus();na.hide();}});na.inform('show',na);}};ja.prototype.hide=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(oa&&(!ma||ma===oa)){j.removeClass(oa,'openToggler');var pa=l.scry(oa,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target'))j.addClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');y(na.togglers).forEach(l.remove);na.inform('hide',na);na.active=null;}};ja.prototype.toggle=function(ma){"use strict";var na=ka(this,ma);if(na.active===ma){na.hide();}else na.show(ma);ea();};ja.prototype.getActive=function(){"use strict";return ka(this).active;};ja.prototype.isShown=function(){"use strict";return ka(this).active&&j.hasClass(ka(this).active,'openToggler');};ja.prototype.inTargetFlyout=function(ma){"use strict";var na=la(this.getActive());return na&&i.containsIncludingLayers(na,ma);};ja.prototype.inActiveDialog=function(){"use strict";var ma=a.Dialog&&a.Dialog.getCurrent();return !ma||l.contains(ma.getRoot(),this.getActive());};ja.prototype.isIgnoredByModalLayer=function(ma){"use strict";var na=!!i.parentByClass(ma,"_3qw"),oa=!!i.parentByClass(this.getActive(),"_3qw");return na&&!oa;};ja.prototype.getToggler=function(ma){"use strict";var na=ka(this);if(!na.togglers[ma]){na.togglers[ma]=l.create('button',{className:'hideToggler',onfocus:function(){var oa=l.scry(na.active,'a[rel="toggle"]')[0];oa&&oa.focus();na.hide();},style:{right:ma==='next'?'0':''}});na.togglers[ma].setAttribute('type','button');}return this.togglers[ma];};ja.prototype.setSticky=function(ma){"use strict";var na=ka(this);ma=ma!==false;if(ma!==na.sticky){na.sticky=ma;if(ma){na.$Toggler0&&na.$Toggler0.unsubscribe();}else na.$Toggler0=g.subscribe('pre_page_transition',na.hide.bind(na,null));}return na;};ja.prototype.setPrePageTransitionCallback=function(ma){"use strict";var na=ka(this);na.$Toggler0&&na.$Toggler0.unsubscribe();na.$Toggler0=g.subscribe('pre_page_transition',ma);};ja.bootstrap=function(ma){"use strict";var na=ma.parentNode;ja.getInstance(na).toggle(na);};ja.createInstance=function(ma){"use strict";var na=new ja().setSticky(true);k.set(ma,'toggler',na);return na;};ja.destroyInstance=function(ma){"use strict";k.remove(ma,'toggler');};ja.getInstance=function(ma){"use strict";while(ma){var na=k.get(ma,'toggler');if(na)return na;if(j.hasClass(ma,'uiToggleContext'))return ja.createInstance(ma);ma=x(ma);}return (ca=ca||new ja());};ja.listen=function(ma,na,oa){"use strict";return ja.subscribe(t(ma),function(pa,qa){if(qa.getActive()===na)return oa(pa,qa);});};s(ja,ja.prototype);s(ja,{subscribe:(function(ma){return function(na,oa){na=t(na);if(r(na,'show'))ba.forEach(function(pa){if(pa.getActive())setTimeout(oa.bind(null,'show',pa),0);});return ma(na,oa);};})(ja.subscribe.bind(ja))});function ka(ma,na){if(ma instanceof ja)return ma;return ja.getInstance(na);}function la(ma){var na=l.scry(ma,'a[rel="toggle"]');if(na.length>0&&na[0].getAttribute('data-target'))return w(na[0].getAttribute('data-target'));}e.exports=ja;},null);
__d("curry",["bind"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g(null,g,null);e.exports=h;},null);
__d("ParameterizedPopover",["Arbiter","ArbiterMixin","CSS","DataStore","Event","Focus","Keys","KeyStatus","LayerHideOnEscape","Toggler","copyProperties","curry","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();p.subscribe(['show','hide'],function(x,y){var z=j.get(y.getActive(),'Popover');if(z)if(x==='show'){z.showLayer();}else z.hideLayer();});var t=s(h);for(var u in t)if(t.hasOwnProperty(u))w[u]=t[u];var v=t===null?null:t.prototype;w.prototype=Object.create(v);w.prototype.constructor=w;w.__superConstructor__=t;function w(x,y,z,aa){"use strict";this._root=x;this._triggerElem=y;this._behaviors=z;this._config=aa||{};this._disabled=!!this._config.disabled;this._listeners=[];if(!this._disabled&&(y.nodeName!=='A'||y.rel!=='toggle'))this._setupClickListener();this._setupKeyListener();y.setAttribute('role','button');j.set(x,'Popover',this);if(p.getActive()===x)this.showLayer();}w.prototype.ensureInit=function(){"use strict";if(!this._layer)this._init();};w.prototype.showLayer=function(){"use strict";this.ensureInit();this._layer.show();p.show(this._root);i.addClass(this._root,'selected');this.inform('show');this._triggerElem.setAttribute('aria-expanded','true');};w.prototype.getContentRoot=function(){"use strict";return this._root;};w.prototype.getLayer=function(){"use strict";return this._layer;};w.prototype.hideLayer=function(){"use strict";this._layer.hide();this._triggerElem.setAttribute('aria-expanded','false');};w.prototype.isShown=function(){"use strict";return this._layer&&this._layer.isShown();};w.prototype.setLayerContent=function(x){"use strict";this.ensureInit();if(this._layer.setContent)this._layer.setContent(x);};w.prototype._init=function(){"use strict";var x=this._config.layer;x.enableBehaviors([o]);p.createInstance(x.getRoot()).setSticky(false);x.subscribe('hide',this._onLayerHide.bind(this));this._behaviors&&x.enableBehaviors(this._behaviors);this._layer=x;this.inform('init',null,g.BEHAVIOR_PERSISTENT);};w.prototype._onLayerHide=function(){"use strict";p.hide(this._root);i.removeClass(this._root,'selected');this.inform('hide');if(n.getKeyDownCode()===m.ESC)l.set(this._triggerElem);};w.prototype.enable=function(){"use strict";if(!this._disabled)return;this._setupClickListener();this._setupKeyListener();this._disabled=false;};w.prototype.disable=function(){"use strict";if(this._disabled)return;if(this.isShown())this.hideLayer();while(this._listeners.length)this._listeners.pop().remove();if(this._triggerElem.getAttribute('rel')==='toggle')this._triggerElem.removeAttribute('rel');this._disabled=true;};w.prototype._setupClickListener=function(){"use strict";this._listeners.push(k.listen(this._triggerElem,'click',r(p.bootstrap,this._triggerElem)));};w.prototype._setupKeyListener=function(){"use strict";this._listeners.push(k.listen(this._triggerElem,'keydown',this._handleKeyEvent.bind(this)));};w.prototype._handleKeyEvent=function(event){"use strict";if(event.getModifiers().any)return;var x=k.getKeyCode(event);switch(x){case m.SPACE:case m.DOWN:case m.UP:if(x===m.SPACE||!this.isShown())p.bootstrap(this._triggerElem);break;default:return;}event.prevent();};w.prototype.destroy=function(){"use strict";j.remove(this._root,'Popover');};q(w.prototype,{_layer:null});e.exports=w;},null);
__d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(){"use strict";if(j!==null)j.apply(this,arguments);}m.prototype._init=function(){"use strict";var n=new g({context:this._triggerElem,position:'below',arrowDimensions:{offset:12,length:16}},i.create('div'));n.enableBehaviors([h]);this._config.layer=n;if(this._config.alignh)n.setAlignment(this._config.alignh);if(this._config.layer_content)n.setContent(this._config.layer_content);if(this._config.position)n.setPosition(this._config.position);l._init.call(this);};e.exports=m;},null);
__d("PopoverMenu",["Arbiter","ArbiterMixin","ARIA","BehaviorsMixin","Event","Focus","Keys","KeyStatus","copyProperties","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=p(h,j);for(var r in q)if(q.hasOwnProperty(r))t[r]=q[r];var s=q===null?null:q.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=q;function t(u,v,w,x){"use strict";this._popover=u;this._triggerElem=v;this._initialMenu=w;u.subscribe('init',this._onLayerInit.bind(this));u.subscribe('show',this._onPopoverShow.bind(this));u.subscribe('hide',this._onPopoverHide.bind(this));k.listen(this._triggerElem,'keydown',this._handleKeyEventOnTrigger.bind(this));x&&this.enableBehaviors(x);}t.prototype.getContentRoot=function(){"use strict";return this._popover.getContentRoot();};t.prototype.setMenu=function(u){"use strict";this._menu=u;var v=u.getRoot();this._popover.setLayerContent(v);u.subscribe('done',this._onMenuDone.bind(this));if(this._popoverShown)this._menu.onShow();i.owns(this._triggerElem,v);this.inform('setMenu',null,g.BEHAVIOR_PERSISTENT);};t.prototype.getPopover=function(){"use strict";return this._popover;};t.prototype.getTriggerElem=function(){"use strict";return this._triggerElem;};t.prototype.getInitialMenu=function(){"use strict";return this._initialMenu;};t.prototype.getMenu=function(){"use strict";return this._menu;};t.prototype._onLayerInit=function(){"use strict";this.setMenu(this._initialMenu);this._popover.getLayer().subscribe('key',this._handleKeyEvent.bind(this));};t.prototype._onPopoverShow=function(){"use strict";if(this._menu)this._menu.onShow();this._popoverShown=true;};t.prototype._onPopoverHide=function(){"use strict";if(this._menu)this._menu.onHide();this._popoverShown=false;};t.prototype._handleKeyEvent=function(u,v){"use strict";var w=k.getKeyCode(v);if(w===m.TAB){this._popover.hideLayer();l.set(this._triggerElem);return;}if(v.getModifiers().any)return;switch(w){case m.RETURN:return;default:if(this._menu.handleKeydown(w,v)===false){this._menu.blur();this._menu.handleKeydown(w,v);}break;}v.prevent();};t.prototype._handleKeyEventOnTrigger=function(u){"use strict";var v=k.getKeyCode(u),w=String.fromCharCode(v).toLowerCase();if(/^\w$/.test(w)){this._popover.showLayer();this._menu.blur();if(this._menu.handleKeydown(v,u)===false){this._popover.hideLayer();l.set(this._triggerElem);}}};t.prototype._onMenuDone=function(u){"use strict";var v=n.isKeyDown();setTimeout(function(){this._popover.hideLayer();if(v)l.set(this._triggerElem);}.bind(this),0);};t.prototype.enable=function(){"use strict";this._popover.enable();};t.prototype.disable=function(){"use strict";this._popover.disable();};o(t.prototype,{_popoverShown:false});e.exports=t;},null);
__d("SubscriptionsHandler",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(k){return k.remove||k.reset||k.unsubscribe;}function i(k){var l=h(k);l.call(k);}function j(){"use strict";this._subscriptions=[];}j.prototype.addSubscriptions=function(){"use strict";for(var k=[],l=0,m=arguments.length;l<m;l++)k.push(arguments[l]);k.forEach(function(n){var o=h(n);g(o);});if(this._subscriptions){this._subscriptions=this._subscriptions.concat(k);}else k.forEach(i);};j.prototype.engage=function(){"use strict";this._subscriptions=this._subscriptions||[];};j.prototype.release=function(){"use strict";if(this._subscriptions){this._subscriptions.forEach(i);this._subscriptions=null;}};e.exports=j;},null);
__d("PopoverMenu.react",["CSS","InlineBlock.react","Popover","PopoverMenu","React","ReactElement","SubscriptionsHandler","cx","joinClasses","areEqual","setImmediate"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=k,s=r.PropTypes,t=k.createClass({displayName:"ReactPopoverMenu",statics:{getFirstChild:function(u){var v=u.children;return Array.isArray(v)?v[0]:v;},getButtonSize:function(u){var v=t.getFirstChild(u);return v&&v.type.getButtonSize(v.props);}},propTypes:{alignh:s.oneOf(['left','center','right']),alignv:s.oneOf(['baseline','bottom','middle','top']),position:s.oneOf(['above','below','left','right']),layerBehaviors:s.array,menu:s.object,disabled:s.bool,open:s.bool},getDefaultProps:function(){return {alignv:'middle'};},_menuSubscriptions:null,componentDidMount:function(){var u=k.findDOMNode(this.refs.root),v=u.firstChild;g.addClass(v,"_p");this._popover=new i(u,v,this.props.layerBehaviors,{alignh:this.props.alignh,position:this.props.position,disabled:this.props.disabled});this._popoverMenu=new j(this._popover,v,this._createMenu(this.props.menu),this.props.behaviors);},componentDidUpdate:function(u){if(!p(u.menu,this.props.menu))q(this._recreateMenu);if(this.props.alignh!==u.alignh)this._popoverMenu.getPopover().getLayer().setAlignment(this.props.alignh);if(this.props.disabled!==u.disabled)if(this.props.disabled){this._popoverMenu.disable();}else this._popoverMenu.enable();},_recreateMenu:function(){if(this._menuSubscriptions){this._menuSubscriptions.release();this._menuSubscriptions=null;}this._unmountCurrentMenuItems();this._popoverMenu.setMenu(this._createMenu(this.props.menu));},render:function(){var u=k.Children.map(this.props.children,function(v,w){if(w===0){return l.cloneAndReplaceProps(v,Object.assign({},v.props,{className:o(v.props.className,"_p")}));}else return v;});return (k.createElement(h,k.__spread({},this.props,{className:o(this.props.className,"uiPopover"),ref:"root",disabled:null}),u));},componentWillUnmount:function(){this.hidePopover();if(this._menuSubscriptions){this._menuSubscriptions.release();this._menuSubscriptions=null;}},_createMenu:function(u){var v=u.props,w=new u.type(v);this._menuSubscriptions=new m();if(v.onItemClick)this._menuSubscriptions.addSubscriptions(w.subscribe('itemclick',v.onItemClick));if(v.onItemFocus)this._menuSubscriptions.addSubscriptions(w.subscribe('focus',v.onItemFocus));if(v.onItemBlur)this._menuSubscriptions.addSubscriptions(w.subscribe('blur',v.onItemBlur));if(v.onChange)this._menuSubscriptions.addSubscriptions(w.subscribe('change',v.onChange));if(this.props.onShow)this._menuSubscriptions.addSubscriptions(this._popover.subscribe('show',this.props.onShow));if(this.props.onHide)this._menuSubscriptions.addSubscriptions(this._popover.subscribe('hide',this.props.onHide));return w;},getMenu:function(){return this._popoverMenu.getMenu();},showPopover:function(u){this._popover.showLayer();if(u){var v=this._popoverMenu.getMenu();v.blur();v.focusAnItem(u);}},hidePopover:function(){var u=this._popover;if(u&&u.isShown())u.hideLayer();},getFocusedItem:function(){var u=this._popoverMenu.getMenu();return u.getFocusedItem();},_unmountCurrentMenuItems:function(){var u=this.getMenu();u&&u.forEachItem(function(v){var w=v.getRoot().firstElementChild;w&&k.unmountComponentAtNode(w);});}});e.exports=t;},null);
__d("ReactSelectorUtils",["ReactChildren"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={processAndMutateMenuItems:function(i,j){var k;g.forEach(i,function(l){if(l){var m=l.props.value===j;l.props.selected=m;if(m)k=l;}});return k;},processAndMutateMultiMenuItems:function(i,j){var k=[];if(j)g.forEach(i,function(l){if(l){var m=j.some(function(n){return n===l.props.value;});l.props.selected=m;if(m)k.push(l);}});return k;}};e.exports=h;},null);
__d("ContextualLayerDimensions",["DOM","Locale","Rect","Vector","ViewportBounds","ge","getOverlayZIndex"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={getViewportRect:function(o){var p=l('globalContainer'),q=o.getContext(),r=(p&&g.contains(p,q))||m(q)<300,s=i.getViewportWithoutScrollbarsBounds();if(r){s.t+=k.getTop();if(h.isRTL()){s.r-=k.getLeft();s.l+=k.getRight();}else{s.r-=k.getRight();s.l+=k.getLeft();}}return s;},getLayerRect:function(o,p){var q=o.getContextBounds('viewport'),r=o.simulateOrientation(p,function(){return j.getElementDimensions(o.getContentRoot());}),s=q.t+p.getOffsetY();if(p.getPosition()==='above'){s-=r.y;}else if(p.getPosition()==='below')s+=q.b-q.t;var t=q.l+p.getOffsetX(),u=q.r-q.l;if(p.isVertical()){var v=p.getAlignment();if(v==='center'){t+=(u-r.x)/2;}else if((v==='right')!==h.isRTL())t+=u-r.x;}else if((p.getPosition()==='right')!==h.isRTL()){t+=u;}else t-=r.x;return new i(s,t+r.x,s+r.y,t,'viewport');}};e.exports=n;},null);
__d("ContextualLayerAutoFlip",["ContextualLayerDimensions","DOM","Vector","Rect","arrayContains","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(o,p){p=new j(p).convertTo(o.domain);var q=Math.max(o.l,p.l),r=Math.min(o.r,p.r);return Math.max(r-q,0);}function n(o){"use strict";this._layer=o;}n.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('adjust',this._adjustOrientation.bind(this));if(this._layer.isShown())this._layer.updatePosition();};n.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;if(this._layer.isShown())this._layer.updatePosition();};n.prototype._adjustOrientation=function(o,p){"use strict";var q=this._getValidPositions(p);if(!q.length){p.invalidate();return;}var r=g.getViewportRect(this._layer),s=this._getValidAlignments(p),t,u,v;for(t=0;t<s.length;t++){p.setAlignment(s[t]);for(u=0;u<q.length;u++){p.setPosition(q[u]);v=g.getLayerRect(this._layer,p);if(r.contains(v))return;}}p.setPosition(k(q,'below')?'below':q[0]);var w,x=0,y=0;for(t=0;t<s.length;t++){p.setAlignment(s[t]);v=g.getLayerRect(this._layer,p);w=m(r,v);if(w>y){y=w;x=t;}}p.setAlignment(s[x]);};n.prototype._getValidPositions=function(o){"use strict";var p=[o.getPosition(),o.getOppositePosition()],q=this._layer.getContextScrollParent();if(q===window||q===h.getDocumentScrollElement())return p;var r=this._layer.getContext(),s=i.getElementPosition(q,'viewport').y,t=i.getElementPosition(r,'viewport').y;if(o.isVertical()){return p.filter(function(v){if(v==='above'){return t>=s;}else{var w=s+q.offsetHeight,x=t+r.offsetHeight;return x<=w;}});}else{var u=s+q.offsetHeight;if(t>=s&&t+r.offsetHeight<=u){return p;}else return [];}};n.prototype._getValidAlignments=function(o){"use strict";var p=['left','right','center'],q=o.getAlignment(),r=p.indexOf(q);if(r>0){p.splice(r,1);p.unshift(q);}return p;};l(n.prototype,{_subscription:null});e.exports=n;},null);
__d("PopoverMenuContextMinWidth",["CSS","Style","copyProperties","cx","shield"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m){"use strict";this._popoverMenu=m;this._popover=m.getPopover();}l.prototype.enable=function(){"use strict";this._setMenuSubscription=this._popoverMenu.subscribe('setMenu',k(this._onSetMenu,this));};l.prototype.disable=function(){"use strict";this._setMenuSubscription.unsubscribe();this._setMenuSubscription=null;if(this._showSubscription){this._showSubscription.unsubscribe();this._showSubscription=null;}if(this._menuSubscription){this._menuSubscription.unsubscribe();this._menuSubscription=null;}};l.prototype._onSetMenu=function(){"use strict";this._menu=this._popoverMenu.getMenu();this._showSubscription=this._popover.subscribe('show',k(this._updateWidth,this));var m=this._updateWidth.bind(this);this._menuSubscription=this._menu.subscribe(['change','resize'],function(){setTimeout(m,0);});this._updateWidth();};l.prototype._updateWidth=function(){"use strict";var m=this._menu.getRoot(),n=this._popoverMenu.getTriggerElem(),o=n.offsetWidth;h.set(m,'min-width',o+'px');g.conditionClass(m,"_575s",o>=m.offsetWidth);};i(l.prototype,{_setMenuSubscription:null,_showSubscription:null,_menuSubscription:null});e.exports=l;},null);
__d("PopoverMenuOverlappingBorder",["CSS","DOM","Style","copyProperties","cx","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n){"use strict";this._popoverMenu=n;this._popover=n.getPopover();this._triggerElem=n.getTriggerElem();}m.prototype.enable=function(){"use strict";this._setMenuSubscription=this._popoverMenu.subscribe('setMenu',l(this._onSetMenu,this));};m.prototype.disable=function(){"use strict";this._popoverMenu.unsubscribe(this._setMenuSubscription);this._setMenuSubscription=null;this._removeBorderSubscriptions();this._removeShortBorder();};m.prototype._onSetMenu=function(){"use strict";this._removeBorderSubscriptions();this._menu=this._popoverMenu.getMenu();this._renderShortBorder(this._menu.getRoot());this._showSubscription=this._popover.subscribe('show',l(this._updateBorder,this));var n=this._updateBorder.bind(this);this._menuSubscription=this._menu.subscribe(['change','resize'],function(){setTimeout(n,0);});this._updateBorder();};m.prototype._updateBorder=function(){"use strict";var n=this._menu.getRoot(),o=this._triggerElem.offsetWidth,p=Math.max(n.offsetWidth-o,0);i.set(this._shortBorder,'width',p+'px');};m.prototype._renderShortBorder=function(n){"use strict";this._shortBorder=h.create('div',{className:"_54hx"});h.appendContent(n,this._shortBorder);g.addClass(n,"_54hy");};m.prototype._removeShortBorder=function(){"use strict";if(this._shortBorder){h.remove(this._shortBorder);this._shortBorder=null;g.removeClass(this._popoverMenu.getMenu().getRoot(),"_54hy");}};m.prototype._removeBorderSubscriptions=function(){"use strict";if(this._showSubscription){this._popover.unsubscribe(this._showSubscription);this._showSubscription=null;}if(this._menuSubscription){this._menu.unsubscribe(this._menuSubscription);this._menuSubscription=null;}};j(m.prototype,{_shortBorder:null,_setMenuSubscription:null,_showSubscription:null,_menuSubscription:null});e.exports=m;},null);
__d("ReactPropTransferer",["Object.assign","emptyFunction","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(o){return function(p,q,r){if(!p.hasOwnProperty(q)){p[q]=r;}else p[q]=o(p[q],r);};}var k=j(function(o,p){return g({},p,o);}),l={children:h,className:j(i),style:k};function m(o,p){for(var q in p){if(!p.hasOwnProperty(q))continue;var r=l[q];if(r&&l.hasOwnProperty(q)){r(o,q,p[q]);}else if(!o.hasOwnProperty(q))o[q]=p[q];}return o;}var n={mergeProps:function(o,p){return m(g({},o),p);}};e.exports=n;},null);
__d("cloneWithProps",["ReactElement","ReactPropTransferer","keyOf","warning"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=i({children:null});function l(m,n){var o=h.mergeProps(n,m.props);if(!o.hasOwnProperty(k)&&m.props.hasOwnProperty(k))o.children=m.props.children;return g.createElement(m.type,o);}e.exports=l;},null);
__d("intlList",["React","fbt","invariant","keyMirror"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=function(m,n){n=n||k.CONJUNCTIONS.AND;var o=m.length;if(o===0){return '';}else if(o===1)return m[0];var p=m[o-1],q=m[0];for(var r=1;r<o-1;++r)q=h._("{previous items}, {following items}",[h.param("previous items",q),h.param("following items",m[r])]);return l(q,p,n);};function l(m,n,o){switch(o){case k.CONJUNCTIONS.AND:return (h._("{list of items} and {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.OR:return (h._("{list of items} or {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.NONE:return (h._("{list of items}, {last item}",[h.param("list of items",m),h.param("last item",n)]));default:i(false);}}k.CONJUNCTIONS=j({AND:null,NONE:null,OR:null});e.exports=k;},null);
__d("AbstractSelector.react",["InlineBlock.react","React","PopoverMenu.react","ReactSelectorUtils","ContextualLayerAutoFlip","PopoverMenuContextMinWidth","PopoverMenuOverlappingBorder","cloneWithProps","cx","invariant","joinClasses","intlList"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s=h,t=s.PropTypes;function u(w,x,y){if(w[x]==null)return;var z=Array.isArray(w[x]);if(w.multiple){if(!z)return new Error('You are trying to set a single value for `'+x+'` '+'but the menu has `multiple` set to true, so it should be an '+'array of values.');}else if(z)return new Error('You are trying to set an array of values for `'+x+'` '+'but the menu has `multiple` set to false, so it should be a '+'single value.');}var v=h.createClass({displayName:"AbstractSelector",propTypes:{config:t.object.isRequired,alignh:t.oneOf(['left','center','right']),name:t.string,overlappingborder:t.bool,onChange:t.func,disabled:t.bool,maxheight:t.number,multiple:t.bool,defaultLabel:t.string,defaultValue:u,value:u,initialValue:u},getInitialState:function(){return {value:(this.props.value!=null?this.props.value:this.props.defaultValue!=null?this.props.defaultValue:this.props.initialValue)};},setMenuValue:function(w){p(this.refs&&this.refs.popover);this._internalChange=true;this.refs.popover.getMenu().setValue(w);this._internalChange=false;},onChange:function(w,x){if(this._internalChange)return;if(this.props.value==null){var y=null;if(this.props.multiple){y=x.map(function(z){return z.value;});}else y=x.value;this.setState({value:y});}else this.setMenuValue(this.props.value);if(this.props.onChange)this.props.onChange(x);},componentWillReceiveProps:function(w){if(w.value!=null){this.setState({value:w.value});}else if(this.props.multiple!==w.multiple)this.setState({value:w.multiple?[this.state.value]:this.state.value[0]});},render:function(){var w=this.props.config,x=n(w.menu,{children:this.props.children,className:q("_575t",w.menu.props.className),maxheight:this.props.maxheight,onChange:this.onChange}),y=!this.props.multiple?j.processAndMutateMenuItems(this.props.children,this.state.value):j.processAndMutateMultiMenuItems(this.props.children,this.state.value),z='',aa=null;if(!this.props.multiple){z=y.props.label||y.props.children;if(y.props.icon)aa=n(y.props.icon,{});}else if(!y.length){z=this.props.defaultLabel;}else z=r(y.map(function(ia){return ia.props.children;}),r.CONJUNCTIONS.NONE);var ba={label:z,disabled:this.props.disabled};if(aa)ba.image=aa;var ca=n(w.button,ba),da=[k];if(w.layerBehaviors)da=da.concat(w.layerBehaviors);var ea=[l];if(this.props.overlappingborder)ea.push(m);var fa=null;if(this.props.multiple){var ga=this.props.name+'[]',ha;if(this.state.value)ha=this.state.value.map(function(ia){return (h.createElement("input",{key:ia,type:"hidden",name:ga,value:ia}));});fa=h.createElement("div",null,ha);}else fa=h.createElement("input",{type:"hidden",name:this.props.name,value:this.state.value});return (h.createElement(g,h.__spread({},this.props,{alignv:"middle",name:null}),h.createElement(i,{ref:"popover",menu:x,alignh:this.props.alignh,layerBehaviors:da,behaviors:ea,disabled:this.props.disabled},ca),fa));},showMenu:function(){p(this.isMounted());this.refs.popover.showPopover();},hideMenu:function(){p(this.isMounted());this.refs.popover.hidePopover();}});e.exports=v;},null);
__d("ContextualLayerPositionClassOnContext",["CSS","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(l){"use strict";this._layer=l;}j.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('reposition',this._updateClassName.bind(this));if(this._layer.isShown())this._updateClassName();};j.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;if(this._prevClassName){g.removeClass(this._layer.getContext(),this._prevClassName);this._prevClassName=null;}};j.prototype._updateClassName=function(l,m){"use strict";var n=this._layer.getContext(),o=k(m);if(this._prevClassName){if(this._prevClassName===o)return;g.removeClass(n,this._prevClassName);}g.addClass(n,o);this._prevClassName=o;};function k(l){var m=l.getAlignment(),n=l.getPosition();if(n==='below'){if(m==='left'){return "_nk";}else if(m==='right'){return "_nl";}else return "_nm";}else if(n==='above'){if(m==='left'){return "_nn";}else if(m==='right'){return "_no";}else return "_np";}else if(n==='left'){return "_nq";}else return "_nr";}h(j.prototype,{_subscription:null,_prevClassName:null});e.exports=j;},null);
__d("PopoverMenuInterface",["ArbiterMixin","copyProperties","emptyFunction","mixin"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=j(g);for(var l in k)if(k.hasOwnProperty(l))n[l]=k[l];var m=k===null?null:k.prototype;n.prototype=Object.create(m);n.prototype.constructor=n;n.__superConstructor__=k;function n(){"use strict";}n.prototype.done=function(){"use strict";this.inform('done');};h(n.prototype,{getRoot:i,onShow:i,onHide:i,focusAnItem:i.thatReturnsFalse,blur:i,handleKeydown:i.thatReturnsFalse});e.exports=n;},null);
__d("SimpleDrag",["Event","ArbiterMixin","UserAgent_DEPRECATED","Vector","copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n){this.minDragDistance=0;g.listen(n,'mousedown',this._start.bind(this));}k(m.prototype,h,{setMinDragDistance:function(n){this.minDragDistance=n;},_start:function(event){var n=false,o=true,p=null;if(this.inform('mousedown',event))o=false;if(this.minDragDistance){p=j.getEventPosition(event);}else{n=true;var q=this.inform('start',event);if(q===true){o=false;}else if(q===false){n=false;return;}}var r=i.ie()<9?document.documentElement:window,s=g.listen(r,{selectstart:o?g.prevent:l,mousemove:function(event){if(!n){var t=j.getEventPosition(event);if(p.distanceTo(t)<this.minDragDistance)return;n=true;if(this.inform('start',event)===false){n=false;return;}}this.inform('update',event);}.bind(this),mouseup:function(event){for(var t in s)s[t].remove();if(n){this.inform('end',event);}else this.inform('click',event);}.bind(this)});o&&event.prevent();}});e.exports=m;},null);
__d("ScrollableArea",["Animation","ArbiterMixin","BrowserSupport","CSS","DataStore","DOM","Event","Parent","Run","SimpleDrag","Style","UserAgent_DEPRECATED","Vector","throttle","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){b.__markCompiled&&b.__markCompiled();var v=12,w=u(h);for(var x in w)if(w.hasOwnProperty(x))z[x]=w[x];var y=w===null?null:w.prototype;z.prototype=Object.create(y);z.prototype.constructor=z;z.__superConstructor__=w;function z(aa,ba){"use strict";if(!aa)return;ba=ba||{};this._elem=aa;this._wrap=l.find(aa,'div.uiScrollableAreaWrap');this._body=l.find(this._wrap,'div.uiScrollableAreaBody');this._content=l.find(this._body,'div.uiScrollableAreaContent');this._track=l.find(aa,'div.uiScrollableAreaTrack');this._gripper=l.find(this._track,'div.uiScrollableAreaGripper');this._options=ba;this._throttledComputeHeights=t.withBlocking(this._computeHeights,250,this);this.throttledAdjustGripper=t.withBlocking(this.adjustGripper,250,this);this._throttledShowGripperAndShadows=t.withBlocking(this._showGripperAndShadows,250,this);this._throttledRespondMouseMove=t(this._respondMouseMove,250,this);setTimeout(this.adjustGripper.bind(this),0);this._listeners=[m.listen(this._wrap,'scroll',this._handleScroll.bind(this)),m.listen(aa,'mousemove',this._handleMouseMove.bind(this)),m.listen(this._track,'click',this._handleClickOnTrack.bind(this))];if(i.hasPointerEvents())this._listeners.push(m.listen(aa,'mousedown',this._handleClickOnTrack.bind(this)));if(ba.fade!==false){this._listeners.push(m.listen(aa,'mouseenter',this._handleMouseEnter.bind(this)),m.listen(aa,'mouseleave',this._handleMouseLeave.bind(this)),m.listen(aa,'focusin',this.showScrollbar.bind(this,false)),m.listen(aa,'focusout',this.hideScrollbar.bind(this)));}else if(i.hasPointerEvents())this._listeners.push(m.listen(aa,'mouseleave',j.removeClass.bind(null,aa,'uiScrollableAreaTrackOver')));if(r.webkit()||r.chrome()){this._listeners.push(m.listen(aa,'mousedown',function(){var ca=m.listen(window,'mouseup',function(){if(aa.scrollLeft)aa.scrollLeft=0;ca.remove();});}));}else if(r.firefox())this._wrap.addEventListener('DOMMouseScroll',function(event){event.axis===event.HORIZONTAL_AXIS&&event.preventDefault();},false);this.initDrag();k.set(this._elem,'ScrollableArea',this);if(!ba.persistent)o.onLeave(this.destroy.bind(this));if(ba.shadow!==false)j.addClass(this._elem,'uiScrollableAreaWithShadow');}z.prototype.getElement=function(){"use strict";return this._elem;};z.prototype.initDrag=function(){"use strict";var aa=i.hasPointerEvents(),ba=new p(aa?this._elem:this._gripper);ba.subscribe('start',function(ca,event){if(!((event.which&&event.which===1)||(event.button&&event.button===1)))return;var da=s.getEventPosition(event,'viewport');if(aa){var ea=this._gripper.getBoundingClientRect();if(da.x<ea.left||da.x>ea.right||da.y<ea.top||da.y>ea.bottom)return false;}this.inform('grip_start');var fa=da.y,ga=this._gripper.offsetTop;j.addClass(this._elem,'uiScrollableAreaDragging');var ha=ba.subscribe('update',function(ja,event){var ka=s.getEventPosition(event,'viewport').y-fa;this._throttledComputeHeights();var la=this._contentHeight-this._containerHeight,ma=ga+ka,na=this._trackHeight-this._gripperHeight;ma=Math.max(Math.min(ma,na),0);var oa=ma/na*la;this._wrap.scrollTop=oa;}.bind(this)),ia=ba.subscribe('end',function(){ba.unsubscribe(ha);ba.unsubscribe(ia);j.removeClass(this._elem,'uiScrollableAreaDragging');this.inform('grip_end');}.bind(this));}.bind(this));};z.prototype.adjustGripper=function(){"use strict";if(this._needsGripper()){q.set(this._gripper,'height',this._gripperHeight+'px');this._slideGripper();}this._throttledShowGripperAndShadows();return this;};z.prototype._computeHeights=function(){"use strict";this._containerHeight=this._elem.clientHeight;this._contentHeight=this._content.offsetHeight;this._trackHeight=this._track.offsetHeight;this._gripperHeight=Math.max(this._containerHeight/this._contentHeight*this._trackHeight,v);};z.prototype._needsGripper=function(){"use strict";this._throttledComputeHeights();return this._gripperHeight<this._trackHeight;};z.prototype._slideGripper=function(){"use strict";var aa=this._wrap.scrollTop/(this._contentHeight-this._containerHeight)*(this._trackHeight-this._gripperHeight);q.set(this._gripper,'top',aa+'px');};z.prototype._showGripperAndShadows=function(){"use strict";j.conditionShow(this._gripper,this._needsGripper());j.conditionClass(this._elem,'contentBefore',this._wrap.scrollTop>0);j.conditionClass(this._elem,'contentAfter',!this.isScrolledToBottom());};z.prototype.destroy=function(){"use strict";this._listeners.forEach(function(aa){aa.remove();});this._listeners.length=0;};z.prototype._handleClickOnTrack=function(event){"use strict";var aa=s.getEventPosition(event,'viewport'),ba=this._gripper.getBoundingClientRect();if(aa.x<ba.right&&aa.x>ba.left){if(aa.y<ba.top){this.setScrollTop(this.getScrollTop()-this._elem.clientHeight);}else if(aa.y>ba.bottom)this.setScrollTop(this.getScrollTop()+this._elem.clientHeight);event.prevent();}};z.prototype._handleMouseMove=function(event){"use strict";var aa=this._options.fade!==false;if(i.hasPointerEvents()||aa){this._mousePos=s.getEventPosition(event);this._throttledRespondMouseMove();}};z.prototype._respondMouseMove=function(){"use strict";if(!this._mouseOver)return;var aa=this._options.fade!==false,ba=this._mousePos,ca=s.getElementPosition(this._track).x,da=s.getElementDimensions(this._track).x,ea=Math.abs(ca+da/2-ba.x);j.conditionClass(this._elem,'uiScrollableAreaTrackOver',i.hasPointerEvents()&&ea<=10);if(aa)if(ea<25){this.showScrollbar(false);}else if(!this._options.no_fade_on_hover)this.hideScrollbar();};z.prototype._handleScroll=function(event){"use strict";if(this._needsGripper())this._slideGripper();this.throttledAdjustGripper();if(this._options.fade!==false)this.showScrollbar();this.inform('scroll');};z.prototype._handleMouseLeave=function(){"use strict";this._mouseOver=false;this.hideScrollbar();};z.prototype._handleMouseEnter=function(){"use strict";this._mouseOver=true;this.showScrollbar();};z.prototype.hideScrollbar=function(aa){"use strict";if(!this._scrollbarVisible)return this;this._scrollbarVisible=false;if(this._hideTimeout){clearTimeout(this._hideTimeout);this._hideTimeout=null;}if(aa){q.set(this._track,'opacity',0);j.addClass.bind(null,this._track,'invisible_elem');}else this._hideTimeout=setTimeout(function(){if(this._hideAnimation){this._hideAnimation.stop();this._hideAnimation=null;}this._hideAnimation=(new g(this._track)).from('opacity',1).to('opacity',0).duration(250).ondone(j.addClass.bind(null,this._track,'invisible_elem')).go();}.bind(this),750);return this;};z.prototype.resize=function(){"use strict";if(this._body.style.width)this._body.style.width='';var aa=this._wrap.offsetWidth-this._wrap.clientWidth;if(aa>0)q.set(this._body,'margin-right',(-aa)+'px');return this;};z.prototype.showScrollbar=function(aa){"use strict";this.throttledAdjustGripper();if(this._scrollbarVisible)return this;this._scrollbarVisible=true;if(this._hideTimeout){clearTimeout(this._hideTimeout);this._hideTimeout=null;}if(this._hideAnimation){this._hideAnimation.stop();this._hideAnimation=null;}q.set(this._track,'opacity',1);j.removeClass(this._track,'invisible_elem');if((aa!==false)&&!this._options.no_fade_on_hover)this.hideScrollbar();return this;};z.prototype.distanceToBottom=function(){"use strict";this._computeHeights();return this._contentHeight-(this._wrap.scrollTop+this._containerHeight);};z.prototype.isScrolledToBottom=function(){"use strict";return this.distanceToBottom()<=0;};z.prototype.isScrolledToTop=function(){"use strict";return this._wrap.scrollTop===0;};z.prototype.scrollToBottom=function(aa,ba){"use strict";this.setScrollTop(this._wrap.scrollHeight,aa,ba);};z.prototype.scrollToTop=function(aa){"use strict";this.setScrollTop(0,aa);};z.prototype.scrollIntoView=function(aa,ba){"use strict";var ca=this._wrap.clientHeight,da=aa.offsetHeight,ea=this._wrap.scrollTop,fa=ea+ca,ga=aa.offsetTop,ha=ga+da;if(ga<ea||ca<da){this.setScrollTop(ga,ba);}else if(ha>fa)this.setScrollTop(ea+(ha-fa),ba);};z.prototype.scrollElemToTop=function(aa,ba,ca){"use strict";this.setScrollTop(aa.offsetTop,ba,{callback:ca});};z.prototype.poke=function(){"use strict";var aa=this._wrap.scrollTop;this._wrap.scrollTop+=1;this._wrap.scrollTop-=1;this._wrap.scrollTop=aa;return this.showScrollbar(false);};z.prototype.getClientHeight=function(){"use strict";return this._wrap.clientHeight;};z.prototype.getScrollTop=function(){"use strict";return this._wrap.scrollTop;};z.prototype.getScrollHeight=function(){"use strict";return this._wrap.scrollHeight;};z.prototype.setScrollTop=function(aa,ba,ca){"use strict";ca=ca||{};if(ba!==false){if(this._scrollTopAnimation)this._scrollTopAnimation.stop();var da=ca.duration||250,ea=ca.ease||g.ease.end;this._scrollTopAnimation=(new g(this._wrap)).to('scrollTop',aa).ease(ea).duration(da).ondone(ca.callback).go();}else{this._wrap.scrollTop=aa;ca.callback&&ca.callback();}};z.renderDOM=function(){"use strict";var aa=l.create('div',{className:'uiScrollableAreaContent'}),ba=l.create('div',{className:'uiScrollableAreaBody'},aa),ca=l.create('div',{className:'uiScrollableAreaWrap scrollable'},ba),da=l.create('div',{className:'uiScrollableArea native'},ca);return {root:da,wrap:ca,body:ba,content:aa};};z.fromNative=function(aa,ba){"use strict";if(!j.hasClass(aa,'uiScrollableArea')||!j.hasClass(aa,'native'))return;ba=ba||{};j.removeClass(aa,'native');var ca=l.create('div',{className:'uiScrollableAreaTrack'},l.create('div',{className:'uiScrollableAreaGripper'}));if(ba.fade!==false){j.addClass(aa,'fade');j.addClass(ca,'invisible_elem');}else j.addClass(aa,'nofade');l.appendContent(aa,ca);var da=new z(aa,ba);da.resize();return da;};z.getInstance=function(aa){"use strict";var ba=n.byClass(aa,'uiScrollableArea');return ba?k.get(ba,'ScrollableArea'):null;};z.poke=function(aa){"use strict";var ba=z.getInstance(aa);ba&&ba.poke();};e.exports=z;},null);
__d("Menu",["BehaviorsMixin","CSS","DataStore","DOM","Event","Keys","KeyStatus","Parent","PopoverMenuInterface","ScrollableArea","Style","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();for(var t in o)if(o.hasOwnProperty(t))v[t]=o[t];var u=o===null?null:o.prototype;v.prototype=Object.create(u);v.prototype.constructor=v;v.__superConstructor__=o;function v(w,x){"use strict";o.call(this);this._items=[];for(var y=0;y<w.length;y++){var z=w[y],aa;if(z.ctor){aa=new z.ctor(z);}else aa=new z.type(z.props);this._items[y]=aa;}this._config=x||{};this._theme=x.theme||{};}v.prototype.addItem=function(w){"use strict";this._addItem(w);};v.prototype.addItemBefore=function(w,x){"use strict";this._addItem(w,x,false);};v.prototype.addItemAfter=function(w,x){"use strict";this._addItem(w,x,true);};v.prototype._addItem=function(w,x,y){"use strict";var z=this._items.indexOf(w);if(z>=0){var aa=y?-1:1;if(this._items[z+aa]==x)return;this._items.splice(z,1);}if(x){z=this._items.indexOf(x);if(z<0)throw new Error('reference item must already be in the menu');if(y)z++;this._items.splice(z,0,w);}else this._items.push(w);if(this._root)this._insertItem(w,x,y);};v.prototype.removeItem=function(w){"use strict";var x=this._items.indexOf(w);if(x<0)return;this._items.splice(x,1);this._root&&j.remove(w.getRoot());};v.prototype.forEachItem=function(w){"use strict";this._items.forEach(w);};v.prototype.getFocusedItem=function(){"use strict";return this._focused;};v.prototype.getItemAt=function(w){"use strict";return this._items[w]||null;};v.prototype.getRoot=function(){"use strict";if(!this._root)this._render();return this._root;};v.prototype.onShow=function(){"use strict";if(this._config.maxheight)if(!this._scrollableArea){this._scrollableArea=p.fromNative(this._scrollableElems.root,{fade:true});}else this._scrollableArea.resize();if(m.isKeyDown())this.focusAnItem();this.inform('show');};v.prototype.onHide=function(){"use strict";this.blur();};v.prototype.focusAnItem=function(w){"use strict";return this._attemptFocus(w||0,1);};v.prototype.blur=function(){"use strict";if(this._focused){var w=this._focused;this._focused.blur();this._focused=null;this.inform('blur',{item:w});}};v.prototype.handleKeydown=function(w,x){"use strict";var y=this._items.indexOf(this._focused);switch(w){case l.UP:case l.DOWN:var z=w===l.UP,aa=z?-1:1,ba=z?this._items.length-1:0,ca=z?0:this._items.length-1;if(y===-1){return this._attemptFocus(ba,aa);}else if(y!==ca)return this._attemptFocus(y+aa,aa);break;case l.SPACE:if(this._items.indexOf(this._focused)!==-1){this._handleItemClick(this._focused,x);return true;}return false;default:var da=String.fromCharCode(w).toLowerCase(),ea;for(var fa=y+1;fa<this._items.length;fa++){ea=this._items[fa].getAccessKey();if(ea&&ea.charAt(0).toLowerCase()===da)if(this._focusItem(this._items[fa]))return true;}return false;}};v.prototype._render=function(){"use strict";this._ul=j.create('ul',{className:"_54nf"});this._ul.setAttribute('role','menu');this._items.forEach(function(y){this._insertItem(y,null);}.bind(this));k.listen(this._ul,'click',this._handleClick.bind(this));k.listen(this._ul,'mouseover',this._handleMouseOver.bind(this));k.listen(this._ul,'mouseout',this._handleMouseOut.bind(this));var w=this._ul;if(this._config.maxheight){this._scrollableElems=p.renderDOM();j.setContent(this._scrollableElems.content,this._ul);w=this._scrollableElems.root;q.set(this._scrollableElems.wrap,'max-height',this._config.maxheight+'px');}var x="_54nq"+(this._config.className?' '+this._config.className:'')+(this._theme.className?' '+this._theme.className:'');this._root=j.create('div',{className:x},j.create('div',{className:"_54ng"},w));this._config.id&&this._root.setAttribute('id',this._config.id);if(this._config.behaviors)this.enableBehaviors(this._config.behaviors);this.inform('rendered',this._root);};v.prototype._needsDefaultBehavior=function(w){"use strict";if(w.isDefaultRequested&&w.isDefaultRequested()){var x=n.byTag(w.getTarget(),'a'),y=x&&x.getAttribute('href');return y&&y[0]!=='#';}return false;};v.prototype._handleClick=function(w){"use strict";if(!this._needsDefaultBehavior(w)){var x=this._getItemInstance(w.getTarget());if(x)return this._handleItemClick(x,w);}};v.prototype._handleItemClick=function(w,x){"use strict";this.inform('itemclick',{item:w,event:x});if(w.hasAction())this.done();return w.handleClick(x);};v.prototype._handleMouseOver=function(w){"use strict";var x=this._getItemInstance(w.getTarget());x&&this._focusItem(x,true);};v.prototype._handleMouseOut=function(w){"use strict";var x=this._getItemInstance(w.getTarget());if(x&&this._focused===x)this.blur();};v.prototype._insertItem=function(w,x,y){"use strict";var z=w.getRoot();h.addClass(z,'__MenuItem');i.set(z,'MenuItem',w);if(x){var aa=y?j.insertAfter:j.insertBefore;aa(x.getRoot(),z);}else j.appendContent(this._ul,z);};v.prototype._attemptFocus=function(w,x){"use strict";var y=this.getItemAt(w);if(y)if(this._focusItem(y)){return true;}else return this._attemptFocus(w+x,x);return false;};v.prototype._focusItem=function(w,x){"use strict";if(w.focus(x)!==false){if(this._focused!==w){this.blur();this._focused=w;this.inform('focus',{item:w,from_mouse_over:x});}return true;}return false;};v.prototype._getItemInstance=function(w){"use strict";var x=n.byClass(w,'__MenuItem');return x?i.get(x,'MenuItem'):null;};v.prototype.destroy=function(){"use strict";this._items.forEach(function(w){var x=w.getRoot();i.remove(x,'MenuItem');w.destroy();});this.destroyBehaviors();};r(v.prototype,g,{_focused:null,_root:null});e.exports=v;},null);
__d("MenuItemInterface",["copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(){"use strict";}i.prototype.getRoot=function(){"use strict";if(!this._root)this._root=this.render();return this._root;};g(i.prototype,{_root:null,render:h,getAccessKey:h,hasAction:h.thatReturnsFalse,focus:h.thatReturnsFalse,blur:h.thatReturnsFalse,onShow:h.thatReturnsFalse,handleClick:h.thatReturnsFalse,destroy:h});e.exports=i;},null);
__d("MenuItemBase",["DOM","HTML","MenuItemInterface","cx"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in i)if(i.hasOwnProperty(k))m[k]=i[k];var l=i===null?null:i.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=i;function m(n){"use strict";i.call(this);this._data=n;}m.prototype.render=function(){"use strict";var n="_54ni";if(this._data.className)n+=' '+this._data.className;var o={className:n,role:'presentation'};Object.assign(o,this.__getAttributesFromData());return g.create('li',o,this._renderItemContent());};m.prototype._renderItemContent=function(){"use strict";return h(this._data.markup).getNodes();};m.prototype.__getAttributesFromData=function(){"use strict";var n={};for(var o in this._data)if(o.indexOf('data-')===0||o.indexOf('aria-')===0)n[o]=this._data[o];return n;};e.exports=m;},null);
__d("MenuItem",["CSS","DOM","MenuItemBase","React","cloneWithProps","copyProperties","cx","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=['href','rel','ajaxify','target','accesskey'];function p(u,v){var w={};o.forEach(function(x){if(v[x])w[x]=v[x];});h.setAttributes(u,w);}function q(u){o.forEach(function(v){u.removeAttribute(v);});}for(var r in i)if(i.hasOwnProperty(r))t[r]=i[r];var s=i===null?null:i.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=i;function t(u){"use strict";i.call(this,u);this._disabled=!!this._data.disabled;this._onclickHandler=this._data.onclick;}t.prototype.getValue=function(){"use strict";return this._data.value;};t.prototype.getLabel=function(){"use strict";return this._data.label;};t.prototype.getAccessKey=function(){"use strict";return this._data.label&&this._data.label.charAt(0);};t.prototype.focus=function(u){"use strict";if(this.isDisabled()||!this._root.offsetParent)return false;g.addClass(this._root,"_54ne");g.addClass(this._root,'selected');u||this._anchor.focus();};t.prototype.blur=function(){"use strict";g.removeClass(this._root,"_54ne");g.removeClass(this._root,'selected');};t.prototype.handleClick=function(u){"use strict";if(this.isDisabled())return false;if(typeof this._onclickHandler==='function')return this._onclickHandler(u);return true;};t.prototype.setOnClickHandler=function(u){"use strict";this._onclickHandler=u;};t.prototype._renderItemContent=function(){"use strict";this._anchor=h.create(this._data.renderas==='label'?'label':'a',{className:(("_54nc")+(this._data.icon?' '+"_54nu":''))});if(this._data.children){var u=null;if(this._data.icon)u=k(this._data.icon,{className:'mrs'});j.render(j.createElement("span",null,u,j.createElement("span",{className:"_54nh"},this._data.children)),this._anchor);this._data.label=this._anchor.innerText||this._anchor.textContent;}else{var v=h.create('span',null,h.create('span',{className:"_54nh"},this._data.markup||this._data.label));if(this._data.icon)h.prependContent(v,this._data.icon);h.setContent(this._anchor,v);}if(!this._data.href)this._data.href='#';if(!this.isDisabled())p(this._anchor,this._data);h.setAttributes(this._anchor,this.__getAttributesFromData());this._anchor.setAttribute('role','menuitem');var w=this._data.title;w&&this._anchor.setAttribute('title',w);return this._anchor;};t.prototype.isDisabled=function(){"use strict";return this._disabled;};t.prototype.enable=function(){"use strict";p(this._anchor,this._data);g.removeClass(this._root,"_5arm");this._disabled=false;};t.prototype.disable=function(){"use strict";q(this._anchor);g.addClass(this._root,"_5arm");this._disabled=true;};t.prototype.render=function(){"use strict";var u=s.render.call(this);if(this._data.disabled)g.addClass(u,"_5arm");return u;};t.prototype.destroy=function(){"use strict";if(this._anchor)j.unmountComponentAtNode(this._anchor);};l(t.prototype,{hasAction:n.thatReturnsTrue});e.exports=t;},null);
__d("MenuSelectableItem",["CSS","MenuItem","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in h)if(h.hasOwnProperty(k))m[k]=h[k];var l=h===null?null:h.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=h;function m(n){"use strict";h.call(this,n);this._selected=!!this._data.selected;}m.prototype.getLabel=function(){"use strict";return this._data.label;};m.prototype.getIcon=function(){"use strict";return this._data.icon;};m.prototype.isSelected=function(){"use strict";return this._selected;};m.prototype.select=function(){"use strict";if(this.isDisabled())return false;g.addClass(this._root,"_54nd");this._anchor.setAttribute('aria-selected','true');this._selected=true;};m.prototype.deselect=function(){"use strict";g.removeClass(this._root,"_54nd");this._anchor.setAttribute('aria-selected','false');this._selected=false;};m.prototype.render=function(){"use strict";var n=l.render.call(this);if(this._data.selected){g.addClass(n,"_54nd");this._anchor.setAttribute('aria-selected','true');}return n;};i(m.prototype,{_selected:false});e.exports=m;},null);
__d("MenuTheme",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();e.exports={className:"_569t"};},null);
__d("SelectableMenuUtils",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={doesItemSupportSelect:function(i){return h(i);},isSelected:function(i){return h(i)&&i.isSelected();}};function h(i){return i.select&&i.deselect&&i.isSelected;}e.exports=g;},null);
__d("SelectableMenu",["Menu","arrayContains","createArrayFromMixed","SelectableMenuUtils"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(){"use strict";if(g!==null)g.apply(this,arguments);}m.prototype.focusAnItem=function(){"use strict";for(var n=0;n<this._items.length;n++)if(j.isSelected(this._items[n]))if(this._focusItem(this._items[n])!==false)return true;return l.focusAnItem.call(this);};m.prototype.setValue=function(n){"use strict";if(!this._root)this._render();var o=i(n);this._items.forEach(function(p){if(j.doesItemSupportSelect(p))if(h(o,p.getValue())){p.select();}else if(j.isSelected(p))p.deselect();});this.inform('change',this.getSelection());};m.prototype._handleItemClick=function(n,o){"use strict";if(!j.doesItemSupportSelect(n))return l._handleItemClick.call(this,n,o);var p=this.inform('itemclick',{item:n,event:o});if(p)return;if(this._config.multiple){var q=j.isSelected(n)?n.deselect():n.select();if(q!==false)this.inform('change',this.getSelection());}else{if(!j.isSelected(n))if(n.select()!==false){this._items.forEach(function(r){if(j.isSelected(r)&&r!==n)r.deselect();});this.inform('change',this.getSelection());}this.done();}return n.handleClick();};m.prototype.getSelection=function(){"use strict";var n=[];this._items.forEach(function(o){if(j.isSelected(o))n.push({label:o.getLabel(),value:o.getValue(),item:o});});if(!this._config.multiple)n=n[0];return n;};e.exports=m;},null);
__d("ReactMenu",["Menu","MenuItem","MenuSelectableItem","MenuTheme","ReactChildren","SelectableMenu","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();function o(w){var x=[];k.forEach(w,function(y){if(y)x.push(y);});return x;}function p(w){w.isReactLegacyFactory={};w.type=w;}for(var q in g)if(g.hasOwnProperty(q))s[q]=g[q];var r=g===null?null:g.prototype;s.prototype=Object.create(r);s.prototype.constructor=s;s.__superConstructor__=g;function s(w,x){"use strict";var y=Object.assign({theme:j,maxheight:w?w.maxheight:null,className:w?w.className:null},x);g.call(this,o(w.children),y);}p(s);for(var t in l)if(l.hasOwnProperty(t))v[t]=l[t];var u=l===null?null:l.prototype;v.prototype=Object.create(u);v.prototype.constructor=v;v.__superConstructor__=l;function v(w,x){"use strict";var y=Object.assign({className:n("_57di",w?w.className:null),theme:j,multiple:w&&w.multiple,maxheight:w?w.maxheight:null},x);l.call(this,o(w.children),y);}p(v);s.SelectableMenu=v;p(h);s.Item=h;p(i);s.SelectableItem=i;e.exports=s;},null);
__d("XUIMenuTheme",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();e.exports={className:"_558b"};},null);
__d("XUIMenuWithSquareCorner",["CSS","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this.$XUIMenuWithSquareCorner0=j;}i.prototype.enable=function(){"use strict";g.addClass(this.$XUIMenuWithSquareCorner0.getRoot(),"_2n_z");};i.prototype.disable=function(){"use strict";g.removeClass(this.$XUIMenuWithSquareCorner0.getRoot(),"_2n_z");};e.exports=i;},null);
__d("ReactXUIMenu",["ReactMenu","XUIMenuTheme","XUIMenuWithSquareCorner"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(r){r.isReactLegacyFactory={};r.type=r;}for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(r){"use strict";var s={theme:h};if(!r||r.withsquarecorner!==false)s.behaviors=[i];g.call(this,r,s);}j(m);var n=g.SelectableMenu;for(var o in n)if(n.hasOwnProperty(o))q[o]=n[o];var p=n===null?null:n.prototype;q.prototype=Object.create(p);q.prototype.constructor=q;q.__superConstructor__=n;function q(r){"use strict";var s={theme:h};if(!r||r.withsquarecorner!==false)s.behaviors=[i];n.call(this,r,s);}j(q);m.SelectableMenu=q;m.Item=g.Item;m.SelectableItem=g.SelectableItem;e.exports=m;},null);
__d("AbstractPopoverButton.react",["React","URI","cloneWithProps","cx","joinClasses","merge"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g,n=m.PropTypes,o=g.createClass({displayName:"AbstractPopoverButton",propTypes:{config:n.object.isRequired,haschevron:n.bool,maxwidth:n.number},getDefaultProps:function(){return {haschevron:true};},render:function(){var p=this.props.config,q={},r=p.defaultMaxWidth;if(typeof this.props.maxwidth!=='undefined')r=this.props.maxwidth;var s=null;if(r){var t=this.props.haschevron?r-p.chevronWidth:r;if(this.props.label)s={maxWidth:t+'px'};q.style=l(q.style,{maxWidth:r+'px'});}q.image=null;var u=null;if(this.props.image)u=i(this.props.image,{className:'mrs'});if(u||this.props.label)q.label=g.createElement("span",{className:"_55pe",style:s},u,this.props.label);if(this.props.haschevron)q.imageRight=p.chevron;q.className=k(p.button.props.className,"_2agf");q.href=h('#');return i(p.button,q);}});e.exports=o;},null);
__d("UntrustedLink",["DOM","Event","URI","UserAgent_DEPRECATED","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m,n,o,p){this.dom=m;this.url=m.href;this.hash=n;this.func_get_params=p||function(){return {};};h.listen(this.dom,'click',this.onclick.bind(this));h.listen(this.dom,'mousedown',this.onmousedown.bind(this));h.listen(this.dom,'mouseup',this.onmouseup.bind(this));h.listen(this.dom,'mouseout',this.onmouseout.bind(this));this.onmousedown(h.$E(o));}l.bootstrap=function(m,n,o,p){if(m.__untrusted)return;m.__untrusted=true;new l(m,n,o,p);};l.prototype.getRewrittenURI=function(){var m=k({u:this.url,h:this.hash},this.func_get_params(this.dom)),n=new i('/l.php').setSubdomain('www');if(new i(this.url).getProtocol()=='https'){return n.setQueryData(m).setProtocol('https');}else return n.setQueryData(m).setProtocol('http');};l.prototype.onclick=function(){setTimeout((function(){this.setHref(this.url);}).bind(this),100);this.setHref(this.getRewrittenURI());};l.prototype.onmousedown=function(m){if(m.button==2)this.setHref(this.getRewrittenURI());};l.prototype.onmouseup=function(){this.setHref(this.getRewrittenURI());};l.prototype.onmouseout=function(){this.setHref(this.url);};l.prototype.setHref=function(m){if(j.ie()<9){var n=g.create('span');g.appendContent(this.dom,n);this.dom.href=m;g.remove(n);}else this.dom.href=m;};e.exports=l;},null);
__d("Link.react",["ErrorUtils","React","UntrustedLink","URI","invariant","isFacebookURI","keyOf"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=m({url:null}),o=h.createClass({displayName:"Link",propTypes:{href:function(p,q,r){var s=p[q],t=typeof s;k(s==null||t==='string'||s instanceof j||(t==='object'&&n in s));}},getURIData:function(){var p=this.props.href,q=null;if(p instanceof j){p=p.toString();}else if(p&&typeof p==='object'){var r=p;p=r.url;q=r.shimhash;}return {href:p||'#',shimhash:q};},render:function(){var p=this.getURIData(),q=this.props.rel;if(p.shimhash){q=q?(q+' nofollow'):'nofollow';}else try{if(!l(j(p.href)))g.reportError(new Error('Rendering external link '+p.href+' without shim'),true);}catch(r){}return (h.createElement("a",h.__spread({},this.props,{href:p.href,rel:q,onMouseDown:this._handleMouseDown}),this.props.children));},_handleMouseDown:function(event){var p=this.getURIData();if(p.shimhash)i.bootstrap(h.findDOMNode(this),p.shimhash);this.props.onMouseDown&&this.props.onMouseDown(event);}});e.exports=o;},null);
__d("AbstractButton.react",["Link.react","React","cloneWithProps","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=h,m=l.PropTypes,n=h.createClass({displayName:"AbstractButton",propTypes:{image:m.element,imageRight:m.element,depressed:m.bool,label:m.node,onClick:m.func},handleLinkClick:function(o){if(this.props.disabled){o.preventDefault();}else if(this.props.onClick)this.props.onClick(o);},render:function(){var o=(("_42ft")+(this.props.disabled?' '+"_42fr":'')+(this.props.depressed?' '+"_42fs":'')),p,q=this.props.image;if(q){p={};if(this.props.label){p.alt='';p.className="_3-8_";}q=i(q,p);}var r=this.props.imageRight;if(r){p={};if(this.props.label){p.alt='';p.className="_3-99";}r=i(r,p);}var s;if(this.props.href){s=h.createElement(g,h.__spread({},this.props,{className:k(this.props.className,o),disabled:null,label:null,onClick:this.handleLinkClick}),q,this.props.label,r);}else if(this.props.type&&this.props.type!=='submit'){s=h.createElement("button",h.__spread({},this.props,{className:k(this.props.className,o),label:null,type:this.props.type}),q,this.props.label,r);}else s=h.createElement("button",h.__spread({},this.props,{className:k(this.props.className,o),label:null,type:"submit",value:"1"}),q,this.props.label,r);return s;}});e.exports=n;},null);
__d("XUIButton.react",["AbstractButton.react","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=h,l=k.PropTypes,m='medium',n=h.createClass({displayName:"XUIButton",statics:{getButtonSize:function(o){return o.size||m;}},propTypes:{use:l.oneOf(['default','special','confirm']),size:l.oneOf(['small','medium','large','xlarge','xxlarge']),borderShade:l.oneOf(['light','dark']),suppressed:l.bool},getDefaultProps:function(){return {use:'default',size:m,borderShade:'light',suppressed:false};},render:function(){var o=this.props.use,p=n.getButtonSize(this.props),q=this.props.borderShade,r=this.props.suppressed,s=(("_4jy0")+(p==='small'?' '+"_517i":'')+(p==='medium'?' '+"_4jy3":'')+(p==='large'?' '+"_4jy4":'')+(p==='xlarge'?' '+"_4jy5":'')+(p==='xxlarge'?' '+"_4jy6":'')+(o==='default'?' '+"_517h":'')+(o==='confirm'?' '+"_4jy1":'')+(o==='special'?' '+"_4jy2":'')+(q==='light'?' '+"_51sy":'')+(q==='dark'?' '+"_9c6":'')+(r?' '+"_59pe":'')+(o==='confirm'||o==='special'?' '+"selected":''));return (h.createElement(g,h.__spread({},this.props,{className:j(this.props.className,s)})));}});e.exports=n;},null);
__d("XUIPopoverButton.react",["AbstractPopoverButton.react","Image.react","React","XUIButton.react","cx","ix","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=i,o=n.PropTypes,p=i.createClass({displayName:"ReactXUIPopoverButton",propTypes:{haschevron:o.bool,maxwidth:o.number},statics:{getButtonSize:function(q){return q.size||'medium';}},render:function(){var q=p.getButtonSize(this.props),r="_55pi";if(this.props.theme==='dark')r=m(r,(("_5vto")+(q==='small'?' '+"_55_o":'')+(q==='medium'?' '+"_55_p":'')+(q==='large'?' '+"_55_q":'')+(q==='xlarge'?' '+"_55_r":'')+(q==='xxlarge'?' '+"_55_s":'')));var s=this.props.chevron;if(!s){var t=this.props.theme==='dark'||this.props.use==='confirm'||this.props.use==='special'?l('/images/ui/x/button/dark/chevron.png'):l('/images/ui/x/button/normal/chevron.png');s=i.createElement(h,{src:t});}var u={button:i.createElement(j,i.__spread({},this.props,{className:m(this.props.className,r),size:q})),chevron:s,chevronWidth:14,defaultMaxWidth:this.props.maxwidth||200};return (i.createElement(g,{config:u,haschevron:this.props.haschevron,image:this.props.image,label:this.props.label,maxwidth:this.props.maxwidth}));}});e.exports=p;},null);
__d("XUISelectorButton.react",["React","XUIPopoverButton.react","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"XUISelectorButton",render:function(){i(!this.props.theme);return (g.createElement(h,g.__spread({},this.props,{theme:"dark"})));}});e.exports=j;},null);
__d("XUISelector.react",["AbstractSelector.react","ContextualLayerPositionClassOnContext","React","ReactChildren","ReactXUIMenu","XUISelectorButton.react","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=k.SelectableMenu,o=k.SelectableItem,p=i,q=p.PropTypes,r=i.createClass({displayName:"ReactXUISelector",propTypes:{maxheight:q.number,multiple:q.bool,disabled:q.bool,haschevron:q.bool,maxwidth:q.number,size:q.oneOf(['small','medium','large','xlarge','xxlarge']),suppressed:q.bool,use:q.oneOf(['default','special','confirm'])},statics:{getButtonSize:function(s){return s.size||'medium';}},getDefaultProps:function(){return {haschevron:true,multiple:false};},render:function(){var s,t=[];j.forEach(this.props.children,function(v){if(v)t.push(v);});if(t[0]&&t[0].type===l){s=t[0];t=t.slice(1);}else s=i.createElement(l,{haschevron:this.props.haschevron,disabled:this.props.disabled,use:this.props.use,size:this.props.size,suppressed:this.props.suppressed,maxwidth:this.props.maxwidth});var u={button:s,menu:i.createElement(n,{maxheight:this.props.maxheight,multiple:this.props.multiple}),layerBehaviors:[h]};return (i.createElement(g,i.__spread({},this.props,{ref:"abstractSelector",config:u}),t));},showMenu:function(){m(this.isMounted());this.refs.abstractSelector.showMenu();},hideMenu:function(){m(this.isMounted());this.refs.abstractSelector.hideMenu();}});r.Option=o;e.exports=r;},null);
__d("XUIText.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes,l=g.createClass({displayName:"XUIText",propTypes:{size:k.oneOf(['small','medium','large','xlarge','inherit']),weight:k.oneOf(['bold','inherit','normal']),display:k.oneOf(['inline','block'])},getDefaultProps:function(){return {size:'inherit',weight:'inherit',display:'inline'};},render:function(){var m=this.props.size,n=this.props.weight,o=((m==='small'?"_50f3":'')+(m==='medium'?' '+"_50f4":'')+(m==='large'?' '+"_50f5":'')+(m==='xlarge'?' '+"_50f6":'')+(n==='bold'?' '+"_50f7":'')+(n==='normal'?' '+"_5kx5":''));if(this.props.display==='block')return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,o)}),this.props.children));return (g.createElement("span",g.__spread({},this.props,{className:i(this.props.className,o)}),this.props.children));}});e.exports=l;},null);
__d("AdsFilterWidgets.react",["AdsGenericFilter","AdsGenericFilterField","AdsGenericFilterOperator","AdsGenericFilterSet","AdsGenericFilterSetUtil","Layout.react","React","TextInputFilter.brands","XUISelector.react","XUIText.react","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();'use strict';var s=l.Column,t=l.FillColumn,u=m,v=u.PropTypes,w=m.createClass({displayName:"FilterWidgets",propTypes:{selectorOptions:v.array,initialSelectorValue:v.string,onSelectorChange:v.func,hasSelector:v.bool.isRequired,onTextChange:v.func,placeholder:v.string,value:v.string,onFilterSetChange:v.func,textFilterField:v.instanceOf(h),selectorFilterField:v.instanceOf(h),showMagnifyingGlass:v.bool},getDefaultProps:function(){return {placeholder:r._("Search"),showMagnifyingGlass:true};},getInitialState:function(){return {filterText:'',selectorValue:this.props.initialSelectorValue,filterSet:null};},componentWillReceiveProps:function(x){if(x.value!==undefined&&x.value!==this.state.filterText)this.setState({filterText:x.value});},render:function(){var x=this.props.onFilterSetChange?(m.createElement(n,{className:"_5r_g _1f9c",onChange:this._onTextFilterChange,filterField:this.props.textFilterField})):(m.createElement("input",{className:"_5r_g _1f9c",value:this.state.filterText,onChange:this._onTextChange,placeholder:this.props.placeholder}));if(this.props.hasSelector){return (m.createElement(l,m.__spread({},this.props),m.createElement(t,null,x),m.createElement(s,{className:"_3-9a"},m.createElement(p,{weight:"bold",size:"small",className:"_3-90"},r._("Filter by:")),m.createElement(o,{size:"large",className:"_5r_h",onChange:this._onSelectorChange,maxheight:300,initialValue:this.props.initialSelectorValue},this.props.selectorOptions))));}else return (m.createElement("div",{className:this.props.className},x));},_onTextChange:function(event){var x=event.target.value;this.setState({filterText:x});this.props.onTextChange(x);},_onSelectorChange:function(x){if(!this.props.onFilterSetChange){this.setState({selectorValue:x.value});this.props.onSelectorChange(x.value);}else{var y=new g(this.props.selectorFilterField,i.EQUAL,x.value);if(y){this._addFilter(y);}else this._removeFilter(this.props.selectorFilterField);}},_onTextFilterChange:function(x){if(x){this._addFilter(x);}else this._removeFilter(this.props.textFilterField);},_addFilter:function(x){var y;if(this.state.filterSet){y=k.mergeByField(this.state.filterSet,new j([x]));}else y=new j([x]);this.setState({filterSet:y},this._announceFilterSetChange);},_removeFilter:function(x){var y=k.excludeFiltersByField(this.state.filterSet,x);this.setState({filterSet:y},this._announceFilterSetChange);},_announceFilterSetChange:function(){this.props.onFilterSetChange(this.state.filterSet);}});e.exports=w;},null);
__d("BusinessAssetGrouping.brands",["emptyFunction","fbt","getObjectValues"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j=(h._("Your Personal Pages")),k="personal-business",l={NULL_BIZ_ID:k,DEFAULT_NON_BIZ_NAME:j,groupAssets:function(t,u,v,w,x,y,z,aa){x=x||q;y=y||g.thatReturnsTrue;var ba=m(t,u,v),ca=ba.businessesByID;ca[k]={id:k,name:z||j};var da=n(ba.assetsByBizID,ca,w),ea=r(i(da),p);if(aa&&ea[0].bizID===k)ea.shift();var fa=[];for(var ga=0;ga<ea.length;ga++){var ha=ea[ga],ia=false;ha.assets=r(ha.assets,x);ha.assets=s(ha.assets,y,ha.bizID);if(ha.assets.length!==0){fa=fa.concat(ha.assets);ia=true;}ha.projects=r(i(ha.projectsByID),o);delete ha.projectsByID;for(var ja=0;ja<ha.projects.length;ja++){ha.projects[ja].assets=r(ha.projects[ja].assets,x);ha.projects[ja].assets=s(ha.projects[ja].assets,y,ha.bizID);if(ha.projects[ja].assets.length!==0){fa=fa.concat(ha.projects[ja].assets);ia=true;}}if(!ia)ea[ga]=null;}ea=ea.filter(function(ka){return ka;});return {businessesByID:ca,groupedAssets:ea,assets:fa};}};function m(t,u,v){var w={},x={};for(var y=0;y<t.length;y++){var z=t[y],aa=v(z);if(!aa||aa.length===0){w[k]?w[k].push(z):w[k]=[z];continue;}for(var ba=0;ba<aa.length;ba++){var ca=aa[ba],da;if(ca.business){da=ca.business.id;x[da]=ca.business;}else da=k;if(w[da]){w[da].push(z);}else w[da]=[z];}}return {assetsByBizID:w,businessesByID:x};}function n(t,u,v){var w={},x;for(var y in t){x=t[y];w[y]=w[y]||{bizID:y,name:u[y].name,projectsByID:{},assets:[]};for(var z=0;z<x.length;z++){var aa=x[z],ba=v(aa),ca=false;if(y!==k&&ba&&ba.length>0)for(var da=0;da<ba.length;da++){var ea=ba[da];if(ea.business&&ea.business.id!==y)continue;var fa=w[y].projectsByID;fa[ea.id]=fa[ea.id]||{projectID:ea.id,name:u[y].name+" - "+ea.name,assets:[]};fa[ea.id].assets.push(aa);ca=true;}if(!ca)w[y].assets.push(aa);}}return w;}function o(t){return (t.name||"").toUpperCase();}function p(t){if(t.bizID===k)return String.fromCharCode(0);return t.name;}function q(t){return t.name?t.name:t.id;}function r(t,u){return t.sort(function(v,w){var x=u(v),y=u(w);if(x>y){return 1;}else if(x<y){return -1;}else return 0;});}function s(t,u,v){return t.filter(function(w){return u(w,v);});}e.exports=l;},null);
__d("CenteredContainer.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.PropTypes,k=g.createClass({displayName:"CenteredContainer",propTypes:{vertical:j.bool,horizontal:j.bool},getDefaultProps:function(){return {vertical:false,horizontal:true};},render:function(){var l=((this.props.vertical?"_3bwv":'')+(this.props.horizontal?' '+"_3bww":'')),m=g.Children.map(this.props.children,function(n){return (g.createElement("div",{className:"_3bwx"},n));});return (g.createElement("div",g.__spread({},this.props),g.createElement("div",{className:l},g.createElement("div",{className:"_3bwy"},m))));}});e.exports=k;},null);
__d("XUISpinner.react",["BrowserSupport","React","UserAgent_DEPRECATED","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=h,n=m.PropTypes,o=g.hasCSSAnimations()&&!i.firefox(),p=h.createClass({displayName:"XUISpinner",propTypes:{paused:n.bool,showOnAsync:n.bool,size:n.oneOf(['small','large']),background:n.oneOf(['light','dark'])},getDefaultProps:function(){return {showOnAsync:false,size:'small',background:'light'};},render:function(){var q=(("img")+(' '+"_55ym")+(this.props.size=='small'?' '+"_55yn":'')+(this.props.size=='large'?' '+"_55yq":'')+(this.props.background=='light'?' '+"_55yo":'')+(this.props.background=='dark'?' '+"_55yp":'')+(this.props.showOnAsync?' '+"_5tqs":'')+(!o?' '+"_5d9-":'')+(o&&this.props.paused?' '+"_2y32":''));return (h.createElement("span",h.__spread({},this.props,{className:l(this.props.className,q),"aria-label":k._("Loading..."),"aria-busy":true})));}});e.exports=p;},null);
__d("AdsAssetSelector.react",["AdsAssetSectionType","AdsFilterWidgets.react","AdsLoadState","BusinessAssetGrouping.brands","CenteredContainer.react","CurrentUser","React","XUISpinner.react","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();'use strict';var q=m,r=q.PropTypes,s=m.createClass({displayName:"AdsAssetSelector",propTypes:{assetSections:r.arrayOf(r.shape({name:r.string.isRequired,businessID:r.string.isRequired,assets:r.array.isRequired})).isRequired,bookmarkedAssets:r.array.isRequired,listTitle:r.node,maxListHeight:r.number,renderAsset:r.func.isRequired,searchedAssets:r.array.isRequired,searchBarVisible:r.bool.isRequired,searchState:r.string.isRequired,searchQuery:r.string,showNonBizGroupTitle:r.bool,unownedAssets:r.array.isRequired,unownedAssetsHeader:r.string.isRequired,onSearch:r.func.isRequired},getDefaultProps:function(){return {searchBarVisible:true,showNonBizGroupTitle:true};},render:function(){return (m.createElement("div",{className:"_1nmc"},this._renderSearchBar(),this.props.listTitle,m.createElement("div",{className:"_3x14",style:{maxHeight:this.props.maxListHeight||"none"}},this._renderBookmarked(),this._renderUnowned(),this._renderAssetSections(),this._renderSearchSection())));},_renderBookmarked:function(){if(this.props.bookmarkedAssets.length===0)return null;return this._renderSection(p._("Bookmarked"),this.props.bookmarkedAssets,null,g.BOOKMARKED);},_renderUnowned:function(){return this._renderSection(this.props.unownedAssetsHeader,this.props.unownedAssets,null,g.UNOWNED);},_renderAssetSections:function(){return this.props.assetSections.map(function(t){return this._renderSection(t.name,t.assets,t.businessID,g.OWNED);}.bind(this));},_renderSection:function(t,u,v,w){if(u.length===0)return null;return (m.createElement("div",{key:t+v},this._renderSectionHeader(t),m.createElement("div",null,u.map(function(x){return this._renderAsset(x,v,w);}.bind(this)))));},_renderSectionHeader:function(t){if(t===j.DEFAULT_NON_BIZ_NAME&&!this.props.showNonBizGroupTitle)return null;return (m.createElement("div",{className:"_1nme"},t));},_renderAsset:function(t,u,v){return this.props.renderAsset(t,u,v);},_renderSearchBar:function(){if(!this.props.searchBarVisible)return null;return m.createElement(h,{className:"_1nmd",hasSelector:false,placeholder:this.props.searchBarPlaceholder,value:this.props.searchQuery,onTextChange:this.props.onSearch});},_renderSearchSection:function(){if(!l.isEmployee()||!this.props.searchQuery)return null;var t=null;switch(this.props.searchState){case i.NOT_LOADED:t=null;break;case i.LOADING:t=(m.createElement(k,{vertical:true,className:"_1nmf"},m.createElement(n,{size:"large"})));break;case i.LOADED:case i.ERROR:if(this.props.searchedAssets&&this.props.searchedAssets.length>0){t=this.props.searchedAssets.map(function(u){return this._renderAsset(u,null,g.SEARCH);}.bind(this));}else t=(m.createElement(k,{vertical:true,className:"_1nmf"},p._("No items found")));break;}if(t){return (m.createElement("div",null,this._renderSectionHeader(p._("Search by ID (employees only)")),t));}else return null;}});e.exports=s;},null);
__d("generatePaths",["ImmutableObject","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';function i(k){return Object.prototype.toString.call(k)==='[object Object]';}function j(k){var l={};k.forEach(function(m){var n=m,o=n.pathKeys,p=n.expandsTo,q=[],r=l;o.forEach(function(s){h(r.hasOwnProperty(s));q=r[s];if(!i(r[s]))r[s]={};r=r[s];});h(Array.isArray(q));Object.keys(p).forEach(function(s){r[s]=[].concat(q,[p[s]]);});h(!r.hasOwnProperty('path'));r.path=q;});return new g(l);}e.exports=j;},null);
__d("ApiPagePaths",["ApiPageFields","generatePaths"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={DATA:'data'},j=[{pathKeys:[],expandsTo:g},{pathKeys:['PICTURE'],expandsTo:i},{pathKeys:['PICTURE','DATA'],expandsTo:{URL:'url'}},{pathKeys:['USERPERMISSIONS'],expandsTo:i},{pathKeys:['BUSINESSPROJECTS'],expandsTo:i}],k=h(j);e.exports=k;},null);
__d("getByPath",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';function g(h,i,j){var k=h;for(var l=0;l<i.length;l++){var m=i[l];if(k&&k.hasOwnProperty(m)){k=k[m];}else return j;}return k;}e.exports=g;},null);
__d("ads-page-utils",["ApiPagePaths","PageAdminTypes","PowerEditorConfig","getByPath"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k={getPageUIName:function(l){return (j(l,g.GLOBAL_BRAND_PAGE_NAME)||j(l,g.NAME)||j(l,g.ID));},canCreateAdsForPage:function(l){if(i.empl_show_all_pages)return true;var m=j(l,g.USERPERMISSIONS.DATA,[]);return m.some(function(n){return n.role===h.MANAGER||n.role===h.CONTENT_CREATOR||n.role===h.MODERATOR||n.role===h.ADVERTISER;});}};f.PageUtils=k;},null);
__d("LeftRight.react",["React","ReactChildren","cx","invariant","keyMirror","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=k({left:true,right:true,both:true});function n(p){j(p&&(p.length===1||p.length===2));}var o=g.createClass({displayName:"LeftRight",render:function(){var p=[];h.forEach(this.props.children,function(x){p.push(x);},this);n(p);var q=this.props.direction||m.both,r=(q===m.both),s=r||q===m.left?"_ohe lfloat":'',t=r||q===m.right?"_ohf rfloat":'',u=g.createElement("div",{key:"left",className:s},p[0]),v=(p.length<2)?null:g.createElement("div",{key:"right",className:t},p[1]),w=(q===m.right&&v)?[v,u]:[u,v];return (g.createElement("div",g.__spread({},this.props,{className:l(this.props.className,"clearfix")}),w));}});o.DIRECTION=m;e.exports=o;},null);
__d("ImageBlock.react",["LeftRight.react","React","cx","invariant","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(o){j(o.children&&(o.children.length===2||o.children.length===3));}function m(o){return (("img")+(' '+"_8o")+(o==='small'?' '+"_8r":'')+(o==='medium'?' '+"_8s":'')+(o==='large'?' '+"_8t":''));}var n=h.createClass({displayName:"ImageBlock",render:function(){l(this.props);var o=this.props.children[0],p=this.props.children[1],q=this.props.children[2],r=this.props.spacing||'small',s={className:k(o.props.className,m(r),this.props.imageClassName)};if(o.type==='img'){if(o.props.alt===(void 0))s.alt='';}else if((o.type==='a'||o.type==='link')&&o.props.tabIndex===(void 0)&&o.props.title===(void 0)&&o.props['aria-label']===(void 0)){s.tabIndex='-1';s['aria-hidden']='true';}o=h.cloneElement(o,s);var t=k(this.props.contentClassName,(("_42ef")+(r==='small'?' '+"_8u":''))),u;if(!q){u=h.createElement("div",{className:t},p);}else u=h.createElement(g,{className:t,direction:g.DIRECTION.right},p,q);return (h.createElement(g,h.__spread({},this.props,{direction:g.DIRECTION.left}),o,u));}});e.exports=n;},null);
__d("toIterator",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g='key',h='value',i='key+value',j=(typeof Symbol==='function')?Symbol.iterator:'@@iterator',k=(function(){if(!(Array.prototype[j]&&String.prototype[j])){return (function(){function l(o,p){"use strict";if(!Array.isArray(o))throw new TypeError('Object is not an Array');this.$ArrayIterator0=o;this.$ArrayIterator1=p;this.$ArrayIterator2=0;}l.prototype.next=function(){"use strict";if(!this instanceof l)throw new TypeError('Object is not an ArrayIterator');if(this.$ArrayIterator0==null)return n((void 0),true);var o=this.$ArrayIterator0,p=this.$ArrayIterator0.length,q=this.$ArrayIterator2,r=this.$ArrayIterator1;if(q>=p){this.$ArrayIterator0=(void 0);return n((void 0),true);}this.$ArrayIterator2=q+1;if(r===g){return n(q,false);}else if(r===h){return n(o[q],false);}else if(r===i)return n([q,o[q]],false);};l.prototype["@@iterator"]=function(){"use strict";return this;};function m(o){"use strict";if(typeof o!=='string')throw new TypeError('Object is not a string');this.$StringIterator0=o;this.$StringIterator1=0;}m.prototype.next=function(){"use strict";if(!this instanceof m)throw new TypeError('Object is not a StringIterator');if(this.$StringIterator0==null)return n((void 0),true);var o=this.$StringIterator1,p=this.$StringIterator0,q=p.length;if(o>=q){this.$StringIterator0=(void 0);return n((void 0),true);}var r,s=p.charCodeAt(o);if(s<55296||s>56319||o+1===q){r=p[o];}else{var t=p.charCodeAt(o+1);if(t<56320||t>57343){r=p[o];}else r=p[o]+p[o+1];}this.$StringIterator1=o+r.length;return n(r,false);};m.prototype["@@iterator"]=function(){"use strict";return this;};function n(o,p){return {value:o,done:p};}return function(o,p){if(typeof o==='string'){return new m(o);}else if(Array.isArray(o)){return new l(o,p||h);}else return o[j]();};})();}else return function(l){return l[j]();};})();Object.assign(k,{KIND_KEY:g,KIND_VALUE:h,KIND_KEY_VAL:i,ITERATOR_SYMBOL:j});e.exports=k;},null);
__d("_shouldPolyfillES6Collection",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(j){var k=a[j];if(k==null)return true;var l=k.prototype;return k==null||typeof k!=='function'||typeof l.clear!=='function'||new k().size!==0||typeof l.keys!=='function'||typeof l.forEach!=='function'||i(k)||!h(k);}function h(j){for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(){"use strict";if(j!==null)j.apply(this,arguments);}try{var o=(new m([]));o.size;return o instanceof j;}catch(n){return false;}}function i(j){try{j();}catch(k){return false;}return true;}e.exports=g;},null);
__d("Map",["guid","isNode","toIterator","_shouldPolyfillES6Collection"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();e.exports=(function(k,l){if(!j('Map'))return k.Map;var m='key',n='value',o='key+value',p='$map_',q,r='IE_HASH_';function s(da){"use strict";if(!x(this))throw new TypeError('Wrong map object type.');w(this);if(da!=null){var ea=i(da),fa;while(!(fa=ea.next()).done){if(!x(fa.value))throw new TypeError('Expected iterable items to be pair objects.');this.set(fa.value[0],fa.value[1]);}}}s.prototype.clear=function(){"use strict";w(this);};s.prototype.has=function(da){"use strict";var ea=u(this,da);return !!(ea!=null&&this._mapData[ea]);};s.prototype.set=function(da,ea){"use strict";var fa=u(this,da);if(fa!=null&&this._mapData[fa]){this._mapData[fa][1]=ea;}else{fa=this._mapData.push([da,ea])-1;v(this,da,fa);this.size+=1;}return this;};s.prototype.get=function(da){"use strict";var ea=u(this,da);if(ea==null){return l;}else return this._mapData[ea][1];};s.prototype["delete"]=function(da){"use strict";var ea=u(this,da);if(ea!=null&&this._mapData[ea]){v(this,da,l);this._mapData[ea]=l;this.size-=1;return true;}else return false;};s.prototype.entries=function(){"use strict";return new t(this,o);};s.prototype.keys=function(){"use strict";return new t(this,m);};s.prototype.values=function(){"use strict";return new t(this,n);};s.prototype.forEach=function(da,ea){"use strict";if(typeof da!=='function')throw new TypeError('Callback must be callable.');var fa=da.bind(ea||l),ga=this._mapData;for(var ha=0;ha<ga.length;ha++){var ia=ga[ha];if(ia!=null)fa(ia[1],ia[0],this);}};s.prototype[i.ITERATOR_SYMBOL]=s.prototype.entries;function t(da,ea){"use strict";if(!(x(da)&&da._mapData))throw new TypeError('Object is not a map.');if([m,o,n].indexOf(ea)===-1)throw new Error('Invalid iteration kind.');this._map=da;this._nextIndex=0;this._kind=ea;}t.prototype.next=function(){"use strict";if(!this instanceof s)throw new TypeError('Expected to be called on a MapIterator.');var da=this._map,ea=this._nextIndex,fa=this._kind;if(da==null)return y(l,true);var ga=da._mapData;while(ea<ga.length){var ha=ga[ea];ea+=1;this._nextIndex=ea;if(ha)if(fa===m){return y(ha[0],false);}else if(fa===n){return y(ha[1],false);}else if(fa)return y(ha,false);}this._map=l;return y(l,true);};t.prototype[i.ITERATOR_SYMBOL]=function(){return this;};function u(da,ea){if(x(ea)){var fa=ca(ea);return da._objectIndex[fa];}else{var ga=p+ea;if(typeof ea==='string'){return da._stringIndex[ga];}else return da._otherIndex[ga];}}function v(da,ea,fa){var ga=fa==null;if(x(ea)){var ha=ca(ea);if(ga){delete da._objectIndex[ha];}else da._objectIndex[ha]=fa;}else{var ia=p+ea;if(typeof ea==='string'){if(ga){delete da._stringIndex[ia];}else da._stringIndex[ia]=fa;}else if(ga){delete da._otherIndex[ia];}else da._otherIndex[ia]=fa;}}function w(da){da._mapData=[];da._objectIndex={};da._stringIndex={};da._otherIndex={};da.size=0;}function x(da){return da!=null&&(typeof da==='object'||typeof da==='function');}function y(da,ea){return {value:da,done:ea};}var z=(function(){try{Object.defineProperty({},'__.$#x',{});return true;}catch(da){return false;}})();function aa(da){if(!z){return true;}else return Object.isExtensible(da);}function ba(da){var ea;switch(da.nodeType){case 1:ea=da.uniqueID;break;case 9:ea=da.documentElement.uniqueID;break;default:return null;}if(ea){return r+ea;}else return null;}var ca=(function(){var da=Object.prototype.propertyIsEnumerable,ea=g(),fa=0;return function ga(ha){if(ha[ea]){return ha[ea];}else if(!z&&ha.propertyIsEnumerable&&ha.propertyIsEnumerable[ea]){return ha.propertyIsEnumerable[ea];}else if(!z&&h(ha)&&ba(ha)){return ba(ha);}else if(!z&&ha[ea])return ha[ea];if(aa(ha)){fa+=1;if(z){Object.defineProperty(ha,ea,{enumerable:false,writable:false,configurable:false,value:fa});}else if(ha.propertyIsEnumerable){ha.propertyIsEnumerable=function(){return da.apply(this,arguments);};ha.propertyIsEnumerable[ea]=fa;}else if(h(ha)){ha[ea]=fa;}else throw new Error('Unable to set a non-enumerable property on object.');return fa;}else throw new Error('Non-extensible objects are not allowed as keys.');};})();return s;})(Function('return this')());},null);
__d("Set",["Map","toIterator","_shouldPolyfillES6Collection"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();e.exports=(function(j,k){if(!i('Set'))return j.Set;function l(n){"use strict";if(this==null||(typeof this!=='object'&&typeof this!=='function'))throw new TypeError('Wrong set object type.');m(this);if(n!=null){var o=h(n),p;while(!(p=o.next()).done)this.add(p.value);}}l.prototype.add=function(n){"use strict";this._map.set(n,n);this.size=this._map.size;return this;};l.prototype.clear=function(){"use strict";m(this);};l.prototype["delete"]=function(n){"use strict";var o=this._map["delete"](n);this.size=this._map.size;return o;};l.prototype.entries=function(){"use strict";return this._map.entries();};l.prototype.forEach=function(n){"use strict";var o=arguments[1],p=this._map.keys(),q;while(!(q=p.next()).done)n.call(o,q.value,q.value,this);};l.prototype.has=function(n){"use strict";return this._map.has(n);};l.prototype.values=function(){"use strict";return this._map.values();};l.prototype[h.ITERATOR_SYMBOL]=l.prototype.values;l.prototype.keys=l.prototype.values;function m(n){n._map=new g();n.size=n._map.size;}return l;})(Function('return this')());},null);
__d("getInlineBoundingRect",["Rect"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){var k=i.getClientRects();if(!j||k.length===0)return g.getElementBounds(i);var l,m=false;for(var n=0;n<k.length;n++){var o=new g(Math.round(k[n].top),Math.round(k[n].right),Math.round(k[n].bottom),Math.round(k[n].left),'viewport').convertTo('document'),p=o.getPositionVector(),q=p.add(o.getDimensionVector());if(!l||(p.x<=l.l&&p.y>l.t)){if(m)break;l=new g(p.y,q.x,q.y,p.x,'document');}else{l.t=Math.min(l.t,p.y);l.b=Math.max(l.b,q.y);l.r=q.x;}if(o.contains(j))m=true;}if(!l)l=g.getElementBounds(i);return l;}e.exports=h;},null);
__d("nl2br",["DOM"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=/(\r\n|[\r\n])/;function i(j){return j.split(h).map(function(k){return h.test(k)?g.create('br'):k;});}e.exports=i;},null);
__d("Tooltip",["Event","AsyncRequest","ContextualLayer","ContextualLayerAutoFlip","CSS","DataStore","DOM","Style","URI","Vector","copyProperties","emptyFunction","getElementText","getInlineBoundingRect","nl2br","setImmediate","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){b.__markCompiled&&b.__markCompiled();var x=null,y=null,z=null,aa=null,ba=null,ca=[],da=[];function ea(){if(!aa){ba=m.create('div',{className:'tooltipContent'});var ka=m.create('i',{className:'arrow'}),la=m.create('div',{className:'uiTooltipX'},[ba,ka]);aa=new i({},la);aa.shouldSetARIAProperties(false);aa.enableBehavior(j);}}function fa(ka){return q({content:ka.getAttribute('aria-label'),position:ka.getAttribute('data-tooltip-position')||'above',alignH:ka.getAttribute('data-tooltip-alignh')||'left',suppress:false,overflowDisplay:ka.getAttribute('data-tooltip-display')==='overflow',persistOnClick:ka.getAttribute('data-pitloot-persistonclick')},l.get(ka,'tooltip'));}function ga(ka,la){var ma=fa(ka);l.set(ka,'tooltip',{content:la.content||ma.content,position:la.position||ma.position,alignH:la.alignH||ma.alignH,suppress:la.suppress===(void 0)?ma.suppress:la.suppress,overflowDisplay:la.overflowDisplay||ma.overflowDisplay,persistOnClick:la.persistOnClick||ma.persistOnClick});ka.setAttribute('data-hover','tooltip');}function ha(ka,la){ja.set(ka,w._("Loading..."));new h(la).setHandler(function(ma){ja.set(ka,ma.getPayload());}).setErrorHandler(r).send();}var ia;g.listen(document.documentElement,'mouseover',function(event){ia=event;v(function(){ia=null;});});var ja={process:function(ka,la){if(!m.contains(ka,la))return;if(ka!==x){var ma=ka.getAttribute('data-tooltip-uri');if(ma){ka.removeAttribute('data-tooltip-uri');ha(ka,ma);}var na=ka.getAttribute('data-tooltip-delay');if(na){na=parseInt(na,10)||1000;ja._showWithDelay(ka,na);}else ja.show(ka);}},remove:function(ka){l.remove(ka,'tooltip');ka.removeAttribute('data-hover');ka.removeAttribute('data-tooltip-position');ka.removeAttribute('data-tooltip-alignh');ka===x&&ja.hide();},hide:function(){if(x){aa.hide();x=null;while(ca.length)ca.pop().remove();}},set:function(ka,la,ma,na){if(ma||na)ga(ka,{position:ma,alignH:na});if(la instanceof o){if(ka===x){ha(ka,la);}else ka.setAttribute('data-tooltip-uri',la);}else{if(m.isTextNode(la))la=s(la);var oa=false;if(typeof la!=='string'){la=m.create('div',{},la);ka.setAttribute('aria-label',s(la));}else{ka.setAttribute('aria-label',la);oa=la==='';}ga(ka,{content:la,suppress:oa});ka===x&&ja.show(ka);}},propsFor:function(ka){if(!ka)return {};return {'aria-label':ka,'data-hover':'tooltip'};},enableDisplayOnOverflow:function(ka){ka.removeAttribute('data-tooltip-display');ga(ka,{overflowDisplay:true});},enablePersistOnClick:function(ka){ka.removeAttribute('data-pitloot-persistOnClick');ga(ka,{persistOnClick:true});},suppress:function(ka,la){ga(ka,{suppress:la});},show:function(ka){ea();ja.hide();var la=fa(ka);if(la.suppress)return;var ma=la.content;if(la.overflowDisplay){if(ka.offsetWidth>=ka.scrollWidth)return;if(!ma)ma=s(ka);}if(!ma)return;var na=0,oa=0;if(la.position==='left'||la.position==='right'){oa=(ka.offsetHeight-28)/2;}else if(la.alignH!=='center'){var pa=ka.offsetWidth;if(pa<32)na=(pa-32)/2*(la.alignH==='right'?-1:1);}aa.setContextWithBounds(ka,t(ka,ia&&p.getEventPosition(ia))).setOffsetX(na).setOffsetY(oa).setPosition(la.position).setAlignment(la.alignH);if(typeof ma==='string'){k.addClass(aa.getRoot(),'invisible_elem');var qa=m.create('span',{},u(ma)),ra=m.create('div',{className:'tooltipText'},qa);m.setContent(ba,ra);aa.show();var sa;if(ra.getClientRects){var ta=ra.getClientRects()[0];if(ta)sa=Math.ceil(ta.right-ta.left);}if(!sa)sa=ra.offsetWidth;if(sa<qa.offsetWidth){k.addClass(ra,'tooltipWrap');aa.updatePosition();}k.removeClass(aa.getRoot(),'invisible_elem');}else{m.setContent(ba,ma);aa.show();}var ua=function(wa){if(!m.contains(x,wa.getTarget()))ja.hide();};ca.push(g.listen(document.documentElement,'mouseover',ua),g.listen(document.documentElement,'focusin',ua));var va=n.getScrollParent(ka);if(va!==window)ca.push(g.listen(va,'scroll',ja.hide));if(!la.persistOnClick)ca.push(g.listen(ka,'click',ja.hide));x=ka;},_showWithDelay:function(ka,la){if(ka!==y)ja._clearDelay();if(!z){var ma=function(na){if(!m.contains(y,na.getTarget()))ja._clearDelay();};da.push(g.listen(document.documentElement,'mouseover',ma),g.listen(document.documentElement,'focusin',ma));y=ka;z=setTimeout(function(){ja._clearDelay();ja.show(ka);},la);}},_clearDelay:function(){clearTimeout(z);y=null;z=null;while(da.length)da.pop().remove();}};g.listen(window,'scroll',ja.hide);e.exports=ja;},null);
__d("dotAccess",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){var k=i.split('.');do{var l=k.shift();h=h[l]||j&&(h[l]={});}while(k.length&&h);return h;}e.exports=g;},null);
__d("AdsPageAssetSelector.react",["AdsAssetSectionType","AdsAssetSelector.react","AdsLoadState","ApiPagePaths","BusinessAssetGrouping.brands","Image.react","ImageBlock.react","React","Set","Tooltip","areEqual","cx","dotAccess","fbt","getByPath","ix","ads-page-utils"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();'use strict';var w=b('ads-page-utils').PageUtils,x=n,y=x.PropTypes,z=(t._("Pages You Don't Own (Employees Only)")),aa=n.createClass({displayName:"AdsPageAssetSelector",propTypes:{bookmarkedPages:y.array.isRequired,listItemHoverStyle:y.oneOf(["dark-blue","light-gray"]),maxListHeight:y.number,pages:y.array.isRequired,searchedPages:y.array.isRequired,searchBarVisible:y.bool.isRequired,searchState:y.oneOf(Object.keys(i)).isRequired,searchQuery:y.string,selectedPageID:y.string,selectedBusinessID:y.string,selectedSectionType:y.string,showBookmarks:y.bool,showNonBizGroupTitle:y.bool,showPageCount:y.bool,showPageIDs:y.bool,unownedPages:y.array.isRequired,onPageSelected:y.func.isRequired,onPageRemoved:y.func.isRequired,onPageBookmarked:y.func.isRequired,onSearch:y.func.isRequired},getDefaultProps:function(){return {listItemHoverStyle:"dark-blue",showBookmarks:true,showNonBizGroupTitle:false,showPageCount:true,showPageIDs:false};},componentWillReceiveProps:function(ca){var da=new o();if(!q(this.props.bookmarkedPages,ca.bookmarkedPages)){var ea=new o(this.props.bookmarkedPages.map(function(fa){return fa.id;}));ca.bookmarkedPages.forEach(function(fa){if(!ea.has(fa.id))da.add(fa.id);});this.setState({recentlyBookmarkedPageIDs:da});}},render:function(){var ca=null;if(this.props.showPageCount)ca=(n.createElement("div",{className:"_2z3f"},t._({"PAGE":"{page count} PAGE","PAGES":"{page count} PAGES"},[t.param("page count",this.props.pages.length),t['enum'](this.props.pages.length===1?"PAGE":"PAGES",{PAGE:"PAGE",PAGES:"PAGES"})])));return (n.createElement(h,{assetSections:this._getAssetSections(),bookmarkedAssets:this.props.bookmarkedPages,listTitle:ca,maxListHeight:this.props.maxListHeight,renderAsset:this._renderAsset,searchBarPlaceholder:t._("Search Pages"),searchBarVisible:this.props.searchBarVisible,searchedAssets:this.props.searchedPages,searchQuery:this.props.searchQuery,searchState:this.props.searchState,showNonBizGroupTitle:this.props.showNonBizGroupTitle,unownedAssets:this._getUnownedPages(),unownedAssetsHeader:z,onSearch:this.props.onSearch}));},_getBusinessID:function(ca){return ca.business?ca.business.id||ca.business:k.NULL_BIZ_ID;},_filterPage:function(ca,da){var ea=w.getPageUIName(da),fa=u(da,j.ID);return (!ca||(ea&&ea.toLowerCase().contains(ca.toLowerCase()))||(fa&&fa.contains(ca)));},_getPageIconURL:function(ca){return (s(ca,'picture.data.url')||v('images/ads/common/icon_page.png').uri);},_renderAsset:function(ca,da,ea){if(!da)da=this._getBusinessID(ca);var fa=(this.props.selectedPageID===ca.id&&this.props.selectedSectionType===ea&&this.props.selectedBusinessID===da),ga=this.props.bookmarkedPages.some(function(ja){return ja.id===ca.id;}),ha=w.getPageUIName(ca),ia=!!(ea===g.BOOKMARKED&&this.state&&this.state.recentlyBookmarkedPageIDs&&this.state.recentlyBookmarkedPageIDs.has(ca.id));return (n.createElement(ba,{businessID:da,hoverStyle:this.props.listItemHoverStyle,imageSrc:this._getPageIconURL(ca),isBookmarked:ga,isRecentlyBookmarked:ia,isSelected:fa,key:ca.id+':'+da,name:ha,pageID:ca.id,sectionType:ea,showPageID:this.props.showPageIDs,showBookmark:this.props.showBookmarks,onPageBookmarked:this.props.onPageBookmarked,onPageSelected:this.props.onPageSelected,onPageRemoved:this.props.onPageRemoved}));},_getAssetSections:function(){var ca=this.props.pages.filter(function(fa){return this._filterPage(this.props.searchQuery,fa);}.bind(this)),da=k.groupAssets(ca,function(fa){return this._getBusinessID(fa);}.bind(this),function(fa){return fa.userpermissions?fa.userpermissions.data:[];},function(fa){return fa.businessprojects?fa.businessprojects.data:[];},function(fa){return fa.name.toLowerCase();},null,k.DEFAULT_NON_BIZ_NAME),ea=[];da.groupedAssets.forEach(function(fa){if(fa.assets.length>0)ea.push({name:fa.name,assets:fa.assets,businessID:fa.bizID});fa.projects.forEach(function(ga){if(ga.assets.length>0)ea.push({name:ga.name,assets:ga.assets,businessID:fa.bizID});});});return ea;},_getUnownedPages:function(){return this.props.unownedPages.filter(function(ca){return this._filterPage(this.props.searchQuery,ca);}.bind(this));}}),ba=n.createClass({displayName:"PageSelectorItem",propTypes:{businessID:y.string,hoverStyle:y.oneOf(["dark-blue","light-gray"]),imageSrc:y.string.isRequired,isBookmarked:y.bool.isRequired,isSelected:y.bool.isRequired,isRecentlyBookmarked:y.bool.isRequired,name:y.string.isRequired,pageID:y.string.isRequired,sectionType:y.oneOf(Object.keys(g)).isRequired,showBookmark:y.bool.isRequired,showPageID:y.bool.isRequired,onPageSelected:y.func.isRequired,onPageRemoved:y.func.isRequired,onPageBookmarked:y.func.isRequired},getDefaultProps:function(){return {hoverStyle:"dark-blue"};},render:function(){var ca=(this.props.sectionType===g.BOOKMARKED||this.props.sectionType===g.UNOWNED),da=(!this.props.isBookmarked&&this.props.sectionType===g.OWNED&&this.props.showBookmark),ea=null;if(ca){ea=(n.createElement("div",n.__spread({className:"_1wcw"},p.propsFor(t._("Remove Page from this list")),{onClick:this._onRemoveClick,"data-tooltip-position":"right"})));}else if(da){ea=(n.createElement("div",n.__spread({className:"_50a_"},p.propsFor(t._("Bookmark this Page")),{onClick:this._onBookmarkClick,"data-tooltip-position":"right"})));}else if(this.props.isSelected)ea=(n.createElement("div",{className:"_55fc"}));var fa=null;if(this.props.showPageID)fa=(n.createElement("div",{className:"_4c70"},this.props.pageID));return (n.createElement(m,{className:(("_2sl3")+(this.props.hoverStyle==="dark-blue"?' '+"_alf":'')+(this.props.hoverStyle==="light-gray"?' '+"_2z3h":'')+(this.props.isSelected?' '+"_2246":'')+(this.props.isRecentlyBookmarked?' '+"_50b0":'')),onClick:this._onClick},n.createElement(l,{className:"_4-rj",width:30,height:30,src:this.props.imageSrc}),n.createElement("div",{className:"_1wcv"},n.createElement("div",{className:(("_2sl4")+(!this.props.showPageID?' '+"_4c71":''))},this.props.name),fa,ea)));},_onClick:function(){this.props.onPageSelected(this.props.pageID,this.props.businessID,this.props.sectionType);},_onRemoveClick:function(event){event.preventDefault();event.stopPropagation();this.props.onPageRemoved(this.props.pageID,this.props.sectionType);},_onBookmarkClick:function(event){event.preventDefault();event.stopPropagation();this.props.onPageBookmarked(this.props.pageID);}});e.exports=aa;},null);
__d("LayerHideOnBlur",["copyProperties","requestAnimationFrame"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;}i.prototype.enable=function(){"use strict";this._subscriptions=[this._layer.subscribe('show',this._attach.bind(this)),this._layer.subscribe('hide',this._detach.bind(this))];if(this._layer.isShown())this._attach();};i.prototype.disable=function(){"use strict";this._detach();while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null;};i.prototype._detach=function(){"use strict";this._onBlur&&this._onBlur.unsubscribe();this._onBlur=null;};i.prototype._attach=function(){"use strict";this._onBlur=this._layer.subscribe('blur',function(){return h(function(){this._layer.hide();return false;}.bind(this));}.bind(this));};g(i.prototype,{_subscriptions:null,_onBlur:null});e.exports=i;},null);
__d("ReactLayeredComponentMixin",["ExecutionEnvironment","ReactInstanceMap","ReactCurrentOwner","React","ReactFragment"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l={componentWillMount:function(){if(g.canUseDOM)this._layersContainer=document.createElement('div');},componentDidMount:function(){this._renderLayersIntoContainer();},componentDidUpdate:function(){this._renderLayersIntoContainer();},componentWillUnmount:function(){j.unmountComponentAtNode(this._layersContainer);},_renderLayersIntoContainer:function(){i.current=h.get(this);var m;try{m=this.renderLayers();}finally{i.current=null;}if(m&&!Array.isArray(m)&&!j.isValidElement(m))m=k.create(m);j.render(j.createElement("div",null,m),this._layersContainer);}};e.exports=l;},null);
__d("LEGACY_getSiblingByRef",["ReactInstanceMap"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=function(i,j){var k=g.get(i),l=k._currentElement._owner;if(!l||!l.getPublicInstance()||!l.getPublicInstance().refs)return null;return l.getPublicInstance().refs[j];};e.exports=h;},null);
__d("HasLayerContextMixin",["React","LEGACY_getSiblingByRef"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={getContextNode:function(){var j=this.props.context;if(this.props.contextRef){var k=h(this,this.props.contextRef);j=k&&g.findDOMNode(k);}return j;}};e.exports=i;},null);
__d("ContextualDialogXUITheme",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={wrapperClassName:"_53ii",arrowDimensions:{offset:12,length:16}};e.exports=h;},null);
__d("ContextualDialogARIA",["DOM"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._layer=i;}h.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('beforeshow',this._addAriaAttribute.bind(this));};h.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};h.prototype._addAriaAttribute=function(){"use strict";var i=this._layer.getCausalElement();if(!i)return;var j=g.scry(this._layer.getRoot(),'.accessible_elem');if(j.length)i.setAttribute('aria-describedby',g.getID(j[0]));};e.exports=h;},null);
__d("AccessibleLayer",["DOM","Event","Focus","fbt"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){"use strict";this._layer=l;}k.prototype.enable=function(){"use strict";this._afterShowSubscription=this._layer.subscribe('aftershow',this._onAfterShow.bind(this));};k.prototype.disable=function(){"use strict";this._listener&&this._listener.remove();this._afterShowSubscription.unsubscribe();this._listener=this._afterShowSubscription=null;};k.prototype._closeListener=function(event){"use strict";var l=this._layer.getCausalElement();if(l)if(l.tabIndex==-1){l.tabIndex=0;i.setWithoutOutline(l);}else i.set(l);this._layer.hide();};k.prototype._onAfterShow=function(){"use strict";var l=this._layer.getContentRoot();if(g.scry(l,'.layer_close_elem')[0])return;var m=g.create('a',{className:'accessible_elem layer_close_elem',href:'#'},[j._("Close pop-up and return")]);g.appendContent(l,m);this._listener=h.listen(m,'click',this._closeListener.bind(this));};e.exports=k;},null);
__d("flattenArray",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){var i=h.slice(),j=[];while(i.length){var k=i.pop();if(Array.isArray(k)){Array.prototype.push.apply(i,k);}else j.push(k);}return j.reverse();}e.exports=g;},null);
__d("JSXDOM",["DOM","flattenArray"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=['a','blockquote','br','button','canvas','checkbox','dd','div','dl','dt','em','form','h1','h2','h3','h4','h5','h6','hr','i','iframe','img','input','label','li','option','p','pre','select','span','strong','table','tbody','thead','td','textarea','th','tr','ul','video'],j={};i.forEach(function(k){var l=function(m,n){if(arguments.length>2)n=Array.prototype.slice.call(arguments,1);if(!n&&m){n=m.children;delete m.children;}if(n)n=Array.isArray(n)?h(n):h([n]);return g.create(k,m,n);};j[k]=l;});e.exports=j;},null);
__d("ContextualDialogArrow",["CSS","DOM","JSXDOM","Locale","Style","Vector","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={bottom:"_53ik",top:"_53il",right:"_53im",left:"_53in"},p={above:'bottom',below:'top',left:'right',right:'left'};function q(r){"use strict";this._layer=r;}q.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe(['adjust','reposition'],this._handle.bind(this));g.addClass(this._layer.getContentRoot(),"_5v-0");};q.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;g.removeClass(this._layer.getContentRoot(),"_5v-0");};q.prototype._handle=function(r,s){"use strict";if(r==='adjust'){this._repositionArrow(s);}else this._repositionRoot(s);};q.prototype._repositionRoot=function(r){"use strict";var s=r.getAlignment();if(s=='center')return;var t=this._layer.getRoot(),u=this._layer.getContext(),v=r.isVertical(),w=this._layer.getArrowDimensions(),x=w.offset,y=w.length,z=l.getElementDimensions(u),aa=v?z.x:z.y;if(aa>=y+(x*2))return;var ba=(y/2)+x,ca=aa/2,da=parseInt(ba-ca,10);if(v){if(s=='left'){var ea=parseInt(k.get(t,'left'),10);k.set(t,'left',(ea-da)+'px');}else{var fa=parseInt(k.get(t,'right'),10);k.set(t,'right',(fa-da)+'px');}}else{var ga=parseInt(k.get(t,'top'),10);k.set(t,'top',(ga-da)+'px');}};q.prototype._repositionArrow=function(r){"use strict";var s=this._layer.getContentRoot(),t=r.getPosition(),u=p[t];for(var v in o)g.conditionClass(s,o[v],u===v);if(t=='none')return;if(!this._arrow)this._arrow=i.i({className:"_53io"});if(!h.contains(s,this._arrow))h.appendContent(s,this._arrow);k.set(this._arrow,'top','');k.set(this._arrow,'left','');k.set(this._arrow,'right','');k.set(this._arrow,'margin','');var w=q.getOffsetPercent(r),x=q.getOffset(r,w,this._layer),y=q.getOffsetSide(r);k.set(this._arrow,y,w+'%');k.set(this._arrow,'margin-'+y,x+'px');};q.getOffsetPercent=function(r){"use strict";var s=r.getAlignment(),t=r.getPosition();if(t=='above'||t=='below')if(s=='center'){return 50;}else if(s=='right')return 100;return 0;};q.getOffsetSide=function(r){"use strict";var s=r.isVertical();return s?(j.isRTL()?'right':'left'):'top';};q.getOffset=function(r,s,t){"use strict";var u=t.getArrowDimensions(),v=u.offset,w=u.length,x=r.getAlignment(),y=(x=='center')?0:v;y+=w*s/100;if(x!='left')y*=-1;return y;};m(q.prototype,{_subscription:null,_arrow:null});e.exports=q;},null);
__d("ContextualDialogDefaultTheme",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={wrapperClassName:"_53ip",arrowDimensions:{offset:15,length:16}};e.exports=h;},null);
__d("ContextualDialogKeepInViewport",["ContextualLayerDimensions","Event","Style","Vector","throttle"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m){"use strict";this._layer=m;this._listeners=[];this._subscription=null;this._minimumTop=null;}l.prototype.enable=function(){"use strict";var m=this._layer.getArrowDimensions();this._arrowOffset=m.offset;var n=m.length;this._arrowBuffer=this._arrowOffset+n;this._subscription=this._layer.subscribe(['show','hide','reposition'],function(o,p){if(this._layer.isFixed())return;if(o=='reposition'){this._calculateMinimumTop(p);}else if(o=='show'){this._attachScroll();this._adjustForScroll();}else this._detachScroll();}.bind(this));if(this._layer.isShown())this._attachScroll();};l.prototype.disable=function(){"use strict";if(this._layer.isShown())this._detachScroll();this._subscription.unsubscribe();this._subscription=null;};l.prototype._attachScroll=function(){"use strict";var m=k(this._adjustForScroll.bind(this)),n=this._layer.getContextScrollParent()||window;this._listeners=[h.listen(n,'scroll',m),h.listen(window,'resize',m)];};l.prototype._detachScroll=function(){"use strict";while(this._listeners.length)this._listeners.pop().remove();this._listeners=[];};l.prototype._getContentHeight=function(){"use strict";if(!this._layer._contentWrapper)return 0;return j.getElementDimensions(this._layer._contentWrapper).y;};l.prototype._getContextY=function(){"use strict";return j.getElementPosition(this._layer.getContext()).y;};l.prototype._calculateMinimumTop=function(m){"use strict";if(m.isVertical())return;this._minimumTop=(this._getContextY()-(this._getContentHeight()-this._arrowBuffer)+m.getOffsetY());};l.prototype._adjustForScroll=function(){"use strict";var m=this._layer._getOrientation(),n=this._layer.getContent();if(m.isVertical()||!n)return;var o=g.getViewportRect(this._layer),p=o.b-this._minimumTop;if(p<0)return;var q=this._getContentHeight(),r=q-(this._arrowBuffer+this._arrowOffset),s=Math.max(0,Math.min(r,r-(p-q)));i.set(n,'top',-s+'px');};e.exports=l;},null);
__d("ContextualDialogFitInViewport_PUSHSAFE",["Style","Vector"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=50,j=10;function k(l){"use strict";this._layer=l;this._contentHeight=null;this._contextY=null;}k.prototype.enable=function(){"use strict";var l=this._layer.getArrowDimensions();this._arrowOffset=l.offset;var m=l.length;this._arrowBuffer=this._arrowOffset+m;this._subscription=this._layer.subscribe(['reposition'],function(n,o){if(!this._layer.isFixed()||o.isVertical())return;this._adjustPosition();}.bind(this));};k.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};k.prototype._getContentHeight=function(){"use strict";return h.getElementDimensions(this._layer._contentWrapper).y;};k.prototype._getContextY=function(){"use strict";return h.getElementPosition(this._layer.getContext(),'viewport').y;};k.prototype._adjustPosition=function(){"use strict";var l=this._getContextY(),m=this._getContentHeight();if(l===this._contextY&&m===this._contentHeight)return;this._contextY=l;this._contentHeight=m;var n=h.getViewportDimensions().y,o=Math.min(Math.max(0,l+m+j-n),Math.max(0,l-i),m-this._arrowOffset-this._arrowBuffer);g.set(this._layer.getContent(),'top',-o+'px');};e.exports=k;},null);
__d("LayerButtons",["Button","Event","Parent","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m){"use strict";this._layer=m;}l.prototype.enable=function(){"use strict";this._listener=h.listen(this._layer.getRoot(),'click',this._handle.bind(this));};l.prototype.disable=function(){"use strict";this._listener.remove();this._listener=null;};l.prototype._handle=function(m){"use strict";var n=m.getTarget(),o=i.byClass(n,'layerConfirm');if(o){if(this._isButton(o)&&!g.isEnabled(o))return;if(this._layer.inform('confirm',o)===false)m.prevent();return;}var p=i.byClass(n,'layerCancel');if(p){if(this._isButton(p)&&!g.isEnabled(p))return;if(this._layer.inform('cancel',p)!==false)this._layer.hide();m.prevent();return;}var q=i.byClass(n,'layerButton');if(q){if(this._isButton(q)&&!g.isEnabled(q))return;if(this._layer.inform('button',q)===false)m.prevent();}};l.prototype._isButton=function(m){"use strict";return !!(i.byClass(m,'uiButton')||i.byClass(m,"_42ft"));};j(l.prototype,{_listener:null});e.exports=l;},null);
__d("LayerFormHooks",["Event","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;}i.prototype.enable=function(){"use strict";var j=this._layer.getRoot();this._subscriptions=[g.listen(j,'submit',this._onSubmit.bind(this)),g.listen(j,'success',this._onSuccess.bind(this)),g.listen(j,'error',this._onError.bind(this))];};i.prototype.disable=function(){"use strict";this._subscriptions.forEach(function(j){j.remove();});this._subscriptions=null;};i.prototype._onSubmit=function(event){"use strict";if(this._layer.inform('submit',event)===false)event.kill();};i.prototype._onSuccess=function(event){"use strict";if(this._layer.inform('success',event)===false)event.kill();};i.prototype._onError=function(event){"use strict";var j=event.getData();if(this._layer.inform('error',{response:j.response})===false)event.kill();};h(i.prototype,{_subscriptions:null});e.exports=i;},null);
__d("LayerRefocusOnHide",["ContextualThing","DOM","DOMQuery","Focus","Parent","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n){"use strict";this._layer=n;}m.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('hide',this._handle.bind(this));};m.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};m.prototype._handle=function(n,event){"use strict";if(document.activeElement===document.body||i.contains(this._layer.getRoot(),document.activeElement)){var o=this._layer.getCausalElement();while(o&&(!o.offsetWidth)){var p=k.byClass(o,'uiToggle');if(p&&p.offsetWidth){o=h.scry(p,'[rel="toggle"]')[0];}else{var q=g.getContext(o);if(q){o=q;}else o=o.parentNode;}}if(o)if(o.tabIndex!=-1)j.setWithoutOutline(o);}};l(m.prototype,{_subscription:null});e.exports=m;},null);
__d("LayerMouseHooks",["Arbiter","ContextualThing","Event","Layer"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=new g();function l(m){"use strict";this._layer=m;this._subscriptions=[];this._currentlyActive=false;}l.prototype.enable=function(){"use strict";this._subscriptions=[k.subscribe('mouseenter',this._handleActive.bind(this)),k.subscribe('mouseleave',this._handleInactive.bind(this)),this._layer.subscribe('hide',function(){this._currentlyActive=false;}.bind(this))];};l.prototype.disable=function(){"use strict";while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=[];this._currentlyActive=false;};l.prototype._handleActive=function(m,n){"use strict";if(!this._currentlyActive&&this._isNodeWithinStack(n)){this._layer.inform('mouseenter');this._currentlyActive=true;}};l.prototype._handleInactive=function(m,n){"use strict";if(this._currentlyActive)if(!n||!this._isNodeWithinStack(n)){this._layer.inform('mouseleave');this._currentlyActive=false;}};l.prototype._isNodeWithinStack=function(m){"use strict";return h.containsIncludingLayers(this._layer.getContentRoot(),m);};j.subscribe('show',function(m,n){var o=n.getContentRoot(),p=[i.listen(o,'mouseenter',function(){k.inform('mouseenter',o);}),i.listen(o,'mouseleave',function(r){k.inform('mouseleave',r.getRelatedTarget());})],q=n.subscribe('hide',function(){while(p.length)p.pop().remove();q.unsubscribe();p=q=null;});});e.exports=l;},null);
__d("ContextualDialog",["ContextualDialogARIA","AccessibleLayer","ContextualDialogArrow","ContextualDialogDefaultTheme","ContextualDialogKeepInViewport","ContextualDialogFitInViewport_PUSHSAFE","ContextualLayer","CSS","DOM","Event","JSXDOM","LayerButtons","LayerFormHooks","LayerRefocusOnHide","LayerHideOnTransition","LayerMouseHooks","Style","copyProperties","csx","cx","invariant","removeFromArray","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca){b.__markCompiled&&b.__markCompiled();var da=0,ea=300;for(var fa in m)if(m.hasOwnProperty(fa))ha[fa]=m[fa];var ga=m===null?null:m.prototype;ha.prototype=Object.create(ga);ha.prototype.constructor=ha;ha.__superConstructor__=m;function ha(ia,ja){"use strict";ga.constructor.call(this,ia,ja);this._footer=null;}ha.prototype._configure=function(ia,ja){"use strict";x(ia,ia.theme||j);var ka=ia.arrowBehavior||i;ia.addedBehaviors=ia.addedBehaviors||[];ia.addedBehaviors.push(ka);ga._configure.call(this,ia,ja);this._footer=o.scry(ja,"div._572u")[0];if(this._footer)if(this._footer.children.length===1&&this._footer.children[0].nodeName==='DIV'&&this._footer.children[0].children.length===0){this._footer.parentNode.removeChild(this._footer);}else n.addClass(this.getContentRoot(),"_kc");if(ia.hoverContext)this._registerHoverHandlers(ia.hoverContext,ia.hoverShowDelay,ia.hoverHideDelay);};ha.prototype._registerHoverHandlers=function(ia,ja,ka){"use strict";if(ja==null)ja=da;if(ka==null)ka=ea;var la,ma,na=function(event){clearTimeout(ma);la=setTimeout(ca(this.show,this),ja);}.bind(this),oa=function(event){if(this._isHoverLocked())return;clearTimeout(la);ma=setTimeout(this.hide.bind(this),ka);}.bind(this),pa=p.listen(ia,'mouseenter',na),qa=p.listen(ia,'mouseleave',oa),ra=this.subscribe('mouseenter',na),sa=this.subscribe('mouseleave',oa);this.subscribe('destroy',function(){clearTimeout(ma);pa.remove();qa.remove();ra.unsubscribe();sa.unsubscribe();});};ha.prototype._getDefaultBehaviors=function(){"use strict";var ia=ga._getDefaultBehaviors.call(this);ba(ia,u);return ia.concat([h,t,k,l,r,s,v,g]);};ha.prototype._buildWrapper=function(ia,ja){"use strict";this._innerWrapper=q.div(null,ja);var ka=ga._buildWrapper.call(this,ia,this._innerWrapper);n.addClass(ka,ia.wrapperClassName);this.replaceEntireLayerContents(ja);aa(this.getContent()===ja);this.setWidth(ia.width);return ka;};ha.prototype.getContentRoot=function(){"use strict";aa(!!this._innerWrapper);return this._innerWrapper;};ha.prototype.setContent=function(ia){"use strict";aa(false);};ha.prototype.replaceEntireLayerContents=function(ia){"use strict";this._content=null;o.empty(this.getContentRoot());this.setInnerContent(ia);};ha.prototype.setInnerContent=function(ia){"use strict";n.addClass(ia,"_53ij");if(this.getContent()){o.replace(this.getContent(),ia);}else o.appendContent(this.getContentRoot(),ia);this._content=ia;this.isShown()&&this.updatePosition();};ha.prototype.setWidth=function(ia){"use strict";w.set(this.getContentRoot(),'width',ia?Math.floor(ia)+'px':'');return this;};ha.prototype.getFooter=function(){"use strict";return this._footer;};ha.prototype.lockHover=function(){"use strict";this._hoverLocked=true;return this;};ha.prototype.unlockHover=function(){"use strict";this._hoverLocked=false;return this;};ha.prototype._isHoverLocked=function(){"use strict";return !!this._hoverLocked;};ha.setContext=function(ia,ja){"use strict";ia.setContext(ja);};e.exports=ha;},null);
__d("focusWithinLayer",["DOMQuery","Focus","TabbableElements","getActiveElement"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){var m=g.scry(l,'.autofocus')[0],n=true;if(!m){var o=j();if(g.isNodeOfType(o,['input','textarea']))return;var p=i.find(l);for(var q=0;q<p.length;q++){var r=p[q];if(r.tagName!=='A'){m=p[q];break;}}}else if(m.tabIndex!==0)n=false;if(m){n?h.set(m):h.setWithoutOutline(m);}else if(!(l).offsetWidth){(l).tabIndex=0;h.setWithoutOutline(l);}}e.exports=k;},null);
__d("LayerAutoFocus",["focusWithinLayer"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._layer=i;this._subscription=null;}h.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('aftershow',this._focus.bind(this));};h.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};h.prototype._focus=function(){"use strict";var i=this._layer.getRoot();i&&g(i);};e.exports=h;},null);
__d("ReactAbstractContextualDialog",["ContextualDialog","ContextualDialogArrow","LayerAutoFocus","LayerRefocusOnHide","React","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=k,n=m.PropTypes,o={createSpec:function(p){return {displayName:p.displayName,propTypes:{position:n.oneOf(['above','below','left','right']),alignment:n.oneOf(['left','center','right']),offsetX:n.number,offsetY:n.number,width:n.number,autoFocus:n.bool,focusContextOnHide:n.bool,arrowBehavior:n.func,behaviors:n.object,shown:n.bool,contextRef:n.string,hoverContext:n.object,hoverShowDelay:n.number,hoverHideDelay:n.number,hasActionableContext:n.bool},immutableProps:{modal:null},createLayer:function(q){var r=this.props.context||this.getNodeForOwnerRef(this.props.contextRef),s=l({context:r,hoverContext:this.props.hoverContext,hoverShowDelay:this.props.hoverShowDelay,hoverHideDelay:this.props.hoverHideDelay,position:this.props.position,alignment:this.props.alignment,offsetX:this.props.offsetX,offsetY:this.props.offsetY,width:this.props.width,shouldSetARIAProperties:!this.props.hasActionableContext,arrowBehavior:this.props.arrowBehavior||h,addedBehaviors:this.enumerateBehaviors(this.props.behaviors)},p||{}),t=new g(s,q);if(this.props.contextBounds)t.setContextWithBounds(r,this.props.contextBounds);if(this.props.autoFocus!==false)t.enableBehavior(i);if(this.props.focusContextOnHide===false)t.disableBehavior(j);t.conditionShow(this.props.shown);return t;},receiveProps:function(q){this.updateBehaviors(q.behaviors);var r=q.context||this.getNodeForOwnerRef(q.contextRef);if(r)if(q.contextBounds){this.layer.setContextWithBounds(r,q.contextBounds);}else this.layer.setContext(r);this.layer.setPosition(q.position).setAlignment(q.alignment).setOffsetX(q.offsetX).setOffsetY(q.offsetY).setWidth(q.width).conditionShow(q.shown);}};}};e.exports=o;},null);
__d("ReactLayer",["React","ReactBrowserEventEmitter","SubscriptionsHandler","emptyFunction","getObjectValues","invariant","merge","LEGACY_getSiblingByRef"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();"use strict";var o={componentDidMount:function(){this._layerContainer=document.createElement('div');this._renderContentIntoContainer();this.layer=this.createLayer(this._layerContainer);l(this.layer);this.layerSubscriptions=new i();this.layerSubscribe('show',function(){return this.props.onToggle&&this.props.onToggle(true);}.bind(this));this.layerSubscribe('hide',function(){return this.props.onToggle&&this.props.onToggle(false);}.bind(this));this.layerSubscribe('blur',function(){return this.props.onBlur&&this.props.onBlur();}.bind(this));},componentDidUpdate:function(){this._renderContentIntoContainer();this.receiveProps(this.props);},componentWillUnmount:function(){g.unmountComponentAtNode(this._layerContainer);this._layerContainer=null;if(this.layer){this.layer.destroy();this.layer=null;}if(this.layerSubscriptions){this.layerSubscriptions.release();this.layerSubscriptions=null;}},_renderContentIntoContainer:function(){g.render(g.createElement("div",null,this.props.children),this._layerContainer);},render:function(){return null;},enumerateBehaviors:function(q){q=this.getEffectiveBehaviors(q);return k(q).filter(j.thatReturnsArgument);},updateBehaviors:function(q){var r=this.getEffectiveBehaviors(this.props.behaviors),s=this.getEffectiveBehaviors(q),t;for(t in r)if(!s[t])this.layer.disableBehavior(r[t]);for(t in s){var u=r[t],v=s[t];if(u&&v){l(u===v);continue;}u&&this.layer.disableBehavior(u);v&&this.layer.enableBehavior(v);}},getEffectiveBehaviors:function(q){if(!this.getDefaultEnabledBehaviors)return q||{};return m(this.getDefaultEnabledBehaviors(),q);},layerSubscribe:function(q,r){var s=this.layer,t=s.subscribe||s.addListener;this.layerSubscriptions.addSubscriptions(t.call(s,q,function(u,v){h.isEnabled()&&r(u,v);}));},getNodeForOwnerRef:function(q){var r=n(this,q);return r&&g.findDOMNode(r);}},p={createClass:function(q){return g.createClass({mixins:[o,q]});}};e.exports=p;},null);
__d("XUIContextualDialogBody.react",["React"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.createClass({displayName:"XUIContextualDialogBody",render:function(){return g.createElement("div",null,this.props.children);}});e.exports=h;},null);
__d("XUIOverlayFooter.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"XUIOverlayFooter",render:function(){return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.className,"_5lnf uiOverlayFooter")}),this.props.children));}});e.exports=j;},null);
__d("XUIContextualDialogFooter.react",["React","XUIOverlayFooter.react","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"XUIContextualDialogFooter",render:function(){return (g.createElement(h,{className:"_572u"},this.props.children));}});e.exports=j;},null);
__d("XUIContextualDialogTitle.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.PropTypes,k=g.createClass({displayName:"XUIContextualDialogTitle",propTypes:{use:j.oneOf(['primary','secondary'])},getDefaultProps:function(){return {use:'primary'};},render:function(){var l=this.props.use,m=(("_47lu")+(l==='primary'?' '+"_47lv":'')+(l==='secondary'?' '+"_47mc":''));return (g.createElement("h3",{className:m},this.props.children));}});e.exports=k;},null);
__d("XUIContextualDialog.react",["HasLayerContextMixin","ContextualDialogXUITheme","React","ReactAbstractContextualDialog","ReactLayer","XUIContextualDialogBody.react","XUIContextualDialogFooter.react","XUIContextualDialogTitle.react","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=i,q=p.PropTypes,r=k.createClass(j.createSpec({displayName:'ReactXUIContextualDialog',theme:h})),s=i.createClass({displayName:"XUIContextualDialog",mixins:[g],propTypes:{position:q.oneOf(['above','below','left','right']),alignment:q.oneOf(['left','center','right']),offsetX:q.number,offsetY:q.number,width:q.number,autoFocus:q.bool,arrowBehavior:q.func,behaviors:q.object,shown:q.bool,context:q.object,contextRef:q.string,hoverContext:q.object,hoverShowDelay:q.number,hoverHideDelay:q.number,hasActionableContext:q.bool},getDefaultProps:function(){return {hasActionableContext:false};},_getDialogBody:function(){return this._getChildOfType(l);},_getDialogTitle:function(){return this._getChildOfType(n);},_getDialogFooter:function(){return this._getChildOfType(m);},_getChildOfType:function(t){var u=null;i.Children.forEach(this.props.children,function(v){if(!u&&v.type===t)u=v;});return u;},updatePosition:function(){var t=this.refs.dialog;if(t)t.layer.updatePosition();},render:function(){var t=this.props.children,u=this._getDialogBody();if(u)t=i.createElement("div",{className:"_53iv"},this._getDialogTitle(),u);return (i.createElement(r,i.__spread({},this.props,{ref:"dialog",context:this.getContextNode()}),t,u?this._getDialogFooter():null));}});s.WIDTH={NORMAL:312,WIDE:400};e.exports=s;},null);
/**
 * @providesModule underscore.ads
 * @preserve-header
 *
 * Underscore.js 1.5.2
 * ===================

 * > http://underscorejs.org
 * > Underscore may be freely distributed under the MIT license.
 * > (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative
 *   Reporters & Editors

 * Baseline setup
 * --------------
 */__d("underscore.ads",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();(function(){var g=this,h=g._,i={},j=Array.prototype,k=Object.prototype,l=Function.prototype,m=j.push,n=j.slice,o=j.concat,p=k.toString,q=k.hasOwnProperty,r=j.forEach,s=j.map,t=j.reduce,u=j.reduceRight,v=j.filter,w=j.every,x=j.some,y=j.indexOf,z=j.lastIndexOf,aa=Array.isArray,ba=Object.keys,ca=l.bind,da=function(ta){if(ta instanceof da)return ta;if(!(this instanceof da))return new da(ta);this._wrapped=ta;};if(typeof f!=='undefined'){if(typeof e!=='undefined'&&e.exports)f=e.exports=da;f._=da;}else g._=da;da.VERSION='1.5.2';var ea=da.each=da.forEach=function(ta,ua,va){if(ta==null)return;if(r&&ta.forEach===r){ta.forEach(ua,va);}else if(ta.length===+ta.length){for(var wa=0,xa=ta.length;wa<xa;wa++)if(ua.call(va,ta[wa],wa,ta)===i)return;}else{var ya=da.keys(ta);for(var wa=0,xa=ya.length;wa<xa;wa++)if(ua.call(va,ta[ya[wa]],ya[wa],ta)===i)return;}};da.map=da.collect=function(ta,ua,va){var wa=[];if(ta==null)return wa;if(s&&ta.map===s)return ta.map(ua,va);ea(ta,function(xa,ya,za){wa.push(ua.call(va,xa,ya,za));});return wa;};var fa='Reduce of empty array with no initial value';da.reduce=da.foldl=da.inject=function(ta,ua,va,wa){var xa=arguments.length>2;if(ta==null)ta=[];if(t&&ta.reduce===t){if(wa)ua=da.bind(ua,wa);return xa?ta.reduce(ua,va):ta.reduce(ua);}ea(ta,function(ya,za,ab){if(!xa){va=ya;xa=true;}else va=ua.call(wa,va,ya,za,ab);});if(!xa)throw new TypeError(fa);return va;};da.reduceRight=da.foldr=function(ta,ua,va,wa){var xa=arguments.length>2;if(ta==null)ta=[];if(u&&ta.reduceRight===u){if(wa)ua=da.bind(ua,wa);return xa?ta.reduceRight(ua,va):ta.reduceRight(ua);}var ya=ta.length;if(ya!==+ya){var za=da.keys(ta);ya=za.length;}ea(ta,function(ab,bb,cb){bb=za?za[--ya]:--ya;if(!xa){va=ta[bb];xa=true;}else va=ua.call(wa,va,ta[bb],bb,cb);});if(!xa)throw new TypeError(fa);return va;};da.find=da.detect=function(ta,ua,va){var wa;ga(ta,function(xa,ya,za){if(ua.call(va,xa,ya,za)){wa=xa;return true;}});return wa;};da.filter=da.select=function(ta,ua,va){var wa=[];if(ta==null)return wa;if(v&&ta.filter===v)return ta.filter(ua,va);ea(ta,function(xa,ya,za){if(ua.call(va,xa,ya,za))wa.push(xa);});return wa;};da.reject=function(ta,ua,va){return da.filter(ta,function(wa,xa,ya){return !ua.call(va,wa,xa,ya);},va);};da.every=da.all=function(ta,ua,va){ua||(ua=da.identity);var wa=true;if(ta==null)return wa;if(w&&ta.every===w)return ta.every(ua,va);ea(ta,function(xa,ya,za){if(!(wa=wa&&ua.call(va,xa,ya,za)))return i;});return !!wa;};var ga=da.some=da.any=function(ta,ua,va){ua||(ua=da.identity);var wa=false;if(ta==null)return wa;if(x&&ta.some===x)return ta.some(ua,va);ea(ta,function(xa,ya,za){if(wa||(wa=ua.call(va,xa,ya,za)))return i;});return !!wa;};da.contains=da.include=function(ta,ua){if(ta==null)return false;if(y&&ta.indexOf===y)return ta.indexOf(ua)!=-1;return ga(ta,function(va){return va===ua;});};da.invoke=function(ta,ua){var va=n.call(arguments,2),wa=da.isFunction(ua);return da.map(ta,function(xa){return (wa?ua:xa[ua]).apply(xa,va);});};da.pluck=function(ta,ua){return da.map(ta,function(va){return va[ua];});};da.where=function(ta,ua,va){if(da.isEmpty(ua))return va?void 0:[];return da[va?'find':'filter'](ta,function(wa){for(var xa in ua)if(ua[xa]!==wa[xa])return false;return true;});};da.findWhere=function(ta,ua){return da.where(ta,ua,true);};da.max=function(ta,ua,va){if(!ua&&da.isArray(ta)&&ta[0]===+ta[0]&&ta.length<65535)return Math.max.apply(Math,ta);if(!ua&&da.isEmpty(ta))return -Infinity;var wa={computed:-Infinity,value:-Infinity};ea(ta,function(xa,ya,za){var ab=ua?ua.call(va,xa,ya,za):xa;ab>wa.computed&&(wa={value:xa,computed:ab});});return wa.value;};da.min=function(ta,ua,va){if(!ua&&da.isArray(ta)&&ta[0]===+ta[0]&&ta.length<65535)return Math.min.apply(Math,ta);if(!ua&&da.isEmpty(ta))return Infinity;var wa={computed:Infinity,value:Infinity};ea(ta,function(xa,ya,za){var ab=ua?ua.call(va,xa,ya,za):xa;ab<wa.computed&&(wa={value:xa,computed:ab});});return wa.value;};da.shuffle=function(ta){var ua,va=0,wa=[];ea(ta,function(xa){ua=da.random(va++);wa[va-1]=wa[ua];wa[ua]=xa;});return wa;};da.sample=function(ta,ua,va){if(arguments.length<2||va)return ta[da.random(ta.length-1)];return da.shuffle(ta).slice(0,Math.max(0,ua));};var ha=function(ta){return da.isFunction(ta)?ta:function(ua){return ua[ta];};};da.sortBy=function(ta,ua,va){var wa=ha(ua);return da.pluck(da.map(ta,function(xa,ya,za){return {value:xa,index:ya,criteria:wa.call(va,xa,ya,za)};}).sort(function(xa,ya){var za=xa.criteria,ab=ya.criteria;if(za!==ab){if(za>ab||za===void 0)return 1;if(za<ab||ab===void 0)return -1;}return xa.index-ya.index;}),'value');};var ia=function(ta){return function(ua,va,wa){var xa={},ya=va==null?da.identity:ha(va);ea(ua,function(za,ab){var bb=ya.call(wa,za,ab,ua);ta(xa,bb,za);});return xa;};};da.groupBy=ia(function(ta,ua,va){(da.has(ta,ua)?ta[ua]:(ta[ua]=[])).push(va);});da.indexBy=ia(function(ta,ua,va){ta[ua]=va;});da.countBy=ia(function(ta,ua){da.has(ta,ua)?ta[ua]++:ta[ua]=1;});da.sortedIndex=function(ta,ua,va,wa){va=va==null?da.identity:ha(va);var xa=va.call(wa,ua),ya=0,za=ta.length;while(ya<za){var ab=(ya+za)>>>1;va.call(wa,ta[ab])<xa?ya=ab+1:za=ab;}return ya;};da.toArray=function(ta){if(!ta)return [];if(da.isArray(ta))return n.call(ta);if(ta.length===+ta.length)return da.map(ta,da.identity);return da.values(ta);};da.size=function(ta){if(ta==null)return 0;return (ta.length===+ta.length)?ta.length:da.keys(ta).length;};da.first=da.head=da.take=function(ta,ua,va){if(ta==null)return void 0;return (ua==null)||va?ta[0]:n.call(ta,0,ua);};da.initial=function(ta,ua,va){return n.call(ta,0,ta.length-((ua==null)||va?1:ua));};da.last=function(ta,ua,va){if(ta==null)return void 0;if((ua==null)||va){return ta[ta.length-1];}else return n.call(ta,Math.max(ta.length-ua,0));};da.rest=da.tail=da.drop=function(ta,ua,va){return n.call(ta,(ua==null)||va?1:ua);};da.compact=function(ta){return da.filter(ta,da.identity);};var ja=function(ta,ua,va){if(ua&&da.every(ta,da.isArray))return o.apply(va,ta);ea(ta,function(wa){if(da.isArray(wa)||da.isArguments(wa)){ua?m.apply(va,wa):ja(wa,ua,va);}else va.push(wa);});return va;};da.flatten=function(ta,ua){return ja(ta,ua,[]);};da.without=function(ta){return da.difference(ta,n.call(arguments,1));};da.uniq=da.unique=function(ta,ua,va,wa){if(da.isFunction(ua)){wa=va;va=ua;ua=false;}var xa=va?da.map(ta,va,wa):ta,ya=[],za=[];ea(xa,function(ab,bb){if(ua?(!bb||za[za.length-1]!==ab):!da.contains(za,ab)){za.push(ab);ya.push(ta[bb]);}});return ya;};da.union=function(){return da.uniq(da.flatten(arguments,true));};da.intersection=function(ta){var ua=n.call(arguments,1);return da.filter(da.uniq(ta),function(va){return da.every(ua,function(wa){return da.indexOf(wa,va)>=0;});});};da.difference=function(ta){var ua=o.apply(j,n.call(arguments,1));return da.filter(ta,function(va){return !da.contains(ua,va);});};da.zip=function(){var ta=da.max(da.pluck(arguments,"length").concat(0)),ua=new Array(ta);for(var va=0;va<ta;va++)ua[va]=da.pluck(arguments,''+va);return ua;};da.object=function(ta,ua){if(ta==null)return {};var va={};for(var wa=0,xa=ta.length;wa<xa;wa++)if(ua){va[ta[wa]]=ua[wa];}else va[ta[wa][0]]=ta[wa][1];return va;};da.indexOf=function(ta,ua,va){if(ta==null)return -1;var wa=0,xa=ta.length;if(va)if(typeof va=='number'){wa=(va<0?Math.max(0,xa+va):va);}else{wa=da.sortedIndex(ta,ua);return ta[wa]===ua?wa:-1;}if(y&&ta.indexOf===y)return ta.indexOf(ua,va);for(;wa<xa;wa++)if(ta[wa]===ua)return wa;return -1;};da.lastIndexOf=function(ta,ua,va){if(ta==null)return -1;var wa=va!=null;if(z&&ta.lastIndexOf===z)return wa?ta.lastIndexOf(ua,va):ta.lastIndexOf(ua);var xa=(wa?va:ta.length);while(xa--)if(ta[xa]===ua)return xa;return -1;};da.range=function(ta,ua,va){if(arguments.length<=1){ua=ta||0;ta=0;}va=arguments[2]||1;var wa=Math.max(Math.ceil((ua-ta)/va),0),xa=0,ya=new Array(wa);while(xa<wa){ya[xa++]=ta;ta+=va;}return ya;};var ka=function(){};da.bind=function(ta,ua){var va,wa;if(ca&&ta.bind===ca)return ca.apply(ta,n.call(arguments,1));if(!da.isFunction(ta))throw new TypeError();va=n.call(arguments,2);return wa=function(){if(!(this instanceof wa))return ta.apply(ua,va.concat(n.call(arguments)));ka.prototype=ta.prototype;var xa=new ka();ka.prototype=null;var ya=ta.apply(xa,va.concat(n.call(arguments)));if(Object(ya)===ya)return ya;return xa;};};da.partial=function(ta){var ua=n.call(arguments,1);return function(){return ta.apply(this,ua.concat(n.call(arguments)));};};da.bindAll=function(ta){var ua=n.call(arguments,1);if(ua.length===0)throw new Error("bindAll must be passed function names");ea(ua,function(va){ta[va]=da.bind(ta[va],ta);});return ta;};da.memoize=function(ta,ua){var va={};ua||(ua=da.identity);return function(){var wa=ua.apply(this,arguments);return da.has(va,wa)?va[wa]:(va[wa]=ta.apply(this,arguments));};};da.delay=function(ta,ua){var va=n.call(arguments,2);return setTimeout(function(){return ta.apply(null,va);},ua);};da.defer=function(ta){return da.delay.apply(da,[ta,1].concat(n.call(arguments,1)));};da.throttle=function(ta,ua,va){var wa,xa,ya,za=null,ab=0;va||(va={});var bb=function(){ab=va.leading===false?0:new Date();za=null;ya=ta.apply(wa,xa);};return function(){var cb=new Date();if(!ab&&va.leading===false)ab=cb;var db=ua-(cb-ab);wa=this;xa=arguments;if(db<=0){clearTimeout(za);za=null;ab=cb;ya=ta.apply(wa,xa);}else if(!za&&va.trailing!==false)za=setTimeout(bb,db);return ya;};};da.debounce=function(ta,ua,va){var wa,xa,ya,za,ab;return function(){ya=this;xa=arguments;za=new Date();var bb=function(){var db=(new Date())-za;if(db<ua){wa=setTimeout(bb,ua-db);}else{wa=null;if(!va)ab=ta.apply(ya,xa);}},cb=va&&!wa;if(!wa)wa=setTimeout(bb,ua);if(cb)ab=ta.apply(ya,xa);return ab;};};da.once=function(ta){var ua=false,va;return function(){if(ua)return va;ua=true;va=ta.apply(this,arguments);ta=null;return va;};};da.wrap=function(ta,ua){return function(){var va=[ta];m.apply(va,arguments);return ua.apply(this,va);};};da.compose=function(){var ta=arguments;return function(){var ua=arguments;for(var va=ta.length-1;va>=0;va--)ua=[ta[va].apply(this,ua)];return ua[0];};};da.after=function(ta,ua){return function(){if(--ta<1)return ua.apply(this,arguments);};};da.keys=ba||function(ta){if(ta!==Object(ta))throw new TypeError('Invalid object');var ua=[];for(var va in ta)if(da.has(ta,va))ua.push(va);return ua;};da.values=function(ta){var ua=da.keys(ta),va=ua.length,wa=new Array(va);for(var xa=0;xa<va;xa++)wa[xa]=ta[ua[xa]];return wa;};da.pairs=function(ta){var ua=da.keys(ta),va=ua.length,wa=new Array(va);for(var xa=0;xa<va;xa++)wa[xa]=[ua[xa],ta[ua[xa]]];return wa;};da.invert=function(ta){var ua={},va=da.keys(ta);for(var wa=0,xa=va.length;wa<xa;wa++)ua[ta[va[wa]]]=va[wa];return ua;};da.functions=da.methods=function(ta){var ua=[];for(var va in ta)if(da.isFunction(ta[va]))ua.push(va);return ua.sort();};da.extend=function(ta){ea(n.call(arguments,1),function(ua){if(ua)for(var va in ua)ta[va]=ua[va];});return ta;};da.pick=function(ta){var ua={},va=o.apply(j,n.call(arguments,1));ea(va,function(wa){if(wa in ta)ua[wa]=ta[wa];});return ua;};da.omit=function(ta){var ua={},va=o.apply(j,n.call(arguments,1));for(var wa in ta)if(!da.contains(va,wa))ua[wa]=ta[wa];return ua;};da.defaults=function(ta){ea(n.call(arguments,1),function(ua){if(ua)for(var va in ua)if(ta[va]===void 0)ta[va]=ua[va];});return ta;};da.clone=function(ta){if(!da.isObject(ta))return ta;return da.isArray(ta)?ta.slice():da.extend({},ta);};da.tap=function(ta,ua){ua(ta);return ta;};var la=function(ta,ua,va,wa){if(ta===ua)return ta!==0||1/ta==1/ua;if(ta==null||ua==null)return ta===ua;if(ta instanceof da)ta=ta._wrapped;if(ua instanceof da)ua=ua._wrapped;var xa=p.call(ta);if(xa!=p.call(ua))return false;switch(xa){case '[object String]':return ta==String(ua);case '[object Number]':return ta!=+ta?ua!=+ua:(ta==0?1/ta==1/ua:ta==+ua);case '[object Date]':case '[object Boolean]':return +ta==+ua;case '[object RegExp]':return ta.source==ua.source&&ta.global==ua.global&&ta.multiline==ua.multiline&&ta.ignoreCase==ua.ignoreCase;}if(typeof ta!='object'||typeof ua!='object')return false;var ya=va.length;while(ya--)if(va[ya]==ta)return wa[ya]==ua;var za=ta.constructor,ab=ua.constructor;if(za!==ab&&!(da.isFunction(za)&&(za instanceof za)&&da.isFunction(ab)&&(ab instanceof ab)))return false;va.push(ta);wa.push(ua);var bb=0,cb=true;if(xa=='[object Array]'){bb=ta.length;cb=bb==ua.length;if(cb)while(bb--)if(!(cb=la(ta[bb],ua[bb],va,wa)))break;}else{for(var db in ta)if(da.has(ta,db)){bb++;if(!(cb=da.has(ua,db)&&la(ta[db],ua[db],va,wa)))break;}if(cb){for(db in ua)if(da.has(ua,db)&&!(bb--))break;cb=!bb;}}va.pop();wa.pop();return cb;};da.isEqual=function(ta,ua){return la(ta,ua,[],[]);};da.isEmpty=function(ta){if(ta==null)return true;if(da.isArray(ta)||da.isString(ta))return ta.length===0;for(var ua in ta)if(da.has(ta,ua))return false;return true;};da.isElement=function(ta){return !!(ta&&ta.nodeType===1);};da.isArray=aa||function(ta){return p.call(ta)=='[object Array]';};da.isObject=function(ta){return ta===Object(ta);};ea(['Arguments','Function','String','Number','Date','RegExp'],function(ta){da['is'+ta]=function(ua){return p.call(ua)=='[object '+ta+']';};});if(!da.isArguments(arguments))da.isArguments=function(ta){return !!(ta&&da.has(ta,'callee'));};if(typeof(/./)!=='function')da.isFunction=function(ta){return typeof ta==='function';};da.isFinite=function(ta){return isFinite(ta)&&!isNaN(parseFloat(ta));};da.isNaN=function(ta){return da.isNumber(ta)&&ta!=+ta;};da.isBoolean=function(ta){return ta===true||ta===false||p.call(ta)=='[object Boolean]';};da.isNull=function(ta){return ta===null;};da.isUndefined=function(ta){return ta===void 0;};da.has=function(ta,ua){return q.call(ta,ua);};da.noConflict=function(){g._=h;return this;};da.identity=function(ta){return ta;};da.times=function(ta,ua,va){var wa=Array(Math.max(0,ta));for(var xa=0;xa<ta;xa++)wa[xa]=ua.call(va,xa);return wa;};da.random=function(ta,ua){if(ua==null){ua=ta;ta=0;}return ta+Math.floor(Math.random()*(ua-ta+1));};var ma={escape:{'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;',"'":'&#x27;'}};ma.unescape=da.invert(ma.escape);var na={escape:new RegExp('['+da.keys(ma.escape).join('')+']','g'),unescape:new RegExp('('+da.keys(ma.unescape).join('|')+')','g')};da.each(['escape','unescape'],function(ta){da[ta]=function(ua){if(ua==null)return '';return (''+ua).replace(na[ta],function(va){return ma[ta][va];});};});da.result=function(ta,ua){if(ta==null)return void 0;var va=ta[ua];return da.isFunction(va)?va.call(ta):va;};da.mixin=function(ta){ea(da.functions(ta),function(ua){var va=da[ua]=ta[ua];da.prototype[ua]=function(){var wa=[this._wrapped];m.apply(wa,arguments);return sa.call(this,va.apply(da,wa));};});};var oa=0;da.uniqueId=function(ta){var ua=++oa+'';return ta?ta+ua:ua;};da.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var pa=/(.)^/,qa={"'":"'",'\\':'\\','\r':'r','\n':'n','\t':'t','\u2028':'u2028','\u2029':'u2029'},ra=/\\|'|\r|\n|\t|\u2028|\u2029/g;da.template=function(ta,ua,va){var wa;va=da.defaults({},va,da.templateSettings);var xa=new RegExp([(va.escape||pa).source,(va.interpolate||pa).source,(va.evaluate||pa).source].join('|')+'|$','g'),ya=0,za="__p+='";ta.replace(xa,function(cb,db,eb,fb,gb){za+=ta.slice(ya,gb).replace(ra,function(hb){return '\\'+qa[hb];});if(db)za+="'+\n((__t=("+db+"))==null?'':_.escape(__t))+\n'";if(eb)za+="'+\n((__t=("+eb+"))==null?'':__t)+\n'";if(fb)za+="';\n"+fb+"\n__p+='";ya=gb+cb.length;return cb;});za+="';\n";if(!va.variable)za='with(obj||{}){\n'+za+'}\n';za="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+za+"return __p;\n";try{wa=new Function(va.variable||'obj','_',za);}catch(ab){ab.source=za;throw ab;}if(ua)return wa(ua,da);var bb=function(cb){return wa.call(this,cb,da);};bb.source='function('+(va.variable||'obj')+'){\n'+za+'}';return bb;};da.chain=function(ta){return da(ta).chain();};var sa=function(ta){return this._chain?da(ta).chain():ta;};da.mixin(da);ea(['pop','push','reverse','shift','sort','splice','unshift'],function(ta){var ua=j[ta];da.prototype[ta]=function(){var va=this._wrapped;ua.apply(va,arguments);if((ta=='shift'||ta=='splice')&&va.length===0)delete va[0];return sa.call(this,va);};});ea(['concat','join','slice'],function(ta){var ua=j[ta];da.prototype[ta]=function(){return sa.call(this,ua.apply(this._wrapped,arguments));};});da.extend(da.prototype,{chain:function(){this._chain=true;return this;},value:function(){return this._wrapped;}});}).call(this);},null);
__d("PageVoiceDropdownSelector.react",["AdsAssetSectionType","AdsLoadState","AdsPageAssetSelector.react","Image.react","ImageBlock.react","LayerHideOnBlur","React","ReactLayeredComponentMixin","XUIContextualDialog.react","XUIPopoverButton.react","underscore.ads","cx","emptyFunction","fbt","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){b.__markCompiled&&b.__markCompiled();'use strict';var v=m,w=v.PropTypes,x=300,y=12,z=m.createClass({displayName:"PageVoiceDropdownSelector",propTypes:{user:w.object.isRequired,permissions:w.object,pages:w.object.isRequired,selectedActorID:w.string,suppressed:w.bool.isRequired,onChange:w.func.isRequired,onClick:w.func.isRequired},mixins:[n],getDefaultProps:function(){return {searchBarVisible:false};},getInitialState:function(){var aa="";if(this.props.pages[this.props.selectedActorID]&&this.props.pages[this.props.selectedActorID].businessID)aa=""+this.props.pages[this.props.selectedActorID].businessID;return {dialogShown:false,textDisplay:this._getActorName(this.props.selectedActorID),selectedActorID:this.props.selectedActorID,selectedBusinessID:aa,searchQuery:""};},renderLayers:function(){return {contextualDialog:m.createElement(o,{contextRef:"open-menu-button",ref:"selector-dialog",shown:this.state.dialogShown,position:"below",alignment:"right",width:o.WIDTH.NORMAL,behaviors:{LayerHideOnBlur:l},onToggle:this._onToggle},this._renderLayerContent())};},render:function(){return (m.createElement(p,{type:"button",className:"_4z8-",ref:"open-menu-button",image:m.createElement(j,{className:"_4z8_",width:16,height:16,src:this._getSelectedImageSource()}),onClick:this._onToggleDialogClick,suppressed:this.props.suppressed}));},_renderLayerContent:function(){if(q.isEmpty(this.props.user))return null;var aa=this._getPageSelectorPages(),ba=null;if(this.props.selectedActorID===this.props.user.id)ba=(m.createElement("div",{className:"_55fc"}));return m.createElement("div",{className:"_21wq"},m.createElement(k,{className:(("_2sl3")+(' '+"_alf")+(this.props.selectedActorID===this.props.user.id?' '+"_2246":'')+(' '+"_alg")),onClick:function(){this.setState({selectedActorID:this.props.user.id,selectedSectionType:""},this._updateSelectedPage);}.bind(this)},m.createElement(j,{className:"_4-rj",width:30,height:30,src:this.props.user.thumbSrc}),m.createElement("div",{className:"_1wcv"},m.createElement("div",{className:(("_2sl4")+(' '+"_4c71"))},this.props.user.name," ",m.createElement("span",{className:"_uyb"},t._("(You)")),ba))),m.createElement(i,{maxListHeight:x,pages:aa,bookmarkedPages:[],listItemHoverStyle:"dark-blue",searchedPages:[],searchQuery:this.state.searchQuery,searchState:h.NOT_LOADED,selectedPageID:this.props.selectedActorID,selectedBusinessID:this.state.selectedBusinessID,selectedSectionType:g.OWNED,showBookmarks:false,showNonBizGroupTitle:false,showPageCount:true,unownedPages:[],onPageSelected:this._onPageSelected,onPageRemoved:function(){},onPageBookmarked:function(){},onSearch:this._onSearch,searchBarVisible:aa.length>=y}));},_onPageSelected:function(aa,ba,ca){this.setState({selectedActorID:aa},this._updateSelectedPage);},_onSearch:function(aa){this.setState({searchQuery:aa});},_onToggleDialogClick:function(){this.setState({dialogShown:!this.state.dialogShown},this.props.onClick);},_onToggle:function(aa){setTimeout(this.setState.bind(this,{dialogShown:aa},s),0);},_getSelectedImageSource:function(){var aa=this.state.selectedActorID;if(!aa)return "";if(aa===this.props.user.id){if(!this.props.user.thumbSrc)return "";return this.props.user.thumbSrc;}else{if(!this.props.pages[aa].thumbSrc)return "";return this.props.pages[aa].thumbSrc;}},_getPageSelectorPages:function(){var aa=q.map(this.props.pages,function(ba,ca){var da={id:ca,name:ba.name,picture:{data:{url:ba.thumbSrc}},userpermissions:{data:[{}]},sectionType:g.OWNED};if(ba.businessID)da.userpermissions.data[0]={business:{name:ba.businessName,id:ba.businessID}};return da;},this);u(aa[0].id===this.props.user.id);return aa.slice(1);},_getActorName:function(aa){if(aa===this.props.user.id){return this.props.user.name;}else return this.props.pages[aa].name;},_updateSelectedPage:function(){var aa=this.state.selectedActorID;if(!aa)return;this.setState({dialogShown:false});if(aa===this.props.user.id){this.setState({textDisplay:this.props.user.name});this.props.onChange({label:this.props.user.name,value:this.props.user.id});}else{this.setState({textDisplay:this.props.pages[aa].name});this.props.onChange({label:this.props.pages[aa].name,value:aa});}}});e.exports=z;},null);
__d("AjaxRequest",["ErrorUtils","Keys","URI","UserAgent_DEPRECATED","getSameOriginTransport","setTimeoutAcrossTransitions","PHPQuerySerializer","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();function o(s,t,u){this.xhr=k();if(!(t instanceof i))t=new i(t);if(u&&s=='GET'){t.setQueryData(u);}else this._params=u;this.method=s;this.uri=t;this.xhr.open(s,t);}var p=window.XMLHttpRequest&&('withCredentials' in new XMLHttpRequest());o.supportsCORS=function(){return p;};o.ERROR='ar:error';o.TIMEOUT='ar:timeout';o.PROXY_ERROR='ar:proxy error';o.TRANSPORT_ERROR='ar:transport error';o.SERVER_ERROR='ar:http error';o.PARSE_ERROR='ar:parse error';o.SERVICE_UNAVAILABLE='ar:noservice';o._inflight=[];function q(){var s=o._inflight;o._inflight=[];s.forEach(function(t){t.abort();});}function r(s){s.onJSON=s.onError=s.onSuccess=null;clearTimeout(s._timer);if(s.xhr&&s.xhr.readyState<4){s.xhr.abort();s.xhr=null;}o._inflight=o._inflight.filter(function(t){return t&&t!=s&&t.xhr&&t.xhr.readyState<4;});}n(o.prototype,{timeout:60000,streamMode:true,prelude:/^for \(;;\);/,status:null,_eol:-1,_call:function(s){if(this[s])this[s](this);},_parseStatus:function(){var s;try{this.status=this.xhr.status;s=this.xhr.statusText;}catch(t){if(this.xhr.readyState>=4){this.errorType=o.TRANSPORT_ERROR;this.errorText=t.message;}return;}if(this.status===0&&!(/^(file|ftp)/.test(this.uri))){this.errorType=o.TRANSPORT_ERROR;}else if(this.status>=100&&this.status<200){this.errorType=o.PROXY_ERROR;}else if(this.status>=200&&this.status<300){return;}else if(this.status>=300&&this.status<400){this.errorType=o.PROXY_ERROR;}else if(this.status>=400&&this.status<500){this.errorType=o.SERVER_ERROR;}else if(this.status===503){this.errorType=o.SERVICE_UNAVAILABLE;}else if(this.status>500&&this.status<600){this.errorType=o.PROXY_ERROR;}else if(this.status==1223){return;}else if(this.status>=12001&&this.status<=12156){this.errorType=o.TRANSPORT_ERROR;}else{s='unrecognized status code: '+this.status;this.errorType=o.ERROR;}if(!this.errorText)this.errorText=s;},_parseResponse:function(){var s,t=this.xhr.readyState;try{s=this.xhr.responseText||'';}catch(u){if(t>=4){this.errorType=o.ERROR;this.errorText='responseText not available - '+u.message;}return;}while(this.xhr){var v=this._eol+1,w=this.streamMode?s.indexOf('\n',v):s.length;if(w<0&&t==4)w=s.length;if(w<=this._eol)break;var x=s;if(this.streamMode)x=s.substr(v,w-v).replace(/^\s*|\s*$/g,'');if(v===0&&this.prelude)if(this.prelude.test(x))x=x.replace(this.prelude,'');this._eol=w;if(x){try{this.json=JSON.parse(x);}catch(u){var y=(/(<body[\S\s]+?<\/body>)/i).test(s)&&RegExp.$1,z={message:u.message,'char':v,excerpt:((v===0&&y)||x).substr(512)};this.errorType=o.PARSE_ERROR;this.errorText='parse error - '+JSON.stringify(z);return;}g.applyWithGuard(this._call,this,['onJSON']);}}},_onReadyState:function(){var s=this.xhr&&this.xhr.readyState||0;if(this.status==null&&s>=2)this._parseStatus();if(!this.errorType&&this.status!=null)if((s==3&&this.streamMode)||s==4)this._parseResponse();if(this.errorType||s==4){this._time=Date.now()-this._sentAt;this._call(!this.errorType?'onSuccess':'onError');r(this);}},send:function(s){this.xhr.onreadystatechange=function(){g.applyWithGuard(this._onReadyState,this,arguments);}.bind(this);var t=this.timeout;if(t)this._timer=l((function(){this.errorType=o.TIMEOUT;this.errorText='timeout';this._time=Date.now()-this._sentAt;this._call('onError');r(this);}).bind(this),t);o._inflight.push(this);if(this.method=='POST')this.xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');this._sentAt=Date.now();this.xhr.send(s?m.serialize(s):'');},abort:function(){r(this);},toString:function(){var s='[AjaxRequest readyState='+this.xhr.readyState;if(this.errorType)s+=' errorType='+this.errorType+' ('+this.errorText+')';return s+']';},toJSON:function(){var s={json:this.json,status:this.status,errorType:this.errorType,errorText:this.errorText,time:this._time};if(this.errorType)s.uri=this.uri;for(var t in s)if(s[t]==null)delete s[t];return s;}});if(window.addEventListener&&j.firefox())window.addEventListener('keydown',function(event){if(event.keyCode===h.ESC)event.prevent();},false);if(window.attachEvent)window.attachEvent('onunload',q);e.exports=o;},null);
__d("FBAjaxRequest",["AjaxRequest","copyProperties","getAsyncParams"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l,m){m=h(i(k),m);var n=new g(k,l,m);n.streamMode=false;var o=n._call;n._call=function(p){if(p=='onJSON'&&this.json){if(this.json.error){this.errorType=g.SERVER_ERROR;this.errorText='AsyncResponse error: '+this.json.error;}this.json=this.json.payload;}o.apply(this,arguments);};n.ajaxReqSend=n.send;n.send=function(p){this.ajaxReqSend(h(p,m));};return n;}e.exports=j;},null);
__d("CallbackManagerController",["ErrorUtils","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=function(j){this._pendingIDs=[];this._allRequests=[(void 0)];this._callbackArgHandler=j;};h(i.prototype,{executeOrEnqueue:function(j,k,l){l=l||{};var m=this._attemptCallback(k,j,l);if(m)return 0;this._allRequests.push({fn:k,request:j,options:l});var n=this._allRequests.length-1;this._pendingIDs.push(n);return n;},unsubscribe:function(j){delete this._allRequests[j];},reset:function(){this._allRequests=[];},getRequest:function(j){return this._allRequests[j];},runPossibleCallbacks:function(){var j=this._pendingIDs;this._pendingIDs=[];var k=[];j.forEach(function(l){var m=this._allRequests[l];if(!m)return;if(this._callbackArgHandler(m.request,m.options)){k.push(l);}else this._pendingIDs.push(l);}.bind(this));k.forEach(function(l){var m=this._allRequests[l];delete this._allRequests[l];this._attemptCallback(m.fn,m.request,m.options);}.bind(this));},_attemptCallback:function(j,k,l){var m=this._callbackArgHandler(k,l);if(m){var n={ids:k};g.applyWithGuard(j,n,m);}return !!m;}});e.exports=i;},null);
__d("KeyedCallbackManager",["CallbackManagerController","ErrorUtils"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(){"use strict";this.$KeyedCallbackManager0={};this.$KeyedCallbackManager1=new g(this.$KeyedCallbackManager2.bind(this));}i.prototype.executeOrEnqueue=function(j,k){"use strict";if(!(j instanceof Array)){var l=j,m=k;j=[j];k=function(n){m(n[l]);};}j=j.filter(function(n){var o=(n!==null&&n!==(void 0));if(!o)h.applyWithGuard(function(){throw new Error('KeyedCallbackManager.executeOrEnqueue: key '+JSON.stringify(n)+' is invalid');});return o;});return this.$KeyedCallbackManager1.executeOrEnqueue(j,k);};i.prototype.unsubscribe=function(j){"use strict";this.$KeyedCallbackManager1.unsubscribe(j);};i.prototype.reset=function(){"use strict";this.$KeyedCallbackManager1.reset();this.$KeyedCallbackManager0={};};i.prototype.getUnavailableResources=function(j){"use strict";var k=this.$KeyedCallbackManager1.getRequest(j),l=[];if(k)l=k.request.filter(function(m){return !this.$KeyedCallbackManager0[m];}.bind(this));return l;};i.prototype.getUnavailableResourcesFromRequest=function(j){"use strict";var k=Array.isArray(j)?j:[j];return k.filter(function(l){if(l!==null&&l!==(void 0))return !this.$KeyedCallbackManager0[l];},this);};i.prototype.addResourcesAndExecute=function(j){"use strict";Object.assign(this.$KeyedCallbackManager0,j);this.$KeyedCallbackManager1.runPossibleCallbacks();};i.prototype.setResource=function(j,k){"use strict";this.$KeyedCallbackManager0[j]=k;this.$KeyedCallbackManager1.runPossibleCallbacks();};i.prototype.getResource=function(j){"use strict";return this.$KeyedCallbackManager0[j];};i.prototype.getAllResources=function(){"use strict";return this.$KeyedCallbackManager0;};i.prototype.dumpResources=function(){"use strict";var j={};for(var k in this.$KeyedCallbackManager0){var l=this.$KeyedCallbackManager0[k];if(typeof l==='object')l=Object.assign({},l);j[k]=l;}return j;};i.prototype.$KeyedCallbackManager2=function(j){"use strict";var k={};for(var l=0;l<j.length;l++){var m=j[l],n=this.$KeyedCallbackManager0[m];if(typeof n=='undefined')return false;k[m]=n;}return [k];};e.exports=i;},null);
__d("BaseAsyncLoader",["KeyedCallbackManager","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={};function j(l,m,n){var o=new g(),p=false,q=[];function r(){if(!q.length||p)return;p=true;setTimeout(t,0);}function s(w){p=false;w.forEach(o.unsubscribe.bind(o));r();}function t(){var w={},x=[];q=q.filter(function(z){var aa=o.getUnavailableResources(z);if(aa.length){aa.forEach(function(ba){w[ba]=true;});x.push(z);return true;}return false;});var y=Object.keys(w);if(y.length){n(l,y,x,u.bind(null,x),v.bind(null,x));}else p=false;}function u(w,x){var y=x.payload[m]||x.payload;o.addResourcesAndExecute(y);s(w);}function v(w){s(w);}return {get:function(w,x){var y=o.executeOrEnqueue(w,x),z=o.getUnavailableResources(y);if(z.length){q.push(y);r();}},getCachedKeys:function(){return Object.keys(o.getAllResources());},getNow:function(w){return o.getResource(w)||null;},set:function(w){o.addResourcesAndExecute(w);}};}function k(l,m){throw ('BaseAsyncLoader can\'t be instantiated');}h(k.prototype,{_getLoader:function(){if(!i[this._endpoint])i[this._endpoint]=j(this._endpoint,this._type,this.send);return i[this._endpoint];},get:function(l,m){return this._getLoader().get(l,m);},getCachedKeys:function(){return this._getLoader().getCachedKeys();},getNow:function(l){return this._getLoader().getNow(l);},reset:function(){i[this._endpoint]=null;},set:function(l){this._getLoader().set(l);}});e.exports=k;},null);
__d("AjaxLoader",["copyProperties","FBAjaxRequest","BaseAsyncLoader"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l){this._endpoint=k;this._type=l;}g(j.prototype,i.prototype);j.prototype.send=function(k,l,m,n,o){var p=new h('GET',k,{ids:l});p.onJSON=function(q){n({payload:q.json});};p.onError=o;p.send();};e.exports=j;},null);
__d("ES6Promise",["setImmediate"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=(function(g,h){'use strict';var i=b('setImmediate'),j='pending',k='fulfilled',l='rejected',m='__slots$'+Math.random().toString(36).slice(2);function n(v){var w=v[m];if(!w){v[m]=w={};if(Object.defineProperty)try{Object.defineProperty(v,m,{value:w});}catch(x){}}return w;}function o(v){return v;}function p(v){throw v;}function q(v){var w=n(this);w.state=j;w.fulfillReactions=[];w.rejectReactions=[];var x=r(this),y=x.reject;try{v(x.resolve,y);}catch(z){y(z);}}function r(v){var w=false;return {resolve:function(x){if(!w){w=true;if(x===v)return s(v,l,new TypeError('Cannot resolve promise with itself'));if(!x||typeof x!=="object"||typeof x.then!=="function")return s(v,k,x);var y=r(v),z=y.reject;try{x.then(y.resolve,z);}catch(aa){z(aa);}}},reject:function(x){if(!w){w=true;s(v,l,x);}}};}function s(v,w,x){var y=n(v);if(y.state!==j)throw new Error('Settling a '+y.state+' promise');var z;if(w===k){z=y.fulfillReactions;}else if(w===l)z=y.rejectReactions;y.result=x;y.fulfillReactions=h;y.rejectReactions=h;y.state=w;var aa=z.length;aa&&i(function(){for(var ba=0;ba<aa;++ba)z[ba](y.result);});}q.all=function(v){var w=this;return new w(function(x,y){var z=[],aa=0;v.forEach(function(ba,ca){++aa;w.resolve(ba).then(function(da){if(!z.hasOwnProperty(ca)){z[ca]=da;--aa||x(z);}},y);});aa||x(z);});};q.race=function(v){var w=this;return new w(function(x,y){v.forEach(function(z){w.resolve(z).then(x,y);});});};q.resolve=function(v){return v instanceof q&&v.constructor===this?v:new this(function(w){w(v);});};q.reject=function(v){return new this(function(w,x){x(v);});};var t=q.prototype;t.then=function(v,w){var x,y,z=new this.constructor(function(ca,da){x=ca;y=da;});if(typeof x!=="function")throw new TypeError('Uncallable Promise resolve function');if(typeof y!=="function")throw new TypeError('Uncallable Promise reject function');if(v===h||v===null)v=o;if(w===h||w===null)w=p;var aa=n(this),ba=aa.state;if(ba===j){aa.fulfillReactions.push(u(x,y,v));aa.rejectReactions.push(u(x,y,w));}else if(ba===k||ba===l)i(u(x,y,ba===k?v:w,aa.result));return z;};function u(v,w,x,y){var z=arguments.length>3;return function(aa){try{aa=x(z?y:aa);}catch(ba){w(ba);return;}v(aa);};}t["catch"]=function(v){return this.then(h,v);};t.toString=function(){return '[object Promise]';};return q;}(Function('return this')()));},null);
__d("throwImmediate",["setImmediate"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(j){throw j;}function i(j){g(h,j);}e.exports=i;},null);
__d("Promise",["ES6Promise","invariant","throwImmediate"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.prototype;j["finally"]=function(k){return this.then(k,k);};j.done=function(k,l){this.then(k,l).then(null,i);};g.allObject=function(k){h(!Array.isArray(k));var l=Object.keys(k);return g.all(l.map(function(m){return k[m];})).then(function(m){var n={};m.forEach(function(o,p){n[l[p]]=o;});return n;});};e.exports=g;},null);
__d("XControllerURIBuilder",["URI","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j,k){"use strict";this.$XControllerURIBuilder0=j;this.$XControllerURIBuilder1=k;this.$XControllerURIBuilder2={};}i.prototype.setInt=function(j,k){"use strict";return this.__setParam(j,'Int',k);};i.prototype.setFloat=function(j,k){"use strict";return this.__setParam(j,'Float',k);};i.prototype.setString=function(j,k){"use strict";return this.__setParam(j,'String',k);};i.prototype.setExists=function(j,k){"use strict";if(k===false)k=(void 0);return this.__setParam(j,'Exists',k);};i.prototype.setBool=function(j,k){"use strict";return this.__setParam(j,'Bool',k);};i.prototype.setEnum=function(j,k){"use strict";return this.__setParam(j,'Enum',k);};i.prototype.setIntVector=function(j,k){"use strict";return this.__setParam(j,'IntVector',k);};i.prototype.setFloatVector=function(j,k){"use strict";return this.__setParam(j,'FloatVector',k);};i.prototype.setStringVector=function(j,k){"use strict";return this.__setParam(j,'StringVector',k);};i.prototype.setEnumVector=function(j,k){"use strict";return this.__setParam(j,'EnumVector',k);};i.prototype.setIntToIntMap=function(j,k){"use strict";return this.__setParam(j,'IntToIntMap',k);};i.prototype.setIntToFloatMap=function(j,k){"use strict";return this.__setParam(j,'IntToFloatMap',k);};i.prototype.setIntToStringMap=function(j,k){"use strict";return this.__setParam(j,'IntToStringMap',k);};i.prototype.setIntToBoolMap=function(j,k){"use strict";return this.__setParam(j,'IntToBoolMap',k);};i.prototype.setStringToIntMap=function(j,k){"use strict";return this.__setParam(j,'StringToIntMap',k);};i.prototype.setStringToFloatMap=function(j,k){"use strict";return this.__setParam(j,'StringToFloatMap',k);};i.prototype.setStringToStringMap=function(j,k){"use strict";return this.__setParam(j,'StringToStringMap',k);};i.prototype.setStringToBoolMap=function(j,k){"use strict";return this.__setParam(j,'StringToBoolMap',k);};i.prototype.setHackType=function(j,k){"use strict";return this.__setParam(j,'HackType',k);};i.prototype.__validateRequiredParamsExistence=function(){"use strict";for(var j in this.$XControllerURIBuilder1)h(!this.$XControllerURIBuilder1[j].required||this.$XControllerURIBuilder2.hasOwnProperty(j));};i.prototype.__setParam=function(j,k,l){"use strict";h(j in this.$XControllerURIBuilder1);var m=this.$XControllerURIBuilder1[j].type;h(m===k);this.__setParamInt(j,l);return this;};i.prototype.__setParamInt=function(j,k){"use strict";this.$XControllerURIBuilder2[j]=k;};i.prototype.getURI=function(){"use strict";this.__validateRequiredParamsExistence();var j={},k='',l=new RegExp(/^\{(\?)?(\*)?(.+?)\}$/),m=this.$XControllerURIBuilder0.split('/'),n=false;for(var o=0;o<m.length;o++){var p=m[o];if(p==='')continue;var q=l.exec(p);if(!q){k+='/'+p;}else{var r=q[1]==='?',s=q[2]==='*',t=q[3],u=this.$XControllerURIBuilder1[t];h(u);if(r&&n)continue;var v=this.$XControllerURIBuilder2[t];if(v==null&&r){n=true;continue;}h(v!=null);k+='/'+v;j[t]=true;}}if(this.$XControllerURIBuilder0.slice(-1)==='/')k+='/';var w=new g(k);for(u in this.$XControllerURIBuilder2){v=this.$XControllerURIBuilder2[u];if(!j[u]&&v!=null){var x=this.$XControllerURIBuilder1[u];w.addQueryData(u,x&&x.type==='Exists'?null:v);}}return w;};i.create=function(j,k){return i.bind(null,j,k);};e.exports=i;},null);
__d("XRequest",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=function(j,k,l){var m;switch(j){case 'Bool':m=(k&&k!=='false')||false;break;case 'Int':m=parseInt(k,10);g(!isNaN(m));break;case 'Float':m=parseFloat(k,10);g(!isNaN(m));break;case 'String':m=k.toString();break;case 'Enum':if(l===0){m=h('Int',k,null);}else if(l===1){m=h('String',k,null);}else if(l===2){m=k;}else g(false);break;default:var n,o,p,q;if((n=/^Nullable(\w+)$/.exec(j))){if(k===null){m=null;}else m=h(n[1],k,l);}else if((o=/^(\w+)Vector$/.exec(j))){if(!Array.isArray(k)){m=k.toString();m=m===''?[]:m.split(',');}else m=k;var r=o[1];g(typeof r==='string');m=m.map(function(u){return h(r,u,l&&l.member);});}else if((p=/^(\w+)Set$/.exec(j))){if(!Array.isArray(k)){m=k.toString();m=m===''?[]:m.split(',');}else m=k;m=m.reduce(function(u,v){u[v]=v;return u;},{});r=p[1];g(typeof r==='string');m=Object.keys(m).map(function(u){return h(r,m[u],l&&l.member);});}else if((q=/^(\w+)To(\w+)Map$/.exec(j))){m={};var s=q[1],t=q[2];g(typeof s==='string'&&typeof t==='string');Object.keys(k).forEach(function(u){m[h(s,u,l&&l.key)]=h(t,k[u],l&&l.value);});}else g(false);}return m;};function i(j,k,l){"use strict";this.$XRequest0=k;this.$XRequest1=Object.assign({},l.getQueryData());var m=j.split("/").filter(function(s){return s;}),n=l.getPath().split("/").filter(function(s){return s;});for(var o=0;o<m.length;++o){var p=/^\{(\?)?(\w+)\}$/.exec(m[o]);if(!p){g(m[o]===n[o]);continue;}var q=!!p[1],r=p[2];g(this.$XRequest0.hasOwnProperty(r));if(this.$XRequest0[r].required){g(!q);this.$XRequest1[r]=n[o];}else{g(q);if(n[o])this.$XRequest1[r]=n[o];}}Object.keys(this.$XRequest0).forEach(function(s){g(!this.$XRequest0[s].required||this.$XRequest1.hasOwnProperty(s));},this);}i.prototype.getExists=function(j){"use strict";return this.$XRequest1[j]!==(void 0);};i.prototype.getBool=function(j){"use strict";return this.$XRequest2(j,'Bool');};i.prototype.getInt=function(j){"use strict";return this.$XRequest2(j,'Int');};i.prototype.getFloat=function(j){"use strict";return this.$XRequest2(j,'Float');};i.prototype.getString=function(j){"use strict";return this.$XRequest2(j,'String');};i.prototype.getEnum=function(j){"use strict";return this.$XRequest2(j,'Enum');};i.prototype.getOptionalInt=function(j){"use strict";return this.$XRequest3(j,'Int');};i.prototype.getOptionalFloat=function(j){"use strict";return this.$XRequest3(j,'Float');};i.prototype.getOptionalString=function(j){"use strict";return this.$XRequest3(j,'String');};i.prototype.getOptionalEnum=function(j){"use strict";return this.$XRequest3(j,'Enum');};i.prototype.getIntVector=function(j){"use strict";return this.$XRequest2(j,'IntVector');};i.prototype.getFloatVector=function(j){"use strict";return this.$XRequest2(j,'FloatVector');};i.prototype.getStringVector=function(j){"use strict";return this.$XRequest2(j,'StringVector');};i.prototype.getEnumVector=function(j){"use strict";return this.$XRequest2(j,'EnumVector');};i.prototype.getOptionalIntVector=function(j){"use strict";return this.$XRequest3(j,'IntVector');};i.prototype.getOptionalFloatVector=function(j){"use strict";return this.$XRequest3(j,'FloatVector');};i.prototype.getOptionalStringVector=function(j){"use strict";return this.$XRequest3(j,'StringVector');};i.prototype.getOptionalEnumVector=function(j){"use strict";return this.$XRequest3(j,'EnumVector');};i.prototype.getIntSet=function(j){"use strict";return this.$XRequest2(j,'IntSet');};i.prototype.getStringSet=function(j){"use strict";return this.$XRequest2(j,'StringSet');};i.prototype.getOptionalIntSet=function(j){"use strict";return this.$XRequest3(j,'IntSet');};i.prototype.getOptionalStringSet=function(j){"use strict";return this.$XRequest3(j,'StringSet');};i.prototype.getEnumToBoolMap=function(j){"use strict";return this.$XRequest2(j,'EnumToBoolMap');};i.prototype.getEnumToEnumMap=function(j){"use strict";return this.$XRequest2(j,'EnumToEnumMap');};i.prototype.getEnumToFloatMap=function(j){"use strict";return this.$XRequest2(j,'EnumToFloatMap');};i.prototype.getEnumToIntMap=function(j){"use strict";return this.$XRequest2(j,'EnumToIntMap');};i.prototype.getEnumToStringMap=function(j){"use strict";return this.$XRequest2(j,'EnumToStringMap');};i.prototype.getIntToBoolMap=function(j){"use strict";return this.$XRequest2(j,'IntToBoolMap');};i.prototype.getIntToEnumMap=function(j){"use strict";return this.$XRequest2(j,'IntToEnumMap');};i.prototype.getIntToFloatMap=function(j){"use strict";return this.$XRequest2(j,'IntToFloatMap');};i.prototype.getIntToIntMap=function(j){"use strict";return this.$XRequest2(j,'IntToIntMap');};i.prototype.getIntToStringMap=function(j){"use strict";return this.$XRequest2(j,'IntToStringMap');};i.prototype.getStringToBoolMap=function(j){"use strict";return this.$XRequest2(j,'StringToBoolMap');};i.prototype.getStringToEnumMap=function(j){"use strict";return this.$XRequest2(j,'StringToEnumMap');};i.prototype.getStringToFloatMap=function(j){"use strict";return this.$XRequest2(j,'StringToFloatMap');};i.prototype.getStringToIntMap=function(j){"use strict";return this.$XRequest2(j,'StringToIntMap');};i.prototype.getStringToStringMap=function(j){"use strict";return this.$XRequest2(j,'StringToStringMap');};i.prototype.getOptionalEnumToBoolMap=function(j){"use strict";return this.$XRequest3(j,'EnumToBoolMap');};i.prototype.getOptionalEnumToEnumMap=function(j){"use strict";return this.$XRequest3(j,'EnumToEnumMap');};i.prototype.getOptionalEnumToFloatMap=function(j){"use strict";return this.$XRequest3(j,'EnumToFloatMap');};i.prototype.getOptionalEnumToIntMap=function(j){"use strict";return this.$XRequest3(j,'EnumToIntMap');};i.prototype.getOptionalEnumToStringMap=function(j){"use strict";return this.$XRequest3(j,'EnumToStringMap');};i.prototype.getOptionalIntToBoolMap=function(j){"use strict";return this.$XRequest3(j,'IntToBoolMap');};i.prototype.getOptionalIntToEnumMap=function(j){"use strict";return this.$XRequest3(j,'IntToEnumMap');};i.prototype.getOptionalIntToFloatMap=function(j){"use strict";return this.$XRequest3(j,'IntToFloatMap');};i.prototype.getOptionalIntToIntMap=function(j){"use strict";return this.$XRequest3(j,'IntToIntMap');};i.prototype.getOptionalIntToStringMap=function(j){"use strict";return this.$XRequest3(j,'IntToStringMap');};i.prototype.getOptionalStringToBoolMap=function(j){"use strict";return this.$XRequest3(j,'StringToBoolMap');};i.prototype.getOptionalStringToEnumMap=function(j){"use strict";return this.$XRequest3(j,'StringToEnumMap');};i.prototype.getOptionalStringToFloatMap=function(j){"use strict";return this.$XRequest3(j,'StringToFloatMap');};i.prototype.getOptionalStringToIntMap=function(j){"use strict";return this.$XRequest3(j,'StringToIntMap');};i.prototype.getOptionalStringToStringMap=function(j){"use strict";return this.$XRequest3(j,'StringToStringMap');};i.prototype.getEnumToNullableEnumMap=function(j){"use strict";return this.$XRequest2(j,'EnumToNullableEnumMap');};i.prototype.getEnumToNullableFloatMap=function(j){"use strict";return this.$XRequest2(j,'EnumToNullableFloatMap');};i.prototype.getEnumToNullableIntMap=function(j){"use strict";return this.$XRequest2(j,'EnumToNullableIntMap');};i.prototype.getEnumToNullableStringMap=function(j){"use strict";return this.$XRequest2(j,'EnumToNullableStringMap');};i.prototype.getIntToNullableEnumMap=function(j){"use strict";return this.$XRequest2(j,'IntToNullableEnumMap');};i.prototype.getIntToNullableFloatMap=function(j){"use strict";return this.$XRequest2(j,'IntToNullableFloatMap');};i.prototype.getIntToNullableIntMap=function(j){"use strict";return this.$XRequest2(j,'IntToNullableIntMap');};i.prototype.getIntToNullableStringMap=function(j){"use strict";return this.$XRequest2(j,'IntToNullableStringMap');};i.prototype.getStringToNullableEnumMap=function(j){"use strict";return this.$XRequest2(j,'StringToNullableEnumMap');};i.prototype.getStringToNullableFloatMap=function(j){"use strict";return this.$XRequest2(j,'StringToNullableFloatMap');};i.prototype.getStringToNullableIntMap=function(j){"use strict";return this.$XRequest2(j,'StringToNullableIntMap');};i.prototype.getStringToNullableStringMap=function(j){"use strict";return this.$XRequest2(j,'StringToNullableStringMap');};i.prototype.getOptionalEnumToNullableEnumMap=function(j){"use strict";return this.$XRequest3(j,'EnumToNullableEnumMap');};i.prototype.getOptionalEnumToNullableFloatMap=function(j){"use strict";return this.$XRequest3(j,'EnumToNullableFloatMap');};i.prototype.getOptionalEnumToNullableIntMap=function(j){"use strict";return this.$XRequest3(j,'EnumToNullableIntMap');};i.prototype.getOptionalEnumToNullableStringMap=function(j){"use strict";return this.$XRequest3(j,'EnumToNullableStringMap');};i.prototype.getOptionalIntToNullableEnumMap=function(j){"use strict";return this.$XRequest3(j,'IntToNullableEnumMap');};i.prototype.getOptionalIntToNullableFloatMap=function(j){"use strict";return this.$XRequest3(j,'IntToNullableFloatMap');};i.prototype.getOptionalIntToNullableIntMap=function(j){"use strict";return this.$XRequest3(j,'IntToNullableIntMap');};i.prototype.getOptionalIntToNullableStringMap=function(j){"use strict";return this.$XRequest3(j,'IntToNullableStringMap');};i.prototype.getOptionalStringToNullableEnumMap=function(j){"use strict";return this.$XRequest3(j,'StringToNullableEnumMap');};i.prototype.getOptionalStringToNullableFloatMap=function(j){"use strict";return this.$XRequest3(j,'StringToNullableFloatMap');};i.prototype.getOptionalStringToNullableIntMap=function(j){"use strict";return this.$XRequest3(j,'StringToNullableIntMap');};i.prototype.getOptionalStringToNullableStringMap=function(j){"use strict";return this.$XRequest3(j,'StringToNullableStringMap');};i.prototype.$XRequest2=function(j,k){"use strict";this.$XRequest4(j,k);var l=this.$XRequest0[j];if(!this.$XRequest1.hasOwnProperty(j)&&l.defaultValue){g(!l.required);return h(k,l.defaultValue,l.enumType);}g(l.required||k==='Bool'||l.defaultValue!=null);return h(k,this.$XRequest1[j],l.enumType);};i.prototype.$XRequest3=function(j,k){"use strict";this.$XRequest4(j,k);var l=this.$XRequest0[j];g(!l.required);g(!l.defaultValue);if(this.$XRequest1.hasOwnProperty(j))return h(k,this.$XRequest1[j],l.enumType);return null;};i.prototype.$XRequest4=function(j,k){"use strict";g(this.$XRequest0.hasOwnProperty(j));g(this.$XRequest0[j].type===k);};e.exports=i;},null);
__d("XController",["XControllerURIBuilder","XRequest"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j,k){"use strict";this.$XController0=j;this.$XController1=k;}i.prototype.getURIBuilder=function(j){"use strict";var k=new g(this.$XController0,this.$XController1);if(j){var l=this.getRequest(j);Object.keys(this.$XController1).forEach(function(m){var n=this.$XController1[m],o='';if(!n.required&&!n.hasOwnProperty('defaultValue'))o='Optional';var p='get'+o+n.type,q=l[p](m);if(q==null||(n.hasOwnProperty('defaultValue')&&q===n.defaultValue))return;var r='set'+n.type;k[r](m,q);},this);}return k;};i.prototype.getRequest=function(j){"use strict";return new h(this.$XController0,this.$XController1,j);};i.create=function(j,k){return new i(j,k);};e.exports=i;},null);
__d("XChatUserInfoAllAsyncController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/chat\/user_info_all\/",{viewer:{type:"Int",required:true}});},null);
__d("ShortProfilesBootstrapper",["AsyncRequest","BanzaiODS","CurrentUser","JSLogger","Promise","XChatUserInfoAllAsyncController"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=5,n=10000,o=l.getURIBuilder().setInt('viewer',i.getID()).getURI(),p=j.create('short_profiles');function q(r){this.$ShortProfilesBootstrapper0=r;this.$ShortProfilesBootstrapper1=new k(function(s,t){this.$ShortProfilesBootstrapper2=s;this.$ShortProfilesBootstrapper3=t;}.bind(this));this.$ShortProfilesBootstrapper4=false;this.$ShortProfilesBootstrapper5=null;this.$ShortProfilesBootstrapper6=0;this.$ShortProfilesBootstrapper7=0;this.$ShortProfilesBootstrapper8=0;this.$ShortProfilesBootstrapper9=false;this.$ShortProfilesBootstrappera=false;}q.prototype.fetchAll=function(){this.$ShortProfilesBootstrapperb();if(this.$ShortProfilesBootstrapper4||this.$ShortProfilesBootstrapper5)return this.$ShortProfilesBootstrapper1;if(this.$ShortProfilesBootstrapper6>=m){this.$ShortProfilesBootstrapperc();return this.$ShortProfilesBootstrapper1;}this.$ShortProfilesBootstrapper6++;this.$ShortProfilesBootstrapperd();this.$ShortProfilesBootstrapper5=new g(o).setHandler(function(r){this.$ShortProfilesBootstrapper5=null;this.$ShortProfilesBootstrapper4=true;this.$ShortProfilesBootstrappere();this.$ShortProfilesBootstrapper0(r.payload);this.$ShortProfilesBootstrapper2();}.bind(this)).setErrorHandler(function(){this.$ShortProfilesBootstrapper5=null;this.$ShortProfilesBootstrapper7++;this.$ShortProfilesBootstrapperf();}.bind(this)).setTimeoutHandler(n,function(){this.$ShortProfilesBootstrapper5=null;this.$ShortProfilesBootstrapper8++;this.$ShortProfilesBootstrapperg();}.bind(this)).setAllowCrossPageTransition(true);this.$ShortProfilesBootstrapper5.send();return this.$ShortProfilesBootstrapper1;};q.prototype.isBootstrapped=function(){return this.$ShortProfilesBootstrapper4;};q.prototype.isBootstrapping=function(){return !!this.$ShortProfilesBootstrapper5;};q.prototype.getAttemptCount=function(){return this.$ShortProfilesBootstrapper6;};q.prototype.getErrorCount=function(){return this.$ShortProfilesBootstrapper7;};q.prototype.getTimeoutCount=function(){return this.$ShortProfilesBootstrapper8;};q.prototype.$ShortProfilesBootstrapperb=function(){if(!this.$ShortProfilesBootstrapper9){p.log('bootstrap_start');h.bumpEntityKey('chat.web','typeahead.bootstrap.starts');this.$ShortProfilesBootstrapper9=true;}};q.prototype.$ShortProfilesBootstrapperd=function(){p.log('bootstrap_attempt');h.bumpEntityKey('chat.web','typeahead.bootstrap.attempts');};q.prototype.$ShortProfilesBootstrappere=function(){p.log('bootstrap_success');h.bumpEntityKey('chat.web','typeahead.bootstrap.successes');if(this.$ShortProfilesBootstrapper6>1)h.bumpEntityKey('chat.web','typeahead.bootstrap.successes_after_retries');};q.prototype.$ShortProfilesBootstrapperf=function(){p.log('bootstrap_error');h.bumpEntityKey('chat.web','typeahead.bootstrap.errors');};q.prototype.$ShortProfilesBootstrapperg=function(){p.log('bootstrap_timeout');h.bumpEntityKey('chat.web','typeahead.bootstrap.timeouts');};q.prototype.$ShortProfilesBootstrapperc=function(){if(!this.$ShortProfilesBootstrappera){p.log('bootstrap_giveup');h.bumpEntityKey('chat.web','typeahead.bootstrap.giveups');this.$ShortProfilesBootstrappera=true;this.$ShortProfilesBootstrapper3();}};e.exports=q;},null);
__d("XChatUserInfoAsyncController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/chat\/user_info\/",{ids:{type:"IntVector",defaultValue:[]}});},null);
__d("ShortProfiles",["AjaxLoader","Arbiter","JSLogger","ShortProfilesBootstrapper","XChatUserInfoAsyncController"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=null,m=new g(k.getURIBuilder().getURI().toString(),'profiles'),n={get:function(p,q){this.getMulti([p],function(r){q(r[p],p);});},getMulti:function(p,q){function r(s){q(o(s));}m.get(p,r);},getNow:function(p){return o(m.getNow(p)||null);},getNowUnsafe:function(p){return m.getNow(p)||null;},getCachedProfileIDs:function(){return m.getCachedKeys();},hasAll:function(){return !!l&&l.isBootstrapped();},fetchAll:function(){if(!l)l=new j(function(p){m.set(p);});return l.fetchAll();},set:function(p,q){var r={};r[p]=q;this.setMulti(r);},setMulti:function(p){m.set(o(p));}};function o(p){return JSON.parse(JSON.stringify(p));}h.subscribe(i.DUMP_EVENT,function(p,q){var r=n.getCachedProfileIDs(),s=i.getEntries(function(t){return (t.cat=='short_profiles'||t.cat=='chat_typeahead');});q.chat_typeahead={bootstrapped:l&&l.isBootstrapped(),bootstrapping:l&&l.isBootstrapping(),bootstrap_attempts:l&&l.getAttemptCount(),bootstrap_errors:l&&l.getErrorCount(),bootstrap_timeouts:l&&l.getTimeoutCount(),entries:r,entry_count:r.length,history:s};});e.exports=n;},null);
__d("XUIDialogBody.react",["React","cx","joinClasses","XUIText.react"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"XUIDialogBody",propTypes:{useCustomPadding:l.bool},render:function(){var n=(("_4-i2")+(!this.props.useCustomPadding?' '+"_57_a":''));return (g.createElement(j,g.__spread({},this.props,{className:i(this.props.className,n),display:"block",size:"medium"}),this.props.children));}});e.exports=m;},null);
__d("XUIDialogFooter.react",["LeftRight.react","React","XUIOverlayFooter.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=h,m=l.PropTypes,n=h.createClass({displayName:"XUIDialogFooter",propTypes:{fullBleedBorder:m.bool,leftContent:m.object},render:function(){var o=(("_5a8u")+(this.props.fullBleedBorder?' '+"_27qq":''));return (h.createElement(i,h.__spread({},this.props,{className:k(this.props.className,o)}),h.createElement("div",{className:"_50f4"},h.createElement(g,null,h.createElement("div",null,this.props.leftContent),h.createElement("div",null,this.props.children)))));}});e.exports=n;},null);
__d("XUIDialogButton.react",["React","XUIButton.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"XUIDialogButton",propTypes:{action:l.oneOf(['cancel','confirm','button'])},render:function(){var n=this.props.action,o=((n=='confirm'?"layerConfirm":'')+(n=='cancel'?' '+"layerCancel":'')+(n=='button'?' '+"layerButton":'')),p=this.props.href;if(n=='cancel'){p='#';}else if(n=='button')p=p||'#';return (g.createElement(h,g.__spread({},this.props,{className:j(this.props.className,o),href:p})));}});e.exports=m;},null);
__d("XUIDialogOkayButton.react",["React","XUIDialogButton.react","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=g,m=l.PropTypes,n=g.createClass({displayName:"XUIDialogOkayButton",propTypes:{action:m.oneOf(['confirm','cancel','button']).isRequired},render:function(){return (g.createElement(h,g.__spread({},this.props,{className:k(this.props.className,"_2z1w"),action:this.props.action,label:j._("OK")})));}});e.exports=n;},null);
__d("MenuSeparator",["DOM","CSS","MenuItemInterface","cx"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in i)if(i.hasOwnProperty(k))m[k]=i[k];var l=i===null?null:i.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=i;function m(n){"use strict";i.call(this,n);this._data=n;this.showFn=this._data.should_show_fn;}m.prototype.updateShownState=function(n){"use strict";if(this.showFn){this._isHidden=!this.showFn(n);if(this._root)h.conditionShow(this._root,!this._isHidden);}};m.prototype.isShown=function(n){"use strict";var o=this.showFn?this.showFn(n):true;return o;};m.prototype.render=function(){"use strict";var n="_54ak";if(this._data.className)n+=' '+this._data.className;var o=this._data.label||'',p=g.create('li',{className:n,role:'separator'},o);if(this._isHidden)h.hide(p);return p;};e.exports=m;},null);
__d("MenuSeparator.react",["MenuSeparator"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(j){j.isReactLegacyFactory={};j.type=j;}var i=g;h(i);e.exports=i;},null);
__d("XUIMenuSeparator.react",["MenuSeparator.react"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g;e.exports=h;},null);
__d("tidyEvent",["Run"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=[];function i(){while(h.length){var l=h.shift();l&&l.remove?l.remove():l.unsubscribe();}}function j(l){var m;function n(){if(!m)return;m.apply(l,arguments);m=null;l=null;}if(l.remove){m=l.remove;l.remove=n;}else{m=l.unsubscribe;l.unsubscribe=n;}return l;}function k(l){if(!h.length)g.onLeave(i);if(Array.isArray(l)){for(var m=0;m<l.length;m++)h.push(j(l[m]));}else h.push(j(l));return l;}e.exports=k;},null);
__d("ActorSelector.react",["ContextualLayerBlind","CurrentUser","DOMScroll","Event","Image.react","LayerFadeOnHide","LayerFadeOnShow","PageTransitions","PageVoiceDropdownSelector.react","React","ReactLayeredComponentMixin","ShortProfiles","Tooltip","XUIContextualDialog.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogOkayButton.react","XUIMenuSeparator.react","XUISelector.react","XUISpinner.react","underscore.ads","cx","ix","fbt","tidyEvent","BrandsAppConfig"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea){b.__markCompiled&&b.__markCompiled();var fa=y.Option,ga=b('BrandsAppConfig').gk,ha=p,ia=ha.PropTypes,ja=32,ka=195,la=500,ma=175,na=16,oa=p.createClass({displayName:"ActorSelector",mixins:[q],propTypes:{actorIDs:ia.array.isRequired,actorPermissions:ia.object,covered:ia.bool,loading:ia.bool,nuxBody:ia.node,nuxEnabledCovered:ia.bool,nuxEnabledUncovered:ia.bool,nuxHoverContext:ia.object,onChange:ia.func.isRequired,onCompleteNux:ia.func,selectedActorID:ia.string,settingsURI:ia.string,showName:ia.bool,showNameMaxWidth:ia.number,suppressed:ia.bool,tooltipConstructor:ia.func,tooltipConstructorCovered:ia.func},getDefaultProps:function(){return {suppressed:true};},getInitialState:function(){return {actorData:{},clicked:false,nuxShown:false};},componentWillMount:function(){this._fetchActorData();},render:function(){var pa=ga.business_identity_page_voice_selector;if(!this.props.selectedActorID||!this.state.actorData[this.props.selectedActorID])return p.createElement("div",null);var qa=this._renderSelectorOptions();if(qa.length<1)return p.createElement("div",null);if(pa){return this._renderNewComponent();}else return this._renderOldComponent(qa);},_renderOldComponent:function(pa){var qa=this._isCovered();return (p.createElement("span",{className:"_6vh"},p.createElement(z,{className:((!this.props.loading?"hidden_elem":'')+(!this.props.suppressed?' '+"_3-8_":''))}),p.createElement(y,{haschevron:!qa,className:"_6vi",disabled:this.props.loading,maxheight:ka,maxwidth:qa?na:this.props.showName?this.props.showNameMaxWidth:ja,onChange:this.props.onChange,onClick:this._onClickSelector,ref:"selector",suppressed:this.props.suppressed,value:this.props.selectedActorID},pa)));},_renderNewComponent:function(){return (p.createElement("span",null,p.createElement(z,{className:((!this.props.loading?"hidden_elem":'')+(' '+"_3-8_"))}),p.createElement(o,{ref:"selector",user:aa.values(this.state.actorData)[0],permissions:this.props.actorPermissions,pages:this.state.actorData,onChange:this.props.onChange,onClick:this._onClickSelector,selectedActorID:this.props.selectedActorID,searchBarVisible:true,showName:this.props.showName,showNameMaxWidth:this.props.showNameMaxWidth,suppressed:this.props.suppressed})));},renderLayers:function(){if(!this.refs.selector)return null;var pa=null;if(this.props.settingsURI)pa=p.createElement("a",{onClick:this._onClickSettings,style:{verticalAlign:'middle'}},da._("Post Attribution Settings"));if(this.state.nuxShown)i.ensureVisible(p.findDOMNode(this.refs.selector),null,ma);return {nux:p.createElement(t,{alignment:"right",behaviors:{ContextualLayerBlind:g,LayerFadeOnHide:l,LayerFadeOnShow:m},hasActionableContext:true,contextRef:"selector",position:"below",shown:this.state.nuxShown,width:t.WIDTH.NORMAL},p.createElement(u,null,this.props.nuxBody),p.createElement(v,{leftContent:pa},p.createElement(w,{action:"button",use:"confirm",onClick:this._onCompleteNux})))};},_renderSelectorOptions:function(){var pa=[],qa=[];this.props.actorIDs.map(function(va){if(this._isBusinessManagedActor(va)){qa.push(va);}else pa.push(va);}.bind(this));var ra=pa.map(this._renderActorOption);if(qa&&qa.length>0){var sa=[],ta=(p.createElement(k,{src:ca('/images/bizsite/busmgr_bookmark_icon_16px.png'),alt:""})),ua=this._groupActorIDsByBusinessID(qa);aa.map(ua,function(va,wa){sa.push(p.createElement(x,{key:'separator_'+wa}));var xa=aa.values(ua[wa])[0],ya=xa?this.state.actorData[xa].businessName:wa;sa.push(p.createElement(fa,{disabled:true,icon:ta,key:'option_'+wa},ya));aa.map(va,function(za){sa.push(this._renderActorOption(za));}.bind(this));}.bind(this));}ra=ra.concat(sa);return ra;},_renderActorOption:function(pa){var qa=this._isCovered(),ra=this.state.actorData[pa];if(!ra)return;var sa=!!ra.businessID,ta=p.createElement(k,{className:"_6vg",height:na,src:qa&&h.getID()===pa?ca('images/pages/voice/flag.png'):ra.thumbSrc,width:na,alt:""});return (p.createElement(fa,{className:((sa?"plm":'')),icon:ta,key:'actor_'+pa,value:pa},ra.name));},componentDidMount:function(){this._setTooltip();if(this._canShowNux())if(this.props.nuxHoverContext){var pa=ea(j.listen(this.props.nuxHoverContext,'mouseenter',function(){var qa=setTimeout(function(){pa.remove();if(this._canShowNux())this.setState({nuxShown:true});}.bind(this),la),ra=ea(j.listen(this.props.nuxHoverContext,'mouseleave',function(){clearTimeout(qa);ra.remove();}));}.bind(this)));}else this.setState({nuxShown:true});},componentDidUpdate:function(pa){if(this.props.actorIDs.toString()!==pa.actorIDs.toString())this._fetchActorData();this._setTooltip();},_canShowNux:function(){return (this.props.nuxEnabledCovered&&this._isCovered())||(this.props.nuxEnabledUncovered&&!this._isCovered());},_fetchActorData:function(){r.getMulti(this.props.actorIDs,function(pa){this.setState({actorData:pa});}.bind(this));},_isCovered:function(){return (this.props.coverEnabled&&!this.state.clicked&&h.getID()===this.props.selectedActorID);},_onClickSelector:function(){this.setState({clicked:true});if(this.state.nuxShown)this._onCompleteNux();},_onClickSettings:function(){this._onCompleteNux();n.go(this.props.settingsURI);},_onCompleteNux:function(){this.setState({nuxShown:false});if(this.props.onCompleteNux)this.props.onCompleteNux({isCovered:this._isCovered()});},_setTooltip:function(){if(!this.refs.selector)return;var pa=this.state.actorData[this.props.selectedActorID];if(!pa)return;var qa=this._isCovered()&&this.props.tooltipConstructorCovered?this.props.tooltipConstructorCovered:this.props.tooltipConstructor;if(!qa)return;s.set(p.findDOMNode(this.refs.selector),qa(pa.name),'above','right');},_isBusinessManagedActor:function(pa){return (this.state.actorData[pa]&&this.state.actorData[pa].businessID);},_groupActorIDsByBusinessID:function(pa){var qa={};aa.forEach(pa,function(ra,sa){var ta=this.state.actorData[sa]?this.state.actorData[sa].businessID:null;if(ta){if(!ra[ta])ra[ta]={};ra[ta][sa]=sa;}}.bind(this,qa));return qa;}});e.exports=oa;},null);
__d("AttachmentCTA",["Style"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=10,i={init:function(j){var k=j.parentNode,l=Math.max(k.scrollHeight-j.scrollHeight-h*2,0);g.set(j,'margin-top',l+'px');}};e.exports=i;},null);
__d("EgoAdsObjectSet",["DOM","csx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(){"use strict";this._allEgoUnits=[];this._egoUnits=[];}i.prototype.init=function(k){"use strict";this._allEgoUnits=k;this._egoUnits=[];this._allEgoUnits.forEach(function(l){var m=j(l);if(!m||!m.holdout)this._egoUnits.push(l);},this);};i.prototype.getCount=function(){"use strict";return this._egoUnits.length;};i.prototype.forEach=function(k,l){"use strict";this._egoUnits.forEach(k,l);};i.prototype.getUnit=function(k){"use strict";return this._egoUnits[k];};i.prototype.getHoldoutAdIDsForSpace=function(k,l){"use strict";if(!k||!l)return [];var m=[];for(var n=0;k>0&&n<this._allEgoUnits.length;n++){var o=this._allEgoUnits[n],p=l(o),q=j(o);if(k>=p&&q&&q.holdout)m.push(q.adid);k-=p;}return m;};i.prototype.getHoldoutAdIDsForNumAds=function(k){"use strict";k=Math.min(k,this._allEgoUnits.length);var l=[];for(var m=0;m<k;m++){var n=this._allEgoUnits[m],o=j(n);if(o&&o.holdout)l.push(o.adid);}return l;};function j(k){var l=g.scry(k,"div._4u8")[0],m=l&&l.getAttribute('data-ad');return m&&JSON.parse(m)||(void 0);}e.exports=i;},null);
__d("rayInterceptsBox",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(j,k){var l=Object.keys(j);k.forEach(function(m){g(l.indexOf(m)!==-1);g(typeof j[m]==='number');});}var i={check:function(j,k){h(j,['minX','maxX','minY','maxY']);h(k,['x','y','dx','dy']);g(j.maxX>j.minX&&j.maxY>j.minY);if(k.dx===0&&k.dy===0)return false;if(k.x>=j.minX&&k.x<=j.maxX&&k.y>=j.minY&&k.y<=j.maxY)return true;var l=(j.minX-k.x)/k.dx,m=(j.maxX-k.x)/k.dx,n=(j.minY-k.y)/k.dy,o=(j.maxY-k.y)/k.dy,p=Math.max(Math.min(l,m),Math.min(n,o)),q=Math.min(Math.max(l,m),Math.max(n,o));if(p<0)return false;if(p>q)return false;return true;}};e.exports=i;},null);
__d("AdsMouseStateStore",["Arbiter","DOM","Event","Vector","$","copyProperties","invariant","keyMirror","rayInterceptsBox","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();"use strict";var q=30,r=500,s=n({STATIONARY:null,INTENT:null,HOVER:null,NO_INTENT:null}),t,u,v,w,x;function y(){t=s.STATIONARY;u=0;v=0;w=Date.now();x='pagelet_ego_pane';}y();function z(event){try{return {x:event.clientX||event.x,y:event.clientY||event.y};}catch(ba){var ca=Math.random()*1000;return {x:ca,y:ca};}}var aa=l(new g(),{getState:function(){return t;},updateRhcID:function(ba){m(k(ba));x=ba;},getRhcID:function(){return x;},onPageTransition:function(event){y();},onMouseMove:function(event){this.calculateState(z(event));},__updateMousePos:function(ba){u=ba.x;v=ba.y;},isRhcPresent:function(){if(!h.scry(document.body,'#'+x).length)return false;var ba=this.getRhcDimensions();return (ba.y>0&&ba.x>0);},getRhc:function(){return k(x);},getRhcPosition:function(){return j.getElementPosition(this.getRhc());},getRhcScreenPos:function(){var ba=j.getScrollPosition(),ca=this.getRhcPosition();return {x:ca.x-ba.x,y:ca.y-ba.y};},getRhcDimensions:function(){return j.getElementDimensions(this.getRhc());},getRhcBoundingBox:function(){var ba=this.getRhcDimensions(),ca=this.getRhcScreenPos();return {minX:ca.x,maxX:ca.x+ba.x,minY:ca.y,maxY:ca.y+ba.y};},isPosContainedInRhc:function(ba){var ca=this.getRhcBoundingBox();return (ba.x>=ca.minX&&ba.x<=ca.maxX&&ba.y>=ca.minY&&ba.y<=ca.maxY);},hasMovedMinDistance:function(ba){var ca=ba.x-u,da=ba.y-v;return (ca*ca+da*da)>=q*q;},tooSoon:function(){return Date.now()-w<r;},_updateTime:function(){w=Date.now();},calculateState:function(ba){if(this.tooSoon())return;this._updateTime();if(!this.isRhcPresent())return;if(this.isPosContainedInRhc(ba)){this.transitionToState(s.HOVER);this.__updateMousePos(ba);this.scheduleCheckup();return;}else if(!this.hasMovedMinDistance(ba)){this.transitionToState(s.STATIONARY);return;}var ca=(this.isMovingTowardsRhc(ba))?s.INTENT:s.NO_INTENT;this.transitionToState(ca);this.__updateMousePos(ba);this.scheduleCheckup();},isMovingTowardsRhc:function(ba){var ca={x:u,y:v};if(this.isPosContainedInRhc(ca))return true;var da=this.getRhcBoundingBox(),ea={x:u,y:v,dx:ba.x-u,dy:ba.y-v};return o.check(da,ea);},scheduleCheckup:function(){var ba={x:u,y:v};setTimeout(function(){this.calculateState(ba);}.bind(this),r*1.5);},transitionToState:function(ba){if(ba===t)return;t=ba;aa.inform('change');}});i.listen(document,'mousemove',p(aa.onMouseMove.bind(aa),r));g.subscribe('page_transition',aa.onPageTransition);aa.STATES=s;aa.MIN_MOVE_DISTANCE=q;aa.THROTTLE_TIME=r;e.exports=aa;},null);
__d("EmuController",["AsyncRequest","DataStore","URI","copyProperties","emptyFunction","ge","goURI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(o,p){"use strict";var q=l(o);if(!q)return null;this.impression=p;this.containerId=o;h.set(q,'emuController',this);return this;}n.prototype.event=function(o,p,q,r){"use strict";var s={eid:this.impression,f:0,ui:this.containerId,en:o,a:1};if(p)s.ed=JSON.stringify(p);if(!r)r=k;var t=new g().setURI(this.EVENT_HANDLER_PATH).setData(s).setErrorHandler(r);if(q)t.setHandler(q);t.send();};n.prototype.redirect=function(){"use strict";var o={eid:this.impression,f:0,ui:this.containerId,en:this.CLICK,a:0,sig:Math.floor(Math.random()*65535)+65536},p=new i(this.EVENT_HANDLER_PATH);p.setQueryData(o);m(p);};n.fromContainer=function(o){"use strict";var p=l(o);if(!p)return null;return h.get(p,'emuController');};n.getEventClass=function(o){"use strict";return "emuEvent"+String(o).trim();};j(n.prototype,{EVENT_HANDLER_PATH:'/ajax/emu/end.php',CLICK:1,FAN:"fad_fan"});e.exports=n;},null);
__d("legacy:ad-units-base-js",["EmuController"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.EmuController=b('EmuController');},3);
__d("DesktopHscrollUnitEventConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={HSCROLL_ITEM_INSERTED_EVENT:'DesktopHScrollUnit/itemInserted',HSCROLL_ITEM_SHOWN_EVENT:'DesktopHScrollUnit/itemShown'};},null);
__d("BizSiteIdentifier.brands",["BusinessConf","BusinessAssetGrouping.brands","URI"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h.NULL_BIZ_ID,k={isBizSite:function(){return i.getRequestURI(false).getSubdomain()===g.DOMAIN;},getBusinessID:function(){return i.getRequestURI(false).getQueryData()[g.BIZ_ID_PARAM_NAME];},createBusinessURL:function(l,m){if(m===j)return i(l).setSubdomain('www');var n=i(l).setSubdomain(g.DOMAIN);if(k.isBizSite())n.setDomain(i.getRequestURI().getDomain());var o=m||k.getBusinessID();n.addQueryData(g.BIZ_ID_PARAM_NAME,o);return n;}};e.exports=k;},null);
__d("BusinessURI.brands",["underscore.ads","BizSiteIdentifier.brands","BusinessConf","URI"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(o,p){"use strict";j.call(this,o);if(h.isBizSite()){var q=p||h.getBusinessID();if(q)this.addQueryData(i.BIZ_ID_PARAM_NAME,q);if(!this.$BusinessURI0(this.getSubdomain()))this.setSubdomain(i.DOMAIN);}return this;}m.prototype.$BusinessURI0=function(o){"use strict";var p={DEVELOPERS:'developers'};return g(p).contains(o);};var n=function(o,p){return new m(o,p);};e.exports=n;},null);
__d("BrowseClientEventLogger",["Banzai"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h='browse_client_event_session',i='21.',j={logData:function(event,k,l,m){if(!event||!k)return;m=m||{};m.event=event;m.client_time=Math.floor(Date.now());m.session_id=k;m.vertical=l;this.allData=this.allData||{};this.processedSessions=this.processedSessions||[];if(this.processedSessions.indexOf(k)!==-1)return;if(!this.allData.sessionid)this.allData.sessionid=[];this.allData.sessionid.push(m);if(event==='window_unloaded'||event==='window_transition_to_LHC'||event==='window_transition_to_home_click'||event==='window_transition_to_fb_page'){this._postBatch(this.allData.sessionid);this.processedSessions.push(k);}},logClick:function(k){k.event='click';this.maybeLogVisiblityEvent(k,true);},maybeLogClientViewEvent:function(k){k.event='client_view';this.maybeLogVisiblityEvent(k);},maybeLogVisiblityEvent:function(k,l){if(!k||!k.xt||k.xt.indexOf(i)!==0)return;var event=k.event,m=JSON.parse(k.xt.substring(3));if(l)m.click_type=k.click_type;this.logData(event,m.session_id,m.vertical,m);},_postBatch:function(k){g.post(h,k,{delay:0,retry:true});}};e.exports=j;},null);
__d("CLoggerX",["Banzai","DOM","debounce","Event","ge","Parent","Keys"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=10*60*1000,n=b('Keys').RETURN,o={},p=function(s){var t=(s.target||s.srcElement).id,u=(s.target||s.srcElement).value.trim().length,v=q.getTracker(t);if(!v)return;if(u>5&&!v.submitted){g.post('censorlogger',{cl_impid:v.impid,clearcounter:v.clearcounter,instrument:v.type,elementid:t,parent_fbid:(v.parent_fbid=='unknown'?null:v.parent_fbid),version:"x"},g.VITAL);q.setSubmitted(t,true);}else if(u===0&&v.submitted&&s.which!=n){o[t]=r(t);o[t]();}else if(u>0&&v.submitted)if(o[t])o[t].reset();},q={init:function(){this.trackedElements=this.trackedElements||{};this.feedbackForms=this.feedbackForms||{};},setImpressionID:function(s){this.init();this.impressionID=s;this.clean();},setComposerTargetData:function(s){this.cTargetID=s.targetID||'unknown';this.cTargetFBType=s.targetType||'unknown';},clean:function(){for(var s in this.trackedElements){if(o[s]){o[s].reset();delete o[s];}delete this.trackedElements[s];}},trackComposer:function(s,t,u){this.setComposerTargetData(u);this.startTracking(s,'composer',this.cTargetID,this.cTargetFBType,t);},trackFeedbackForm:function(s,t,u){this.init();this.impressionID=this.impressionID||u;var v,w;v=t?t.targetID||'unknown':'unknown';w=t?t.targetType||'unknown':'unknown';this.feedbackForms[s]={parent_fbid:v,parent_type:w};},trackMentionsInput:function(s,t){this.init();var u,v,w;if(!s)return;u=l.byTag(s,'form');if(!u)return;v=h.getID(u);w=this.feedbackForms[v];if(!w)return;var x=t||w.parent_fbid,y=t?416:w.parent_type;this.startTracking(s,'comment',x,y,u);},startTracking:function(s,t,u,v,w){this.init();var x=h.getID(s);if(this.getTracker(x))return;var y=h.getID(w);j.listen(s,'keyup',p.bind(this));this.trackedElements[x]={submitted:false,clearcounter:0,type:t,impid:this.impressionID,parent_fbid:u,parent_type:v,parentElID:y};this.addJoinTableInfoToForm(w,x);},getTracker:function(s){return (this.trackedElements?this.trackedElements[s]:null);},setSubmitted:function(s,t){if(this.trackedElements[s])this.trackedElements[s].submitted=t;},incrementClearCounter:function(s){var t=this.getTracker(s);if(!t)return;t.clearcounter++;t.submitted=false;var u=h.scry(k(t.parentElID),'input[name="clp"]')[0];if(u)u.value=this.getJSONRepForTrackerID(s);this.trackedElements[s]=t;},addJoinTableInfoToForm:function(s,t){var u=this.getTracker(t);if(!u)return;var v=h.scry(s,'input[name="clp"]')[0];if(!v)h.prependContent(s,h.create('input',{type:'hidden',name:'clp',value:this.getJSONRepForTrackerID(t)}));},getCLParamsForTarget:function(s,t){if(!s)return "";var u=h.getID(s);return this.getJSONRepForTrackerID(u,t);},getJSONRepForTrackerID:function(s,t){var u=this.getTracker(s);if(!u)return "";return JSON.stringify({cl_impid:u.impid,clearcounter:u.clearcounter,elementid:s,version:"x",parent_fbid:t||u.parent_fbid});}},r=function(s){return i(function(){q.incrementClearCounter(s);},m,q);};e.exports=q;},null);
__d("CensorLogger",["Event","Banzai","DOM","debounce","ge","Keys"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=10*60*1000,m=b('Keys').RETURN,n=function(q){var r=(q.target||q.srcElement).id,s=(q.target||q.srcElement).value.trim().length,t=o.tracker(r);if(!t)return;if(s>5&&!t.submitted){if(t.type=='comment'&&t.parent_fbid=='unknown'){if(!o.syncTrackerWithForm(r))o.snowliftSync(r);t=o.tracker(r);}h.post('censorlogger',{impid:t.impid,clearcounter:t.clearcounter,instrument:t.type,elementid:r,parent_fbid:(t.parent_fbid=='unknown'?null:t.parent_fbid),version:"original"},h.VITAL);o.setSubmitted(r,true);}else if(s===0&&t.submitted&&q.which!=m){o.debouncers[r]=p(r);o.debouncers[r]();}else if(s>0&&t.submitted)if(o.debouncers[r])o.debouncers[r].reset();},o={init:function(q){this.impressionID=q;for(var r in this.trackedElements)if(!k(r))this.stopTracking(r);for(var s in this.unmatchedForms)if(!k(s))delete this.unmatchedForms[s];},trackElement:function(q,r,s){var t,u,v;this.debouncers=this.debouncers||{};this.trackedElements=this.trackedElements||{};this.unmatchedForms=this.unmatchedForms||{};r=r.toLowerCase();if(r=='composer'){t=(s?i.find(q,'div.uiMetaComposerMessageBox textarea.input'):i.find(q,'div.uiComposerMessageBox textarea.input'));u=i.find(q,'form.attachmentForm');var w=i.scry(q,'input[name="xhpc_targetid"]')[0];if(w)v=w.value;}else if(r=='comment')t=i.find(q,'div.commentBox textarea.textInput');if(t==null)return;var x=i.getID(t);if(u)this.addJoinTableInfoToForm(u,i.getID(t));g.listen(t,'keyup',n.bind(this));this.trackedElements[x]={submitted:false,clearcounter:0,type:r,impid:this.impressionID,parent_fbid:v||'unknown',formID:(u?i.getID(u):null)};if(r=='comment')this.syncTrackerWithForm(x);},registerForm:function(q,r){this.unmatchedForms=this.unmatchedForms||{};this.unmatchedForms[q]=r;},syncTrackerWithForm:function(q){for(var r in this.unmatchedForms){var s=k(r);if(s){var t=i.scry(s,'div.commentBox textarea.textInput')[0];if(t){var u=i.getID(t);if(u&&u==q){this.trackedElements[q].parent_fbid=this.unmatchedForms[r];this.trackedElements[q].formID=r;this.addJoinTableInfoToForm(s,q);delete this.unmatchedForms[r];return true;}}}}return false;},snowliftSync:function(q){var r,s=k(q);if(s&&(r=i.scry(s,'^.fbPhotosSnowboxFeedbackInput')[0])){var t=i.find(r,'input[name="feedback_params"]'),u=JSON.parse(t.value).target_fbid;this.trackedElements[q].parent_fbid=u;this.trackedElements[q].formID=r.id;this.addJoinTableInfoToForm(r,q);return true;}return false;},stopTracking:function(q){delete this.trackedElements[q];if(this.debouncers[q]){this.debouncers[q].reset();delete this.debouncers[q];}},tracker:function(q){return this.trackedElements[q];},getSubmitted:function(q){return (this.trackedElements[q]?this.trackedElements[q].submitted:false);},setSubmitted:function(q,r){if(this.trackedElements[q])this.trackedElements[q].submitted=r;},incrementClearCounter:function(q){if(!this.tracker(q))return;this.trackedElements[q].clearcounter++;this.trackedElements[q].submitted=false;var r=i.scry(k(this.trackedElements[q].formID),'input[name="clp"]')[0];if(r)r.value=JSON.stringify({censorlogger_impid:this.trackedElements[q].impid,clearcounter:this.trackedElements[q].clearcounter,element_id:q});},addJoinTableInfoToForm:function(q,r){i.prependContent(q,i.create('input',{type:'hidden',name:'clp',value:JSON.stringify({censorlogger_impid:this.impressionID,clearcounter:0,element_id:r,version:"original"})}));}},p=function(q){return j(function(){o.incrementClearCounter(q);},l,o);};e.exports=o;},null);
__d("ChannelConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g='channel/',h={ON_SHUTDOWN:g+'shutdown',ON_INVALID_HISTORY:g+'invalid_history',ON_CONFIG:g+'config',ON_ENTER_STATE:g+'enter_state',ON_EXIT_STATE:g+'exit_state',ATTEMPT_RECONNECT:g+'attempt_reconnect',RTI_SESSION:g+'new_rti_address',SKYWALKER:g+'skywalker',OK:'ok',ERROR:'error',ERROR_MAX:'error_max',ERROR_MISSING:'error_missing',ERROR_MSG_TYPE:'error_msg_type',ERROR_SHUTDOWN:'error_shutdown',ERROR_STALE:'error_stale',SYS_OWNER:'sys_owner',SYS_NONOWNER:'sys_nonowner',SYS_ONLINE:'sys_online',SYS_OFFLINE:'sys_offline',SYS_TIMETRAVEL:'sys_timetravel',HINT_AUTH:'shutdown auth',HINT_CONN:'shutdown conn',HINT_DISABLED:'shutdown disabled',HINT_INVALID_STATE:'shutdown invalid state',HINT_MAINT:'shutdown maint',HINT_UNSUPPORTED:'shutdown unsupported',reason_Unknown:0,reason_AsyncError:1,reason_TooLong:2,reason_Refresh:3,reason_RefreshDelay:4,reason_UIRestart:5,reason_NeedSeq:6,reason_PrevFailed:7,reason_IFrameLoadGiveUp:8,reason_IFrameLoadRetry:9,reason_IFrameLoadRetryWorked:10,reason_PageTransitionRetry:11,reason_IFrameLoadMaxSubdomain:12,reason_NoChannelInfo:13,reason_NoChannelHost:14,CAPABILITY_VOIP_INTEROP:8,CAPABILITY_VIDEO:32,FANTAIL_DEBUG:'DEBUG',FANTAIL_WARN:'WARN',FANTAIL_INFO:'INFO',FANTAIL_ERROR:'ERROR',SUBSCRIBE:'subscribe',UNSUBSCRIBE:'unsubscribe',getArbiterType:function(i){return g+'message:'+i;},getSkywalkerArbiterType:function(i){return g+'skywalker:'+i;}};e.exports=h;},null);
__d("ClickPointIdentifiersDEPRECATED",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={types:{TIMELINE_SEE_LIKERS:'timeline:seelikes'},getUserActionID:function(h){return '{"ua_id":"'+h+'"}';}};e.exports=g;},null);
__d("TrackingNodes",["TrackingNodeTypes"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={types:g,BASE_CODE_START:58,BASE_CODE_END:126,BASE_CODE_SIZE:69,PREFIX_CODE_START:42,PREFIX_CODE_END:47,PREFIX_CODE_SIZE:6,TN_URL_PARAM:'__tn__',encodeTN:function(i,j){var k=(i-1)%h.BASE_CODE_SIZE,l=parseInt((i-1)/h.BASE_CODE_SIZE,10);if(i<1||l>h.PREFIX_CODE_SIZE)throw Error('Invalid tracking node: '+i);var m="";if(l>0)m+=String.fromCharCode(l-1+h.PREFIX_CODE_START);m+=String.fromCharCode(k+h.BASE_CODE_START);if(typeof j!="undefined"&&j>0)m+=String.fromCharCode(48+Math.min(j,10)-1);return m;},decodeTN:function(i){if(i.length===0)return [0];var j=i.charCodeAt(0),k=1,l,m;if(j>=h.PREFIX_CODE_START&&j<=h.PREFIX_CODE_END){if(i.length==1)return [0];m=j-h.PREFIX_CODE_START+1;l=i.charCodeAt(1);k=2;}else{m=0;l=j;}if(l<h.BASE_CODE_START||l>h.BASE_CODE_END)return [0];var n=m*h.BASE_CODE_SIZE+(l-h.BASE_CODE_START)+1;if(i.length>k&&(i.charAt(k)>='0'&&i.charAt(k)<='9'))return [k+1,[n,parseInt(i.charAt(k),10)+1]];return [k,[n]];},parseTrackingNodeString:function(i){var j=[];while(i.length>0){var k=h.decodeTN(i);if(k.length==1)return [];j.push(k[1]);i=i.substring(k[0]);}return j;},getTrackingInfo:function(i,j){return '{"tn":"'+h.encodeTN(i,j)+'"}';},addDataAttribute:function(i,j,k){if(j===(void 0))return;['data-ft','data-gt'].forEach(function(l){var m;if(i.getAttribute){m=i.getAttribute(l)||"{}";}else if(i.props){m=i.props[l]||"{}";}else return;var n=h.encodeTN(j,k);try{m=JSON.parse(m);if(m.tn&&m.tn===n)return;m.tn=n;if(i.setAttribute){i.setAttribute(l,JSON.stringify(m));}else if(i.props){i.props[l]=JSON.stringify(m);}else return;}catch(o){}});}};e.exports=h;},null);
__d("NumberFormat",["NumberFormatConfig"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=/(\d{3})(?=\d)/g;function i(l){return (''+l).split('').reverse().join('');}function j(l,m){if(Math.abs(l).toString().length<g.minDigitsForThousandsSeparator)return l.toString();var n=i(l);return i(n.replace(h,'$1'+m));}var k={formatIntegerWithDelimiter:j,formatInteger:function(l){return j(l,g.numberDelimiter);}};e.exports=k;},null);
__d("UFIBlingItem.react",["React","NumberFormat","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=g,m=l.PropTypes,n=g.createClass({displayName:"UFIBlingItem",propTypes:{contextArgs:m.object.isRequired,count:m.number.isRequired,countreduced:m.string,allowText:m.bool,className:m.string,iconClassName:m.string,itemKey:m.string},render:function(){var o=k(this.props.className,this.props.iconClassName,"UFIBlingBoxSprite"),p=h.formatIntegerWithDelimiter(this.props.count,this.props.contextArgs.numberdelimiter||','),q=p,r=this.props.contextArgs.ufiexperiments||{};if(this.props.allowText||r.showRevisedUFI)switch(this.props.itemKey){case 'like':if(r.showRevisedUFI)q=j._({"Like":"{count} Like","Likes":"{count} Likes"},[j.param("count",r.truncateNumbers?this.props.countreduced:q),j['enum'](this.props.count===1?'Like':'Likes',{Like:"Like",Likes:"Likes"})]);break;case 'comment':if(r.showRevisedUFI)q=j._({"Comment":"{count} Comment","Comments":"{count} Comments"},[j.param("count",r.truncateNumbers?this.props.countreduced:q),j['enum'](this.props.count===1?'Comment':'Comments',{Comment:"Comment",Comments:"Comments"})]);break;case 'reshare':if(this.props.contextArgs.reshareedu||r.showRevisedUFI)q=j._({"Share":"{count} Share","Shares":"{count} Shares"},[j.param("count",r.truncateNumbers?this.props.countreduced:q),j['enum'](this.props.count===1?'Share':'Shares',{Share:"Share",Shares:"Shares"})]);break;}var s=null;if(!r.showRevisedUFI)s=g.createElement("i",{className:o});return (g.createElement("span",null,s,g.createElement("span",{className:(("UFIBlingBoxText")+(r.showRevisedUFI?' '+"UFIBlingBoxTextRevised":''))},q)));}});e.exports=n;},null);
__d("UFIBlingBox.react",["React","UFIBlingItem.react","UFIConstants","cx","fbt","FeedNFBConstants"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=b('FeedNFBConstants').data,m=g,n=m.PropTypes,o=g.createClass({displayName:"UFIBlingBox",propTypes:{contextArgs:n.object.isRequired,'data-ft':n.string,comments:n.number,commentsreduced:n.string,likes:n.number,likesreduced:n.string,nfb:n.number,onClick:n.func,permalink:n.string,reshares:n.number,resharesreduced:n.string},render:function(){var p=[],q='';if(this.props.likes){p.push(g.createElement(h,{className:((p.length>0?"mls":'')),contextArgs:this.props.contextArgs,count:this.props.likes,countreduced:this.props.likesreduced,iconClassName:"UFIBlingBoxLikeIcon",itemKey:"like",key:"like"}));q+=(this.props.likes==1)?k._("1 like"):k._({"*":"{count} likes"},[k.param("count",this.props.likes,[0])]);q+=' ';}if(this.props.comments){p.push(g.createElement(h,{className:((p.length>0?"mls":'')),contextArgs:this.props.contextArgs,count:this.props.comments,countreduced:this.props.commentsreduced,iconClassName:"UFIBlingBoxCommentIcon",itemKey:"comment",key:"comment"}));q+=(this.props.comments==1)?k._("1 comment"):k._({"*":"{count} comments"},[k.param("count",this.props.comments,[0])]);q+=' ';}if(this.props.reshares){p.push(g.createElement(h,{className:((p.length>0?"mls":'')),contextArgs:this.props.contextArgs,count:this.props.reshares,countreduced:this.props.resharesreduced,iconClassName:"UFIBlingBoxReshareIcon",itemKey:"reshare",key:"reshare"}));q+=(this.props.reshares==1)?k._("1 share"):k._({"*":"{count} shares"},[k.param("count",this.props.reshares,[0])]);}if(this.props.nfb&&l){p.push(g.createElement(h,{className:((p.length>0?"mls":'')),contextArgs:this.props.contextArgs,count:this.props.nfb,iconClassName:"_1ufb",itemKey:"nfb",key:"nfb"}));q+=(this.props.nfb==1)?l.ONE_NFB:k._("{nfb count}{nfb text}",[k.param("nfb count",this.props.nfb),k.param("nfb text",l.MULT_NFB)]);q+=' ';}var r=this.props.onClick,s='ignore';if(this.props.comments>i.defaultPageSize){r=null;s=null;}var t=this.props.contextArgs.ufiexperiments||{},u=g.createElement("a",{className:(("UFIBlingBox")+(' '+"uiBlingBox")+(' '+"feedbackBling")+(t.showRevisedUFI?' '+"UFIBlingBoxRevised":'')),href:this.props.permalink,"data-ft":this.props['data-ft'],"aria-label":q,onClick:r,rel:s},p);return u;}});e.exports=o;},null);
__d("ServerTime",["InitialServerTime"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();k(g.serverTime);var h;function i(){return Date.now()-h;}function j(){return h;}function k(l){h=Date.now()-l;}e.exports={getMillis:i,getOffsetMillis:j,update:k,get:i,getSkew:j};},null);
__d("LiveTimer",["CSS","DOM","ServerTime","fbt"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=1000,l=60,m=3600,n=43200,o=86400,p=60,q=20000,r={restart:function(s){i.update(s*1000);this.updateTimeStamps();},getApproximateServerTime:function(){return i.get();},getServerTimeOffset:function(){return -1*i.getSkew();},updateTimeStamps:function(){this.timestamps=h.scry(document.body,'abbr.livetimestamp');this.startLoop(q);},addTimeStamps:function(s){if(!s)return;this.timestamps=this.timestamps||[];if(h.isNodeOfType(s,'abbr')&&g.hasClass(s,'livetimestamp')){this.timestamps.push(s);}else{var t=h.scry(s,'abbr.livetimestamp');for(var u=0;u<t.length;++u)this.timestamps.push(t[u]);}this.startLoop(0);},startLoop:function(s){this.stop();this.timeout=setTimeout(function(){this.loop();}.bind(this),s);},stop:function(){clearTimeout(this.timeout);},loop:function(s){if(s)this.updateTimeStamps();var t=Math.floor(i.get()/k),u=-1;this.timestamps&&this.timestamps.forEach(function(w){var x=w.getAttribute('data-utime'),y=w.getAttribute('data-shorten'),z=this.renderRelativeTime(t,x,y);if(z.text)h.setContent(w,z.text);if(z.next!=-1&&(z.next<u||u==-1))u=z.next;}.bind(this));if(u!=-1){var v=Math.max(q,u*k);this.timeout=setTimeout(function(){this.loop();}.bind(this),v);}},renderRelativeTime:function(s,t,u){var v={text:"",next:-1};if(s-t>(o))return v;var w=s-t,x=Math.floor(w/l),y=Math.floor(x/p);if(x<1){if(u){v.text=j._("Just now");v.next=20-w%20;}else{v.text=j._("A few seconds ago");v.next=l-w%l;}return v;}if(y<1){if(u&&x==1){v.text=j._("1 min");}else if(u){v.text=j._({"*":"{number} mins"},[j.param("number",x,[0])]);}else v.text=x==1?j._("about a minute ago"):j._({"*":"{number} minutes ago"},[j.param("number",x,[0])]);v.next=l-w%l;return v;}if(y<11)v.next=m-w%m;if(u&&y==1){v.text=j._("1 hr");}else if(u){v.text=j._({"*":"{number} hrs"},[j.param("number",y,[0])]);}else v.text=y==1?j._("about an hour ago"):j._({"*":"{number} hours ago"},[j.param("number",y,[0])]);return v;},renderRelativeTimeToServer:function(s,t){return this.renderRelativeTime(Math.floor(i.get()/k),s,t);}};e.exports=r;e.exports.CONSTS={MS_IN_SEC:k,SEC_IN_MIN:l,SEC_IN_HOUR:m,SEC_IN_12_HOUR:n,SEC_IN_24_HOUR:o,MIN_IN_HOUR:p,HEARTBEAT:q};},null);
__d("UFICentralUpdates",["Arbiter","ChannelConstants","LiveTimer","ShortProfiles","UFIConstants","copyProperties","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=0,o={},p={},q={},r={},s=[];g.subscribe(h.getArbiterType('live-data'),function(x,y){if(y&&y.obj){var z=y.obj,aa=z.comments||[];aa.forEach(function(ba){ba.timestamp.text=m._("A few seconds ago");});w.handleUpdate(k.UFIPayloadSourceType.LIVE_SEND,z);}});function t(){if(!n){var x=q,y=o,z=p,aa=r;q={};o={};p={};r={};if(Object.keys(x).length)v('feedback-id-changed',x);if(Object.keys(y).length)v('feedback-updated',y);if(Object.keys(z).length)v('comments-updated',z);if(Object.keys(aa).length)v('instance-updated',aa);s.pop();}}function u(){if(s.length){return s[s.length-1];}else return k.UFIPayloadSourceType.UNKNOWN;}function v(event,x){w.inform(event,{updates:x,payloadSource:u()});}var w=l(new g(),{handleUpdate:function(x,y){if(Object.keys(y).length)this.synchronizeInforms(function(){s.push(x);var z=l({payloadsource:u()},y);this.inform('update-feedback',z);this.inform('update-comment-lists',z);this.inform('update-comments',z);this.inform('update-actions',z);(y.profiles||[]).forEach(function(aa){j.set(aa.id,aa);});if(y.servertime)i.restart(y.servertime);}.bind(this));},didUpdateFeedback:function(x){o[x]=true;t();},didUpdateComment:function(x){p[x]=true;t();},didUpdateFeedbackID:function(x,y){q[x]=y;t();},didUpdateInstanceState:function(x,y){if(!r[x])r[x]={};r[x][y]=true;t();},synchronizeInforms:function(x){n++;try{x();}catch(y){throw y;}finally{n--;t();}}});e.exports=w;},null);
__d("UFICommentLink.react",["Image.react","React","TrackingNodes","emptyFunction","fbt","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=h,n=m.PropTypes,o=h.createClass({displayName:"UFICommentLink",propTypes:{ufiExperiments:n.object,onClick:n.func},getDefaultProps:function(){return {ufiExperiments:{},onClick:j};},render:function(){var p=this.props.ufiExperiments,q=k._("Comment"),r=k._("Leave a comment"),s='{ "tn": "'+i.encodeTN(i.types.COMMENT_LINK)+'", "type": 24 }',t=null;if(p.showRevisedUFI)t=h.createElement(g,{className:"UFICommentLinkIcon",src:l('/images/ufi/fbfeed/comment_gray.png')});return (h.createElement("a",{className:"comment_link",href:"#",role:"button",title:r,onClick:this.props.onClick,"data-ft":s},t,q));}});e.exports=o;},null);
__d("UFIFeedbackTargets",["ClientIDs","KeyedCallbackManager","UFICentralUpdates","UFIConstants","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=new h();function m(v){var w={};v.forEach(function(x){var y=k({},x);delete y.commentlist;delete y.commentcount;w[x.entidentifier]=y;i.didUpdateFeedback(x.entidentifier);});l.addResourcesAndExecute(w);}function n(v){for(var w=0;w<v.length;w++){var x=v[w];switch(x.actiontype){case j.UFIActionType.LIKE_ACTION:p(x);break;case j.UFIActionType.SUBSCRIBE_ACTION:q(x);break;case j.UFIActionType.DISABLE_COMMENTS:r(x);break;}}}function o(v){for(var w=0;w<v.length;w++){var x=v[w];if(x.orig_ftentidentifier)t(x.orig_ftentidentifier,x.ftentidentifier);}}function p(v){var w=s(v);if(w){v.hasviewerliked=!!v.hasviewerliked;if(v.clientid&&g.isExistingClientID(v.clientid)&&v.hasviewerliked!=w.hasviewerliked)return;w.likecount=v.likecount||0;w.likesentences=v.likesentences;if(v.actorid==w.actorforpost){w.hasviewerliked=v.hasviewerliked;}else if(v.hasviewerliked!=w.hasviewerliked){w.likesentences={current:v.likesentences.alternate,alternate:v.likesentences.current};if(w.hasviewerliked){w.likecount++;}else w.likecount--;}if(v.actorid!=w.actorforpost)w.likesentences.isunseen=true;m([w]);}}function q(v){var w=s(v);if(w){v.hasviewersubscribed=!!v.hasviewersubscribed;if(v.clientid&&g.isExistingClientID(v.clientid)&&v.hasviewersubscribed!=w.hasviewersubscribed)return;if(v.actorid==w.actorforpost)w.hasviewersubscribed=v.hasviewersubscribed;m([w]);}}function r(v){var w=s(v);if(w){w.cancomment=!!v.cancomment;m([w]);}}function s(v){if(v.orig_entidentifier)t(v.orig_entidentifier,v.entidentifier);return l.getResource(v.entidentifier);}function t(v,w){var x=l.getResource(v);if(x){l.setResource(v,null);x.entidentifier=w;l.setResource(w,x);i.didUpdateFeedbackID(v,w);}}var u={getFeedbackTarget:function(v,w){var x=l.executeOrEnqueue(v,w),y=l.getUnavailableResources(x);y.length;return x;},getActorIDForFeedbackTargetIfExists:function(v){var w=l.getResource(v);return w?w.actorforpost:null;},handleNFB:function(v,w){var x=l.getResource(v);if(x){x.nfbcount=w||0;m([x]);}},unsubscribe:function(v){l.unsubscribe(v);}};i.subscribe('update-feedback',function(v,w){var x=w.feedbacktargets;if(x&&x.length)m(x);});i.subscribe('update-actions',function(v,w){if(w.actions&&w.actions.length)n(w.actions);});i.subscribe('update-comments',function(v,w){if(w.comments&&w.comments.length)o(w.comments);});e.exports=u;},null);
__d("UFILikeLink.react",["React","Image.react","TrackingNodes","cx","fbt","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g,n=m.PropTypes,o=g.createClass({displayName:"UFILikeLink",propTypes:{likeAction:n.bool,ufiExperiments:n.object,onClick:n.func},getDefaultProps:function(){return {ufiExperiments:{}};},onClick:function(p,q){p.preventDefault();this.props.onClick(p,q);},render:function(){var p=this.props.ufiExperiments,q=this.props.likeAction||p.showRevisedUFI?k._("Like"):k._("Unlike"),r=i.getTrackingInfo(this.props.likeAction?i.types.LIKE_LINK:i.types.UNLIKE_LINK),s=this.props.likeAction?k._("Like this"):k._("Unlike this"),t=null;if(p.showRevisedUFI)t=g.createElement(h,{className:"UFILikeLinkIcon",src:this.props.likeAction?l('/images/ufi/fbfeed/like_gray.png'):l('/images/ufi/fbfeed/liked.png')});return (g.createElement("a",{className:(("UFILikeLink")+(p.showRevisedUFI&&!this.props.likeAction?' '+"UFILinkBright":'')),href:"#",role:"button","aria-live":"polite",title:s,onClick:this.onClick,"data-ft":r},t,q));}});e.exports=o;},null);
__d("UFIShareLink.react",["React","Image.react","TrackingNodes","ShareDialogShareProperties","cx","fbt","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=g,o=n.PropTypes,p=g.createClass({displayName:"UFIShareLink",propTypes:{ufiExperiments:o.object,href:o.oneOfType([o.object,o.string]).isRequired},render:function(){var q=l._("Send this to friends or post it on your Timeline."),r='{ "tn": "'+i.encodeTN(i.types.SHARE_LINK)+'", "type": 25 }',s=this.props.ufiExperiments,t=null;if(s.showRevisedUFI)t=g.createElement(h,{className:"UFIShareLinkIcon",src:m('/images/ufi/fbfeed/share_gray.png')});return (g.createElement("a",{className:(("share_action_link")),"data-ft":r,"data-dialog-width":s.isReactShareDialog?j.WIDTH:null,"data-dialog-title":s.isReactShareDialog?j.TITLE:null,href:this.props.href,rel:"dialog",title:q},t,l._("Share")));}});e.exports=p;},null);
__d("UFISubscribeLink.react",["React","fbt"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.PropTypes,k=g.createClass({displayName:"UFISubscribeLink",propTypes:{subscribeAction:j.bool,onClick:j.func},render:function(){var l=this.props.subscribeAction?h._("Get Notifications"):h._("Stop Notifications"),m=this.props.subscribeAction?h._("Get a notification whenever someone comments."):h._("Stop getting notifications when someone comments.");return (g.createElement("a",{className:"UFISubscribeLink",href:"#",role:"button","aria-live":"polite",title:m,onClick:this.props.onClick},l));}});e.exports=k;},null);
__d("ProfileBrowserLink",["URI"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h='/ajax/browser/dialog/',i='/browse/',j=function(l,m,n){return new g(l+m).setQueryData(n);},k={constructPageURI:function(l,m){return j(i,l,m);},constructDialogURI:function(l,m){return j(h,l,m);}};e.exports=k;},null);
__d("ProfileBrowserTypes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={LIKES:'likes',GROUP_MEMBERS:'group_members',GROUP_MESSAGE_VIEWERS:'group_message_viewers',MUTUAL_FRIENDS:'mutual_friends',TODO_LIST_ASSIGNEES:'todo_list_assignees',TOPIC_CONVERSATION_PARTICIPANTS:'topic_conversation_participants'};e.exports=g;},null);
__d("UFITimelineBlingBox.react",["ProfileBrowserLink","ProfileBrowserTypes","React","UFIBlingItem.react","URI","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=i,o=n.PropTypes,p=i.createClass({displayName:"UFITimelineBlingBox",propTypes:{contextArgs:o.object.isRequired,'data-ft':o.string,'data-gt':o.string,actorid:o.any,commentOnClick:o.func,comments:o.number,commentsreduced:o.string,enableShowComments:o.bool,enableShowLikes:o.bool,feedbackFBID:o.any,likes:o.number,likesreduced:o.string,reshares:o.number,resharesreduced:o.string},render:function(){var q=[];if(this.props.likes&&this.props.enableShowLikes){var r=this._getProfileBrowserURI(),s=m._("See who likes this"),t=i.createElement("a",{ajaxify:r.dialog,className:this._getItemClassName(q),"data-ft":this.props['data-ft'],"data-gt":this.props['data-gt'],"data-hover":"tooltip","data-tooltip-alignh":"right","data-tooltip-uri":this._getLikeToolTipURI(),href:r.page,key:"like",rel:"dialog",role:"button",title:s},i.createElement(j,{contextArgs:this.props.contextArgs,count:this.props.likes,countreduced:this.props.likesreduced,iconClassName:"UFIBlingBoxTimelineLikeIcon",itemKey:"like"}));q.push(t);}if(this.props.comments&&this.props.enableShowComments){var u=m._("Show comments"),v=i.createElement("a",{"aria-label":u,className:this._getItemClassName(q),"data-ft":this.props['data-ft'],"data-hover":"tooltip","data-tooltip-alignh":"right",href:"#",key:"comment",onClick:this.props.commentOnClick},i.createElement(j,{contextArgs:this.props.contextArgs,count:this.props.comments,countreduced:this.props.commentsreduced,iconClassName:"UFIBlingBoxTimelineCommentIcon",itemKey:"comment"}));q.push(v);}if(this.props.reshares){var w=m._("Show shares"),x=this._getShareViewURI(),y=i.createElement("a",{ajaxify:x.dialog,"aria-label":w,className:this._getItemClassName(q),"data-ft":this.props['data-ft'],"data-hover":"tooltip","data-tooltip-alignh":"right",href:x.page,key:"reshare",rel:"async"},i.createElement(j,{allowText:true,contextArgs:this.props.contextArgs,count:this.props.reshares,countreduced:this.props.resharesreduced,iconClassName:"UFIBlingBoxTimelineReshareIcon",itemKey:"reshare"}));q.push(y);}return (i.createElement("span",null,q));},_getItemClassName:function(q){return ((q.length>0?"mls":'')+(' '+"UFIBlingBoxTimelineItem"));},_getLikeToolTipURI:function(){if(this.props.feedbackFBID){var q=new k('/ajax/like/tooltip.php').setQueryData({comment_fbid:this.props.feedbackFBID});return q.toString();}else return null;},_getProfileBrowserURI:function(){if(this.props.feedbackFBID){var q=h.LIKES,r={id:this.props.feedbackFBID,actorid:this.props.actorid},s=g.constructDialogURI(q,r),t=g.constructPageURI(q,r),u={dialog:s.toString(),page:t.toString()};return u;}},_getShareViewURI:function(){if(this.props.feedbackFBID){var q=new k('/ajax/shares/view').setQueryData({target_fbid:this.props.feedbackFBID}),r=new k('/shares/view').setSubdomain('www').setQueryData({id:this.props.feedbackFBID}),s={dialog:q.toString(),page:r.toString()};return s;}}});e.exports=p;},null);
__d("ActorURI",["ActorURIConfig","URI"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={create:function(j,k){return (new h(j)).addQueryData(g.PARAMETER_ACTOR,k);}};i.PARAMETER_ACTOR=g.PARAMETER_ACTOR;e.exports=i;},null);
__d("MercuryLoggingHelper",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={obfuscateThread:function(h){var i=Object.assign({},h);if(h&&h.snippet&&h.snippet.length>5)i.snippet=h.snippet.substr(0,5)+'...';return i;},obfuscateMessage:function(h){var i=Object.assign({},h);if(h&&h.body&&h.body.length>5)i.body=h.body.substr(0,5)+'...';return i;}};e.exports=g;},null);
__d("MercuryServerDispatcher",["AsyncRequest","CurrentUser","LogHistory","MercuryLoggingHelper","areJSONRepresentationsEqual","copyProperties","debounceAcrossTransitions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={},o=i.getInstance('mercury_dispatcher'),p=false,q={IMMEDIATE:'immediate',IDEMPOTENT:'idempotent',BATCH_SUCCESSIVE:'batch-successive',BATCH_SUCCESSIVE_UNIQUE:'batch-successive-unique',BATCH_SUCCESSIVE_PIGGYBACK_ON_ERROR:'batch-successive-piggyback-retry',BATCH_DEFERRED_MULTI:'batch-deferred-multi',BATCH_CONDITIONAL:'batch-conditional',DEFAULT_ENDPOINT_ID:'mercuryServerDispatcherDefaultEndpointID',registerEndpoints:function(t){for(var u in t){var v=t[u],w=v.request_user_id||h.getID(),x=v.endpoint_id||q.DEFAULT_ENDPOINT_ID;if(!n[u])n[u]={};if(!n[u][w])n[u][w]={};n[u][w][x]=new r(u,v);}},trySend:function(t,u,v,w,x){w=w||h.getID();x=x||q.DEFAULT_ENDPOINT_ID;n[t][w][x].trySend(u,v);}};function r(t,u){var v=u.mode||q.IMMEDIATE;switch(v){case q.IMMEDIATE:case q.IDEMPOTENT:case q.BATCH_SUCCESSIVE:case q.BATCH_SUCCESSIVE_UNIQUE:case q.BATCH_SUCCESSIVE_PIGGYBACK_ON_ERROR:case q.BATCH_DEFERRED_MULTI:case q.BATCH_CONDITIONAL:break;default:throw new Error('Invalid MercuryServerDispatcher mode '+v);}this._endpoint=t;this._mode=v;this._requestUserID=u.request_user_id;this._combineData=u.batch_function;this._combineDataIf=u.batch_if;this._batchSizeLimit=u.batch_size_limit;this._batches=[];this._handler=u.handler;this._errorHandler=u.error_handler;this._transportErrorHandler=u.transport_error_handler||u.error_handler;this._connectionRetries=u.connection_retries||0;this._timeoutHandler=u.timeout_handler;this._timeout=u.timeout;this._serverDialogCancelHandler=u.server_dialog_cancel_handler||u.error_handler;this._sendAttemptLoggingHandler=u.send_attempt_logging_handler;this._auto_retries=u.auto_retries||0;this._deferredSend=m(this._batchSend,0,this);}l(r.prototype,{_inFlight:0,_handler:null,_errorHandler:null,_transportErrorHandler:null,_timeoutHandler:null,_timeout:null,_serverDialogCancelHandler:null,_combineData:null,_sendAttemptLoggingHandler:null,trySend:function(t,u){if(p)return;if(t===(void 0))t=null;var v=u||this._mode;if(v==q.IMMEDIATE){this._send(t);}else if(v==q.IDEMPOTENT){if(!this._inFlight)this._send(t);}else if(v==q.BATCH_SUCCESSIVE||v==q.BATCH_SUCCESSIVE_UNIQUE){if(!this._inFlight){this._send(t);}else this._batchData(t);}else if(v==q.BATCH_CONDITIONAL){var w=this._batches[0]&&this._batches[0].getData();if(this._inFlight&&(this._combineDataIf(this._pendingRequestData,t)||this._combineDataIf(w,t))){this._batchData(t);}else this._send(t);}else if(v==q.BATCH_DEFERRED_MULTI){this._batchData(t);this._deferredSend();}else if(v==q.BATCH_SUCCESSIVE_PIGGYBACK_ON_ERROR){this._batchData(t);if(!this._inFlight)this._batchSend();}},_send:function(t){this._inFlight++;this._pendingRequestData=l({},t);if(this._requestUserID!=h.getID())t.request_user_id=this._requestUserID;var u=[];if(t&&t.message_batch)for(var v=0;v<t.message_batch.length;v++){var w=j.obfuscateMessage(t.message_batch[v]);u.push(w);}var x=u.length?l({},t,{message_batch:u}):t;o.log('send',{endpoint:this._endpoint,data:x,inflight_count:this._inFlight});var y=new g(this._endpoint).setData(t).setOption('retries',this._connectionRetries).setHandler(this._handleResponse.bind(this)).setErrorHandler(this._handleError.bind(this)).setTransportErrorHandler(this._handleTransportError.bind(this)).setServerDialogCancelHandler(this._handleServerDialogCancel.bind(this)).setAllowCrossPageTransition(true);if(this._timeout&&this._timeoutHandler)y.setTimeoutHandler(this._timeout,this._handleTimeout.bind(this));y.send();if(this._sendAttemptLoggingHandler&&t&&t.message_batch)t.message_batch.map(function(z){return this._sendAttemptLoggingHandler(z);}.bind(this));},_batchData:function(t,u){if(this._mode==q.BATCH_SUCCESSIVE_UNIQUE&&this._pendingRequestData!==(void 0)&&k(t,this._pendingRequestData)){return;}else{var v=this._batches.length-1;if(v>=0&&!this._hasReachedBatchLimit(this._batches[v])){u?this._batches[v].combineWithOlder(t,this._combineData):this._batches[v].combineWith(t,this._combineData);}else this._batches.push(new s(t));o.debug('batch',{endpoint:this._endpoint,batches:this._batches,batch_limit:this._batchSizeLimit});}},_hasReachedBatchLimit:function(t){return this._batchSizeLimit&&t.getSize()>=this._batchSizeLimit;},_batchSend:function(){if(this._batches[0]){this._send(this._batches[0].getData());this._batches.shift();}},_handleResponse:function(t){this._inFlight--;o.log('response',{endpoint:this._endpoint,inflight_count:this._inFlight});var u=t.getPayload();p=u&&u.kill_chat;if(p)o.log('killswitch_enabled',{endpoint:this._endpoint,inflight_count:this._inFlight});if(u&&u.error_payload){if(this._errorHandler)this._errorHandler(t);}else this._handler&&this._handler(u,t.getRequest());if(this._mode==q.BATCH_SUCCESSIVE||this._mode==q.BATCH_SUCCESSIVE_UNIQUE||this._mode==q.BATCH_SUCCESSIVE_PIGGYBACK_ON_ERROR||this._mode==q.BATCH_CONDITIONAL)this._batchSend();delete this._pendingRequestData;},_postErrorHandler:function(){o.error('error',{endpoint:this._endpoint,inflight_count:this._inFlight-1});this._inFlight--;var t=this._mode;if(t==q.BATCH_SUCCESSIVE||t==q.BATCH_SUCCESSIVE_UNIQUE||t==q.BATCH_CONDITIONAL){this._batchSend();}else if(t==q.BATCH_SUCCESSIVE_PIGGYBACK_ON_ERROR)if(this._batches[0]){this._batchData(this._pendingRequestData,true);this._batchSend();}else this._batchData(this._pendingRequestData,true);delete this._pendingRequestData;},_shouldAutoRetrySend:function(t){var u=t.auto_retry_cnt?t.auto_retry_cnt:0;return u<this._auto_retries;},_autoRetrySend:function(t){var u=Object.assign({},t);u.auto_retry_cnt=u.auto_retry_cnt?u.auto_retry_cnt+1:1;this._send(u);},_handleError:function(t){this._errorHandler&&this._errorHandler(t);this._postErrorHandler();},_handleTransportError:function(t){var u=t.getRequest().getData();if(this._shouldAutoRetrySend(u)){this._autoRetrySend(u);}else{this._transportErrorHandler&&this._transportErrorHandler(t);this._postErrorHandler();}},_handleTimeout:function(t){var u=t.getData();if(this._shouldAutoRetrySend(u)){this._autoRetrySend(u);}else{this._timeoutHandler&&this._timeoutHandler(t);this._postErrorHandler();}},_handleServerDialogCancel:function(t){this._serverDialogCancelHandler&&this._serverDialogCancelHandler(t);this._postErrorHandler();}});function s(t){this._data=t;this._size=1;}l(s.prototype,{getData:function(){return this._data;},getSize:function(){return this._size;},combineWith:function(t,u){this._data=u(this._data,t);this._size++;},combineWithOlder:function(t,u){this._data=u(t,this._data);this._size++;}});e.exports=q;},null);
__d("UFICommentList",["ClientIDs","KeyedCallbackManager","UFICentralUpdates","UFIConstants","UFIFeedbackTargets","keyMirror"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();"use strict";var m=l({actorID:true});function n(o){this.count=0;this.deletedComments={};this.deletedCount=0;this.dataSource=new h();this.feedbackTargetID=o;this.lastRequestedOffset=0;this.lastRequestedLength=0;this.basePermalink="";this.commentPermalinks={};this.orderReversed=false;k.getFeedbackTarget(this.feedbackTargetID,function(p){this.actorID=p.actorforpost;this.basePermalink=p.permalink;this.orderReversed=p.isranked;}.bind(this));}n.prototype.addComment=function(o,p,q){var r=p&&g.isExistingClientID(p),s=this.dataSource.getAllResources(),t={};for(var u in s){var v=s[u];t[v]=u;}if(r&&p in t){t[o]=t[p];var w=t[p];this.dataSource.setResource(w,o);}else if(!t[o]){var x=this.count;this.count++;t[o]=x;this.dataSource.setResource(x,o);}if(q)this.commentPermalinks[o]=this.buildCommentPermalink(o,q,t[o]);i.didUpdateFeedback(this.feedbackTargetID);};n.prototype.addCommentIDs=function(o,p,q){var r={};for(var s=0;s<p;s++)r[o+s]=q[s]||j.unavailableCommentKey;this.dataSource.addResourcesAndExecute(r);i.didUpdateFeedback(this.feedbackTargetID);return this;};n.prototype.getComments=function(o,p,q,r){var s=[];for(var t=0;t<p;t++)s.push(o+t);var u=this.dataSource.getUnavailableResourcesFromRequest(s);if(u.length){var v=Math.min.apply(Math,u),w=Math.max.apply(Math,u),x=v,y=w-v+1;if(x<this.lastRequestedOffset||(x+y)>(this.lastRequestedOffset+this.lastRequestedLength)){this.lastRequestedOffset=x;this.lastRequestedLength=y;this.fetchComments(x,y,q);}}else this.dataSource.executeOrEnqueue(s,this.deferredCallback.bind(this,o,p,r));};n.prototype.fetchComments=function(o,p,q){};n.prototype.deferredCallback=function(o,p,q,r){};n.prototype.reset=function(){var o=this.dataSource.getAllResources();this.dataSource.reset();this.count=0;this.deletedCount=0;this.deletedComments={};this.lastRequestedOffset=0;this.lastRequestedLength=0;return o;};n.prototype.deleteComment=function(o){if(!(o in this.deletedComments)){this.deletedComments[o]=true;this.deletedCount++;}};n.prototype.updateCommentCount=function(o){this.count=o;this.deletedCount=0;return this;};n.prototype.getFeedbackTargetID=function(){return this.feedbackTargetID;};n.prototype.getCommentCount=function(){return this.count;};n.prototype.getDeletedCount=function(){return this.deletedCount;};n.prototype.getDisplayedCommentCount=function(){return this.count-this.deletedCount;};n.prototype.getBasePermalink=function(){return this.basePermalink;};n.prototype.buildCommentPermalink=function(o,p,q){};n.prototype.getPermalinkForComment=function(o){return this.commentPermalinks[o];};n.isValidContextPropertyForReset=function(o){return o in m;};e.exports=n;},null);
__d("UFIInstanceState",["UFICentralUpdates"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={};function i(k){if(!h[k])h[k]={};}var j={getKeyForInstance:function(k,l){i(k);return h[k][l];},updateState:function(k,l,m){i(k);h[k][l]=m;g.didUpdateInstanceState(k,l);},updateStateField:function(k,l,m,n){var o=this.getKeyForInstance(k,l)||{};o[m]=n;this.updateState(k,l,o);}};e.exports=j;},null);
__d("UFIComments",["ClientIDs","ImmutableObject","UFICentralUpdates","UFIConstants","UFIInstanceState","invariant","merge","randomInt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();"use strict";var o={},p={};function q(fa){return fa in p?p[fa]:fa;}function r(fa,ga){fa.forEach(function(ha){var ia=ha.ftentidentifier,ja=j.UFIPayloadSourceType,ka=ha.clientid,la=false,ma=m({},ha);if(ka){delete ma.clientid;la=g.isExistingClientID(ka);if(la&&p[ka])return;}if((ga===ja.LIVE_SEND)||(ga===ja.USER_ACTION)||(ga===ja.ENDPOINT_ADD_COMMENT)||(ga===ja.ENDPOINT_EDIT_COMMENT))ma.isunseen=true;if(ga===ja.ENDPOINT_COMMENT_FETCH||ga===ja.ENDPOINT_ID_COMMENT_FETCH)ma.fromfetch=true;if(la){if(o[ka].ufiinstanceid)k.updateStateField(o[ka].ufiinstanceid,'locallycomposed',ha.id,true);ma.ufiinstanceid=o[ka].ufiinstanceid;p[ka]=ha.id;o[ha.id]=o[ka];delete o[ka];i.didUpdateComment(ka);}ea.setComment(ha.id,new h(ma));i.didUpdateComment(ha.id);i.didUpdateFeedback(ia);});}function s(fa){for(var ga=0;ga<fa.length;ga++){var ha=fa[ga];switch(ha.actiontype){case j.UFIActionType.LIKE_ACTION:if(ea.getComment(ha.entidentifier))t(ha.clientid,ha.entidentifier,ha.hasviewerliked,ha.likecount);break;case j.UFIActionType.COMMENT_LIKE:t(ha.clientid,ha.commentid,ha.viewerliked,ha.likecount);break;case j.UFIActionType.DELETE_COMMENT:x(ha);break;case j.UFIActionType.LIVE_DELETE_COMMENT:y(ha);break;case j.UFIActionType.REMOVE_PREVIEW:z(ha);break;case j.UFIActionType.COMMENT_SET_SPAM:aa(ha);break;case j.UFIActionType.CONFIRM_COMMENT_REMOVAL:ba(ha);break;case j.UFIActionType.TRANSLATE_COMMENT:v(ha);break;case j.UFIActionType.COMMENT_LIKECOUNT_UPDATE:u(ha);break;}}}function t(fa,ga,ha,ia){var ja=ea.getComment(ga);if(ja){var ka={},la=fa&&g.isExistingClientID(fa);if(!la){ka.hasviewerliked=ha;ka.likecount=ia;}ka.likeconfirmhash=n(0,1024);da(ga,ka);}}function u(fa){var ga=ea.getComment(fa.commentid);if(ga&&fa.hasviewerliked===ga.hasviewerliked){var ha={likecount:fa.likecount,likeconfirmhash:n(0,1024)};da(fa.commentid,ha);}}function v(fa){var ga=fa.commentid,ha=ea.getComment(ga);if(ha){var ia={translatedbody:fa.translatedbody,translatorapp:fa.translatorapp};da(ga,ia);}}function w(fa){var ga={reportLink:fa.reportLink,commenterIsFOF:fa.commenterIsFOF,userIsMinor:fa.userIsMinor,giveFeedbackLink:fa.giveFeedbackLink};return ga;}function x(fa){var ga=ea.getComment(fa.commentid);ca(ga,j.UFIStatus.DELETED);}function y(fa){var ga=ea.getComment(fa.commentid);if(ga&&ga.status!==j.UFIStatus.DELETED)ca(ga,j.UFIStatus.LIVE_DELETED);}function z(fa){da(fa.commentid,{attachment:null});}function aa(fa){var ga=ea.getComment(fa.commentid),ha=fa.shouldHideAsSpam?j.UFIStatus.SPAM_DISPLAY:null;ca(ga,ha);}function ba(fa){da(fa.commentid,w(fa));}function ca(fa,ga){da(fa.id,{priorstatus:fa.status,status:ga});}function da(fa,ga){var ha=ea.getComment(fa)||new h({});ea.setComment(fa,h.set(ha,ga));i.didUpdateComment(ha.id);i.didUpdateFeedback(ha.ftentidentifier);}var ea={getComment:function(fa){if(fa===j.unavailableCommentKey)return null;return o[q(fa)];},setComment:function(fa,ga){l(ga instanceof h);o[q(fa)]=ga;},resetComments:function(fa){for(var ga in fa)delete o[q(ga)];}};i.subscribe('update-comments',function(fa,ga){if(ga.comments&&ga.comments.length)r(ga.comments,ga.payloadsource);});i.subscribe('update-actions',function(fa,ga){if(ga.actions&&ga.actions.length)s(ga.actions);});e.exports=ea;},null);
__d("UFIReplyCommentList",["ActorURI","MercuryServerDispatcher","UFICentralUpdates","UFICommentList","UFIComments","UFIConstants","URI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();"use strict";var n={};for(var o in j)if(j.hasOwnProperty(o))q[o]=j[o];var p=j===null?null:j.prototype;q.prototype=Object.create(p);q.prototype.constructor=q;q.__superConstructor__=j;q.getCommentList=function(s,t){if(!n[t])n[t]=new q(s,t);return n[t];};q.resetWithContext=function(s,t,u){var v=n[t];if(!v)return;v.reset();for(var w in u)if(this.isValidContextPropertyForReset(w))v[w]=u[w];};function q(s,t){j.call(this,s);this.parentCommentID=t;}q.prototype.fetchComments=function(s,t,u){var v={ft_ent_identifier:this.feedbackTargetID,parent_comment_ids:[this.parentCommentID],source:null,offsets:[s],lengths:[t]};if(!u)v[g.PARAMETER_ACTOR]=this.actorID;h.trySend('/ajax/ufi/reply_fetch.php',v);};q.prototype.deferredCallback=function(s,t,u,v){var w={};for(var x=0;x<t;x++){var y=k.getComment(v[s+x]);if(y)w[s+x]=y;}u(w);};q.prototype.reset=function(){var s=p.reset.call(this),t={};for(var u in s){var v=s[u];t[v]=true;}k.resetComments(t);};q.prototype.getParentCommentID=function(){return this.parentCommentID;};q.prototype.buildCommentPermalink=function(s,t,u){if(!this.basePermalink)return null;return (m(this.basePermalink).addQueryData({reply_comment_id:t,total_comments:this.count}).toString());};h.registerEndpoints({'/ajax/ufi/reply_fetch.php':{mode:h.IMMEDIATE}});function r(s){var t=k.getComment(s.commentid),u=t.id,v=t.ftentidentifier,w=t.parentcommentid;if(!w)return;if(t.status!==l.UFIStatus.DELETED&&t.status!==l.UFIStatus.FAILED_ADD)q.getCommentList(v,w).deleteComment(u);}i.subscribe('update-actions',function(s,t){if(t.actions&&t.actions.length)for(var u=0;u<t.actions.length;u++){var v=t.actions[u];switch(v.actiontype){case l.UFIActionType.DELETE_COMMENT:r(v);break;}}});i.subscribe('update-comment-lists',function(s,t){var u=t.commentlists;if(u&&u.replies&&Object.keys(u).length)for(var v in u.replies){var w=u.replies[v],x=w.ftentidentifier;q.getCommentList(x,v).addCommentIDs(w.range.offset,w.range.length,w.values).updateCommentCount(w.count);}});i.subscribe('update-comments',function(s,t){if(t.comments&&t.comments.length)t.comments.forEach(function(u){var v=u.entidentifier,w=u.parentcommentid;if(!w)return;q.getCommentList(v,w).addComment(u.id,u.clientid,u.legacyid);});});e.exports=q;},null);
__d("UFIToplevelCommentList",["ActorURI","MercuryServerDispatcher","UFICentralUpdates","UFICommentList","UFIComments","UFIConstants","UFIReplyCommentList","URI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();"use strict";var o={};for(var p in j)if(j.hasOwnProperty(p))r[p]=j[p];var q=j===null?null:j.prototype;r.prototype=Object.create(q);r.prototype.constructor=r;r.__superConstructor__=j;r.getCommentList=function(t,u){if(!o[t])o[t]={};if(!o[t][u]){var v=new r(t,u),w=r.getCommentListsForFeedbackTargetID(t);if(w.length)v.updateCommentCount(w[0].getCommentCount());o[t][u]=v;}return o[t][u];};r.getCommentListsForFeedbackTargetID=function(t){var u=[],v=o[t]||{};for(var w in v)u.push(v[w]);return u;};r.getCommentListForFeedbackTargetID_UNSAFE=function(t){var u=r.getCommentListsForFeedbackTargetID(t);return u.length?u[0]:null;};r.resetCommentListsForFeedbackTargetID=function(t){if(!o[t])return;var u={};for(var v in o[t]){var w=o[t][v],x=w.reset();for(var y in x){var z=x[y];u[z]=true;}}k.resetComments(u);};r.resetCommentListsWithContext=function(t,u){if(!o[t])return;var v={};for(var w in o[t]){var x=o[t][w];for(var y in u)if(this.isValidContextPropertyForReset(y))x[y]=u[y];var z=x.reset();for(var aa in z){var ba=z[aa];v[ba]=true;m.resetWithContext(t,ba,u);}}k.resetComments(v);};function r(t,u){j.call(this,t);this.orderingMode=u;}r.prototype.fetchComments=function(t,u,v){var w={ft_ent_identifier:this.feedbackTargetID,viewas:v,source:null,offset:t,length:u,orderingmode:this.orderingMode};if(!v)w[g.PARAMETER_ACTOR]=this.actorID;h.trySend('/ajax/ufi/comment_fetch.php',w);};r.prototype.deferredCallback=function(t,u,v,w){var x={},y=t,z=t+u-1;for(var aa=0;aa<u;aa++){var ba=this.orderReversed?z-aa:y+aa,ca=k.getComment(w[ba]);if(ca)x[t+aa]=ca;}v(x);};r.prototype.getOrderingMode=function(){return this.orderingMode;};r.prototype.buildCommentPermalink=function(t,u,v){if(!this.basePermalink)return null;var w=Math.floor((this.count-v-1)/l.defaultPageSize)*l.defaultPageSize;return (n(this.basePermalink).addQueryData({comment_id:u,offset:w,total_comments:this.count}).toString());};h.registerEndpoints({'/ajax/ufi/comment_fetch.php':{mode:h.IMMEDIATE}});function s(t){var u=k.getComment(t.commentid),v=u.id,w=u.ftentidentifier,x=u.parentcommentid;if(x)return;if(t.islocal||(u.status!==l.UFIStatus.DELETED&&u.status!==l.UFIStatus.FAILED_ADD))r.getCommentListsForFeedbackTargetID(w).forEach(function(y){y.deleteComment(v);});}i.subscribe('update-actions',function(t,u){if(u.actions&&u.actions.length)for(var v=0;v<u.actions.length;v++){var w=u.actions[v];switch(w.actiontype){case l.UFIActionType.DELETE_COMMENT:s(w);break;}}});i.subscribe('update-comment-lists',function(t,u){var v=u.commentlists;if(v&&v.comments&&Object.keys(v).length)for(var w in v.comments)for(var x in v.comments[w]){var y=v.comments[w][x];r.getCommentList(w,x).addCommentIDs(y.range.offset,y.range.length,y.values);}});i.subscribe('update-comments',function(t,u){if(u.comments&&u.comments.length)u.comments.forEach(function(v){if(v.parentcommentid)return;var w=v.ftentidentifier;r.getCommentListsForFeedbackTargetID(w).forEach(function(x){x.addComment(v.id,v.clientid,v.legacyid);});});});i.subscribe('update-feedback',function(t,u){if(u.feedbacktargets&&u.feedbacktargets.length)u.feedbacktargets.forEach(function(v){var w=v.entidentifier,x=v.defaultcommentorderingmode,y={};if(x)y[x]=true;if(v.orderingmodes)v.orderingmodes.forEach(function(aa){y[aa.value]=true;});for(var z in y)r.getCommentList(w,z).updateCommentCount(v.commentcount);});});e.exports=r;},null);
__d("UnicodeBidi",["Locale","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";var i={L:'A-Za-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u01BA\u01BB'+'\u01BC-\u01BF\u01C0-\u01C3\u01C4-\u0293\u0294\u0295-\u02AF\u02B0-\u02B8'+'\u02BB-\u02C1\u02D0-\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u0377'+'\u037A\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1'+'\u03A3-\u03F5\u03F7-\u0481\u0482\u048A-\u052F\u0531-\u0556\u0559'+'\u055A-\u055F\u0561-\u0587\u0589\u0903\u0904-\u0939\u093B\u093D'+'\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0950\u0958-\u0961\u0964-\u0965'+'\u0966-\u096F\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098C'+'\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD'+'\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09CE\u09D7\u09DC-\u09DD'+'\u09DF-\u09E1\u09E6-\u09EF\u09F0-\u09F1\u09F4-\u09F9\u09FA\u0A03'+'\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33'+'\u0A35-\u0A36\u0A38-\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F'+'\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0'+'\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0AD0'+'\u0AE0-\u0AE1\u0AE6-\u0AEF\u0AF0\u0B02-\u0B03\u0B05-\u0B0C\u0B0F-\u0B10'+'\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40'+'\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0B5C-\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F'+'\u0B70\u0B71\u0B72-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95'+'\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9'+'\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7'+'\u0BE6-\u0BEF\u0BF0-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10'+'\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C59\u0C60-\u0C61'+'\u0C66-\u0C6F\u0C7F\u0C82-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8'+'\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CBE\u0CBF\u0CC0-\u0CC4\u0CC6'+'\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0CDE\u0CE0-\u0CE1\u0CE6-\u0CEF'+'\u0CF1-\u0CF2\u0D02-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D'+'\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D60-\u0D61'+'\u0D66-\u0D6F\u0D70-\u0D75\u0D79\u0D7A-\u0D7F\u0D82-\u0D83\u0D85-\u0D96'+'\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF'+'\u0DE6-\u0DEF\u0DF2-\u0DF3\u0DF4\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45'+'\u0E46\u0E4F\u0E50-\u0E59\u0E5A-\u0E5B\u0E81-\u0E82\u0E84\u0E87-\u0E88'+'\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7'+'\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6'+'\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F01-\u0F03\u0F04-\u0F12\u0F13\u0F14'+'\u0F15-\u0F17\u0F1A-\u0F1F\u0F20-\u0F29\u0F2A-\u0F33\u0F34\u0F36\u0F38'+'\u0F3E-\u0F3F\u0F40-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C'+'\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FCF\u0FD0-\u0FD4\u0FD5-\u0FD8'+'\u0FD9-\u0FDA\u1000-\u102A\u102B-\u102C\u1031\u1038\u103B-\u103C\u103F'+'\u1040-\u1049\u104A-\u104F\u1050-\u1055\u1056-\u1057\u105A-\u105D\u1061'+'\u1062-\u1064\u1065-\u1066\u1067-\u106D\u106E-\u1070\u1075-\u1081'+'\u1083-\u1084\u1087-\u108C\u108E\u108F\u1090-\u1099\u109A-\u109C'+'\u109E-\u109F\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FB\u10FC'+'\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288'+'\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5'+'\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u1368'+'\u1369-\u137C\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166D-\u166E'+'\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EB-\u16ED\u16EE-\u16F0'+'\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735-\u1736'+'\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5'+'\u17C7-\u17C8\u17D4-\u17D6\u17D7\u17D8-\u17DA\u17DC\u17E0-\u17E9'+'\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18A8\u18AA'+'\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930-\u1931'+'\u1933-\u1938\u1946-\u194F\u1950-\u196D\u1970-\u1974\u1980-\u19AB'+'\u19B0-\u19C0\u19C1-\u19C7\u19C8-\u19C9\u19D0-\u19D9\u19DA\u1A00-\u1A16'+'\u1A19-\u1A1A\u1A1E-\u1A1F\u1A20-\u1A54\u1A55\u1A57\u1A61\u1A63-\u1A64'+'\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AA6\u1AA7\u1AA8-\u1AAD'+'\u1B04\u1B05-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B45-\u1B4B'+'\u1B50-\u1B59\u1B5A-\u1B60\u1B61-\u1B6A\u1B74-\u1B7C\u1B82\u1B83-\u1BA0'+'\u1BA1\u1BA6-\u1BA7\u1BAA\u1BAE-\u1BAF\u1BB0-\u1BB9\u1BBA-\u1BE5\u1BE7'+'\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1BFC-\u1BFF\u1C00-\u1C23\u1C24-\u1C2B'+'\u1C34-\u1C35\u1C3B-\u1C3F\u1C40-\u1C49\u1C4D-\u1C4F\u1C50-\u1C59'+'\u1C5A-\u1C77\u1C78-\u1C7D\u1C7E-\u1C7F\u1CC0-\u1CC7\u1CD3\u1CE1'+'\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF2-\u1CF3\u1CF5-\u1CF6\u1D00-\u1D2B'+'\u1D2C-\u1D6A\u1D6B-\u1D77\u1D78\u1D79-\u1D9A\u1D9B-\u1DBF\u1E00-\u1F15'+'\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D'+'\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC'+'\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E'+'\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D'+'\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2135-\u2138\u2139'+'\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2182\u2183-\u2184'+'\u2185-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF'+'\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C7B\u2C7C-\u2C7D\u2C7E-\u2CE4'+'\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F'+'\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE'+'\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005\u3006\u3007'+'\u3021-\u3029\u302E-\u302F\u3031-\u3035\u3038-\u303A\u303B\u303C'+'\u3041-\u3096\u309D-\u309E\u309F\u30A1-\u30FA\u30FC-\u30FE\u30FF'+'\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F'+'\u31A0-\u31BA\u31F0-\u31FF\u3200-\u321C\u3220-\u3229\u322A-\u3247'+'\u3248-\u324F\u3260-\u327B\u327F\u3280-\u3289\u328A-\u32B0\u32C0-\u32CB'+'\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5'+'\u4E00-\u9FCC\uA000-\uA014\uA015\uA016-\uA48C\uA4D0-\uA4F7\uA4F8-\uA4FD'+'\uA4FE-\uA4FF\uA500-\uA60B\uA60C\uA610-\uA61F\uA620-\uA629\uA62A-\uA62B'+'\uA640-\uA66D\uA66E\uA680-\uA69B\uA69C-\uA69D\uA6A0-\uA6E5\uA6E6-\uA6EF'+'\uA6F2-\uA6F7\uA722-\uA76F\uA770\uA771-\uA787\uA789-\uA78A\uA78B-\uA78E'+'\uA790-\uA7AD\uA7B0-\uA7B1\uA7F7\uA7F8-\uA7F9\uA7FA\uA7FB-\uA801'+'\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA823-\uA824\uA827\uA830-\uA835'+'\uA836-\uA837\uA840-\uA873\uA880-\uA881\uA882-\uA8B3\uA8B4-\uA8C3'+'\uA8CE-\uA8CF\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8F8-\uA8FA\uA8FB\uA900-\uA909'+'\uA90A-\uA925\uA92E-\uA92F\uA930-\uA946\uA952-\uA953\uA95F\uA960-\uA97C'+'\uA983\uA984-\uA9B2\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uA9C1-\uA9CD'+'\uA9CF\uA9D0-\uA9D9\uA9DE-\uA9DF\uA9E0-\uA9E4\uA9E6\uA9E7-\uA9EF'+'\uA9F0-\uA9F9\uA9FA-\uA9FE\uAA00-\uAA28\uAA2F-\uAA30\uAA33-\uAA34'+'\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F\uAA60-\uAA6F'+'\uAA70\uAA71-\uAA76\uAA77-\uAA79\uAA7A\uAA7B\uAA7D\uAA7E-\uAAAF\uAAB1'+'\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAADD\uAADE-\uAADF'+'\uAAE0-\uAAEA\uAAEB\uAAEE-\uAAEF\uAAF0-\uAAF1\uAAF2\uAAF3-\uAAF4\uAAF5'+'\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E'+'\uAB30-\uAB5A\uAB5B\uAB5C-\uAB5F\uAB64-\uAB65\uABC0-\uABE2\uABE3-\uABE4'+'\uABE6-\uABE7\uABE9-\uABEA\uABEB\uABEC\uABF0-\uABF9\uAC00-\uD7A3'+'\uD7B0-\uD7C6\uD7CB-\uD7FB\uE000-\uF8FF\uF900-\uFA6D\uFA70-\uFAD9'+'\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF6F\uFF70'+'\uFF71-\uFF9D\uFF9E-\uFF9F\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF'+'\uFFD2-\uFFD7\uFFDA-\uFFDC',R:'\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05D0-\u05EA\u05EB-\u05EF'+'\u05F0-\u05F2\u05F3-\u05F4\u05F5-\u05FF\u07C0-\u07C9\u07CA-\u07EA'+'\u07F4-\u07F5\u07FA\u07FB-\u07FF\u0800-\u0815\u081A\u0824\u0828'+'\u082E-\u082F\u0830-\u083E\u083F\u0840-\u0858\u085C-\u085D\u085E'+'\u085F-\u089F\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB37\uFB38-\uFB3C'+'\uFB3D\uFB3E\uFB3F\uFB40-\uFB41\uFB42\uFB43-\uFB44\uFB45\uFB46-\uFB4F',AL:'\u0608\u060B\u060D\u061B\u061C\u061D\u061E-\u061F\u0620-\u063F\u0640'+'\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6'+'\u06EE-\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070E\u070F'+'\u0710\u0712-\u072F\u074B-\u074C\u074D-\u07A5\u07B1\u07B2-\u07BF'+'\u08A0-\u08B2\u08B3-\u08E3\uFB50-\uFBB1\uFBB2-\uFBC1\uFBC2-\uFBD2'+'\uFBD3-\uFD3D\uFD40-\uFD4F\uFD50-\uFD8F\uFD90-\uFD91\uFD92-\uFDC7'+'\uFDC8-\uFDCF\uFDF0-\uFDFB\uFDFC\uFDFE-\uFDFF\uFE70-\uFE74\uFE75'+'\uFE76-\uFEFC\uFEFD-\uFEFE'},j=i.L+i.R+i.AL,k=i.R+i.AL,l=new RegExp('['+j+']'),m=new RegExp('['+k+']');function n(t){var u=l.exec(t);if(!u)return h.NEUTRAL;var v=m.exec(u[0]);return v?h.RTL:h.LTR;}function o(t,u){u=u||h.NEUTRAL;if(!t.length)return u;var v=n(t);return (v===h.NEUTRAL)?u:v;}function p(t,u){if(!u||!h.isStrong(u))u=g.getDirection();return o(t,u);}function q(t,u){return p(t,u)===h.LTR;}function r(t,u){return p(t,u)===h.RTL;}var s={firstStrongCharDir:n,resolveBlockDir:o,getDirection:p,isDirectionLTR:q,isDirectionRTL:r};e.exports=s;},null);
__d("UFIUserActions",["ActorURI","AsyncResponse","CLoggerX","ClientIDs","ImmutableObject","Nectar","UFICentralUpdates","UFIToplevelCommentList","UFIComments","UFIConstants","UFIFeedbackTargets","MercuryServerDispatcher","collectDataAttributes","copyProperties","fbt","UnicodeBidi"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();var w={BAN:'ban',UNDO_BAN:'undo_ban'},x={changeActor:function(ka,la){q.getFeedbackTarget(ka,function(ma){n.resetCommentListsWithContext(ka,{actorID:la});var na={from_actor_id:ma.actorforpost,ft_ent_identifier:ka};na[g.PARAMETER_ACTOR]=la;r.trySend('/ajax/ufi/actor_change.php',na);});},changeCommentLike:function(ka,la,ma){var na=o.getComment(ka);if(na.hasviewerliked!=la){var oa=y(ma.target),pa=la?1:-1,qa={commentid:ka,actiontype:p.UFIActionType.COMMENT_LIKE,viewerliked:la,likecount:na.likecount+pa};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[qa]});q.getFeedbackTarget(na.ftentidentifier,function(ra){var sa={};sa[g.PARAMETER_ACTOR]=ra.actorforpost;r.trySend('/ajax/ufi/comment_like.php',t({comment_id:ka,legacy_id:na.legacyid,like_action:la,ft_ent_identifier:na.ftentidentifier,source:ma.source,client_id:j.getNewClientID()},oa,sa));});}},addComment:function(ka,la,ma,na){q.getFeedbackTarget(ka,function(oa){var pa=y(na.target),qa=j.getNewClientID();if(!oa.actorforpost)return;var ra=v.isDirectionLTR(la)?'ltr':'rtl',sa={ftentidentifier:ka,body:{text:la,dir:ra},author:oa.actorforpost,id:qa,islocal:true,ufiinstanceid:na.ufiinstanceid,likecount:0,hasviewerliked:false,parentcommentid:na.replyid,attachment:na.attachedsticker,photo_comment:na.attachedphoto,timestamp:{time:Math.floor(Date.now()/1000),text:u._("A few seconds ago")}},ta={actiontype:p.UFIActionType.SUBSCRIBE_ACTION,actorid:oa.actorforpost,hasviewersubscribed:true,entidentifier:ka},ua={actiontype:p.UFIActionType.ADD_COMMENT_ACTION,feedbackfbid:oa.targetfbid};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{comments:[sa],actions:[ta,ua]});var va=null;if(na.replyid)va=(o.getComment(na.replyid)).fbid;var wa=i.getCLParamsForTarget(na.target,va),xa={};xa[g.PARAMETER_ACTOR]=oa.actorforpost;r.trySend('/ajax/ufi/add_comment.php',t({ft_ent_identifier:oa.entidentifier,comment_text:ma,source:na.source,client_id:qa,reply_fbid:va,parent_comment_id:na.replyid,timeline_log_data:na.timelinelogdata,rootid:na.rootid,clp:wa,attached_sticker_fbid:na.attachedsticker?na.attachedsticker.fbid:0,attached_photo_fbid:na.attachedphoto?na.attachedphoto.fbid:0,giftoccasion:na.giftoccasion,recommendation_ids:na.recommendationIDs?na.recommendationIDs:[],facepileMentionedIDs:na.facepileMentionedIDs,feed_context:na.feedcontext},pa,xa));});},_hasCommentTextChanged:function(ka,la){return ka.body&&ka.body.text!=la;},_hasCommentPhotoChanged:function(ka,la){return ((ka||la)&&!(ka&&la))||(ka&&la&&(ka.fbid!=la.fbid));},_hasCommentStickerChanged:function(ka,la){return ((ka||la)&&!(ka&&la))||(ka&&(ka.type=="sticker")&&la&&(ka.fbid!=la.fbid));},editComment:function(ka,la,ma,na){var oa=y(na.target),pa=o.getComment(ka),qa=this._hasCommentTextChanged(pa,la)||this._hasCommentPhotoChanged(pa.photo_comment,na.attachedPhoto)||this._hasCommentStickerChanged(pa.attachment,na.attachedSticker);pa=k.set(pa,{status:p.UFIStatus.PENDING_EDIT,body:{text:la},editnux:null,attachment:na.attachedSticker,photo_comment:na.attachedPhoto});if(qa)pa=k.set(pa,{originalTimestamp:pa.timestamp.time,timestamp:{time:Math.floor(Date.now()/1000),text:u._("A few seconds ago")}});m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{comments:[pa]});q.getFeedbackTarget(pa.ftentidentifier,function(ra){var sa={};sa[g.PARAMETER_ACTOR]=ra.actorforpost;r.trySend('/ajax/ufi/edit_comment.php',t({ft_ent_identifier:pa.ftentidentifier,comment_text:ma,source:na.source,comment_id:pa.id,parent_comment_id:pa.parentcommentid,attached_sticker_fbid:na.attachedSticker?na.attachedSticker.fbid:0,attached_photo_fbid:na.attachedPhoto?na.attachedPhoto.fbid:0},oa,sa));});},translateComment:function(ka,la){r.trySend('/ajax/ufi/translate_comment.php',{ft_ent_identifier:ka.ftentidentifier,comment_ids:[ka.id],source:la.source});},setHideAsSpam:function(ka,la,ma){var na=y(ma.target),oa=o.getComment(ka),pa={commentid:ka,actiontype:p.UFIActionType.COMMENT_SET_SPAM,shouldHideAsSpam:la};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[pa]});r.trySend('/ajax/ufi/comment_spam.php',t({comment_id:ka,spam_action:la,ft_ent_identifier:oa.ftentidentifier,source:ma.source},na));},removeComment:function(ka,la){var ma=y(la.target),na=o.getComment(ka),oa={actiontype:p.UFIActionType.DELETE_COMMENT,commentid:ka,islocal:true,oneclick:la.oneclick};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[oa]});q.getFeedbackTarget(na.ftentidentifier,function(pa){var qa={};qa[g.PARAMETER_ACTOR]=pa.actorforpost;r.trySend('/ajax/ufi/delete_comment.php',t({comment_id:na.id,comment_legacyid:na.legacyid,ft_ent_identifier:na.ftentidentifier,one_click:la.oneclick,source:la.source,client_id:j.getNewClientID(),timeline_log_data:la.timelinelogdata},ma,qa));});},banUser:function(ka,la,ma,na){var oa=ma?w.BAN:w.UNDO_BAN;r.trySend('/ajax/ufi/ban_user.php',{page_id:la,commenter_id:ka.author,action:oa,comment_id:ka.id,client_side:true});},changeLike:function(ka,la,ma){q.getFeedbackTarget(ka,function(na){var oa=y(ma.target);if(na.hasviewerliked!==la){var pa=la?1:-1,qa={actiontype:p.UFIActionType.LIKE_ACTION,actorid:na.actorforpost,hasviewerliked:la,likecount:na.likecount+pa,entidentifier:ka,likesentences:{current:na.likesentences.alternate,alternate:na.likesentences.current}};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[qa]});var ra={};ra[g.PARAMETER_ACTOR]=na.actorforpost;r.trySend('/ajax/ufi/like.php',t({like_action:la,ft_ent_identifier:ka,source:ma.source,client_id:j.getNewClientID(),rootid:ma.rootid,giftoccasion:ma.giftoccasion},oa,ra));}});},changeSubscribe:function(ka,la,ma){q.getFeedbackTarget(ka,function(na){var oa=y(ma.target);if(na.hasviewersubscribed!==la){var pa={actiontype:p.UFIActionType.SUBSCRIBE_ACTION,actorid:na.actorforpost,hasviewersubscribed:la,entidentifier:ka};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[pa]});var qa={};qa[g.PARAMETER_ACTOR]=na.actorforpost;r.trySend('/ajax/ufi/subscribe.php',t({subscribe_action:la,ft_ent_identifier:ka,source:ma.source,client_id:j.getNewClientID(),rootid:ma.rootid,comment_expand_mode:ma.commentexpandmode},oa,qa));}});},fetchSpamComments:function(ka,la,ma,na){r.trySend('/ajax/ufi/id_comment_fetch.php',{ft_ent_identifier:ka,viewas:na,comment_ids:la,parent_comment_id:ma,source:null});},removePreview:function(ka,la){var ma=y(la.target),na={commentid:ka.id,actiontype:p.UFIActionType.REMOVE_PREVIEW};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[na]});r.trySend('/ajax/ufi/remove_preview.php',t({comment_id:ka.id,ft_ent_identifier:ka.ftentidentifier,source:la.source},ma));}};function y(ka){if(!ka)return {ft:{}};var la={ft:s(ka,['ft']).ft};l.addModuleData(la,ka);return la;}function z(ka){var la=ka.request.data;h.defaultErrorHandler(ka);var ma=la.client_id||la.comment_id,na=o.getComment(ma),oa=(na.status===p.UFIStatus.PENDING_EDIT)?p.UFIStatus.FAILED_EDIT:p.UFIStatus.FAILED_ADD;na=k.setDeep(na,{status:oa,allowRetry:aa(ka),body:{mentionstext:la.comment_text,mentionsphoto:na.photo_comment}});m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{comments:[na]});}function aa(ka){var la=ka.getError();if(ka.isBlockedAction())return false;if(ka.silentError)return true;if(la===1357012||la===1357006)return false;return true;}function ba(ka){var la=ka.request.data,ma=la.comment_id,na=o.getComment(ma);na=k.set(na,{status:na.priorstatus||null,priorstatus:(void 0)});m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{comments:[na]});}function ca(ka){var la=ka.request.data,ma=la.comment_id,na=o.getComment(ma);if(la.like_action===na.hasviewerliked){var oa=na.hasviewerliked?-1:1,pa={commentid:ma,actiontype:p.UFIActionType.COMMENT_LIKE,viewerliked:!na.hasviewerliked,likecount:na.likecount+oa};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[pa]});}h.defaultErrorHandler(ka);}function da(ka){var la=ka.request.data,ma=la.ft_ent_identifier;q.getFeedbackTarget(ma,function(na){if(na.hasviewerliked===la.like_action){var oa=na.hasviewerliked?-1:1,pa={actiontype:p.UFIActionType.LIKE_ACTION,actorid:na.actorforpost,hasviewerliked:!na.hasviewerliked,likecount:na.likecount+oa,entidentifier:ma,likesentences:{current:na.likesentences.alternate,alternate:na.likesentences.current}};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[pa]});}});h.defaultErrorHandler(ka);}function ea(ka){var la=ka.request.data,ma=la.ft_ent_identifier;q.getFeedbackTarget(ma,function(na){if(na.hasviewersubscribed===la.subscribe_action){var oa={actiontype:p.UFIActionType.SUBSCRIBE_ACTION,actorid:na.actorforpost,hasviewersubscribed:!na.hasviewersubscribed,entidentifier:ma};m.handleUpdate(p.UFIPayloadSourceType.USER_ACTION,{actions:[oa]});}});h.defaultErrorHandler(ka);}var fa={'/ajax/ufi/actor_change.php':{mode:r.IMMEDIATE},'/ajax/ufi/comment_like.php':{mode:r.BATCH_CONDITIONAL,error_handler:ca,batch_if:ga,batch_function:ja},'/ajax/ufi/comment_spam.php':{mode:r.IMMEDIATE,error_handler:ba},'/ajax/ufi/add_comment.php':{mode:r.IMMEDIATE,error_handler:z},'/ajax/ufi/delete_comment.php':{mode:r.IMMEDIATE,error_handler:ba},'/ajax/ufi/ban_user.php':{mode:r.IMMEDIATE},'/ajax/ufi/edit_comment.php':{mode:r.IMMEDIATE,error_handler:z},'/ajax/ufi/like.php':{mode:r.BATCH_CONDITIONAL,error_handler:da,batch_if:ha,batch_function:ja},'/ajax/ufi/subscribe.php':{mode:r.BATCH_CONDITIONAL,error_handler:ea,batch_if:ia,batch_function:ja},'/ajax/ufi/id_comment_fetch.php':{mode:r.IMMEDIATE},'/ajax/ufi/remove_preview.php':{mode:r.IMMEDIATE},'/ajax/ufi/translate_comment.php':{mode:r.IMMEDIATE},'/profile/broadcast_request/async/add_composer_token/':{mode:r.IMMEDIATE}};r.registerEndpoints(fa);function ga(ka,la){return ka&&ka.ft_ent_identifier==la.ft_ent_identifier&&ka.comment_id==la.comment_id;}function ha(ka,la){return ka&&ka.ft_ent_identifier==la.ft_ent_identifier;}function ia(ka,la){return ka&&ka.ft_ent_identifier==la.ft_ent_identifier;}function ja(ka,la){return la;}e.exports=x;},null);
__d("UFIUIEvents",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g='UFIUIEvents/ufiActionAddComment',h='UFIUIEvents/ufiActionLinkLike',i='UFIUIEvents/ufiActionLinkUnlike',j={UFIActionLinkLike:h,UFIActionLinkUnlike:i,UFIActionAddComment:g};e.exports=j;},null);
__d("XUIGrayText.react",["React","XUIText.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"XUIGrayText",propTypes:{shade:l.oneOf(['light','medium','dark'])},getDefaultProps:function(){return {shade:'light'};},render:function(){var n=((this.props.shade==='light'?"_50f8":'')+(this.props.shade==='medium'?' '+"_c24":'')+(this.props.shade==='dark'?' '+"_50f9":''));return (g.createElement(h,g.__spread({},this.props,{className:j(this.props.className,n)}),this.props.children));}});e.exports=m;},null);
__d("XPagesMessagingPrivateReplyDialogController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pages\/messaging\/private_reply\/dialog\/",{activity_id:{type:"String",required:true}});},null);
__d("UFIPrivateReplyLink.react",["ActorURI","Link.react","PagesPrivateReplyConstants","React","XUIGrayText.react","XPagesMessagingPrivateReplyDialogController","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=i.Status,o=i.Type,p=j,q=p.PropTypes,r=j.createClass({displayName:"UFIPrivateReplyLink",propTypes:{activityID:q.string.isRequired,context:q.shape({activityType:q.string.isRequired,status:q.string.isRequired,hasReplyPermission:q.bool.isRequired,pageID:q.string.isRequired,permalink:q.string}).isRequired},render:function(){var s=this.props.context;if(s.hasReplyPermission){if(s.status===n.REPLYABLE){return this._renderMessageLink();}else if(s.status===n.ALREADY_REPLIED)return this._renderSeeReplyLink();return this._renderTooltip();}if(s.status===n.ALREADY_REPLIED)return this._renderIndicator();return null;},_renderMessageLink:function(){var s=g.create(l.getURIBuilder().setString('activity_id',this.props.activityID).getURI(),this.props.context.pageID);return (j.createElement(h,{href:s,rel:"dialog"},this._getLabel()));},_renderTooltip:function(){var s;switch(this.props.context.status){case n.EXPIRED:s=m._({"comments":"You can't send a message response to comments that are older than 6 months.","reviews":"You can't send a message response to reviews that are older than 6 months.","posts":"You can't send a message response to posts that are older than 6 months."},[m['enum'](this._getActivityTypeLabel(),{comments:"comments",reviews:"reviews",posts:"posts"})]);break;case n.NOT_USER_CREATED:s=m._("Pages can't send private messages to other Pages.");break;}return (j.createElement("span",null,j.createElement(k,{shade:"light","aria-label":s,"data-hover":s?'tooltip':null},this._getLabel())));},_renderSeeReplyLink:function(){return (j.createElement(h,{href:this.props.context.permalink||'#'},m._("See Response")));},_renderIndicator:function(){return (j.createElement("span",null,j.createElement(k,{shade:"light"},m._("Page responded privately"))));},_getLabel:function(){return (m._("Message Privately"));},_getActivityTypeLabel:function(){switch(this.props.context.activityType){case o.COMMENT_PAGE_POST:case o.COMMENT_WALL_POST:case o.COMMENT_REVIEW:return 'comments';case o.REVIEW:return 'reviews';default:return 'posts';}}});e.exports=r;},null);
__d("UFIActionLinkController",["Arbiter","ClickPointIdentifiersDEPRECATED","CommentPrelude","CSS","DOM","DOMQuery","Parent","React","TrackingNodes","UFIBlingBox.react","UFICentralUpdates","UFICommentLink.react","UFIConstants","UFIFeedbackTargets","UFILikeLink.react","UFIShareLink.react","UFISubscribeLink.react","UFITimelineBlingBox.react","UFIToplevelCommentList","UFIUserActions","UFIUIEvents","UFIPrivateReplyLink.react","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca){b.__markCompiled&&b.__markCompiled();function da(fa,ga,ha){if(this._root)throw new Error('UFIActionLinkController attempted to initialize when a root was'+' already present');var ia=l.scry(fa,ga)[0];if(ia){if(j.hasClass(ia,'prevent_react_replace'))return;var ja=document.createElement('span');ia.parentNode.replaceChild(ja,ia);ja.appendChild(ia);if(typeof ha==="function")ha(ja);}else var ka=g.subscribe('PhotoSnowlift.DATA_CHANGE',function(){g.unsubscribe(ka);da(fa,ga,ha);},g.SUBSCRIBE_NEW);}var ea=function(fa,ga,ha){this._id=ga.ftentidentifier;this._ftFBID=ha.targetfbid;this._source=ga.source;this._contextArgs=ga;this._ufiRoot=fa;this._isOnTimeline=this._isRenderingOnTimeline();if(this._isOnTimeline){this._attemptInitializeTimelineBling();}else this._attemptInitializeBling();if(ha.viewercanlike||ha.hasviewerliked)this._attemptInitializeLike();if(ha.cancomment&&this._contextArgs.reactcommentlink)this._attemptInitializeComment();if(ha.viewercansubscribetopost)this._attemptInitializeSubscribe();this._attemptInitializeShare();this._attemptInitializeMessageReply();q.subscribe('feedback-updated',function(ia,ja){var ka=ja.updates;if(this._id in ka)this.render();}.bind(this));q.subscribe('feedback-id-changed',function(ia,ja){var ka=ja.updates;if(this._id in ka)this._id=ka[this._id];}.bind(this));};ca(ea.prototype,{_attemptInitializeBling:function(){da(this._ufiRoot,'^form .uiBlingBox',function(fa){this._blingRoot=fa;if(this._dataReady)this._renderBling();}.bind(this));},_attemptInitializeTimelineBling:function(){if(this._root)throw new Error('UFIActionLinkController attempted to initialize when a root was'+' already present');var fa=l.scry(this._ufiRoot,'^form .fbTimelineFeedbackActions .UFIBlingBoxTimeline')[0];if(fa){var ga=l.scry(fa,'.fbTimelineFeedbackLikes')[0];this._enableShowLikes=ga?true:false;var ha=l.scry(fa,'.fbTimelineFeedbackComments')[0];this._enableShowComments=ha?true:false;}this._blingTimelineRoot=fa;if(this._dataReady)this._renderTimelineBling();},_attemptInitializeLike:function(){da(this._ufiRoot,'^form .like_link',function(fa){this._likeRoot=fa;if(this._dataReady)this._renderLike();}.bind(this));},_attemptInitializeComment:function(){da(this._ufiRoot,'^form .comment_link',function(fa){this._commentRoot=fa;if(this._dataReady)this._renderComment();}.bind(this));},_attemptInitializeSubscribe:function(){da(this._ufiRoot,'^form .unsub_link',function(fa){this._subscribeRoot=fa;if(this._dataReady)this._renderSubscribe();}.bind(this));},_attemptInitializeMessageReply:function(){da(this._ufiRoot,'^form .message_reply_action_link',function(fa){this._messageReplyRoot=fa;if(this._messageReplyRoot.previousSibling&&this._messageReplyRoot.previousSibling.nodeType===3){this._messageReplySeparator=this._messageReplyRoot.previousSibling;this._messageReplySeparatorData=this._messageReplySeparator.data;}if(this._dataReady)this._renderMessageReply();}.bind(this));},_attemptInitializeShare:function(){da(this._ufiRoot,'^form .share_action_link',function(fa){this._shareRoot=fa;var ga=l.scry(this._shareRoot,'.share_action_link')[0];this._shareURI=ga?ga.getAttribute('href'):null;if(this._dataReady)this._renderShare();}.bind(this));},render:function(){this._dataReady=true;if(this._isOnTimeline){this._renderTimelineBling();}else this._renderBling();this._renderLike();this._renderComment();this._renderSubscribe();this._renderShare();this._renderMessageReply();},_renderBling:function(){if(this._blingRoot)t.getFeedbackTarget(this._id,function(fa){var ga=function(event){if(this._contextArgs.blingtogglescomments){var ka=m.byTag(event.target,"form");j.toggleClass(ka,"collapsed_comments");j.toggleClass(ka,"hidden_add_comment");}event.preventDefault();}.bind(this),ha=o.getTrackingInfo(o.types.BLINGBOX),ia=y.getCommentListForFeedbackTargetID_UNSAFE(this._id).getDisplayedCommentCount(),ja=n.createElement(p,{likes:fa.likecount,likesreduced:fa.likecountreduced,comments:ia,commentsreduced:fa.commentcountreduced,reshares:fa.sharecount,resharesreduced:fa.sharecountreduced,nfb:fa.nfbcount,permalink:fa.permalink,contextArgs:this._contextArgs,onClick:ga,"data-ft":ha});this._blingBox=n.render(ja,this._blingRoot);}.bind(this));},_renderTimelineBling:function(){if(this._blingTimelineRoot)t.getFeedbackTarget(this._id,function(fa){var ga=o.getTrackingInfo(o.types.BLINGBOX),ha=h.getUserActionID(h.types.TIMELINE_SEE_LIKERS),ia=function(event){var la=m.byTag(event.target,"form");j.removeClass(la,"collapsed_comments");var ma=l.scry(la,'a.UFIPagerLink');if(ma.length)ma[0].click();event.preventDefault();}.bind(this),ja=y.getCommentListForFeedbackTargetID_UNSAFE(this._id).getDisplayedCommentCount(),ka=n.createElement(x,{comments:ja,commentsreduced:fa.commentcountreduced,commentOnClick:ia,contextArgs:this._contextArgs,"data-ft":ga,"data-gt":ha,enableShowComments:this._enableShowComments,enableShowLikes:this._enableShowLikes,feedbackFBID:this._ftFBID,likes:fa.likecount,likesreduced:fa.likecountreduced,reshares:fa.sharecount,resharesreduced:fa.sharecountreduced,actorid:fa.actorid});n.render(ka,this._blingTimelineRoot);}.bind(this));},_renderLike:function(){if(this._likeRoot)t.getFeedbackTarget(this._id,function(fa){var ga=!fa.hasviewerliked,ha=function(event){var ja=ga?aa.UFIActionLinkLike:aa.UFIActionLinkUnlike;g.inform(ja,{ft_id:this._id,like_action:ga,target:event.target});z.changeLike(this._id,ga,{source:this._source,target:event.target,rootid:this._contextArgs.rootid,giftoccasion:this._contextArgs.giftoccasion});event.preventDefault();}.bind(this),ia=n.createElement(u,{onClick:ha,likeAction:ga,ufiExperiments:this._contextArgs.ufiexperiments});this._likeLink=n.render(ia,this._likeRoot);}.bind(this));},_renderComment:function(){if(!this._commentRoot)return;var fa=function(event){i.click(event.target);},ga=n.createElement(r,{onClick:fa,ufiExperiments:this._contextArgs.ufiexperiments});this._commentLink=n.render(ga,this._commentRoot);},_renderMessageReply:function(){if(this._messageReplyRoot)t.getFeedbackTarget(this._id,function(fa){this._messageReplyLink=null;if(fa.messagereplycontext){var ga=n.createElement(ba,{activityID:this._id,context:fa.messagereplycontext});this._messageReplyLink=n.render(ga,this._messageReplyRoot);}if(!this._messageReplyLink||!n.findDOMNode(this._messageReplyLink)){if(this._messageReplySeparator)this._messageReplySeparator.data='';k.setContent(this._messageReplyRoot,null);return;}if(this._messageReplySeparator)this._messageReplySeparator.data=this._messageReplySeparatorData;}.bind(this));},_renderSubscribe:function(){if(this._subscribeRoot)t.getFeedbackTarget(this._id,function(fa){var ga=!fa.hasviewersubscribed,ha=function(event){z.changeSubscribe(this._id,ga,{source:this._source,target:event.target,rootid:this._contextArgs.rootid,commentexpandmode:fa.commentexpandmode});event.preventDefault();}.bind(this),ia=n.createElement(w,{onClick:ha,subscribeAction:ga});this._subscribeLink=n.render(ia,this._subscribeRoot);}.bind(this));},_renderShare:function(){if(this._shareRoot&&this._shareURI)this._shareLink=n.render(n.createElement(v,{ufiExperiments:this._contextArgs.ufiexperiments,href:this._shareURI}),this._shareRoot);},_isRenderingOnTimeline:function(){if(this._source===s.UFIFeedbackSourceType.PROFILE){var fa=l.scry(this._ufiRoot,'^form .fbTimelineFeedbackActions .UFIBlingBoxTimeline');return (fa.length>0);}return false;}});e.exports=ea;},null);
__d("MentionsInputUtils",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={generateDataFromTextWithEntities:function(h){var i=h.text,j=[];(h.ranges||[]).forEach(function(l){var m=l.entity;if(!m.external)j.push({uid:m.id,text:i.substr(l.offset,l.length),offset:l.offset,length:l.length,weakreference:!!m.weakreference});});var k={value:i,mentions:j};return k;}};e.exports=g;},null);
__d("ClipboardPhotoUploader",["ArbiterMixin","AsyncRequest","mixin"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=i(g);for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(n,o){"use strict";this.uploadURIString=n;this.data=o;}m.prototype.handlePaste=function(event){"use strict";var n=m.getImages(event);for(var o=0;o<n.length;++o){var p=new FormData();p.append('pasted_file',n[o]);var q=new h();q.setURI(this.uploadURIString).setData(this.data).setRawData(p).setHandler(function(r){this.inform('upload_success',r);}.bind(this)).setErrorHandler(function(r){this.inform('upload_error',r);}.bind(this));this.inform('upload_start');q.send();break;}};m.getImages=function(event){"use strict";if(!event.clipboardData)return [];var n=event.clipboardData.items;if(!n)return [];var o,p=[];for(var q=0;q<n.length;++q){o=n[q];if(o.kind==='string')return [];if(o.kind==='file'&&o.type.indexOf('image/')!==-1)p.push(o.getAsFile());}return p;};e.exports=m;},null);
__d("CloseButton.react",["React","Image.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g.createClass({displayName:"CloseButton",render:function(){var l=this.props,m=l.size||'medium',n=l.appearance||'normal',o=m==='small',p=m==='huge',q=n==='dark',r=n==='inverted',s=l.ajaxify||null,t=l.rel||null,u=(("uiCloseButton")+(o?' '+"uiCloseButtonSmall":'')+(p?' '+"uiCloseButtonHuge":'')+(o&&q?' '+"uiCloseButtonSmallDark":'')+(o&&r?' '+"uiCloseButtonSmallInverted":'')+(!o&&q?' '+"uiCloseButtonDark":'')+(!o&&r?' '+"uiCloseButtonInverted":''));return (g.createElement("a",g.__spread({},this.props,{ajaxify:s,href:"#",role:"button","aria-label":l.tooltip,"data-hover":l.tooltip&&'tooltip',"data-tooltip-alignh":l.tooltip&&'center',className:j(this.props.className,u),rel:t}),g.createElement(h,{className:"uiCloseButtonHighContrast",src:"/images/chat/tab/close.png"})));}});e.exports=k;},null);
__d("DOMContainer.react",["React","invariant","isNode"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes,l=g.createClass({displayName:"DOMContainer",propTypes:{display:k.oneOf(['inline','block'])},getDefaultProps:function(){return {display:'inline'};},getDOMChild:function(){var m=this.props.children;h(i(m));return m;},shouldComponentUpdate:function(m,n){return m.children!==this.props.children;},componentDidMount:function(){g.findDOMNode(this).appendChild(this.getDOMChild());},componentDidUpdate:function(){var m=g.findDOMNode(this);while(m.lastChild)m.removeChild(m.lastChild);m.appendChild(this.getDOMChild());},render:function(){if(this.props.display==='block')return g.createElement("div",null);return g.createElement("span",null);}});e.exports=l;},null);
__d("loadImage",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";function g(h,i){var j=new Image();j.onload=function(){i(j.width,j.height,j);};j.src=h;}e.exports=g;},null);
__d("PhotoResizeMath",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={getScaledPhotoDimensions:function(h,i,j,k,l){var m=h/i,n=j/k;if(j&&k&&l==='stretch')return {width:j,height:k};if((!j&&k)||((l==='contain')!==(m>=n)))return {width:k*m,height:k};if(j)return {width:j,height:j/m};return {width:h,height:i};}};e.exports=g;},null);
__d("PixelzFocus",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";var g={search:function(h,i){var j=0,k=h.length-1;while(j<=k){var l=j+Math.floor((k-j)/2),m=h[l];if(m>i){k=l-1;}else if(m<i){j=l+1;}else return l;}return Math.min(j,k);},forceSpecificPoint:function(h,i,j){var k=1e-09,l=g.search(h,i-j-k)+1,m=g.search(h,i+j);return h.slice(l,m+1);},findBiggestSets:function(h,i){var j=[],k=-1;for(var l=0;l<h.length;++l){var m=h[l],n=l,o=g.search(h,m+i),p=o-n;if(p>k)j=[];if(p>=k){k=p;j.push({low:n,high:o});}}return j;},getBestSet:function(h,i,j){var k=-1,l=null;for(var m=0;m<i.length;++m){var n=i[m],o=h[n.low],p=h[n.high],q=o+(p-o)/2,r=Math.min(o-(q-j),(q+j)-p);if(r>k){k=r;l=n;}}return l;},getFocusFromSet:function(h,i){var j=h[i.low],k=h[i.high];return j+(k-j)/2;},clampFocus:function(h,i){var j=i/2,k=1-(i/2);if(h<j)return j;if(h>k)return k;return h;},convertFromCenterToCSS:function(h,i){if(Math.abs(1-i)<1e-05)return 0;return (h-i/2)/(1-i);},convertFromCSSToCenter:function(h,i){return h*(1-i)+i/2;},getVisible:function(h,i){if(h<i)return h/i;return i/h;},getHidden:function(h,i){return 1-g.getVisible(h,i);},focusHorizontally:function(h,i){return h<i;},convertVectorFromCenterToCSS:function(h,i,j){var k=g.focusHorizontally(i,j),l;if(k){l=h.x/100;}else l=h.x/100;var m=g.convertFromCenterToCSS(l,g.getVisible(i,j));if(k){return {x:m,y:0};}else return {x:0,y:m};},getCropRect:function(h,i,j){var k=g.focusHorizontally(i,j),l=g.getVisible(i,j);if(k){var m=(1-l)*h.x;return {left:m,top:0,width:l,height:1};}else{var n=(1-l)*h.y;return {left:0,top:n,width:1,height:l};}}};e.exports=g;},null);
__d("Pixelz.react",["arrayContains","copyProperties","cx","loadImage","joinClasses","React","PhotoResizeMath","PixelzFocus"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();"use strict";var o=l,p=o.PropTypes,q=l.createClass({displayName:"Pixelz",propTypes:{width:p.number,height:p.number,resizeMode:p.oneOf(['contain','cover','stretch']),alt:p.string,letterbox:p.bool,borderRadius:p.number,insetBorderColor:p.string,animated:p.bool,upscale:p.bool,cropRect:function(r,s,t){var u=r[s],v='Invalid prop `'+s+'` supplied to `'+t+'`, expected a rectangle with values normalized '+'between 0 and 1.';if(u.left<0||u.top<0||u.width<0||u.height<0||u.left+u.width>1||u.top+u.height>1)return new Error(v);},focus:function(r,s,t){var u=r[s],v='Invalid prop `'+s+'` supplied to `'+t+'`, expected either a {x, y, type} vector where type '+'is `css` or `center` or an array of {x, y} vectors. All the vectors '+'have with values normalized between 0 and 1.';if(Array.isArray(u)){for(var w=0;w<u.length;++w)if(!(u[w].x>=0&&u[w].x<=1)||!(u[w].y>=0&&u[w].y<=1))return new Error(v);}else{if(!u.type)u.type='css';if(!(u.x>=0&&u.x<=1)||!(u.y>=0&&u.y<=1)||!g(['center','css'],u.type))return new Error(v);}}},getDefaultProps:function(){return {resizeMode:'cover',alt:'',letterbox:true,upscale:true,cropRect:{width:1,height:1,top:0,left:0},focus:{x:.5,y:.5,type:'css'}};},getInitialState:function(){return {srcDimensions:{}};},getSrcDimensions:function(){var r=this.props.src,s=this.state.srcDimensions[r];if(s)return s;j(r,function(t,u){var v={};v[r]={width:t,height:u};this.isMounted()&&this.setState({srcDimensions:v});}.bind(this));return null;},getCropSrcDimensions:function(){var r=this.getSrcDimensions();return {width:r.width*this.props.cropRect.width,height:r.height*this.props.cropRect.height};},getUpscaleCropDimensions:function(){var r=this.getCropSrcDimensions();return m.getScaledPhotoDimensions(r.width,r.height,this.props.width,this.props.height,this.props.resizeMode);},getCropDimensions:function(){var r=this.getUpscaleCropDimensions(),s=this.getCropSrcDimensions();if(!this.props.upscale)return {width:Math.min(r.width,s.width),height:Math.min(r.height,s.height)};return r;},getCropAspectRatio:function(){var r=this.getCropDimensions();return r.width/r.height;},getContainerDimensions:function(){if(this.props.letterbox&&this.props.width&&this.props.height)return {width:this.props.width,height:this.props.height};return this.getCropDimensions();},getContainerAspectRatio:function(){var r=this.getContainerDimensions();return r.width/r.height;},getContainerPosition:function(){return {left:0,top:0};},getFocus:function(){var r=this.props.focus;if(!Array.isArray(r)&&r.type==='css')return {x:r.x,y:r.y};var s=this.getContainerAspectRatio(),t=this.getCropAspectRatio(),u=n.getVisible(s,t),v=n.focusHorizontally(s,t),w;if(!Array.isArray(r)){w=n.convertFromCenterToCSS(v?r.x:r.y,u);}else{var x=r.map(function(aa){return v?aa.x:aa.y;});x.sort();var y=n.findBiggestSets(x,u),z=n.getBestSet(x,y,u);w=n.getFocusFromSet(x,z);}return {x:v?w:.5,y:v?.5:w};},getCropPosition:function(){var r=this.getCropDimensions(),s=this.getContainerDimensions(),t=this.getFocus();return {left:t.x*(s.width-r.width),top:t.y*(s.height-r.height)};},getScaleDimensions:function(){var r=this.getCropDimensions();return {width:r.width/this.props.cropRect.width,height:r.height/this.props.cropRect.height};},getScalePosition:function(){var r=this.getScaleDimensions();return {left:-r.width*this.props.cropRect.left,top:-r.height*this.props.cropRect.top};},getClipCropRectangle:function(){var r=this.getContainerDimensions(),s=this.getCropDimensions(),t=this.getContainerPosition(),u=this.getCropPosition(),v=Math.max(t.left,u.left),w=Math.max(t.top,u.top),x=Math.min(t.top+r.height,u.top+s.height),y=Math.min(t.left+r.width,u.left+s.width);return {left:v,top:w,width:y-v,height:x-w};},getClipCropPosition:function(){var r=this.getClipCropRectangle();return {left:r.left,top:r.top};},getClipCropDimensions:function(){var r=this.getClipCropRectangle();return {width:r.width,height:r.height};},getClipScalePosition:function(){var r=this.getScalePosition(),s=this.getClipCropPosition(),t=this.getCropPosition();return {left:r.left+(t.left-s.left),top:r.top+(t.top-s.top)};},getClipScaleDimensions:function(){return this.getScaleDimensions();},areDimensionsEqual:function(r,s){return r.width===s.width&&r.height===s.height;},shouldAddAllNodesAndStyles:function(){return this.props.animated;},hasCrop:function(){if(this.shouldAddAllNodesAndStyles())return true;var r=this.getContainerDimensions(),s=this.getClipCropDimensions(),t=this.getClipScaleDimensions();if(this.areDimensionsEqual(r,s)||this.areDimensionsEqual(s,t))return false;return true;},hasContainer:function(){if(this.shouldAddAllNodesAndStyles()||this.hasInsetBorder())return true;var r=this.getContainerDimensions(),s=this.getClipScaleDimensions();if(this.areDimensionsEqual(r,s))return false;return true;},hasInsetBorder:function(){return this.shouldAddAllNodesAndStyles()||this.props.insetBorderColor;},applyPositionStyle:function(r,s){if(this.shouldAddAllNodesAndStyles()||s.left)r.left=Math.round(s.left);if(this.shouldAddAllNodesAndStyles()||s.top)r.top=Math.round(s.top);},applyDimensionsStyle:function(r,s){r.width=Math.round(s.width);r.height=Math.round(s.height);},applyBorderRadiusStyle:function(r){if(this.shouldAddAllNodesAndStyles()||this.props.borderRadius)r.borderRadius=this.props.borderRadius||0;},getScaleStyle:function(){var r={},s=this.getClipCropDimensions(),t=this.getClipScaleDimensions();if(this.shouldAddAllNodesAndStyles()||!this.areDimensionsEqual(s,t)){this.applyPositionStyle(r,this.getClipScalePosition());}else this.applyPositionStyle(r,this.getClipCropPosition());this.applyDimensionsStyle(r,this.getClipScaleDimensions());this.applyBorderRadiusStyle(r);return r;},getCropStyle:function(){var r={};this.applyPositionStyle(r,this.getClipCropPosition());this.applyDimensionsStyle(r,this.getClipCropDimensions());this.applyBorderRadiusStyle(r);return r;},getInsetBorderStyle:function(){var r={borderColor:this.props.insetBorderColor||'transparent'};this.applyPositionStyle(r,this.getClipCropPosition());this.applyDimensionsStyle(r,this.getClipCropDimensions());this.applyBorderRadiusStyle(r);return r;},getContainerStyle:function(){var r={};this.applyDimensionsStyle(r,this.getContainerDimensions());this.applyBorderRadiusStyle(r);return r;},getScale:function(){var r=this.getScaleStyle(),s=r.width,t=r.height;r=h({},r);delete r.width;delete r.height;return (l.createElement("img",l.__spread({},this.props,{alt:this.props.alt,className:k(this.props.className,(("_56wb")+(this.shouldAddAllNodesAndStyles()?' '+"_56t5":''))),src:this.props.src,style:Object.assign({},(this.props.style||{}),r),width:s,height:t})));},getCrop:function(){var r=this.getScale();if(!this.hasCrop())return r;return (l.createElement("div",{className:(("_56ma")+(this.shouldAddAllNodesAndStyles()?' '+"_56t5":'')),style:this.getCropStyle()},r));},getInsetBorder:function(){if(!this.hasInsetBorder())return null;return (l.createElement("div",{className:(("_56lv")+(this.shouldAddAllNodesAndStyles()?' '+"_56t5":'')),style:this.getInsetBorderStyle()}));},getContainer:function(){var r=this.getCrop();if(!this.hasContainer())return r;var s=this.getInsetBorder();return (l.createElement("div",{className:(("_56jj")+(this.shouldAddAllNodesAndStyles()?' '+"_56t5":'')),style:this.getContainerStyle()},r,s));},render:function(){var r=this.getSrcDimensions();if(!r)return l.createElement("span",null);return this.getContainer();}});e.exports=q;},null);
__d("List.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes,l=g.createClass({displayName:"List",propTypes:{border:k.oneOf(['none','light','medium','dark']),spacing:k.oneOf(['none','small','medium','large']),direction:k.oneOf(['vertical','horizontal']),valign:k.oneOf(['baseline','top','middle','bottom']),edgepadding:k.bool},getDefaultProps:function(){return {border:'medium',spacing:'medium',direction:'vertical',valign:'top'};},render:function(){var m=this.props.border,n=this.props.direction,o=this.props.spacing,p=n==='horizontal'&&this.props.valign,q,r,s;q=((n==='vertical'?"_4kg":'')+(n==='horizontal'?' '+"_4ki":'')+(p==='top'?' '+"_509-":'')+(p==='middle'?' '+"_509_":'')+(p==='bottom'?' '+"_50a0":''));if(o!=='none'||m!=='none')r=((m==='none'?"_6-i":'')+(m==='light'?' '+"_4ks":'')+(m==='medium'?' '+"_4kt":'')+(m==='dark'?' '+"_4ku":''));if(o!=='none')s=((!this.props.edgepadding?"_6-h":'')+(o==='small'?' '+"_704":'')+(o==='medium'?' '+"_6-j":'')+(o==='large'?' '+"_703":''));var t=i("uiList",q,r,s);return (g.createElement("ul",g.__spread({},this.props,{className:i(this.props.className,t)}),this.props.children));}});e.exports=l;},null);
__d("Facepile.react",["joinClasses","Link.react","Pixelz.react","React","List.react","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=j,n=m.PropTypes,o={small:24,medium:32,large:50},p=j.createClass({displayName:"Facepile",propTypes:{className:n.string,onFaceClick:n.func,onComponentDidMount:n.func,profiles:n.array,size:n.oneOf(['small','medium','large']).isRequired},_onFaceClick:function(q,r){if(this.props.onFaceClick)this.props.onFaceClick(q,r);},componentDidMount:function(){if(this.props.onComponentDidMount)this.props.onComponentDidMount();},renderFace:function(q,r){var s=o[this.props.size];return (j.createElement("li",{className:"_43q7",key:q.uniqueID,onClick:this._onFaceClick.bind(this,q,r)},j.createElement(h,{href:q.URL,"aria-label":q.name,"data-hover":'tooltip',className:"_2rt_","data-tooltip-alignh":'left'},j.createElement(i,{src:q.profilePicURI,width:s,height:s,className:"img"}))));},render:function(){var q=g(this.props.className,(("_43qm")+(this.props.size=='small'?' '+"_43q9":'')+(this.props.size=='medium'?' '+"_43qc":'')+(this.props.size=='large'?' '+"_43qf":'')));return (j.createElement("div",{className:q},j.createElement(k,{className:"uiFacepile/list",direction:"horizontal",spacing:"none",border:"none"},this.props.profiles.map(this.renderFace))));}});e.exports=p;},null);
__d("PagingFacepile.react",["Animation","Locale","Facepile.react","React","Image.react","cx","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=j,o=n.PropTypes,p=200,q=j.createClass({displayName:"PagingFacepile",propTypes:{className:o.string,onFaceClick:o.func,onComponentDidMount:o.func,size:o.oneOf(['small','medium','large']).isRequired,pageSize:o.number,onPageChange:o.func},getInitialState:function(){return {animating:false,page:0};},_numPages:function(){var r=this.props.pageSize;return Math.max(1,Math.ceil((this.props.profiles.length-1)/r));},_canGoPrev:function(){return this.state.page>0;},_canGoNext:function(){return this.state.page+1<this._numPages();},_goPrev:function(){this._canGoPrev()&&this._setPage(this.state.page-1);},_goNext:function(){this._canGoNext()&&this._setPage(this.state.page+1);},_setPage:function(r){if(this.state.animating)return;this.props.onPageChange(this._firstIndexOnPage(r));this.setState({animating:true,page:r},function(){var s=j.findDOMNode(this.refs.positioner).childNodes[0],t=this._calculatePosition(r);new g(s).to(t.reference,t.offset+'px').ondone(function(){return this.setState({animating:false});}.bind(this)).duration(p).go();}.bind(this));},_firstIndexOnPage:function(r){return (r===0)?0:this.props.pageSize*r+1;},_calculatePosition:function(r){var s=this._firstIndexOnPage(r),t=j.findDOMNode(this.refs.positioner).childNodes[0],u=t.childNodes[s].offsetLeft;if(h.isRTL()){var v=t.offsetWidth,w=t.childNodes[s].offsetWidth;return {reference:'right',offset:u+w-v};}return {reference:'left',offset:-u};},render:function(){return (j.createElement("div",null,this._renderPrevArrow(),this._renderNextArrow(),j.createElement("div",{className:"_29sq"},j.createElement(i,j.__spread({ref:"positioner"},this.props)))));},_renderArrow:function(r,s,t){var u=(("_43q7")+(r=='left'?' '+"lfloat":'')+(r=='right'?' '+"rfloat":'')),v=m('/images/messaging/stickers/selector/left.png'),w=m('/images/messaging/stickers/selector/right.png'),x;if(h.isRTL()){x=r=='right'?v:w;}else x=r=='left'?v:w;return (j.createElement("div",{className:u,onClick:t},j.createElement("a",{href:"#","aria-label":s,"data-hover":"tooltip","data-tooltip-alignh":"left",className:"_29sr"},j.createElement(k,{src:x}))));},_renderPrevArrow:function(){if(!this._canGoPrev())return null;return this._renderArrow('left','Previous',this._goPrev);},_renderNextArrow:function(){if(!this._canGoNext())return null;return this._renderArrow('right','Next',this._goNext);}});e.exports=q;},null);
__d("InputCaretUtility",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={moveCaretToBeginning:function(h){if(typeof h.selectionStart==="number"){h.selectionStart=h.selectionEnd=0;}else if(h.createTextRange!==(void 0)){h.focus();var i=h.createTextRange();i.collapse(false);i.select();}},delayedMoveCaretToBeginning:function(h){setTimeout(function(){return g.moveCaretToBeginning(h);});}};e.exports=g;},null);
__d("LegacyMentionsInput.react",["Bootloader","CLogConfig","TypeaheadMetricsConfig","Event","InputCaretUtility","Keys","React","DOM","cx","FocusListener"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();b('FocusListener');var p=m,q=p.PropTypes,r=m.createClass({displayName:"ReactLegacyMentionsInput",propTypes:{initialData:q.object,placeholder:q.string,datasource:q.object,ref:q.string,viewOptionsTypeObjects:q.object,viewOptionsTypeObjectsOrder:q.array,hashtags:q.bool,autoflip:q.bool,onEnterSubmit:q.func,onFocus:q.func,onBlur:q.func,onTypingStateChange:q.func,onPaste:q.func},componentDidMount:function(){this.props.initialData&&this._initializeTextarea(m.findDOMNode(this));},hasEnteredText:function(){return !!(this._mentionsInput&&this._mentionsInput.getValue().trim());},setSignature:function(s){var t=m.findDOMNode(this.refs.textarea);n.setAttributes(t,{value:s});k.delayedMoveCaretToBeginning(t);},submitComment:function(event){var s;if(event){s=event.target.value&&event.target.value.trim();}else{var t=m.findDOMNode(this.refs.textarea);if(t.value&&t.value!==t.placeholder)s=t.value;}s=s||'';var u={visibleValue:s,encodedValue:s};if(this._mentionsInput)u.encodedValue=this._mentionsInput.getRawValue().trim();var v=this.props.onEnterSubmit(u,event);if(v&&this._mentionsInput){this._mentionsInput.reset();event&&event.preventDefault();}},_handleKeydown:function(event){var s=event.nativeEvent,t=j.getKeyCode(s)==l.RETURN&&!j.$E(s).getModifiers().any,u=this._mentionsInput&&this._mentionsInput.getTypeahead().getView().getSelection();if(this.props.onEnterSubmit&&t&&!u)this.submitComment(event);},_handleFocus:function(){this.props.onFocus&&this.props.onFocus();this._initializeTextarea(m.findDOMNode(this.refs.root));},_handleBlur:function(){this.props.onBlur&&this.props.onBlur();},_initializeTextarea:function(s){if(this._mentionsInput||this._bootloadingMentions)return;this._bootloadingMentions=true;g.loadModules(["CompactTypeaheadRenderer","ContextualTypeaheadView","CLoggerX","InputSelection","MentionsInput","TextAreaControl","Typeahead","TypeaheadAreaCore","TypeaheadBestName","TypeaheadHoistFriends","TypeaheadMetrics","TypeaheadMetricsX","TypingDetector","UFIComments"],function(t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga){var ha=m.findDOMNode(this.refs.textarea);new y(ha);if(h.gkResults){var ia=ga.getComment(this.props.replyCommentID),ja=ia?ia.fbid:null;v.trackMentionsInput(ha,ja);}if(this.props.onTypingStateChange){var ka=new fa(ha);ka.init();ka.subscribe('change',this.props.onTypingStateChange);}var la={autoSelect:true,renderer:t,causalElement:ha,autoflip:this.props.autoflip};if(this.props.viewOptionsTypeObjects)la.typeObjects=this.props.viewOptionsTypeObjects;if(this.props.viewOptionsTypeObjectsOrder)la.typeObjectsOrder=this.props.viewOptionsTypeObjectsOrder;var ma=new z(this.props.datasource,{ctor:u,options:la},{ctor:aa},m.findDOMNode(this.refs.typeahead)),na=[ba,ca];if(i.gkResults){var oa=new ea({extraData:{event_name:'mention_metric_x'}});oa.init(ma);}var pa=new da({extraData:{event_name:'mentions',from_location:'comments'}});z.initNow(ma,na,pa);this._mentionsInput=new x(s,ma,ha,{hashtags:this.props.hashtags});this._mentionsInput.init({},this.props.initialData);if(this.props.initialData)w.set(ha,ha.value.length);if(this.props.onPaste)j.listen(ha,'paste',this.props.onPaste);this._bootloadingMentions=false;}.bind(this));},focus:function(){try{m.findDOMNode(this.refs.textarea).focus();}catch(s){}},render:function(){var s=(("textInput")+(' '+"mentionsTextarea")+(' '+"uiTextareaAutogrow")+(' '+"uiTextareaNoResize")+(' '+"UFIAddCommentInput"));return (m.createElement("div",{ref:"root",className:"uiMentionsInput textBoxContainer ReactLegacyMentionsInput"},m.createElement("div",{className:"highlighter"},m.createElement("div",null,m.createElement("span",{className:"highlighterContent hidden_elem"}))),m.createElement("div",{ref:"typeahead",className:"uiTypeahead mentionsTypeahead"},m.createElement("div",{className:"wrap"},m.createElement("input",{type:"hidden",autoComplete:"off",className:"hiddenInput"}),m.createElement("div",{className:"innerWrap"},m.createElement("textarea",{ref:"textarea",name:"add_comment_text",className:s,title:this.props.placeholder,placeholder:this.props.placeholder,onFocus:this._handleFocus,onBlur:this._handleBlur,onKeyDown:this._handleKeydown})))),m.createElement("input",{type:"hidden",autoComplete:"off",className:"mentionsHidden",defaultValue:""})));}});e.exports=r;},null);
__d("LitestandStoryInsertionStatus",["ArbiterMixin","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i='check',j={registerBlocker:function(k){return j.subscribe(i,function(l,m){if(m.can_insert&&k())m.can_insert=false;});},canInsert:function(){var k={can_insert:true};j.inform(i,k);return k.can_insert;}};h(j,g);e.exports=j;},null);
__d("LoadingIndicator.react",["React","Image.react","cx","keyMirror","ix","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=j({white:true,blue:true,black:true}),n=j({small:true,medium:true,large:true}),o={white:{large:k('/images/loaders/indicator_blue_large.gif'),medium:k('/images/loaders/indicator_blue_medium.gif'),small:k('/images/loaders/indicator_blue_small.gif')},blue:{large:k('/images/loaders/indicator_white_large.gif'),small:k('/images/loaders/indicator_white_small.gif')},black:{large:k('/images/loaders/indicator_black.gif')}},p=g.createClass({displayName:"LoadingIndicator",render:function(){var q=this.props.color,r=this.props.size;if(!o[q])return g.createElement("span",null);if(!o[q][r])return g.createElement("span",null);var s=((this.props.showonasync?"uiLoadingIndicatorAsync":'')),t=o[q][r];return (g.createElement(h,g.__spread({},this.props,{src:t,className:l(this.props.className,s)})));}});p.SIZES=n;p.COLORS=m;e.exports=p;},null);
__d("PageAdminSignatureSettings",["Arbiter","AdminSignatureConstants","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l){"use strict";this.$PageAdminSignatureSettings0();if(!!l)this.$PageAdminSignatureSettings1=l;if(k instanceof j){i(!!l);this.$PageAdminSignatureSettings2(k);}else if(k!==null&&k!==(void 0)){this.$PageAdminSignatureSettings3=k.isValid;if(!this.$PageAdminSignatureSettings3)return;this.$PageAdminSignatureSettings4=k.signature;this.$PageAdminSignatureSettings5=k.shouldAttachToPost;this.$PageAdminSignatureSettings6=k.shouldAttachToComment;this.$PageAdminSignatureSettings7=k.shouldAttachToMessage;this.$PageAdminSignatureSettings8=k.everPromptedUser;this.$PageAdminSignatureSettings9=k.pageID;this.$PageAdminSignatureSettingsa=k.userID;}g.subscribe(h.EVENT_ADMIN_SIGNATURE_SETTING_CHANGED,function(m,n){return this.$PageAdminSignatureSettingsb(m,n);}.bind(this));g.subscribe(h.EVENT_ADMIN_SIGNATURE_PROMPTED,function(m,n){return this.$PageAdminSignatureSettingsc(m,n);}.bind(this));}j.prototype.getIsValid=function(){"use strict";return this.$PageAdminSignatureSettings3;};j.prototype.getIsValidWithActor=function(){"use strict";return this.getIsValid()&&this.$PageAdminSignatureSettings1!==null&&this.$PageAdminSignatureSettings1===this.$PageAdminSignatureSettings9;};j.prototype.getPageID=function(){"use strict";return this.$PageAdminSignatureSettings9;};j.prototype.getUserID=function(){"use strict";return this.$PageAdminSignatureSettingsa;};j.prototype.getSignature=function(){"use strict";return this.$PageAdminSignatureSettings4;};j.prototype.getShouldAttachToPost=function(){"use strict";return this.$PageAdminSignatureSettings5;};j.prototype.getShouldAttachToComment=function(){"use strict";return this.$PageAdminSignatureSettings6;};j.prototype.getShouldAttachToMessage=function(){"use strict";return this.$PageAdminSignatureSettings7;};j.prototype.getEverPromptedUser=function(){"use strict";return this.$PageAdminSignatureSettings8;};j.prototype.$PageAdminSignatureSettings0=function(){"use strict";this.$PageAdminSignatureSettings8=false;this.$PageAdminSignatureSettings9="";this.$PageAdminSignatureSettings6=false;this.$PageAdminSignatureSettings7=false;this.$PageAdminSignatureSettings5=false;this.$PageAdminSignatureSettings4="";this.$PageAdminSignatureSettingsa="";this.$PageAdminSignatureSettings3=false;this.$PageAdminSignatureSettings1=null;};j.prototype.$PageAdminSignatureSettings2=function(k){"use strict";this.$PageAdminSignatureSettings8=k.$PageAdminSignatureSettings8;this.$PageAdminSignatureSettings9=k.$PageAdminSignatureSettings9;this.$PageAdminSignatureSettings6=k.$PageAdminSignatureSettings6;this.$PageAdminSignatureSettings7=k.$PageAdminSignatureSettings7;this.$PageAdminSignatureSettings5=k.$PageAdminSignatureSettings5;this.$PageAdminSignatureSettings4=k.$PageAdminSignatureSettings4;this.$PageAdminSignatureSettingsa=k.$PageAdminSignatureSettingsa;this.$PageAdminSignatureSettings3=k.$PageAdminSignatureSettings3;};j.prototype.$PageAdminSignatureSettingsc=function(k,l){"use strict";if(l.userID!==this.$PageAdminSignatureSettingsa)return;this.$PageAdminSignatureSettings8=true;};j.prototype.$PageAdminSignatureSettingsb=function(k,l){"use strict";if(l.userID!==this.$PageAdminSignatureSettingsa||l.pageID!==this.$PageAdminSignatureSettings9)return;switch(l.settingChanged){case h.SETTING_ATTACH_TO_POST:this.$PageAdminSignatureSettings5=l.newValue;break;case h.SETTING_ATTACH_TO_MESSAGE:this.$PageAdminSignatureSettings7=l.newValue;break;case h.SETTING_ATTACH_TO_COMMENT:this.$PageAdminSignatureSettings6=l.newValue;break;default:i(false);}};e.exports=j;},null);
__d("XPagesAdminSignatureSettingsController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pages\/admin\/signature\/settings\/",{});},null);
__d("XPagesAdminSignaturePromptDialogController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pages\/admin\/signature\/prompt\/",{__asyncDialog:{type:"Int"}});},null);
__d("PageAdminSignatureMonitor",["Arbiter","AsyncRequest","AdminSignatureConstants","DOM","DOMQuery","Event","InputCaretUtility","PageAdminSignatureSettings","XPagesAdminSignatureSettingsController","XPagesAdminSignaturePromptDialogController"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q={registerComposerControlForSignature:function(r,s,t,u){if(!s||!s.isValid)return;var v=this._getUnderlyingTextControl(r),w=new n(s,t);l.listen(v,'focus',function(){this._handleInputFieldFocusForSignature(v,w,w.getShouldAttachToPost(),function(x){return x.value;},function(x,y){if(u)y='\n\n'.concat(y);j.setAttributes(x,{value:y});m.delayedMoveCaretToBeginning(x);});}.bind(this));},handleReactInputFieldFocusForSignature:function(r,s,t){this._handleInputFieldFocusForSignature(r,s,t,function(u){return u.hasEnteredText();},function(u,v){return u.setSignature(v);});},prepareConfirmationDialog:function(r,s,t){r.subscribe('confirm',function(){r.hide();this._notifyPromptConfirmation(s,t,true);}.bind(this));r.subscribe('cancel',function(){this._notifyPromptConfirmation(s,t,false);}.bind(this));},_promptForAutoSignature:function(r){g.inform(i.EVENT_ADMIN_SIGNATURE_PROMPTED,{userID:r.getUserID()});var s=p.getURIBuilder().getURI();new h().setURI(s).setData({pageID:r.getPageID()}).send();},_handleInputFieldFocusForSignature:function(r,s,t,u,v){if(!s||!s.getIsValidWithActor())return;if(!s.getEverPromptedUser()){this._promptForAutoSignature(s);}else if(t&&!u(r))v(r,s.getSignature());},_notifyPromptConfirmation:function(r,s,t){var u=o.getURIBuilder().getURI();new h().setURI(u).setData({pageID:r,signatureOption:i.SETTING_EVER_PROMPTED,signatureOptionValue:t}).send();this._aribiterNotifyPromptConfirmation(r,s,t);},_getUnderlyingTextControl:function(r){return k.find(r,'textarea');},_aribiterNotifyPromptConfirmation:function(r,s,t){var u=[i.SETTING_ATTACH_TO_POST,i.SETTING_ATTACH_TO_COMMENT,i.SETTING_ATTACH_TO_MESSAGE];u.forEach(function(v){g.inform(i.EVENT_ADMIN_SIGNATURE_SETTING_CHANGED,{pageID:r,userID:s,settingChanged:v,newValue:t});});}};e.exports=q;},null);
__d("isValidUniqueID",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){return (h!==null&&h!==(void 0)&&h!==''&&(typeof h==='string'||typeof h==='number'));}e.exports=g;},null);
__d("SearchableEntry",["HTML","isValidUniqueID","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(l){switch(typeof l){case 'string':return l;case 'object':var m=g.replaceJSONWrapper(l);if(g.isHTML(m)){var n=m.getRootNode();return n.textContent||n.innerText||'';}else return '';default:return '';}}function k(l){"use strict";i(h(l.uniqueID));i(!!l.title&&typeof l.title==='string');this.$SearchableEntry0=l.uniqueID+'';this.$SearchableEntry1=l.title;this.$SearchableEntry2=l.order||0;this.$SearchableEntry3=j(l.subtitle);this.$SearchableEntry4=l.keywordString||'';this.$SearchableEntry5=l.photo||'';this.$SearchableEntry6=l.uri||'';this.$SearchableEntry7=l.type||'';this.$SearchableEntry8=l.auxiliaryData||null;}k.prototype.getUniqueID=function(){"use strict";return this.$SearchableEntry0;};k.prototype.getOrder=function(){"use strict";return this.$SearchableEntry2;};k.prototype.getTitle=function(){"use strict";return this.$SearchableEntry1;};k.prototype.getSubtitle=function(){"use strict";return this.$SearchableEntry3;};k.prototype.getKeywordString=function(){"use strict";return this.$SearchableEntry4;};k.prototype.getPhoto=function(){"use strict";return this.$SearchableEntry5;};k.prototype.getURI=function(){"use strict";return this.$SearchableEntry6;};k.prototype.getType=function(){"use strict";return this.$SearchableEntry7;};k.prototype.getAuxiliaryData=function(){"use strict";return this.$SearchableEntry8;};e.exports=k;},null);
__d("SnowflakePermalinkUtils",["URI"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=/\/[^/]+\/(albums\/([^/]+)|posts\/([a-zA-Z]+[^/]+))\/([^/]+\/)?/,i=/\/[^/]+\/(albums|posts)\/([^/]+)\/([^/]+\/)?/,j={isPermalinkURI:function(k){k=g(k);return h.test(k.getPath());},parseURI:function(k){if(!this.isPermalinkURI(k))return {};k=g(k);var l=k.getPath().match(i);return {setToken:l[2],entIdentifierToken:l[3],photoID:k.getQueryData().photo_id};}};e.exports=j;},null);
__d("Sticker.react",["Arbiter","React","StickerConfig","StickerConstants","emptyFunction","getElementPosition","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=h,o=n.PropTypes,p=83,q=5000,r=10,s={CLICK:'click',HOVER:'hover',LOAD_AND_HOVER:'load_and_hover'},t=h.createClass({displayName:"Sticker",propTypes:{animationTrigger:o.oneOf(m(s)),frameCount:o.number.isRequired,frameRate:o.number,framesPerCol:o.number.isRequired,framesPerRow:o.number.isRequired,onStickerClick:o.func,packID:o.string,sourceURI:o.string.isRequired,sourceWidth:o.number.isRequired,sourceHeight:o.number.isRequired,spriteURI:o.string,stickerID:o.string,subscribedThreadID:o.string},getInitialState:function(){return {index:0,hasAnimated:false,unsubscribeID:null};},getDefaultProps:function(){return {frameRate:p,onStickerClick:k,packID:null};},componentDidMount:function(){this._stopIntervalID=0;if(this.props.animationTrigger===s.LOAD_AND_HOVER&&this.props.frameCount>1&&this.props.spriteURI)this.startAnimation();if(this.props.subscribedThreadID&&this.props.frameCount>1){var u=g.subscribe(this.props.subscribedThreadID,function(v,w){this.isScrolledIntoView(w.scrollTop,w.viewHeight,w.top);}.bind(this));this.setState({unsubscribeID:u});}},componentWillUnmount:function(){if(this.state.unsubscribeID)g.unsubscribe(this.state.unsubscribeID);if(this.isAnimating())clearInterval(this._stopIntervalID);},isAnimating:function(){return !!this._stopIntervalID;},getWidth:function(){return Math.floor(this.props.sourceWidth);},getHeight:function(){return Math.floor(this.props.sourceHeight);},preloadSprite:function(){var u=new Image();u.onload=function(){if(this.isMounted()&&!this.state.hasAnimated){this.setState({hasAnimated:true});this._stopIntervalID=setInterval(this.incrementFrameIndex,this.props.frameRate);}}.bind(this);if(i.ChatPaddedAnimatedStickerGK&&this.props.paddedSpriteURI){u.src=this.props.paddedSpriteURI;}else u.src=this.props.spriteURI;},isScrolledIntoView:function(u,v,w){var x=l(h.findDOMNode(this)),y=u+x.y-w,z=u+v,aa=y+x.height;if(this.props.frameCount>1&&!this.state.hasAnimated&&aa-r<=z&&y+r>=u)this.startAnimation();},startAnimation:function(){if(!this.state.hasAnimated&&this.props.spriteURI){this.preloadSprite();}else if(!this.isAnimating()){this.setState({hasAnimated:true});this._stopIntervalID=setInterval(this.incrementFrameIndex,this.props.frameRate);}},stopAnimation:function(){this.setState({index:0});clearInterval(this._stopIntervalID);this._stopIntervalID=0;},toggleAnimation:function(){if(this.isAnimating()){this.stopAnimation();}else this.startAnimation();},shouldStopAnimating:function(){var u=this.state.index%this.props.frameCount;if(!(u===0&&this.state.index*this.props.frameRate>q))return false;if(this.props.animationTrigger===s.CLICK)return true;return !this.state.isHovered;},incrementFrameIndex:function(){if(this.shouldStopAnimating()){this.stopAnimation();}else this.setState({index:this.state.index+1});},getStyle:function(){var u=0,v=this.props.spriteURI;if(i.ChatPaddedAnimatedStickerGK&&this.props.paddedSpriteURI){v=this.props.paddedSpriteURI;var w=240/Math.min(this.getHeight(),this.getWidth());u=Math.floor(j.SPRITE_PADDING/w);}var x=this.state.index%this.props.frameCount,y=(x%this.props.framesPerRow)*(this.getWidth()+u*2)+u,z=Math.floor(x/this.props.framesPerRow)*(this.getHeight()+u*2)+u,aa=(this.props.frameCount>1&&this.props.animationTrigger===s.CLICK)||this._isStickerClickable(this.props.packID),ba;if(this.props.style&&this.props.style.cursor){ba=this.props.style.cursor;}else ba=aa?'pointer':'default';if(!this.state.hasAnimated||!this.props.spriteURI){return {backgroundImage:'url('+this.props.sourceURI+')',backgroundRepeat:'no-repeat',backgroundSize:this.getWidth()+'px '+this.getHeight()+'px',cursor:ba,height:this.getHeight(),width:this.getWidth()};}else return {backgroundImage:'url('+v+')',backgroundPosition:(-y)+'px '+(-z)+'px',backgroundSize:(this.getWidth()+u*2)*this.props.framesPerRow+'px '+(this.getHeight()+u*2)*this.props.framesPerCol+'px',cursor:ba,height:this.getHeight(),width:this.getWidth()};},_isStickerClickable:function(u){return u&&u!=j.MOBILE_LIKE_STICKER_PACK_ID&&u!=j.GRAVEYARD_PACK_ID;},onStickerClick:function(){if(!this._isStickerClickable(this.props.packID))return;if(this.props.onStickerClick)this.props.onStickerClick(this.props.packID,this.props.stickerID);},mouseLeft:function(){this.setState({isHovered:false});},mouseEntered:function(){this.setState({isHovered:true});if(!this.isAnimating())this.startAnimation();},render:function(){var u,v;if(this.props.animationTrigger===s.CLICK&&this.props.frameCount>1&&this.props.spriteURI){u=true;}else if((this.props.animationTrigger===s.HOVER||this.props.animationTrigger===s.LOAD_AND_HOVER)&&this.props.frameCount>1&&this.props.spriteURI)v=true;var w=u?this.toggleAnimation:null;if(this.props.packID)w=this.onStickerClick;return (h.createElement("div",h.__spread({tabIndex:"0"},this.props,{style:Object.assign({},(this.props.style||{}),this.getStyle()),onClick:w,onMouseEnter:v?this.mouseEntered:null,onMouseLeave:v?this.mouseLeft:null})));}});e.exports=t;},null);
__d("UFIClassNames",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();e.exports={ACTOR_IMAGE:"img UFIActorImage _54ru",ROW:"UFIRow",UNSEEN_ITEM:"UFIUnseenItem"};},null);
__d("UFIImageBlock.react",["ImageBlock.react","React","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h.createClass({displayName:"UFIImageBlock",render:function(){return (h.createElement(g,h.__spread({},this.props,{imageClassName:"UFIImageBlockImage",contentClassName:"UFIImageBlockContent"}),this.props.children));}});e.exports=j;},null);
__d("UFIStickerButton.react",["Bootloader","ContextualLayerAutoFlip","Link.react","React","ReactLayeredComponentMixin","StickerInterfaces","cx","fbt","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=j,q=p.PropTypes,r=j.createClass({displayName:"UFIStickerButton",propTypes:{onStickerSelected:q.func.isRequired,onEmoticonSelected:q.func,showTooltip:q.bool,stickerInterface:q.oneOf(o(l))},mixins:[k],getDefaultProps:function(){return {showTooltip:true,stickerInterface:l.COMMENTS};},getInitialState:function(){return {renderFlyout:null,flyoutShown:false};},render:function(){var s=n._("Post a sticker");return (j.createElement(i,{"aria-label":(this.props.showTooltip)?s:null,className:"UFICommentStickerButton","data-hover":"tooltip","data-tooltip-alignh":"center",onClick:this._onLinkClicked,onMouseDown:this._prepareForClick},j.createElement("div",{ref:"icon",tabIndex:0,className:"UFICommentStickerIcon"}),this.props.children));},renderLayers:function(){return !this.state.renderFlyout?{}:this.state.renderFlyout();},_hideFlyout:function(){this.setState({flyoutShown:false});},_prepareForClick:function(){this._clickGuard=this.state.flyoutShown;},_onLinkClicked:function(){if(this.state.renderFlyout!==null){!this._clickGuard&&this.setState({flyoutShown:true});return;}g.loadModules(["XUIContextualDialog.react","StickersFlyout.react"],function(s,t){this.setState({flyoutShown:true,renderFlyout:function(){return {contextualDialog:j.createElement(s,{alignment:"right",behaviors:{flip:h},className:"_5e-r",contextRef:"icon",onBlur:this._hideFlyout,position:"above",shown:this.state.flyoutShown,hasActionableContext:true,width:278},j.createElement("div",null,j.createElement(t,{onPackSelect:function(u){this.setState({packID:u});}.bind(this),onEscKeyDown:this._hideFlyout,onStickerSelect:this._onStickerSelected,onEmoticonSelect:this._onEmoticonSelected,stickerInterface:this.props.stickerInterface,packID:this.state.packID,shown:this.state.flyoutShown})))};}.bind(this)});}.bind(this));},_onStickerSelected:function(s,event){this.props.onStickerSelected(s,event);this._hideFlyout();},_onEmoticonSelected:function(s){this.props.onEmoticonSelected(s);this._hideFlyout();}});e.exports=r;},null);
__d("XFeedNUXSaveSeenStateController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/feed\/nux\/seen\/save\/",{link_id:{type:"String"},key:{type:"String",required:true},seen:{type:"Bool",defaultValue:false}});},null);
__d("XUFIRecommendedMentionFriendsAsyncController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/ufi\/recommended_mention_friends\/",{cursor:{type:"String"},limit:{type:"Int"}});},null);
__d("UFIAddComment.react",["ActorURI","Arbiter","AsyncRequest","Bootloader","ClipboardPhotoUploader","CloseButton.react","DOM","DOMContainer.react","getActiveElement","Event","PagingFacepile.react","Focus","HTML","Keys","LegacyMentionsInput.react","Link.react","LitestandStoryInsertionStatus","LoadingIndicator.react","PageAdminSignatureMonitor","PageAdminSignatureSettings","React","ReactLayeredComponentMixin","Run","SearchableEntry","SnowflakePermalinkUtils","Sticker.react","TrackingNodes","UFIClassNames","UFIConfig","UFIConstants","UFIImageBlock.react","UFIStickerButton.react","URI","XFeedNUXSaveSeenStateController","XUIGrayText.react","XUFIRecommendedMentionFriendsAsyncController","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa){b.__markCompiled&&b.__markCompiled();var ta=aa,ua=ta.PropTypes,va=ra._("Write a comment..."),wa=ra._("Write a reply..."),xa="fcg fss UFICommentTip",ya=10,za=5,ab=19,bb='/ajax/ufi/upload/',cb=80,db='/ajax/ufi/sticker_preview/',eb=aa.createClass({displayName:"UFIAddComment",mixins:[ba],propTypes:{contextArgs:ua.object.isRequired,viewerActor:ua.object.isRequired,allowPhotoAttachments:ua.bool,allowStickerAttachments:ua.bool,attachedPhoto:ua.object,attachedSticker:ua.object,feedbackIsRanked:ua.bool,hide:ua.bool,initialData:ua.object,isEditing:ua.bool,isFirstComponent:ua.bool,isLastComponent:ua.bool,isSnowlift:ua.bool,isQAndA:ua.bool,mentionsDataSource:ua.object,onCancel:ua.func,onCommentSubmit:ua.func,onTypingStateChange:ua.func,replyCommentID:ua.string,useAddCommentFacepile:ua.bool,showSendOnEnterTip:ua.bool,subtitle:ua.any,targetID:ua.string,withoutSeparator:ua.bool},getInitialState:function(){if(this.props.attachedPhoto)this.props.contextArgs.attachedphoto=this.props.attachedPhoto;if(this.props.attachedSticker)this.props.contextArgs.attachedsticker=this.props.attachedSticker;return {attachedPhoto:this.props.attachedPhoto?this.props.attachedPhoto:null,attachedSticker:this.props.attachedSticker?this.props.attachedSticker:null,facepileMentionedIDs:[],facepileSize:this.props.isSnowlift?za:ya,fileInput:null,fileUploader:null,isCommenting:false,isLoadingPhoto:false,mentionFriendsCursor:null,fetchingRecommendedMentionFriends:false,renderedProfiles:[],renderStickerNUX:null,facepileFirstIndex:0,showFacepile:false,stickerNUXVisible:false,signatureContext:new z(this.props.contextArgs.pagesAdminSignatureSettings,this.props.viewerActor.id)};},_onKeyDown:function(event){if(this.props.isEditing&&p.getKeyCode(event.nativeEvent)===t.ESC)this.props.onCancel();if(this.isMounted()&&!this._isOnBeforeUnloadListenerAdded){ca.onBeforeUnload(this._handleUnsavedChanges);this._isOnBeforeUnloadListenerAdded=true;}var fb=o();if(p.getKeyCode(event.nativeEvent)===t.ESC)fb.blur();},_handleUnsavedChanges:function(){var fb=a.PageTransitions;if(fb){var gb=ma.getNextURI(),hb=fb.getMostRecentURI();if(gb.getQueryData().hasOwnProperty('theater')||hb.getQueryData().hasOwnProperty('theater')||ea.isPermalinkURI(gb)||ea.isPermalinkURI(hb))return;var ib=a.DialogNavigationStack;if(ib&&ib.isActiveURI(gb))return;}if(this.refs&&this.refs.mentionsinput&&this.refs.mentionsinput.hasEnteredText())return ra._("You haven't finished your comment yet. Do you want to leave without finishing?");},_blur:function(){this.setState({stickerNUXVisible:false});if(this.refs.mentionsinput&&this.refs.mentionsinput.hasEnteredText())return;this.setState({isCommenting:false});},_onPaste:function(event){var fb=new k(bb,this._getPhotoUploadData());this._cancelCurrentSubscriptions();this._subscriptions=[fb.subscribe('upload_start',this._prepareForAttachedPhotoPreview),fb.subscribe('upload_error',this._onRemoveAttachedPhotoPreviewClicked),fb.subscribe('upload_success',function(gb,hb){this._onPhotoUploadComplete(hb);}.bind(this))];fb.handlePaste(event);},_onEnterSubmit:function(fb,event){fb.facepileMentionedIDs=this.state.facepileMentionedIDs.slice();this.setState({showFacepile:false,facepileMentionedIDs:[]});var gb=this.state.attachedPhoto||this.state.attachedSticker,hb=this.props.isEditing||gb;if(this.state.isLoadingPhoto){return false;}else if(!fb.encodedValue.trim()&&!hb)return false;fb.encodedValue=fb.encodedValue.trim();if(gb){fb.attachedPhoto=this.state.attachedPhoto;fb.attachedSticker=this.state.attachedSticker;this.setState({isLoadingPhoto:false,attachedPhoto:null,attachedSticker:null});}else{fb.attachedPhoto=null;fb.attachedSticker=null;}this.props.onCommentSubmit(fb,event);return true;},_cancelCurrentSubscriptions:function(){if(this._subscriptions)this._subscriptions.forEach(function(fb){fb.unsubscribe();});},componentWillMount:function(){this._isOnBeforeUnloadListenerAdded=false;this._storyInsertionBlocker=w.registerBlocker(function(){return this.state.isCommenting;}.bind(this));},componentWillUnmount:function(){this._cancelCurrentSubscriptions();this._storyInsertionBlocker&&this._storyInsertionBlocker.unsubscribe();this._storyInsertionBlocker=null;},focus:function(){var fb={isCommenting:true};if(this.props.allowStickerAttachments&&ia.shouldShowStickerNUX){var gb=na.getURIBuilder().setString('key','sticker_comments').setBool('seen',true).getURI();new i(gb).send();if(this.state.renderStickerNUX===null)j.loadModules(["XUIAmbientNUX.react"],function(hb){fb.renderStickerNUX=function(){return {ambientNUX:aa.createElement(hb,{contextRef:"sticker_button",shown:this.state.stickerNUXVisible,position:"above",width:"auto",alignment:"right",onCloseButtonClick:this._hideStickerNUX},ra._("You can now comment with a sticker!"))};}.bind(this);}.bind(this));ia.shouldShowStickerNUX=false;fb.stickerNUXVisible=true;}if(this.props.useAddCommentFacepile&&!this.props.replyCommentID&&!this.state.showFacepile){this._fetchRecommendedMentionFriends();fb.showFacepile=true;}y.handleReactInputFieldFocusForSignature(this.refs.mentionsinput,this.state.signatureContext,this.state.signatureContext.getShouldAttachToComment());this.setState(fb);},renderLayers:function(){return !this.state.renderStickerNUX?{}:this.state.renderStickerNUX();},renderFacepile:function(){if(this.state.showFacepile&&this.state.renderedProfiles.length>0)return (aa.createElement("div",{className:(("_2phz")+(' '+"_t9s")+(this.props.isSnowlift?' '+"_1_4j":''))},aa.createElement(oa,{className:"_t9u",shade:"light"},ra._("Mention some friends:")),aa.createElement("div",{className:"_t9v"},aa.createElement(q,{pageSize:this.state.facepileSize,onPageChange:this.onFacepilePageChange,className:"_t9w",profiles:this.state.renderedProfiles,size:"medium",onFaceClick:this.insertFacepileMention}))));},render:function(){var fb=!this.props.contextArgs.collapseaddcomment||this.state.isCommenting,gb=null;if(this.props.subtitle){gb=aa.createElement("span",{className:xa},this.props.subtitle);}else if(this.props.isEditing){gb=aa.createElement("span",{className:xa},ra._("Press Esc to {cancel}.",[ra.param("cancel",aa.createElement(v,{onClick:this.props.onCancel},ra._("cancel")))]));}else if(this.props.showSendOnEnterTip)gb=aa.createElement("span",{className:xa},ra._("Press Enter to post."));var hb=null,ib=null,jb=this.state.attachedPhoto||this.state.attachedSticker,kb=null;if(this.props.allowStickerAttachments&&!jb)ib=aa.createElement(la,{ref:"sticker_button",onStickerSelected:this.onStickerSelected,onEmoticonSelected:this._insertEmoticonIntoCommentText});if(this.props.allowPhotoAttachments){kb=this._onPaste;var lb=jb?"UFICommentPhotoAttachedIcon":"UFICommentPhotoIcon",mb="UFIPhotoAttachLinkWrapper _m";hb=aa.createElement("div",{ref:"PhotoInputContainer",className:mb,"data-hover":"tooltip","data-tooltip-alignh":"center","aria-label":ra._("Attach a Photo")},aa.createElement("i",{ref:"PhotoInputControl",className:lb}));}var nb=ga.getTrackingInfo(ga.types.ADD_COMMENT_BOX),ob=sa(ha.ACTOR_IMAGE,((!fb?"hidden_elem":''))),pb=aa.createElement("div",{className:"UFIReplyActorPhotoWrapper",onClick:this.focus},aa.createElement("img",{className:ob,src:this.props.viewerActor.thumbSrc,alt:this.props.viewerActor.name})),qb=sa(ha.ROW,((this.props.hide?"noDisplay":'')+(' '+"UFIComponent")+(' '+"UFIAddComment")+(this.props.allowPhotoAttachments?' '+"UFIAddCommentWithPhotoAttacher":'')+(this.props.withoutSeparator?' '+"UFIAddCommentWithoutSeparator":'')+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),rb;if(!!this.props.replyCommentID){rb=wa;}else if(this.props.isQAndA){rb=ra._("Ask a question...");}else if(this.props.source===ja.UFIFeedbackSourceType.TOPIC_CONVERSATION){rb=ra._("Discuss this topic...");}else rb=va;var sb=this.props.contextArgs.viewoptionstypeobjects,tb=this.props.contextArgs.viewoptionstypeobjectsorder,ub=null;if(this.state.attachedSticker){var vb=this._getScaledDimensions(jb.metadata.height,jb.metadata.width),wb=null,xb=null;if(window.devicePixelRatio&&window.devicePixelRatio>1){wb=jb.metadata.sprite_uri_2x;xb=jb.metadata.source_uri_2x;}else{wb=jb.metadata.sprite_uri;xb=jb.metadata.source_uri;}ub=aa.createElement(fa,{animationTrigger:"load_and_hover",frameCount:jb.metadata.frameCount,framesPerCol:jb.metadata.framesPerCol,framesPerRow:jb.metadata.framesPerRow,spriteURI:wb,sourceHeight:vb.height,sourceURI:xb,sourceWidth:vb.width});}else if(this.state.attachedPhoto){var yb=jb.markupPreview;if(s.isHTML(yb.markup))yb=s.replaceJSONWrapper(yb.markup).getRootNode();ub=aa.createElement(n,null,yb);if(!this.props.subtitle)gb=null;}else if(this.state.isLoadingPhoto)ub=aa.createElement(x,{color:"white",className:"UFICommentPhotoAttachedPreviewLoadingIndicator",size:"medium"});var zb,ac=this.state.attachedPhoto?this._onRemoveAttachedPhotoPreviewClicked:this._onRemoveAttachedStickerPreviewClicked;if(ub!=null){var bc=null;if(this.state.attachedSticker){bc=ra._("Remove Sticker");}else if(this.state.attachedPhoto)bc=ra._("Remove Photo");zb=aa.createElement("div",{className:"UFICommentPhotoAttachedPreview pas"},ub,aa.createElement(l,{tooltip:bc,onClick:ac}));}var cc=this.props.allowStickerAttachments?sa("UFIMentionsInputWrap","UFIStickersEnabledInput"):"UFIMentionsInputWrap",dc,ec,fc;if(this.props.contextArgs.mentionsinput){var gc=this.props.contextArgs.mentionsinput;dc=gc.inputComponent;ec=gc.viewComponent;fc=gc.viewProps;}else dc=u;return (aa.createElement("li",{className:qb,onKeyDown:this._onKeyDown,"data-ft":nb},aa.createElement(ka,{className:cc},pb,aa.createElement("div",{className:"UFICommentContainer"},aa.createElement("div",{className:"UFIInputContainer"},aa.createElement(dc,{replyCommentID:this.props.replyCommentID,initialData:this.props.initialData,placeholder:rb,datasource:this.props.mentionsDataSource,ref:"mentionsinput",viewComponent:ec,viewProps:fc,viewOptionsTypeObjects:sb,viewOptionsTypeObjectsOrder:tb,hashtags:this.props.contextArgs.sht,autoflip:this.props.contextArgs.addcommentautoflip,monitorHeight:this.props.contextArgs.monitorHeight,onEnterSubmit:this._onEnterSubmit,onFocus:this.focus,onBlur:this._blur,onTypingStateChange:this.props.onTypingStateChange,onPaste:kb}),aa.createElement("div",{className:"UFICommentAttachmentButtons clearfix"},hb,ib)),this.renderFacepile(),zb,gb))));},componentDidUpdate:function(fb,gb,hb){if(!gb.attachedPhoto&&this.state.attachedPhoto||!gb.attachedSticker&&this.state.attachedSticker||!gb.isCommenting&&this.state.isCommenting)this.refs.mentionsinput.focus();if(fb.viewerActor.id!==this.props.viewerActor.id){if(this.state.fileInput)this.state.fileInput.clear();if(this.state.fileUploader)this.state.fileUploader.setData(this._getPhotoUploadData());this._onRemoveAttachedPhotoPreviewClicked();}},componentDidMount:function(){if(!this.props.allowPhotoAttachments)return;var fb=aa.findDOMNode(this.refs.PhotoInputContainer),gb=aa.findDOMNode(this.refs.PhotoInputControl),hb=ra._("Attach a Photo"),ib=m.create('input',{accept:'image/*',className:"_n",name:'file',type:'file',title:hb,'aria-label':hb});m.appendContent(gb,ib);var jb=p.listen(fb,'click',function(event){j.loadModules(["FileInput","FileInputUploader","Input"],function(kb,lb,mb){var nb=new kb(fb,gb,ib),ob=new lb().setAllowCrossPageTransition(true).setURI(bb).setData(this._getPhotoUploadData());nb.subscribe('change',function(event){if(nb.getValue()){this._prepareForAttachedPhotoPreview();ob.setInput(nb.getInput()).send();}}.bind(this));ob.subscribe('success',function(pb,qb){nb.clear();this._onPhotoUploadComplete(qb.response);}.bind(this));ob.subscribe('failure',function(pb,qb){nb.clear();this._onPhotoUploadComplete(qb.response);}.bind(this));r.setWithoutOutline(gb);this.setState({fileInput:nb,fileUploader:ob});}.bind(this));jb.remove();}.bind(this));},insertMention:function(fb){if(this.refs.mentionsinput&&this.refs.mentionsinput.insertMention)this.refs.mentionsinput.insertMention(fb);},insertFacepileMention:function(fb,gb){var hb=this.state.renderedProfiles.slice();hb.splice(gb,1);this.setState({renderedProfiles:hb});var ib=new da({uniqueID:fb.uniqueID,title:fb.name,type:'user'});this.insertMention(ib);var jb=this.state.facepileMentionedIDs;jb.push(fb.uniqueID);this.setState({facepileMentionedIDs:jb});this._maybeFetchRecommendedMentionFriends(this.state.facepileFirstIndex,hb.length);},onFacepileRendered:function(){if(this.props.isSnowlift)h.inform('ufi/addCommentFacepileRendered');},onFacepilePageChange:function(fb){this.setState({facepileFirstIndex:fb});this._maybeFetchRecommendedMentionFriends(fb,this.state.renderedProfiles.length);},_maybeFetchRecommendedMentionFriends:function(fb,gb){if(fb+2*this.state.facepileSize>gb)this._fetchRecommendedMentionFriends();},_fetchRecommendedMentionFriends:function(){if(this.state.fetchingRecommendedMentionFriends)return;this.setState({fetchingRecommendedMentionFriends:true});var fb=pa.getURIBuilder().setString('cursor',this.state.mentionFriendsCursor).setInt('limit',3*this.state.facepileSize).getURI();new i(fb).setMethod('GET').setReadOnly(true).setHandler(this._setRecommendedMentionFriends).send();},_setRecommendedMentionFriends:function(fb){var gb=fb.getPayload();if(gb.profiles.length===0)return;var hb=this.state.renderedProfiles;hb=hb.concat(gb.profiles);this.setState({fetchingRecommendedMentionFriends:false,renderedProfiles:hb,mentionFriendsCursor:gb.cursor});},_getScaledDimensions:function(fb,gb){var hb,ib,jb;if(gb>fb){jb=cb/gb;hb=fb*jb;ib=gb*jb;}else{jb=cb/fb;hb=fb*jb;ib=gb*jb;}return {height:Math.round(hb),width:Math.round(ib)};},_getPhotoUploadData:function(){var fb=this.props.viewerActor.id,gb={profile_id:fb,target_id:this.props.targetID,source:ab};gb[g.PARAMETER_ACTOR]=fb;return gb;},_onPhotoUploadComplete:function(fb){if(!this.state.isLoadingPhoto)return;var gb=fb.getPayload();if(gb&&gb.fbid){this.props.contextArgs.attachedphoto=gb;this.setState({attachedPhoto:gb,isLoadingPhoto:false});}else this._onRemoveAttachedPhotoPreviewClicked(null);},_onRemoveAttachedPhotoPreviewClicked:function(event){this.props.contextArgs.attachedphoto=null;this.setState({attachedPhoto:null,isLoadingPhoto:false});},_prepareForAttachedPhotoPreview:function(){this.props.contextArgs.attachedphoto=null;this.setState({attachedPhoto:null,isLoadingPhoto:true});},_onStickerUploadComplete:function(fb){if(!this.state.isLoadingPhoto)return;var gb=fb.getPayload();if(gb&&gb.fbid){this.props.contextArgs.attachedsticker=gb;this.setState({attachedSticker:gb,isLoadingPhoto:false});}else{j.loadModules(["Dialog"],function(hb){var ib=ra._("Sticker Failed"),jb=ra._("There was a problem attaching the sticker.");new hb().setTitle(ib).setBody(jb).setButtons(hb.OK).show();});this._onRemoveAttachedStickerPreviewClicked(null);}},_onRemoveAttachedStickerPreviewClicked:function(event){this.props.contextArgs.attachedsticker=null;this.setState({attachedSticker:null,isLoadingPhoto:false});},onStickerSelected:function(fb,event){if(this.props.isEditing||this.refs.mentionsinput.hasEnteredText()){this._prepareForAttachedStickerPreview(fb);return;}this.sendSticker(fb,event);},_prepareForAttachedStickerPreview:function(fb){this.props.contextArgs.attachedsticker=null;this.setState({attachedSticker:null,isLoadingPhoto:true});new i(db).setData({sticker_id:fb}).setErrorHandler(this._onRemoveAttachedStickerPreviewClicked).setHandler(this._onStickerUploadComplete).send();},sendSticker:function(fb,event){var gb={encodedValue:'',visibleValue:''};this.props.contextArgs.attachedsticker={fbid:fb};this.props.onCommentSubmit(gb,event);},_insertEmoticonIntoCommentText:function(fb){j.loadModules(["EmoticonsList","EmoticonUtils","TextAreaControl","SelectionPosition"],function(gb,hb,ib,jb){var kb=gb.symbols[fb];if(!kb)return;if(this.props.contextArgs.mentionsinput){this.refs.mentionsinput.insertEmoticon(kb);return;}if(!this._selectionPosition)this._selectionPosition=new jb(aa.findDOMNode(this.refs.mentionsinput.refs.textarea));var lb=this.refs.mentionsinput.refs.getTextFieldDOM(),mb=ib.getInstance(lb),nb=mb.getValue(),ob=hb.insertEmoticon(kb,nb,this._selectionPosition.getPos());mb.setValue(ob.result);this._selectionPosition.setPos(ob.start,ob.end);}.bind(this));},_hideStickerNUX:function(){this.setState({stickerNUXVisible:false});}});e.exports=eb;},null);
__d("UFIAddCommentController",["Arbiter","copyProperties","MentionsInputUtils","Parent","UFIAddComment.react","React","ShortProfiles","UFICentralUpdates","UFIComments","UFIFeedbackTargets","UFIInstanceState","UFIUIEvents","UFIUserActions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();function t(u,v,w,x){this.id=v;this._ufiInstanceID=x.instanceid;this._contextArgs=x;this._replyCommentID=w;if(u){this.root=u;if(!this._contextArgs.rootid)this._contextArgs.rootid=u.id;this.render();n.subscribe('instance-updated',function(y,z){var aa=z.updates;if(this._ufiInstanceID in aa)this.render();}.bind(this));n.subscribe('feedback-updated',function(y,z){var aa=z.updates;if(this.id in aa)this.render();}.bind(this));}n.subscribe('feedback-id-changed',function(y,z){var aa=z.updates;if(this.id in aa)this.id=aa[this.id];}.bind(this));}h(t.prototype,{_onCommentSubmit:function(u,event){s.addComment(this.id,u.visibleValue,u.encodedValue,{source:this._contextArgs.source,ufiinstanceid:this._ufiInstanceID,target:event.target,replyid:this._replyCommentID,timelinelogdata:this._contextArgs.timelinelogdata,rootid:this._contextArgs.rootid,attachedphoto:this._contextArgs.attachedphoto,attachedsticker:this._contextArgs.attachedsticker,giftoccasion:this._contextArgs.giftoccasion,facepileMentionedIDs:u.facepileMentionedIDs,feedcontext:this._contextArgs.feedcontext});this._contextArgs.attachedphoto=null;this._contextArgs.attachedsticker=null;p.getFeedbackTarget(this.id,function(v){var w=j.byTag(this.root,'form');if(w)g.inform('ufi/comment',{form:w,isranked:v.isranked});if(v.showtopicconversationcreationpivot)g.inform(r.UFIActionAddComment,{feedback:v,target:event.target});}.bind(this));return false;},_onTypingStateChange:function(u,v){},renderAddComment:function(u,v,w,x,y,z,aa,ba,ca,da){var ea=this._contextArgs.logtyping?this._onTypingStateChange.bind(this):null,fa=null,ga=q.getKeyForInstance(this._ufiInstanceID,'isediting')&&!this._replyCommentID;p.getFeedbackTarget(this.id,function(ha){this._contextArgs.feedbackisranked=ha.isranked;}.bind(this));return (l.createElement(k,{hide:ga,replyCommentID:this._replyCommentID,viewerActor:u,targetID:v,initialData:fa,ref:y,withoutSeparator:z,onCommentSubmit:this._onCommentSubmit.bind(this),mentionsDataSource:w,onTypingStateChange:ea,showSendOnEnterTip:x,allowPhotoAttachments:ba,allowStickerAttachments:ca,source:this._contextArgs.source,contextArgs:this._contextArgs,subtitle:aa,isQAndA:da,isSnowlift:this._contextArgs.issnowlift,feedbackIsRanked:this._contextArgs.feedbackisranked,useAddCommentFacepile:this._contextArgs.useaddcommentfacepile}));},renderEditComment:function(u,v,w,x,y,z,aa,ba,ca){var da=o.getComment(w),ea;if(da.attachment)ea=da.attachment.type=='sticker'?da.attachment:null;var fa=i.generateDataFromTextWithEntities(da.body);return (l.createElement(k,{viewerActor:u,targetID:v,initialData:fa,onCommentSubmit:y,onCancel:z,mentionsDataSource:x,source:this._contextArgs.source,contextArgs:this._contextArgs,isEditing:true,editingCommentID:w,attachedPhoto:da.photo_comment,attachedSticker:ea,allowPhotoAttachments:aa,allowStickerAttachments:ba,isQAndA:ca}));},render:function(){if(!this.root)throw new Error('render called on UFIAddCommentController with no root');p.getFeedbackTarget(this.id,function(u){if(u.cancomment&&u.actorforpost)m.get(u.actorforpost,function(v){var w=this.renderAddComment(v,u.ownerid,u.mentionsdatasource,u.showsendonentertip,null,null,u.subtitle,u.allowphotoattachments,u.allowstickerattachments,u.isqanda);this._addComment=l.render(w,this.root);}.bind(this));}.bind(this));}});e.exports=t;},null);
__d("LayerRemoveOnHide",["DOM","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;}i.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('hide',g.remove.bind(null,this._layer.getRoot()));};i.prototype.disable=function(){"use strict";if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};h(i.prototype,{_subscription:null});e.exports=i;},null);
__d("Scrollable",["Event","Parent","UserAgent_DEPRECATED"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=function(event){var m=h.byClass(event.getTarget(),'scrollable');if(!m)return;if((typeof event.axis!=='undefined'&&event.axis===event.HORIZONTAL_AXIS)||(event.wheelDeltaX&&!event.wheelDeltaY)||(event.deltaX&&!event.deltaY))return;var n=event.wheelDelta||-event.deltaY||-event.detail,o=m.scrollHeight,p=m.clientHeight;if(o>p){var q=m.scrollTop;if((n>0&&q===0)||(n<0&&q>=o-p-1)){event.prevent();}else if(i.ie()<9)if(m.currentStyle){var r=m.currentStyle.fontSize;if(r.indexOf('px')<0){var s=document.createElement('div');s.style.fontSize=r;s.style.height='1em';r=s.style.pixelHeight;}else r=parseInt(r,10);m.scrollTop=q-Math.round(n/120*r);event.prevent();}}},k=document.documentElement;if(i.firefox()){var l=('WheelEvent' in window)?'wheel':'DOMMouseScroll';k.addEventListener(l,j,false);}else g.listen(k,'mousewheel',j);},null);
__d("ScrollableArea.react",["Bootloader","React","Style","cx","joinClasses","Scrollable"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();b('Scrollable');var l=h,m=l.PropTypes,n="uiScrollableArea native",o="uiScrollableAreaWrap scrollable",p="uiScrollableAreaBody",q="uiScrollableAreaContent",r=h.createClass({displayName:"ReactScrollableArea",propTypes:{width:m.number,height:m.oneOfType([m.number,m.string]),onScroll:m.func,shadow:m.bool,fade:m.bool,persistent:m.bool},render:function(){var s={height:this.props.height};return (h.createElement("div",h.__spread({},this.props,{className:k(this.props.className,n),ref:"root",style:Object.assign({},(this.props.style||{}),s)}),h.createElement("div",{className:o,ref:"wrap"},h.createElement("div",{className:p,ref:"body"},h.createElement("div",{className:q},this.props.children)))));},getArea:function(){return this._area;},componentDidMount:function(){g.loadModules(["ScrollableArea"],this._loadScrollableArea);},componentDidUpdate:function(s){if(s.width!==this.props.width){this._setWidthFromProps();var t=this.getArea(),u=t.getScrollHeight();t.setScrollTop(u,false);}},_loadScrollableArea:function(s){this._area=s.fromNative(h.findDOMNode(this.refs.root),{fade:this.props.fade,persistent:this.props.persistent,shadow:this.props.shadow===undefined?true:this.props.shadow});this._setWidthFromProps();this.props.onScroll&&this._area.subscribe('scroll',this.props.onScroll);},_setWidthFromProps:function(){var s=h.findDOMNode(this.refs.body);i.set(s,'width',this.props.width+'px');}});e.exports=r;},null);
__d("UFIAddCommentLink.react",["React","UFIClassNames","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=g,m=l.PropTypes,n=g.createClass({displayName:"UFIAddCommentLink",propTypes:{'data-ft':m.string,isFirstCommentComponent:m.bool,isFirstComponent:m.bool,isLastCommentComponent:m.bool,isLastComponent:m.bool,isQAndA:m.bool,onClick:m.func},render:function(){var o=k(h.ROW,(("UFIAddCommentLink")+(this.props.isFirstCommentComponent?' '+"UFIFirstCommentComponent":'')+(this.props.isLastCommentComponent?' '+"UFILastCommentComponent":'')+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),p;if(this.props.isQAndA){p=j._("Ask a question...");}else p=j._("Write a comment...");return (g.createElement("li",{className:o,"data-ft":this.props['data-ft']},g.createElement("a",{className:"UFICommentLink",onClick:this.props.onClick,href:"#",role:"button"},p)));}});e.exports=n;},null);
__d("HovercardLink",["Bootloader","URI"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={getBaseURI:function(){return h('/ajax/hovercard/hovercard.php');},constructEndpoint:function(j,k){return i.constructEndpointWithGroupAndLocation(j,k,null);},constructEndpointWithLocation:function(j,k){return i.constructEndpointWithGroupAndLocation(j,null,k);},constructEndpointWithGroupAndLocation:function(j,k,l,m){g.loadModules(["Hovercard"],function(){});var n=new h(i.getBaseURI()).setQueryData({id:j.id}),o={};if((j.weakreference||m)&&k)o.group_id=k;if(l)o.hc_location=l;n.addQueryData({extragetparams:JSON.stringify(o)});return n;}};e.exports=i;},null);
__d("Newline.react",["React"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.createClass({displayName:"Newline",render:function(){return g.createElement("br",g.__spread({},this.props));}});e.exports=h;},null);
__d("Text.react",["React"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.createClass({displayName:"Text",render:function(){return (g.createElement("span",g.__spread({},this.props),this.props.children));}});e.exports=h;},null);
__d("ES6StringUtils",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={fromCodePoint:function(){for(var h=[],i=0,j=arguments.length;i<j;i++)h.push(arguments[i]);if(String.fromCodePoint)return String.fromCodePoint.apply(this,h);var k=[];for(var l=0;l<h.length;l++){var m=Number(h[l]);if(!isFinite(m)||m<0||1114111<m||Math.floor(m)!=m)throw RangeError('Invalid code point: '+h[l]);if(m<65536){k.push(String.fromCharCode(m));}else{m-=65536;k.push(String.fromCharCode((m>>10)+55296),String.fromCharCode((m%1024)+56320));}}return k.join('');},codePointAt:function(h){"use strict";if(String.prototype.codePointAt)return String.prototype.codePointAt.call(this,h);if(this===null||this===(void 0))throw TypeError('Invalid context: '+this);var i=String(this),j=i.length;h=h?Number(h):0;if(h!=h)h=0;if(h<0||j<=h)return (void 0);var k=i.charCodeAt(h);if(55296<=k&&k<=56319&&j>h+1){var l=i.charCodeAt(h+1);if(56320<=l&&l<=57343)return (k-55296)*1024+l-56320+65536;}return k;}};e.exports=g;},null);
__d("UnicodeUtils",["ES6StringUtils"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=55296,i=57343,j=/[\uD800-\uDFFF]/;function k(s){return h<=s&&s<=i;}function l(s){return j.test(s);}function m(s,t){return 1+k(s.charCodeAt(t));}function n(s){if(!l(s))return s.length;var t=0;for(var u=0;u<s.length;u+=m(s,u))t++;return t;}function o(s,t,u){t=t||0;u=(u===(void 0))?Infinity:(u||0);if(!l(s))return s.substr(t,u);var v=s.length;if(v<=0||t>v||u<=0)return '';var w=0;if(t>0){for(;t>0&&w<v;t--)w+=m(s,w);if(w>=v)return '';}else if(t<0){for(w=v;t<0&&0<w;t++)w-=m(s,w-1);if(w<0)w=0;}var x=v;if(u<v)for(x=w;u>0&&x<v;u--)x+=m(s,x);return s.substring(w,x);}function p(s,t,u){t=t||0;u=(u===(void 0))?Infinity:(u||0);if(t<0)t=0;if(u<0)u=0;var v=Math.abs(u-t);t=(t<u)?t:u;return o(s,t,v);}function q(s){var t=[];for(var u=0;u<s.length;u+=m(s,u)){var v=g.codePointAt.call(s,u);t.push(v);}return t;}var r={isCodeUnitInSurrogateRange:k,getUTF16Length:m,strlen:n,substr:o,substring:p,getCodePoints:q};e.exports=r;},null);
__d("BaseTextWithEntities.react",["Newline.react","React","ReactFragment","Text.react","UnicodeUtils"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h,m=l.PropTypes;function n(r,s){return r.offset-s.offset;}var o=/(\r\n|[\r\n])/,p=m.shape({length:m.number.isRequired,offset:m.number.isRequired}),q=h.createClass({displayName:"BaseTextWithEntities",propTypes:{aggregatedRanges:m.array,imageRanges:m.array,ranges:m.arrayOf(p),rangeRenderer:m.func.isRequired,text:m.string.isRequired,textRenderer:m.func.isRequired},_getSortedRanges:function(){var r=[];[this.props.ranges,this.props.aggregatedRanges,this.props.imageRanges].filter(function(s){return s!=null;}).forEach(function(s){return r=r.concat(s);});return r.sort(n);},_renderText:function(r){var s=r.split(o),t={};for(var u=0;u<s.length;u++){var v=s[u];if(v)if(u%2===1){t[u]=h.createElement(g,null);}else t[u]=this.props.textRenderer(s[u]);}return i.create(t);},render:function(){var r=0,s=this.props.text,t=this._getSortedRanges(),u={},v=t.length;for(var w=0,x=v;w<x;w++){var y=t[w];if(y.offset<r)continue;if(y.offset>r)u['text'+w]=this._renderText(k.substring(s,r,y.offset));var z=k.substr(s,y.offset,y.length);u['range'+w]=this.props.rangeRenderer(z,y);r=y.offset+y.length;}if(s.length>r)u.end=this._renderText(k.substr(s,r));return (h.createElement(j,{className:this.props.className,style:this.props.style},i.create(u)));}});e.exports=q;},null);
__d("TransformTextToDOMMixin",["DOMQuery","createArrayFromMixed","flattenArray"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=3,k={transform:function(l,m){return i(l.map(function(n){if(!g.isElementNode(n)){var o=n,p=[],q=this.MAX_ITEMS||j;while(q--){var r=m?[o].concat(m):[o],s=this.match.apply(this,r);if(!s)break;p.push(o.substring(0,s.startIndex));p.push(s.element);o=o.substring(s.endIndex);}o&&p.push(o);return p;}return n;}.bind(this)));},params:function(){var l=this;return {__params:true,obj:l,params:h(arguments)};}};e.exports=k;},null);
__d("Utf16",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={decode:function(h){switch(h.length){case 1:return h.charCodeAt(0);case 2:return 65536|((h.charCodeAt(0)-55296)*1024)|(h.charCodeAt(1)-56320);}},encode:function(h){if(h<65536){return String.fromCharCode(h);}else return String.fromCharCode(55296+((h-65536)>>10))+String.fromCharCode(56320+(h%1024));}};e.exports=g;},null);
__d("SupportedEmoji",["cx","Utf16"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=new RegExp("([\u203C\u2049\u2100-\u21FF\u2300-\u27FF"+"\u2900-\u29FF\u2B00-\u2BFF\u3000-\u30FF\u3200-\u32FF]|"+"\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDEFF])([\uFE00-\uFE0F])?"),j={126980:"_4_o0",127378:"_4_o1",127385:"_4_o2",127386:"_4_o3",127489:"_4_o4",127490:"_4_o5",127514:"_4_o6",127535:"_4_o7",127539:"_4_o8",127541:"_4_o9",127542:"_4_oa",127543:"_4_ob",127544:"_4_oc",127545:"_4_od",127546:"_4_oe",127568:"_4_of",127744:"_2b_",127746:"_2c0",127747:"_4_og",127748:"_4_oh",127749:"_4_oi",127750:"_4_oj",127751:"_4_ok",127752:"_4_ol",127754:"_2c1",127769:"_2c2",127775:"_2c3",127793:"_2c4",127796:"_2c5",127797:"_2c6",127799:"_2c7",127800:"_2c8",127801:"_2c9",127802:"_2ca",127803:"_2cb",127806:"_2cc",127808:"_2cd",127809:"_2ce",127810:"_2cf",127811:"_2cg",127813:"_4_om",127814:"_4_on",127817:"_4_oo",127818:"_2ch",127822:"_2ci",127827:"_2cj",127828:"_2ck",127832:"_4_op",127833:"_4_oq",127834:"_4_or",127835:"_4_os",127836:"_4_ot",127837:"_4_ou",127838:"_4_ov",127839:"_4_ow",127841:"_4_ox",127842:"_4_oy",127843:"_4_oz",127846:"_4_o-",127847:"_4_o_",127856:"_4_p0",127857:"_4_p1",127858:"_4_p2",127859:"_4_p3",127860:"_4_p4",127861:"_4_p5",127862:"_4_p6",127864:"_2cl",127866:"_2cm",127867:"_4_p7",127872:"_4_p8",127873:"_2cn",127875:"_2co",127876:"_2cp",127877:"_2cq",127880:"_2cr",127881:"_2cs",127884:"_4_p9",127885:"_2ct",127886:"_2cu",127887:"_2cv",127888:"_2cw",127890:"_4_pa",127891:"_2cx",127905:"_4_pb",127906:"_4_pc",127908:"_4_pd",127909:"_4_pe",127910:"_4_pf",127911:"_4_pg",127912:"_4_ph",127913:"_4_pi",127915:"_4_pj",127916:"_4_pk",127917:"_4_pl",127919:"_4_pm",127921:"_4_pn",127925:"_2cy",127926:"_2cz",127927:"_4_po",127928:"_4_pp",127930:"_4_pq",127932:"_2c-",127934:"_4_pr",127935:"_4_ps",127936:"_4_pt",127937:"_4_pu",127942:"_4_pv",127944:"_4_pw",127968:"_4_px",127969:"_4_py",127970:"_4_pz",127971:"_4_p-",127973:"_4_p_",127974:"_4_q0",127975:"_4_q1",127976:"_4_q2",127977:"_4_q3",127978:"_4_q4",127979:"_4_q5",127980:"_4_q6",127981:"_4_q7",127983:"_4_q8",127984:"_4_q9",128013:"_2c_",128014:"_2d0",128017:"_2d1",128018:"_2d2",128020:"_2d3",128023:"_2d4",128024:"_2d5",128025:"_2d6",128026:"_2d7",128027:"_2d8",128031:"_2d9",128032:"_2da",128033:"_2db",128037:"_2dc",128038:"_2dd",128039:"_2de",128040:"_2df",128041:"_2dg",128043:"_2dh",128044:"_2di",128045:"_2dj",128046:"_2dk",128047:"_2dl",128048:"_2dm",128049:"_2dn",128051:"_2do",128052:"_2dp",128053:"_2dq",128054:"_491",128055:"_2dr",128056:"_2ds",128057:"_2dt",128058:"_2du",128059:"_2dv",128062:"_2dw",128064:"_2dx",128066:"_2dy",128067:"_2dz",128068:"_2d-",128069:"_2d_",128070:"_2e0",128071:"_2e1",128072:"_2e2",128073:"_2e3",128074:"_2e4",128075:"_2e5",128076:"_2e6",128077:"_2e7",128078:"_2e8",128079:"_2e9",128080:"_2ea",128081:"_4_qa",128082:"_4_qb",128084:"_4_qc",128085:"_4_qd",128087:"_4_qe",128088:"_4_qf",128089:"_4_qg",128092:"_4_qh",128095:"_4_qi",128096:"_4_qj",128097:"_4_qk",128098:"_4_ql",128102:"_2eb",128103:"_2ec",128104:"_2ed",128105:"_2ee",128107:"_2ef",128110:"_2eg",128111:"_2eh",128113:"_2ei",128114:"_2ej",128115:"_2ek",128116:"_2el",128117:"_2em",128118:"_2en",128119:"_2eo",128120:"_2ep",128123:"_2eq",128124:"_2er",128125:"_2es",128126:"_2et",128127:"_2eu",128128:"_2ev",128130:"_2ew",128131:"_2ex",128132:"_4_qm",128133:"_2ey",128136:"_4_qn",128137:"_4_qo",128138:"_4_qp",128139:"_2ez",128140:"_4_qq",128141:"_4_qr",128142:"_4_qs",128143:"_2e-",128144:"_2e_",128145:"_2f0",128146:"_4_qt",128147:"_2f1",128148:"_2f2",128150:"_2f3",128151:"_2f4",128152:"_2f5",128153:"_2f6",128154:"_2f7",128155:"_2f8",128156:"_2f9",128157:"_2fa",128158:"_4_qu",128159:"_4_qv",128160:"_4_qw",128161:"_4_qx",128162:"_2fb",128163:"_4_qy",128164:"_2fc",128166:"_2fd",128167:"_4_qz",128168:"_2fe",128169:"_2ff",128170:"_2fg",128176:"_4_q-",128178:"_4_q_",128180:"_4_r0",128181:"_4_r1",128186:"_4_r2",128187:"_2fh",128188:"_4_r3",128189:"_2fi",128190:"_2fj",128191:"_2fk",128192:"_2fl",128214:"_4_r4",128221:"_4_r5",128222:"_2fm",128224:"_2fn",128225:"_4_r6",128226:"_4_r7",128227:"_4_r8",128232:"_4_r9",128233:"_4_ra",128234:"_4_rb",128235:"_4_rc",128236:"_4_rd",128237:"_4_re",128238:"_4_rf",128241:"_2fo",128242:"_2fp",128243:"_4_rg",128244:"_4_rh",128246:"_4_ri",128247:"_4_rj",128250:"_2fq",128251:"_4_rk",128252:"_4_rl",128264:"_4_rm",128269:"_4_rn",128270:"_4_ro",128271:"_4_rp",128272:"_4_rq",128273:"_4_rr",128274:"_4_rs",128275:"_4_rt",128276:"_2fr",128286:"_4_ru",128293:"_492",128296:"_4_rv",128299:"_4_rw",128304:"_4_rx",128305:"_4_ry",128306:"_4_rz",128307:"_4_r-",128308:"_4_r_",128309:"_4_s0",128310:"_4_s1",128311:"_4_s2",128312:"_4_s3",128313:"_4_s4",128507:"_4_s5",128508:"_4_s6",128509:"_4_s7",128513:"_2fs",128514:"_2ft",128515:"_2fu",128516:"_2fv",128518:"_2fw",128521:"_2fx",128522:"_1q3y",128524:"_2fz",128525:"_2f-",128527:"_2f_",128530:"_2g0",128531:"_2g1",128532:"_2g2",128534:"_2g3",128536:"_2g4",128538:"_2g5",128540:"_2g6",128541:"_2g7",128542:"_2g8",128544:"_2g9",128545:"_2ga",128546:"_2gb",128547:"_2gc",128548:"_2gd",128549:"_2ge",128552:"_2gf",128553:"_2gg",128554:"_2gh",128555:"_2gi",128557:"_2gj",128560:"_2gk",128561:"_2gl",128562:"_2gm",128563:"_2gn",128565:"_2go",128567:"_2gp",128568:"_2gq",128569:"_2gr",128570:"_2gs",128571:"_2gt",128572:"_2gu",128573:"_2gv",128575:"_2gw",128576:"_2gx",128587:"_2gy",128588:"_2gz",128589:"_2g-",128591:"_2g_",128640:"_4_s8",128643:"_4_s9",128644:"_4_sa",128645:"_4_sb",128649:"_4_sc",128652:"_4_sd",128655:"_4_se",128657:"_4_sf",128658:"_4_sg",128659:"_4_sh",128661:"_4_si",128663:"_4_sj",128665:"_4_sk",128666:"_4_sl",128674:"_4_sm",128676:"_4_sn",128677:"_4_so",128679:"_4_sp",128684:"_4_sq",128685:"_4_sr",128690:"_4_ss",128697:"_4_st",128698:"_4_su",128699:"_4_sv",128700:"_4_sw",128701:"_4_sx",128702:"_4_sy",128704:"_4_sz",9642:"_4_s-",9643:"_4_s_",9723:"_4_t0",9724:"_4_t1",9725:"_4_t2",9726:"_4_t3",9742:"_4_t4",9757:"_2h0",9786:"_2h1",9855:"_4_t5",9888:"_4_t6",9889:"_2h2",9898:"_4_t7",9899:"_4_t8",9917:"_4_t9",9918:"_4_ta",9924:"_2h3",9940:"_4_tb",9962:"_4_tc",9970:"_4_td",9971:"_4_te",9973:"_4_tf",9978:"_4_tg",9981:"_4_th",9994:"_2h4",9995:"_2h5",9996:"_2h6",10060:"_4_ti",10062:"_4_tj",10145:"_4_tk",10175:"_4_tl",11013:"_4_tm",11014:"_4_tn",11015:"_4_to",11035:"_4_tp",11036:"_4_tq",11088:"_4_tr",11093:"_4_ts",12349:"_4_tt",8598:"_4_tu",8599:"_4_tv",8600:"_4_tw",8601:"_4_tx",9728:"_2h7",9729:"_2h8",9748:"_2h9",9749:"_2ha",9824:"_4_ty",9827:"_4_tz",9829:"_4_t-",9830:"_4_t_",9832:"_4_u0",9986:"_4_u1",9992:"_4_u2",9993:"_4_u3",10006:"_4_u4",10024:"_2hb",10035:"_4_u5",10036:"_4_u6",10067:"_4_u7",10068:"_4_u8",10069:"_4_u9",10071:"_4_ua",10084:"_2hc",10548:"_4_ub",10549:"_4_uc",12951:"_4_ud",12953:"_4_ue"},k=function(l){var m=0;while(l.length>0){var n=i.exec(l);if(!n||!n.length)return false;var o=n[1],p=n.index,q=h.decode(o),r=j[q];if(!r){m+=p+1;l=l.substr(p+1);continue;}n.index+=m;n.emoji=r;return n;}return false;};e.exports={findEmoji:k,emoji:j,_utf16Regex:i};},null);
__d("DOMEmoji",["CSS","JSXDOM","TransformTextToDOMMixin","SupportedEmoji","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m={MAX_ITEMS:40,match:function(n){var o=j.findEmoji(n);if(!o||!o.length)return false;var p=o[0],q=o.index,r=o.emoji;return {startIndex:q,endIndex:q+p.length,element:this._element(r)};},_element:function(n){var o=h.span(null);g.addClass(o,"_1az");g.addClass(o,"_1a-");g.addClass(o,n);return o;}};e.exports=k(m,i);},null);
__d("EmoticonsList",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={emotes:{":)":"smile",":-)":"smile",":]":"smile","=)":"smile","(:":"smile","(=":"smile",":(":"frown",":-(":"frown",":[":"frown","=(":"frown",")=":"frown",":poop:":"poop",":putnam:":"putnam",":P":"tongue",":-P":"tongue",":-p":"tongue",":p":"tongue","=P":"tongue","=D":"grin",":-D":"grin",":D":"grin",":o":"gasp",":-O":"gasp",":O":"gasp",":-o":"gasp",";)":"wink",";-)":"wink","8-)":"glasses","B-)":"glasses","B|":"sunglasses","8-|":"sunglasses","8|":"sunglasses","B-|":"sunglasses",">:(":"grumpy",">:-(":"grumpy",":/":"unsure",":-/":"unsure",":\\":"unsure",":-\\":"unsure","=/":"unsure","=\\":"unsure",":'(":"cry","3:)":"devil","3:-)":"devil","O:)":"angel","O:-)":"angel",":*":"kiss",":-*":"kiss","<3":"heart","&lt;3":"heart","♥":"heart","^_^":"kiki","-_-":"squint","o.O":"confused","O.o":"confused_rev",">:o":"upset",">:O":"upset",">:-O":"upset",">:-o":"upset",">_<":"upset",">.<":"upset",":v":"pacman",":|]":"robot",":3":"colonthree","<(\")":"penguin","(^^^)":"shark","(y)":"like",":like:":"like","(Y)":"like"},symbols:{smile:":)",frown:":(",poop:":poop:",putnam:":putnam:",tongue:":P",grin:"=D",gasp:":o",wink:";)",glasses:"8-)",sunglasses:"B|",grumpy:">:(",unsure:":/",cry:":'(",devil:"3:)",angel:"O:)",kiss:":*",heart:"<3",kiki:"^_^",squint:"-_-",confused:"o.O",confused_rev:"O.o",upset:">:o",pacman:":v",robot:":|]",colonthree:":3",penguin:"<(\")",shark:"(^^^)",like:"(y)"},regexp:/(^|[\s'".])(:\)(?!\))|:\-\)(?!\))|:\]|=\)(?!\))|\(:|\(=|:\(|:\-\(|:\[|=\(|\)=|:poop:|:putnam:|:P|:\-P|:\-p|:p|=P|=D|:\-D|:D|:o|:\-O|:O|:\-o|;\)(?!\))|;\-\)(?!\))|8\-\)(?!\))|B\-\)(?!\))|B\||8\-\||8\||B\-\||>:\(|>:\-\(|:\/|:\-\/|:\\|:\-\\|=\/|=\\|:'\(|3:\)(?!\))|3:\-\)(?!\))|O:\)(?!\))|O:\-\)(?!\))|:\*|:\-\*|<3|&lt;3|\u2665|\^_\^|\-_\-|o\.O|O\.o|>:o|>:O|>:\-O|>:\-o|>_<|>\.<|:v|:\|\]|:3|<\("\)(?!\))|\(\^\^\^\)(?!\))|\(y\)(?!\))|:like:|\(Y\)(?!\)))([\s'".,!?]|<br>|$)/,noncapturingRegexp:/(?:^|[\s'".])(:\)(?!\))|:\-\)(?!\))|:\]|=\)(?!\))|\(:|\(=|:\(|:\-\(|:\[|=\(|\)=|:poop:|:putnam:|:P|:\-P|:\-p|:p|=P|=D|:\-D|:D|:o|:\-O|:O|:\-o|;\)(?!\))|;\-\)(?!\))|8\-\)(?!\))|B\-\)(?!\))|B\||8\-\||8\||B\-\||>:\(|>:\-\(|:\/|:\-\/|:\\|:\-\\|=\/|=\\|:'\(|3:\)(?!\))|3:\-\)(?!\))|O:\)(?!\))|O:\-\)(?!\))|:\*|:\-\*|<3|&lt;3|\u2665|\^_\^|\-_\-|o\.O|O\.o|>:o|>:O|>:\-O|>:\-o|>_<|>\.<|:v|:\|\]|:3|<\("\)(?!\))|\(\^\^\^\)(?!\))|\(y\)(?!\))|:like:|\(Y\)(?!\)))(?:[\s'".,!?]|<br>|$)/};},null);
__d("DOMEmote",["CSS","EmoticonsList","JSXDOM","TransformTextToDOMMixin","fbt","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m={MAX_ITEMS:40,match:function(n){var o=h.regexp.exec(n);if(!o||!o.length)return false;var p=o[2],q=o.index+o[1].length;return {startIndex:q,endIndex:q+p.length,element:this._element(p,h.emotes[p])};},_element:function(n,o){var p=k._("{emoticonName} emoticon",[k.param("emoticonName",o)]),q=i.span({className:"emoticon_text","aria-hidden":"true"},p),r=i.span({title:n,className:"emoticon"});g.addClass(r,'emoticon_'+o);return [q,r];}};e.exports=l(m,j);},null);
__d("transformTextToDOM",["createArrayFromMixed"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){var k=[i];j=g(j);j.forEach(function(l){var m,n=l;if(l.__params){m=l.params;n=l.obj;}k=n.transform(k,m);});return k;}e.exports=h;},null);
__d("emojiAndEmote",["DOMEmoji","DOMEmote","transformTextToDOM"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=function(k){var l=[g,h];return i(k,l);};e.exports=j;},null);
__d("Emoji",["DOMEmoji","JSXDOM","emojiAndEmote","transformTextToDOM"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={htmlEmojiAndEmote:function(l,m){return (h.span(null,i(l))).innerHTML;},htmlEmojiAndEmoteWithoutFBID:function(l,m){return (h.span(null,i(l,false))).innerHTML;},htmlEmoji:function(l){return (h.span(null,j(l,g))).innerHTML;}};e.exports=k;},null);
__d("Emote",["DOMEmote","JSXDOM","transformTextToDOM"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={htmlEmoteWithoutFBID:function(k,l){return (h.span(null,i(k,g))).innerHTML;},htmlEmote:function(k,l){return (h.span(null,i(k,[g]))).innerHTML;}};e.exports=j;},null);
__d("TextWithEmoticons.react",["Emoji","Emote","React"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=i.createClass({displayName:"ReactTextWithEmoticons",render:function(){if(!this.props.renderEmoticons&&!this.props.renderEmoji)return i.createElement("span",null,this.props.text);var k;if(this.props.renderEmoticons&&this.props.renderEmoji){k=g.htmlEmojiAndEmoteWithoutFBID(this.props.text);}else if(this.props.renderEmoticons){k=h.htmlEmoteWithoutFBID(this.props.text);}else k=g.htmlEmoji(this.props.text);return i.createElement("span",{dangerouslySetInnerHTML:{__html:k}});}});e.exports=j;},null);
__d("TextWithEntities.react",["Link.react","React","BaseTextWithEntities.react","TextWithEmoticons.react"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();"use strict";function k(m){return (m).replace(/<3\b|&hearts;/g,'\u2665');}var l=h.createClass({displayName:"TextWithEntities",_renderText:function(m){if(this.props.renderEmoticons||this.props.renderEmoji){return (h.createElement(j,{text:m,renderEmoticons:this.props.renderEmoticons,renderEmoji:this.props.renderEmoji}));}else return k(m);},_renderRange:function(m,n){if(this.props.interpolator){return this.props.interpolator(m,n);}else return (h.createElement(g,{href:n.entity},m));},render:function(){return (h.createElement(i,h.__spread({},this.props,{textRenderer:this._renderText,rangeRenderer:this._renderRange,ranges:this.props.ranges,imageRanges:this.props.imageRanges,aggregatedRanges:this.props.aggregatedRanges,text:this.props.text})));}});e.exports=l;},null);
__d("UFICommentLikeCount.react",["NumberFormat","ProfileBrowserLink","ProfileBrowserTypes","React","URI","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=j,n=m.PropTypes,o=function(q,r){var s=new k('/ajax/like/tooltip.php').setQueryData({comment_fbid:q.fbid,comment_from:q.author,comment_likecount:q.likecount||0,comment_id:q.id,cache_buster:q.likeconfirmhash||0});if(r)s.addQueryData({viewas:r});return s;},p=j.createClass({displayName:"UFICommentLikeCount",propTypes:{comment:n.object.isRequired,contextArgs:n.object.isRequired},render:function(){var q=this.props.comment,r=g.formatIntegerWithDelimiter(q.likecount||0,this.props.contextArgs.numberdelimiter),s=i.LIKES,t={id:q.fbid},u=o(this.props.comment,this.props.contextArgs.viewas),v=j.createElement("i",{className:"UFICommentLikeIcon"}),w=j.createElement("span",null,r),x=(("UFICommentLikeButton")+(this.props.comment.hasviewerliked?' '+"UFICommentLikedButton":''));return (j.createElement("a",{ajaxify:h.constructDialogURI(s,t).toString(),className:x,"data-hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-uri":u.toString(),href:h.constructPageURI(s,t).toString(),rel:"dialog",role:"button"},v,w));}});e.exports=p;},null);
__d("Timestamp.react",["LiveTimer","React","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h,k=j.PropTypes,l=h.createClass({displayName:"Timestamp",propTypes:{autoUpdate:k.bool},getDefaultProps:function(){return {autoUpdate:false};},componentDidMount:function(){if(this.props.autoUpdate)g.addTimeStamps(h.findDOMNode(this));},componentDidUpdate:function(m,n){if(this.props.autoUpdate&&this.props.time!==m.time)g.loop();},render:function(){var m=g.renderRelativeTimeToServer(this.props.time,this.props.shorten);return (h.createElement("abbr",h.__spread({},this.props,{className:i(this.props.className,"livetimestamp"),title:this.props.verbose,"data-utime":this.props.time,"data-shorten":this.props.shorten?true:null}),m.text||this.props.text));}});e.exports=l;},null);
__d("TooltipMixin",["React","Tooltip","DOM"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes;function l(n){var o=n.tooltip;return o!=null&&typeof o!=='string';}var m={propTypes:{tooltip:k.oneOfType([k.element,k.string]),position:k.oneOf(['above','below','left','right']),alignH:k.oneOf(['left','center','right'])},getInitialState:function(){return {tooltipContainer:l(this.props)?i.create('div'):null};},componentWillReceiveProps:function(n){var o=l(n),p=this.state.tooltipContainer;if(p&&!o){this.setState({tooltipContainer:null});}else if(!p&&o)this.setState({tooltipContainer:i.create('div')});},componentDidMount:function(){this._updateTooltip();},componentDidUpdate:function(n,o){if(o.tooltipContainer&&!this.state.tooltipContainer)this._cleanupContainer(o.tooltipContainer);this._updateTooltip();},_updateTooltip:function(){var n;if(l(this.props)){n=this.state.tooltipContainer;g.render(this.props.tooltip,n);}else n=this.props.tooltip;if(n!=null){h.set(g.findDOMNode(this),n,this.props.position,this.props.alignH);}else h.remove(g.findDOMNode(this));},componentWillUnmount:function(){if(this.state.tooltipContainer)this._cleanupContainer(this.state.tooltipContainer);h.remove(g.findDOMNode(this));},_cleanupContainer:function(n){g.unmountComponentAtNode(n);}};e.exports=m;},null);
__d("TooltipLink.react",["React","TooltipMixin"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g.createClass({displayName:"TooltipLink",mixins:[h],render:function(){return g.createElement("a",g.__spread({},this.props),this.props.children);}});e.exports=i;},null);
__d("HelpLink.react",["React","joinClasses","TooltipLink.react"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"HelpLink",render:function(){return (g.createElement(i,g.__spread({},this.props,{className:h(this.props.className,"uiHelpLink mls")}),(void 0)));}});e.exports=j;},null);
__d("UFICreatorInfo.react",["HelpLink.react","React","URI","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h,m=l.PropTypes,n=h.createClass({displayName:"UFICreatorInfo",propTypes:{creatorID:m.string.isRequired,creatorType:m.string.isRequired,creatorName:m.string.isRequired,labelType:m.string.isRequired,pageID:m.string.isRequired,profileURI:m.string},render:function(){var o,p=this.getCreatorLink();switch(this.props.labelType){case 'commented':o=k._("Commented on by {creator}",[k.param("creator",p)]);break;case 'edited_comment':o=k._("Edited by {creator}",[k.param("creator",p)]);break;case 'sent_message':o=k._("Sent by {creator}",[k.param("creator",p)]);break;default:return;}return (h.createElement("span",null,o,h.createElement(g,{tooltip:this.getHelpText()})));},getCreatorLink:function(){switch(this.props.creatorType){case 'application':case 'gray_account':case 'indirect_admin':return (h.createElement("a",{className:"uiLinkSubtle","aria-label":this.getTooltipText(),"data-hover":"tooltip"},this.props.creatorName));case 'business_admin':return (h.createElement("a",{className:"uiLinkSubtle",href:this.props.profileURI},this.props.creatorName));case 'direct_admin':return this.getProfileLinkWithHovercard();case 'former_admin':return (h.createElement("span",{className:"uiLinkSubtle"},h.createElement("img",{src:"/images/privacy/cant-see.png",width:9,height:9,className:"_3-8_"}),this.getProfileLinkWithHovercard()));default:return (h.createElement("span",{className:"uiLinkSubtle"},this.props.creatorName));}},getTooltipText:function(){switch(this.props.creatorType){case 'application':return this.getApplicationText();case 'gray_account':return this.getGrayAccountText();case 'indirect_admin':return this.getIndirectAdminText();}},getProfileLinkWithHovercard:function(){if(!this.props.profileURI)return h.createElement("span",null,this.props.creatorName);var o=new i('/ajax/hovercard/user.php').setQueryData({id:this.props.creatorID}).addQueryData({type:'page_admin',extragetparams:JSON.stringify({directed_target_id:this.props.pageID})});return (h.createElement("a",{className:"uiLinkSubtle","data-hovercard":o,href:this.props.profileURI},this.props.creatorName));},getApplicationText:function(){switch(this.props.labelType){case 'commented':return (k._("This was commented on by someone using {application}.",[k.param("application",this.props.creatorName)]));case 'edited_comment':return (k._("This was edited by someone using {application}.",[k.param("application",this.props.creatorName)]));case 'sent_message':return (k._("This was sent by someone using {application}.",[k.param("application",this.props.creatorName)]));}},getIndirectAdminText:function(){switch(this.props.labelType){case 'commented':return (k._("This was commented on by someone from {page}.",[k.param("page",this.props.creatorName)]));case 'edited_comment':return (k._("This was edited by someone from {page}.",[k.param("page",this.props.creatorName)]));case 'sent_message':return (k._("This was sent by someone from {page}.",[k.param("page",this.props.creatorName)]));}},getGrayAccountText:function(){switch(this.props.labelType){case 'commented':return (k._("This was commented on by someone who doesn't have a personal Facebook account."));case 'edited_comment':return (k._("This was edited by someone who doesn't have a personal Facebook account."));case 'sent_message':return (k._("This was sent by someone who doesn't have a personal Facebook account."));}},getHelpText:function(){switch(this.props.labelType){case 'commented':return (k._("Only people who manage this Page can see who posted a comment"));case 'edited_comment':return (k._("Only people who manage this Page can see who edited a comment"));case 'sent_message':return (k._("Only people who manage this Page can see who sent a message"));}}});e.exports=n;},null);
__d("UFICommentMetadata.react",["Bootloader","React","Timestamp.react","TrackingNodes","UFIConstants","URI","UFICreatorInfo.react","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();"use strict";var p=h,q=p.PropTypes,r=k.UFIStatus,s=' \u00b7 ',t="UFIFailureMessageIcon",u="UFIFailureMessage",v="uiLinkSubtle",w=function(y){var z=y.status;return z===r.FAILED_ADD||z===r.FAILED_EDIT;},x=h.createClass({displayName:"UFICommentMetadata",propTypes:{comment:q.object.isRequired,onRetrySubmit:q.func,permalink:q.string,shortenTimestamp:q.bool,showPermalink:q.bool,permalinkTarget:q.string},render:function(){var y=this.props.comment,z=this.props.onRetrySubmit,aa,ba;if(w(y)){aa=[h.createElement("span",{key:"failure",className:u},h.createElement("i",{className:t}),o._("Unable to post comment.")),y.allowRetry&&z?[' ',h.createElement("a",{key:"rety-submit",onClick:z,href:"#",role:"button"},o._("Try again"))]:null];}else{var ca=j.getTrackingInfo(j.types.SOURCE);ba=h.createElement(i,{shorten:this.props.shortenTimestamp,time:y.timestamp.time,text:y.timestamp.text,verbose:y.timestamp.verbose});if(this.props.showPermalink)ba=h.createElement("a",{key:"timestamp-message",className:v,href:this.props.permalink,"data-ft":ca,target:this.props.permalinkTarget},ba);}var da=null;if(y.originalTimestamp){var ea=new l('/ajax/edits/browser/comment').addQueryData({comment_token:y.id}).toString();da=[s,h.createElement("a",{ajaxify:ea,"aria-label":o._("Show edit history"),className:"uiLinkSubtle","data-hover":"tooltip",href:"#",key:"edit-link",ref:"EditLink",rel:"dialog",role:"button",title:o._("Show edit history")},o._("Edited"))];}var fa=null;if(y.creator_data)fa=[h.createElement(m,{creatorID:y.creator_data.creatorID,creatorType:y.creator_data.creatorType,creatorName:y.creator_data.creatorName,labelType:y.creator_data.labelType,pageID:y.creator_data.pageID,profileURI:y.creator_data.profileURI}),s];return (h.createElement("span",null,fa,ba,aa,da));},componentWillUpdate:function(y){var z=this.props.comment,aa=y.comment;if(!z.editnux&&!!aa.editnux)g.loadModules(["LegacyContextualDialog"],function(ba){var ca=new ba();ca.init(aa.editnux).setContext(h.findDOMNode(this.refs.EditLink)).setWidth(300).setPosition('below').show();}.bind(this));}});e.exports=x;},null);
__d("UFIReplyLink.react",["React","fbt"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i=g,j=i.PropTypes,k=g.createClass({displayName:"UFIReplyLink",propTypes:{onClick:j.func},render:function(){return (g.createElement("a",{className:"UFIReplyLink",href:"#",onClick:this.props.onClick},h._("Reply")));}});e.exports=k;},null);
__d("UFISpamCount",["UFISpamCountImpl"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b('UFISpamCountImpl').module||{enabled:false};},null);
__d("UFICommentActions.react",["React","ReactFragment","TrackingNodes","UFICommentLikeCount.react","UFICommentMetadata.react","UFIConstants","UFIPrivateReplyLink.react","UFIReplyLink.react","UFISpamCount","cx","fbt","PagesPrivateReplyConstants"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();'use strict';var r=b('PagesPrivateReplyConstants').Status,s=g,t=s.PropTypes,u=l.UFIStatus,v=' \u00b7 ',w="fsm fwn fcg UFICommentActions",x="UFIDeletedMessageIcon",y="UFIDeletedMessage",z=g.createClass({displayName:"UFICommentActions",propTypes:{comment:t.object.isRequired,contextArgs:t.object.isRequired,feedback:t.object.isRequired,hideAsSpamForPageAdmin:t.bool,markedAsSpamHere:t.bool,onCommentLikeToggle:t.func,onCommentReply:t.func,onMarkAsNotSpam:t.func,onPreviewRemove:t.func,onRetrySubmit:t.func,permalink:t.string,shortenTimestamp:t.bool,showPermalink:t.bool,showReplyLink:t.bool,viewerCanMarkNotSpam:t.bool},render:function(){var aa=this.props,ba=aa.comment,ca=aa.permalink,da=aa.feedback,ea=aa.markedAsSpamHere,fa=ba.status===u.SPAM_DISPLAY,ga=aa.showReplyLink,ha=aa.hideAsSpamForPageAdmin,ia,ja,ka,la,ma,na,oa,pa=!ba.islocal&&ba.status!==u.LIVE_DELETED;if(pa){if(fa&&!ea){if(aa.viewerCanMarkNotSpam)ia=g.createElement("a",{onClick:aa.onMarkAsNotSpam,className:"UFICommentNotSpamLink",href:"#",role:"button"},q._("Unhide"));if(ha&&da.isthreaded&&ba.cancomment&&ga)ma=g.createElement(n,{comment:ba,onClick:aa.onCommentReply,contextArgs:aa.contextArgs});}else{if(ba.viewercanlike){var qa=i.getTrackingInfo(ba.hasviewerliked?i.types.UNLIKE_LINK:i.types.LIKE_LINK),ra=ba.hasviewerliked?q._("Unlike this comment"):q._("Like this comment");ja=g.createElement("a",{className:"UFILikeLink","data-ft":qa,href:"#",onClick:aa.onCommentLikeToggle,role:"button",title:ra},ba.hasviewerliked?q._("Unlike"):q._("Like"));}if((this.props.contextArgs.simplereply&&this.props.feedback.cancomment)||(da.isthreaded&&ba.cancomment&&ga))ma=g.createElement(n,{comment:ba,contextArgs:aa.contextArgs,onClick:aa.onCommentReply});if(ba.likecount>0)ka=g.createElement(j,{comment:ba,contextArgs:aa.contextArgs});if(ba.spamcount&&o.enabled)la=g.createElement(o,{count:ba.spamcount});if(ba.messagereply&&(ba.messagereply.hasReplyPermission||(ba.messagereply.status===r.ALREADY_REPLIED)))na=g.createElement(m,{activityID:ba.id,context:ba.messagereply});}if(ba.attachment&&ba.attachment.type=="share"&&ba.canremove)oa=g.createElement("a",{href:"#",onClick:aa.onPreviewRemove,role:"button"},q._("Remove Preview"));}var sa=g.createElement(k,{comment:ba,onRetrySubmit:aa.onRetrySubmit,permalink:ca,shortenTimestamp:aa.shortenTimestamp,showPermalink:aa.showPermalink}),ta;if(da.isqanda){ta={likeCount:ka,spamCount:la,likeToggle:ja,commentReply:ma,messageReply:na,spamToggle:ia,metadata:sa,removePreview:oa};}else if(aa.contextArgs.entstream){ta={metadata:sa,likeToggle:ja,likeCount:ka,commentReply:ma,messageReply:na,spamCount:la,spamToggle:ia,removePreview:oa};}else if(da.isthreaded){ta={likeToggle:ja,commentReply:ma,messageReply:na,spamToggle:ia,removePreview:oa,likeCount:ka,spamCount:la,metadata:sa};}else ta={metadata:sa,likeToggle:ja,likeCount:ka,spamCount:la,commentReply:ma,messageReply:na,spamToggle:ia,removePreview:oa};if(ba.status===u.LIVE_DELETED){var ua=g.createElement("span",{className:y},g.createElement("i",{className:x,"data-hover":"tooltip","aria-label":q._("Comment deleted")}));ta.deletionWarning=ua;}var va=true,wa={};for(var xa in ta){var ya=ta[xa];if(ya){wa[xa]=va?ya:h.create({MIDDOT:v,action:ya});va=false;}}return (g.createElement("div",{className:w},h.create(wa)));}});e.exports=z;},null);
__d("StringTrims",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={trimLeft:function(h){return h.replace(/^\s+/,'');},trimRight:function(h){return h.replace(/\s+$/,'');}};e.exports=g;},null);
__d("concatMap",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){var j=-1,k=i.length,l=[],m;while(++j<k){m=h(i[j],j,i);Array.isArray(m)?Array.prototype.push.apply(l,m):Array.prototype.push.call(l,m);}return l;}e.exports=g;},null);
__d("LitestandEllipsis",["DOM","DOMDimensions","StringTrims","concatMap","createArrayFromMixed","getElementText"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m,n={add:function(q,r,s){s=s||q;g.scry(q,'br').forEach(g.remove);var t=h.getElementDimensions(s).height;if(t<=r)return q;var u,v='...',w=p(q),x=w.length-1,y=l(w[x]);if(x===0)y=i.trimLeft(y);while(x>=0&&t>r){u=Math.max(y.lastIndexOf(' '),y.lastIndexOf('\n'));if(u===-1)u=y.length-v.length-1;if(u<=0){o(w[x],'');x--;y=l(w[x]);}else{y=i.trimRight(y.substr(0,u))+v;o(w[x],y);}t=h.getElementDimensions(s).height-1;}}};function o(q,r){m=m||(q.textContent!=null?'textContent':'innerText');q[m]=r;}function p(q){if(g.isTextNode(q))return [q];return j(p,k(q.childNodes));}e.exports=n;},null);
__d("LitestandShareAttachment",["CSS","DOM","LitestandEllipsis","csx","cx","queryThenMutateDOM"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=16,n=22,o=20,p=5,q=3,r=2,s=2,t=5,u=5,v={init:function(z){var aa,ba,ca,da=w(z);l(function(){aa=h.scry(z,"._6m6")[0];ba=h.scry(z,"._6m7")[0];ca=x(z,aa,da);},function(){if(!ca){ba&&g.hide(ba);aa&&i.add(aa,da*y(z));}else if(ba&&ca){g.show(ba);i.add(ba,ca*m);}});},getNumDescriptionLines:function(z){return x(z,h.scry(z,"._6m6")[0],w(z));},getDescriptionLineHeight:function(){return m;}};function w(z){var aa=g.hasClass(z,"_59ap"),ba=g.hasClass(z,"_pb2"),ca=h.scry(z,"^div._4rtc").length>0,da;if(ba){da=s;}else if(ca){da=r;}else if(aa){da=q;}else da=p;return da;}function x(z,aa,ba){var ca=h.scry(z,"._6m3")[0];if(!aa||!ca)return 0;var da=h.scry(z,"._59tj")[0],ea=g.hasClass(z,"_59ap"),fa=g.hasClass(z,"_pb2"),ga=Math.round(aa.scrollHeight/y(z));if(ga>ba&&!fa)return 0;var ha=ca.offsetHeight-t-aa.offsetHeight-(da?da.offsetHeight:0)-(ea?0:u)+1;return Math.floor(Math.max(ha,0)/m);}function y(z){return g.hasClass(z,"_pb2")?o:n;}e.exports=v;},null);
__d("UFICommentAttachment.react",["DOM","HTML","LitestandShareAttachment","React","Sticker.react"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=j,m=l.PropTypes,n=80,o=j.createClass({displayName:"UFICommentAttachment",propTypes:{comment:m.object.isRequired},_attachmentFromCommentData:function(p){return p.photo_comment||p.attachment;},_getScaledDimensions:function(p,q){var r,s,t;if(q>p){t=n/q;r=p*t;s=q*t;}else{t=n/p;r=p*t;s=q*t;}return {height:Math.round(r),width:Math.round(s)};},componentDidMount:function(){var p=this._attachmentFromCommentData(this.props.comment);if(p)this.renderAttachment(p);},shouldComponentUpdate:function(p,q){var r=this._attachmentFromCommentData(this.props.comment),s=this._attachmentFromCommentData(p.comment);if(!r&&!s)return false;if(!r||!s||r.markup!=s.markup){return true;}else return false;},componentDidUpdate:function(p){var q=this._attachmentFromCommentData(this.props.comment);if(q.type!=='sticker')this.renderAttachment(q);},renderAttachment:function(p){if(p&&this.refs&&this.refs.contents&&p.markup){var q=p.markup;if(h.isHTML(q.markup))q=h.replaceJSONWrapper(q.markup).getRootNode();var r=q.parentNode,s=j.findDOMNode(this.refs.contents);if(r&&r!==s)q=q.cloneNode(true);g.setContent(s,q);if(p.type=="share")i.init(s);}},renderSticker:function(p){var q=this._getScaledDimensions(p.metadata.height,p.metadata.width),r=null,s=null;if(window.devicePixelRatio&&window.devicePixelRatio>1&&p.metadata.source_uri_2x){r=p.metadata.sprite_uri_2x;s=p.metadata.source_uri_2x;}else{r=p.metadata.sprite_uri;s=p.metadata.source_uri;}return (j.createElement(k,{animationTrigger:"load_and_hover",frameCount:p.metadata.frameCount,frameRate:p.metadata.frameRate,framesPerCol:p.metadata.framesPerCol,framesPerRow:p.metadata.framesPerRow,spriteURI:r,sourceHeight:q.height,sourceURI:s,sourceWidth:q.width}));},render:function(){var p=this._attachmentFromCommentData(this.props.comment);if(p)if(p&&p.type==='sticker'){return this.renderSticker(p);}else return j.createElement("div",{ref:"contents"});return j.createElement("span",null);}});e.exports=o;},null);
__d("BadgeHelper",["DOM","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={xsmall:"_5dzz",small:"_5dz-",medium:"_5dz_",large:"_5d-0",xlarge:"_5d-1"};function k(m,n){var o=j[m];switch(n){case 'verified':return i(o,"_56_f _5dzy");case 'topcommenter':return i(o,"_59t2 _5dzy");case 'work':return i(o,"_5d62 _5dzy");}}function l(m,n){var o=k(m,n);if(o)return g.create('span',{className:o});}e.exports={getClasses:k,renderBadge:l,sizes:Object.keys(j)};},null);
__d("Badge.react",["BadgeHelper","React"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h,j=i.PropTypes,k=h.createClass({displayName:"Badge",propTypes:{size:j.oneOf(g.sizes),type:j.oneOf(['verified','topcommenter','work'])},getDefaultProps:function(){return {size:'xsmall',type:'verified'};},render:function(){return (h.createElement("span",{className:g.getClasses(this.props.size,this.props.type)}));}});e.exports=k;},null);
__d("UFIActor.react",["Badge.react","Focus","HovercardLink","Locale","React","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=k,n=m.PropTypes,o=k.createClass({displayName:"UFIActor",propTypes:{author:n.object.isRequired,'data-ft':n.string,focusOnMount:n.bool,showHovercard:n.bool,isAuthorWeakReference:n.bool,groupOrEventID:n.number,useFirstName:n.bool,delimiter:n.string},getDefaultProps:function(){return {delimiter:" \u00b7 "};},componentDidMount:function(){if(this.props.focusOnMount)h.setWithoutOutline(k.findDOMNode(this.refs.authorName));},render:function(){var p=this.props.author,q=j.isRTL()?'rtl':'ltr',r=((this.props.isAuthorWeakReference?"weakReference":'')+(' '+"UFICommentActorName")),s=[];if(this.props.isAuthorWeakReference)s.push(k.createElement("i",{className:"UFIWeakReferenceIcon",key:"icon"}));if(this.props.useFirstName){s.push(p.firstName);}else s.push(p.name);var t=p.uri?k.createElement("a",k.__spread({},this.props,{className:r,"data-hovercard":this.props.showHovercard?i.constructEndpointWithGroupAndLocation(p,this.props.groupOrEventID,'ufi',this.props.isAuthorWeakReference).toString():null,"data-ft":this.props['data-ft'],dir:q,href:p.uri,ref:"authorName"}),s):k.createElement("span",{className:r,dir:q,ref:"authorName"},s);return (k.createElement("span",null,t,k.Children.map(this.props.children,function(u){return u?[u.type===g?'':this.props.delimiter,u]:null;}.bind(this))));}});e.exports=o;},null);
__d("UFISocialContext.react",["HovercardLink","ProfileBrowserLink","ProfileBrowserTypes","React","URI","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=j,n=m.PropTypes,o=27,p=j.createClass({displayName:"UFISocialContext",propTypes:{commentAuthor:n.object.isRequired,otherMutualCount:n.number.isRequired,topMutualFriend:n.object.isRequired},render:function(){var q=this.props.topMutualFriend,r=this.props.otherMutualCount,s=this.props.commentAuthor,t=g.constructEndpoint(q).toString(),u=j.createElement("a",{href:q.uri,"data-hovercard":t,key:"top"},q.name),v=s.name.length+q.name.length,w;if(r===0){w=l._("Friends with {name}",[l.param("name",u)]);}else if(v<o){var x;if(r==1){x=l._("1 other");}else x=l._({"*":"{count} others"},[l.param("count",r,[0])]);w=l._("Friends with {name} and {others}",[l.param("name",u),l.param("others",this.getOthersLink(x,s,q))]);}else{var y=l._({"*":"{count} mutual friends"},[l.param("count",r+1,[0])]);w=this.getOthersLink(y,s);}return (j.createElement("span",{className:"UFICommentSocialContext"},w));},getOthersLink:function(q,r,s){var t=i.MUTUAL_FRIENDS,u={uid:r.id},v=new k('/ajax/mutual_friends/tooltip.php').setQueryData({friend_id:r.id});if(s)v.addQueryData({exclude_id:s.id});var w=h.constructDialogURI(t,u).toString();return (j.createElement("a",{ajaxify:w,"data-hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-uri":v.toString(),href:h.constructPageURI(t,u).toString(),key:"others",rel:"dialog"},q));}});e.exports=p;},null);
__d("UFICommentAuthorName.react",["Badge.react","React","TrackingNodes","UFIActor.react","UFISocialContext.react"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h,m=l.PropTypes,n=h.createClass({displayName:"UFICommentAuthorName",propTypes:{author:m.object.isRequired,authorProfiles:m.object.isRequired,showHovercard:m.bool,isAuthorWeakReference:m.bool,focusOnMount:m.bool,groupOrEventID:m.number,isFeatured:m.bool,socialContext:m.object,useFirstName:m.bool},render:function(){var o=this.props,p=o.author,q=i.getTrackingInfo(i.types.USER_NAME);return (h.createElement(j,{author:p,showHovercard:o.showHovercard,key:"author",focusOnMount:o.focusOnMount,"data-ft":q,isAuthorWeakReference:o.isAuthorWeakReference,groupOrEventID:o.groupOrEventID,useFirstName:o.useFirstName},o.isFeatured?h.createElement(g,{key:"badge",size:"xsmall",type:"verified"}):null,o.socialContext?h.createElement(k,{topMutualFriend:o.authorProfiles[o.socialContext.topmutualid],otherMutualCount:o.socialContext.othermutualcount,commentAuthor:p}):null));}});e.exports=n;},null);
__d("SeeMore.react",["React","cx","fbt"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"SeeMore",getInitialState:function(){return {isCollapsed:true};},handleClick:function(){this.setState({isCollapsed:false});},render:function(){var k=this.state.isCollapsed,l=k?g.createElement("span",{className:"_5uzb"},i._("...")):null,m=this.props.children[0],n=k?null:g.createElement("span",null,this.props.children[1]),o=!k?null:g.createElement("a",{className:"_5v47 fss",onClick:this.handleClick,href:"#",role:"button"},i._("See More"));return (g.createElement("span",{className:this.props.className},m,l,o,n));}});e.exports=j;},null);
__d("findSplitPointForText",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){var k=null,l=h.split('\n');if(i&&h.length>i)k=i;if(j&&l.length>j){var m=l.slice(0,j).join('\n').length;if(k!==null){k=Math.min(m,k);}else k=m;}return k;}e.exports=g;},null);
__d("partitionTextAndRanges",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(j,k){var l=j.offset+j.length;return k>j.offset&&k<l;}function h(j,k){for(var l=0;l<j.length;l++){var m=j[l];if(g(m,k))return m.offset;}return k;}var i=function(j,k,l){var m=[],n=[],o=h(k,l);for(var p=0;p<k.length;p++){var q=k[p];if(q.offset<o){m.push(q);}else n.push({offset:q.offset-o,length:q.length,entity:q.entity});}return {before:{ranges:m,text:j.substr(0,o)},after:{ranges:n,text:j.substr(o)}};};e.exports=i;},null);
__d("TruncatedTextWithEntities.react",["React","TextWithEntities.react","SeeMore.react","findSplitPointForText","partitionTextAndRanges"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=g.createClass({displayName:"TruncatedTextWithEntities",render:function(){var m=this.props.text||'',n=this.props.ranges||[];m=m.replace(/\s*$/,'');var o=this.props.maxLines,p=this.props.maxLength;if(p&&m.length>p){var q=this.props.truncationPercent||.6;p=Math.floor(q*p);}var r=j(m,p,o);if(r!==null){while(m[r-1]==='\n')r--;var s=k(m,n,r);return (g.createElement("span",{"data-ft":this.props['data-ft'],dir:this.props.dir},g.createElement(i,{className:this.props.className},g.createElement(h,{interpolator:this.props.interpolator,ranges:s.before.ranges,aggregatedRanges:this.props.aggregatedRanges,text:s.before.text,renderEmoticons:this.props.renderEmoticons,renderEmoji:this.props.renderEmoji}),g.createElement(h,{interpolator:this.props.interpolator,ranges:s.after.ranges,aggregatedRanges:this.props.aggregatedRanges,text:s.after.text,renderEmoticons:this.props.renderEmoticons,renderEmoji:this.props.renderEmoji}))));}else return (g.createElement("span",{"data-ft":this.props['data-ft'],dir:this.props.dir},g.createElement(h,{className:this.props.className,interpolator:this.props.interpolator,ranges:n,imageRanges:this.props.imageRanges,aggregatedRanges:this.props.aggregatedRanges,text:m,renderEmoticons:this.props.renderEmoticons,renderEmoji:this.props.renderEmoji})));}});e.exports=l;},null);
__d("isRTL",["UnicodeBidi","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){return g.getDirection(j)===h.RTL;}e.exports=i;},null);
__d("HovercardLinkInterpolator",["HovercardLink","Link.react","React","URI","WWWBase","cx","fbt","isRTL"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();function o(p,q,r,s,t){var u=q.entity,v=r||(u.external?'_blank':null),w,x=((!u.external?"profileLink":'')+(u.weakreference?' '+"weakReference":'')),y,z=u.hashtag?p.substring(1):p;y=n(z)?'rtl':'ltr';if(u.hashtag){var aa=new j(u.url).setDomain(new j(k.uri).getDomain());w=i.createElement("a",{className:"_58cn",dir:y,href:aa.toString(),target:v},i.createElement("span",{"aria-label":m._("hashtag"),className:"_58cl"},p.substring(0,1)),i.createElement("span",{className:"_58cm"},p.substring(1)));}else if(u.weakreference){w=i.createElement(h,{className:x,dir:y,href:u,target:v},i.createElement("i",{className:"UFIWeakReferenceIcon"}),p);}else w=i.createElement(h,{className:x,dir:y,href:u,target:v},p);if(!u.external&&!u.hashtag&&!u.photo)w.props['data-hovercard']=g.constructEndpointWithGroupAndLocation(u,s,t).toString();return w;}e.exports=o;},null);
__d("URITruncator",["URI","fbt"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=3;function j(k,l){var m=h._("..."),n=m.length;if(!k||l===(void 0)||k.length<=l||l<=n||k.toString().length<=n)return k;if(!g.isValidURI(k))return k.substring(0,l-n)+m;var o=new g(k),p=o.getOrigin();if(p.length>l-n)return p.substring(0,l-n)+m;var q=false;if(!!o.getFragment()){q=true;o.setFragment('');if(o.toString().length<=l-n)return o.toString()+m;}var r=o.getQueryData();if(r){var s=Object.keys(r);if(s.length>0){q=true;for(var t=s.length-1;t>=0;t--){o.removeQueryData(s[t]);if(o.toString().length<=l-n)return o.toString()+m;}}}var u=o.getPath()+(q?m:''),v=u.split('/'),w=(p.length+u.length)-l,x=0;while(w>0&&v.length>x+1){var y=x+1,z=v[y];if(w+n+i<=z.length){var aa=z.length-1,ba=z.length-w-n,ca=/[a-zA-Z0-9]/;w+=n;while(w>0){while(aa>0&&ca.test(z[aa])){aa--;w--;}while(aa>0&&!ca.test(z[aa])){aa--;w--;}}if(aa===0)aa=ba-1;v[y]=z.substring(0,aa+1)+m;}else{x++;w-=z.length;if(x===1){w+=n;}else w--;}}if(x>0){if(v[v.length-1].length===0&&v.length===x+2)x++;v.splice(1,x,m);}var da=p+v.join('/');if(da.length>l)da=da.substring(0,l-n)+m;return da;}e.exports=j;},null);
__d("transformTextRanges",["UnicodeUtils"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=function(i,j,k){if(!i||!j||!k)return i;j.sort(function(r,s){return r.offset-s.offset;});var l=0;for(var m=0;m<j.length;m++){j[m].offset+=l;var n=g.substr(i,j[m].offset,j[m].length),o=g.strlen(n),p=k(n,j[m]),q=g.strlen(p);if(n!==p){i=g.substr(i,0,j[m].offset)+p+g.substr(i,j[m].offset+j[m].length);j[m].length=q;l+=q-o;}}return i;};e.exports=h;},null);
__d("UFICommentUtils.react",["HovercardLinkInterpolator","UFIConstants","URITruncator","copyProperties","transformTextRanges"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l={getCommentTextWithTruncatedURIs:function(m,n){if(h.commentURLTruncationLength)if(m&&m.length>0)n=k(n,m,function(o,p){return p.entity.external?i(o,h.commentURLTruncationLength):o;});return n;},getCommentBodyInterpolator:function(m){return function(n,o){return g(n,o,'_blank',m,'ufi');};},shallowCopyRanges:function(m){if(!m)return m;var n=[];m.forEach(function(o){n.push(j({},o));});return n;}};e.exports=l;},null);
__d("UFICommentBody.react",["Locale","React","TrackingNodes","TruncatedTextWithEntities.react","UnicodeBidi","UFICommentUtils.react","UFIConfig","UFIConstants","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();"use strict";var p=h,q=p.PropTypes,r=h.createClass({displayName:"UFICommentBody",propTypes:{commentText:q.string.isRequired,commentRanges:q.array,groupOrEventID:q.number,useWhitespacesRender:q.bool,maxLength:q.number,maxLines:q.number,socialContext:q.object},render:function(){var s=this.props,t=s.commentText,u=i.getTrackingInfo(i.types.USER_MESSAGE),v=k.isDirectionLTR(t),w=!v,x=v&&g.isRTL()?'ltr':w&&!g.isRTL()?'rtl':null,y=l.getCommentBodyInterpolator(s.groupOrEventID),z=h.createElement(j,{key:"comment-body",className:(("UFICommentBody")+(this.props.useWhitespacesRender?' '+"UFICommentBodyPreserveWhitespace":'')),interpolator:y,ranges:s.commentRanges,text:t,truncationPercent:n.commentTruncationPercent,maxLength:s.maxLength,maxLines:s.maxLines,renderEmoticons:m.renderEmoticons,renderEmoji:m.renderEmoji,"data-ft":u,dir:x});if(s.socialContext){z=h.createElement("div",{key:"body"},z);}else{var aa=((v&&g.isRTL()?"_5wjy":'')+(v&&g.isRTL()?' '+"_5wjz":'')+(w&&!g.isRTL()?' '+"_5wj-":'')+(w&&!g.isRTL()?' '+"_5wj_":''));z=aa?h.createElement("div",{key:"body",className:aa},z):[' ',z];}return h.createElement("span",null,z);}});e.exports=r;},null);
__d("XUIAbstractGlyphButton.react",["AbstractButton.react","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=h,l=k.PropTypes,m=h.createClass({displayName:"XUIAbstractGlyphButton",propTypes:{label:l.node},render:function(){return (h.createElement(g,h.__spread({},this.props,{className:j(this.props.className,"_5upp")})));}});e.exports=m;},null);
__d("XUICloseButton.react",["XUIAbstractGlyphButton.react","React","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=h,m=l.PropTypes,n=h.createClass({displayName:"XUICloseButton",propTypes:{shade:m.oneOf(['light','dark']),size:m.oneOf(['small','medium']),type:m.oneOf(['submit','button','reset'])},getDefaultProps:function(){return {size:'medium',shade:'dark',type:'button'};},render:function(){var o=this.props.size,p=this.props.shade,q=(("_50zy")+(o==='small'?' '+"_50zz":'')+(o==='medium'?' '+"_50-0":'')+(p==='light'?' '+"_50z_":'')+(p==='dark'?' '+"_50z-":'')),r=this.props.label,s=this.props.title;if(!this.props.title&&!this.props.tooltip){if(!r)r=j._("Remove");s=r;}return (h.createElement(g,h.__spread({},this.props,{label:r,title:s,type:this.props.href?null:this.props.type,"aria-label":this.props.tooltip,"data-hover":this.props.tooltip&&'tooltip',"data-tooltip-alignh":this.props.tooltip&&'center',className:k(this.props.className,q)})));}});e.exports=n;},null);
__d("XUIEditButton.react",["XUIAbstractGlyphButton.react","React","cx","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=h.createClass({displayName:"XUIEditButton",render:function(){var m=this.props.label,n=this.props.title;if(!this.props.title&&!this.props.tooltip){if(!m)m=j._("Edit");n=m;}return (h.createElement(g,h.__spread({},this.props,{label:m,title:n,"aria-label":this.props.tooltip,"data-hover":this.props.tooltip&&'tooltip',"data-tooltip-alignh":this.props.tooltip&&'center',className:k(this.props.className,"_5upq _5upr")})));}});e.exports=l;},null);
__d("UFICommentMenu.react",["Bootloader","React","XUICloseButton.react","XUIEditButton.react","keyMirror"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h,m=l.PropTypes,n,o,p,q,r=k({EDIT:true,CLOSE:true}),s=h.createClass({displayName:"UFICommentMenu",propTypes:{menuData:m.array,menuType:m.oneOf(Object.keys(r)).isRequired,onAction:m.func,onClick:m.func},getInitialState:function(){return {bootloading:false,bootloaded:false,needsExpand:false};},onClickGuard:function(event){if(this.state.bootloading){return;}else if(!this.state.bootloaded&&this.props.menuData){this.setState({bootloading:true});g.loadModules(["ContextualDialogArrow","PopoverMenu.react","ReactXUIMenu"],function(t,u,v){n=t,o=u;p=v;q=p.Item;this.setState({bootloading:false,bootloaded:true,needsExpand:true});}.bind(this));}else if(this.props.onClick)this.props.onClick(event);},shouldComponentUpdate:function(t,u,v){if(this.state.needsExpand&&!u.needsExpand)return false;return true;},render:function(){var t=null;if(this.props.menuType===r.EDIT){t=j;}else t=i;if(this.props.menuData&&this.state.bootloaded){var u=this.props.menuData.map(function(w){return (h.createElement(q,{value:w.value},w.label));}),v=h.createElement(p,{onItemClick:this.props.onAction},u);return (h.createElement(o,h.__spread({},this.props,{alignh:"right",layerBehaviors:[n],menu:v,ref:"menu"}),h.createElement(t,{href:"#",onClick:this.onClickGuard})));}return h.createElement(t,h.__spread({},this.props,{href:"#",onClick:this.onClickGuard}));},componentDidUpdate:function(){if(this.state.needsExpand){this.refs.menu.showPopover();this.setState({needsExpand:false});}}});s.MenuType=r;e.exports=s;},null);
__d("UFIComment.react",["Bootloader","HovercardLink","React","TrackingNodes","TextWithEntities.react","UFIClassNames","UFICommentActions.react","UFICommentAttachment.react","UFICommentAuthorName.react","UFICommentBody.react","UFICommentMenu.react","UFICommentUtils.react","UFIConfig","UFIConstants","UFIImageBlock.react","UFITranslationConstants","URI","XUICloseButton.react","cx","joinClasses","keyMirror","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba){b.__markCompiled&&b.__markCompiled();'use strict';var ca=i,da=ca.PropTypes,ea=t.UFIStatus,fa=aa({edit:true,hide:true,remove:true}),ga="UFITranslateLink",ha="UFITranslatedText",ia="UFITranslationErrorText",ja="UFITranslateAttribution",ka="fcg",la=null,ma=function(pa){var qa=pa.status;return qa===ea.FAILED_ADD||qa===ea.FAILED_EDIT;};function na(pa){return pa.commenterIsFOF!==undefined&&pa.userIsMinor!==undefined&&pa.reportLink!==undefined;}var oa=i.createClass({displayName:"UFIComment",propTypes:{authorProfiles:da.object.isRequired,comment:da.object.isRequired,contextArgs:da.object.isRequired,feedback:da.object.isRequired,'data-ft':da.string,focusOnMount:da.bool,hasPartialBorder:da.bool,hideAsSpamForPageAdmin:da.bool,isFeatured:da.bool,isFirst:da.bool,isFirstCommentComponent:da.bool,isFirstComponent:da.bool,isLast:da.bool,isLastCommentComponent:da.bool,isLastComponent:da.bool,isLocallyComposed:da.bool,isReply:da.bool,onBlingBoxClick:da.func,onCommentLikeToggle:da.func,onCommentReply:da.func,onCommentTranslate:da.func,onEdit:da.func,onHideAsSpam:da.func,onInlineBan:da.func,onMarkAsNotSpam:da.func,onPreviewRemove:da.func,onRemove:da.func,onRetrySubmit:da.func,onUndoInlineBan:da.func,permalink:da.string,shortenTimestamp:da.bool,showPermalink:da.bool,showRemoveReportMenu:da.bool,showReplyLink:da.bool,viewerIsAuthor:da.bool},getInitialState:function(){return {isHighlighting:this.props.comment.highlightcomment,wasHighlighted:this.props.comment.highlightcomment,markedAsSpamHere:false,isInlinePageDeleted:false,isInlineBanned:false};},_onHideAsSpam:function(event){this.props.onHideAsSpam(event);this.setState({markedAsSpamHere:true});},_onMarkAsNotSpam:function(event){this.props.onMarkAsNotSpam(event);this.setState({markedAsSpamHere:false});},_onDeleteSpam:function(event){this.props.onRemove(event,this);},_onInlineBan:function(event){this.props.onInlineBan(event);this.setState({isInlineBanned:true});},_onUndoInlineBan:function(event){this.props.onUndoInlineBan(event);this.setState({isInlineBanned:false});},_onAction:function(event,pa){var qa=pa.item,ra=qa.getValue();setTimeout(function(){if(ra===fa.remove){this.props.onRemove(event);}else if(ra===fa.edit){this.props.onEdit(event);}else if(ra===fa.hide)this._onHideAsSpam(event);}.bind(this),0);},_createRemoveReportMenuData:function(){return [{value:fa.remove,label:ba._("Delete Comment...")},{value:fa.hide,label:ba._("Hide Comment")}];},_createEditDeleteMenuData:function(){return [{value:fa.edit,label:ba._("Edit...")},{value:fa.remove,label:ba._("Delete...")}];},_renderCloseButton:function(){var pa=this.props.comment,qa=this.props.feedback,ra=null,sa=null,ta=null,ua=false;if(pa.canremove&&!this.props.hideAsSpamForPageAdmin){if(this.props.viewerIsAuthor){if(pa.canedit){ta=ba._("Edit or Delete");sa=this._createEditDeleteMenuData();ua=true;}else{ta=ba._("Remove");ra=this.props.onRemove;}}else if(qa.canremoveall)if(this.props.showRemoveReportMenu){ta=ba._("Remove or Report");sa=this._createRemoveReportMenuData();}else{ta=ba._("Remove");ra=this.props.onRemove;}}else if(pa.canreport){ta=ba._("Hide");ra=this._onHideAsSpam;}var va=(("UFICommentCloseButton")+(ra===null&&sa===null?' '+"hdn":'')),wa=null,xa=null;if(this.props.contextArgs.viewas){wa="/ajax/profile/link_disabled_in_viewas.php";xa="dialog";ra=null;}var ya=ua?q.MenuType.EDIT:q.MenuType.CLOSE;return (i.createElement(q,{ajaxify:wa,className:va,onClick:ra,rel:xa,tooltip:ta,menuData:sa,menuType:ya,onAction:this._onAction}));},_renderFakeCloseButton:function(){return (i.createElement(x,{className:"UFICommentCloseButtonFake",tabIndex:"-1"}));},componentDidMount:function(){if(this.state.isHighlighting){var pa=i.findDOMNode(this),qa=parseInt(this.props.comment.scrolltopoffset||0,10);g.loadModules(["UFIScrollHighlight"],function(ra){setTimeout(ra.actOn.bind(null,pa,qa),0);});this.setState({isHighlighting:false});}},shouldComponentUpdate:function(pa,qa){var ra=this.props,sa=this.state;return (pa.comment!==ra.comment||pa.showReplyLink!==ra.showReplyLink||pa.isFirst!==ra.isFirst||pa.isLast!==ra.isLast||pa.isFirstCommentComponent!==ra.isFirstCommentComponent||pa.isLastCommentComponent!==ra.isLastCommentComponent||pa.isFirstComponent!==ra.isFirstComponent||pa.isLastComponent!==ra.isLastComponent||pa.isFeatured!==ra.isFeatured||pa.hasPartialBorder!==ra.hasPartialBorder||qa.wasHighlighted!==sa.wasHighlighted||qa.isHighlighting!==sa.isHighlighting||qa.markedAsSpamHere!==sa.markedAsSpamHere||qa.isInlinePageDeleted!==sa.isInlinePageDeleted||qa.isInlineBanned!==sa.isInlineBanned);},render:function(){var pa=this.props.comment,qa=this.props.feedback,ra=pa.status===ea.DELETED,sa=pa.status===ea.LIVE_DELETED,ta=pa.status===ea.SPAM_DISPLAY,ua=this.state.markedAsSpamHere,va=this.state.isInlinePageDeleted,wa=this.props.hideAsSpamForPageAdmin,xa=this.state.isInlineBanned,ya=na(pa),za=!pa.status&&(pa.isunseen||pa.islocal);if(!pa.status&&qa.lastseentime){var ab=pa.originalTimestamp||pa.timestamp.time;za=za||ab>qa.lastseentime;}var bb=this.props.contextArgs.markedcomments;if(bb&&bb[pa.legacyid])za=true;var cb=((this.props.isFirst?"UFIFirstComment":'')+(this.props.isLast?' '+"UFILastComment":'')+(this.props.isFirstCommentComponent?' '+"UFIFirstCommentComponent":'')+(this.props.isLastCommentComponent?' '+"UFILastCommentComponent":'')+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''));if(ya)if(la){var db,eb=null,fb=null,gb=null;if(wa){fb=xa?this._onUndoInlineBan:this._onInlineBan;if(va){db=ba._("You've deleted this comment so no one can see it.");}else if(ua){db=ba._("Now this is only visible to the person who wrote it and their friends.");gb=this._onDeleteSpam;eb=this._onMarkAsNotSpam;}}else if(ua){db=ba._("This comment has been hidden.");gb=this._onDeleteSpam;eb=this._onMarkAsNotSpam;}if(db)return (i.createElement("li",{className:z(l.ROW,cb,"UFIHide")},i.createElement(la,{notice:db,comment:this.props.comment,authorProfiles:this.props.authorProfiles,onUndo:eb,onBanAction:fb,onDeleteAction:gb,isInlineBanned:xa,isInlinePageDeleted:va,hideAsSpamForPageAdmin:wa,pageID:this.props.feedback.ownerid})));}else g.loadModules(["UFICommentRemovalControls.react"],function(kb){la=kb;setTimeout(function(){this.forceUpdate();}.bind(this));}.bind(this));var hb=!ra,ib=z(l.ROW,cb,(("UFIComment")+(ma(pa)?' '+"UFICommentFailed":'')+(ra||sa||ta?' '+"UFITranslucentComment":'')+(this.state.isHighlighting?' '+"highlightComment":'')+(!hb?' '+"noDisplay":'')+(hb?' '+"display":'')+(' '+"UFIComponent")+(this.props.hasPartialBorder?' '+"UFIPartialBorder":''))),jb=this.renderComment();if(za)ib=z(ib,l.UNSEEN_ITEM);return (i.createElement("li",{className:ib,"data-ft":this.props['data-ft']},jb));},renderComment:function(){var pa=this.props,qa=pa.comment,ra=qa.body.text,sa=r.shallowCopyRanges(qa.body.ranges),ta=pa.permalink,ua=pa.feedback,va=pa.authorProfiles[qa.author],wa=qa.status===ea.SPAM_DISPLAY,xa=qa.status===ea.LIVE_DELETED,ya=!(wa||xa),za=ua.canremoveall||qa.hiddenbyviewer;ra=r.getCommentTextWithTruncatedURIs(sa,ra);var ab=null,bb=null;if(!pa.isLocallyComposed&&!this.state.wasHighlighted){bb=t.commentTruncationLength;ab=t.commentTruncationMaxLines;}var cb=j.getTrackingInfo(j.types.SMALL_ACTOR_PHOTO),db=j.getTrackingInfo(j.types.USER_MESSAGE),eb=null,fb=null,gb=null,hb=null;if(qa.istranslatable&&(qa.translatedbody===undefined))eb=i.createElement("a",{href:"#",role:"button",title:ba._("Translate this comment"),className:ga,onClick:pa.onCommentTranslate},ba._("See Translation"));if(qa.translatedbody!==undefined)if(qa.translatedbody!==null&&qa.translatedbody.text!==''){var ib=v.BING_PAGE_URL,jb=v.BING_TRANSLATOR_APP,kb=null;if(qa.translatorapp===jb){var lb=new w(ib).addQueryData({text:ra});kb=i.createElement("a",{href:lb.toString(),target:"_blank",className:ka},ba._("Translated by Bing"));}else kb=ba._("Automatically Translated");hb=i.createElement("span",{className:ja},kb);var mb=r.shallowCopyRanges(qa.translatedbody.ranges),nb=qa.translatedbody.text,ob=qa.translatedbody.dir,pb=i.createElement("span",{key:"comment-body","data-ft":db,dir:ob},i.createElement(k,{className:(("UFICommentBody")+(this.props.contextArgs.useWhitespacesRender?' '+"UFICommentBodyPreserveWhitespace":'')),interpolator:r.getCommentBodyInterpolator(pa.feedback.grouporeventid),ranges:mb,text:nb,renderEmoticons:s.renderEmoticons,renderEmoji:s.renderEmoji}));fb=i.createElement("span",{className:ha},pb);}else gb=i.createElement("span",{className:ia},ba._("No translation available"));var qb=i.createElement(p,{socialContext:qa.socialcontext,commentText:ra,commentRanges:sa,groupOrEventID:ua.grouporeventid,useWhitespacesRender:this.props.contextArgs.useWhitespacesRender,maxLength:bb,maxLines:ab}),rb=pa.contextArgs.viewas?null:h.constructEndpointWithGroupAndLocation(va,ua.grouporeventid,'ufi',qa.isauthorweakreference).toString(),sb=i.createElement(o,{author:va,authorProfiles:pa.authorProfiles,showHovercard:!!rb,isAuthorWeakReference:qa.isauthorweakreference,focusOnMount:pa.focusOnMount,groupOrEventID:ua.grouporeventid,isFeatured:pa.isFeatured,socialContext:qa.socialcontext}),tb=null;if(qa.photo_comment_status)tb=i.createElement("div",{className:"_50f8"},qa.photo_comment_status);var ub=null;if(qa.sticker_attachment_status)ub=i.createElement("div",{className:"_50f8"},qa.sticker_attachment_status);var vb=null;if(qa.status!==ea.DELETED)vb=i.createElement(n,{comment:pa.comment});return (i.createElement(u,{spacing:"medium"},i.createElement("a",{href:va.uri,"data-hovercard":rb,"data-ft":cb},i.createElement("img",{src:va.thumbSrc,className:l.ACTOR_IMAGE,alt:""})),i.createElement("div",{className:"UFICommentContentBlock"},i.createElement("div",{className:"UFICommentContent"},sb,qb,eb,fb,hb,gb,vb),tb,ub,i.createElement(m,{comment:qa,feedback:ua,onBlingBoxClick:pa.onBlingBoxClick,onCommentLikeToggle:pa.onCommentLikeToggle,onCommentReply:pa.onCommentReply,onPreviewRemove:pa.onPreviewRemove,onRetrySubmit:pa.onRetrySubmit,onMarkAsNotSpam:this._onMarkAsNotSpam,permalink:ta,viewerCanMarkNotSpam:za,shortenTimestamp:pa.shortenTimestamp,showPermalink:pa.showPermalink,showReplyLink:pa.showReplyLink,contextArgs:pa.contextArgs,markedAsSpamHere:this.state.markedAsSpamHere,hideAsSpamForPageAdmin:pa.hideAsSpamForPageAdmin}),ya?this._renderCloseButton():null),ya?this._renderFakeCloseButton():null));}});e.exports=oa;},null);
__d("UFIContainer.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g.createClass({displayName:"UFIContainer",render:function(){var j=null;if(this.props.hasNub)j=g.createElement("li",{className:"UFIArrow"},g.createElement("i",null));var k=((!this.props.isReplyList?"UFIList":'')+(this.props.isReplyList?' '+"UFIReplyList":'')+(this.props.isParentLiveDeleted?' '+"UFITranslucentReplyList":'')+(this.props.isFirstCommentComponent?' '+"UFIFirstCommentComponent":'')+(this.props.isLastCommentComponent?' '+"UFILastCommentComponent":'')+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''));return (g.createElement("ul",{className:k},j,this.props.children));}});e.exports=i;},null);
__d("UFILikeSentenceText.react",["ActorURI","HovercardLinkInterpolator","ProfileBrowserLink","ProfileBrowserTypes","React","TextWithEntities.react","URI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=k,o=n.PropTypes;function p(r,s,t,u){if(u.count!=null){var v=j.LIKES,w={id:r.targetfbid,actorid:r.actorid},x=[],y;for(var z=0;z<s.length;z++)if(!s[z].count){y=s[z];var aa=y.entity;x.push(aa.id);}var ba=new m('/ajax/like/tooltip.php').setQueryData({comment_fbid:r.targetfbid,comment_from:r.actorforpost,seen_user_fbids:x.length?x:true});ba=g.create(ba,r.actorforpost);return (k.createElement("a",{rel:"dialog",ajaxify:i.constructDialogURI(v,w).toString(),href:i.constructPageURI(v,w).toString(),"data-hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-uri":ba.toString(),role:"button"},t));}else return h(t,u,null,null,'ufi');}var q=k.createClass({displayName:"UFILikeSentenceText",propTypes:{contextArgs:o.object.isRequired,feedback:o.object.isRequired,likeSentenceData:o.object.isRequired},render:function(){var r=this.props.feedback,s=this.props.likeSentenceData,t;t=p;t=t.bind(null,r,s.ranges);return (k.createElement(l,{interpolator:t,ranges:s.ranges,aggregatedRanges:s.aggregatedranges,text:s.text}));}});e.exports=q;},null);
__d("UFILikeSentence.react",["Bootloader","LeftRight.react","ProfileBrowserLink","ProfileBrowserTypes","React","UFIClassNames","UFIImageBlock.react","UFILikeSentenceText.react","URI","cx","joinClasses","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s=k,t=s.PropTypes,u=k.createClass({displayName:"UFILikeSentence",propTypes:{contextArgs:t.object.isRequired,feedback:t.object.isRequired,isFirstComponent:t.bool,isLastComponent:t.bool,onOrderingModeChange:t.func,onTargetLikeToggle:t.func,orderingMode:t.string,showOrderingModeSelector:t.bool},getInitialState:function(){return {selectorModule:null,bootloadedSelectorModule:false};},componentWillMount:function(){this._bootloadSelectorModule(this.props);},componentWillReceiveProps:function(v){this._bootloadSelectorModule(v);},_bootloadSelectorModule:function(v){if(v.showOrderingModeSelector&&!this.state.bootloadedSelectorModule){var w=function(x){this.setState({selectorModule:x});}.bind(this);if(v.contextArgs.entstream){g.loadModules(["UFIEntStreamOrderingModeSelector.react"],w);}else g.loadModules(["UFIOrderingModeSelector.react"],w);this.setState({bootloadedSelectorModule:true});}},render:function(){var v=this.props.feedback,w=v.likesentences.current,x=this.props.contextArgs.entstream,y=q(l.ROW,v.likesentences.isunseen?l.UNSEEN_ITEM:'',(("UFILikeSentence")+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),z=null,aa=null;if(w.text)aa=k.createElement("div",{className:"UFILikeSentenceText"},k.createElement(n,{contextArgs:this.props.contextArgs,feedback:v,likeSentenceData:w}));var ba=this.props.contextArgs.ufiexperiments||{};if(aa&&!x&&!ba.showRevisedUFI){z=k.createElement("i",{className:"UFILikeIcon"});if(v.viewercanlike&&!v.hasviewerliked)z=k.createElement("a",{className:"UFILikeThumb",href:"#",tabIndex:"-1",title:r._("Like this"),onClick:this.props.onTargetLikeToggle,role:"button","aria-label":r._("Like this")},z);}var ca=aa,da=null;if(v.seencount>0&&!x){var ea=j.GROUP_MESSAGE_VIEWERS,fa={id:v.targetfbid},ga=i.constructDialogURI(ea,fa),ha=i.constructPageURI(ea,fa),ia=new o('/ajax/ufi/seen_tooltip.php').setQueryData({ft_ent_identifier:v.entidentifier,displayed_count:v.seencount}),ja;if(v.seenbyall){ja=r._("Seen by everyone");}else ja=v.seencount==1?r._("Seen by 1"):r._("Seen by {count}",[r.param("count",v.seencount)]);da=k.createElement("a",{rel:"dialog",ajaxify:ga.toString(),href:ha.toString(),"data-hover":"tooltip","data-tooltip-alignh":"left","data-tooltip-uri":ia.toString(),className:(("UFISeenCount")+(!!w.text?' '+"UFISeenCountRight":''))},k.createElement("span",{className:"UFISeenCountIcon"}),ja);}else if(this.props.showOrderingModeSelector&&this.state.selectorModule){var ka=this.state.selectorModule;da=k.createElement(ka,{currentOrderingMode:this.props.orderingMode,entstream:x,orderingmodes:v.orderingmodes,onOrderChanged:this.props.onOrderingModeChange});if(!ca)ca=k.createElement("div",null);}var la=null;if(z&&aa){la=k.createElement(m,null,z,aa,da);}else if(ca){la=k.createElement(h,{direction:h.DIRECTION.right},ca,da);}else la=da;return (k.createElement("li",{className:y},la));}});e.exports=u;},null);
__d("UFIPager.react",["LeftRight.react","React","UFIClassNames","UFIImageBlock.react","XUISpinner.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=h,o=n.PropTypes,p=h.createClass({displayName:"UFIPager",propTypes:{contextArgs:o.object.isRequired,pagerLabel:o.string.isRequired,'data-ft':o.string,countSentence:o.string,isFirstCommentComponent:o.bool,isFirstComponent:o.bool,isLastCommentComponent:o.bool,isLastComponent:o.bool,isLoading:o.bool,isUnseen:o.bool,onPagerClick:o.func},onPagerClick:function(q){!this.props.isLoading&&this.props.onPagerClick&&this.props.onPagerClick();q.nativeEvent.prevent();},render:function(){var q=this.onPagerClick,r=m(i.ROW,this.props.isUnseen?i.UNSEEN_ITEM:'',(("UFIPagerRow")+(' '+"UFIComponent")+(this.props.isFirstCommentComponent?' '+"UFIFirstCommentComponent":'')+(this.props.isLastCommentComponent?' '+"UFILastCommentComponent":'')+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),s=null;if(this.props.isLoading)s=h.createElement(k,{className:"mls",background:"light",size:"small"});var t=h.createElement("a",{className:"UFIPagerLink",onClick:q,href:"#",role:"button"},this.props.pagerLabel,s),u=(("fcg")+(' '+"UFIPagerCount")),v=h.createElement("span",{className:u},this.props.countSentence),w,x=this.props.contextArgs.ufiexperiments||{};if(this.props.contextArgs.entstream||x.showRevisedUFI){w=(h.createElement(g,{direction:g.DIRECTION.right},t,v));}else w=(h.createElement(j,null,h.createElement("a",{className:"UFIPagerIcon",onClick:q,href:"#",role:"button"}),t,v));return (h.createElement("li",{className:r,"data-ft":this.props['data-ft']},w));}});e.exports=p;},null);
__d("UFIPagerLabel",["fbt","intlList","NumberFormat"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={VIEW_ONE:'view_one',VIEW_ONE_MORE:'view_one_more',VIEW_ALL:'view_all',VIEW_MORE_EXPLICIT:'view_more_explicit',VIEW_MORE:'view_more',VIEW_PREVIOUS:'view_previous',_getReplyLabel:function(k,l){var m;switch(k){case j.VIEW_ONE:return g._("View 1 reply");case j.VIEW_ONE_MORE:return g._("View 1 more reply");case j.VIEW_ALL:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View all {count} replies"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE_EXPLICIT:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View {count} more replies"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE:return g._("View more replies");case j.VIEW_PREVIOUS:return g._("View previous replies");default:return null;}},_getCommentLabel:function(k,l){if(l.commenters)return this._getCommentLabelWithCommentSentence(k,l);var m;switch(k){case j.VIEW_ONE:return g._("View 1 comment");case j.VIEW_ONE_MORE:return g._("View 1 more comment");case j.VIEW_ALL:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View all {count} comments"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE_EXPLICIT:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View {count} more comments"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE:return g._("View more comments");case j.VIEW_PREVIOUS:return g._("View previous comments");default:return null;}},_getCommentLabelWithCommentSentence:function(k,l){var m=h(l.commenters),n=l.othersCount,o=i.formatIntegerWithDelimiter(n,l.delimiter),p=i.formatIntegerWithDelimiter(l.count,l.delimiter);switch(k){case j.VIEW_ONE:return g._("View 1 comment from {names}",[g.param("names",m)]);case j.VIEW_ONE_MORE:return g._("View 1 more comment from {names}",[g.param("names",m)]);case j.VIEW_ALL:switch(n){case 0:return g._({"*":"View all {count} comments from {names}"},[g.param("count",p,[0,l.count]),g.param("names",m)]);case 1:return g._({"*":"View all {count} comments from {names} and 1 other person"},[g.param("count",p,[0,l.count]),g.param("names",m)]);default:return g._({"*":{"*":"View all {count} comments from {names} and {othersCount} others"}},[g.param("count",p,[0,l.count]),g.param("names",m),g.param("othersCount",o,[0,n])]);}break;case j.VIEW_MORE_EXPLICIT:case j.VIEW_MORE:switch(n){case 0:return g._("View more comments from {names}",[g.param("names",m)]);case 1:return g._("View more comments from {names} and 1 other person",[g.param("names",m)]);default:return g._({"*":"View more comments from {names} and {othersCount} others"},[g.param("names",m),g.param("othersCount",o,[0,n])]);}break;case j.VIEW_PREVIOUS:switch(n){case 0:return g._("View previous comments from {names}",[g.param("names",m)]);case 1:return g._("View previous comments from {names} and 1 other person",[g.param("names",m)]);default:return g._({"*":"View previous comments from {names} and {othersCount} others"},[g.param("names",m),g.param("othersCount",o,[0,n])]);}break;default:return null;}},_getQuestionLabel:function(k,l){var m;switch(k){case j.VIEW_ONE:return g._("View 1 question");case j.VIEW_ONE_MORE:return g._("View 1 more question");case j.VIEW_ALL:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View all {count} questions"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE_EXPLICIT:m=i.formatIntegerWithDelimiter(l.count,l.delimiter);return g._({"*":"View {count} more questions"},[g.param("count",m,[0,l.count])]);case j.VIEW_MORE:return g._("View more questions");case j.VIEW_PREVIOUS:return g._("View previous questions");default:return null;}},getLabel:function(k,l,m,n){if(l){return j._getReplyLabel(k,n);}else if(m){return j._getQuestionLabel(k,n);}else return j._getCommentLabel(k,n);}};e.exports=j;},null);
__d("UFIReplySocialSentence.react",["Badge.react","LiveTimer","React","Timestamp.react","UFIClassNames","UFIConstants","UFIImageBlock.react","cx","joinClasses","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=i,r=q.PropTypes,s=' \u00b7 ',t=43200,u=i.createClass({displayName:"UFIReplySocialSentence",propTypes:{author:r.object,'data-ft':r.string,isExpanded:r.bool,isFirstComponent:r.bool,isLastComponent:r.bool,isLoading:r.bool,onClick:r.func,orderingMode:r.string,replies:r.number,shortenTimestamp:r.bool,showVerified:r.bool,timestamp:r.object},render:function(){var v=((this.props.isLoading?"UFIReplySocialSentenceLoading":'')),w=o(k.ROW,(("UFIReplySocialSentenceRow")+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),x,y;if(this.props.isExpanded){x=this.props.replies>1?p._({"*":"Hide {count} Replies"},[p.param("count",this.props.replies,[0])]):p._("Hide 1 Reply");}else{x=this.props.replies>1?p._({"*":"{count} Replies"},[p.param("count",this.props.replies,[0])]):p._("1 Reply");if(this.props.timestamp){var z=h.getApproximateServerTime()/1000-this.props.timestamp.time;if(z<t||this.props.orderingMode==l.UFICommentOrderingMode.RECENT_ACTIVITY)y=i.createElement("span",{className:"fcg"},s,i.createElement(j,{shorten:this.props.shortenTimestamp,time:this.props.timestamp.time,text:this.props.timestamp.text,verbose:this.props.timestamp.verbose}));}}var aa=this.props.author,ba=aa&&!this.props.isExpanded,ca=null,da;if(ba){ca=i.createElement("img",{alt:"",src:aa.thumbSrc,className:k.ACTOR_IMAGE});var ea=null;if(this.props.showVerified)ea=i.createElement(g,{size:"xsmall",type:"verified"});da=[p._("{author}{verified_badge} replied",[p.param("author",aa.name),p.param("verified_badge",ea)]),s,x];}else da=x;var fa=null,ga=false;if(!ba||this.props.contextArgs.feedcarded){if(ba)ga=true;fa=i.createElement("i",{className:((!this.props.isExpanded?"UFIPagerIcon":'')+(this.props.isExpanded?' '+"UFICollapseIcon":'')+(ga?' '+"UFIFeedCardedIconWithActor":''))});}return (i.createElement("li",{className:w,"data-ft":this.props['data-ft']},i.createElement("a",{className:"UFICommentLink",onClick:this.props.onClick,href:"#",role:"button"},i.createElement(m,null,i.createElement("div",{className:((ba?"UFIReplyActorPhotoWrapper":'')+(ga?' '+"UFIFeedCardedReplyActor":''))},fa,ca),i.createElement("span",{className:v},i.createElement("span",{className:(("UFIReplySocialSentenceLinkText")+(this.props.showVerified?' '+"UFIReplySocialSentenceVerified":''))},da),y)))));}});e.exports=u;},null);
__d("UFIShareRow.react",["NumberFormat","React","UFIClassNames","UFIImageBlock.react","URI","cx","joinClasses","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=h,p=o.PropTypes,q=h.createClass({displayName:"UFIShareRow",propTypes:{contextArgs:p.object.isRequired,shareCount:p.number.isRequired,targetID:p.any.isRequired,isFirstComponent:p.bool,isLastComponent:p.bool},render:function(){var r=new k('/ajax/shares/view').setQueryData({target_fbid:this.props.targetID}),s=new k('/shares/view').setSubdomain('www').setQueryData({id:this.props.targetID}),t;if(this.props.shareCount>1){var u=g.formatIntegerWithDelimiter(this.props.shareCount,this.props.contextArgs.numberdelimiter||',');t=n._({"*":"{count} shares"},[n.param("count",u,[0,this.props.shareCount])]);}else t=n._("1 share");var v=m(i.ROW,(("UFIShareRow")+(this.props.isFirstComponent?' '+"UFIFirstComponent":'')+(this.props.isLastComponent?' '+"UFILastComponent":''))),w=h.createElement("a",{className:"UFIShareLink",rel:"dialog",ajaxify:r.toString(),href:s.toString()},t),x=h.createElement(j,null,h.createElement("a",{className:"UFIShareIcon",rel:"dialog",ajaxify:r.toString(),href:s.toString()}),w),y=this.props.contextArgs.ufiexperiments||{};return (h.createElement("li",{className:v},y.showRevisedUFI?w:x));}});e.exports=q;},null);
__d("UFISpamPlaceholder.react",["React","UFIClassNames","XUISpinner.react","fbt"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"UFISpamPlaceholder",propTypes:{numHidden:l.number.isRequired,isLoading:l.bool,onClick:l.func},render:function(){if(this.props.isLoading)return (g.createElement("li",{className:h.ROW},g.createElement("span",{className:"UFISpamCommentWrapper"},g.createElement(i,{className:"mls",background:"light",size:"small"}))));return (g.createElement("li",{className:h.ROW},g.createElement("a",{href:"#",role:"button",className:"UFISpamCommentLink",onClick:this.props.onClick,"aria-label":j._("Show comments marked as spam")},g.createElement("span",{"data-hover":"tooltip","data-tooltip-alignh":"center","aria-label":j._({"*":"{count} hidden"},[j.param("count",this.props.numHidden,[0])]),className:"UFISpamCommentWrapper"},g.createElement("i",{className:"placeholderIcon"})))));}});e.exports=m;},null);
__d("DateConsts",["fbt"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=1000,i=60,j=60,k=24,l=7,m=365.242,n=12,o=i*j,p=o*k,q=p*m,r=h*p,s=h*p*l,t=h*p*m,u={SUNDAY:0,MONDAY:1,TUESDAY:2,WEDNESDAY:3,THURSDAY:4,FRIDAY:5,SATURDAY:6};Object.freeze(u);var v=g._("Day:"),w=g._("Month:"),x=g._("Year:"),y=g._("dd"),z=g._("mm"),aa=g._("yyyy"),ba=[g._("Sun"),g._("Mon"),g._("Tues"),g._("Wed"),g._("Thurs"),g._("Fri"),g._("Sat")],ca=[g._("Sunday"),g._("Monday"),g._("Tuesday"),g._("Wednesday"),g._("Thursday"),g._("Friday"),g._("Saturday")],da=[g._("Jan"),g._("Feb"),g._("Mar"),g._("Apr"),g._("May"),g._("Jun"),g._("Jul"),g._("Aug"),g._("Sept"),g._("Oct"),g._("Nov"),g._("Dec")],ea=[g._("January"),g._("February"),g._("March"),g._("April"),g._("May"),g._("June"),g._("July"),g._("August"),g._("September"),g._("October"),g._("November"),g._("December")],fa=['',g._("st"),g._("nd"),g._("rd"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("st"),g._("nd"),g._("rd"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("th"),g._("st")],ga={getWeekdayName:function(ha){return ca[ha];},getWeekdayNameShort:function(ha){return ba[ha];},getMonthName:function(ha){return ea[ha-1];},getMonthNameShort:function(ha){return da[ha-1];},getOrdinalSuffix:function(ha){return fa[ha];},getDaysInMonth:function(ha,ia){return (new Date(ha,ia,0)).getDate();},getCurrentTimeInSeconds:function(){return Date.now()/h;},DAYS_PER_YEAR:m,DAYS_PER_WEEK:l,HOUR_PER_DAY:k,MIN_PER_HOUR:j,MONTHS_PER_YEAR:n,MS_PER_SEC:h,MS_PER_DAY:r,MS_PER_WEEK:s,MS_PER_YEAR:t,SEC_PER_MIN:i,SEC_PER_HOUR:o,SEC_PER_DAY:p,SEC_PER_YEAR:q,DAY_LABEL:v,MONTH_LABEL:w,YEAR_LABEL:x,DATE_PLACEHOLDER:y,MONTH_PLACEHOLDER:z,YEAR_PLACEHOLDER:aa,DAYS:u};e.exports=ga;},null);
__d("formatDate",["DateConsts","DateFormatConfig","fbt","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(o,p,q){q=q||{};if(!p||!o)return '';if(typeof o==='string')o=parseInt(o,10);if(typeof o==='number')o=new Date(o*1000);j(o instanceof Date);j(!isNaN(o.getTime()));j(o.getTime()<1e+15);if(typeof p!=='string'){var r=m();for(var s in r){var t=r[s];if(t.start<=o.getTime()&&p[t.name]){p=p[t.name];break;}}}var u;if(q.skipPatternLocalization||(!q.formatInternal&&n())||p.length===1){u=p;}else{j(h.formats[p]);u=h.formats[p];}var v=q.utc?'getUTC':'get',w=o[v+'Date'](),x=o[v+'Day'](),y=o[v+'Month'](),z=o[v+'FullYear'](),aa=o[v+'Hours'](),ba=o[v+'Minutes'](),ca=o[v+'Seconds'](),da=o[v+'Milliseconds'](),ea='';for(var fa=0;fa<u.length;fa++){var ga=u.charAt(fa);switch(ga){case '\\':fa++;ea+=u.charAt(fa);break;case 'd':ea+=l(w,2);break;case 'j':ea+=w;break;case 'S':ea+=g.getOrdinalSuffix(w);break;case 'D':ea+=g.getWeekdayNameShort(x);break;case 'l':ea+=g.getWeekdayName(x);break;case 'F':case 'f':ea+=g.getMonthName(y+1);break;case 'M':ea+=g.getMonthNameShort(y+1);break;case 'm':ea+=l(y+1,2);break;case 'n':ea+=y+1;break;case 'Y':ea+=z;break;case 'y':ea+=(''+z).slice(2);break;case 'a':if(aa<12){ea+=i._("am");}else ea+=i._("pm");break;case 'A':if(aa<12){ea+=i._("AM");}else ea+=i._("PM");break;case 'g':ea+=(aa===0||aa===12)?12:aa%12;break;case 'G':ea+=aa;break;case 'h':if(aa===0||aa===12){ea+=12;}else ea+=l(aa%12,2);break;case 'H':ea+=l(aa,2);break;case 'i':ea+=l(ba,2);break;case 's':ea+=l(ca,2);break;case 'X':ea+=l(da,3);break;default:ea+=ga;}}return ea;}function l(o,p){return Array(p-(''+o).length+1).join('0')+o;}function m(){var o=new Date(),p=o.getTime(),q=o.getFullYear(),r=o.getDate()-((o.getDay()-h.weekStart+6)%7),s=new Date(q,o.getMonth()+1,0).getDate(),t=new Date(q,1,29).getMonth()===1?366:365,u=1000*60*60*24;return [{name:'today',start:o.setHours(0,0,0,0)},{name:'withinDay',start:p-u},{name:'thisWeek',start:new Date(o.getTime()).setDate(r)},{name:'withinWeek',start:p-u*7},{name:'thisMonth',start:o.setDate(1)},{name:'withinMonth',start:p-u*s},{name:'thisYear',start:o.setMonth(0)},{name:'withinYear',start:p-u*t},{name:'older',start:-Infinity}];}k.periodNames=['today','thisWeek','thisMonth','thisYear','withinDay','withinWeek','withinMonth','withinYear','older'];function n(){if(typeof window==='undefined'||!window||!window.location||!window.location.pathname)return false;var o=window.location.pathname,p='/intern';return o.substr(0,p.length)===p;}e.exports=k;},null);
__d("Date.react",["React","formatDate"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.PropTypes,k=g.createClass({displayName:"ReactDate",getDefaultProps:function(){return {options:{}};},propTypes:{date:j.oneOfType([j.number,j.instanceOf(Date)]).isRequired,format:j.oneOfType([j.object,j.string]).isRequired,options:j.object},render:function(){return (g.createElement("span",null,h(this.props.date,this.props.format,this.props.options)));}});e.exports=k;},null);
__d("UFITopicConversationComment.react",["HovercardLink","React","TrackingNodes","UFIConstants","UFICommentAttachment.react","UFICommentAuthorName.react","UFICommentBody.react","UFICommentUtils.react","UFIImageBlock.react","Date.react","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();"use strict";var s=h,t=s.PropTypes,u=j.UFIStatus,v=function(x){return x.status===u.FAILED_ADD;},w=h.createClass({displayName:"UFITopicConversationComment",propTypes:{authorProfiles:t.object.isRequired,comment:t.object.isRequired,contextArgs:t.object.isRequired,feedback:t.object.isRequired,focusOnMount:t.bool,isFirst:t.bool,isLast:t.bool,isLocallyComposed:t.bool,viewerIsAuthor:t.bool},shouldComponentUpdate:function(x,y){var z=this.props;return (x.comment!==z.comment||x.isFirst!==z.isFirst||x.isLast!==z.isLast);},render:function(){var x=this.props.comment,y=r(((v(x)?"UFICommentFailed":'')+(' '+"_3lw8"))),z=this.renderComment();return (h.createElement("li",{className:y},z));},renderComment:function(){var x=this.props,y=x.feedback,z=x.comment,aa=z.body.text,ba=n.shallowCopyRanges(z.body.ranges),ca=x.authorProfiles[z.author];aa=n.getCommentTextWithTruncatedURIs(ba,aa);var da=i.getTrackingInfo(i.types.SMALL_ACTOR_PHOTO),ea=h.createElement(m,{socialContext:z.socialcontext,commentText:aa,commentRanges:ba,groupOrEventID:y.grouporeventid,useWhitespacesRender:this.props.contextArgs.useWhitespacesRender,maxLength:1000,maxLines:10}),fa=x.contextArgs.viewas?null:g.constructEndpointWithGroupAndLocation(ca,y.grouporeventid,'ufi',z.isauthorweakreference).toString(),ga=h.createElement(l,{author:ca,authorProfiles:x.authorProfiles,showHovercard:!!fa,isAuthorWeakReference:z.isauthorweakreference,focusOnMount:x.focusOnMount,groupOrEventID:y.grouporeventid,isFeatured:x.isFeatured,socialContext:z.socialcontext,useFirstName:ca.type==='friend'}),ha=null;if(z.photo_comment_status)ha=h.createElement("div",{className:"_50f8"},z.photo_comment_status);var ia=null;if(z.sticker_attachment_status)ia=h.createElement("div",{className:"_50f8"},z.sticker_attachment_status);return (h.createElement(o,{spacing:"medium"},h.createElement("a",{href:ca.uri,"data-hovercard":fa,"data-ft":da},h.createElement("img",{src:ca.thumbSrc,className:"_3mnu",alt:""})),h.createElement("div",{className:"UFICommentContentBlock"},h.createElement("div",{className:"UFICommentContent"},h.createElement("div",null,ga),h.createElement("span",null,h.createElement("span",null,h.createElement("div",{className:"_50q4"},ea),h.createElement(k,{comment:x.comment})))),ia,h.createElement("div",{className:"_3lw9"},h.createElement(p,{date:new Date(z.timestamp.time*1000),format:{today:'g:ia',thisYear:'m\/d',older:'m\/d\/y'}})))));}});e.exports=w;},null);
__d("UFI.react",["DOMScroll","Event","LogHistory","NumberFormat","React","ReactFragment","ScrollableArea.react","ScrollAwareDOM","SearchableEntry","TrackingNodes","UFIAddCommentController","UFIAddCommentLink.react","UFIComment.react","UFIConstants","UFIContainer.react","UFIInstanceState","UFILikeSentence.react","UFIPager.react","UFIPagerLabel","UFIReplySocialSentence.react","UFIShareRow.react","UFISpamPlaceholder.react","UFITopicConversationComment.react","URI","Vector","copyProperties","getUnboundedScrollPosition","isEmpty","throttle","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja){b.__markCompiled&&b.__markCompiled();"use strict";var ka={TOP:'top',BOTTOM:'bottom',ALL:'all'},la=k.createClass({displayName:"UFI",getInitialState:function(){return {repliesExpandedMap:{},loadingSpamIDs:{},isActiveLoading:{},commentIDToFocusOnMount:null,replyComposerIDToFocusOnMount:null,hasPagedToplevel:false};},componentDidMount:function(){this.suppressScrolls=0;this.scrollSubscription=n.subscribe('scroll',function(){if(this.suppressScrolls>0){this.suppressScrolls--;return false;}return true;}.bind(this));if(this.props.feedback.isqanda&&this.props.feedback.infinitescroll){var ma=ia(this.loadMoreComments,20);this._scrollEventListener=h.listen(window,'scroll',ma);this._resizeEventListener=h.listen(window,'resize',ma);}},componentWillUnmount:function(){if(this.scrollSubscription){n.unsubscribe(this.scrollSubscription);this.scrollSubscription=null;}if(this._scrollEventListener)this._scrollEventListener.remove();if(this._resizeEventListener)this._resizeEventListener.remove();},componentWillReceiveProps:function(ma){var na=fa({},this.state.isActiveLoading),oa;for(oa in this.state.isActiveLoading){var pa=this.props.ranges[this.props.id],qa=ma.ranges[this.props.id];if(pa.getOffset()!=qa.getOffset()||pa.getLength()!=qa.getLength()){var ra=(qa.getOffset()<pa.getOffset())?0:pa.getLength();if(ra<ma.availableComments.length)this.setState({commentIDToFocusOnMount:ma.availableComments[ra].id});}delete na[oa];}this.setState({isActiveLoading:na});},componentDidUpdate:function(ma,na,oa){var pa=this.state.replyComposerIDToFocusOnMount;if(this.refs&&pa in this.refs){this.refs[pa].focus();this.setState({replyComposerIDToFocusOnMount:null});}},componentWillUpdate:function(ma,na,oa){var pa,qa;for(pa in this.state.isActiveLoading){qa=this.state.isActiveLoading[pa];if(qa!==ka.TOP)this.suppressScrolls++;}},render:function(){var ma=this.props,na=ma.feedback,oa=ma.contextArgs,pa=ma.source!=t.UFIFeedbackSourceType.ADS,qa=!ma.hideOrderingModeSelector&&na.orderingmodes&&ma.commentCounts[ma.id]>=t.minCommentsForOrderingModeSelector,ra=(!ha(na.likesentences.current)||(na.seencount>0&&!oa.entstream)||qa)&&oa.search!==true&&pa,sa=null;if(ra)sa=k.createElement(w,{contextArgs:oa,feedback:na,onTargetLikeToggle:ma.onTargetLikeToggle,onOrderingModeChange:ma.onOrderingModeChange,orderingMode:ma.orderingMode,showOrderingModeSelector:qa});var ta=ma.availableComments&&ma.availableComments.length&&pa,ua=null;if(ta)ua=this.renderCommentMap(ma.availableComments,ma.ranges[ma.id].getOffset());var va=null,wa=na.cancomment,xa=wa&&oa.showaddcomment&&na.actorforpost&&ma.canAddCommentMap[ma.id];if(xa){oa.orderingmodes=na.orderingmodes;var ya=new q(null,ma.id,null,oa),za=ma.authorProfiles[na.actorforpost];va=ya.renderAddComment(za,na.ownerid,na.mentionsdatasource,na.showsendonentertip,'toplevelcomposer',null,na.subtitle,na.allowphotoattachments,na.allowstickerattachments,na.isqanda);}var ab=null,bb=oa.showshares&&na.sharecount&&pa;if(bb&&!oa.entstream)ab=k.createElement(aa,{targetID:na.targetfbid,shareCount:na.sharecount,contextArgs:oa});var cb=ra||bb||ta||wa,db=this.renderPagers(ma.id,ma.ranges[ma.id].getOffset(),ma.ranges[ma.id].getLength());this.applyToUFIComponents([db.topPager],ua,[db.bottomPager],{isFirstCommentComponent:true},{isLastCommentComponent:true});var eb=na.isranked?va:null,fb=na.isranked?null:va,gb=null;if(xa&&na.isranked&&this.state.hasPagedToplevel)gb=k.createElement(r,{onClick:this.onComment,isQAndA:na.isqanda});this.applyToUFIComponents([sa,ab,eb,db.topPager],ua,[db.bottomPager,fb,gb],{isFirstComponent:true},{isLastComponent:true});var hb=[db.topPager,ua&&l.create(ua),db.bottomPager];if(oa.scrollcomments&&oa.scrollwidth)hb=k.createElement("li",null,k.createElement(m,{width:oa.scrollwidth},k.createElement("ul",null,hb)));return (k.createElement(u,{hasNub:oa.shownub&&cb},sa,ab,eb,hb,fb,gb));},applyToUFIComponents:function(ma,na,oa,pa,qa){var ra=Object.keys(na||{}).map(function(ta){return na[ta];}).filter(function(ta){return (ta&&ta.props.comment&&this._shouldRenderComment(ta.props.comment));}.bind(this)),sa=[].concat(ma,ra,oa);this._applyToFirstComponent(sa,pa);sa.reverse();this._applyToFirstComponent(sa,qa);},_shouldRenderComment:function(ma){return ma.status!==t.UFIStatus.DELETED;},_applyToFirstComponent:function(ma,na){for(var oa=0;oa<(ma||[]).length;oa++)if(ma[oa]){fa(ma[oa].props,na);return;}},renderCommentMap:function(ma,na){var oa=this.props,pa={},qa=ma.length;if(!qa)return pa;var ra=ma[0].parentcommentid,sa=[],ta=function(){if(sa.length>0){var fb=function(gb,hb){this.state.loadingSpamIDs[gb[0]]=true;this.forceUpdate();oa.onSpamFetch(gb,hb);}.bind(this,sa,ra);pa['spam'+sa[0]]=k.createElement(ba,{onClick:fb,numHidden:sa.length,isLoading:!!this.state.loadingSpamIDs[sa[0]]});sa=[];}}.bind(this),ua=oa.instanceid,va=v.getKeyForInstance(ua,'editcommentid'),wa=!!ma[0].parentcommentid;for(var xa=0;xa<qa;xa++)if(ma[xa].status==t.UFIStatus.SPAM){sa.push(ma[xa].id);}else{ta();var ya=Math.max(oa.loggingOffset-xa-na,0),za=ma[xa],ab;if(za.id==va){ab=this.renderEditCommentBox(za);}else{var bb=xa===0,cb=xa===qa-1,db=!wa,eb=wa&&!bb;ab=this.renderComment(za,ya,bb,cb,db,eb);}pa['comment'+za.id]=ab;if(za.status!==t.UFIStatus.DELETED)pa['replies'+za.id]=this.renderReplyContainer(za);}ta();return pa;},renderReplyContainer:function(ma){var na=this.props,oa=na.commentCounts[ma.id],pa=this.state.repliesExpandedMap[ma.id],qa=!pa&&ma.interestingReplyId,ra,sa;if(pa||ma.interestingReplyId){ra=na.repliesMap[ma.id];sa=na.ranges[ma.id].getOffset();if(qa){var ta=ra.filter(function(lb){return lb.id===ma.interestingReplyId;});if(ta.length!==1){i.getInstance('ufi').error('comment '+ma.id+' claims to have an interesting reply, '+'but there is not exactly 1 comment with that id in the reply '+'list.');ra=null;}else{ra=ta;sa=ma.interestingReplyOffset;}}}var ua,va,wa;if(ra){var xa=na.ranges[ma.id].getOffset(),ya=na.ranges[ma.id].getLength();if(qa){xa=sa;ya=1;}var za=this.renderPagers(ma.id,xa,ya);ua=za.topPager;va=za.bottomPager;wa=this.renderCommentMap(ra,sa);}var ab=Math.max(oa-ma.spamreplycount,0),bb;if(ab&&((pa&&ab>this.props.replySocialSentenceMaxReplies)||(!pa&&!ra))){var cb=pa&&(this.isLoadingPrev(ma.id)||this.isLoadingNext(ma.id)),db=null;if(ma.replyauthors&&ma.replyauthors.length)db=na.authorProfiles[ma.replyauthors[0]];bb=k.createElement(z,{contextArgs:na.contextArgs,author:db,replies:ab,shortenTimestamp:na.shortenTimestamp,timestamp:ma.recentreplytimestamp,onClick:this.onToggleReplies.bind(this,ma.id),isLoading:cb,isExpanded:pa,showVerified:this.props.feedback.showfeaturedreplies,orderingMode:this.props.orderingMode});}var eb;if(pa)if(ma.cancomment&&na.canAddCommentMap[ma.id]){var fb=false,gb=Object.keys(wa);for(var hb=gb.length-1;hb>=0;hb--){var ib=gb[hb];if(ib&&wa[ib]){fb=wa[ib].props.isAuthorReply;break;}}eb=this.renderReplyComposer(ma,!fb);}var jb;if(bb||ua||wa||va||eb){this.applyToUFIComponents([bb,ua],wa,[va,eb],{isFirstComponent:true},{isLastComponent:true});var kb=ma.status===t.UFIStatus.LIVE_DELETED;jb=k.createElement(u,{isParentLiveDeleted:kb,isReplyList:true},bb,ua,wa&&l.create(wa),va,eb);}return jb;},renderReplyComposer:function(ma,na){var oa=this.props;return (new q(null,oa.id,ma.id,oa.contextArgs)).renderAddComment(oa.authorProfiles[oa.feedback.actorforpost],oa.feedback.ownerid,oa.feedback.mentionsdatasource,false,'replycomposer-'+ma.id,na,oa.feedback.subtitle,oa.feedback.allowphotoattachments,oa.feedback.allowstickerattachments,oa.feedback.isqanda);},renderEditCommentBox:function(ma){var na=new q(null,this.props.id,null,{mentionsinput:this.props.contextArgs.mentionsinput}),oa=na.renderEditComment(this.props.authorProfiles[this.props.feedback.actorforpost],this.props.feedback.ownerid,ma.id,this.props.feedback.mentionsdatasource,this.props.onEditAttempt.bind(null,ma),this.props.onCancelEdit,this.props.feedback.allowphotoattachments,this.props.feedback.allowstickerattachments,this.props.feedback.isqanda);return oa;},renderComment:function(ma,na,oa,pa,qa,ra){var sa=this.props,ta=sa.feedback,ua=ta.actorforpost===ma.author,va=v.getKeyForInstance(this.props.instanceid,'locallycomposed'),wa=ma.islocal||va&&va[ma.id],xa=ta.showremovemenu||(ta.viewerid===ma.author),ya=ta.canremoveall&&ta.isownerpage&&!ua,za=sa.source!=t.UFIFeedbackSourceType.INTERN,ab=p.getTrackingInfo(p.types.COMMENT,na),bb=!!ma.parentcommentid,cb=!!ma.isfeatured;switch(this.props.source){case t.UFIFeedbackSourceType.TOPIC_CONVERSATION:return (k.createElement(ca,{isFirst:oa,isLast:pa,comment:ma,authorProfiles:this.props.authorProfiles,viewerIsAuthor:ua,feedback:ta,contextArgs:this.props.contextArgs,focusOnMount:ma.id===this.state.commentIDToFocusOnMount,isLocallyComposed:wa}));default:var db=da(sa.commentPermalinks[ma.id]).addQueryData({comment_tracking:ab}).toString();return (k.createElement(s,{isFirst:oa,isLast:pa,showReplyLink:qa,hasPartialBorder:ra,comment:ma,authorProfiles:this.props.authorProfiles,viewerIsAuthor:ua,feedback:ta,"data-ft":ab,contextArgs:this.props.contextArgs,hideAsSpamForPageAdmin:ya,isLocallyComposed:wa,isReply:bb,isFeatured:cb,permalink:db,shortenTimestamp:sa.shortenTimestamp,showPermalink:za,showRemoveReportMenu:xa,focusOnMount:ma.id===this.state.commentIDToFocusOnMount,onCommentLikeToggle:sa.onCommentLikeToggle.bind(null,ma),onCommentReply:this.onCommentReply.bind(this,ma),onCommentTranslate:sa.onCommentTranslate.bind(null,ma),onEdit:sa.onCommentEdit.bind(null,ma),onHideAsSpam:sa.onCommentHideAsSpam.bind(null,ma),onInlineBan:sa.onCommentInlineBan.bind(null,ma),onMarkAsNotSpam:sa.onCommentMarkAsNotSpam.bind(null,ma),onPreviewRemove:sa.onPreviewRemove.bind(null,ma),onRemove:sa.onCommentRemove.bind(null,ma),onRetrySubmit:sa.onRetrySubmit.bind(null,ma),onUndoInlineBan:sa.onCommentUndoInlineBan.bind(null,ma)}));}},_toggleReplyExpandedState:function(ma){var na=this.state.repliesExpandedMap[ma],oa=this.state.repliesExpandedMap;oa[ma]=!na;this.setState({repliesExpandedMap:oa,replyComposerIDToFocusOnMount:!na?'replycomposer-'+ma:null});},onToggleReplies:function(ma){this._toggleReplyExpandedState(ma);var na=this.state.repliesExpandedMap[ma],oa=this.props.ranges[ma].getRequestedLength();oa-=this.props.deletedCounts[ma];if(na&&oa===0){var pa=this.props.commentCounts[ma],qa=Math.min(pa,this.props.pageSize),ra=pa-qa;this.onPage(ma,ka.BOTTOM,{offset:ra,length:qa});}},onPage:function(ma,na,oa){var pa=this.state.hasPagedToplevel||ma===this.props.id;if(ma!==this.props.id&&!this.state.repliesExpandedMap[ma]){var qa=this.state.repliesExpandedMap;qa[ma]=true;this.setState({repliesExpandedMap:qa});}var ra=fa({},this.state.isActiveLoading);ra[ma]=na;this.setState({isActiveLoading:ra,hasPagedToplevel:pa});this.props.onChangeRange(ma,oa);},isLoadingPrev:function(ma){var na=this.props;ma=ma||na.id;var oa=na.ranges[ma].getRequestedOffset(),pa=na.ranges[ma].getOffset();return oa<pa;},isLoadingNext:function(ma){var na=this.props;ma=ma||na.id;var oa=na.ranges[ma].getRequestedOffset(),pa=na.ranges[ma].getRequestedLength(),qa=na.ranges[ma].getOffset(),ra=na.ranges[ma].getLength();return oa+pa>qa+ra;},renderPagers:function(ma,na,oa){var pa=this.props,qa=pa.deletedCounts[ma],ra=pa.commentCounts[ma],sa=ra-qa,ta=oa-qa,ua=pa.contextArgs.numberdelimiter||',',va=ma!==pa.id,wa,xa={topPager:null,bottomPager:null};if(pa.source==t.UFIFeedbackSourceType.ADS)return xa;var ya=this.isLoadingPrev(ma),za=this.isLoadingNext(ma);if(oa==ra)return xa;var ab={},bb=pa.feedback.commentsentenceinfo;if(bb){ab.commenters=bb.explicit_commenter_names;ab.othersCount=bb.other_commenter_count;}var cb=(na+oa)==ra;if((ra<pa.pageSize&&cb)||ta===0){wa=Math.min(ra,pa.pageSize);var db=this.onPage.bind(this,ma,pa.feedback.isranked&&!va?ka.BOTTOM:ka.TOP,{offset:ra-wa,length:wa}),eb;if(ta===0){if(sa==1){eb=y.VIEW_ONE;}else{ab.count=sa;eb=y.VIEW_ALL;}}else if(sa-ta==1){eb=y.VIEW_ONE_MORE;}else{eb=y.VIEW_MORE_EXPLICIT;ab.count=sa-ta;}var fb=p.getTrackingInfo(p.types.VIEW_ALL_COMMENTS);ab.delimiter=ua;var gb=y.getLabel(eb,va,pa.feedback.isqanda,ab),hb=pa.feedback.isranked&&!va,ib=k.createElement(x,{key:"allPager"+ma,ref:hb?"topLevelBottomPager":null,contextArgs:pa.contextArgs,isUnseen:pa.feedback.hasunseencollapsed,isLoading:ya,pagerLabel:gb,onPagerClick:db,"data-ft":fb});if(hb){xa.bottomPager=ib;}else xa.topPager=ib;return xa;}var jb=y.getLabel(y.VIEW_MORE,va,pa.feedback.isqanda,ab),kb=y.getLabel(y.VIEW_PREVIOUS,va,pa.feedback.isqanda,ab);if(na>0){var lb=Math.max(na-pa.pageSize,0);wa=na+oa-lb;var mb;if(va&&ta>1){var nb=j.formatIntegerWithDelimiter(ta,ua),ob=j.formatIntegerWithDelimiter(sa,ua);mb=ja._("{countshown} of {totalcount}",[ja.param("countshown",nb),ja.param("totalcount",ob)]);}var pb;if(pa.feedback.isranked&&!va){pb=this.onPage.bind(this,ma,ka.BOTTOM,{offset:lb,length:wa});xa.bottomPager=k.createElement(x,{key:"bottomPager"+ma,ref:!va?"topLevelBottomPager":null,contextArgs:pa.contextArgs,isLoading:ya,pagerLabel:jb,onPagerClick:pb,countSentence:mb});}else{pb=this.onPage.bind(this,ma,ka.TOP,{offset:lb,length:wa});xa.topPager=k.createElement(x,{key:"topPager"+ma,contextArgs:pa.contextArgs,isLoading:ya,pagerLabel:kb,onPagerClick:pb,countSentence:mb});}}if(na+oa<ra){wa=Math.min(oa+pa.pageSize,ra-na);var qb;if(pa.feedback.isranked&&!va){qb=this.onPage.bind(this,ma,ka.TOP,{offset:na,length:wa});xa.topPager=k.createElement(x,{key:"topPager"+ma,contextArgs:pa.contextArgs,isLoading:za,pagerLabel:kb,onPagerClick:qb});}else{qb=this.onPage.bind(this,ma,ka.BOTTOM,{offset:na,length:wa});xa.bottomPager=k.createElement(x,{key:"bottomPager",ref:!va?"topLevelBottomPager":null,contextArgs:pa.contextArgs,isLoading:za,pagerLabel:jb,onPagerClick:qb});}}return xa;},loadMoreComments:function(){if(this.scrollSubscription&&this.refs.topLevelBottomPager&&!(this.props.id in this.state.isActiveLoading)){var ma=k.findDOMNode(this.refs.topLevelBottomPager),na=ga(window).y,oa=na+document.documentElement.clientHeight+t.infiniteScrollRangeForQANDAPermalinks;if(ma.offsetHeight&&ma.offsetTop<oa)this.refs.topLevelBottomPager.props.onPagerClick();}},_scrollToAddComment:function(){if(this.refs.toplevelcomposer){var ma=k.findDOMNode(this.refs.toplevelcomposer),na=80,oa=ma.getBoundingClientRect().top;if(oa<na||oa>ea.getViewportDimensions().y-na)g.scrollTo(ma,true,false,na);}},onCommentReply:function(ma){var na=ma.parentcommentid||ma.id;if(this.props.feedback.isthreaded&&ma.cancomment){if(!this.state.repliesExpandedMap[na]){this.onToggleReplies(ma.id);}else if(this.refs&&this.refs['replycomposer-'+na])this.refs['replycomposer-'+na].focus();}else if(this.props.contextArgs.simplereply&&ma.author&&this.refs.toplevelcomposer&&this.refs.toplevelcomposer.insertMention){var oa=this.props.authorProfiles[ma.author].type,pa=new o({uniqueID:ma.author,title:this.props.authorProfiles[ma.author].name,type:oa==='friend'?'user':oa});this.refs.toplevelcomposer.insertMention(pa);this._scrollToAddComment();}},onComment:function(){if(this.refs&&this.refs.toplevelcomposer){this.refs.toplevelcomposer.focus();var ma=k.findDOMNode(this.refs.toplevelcomposer),na=60;if(ma.getBoundingClientRect().top<na)g.scrollTo(ma,true,true);}}});e.exports=la;},null);
__d("UFIFeaturedReplyCommentList",["UFIReplyCommentList"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructor=j;j.__superConstructor__=g;j.getCommentList=function(k,l){};function j(k,l,m,n){g.call(this,k,l);var o=0,p=m.length;this.updateCommentCount(p);this.addCommentIDs(o,p,m);var q={};n.forEach(function(r){q[r.id]=r;});m.forEach(function(r){var s=q[r];this.addComment(s.id,s.clientid,s.legacyid);}.bind(this));}j.prototype.fetchComments=function(k,l,m){};e.exports=j;},null);
__d("UFIFeaturedToplevelCommentList",["UFIConstants","UFIToplevelCommentList"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";for(var i in h)if(h.hasOwnProperty(i))k[i]=h[i];var j=h===null?null:h.prototype;k.prototype=Object.create(j);k.prototype.constructor=k;k.__superConstructor__=h;k.getCommentList=function(l,m){};k.getCommentListsForFeedbackTargetID=function(l){};k.getCommentListForFeedbackTargetID_UNSAFE=function(l){};k.resetCommentListsForFeedbackTargetID=function(l){};function k(l,m,n){h.call(this,l,g.UFICommentOrderingMode.FEATURED);var o=0,p=m.length;this.updateCommentCount(p);this.addCommentIDs(o,p,m);var q={};n.forEach(function(r){q[r.id]=r;});m.forEach(function(r){var s=q[r];this.addComment(s.id,s.clientid,s.legacyid);}.bind(this));}k.prototype.fetchComments=function(l,m,n){};e.exports=k;},null);
__d("UFIRange",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";function g(h,i){this.offset=h||0;this.length=i||0;this.requestedOffset=this.offset;this.requestedLength=this.length;}g.prototype.getOffset=function(){return this.offset;};g.prototype.getLength=function(){return this.length;};g.prototype.updateRange=function(h,i){this.offset=h;this.length=i;if(this.requestedLength>0){var j=Math.min(this.offset,this.requestedOffset),k=Math.max(this.offset+this.length,this.requestedOffset+this.requestedLength);this.requestedOffset=j;this.requestedLength=k-j;}else{this.requestedOffset=this.offset;this.requestedLength=this.length;}};g.prototype.getRequestedOffset=function(){return this.requestedOffset;};g.prototype.getRequestedLength=function(){return this.requestedLength;};g.prototype.updateRequestedRange=function(h,i){this.requestedOffset=h;this.requestedLength=i;};e.exports=g;},null);
__d("onEnclosingPageletDestroy",["Arbiter","DOMQuery"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j,k){var l=g.subscribe('pagelet/destroy',function(m,n){if(h.contains(n.root,j)){l.unsubscribe();k();}});return l;}e.exports=i;},null);
__d("UFIController",["Arbiter","Bootloader","CSS","DOM","LayerRemoveOnHide","LiveTimer","PageAdminSignatureSettings","Parent","React","ReactMount","ShortProfiles","UFI.react","UFIActionLinkController","UFICentralUpdates","UFIFeaturedReplyCommentList","UFIFeaturedToplevelCommentList","UFICommentTemplates","UFIConstants","UFIFeedbackTargets","UFIInstanceState","UFIRange","UFIReplyCommentList","UFIToplevelCommentList","UFIUserActions","URI","isEmpty","onEnclosingPageletDestroy","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha){b.__markCompiled&&b.__markCompiled();"use strict";var ia=function(ma,na,oa,pa,qa){var ra=ma+na===oa;return {offset:ma,length:(ra&&ja(qa))?pa-ma:na};},ja=function(ma){return ma==x.UFIPayloadSourceType.USER_ACTION||ma==x.UFIPayloadSourceType.LIVE_SEND;},ka=function(ma,na){for(var oa=0;oa<na.length;oa++){var pa=na[oa];if(pa.author)ma.push(pa.author);if(pa.socialcontext)ma.push(pa.socialcontext.topmutualid);if(pa.replyauthors&&pa.replyauthors.length)for(var qa=0;qa<pa.replyauthors.length;qa++)ma.push(pa.replyauthors[qa]);}};function la(ma,na,oa){this.root=ma;this.id=na.ftentidentifier;this.source=na.source;this.$UFIController0=na.instanceid;this.featuredToplevelCommentList=null;this.featuredReplyCommentLists={};this.$UFIController1=na;this.$UFIController1.rootid=this.root.id;this.$UFIController1.pagesAdminSignatureSettings=new m(this.$UFIController1.initAdminSignatureContext);this.$UFIController2=false;var pa=oa.feedbacktargets[0];this.actionLink=new s(ma,this.$UFIController1,pa);this.orderingMode=pa.defaultcommentorderingmode;var qa=null;if(oa.featuredcommentlists&&oa.featuredcommentlists.comments&&oa.featuredcommentlists.comments[this.id]){qa=oa.featuredcommentlists.comments[this.id];this.featuredToplevelCommentList=new v(this.id,qa.values,oa.comments);}else qa=oa.commentlists.comments[this.id][this.orderingMode];this.ranges={};this.replyRanges={};this.repliesMap={};this.shortenTimestamp=na.shortenTimestamp;this.commentcounts={};this.commentcounts[this.id]=this.getToplevelCommentList().getCommentCount();var ra=pa.orderingmodes||[{value:this.orderingMode}];ra.forEach(function(va){this.ranges[va.value]=new aa(qa.range.offset,qa.range.length);}.bind(this));var sa,ta,ua;if(oa.commentlists.replies)for(sa=0;sa<qa.values.length;sa++){ta=qa.values[sa];ua=oa.commentlists.replies[ta];if(ua){this.commentcounts[ta]=this.getReplyCommentList(ta).getCommentCount();this.getReplyRange(ta).updateRange(ua.range.offset,ua.range.length);}}if(oa.featuredcommentlists)if(oa.featuredcommentlists.replies)for(sa=0;sa<qa.values.length;sa++){ta=qa.values[sa];ua=oa.featuredcommentlists.replies[ta];if(ua){this.featuredReplyCommentLists[ta]=new u(this.id,ta,ua.values,oa.comments);this.commentcounts[ta]=this.getReplyCommentList(ta).getCommentCount();this.getReplyRange(ta).updateRange(ua.range.offset,ua.range.length);}}this.$UFIController3=null;this.$UFIController4=null;this.ufiCentralUpdatesSubscriptions=[t.subscribe('feedback-updated',function(va,wa){var xa=wa.updates,ya=wa.payloadSource;if(ya!=x.UFIPayloadSourceType.COLLAPSED_UFI&&this.id in xa)this.fetchAndUpdate(this.render.bind(this),ya);}.bind(this)),t.subscribe('feedback-id-changed',function(va,wa){var xa=wa.updates;if(this.id in xa)this.id=xa[this.id];}.bind(this)),t.subscribe('instance-updated',function(va,wa){var xa=wa.updates;if(this.$UFIController0 in xa){var ya=xa[this.$UFIController0];if(ya.editcommentid)this.render(wa.payloadSource);}}.bind(this))];this.clearPageletSubscription=ga(this.root,this.$UFIController6.bind(this));this.clearPageSubscription=g.subscribe('ufi/page_cleared',this.$UFIController7.bind(this));t.handleUpdate(x.UFIPayloadSourceType.INITIAL_SERVER,oa);if(this.$UFIController1.viewas)this.viewasUFICleanSubscription=g.subscribe('pre_page_transition',function(va,wa){if(this.$UFIController1.viewas!==ea(wa.to).getQueryData('viewas'))ca.resetCommentListsForFeedbackTargetID(this.id);}.bind(this));h.loadModules(["ScrollAwareDOM"],function(va){p.scrollMonitor=va.monitor;});g.inform('notifStory/ufiLoaded');}la.prototype.$UFIController8=function(){if(!this.$UFIController9)this.$UFIController9=n.byTag(this.root,'form');return this.$UFIController9;};la.prototype.$UFIControllera=function(event){var ma=!this.feedback.hasviewerliked;da.changeLike(this.id,ma,{source:this.source,target:event.target,rootid:this.$UFIController1.rootid});event.preventDefault();};la.prototype.$UFIControllerb=function(ma,event){var na=!ma.hasviewerliked;da.changeCommentLike(ma.id,na,{source:this.source,target:event.target});};la.prototype.$UFIControllerc=function(ma){z.updateState(this.$UFIController0,'isediting',true);z.updateState(this.$UFIController0,'editcommentid',ma.id);};la.prototype.$UFIControllerd=function(ma,na,event){if(!na.visibleValue&&!na.attachedPhoto&&!na.attachedSticker){this.$UFIControllere(ma,event);}else da.editComment(ma.id,na.visibleValue,na.encodedValue,{source:this.$UFIController1.source,target:event.target,attachedPhoto:na.attachedPhoto,attachedSticker:na.attachedSticker});z.updateStateField(this.$UFIController0,'locallycomposed',ma.id,true);this.$UFIControllerf();};la.prototype.$UFIControllerf=function(){z.updateState(this.$UFIController0,'isediting',false);z.updateState(this.$UFIController0,'editcommentid',null);};la.prototype.$UFIControllere=function(ma,event,na){this.$UFIControllerg(ma,false,event,na);};la.prototype.$UFIControllerg=function(ma,na,event,oa){var pa=w[':fb:ufi:hide-dialog-template'].build();j.setContent(pa.getNode('body'),ha._("Are you sure you want to delete this comment?"));j.setContent(pa.getNode('title'),ha._("Delete Comment"));h.loadModules(["DialogX"],function(qa){var ra=new qa({modal:true,width:465,addedBehaviors:[k]},pa.getRoot());ra.subscribe('confirm',function(){da.removeComment(ma.id,{source:this.source,oneclick:na,target:event.target,timelinelogdata:this.$UFIController1.timelinelogdata});if(oa)oa.setState({isInlinePageDeleted:true});ra.hide();}.bind(this));ra.show();}.bind(this));};la.prototype.$UFIControllerh=function(ma,event){da.setHideAsSpam(ma.id,true,{source:this.source,target:event.target});};la.prototype.$UFIControlleri=function(ma,event){da.setHideAsSpam(ma.id,false,{source:this.source,target:event.target});};la.prototype.$UFIControllerj=function(ma,event){da.translateComment(ma,{source:this.source,target:event.target});};la.prototype.$UFIControllerk=function(ma,na,event){da.banUser(ma,this.feedback.ownerid,na,{source:this.source,target:event.target});};la.prototype.$UFIControllerl=function(ma,event){this.$UFIControllerk(ma,true,event);};la.prototype.$UFIControllerm=function(ma,event){this.$UFIControllerk(ma,false,event);};la.prototype.$UFIControllern=function(ma,na){da.fetchSpamComments(this.id,ma,na,this.$UFIController1.viewas);};la.prototype.$UFIControllero=function(ma,event){da.removePreview(ma,{source:this.source,target:event.target});};la.prototype.$UFIControllerp=function(ma){h.loadModules(["UFIRetryActions"],function(na){na.retrySubmit(ma,{source:this.source});}.bind(this));};la.prototype.$UFIControllerq=function(){if(this.$UFIController2)return;var ma=n.byTag(this.root,'form');if(ma){i.removeClass(ma,'collapsed_comments');this.$UFIController2=true;}};la.prototype.setRange=function(ma){this.getRange().updateRange(ma.offset,ma.length);};la.prototype.setReplyRange=function(ma,na){this.getReplyRange(ma).updateRange(na.offset,na.length);};la.prototype.render=function(ma){var na=this.comments.length||!fa(this.feedback.likesentences.current);if(na&&ja(ma))this.$UFIControllerq();var oa=this.getRange();if(this.$UFIController3===null)this.$UFIController3=oa.getOffset()+oa.getLength()-1;var pa=this.feedback.replysocialsentencemaxreplies||-1,qa={};qa[this.id]=this.getToplevelCommentList().getDeletedCount();var ra={},sa={};sa[this.id]=!this.featuredToplevelCommentList;this.comments.forEach(function(xa){var ya=xa.id;qa[ya]=this.getReplyCommentList(ya).getDeletedCount();ra[ya]=this.getToplevelCommentList().getPermalinkForComment(ya);sa[ya]=!this.featuredReplyCommentLists[ya];if(this.repliesMap[ya])this.repliesMap[ya].forEach(function(za){var ab=za.id;ra[ab]=ba.getCommentList(this.id,ya).getPermalinkForComment(ab);}.bind(this));}.bind(this));var ta={};ta[this.id]=oa;for(var ua in this.replyRanges)ta[ua]=this.replyRanges[ua];var va=!!this.featuredToplevelCommentList,wa=o.createElement(r,{feedback:this.feedback,id:this.id,onTargetLikeToggle:this.$UFIControllera.bind(this),onCommentLikeToggle:this.$UFIControllerb.bind(this),onCommentRemove:this.$UFIControllere.bind(this),onCommentHideAsSpam:this.$UFIControllerh.bind(this),onCommentMarkAsNotSpam:this.$UFIControlleri.bind(this),onCommentEdit:this.$UFIControllerc.bind(this),onCommentTranslate:this.$UFIControllerj.bind(this),onCommentInlineBan:this.$UFIControllerl.bind(this),onCommentUndoInlineBan:this.$UFIControllerm.bind(this),onEditAttempt:this.$UFIControllerd.bind(this),onCancelEdit:this.$UFIControllerf.bind(this),onChangeRange:this.$UFIControllerr.bind(this),onSpamFetch:this.$UFIControllern.bind(this),onPreviewRemove:this.$UFIControllero.bind(this),onRetrySubmit:this.$UFIControllerp.bind(this),onOrderingModeChange:this.$UFIControllers.bind(this),contextArgs:this.$UFIController1,repliesMap:this.repliesMap,shortenTimestamp:this.shortenTimestamp,commentCounts:this.commentcounts,deletedCounts:qa,availableComments:this.comments,source:this.source,ranges:ta,pageSize:x.defaultPageSize,authorProfiles:this.authorProfiles,instanceid:this.$UFIController0,loggingOffset:this.$UFIController3,replySocialSentenceMaxReplies:pa,orderingMode:this.orderingMode,hideOrderingModeSelector:va,commentPermalinks:ra,canAddCommentMap:sa});this.$UFIController4=o.render(wa,this.root);l.updateTimeStamps();if(this.$UFIController8())g.inform('ufi/changed',{form:this.$UFIController8()});if(ma!=x.UFIPayloadSourceType.INITIAL_SERVER&&ma!=x.UFIPayloadSourceType.COLLAPSED_UFI)g.inform('reflow');};la.prototype.deferredCallback=function(ma,na,oa,pa){ma.callbackCount++;if(ma.callbackCount<ma.expectedCallbackCount)return;q.getMulti(na,function(qa){this.authorProfiles=qa;pa(oa);if(oa==x.UFIPayloadSourceType.ENDPOINT_COMMENT_FETCH)g.inform('CommentUFI.Pager');}.bind(this));};la.prototype.fetchAndUpdate=function(ma,na){y.getFeedbackTarget(this.id,function(oa){this.feedback=oa;var pa=this.getToplevelCommentList(this.orderingMode).getCommentCount(),qa=this.getRange(),ra=ia(qa.getRequestedOffset(),qa.getRequestedLength(),this.commentcounts[this.id],pa,na),sa=[];if(this.feedback.actorforpost)sa.push(this.feedback.actorforpost);var ta={expectedCallbackCount:0,callbackCount:0},ua=ra.offset,va=ra.length,wa;if(this.$UFIController1.viewas)wa=this.$UFIController1.viewas+'';this.getToplevelCommentList().getComments(ua,va,wa,function(xa,ya,za){this.commentcounts[this.id]=ya;this.setRange(xa);this.comments=[];for(var ab in za)this.comments.push(za[ab]);ka(sa,this.comments);if(this.feedback.isthreaded&&this.comments.length){ta.expectedCallbackCount=this.comments.length;}else ta.expectedCallbackCount=1;for(var bb in za){var cb=za[bb],db=cb.id;if(this.feedback.isthreaded){var eb=this.getReplyCommentList(db).getCommentCount(),fb;if(this.replyRanges[db]){var gb=this.getReplyRange(db);fb=ia(gb.getRequestedOffset(),gb.getRequestedLength(),this.commentcounts[db],eb,na);}else if(cb.interestingReplyOffset!==(void 0)){fb={offset:cb.interestingReplyOffset,length:1};}else{var hb=this.feedback.isranked?0:Math.min(eb,2);fb={offset:0,length:hb};}var ib=fb.offset,jb=fb.length;this.getReplyCommentList(db).getComments(ib,jb,null,function(kb,lb,mb,nb){this.commentcounts[kb]=mb;this.setReplyRange(kb,lb);this.repliesMap[kb]=[];for(var ob in nb)this.repliesMap[kb].push(nb[ob]);ka(sa,this.repliesMap[kb]);this.deferredCallback(ta,sa,na,ma);}.bind(this,db,fb,eb));}}if(!this.feedback.isthreaded||!this.comments.length)this.deferredCallback(ta,sa,na,ma);}.bind(this,ra,pa));}.bind(this));};la.prototype.getToplevelCommentList=function(){if(this.featuredToplevelCommentList)return this.featuredToplevelCommentList;return ca.getCommentList(this.id,this.orderingMode);};la.prototype.getReplyCommentList=function(ma){if(ma in this.featuredReplyCommentLists)return this.featuredReplyCommentLists[ma];return ba.getCommentList(this.id,ma);};la.prototype.getRange=function(){if(!(this.orderingMode in this.ranges))this.ranges[this.orderingMode]=new aa();return this.ranges[this.orderingMode];};la.prototype.getReplyRange=function(ma){if(!(ma in this.replyRanges))this.replyRanges[ma]=new aa();return this.replyRanges[ma];};la.prototype.$UFIControllerr=function(ma,na){if(ma==this.id){this.getRange().updateRequestedRange(na.offset,na.length);}else this.replyRanges[ma].updateRequestedRange(na.offset,na.length);this.fetchAndUpdate(this.render.bind(this),x.UFIPayloadSourceType.USER_ACTION);};la.prototype.$UFIController6=function(){o.unmountComponentAtNode(this.root);this.ufiCentralUpdatesSubscriptions.forEach(t.unsubscribe.bind(t));g.unsubscribe(this.clearPageSubscription);this.viewasUFICleanSubscription&&g.unsubscribe(this.viewasUFICleanSubscription);};la.prototype.$UFIController7=function(){this.$UFIController6();g.unsubscribe(this.clearPageletSubscription);};la.prototype.$UFIControllers=function(ma){this.orderingMode=ma;this.fetchAndUpdate(this.render.bind(this),x.UFIPayloadSourceType.USER_ACTION);};e.exports=la;},null);
__d("immutable",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();(function(g,h){typeof f==='object'?e.exports=h():typeof define==='function'&&define.amd?define([],h):g.Immutable=h();}(this,function(){'use strict';var g=Array.prototype.slice;function h(th,uh){if(uh)th.prototype=Object.create(uh.prototype);th.prototype.constructor=th;}var i='delete',j=5,k=1<<j,l=k-1,m={},n={value:false},o={value:false};function p(th){th.value=false;return th;}function q(th){th&&(th.value=true);}function r(){}function s(th,uh){uh=uh||0;var vh=Math.max(0,th.length-uh),wh=new Array(vh);for(var xh=0;xh<vh;xh++)wh[xh]=th[xh+uh];return wh;}function t(th){if(th.size===(void 0))th.size=th.__iterate(v);return th.size;}function u(th,uh){return uh>=0?(+uh):t(th)+(+uh);}function v(){return true;}function w(th,uh,vh){return (th===0||(vh!==(void 0)&&th<=-vh))&&(uh===(void 0)||(vh!==(void 0)&&uh>=vh));}function x(th,uh){return z(th,uh,0);}function y(th,uh){return z(th,uh,uh);}function z(th,uh,vh){return th===(void 0)?vh:th<0?Math.max(0,uh+th):uh===(void 0)?th:Math.min(uh,th);}function aa(th){return ea(th)?th:bb(th);}h(ba,aa);function ba(th){return fa(th)?th:cb(th);}h(ca,aa);function ca(th){return ga(th)?th:db(th);}h(da,aa);function da(th){return ea(th)&&!ha(th)?th:eb(th);}function ea(th){return !!(th&&th[ja]);}function fa(th){return !!(th&&th[ka]);}function ga(th){return !!(th&&th[la]);}function ha(th){return fa(th)||ga(th);}function ia(th){return !!(th&&th[ma]);}aa.isIterable=ea;aa.isKeyed=fa;aa.isIndexed=ga;aa.isAssociative=ha;aa.isOrdered=ia;aa.Keyed=ba;aa.Indexed=ca;aa.Set=da;var ja='@@__IMMUTABLE_ITERABLE__@@',ka='@@__IMMUTABLE_KEYED__@@',la='@@__IMMUTABLE_INDEXED__@@',ma='@@__IMMUTABLE_ORDERED__@@',na=0,oa=1,pa=2,qa=typeof Symbol==='function'&&Symbol.iterator,ra='@@iterator',sa=qa||ra;function ta(th){this.next=th;}ta.prototype.toString=function(){return '[Iterator]';};ta.KEYS=na;ta.VALUES=oa;ta.ENTRIES=pa;ta.prototype.inspect=ta.prototype.toSource=function(){return this.toString();};ta.prototype[sa]=function(){return this;};function ua(th,uh,vh,wh){var xh=th===0?uh:th===1?vh:[uh,vh];wh?(wh.value=xh):(wh={value:xh,done:false});return wh;}function va(){return {value:(void 0),done:true};}function wa(th){return !!za(th);}function xa(th){return th&&typeof th.next==='function';}function ya(th){var uh=za(th);return uh&&uh.call(th);}function za(th){var uh=th&&((qa&&th[qa])||th[ra]);if(typeof uh==='function')return uh;}function ab(th){return th&&typeof th.length==='number';}h(bb,aa);function bb(th){return th===null||th===(void 0)?mb():ea(th)?th.toSeq():pb(th);}bb.of=function(){return bb(arguments);};bb.prototype.toSeq=function(){return this;};bb.prototype.toString=function(){return this.__toString('Seq {','}');};bb.prototype.cacheResult=function(){if(!this._cache&&this.__iterateUncached){this._cache=this.entrySeq().toArray();this.size=this._cache.length;}return this;};bb.prototype.__iterate=function(th,uh){return rb(this,th,uh,true);};bb.prototype.__iterator=function(th,uh){return sb(this,th,uh,true);};h(cb,bb);function cb(th){return th===null||th===(void 0)?mb().toKeyedSeq():ea(th)?(fa(th)?th.toSeq():th.fromEntrySeq()):nb(th);}cb.of=function(){return cb(arguments);};cb.prototype.toKeyedSeq=function(){return this;};cb.prototype.toSeq=function(){return this;};h(db,bb);function db(th){return th===null||th===(void 0)?mb():!ea(th)?ob(th):fa(th)?th.entrySeq():th.toIndexedSeq();}db.of=function(){return db(arguments);};db.prototype.toIndexedSeq=function(){return this;};db.prototype.toString=function(){return this.__toString('Seq [',']');};db.prototype.__iterate=function(th,uh){return rb(this,th,uh,false);};db.prototype.__iterator=function(th,uh){return sb(this,th,uh,false);};h(eb,bb);function eb(th){return (th===null||th===(void 0)?mb():!ea(th)?ob(th):fa(th)?th.entrySeq():th).toSetSeq();}eb.of=function(){return eb(arguments);};eb.prototype.toSetSeq=function(){return this;};bb.isSeq=kb;bb.Keyed=cb;bb.Set=eb;bb.Indexed=db;var fb='@@__IMMUTABLE_SEQ__@@';bb.prototype[fb]=true;h(gb,db);function gb(th){this._array=th;this.size=th.length;}gb.prototype.get=function(th,uh){return this.has(th)?this._array[u(this,th)]:uh;};gb.prototype.__iterate=function(th,uh){var vh=this._array,wh=vh.length-1;for(var xh=0;xh<=wh;xh++)if(th(vh[uh?wh-xh:xh],xh,this)===false)return xh+1;return xh;};gb.prototype.__iterator=function(th,uh){var vh=this._array,wh=vh.length-1,xh=0;return new ta(function(){return xh>wh?va():ua(th,xh,vh[uh?wh-xh++:xh++]);});};h(hb,cb);function hb(th){var uh=Object.keys(th);this._object=th;this._keys=uh;this.size=uh.length;}hb.prototype.get=function(th,uh){if(uh!==(void 0)&&!this.has(th))return uh;return this._object[th];};hb.prototype.has=function(th){return this._object.hasOwnProperty(th);};hb.prototype.__iterate=function(th,uh){var vh=this._object,wh=this._keys,xh=wh.length-1;for(var yh=0;yh<=xh;yh++){var zh=wh[uh?xh-yh:yh];if(th(vh[zh],zh,this)===false)return yh+1;}return yh;};hb.prototype.__iterator=function(th,uh){var vh=this._object,wh=this._keys,xh=wh.length-1,yh=0;return new ta(function(){var zh=wh[uh?xh-yh:yh];return yh++>xh?va():ua(th,zh,vh[zh]);});};hb.prototype[ma]=true;h(ib,db);function ib(th){this._iterable=th;this.size=th.length||th.size;}ib.prototype.__iterateUncached=function(th,uh){if(uh)return this.cacheResult().__iterate(th,uh);var vh=this._iterable,wh=ya(vh),xh=0;if(xa(wh)){var yh;while(!(yh=wh.next()).done)if(th(yh.value,xh++,this)===false)break;}return xh;};ib.prototype.__iteratorUncached=function(th,uh){if(uh)return this.cacheResult().__iterator(th,uh);var vh=this._iterable,wh=ya(vh);if(!xa(wh))return new ta(va);var xh=0;return new ta(function(){var yh=wh.next();return yh.done?yh:ua(th,xh++,yh.value);});};h(jb,db);function jb(th){this._iterator=th;this._iteratorCache=[];}jb.prototype.__iterateUncached=function(th,uh){if(uh)return this.cacheResult().__iterate(th,uh);var vh=this._iterator,wh=this._iteratorCache,xh=0;while(xh<wh.length)if(th(wh[xh],xh++,this)===false)return xh;var yh;while(!(yh=vh.next()).done){var zh=yh.value;wh[xh]=zh;if(th(zh,xh++,this)===false)break;}return xh;};jb.prototype.__iteratorUncached=function(th,uh){if(uh)return this.cacheResult().__iterator(th,uh);var vh=this._iterator,wh=this._iteratorCache,xh=0;return new ta(function(){if(xh>=wh.length){var yh=vh.next();if(yh.done)return yh;wh[xh]=yh.value;}return ua(th,xh,wh[xh++]);});};function kb(th){return !!(th&&th[fb]);}var lb;function mb(){return lb||(lb=new gb([]));}function nb(th){var uh=Array.isArray(th)?new gb(th).fromEntrySeq():xa(th)?new jb(th).fromEntrySeq():wa(th)?new ib(th).fromEntrySeq():typeof th==='object'?new hb(th):(void 0);if(!uh)throw new TypeError('Expected Array or iterable object of [k, v] entries, '+'or keyed object: '+th);return uh;}function ob(th){var uh=qb(th);if(!uh)throw new TypeError('Expected Array or iterable object of values: '+th);return uh;}function pb(th){var uh=qb(th)||(typeof th==='object'&&new hb(th));if(!uh)throw new TypeError('Expected Array or iterable object of values, or keyed object: '+th);return uh;}function qb(th){return (ab(th)?new gb(th):xa(th)?new jb(th):wa(th)?new ib(th):(void 0));}function rb(th,uh,vh,wh){var xh=th._cache;if(xh){var yh=xh.length-1;for(var zh=0;zh<=yh;zh++){var ai=xh[vh?yh-zh:zh];if(uh(ai[1],wh?ai[0]:zh,th)===false)return zh+1;}return zh;}return th.__iterateUncached(uh,vh);}function sb(th,uh,vh,wh){var xh=th._cache;if(xh){var yh=xh.length-1,zh=0;return new ta(function(){var ai=xh[vh?yh-zh:zh];return zh++>yh?va():ua(uh,wh?ai[0]:zh-1,ai[1]);});}return th.__iteratorUncached(uh,vh);}h(tb,aa);function tb(){throw TypeError('Abstract');}h(ub,tb);function ub(){}h(vb,tb);function vb(){}h(wb,tb);function wb(){}tb.Keyed=ub;tb.Indexed=vb;tb.Set=wb;function xb(th,uh){if(th===uh||(th!==th&&uh!==uh))return true;if(!th||!uh)return false;if(typeof th.valueOf==='function'&&typeof uh.valueOf==='function'){th=th.valueOf();uh=uh.valueOf();}return typeof th.equals==='function'&&typeof uh.equals==='function'?th.equals(uh):th===uh||(th!==th&&uh!==uh);}function yb(th,uh){return uh?zb(uh,th,'',{'':th}):ac(th);}function zb(th,uh,vh,wh){if(Array.isArray(uh))return th.call(wh,vh,db(uh).map(function(xh,yh){return zb(th,xh,yh,uh);}));if(bc(uh))return th.call(wh,vh,cb(uh).map(function(xh,yh){return zb(th,xh,yh,uh);}));return uh;}function ac(th){if(Array.isArray(th))return db(th).map(ac).toList();if(bc(th))return cb(th).map(ac).toMap();return th;}function bc(th){return th&&th.constructor===Object;}var cc=typeof Math.imul==='function'&&Math.imul(4294967295,2)===-2?Math.imul:function th(uh,vh){uh=uh|0;vh=vh|0;var wh=uh&65535,xh=vh&65535;return (wh*xh)+((((uh>>>16)*xh+wh*(vh>>>16))<<16)>>>0)|0;};function dc(th){return ((th>>>1)&1073741824)|(th&3221225471);}function ec(th){if(th===false||th===null||th===(void 0))return 0;if(typeof th.valueOf==='function'){th=th.valueOf();if(th===false||th===null||th===(void 0))return 0;}if(th===true)return 1;var uh=typeof th;if(uh==='number'){var vh=th|0;if(vh!==th)vh^=th*4294967295;while(th>4294967295){th/=4294967295;vh^=th;}return dc(vh);}if(uh==='string')return th.length>nc?fc(th):gc(th);if(typeof th.hashCode==='function')return th.hashCode();return hc(th);}function fc(th){var uh=qc[th];if(uh===(void 0)){uh=gc(th);if(pc===oc){pc=0;qc={};}pc++;qc[th]=uh;}return uh;}function gc(th){var uh=0;for(var vh=0;vh<th.length;vh++)uh=31*uh+th.charCodeAt(vh)|0;return dc(uh);}function hc(th){var uh=kc&&kc.get(th);if(uh)return uh;uh=th[mc];if(uh)return uh;if(!ic){uh=th.propertyIsEnumerable&&th.propertyIsEnumerable[mc];if(uh)return uh;uh=jc(th);if(uh)return uh;}if(Object.isExtensible&&!Object.isExtensible(th))throw new Error('Non-extensible objects are not allowed as keys.');uh=++lc;if(lc&1073741824)lc=0;if(kc){kc.set(th,uh);}else if(ic){Object.defineProperty(th,mc,{enumerable:false,configurable:false,writable:false,value:uh});}else if(th.propertyIsEnumerable&&th.propertyIsEnumerable===th.constructor.prototype.propertyIsEnumerable){th.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments);};th.propertyIsEnumerable[mc]=uh;}else if(th.nodeType){th[mc]=uh;}else throw new Error('Unable to set a non-enumerable property on object.');return uh;}var ic=(function(){try{Object.defineProperty({},'x',{});return true;}catch(th){return false;}}());function jc(th){if(th&&th.nodeType>0)switch(th.nodeType){case 1:return th.uniqueID;case 9:return th.documentElement&&th.documentElement.uniqueID;}}var kc=typeof WeakMap==='function'&&new WeakMap(),lc=0,mc='__immutablehash__';if(typeof Symbol==='function')mc=Symbol(mc);var nc=16,oc=255,pc=0,qc={};function rc(th,uh){if(!th)throw new Error(uh);}function sc(th){rc(th!==Infinity);}h(tc,cb);function tc(th,uh){this._iter=th;this._useKeys=uh;this.size=th.size;}tc.prototype.get=function(th,uh){return this._iter.get(th,uh);};tc.prototype.has=function(th){return this._iter.has(th);};tc.prototype.valueSeq=function(){return this._iter.valueSeq();};tc.prototype.reverse=function(){var th=this,uh=zc(this,true);if(!this._useKeys)uh.valueSeq=function(){return th._iter.toSeq().reverse();};return uh;};tc.prototype.map=function(th,uh){var vh=this,wh=yc(this,th,uh);if(!this._useKeys)wh.valueSeq=function(){return vh._iter.toSeq().map(th,uh);};return wh;};tc.prototype.__iterate=function(th,uh){var vh=this,wh;return this._iter.__iterate(this._useKeys?function(xh,yh){return th(xh,yh,vh);}:((wh=uh?qd(this):0),function(xh){return th(xh,uh?--wh:wh++,vh);}),uh);};tc.prototype.__iterator=function(th,uh){if(this._useKeys)return this._iter.__iterator(th,uh);var vh=this._iter.__iterator(oa,uh),wh=uh?qd(this):0;return new ta(function(){var xh=vh.next();return xh.done?xh:ua(th,uh?--wh:wh++,xh.value,xh);});};tc.prototype[ma]=true;h(uc,db);function uc(th){this._iter=th;this.size=th.size;}uc.prototype.contains=function(th){return this._iter.contains(th);};uc.prototype.__iterate=function(th,uh){var vh=this,wh=0;return this._iter.__iterate(function(xh){return th(xh,wh++,vh);},uh);};uc.prototype.__iterator=function(th,uh){var vh=this._iter.__iterator(oa,uh),wh=0;return new ta(function(){var xh=vh.next();return xh.done?xh:ua(th,wh++,xh.value,xh);});};h(vc,eb);function vc(th){this._iter=th;this.size=th.size;}vc.prototype.has=function(th){return this._iter.contains(th);};vc.prototype.__iterate=function(th,uh){var vh=this;return this._iter.__iterate(function(wh){return th(wh,wh,vh);},uh);};vc.prototype.__iterator=function(th,uh){var vh=this._iter.__iterator(oa,uh);return new ta(function(){var wh=vh.next();return wh.done?wh:ua(th,wh.value,wh.value,wh);});};h(wc,cb);function wc(th){this._iter=th;this.size=th.size;}wc.prototype.entrySeq=function(){return this._iter.toSeq();};wc.prototype.__iterate=function(th,uh){var vh=this;return this._iter.__iterate(function(wh){if(wh){pd(wh);return th(wh[1],wh[0],vh);}},uh);};wc.prototype.__iterator=function(th,uh){var vh=this._iter.__iterator(oa,uh);return new ta(function(){while(true){var wh=vh.next();if(wh.done)return wh;var xh=wh.value;if(xh){pd(xh);return th===pa?wh:ua(th,xh[0],xh[1],wh);}}});};uc.prototype.cacheResult=tc.prototype.cacheResult=vc.prototype.cacheResult=wc.prototype.cacheResult=td;function xc(th){var uh=sd(th);uh._iter=th;uh.size=th.size;uh.flip=function(){return th;};uh.reverse=function(){var vh=th.reverse.apply(this);vh.flip=function(){return th.reverse();};return vh;};uh.has=function(vh){return th.contains(vh);};uh.contains=function(vh){return th.has(vh);};uh.cacheResult=td;uh.__iterateUncached=function(vh,wh){var xh=this;return th.__iterate(function(yh,zh){return vh(zh,yh,xh)!==false;},wh);};uh.__iteratorUncached=function(vh,wh){if(vh===pa){var xh=th.__iterator(vh,wh);return new ta(function(){var yh=xh.next();if(!yh.done){var zh=yh.value[0];yh.value[0]=yh.value[1];yh.value[1]=zh;}return yh;});}return th.__iterator(vh===oa?na:oa,wh);};return uh;}function yc(th,uh,vh){var wh=sd(th);wh.size=th.size;wh.has=function(xh){return th.has(xh);};wh.get=function(xh,yh){var zh=th.get(xh,m);return zh===m?yh:uh.call(vh,zh,xh,th);};wh.__iterateUncached=function(xh,yh){var zh=this;return th.__iterate(function(ai,bi,ci){return xh(uh.call(vh,ai,bi,ci),bi,zh)!==false;},yh);};wh.__iteratorUncached=function(xh,yh){var zh=th.__iterator(pa,yh);return new ta(function(){var ai=zh.next();if(ai.done)return ai;var bi=ai.value,ci=bi[0];return ua(xh,ci,uh.call(vh,bi[1],ci,th),ai);});};return wh;}function zc(th,uh){var vh=sd(th);vh._iter=th;vh.size=th.size;vh.reverse=function(){return th;};if(th.flip)vh.flip=function(){var wh=xc(th);wh.reverse=function(){return th.flip();};return wh;};vh.get=function(wh,xh){return th.get(uh?wh:-1-wh,xh);};vh.has=function(wh){return th.has(uh?wh:-1-wh);};vh.contains=function(wh){return th.contains(wh);};vh.cacheResult=td;vh.__iterate=function(wh,xh){var yh=this;return th.__iterate(function(zh,ai){return wh(zh,ai,yh);},!xh);};vh.__iterator=function(wh,xh){return th.__iterator(wh,!xh);};return vh;}function ad(th,uh,vh,wh){var xh=sd(th);if(wh){xh.has=function(yh){var zh=th.get(yh,m);return zh!==m&&!!uh.call(vh,zh,yh,th);};xh.get=function(yh,zh){var ai=th.get(yh,m);return ai!==m&&uh.call(vh,ai,yh,th)?ai:zh;};}xh.__iterateUncached=function(yh,zh){var ai=this,bi=0;th.__iterate(function(ci,di,ei){if(uh.call(vh,ci,di,ei)){bi++;return yh(ci,wh?di:bi-1,ai);}},zh);return bi;};xh.__iteratorUncached=function(yh,zh){var ai=th.__iterator(pa,zh),bi=0;return new ta(function(){while(true){var ci=ai.next();if(ci.done)return ci;var di=ci.value,ei=di[0],fi=di[1];if(uh.call(vh,fi,ei,th))return ua(yh,wh?ei:bi++,fi,ci);}});};return xh;}function bd(th,uh,vh){var wh=wd().asMutable();th.__iterate(function(xh,yh){wh.update(uh.call(vh,xh,yh,th),0,function(zh){return zh+1;});});return wh.asImmutable();}function cd(th,uh,vh){var wh=fa(th),xh=(ia(th)?vf():wd()).asMutable();th.__iterate(function(zh,ai){xh.update(uh.call(vh,zh,ai,th),function(bi){return (bi=bi||[],bi.push(wh?[ai,zh]:zh),bi);});});var yh=rd(th);return xh.map(function(zh){return od(th,yh(zh));});}function dd(th,uh,vh,wh){var xh=th.size;if(w(uh,vh,xh))return th;var yh=x(uh,xh),zh=y(vh,xh);if(yh!==yh||zh!==zh)return dd(th.toSeq().cacheResult(),uh,vh,wh);var ai=zh-yh;if(ai<0)ai=0;var bi=sd(th);bi.size=ai===0?ai:th.size&&ai||(void 0);if(!wh&&kb(th)&&ai>=0)bi.get=function(ci,di){ci=u(this,ci);return ci>=0&&ci<ai?th.get(ci+yh,di):di;};bi.__iterateUncached=function(ci,di){var ei=this;if(ai===0)return 0;if(di)return this.cacheResult().__iterate(ci,di);var fi=0,gi=true,hi=0;th.__iterate(function(ii,ji){if(!(gi&&(gi=fi++<yh))){hi++;return ci(ii,wh?ji:hi-1,ei)!==false&&hi!==ai;}});return hi;};bi.__iteratorUncached=function(ci,di){if(ai&&di)return this.cacheResult().__iterator(ci,di);var ei=ai&&th.__iterator(ci,di),fi=0,gi=0;return new ta(function(){while(fi++!==yh)ei.next();if(++gi>ai)return va();var hi=ei.next();if(wh||ci===oa){return hi;}else if(ci===na){return ua(ci,gi-1,(void 0),hi);}else return ua(ci,gi-1,hi.value[1],hi);});};return bi;}function ed(th,uh,vh){var wh=sd(th);wh.__iterateUncached=function(xh,yh){var zh=this;if(yh)return this.cacheResult().__iterate(xh,yh);var ai=0;th.__iterate(function(bi,ci,di){return uh.call(vh,bi,ci,di)&&++ai&&xh(bi,ci,zh);});return ai;};wh.__iteratorUncached=function(xh,yh){var zh=this;if(yh)return this.cacheResult().__iterator(xh,yh);var ai=th.__iterator(pa,yh),bi=true;return new ta(function(){if(!bi)return va();var ci=ai.next();if(ci.done)return ci;var di=ci.value,ei=di[0],fi=di[1];if(!uh.call(vh,fi,ei,zh)){bi=false;return va();}return xh===pa?ci:ua(xh,ei,fi,ci);});};return wh;}function fd(th,uh,vh,wh){var xh=sd(th);xh.__iterateUncached=function(yh,zh){var ai=this;if(zh)return this.cacheResult().__iterate(yh,zh);var bi=true,ci=0;th.__iterate(function(di,ei,fi){if(!(bi&&(bi=uh.call(vh,di,ei,fi)))){ci++;return yh(di,wh?ei:ci-1,ai);}});return ci;};xh.__iteratorUncached=function(yh,zh){var ai=this;if(zh)return this.cacheResult().__iterator(yh,zh);var bi=th.__iterator(pa,zh),ci=true,di=0;return new ta(function(){var ei,fi,gi;do{ei=bi.next();if(ei.done)if(wh||yh===oa){return ei;}else if(yh===na){return ua(yh,di++,(void 0),ei);}else return ua(yh,di++,ei.value[1],ei);var hi=ei.value;fi=hi[0];gi=hi[1];ci&&(ci=uh.call(vh,gi,fi,ai));}while(ci);return yh===pa?ei:ua(yh,fi,gi,ei);});};return xh;}function gd(th,uh){var vh=fa(th),wh=[th].concat(uh).map(function(zh){if(!ea(zh)){zh=vh?nb(zh):ob(Array.isArray(zh)?zh:[zh]);}else if(vh)zh=ba(zh);return zh;}).filter(function(zh){return zh.size!==0;});if(wh.length===0)return th;if(wh.length===1){var xh=wh[0];if(xh===th||vh&&fa(xh)||ga(th)&&ga(xh))return xh;}var yh=new gb(wh);if(vh){yh=yh.toKeyedSeq();}else if(!ga(th))yh=yh.toSetSeq();yh=yh.flatten(true);yh.size=wh.reduce(function(zh,ai){if(zh!==(void 0)){var bi=ai.size;if(bi!==(void 0))return zh+bi;}},0);return yh;}function hd(th,uh,vh){var wh=sd(th);wh.__iterateUncached=function(xh,yh){var zh=0,ai=false;function bi(ci,di){var ei=this;ci.__iterate(function(fi,gi){if((!uh||di<uh)&&ea(fi)){bi(fi,di+1);}else if(xh(fi,vh?gi:zh++,ei)===false)ai=true;return !ai;},yh);}bi(th,0);return zh;};wh.__iteratorUncached=function(xh,yh){var zh=th.__iterator(xh,yh),ai=[],bi=0;return new ta(function(){while(zh){var ci=zh.next();if(ci.done!==false){zh=ai.pop();continue;}var di=ci.value;if(xh===pa)di=di[1];if((!uh||ai.length<uh)&&ea(di)){ai.push(zh);zh=di.__iterator(xh,yh);}else return vh?ci:ua(xh,bi++,di,ci);}return va();});};return wh;}function id(th,uh,vh){var wh=rd(th);return th.toSeq().map(function(xh,yh){return wh(uh.call(vh,xh,yh,th));}).flatten(true);}function jd(th,uh){var vh=sd(th);vh.size=th.size&&th.size*2-1;vh.__iterateUncached=function(wh,xh){var yh=this,zh=0;th.__iterate(function(ai,bi){return (!zh||wh(uh,zh++,yh)!==false)&&wh(ai,zh++,yh)!==false;},xh);return zh;};vh.__iteratorUncached=function(wh,xh){var yh=th.__iterator(oa,xh),zh=0,ai;return new ta(function(){if(!ai||zh%2){ai=yh.next();if(ai.done)return ai;}return zh%2?ua(wh,zh++,uh):ua(wh,zh++,ai.value,ai);});};return vh;}function kd(th,uh,vh){if(!uh)uh=ud;var wh=fa(th),xh=0,yh=th.toSeq().map(function(zh,ai){return [ai,zh,xh++,vh?vh(zh,ai,th):zh];}).toArray();yh.sort(function(zh,ai){return uh(zh[3],ai[3])||zh[2]-ai[2];}).forEach(wh?function(zh,ai){yh[ai].length=2;}:function(zh,ai){yh[ai]=zh[1];});return wh?cb(yh):ga(th)?db(yh):eb(yh);}function ld(th,uh,vh){if(!uh)uh=ud;if(vh){var wh=th.toSeq().map(function(xh,yh){return [xh,vh(xh,yh,th)];}).reduce(function(xh,yh){return md(uh,xh[1],yh[1])?yh:xh;});return wh&&wh[0];}else return th.reduce(function(xh,yh){return md(uh,xh,yh)?yh:xh;});}function md(th,uh,vh){var wh=th(vh,uh);return (wh===0&&vh!==uh&&(vh===(void 0)||vh===null||vh!==vh))||wh>0;}function nd(th,uh,vh){var wh=sd(th);wh.size=new gb(vh).map(function(xh){return xh.size;}).min();wh.__iterate=function(xh,yh){var zh=this.__iterator(oa,yh),ai,bi=0;while(!(ai=zh.next()).done)if(xh(ai.value,bi++,this)===false)break;return bi;};wh.__iteratorUncached=function(xh,yh){var zh=vh.map(function(ci){return (ci=aa(ci),ya(yh?ci.reverse():ci));}),ai=0,bi=false;return new ta(function(){var ci;if(!bi){ci=zh.map(function(di){return di.next();});bi=ci.some(function(di){return di.done;});}if(bi)return va();return ua(xh,ai++,uh.apply(null,ci.map(function(di){return di.value;})));});};return wh;}function od(th,uh){return kb(th)?uh:th.constructor(uh);}function pd(th){if(th!==Object(th))throw new TypeError('Expected [K, V] tuple: '+th);}function qd(th){sc(th.size);return t(th);}function rd(th){return fa(th)?ba:ga(th)?ca:da;}function sd(th){return Object.create((fa(th)?cb:ga(th)?db:eb).prototype);}function td(){if(this._iter.cacheResult){this._iter.cacheResult();this.size=this._iter.size;return this;}else return bb.prototype.cacheResult.call(this);}function ud(th,uh){return th>uh?1:th<uh?-1:0;}function vd(th){var uh=ya(th);if(!uh){if(!ab(th))throw new TypeError('Expected iterable or array-like: '+th);uh=ya(aa(th));}return uh;}h(wd,ub);function wd(th){return th===null||th===(void 0)?ke():xd(th)?th:ke().withMutations(function(uh){var vh=ba(th);sc(vh.size);vh.forEach(function(wh,xh){return uh.set(xh,wh);});});}wd.prototype.toString=function(){return this.__toString('Map {','}');};wd.prototype.get=function(th,uh){return this._root?this._root.get(0,(void 0),th,uh):uh;};wd.prototype.set=function(th,uh){return le(this,th,uh);};wd.prototype.setIn=function(th,uh){return this.updateIn(th,m,function(){return uh;});};wd.prototype.remove=function(th){return le(this,th,m);};wd.prototype.deleteIn=function(th){return this.updateIn(th,function(){return m;});};wd.prototype.update=function(th,uh,vh){return arguments.length===1?th(this):this.updateIn([th],uh,vh);};wd.prototype.updateIn=function(th,uh,vh){if(!vh){vh=uh;uh=(void 0);}var wh=ve(this,vd(th),uh,vh);return wh===m?(void 0):wh;};wd.prototype.clear=function(){if(this.size===0)return this;if(this.__ownerID){this.size=0;this._root=null;this.__hash=(void 0);this.__altered=true;return this;}return ke();};wd.prototype.merge=function(){return se(this,(void 0),arguments);};wd.prototype.mergeWith=function(th){var uh=g.call(arguments,1);return se(this,th,uh);};wd.prototype.mergeIn=function(th){var uh=g.call(arguments,1);return this.updateIn(th,ke(),function(vh){return vh.merge.apply(vh,uh);});};wd.prototype.mergeDeep=function(){return se(this,te((void 0)),arguments);};wd.prototype.mergeDeepWith=function(th){var uh=g.call(arguments,1);return se(this,te(th),uh);};wd.prototype.mergeDeepIn=function(th){var uh=g.call(arguments,1);return this.updateIn(th,ke(),function(vh){return vh.mergeDeep.apply(vh,uh);});};wd.prototype.sort=function(th){return vf(kd(this,th));};wd.prototype.sortBy=function(th,uh){return vf(kd(this,uh,th));};wd.prototype.withMutations=function(th){var uh=this.asMutable();th(uh);return uh.wasAltered()?uh.__ensureOwner(this.__ownerID):this;};wd.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new r());};wd.prototype.asImmutable=function(){return this.__ensureOwner();};wd.prototype.wasAltered=function(){return this.__altered;};wd.prototype.__iterator=function(th,uh){return new fe(this,th,uh);};wd.prototype.__iterate=function(th,uh){var vh=this,wh=0;this._root&&this._root.iterate(function(xh){wh++;return th(xh[1],xh[0],vh);},uh);return wh;};wd.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;if(!th){this.__ownerID=th;this.__altered=false;return this;}return ie(this.size,this._root,th,this.__hash);};function xd(th){return !!(th&&th[yd]);}wd.isMap=xd;var yd='@@__IMMUTABLE_MAP__@@',zd=wd.prototype;zd[yd]=true;zd[i]=zd.remove;zd.removeIn=zd.deleteIn;function ae(th,uh){this.ownerID=th;this.entries=uh;}ae.prototype.get=function(th,uh,vh,wh){var xh=this.entries;for(var yh=0,zh=xh.length;yh<zh;yh++)if(xb(vh,xh[yh][0]))return xh[yh][1];return wh;};ae.prototype.update=function(th,uh,vh,wh,xh,yh,zh){var ai=xh===m,bi=this.entries,ci=0;for(var di=bi.length;ci<di;ci++)if(xb(wh,bi[ci][0]))break;var ei=ci<di;if(ei?bi[ci][1]===xh:ai)return this;q(zh);(ai||!ei)&&q(yh);if(ai&&bi.length===1)return;if(!ei&&!ai&&bi.length>=af)return pe(th,bi,wh,xh);var fi=th&&th===this.ownerID,gi=fi?bi:s(bi);if(ei){if(ai){ci===di-1?gi.pop():(gi[ci]=gi.pop());}else gi[ci]=[wh,xh];}else gi.push([wh,xh]);if(fi){this.entries=gi;return this;}return new ae(th,gi);};function be(th,uh,vh){this.ownerID=th;this.bitmap=uh;this.nodes=vh;}be.prototype.get=function(th,uh,vh,wh){if(uh===(void 0))uh=ec(vh);var xh=(1<<((th===0?uh:uh>>>th)&l)),yh=this.bitmap;return (yh&xh)===0?wh:this.nodes[we(yh&(xh-1))].get(th+j,uh,vh,wh);};be.prototype.update=function(th,uh,vh,wh,xh,yh,zh){if(vh===(void 0))vh=ec(wh);var ai=(uh===0?vh:vh>>>uh)&l,bi=1<<ai,ci=this.bitmap,di=(ci&bi)!==0;if(!di&&xh===m)return this;var ei=we(ci&(bi-1)),fi=this.nodes,gi=di?fi[ei]:(void 0),hi=me(gi,th,uh+j,vh,wh,xh,yh,zh);if(hi===gi)return this;if(!di&&hi&&fi.length>=bf)return re(th,fi,ci,ai,hi);if(di&&!hi&&fi.length===2&&ne(fi[ei^1]))return fi[ei^1];if(di&&hi&&fi.length===1&&ne(hi))return hi;var ii=th&&th===this.ownerID,ji=di?hi?ci:ci^bi:ci|bi,ki=di?hi?xe(fi,ei,hi,ii):ze(fi,ei,ii):ye(fi,ei,hi,ii);if(ii){this.bitmap=ji;this.nodes=ki;return this;}return new be(th,ji,ki);};function ce(th,uh,vh){this.ownerID=th;this.count=uh;this.nodes=vh;}ce.prototype.get=function(th,uh,vh,wh){if(uh===(void 0))uh=ec(vh);var xh=(th===0?uh:uh>>>th)&l,yh=this.nodes[xh];return yh?yh.get(th+j,uh,vh,wh):wh;};ce.prototype.update=function(th,uh,vh,wh,xh,yh,zh){if(vh===(void 0))vh=ec(wh);var ai=(uh===0?vh:vh>>>uh)&l,bi=xh===m,ci=this.nodes,di=ci[ai];if(bi&&!di)return this;var ei=me(di,th,uh+j,vh,wh,xh,yh,zh);if(ei===di)return this;var fi=this.count;if(!di){fi++;}else if(!ei){fi--;if(fi<cf)return qe(th,ci,fi,ai);}var gi=th&&th===this.ownerID,hi=xe(ci,ai,ei,gi);if(gi){this.count=fi;this.nodes=hi;return this;}return new ce(th,fi,hi);};function de(th,uh,vh){this.ownerID=th;this.keyHash=uh;this.entries=vh;}de.prototype.get=function(th,uh,vh,wh){var xh=this.entries;for(var yh=0,zh=xh.length;yh<zh;yh++)if(xb(vh,xh[yh][0]))return xh[yh][1];return wh;};de.prototype.update=function(th,uh,vh,wh,xh,yh,zh){if(vh===(void 0))vh=ec(wh);var ai=xh===m;if(vh!==this.keyHash){if(ai)return this;q(zh);q(yh);return oe(this,th,uh,vh,[wh,xh]);}var bi=this.entries,ci=0;for(var di=bi.length;ci<di;ci++)if(xb(wh,bi[ci][0]))break;var ei=ci<di;if(ei?bi[ci][1]===xh:ai)return this;q(zh);(ai||!ei)&&q(yh);if(ai&&di===2)return new ee(th,this.keyHash,bi[ci^1]);var fi=th&&th===this.ownerID,gi=fi?bi:s(bi);if(ei){if(ai){ci===di-1?gi.pop():(gi[ci]=gi.pop());}else gi[ci]=[wh,xh];}else gi.push([wh,xh]);if(fi){this.entries=gi;return this;}return new de(th,this.keyHash,gi);};function ee(th,uh,vh){this.ownerID=th;this.keyHash=uh;this.entry=vh;}ee.prototype.get=function(th,uh,vh,wh){return xb(vh,this.entry[0])?this.entry[1]:wh;};ee.prototype.update=function(th,uh,vh,wh,xh,yh,zh){var ai=xh===m,bi=xb(wh,this.entry[0]);if(bi?xh===this.entry[1]:ai)return this;q(zh);if(ai){q(yh);return;}if(bi){if(th&&th===this.ownerID){this.entry[1]=xh;return this;}return new ee(th,this.keyHash,[wh,xh]);}q(yh);return oe(this,th,uh,ec(wh),[wh,xh]);};ae.prototype.iterate=de.prototype.iterate=function(th,uh){var vh=this.entries;for(var wh=0,xh=vh.length-1;wh<=xh;wh++)if(th(vh[uh?xh-wh:wh])===false)return false;};be.prototype.iterate=ce.prototype.iterate=function(th,uh){var vh=this.nodes;for(var wh=0,xh=vh.length-1;wh<=xh;wh++){var yh=vh[uh?xh-wh:wh];if(yh&&yh.iterate(th,uh)===false)return false;}};ee.prototype.iterate=function(th,uh){return th(this.entry);};h(fe,ta);function fe(th,uh,vh){this._type=uh;this._reverse=vh;this._stack=th._root&&he(th._root);}fe.prototype.next=function(){var th=this._type,uh=this._stack;while(uh){var vh=uh.node,wh=uh.index++,xh;if(vh.entry){if(wh===0)return ge(th,vh.entry);}else if(vh.entries){xh=vh.entries.length-1;if(wh<=xh)return ge(th,vh.entries[this._reverse?xh-wh:wh]);}else{xh=vh.nodes.length-1;if(wh<=xh){var yh=vh.nodes[this._reverse?xh-wh:wh];if(yh){if(yh.entry)return ge(th,yh.entry);uh=this._stack=he(yh,uh);}continue;}}uh=this._stack=this._stack.__prev;}return va();};function ge(th,uh){return ua(th,uh[0],uh[1]);}function he(th,uh){return {node:th,index:0,__prev:uh};}function ie(th,uh,vh,wh){var xh=Object.create(zd);xh.size=th;xh._root=uh;xh.__ownerID=vh;xh.__hash=wh;xh.__altered=false;return xh;}var je;function ke(){return je||(je=ie(0));}function le(th,uh,vh){var wh,xh;if(!th._root){if(vh===m)return th;xh=1;wh=new ae(th.__ownerID,[[uh,vh]]);}else{var yh=p(n),zh=p(o);wh=me(th._root,th.__ownerID,0,(void 0),uh,vh,yh,zh);if(!zh.value)return th;xh=th.size+(yh.value?vh===m?-1:1:0);}if(th.__ownerID){th.size=xh;th._root=wh;th.__hash=(void 0);th.__altered=true;return th;}return wh?ie(xh,wh):ke();}function me(th,uh,vh,wh,xh,yh,zh,ai){if(!th){if(yh===m)return th;q(ai);q(zh);return new ee(uh,wh,[xh,yh]);}return th.update(uh,vh,wh,xh,yh,zh,ai);}function ne(th){return th.constructor===ee||th.constructor===de;}function oe(th,uh,vh,wh,xh){if(th.keyHash===wh)return new de(uh,wh,[th.entry,xh]);var yh=(vh===0?th.keyHash:th.keyHash>>>vh)&l,zh=(vh===0?wh:wh>>>vh)&l,ai,bi=yh===zh?[oe(th,uh,vh+j,wh,xh)]:((ai=new ee(uh,wh,xh)),yh<zh?[th,ai]:[ai,th]);return new be(uh,(1<<yh)|(1<<zh),bi);}function pe(th,uh,vh,wh){if(!th)th=new r();var xh=new ee(th,ec(vh),[vh,wh]);for(var yh=0;yh<uh.length;yh++){var zh=uh[yh];xh=xh.update(th,0,(void 0),zh[0],zh[1]);}return xh;}function qe(th,uh,vh,wh){var xh=0,yh=0,zh=new Array(vh);for(var ai=0,bi=1,ci=uh.length;ai<ci;ai++,bi<<=1){var di=uh[ai];if(di!==(void 0)&&ai!==wh){xh|=bi;zh[yh++]=di;}}return new be(th,xh,zh);}function re(th,uh,vh,wh,xh){var yh=0,zh=new Array(k);for(var ai=0;vh!==0;ai++,vh>>>=1)zh[ai]=vh&1?uh[yh++]:(void 0);zh[wh]=xh;return new ce(th,yh+1,zh);}function se(th,uh,vh){var wh=[];for(var xh=0;xh<vh.length;xh++){var yh=vh[xh],zh=ba(yh);if(!ea(yh))zh=zh.map(function(ai){return yb(ai);});wh.push(zh);}return ue(th,uh,wh);}function te(th){return function(uh,vh){return uh&&uh.mergeDeepWith&&ea(vh)?uh.mergeDeepWith(th,vh):th?th(uh,vh):vh;};}function ue(th,uh,vh){vh=vh.filter(function(wh){return wh.size!==0;});if(vh.length===0)return th;if(th.size===0&&vh.length===1)return th.constructor(vh[0]);return th.withMutations(function(wh){var xh=uh?function(zh,ai){wh.update(ai,m,function(bi){return bi===m?zh:uh(bi,zh);});}:function(zh,ai){wh.set(ai,zh);};for(var yh=0;yh<vh.length;yh++)vh[yh].forEach(xh);});}function ve(th,uh,vh,wh){var xh=th===m,yh=uh.next();if(yh.done){var zh=xh?vh:th,ai=wh(zh);return ai===zh?th:ai;}rc(xh||(th&&th.set));var bi=yh.value,ci=xh?m:th.get(bi,m),di=ve(ci,uh,vh,wh);return di===ci?th:di===m?th.remove(bi):(xh?ke():th).set(bi,di);}function we(th){th=th-((th>>1)&1431655765);th=(th&858993459)+((th>>2)&858993459);th=(th+(th>>4))&252645135;th=th+(th>>8);th=th+(th>>16);return th&127;}function xe(th,uh,vh,wh){var xh=wh?th:s(th);xh[uh]=vh;return xh;}function ye(th,uh,vh,wh){var xh=th.length+1;if(wh&&uh+1===xh){th[uh]=vh;return th;}var yh=new Array(xh),zh=0;for(var ai=0;ai<xh;ai++)if(ai===uh){yh[ai]=vh;zh=-1;}else yh[ai]=th[ai+zh];return yh;}function ze(th,uh,vh){var wh=th.length-1;if(vh&&uh===wh){th.pop();return th;}var xh=new Array(wh),yh=0;for(var zh=0;zh<wh;zh++){if(zh===uh)yh=1;xh[zh]=th[zh+yh];}return xh;}var af=k/4,bf=k/2,cf=k/4;h(df,vb);function df(th){var uh=nf();if(th===null||th===(void 0))return uh;if(ef(th))return th;var vh=ca(th),wh=vh.size;if(wh===0)return uh;sc(wh);if(wh>0&&wh<k)return lf(0,wh,j,null,new hf(vh.toArray()));return uh.withMutations(function(xh){xh.setSize(wh);vh.forEach(function(yh,zh){return xh.set(zh,yh);});});}df.of=function(){return this(arguments);};df.prototype.toString=function(){return this.__toString('List [',']');};df.prototype.get=function(th,uh){th=u(this,th);if(th<0||th>=this.size)return uh;th+=this._origin;var vh=rf(this,th);return vh&&vh.array[th&l];};df.prototype.set=function(th,uh){return of(this,th,uh);};df.prototype.remove=function(th){return !this.has(th)?this:th===0?this.shift():th===this.size-1?this.pop():this.splice(th,1);};df.prototype.clear=function(){if(this.size===0)return this;if(this.__ownerID){this.size=this._origin=this._capacity=0;this._level=j;this._root=this._tail=null;this.__hash=(void 0);this.__altered=true;return this;}return nf();};df.prototype.push=function(){var th=arguments,uh=this.size;return this.withMutations(function(vh){sf(vh,0,uh+th.length);for(var wh=0;wh<th.length;wh++)vh.set(uh+wh,th[wh]);});};df.prototype.pop=function(){return sf(this,0,-1);};df.prototype.unshift=function(){var th=arguments;return this.withMutations(function(uh){sf(uh,-th.length);for(var vh=0;vh<th.length;vh++)uh.set(vh,th[vh]);});};df.prototype.shift=function(){return sf(this,1);};df.prototype.merge=function(){return tf(this,(void 0),arguments);};df.prototype.mergeWith=function(th){var uh=g.call(arguments,1);return tf(this,th,uh);};df.prototype.mergeDeep=function(){return tf(this,te((void 0)),arguments);};df.prototype.mergeDeepWith=function(th){var uh=g.call(arguments,1);return tf(this,te(th),uh);};df.prototype.setSize=function(th){return sf(this,0,th);};df.prototype.slice=function(th,uh){var vh=this.size;if(w(th,uh,vh))return this;return sf(this,x(th,vh),y(uh,vh));};df.prototype.__iterator=function(th,uh){var vh=0,wh=kf(this,uh);return new ta(function(){var xh=wh();return xh===jf?va():ua(th,vh++,xh);});};df.prototype.__iterate=function(th,uh){var vh=0,wh=kf(this,uh),xh;while((xh=wh())!==jf)if(th(xh,vh++,this)===false)break;return vh;};df.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;if(!th){this.__ownerID=th;return this;}return lf(this._origin,this._capacity,this._level,this._root,this._tail,th,this.__hash);};function ef(th){return !!(th&&th[ff]);}df.isList=ef;var ff='@@__IMMUTABLE_LIST__@@',gf=df.prototype;gf[ff]=true;gf[i]=gf.remove;gf.setIn=zd.setIn;gf.deleteIn=gf.removeIn=zd.removeIn;gf.update=zd.update;gf.updateIn=zd.updateIn;gf.mergeIn=zd.mergeIn;gf.mergeDeepIn=zd.mergeDeepIn;gf.withMutations=zd.withMutations;gf.asMutable=zd.asMutable;gf.asImmutable=zd.asImmutable;gf.wasAltered=zd.wasAltered;function hf(th,uh){this.array=th;this.ownerID=uh;}hf.prototype.removeBefore=function(th,uh,vh){if(vh===uh?1<<uh:this.array.length===0)return this;var wh=(vh>>>uh)&l;if(wh>=this.array.length)return new hf([],th);var xh=wh===0,yh;if(uh>0){var zh=this.array[wh];yh=zh&&zh.removeBefore(th,uh-j,vh);if(yh===zh&&xh)return this;}if(xh&&!yh)return this;var ai=qf(this,th);if(!xh)for(var bi=0;bi<wh;bi++)ai.array[bi]=(void 0);if(yh)ai.array[wh]=yh;return ai;};hf.prototype.removeAfter=function(th,uh,vh){if(vh===uh?1<<uh:this.array.length===0)return this;var wh=((vh-1)>>>uh)&l;if(wh>=this.array.length)return this;var xh=wh===this.array.length-1,yh;if(uh>0){var zh=this.array[wh];yh=zh&&zh.removeAfter(th,uh-j,vh);if(yh===zh&&xh)return this;}if(xh&&!yh)return this;var ai=qf(this,th);if(!xh)ai.array.pop();if(yh)ai.array[wh]=yh;return ai;};var jf={};function kf(th,uh){var vh=th._origin,wh=th._capacity,xh=uf(wh),yh=th._tail;return zh(th._root,th._level,0);function zh(ci,di,ei){return di===0?ai(ci,ei):bi(ci,di,ei);}function ai(ci,di){var ei=di===xh?yh&&yh.array:ci&&ci.array,fi=di>vh?0:vh-di,gi=wh-di;if(gi>k)gi=k;return function(){if(fi===gi)return jf;var hi=uh?--gi:fi++;return ei&&ei[hi];};}function bi(ci,di,ei){var fi,gi=ci&&ci.array,hi=ei>vh?0:(vh-ei)>>di,ii=((wh-ei)>>di)+1;if(ii>k)ii=k;return function(){do{if(fi){var ji=fi();if(ji!==jf)return ji;fi=null;}if(hi===ii)return jf;var ki=uh?--ii:hi++;fi=zh(gi&&gi[ki],di-j,ei+(ki<<di));}while(true);};}}function lf(th,uh,vh,wh,xh,yh,zh){var ai=Object.create(gf);ai.size=uh-th;ai._origin=th;ai._capacity=uh;ai._level=vh;ai._root=wh;ai._tail=xh;ai.__ownerID=yh;ai.__hash=zh;ai.__altered=false;return ai;}var mf;function nf(){return mf||(mf=lf(0,0,j));}function of(th,uh,vh){uh=u(th,uh);if(uh>=th.size||uh<0)return th.withMutations(function(zh){uh<0?sf(zh,uh).set(0,vh):sf(zh,0,uh+1).set(uh,vh);});uh+=th._origin;var wh=th._tail,xh=th._root,yh=p(o);if(uh>=uf(th._capacity)){wh=pf(wh,th.__ownerID,0,uh,vh,yh);}else xh=pf(xh,th.__ownerID,th._level,uh,vh,yh);if(!yh.value)return th;if(th.__ownerID){th._root=xh;th._tail=wh;th.__hash=(void 0);th.__altered=true;return th;}return lf(th._origin,th._capacity,th._level,xh,wh);}function pf(th,uh,vh,wh,xh,yh){var zh=(wh>>>vh)&l,ai=th&&zh<th.array.length;if(!ai&&xh===(void 0))return th;var bi;if(vh>0){var ci=th&&th.array[zh],di=pf(ci,uh,vh-j,wh,xh,yh);if(di===ci)return th;bi=qf(th,uh);bi.array[zh]=di;return bi;}if(ai&&th.array[zh]===xh)return th;q(yh);bi=qf(th,uh);if(xh===(void 0)&&zh===bi.array.length-1){bi.array.pop();}else bi.array[zh]=xh;return bi;}function qf(th,uh){if(uh&&th&&uh===th.ownerID)return th;return new hf(th?th.array.slice():[],uh);}function rf(th,uh){if(uh>=uf(th._capacity))return th._tail;if(uh<1<<(th._level+j)){var vh=th._root,wh=th._level;while(vh&&wh>0){vh=vh.array[(uh>>>wh)&l];wh-=j;}return vh;}}function sf(th,uh,vh){var wh=th.__ownerID||new r(),xh=th._origin,yh=th._capacity,zh=xh+uh,ai=vh===(void 0)?yh:vh<0?yh+vh:xh+vh;if(zh===xh&&ai===yh)return th;if(zh>=ai)return th.clear();var bi=th._level,ci=th._root,di=0;while(zh+di<0){ci=new hf(ci&&ci.array.length?[(void 0),ci]:[],wh);bi+=j;di+=1<<bi;}if(di){zh+=di;xh+=di;ai+=di;yh+=di;}var ei=uf(yh),fi=uf(ai);while(fi>=1<<(bi+j)){ci=new hf(ci&&ci.array.length?[ci]:[],wh);bi+=j;}var gi=th._tail,hi=fi<ei?rf(th,ai-1):fi>ei?new hf([],wh):gi;if(gi&&fi>ei&&zh<yh&&gi.array.length){ci=qf(ci,wh);var ii=ci;for(var ji=bi;ji>j;ji-=j){var ki=(ei>>>ji)&l;ii=ii.array[ki]=qf(ii.array[ki],wh);}ii.array[(ei>>>j)&l]=gi;}if(ai<yh)hi=hi&&hi.removeAfter(wh,0,ai);if(zh>=fi){zh-=fi;ai-=fi;bi=j;ci=null;hi=hi&&hi.removeBefore(wh,0,zh);}else if(zh>xh||fi<ei){di=0;while(ci){var li=(zh>>>bi)&l;if(li!==(fi>>>bi)&l)break;if(li)di+=(1<<bi)*li;bi-=j;ci=ci.array[li];}if(ci&&zh>xh)ci=ci.removeBefore(wh,bi,zh-di);if(ci&&fi<ei)ci=ci.removeAfter(wh,bi,fi-di);if(di){zh-=di;ai-=di;}}if(th.__ownerID){th.size=ai-zh;th._origin=zh;th._capacity=ai;th._level=bi;th._root=ci;th._tail=hi;th.__hash=(void 0);th.__altered=true;return th;}return lf(zh,ai,bi,ci,hi);}function tf(th,uh,vh){var wh=[],xh=0;for(var yh=0;yh<vh.length;yh++){var zh=vh[yh],ai=ca(zh);if(ai.size>xh)xh=ai.size;if(!ea(zh))ai=ai.map(function(bi){return yb(bi);});wh.push(ai);}if(xh>th.size)th=th.setSize(xh);return ue(th,uh,wh);}function uf(th){return th<k?0:(((th-1)>>>j)<<j);}h(vf,wd);function vf(th){return th===null||th===(void 0)?zf():wf(th)?th:zf().withMutations(function(uh){var vh=ba(th);sc(vh.size);vh.forEach(function(wh,xh){return uh.set(xh,wh);});});}vf.of=function(){return this(arguments);};vf.prototype.toString=function(){return this.__toString('OrderedMap {','}');};vf.prototype.get=function(th,uh){var vh=this._map.get(th);return vh!==(void 0)?this._list.get(vh)[1]:uh;};vf.prototype.clear=function(){if(this.size===0)return this;if(this.__ownerID){this.size=0;this._map.clear();this._list.clear();return this;}return zf();};vf.prototype.set=function(th,uh){return ag(this,th,uh);};vf.prototype.remove=function(th){return ag(this,th,m);};vf.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered();};vf.prototype.__iterate=function(th,uh){var vh=this;return this._list.__iterate(function(wh){return wh&&th(wh[1],wh[0],vh);},uh);};vf.prototype.__iterator=function(th,uh){return this._list.fromEntrySeq().__iterator(th,uh);};vf.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;var uh=this._map.__ensureOwner(th),vh=this._list.__ensureOwner(th);if(!th){this.__ownerID=th;this._map=uh;this._list=vh;return this;}return xf(uh,vh,th,this.__hash);};function wf(th){return xd(th)&&ia(th);}vf.isOrderedMap=wf;vf.prototype[ma]=true;vf.prototype[i]=vf.prototype.remove;function xf(th,uh,vh,wh){var xh=Object.create(vf.prototype);xh.size=th?th.size:0;xh._map=th;xh._list=uh;xh.__ownerID=vh;xh.__hash=wh;return xh;}var yf;function zf(){return yf||(yf=xf(ke(),nf()));}function ag(th,uh,vh){var wh=th._map,xh=th._list,yh=wh.get(uh),zh=yh!==(void 0),ai,bi;if(vh===m){if(!zh)return th;if(xh.size>=k&&xh.size>=wh.size*2){bi=xh.filter(function(ci,di){return ci!==(void 0)&&yh!==di;});ai=bi.toKeyedSeq().map(function(ci){return ci[0];}).flip().toMap();if(th.__ownerID)ai.__ownerID=bi.__ownerID=th.__ownerID;}else{ai=wh.remove(uh);bi=yh===xh.size-1?xh.pop():xh.set(yh,(void 0));}}else if(zh){if(vh===xh.get(yh)[1])return th;ai=wh;bi=xh.set(yh,[uh,vh]);}else{ai=wh.set(uh,xh.size);bi=xh.set(xh.size,[uh,vh]);}if(th.__ownerID){th.size=ai.size;th._map=ai;th._list=bi;th.__hash=(void 0);return th;}return xf(ai,bi);}h(bg,vb);function bg(th){return th===null||th===(void 0)?hg():cg(th)?th:hg().unshiftAll(th);}bg.of=function(){return this(arguments);};bg.prototype.toString=function(){return this.__toString('Stack [',']');};bg.prototype.get=function(th,uh){var vh=this._head;while(vh&&th--)vh=vh.next;return vh?vh.value:uh;};bg.prototype.peek=function(){return this._head&&this._head.value;};bg.prototype.push=function(){if(arguments.length===0)return this;var th=this.size+arguments.length,uh=this._head;for(var vh=arguments.length-1;vh>=0;vh--)uh={value:arguments[vh],next:uh};if(this.__ownerID){this.size=th;this._head=uh;this.__hash=(void 0);this.__altered=true;return this;}return fg(th,uh);};bg.prototype.pushAll=function(th){th=ca(th);if(th.size===0)return this;sc(th.size);var uh=this.size,vh=this._head;th.reverse().forEach(function(wh){uh++;vh={value:wh,next:vh};});if(this.__ownerID){this.size=uh;this._head=vh;this.__hash=(void 0);this.__altered=true;return this;}return fg(uh,vh);};bg.prototype.pop=function(){return this.slice(1);};bg.prototype.unshift=function(){return this.push.apply(this,arguments);};bg.prototype.unshiftAll=function(th){return this.pushAll(th);};bg.prototype.shift=function(){return this.pop.apply(this,arguments);};bg.prototype.clear=function(){if(this.size===0)return this;if(this.__ownerID){this.size=0;this._head=(void 0);this.__hash=(void 0);this.__altered=true;return this;}return hg();};bg.prototype.slice=function(th,uh){if(w(th,uh,this.size))return this;var vh=x(th,this.size),wh=y(uh,this.size);if(wh!==this.size)return vb.prototype.slice.call(this,th,uh);var xh=this.size-vh,yh=this._head;while(vh--)yh=yh.next;if(this.__ownerID){this.size=xh;this._head=yh;this.__hash=(void 0);this.__altered=true;return this;}return fg(xh,yh);};bg.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;if(!th){this.__ownerID=th;this.__altered=false;return this;}return fg(this.size,this._head,th,this.__hash);};bg.prototype.__iterate=function(th,uh){if(uh)return this.toSeq().cacheResult.__iterate(th,uh);var vh=0,wh=this._head;while(wh){if(th(wh.value,vh++,this)===false)break;wh=wh.next;}return vh;};bg.prototype.__iterator=function(th,uh){if(uh)return this.toSeq().cacheResult().__iterator(th,uh);var vh=0,wh=this._head;return new ta(function(){if(wh){var xh=wh.value;wh=wh.next;return ua(th,vh++,xh);}return va();});};function cg(th){return !!(th&&th[dg]);}bg.isStack=cg;var dg='@@__IMMUTABLE_STACK__@@',eg=bg.prototype;eg[dg]=true;eg.withMutations=zd.withMutations;eg.asMutable=zd.asMutable;eg.asImmutable=zd.asImmutable;eg.wasAltered=zd.wasAltered;function fg(th,uh,vh,wh){var xh=Object.create(eg);xh.size=th;xh._head=uh;xh.__ownerID=vh;xh.__hash=wh;xh.__altered=false;return xh;}var gg;function hg(){return gg||(gg=fg(0));}h(ig,wb);function ig(th){return th===null||th===(void 0)?pg():jg(th)?th:pg().withMutations(function(uh){var vh=da(th);sc(vh.size);vh.forEach(function(wh){return uh.add(wh);});});}ig.of=function(){return this(arguments);};ig.fromKeys=function(th){return this(ba(th).keySeq());};ig.prototype.toString=function(){return this.__toString('Set {','}');};ig.prototype.has=function(th){return this._map.has(th);};ig.prototype.add=function(th){return mg(this,this._map.set(th,true));};ig.prototype.remove=function(th){return mg(this,this._map.remove(th));};ig.prototype.clear=function(){return mg(this,this._map.clear());};ig.prototype.union=function(){var th=g.call(arguments,0);th=th.filter(function(uh){return uh.size!==0;});if(th.length===0)return this;if(this.size===0&&th.length===1)return this.constructor(th[0]);return this.withMutations(function(uh){for(var vh=0;vh<th.length;vh++)da(th[vh]).forEach(function(wh){return uh.add(wh);});});};ig.prototype.intersect=function(){var th=g.call(arguments,0);if(th.length===0)return this;th=th.map(function(vh){return da(vh);});var uh=this;return this.withMutations(function(vh){uh.forEach(function(wh){if(!th.every(function(xh){return xh.contains(wh);}))vh.remove(wh);});});};ig.prototype.subtract=function(){var th=g.call(arguments,0);if(th.length===0)return this;th=th.map(function(vh){return da(vh);});var uh=this;return this.withMutations(function(vh){uh.forEach(function(wh){if(th.some(function(xh){return xh.contains(wh);}))vh.remove(wh);});});};ig.prototype.merge=function(){return this.union.apply(this,arguments);};ig.prototype.mergeWith=function(th){var uh=g.call(arguments,1);return this.union.apply(this,uh);};ig.prototype.sort=function(th){return qg(kd(this,th));};ig.prototype.sortBy=function(th,uh){return qg(kd(this,uh,th));};ig.prototype.wasAltered=function(){return this._map.wasAltered();};ig.prototype.__iterate=function(th,uh){var vh=this;return this._map.__iterate(function(wh,xh){return th(xh,xh,vh);},uh);};ig.prototype.__iterator=function(th,uh){return this._map.map(function(vh,wh){return wh;}).__iterator(th,uh);};ig.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;var uh=this._map.__ensureOwner(th);if(!th){this.__ownerID=th;this._map=uh;return this;}return this.__make(uh,th);};function jg(th){return !!(th&&th[kg]);}ig.isSet=jg;var kg='@@__IMMUTABLE_SET__@@',lg=ig.prototype;lg[kg]=true;lg[i]=lg.remove;lg.mergeDeep=lg.merge;lg.mergeDeepWith=lg.mergeWith;lg.withMutations=zd.withMutations;lg.asMutable=zd.asMutable;lg.asImmutable=zd.asImmutable;lg.__empty=pg;lg.__make=ng;function mg(th,uh){if(th.__ownerID){th.size=uh.size;th._map=uh;return th;}return uh===th._map?th:uh.size===0?th.__empty():th.__make(uh);}function ng(th,uh){var vh=Object.create(lg);vh.size=th?th.size:0;vh._map=th;vh.__ownerID=uh;return vh;}var og;function pg(){return og||(og=ng(ke()));}h(qg,ig);function qg(th){return th===null||th===(void 0)?vg():rg(th)?th:vg().withMutations(function(uh){var vh=da(th);sc(vh.size);vh.forEach(function(wh){return uh.add(wh);});});}qg.of=function(){return this(arguments);};qg.fromKeys=function(th){return this(ba(th).keySeq());};qg.prototype.toString=function(){return this.__toString('OrderedSet {','}');};function rg(th){return jg(th)&&ia(th);}qg.isOrderedSet=rg;var sg=qg.prototype;sg[ma]=true;sg.__empty=vg;sg.__make=tg;function tg(th,uh){var vh=Object.create(sg);vh.size=th?th.size:0;vh._map=th;vh.__ownerID=uh;return vh;}var ug;function vg(){return ug||(ug=tg(zf()));}h(wg,ub);function wg(th,uh){var vh=function zh(ai){if(!(this instanceof vh))return new vh(ai);this._map=wd(ai);},wh=Object.keys(th),xh=vh.prototype=Object.create(xg);xh.constructor=vh;uh&&(xh._name=uh);xh._defaultValues=th;xh._keys=wh;xh.size=wh.length;try{wh.forEach(function(zh){Object.defineProperty(vh.prototype,zh,{get:function(){return this.get(zh);},set:function(ai){rc(this.__ownerID);this.set(zh,ai);}});});}catch(yh){}return vh;}wg.prototype.toString=function(){return this.__toString(zg(this)+' {','}');};wg.prototype.has=function(th){return this._defaultValues.hasOwnProperty(th);};wg.prototype.get=function(th,uh){if(!this.has(th))return uh;var vh=this._defaultValues[th];return this._map?this._map.get(th,vh):vh;};wg.prototype.clear=function(){if(this.__ownerID){this._map&&this._map.clear();return this;}var th=Object.getPrototypeOf(this).constructor;return th._empty||(th._empty=yg(this,ke()));};wg.prototype.set=function(th,uh){if(!this.has(th))throw new Error('Cannot set unknown key "'+th+'" on '+zg(this));var vh=this._map&&this._map.set(th,uh);if(this.__ownerID||vh===this._map)return this;return yg(this,vh);};wg.prototype.remove=function(th){if(!this.has(th))return this;var uh=this._map&&this._map.remove(th);if(this.__ownerID||uh===this._map)return this;return yg(this,uh);};wg.prototype.wasAltered=function(){return this._map.wasAltered();};wg.prototype.__iterator=function(th,uh){var vh=this;return ba(this._defaultValues).map(function(wh,xh){return vh.get(xh);}).__iterator(th,uh);};wg.prototype.__iterate=function(th,uh){var vh=this;return ba(this._defaultValues).map(function(wh,xh){return vh.get(xh);}).__iterate(th,uh);};wg.prototype.__ensureOwner=function(th){if(th===this.__ownerID)return this;var uh=this._map&&this._map.__ensureOwner(th);if(!th){this.__ownerID=th;this._map=uh;return this;}return yg(this,uh,th);};var xg=wg.prototype;xg[i]=xg.remove;xg.deleteIn=xg.removeIn=zd.removeIn;xg.merge=zd.merge;xg.mergeWith=zd.mergeWith;xg.mergeIn=zd.mergeIn;xg.mergeDeep=zd.mergeDeep;xg.mergeDeepWith=zd.mergeDeepWith;xg.mergeDeepIn=zd.mergeDeepIn;xg.setIn=zd.setIn;xg.update=zd.update;xg.updateIn=zd.updateIn;xg.withMutations=zd.withMutations;xg.asMutable=zd.asMutable;xg.asImmutable=zd.asImmutable;function yg(th,uh,vh){var wh=Object.create(Object.getPrototypeOf(th));wh._map=uh;wh.__ownerID=vh;return wh;}function zg(th){return th._name||th.constructor.name;}function ah(th,uh){if(th===uh)return true;if(!ea(uh)||th.size!==(void 0)&&uh.size!==(void 0)&&th.size!==uh.size||th.__hash!==(void 0)&&uh.__hash!==(void 0)&&th.__hash!==uh.__hash||fa(th)!==fa(uh)||ga(th)!==ga(uh)||ia(th)!==ia(uh))return false;if(th.size===0&&uh.size===0)return true;var vh=!ha(th);if(ia(th)){var wh=th.entries();return uh.every(function(bi,ci){var di=wh.next().value;return di&&xb(di[1],bi)&&(vh||xb(di[0],ci));})&&wh.next().done;}var xh=false;if(th.size===(void 0))if(uh.size===(void 0)){th.cacheResult();}else{xh=true;var yh=th;th=uh;uh=yh;}var zh=true,ai=uh.__iterate(function(bi,ci){if(vh?!th.has(bi):xh?!xb(bi,th.get(ci,m)):!xb(th.get(ci,m),bi)){zh=false;return false;}});return zh&&th.size===ai;}h(bh,db);function bh(th,uh,vh){if(!(this instanceof bh))return new bh(th,uh,vh);rc(vh!==0);th=th||0;if(uh===(void 0))uh=Infinity;vh=vh===(void 0)?1:Math.abs(vh);if(uh<th)vh=-vh;this._start=th;this._end=uh;this._step=vh;this.size=Math.max(0,Math.ceil((uh-th)/vh-1)+1);if(this.size===0){if(ch)return ch;ch=this;}}bh.prototype.toString=function(){if(this.size===0)return 'Range []';return 'Range [ '+this._start+'...'+this._end+(this._step>1?' by '+this._step:'')+' ]';};bh.prototype.get=function(th,uh){return this.has(th)?this._start+u(this,th)*this._step:uh;};bh.prototype.contains=function(th){var uh=(th-this._start)/this._step;return uh>=0&&uh<this.size&&uh===Math.floor(uh);};bh.prototype.slice=function(th,uh){if(w(th,uh,this.size))return this;th=x(th,this.size);uh=y(uh,this.size);if(uh<=th)return new bh(0,0);return new bh(this.get(th,this._end),this.get(uh,this._end),this._step);};bh.prototype.indexOf=function(th){var uh=th-this._start;if(uh%this._step===0){var vh=uh/this._step;if(vh>=0&&vh<this.size)return vh;}return -1;};bh.prototype.lastIndexOf=function(th){return this.indexOf(th);};bh.prototype.__iterate=function(th,uh){var vh=this.size-1,wh=this._step,xh=uh?this._start+vh*wh:this._start;for(var yh=0;yh<=vh;yh++){if(th(xh,yh,this)===false)return yh+1;xh+=uh?-wh:wh;}return yh;};bh.prototype.__iterator=function(th,uh){var vh=this.size-1,wh=this._step,xh=uh?this._start+vh*wh:this._start,yh=0;return new ta(function(){var zh=xh;xh+=uh?-wh:wh;return yh>vh?va():ua(th,yh++,zh);});};bh.prototype.equals=function(th){return th instanceof bh?this._start===th._start&&this._end===th._end&&this._step===th._step:ah(this,th);};var ch;h(dh,db);function dh(th,uh){if(!(this instanceof dh))return new dh(th,uh);this._value=th;this.size=uh===(void 0)?Infinity:Math.max(0,uh);if(this.size===0){if(eh)return eh;eh=this;}}dh.prototype.toString=function(){if(this.size===0)return 'Repeat []';return 'Repeat [ '+this._value+' '+this.size+' times ]';};dh.prototype.get=function(th,uh){return this.has(th)?this._value:uh;};dh.prototype.contains=function(th){return xb(this._value,th);};dh.prototype.slice=function(th,uh){var vh=this.size;return w(th,uh,vh)?this:new dh(this._value,y(uh,vh)-x(th,vh));};dh.prototype.reverse=function(){return this;};dh.prototype.indexOf=function(th){if(xb(this._value,th))return 0;return -1;};dh.prototype.lastIndexOf=function(th){if(xb(this._value,th))return this.size;return -1;};dh.prototype.__iterate=function(th,uh){for(var vh=0;vh<this.size;vh++)if(th(this._value,vh,this)===false)return vh+1;return vh;};dh.prototype.__iterator=function(th,uh){var vh=this,wh=0;return new ta(function(){return wh<vh.size?ua(th,wh++,vh._value):va();});};dh.prototype.equals=function(th){return th instanceof dh?xb(this._value,th._value):ah(th);};var eh;function fh(th,uh){var vh=function(wh){th.prototype[wh]=uh[wh];};Object.keys(uh).forEach(vh);Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(uh).forEach(vh);return th;}aa.Iterator=ta;fh(aa,{toArray:function(){sc(this.size);var th=new Array(this.size||0);this.valueSeq().__iterate(function(uh,vh){th[vh]=uh;});return th;},toIndexedSeq:function(){return new uc(this);},toJS:function(){return this.toSeq().map(function(th){return th&&typeof th.toJS==='function'?th.toJS():th;}).__toJS();},toJSON:function(){return this.toSeq().map(function(th){return th&&typeof th.toJSON==='function'?th.toJSON():th;}).__toJS();},toKeyedSeq:function(){return new tc(this,true);},toMap:function(){return wd(this.toKeyedSeq());},toObject:function(){sc(this.size);var th={};this.__iterate(function(uh,vh){th[vh]=uh;});return th;},toOrderedMap:function(){return vf(this.toKeyedSeq());},toOrderedSet:function(){return qg(fa(this)?this.valueSeq():this);},toSet:function(){return ig(fa(this)?this.valueSeq():this);},toSetSeq:function(){return new vc(this);},toSeq:function(){return ga(this)?this.toIndexedSeq():fa(this)?this.toKeyedSeq():this.toSetSeq();},toStack:function(){return bg(fa(this)?this.valueSeq():this);},toList:function(){return df(fa(this)?this.valueSeq():this);},toString:function(){return '[Iterable]';},__toString:function(th,uh){if(this.size===0)return th+uh;return th+' '+this.toSeq().map(this.__toStringMapper).join(', ')+' '+uh;},concat:function(){var th=g.call(arguments,0);return od(this,gd(this,th));},contains:function(th){return this.some(function(uh){return xb(uh,th);});},entries:function(){return this.__iterator(pa);},every:function(th,uh){sc(this.size);var vh=true;this.__iterate(function(wh,xh,yh){if(!th.call(uh,wh,xh,yh)){vh=false;return false;}});return vh;},filter:function(th,uh){return od(this,ad(this,th,uh,true));},find:function(th,uh,vh){var wh=vh;this.__iterate(function(xh,yh,zh){if(th.call(uh,xh,yh,zh)){wh=xh;return false;}});return wh;},forEach:function(th,uh){sc(this.size);return this.__iterate(uh?th.bind(uh):th);},join:function(th){sc(this.size);th=th!==(void 0)?''+th:',';var uh='',vh=true;this.__iterate(function(wh){vh?(vh=false):(uh+=th);uh+=wh!==null&&wh!==(void 0)?wh:'';});return uh;},keys:function(){return this.__iterator(na);},map:function(th,uh){return od(this,yc(this,th,uh));},reduce:function(th,uh,vh){sc(this.size);var wh,xh;if(arguments.length<2){xh=true;}else wh=uh;this.__iterate(function(yh,zh,ai){if(xh){xh=false;wh=yh;}else wh=th.call(vh,wh,yh,zh,ai);});return wh;},reduceRight:function(th,uh,vh){var wh=this.toKeyedSeq().reverse();return wh.reduce.apply(wh,arguments);},reverse:function(){return od(this,zc(this,true));},slice:function(th,uh){return od(this,dd(this,th,uh,true));},some:function(th,uh){return !this.every(kh(th),uh);},sort:function(th){return od(this,kd(this,th));},values:function(){return this.__iterator(oa);},butLast:function(){return this.slice(0,-1);},isEmpty:function(){return this.size!==(void 0)?this.size===0:!this.some(function(){return true;});},count:function(th,uh){return t(th?this.toSeq().filter(th,uh):this);},countBy:function(th,uh){return bd(this,th,uh);},equals:function(th){return ah(this,th);},entrySeq:function(){var th=this;if(th._cache)return new gb(th._cache);var uh=th.toSeq().map(jh).toIndexedSeq();uh.fromEntrySeq=function(){return th.toSeq();};return uh;},filterNot:function(th,uh){return this.filter(kh(th),uh);},findLast:function(th,uh,vh){return this.toKeyedSeq().reverse().find(th,uh,vh);},first:function(){return this.find(v);},flatMap:function(th,uh){return od(this,id(this,th,uh));},flatten:function(th){return od(this,hd(this,th,true));},fromEntrySeq:function(){return new wc(this);},get:function(th,uh){return this.find(function(vh,wh){return xb(wh,th);},(void 0),uh);},getIn:function(th,uh){var vh=this,wh=vd(th),xh;while(!(xh=wh.next()).done){var yh=xh.value;vh=vh&&vh.get?vh.get(yh,m):m;if(vh===m)return uh;}return vh;},groupBy:function(th,uh){return cd(this,th,uh);},has:function(th){return this.get(th,m)!==m;},hasIn:function(th){return this.getIn(th,m)!==m;},isSubset:function(th){th=typeof th.contains==='function'?th:aa(th);return this.every(function(uh){return th.contains(uh);});},isSuperset:function(th){return th.isSubset(this);},keySeq:function(){return this.toSeq().map(ih).toIndexedSeq();},last:function(){return this.toSeq().reverse().first();},max:function(th){return ld(this,th);},maxBy:function(th,uh){return ld(this,uh,th);},min:function(th){return ld(this,th?lh(th):oh);},minBy:function(th,uh){return ld(this,uh?lh(uh):oh,th);},rest:function(){return this.slice(1);},skip:function(th){return this.slice(Math.max(0,th));},skipLast:function(th){return od(this,this.toSeq().reverse().skip(th).reverse());},skipWhile:function(th,uh){return od(this,fd(this,th,uh,true));},skipUntil:function(th,uh){return this.skipWhile(kh(th),uh);},sortBy:function(th,uh){return od(this,kd(this,uh,th));},take:function(th){return this.slice(0,Math.max(0,th));},takeLast:function(th){return od(this,this.toSeq().reverse().take(th).reverse());},takeWhile:function(th,uh){return od(this,ed(this,th,uh));},takeUntil:function(th,uh){return this.takeWhile(kh(th),uh);},valueSeq:function(){return this.toIndexedSeq();},hashCode:function(){return this.__hash||(this.__hash=ph(this));}});var gh=aa.prototype;gh[ja]=true;gh[sa]=gh.values;gh.__toJS=gh.toArray;gh.__toStringMapper=mh;gh.inspect=gh.toSource=function(){return this.toString();};gh.chain=gh.flatMap;(function(){try{Object.defineProperty(gh,'length',{get:function(){if(!aa.noLengthWarning){var uh;try{throw new Error();}catch(vh){uh=vh.stack;}if(uh.indexOf('_wrapObject')===-1){console&&emptyFunction&&false;return this.size;}}}});}catch(th){}})();fh(ba,{flip:function(){return od(this,xc(this));},findKey:function(th,uh){var vh;this.__iterate(function(wh,xh,yh){if(th.call(uh,wh,xh,yh)){vh=xh;return false;}});return vh;},findLastKey:function(th,uh){return this.toSeq().reverse().findKey(th,uh);},keyOf:function(th){return this.findKey(function(uh){return xb(uh,th);});},lastKeyOf:function(th){return this.toSeq().reverse().keyOf(th);},mapEntries:function(th,uh){var vh=this,wh=0;return od(this,this.toSeq().map(function(xh,yh){return th.call(uh,[yh,xh],wh++,vh);}).fromEntrySeq());},mapKeys:function(th,uh){var vh=this;return od(this,this.toSeq().flip().map(function(wh,xh){return th.call(uh,wh,xh,vh);}).flip());}});var hh=ba.prototype;hh[ka]=true;hh[sa]=gh.entries;hh.__toJS=gh.toObject;hh.__toStringMapper=function(th,uh){return uh+': '+mh(th);};fh(ca,{toKeyedSeq:function(){return new tc(this,false);},filter:function(th,uh){return od(this,ad(this,th,uh,false));},findIndex:function(th,uh){var vh=this.toKeyedSeq().findKey(th,uh);return vh===(void 0)?-1:vh;},indexOf:function(th){var uh=this.toKeyedSeq().keyOf(th);return uh===(void 0)?-1:uh;},lastIndexOf:function(th){var uh=this.toKeyedSeq().lastKeyOf(th);return uh===(void 0)?-1:uh;},reverse:function(){return od(this,zc(this,false));},slice:function(th,uh){return od(this,dd(this,th,uh,false));},splice:function(th,uh){var vh=arguments.length;uh=Math.max(uh|0,0);if(vh===0||(vh===2&&!uh))return this;th=x(th,this.size);var wh=this.slice(0,th);return od(this,vh===1?wh:wh.concat(s(arguments,2),this.slice(th+uh)));},findLastIndex:function(th,uh){var vh=this.toKeyedSeq().findLastKey(th,uh);return vh===(void 0)?-1:vh;},first:function(){return this.get(0);},flatten:function(th){return od(this,hd(this,th,false));},get:function(th,uh){th=u(this,th);return (th<0||(this.size===Infinity||(this.size!==(void 0)&&th>this.size)))?uh:this.find(function(vh,wh){return wh===th;},(void 0),uh);},has:function(th){th=u(this,th);return th>=0&&(this.size!==(void 0)?this.size===Infinity||th<this.size:this.indexOf(th)!==-1);},interpose:function(th){return od(this,jd(this,th));},interleave:function(){var th=[this].concat(s(arguments)),uh=nd(this.toSeq(),db.of,th),vh=uh.flatten(true);if(uh.size)vh.size=uh.size*th.length;return od(this,vh);},last:function(){return this.get(-1);},skipWhile:function(th,uh){return od(this,fd(this,th,uh,false));},zip:function(){var th=[this].concat(s(arguments));return od(this,nd(this,nh,th));},zipWith:function(th){var uh=s(arguments);uh[0]=this;return od(this,nd(this,th,uh));}});ca.prototype[la]=true;ca.prototype[ma]=true;fh(da,{get:function(th,uh){return this.has(th)?th:uh;},contains:function(th){return this.has(th);},keySeq:function(){return this.valueSeq();}});da.prototype.has=gh.contains;fh(cb,ba.prototype);fh(db,ca.prototype);fh(eb,da.prototype);fh(ub,ba.prototype);fh(vb,ca.prototype);fh(wb,da.prototype);function ih(th,uh){return uh;}function jh(th,uh){return [uh,th];}function kh(th){return function(){return !th.apply(this,arguments);};}function lh(th){return function(){return -th.apply(this,arguments);};}function mh(th){return typeof th==='string'?JSON.stringify(th):th;}function nh(){return s(arguments);}function oh(th,uh){return th<uh?1:th>uh?-1:0;}function ph(th){if(th.size===Infinity)return 0;var uh=ia(th),vh=fa(th),wh=uh?1:0,xh=th.__iterate(vh?uh?function(yh,zh){wh=31*wh+rh(ec(yh),ec(zh))|0;}:function(yh,zh){wh=wh+rh(ec(yh),ec(zh))|0;}:uh?function(yh){wh=31*wh+ec(yh)|0;}:function(yh){wh=wh+ec(yh)|0;});return qh(xh,wh);}function qh(th,uh){uh=cc(uh,3432918353);uh=cc(uh<<15|uh>>>-15,461845907);uh=cc(uh<<13|uh>>>-13,5);uh=(uh+3864292196|0)^th;uh=cc(uh^uh>>>16,2246822507);uh=cc(uh^uh>>>13,3266489909);uh=dc(uh^uh>>>16);return uh;}function rh(th,uh){return th^uh+2654435769+(th<<6)+(th>>2)|0;}var sh={Iterable:aa,Seq:bb,Collection:tb,Map:wd,OrderedMap:vf,List:df,Stack:bg,Set:ig,OrderedSet:qg,Record:wg,Range:bh,Repeat:dh,is:xb,fromJS:yb};return sh;}));},null);
__d("SelectionState",["immutable"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=g.Record({anchorKey:null,anchorOffset:null,focusKey:null,focusOffset:null,isBackward:false,hasFocus:false});for(var i in h)if(h.hasOwnProperty(i))k[i]=h[i];var j=h===null?null:h.prototype;k.prototype=Object.create(j);k.prototype.constructor=k;k.__superConstructor__=h;function k(){if(h!==null)h.apply(this,arguments);}k.prototype.serialize=function(){return ('Anchor: '+this.getAnchorKey()+':'+this.getAnchorOffset()+', '+'Focus: '+this.getFocusKey()+':'+this.getFocusOffset()+', '+'Is Backward: '+this.getIsBackward()+', '+'Has Focus: '+this.getHasFocus());};k.prototype.getAnchorKey=function(){return this.anchorKey;};k.prototype.getAnchorOffset=function(){return this.anchorOffset;};k.prototype.getFocusKey=function(){return this.focusKey;};k.prototype.getFocusOffset=function(){return this.focusOffset;};k.prototype.getIsBackward=function(){return this.isBackward;};k.prototype.getHasFocus=function(){return this.hasFocus;};k.prototype.hasEdgeWithin=function(l,m,n){var o=this.getAnchorKey(),p=this.getFocusKey();if(o===p&&o===l){var q=this.getStartOffset(),r=this.getEndOffset();return m<=r&&q<=n;}var s;if(l===o){s=this.getAnchorOffset();}else if(l===p){s=this.getFocusOffset();}else return false;return m<=s&&n>=s;};k.prototype.isCollapsed=function(){return (this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset());};k.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey();};k.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset();};k.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey();};k.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset();};e.exports=k;},null);
__d("MentionResultsPropTypes",["React","SearchableEntry","SelectionState"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g,k=j.PropTypes,l={viewID:k.string.isRequired,selection:k.instanceOf(i).isRequired,contextComponent:k.object.isRequired,mentionableEntries:k.array.isRequired,highlightedMentionable:k.instanceOf(h),onMentionSelect:k.func.isRequired,onMentionHighlight:k.func.isRequired,onMentionRenderHighlight:k.func.isRequired};e.exports=l;},null);
__d("MentionsLayer.react",["Bootloader","Locale","MentionResultsPropTypes","React","areEqual"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=j,m=l.PropTypes,n=false,o=h.isRTL(),p,q,r,s,t=5,u=j.createClass({displayName:"MentionsLayer",propTypes:Object.assign({},i,{typeaheadView:m.func.isRequired,typeaheadViewProps:m.object}),getInitialState:function(){return {bootloaded:n};},componentWillMount:function(){if(!this.state.bootloaded)v(function(){this.isMounted()&&this.setState({bootloaded:true});}.bind(this));},_onMentionSelect:function(w,x){x.preventDefault();this.props.onMentionSelect(w,x);},shouldComponentUpdate:function(w,x){return (this.state.bootloaded!==x.bootloaded||!k(this.props.mentionableEntries,w.mentionableEntries)||this.props.highlightedMentionable!==w.highlightedMentionable||this.props.characterOffset!==w.characterOffset);},render:function(){if(!this.state.bootloaded)return null;var w=this.props.mentionableEntries,x=this.props.selection,y=(x.isCollapsed()&&x.getHasFocus()&&w&&w.length),z=null,aa=this.props.typeaheadViewProps,ba=false,ca=false;if(aa&&aa.positionAtContext){ba=true;ca=true;}else if(y)z=s(this.props.characterOffset,o);var da={};if(this.props.autoflip){da.ContextualLayerAutoFlip=q;da.ContextualLayerUpdateOnScroll=r;}var ea=this.props.typeaheadView;return (j.createElement(p,{shown:y,context:this.props.contextComponent,contextBounds:z,containerWidthMatchContext:ca,offsetY:t,position:"below",behaviors:da},j.createElement(ea,{id:this.props.viewID,viewProps:this.props.typeaheadViewProps,highlightedEntry:this.props.highlightedMentionable,entries:w||[],onSelect:this._onMentionSelect,onHighlight:this.props.onMentionHighlight,onRenderHighlight:this.props.onMentionRenderHighlight})));}});function v(w){g.loadModules(["ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","getMentionableRect"],function(x,y,z,aa){p=x;q=y;r=z;s=aa;n=true;w();});}e.exports=u;},null);
__d("getDOMImageSize",["URI"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(m){m.onload=null;m.onerror=null;m.onreadystatechange=null;m._callback=null;m._thisObj=null;m._srcStr=null;m.parentNode&&m.parentNode.removeChild(m);}function i(){var m=this;if(m._callback)m._callback.call(m._thisObj,m.naturalWidth||m.width,m.naturalHeight||m.height,m._srcStr);h(m);}function j(){var m=this;if(m.readyState==='complete')i.call(m);}function k(){var m=this;if(m._callback)m._callback.call(m._thisObj,0,0,m._srcStr);h(m);}function l(m,n,o){o=o||null;if(!m){n.call(o,0,0,'');return;}var p=document.body;if(!p){setTimeout(l.bind(this,m,n,o),500);return;}var q;if(typeof m==='string'){q=m;}else if(typeof m==='object')if(typeof m.width==='number'&&typeof m.height==='number'){if(typeof m.src==='string'){q=m.src;if(m.naturalWidth&&m.naturalHeight){n.call(o,m.naturalWidth,m.naturalHeight,q);return;}}if(typeof m.uri==='string'){q=m.uri;if(m.width&&m.height){n.call(o,m.width,m.height,q);return;}}}else if(m instanceof g)q=m.toString();if(!q){n(0,0,m);return;}var r=document.createElement('img');r.onreadystatechange=j;r.onload=i;r.onerror=k;r._callback=n;r._thisObj=o;r._srcStr=q;r.src=q;r.style.cssText='position:absolute;left:0;top:0;width:auto;height:auto;clip:rect(0 0 0 0);';p.insertBefore(r,p.firstChild);}e.exports=l;},null);
__d("CachedDOMImageSizePool",["debounce","getDOMImageSize"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j,k){"use strict";this.$CachedDOMImageSizePool0={};this.$CachedDOMImageSizePool1=k;this.$CachedDOMImageSizePool2=0;this.$CachedDOMImageSizePool3=j;this.$CachedDOMImageSizePool4=g(this.$CachedDOMImageSizePool5,5000,this);this.$CachedDOMImageSizePool6={};this.$CachedDOMImageSizePool7={};}i.prototype.get=function(j,k,l){"use strict";if(!j){k.call(l,0,0,j);return;}var m=this.$CachedDOMImageSizePool0[j];if(m){m.lastAccessTime=Date.now();k.call(l,m.width,m.height,m.src);}else if(this.$CachedDOMImageSizePool6[j]){this.$CachedDOMImageSizePool6[j].push(k);this.$CachedDOMImageSizePool7[j].push(l);}else{this.$CachedDOMImageSizePool6[j]=[k];this.$CachedDOMImageSizePool7[j]=[l];h(j,this.$CachedDOMImageSizePool8,this);}};i.prototype.set=function(j,k,l){"use strict";if(this.$CachedDOMImageSizePool2>this.$CachedDOMImageSizePool3)this.$CachedDOMImageSizePool4();var m=this.$CachedDOMImageSizePool0;if(j&&!m[j]){var n={width:k,height:l,src:j,lastAccessTime:Date.now()};m[j]=n;this.$CachedDOMImageSizePool2++;}};i.prototype.$CachedDOMImageSizePool8=function(j,k,l){"use strict";this.set(l,j,k);var m=this.$CachedDOMImageSizePool6[l],n=this.$CachedDOMImageSizePool7[l];for(var o=0,p=m.length;o<p;o++)m[o].call(n[o],j,k,l);delete this.$CachedDOMImageSizePool6[l];delete this.$CachedDOMImageSizePool7[l];};i.prototype.$CachedDOMImageSizePool5=function(){"use strict";var j=Date.now(),k=this.$CachedDOMImageSizePool0,l=this.$CachedDOMImageSizePool2,m=this.$CachedDOMImageSizePool1;for(var n in k){var o=k[n];if((j-o.lastAccessTime)>m){delete k[n];l--;}}this.$CachedDOMImageSizePool2=l;};e.exports=i;},null);
__d("BackgroundImage.react",["CachedDOMImageSizePool","React","XUISpinner.react","cx","invariant","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=h,n=m.PropTypes,o='(-?(\\d+\\.)?\\d+(px|\\%))',p=new RegExp('^'+o+'?(\\s'+o+')?$','g'),q=new g(50,10*60*1000),r=h.createClass({displayName:"BackgroundImage",propTypes:{src:n.string,width:n.number.isRequired,height:n.number.isRequired,backgroundSize:n.oneOf(['contain','cover','containinside','coverinside']),loadingIndicatorStyle:n.oneOf(['none','large','small']),backgroundPosition:function(s,t,u){var v=s[t];if(v){k(typeof v==='string');k(v.match(p));}},onImageLoad:n.func,optimizeResizeSpeed:n.bool,onContextMenu:n.func},getInitialState:function(){return {imageWidth:null,imageHeight:null,imageSrc:this.props.src,loading:true};},getDefaultProps:function(){return {optimizeResizeSpeed:false,loadingIndicatorStyle:'none'};},componentDidMount:function(){this._resolveImageSize();},componentDidUpdate:function(s){if(this.props.src!==this.state.imageSrc)this.setState({imageWidth:0,imageHeight:0,imageSrc:this.props.src,loading:true},this._resolveImageSize);},_resolveImageSize:function(){var s=this.state.imageSrc;if(s)q.get(s,this._onImageSizeResolved,this);},render:function(){var s={width:this.props.width+'px',height:this.props.height+'px'},t=l(this.props.className,"_5f0d");return (h.createElement("div",h.__spread({},this.props,{className:l(this.props.className,t),style:Object.assign({},(this.props.style||{}),s),onContextMenu:this.props.onContextMenu}),this._renderImage(),this._renderContent(),this._renderLoadingIndicator()));},_renderLoadingIndicator:function(){if(!this.state.loading||this.props.loadingIndicatorStyle==='none')return null;return (h.createElement("div",{className:"_1qe- _5lar"},h.createElement("div",{className:"_1qe_"},h.createElement("div",{className:"_1qf0"},h.createElement(i,{size:this.props.loadingIndicatorStyle})))));},_renderContent:function(){if(this.props.children)return (h.createElement("div",{className:"_1qe-"},h.createElement("div",{className:"_1qe_"},h.createElement("div",{className:"_1qf0"},this.props.children))));},_renderImage:function(){if(!this.state.imageWidth||!this.state.imageHeight)return;var s=this.props.width,t=this.props.height,u,v;switch(this.props.backgroundSize){case 'cover':u='cover';v=false;break;case 'coverinside':u='cover';v=true;break;case 'contain':u='contain';v=false;break;case 'containinside':u='contain';v=true;}var w=this.state.imageWidth,x=this.state.imageHeight,y=s/t,z=w/x;if(u==='contain')if((w>s||!v)&&z>=y){w=s;x=w/z;}else if(x>t||!v){x=t;w=x*z;}if(u==='cover')if((w>s||!v)&&z>=y){x=t;w=x*z;}else if(x>t||!v){w=s;x=w/z;}var aa=this._getImageStyle(w,x);return (h.createElement("img",{alt:"",className:(("_5i4g")+(this.props.optimizeResizeSpeed?' '+"_5sjv":'')),style:aa,src:this.state.imageSrc}));},_getImageStyle:function(s,t){var u;if(this.props.backgroundPosition){u=this.props.backgroundPosition.split(' ');}else u=['50%','50%'];return {width:Math.round(s)+'px',height:Math.round(t)+'px',left:this._getBackgroundPositionPxValue('left',u[0],s,t),top:this._getBackgroundPositionPxValue('top',u[1]||u[0],s,t)};},_getBackgroundPositionPxValue:function(s,t,u,v){var w=parseFloat(t),x=t.substr(w.toString().length);if(x==='px')return t;if(s==='left'){return Math.round((this.props.width-u)*(w/100))+'px';}else return Math.round((this.props.height-v)*(w/100))+'px';},_onImageSizeResolved:function(s,t,u){if(!this.isMounted()||this.state.imageSrc!==u)return;var v=this.props.onImageLoad?this.props.onImageLoad.bind(null,s,t):null;this.setState({imageWidth:s,imageHeight:t,loading:false},v);}});e.exports=r;},null);
__d("TypeaheadViewItem",["React","SearchableEntry"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.PropTypes,k={entry:j.instanceOf(h).isRequired,highlighted:j.bool,role:j.string,selected:j.bool,onSelect:j.func.isRequired,onHighlight:j.func,onRenderHighlight:j.func},l={_onSelect:function(m){this.props.onSelect(this.props.entry,m);},_onHighlight:function(m){if(this.props.onHighlight)this.props.onHighlight(this.props.entry,m);},getDefaultProps:function(){return {role:'option'};},shouldComponentUpdate:function(m){return (this.props.entry.getUniqueID()!==m.entry.getUniqueID()||this.props.highlighted!==m.highlighted||this.props.selected!==m.selected);},componentDidMount:function(){if(this.props.highlighted&&this.props.onRenderHighlight)this.props.onRenderHighlight(g.findDOMNode(this));},componentDidUpdate:function(){if(this.props.highlighted&&this.props.onRenderHighlight)this.props.onRenderHighlight(g.findDOMNode(this));}};e.exports={propTypes:k,Mixin:l};},null);
__d("cssURL",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){return "url('"+h.replace(/(\\|\s|\(|\)|'|\")/g,'\\$1')+"')";}e.exports=g;},null);
__d("MentionsTypeaheadViewItem.react",["Badge.react","ImageBlock.react","React","TypeaheadViewItem","cssURL","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=i,n=m.PropTypes,o=i.createClass({displayName:"MentionsTypeaheadViewItem",mixins:[j.Mixin],propTypes:Object.assign({},j.propTypes,{ariaDescribedBy:n.string}),render:function(){var p=this.props.entry,q=p.getAuxiliaryData(),r=null;if(q)if(q.verified){r=i.createElement(g,{type:"verified",size:"xsmall"});}else if(q.workUser)r=i.createElement(g,{type:"work",size:"xsmall"});var s=p.getPhoto()?i.createElement("span",{className:"_5u93",style:{backgroundImage:k(p.getPhoto())}}):i.createElement("span",null),t=null;if(p.getSubtitle())t=i.createElement("div",{className:"_5u95"},p.getSubtitle());var u=(("_5u91")+(this.props.highlighted?' '+"_5u92":''));return (i.createElement("li",{role:"option",className:u,"aria-label":p.getTitle(),"aria-selected":this.props.highlighted,"aria-describedby":this.props.ariaDescribedBy,onMouseDown:this._onSelect,onMouseEnter:this._onHighlight},i.createElement(h,{spacing:"medium"},s,i.createElement("div",null,i.createElement("div",{className:"_5u94"},p.getTitle(),r),t))));}});e.exports=o;},null);
__d("extendArray",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){Array.prototype.push.apply(h,i);return h;}e.exports=g;},null);
__d("GroupMentionsTypeaheadView.react",["Image.react","MentionsTypeaheadViewItem.react","React","cx","extendArray","fbt","ix","uniqueID"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=i,p=o.PropTypes,q=l._("No Results"),r=i.createClass({displayName:"GroupMentionsTypeaheadView",propTypes:{id:p.string,viewProps:p.object,highlightedEntry:p.object,entries:p.array.isRequired,onSelect:p.func.isRequired,onHighlight:p.func,onRenderHighlight:p.func},getInitialState:function(){return {membersHeaderID:n(),nonMembersHeaderID:n()};},_renderItem:function(s,t){var u=s===this.props.highlightedEntry;return (i.createElement(h,{key:s.getUniqueID(),ariaDescribedBy:t,entry:s,highlighted:u,onSelect:this.props.onSelect,onHighlight:this.props.onHighlight,onRenderHighlight:this._onRenderHighlight}));},_renderMembers:function(s){var t=null;if(s.length){t=s.map(function(w,x){var y=x===0?this.state.membersHeaderID:null;return this._renderItem(w,y);}.bind(this));}else t=[i.createElement("li",{className:"_2ph-",role:"option","aria-describedby":this.state.membersHeaderID,"aria-label":q},q)];var u=null;if(this.props.viewProps.member.aux)u=i.createElement("span",{className:"_1knr"},' \u00b7 ',this.props.viewProps.member.aux);var v=[i.createElement("li",{id:this.state.membersHeaderID,className:"_1kns"},this.props.viewProps.member.title,u)];return k(v,t);},_renderNonMembers:function(s){if(!s.length)return null;var t=null;if(this.props.viewProps.nonMember.aux)t=i.createElement("span",{className:"_1knr"},' \u00b7 ',this.props.viewProps.nonMember.aux);var u=[i.createElement("li",{id:this.state.nonMembersHeaderID,className:"_1kns"},i.createElement(g,{src:m('/images/groups/secret-tag.png'),className:"_1knt"}),this.props.viewProps.nonMember.title,t)];return k(u,s.map(function(v,w){var x=w===0?this.state.nonMembersHeaderID:null;return this._renderItem(v,x);}.bind(this)));},render:function(){var s=[],t=[];this.props.entries.forEach(function(v){var w=v.getAuxiliaryData();if(w.renderType==='member'){s.push(v);}else t.push(v);});var u=(("_5u8_")+(!s.length&&!t.length?' '+"_5u90":''));return (i.createElement("ul",{className:u,role:"listbox",id:this.props.id},this._renderMembers(s),this._renderNonMembers(t)));}});e.exports=r;},null);
__d("AbstractDocumentDecorator",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){"use strict";}g.prototype.getDecorations=function(h){"use strict";throw new Error('Must implement `getDecorations`.');};g.prototype.getComponentForKey=function(h){"use strict";throw new Error('Must implement `getComponentForKey`.');};g.prototype.getPropsForKey=function(h){"use strict";throw new Error('Must implement `getPropsForKey`.');};e.exports=g;},null);
__d("fillArray",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){var j=new Array(h);for(var k=0;k<h;k++)j[k]=i;return j;}e.exports=g;},null);
__d("DocumentCompositeDecorator.Experimental",["AbstractDocumentDecorator","immutable","fillArray"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j='.';for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(p){"use strict";this.$DocumentCompositeDecorator0=p.slice();}m.prototype.getDecorations=function(p){"use strict";var q=i(p.getText().length,null);this.$DocumentCompositeDecorator0.forEach(function(r,s){var t=0,u=r.getStrategy();u(p,function(v,w){if(n(q,v,w)){o(q,v,w,s+j+t);t++;}});});return h.List(q);};m.prototype.getComponentForKey=function(p){"use strict";var q=parseInt(p.split(j),10);return this.$DocumentCompositeDecorator0[q].getComponent();};m.prototype.getPropsForKey=function(p){"use strict";var q=parseInt(p.split(j),10);return this.$DocumentCompositeDecorator0[q].getProps();};function n(p,q,r){for(var s=q;s<r;s++)if(p[s]!=null)return false;return true;}function o(p,q,r,s){for(var t=q;t<r;t++)p[t]=s;}e.exports=m;},null);
__d("DocumentDecorator",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){"use strict";this.$DocumentDecorator0=h;this.$DocumentDecorator1=i;this.$DocumentDecorator2=j||{};}g.prototype.getStrategy=function(){"use strict";return this.$DocumentDecorator0;};g.prototype.getComponent=function(){"use strict";return this.$DocumentDecorator1;};g.prototype.getProps=function(){"use strict";return this.$DocumentDecorator2;};e.exports=g;},null);
__d("DocumentEntityInstance",["ComposedEntityMutability","ComposedEntityType","arrayContains","getObjectValues","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=j(h),m=j(g);function n(o,p,q){"use strict";k(i(l,o));k(i(m,p));this.$DocumentEntityInstance0=o;this.$DocumentEntityInstance1=p;this.$DocumentEntityInstance2=q;}n.prototype.getType=function(){"use strict";return this.$DocumentEntityInstance0;};n.prototype.getMutability=function(){"use strict";return this.$DocumentEntityInstance1;};n.prototype.getData=function(){"use strict";return this.$DocumentEntityInstance2;};n.prototype.replaceData=function(o){"use strict";this.$DocumentEntityInstance2=o;};e.exports=n;},null);
__d("DocumentEntity",["DocumentEntityInstance","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={},j=0,k={create:function(l,m,n){return k.add(new g(l,m,n));},add:function(l){i[++j]=l;return j.toString();},get:function(l){var m=i[l];h(!!m);return m;}};e.exports=k;},null);
__d("EmoticonSpan.react",["DocumentEntity","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={smile:"_5uj7",frown:"_5uj8",tongue:"_5uj9",grin:"_5uja",gasp:"_5ujb",wink:"_5ujc",glasses:"_5ujd",sunglasses:"_5ujh",grumpy:"_5uji",unsure:"_5ujj",cry:"_5ujw",devil:"_5ujx",angel:"_5ujy",kiss:"_5ujz",heart:"_5uk7",kiki:"_5ukd",squint:"_5ukg",confused:"_5ukj",confused_rev:"_5ukl",upset:"_5ukp",pacman:"_5ukq",robot:"_5ukr",colonthree:"_5uks",penguin:"_5ukt",putnam:"_5uku",shark:"_5ukv",like:"_5ukw",poop:"_5ukx"},l=h.createClass({displayName:"EmoticonSpan",render:function(){var m=g.get(this.props.entityKey),n=m.getData().type,o=j("_1ty6",k[n]);return (h.createElement("span",{className:o,title:n,"data-offset-key":this.props.offsetKey},h.createElement("span",{className:"_5ukz"},this.props.children)));}});e.exports=l;},null);
__d("HashtagSpan.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g.createClass({displayName:"HashtagSpan",render:function(){return (g.createElement("span",{"data-offset-key":this.props.offsetKey,className:"_5u8n",spellCheck:false},this.props.children));}});e.exports=i;},null);
__d("MentionSpan.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g.createClass({displayName:"MentionSpan",render:function(){return (g.createElement("span",{"data-offset-key":this.props.offsetKey,className:"_5u8u",spellCheck:false},this.props.children));}});e.exports=i;},null);
__d("WeakMentionSpan.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g.createClass({displayName:"WeakMentionSpan",render:function(){return (g.createElement("span",{"data-offset-key":this.props.offsetKey,className:"_whq",spellCheck:false},this.props.children));}});e.exports=i;},null);
__d("getEntityMatcherExperimental",["DocumentEntity"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){j=j||g.get;return function(k,l){k.findEntityRanges(function(m){var n=m.getEntity();return n!==null&&i(j(n));},l);};}e.exports=h;},null);
__d("getHashtagRegex",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){var h='\xc0-\xd6'+'\xd8-\xf6'+'\xf8-\xff'+'\u0100-\u024f'+'\u0253-\u0254'+'\u0256-\u0257'+'\u0259'+'\u025b'+'\u0263'+'\u0268'+'\u026f'+'\u0272'+'\u0289'+'\u028b'+'\u02bb'+'\u0300-\u036f'+'\u1e00-\u1eff',i='\u0400-\u04ff'+'\u0500-\u0527'+'\u2de0-\u2dff'+'\ua640-\ua69f'+'\u0591-\u05bf'+'\u05c1-\u05c2'+'\u05c4-\u05c5'+'\u05c7'+'\u05d0-\u05ea'+'\u05f0-\u05f4'+'\ufb12-\ufb28'+'\ufb2a-\ufb36'+'\ufb38-\ufb3c'+'\ufb3e'+'\ufb40-\ufb41'+'\ufb43-\ufb44'+'\ufb46-\ufb4f'+'\u0610-\u061a'+'\u0620-\u065f'+'\u066e-\u06d3'+'\u06d5-\u06dc'+'\u06de-\u06e8'+'\u06ea-\u06ef'+'\u06fa-\u06fc'+'\u06ff'+'\u0750-\u077f'+'\u08a0'+'\u08a2-\u08ac'+'\u08e4-\u08fe'+'\ufb50-\ufbb1'+'\ufbd3-\ufd3d'+'\ufd50-\ufd8f'+'\ufd92-\ufdc7'+'\ufdf0-\ufdfb'+'\ufe70-\ufe74'+'\ufe76-\ufefc'+'\u200c-\u200c'+'\u0e01-\u0e3a'+'\u0e40-\u0e4e'+'\u1100-\u11ff'+'\u3130-\u3185'+'\uA960-\uA97F'+'\uAC00-\uD7AF'+'\uD7B0-\uD7FF'+'\uFFA1-\uFFDC',j=String.fromCharCode,k='\u30A1-\u30FA\u30FC-\u30FE'+'\uFF66-\uFF9F'+'\uFF10-\uFF19\uFF21-\uFF3A'+'\uFF41-\uFF5A'+'\u3041-\u3096\u3099-\u309E'+'\u3400-\u4DBF'+'\u4E00-\u9FFF'+j(173824)+'-'+j(177983)+j(177984)+'-'+j(178207)+j(194560)+'-'+j(195103)+'\u3003\u3005\u303B',l=h+i+k,m='\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6'+'\u00F8-\u0241\u0250-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EE\u037A\u0386'+'\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03F5\u03F7-\u0481'+'\u048A-\u04CE\u04D0-\u04F9\u0500-\u050F\u0531-\u0556\u0559\u0561-\u0587'+'\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0640-\u064A\u066E-\u066F'+'\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710'+'\u0712-\u072F\u074D-\u076D\u0780-\u07A5\u07B1\u0904-\u0939\u093D\u0950'+'\u0958-\u0961\u097D\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0'+'\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1'+'\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33'+'\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D'+'\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD'+'\u0AD0\u0AE0-\u0AE1\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30'+'\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83'+'\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F'+'\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10'+'\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C'+'\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE'+'\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39'+'\u0D60-\u0D61\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6'+'\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88'+'\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7'+'\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6'+'\u0EDC-\u0EDD\u0F00\u0F40-\u0F47\u0F49-\u0F6A\u0F88-\u0F8B\u1000-\u1021'+'\u1023-\u1027\u1029-\u102A\u1050-\u1055\u10A0-\u10C5\u10D0-\u10FA\u10FC'+'\u1100-\u1159\u115F-\u11A2\u11A8-\u11F9\u1200-\u1248\u124A-\u124D'+'\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0'+'\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310'+'\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C'+'\u166F-\u1676\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711'+'\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7'+'\u17DC\u1820-\u1877\u1880-\u18A8\u1900-\u191C\u1950-\u196D\u1970-\u1974'+'\u1980-\u19A9\u19C1-\u19C7\u1A00-\u1A16\u1D00-\u1DBF\u1E00-\u1E9B'+'\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D'+'\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC'+'\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC'+'\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u2094\u2102\u2107'+'\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D'+'\u212F-\u2131\u2133-\u2139\u213C-\u213F\u2145-\u2149\u2C00-\u2C2E'+'\u2C30-\u2C5E\u2C80-\u2CE4\u2D00-\u2D25\u2D30-\u2D65\u2D6F\u2D80-\u2D96'+'\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6'+'\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3006\u3031-\u3035'+'\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF'+'\u3105-\u312C\u3131-\u318E\u31A0-\u31B7\u31F0-\u31FF\u3400-\u4DB5'+'\u4E00-\u9FBB\uA000-\uA48C\uA800-\uA801\uA803-\uA805\uA807-\uA80A'+'\uA80C-\uA822\uAC00-\uD7A3\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9'+'\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C'+'\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F'+'\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A'+'\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7'+'\uFFDA-\uFFDC',n='\u0300-\u036F\u0483-\u0486\u0591-\u05B9\u05BB-\u05BD\u05BF'+'\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u0615\u064B-\u065E\u0670'+'\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0711\u0730-\u074A'+'\u07A6-\u07B0\u0901-\u0903\u093C\u093E-\u094D\u0951-\u0954\u0962-\u0963'+'\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7-\u09C8\u09CB-\u09CD\u09D7'+'\u09E2-\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D'+'\u0A70-\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD'+'\u0AE2-\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47-\u0B48\u0B4B-\u0B4D'+'\u0B56-\u0B57\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7'+'\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56'+'\u0C82-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5-\u0CD6'+'\u0D02-\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D82-\u0D83'+'\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2-\u0DF3\u0E31\u0E34-\u0E3A'+'\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19'+'\u0F35\u0F37\u0F39\u0F3E-\u0F3F\u0F71-\u0F84\u0F86-\u0F87\u0F90-\u0F97'+'\u0F99-\u0FBC\u0FC6\u102C-\u1032\u1036-\u1039\u1056-\u1059\u135F'+'\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17B6-\u17D3\u17DD'+'\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8-\u19C9'+'\u1A17-\u1A1B\u1DC0-\u1DC3\u20D0-\u20DC\u20E1\u20E5-\u20EB\u302A-\u302F'+'\u3099-\u309A\uA802\uA806\uA80B\uA823-\uA827\uFB1E\uFE00-\uFE0F'+'\uFE20-\uFE23',o='\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF'+'\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F'+'\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29'+'\u1040-\u1049\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9'+'\uFF10-\uFF19',p=m+n+l,q=o+'_',r=p+q,s='['+p+']',t='['+r+']',u='^|$|[^&/'+r+']',v='[#\\uFF03]',w='('+u+')('+v+')('+t+'*'+s+t+'*)';return new RegExp(w,'ig');}e.exports=g;},null);
__d("getHashtagMatchesExperimental",["getHashtagRegex"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g();function i(j,k){var l=j.getText(),m,n,o,p;while((m=h.exec(l))!==null){n=m.index+m[1].length;o=m[2];p=m[3];k(n,n+o.length+p.length);}}e.exports=i;},null);
__d("getMentionsInputDecorator",["ComposedEntityType","DocumentCompositeDecorator.Experimental","DocumentDecorator","EmoticonSpan.react","HashtagSpan.react","MentionSpan.react","WeakMentionSpan.react","getEntityMatcherExperimental","getHashtagMatchesExperimental"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=g.EMOTICON,q=g.MENTION,r;function s(){if(!r)r=new h([new i(n(function(t){var u=t.getData();return t.getType()===q&&u&&u.isWeak;}),m),new i(n(function(t){return t.getType()===q;}),l),new i(n(function(t){return t.getType()===p;}),j),new i(o,k)]);return r;}e.exports=s;},null);
__d("XUFIActorSelectorNuxSeenController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/ufi\/actor_selector\/nux\/seen\/",{is_covered:{type:"Bool",defaultValue:false},is_timeline:{type:"Bool",defaultValue:false}});},null);
__d("UFIActorSelector.react",["ActorSelector.react","Arbiter","AsyncRequest","Parent","React","SubscriptionsHandler","UFICentralUpdates","UFIFeedbackTargets","UFIUserActions","XUFIActorSelectorNuxSeenController","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=k,s=r.PropTypes,t='ufi_actor_selector_nux_disabled_event',u=k.createClass({displayName:"UFIActorSelector",propTypes:{actorIDs:s.array.isRequired,ftEntIdentifier:s.string.isRequired,isTimeline:s.bool,nuxEnabledCovered:s.bool,nuxEnabledUncovered:s.bool,nuxHoverContext:s.object,settingsURI:s.string},getInitialState:function(){var v=j.byClass(this.props.nuxHoverContext,'timelineUnitContainer');return {loading:false,nuxEnabledCovered:this.props.nuxEnabledCovered,nuxEnabledUncovered:this.props.nuxEnabledUncovered,nuxHoverContext:v?v:this.props.nuxHoverContext,selectedActorID:null};},render:function(){return (k.createElement(g,{actorIDs:this.props.actorIDs,coverEnabled:true,loading:this.state.loading,nuxBody:this._getNUXBody(),nuxEnabledCovered:this.state.nuxEnabledCovered,nuxEnabledUncovered:this.state.nuxEnabledUncovered,nuxHoverContext:this.state.nuxHoverContext,onChange:this._onChange,onCompleteNux:this._onCompleteNux,selectedActorID:this.state.selectedActorID,settingsURI:this.props.settingsURI,tooltipConstructor:this._getTooltipForActorName,tooltipConstructorCovered:this._getCoveredTooltip}));},componentDidMount:function(){this._updateSelectedActorIDFromFeedbackTarget();this._subscriptions=new l();this._subscriptions.addSubscriptions(m.subscribe('feedback-updated',function(v,w){if(this.props.ftEntIdentifier in w.updates)this._updateSelectedActorIDFromFeedbackTarget();}.bind(this)),h.subscribe(t,function(){this.setState({nuxEnabledCovered:false,nuxEnabledUncovered:false});}.bind(this)));},componentWillUnmount:function(){this._subscriptions.release();},_updateSelectedActorIDFromFeedbackTarget:function(){n.getFeedbackTarget(this.props.ftEntIdentifier,function(v){this.setState({loading:false,selectedActorID:v.actorforpost});}.bind(this));},_getNUXBody:function(){return (q._("Choose whether to like and comment as yourself or as one of the Pages you manage."));},_getTooltipForActorName:function(v){return (q._("Liking and commenting as {actorName}",[q.param("actorName",v)]));},_getCoveredTooltip:function(){return (q._("Like or comment as one of the Pages you manage."));},_onChange:function(v){this.setState({loading:true});o.changeActor(this.props.ftEntIdentifier,v.value);},_onCompleteNux:function(v){var w=v.isCovered,x=p.getURIBuilder().setBool('is_covered',w).setBool('is_timeline',this.props.isTimeline).getURI();new i().setURI(x).send();h.inform(t);}});e.exports=u;},null);
__d("CharacterMetadata",["ComposedInlineStyle","immutable"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.NONE,k=h.Record({style:j,entity:null});for(var l in k)if(k.hasOwnProperty(l))n[l]=k[l];var m=k===null?null:k.prototype;n.prototype=Object.create(m);n.prototype.constructor=n;n.__superConstructor__=k;function n(){"use strict";if(k!==null)k.apply(this,arguments);}n.prototype.getStyle=function(){"use strict";return this.get('style');};n.prototype.getEntity=function(){"use strict";return this.get('entity');};n.prototype.hasStyle=function(p){"use strict";return !!(this.getStyle()&p);};n.applyStyle=function(p,q){"use strict";return p.set('style',p.getStyle()|q);};n.removeStyle=function(p,q){"use strict";var r=p.set('style',p.getStyle()&(~q));return h.is(r,o)?o:r;};n.applyEntity=function(p,q){"use strict";var r=p.getEntity()===q?p:p.set('entity',q);return h.is(r,o)?o:r;};var o=new n();n.EMPTY=o;e.exports=n;},null);
__d("ContentStateInlineStyle",["CharacterMetadata","immutable"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";var i={add:function(k,l,m){return j(k,l,m,true);},remove:function(k,l,m){return j(k,l,m,false);}};function j(k,l,m,n){var o=k.getBlockMap(),p=l.getStartKey(),q=l.getStartOffset(),r=l.getEndKey(),s=l.getEndOffset(),t=o.skipUntil(function(u,v){return v===p;}).takeUntil(function(u,v){return v===r;}).concat(h.Map([[r,o.get(r)]])).map(function(u,v){var w,x;if(p===r){w=q;x=s;}else{w=v===p?q:0;x=v===r?s:u.getLength();}var y=u.getCharacterList(),z;while(w<x){z=y.get(w);y=y.set(w,n?g.applyStyle(z,m):g.removeStyle(z,m));w++;}return u.set('characterList',y);});return k.merge({blockMap:o.merge(t),selectionBefore:l,selectionAfter:l});}e.exports=i;},null);
__d("DocumentRemovalDirection",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={BACKWARD:0,FORWARD:1};e.exports=g;},null);
__d("applyEntityToContentBlock",["CharacterMetadata"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";function h(i,j,k,l){var m=i.getCharacterList();while(j<k){m=m.set(j,g.applyEntity(m.get(j),l));j++;}return i.set('characterList',m);}e.exports=h;},null);
__d("applyEntityToContentState",["immutable","applyEntityToContentBlock"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";function i(j,k,l){var m=j.getBlockMap(),n=k.getStartKey(),o=k.getStartOffset(),p=k.getEndKey(),q=k.getEndOffset(),r=m.skipUntil(function(s,t){return t===n;}).takeUntil(function(s,t){return t===p;}).merge(g.OrderedMap([[p,m.get(p)]])).map(function(s,t){var u,v;if(n===p){u=o;v=q;}else{u=t===n?o:0;v=t===p?0:s.getLength();}return h(s,u,v,l);});return j.merge({blockMap:m.merge(r),selectionBefore:k,selectionAfter:k});}e.exports=i;},null);
__d("DocumentEntitySegmentsExperimental",["DocumentRemovalDirection"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.FORWARD,i={getRemovalRange:function(j,k,l,m,n){var o=l.split(' ');o=o.map(function(y,z){if(n===h){if(z>0)return ' '+y;}else if(z<o.length-1)return y+' ';return y;});var p=m,q,r,s=null,t=null;for(var u=0;u<o.length;u++){r=o[u];q=p+r.length;if(j<q&&p<k){if(s!==null){t=q;}else{s=p;t=q;}}else if(s!==null)break;p=q;}var v=m+l.length,w=s===m,x=t===v;if((!w&&x)||(w&&!x))if(n===h){if(t!==v)t++;}else if(s!==m)s--;return {start:s,end:t};}};e.exports=i;},null);
__d("checkRangeOverlap",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j,k,l){g(i<=j&&k<=l);return (i<l&&j>k);}e.exports=h;},null);
__d("getRangesForDocumentEntityExperimental",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){var k=[];i.findEntityRanges(function(l){return l.getEntity()===j;},function(l,m){k.push({start:l,end:m});});g(!!k.length);return k;}e.exports=h;},null);
__d("getCharacterRemovalRangeExperimental",["ComposedEntityMutability","DocumentEntity","DocumentEntitySegmentsExperimental","checkRangeOverlap","getRangesForDocumentEntityExperimental","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g.MUTABLE,n=g.IMMUTABLE;function o(p,q,r){var s=q.getStartOffset(),t=q.getEndOffset(),u=p.getEntityAt(s);if(!u)return q;var v=h.get(u),w=v.getMutability();if(w===m)return q;var x=k(p,u).filter(function(aa){return j(s,t,aa.start,aa.end);});l(x.length==1);var y=x[0];if(w===n)return q.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:false});var z=i.getRemovalRange(s,t,p.getText().slice(y.start,y.end),y.start,r);return q.merge({anchorOffset:z.start,focusOffset:z.end,isBackward:false});}e.exports=o;},null);
__d("generateBlockKey",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={},h=Math.pow(2,24);function i(){var j;while(j===(void 0)||g.hasOwnProperty(j)||!isNaN(+j))j=Math.floor(Math.random()*h).toString(32);g[j]=true;return j;}e.exports=i;},null);
__d("findRangesImmutable",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j,k){if(!h.size)return;var l=0;h.reduce(function(m,n,o){if(!i(m,n)){if(j(m))k(l,o);l=o;}return n;});j(h.last())&&k(l,h.count());}e.exports=g;},null);
__d("removeEntitiesAtEdges",["CharacterMetadata","ComposedEntityMutability","DocumentEntity","findRangesImmutable","isEmpty"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h.MUTABLE;function m(p,q){var r=p.getBlockMap(),s={},t=q.getStartKey(),u=q.getStartOffset(),v=r.get(t),w=o(v,u);if(w!==v)s[t]=w;var x=q.getEndKey(),y=q.getEndOffset(),z=r.get(x);if(t===x)z=w;var aa=o(z,y);if(aa!==z)s[x]=aa;if(k(s))return p.set('selectionAfter',q);return p.merge({blockMap:r.merge(s),selectionAfter:q});}function n(p,q,r){var s;j(p,function(t,u){return t.getEntity()===u.getEntity();},function(t){return t.getEntity()===q;},function(t,u){if(t<=r&&u>=r)s={start:t,end:u};});return s;}function o(p,q){var r=p.getCharacterList(),s=q>0?r.get(q-1):undefined,t=q<r.count()?r.get(q):undefined,u=s?s.getEntity():undefined,v=t?t.getEntity():undefined;if(v&&v===u){var w=i.get(v);if(w.getMutability()!==l){var x=n(r,v,q),y=x.start,z=x.end,aa;while(y<z){aa=r.get(y);r=r.set(y,g.applyEntity(aa,null));y++;}return p.set('characterList',r);}}return p;}e.exports=m;},null);
__d("getContentStateFragment",["generateBlockKey","removeEntitiesAtEdges"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";function i(j,k){var l=k.getStartKey(),m=k.getStartOffset(),n=k.getEndKey(),o=k.getEndOffset(),p=h(j,k),q=p.getBlockMap(),r=q.keySeq(),s=r.indexOf(l),t=r.indexOf(n)+1;return q.slice(s,t).map(function(u,v){var w=g(),x=u.getText(),y=u.getCharacterList();if(l===n)return u.merge({key:w,text:x.slice(m,o),characterList:y.slice(m,o)});if(v===l)return u.merge({key:w,text:x.slice(m),characterList:y.slice(m)});if(v===n)return u.merge({key:w,text:x.slice(0,o),characterList:y.slice(0,o)});return u.set('key',w);});}e.exports=i;},null);
__d("createOrderedMapFromBlockArray",["immutable"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){return g.OrderedMap(g.Seq(i).toKeyedSeq().mapKeys(function(j,k){return k.getKey();}));}e.exports=h;},null);
__d("insertIntoList",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";function g(h,i,j){if(j===h.count()){i.forEach(function(k){h=h.push(k);});}else if(j===0){i.reverse().forEach(function(k){h=h.unshift(k);});}else h=h.slice(0,j).concat(i,h.slice(j));return h;}e.exports=g;},null);
__d("insertFragmentIntoContentState",["createOrderedMapFromBlockArray","generateBlockKey","insertIntoList","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();"use strict";function k(l,m,n){j(m.isCollapsed());var o=m.getStartKey(),p=m.getStartOffset(),q=l.getBlockMap(),r=n.size,s,t;if(r===1){var u=q.get(o),v=n.first(),w=u.getText(),x=u.getCharacterList(),y=u.merge({text:(w.slice(0,p)+v.getText()+w.slice(p)),characterList:i(x,v.getCharacterList(),p)});q=q.set(o,y);s=o;t=p+v.getText().length;return l.merge({blockMap:q.set(o,y),selectionBefore:m,selectionAfter:m.merge({anchorKey:s,anchorOffset:t,focusKey:s,focusOffset:t,isBackward:false})});}var z=[];l.getBlockMap().forEach(function(aa,ba){if(ba!==o){z.push(aa);return;}var ca=aa.getText(),da=aa.getCharacterList(),ea=ca.length,fa=ca.slice(0,p),ga=da.slice(0,p),ha=n.first(),ia=aa.merge({text:fa+ha.getText(),characterList:ga.concat(ha.getCharacterList())});z.push(ia);n.slice(1,r-1).forEach(function(na){z.push(na.set('key',h()));});var ja=ca.slice(p,ea),ka=da.slice(p,ea),la=n.last();s=h();var ma=la.merge({key:s,text:la.getText()+ja,characterList:la.getCharacterList().concat(ka)});z.push(ma);});t=n.last().getLength();return l.merge({blockMap:g(z),selectionBefore:m,selectionAfter:m.merge({anchorKey:s,anchorOffset:t,focusKey:s,focusOffset:t,isBackward:false})});}e.exports=k;},null);
__d("insertTextIntoContentState",["immutable","insertIntoList","invariant"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";function j(k,l,m,n){i(l.isCollapsed());var o=m.length;if(!o)return k;var p=k.getBlockMap(),q=l.getStartKey(),r=l.getStartOffset(),s=p.get(q),t=s.getText(),u=s.merge({text:(t.slice(0,r)+m+t.slice(r,s.getLength())),characterList:h(s.getCharacterList(),g.Repeat(n,o),r)}),v=r+o;return k.merge({blockMap:p.set(q,u),selectionAfter:l.merge({anchorOffset:v,focusOffset:v})});}e.exports=j;},null);
__d("removeRangeFromContentState",["immutable"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";function h(j,k){if(k.isCollapsed())return j;var l=j.getBlockMap(),m=k.getStartKey(),n=k.getStartOffset(),o=k.getEndKey(),p=k.getEndOffset(),q=l.get(m),r=l.get(o),s;if(q===r){s=i(q.getCharacterList(),n,p);}else s=q.getCharacterList().slice(0,n).concat(r.getCharacterList().slice(p));var t=q.merge({text:(q.getText().slice(0,n)+r.getText().slice(p)),characterList:s}),u=l.toSeq().skipUntil(function(v,w){return w===m;}).takeUntil(function(v,w){return w===o;}).concat(g.Map([[o,null]])).map(function(v,w){return w===m?t:null;});l=l.merge(u).filter(function(v){return !!v;});return j.merge({blockMap:l,selectionBefore:k,selectionAfter:k.merge({anchorKey:m,anchorOffset:n,focusKey:m,focusOffset:n,isBackward:false})});}function i(j,k,l){if(k===0){while(k<l){j=j.shift();k++;}}else if(l===j.count()){while(l>k){j=j.pop();l--;}}else j=j.slice(0,k).concat(j.slice(l));return j;}e.exports=h;},null);
__d("setBlockTypeForContentState",["immutable"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";function h(i,j,k){var l=j.getStartKey(),m=j.getEndKey(),n=i.getBlockMap(),o=n.toSeq().skipUntil(function(p,q){return q===l;}).takeUntil(function(p,q){return q===m;}).concat(g.Map([[m,n.get(m)]])).map(function(p){return p.set('type',k);});return i.merge({blockMap:n.merge(o),selectionBefore:j,selectionAfter:j});}e.exports=h;},null);
__d("splitBlockInContentState",["generateBlockKey","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";function i(j,k){h(k.isCollapsed());var l=k.getAnchorKey(),m=k.getAnchorOffset(),n=j.getBlockMap(),o=n.get(l),p=o.getText(),q=o.getCharacterList(),r=o.merge({text:p.slice(0,m),characterList:q.slice(0,m)}),s=g(),t=r.merge({key:s,text:p.slice(m),characterList:q.slice(m)}),u=n.toSeq().takeUntil(function(x){return x===o;}),v=n.toSeq().skipUntil(function(x){return x===o;}).rest(),w=u.concat([[r.getKey(),r],[t.getKey(),t]],v).toOrderedMap();return j.merge({blockMap:w,selectionBefore:k,selectionAfter:k.merge({anchorKey:s,anchorOffset:0,focusKey:s,focusOffset:0,isBackward:false})});}e.exports=i;},null);
__d("DocumentModifierExperimental",["CharacterMetadata","ComposedInlineStyle","ContentStateInlineStyle","DocumentRemovalDirection","applyEntityToContentState","getCharacterRemovalRangeExperimental","getContentStateFragment","insertFragmentIntoContentState","insertTextIntoContentState","invariant","removeEntitiesAtEdges","removeRangeFromContentState","setBlockTypeForContentState","splitBlockInContentState"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();"use strict";var u=h.NONE,v={replaceText:function(w,x,y,z,aa){if(z===(void 0))z=u;if(aa===(void 0))aa=null;var ba=q(w,x),ca=r(ba,x),da;if(z===u&&aa===null){da=g.EMPTY;}else da=new g({style:z,entity:aa});return o(ca,ca.getSelectionAfter(),y,da);},insertText:function(w,x,y,z,aa){p(x.isCollapsed());if(z===(void 0))z=u;if(aa===(void 0))aa=null;var ba;if(z===u&&aa===null){ba=g.EMPTY;}else ba=new g({style:z,entity:aa});var ca=q(w,x);return o(ca,ca.getSelectionAfter(),y,ba);},moveText:function(w,x,y){var z=m(w,x),aa=v.removeRange(w,x,j.BACKWARD);return v.replaceWithFragment(aa,y,z);},replaceWithFragment:function(w,x,y){var z=q(w,x),aa=r(z,x);return n(aa,aa.getSelectionAfter(),y);},removeRange:function(w,x,y){if(x.getAnchorKey()===x.getFocusKey()){var z=x.getAnchorKey(),aa=x.getStartOffset(),ba=x.getEndOffset(),ca=w.getBlockForKey(z),da=ca.getEntityAt(aa),ea=ca.getEntityAt(ba-1);if(da&&da===ea){var fa=l(ca,x,y);return r(w,fa);}}var ga=q(w,x);return r(ga,x);},splitBlock:function(w,x){var y=q(w,x),z=r(y,x);return t(z,z.getSelectionAfter());},applyInlineStyle:function(w,x,y){return i.add(w,x,y);},removeInlineStyle:function(w,x,y){return i.remove(w,x,y);},setBlockType:function(w,x,y){return s(w,x,y);},applyEntity:function(w,x,y){var z=q(w,x);return k(z,x,y);}};e.exports=v;},null);
__d("EditorChangeType",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=g({UNDO:true,REDO:true,CHANGE_SELECTION:true,INSERT_CHARACTERS:true,BACKSPACE_CHARACTER:true,DELETE_CHARACTER:true,REMOVE_RANGE:true,SPLIT_BLOCK:true,INSERT_FRAGMENT:true,CHANGE_INLINE_STYLE:true,CHANGE_BLOCK_TYPE:true,APPLY_ENTITY:true,RESET_BLOCK:true,ADJUST_DEPTH:true});e.exports=h;},null);
__d("BlockTree",["immutable","emptyFunction","findRangesImmutable"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";var j=g,k=j.List,l=j.Repeat,m=j.Record,n=h.thatReturnsTrue,o='-',p=m({start:null,end:null}),q=m({start:null,end:null,decoratorKey:null,leaves:null}),r={generate:function(u,v){var w=u.getLength();if(!w)return k.of(new q({start:0,end:0,decoratorKey:null,leaves:k.of(new p({start:0,end:0}))}));var x=[],y=v?v.getDecorations(u):k(l(null,w)),z=u.getCharacterList();i(y,t,n,function(aa,ba){x.push(new q({start:aa,end:ba,decoratorKey:y.get(aa),leaves:s(z.slice(aa,ba),aa)}));});return k(x);},getFingerprint:function(u){return u.map(function(v){var w=v.get('decoratorKey'),x=w!==null?w+'.'+(v.get('end')-v.get('start')):'';return ''+x+'.'+v.get('leaves').size;}).join(o);}};function s(u,v){var w=[],x=u.map(function(y){return y.getStyle();});i(x,t,n,function(y,z){w.push(new p({start:y+v,end:z+v}));});return k(w);}function t(u,v){return u===v;}e.exports=r;},null);
__d("EditorState",["BlockTree","ComposedInlineStyle","EditorChangeType","immutable","SelectionState"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=j.Record({allowUndo:true,currentContent:null,decorator:null,forceSelection:false,inCompositionMode:false,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:null,selection:null,treeMap:null,undoStack:null});m.create=function(v){v.treeMap=o(v.currentContent,v.decorator);return new m(new l(v));};m.set=function(v,w){var x=v.getImmutable().withMutations(function(y){var z=y.get('decorator'),aa=z;if(w.decorator===null){aa=null;}else if(w.decorator)aa=w.decorator;var ba=w.currentContent||v.getCurrentContent();if(aa!==z){var ca=y.get('treeMap'),da;if(aa&&z){da=q(ba.getBlockMap(),ca,aa,z);}else da=o(ba,aa);y.merge({decorator:aa,treeMap:da,nativelyRenderedContent:null});return;}var ea=v.getCurrentContent();if(ba!==ea)y.set('treeMap',p(v,ba.getBlockMap(),aa));y.merge(w);});return new m(x);};m.prototype.toJS=function(){return this.getImmutable().toJS();};m.prototype.getAllowUndo=function(){return this.getImmutable().get('allowUndo');};m.prototype.getCurrentContent=function(){return this.getImmutable().get('currentContent');};m.prototype.getUndoStack=function(){return this.getImmutable().get('undoStack');};m.prototype.getRedoStack=function(){return this.getImmutable().get('redoStack');};m.prototype.getSelection=function(){return this.getImmutable().get('selection');};m.prototype.getDecorator=function(){return this.getImmutable().get('decorator');};m.prototype.isInCompositionMode=function(){return this.getImmutable().get('inCompositionMode');};m.prototype.mustForceSelection=function(){return this.getImmutable().get('forceSelection');};m.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get('nativelyRenderedContent');};m.prototype.getLastChangeType=function(){return this.getImmutable().get('lastChangeType');};m.prototype.getInlineStyleOverride=function(){return this.getImmutable().get('inlineStyleOverride');};m.prototype.getCurrentInlineStyle=function(){var v=this.getInlineStyleOverride();if(v!=null)return v;var w=this.getCurrentContent(),x=this.getSelection();if(x.isCollapsed())return s(w,x);return t(w,x);};m.prototype.getBlockTree=function(v){return this.getImmutable().getIn(['treeMap',v]);};m.prototype.isAtDocumentStart=function(){var v=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(v,0,0);};m.prototype.isAtDocumentEnd=function(){var v=this.getCurrentContent(),w=v.getBlockMap(),x=w.last(),y=x.getLength();return this.getSelection().hasEdgeWithin(x.getKey(),y,y);};m.acceptSelection=function(v,w){return n(v,w,false);};m.forceSelection=function(v,w){if(!w.getHasFocus())w=w.set('hasFocus',true);return n(v,w,true);};m.moveSelectionToEnd=function(v){var w=v.getCurrentContent(),x=w.getLastBlock(),y=x.getKey(),z=x.getLength();return m.acceptSelection(v,new k({anchorKey:y,anchorOffset:z,focusKey:y,focusOffset:z,isBackward:false}));};m.moveFocusToEnd=function(v){var w=m.moveSelectionToEnd(v);return m.forceSelection(w,w.getSelection());};m.push=function(v,w,x){if(v.getCurrentContent()===w)return v;var y=x!==i.INSERT_CHARACTERS;if(!v.getAllowUndo())return m.set(v,{currentContent:w,lastChangeType:x,selection:w.getSelectionAfter(),forceSelection:y,inlineStyleOverride:null});var z=v.getSelection(),aa=v.getCurrentContent(),ba=v.getUndoStack(),ca=w;if(z!==aa.getSelectionAfter()||r(v,x)){ba=ba.push(aa);ca=ca.set('selectionBefore',z);}else if(x===i.INSERT_CHARACTERS||x===i.BACKSPACE_CHARACTER||x===i.DELETE_CHARACTER)ca=ca.set('selectionBefore',aa.getSelectionBefore());return m.set(v,{currentContent:ca,undoStack:ba,redoStack:j.Stack(),lastChangeType:x,selection:w.getSelectionAfter(),forceSelection:y,inlineStyleOverride:null});};m.undo=function(v){if(!v.getAllowUndo())return v;var w=v.getUndoStack(),x=w.peek();if(!x)return v;var y=v.getCurrentContent();return m.set(v,{currentContent:x,undoStack:w.shift(),redoStack:v.getRedoStack().push(y),forceSelection:true,inlineStyleOverride:null,lastChangeType:i.UNDO,nativelyRenderedContent:null,selection:y.getSelectionBefore()});};m.redo=function(v){if(!v.getAllowUndo())return v;var w=v.getRedoStack(),x=w.peek();if(!x)return v;var y=v.getCurrentContent();return m.set(v,{currentContent:x,undoStack:v.getUndoStack().push(y),redoStack:w.shift(),forceSelection:true,inlineStyleOverride:null,lastChangeType:i.REDO,nativelyRenderedContent:null,selection:x.getSelectionAfter()});};function m(v){this.$EditorState0=v;}m.prototype.getImmutable=function(){return this.$EditorState0;};function n(v,w,x){return m.set(v,{selection:w,forceSelection:x,nativelyRenderedContent:null,inlineStyleOverride:null});}function o(v,w){return v.getBlockMap().map(function(x){return g.generate(x,w);});}function p(v,w,x){var y=v.getCurrentContent().getBlockMap(),z=v.getImmutable().get('treeMap');return z.merge(w.toSeq().filter(function(aa,ba){return aa!==y.get(ba);}).map(function(aa){return g.generate(aa,x);}));}function q(v,w,x,y){return w.merge(v.toSeq().filter(function(z){return (x.getDecorations(z)!==y.getDecorations(z));}).map(function(z){return g.generate(z,x);}));}function r(v,w){var x=v.getLastChangeType();return (w!==x||(w!==i.INSERT_CHARACTERS&&w!==i.BACKSPACE_CHARACTER&&w!==i.DELETE_CHARACTER));}function s(v,w){var x=w.getStartKey(),y=w.getStartOffset(),z=v.getBlockForKey(x);if(y>0)return z.getInlineStyleAt(y-1);if(z.getLength())return z.getInlineStyleAt(0);return u(v,x);}function t(v,w){var x=w.getStartKey(),y=w.getStartOffset(),z=v.getBlockForKey(x);if(y<z.getLength())return z.getInlineStyleAt(y);if(y>0)return z.getInlineStyleAt(y-1);return u(v,x);}function u(v,w){var x=v.getBlockBefore(w),y;while(x){y=x.getLength();if(y)return x.getInlineStyleAt(y-1);x=v.getBlockBefore(x.getKey());}return h.NONE;}e.exports=m;},null);
__d("AbstractTextEditorPlaceholder.Experimental.react",["EditorState","React","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h,k=j.PropTypes,l=h.createClass({displayName:"AbstractTextEditorPlaceholder",propTypes:{editorState:k.instanceOf(g).isRequired,text:k.string.isRequired},shouldComponentUpdate:function(m,n){if(this.props.text!==m.text)return true;var o=this.props.editorState,p=m.editorState,q=o.getSelection(),r=p.getSelection();return (q.getHasFocus()!==r.getHasFocus());},render:function(){var m=this.props.editorState.getSelection().getHasFocus(),n=(("_5ywb")+(m?' '+"_5ywc":''));return (h.createElement("div",{className:n},h.createElement("div",{className:"_3br6"},this.props.text)));}});e.exports=l;},null);
__d("DocumentCommands",["keyMirror"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g({UNDO:true,REDO:true,DELETE:true,DELETE_WORD:true,BACKSPACE:true,BACKSPACE_WORD:true,BACKSPACE_TO_END_OF_BLOCK:true,BOLD:true,ITALIC:true,UNDERLINE:true,CODE:true,INSERT_BLOCK_DELIMITER:true,TRANSPOSE_CHARACTERS:true,MOVE_SELECTION_TO_START_OF_BLOCK:true,MOVE_SELECTION_TO_END_OF_BLOCK:true,SECONDARY_CUT:true,SECONDARY_PASTE:true});e.exports=h;},null);
__d("getDefaultKeyBinding",["DocumentCommands","Keys","UserAgent"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";var j=i.isPlatform('Mac OS X'),k=i.isPlatform('Windows'),l=i.isBrowser('Firefox'),m=j&&l&&l<29;function n(u){return u.ctrlKey&&!u.altKey;}function o(u){return j?(u.metaKey&&!u.altKey):n(u);}function p(u){return (j&&u.altKey)||n(u);}function q(u){if(o(u))return u.shiftKey?g.REDO:g.UNDO;}function r(u){if(k&&u.shiftKey)return null;return p(u)?g.DELETE_WORD:g.DELETE;}function s(u){if(o(u)&&j)return g.BACKSPACE_TO_END_OF_BLOCK;return p(u)?g.BACKSPACE_WORD:g.BACKSPACE;}function t(u){switch(u.keyCode){case 66:return o(u)?g.BOLD:null;case 68:return n(u)?g.DELETE:null;case 72:return n(u)?g.BACKSPACE:null;case 73:return o(u)?g.ITALIC:null;case 74:return o(u)?g.CODE:null;case 75:if(!k&&n(u))return g.SECONDARY_CUT;return null;case 79:return n(u)?g.INSERT_BLOCK_DELIMITER:null;case 84:return j&&n(u)?g.TRANSPOSE_CHARACTERS:null;case 85:if(j&&n(u))return g.BACKSPACE_TO_END_OF_BLOCK;return o(u)?g.UNDERLINE:null;case 87:return j&&n(u)?g.BACKSPACE_WORD:null;case 89:if(n(u))return k?g.REDO:g.SECONDARY_PASTE;return null;case 90:return q(u)||null;case h.DELETE:return r(u);case h.BACKSPACE:return s(u);case h.LEFT:return (m&&o(u)?g.MOVE_SELECTION_TO_START_OF_BLOCK:null);case h.RIGHT:return (m&&o(u)?g.MOVE_SELECTION_TO_END_OF_BLOCK:null);default:return null;}}e.exports=t;},null);
__d("AbstractTextEditorProps.Experimental",["EditorState","React","emptyFunction","getDefaultKeyBinding"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=h,l=k.PropTypes,m=i.thatReturns(''),n=i.thatReturns(null),o={propTypes:{editorState:l.instanceOf(g).isRequired,placeholder:l.string,textAlignment:l.oneOf(['left','center','right']),blockRendererFn:l.func,blockStyleFn:l.func,inlineStyleFn:l.func,keyBindingFn:l.func,readOnly:l.bool,spellCheck:l.bool,stripPastedStyles:l.bool,handleReturn:l.func,handleKeyCommand:l.func,handleBeforeInput:l.func,handlePastedFiles:l.func,onEscape:l.func,onTab:l.func,onUpArrow:l.func,onDownArrow:l.func,onPasteRawText:l.func,onBlur:l.func,onFocus:l.func},getDefaultProps:function(){return {blockRendererFn:n,blockStyleFn:m,inlineStyleFn:m,keyBindingFn:j,readOnly:false,spellCheck:false,stripPastedStyles:false};}};e.exports=o;},null);
__d("isSelectionAtLeafStartExperimental",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";function g(h){var i=h.getSelection(),j=i.getAnchorKey(),k=h.getBlockTree(j),l=i.getStartOffset(),m=false;k.some(function(n){if(l===n.get('start')){m=true;return true;}if(l<n.get('end'))return n.get('leaves').some(function(o){var p=o.get('start');if(l===p){m=true;return true;}if(l<p)return false;});});return m;}e.exports=g;},null);
__d("TextEditorCompositionHandler.Experimental",["ComposedInlineStyle","DocumentModifierExperimental","EditorChangeType","EditorState","Keys","isSelectionAtLeafStartExperimental"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g.NONE,n=20,o={onBeforeInput:function(p){this._textInputData=(this._textInputData||'')+p.data;},onCompositionStart:function(){this._stillComposing=true;},onCompositionEnd:function(p){this._resolved=false;this._stillComposing=false;setTimeout(function(){if(!this._resolved)o.resolveComposition.call(this);}.bind(this),n);},onKeyDown:function(p){if(p.which===k.RIGHT||p.which===k.LEFT)p.preventDefault();},onKeyPress:function(p){if(p.which===k.RETURN)p.preventDefault();},resolveComposition:function(){if(this._stillComposing)return;this._resolved=true;var p=this._textInputData;this._textInputData='';var q=j.set(this.props.editorState,{inCompositionMode:false}),r=!p||l(q);if(r)this.restoreEditorDOM();this.exitCurrentMode();this.removeRenderGuard();if(p){var s=h.replaceText(q.getCurrentContent(),q.getSelection(),p,m,null);this.update(j.push(q,s,i.INSERT_CHARACTERS));return;}if(r)this.update(j.set(q,{nativelyRenderedContent:null,forceSelection:true}));}};e.exports=o;},null);
__d("DocumentOffsetKey",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g='-',h={encode:function(i,j,k){return i+g+j+g+k;},decode:function(i){var j=i.split(g),k=j[0],l=j[1],m=j[2];return {blockKey:k,decoratorKey:parseInt(l,10),leafKey:parseInt(m,10)};}};e.exports=h;},null);
__d("ElementForBlockType",["ComposedBlockType"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={getElement:function(i){switch(i){case g.HEADER_ONE:return 'h2';case g.HEADER_TWO:return 'h3';case g.UNORDERED_LIST_ITEM:case g.ORDERED_LIST_ITEM:return 'li';case g.BLOCKQUOTE:return 'blockquote';case g.MEDIA:return 'figure';default:return 'div';}},getWrapperElement:function(i){switch(i){case g.UNORDERED_LIST_ITEM:case g.ORDERED_LIST_ITEM:return 'ul';case g.CODE:return 'pre';default:return null;}}};e.exports=h;},null);
__d("ContentBlock",["ComposedBlockType","ComposedInlineStyle","immutable","findRangesImmutable"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();"use strict";var k=g.UNSTYLED,l=h.NONE,m=i.Record({key:null,type:k,text:'',characterList:i.List(),depth:0});for(var n in m)if(m.hasOwnProperty(n))p[n]=m[n];var o=m===null?null:m.prototype;p.prototype=Object.create(o);p.prototype.constructor=p;p.__superConstructor__=m;function p(){if(m!==null)m.apply(this,arguments);}p.prototype.getKey=function(){return this.get('key');};p.prototype.getType=function(){return this.get('type');};p.prototype.getText=function(){return this.get('text');};p.prototype.getCharacterList=function(){return this.get('characterList');};p.prototype.getLength=function(){return this.getText().length;};p.prototype.getDepth=function(){return this.get('depth');};p.prototype.getInlineStyleAt=function(s){var t=this.getCharacterList().get(s);return t?t.getStyle():l;};p.prototype.getEntityAt=function(s){var t=this.getCharacterList().get(s);return t?t.getEntity():null;};p.prototype.findStyleRanges=function(s,t){j(this.getCharacterList(),q,s,t);};p.prototype.findEntityRanges=function(s,t){j(this.getCharacterList(),r,s,t);};p.prototype.getInlineStyles=function(){return this.getCharacterList().map(function(s){return s.getStyle();});};p.prototype.getEntities=function(){return this.getCharacterList().map(function(s){return s.getEntity();});};function q(s,t){return s.getStyle()===t.getStyle();}function r(s,t){return s.getEntity()===t.getEntity();}e.exports=p;},null);
__d("DocumentCharacters",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={BLOCK_DELIMITER:'\u000D',SOFT_NEWLINE:'\u000A',PHOTO:'\ud83d\udcf7',VIDEO:'\ud83d\udcf9'};e.exports=g;},null);
__d("TextEditorTextNode.react",["React","UserAgent_DEPRECATED","getTextContentAccessor"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";var j=h.ie()<=11,k=i();function l(p){return j?p[k]==='\n':p.tagName==='BR';}var m=j?g.createElement("span",{key:"A"},'\n'):g.createElement("br",{key:"A"}),n=j?g.createElement("span",{key:"B"},'\n'):g.createElement("br",{key:"B"}),o=g.createClass({displayName:"TextEditorTextNode",shouldComponentUpdate:function(p){var q=g.findDOMNode(this),r=p.children==='';if(r)return !l(q);return q[k]!==p.children;},componentWillUpdate:function(){this.forceFlag=!this.forceFlag;},render:function(){if(this.props.children==='')return this.forceFlag?m:n;return g.createElement("span",{key:this.forceFlag?'A':'B'},this.props.children);}});e.exports=o;},null);
__d("DocumentStringKey",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={stringify:function(h){return '_'+h;},unstringify:function(h){return h.slice(1);}};e.exports=g;},null);
__d("findRanges",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){var k=0,l=0,m;for(var n=0;n<h.length;n++){l++;m=h[n];if(m!==h[n+1]){if(i(m))j(k,l);k=l;}}}e.exports=g;},null);
__d("encodeEntityRanges",["DocumentStringKey","UnicodeUtils","findRanges"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h,k=j.strlen;function l(m,n,o){var p=[];i(n,function(q){return typeof q=='string';},function(q,r){var s=n[q];p.push({offset:k(m.slice(0,q)),length:k(m.slice(q,r)),key:Number(o[g.stringify(s)])});});return p;}e.exports=l;},null);
__d("encodeInlineStyleRanges",["ComposedInlineStyle","UnicodeUtils","findRanges","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=[];function l(n,o,p){var q=[],r=o.map(function(s){return s&p;});i(r,function(s){return !!s;},function(s,t){q.push({offset:h.strlen(n.slice(0,s)),length:h.strlen(n.slice(s,t)),style:p});});return q;}function m(n,o){var p=j(g).filter(function(q){return !!q;});return Array.prototype.concat.apply(k,p.map(function(q){return l(n,o,q);}));}e.exports=m;},null);
__d("encodeBlocksExperimental",["DocumentEntity","DocumentStringKey","encodeEntityRanges","encodeInlineStyleRanges","isEmpty","mapObject"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n){var o=n.getBlockMap(),p=0,q={},r=[];o.forEach(function(u,v){u.findEntityRanges(function(z){return z.getEntity()!==null;},function(z,aa){var ba=h.stringify(u.getEntityAt(z));if(!q.hasOwnProperty(ba))q[ba]=''+(p++);});var w=u.getInlineStyles().toArray(),x=u.getEntities().toArray(),y=u.getText();r.push({key:v,text:y,type:u.getType(),depth:u.getDepth(),inlineStyleRanges:j(y,w),entityRanges:i(y,x,q)});});var s=Object.keys(q),t={};s.forEach(function(u,v){var w=g.get(h.unstringify(u)),x=null,y=null,z=w.getData();if(z){x=z.id||null;y=l(z,function(aa){return ''+aa;});delete y.id;}t[v]={id:x,type:w.getType(),data:k(y)?(void 0):y};});return {entityMap:t,blocks:r};}e.exports=m;},null);
__d("TextEditorBanzai",["BanzaiScuba","containsNode","encodeBlocksExperimental"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=3,k={logSetSelectionError:function(q,r){var s=n();s.addNormal('error_type','setSelection');var t=r,u=t[0],v=t[1],w=t[2],x=t[3],y=t[4];s.addNormal('selection_state',u.serialize());var z=l(v);s.addNormal('node_html',z);s.addNormal('selection_params','Key: '+w+', Start: '+x+', End: '+y);s.addNormal('error_text',q.message);s.post();},logGetSelectionError:function(q,r){var s=n();s.addNormal('error_type','getSelection');var t=r,u=t[0],v=t[1],w=u.getCurrentContent(),x=i(w),y=x.blocks;y.forEach(function(ca){ca.length=ca.text.length;delete ca.text;});var z=u.getSelection();s.addNormal('content_state',JSON.stringify(y));s.addNormal('selection_state',z.serialize());s.addNormal('error_text',q.message);var aa=l(v);s.addNormal('node_html',aa);var ba=o(v);s.addNormal('dom_selection',ba);s.post();}};function l(q){if(!q)return '[empty]';var r=m(q);return r.nodeType===j?r.textContent:r.innerHTML;}function m(q){if(q.nodeType===j){var r=q.textContent.length;return document.createTextNode('[text '+r+']');}var s=q.cloneNode(),t=q.childNodes;for(var u=0;u<t.length;u++)s.appendChild(m(t[u]));return s;}function n(){return new g('text_editor_error_log',null,{addBrowserFields:true});}function o(q){if(!a.getSelection)return '[not available]';var r=a.getSelection(),s=r.anchorNode,t=r.anchorOffset,u=r.focusNode,v=r.focusOffset;s=p(s,q);u=p(u,q);return JSON.stringify({anchorNode:s,anchorOffset:t,focusNode:u,focusOffset:v});}function p(q,r){if(!q)return '[none]';if(!h(r,q))return '[outside root]';return l(q);}e.exports=k;},null);
__d("setDocumentSelectionExperimental",["ErrorUtils","TextEditorBanzai","containsNode"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";function j(n,o,p,q,r){var s=[n,o,p,q,r];return g.applyWithGuard(k,null,s,function(t){return h.logSetSelectionError(t,s);},'TextEditor:setSelection');}function k(n,o,p,q,r){if(!i(document.documentElement,o))return;var s=a.getSelection(),t=n.getAnchorKey(),u=n.getAnchorOffset(),v=n.getFocusKey(),w=n.getFocusOffset(),x=n.getIsBackward();if(!s.extend&&x){var y=t,z=u;t=v;u=w;v=y;w=z;x=false;}var aa=(t===p&&q<=u&&r>=u),ba=(v===p&&q<=w&&r>=w);if(aa&&ba){s.removeAllRanges();m(s,o,u-q);l(s,o,w-q);return;}if(!x){if(aa){s.removeAllRanges();m(s,o,u-q);}if(ba)l(s,o,w-q);}else{if(ba){s.removeAllRanges();m(s,o,w-q);}if(aa){var ca=s.focusNode,da=s.focusOffset;s.removeAllRanges();m(s,o,u-q);l(s,ca,da);}}}function l(n,o,p){if(n.extend){n.extend(o,p);}else{var q=n.getRangeAt(0);q.setEnd(o,p);n.addRange(q.cloneRange());}}function m(n,o,p){var q=document.createRange();q.setStart(o,p);n.addRange(q);}e.exports=j;},null);
__d("TextEditorLeaf.Experimental.react",["DocumentCharacters","React","SelectionState","TextEditorTextNode.react","setDocumentSelectionExperimental"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=h,m=l.PropTypes,n=g.SOFT_NEWLINE,o=3,p=h.createClass({displayName:"TextEditorLeaf",propTypes:{selection:m.instanceOf(i),start:m.number.isRequired,blockKey:m.string.isRequired,text:m.string.isRequired,style:m.number,inlineStyleFn:m.func.isRequired,isLast:m.bool.isRequired},_setSelection:function(){var q=this.props.selection;if(q==null||!q.getHasFocus())return;var r=this.props.start,s=r+this.props.text.length,t=this.props.blockKey;if(!q.hasEdgeWithin(t,r,s))return;var u=h.findDOMNode(this),v=u.firstChild,w;if(v.nodeType===o){w=v;}else if(v.tagName==='BR'){w=u;}else w=v.firstChild;k(q,w,t,r,s);},shouldComponentUpdate:function(q){return (h.findDOMNode(this.refs.leaf).textContent!==q.text||q.forceSelection);},componentDidUpdate:function(){this._setSelection();},componentDidMount:function(){this._setSelection();},render:function(){var q=this.props.text;if(q.endsWith(n)&&this.props.isLast)q+=n;var r;if(this.props.style)r=this.props.inlineStyleFn(this.props.style);return (h.createElement("span",{"data-offset-key":this.props.offsetKey,className:r,ref:"leaf"},h.createElement(j,null,q)));}});e.exports=p;},null);
__d("getScrollPosition",["getDocumentScrollElement","getUnboundedScrollPosition"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";function i(j){var k=g();if(j===window)j=k;var l=h(j),m=j===k?document.documentElement:j,n=j.scrollWidth-m.clientWidth,o=j.scrollHeight-m.clientHeight;l.x=Math.max(0,Math.min(l.x,n));l.y=Math.max(0,Math.min(l.y,o));return l;}e.exports=i;},null);
__d("TextEditorBlock.Experimental.react",["AbstractDocumentDecorator","ContentBlock","DocumentOffsetKey","ElementForBlockType","React","SelectionState","Style","TextEditorLeaf.Experimental.react","UnicodeBidiDirection","cx","getElementPosition","getScrollPosition","getViewportDimensions","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();var u=k,v=u.PropTypes,w=o.LTR,x=o.RTL,y=10,z=k.createClass({displayName:"TextEditorBlock",propTypes:{block:v.instanceOf(h).isRequired,tree:v.object.isRequired,selection:v.instanceOf(l).isRequired,decorator:v.instanceOf(g),forceSelection:v.bool.isRequired,direction:v.string.isRequired,blockProps:v.object,startIndent:v.bool,blockStyleFn:v.func.isRequired,inlineStyleFn:v.func.isRequired},shouldComponentUpdate:function(ba){return (this.props.block!==ba.block||this.props.tree!==ba.tree||this.props.direction!==ba.direction||(aa(ba.selection,ba.block.getKey())&&ba.forceSelection));},componentDidMount:function(){var ba=this.props.selection,ca=ba.getEndKey();if(!ba.getHasFocus()||ca!==this.props.block.getKey())return;var da=k.findDOMNode(this),ea=m.getScrollParent(da),fa=r(ea),ga;if(ea===window){var ha=q(da),ia=ha.y+ha.height,ja=s().height;ga=ia-ja;if(ga>0)window.scrollTo(fa.x,fa.y+ga+y);}else{var ka=da.offsetHeight+da.offsetTop,la=ea.offsetHeight+fa.y;ga=ka-la;if(ga>0)ea.scrollTop+=ga+y;}},_renderChildren:function(){var ba=this.props.block,ca=ba.getKey(),da=ba.getText(),ea=this.props.tree.size-1,fa=aa(this.props.selection,ca);return this.props.tree.map(function(ga,ha){var ia=ga.get('leaves'),ja=ia.size-1,ka=ia.map(function(pa,qa){var ra=i.encode(ca,ha,qa),sa=pa.get('start'),ta=pa.get('end');return (k.createElement(n,{key:ra,offsetKey:ra,blockKey:ca,start:sa,selection:fa?this.props.selection:null,forceSelection:this.props.forceSelection,text:da.slice(sa,ta),style:ba.getInlineStyleAt(sa),inlineStyleFn:this.props.inlineStyleFn,isLast:ha===ea&&qa===ja}));}.bind(this)).toArray(),la=ga.get('decoratorKey');if(la==null)return ka;var ma=this.props.decorator.getComponentForKey(la);if(!ma)return ka;var na=this.props.decorator.getPropsForKey(la),oa=i.encode(ca,ha,0);return (k.createElement(ma,k.__spread({},na,{key:oa,entityKey:ba.getEntityAt(ga.get('start')),offsetKey:oa}),ka));}.bind(this)).toArray();},render:function(){var ba=this.props.block,ca=ba.getKey(),da=ba.getDepth(),ea=j.getElement(ba.getType()),fa=t(this.props.blockStyleFn(ba.getType()),(("_209g")+(this.props.direction===w?' '+"_2vxa":'')+(this.props.direction===x?' '+"_2vxb":'')));if(ea==='li'){var ga=this.props.startIndent;fa=t(fa,((ga&&da===0?"_2yj9":'')+(ga&&da===1?' '+"_2yja":'')+(ga&&da===2?' '+"_2yjb":'')+(ga&&da===3?' '+"_2yje":'')+(ga&&da===4?' '+"_2yjf":'')+(da===0?' '+"_2yjg":'')+(da===1?' '+"_2yjh":'')+(da===2?' '+"_2yji":'')+(da===3?' '+"_2yjj":'')+(da===4?' '+"_2yjn":'')));}var ha=Object.assign({'data-block':true,'data-offset-key':i.encode(ca,0,0),className:fa},this.props.blockProps);return (k.createElement(ea,k.__spread({},ha),this._renderChildren()));}});function aa(ba,ca){return (ba.getAnchorKey()===ca||ba.getFocusKey()===ca);}e.exports=z;},null);
__d("UnicodeBidiService",["Locale","UnicodeBidi","UnicodeBidiDirection","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();"use strict";function k(l){if(!l)l=g.getDirection();j(i.isStrong(l));this.defaultDir=l;this.reset();}k.prototype.reset=function(){this.lastDir=this.defaultDir;};k.prototype.getDirection=function(l){this.lastDir=h.getDirection(l,this.lastDir);return this.lastDir;};e.exports=k;},null);
__d("TextEditorContents.react",["DocumentOffsetKey","EditorState","ElementForBlockType","React","TextEditorBlock.Experimental.react","UnicodeBidiService","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();"use strict";var n=j,o=n.PropTypes,p=j.createClass({displayName:"TextEditorContents",propTypes:{bidiService:o.instanceOf(l).isRequired,blockRendererFn:o.func,blockStyleFn:o.func.isRequired,editorState:o.instanceOf(h).isRequired,inlineStyleFn:o.func.isRequired},shouldComponentUpdate:function(r){var s=this.props.editorState,t=r.editorState,u=s.getSelection().getHasFocus(),v=t.getSelection().getHasFocus();if(u!==v)return true;var w=t.getNativelyRenderedContent(),x=s.isInCompositionMode(),y=t.isInCompositionMode();if(s===t||(w!==null&&t.getCurrentContent()===w)||(x&&y))return false;var z=s.getCurrentContent(),aa=t.getCurrentContent(),ba=s.getDecorator(),ca=t.getDecorator();return (x!==y||z!==aa||ba!==ca||t.mustForceSelection());},render:function(){var r=this.props.editorState,s=r.getCurrentContent(),t=r.getSelection(),u=r.mustForceSelection(),v=s.getBlocksAsArray(),w=[],x=null,y=null,z=null,aa,ba,ca,da,ea,fa,ga,ha;for(var ia=0;ia<v.length;ia++){ca=v[ia];da=ca.getKey();ea=ca.getText();fa=ca.getType();var ja=this.props.blockRendererFn(ca)||q,ka=ja.component,la=ja.props;aa=ka;ga=j.createElement(aa,{key:da,tree:r.getBlockTree(da),decorator:r.getDecorator(),block:ca,selection:t,forceSelection:u,direction:this.props.bidiService.getDirection(ea),blockProps:la,startIndent:z===null||ca.getDepth()>z,blockStyleFn:this.props.blockStyleFn,inlineStyleFn:this.props.inlineStyleFn});ha=i.getWrapperElement(fa);if(ha){if(y!==ha){ba=[];x=j.createElement(ha,{className:"_4noe",key:da+'-wrap',"data-offset-key":g.encode(da,0,0)},ba);y=ha;w.push(x);}z=ca.getDepth();ba.push(ga);}else{ba=null;x=null;y=null;z=null;w.push(ga);}}return j.createElement("div",{"data-contents":"true"},w);}}),q={component:k,props:null};e.exports=p;},null);
__d("PhotosMimeType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";if(this instanceof g===false)return new g(h);this.$PhotosMimeType0=h.split('/');}g.prototype.isImage=function(){"use strict";return this.$PhotosMimeType0[0]==='image';};g.prototype.isJpeg=function(){"use strict";return this.isImage()&&(this.$PhotosMimeType0[1]==='jpeg'||this.$PhotosMimeType0[1]==='pjpeg');};e.exports=g;},null);
__d("DataTransfer",["PhotosMimeType","createArrayFromMixed","emptyFunction"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=new RegExp('\u000D\u000A','g'),k='\u000A',l={'text/rtf':1,'text/html':1};function m(o){if(o.kind=='file')return o.getAsFile();}function n(o){"use strict";this.data=o;this.types=o.types?h(o.types):[];}n.prototype.isRichText=function(){"use strict";return this.types.some(function(o){return l[o];});};n.prototype.getText=function(){"use strict";var o;if(this.data.getData)if(!this.types.length){o=this.data.getData('Text');}else if(this.types.indexOf('text/plain')!=-1)o=this.data.getData('text/plain');return o?o.replace(j,k):null;};n.prototype.getHTML=function(){"use strict";if(this.data.getData)if(!this.types.length){return this.data.getData('Text');}else if(this.types.indexOf('text/html')!=-1)return this.data.getData('text/html');};n.prototype.isLink=function(){"use strict";return this.types.some(function(o){return o.indexOf('url')!=-1||o.indexOf('text/uri-list')!=-1;});};n.prototype.isImage=function(){"use strict";var o=this.types.some(function(s){return s.indexOf('application/x-moz-file')!=-1;});if(o)return true;var p=this.getFiles();for(var q=0;q<p.length;q++){var r=p[q].type;if(!g(r).isImage())return false;}return true;};n.prototype.getCount=function(){"use strict";if(this.data.hasOwnProperty('items')){return this.data.items.length;}else if(this.data.hasOwnProperty('mozItemCount')){return this.data.mozItemCount;}else if(this.data.files)return this.data.files.length;return null;};n.prototype.getFiles=function(){"use strict";if(this.data.items){return Array.prototype.slice.call(this.data.items).map(m).filter(i.thatReturnsArgument);}else if(this.data.files){return Array.prototype.slice.call(this.data.files);}else return [];};n.prototype.hasFiles=function(){"use strict";return this.getFiles().length>0;};e.exports=n;},null);
__d("TokenizeUtil",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=/[ ]+/g,h=/[^ ]+/g,i=new RegExp(j(),'g');function j(){return '[.,+*?$|#{}()\'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;'+'\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f'+'\uff3b-\uff40\uff5b-\uff65\u2E2E\u061f\u066a-\u066c\u061b\u060c\u060d'+'\uFD3e\uFD3F\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e'+'\u00a1-\u00b1\u00b4-\u00b8\u00ba\u00bb\u00bf]';}var k={},l={a:"\u0430 \u00e0 \u00e1 \u00e2 \u00e3 \u00e4 \u00e5 \u0101",b:"\u0431",c:"\u0446 \u00e7 \u010d",d:"\u0434 \u00f0 \u010f \u0111",e:"\u044d \u0435 \u00e8 \u00e9 \u00ea \u00eb \u011b \u0113",f:"\u0444",g:"\u0433 \u011f \u0123",h:"\u0445 \u0127",i:"\u0438 \u00ec \u00ed \u00ee \u00ef \u0131 \u012b",j:"\u0439",k:"\u043a \u0138 \u0137",l:"\u043b \u013e \u013a \u0140 \u0142 \u013c",m:"\u043c",n:"\u043d \u00f1 \u0148 \u0149 \u014b \u0146",o:"\u043e \u00f8 \u00f6 \u00f5 \u00f4 \u00f3 \u00f2",p:"\u043f",r:"\u0440 \u0159 \u0155",s:"\u0441 \u015f \u0161 \u017f",t:"\u0442 \u0165 \u0167 \u00fe",u:"\u0443 \u044e \u00fc \u00fb \u00fa \u00f9 \u016f \u016b",v:"\u0432",y:"\u044b \u00ff \u00fd",z:"\u0437 \u017e",ae:"\u00e6",oe:"\u0153",ts:"\u0446",ch:"\u0447",ij:"\u0133",sh:"\u0448",ss:"\u00df",ya:"\u044f"};for(var m in l){var n=l[m].split(' ');for(var o=0;o<n.length;o++)k[n[o]]=m;}var p={};function q(w){return w?w.replace(i,' '):'';}function r(w){w=w.toLowerCase();var x='',y='';for(var z=w.length;z--;){y=w.charAt(z);x=(k[y]||y)+x;}return x.replace(g,' ');}function s(w){var x=[],y=h.exec(w);while(y){y=y[0];x.push(y);y=h.exec(w);}return x;}function t(w,x){if(!p.hasOwnProperty(w)){var y=r(w),z=q(y);p[w]={value:w,flatValue:y,tokens:s(z),isPrefixQuery:z&&z[z.length-1]!=' '};}if(x&&typeof p[w].sortedTokens=='undefined'){p[w].sortedTokens=p[w].tokens.slice();p[w].sortedTokens.sort(function(aa,ba){return ba.length-aa.length;});}return p[w];}function u(w,x,y){var z=t(x,w=='prefix'),aa=w=='prefix'?z.sortedTokens:z.tokens,ba=t(y).tokens,ca={},da=z.isPrefixQuery&&w=='query'?aa.length-1:null,ea=function(fa,ga){for(var ha=0;ha<ba.length;++ha){var ia=ba[ha];if(!ca[ha]&&(ia==fa||((w=='query'&&ga===da||w=='prefix')&&ia.indexOf(fa)===0)))return (ca[ha]=true);}return false;};return Boolean(aa.length&&aa.every(ea));}var v={flatten:r,parse:t,getPunctuation:j,isExactMatch:u.bind(null,'exact'),isQueryMatch:u.bind(null,'query'),isPrefixMatch:u.bind(null,'prefix'),tokenize:s};e.exports=v;},null);
__d("DocumentRemovableWord",["TokenizeUtil"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.getPunctuation();h=h.replace("\'","").slice(1,-1);var i='\\s'+h,j='^('+'['+i+']*'+'[^'+i+']+'+'|['+i+']+'+')',k=new RegExp(j),l='('+'[^'+i+']+'+'['+i+']*'+'|['+i+']+'+')$',m=new RegExp(l);function n(p,q){var r=q?m.exec(p):k.exec(p);return r?r[0]:null;}var o={getBackward:function(p){return n(p,true);},getForward:function(p){return n(p,false);}};e.exports=o;},null);
__d("TextEditorModes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={EDIT:0,COMPOSITE:1,DRAG:2,RENDER:3,CUT:4};e.exports=g;},null);
__d("getSafeBodyFromHTML",["UserAgent"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.isBrowser('IE <= 9');function i(j){var k,l=null;if(!h&&document.implementation&&document.implementation.createHTMLDocument){k=document.implementation.createHTMLDocument('foo');k.documentElement.innerHTML=j;l=k.getElementsByTagName('body')[0];}return l;}e.exports=i;},null);
__d("TextEditorPasteHandler",["CharacterMetadata","ComposedBlockType","ComposedInlineStyle","ContentBlock","DocumentCharacters","immutable","arrayContains","fillArray","generateBlockKey","getSafeBodyFromHTML"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=h,r=q.UNSTYLED,s=i,t=s.BOLD,u=s.ITALIC,v=s.UNDERLINE,w=s.NONE,x=g,y=x.EMPTY,z=k,aa=z.BLOCK_DELIMITER,ba=z.SOFT_NEWLINE,ca=l,da=ca.List,ea=ca.Repeat,fa='&nbsp;',ga=' ',ha=new RegExp(aa,'g'),ia=new RegExp(ba,'g'),ja=new RegExp(fa,'g'),ka=['p','h1','h2','h3','li','blockquote','pre'],la={strong:t,b:t,em:u,i:u,u:v};function ma(){return {text:'',inlines:[],blocks:[]};}function na(){return {text:ga,inlines:[w],blocks:[]};}function oa(){return {text:ba,inlines:[w],blocks:[]};}function pa(xa){return {text:aa,inlines:[w],blocks:[xa]};}function qa(xa,ya){switch(xa){case 'h1':return h.HEADER_ONE;case 'h2':return h.HEADER_TWO;case 'li':if(ya==='ol')return h.ORDERED_LIST_ITEM;return h.UNORDERED_LIST_ITEM;case 'blockquote':return h.BLOCKQUOTE;case 'pre':return h.CODE;default:return h.UNSTYLED;}}function ra(xa,ya,za){var ab=la[xa];if(ab){za|=ab;}else if(ya.style){za|=ya.style.fontWeight==='bold'?t:0;za|=ya.style.fontStyle==='italic'?u:0;za|=ya.style.textDecoration==='underline'?v:0;}return za;}function sa(xa,ya){if(xa.text.slice(-1)===aa&&ya.text.slice(0,1)===aa){xa.text=xa.text.slice(0,-1);xa.inlines.pop();xa.blocks.pop();}if(xa.text.slice(-1)===aa&&(ya.text===ga||ya.text===ba))return xa;return {text:xa.text+ya.text,inlines:xa.inlines.concat(ya.inlines),blocks:xa.blocks.concat(ya.blocks)};}function ta(xa){return ka.some(function(ya){return xa.indexOf('<'+ya)!==-1;});}function ua(xa,ya,za,ab,bb){var cb=xa.nodeName.toLowerCase(),db=false;if(cb==="#text"){var eb=xa.textContent;if(eb.trim()===''&&ab!=='pre')return na();if(ab!=='pre')eb=eb.replace(ia,ga);return {text:eb,inlines:n(eb.length,ya),blocks:[]};}if(cb==="br")return oa();var fb=ma(),gb;ya=ra(cb,xa,ya);if(cb==="ul"||cb==="ol")za=cb;if(!ab&&m(bb,cb)){fb=pa(qa(cb,za));ab=cb;db=true;}xa=xa.firstChild;while(xa){gb=ua(xa,ya,za,ab,bb);fb=sa(fb,gb);xa=xa.nextSibling;}if(db)fb=sa(fb,pa(r));return fb;}function va(xa){xa=xa.trim().replace(ha,'').replace(ja,ga);var ya=p(xa);if(!ya)return null;var za=ta(xa)?ka:['div'],ab=ua(ya,w,'ul',null,za);if(ab.text.indexOf(aa)===0)ab={text:ab.text.slice(1),inlines:ab.inlines.slice(1),blocks:ab.blocks};if(ab.text.slice(-1)===aa){ab.text=ab.text.slice(0,-1);ab.inlines=ab.inlines.slice(0,-1);ab.blocks.pop();}if(ab.blocks.length===0)ab.blocks.push(r);if(ab.text.split(aa).length===ab.blocks.length+1)ab.blocks.unshift(r);return ab;}var wa={processHTML:function(xa){return va(xa);},processHTMLAsImmutable:function(xa){var ya=va(xa);if(!ya)return null;var za=0;return ya.text.split(aa).map(function(ab,bb){var cb=za+ab.length,db=da(ya.inlines.slice(za,cb).map(function(eb){return new g({style:eb});}));za=cb+1;return new j({key:o(),type:ya.blocks[bb],text:ab,characterList:db});});},processText:function(xa){return {text:xa,inlines:n(xa.length,w),blocks:n(xa.split(aa).length,r)};},processTextAsImmutable:function(xa){return xa.map(function(ya){return new j({key:o(),type:r,text:ya,characterList:da(ea(y,ya.length))});});}};e.exports=wa;},null);
__d("getSelectionOffsetKeyForNode",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){return h.getAttribute&&h.getAttribute('data-offset-key');}e.exports=g;},null);
__d("findAncestorOffsetKey",["getSelectionOffsetKeyForNode"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){while(i&&i!==document.documentElement){var j=g(i);if(j!=null)return j;i=i.parentNode;}return null;}e.exports=h;},null);
__d("getUpdatedSelectionState",["DocumentOffsetKey"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j,k,l,m){var n=i.getSelection(),o=g.decode(j),p=o.blockKey,q=i.getBlockTree(p).getIn([o.decoratorKey,'leaves',o.leafKey]),r=g.decode(l),s=r.blockKey,t=i.getBlockTree(s).getIn([r.decoratorKey,'leaves',r.leafKey]),u=q.get('start'),v=t.get('start'),w=q?u+k:null,x=t?v+m:null,y=(n.getAnchorKey()===p&&n.getAnchorOffset()===w&&n.getFocusKey()===s&&n.getFocusOffset()===x);if(y)return n;var z=false;if(p===s){var aa=q.get('end'),ba=t.get('end');if(v===u&&ba===aa){z=m<k;}else z=v<u;}else{var ca=i.getCurrentContent().getBlockMap().keySeq().skipUntil(function(da){return da===p||da===s;}).first();z=ca===s;}return n.merge({anchorKey:p,anchorOffset:w,focusKey:s,focusOffset:x,isBackward:z});}e.exports=h;},null);
__d("getDocumentSelectionExperimental",["DocumentCharacters","ErrorUtils","TextEditorBanzai","findAncestorOffsetKey","getSelectionOffsetKeyForNode","getUpdatedSelectionState","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=g.SOFT_NEWLINE;function o(u,v){var w=[u,v];return h.applyWithGuard(p,null,w,function(x){return i.logGetSelectionError(x,w);},'TextEditor:getSelection');}function p(u,v){var w=a.getSelection();if(w.rangeCount===0)return {selectionState:u.getSelection().set('hasFocus',false),needsRecovery:false};var x=w.anchorNode,y=w.focusNode,z=w.anchorOffset,aa=w.focusOffset,ba=x.nodeType===Node.TEXT_NODE,ca=y.nodeType===Node.TEXT_NODE;if(ba&&ca)return {selectionState:l(u,j(x),z,j(y),aa),needsRecovery:false};var da=null,ea=null;if(ba){da={key:j(x),offset:z};ea=s(v,y,aa);}else if(ca){ea={key:j(y),offset:aa};da=s(v,x,z);}else{da=s(v,x,z);ea=s(v,y,aa);}return {selectionState:l(u,da.key,da.offset,ea.key,ea.offset),needsRecovery:true};}function q(u){while(u.firstChild&&k(u.firstChild))u=u.firstChild;return u;}function r(u){while(u.lastChild&&k(u.lastChild))u=u.lastChild;return u;}function s(u,v,w){var x=j(v);m(x!=null||u===v||u.firstChild===v);if(u===v){v=v.firstChild;m(v.getAttribute('data-contents')==='true');if(w>0)w=v.childNodes.length;}if(w===0)return {key:x||k(q(v)),offset:0};var y=v.childNodes[w-1],z,aa;if(!k(y)){z=x;aa=t(y);}else{var ba=r(y);z=k(ba);aa=t(ba);}return {key:z,offset:aa};}function t(u){var v=u.textContent;return v===n?0:v.length;}e.exports=o;},null);
__d("getEntityKeyForSelection",["ComposedEntityMutability","DocumentEntity"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=g,j=i.MUTABLE;function k(m,n){var o;if(n.isCollapsed()){var p=n.getAnchorKey(),q=n.getAnchorOffset();if(q>0){o=m.getBlockForKey(p).getEntityAt(q-1);return l(o);}return null;}var r=n.getStartKey(),s=n.getStartOffset(),t=m.getBlockForKey(r);o=s===t.getLength()?null:t.getEntityAt(s);return l(o);}function l(m){if(m){var n=h.get(m);return n.getMutability()===j?m:null;}return null;}e.exports=k;},null);
__d("getTextContentFromFiles",["DocumentCharacters"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g.BLOCK_DELIMITER,i=/\.textClipping$/,j={'text/plain':true,'text/html':true,'text/rtf':true};function k(m,n){var o=0,p=[];m.forEach(function(q){l(q,function(r){o++;r&&p.push(r);if(o==m.length)n(p.join(h));});});}function l(m,n){if(!a.FileReader||(m.type&&!(m.type in j))){n('');return;}if(m.type===''&&i.test(m.name)){n(m.name.replace(i,''));return;}var o=new FileReader();o.onload=function(){n(o.result);};o.onerror=function(){n('');};o.readAsText(m);}e.exports=k;},null);
__d("TextEditorEditHandler.Experimental",["BlockTree","DataTransfer","DocumentCharacters","DocumentCommands","DocumentModifierExperimental","DocumentOffsetKey","DocumentRemovableWord","DocumentRemovalDirection","EditorChangeType","EditorState","Keys","React","TextEditorModes","TextEditorPasteHandler","UnicodeUtils","UserAgent","areEqual","createOrderedMapFromBlockArray","findAncestorOffsetKey","getActiveElement","getContentStateFragment","getDocumentSelectionExperimental","getEntityKeyForSelection","getTextContentFromFiles","isSelectionAtLeafStartExperimental"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea){b.__markCompiled&&b.__markCompiled();"use strict";var fa=i.SOFT_NEWLINE,ga=v.isEngine('WebKit'),ha=null,ia={onFocus:function(jb){var kb=this.props.editorState,lb=kb.getSelection();if(lb.getHasFocus())return;var mb=lb.set('hasFocus',true);this.props.onFocus&&this.props.onFocus(jb);this.update(p.acceptSelection(kb,mb));},onBlur:function(jb){if(ga&&z()===document.body)a.getSelection().removeAllRanges();var kb=this.props.editorState,lb=kb.getSelection();if(!lb.getHasFocus())return;var mb=lb.set('hasFocus',false);this.props.onBlur&&this.props.onBlur(jb);this.update(p.acceptSelection(kb,mb));},onBeforeInput:function(jb){var kb=jb.data;if(!kb)return;if(this.props.handleBeforeInput&&this.props.handleBeforeInput(kb)){jb.preventDefault();return;}var lb=this.props.editorState,mb=lb.getSelection();if(!mb.isCollapsed()){jb.preventDefault();this.update(ma(lb,kb,lb.getCurrentInlineStyle(),ca(lb.getCurrentContent(),lb.getSelection())));return;}var nb=!ea(lb),ob=ma(lb,kb,lb.getCurrentInlineStyle(),ca(lb.getCurrentContent(),lb.getSelection()));if(!nb){jb.preventDefault();this.update(ob);return;}var pb=mb.getAnchorKey(),qb=lb.getBlockTree(pb),rb=g.getFingerprint(qb),sb=g.getFingerprint(ob.getBlockTree(pb));if(ib(kb)||rb!==sb){jb.preventDefault();}else ob=p.set(ob,{nativelyRenderedContent:ob.getCurrentContent()});this.update(ob);},onSelect:function(jb){if(this._blockSelectEvents)return;var kb=this.props.editorState,lb=ba(kb,r.findDOMNode(this.refs.editorContainer).firstChild),mb=lb.selectionState;if(mb!==kb.getSelection()){if(!!lb.needsRecovery){kb=p.forceSelection(kb,mb);}else kb=p.acceptSelection(kb,mb);this.update(kb);}},onKeyDown:function(jb){var kb=jb.which,lb=this.props.editorState;switch(kb){case q.RETURN:jb.preventDefault();if(!this.props.handleReturn||!this.props.handleReturn(jb))this.update(xa(lb));return;case q.ESC:jb.preventDefault();this.props.onEscape&&this.props.onEscape(jb);return;case q.TAB:this.props.onTab&&this.props.onTab(jb);return;case q.UP:this.props.onUpArrow&&this.props.onUpArrow(jb);return;case q.DOWN:this.props.onDownArrow&&this.props.onDownArrow(jb);return;}var mb=this.props.keyBindingFn(jb);if(!mb)return;jb.preventDefault();if(this.props.handleKeyCommand&&this.props.handleKeyCommand(mb))return;if(mb===j.UNDO){ka(lb,this.update);return;}var nb=ja(mb,lb);if(nb!==lb)this.update(nb);},onCharacterData:function(jb){var kb=y(jb),lb=this.props.editorState,mb=lb.getSelection(),nb=lb.getCurrentContent(),ob=l.decode(kb),pb=ob.blockKey,qb=lb.getBlockTree(pb),rb=qb.getIn([ob.decoratorKey,'leaves',ob.leafKey]),sb=nb.getBlockForKey(pb);if(sb.getText().slice(rb.start,rb.end)===jb.textContent)return;var tb=lb.getSelection().merge({anchorOffset:rb.start,focusOffset:rb.end,isBackward:false}),ub=k.replaceText(nb,tb,jb.textContent,sb.getInlineStyleAt(rb.start),null),vb=ba(this.props.editorState,r.findDOMNode(this.refs.editorContainer).firstChild),wb=ub.merge({selectionBefore:mb,selectionAfter:vb.selectionState});this.update(p.push(lb,wb,o.INSERT_CHARACTERS));},onDragStart:function(jb){this._internalDrag=true;this.setMode(s.DRAG);},onDragOver:function(jb){this._internalDrag=false;this.setMode(s.DRAG);jb.preventDefault();},onCompositionStart:function(jb){this.setRenderGuard();this.captureEditorDOM();this.setMode(s.COMPOSITE);this.update(p.set(this.props.editorState,{inCompositionMode:true}));},onCut:function(jb){var kb=this.props.editorState,lb=kb.getSelection();if(lb.isCollapsed()){jb.preventDefault();return;}this.setRenderGuard();this.captureEditorDOM();eb(kb,function(mb){this._clipboard=mb;this.setMode(s.CUT);setTimeout(function(){this.restoreEditorDOM();this.removeRenderGuard();this.exitCurrentMode();this.update(db(kb));}.bind(this),0);}.bind(this));},onCopy:function(){eb(this.props.editorState,function(jb){this._clipboard=jb;}.bind(this));},onPaste:function(jb){jb.preventDefault();var kb=new h(jb.clipboardData);if(!kb.isRichText()){var lb=kb.getFiles(),mb=kb.getText();if(lb.length>0){if(this.props.handlePastedFiles&&this.props.handlePastedFiles(lb))return;da(lb,function(xb){xb=xb||mb;if(!xb)return;var yb=xb.split(fa),zb=t.processTextAsImmutable(yb),ac=this.props.editorState,bc=x(zb),cc=k.replaceWithFragment(ac.getCurrentContent(),ac.getSelection(),bc);this.update(p.push(ac,cc,o.INSERT_FRAGMENT));}.bind(this));return;}}var nb,ob=kb.getText();this.props.onPasteRawText&&this.props.onPasteRawText(ob);if(ob)nb=ob.split(fa);if(!this.props.stripPastedStyles){if(this._clipboard){var pb=nb.filter(bb),qb=this._clipboard.toSeq().map(function(xb){return xb.getText();}).filter(bb).toArray(),rb=w(pb,qb);if(rb){this.update(cb(this.props.editorState,this._clipboard));return;}}var sb=kb.getHTML();if(sb){var tb=t.processHTMLAsImmutable(sb);if(tb){var ub=x(tb);this.update(cb(this.props.editorState,ub));return;}}this._clipboard=null;}if(nb){var vb=t.processTextAsImmutable(nb),wb=x(vb);this.update(cb(this.props.editorState,wb));}}};function ja(jb,kb){switch(jb){case j.UNDO:return ka(kb);case j.REDO:return la(kb);case j.DELETE:return oa(kb);case j.DELETE_WORD:return pa(kb);case j.BACKSPACE:return sa(kb);case j.BACKSPACE_WORD:return va(kb);case j.BACKSPACE_TO_END_OF_BLOCK:return wa(kb);case j.INSERT_BLOCK_DELIMITER:return xa(kb);case j.TRANSPOSE_CHARACTERS:return ya(kb);case j.MOVE_SELECTION_TO_START_OF_BLOCK:return za(kb);case j.MOVE_SELECTION_TO_END_OF_BLOCK:return ab(kb);case j.SECONDARY_CUT:return qa(kb);case j.SECONDARY_PASTE:return ra(kb);default:return kb;}}function ka(jb,kb){var lb=p.undo(jb);if(!jb.getNativelyRenderedContent()){kb(lb);return;}kb(p.set(jb,{nativelyRenderedContent:null}));setTimeout(function(){kb(lb);});}function la(jb){return p.redo(jb);}function ma(jb,kb,lb,mb){var nb=k.replaceText(jb.getCurrentContent(),jb.getSelection(),kb,lb,mb||null);return p.push(jb,nb,o.INSERT_CHARACTERS);}function na(jb,kb,lb){var mb=jb.getSelection(),nb=jb.getCurrentContent(),ob=mb;if(mb.isCollapsed()){if(lb===n.FORWARD){if(jb.isAtDocumentEnd())return nb;}else if(jb.isAtDocumentStart())return nb;ob=kb(jb);if(ob===mb)return nb;}return k.removeRange(nb,ob,lb);}function oa(jb){var kb=na(jb,function(mb){var nb=mb.getSelection(),ob=mb.getCurrentContent(),pb=nb.getAnchorKey(),qb=nb.getAnchorOffset(),rb=ob.getBlockForKey(pb).getText()[qb];return ua(mb,rb?u.getUTF16Length(rb,0):1);},n.FORWARD);if(kb===jb.getCurrentContent())return jb;kb=kb.set('selectionBefore',jb.getSelection());var lb=jb.getSelection().isCollapsed()?o.DELETE_CHARACTER:o.REMOVE_RANGE;return p.push(jb,kb,lb);}function pa(jb){var kb=na(jb,function(lb){var mb=lb.getSelection(),nb=mb.getStartOffset(),ob=mb.getStartKey(),pb=lb.getCurrentContent(),qb=pb.getBlockForKey(ob).getText().slice(nb),rb=m.getForward(qb)||'';return ua(lb,rb.length||1);},n.FORWARD);if(kb===jb.getCurrentContent())return jb;return p.push(jb,kb,o.REMOVE_RANGE);}function qa(jb){var kb=jb.getCurrentContent(),lb=jb.getSelection(),mb;if(lb.isCollapsed()){var nb=lb.getAnchorKey(),ob=kb.getBlockForKey(nb).getLength();if(ob===lb.getAnchorOffset())return jb;mb=lb.set('focusOffset',ob);}else mb=lb;ha=aa(kb,mb);var pb=k.removeRange(kb,mb,n.FORWARD);if(pb===kb)return jb;return p.push(jb,pb,o.REMOVE_RANGE);}function ra(jb){return (ha?cb(jb,ha):jb);}function sa(jb){var kb=na(jb,function(mb){var nb=mb.getSelection(),ob=mb.getCurrentContent(),pb=nb.getAnchorKey(),qb=nb.getAnchorOffset(),rb=ob.getBlockForKey(pb).getText()[qb-1];return ta(mb,rb?u.getUTF16Length(rb,0):1);},n.BACKWARD);if(kb===jb.getCurrentContent())return jb;kb=kb.set('selectionBefore',jb.getSelection());var lb=jb.getSelection().isCollapsed()?o.BACKSPACE_CHARACTER:o.REMOVE_RANGE;return p.push(jb,kb,lb);}function ta(jb,kb){var lb=jb.getSelection(),mb=jb.getCurrentContent(),nb=lb.getStartKey(),ob=lb.getStartOffset(),pb=nb,qb;if(kb>ob){var rb=mb.getKeyBefore(nb);pb=rb;var sb=mb.getBlockForKey(rb);qb=sb.getText().length;}else qb=ob-kb;return lb.merge({focusKey:pb,focusOffset:qb,isBackward:true});}function ua(jb,kb){var lb=jb.getSelection(),mb=lb.getStartKey(),nb=lb.getStartOffset(),ob=jb.getCurrentContent(),pb=mb,qb,rb=ob.getBlockForKey(mb);if(kb>(rb.getText().length-nb)){pb=ob.getKeyAfter(mb);qb=0;}else qb=nb+kb;return lb.merge({focusKey:pb,focusOffset:qb});}function va(jb){var kb=na(jb,function(lb){var mb=lb.getSelection(),nb=mb.getStartOffset();if(nb===0)return ta(lb,1);var ob=mb.getStartKey(),pb=lb.getCurrentContent(),qb=pb.getBlockForKey(ob).getText().slice(0,nb),rb=m.getBackward(qb)||'';return ta(lb,rb.length||1);},n.BACKWARD);if(kb===jb.getCurrentContent())return jb;return p.push(jb,kb,o.REMOVE_RANGE);}function wa(jb){var kb=na(jb,function(lb){var mb=lb.getSelection();if(mb.getStartOffset()===0)return ta(lb,1);return mb.merge({focusOffset:0,isBackward:true});},n.BACKWARD);if(kb===jb.getCurrentContent())return jb;return p.push(jb,kb,o.REMOVE_RANGE);}function xa(jb){var kb=k.splitBlock(jb.getCurrentContent(),jb.getSelection());return p.push(jb,kb,o.SPLIT_BLOCK);}function ya(jb){var kb=jb.getSelection();if(!kb.isCollapsed())return jb;var lb=kb.getAnchorOffset();if(lb===0)return jb;var mb=kb.getAnchorKey(),nb=jb.getCurrentContent(),ob=nb.getBlockForKey(mb),pb=ob.getLength();if(pb<=1)return jb;var qb,rb;if(lb===pb){qb=kb.set('anchorOffset',lb-1);rb=kb;}else{qb=kb.set('focusOffset',lb+1);rb=qb.set('anchorOffset',lb+1);}var sb=aa(nb,qb),tb=k.removeRange(nb,qb,n.BACKWARD),ub=tb.getSelectionAfter(),vb=ub.getAnchorOffset()-1,wb=ub.merge({anchorOffset:vb,focusOffset:vb}),xb=k.replaceWithFragment(tb,wb,sb),yb=p.push(jb,xb,o.INSERT_FRAGMENT);return p.acceptSelection(yb,rb);}function za(jb){var kb=jb.getSelection(),lb=kb.getStartKey();return p.set(jb,{selection:kb.merge({anchorKey:lb,anchorOffset:0,focusKey:lb,focusOffset:0,isBackward:false}),forceSelection:true});}function ab(jb){var kb=jb.getSelection(),lb=kb.getEndKey(),mb=jb.getCurrentContent(),nb=mb.getBlockForKey(lb).getLength();return p.set(jb,{selection:kb.merge({anchorKey:lb,anchorOffset:nb,focusKey:lb,focusOffset:nb,isBackward:false}),forceSelection:true});}function bb(jb){return jb.length>0;}function cb(jb,kb){var lb=k.replaceWithFragment(jb.getCurrentContent(),jb.getSelection(),kb);return p.push(jb,lb,o.INSERT_FRAGMENT);}function db(jb){var kb=k.removeRange(jb.getCurrentContent(),jb.getSelection(),n.FORWARD);return p.push(jb,kb,o.REMOVE_RANGE);}function eb(jb,kb){var lb=jb.getSelection();if(!lb.isCollapsed())kb(aa(jb.getCurrentContent(),lb));}var fb='\'',gb='\/',hb=v.isBrowser('Firefox');function ib(jb){return (hb&&(jb==fb||jb==gb));}e.exports=ia;},null);
__d("TextEditorDragHandler.Experimental",["DataTransfer","DocumentModifierExperimental","EditorState","EditorChangeType","ex","findAncestorOffsetKey","getTextContentFromFiles","getUpdatedSelectionState"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();"use strict";function o(event,s){var t,u;if(document.caretRangeFromPoint){var v=document.caretRangeFromPoint(event.x,event.y);t=v.startContainer;u=v.startOffset;}else if(event.rangeParent){t=event.rangeParent;u=event.rangeOffset;}else return null;var w=l(t);if(w===null){var x='';if(t.dataset&&t.dataset.reactid)x=' Node ID: '+t.dataset.reactid;throw new Error(k('Invalid range for drop event.'+x+' Offset: '+u));}return n(s,w,u,w,u);}var p={onDragEnd:function(){this.exitCurrentMode();},onDrop:function(s){var t=new g(s.nativeEvent.dataTransfer),u=this.props.editorState,v=o(s.nativeEvent,u);s.preventDefault();this.exitCurrentMode();if(v===null)return;var w=t.getFiles();if(w.length>0){if(this.props.handleDroppedFiles&&this.props.handleDroppedFiles(v,w))return;m(w,function(x){x&&this.update(r(u,v,x));}.bind(this));return;}if(this._internalDrag){this.update(q(u,v));return;}this.update(r(u,v,t.getText()));}};function q(s,t){var u=h.moveText(s.getCurrentContent(),s.getSelection(),t);return i.push(s,u,j.INSERT_FRAGMENT);}function r(s,t,u){var v=h.insertText(s.getCurrentContent(),t,u,s.getCurrentInlineStyle());return i.push(s,v,j.INSERT_FRAGMENT);}e.exports=p;},null);
__d("AbstractTextEditor.Experimental.react",["AbstractTextEditorPlaceholder.Experimental.react","AbstractTextEditorProps.Experimental","DOMVector","EditorState","React","TextEditorCompositionHandler.Experimental","TextEditorContents.react","TextEditorEditHandler.Experimental","TextEditorDragHandler.Experimental","TextEditorModes","UnicodeBidiService","UserAgent","cx","extendArray","requestAnimationFrame","setImmediate"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();'use strict';var w=a.MutationObserver||a.WebKitMutationObserver,x=(r.isBrowser('Safari')||r.isBrowser('Mobile Safari')),y=!!w;function z(ca){return function(da){if(!this.props.readOnly){var ea=this._handler&&this._handler[ca];ea&&ea.call(this,da);}};}function aa(ca){switch(ca){case p.EDIT:return n;case p.COMPOSITE:return l;case p.DRAG:return o;case p.CUT:case p.RENDER:return null;}}var ba=k.createClass({displayName:"AbstractTextEditor",getDefaultProps:h.getDefaultProps,_onBlur:z('onBlur'),_onFocus:z('onFocus'),_onSelect:z('onSelect'),_onKeyDown:z('onKeyDown'),_onKeyUp:z('onKeyUp'),_onKeyPress:z('onKeyPress'),_onMouseDown:z('onMouseDown'),_onMouseUp:z('onMouseUp'),_onCharacterData:z('onCharacterData'),_onCompositionStart:z('onCompositionStart'),_onCompositionEnd:z('onCompositionEnd'),_onDragStart:z('onDragStart'),_onDragOver:z('onDragOver'),_onDragEnd:z('onDragEnd'),_onDrop:z('onDrop'),_onCut:z('onCut'),_onCopy:z('onCopy'),_onPaste:z('onPaste'),_onBeforeInput:z('onBeforeInput'),_attachMutationObserver:function(){if(!w)return;var ca=[],da=function(){if(ca.length>1){var ea=ca[0],fa=ea.target;v(function(){if(this.isMounted()&&fa.parentNode)this._onCharacterData(fa);}.bind(this));}ca.length=0;}.bind(this);this._mutationObserver=new w(function(ea){if(this._guardAgainstRender)return;if(x){if(ca.length===0)u(da);t(ca,ea);}else{ca=ea;da();}}.bind(this));this._mutationObserver.observe(k.findDOMNode(this.refs.editorContainer),{characterDataOldValue:true,characterData:true,subtree:true});},_renderPlaceholder:function(){var ca=this.props.editorState.getCurrentContent(),da=(this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!ca.hasText());if(da)return (k.createElement(g,{text:this.props.placeholder,editorState:this.props.editorState,textAlignment:this.props.textAlignment}));},render:function(){var ca=this.props.textAlignment,da=(("_5yw9")+(ca==='left'?' '+"_48yc":'')+(ca==='right'?' '+"_48yd":'')+(ca==='center'?' '+"_48ye":'')),ea=this.props.editorState.getCurrentContent().hasText();return (k.createElement("div",{className:da},this._renderPlaceholder(),k.createElement("div",{className:"_5ywa",ref:"editorContainer"},k.createElement("div",{ref:"editor",title:ea?null:this.props.placeholder,role:this.props.role||"textbox","aria-activedescendant":this.props.ariaActiveDescendantID,"aria-autocomplete":this.props.ariaAutoComplete,"aria-expanded":this.props.ariaExpanded,"aria-owns":this.props.ariaOwneeID,"aria-haspopup":this.props.ariaHasPopup,className:"_54-z",onBlur:this._onBlur,onFocus:this._onFocus,onSelect:this._onSelect,onMouseUp:this._onMouseUp,onKeyDown:this._onKeyDown,onKeyUp:this._onKeyUp,onKeyPress:this._onKeyPress,onCut:this._onCut,onCopy:this._onCopy,onPaste:this._onPaste,onDragStart:this._onDragStart,onDragOver:this._onDragOver,onDragEnd:this._onDragEnd,onDrop:this._onDrop,onCompositionStart:this._onCompositionStart,onCompositionEnd:this._onCompositionEnd,onBeforeInput:this._onBeforeInput,spellCheck:y&&this.props.spellCheck,contentEditable:!this.props.readOnly},k.createElement(m,{bidiService:this._bidiService,blockRendererFn:this.props.blockRendererFn,blockStyleFn:this.props.blockStyleFn,editorState:this.props.editorState,inlineStyleFn:this.props.inlineStyleFn})))));},focus:function(){var ca=this.props.editorState,da=ca.getSelection().getHasFocus(),ea=i.getScrollPosition();k.findDOMNode(this.refs.editor).focus();window.scrollTo(ea.x,ea.y);if(da)return;this.update(j.forceSelection(ca,ca.getSelection()));},blur:function(){k.findDOMNode(this.refs.editor).blur();},componentDidMount:function(){this._renderedVersion=null;this._clipboard=null;this._clonedEditor=null;this._guardAgainstRender=false;this._handler=n;this._attachMutationObserver();},componentWillUpdate:function(ca){this._blockSelectEvents=true;this._bidiService.reset();},componentDidUpdate:function(){this._blockSelectEvents=false;},componentWillMount:function(){this._bidiService=new q();},componentWillUnmount:function(){if(this._mutationObserver){this._mutationObserver.disconnect();this._mutationObserver=null;}},setMode:function(ca){this._handler=aa(ca);},exitCurrentMode:function(){this.setMode(p.EDIT);},captureEditorDOM:function(){this._clonedEditor=k.findDOMNode(this.refs.editor).cloneNode(true);},restoreEditorDOM:function(){var ca=k.findDOMNode(this.refs.editorContainer);ca.innerHTML='';ca.appendChild(this._clonedEditor);this.focus();this._clonedEditor=null;},setRenderGuard:function(){this._guardAgainstRender=true;},removeRenderGuard:function(){this._guardAgainstRender=false;},update:function(ca){this.props.onChange(ca);}});e.exports=ba;},null);
__d("TypeaheadNavigation",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={moveUp:function(h,i,j){var k=h.indexOf(i),l=k==-1?h.length-1:k-1;j(l==-1?null:h[l]);},moveDown:function(h,i,j){var k=h.indexOf(i)+1;j(k==h.length?null:h[k]);}};e.exports=g;},null);
__d("AbstractMentionsTextEditor.Experimental.react",["AbstractTextEditor.Experimental.react","AbstractTextEditorProps.Experimental","DocumentModifierExperimental","EditorChangeType","EditorState","React","TypeaheadNavigation","getOrCreateDOMID","setImmediate","uniqueID"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=l,r=q.PropTypes,s=5,t=l.createClass({displayName:"AbstractMentionsTextEditor",propTypes:Object.assign({},h.propTypes,{mentionsSource:r.object,mentionCreationFn:r.func.isRequired,mentionResultsComponent:r.func.isRequired,mentionResultsProps:r.object,excludedEntries:r.object,handleContentReturn:r.func,onAddMention:r.func,onShowMentions:r.func}),getDefaultProps:h.getDefaultProps,componentWillMount:function(){this._viewID=p();},getInitialState:function(){return {highlightedMentionable:null,ariaActiveDescendantID:null,mentionableEntries:null,characterOffset:0};},_onShowMentions:function(v,w){var x=v&&v.length;if(!x){this.setState({highlightedMentionable:null,activeDescendantID:null,mentionableEntries:null,characterOffset:0});return;}var y=v.slice(0,s),z=this.props.typeaheadViewProps;if(z&&z.mentionSortFn)y.sort(z.mentionSortFn);this.setState({highlightedMentionable:v[0],mentionableEntries:y,characterOffset:w});if(this.props.onShowMentions)this.props.onShowMentions(y,w);},_onBlur:function(v){this.setState(this.getInitialState());this.props.onBlur&&this.props.onBlur(v);},_onFocus:function(v){this.props.mentionsSource&&this.props.mentionsSource.bootstrap();this.props.onFocus&&this.props.onFocus(v);},_handleReturn:function(v){if(this.state.highlightedMentionable){this._onMentionSelect(this.state.highlightedMentionable,v);return true;}else if(this.props.handleContentReturn&&this.props.handleContentReturn(v))return true;return false;},_onTab:function(v){if(this.state.highlightedMentionable){v.preventDefault();this._onMentionSelect(this.state.highlightedMentionable,v);}else if(this.props.onTab)this.props.onTab(v);},_onEscape:function(v){if(this.props.onEscape)this.props.onEscape(v);if(this.state.mentionableEntries){v.stopPropagation();this.setState(this.getInitialState());}},_onUpArrow:function(v){if(this.state.mentionableEntries){v.preventDefault();m.moveUp(this.state.mentionableEntries,this.state.highlightedMentionable,this._onMentionHighlight);}else this.props.onUpArrow&&this.props.onUpArrow(v);},_onDownArrow:function(v){if(this.state.mentionableEntries){v.preventDefault();m.moveDown(this.state.mentionableEntries,this.state.highlightedMentionable,this._onMentionHighlight);}else this.props.onDownArrow&&this.props.onDownArrow(v);},_onMentionHighlight:function(v){this.setState({highlightedMentionable:v});},_onMentionRenderHighlight:function(v){var w=n(v);this.setState({ariaActiveDescendantID:w});},_onMentionSelect:function(v,w){var x=this.props.editorState,y=x.getSelection(),z=x.getCurrentContent(),aa=y.getAnchorKey(),ba=y.getAnchorOffset(),ca=z.getBlockMap().get(aa),da=ba-u(ca.getText().substr(0,ba),v.getTitle(),this.state.characterOffset),ea=i.replaceText(z,y.set('anchorOffset',da),v.getTitle(),x.getCurrentInlineStyle(),this.props.mentionCreationFn(v)),fa=k.push(x,ea,j.INSERT_FRAGMENT);this.props.onChange(fa);this.setState(this.getInitialState());if(this.props.onAddMention){var ga=this.state.mentionableEntries.indexOf(v);this.props.onAddMention(v,ga,w);}},shouldComponentUpdate:function(v,w){return (this.props.editorState!==v.editorState||this.state.mentionableEntries!==w.mentionableEntries||this.state.highlightedMentionable!==w.highlightedMentionable||this.state.ariaActiveDescendantID!==w.ariaActiveDescendantID);},componentDidUpdate:function(v){var w=this.props.editorState;if(w===v.editorState)return;var x=w.getSelection();if(x.getHasFocus()&&x.isCollapsed()){var y=w.getCurrentContent();if(this.props.mentionsSource)o(function(){this.props.mentionsSource.searchWithImmutables(y,x,this._onShowMentions);}.bind(this));}},blur:function(){this.refs.abstractTextEditor.blur();},focus:function(){this.refs.abstractTextEditor.focus();},_renderMentionables:function(){var v=this.state.mentionableEntries;if(!v||!v.length)return null;var w=this.props.mentionResultsComponent;return (l.createElement(w,l.__spread({},this.props.mentionResultsProps,{viewID:this._viewID,selection:this.props.editorState.getSelection(),contextComponent:this,characterOffset:this.state.characterOffset,mentionableEntries:v||[],highlightedMentionable:this.state.highlightedMentionable,onMentionSelect:this._onMentionSelect,onMentionHighlight:this._onMentionHighlight,onMentionRenderHighlight:this._onMentionRenderHighlight})));},render:function(){var v=this.state.mentionableEntries,w=!!(v&&v.length),x=this.props.readOnly?null:'-2';return (l.createElement("div",{ref:"container",className:this.props.className,tabIndex:x},l.createElement(g,l.__spread({},this.props,{ref:"abstractTextEditor",role:"combobox",ariaActiveDescendantID:this.state.ariaActiveDescendantID,ariaAutoComplete:"list",ariaOwneeID:this._viewID,ariaExpanded:w,ariaHasPopup:w,onBlur:this._onBlur,onFocus:this._onFocus,onTab:this._onTab,onEscape:this._onEscape,onDownArrow:this._onDownArrow,onUpArrow:this._onUpArrow,handleReturn:this._handleReturn})),this._renderMentionables()));}});function u(v,w,x){for(var y=x;y<=w.length;y++)if(v.substr(-y)==w.substr(0,y))x=y;return x;}e.exports=t;},null);
__d("createMentionEntity",["ComposedEntityMutability","ComposedEntityType","DocumentEntity"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k){var l=k.getType().toLowerCase()==='user'?g.SEGMENTED:g.IMMUTABLE,m=k.getAuxiliaryData();return i.create(h.MENTION,l,{id:k.getUniqueID(),isWeak:m&&m.renderType==='non_member'});}e.exports=j;},null);
__d("MentionsInput.Experimental.react",["AbstractMentionsTextEditor.Experimental.react","EditorState","MentionsLayer.react","React","createMentionEntity","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=j,o=n.PropTypes,p=j.createClass({displayName:"MentionsInput",propTypes:{editorState:o.instanceOf(h).isRequired,mentionsSource:o.object,typeaheadView:o.func.isRequired,typeaheadViewPropTypes:o.object,spellCheck:o.bool,placeholder:o.string,className:o.string,autoflip:o.bool,handleContentReturn:o.func,handleDroppedFiles:o.func,handlePastedFiles:o.func,onAddMention:o.func,onShowMentions:o.func,onChange:o.func,onInputFocus:o.func,onInputBlur:o.func},blur:function(){this.refs.textEditor.blur();},focus:function(){if(this.refs.textEditor){this._doFocus();}else setTimeout(this._doFocus,0);},render:function(){var q=m(this.props.className,"_5yk1");return (j.createElement("div",{className:q,onClick:this.focus,onFocus:this.focus},j.createElement(g,j.__spread({},this.props,{mentionResultsComponent:i,mentionResultsProps:{typeaheadView:this.props.typeaheadView,typeaheadViewProps:this.props.typeaheadViewProps,autoflip:this.props.autoflip},mentionCreationFn:k,ref:"textEditor",className:"_5yk2",stripPastedStyles:true}))));},_doFocus:function(){if(this.isMounted())this.refs.textEditor.focus();}});e.exports=p;},null);
__d("ContentState",["DocumentCharacters","immutable"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";var i=g.SOFT_NEWLINE,j=h.Record({blockMap:null,selectionBefore:null,selectionAfter:null});for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(){if(j!==null)j.apply(this,arguments);}m.prototype.getBlockMap=function(){return this.blockMap;};m.prototype.getSelectionBefore=function(){return this.selectionBefore;};m.prototype.getSelectionAfter=function(){return this.selectionAfter;};m.prototype.getBlockForKey=function(n){return this.getBlockMap().get(n);};m.prototype.getKeyBefore=function(n){return this.getBlockMap().reverse().keySeq().skipUntil(function(o){return o===n;}).skip(1).first();};m.prototype.getKeyAfter=function(n){return this.getBlockMap().keySeq().skipUntil(function(o){return o===n;}).skip(1).first();};m.prototype.getBlockAfter=function(n){return this.getBlockMap().skipUntil(function(o,p){return p===n;}).skip(1).first();};m.prototype.getBlockBefore=function(n){return this.getBlockMap().reverse().skipUntil(function(o,p){return p===n;}).skip(1).first();};m.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray();};m.prototype.getLastBlock=function(){return this.getBlockMap().last();};m.prototype.getPlainText=function(n){return this.getBlockMap().map(function(o){return o.getText();}).join(n||i);};m.prototype.hasText=function(){var n=this.getBlockMap();return (n.size>1||n.first().getLength()>0);};e.exports=m;},null);
__d("createEmptySelectionState",["SelectionState"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";function h(i){return new g({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:0,isBackward:false,hasFocus:false});}e.exports=h;},null);
__d("createContentStateFromBlocks",["ContentState","createEmptySelectionState","createOrderedMapFromBlockArray"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";function j(k){var l=i(k),m=h(l.first().getKey());return new g({blockMap:l,selectionBefore:m,selectionAfter:m});}e.exports=j;},null);
__d("createInitialEditorState",["EditorState","immutable","createEmptySelectionState"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";function j(k,l){var m=k.getBlockMap().first().getKey();return g.create({currentContent:k,undoStack:h.Stack(),redoStack:h.Stack(),decorator:l||null,selection:i(m)});}e.exports=j;},null);
__d("createPlainBlocksFromText",["CharacterMetadata","ComposedBlockType","ContentBlock","immutable","generateBlockKey"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();function l(m){return m.map(function(n){var o=n.length;return new i({key:k(),text:n,type:h.UNSTYLED,characterList:j.List(j.Repeat(g.EMPTY,o))});});}e.exports=l;},null);
__d("createEditorStateWithEntities",["DocumentCharacters","EditorState","applyEntityToContentBlock","createContentStateFromBlocks","createInitialEditorState","createPlainBlocksFromText"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=new RegExp(g.SOFT_NEWLINE,'ig');function n(o){var p=o,q=p.text,r=p.ranges,s=p.decorator,t=p.entityCreationFn,u=p.splitIntoBlocks,v=p.allowUndo,w,x;if(u===undefined)u=true;if(q){w=u?q.split(m):[q];x=[];var y=0;w.forEach(function(ba){x.push(y);y+=ba.length+1;});}else w=[''];var z=l(w);if(r&&r.length&&t)r.forEach(function(ba){var ca=t(ba.entity);if(ca===null)return;var da=ba.offset,ea,fa;for(var ga=0;ga<x.length;ga++){var ha=x[ga],ia=x[ga+1];if(ia===undefined||(da>=ha&&da<ia)){ea=z[ga];fa=da-ha;break;}}z[ga]=i(ea,fa,fa+ba.length,ca);});var aa=k(j(z),s);if(v===false)aa=h.set(aa,{allowUndo:false});return aa;}e.exports=n;},null);
__d("createEmptyEditorState",["createContentStateFromBlocks","createInitialEditorState","createPlainBlocksFromText"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";function j(k){var l=i(['']),m=g(l);return h(m,k);}e.exports=j;},null);
__d("getMentionsTextForContentState",["ComposedEntityType","DocumentCharacters","DocumentEntity","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=j.thatReturnsTrue,l=/[\\\]:]/g;function m(o){var p=o.getBlockMap().map(function(q){var r=q.getText(),s=[];q.findEntityRanges(k,function(t,u){s.push(n(r.slice(t,u),q.getEntityAt(t)));});return s.join('');});return p.join(h.SOFT_NEWLINE);}function n(o,p){if(p){var q=i.get(p);if(q.getType()===g.MENTION){o=o.replace(l,function(r){return '\\'+r;});return '@['+q.getData().id+':'+o+']';}else if(q.getType()===g.EMOTICON)return q.getData().originalEmoticon;}return o.replace('@[','@ [');}e.exports=m;},null);
__d("getVisibleValueForContentState",["ComposedEntityType","DocumentCharacters","DocumentEntity","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g.EMOTICON,l=h.SOFT_NEWLINE;function m(n){var o=n.getBlockMap().map(function(p){var q=p.getText(),r='';p.findEntityRanges(j.thatReturnsTrue,function(s,t){var u=p.getEntityAt(s);if(u===null){r+=q.slice(s,t);}else{var v=i.get(u);if(v.getType()===k){r+=v.getData().originalEmoticon;}else r+=q.slice(s,t);}});return r;});return o.join(l);}e.exports=m;},null);
__d("applyEmoticonToContentBlock",["CharacterMetadata","ComposedEntityMutability","ComposedEntityType","DocumentEntity","EmoticonsList","immutable"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();"use strict";var m=l,n=m.List,o='\u3000';function p(q,r,s){if(!k.emotes[r])return q;var t=j.create(i.EMOTICON,h.IMMUTABLE,{type:k.emotes[r],originalEmoticon:r}),u=q.getText(),v=q.getCharacterList(),w=r.length,x=v.get(s);return q.merge({text:(u.slice(0,s)+o+u.slice(s+w)),characterList:v.slice(0,s).concat(n.of(g.applyEntity(x,t)),v.slice(s+w))});}e.exports=p;},null);
__d("getTextAfterNearestEntity",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){var j=i;while(j>0&&h.getEntityAt(j-1)===null)j--;return h.getText().slice(j,i);}e.exports=g;},null);
__d("applyEmoticonToContentState",["EmoticonsList","applyEmoticonToContentBlock","getTextAfterNearestEntity"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();"use strict";var j=new RegExp(g.regexp.source,'g');function k(l,m){var n=m.getAnchorKey(),o=m.getAnchorOffset(),p=l.getBlockForKey(n),q=i(p,o),r,s;while(s!==null){s=j.exec(q);if(s!==null)r=s;}if(!r)return l;var t=r[1];if(!t&&o!==q.length)return l;var u=r[2],v=o-q.length,w=v+r.index+r[1].length,x=l.getBlockMap().set(n,h(p,u,w));o-=(u.length-1);return l.merge({blockMap:x,selectionBefore:m,selectionAfter:m.merge({anchorOffset:o,focusOffset:o})});}e.exports=k;},null);
__d("handleBeforeInputForEmoticon",["DocumentModifierExperimental","EditorChangeType","EditorState","applyEmoticonToContentState"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=new RegExp(/[\s'".,!?]/);function l(m,n){var o=m.getSelection();if(!o.isCollapsed()||!n||!k.test(n))return m;var p=m.getCurrentContent(),q=j(p,o);if(q===p)return m;var r=g.insertText(q,q.getSelectionAfter(),n);return i.push(m,r,h.INSERT_CHARACTERS);}e.exports=l;},null);
__d("handleSoftNewlineForEmoticon",["DocumentModifierExperimental","EditorChangeType","EditorState","applyEmoticonToContentState"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){var m=l.getCurrentContent(),n=l.getSelection(),o=j(m,n);if(o===m)return l;var p=g.splitBlock(o,o.getSelectionAfter());return i.push(l,p,h.SPLIT_BLOCK);}e.exports=k;},null);
__d("isSoftNewlineEvent",["Keys"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){return i.which===g.RETURN&&(i.getModifierState('Shift')||i.getModifierState('Alt')||i.getModifierState('Control'));}e.exports=h;},null);
__d("UFIMentionsInput.react",["Arbiter","BanzaiScuba","Bootloader","CommentPrelude","ComposedEntityMutability","ComposedEntityType","DocumentEntity","DocumentModifierExperimental","DOMVector","EditorChangeType","EditorState","Input","Keys","MentionsInput.Experimental.react","React","SelectionState","UserAgent","URI","createEditorStateWithEntities","createEmptyEditorState","createMentionEntity","cx","emptyFunction","getMentionsInputDecorator","getMentionsTextForContentState","getVisibleValueForContentState","handleBeforeInputForEmoticon","handleSoftNewlineForEmoticon","isSoftNewlineEvent","setImmediate"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja){b.__markCompiled&&b.__markCompiled();var ka=new h('ufi_tinder',null,{addBrowserFields:true,addGeoFields:true,addPredictedGeographyFields:true,addMobileDeviceFields:true,addUser:true}),la=200,ma=((w.isPlatform('iOS')||w.isPlatform('Linux')||w.isPlatform('Mac OS X')||w.isPlatform('Windows')||w.isPlatform('Chrome OS'))&&(w.isBrowser('Chrome')||w.isBrowser('Firefox >= 16')||w.isBrowser('IE >= 9')||w.isBrowser('Opera >= 12')||w.isBrowser('Mobile Safari >= 6')||w.isBrowser('Safari >= 5')));function na(ra){var sa=ra.map(function(ta){return {kind:'file',type:ta.type,getAsFile:ca.thatReturns(ta)};});return {clipboardData:{items:sa}};}function oa(ra){var sa=/^image\//;return ra.filter(function(ta){return sa.test(ta.type);});}var pa=u.createClass({displayName:"UFIMentionsInput",getInitialState:function(){var ra='',sa=[];if(this.props.initialData){ra=this.props.initialData.value||'';sa=this.props.initialData.mentions||[];sa=sa.map(function(ua){return Object.assign({},ua,{entity:{uid:ua.uid,weakreference:ua.weakreference}});});}var ta=y({text:ra,ranges:sa,decorator:da(),entityCreationFn:qa});ta=q.moveSelectionToEnd(ta);return {bootloaded:false,fullRender:!!(this.props.initialData&&this.props.initialData.value),typeaheadReporter:null,editorState:ta,mentionsSource:null,mentionableEntries:null,fallbackText:ra};},hasEnteredText:function(){return !!this.state.editorState.getCurrentContent().getPlainText().trim();},focus:function(){this._triggerFullRender(function(){if(ma){this.refs.mentionsInput.focus();}else u.findDOMNode(this.refs.textarea).focus();}.bind(this));},submitComment:function(event){if(this._submitComment(event))this._clearDocumentState();},insertMention:function(ra){this._triggerFullRender(function(){if(ma){var sa=this.state.editorState,ta=sa.getSelection(),ua=sa.getCurrentContent(),va=ta.getStartKey(),wa=ta.getStartOffset(),xa=ua.getBlockForKey(va),ya;if(xa.getText().substr(wa-1,1).trim().length>0){var za=n.replaceText(ua,ta,' ');ta=za.getSelectionAfter();ya=n.insertText(za,ta,ra.getTitle(),sa.getCurrentInlineStyle(),aa(ra));}else ya=n.replaceText(ua,ta,ra.getTitle(),sa.getCurrentInlineStyle(),aa(ra));sa=q.push(sa,ya,p.INSERT_FRAGMENT);sa=q.forceSelection(sa,sa.getSelection());this.setState({editorState:sa});this.focus();}else{u.findDOMNode(this.refs.textarea).focus();if(this.state.fallbackText.length){this.setState({fallbackText:this.state.fallbackText+' '+ra.title});}else this.setState({fallbackText:ra.title});}}.bind(this));},insertEmoticon:function(ra){if(!ma){this.setState({fallbackText:this.state.fallbackText+' '+ra});return;}var sa=this.state.editorState,ta=sa.getCurrentContent(),ua=sa.getSelection(),va=ta.getBlockForKey(ua.getStartKey()).getText()[ua.getStartOffset()-1];if(va&&va!==' ')ra=' '+ra;var wa=ta.getBlockForKey(ua.getEndKey()).getText()[ua.getEndOffset()];if(wa&&wa!==' ')ra+=' ';var xa=n.replaceText(sa.getCurrentContent(),sa.getSelection(),ra);sa=q.push(sa,xa,p.INSERT_CHARACTERS);sa=q.forceSelection(sa,sa.getSelection());this.setState({editorState:sa});},setSignature:function(ra){setTimeout(function(){var sa=this.state.editorState,ta=sa.getSelection(),ua=sa.getCurrentContent(),va=ua.getBlockMap().first(),wa=va.getKey();ta=new v({anchorKey:wa,anchorOffset:0,focusKey:wa,focusOffset:ra.length});ua=n.replaceText(ua,ta,ra);sa=q.set(sa,{currentContent:ua});this.setState({editorState:sa});}.bind(this),0);},_informHeightChange:function(){if(this.props.monitorHeight)ja(function(){if(!this.isMounted())return;var ra=ma?u.findDOMNode(this.refs.mentionsInput):u.findDOMNode(this.refs.textarea),sa=o.getElementDimensions(ra).y;if(sa!==this._height){this._height=sa;g.inform('ufi/inputHeightChanged',{node:ra});}}.bind(this));},_onChange:function(ra){this.setState({editorState:ra},this._informHeightChange);},_clearDocumentState:function(){this.state.typeaheadReporter&&this.state.typeaheadReporter.sessionEnd();var ra=z(da());this.setState({editorState:q.moveFocusToEnd(ra)});},_handleContentReturn:function(ra){if(ia(ra)){var sa=ha(this.state.editorState);if(sa===this.state.editorState){return false;}else{this.setState({editorState:sa});return true;}}if(this._submitComment(ra)){this._clearDocumentState();return true;}return false;},_handleBeforeInput:function(ra){var sa=ga(this.state.editorState,ra);if(sa===this.state.editorState){return false;}else{this.setState({editorState:sa});return true;}},_submitComment:function(ra){var sa=this.state.editorState.getCurrentContent(),ta=fa(sa),ua=ea(sa),va={visibleValue:ta,encodedValue:ua},wa=r.getValue(u.findDOMNode(this.refs.proxyInput));if(wa){var xa=new x(a.location.href);ka.addNormal('path',xa.getPath());ka.addNormal('proxy_value',wa.substr(0,la));ka.post();}return this.props.onEnterSubmit(va,ra);},_handleFiles:function(ra){var sa=oa(ra);if(sa.length){this.props.onPaste(na(sa));return true;}return false;},_handleDroppedFiles:function(ra,sa){return this._handleFiles(sa);},_handlePastedFiles:function(ra){return this._handleFiles(ra);},_onMentionsInputBlur:function(){this.state.typeaheadReporter&&this.state.typeaheadReporter.sessionEnd();this.props.onBlur&&this.props.onBlur();g.inform('ufi/blur',{hasEnteredText:this.hasEnteredText()});},_onMentionsInputFocus:function(){if(!this.state.bootloaded&&!this._currentlyBootloading){this._currentlyBootloading=true;i.loadModules(["TypeaheadMetricReporter","getMentionsSearchSource"],function(ra,sa){if(!this.isMounted())return;var ta=new ra({event_name:'tinder_mentions'});ta.sessionStart();var ua=sa(this.props.datasource,ta);ua.bootstrap();this.setState({typeaheadReporter:ta,bootloaded:true,mentionsSource:ua},function(){this._currentlyBootloading=false;}.bind(this));}.bind(this));}else if(this.state.typeaheadReporter)this.state.typeaheadReporter.sessionStart();this.props.onFocus&&this.props.onFocus();g.inform('ufi/focus');},_onShowMentions:function(ra,sa){if(this.state.typeaheadReporter)this.state.typeaheadReporter.reportResults(ra.map(function(ta){return ta.getUniqueID();}));},_onAddMention:function(ra,sa,ta){if(this.state.typeaheadReporter){this.state.typeaheadReporter.reportSelect(ra.getUniqueID(),ra.getType(),sa,ta.button>=0);this.state.typeaheadReporter.sessionEnd();}},_onFallbackKeyDown:function(ra){if(ra.which!==s.RETURN)return;if(ia(ra)||!this.state.fallbackText.trim())return;ra.preventDefault();var sa={visibleValue:this.state.fallbackText,encodedValue:this.state.fallbackText};if(this.props.onEnterSubmit(sa,ra))this.setState({fallbackText:''});},_onFallbackChange:function(ra){this.setState({fallbackText:ra.target.value});},_onFallbackBlur:function(ra){this.props.onBlur&&this.props.onBlur();},_onFallbackFocus:function(ra){this.props.onFocus&&this.props.onFocus();},_sortByRenderType:function(ra,sa){var ta=ra.getAuxiliaryData().renderType,ua=sa.getAuxiliaryData().renderType;if(ta===ua)return ra.getOrder()-sa.getOrder();var va=this.props.viewOptionsTypeObjectsOrder;return va.indexOf(ta)-va.indexOf(ua);},_triggerFullRender:function(ra){this.setState({fullRender:true},ra);},_triggerFullRenderWithoutCallback:function(){this._triggerFullRender();},_renderFallback:function(){return (u.createElement("div",null,u.createElement("textarea",{ref:"textarea",className:"UFIAddCommentInput _1os9",name:"add_comment_text",placeholder:this.props.placeholder,spellCheck:true,onKeyDown:this._onFallbackKeyDown,onChange:this._onFallbackChange,onBlur:this._onFallbackBlur,onFocus:this._onFallbackFocus,value:this.state.fallbackText})));},_renderProxyInput:function(){if(!this.props.hideProxyInput){var ra="_1osa mentionsHidden";return (u.createElement("input",{className:ra,name:"add_comment_text",ref:"proxyInput",onFocus:this.focus,tabIndex:"-1"}));}},_renderDummy:function(){var ra="UFIAddCommentInput _1osb _1osc";return (u.createElement("div",{onFocus:this._triggerFullRenderWithoutCallback,onSelect:ca,onClick:this._triggerFullRenderWithoutCallback,onTouchStart:this._triggerFullRenderWithoutCallback,onMouseOver:this._triggerFullRenderWithoutCallback},this._renderProxyInput(),u.createElement("div",{className:ra},this.props.placeholder)));},_onClickEditorContainer:function(ra){j.click(ra.target,false);},_renderMentionsInput:function(){var ra="UFIAddCommentInput _1osb",sa=Object.assign({mentionSortFn:(this.props.viewOptionsTypeObjectsOrder?this._sortByRenderType:null)},this.props.viewProps);return (u.createElement("div",{onClick:this._onClickEditorContainer},this._renderProxyInput(),u.createElement(t,{ref:"mentionsInput",className:ra,editorState:this.state.editorState,onChange:this._onChange,mentionsSource:this.state.mentionsSource,typeaheadView:this.props.viewComponent,typeaheadViewProps:sa,spellCheck:true,placeholder:this.props.placeholder,onAddMention:this._onAddMention,onShowMentions:this._onShowMentions,onFocus:this._onMentionsInputFocus,onBlur:this._onMentionsInputBlur,handleContentReturn:this._handleContentReturn,handleBeforeInput:this._handleBeforeInput,handlePastedFiles:this._handlePastedFiles,handleDroppedFiles:this._handleDroppedFiles,autoflip:this.props.autoflip})));},componentDidMount:function(){if(!ma){if(this.state.fallbackText)u.findDOMNode(this.refs.textarea).focus();}else if(this.state.editorState.getCurrentContent().hasText())ja(function(){this.isMounted()&&this.focus();}.bind(this));},render:function(){if(!ma)return this._renderFallback();if(!this.state.fullRender)return this._renderDummy();return this._renderMentionsInput();}});function qa(ra){return m.create(l.MENTION,k.IMMUTABLE,{id:ra.uid,isWeak:ra.weakreference});}e.exports=pa;},null);
__d("UFIMentionsInputProxy.react",["Bootloader","immutable","React","cx","emptyFunction","setImmediate"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=i.createClass({displayName:"UFIMentionsInputProxy",getInitialState:function(){return {cmdBuffer:h.List(),component:null};},componentDidMount:function(){if(this.props.initialData)this._bootload();},hasEnteredText:function(){return this._fillCmdBuffer({fn:'hasEnteredText',args:[]});},setSignature:function(n){this._fillCmdBuffer({fn:'setSignature',args:[n]});},focus:function(){this._fillCmdBuffer({fn:'focus',args:[]});},submitComment:function(event){this._fillCmdBuffer({fn:'submitComment',args:[event]});},insertMention:function(n){this._fillCmdBuffer({fn:'insertMention',args:[n]});},insertEmoticon:function(n){this._fillCmdBuffer({fn:'insertEmoticon',args:[n]});},_bootload:function(){g.loadModules(["UFIMentionsInput.react"],function(n){return this.setState({component:n});}.bind(this));},_focusAndLoad:function(){this._bootload();this.focus();},_hasBufferedCommands:function(){return this.state.cmdBuffer.size>0;},_fillCmdBuffer:function(n){if(this.refs.mentionsinputchild){return this._execCmd(n);}else this.setState({cmdBuffer:this.state.cmdBuffer.push(n)});},_drainFnBuffer:function(){var n=this.state.cmdBuffer.first();this.setState({cmdBuffer:this.state.cmdBuffer.shift()});return n;},_execCmd:function(n){var o=this.refs.mentionsinputchild;return o[n.fn].apply(o,n.args);},_renderProxyInput:function(){var n="_1osa mentionsHidden";return (i.createElement("input",{className:n,name:"add_comment_text",ref:"proxyInput",onFocus:this._focusAndLoad,tabIndex:"-1"}));},_renderDummy:function(){var n="UFIAddCommentInput _1osb _1osc";return (i.createElement("div",{onFocus:this._focusAndLoad,onClick:this._focusAndLoad,onTouchStart:k,onMouseOver:this._bootload},i.createElement("div",{className:n},this._renderProxyInput(),this.props.placeholder)));},render:function(){var n=this.state.component;if(!n)return this._renderDummy();if(this._hasBufferedCommands())l(function(){return this._execCmd(this._drainFnBuffer());}.bind(this));return (i.createElement(n,i.__spread({key:"mentionsinputchild",ref:"mentionsinputchild"},this.props),this.props.children));}});e.exports=m;},null);
__d("DialogPosition",["Vector"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=40,i,j={calculateTopMargin:function(k,l){if(i)return i;var m=g.getViewportDimensions(),n=Math.floor((m.x+k)*(m.y-l)/(4*m.x));return Math.max(n,h);},setFixedTopMargin:function(k){i=k;}};e.exports=j;},null);
__d("TabIsolation",["DOMQuery","Event","Focus","Keys","TabbableElements"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=[],m=0;function n(o){"use strict";this._root=o;this._eventHandler=null;this._identifier=m++;}n.prototype.enable=function(){"use strict";l.unshift(this._identifier);this._eventHandler=h.listen(window,'keydown',function(o){if(l[0]===this._identifier)this._tabHandler(o);}.bind(this),h.Priority.URGENT);};n.prototype.disable=function(){"use strict";var o;if(this._eventHandler){o=l.indexOf(this._identifier);if(o>-1)l.splice(o,1);this._eventHandler.remove();this._eventHandler=null;}};n.prototype._tabHandler=function(o){"use strict";if(h.getKeyCode(o)!==j.TAB)return;var p=o.getTarget();if(!p)return;var q=k.find(this._root),r=q[0],s=q[q.length-1],t=o.getModifiers().shift;if(t&&p===r){o.preventDefault();i.set(s);}else if((!t&&p===s)||!g.contains(this._root,p)){o.preventDefault();i.set(r);}};e.exports=n;},null);
__d("LayerTabIsolation",["TabIsolation","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._layer=j;this._tabIsolation=null;}i.prototype.enable=function(){"use strict";this._tabIsolation=new g(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))];};i.prototype.disable=function(){"use strict";while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._tabIsolation.disable();this._tabIsolation=null;};h(i.prototype,{_subscriptions:[]});e.exports=i;},null);
__d("LayerTogglerContext",["Toggler"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._layer=i;}h.prototype.enable=function(){"use strict";this._root=this._layer.getRoot();g.createInstance(this._root).setSticky(false);};h.prototype.disable=function(){"use strict";g.destroyInstance(this._root);this._root=null;};e.exports=h;},null);
__d("DialogX",["Arbiter","CSS","DialogPosition","Event","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerFormHooks","LayerRefocusOnHide","LayerTabIsolation","LayerTogglerContext","ModalLayer","Style","Vector","copyProperties","cx","debounce","goURI","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){b.__markCompiled&&b.__markCompiled();for(var aa in l)if(l.hasOwnProperty(aa))ca[aa]=l[aa];var ba=l===null?null:l.prototype;ca.prototype=Object.create(ba);ca.prototype.constructor=ca;ca.__superConstructor__=l;function ca(){"use strict";if(l!==null)l.apply(this,arguments);}ca.prototype._configure=function(ea,fa){"use strict";ba._configure.call(this,ea,fa);h.addClass(this.getRoot(),"_4-hy");if(ea.autohide)var ga=this.subscribe('show',function(){ga.unsubscribe();setTimeout(z(this.hide,this),ea.autohide);}.bind(this));if(ea.redirectURI)var ha=this.subscribe('hide',function(){ha.unsubscribe();y(ea.redirectURI);});this._fixedTopPosition=ea.fixedTopPosition;};ca.prototype._getDefaultBehaviors=function(){"use strict";return ba._getDefaultBehaviors.call(this).concat([da,s,m,n,o,q,r,p]);};ca.prototype._buildWrapper=function(ea,fa){"use strict";var ga=ea.xui?"_4-hz":"_t",ha=ea.xui?"_59s7":"_1yv";this._innerContent=k.div(null,fa);this._wrapper=k.div({className:ha,role:"dialog","aria-labelledby":ea.titleID||null},k.div({className:ga},this._innerContent));this.setWidth(ea.width);return (k.div({className:"_10",role:"dialog"},this._wrapper));};ca.prototype.getContentRoot=function(){"use strict";return this._wrapper;};ca.prototype.getInnerContent=function(){"use strict";return this._innerContent;};ca.prototype.updatePosition=function(){"use strict";var ea;if(this._fixedTopPosition){ea=this._fixedTopPosition;}else{var fa=u.getElementDimensions(this._wrapper);ea=i.calculateTopMargin(fa.x,fa.y);}t.set(this._wrapper,'margin-top',ea+'px');this.inform('update_position',{type:'DialogX',top:ea});};ca.prototype.setWidth=function(ea){"use strict";ea=Math.floor(ea);if(ea===this._width)return;this._width=ea;t.set(this._wrapper,'width',ea+'px');};ca.prototype.getWidth=function(){"use strict";return this._width;};ca.prototype.getFixedTopPosition=function(){"use strict";return this._fixedTopPosition;};function da(ea){"use strict";this._layer=ea;}da.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe(['show','hide'],function(ea){if(ea==='show'){this._attach();g.inform('layer_shown',{type:'DialogX'});}else{this._detach();g.inform('layer_hidden',{type:'DialogX'});}}.bind(this));};da.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;this._resize&&this._detach();};da.prototype._attach=function(){"use strict";this._layer.updatePosition();this._resize=j.listen(window,'resize',x(this._layer.updatePosition.bind(this._layer)));};da.prototype._detach=function(){"use strict";this._resize.remove();this._resize=null;};v(da.prototype,{_subscription:null,_resize:null});e.exports=ca;},null);
__d("AbstractDialog.react",["DialogX","LayerHideOnBlur","React","copyProperties","merge"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=i,m=l.PropTypes,n={createSpec:function(o){return {displayName:o.displayName,propTypes:{behaviors:m.object,className:m.string,modal:m.bool,autohide:m.number,width:m.number,titleID:m.string,causalElement:m.object,causalElementRef:m.string,shown:m.bool,layerHideOnBlur:m.bool,fixedTopPosition:m.number},createLayer:function(p){var q=this.props.className,r=j({width:this.props.width,xui:true,autohide:this.props.autohide,classNames:q?q.split(' '):null,titleID:this.props.titleID,causalElement:this._getCausalElement(),fixedTopPosition:this.props.fixedTopPosition},o||{}),s=k(o.addedBehaviors,this.props.behaviors);if(this.props.layerHideOnBlur!==false)s.LayerHideOnBlur=h;r.addedBehaviors=this.enumerateBehaviors(s);var t=new g(r,p);t.conditionShow(this.props.shown);return t;},receiveProps:function(p){this.updateBehaviors(p.behaviors);if(this.layer){this.layer.setCausalElement(this._getCausalElement());this.layer.conditionShow(p.shown);this.layer.setWidth(p.width);p.shown&&this.layer.updatePosition();}},_getCausalElement:function(){var p;if(this.props.causalElementRef){p=this.getNodeForOwnerRef(this.props.causalElementRef);}else p=this.props.causalElement;return p;}};}};e.exports=n;},null);
__d("MentionsInputTypeaheadView.react",["MentionsTypeaheadViewItem.react","React","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h,k=j.PropTypes,l=h.createClass({displayName:"MentionsInputTypeaheadView",propTypes:{id:k.string,highlightedEntry:k.object,entries:k.array.isRequired,onSelect:k.func.isRequired,onHighlight:k.func,onRenderHighlight:k.func},_renderItem:function(m){var n=m===this.props.highlightedEntry;return (h.createElement(g,{key:m.getUniqueID(),entry:m,highlighted:n,onSelect:this.props.onSelect,onHighlight:this.props.onHighlight,onRenderHighlight:this.props.onRenderHighlight}));},render:function(){var m=(("_5u8_")+(!this.props.entries.length?' '+"_5u90":''));return (h.createElement("ul",{className:m,role:"listbox",id:this.props.id},this.props.entries.map(this._renderItem)));}});e.exports=l;},null);
__d("XUIDialogCancelButton.react",["React","XUIDialogButton.react","fbt"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=g.createClass({displayName:"XUIDialogCancelButton",render:function(){return (g.createElement(h,g.__spread({},this.props,{action:"cancel",label:i._("Cancel")})));}});e.exports=j;},null);
__d("XUIDialog.react",["AbstractDialog.react","LayerFadeOnShow","ReactLayer"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=i.createClass(g.createSpec({displayName:'XUIDialog',addedBehaviors:{LayerFadeOnShow:h}}));e.exports=j;},null);
__d("sliceChildren",["ReactFragment","flattenChildren"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';function i(j,k,l){if(j==null)return j;var m={},n=h(j),o=0;for(var p in n){if(!n.hasOwnProperty(p))continue;var q=n[p];if(o>=k)m[p]=q;o++;if(l!=null&&o>=l)break;}return g.create(m);}e.exports=i;},null);
__d("XUIDialogTitle.react",["LeftRight.react","React","XUICloseButton.react","cx","fbt","sliceChildren","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=h,o=n.PropTypes,p=h.createClass({displayName:"XUIDialogTitle",propTypes:{closeButtonText:o.string,showCloseButton:o.bool},getDefaultProps:function(){return {closeButtonText:k._("Close"),showCloseButton:true};},render:function(){var q=null;if(this.props.showCloseButton)q=h.createElement(i,{label:this.props.closeButtonText,className:"layerCancel _51-t"});return (h.createElement("div",h.__spread({},this.props,{className:m(this.props.className,"_4-i0")}),h.createElement(g,null,h.createElement("h3",{className:"_52c9"},l(this.props.children,0,1)),h.createElement("div",{className:"_51-u"},l(this.props.children,1),q))));}});e.exports=p;},null);
__d("TypeaheadViewPropTypes",["React"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=g,i=h.PropTypes,j={ariaOwneeID:i.string,highlightedEntry:i.object,entries:i.array.isRequired,onSelect:i.func.isRequired,onHighlight:i.func,onRenderHighlight:i.func,role:i.string};e.exports=j;},null);
__d("legacy:ScrollAwareDOM",["ScrollAwareDOM"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.ScrollAwareDOM=b('ScrollAwareDOM');},3);
__d("destroyOnUnload",["Run"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){g.onLeave(i);}e.exports=h;},null);
__d("BanzaiNectar",["Banzai"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(j){return {log:function(k,l,m){var n={e:l,a:m};g.post('nectar:'+k,n,j);}};}var i=h();i.create=h;e.exports=i;},null);
__d("Base64",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';function h(l){l=(l.charCodeAt(0)<<16)|(l.charCodeAt(1)<<8)|l.charCodeAt(2);return String.fromCharCode(g.charCodeAt(l>>>18),g.charCodeAt((l>>>12)&63),g.charCodeAt((l>>>6)&63),g.charCodeAt(l&63));}var i='>___?456789:;<=_______'+'\0\1\2\3\4\5\6\7\b\t\n\13\f\r\16\17\20\21\22\23\24\25\26\27\30\31'+'______\32\33\34\35\36\37 !"#$%&\'()*+,-./0123';function j(l){l=(i.charCodeAt(l.charCodeAt(0)-43)<<18)|(i.charCodeAt(l.charCodeAt(1)-43)<<12)|(i.charCodeAt(l.charCodeAt(2)-43)<<6)|i.charCodeAt(l.charCodeAt(3)-43);return String.fromCharCode(l>>>16,(l>>>8)&255,l&255);}var k={encode:function(l){l=unescape(encodeURI(l));var m=(l.length+2)%3;l=(l+'\0\0'.slice(m)).replace(/[\s\S]{3}/g,h);return l.slice(0,l.length+m-2)+'=='.slice(m);},decode:function(l){l=l.replace(/[^A-Za-z0-9+\/]/g,'');var m=(l.length+3)&3;l=(l+'AAA'.slice(m)).replace(/..../g,j);l=l.slice(0,l.length+m-3);try{return decodeURIComponent(escape(l));}catch(n){throw new Error('Not valid UTF-8');}},encodeObject:function(l){return k.encode(JSON.stringify(l));},decodeObject:function(l){return JSON.parse(k.decode(l));},encodeNums:function(l){return String.fromCharCode.apply(String,l.map(function(m){return g.charCodeAt((m|-(m>63))&-(m>0)&63);}));}};e.exports=k;},null);
__d("BlobFactory",["emptyFunction"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h,i=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder;if(a.Blob){var j;try{new a.Blob();j=true;}catch(k){j=false;}h={getBlob:function(l,m){l=l||[];m=m||{};if(j){return new a.Blob(l,m);}else{var n=new i();for(var o=0;o<l.length;o++)n.append(l[o]);return n.getBlob(m.type);}},isSupported:g.thatReturnsTrue};}else h={getBlob:function(){},isSupported:g.thatReturnsFalse};e.exports=h;},null);
__d("Deferred",["Promise"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(){"use strict";this.$Deferred0=false;this.$Deferred1=new g(function(i,j){this.$Deferred2=i;this.$Deferred3=j;}.bind(this));}h.prototype.getPromise=function(){"use strict";return this.$Deferred1;};h.prototype.resolve=function(i){"use strict";this.$Deferred0=true;this.$Deferred2(i);};h.prototype.reject=function(i){"use strict";this.$Deferred0=true;this.$Deferred3(i);};h.prototype.then=function(){"use strict";return g.prototype.then.apply(this.$Deferred1,arguments);};h.prototype.done=function(){"use strict";g.prototype.done.apply(this.$Deferred1,arguments);};h.prototype.isSettled=function(){"use strict";return this.$Deferred0;};e.exports=h;},null);
__d("Visibility",["mixInEventEmitter"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h,i;if(typeof document.hidden!=='undefined'){h='hidden';i='visibilitychange';}else if(typeof document.mozHidden!=='undefined'){h='mozHidden';i='mozvisibilitychange';}else if(typeof document.msHidden!=='undefined'){h='msHidden';i='msvisibilitychange';}else if(typeof document.webkitHidden!=='undefined'){h='webkitHidden';i='webkitvisibilitychange';}function j(){return h?document[h]:false;}var k={HIDDEN:'hidden',VISIBLE:'visible',isHidden:j};g(k,{visible:true,hidden:true});if(document.addEventListener&&i)document.addEventListener(i,function l(){k.emit(j()?k.HIDDEN:k.VISIBLE);});e.exports=k;},null);
__d("cancelAnimationFramePolyfill",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||a.clearTimeout;e.exports=g;},null);
__d("classWithMixins",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i,j){var k=function(){i.apply(this,arguments);};k.prototype=g(Object.create(i.prototype),j.prototype);return k;}e.exports=h;},null);
__d("coalesce",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){for(var h=0;h<arguments.length;++h)if(arguments[h]!=null)return arguments[h];return null;}e.exports=g;},null);
__d("transferTextStyles",["Style"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={fontFamily:null,fontSize:null,fontStyle:null,fontWeight:null,lineHeight:null,wordWrap:null};function i(j,k){for(var l in h)if(h.hasOwnProperty(l))h[l]=g.get(j,l);g.apply(k,h);}e.exports=i;},null);
__d("TextMetrics",["DOM","Style","UserAgent_DEPRECATED","transferTextStyles"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(m){var n=m.clientWidth,o=(h.get(m,'-moz-box-sizing')=='border-box');if(o&&i.firefox()<29)return n;var p=h.getFloat(m,'paddingLeft')+h.getFloat(m,'paddingRight');return n-p;}function l(m,n){this._node=m;this._flexible=!!n;var o='textarea',p='textMetrics';if(this._flexible){o='div';p+=' textMetricsInline';}this._shadow=g.create(o,{className:p});j(m,this._shadow);document.body.appendChild(this._shadow);}l.prototype.measure=function(m){var n=this._node,o=this._shadow;m=(m||n.value)+'...';if(!this._flexible){var p=k(n);h.set(o,'width',Math.max(p,0)+'px');}if(n.nodeName==='TEXTAREA'){o.value=m;}else g.setContent(o,m);return {width:o.scrollWidth,height:o.scrollHeight};};l.prototype.destroy=function(){g.remove(this._shadow);};e.exports=l;},null);
__d("escapeRegex",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){return h.replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1");}e.exports=g;},null);
__d("filterObject",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g=Object.prototype.hasOwnProperty;function h(i,j,k){if(!i)return null;var l={};for(var m in i)if(g.call(i,m)&&j.call(k,i[m],m,i))l[m]=i[m];return l;}e.exports=h;},null);
__d("htmlSpecialChars",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=/&/g,h=/</g,i=/>/g,j=/"/g,k=/'/g;function l(m){if(typeof m=='undefined'||m===null||!m.toString)return '';if(m===false){return '0';}else if(m===true)return '1';return m.toString().replace(g,'&amp;').replace(j,'&quot;').replace(k,'&#039;').replace(h,'&lt;').replace(i,'&gt;');}e.exports=l;},null);
__d("whitelistObjectKeys",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){var j={},k=Array.isArray(i)?i:Object.keys(i);for(var l=0;l<k.length;l++)if(typeof h[k[l]]!=='undefined')j[k[l]]=h[k[l]];return j;}e.exports=g;},null);
__d("AbstractTextFieldMixin.react",["React","Keys","cx","invariant","joinClasses","cloneWithProps"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g,n=m.PropTypes,o={propTypes:{value:n.string,placeholder:n.string,tabIndex:n.string,maxLength:n.number,autoComplete:n.string,onBackspace:n.func,onBackTab:n.func,onBlur:n.func,onChange:n.func,onDownArrow:n.func,onEnter:n.func,onEscape:n.func,onFocus:n.func,onKeyDown:n.func,onLeftArrow:n.func,onNoShiftEnter:n.func,onRightArrow:n.func,onShiftEnter:n.func,onShiftDownArrow:n.func,onShiftUpArrow:n.func,onTab:n.func,onUpArrow:n.func,type:n.string,autoCapitalize:n.string,autoCorrect:n.string},getInitialState:function(){return {focused:false,value:this.props.defaultValue||''};},getValue:function(){return this.props.value!=null?this.props.value:this.state.value;},onInputKeyDown:function(p){var q=this.props,r=p.keyCode,s=p.shiftKey;if(r===h.BACKSPACE&&!s&&q.onBackspace){q.onBackspace(p);}else if(r===h.TAB&&!s&&q.onTab){q.onTab(p);}else if(r===h.TAB&&s&&q.onBackTab){q.onBackTab(p);}else if(r===h.UP){if(s){if(q.onShiftUpArrow)q.onShiftUpArrowAttempt(p);}else if(q.onUpArrow)q.onUpArrow(p);}else if(r===h.DOWN&&q.onDownArrow){if(s){if(q.onShiftDownArrow)q.onShiftDownArrow(p);}else if(q.onDownArrow)q.onDownArrow(p);}else if(r===h.LEFT&&q.onLeftArrow){q.onLeftArrow(p);}else if(r===h.RIGHT&&q.onRightArrow){q.onRightArrow(p);}else if(r===h.RETURN){if(q.onEnter)q.onEnter(p);if(s){if(q.onShiftEnter)q.onShiftEnter(p);}else if(q.onNoShiftEnter)q.onNoShiftEnter(p);}else if(r===h.ESC&&q.onEscape)q.onEscape(p);if(q.onKeyDown)q.onKeyDown(p);},onInputChange:function(p){if(this.props.onChange)this.props.onChange(p);if(this.props.value==null)this.setState({value:p.target.value});},focusInput:function(){this.getTextFieldDOM().focus();},blurInput:function(){this.getTextFieldDOM().blur();},onInputBlur:function(event){if(this.props.onBlur)this.props.onBlur(event);if(!event.isDefaultPrevented())this.setState({focused:false});},onInputFocus:function(event){if(this.props.onFocus)this.props.onFocus(event);if(!event.isDefaultPrevented())this.setState({focused:true});},getTextFieldDOM:function(){return g.findDOMNode(this.refs[this.getTextFieldRef()]);},getTextFieldRef:function(){return 'textField';},setTextFieldPropsOn:function(p){return l(p,{'aria-activedescendant':this.props['aria-activedescendant'],'aria-autocomplete':this.props['aria-autocomplete'],'aria-owns':this.props['aria-owns'],'data-testid':this.props['data-testid'],ref:this.getTextFieldRef(),role:this.props.role,placeholder:this.props.placeholder,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,onKeyDown:this.onInputKeyDown,onBlur:this.onInputBlur,onFocus:this.onInputFocus,onChange:this.onInputChange,disabled:this.props.disabled,defaultValue:this.props.defaultValue,name:this.props.name,value:this.getValue(),id:this.props.id,maxLength:this.props.maxLength,min:this.props.min,max:this.props.max,title:this.props.title,type:this.props.type||p.props.type});},render:function(){var p=k(this.props.className,(("_58ak")+(!this.getValue()?' '+"_3ct8":'')));j(this.renderTextField);return (g.createElement("label",{className:p},this.renderTextField()));}};e.exports=o;},null);
__d("AbstractTextInput.react",["AbstractTextFieldMixin.react","React","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=h.createClass({displayName:"AbstractTextInput",mixins:[g],renderTextField:function(){return this.setTextFieldPropsOn(h.createElement("input",{type:"text",className:"_58al",size:this.props.size,tabIndex:this.props.tabIndex,onClick:this.props.onClick,onKeyUp:this.props.onKeyUp,onPaste:this.props.onPaste}));}});e.exports=j;},null);
__d("FlexibleBlock.react",["LeftRight.react","React","cx","invariant","keyMirror"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=k({left:true,right:true});function m(o){j(o.flex&&o.flex in n.FLEX);j(o.children&&o.children.length===2);}var n=h.createClass({displayName:"FlexibleBlock",render:function(){m(this.props);var o,p=this.props.children[0],q=this.props.children[1],r=this.props.flex==l.left,s;if(r){s=p;o=g.DIRECTION.right;}else{s=q;o=g.DIRECTION.left;}var t=h.createElement("div",{className:"_42ef"},s);return (h.createElement(g,h.__spread({},this.props,{direction:o}),r?t:this.props.children[0],r?this.props.children[1]:t));}});n.FLEX=l;e.exports=n;},null);
__d("Grid.react",["React","ReactChildren","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"Grid",propTypes:{cols:l.number.isRequired,fixed:l.bool,alignv:l.oneOf(['top','middle','bottom']),alignh:l.oneOf(['left','center','right']),spacing:l.string},render:function(){var o=this.props,p=o.alignh,q=o.alignv,r=o.children,s=o.cols,t=o.fixed,u=o.spacing,v=h.count(r),w=[],x=[],y=0;h.forEach(r,function(z,aa){if(z===null||z===undefined)return;var ba=z.type===n;y+=ba?Math.max(z.props.colSpan||0,1):1;var ca=((y===s?"_51mw":''));if(!ba){z=g.createElement(n,{alignh:p,alignv:q,className:j(u,ca),key:aa},z);}else z=g.cloneElement(z,{alignh:z.props.alignh||p,alignv:z.props.alignv||q,className:j(z.props.className,u,ca)});x.push(z);if(y%s===0||aa+1===v){if(t&&y<s){for(var da=y;da<s;da++)x.push(g.createElement(n,null));y=s;}w.push(g.createElement("tr",{className:"_51mx",key:aa},x));x=[];y=0;}});return (g.createElement("table",g.__spread({},this.props,{className:j(this.props.className,(("uiGrid")+(' '+"_51mz")+(t?' '+"_5f0n":''))),cellSpacing:"0",cellPadding:"0"}),g.createElement("tbody",null,w)));}}),n=g.createClass({displayName:"GridItem",propTypes:{alignv:l.oneOf(['top','middle','bottom']),alignh:l.oneOf(['left','center','right'])},render:function(){var o=j(this.props.className,(("_51m-")+(this.props.alignv==='top'?' '+"vTop":'')+(this.props.alignv==='middle'?' '+"vMid":'')+(this.props.alignv==='bottom'?' '+"vBot":'')+(this.props.alignh==='left'?' '+"hLeft":'')+(this.props.alignh==='center'?' '+"hCent":'')+(this.props.alignh==='right'?' '+"hRght":'')));return (g.createElement("td",g.__spread({},this.props,{className:o})));}});m.GridItem=n;e.exports=m;},null);
__d("SearchableTextInput.react",["EventListener","React","AbstractTextFieldMixin.react","AbstractTextInput.react","getActiveElement","merge"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=h,n=m.PropTypes,o=h.createClass({displayName:"SearchableTextInput",propTypes:l(i.propTypes,{queryString:n.string,searchSource:n.object,searchSourceOptions:n.object,onEntriesFound:n.func.isRequired,searchOnFocus:n.bool,searchOnUpdate:n.bool,onPaste:n.func,onFocus:n.func,onChange:n.func}),componentDidMount:function(){if(this.props.onPaste)this._listener=g.listen(this.refs.input.getTextFieldDOM(),'paste',this.props.onPaste);},componentWillReceiveProps:function(p){},componentDidUpdate:function(p){if(this.props.searchOnUpdate)if(p.queryString!==this.props.queryString)this.search(this.props.queryString);},componentWillUnmount:function(){if(this._listener){this._listener.remove();this._listener=null;}},_onInputFocus:function(){this.props.searchSource.bootstrap(function(){if(this.props.searchOnFocus)this.search(this.props.queryString);}.bind(this));this.props.onFocus&&this.props.onFocus();},_onSearchCallback:function(p,q){if(this.props.queryString===q)this.props.onEntriesFound(p);},_onChange:function(event){this.props.onChange&&this.props.onChange(event);var p=event.target.value;setTimeout(function(){return this.search(p);}.bind(this));},search:function(p){this.props.searchSource.search(p,this._onSearchCallback,this.props.searchSourceOptions);},focusInput:function(){var p=this.getTextFieldDOM();if(k()===p){this._onInputFocus();}else p.offsetHeight&&p.focus();},blurInput:function(){var p=this.getTextFieldDOM();p.offsetHeight&&p.blur();},getTextFieldDOM:function(){return this.refs.input.getTextFieldDOM();},render:function(){var p=this.props.queryString||'';return (h.createElement(j,h.__spread({},this.props,{"aria-label":p,onChange:this._onChange,onFocus:this._onInputFocus,ref:"input",role:"combobox",value:p})));}});e.exports=o;},null);
__d("Dispatcher",["invariant"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();"use strict";var h=1,i='ID_';function j(){this.$Dispatcher0={};this.$Dispatcher1={};this.$Dispatcher2={};this.$Dispatcher3=false;this.$Dispatcher4=null;this.$Dispatcher5={};}j.prototype.register=function(k){var l=i+h++;this.$Dispatcher0[l]=k;return l;};j.prototype.unregister=function(k){g(this.$Dispatcher0[k]);delete this.$Dispatcher0[k];};j.prototype.waitFor=function(k){g(this.$Dispatcher3);for(var l=0;l<k.length;l++){var m=k[l];if(this.$Dispatcher1[m]){g(this.$Dispatcher2[m]);continue;}g(this.$Dispatcher0[m]);this.$Dispatcher6(m);}};j.prototype.dispatch=function(k){g(!this.$Dispatcher3);this.$Dispatcher7(k);try{for(var l in this.$Dispatcher0){if(this.$Dispatcher1[l])continue;this.$Dispatcher6(l);}}finally{if(Object.keys(this.$Dispatcher5).length)this.$Dispatcher8();this.$Dispatcher9();}};j.prototype.isDispatching=function(){return this.$Dispatcher3;};j.prototype.enqueueCompletionCallback=function(k,l){g(this.$Dispatcher3);g(!this.$Dispatcher5[k]);this.$Dispatcher5[k]=l;};j.prototype.$Dispatcher6=function(k){this.$Dispatcher1[k]=true;this.$Dispatcher0[k](this.$Dispatcher4);this.$Dispatcher2[k]=true;};j.prototype.$Dispatcher7=function(k){for(var l in this.$Dispatcher0){this.$Dispatcher1[l]=false;this.$Dispatcher2[l]=false;}this.$Dispatcher4=k;this.$Dispatcher3=true;};j.prototype.$Dispatcher8=function(){for(var k in this.$Dispatcher5)this.$Dispatcher5[k]();this.$Dispatcher5={};};j.prototype.$Dispatcher9=function(){this.$Dispatcher4=null;this.$Dispatcher3=false;};e.exports=j;},null);
__d("CurrentLocale",["LocaleInitialData"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={};h.get=function(){return g.locale;};e.exports=h;},null);
__d("xuiglyph",["ix"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(i){if(typeof i==='string')i={name:i};var j=Object.assign({name:(void 0),shade:'dark',size:'small'},i);return g.call(null,j.name+':'+j.shade+':'+j.size);}e.exports=h;},null);
__d("confine",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){return Math.min(Math.max(h,i),j);}e.exports=g;},null);
__d("cancelAnimationFrame",["cancelAnimationFramePolyfill"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();e.exports=g.bind(a);},null);
__d("PresenceUtil",["CurrentUser","randomInt"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h(0,4294967295)+1;function j(){return i;}function k(){return g.isLoggedInNow();}e.exports={getSessionID:j,hasUserCookie:k};},null);
__d("shallowCompare",["shallowEqual"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';function h(i,j,k){return (!g(i.props,j)||!g(i.state,k));}e.exports=h;},null);
__d("ReactComponentWithPureRenderMixin",["shallowCompare"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h={shouldComponentUpdate:function(i,j){return g(this,i,j);}};e.exports=h;},null);
__d("AbstractSearchSource",["Promise"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(){}var i={bootstrap:function(j){if(!this._bootstrapPromise)this._bootstrapPromise=new g(function(k){this.bootstrapImpl(k);}.bind(this));return this._bootstrapPromise.then(j);},search:function(j,k,l){this.searchImpl(j,k,l);},bootstrapImpl:function(j){j();},searchImpl:function(j,k,l){throw new Error('Abstract method #searchImpl is not implemented.');}};Object.assign(h.prototype,i);h.Mixin=i;e.exports=h;},null);
__d("SearchSourceCallbackManager",["createObjectFrom","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(k){"use strict";this.$SearchSourceCallbackManager0=k.parseFn;h(typeof this.$SearchSourceCallbackManager0==='function');this.$SearchSourceCallbackManager1=k.matchFn;h(typeof this.$SearchSourceCallbackManager1==='function');this.$SearchSourceCallbackManager2=k.alwaysPrefixMatch||false;this.$SearchSourceCallbackManager3=k.indexFn||j;this.reset();}i.prototype.search=function(k,l,m){"use strict";var n=this.$SearchSourceCallbackManager4(k,l,m);if(n)return 0;this.$SearchSourceCallbackManager5.push({queryString:k,callback:l,options:m});var o=this.$SearchSourceCallbackManager5.length-1;this.$SearchSourceCallbackManager6.push(o);return o;};i.prototype.$SearchSourceCallbackManager4=function(k,l,m){"use strict";var n=this.$SearchSourceCallbackManager7(k),o=!!this.$SearchSourceCallbackManager8[k];if(!n.length){l([],k);return o;}var p=n.map(function(q){return this.$SearchSourceCallbackManager9[q];},this);l(p,k);return o;};i.prototype.$SearchSourceCallbackManagera=function(){"use strict";var k=this.$SearchSourceCallbackManager6;this.$SearchSourceCallbackManager6=[];k.forEach(this.$SearchSourceCallbackManagerb,this);};i.prototype.$SearchSourceCallbackManagerb=function(k){"use strict";var l=this.$SearchSourceCallbackManager5[k];if(!l)return;var m=this.$SearchSourceCallbackManager4(l.queryString,l.callback,l.options);if(m){delete this.$SearchSourceCallbackManager5[k];return;}this.$SearchSourceCallbackManager6.push(k);};i.prototype.reset=function(){"use strict";this.$SearchSourceCallbackManager9={};this.$SearchSourceCallbackManagerc={};this.$SearchSourceCallbackManagerd={};this.$SearchSourceCallbackManagere={};this.$SearchSourceCallbackManager8={};this.$SearchSourceCallbackManager6=[];this.$SearchSourceCallbackManager5=[(void 0)];};i.prototype.addLocalEntries=function(k){"use strict";k.forEach(function(l){var m=l.getUniqueID(),n=this.$SearchSourceCallbackManager3(l);this.$SearchSourceCallbackManager9[m]=l;this.$SearchSourceCallbackManagerc[m]=n;var o=this.$SearchSourceCallbackManager0(n);o.tokens.forEach(function(p){if(!this.$SearchSourceCallbackManagerd.hasOwnProperty(p))this.$SearchSourceCallbackManagerd[p]={};this.$SearchSourceCallbackManagerd[p][m]=true;},this);},this);this.$SearchSourceCallbackManagera();};i.prototype.addQueryEntries=function(k,l){"use strict";var m=this.$SearchSourceCallbackManager7(l),n=this.$SearchSourceCallbackManager0(l).flatValue;this.$SearchSourceCallbackManagere[n]=g(m,true);k.forEach(function(o){var p=o.getUniqueID();this.$SearchSourceCallbackManager9[p]=o;this.$SearchSourceCallbackManagerc[p]=this.$SearchSourceCallbackManager3(o);this.$SearchSourceCallbackManagere[n][p]=true;},this);this.$SearchSourceCallbackManagera();};i.prototype.unsubscribe=function(k){"use strict";delete this.$SearchSourceCallbackManager5[k];};i.prototype.removeEntry=function(k){"use strict";delete this.$SearchSourceCallbackManager9[k];};i.prototype.getAllEntriesMap=function(){"use strict";return this.$SearchSourceCallbackManager9;};i.prototype.setQueryStringAsExhausted=function(k){"use strict";this.$SearchSourceCallbackManager8[k]=true;};i.prototype.unsetQueryStringAsExhausted=function(k){"use strict";delete this.$SearchSourceCallbackManager8[k];};i.prototype.$SearchSourceCallbackManager7=function(k){"use strict";var l=this.$SearchSourceCallbackManagerf(k,this.$SearchSourceCallbackManagerg(k)),m=this.$SearchSourceCallbackManagerf(k,this.$SearchSourceCallbackManagerh(k)),n=l.concat(m),o={},p=[];n.forEach(function(q){if(!o[q]&&this.$SearchSourceCallbackManager9[q]!==(void 0)){p.push(q);o[q]=true;}},this);return p;};i.prototype.$SearchSourceCallbackManagerf=function(k,l){"use strict";var m=this.$SearchSourceCallbackManageri(k,l),n=this.$SearchSourceCallbackManager9;function o(p,q){if(m[p]!==m[q])return m[p]?-1:1;var r=n[p],s=n[q];if(r.getOrder()!==s.getOrder())return r.getOrder()-s.getOrder();var t=r.getTitle().length,u=s.getTitle().length;if(t!==u)return t-u;return r.getUniqueID()-s.getUniqueID();}return l.sort(o).slice();};i.prototype.$SearchSourceCallbackManageri=function(k,l){"use strict";var m={};l.forEach(function(n){m[n]=this.$SearchSourceCallbackManager1(k,this.$SearchSourceCallbackManagerc[n]);},this);return m;};i.prototype.$SearchSourceCallbackManagerg=function(k){"use strict";var l=this.$SearchSourceCallbackManager0(k,this.$SearchSourceCallbackManager2),m=this.$SearchSourceCallbackManager2?l.sortedTokens:l.tokens,n=m.length,o=l.isPrefixQuery?n-1:null,p={},q={},r={},s=false,t={},u=0;m.forEach(function(w,x){if(t.hasOwnProperty(w))return;u++;t[w]=true;for(var y in this.$SearchSourceCallbackManagerd){var z=(y===w&&!p.hasOwnProperty(y)),aa=false;if(!z)aa=((this.$SearchSourceCallbackManager2||o===x)&&y.indexOf(w)===0);if(!z&&!aa)continue;if(y===w){if(q.hasOwnProperty(y))s=true;p[y]=true;}else{if(p.hasOwnProperty(y)||q.hasOwnProperty(y))s=true;q[y]=true;}for(var ba in this.$SearchSourceCallbackManagerd[y])if(x===0||(r.hasOwnProperty(ba)&&r[ba]==u-1))r[ba]=u;}},this);var v=Object.keys(r).filter(function(w){return r[w]==u;});if(s||u<n)v=this.$SearchSourceCallbackManagerj(k,v);return v;};i.prototype.$SearchSourceCallbackManagerh=function(k){"use strict";var l=this.$SearchSourceCallbackManager0(k).flatValue,m=this.$SearchSourceCallbackManagerk(l);if(this.$SearchSourceCallbackManagere.hasOwnProperty(l))return m;return this.$SearchSourceCallbackManagerj(k,m);};i.prototype.$SearchSourceCallbackManagerk=function(k){"use strict";var l=0,m=null,n=this.$SearchSourceCallbackManagere;Object.keys(n).forEach(function(o){if(k.indexOf(o)===0&&o.length>l){l=o.length;m=o;}});return (n.hasOwnProperty(m)?Object.keys(n[m]):[]);};i.prototype.$SearchSourceCallbackManagerj=function(k,l){"use strict";return l.filter(function(m){return this.$SearchSourceCallbackManager1(k,this.$SearchSourceCallbackManagerc[m]);},this);};function j(k){return [k.getTitle(),k.getKeywordString()].join(' ');}e.exports=i;},null);
__d("UnicodeCJK",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";var g='a-zA-Z',h='\uFF21-\uFF3A\uFF41-\uFF5A',i=g+h,j='\u3040-\u309F',k='\u30A0-\u30FF',l='\u31F0-\u31FF',m='\uFF65-\uFF9F',n=k+l+m,o=j+n,p=[12352,12447],q=[12448,12543],r=q[0]-p[0],s='\u4E00-\u9FCF',t='\u3400-\u4DBF',u=s+t,v='\uAC00-\uD7AF',w=u+o+v,x=null,y=null,z=null,aa=null;function ba(ja){y=y||new RegExp('['+o+']');return y.test(ja);}function ca(ja){x=x||new RegExp('['+u+']');return x.test(ja);}function da(ja){z=z||new RegExp('['+w+']');return z.test(ja);}function ea(ja){var ka=ja.charCodeAt(0);return String.fromCharCode((ka<p[0]||ka>p[1])?ka:ka+r);}function fa(ja){if(!ba(ja))return ja;return ja.split('').map(ea).join('');}function ga(ja){aa=aa||new RegExp('^'+'['+o+']+'+'['+i+']'+'$');return aa.test(ja);}function ha(ja){if(ga(ja))return ja.substr(0,ja.length-1);return ja;}var ia={hasKana:ba,hasIdeograph:ca,hasIdeoOrSyll:da,hiraganaToKatakana:fa,isKanaWithTrailingLatin:ga,kanaRemoveTrailingLatin:ha};e.exports=ia;},null);
__d("UnicodeHangulKorean",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();"use strict";var g=/[\u3130-\u318F\uAC00-\uD7AF]/;function h(aa){return g.test(aa);}var i=[4352,4353,4522,4354,4524,4525,4355,4356,4357,4528,4529,4530,4531,4532,4533,4378,4358,4359,4360,4385,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4449,4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4466,4467,4468,4469,4448,4372,4373,4551,4552,4556,4558,4563,4567,4569,4380,4573,4575,4381,4382,4384,4386,4387,4391,4393,4395,4396,4397,4398,4399,4402,4406,4416,4423,4428,4593,4594,4439,4440,4441,4484,4485,4488,4497,4498,4500,4510,4513],j=12593,k=i.length,l=j+k;function m(aa){return String.fromCharCode(i[aa-j]);}var n=4352,o=4449,p=4519,q=44032,r=19,s=21,t=28,u=(s*t),v=(r*u),w=q+v;function x(aa){var ba=aa-q,ca=ba%t;return String.fromCharCode(n+ba/u)+String.fromCharCode(o+(ba%u)/t)+((ca>0)?String.fromCharCode(p+ca):'');}function y(aa){if(!h(aa))return aa;var ba=[];for(var ca=0;ca<aa.length;ca++){var da=aa.charAt(ca),ea=da.charCodeAt(0);ba.push((j<=ea&&ea<l)?m(ea):(q<=ea&&ea<w)?x(ea):da);}return ba.join('');}var z={toConjoiningJamo:y};e.exports=z;},null);
__d("UnicodeMatch",["UnicodeHangulKorean","UnicodeCJK","invariant","createObjectFrom","mapObject"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();"use strict";var l=['prefix_hangul_conjoining_jamo','prefix_kana_drop_trailing_latin','prefix_kana_hiragana_to_katakana'];function m(n){this.config=j(l,false);this.setConfigs(n||{});}m.prototype.setConfigs=function(n){k(n,function(o,p){return this.setConfig(p,o);}.bind(this),this);};m.prototype.setConfig=function(n,o){i(n in this.config);this.config[n]=o;};m.prototype.prefixMatchPrepare=function(n){if(n){if(this.config.prefix_hangul_conjoining_jamo)n=g.toConjoiningJamo(n);if(this.config.prefix_kana_drop_trailing_latin)n=h.kanaRemoveTrailingLatin(n);if(this.config.prefix_kana_hiragana_to_katakana)n=h.hiraganaToKatakana(n);}return n;};m.prototype.prefixMatch=function(n,o){n=this.prefixMatchPrepare(n);o=this.prefixMatchPrepare(o);return n.startsWith(o);};e.exports=m;},null);
__d("createIxElement",["DOM","invariant","joinClasses"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l){var m='img',n;h(k.sprited||k.uri);if(k.sprited){m=i(m,k.spriteMapCssClass,k.spriteCssClass);n=g.create('i',{className:m});if(l!=null)g.setContent(n,g.create('u',null,l));}else if(k.uri){n=g.create('img',{className:m,src:k.uri});if(l!=null)n.setAttribute('alt',l);if(k.width)n.setAttribute('width',k.width);if(k.height)n.setAttribute('height',k.height);}return n;}e.exports=j;},null);
__d("ViewableImpressionHeatmapLogger",["Banzai"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();h.logFromViewableImpressionTracker=function(i,j){"use strict";var k=new h(j);k.subscribeToTrackerEvents(i);};function h(i){"use strict";this.loggingDurationMS=i;this.trackingEntries={};}h.prototype.subscribeToTrackerEvents=function(i){"use strict";this.visibleSubscription=i.addListener('visible',this.onElementVisible,this);this.hiddenSubscription=i.addListener('hidden',this.onElementHidden,this);};h.prototype.onElementVisible=function(i){"use strict";var j=this.getCurrentTimestamp(),k=this.trackingEntries[i.id];if(!k){k=this.createTrackingEntry(i);this.beginTracking(i.id,k);j=k.startedTrackingTS;}k.viewportProgressEvents.push({timestamp:j,percentInViewport:i.percentInViewport.toFixed(2)});};h.prototype.onElementHidden=function(i){"use strict";var j=this.getCurrentTimestamp(),k=this.trackingEntries[i.id];if(!k)return;k.viewportProgressEvents.push({timestamp:j,percentInViewport:0});};h.prototype.onTrackingCompleted=function(i){"use strict";var j=this.trackingEntries[i];j.viewportProgressEvents.push({timestamp:this.getCurrentTimestamp(),percentInViewport:j.tracker.getPercentInViewport().toFixed(2)});if(this.$ViewableImpressionHeatmapLogger0())this.$ViewableImpressionHeatmapLogger1(i,j);this.logToServer(j);delete this.trackingEntries[i];};h.prototype.logToServer=function(i){"use strict";var j=i;delete j.tracker;g.post('xtrackable:heatmap',j);};h.prototype.beginTracking=function(i,j){"use strict";this.trackingEntries[i]=j;setTimeout(function(){return this.onTrackingCompleted(i);}.bind(this),this.loggingDurationMS);};h.prototype.createTrackingEntry=function(i){"use strict";return {tracker:i.tracker,token:i.token,startedTrackingTS:this.getCurrentTimestamp(),viewportProgressEvents:[]};};h.prototype.getCurrentTimestamp=function(){"use strict";return (Date.now()/1000).toFixed(2);};h.prototype.$ViewableImpressionHeatmapLogger0=function(){"use strict";return 0;};h.prototype.$ViewableImpressionHeatmapLogger1=function(i,j){"use strict";var k='Completed tracking for id '+i+' token='+j.token+' startedTrackingTS='+j.startedTrackingTS+'\n';j.viewportProgressEvents.forEach(function(l){k+='% in view: '+l.percentInViewport+' timestamp='+l.timestamp+'\n';});};e.exports=h;},null);
__d("ViewableImpressionTracker",["Banzai","BrowseClientEventLogger","copyProperties","CSSCore","cx","DOM","getElementPosition","getViewportDimensions","mixInEventEmitter","Style","URI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();function r(s,t,u){"use strict";this.id=s;this.element=t;this.config=u;this.iframe=null;this.viewableTimeout=null;this.clearSubsequentTimeout=null;this.waitForSubsequent=false;this.waitForLogged=false;this.isNonViewableLogged=false;this.isVisible=false;this.banzaiLogged=false;}r.prototype.getID=function(){"use strict";return this.id;};r.prototype.getPercentInViewport=function(){"use strict";var s=n(),t=m(this.element);if(t.x<s.width&&t.x+t.width>0&&t.y<s.height&&t.y+t.height>0&&p.get(this.element,'visibility')!=='hidden'&&p.get(this.element,'opacity')!=='0'){var u=Math.max(t.x,0),v=Math.min(t.x+t.width,s.width),w=Math.max(t.y,0),x=Math.min(t.y+t.height,s.height);if((t.height*t.width)===0)return 100;if(this.config.require_horizontally_onscreen&&((v-u)<t.width||j.hasClass(this.element,"desktop_hscroll_offscreen")))return 0;var y=100*(v-u)*(x-w)/(t.height*t.width);return y;}return 0;};r.prototype.onVisible=function(){"use strict";this.isVisible=true;var s=this.getPercentInViewport(),t=s>this.config.pixel_in_percentage;this.emit('visible',{tracker:this,id:this.getID(),token:this.getToken(),percentInViewport:s});if(!t){this.$ViewableImpressionTracker0();return;}if(this.isLogged()){this.$ViewableImpressionTracker1();}else this.$ViewableImpressionTracker2();if(!this.waitForLogged&&!this.isLogged()){this.waitForLogged=true;this.viewableTimeout=setTimeout(function(){this.waitForLogged=false;var u=this.getPercentInViewport(),v=u>this.config.pixel_in_percentage;if(!v){this.$ViewableImpressionTracker3();return;}this.logImpression(1,{});this.$ViewableImpressionTracker1();}.bind(this),this.config.duration_in_ms);}};r.prototype.onHidden=function(){"use strict";this.emit('hidden',{id:this.getID(),token:this.getToken()});if(this.config.log_initial_nonviewable&&!this.isLogged()&&!this.isNonViewableLogged){this.logNonViewableImpression();}else if(!this.config.log_initial_nonviewable&&!this.isLogged()&&this.isVisible)this.logNonViewableImpression();this.isVisible=false;if(this.waitForLogged){this.waitForLogged=false;clearTimeout(this.viewableTimeout);}if(this.isLogged()&&!this.waitForSubsequent&&this.config.subsequent_gap_in_ms>=0){this.waitForSubsequent=true;this.clearSubsequentTimeout=setTimeout(function(){this.waitForSubsequent=false;this.reset();if(this.isVisible)this.onVisible();}.bind(this),this.config.subsequent_gap_in_ms);}this.$ViewableImpressionTracker3();};r.prototype.onRemoved=function(){"use strict";this.isVisible=false;};r.prototype.getToken=function(){"use strict";return this.element.getAttribute('data-xt');};r.prototype.logImpression=function(s,t){"use strict";if(this.isLogged())return;var u=this.getToken(),v=Math.floor(Date.now()/1000),w={xt:u,isv:s,cts:v};if(g.isEnabled('xtrackable_clientview_batch')&&this.config.should_batch){this.logWithBanzai(w);}else this.logWithIFrame(i(w,t));};r.prototype.logNonViewableImpression=function(){"use strict";if(this.config.nonviewableEnabled){var s=this.getToken();g.post('xtrackable:nonviewable',{xt:s});}this.isNonViewableLogged=true;};r.prototype.isLogged=function(){"use strict";return this.iframe!==null||this.banzaiLogged;};r.prototype.reset=function(){"use strict";if(this.iframe){l.remove(this.iframe);this.iframe=null;}if(this.banzaiLogged)this.banzaiLogged=false;this.isNonViewableLogged=false;this.isVisible=false;this.waitForLogged=false;this.waitForSubsequent=false;};r.prototype.logWithBanzai=function(s){"use strict";this.banzaiLogged=true;h.maybeLogClientViewEvent(s);g.post('xtrackable:clientview_batch',s);};r.prototype.logWithIFrame=function(s){"use strict";this.iframe=l.create('iframe',{src:new q(this.config.impressionURL).addQueryData(s),width:0,height:0,frameborder:0,scrolling:'no',className:'fbEmuTracking'});this.iframe.setAttribute('aria-hidden','true');l.appendContent(this.element,this.iframe);};r.prototype.$ViewableImpressionTracker4=function(){"use strict";return 0;};r.prototype.$ViewableImpressionTracker0=function(){"use strict";if(this.$ViewableImpressionTracker4()){p.set(this.element,'background-color','#abab9a');p.set(this.element,'outline','3px solid #abab9a');}};r.prototype.$ViewableImpressionTracker2=function(){"use strict";if(this.$ViewableImpressionTracker4()){p.set(this.element,'background-color','#e4f70a');p.set(this.element,'outline','3px solid #e4f70a');}};r.prototype.$ViewableImpressionTracker3=function(){"use strict";if(this.$ViewableImpressionTracker4()){p.set(this.element,'background-color',null);p.set(this.element,'outline',null);}};r.prototype.$ViewableImpressionTracker1=function(){"use strict";if(this.$ViewableImpressionTracker4()){p.set(this.element,'background-color','#047515');p.set(this.element,'outline','3px solid #047515');}};o(r,{visible:true,hidden:true});e.exports=r;},null);
__d("VisibilityTrackingHelper",["Arbiter","DesktopHscrollUnitEventConstants","getViewportDimensions","Event"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={getEventListeners:function(l){return [j.listen(document,'DOMContentLoaded',l),j.listen(window,'scroll',l),j.listen(window,'resize',l),g.subscribe(h.HSCROLL_ITEM_SHOWN_EVENT,l)];},getViewportInfo:function(){return i();}};e.exports=k;},null);
__d("VisibilityTracking",["Banzai","BrowseClientEventLogger","ErrorUtils","ScriptPath","SubscriptionsHandler","Visibility","VisibilityTrackingHelper","collectDataAttributes","copyProperties","getElementPosition","pageID","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s='visibility_tracking',t='[data-vistracking]',u=500,v=50,w=50,x=50,y=50,z={VISIBLE:'visible',HIDDEN:'hidden'},aa={DEFAULT:'default',REMOVED:'removed'},ba={name:z.VISIBLE,cause:aa.DEFAULT},ca={name:z.HIDDEN,cause:aa.DEFAULT},da={name:z.HIDDEN,cause:aa.REMOVED},ea=0;function fa(ga){"use strict";ga=ga||{};if(!ga.bypass_banzai_check&&!g.isEnabled(s))return;this.visibleElementInfo={};this.getDataFromConfig(ga);l.addListener(l.VISIBLE,i.guard(this.fireEvent,'VisibilityTracking:visible',this));if(!this.skipVisibilityHiddenEvents)l.addListener(l.HIDDEN,i.guard(this.clearAllVisibleElements,'VisibilityTracking:hidden',this));j.subscribe(i.guard(this.updateVisibleElements,'VisibilityTracking:scriptPath',this));g.subscribe(g.SHUTDOWN,i.guard(this.onUnload,'VisibilityTracking:banzaiShutdown',this));this.fireEventCallback=r.acrossTransitions(i.guard(this.fireEvent,'VisibilityTracking:fireEventCallback',this),this.timeout,this);this.listeners=new k();m.getEventListeners(this.fireEventCallback).forEach(function(ha){this.listeners.addSubscriptions(ha);},this);if(this.extraInit)i.applyWithGuard(this.extraInit.bind(this));}fa.prototype.getDataFromConfig=function(ga){"use strict";this.config=ga;this.root=ga.root||document.documentElement;this.selector=ga.selector||t;this.timeout=(typeof ga.timeout!=='undefined')?ga.timeout:u;this.minOffsetVisibleFromBottom=(typeof ga.minOffsetVisibleFromBottom!=='undefined')?ga.minOffsetVisibleFromBottom:v;this.minOffsetVisibleFromTop=(typeof ga.minOffsetVisibleFromTop!=='undefined')?ga.minOffsetVisibleFromTop:w;this.minOffsetVisibleFromLeft=(typeof ga.minOffsetVisibleFromLeft!=='undefined')?ga.minOffsetVisibleFromLeft:x;this.minOffsetVisibleFromRight=(typeof ga.minOffsetVisibleFromRight!=='undefined')?ga.minOffsetVisibleFromRight:y;this.handleAllHiddenEvents=(typeof ga.handleAllHiddenEvents!=='undefined')?ga.handleAllHiddenEvents:false;this.handleAllVisibleEvents=(typeof ga.handleAllVisibleEvents!=='undefined')?ga.handleAllVisibleEvents:false;this.skipVisibilityHiddenEvents=(typeof ga.skipVisibilityHiddenEvents!=='undefined')?ga.skipVisibilityHiddenEvents:false;this.cacheTrackedElements=(typeof ga.cacheTrackedElements!=='undefined')?ga.cacheTrackedElements:false;};fa.prototype.getAllTrackedElements=function(){"use strict";if(!this.allTrackedElements){this.allTrackedElements={};if(this.root.querySelectorAll){var ga=this.root.querySelectorAll(this.selector);for(var ha=0;ha<ga.length;ha++){var ia=this.getElementID(ga[ha]);this.allTrackedElements[ia]=ga[ha];}}}return this.allTrackedElements;};fa.prototype.refreshAllTrackedElements=function(){"use strict";delete this.allTrackedElements;return this.getAllTrackedElements();};fa.prototype.getDataToLog=function(ga){"use strict";var ha=o(n(ga,['gt']).gt,{client_time:Date.now()/1000,time_spent_id:q,script_path:j.getScriptPath()});return ha;};fa.prototype.getElementID=function(ga){"use strict";var ha=ga.$VisibilityTracking0;if(ha)return ha;ga.$VisibilityTracking0=++ea;return ea;};fa.prototype.sendDataToLog=function(ga){"use strict";h.maybeLogVisiblityEvent(ga);g.post(s,ga);};fa.prototype.fireEvent=function(){"use strict";var ga=this.cacheTrackedElements?this.allTrackedElements:this.refreshAllTrackedElements();for(var ha in ga){var ia=ga[ha],ja=m.getViewportInfo(),ka=this.isVisible(ia,ja);if(!ka&&(ha in this.visibleElementInfo||this.handleAllHiddenEvents)){this.handleEvent(ia,ca);}else if(ka&&(!(ha in this.visibleElementInfo)||this.handleAllVisibleEvents))this.handleEvent(ia,ba);}this.clearUntrackedVisibleElements();};fa.prototype.isVisible=function(ga,ha){"use strict";var ia=p(ga);return (ia.x||ia.y||ia.width||ia.height)&&(ia.y+ia.height>=this.minOffsetVisibleFromTop)&&(ia.y<=ha.height-this.minOffsetVisibleFromBottom)&&(ia.x+ia.width>=this.minOffsetVisibleFromLeft)&&(ia.x<=ha.width-this.minOffsetVisibleFromRight);};fa.prototype.handleEvent=function(ga,event){"use strict";var ha=this.getElementID(ga),ia=this.getDataToLog(ga),ja;if(event.name===z.VISIBLE){var ka=Math.floor(Date.now()/1000);ja=q.concat(":",ka.toString(),":",this.getElementID(ga).toString());this.visibleElementInfo[ha]={visibility_id:ja,elem:ga};}else if(event.name===z.HIDDEN)if(ha in this.visibleElementInfo){ja=this.visibleElementInfo[ha].visibility_id;delete this.visibleElementInfo[ha];}this.sendDataToLog(o(ia,{event:event.name,visibility_id:ja}));};fa.prototype.clearUntrackedVisibleElements=function(){"use strict";var ga=this.getAllTrackedElements();for(var ha in this.visibleElementInfo)if(!(ha in ga)){var ia=this.visibleElementInfo[ha];if(ia.elem)this.handleEvent(ia.elem,da);}};fa.prototype.clearAllVisibleElements=function(){"use strict";var ga=this.getAllTrackedElements();for(var ha in ga)if(ha in this.visibleElementInfo)this.handleEvent(ga[ha],ca);this.clearUntrackedVisibleElements();};fa.prototype.updateVisibleElements=function(){"use strict";this.clearAllVisibleElements();this.fireEvent();};fa.prototype.refreshAndFireEvent=function(){"use strict";this.refreshAllTrackedElements();this.fireEventCallback();};fa.prototype.onUnload=function(){"use strict";this.clearAllVisibleElements();if(this.listeners){this.listeners.release();this.listeners=null;}if(this.extraCleanup)i.applyWithGuard(this.extraCleanup.bind(this));};fa.init=function(ga){"use strict";new fa(ga);};fa.EVENT=z;fa.CAUSE=aa;e.exports=fa;},null);
__d("ViewableImpressionEventHandler",["copyProperties","ViewableImpressionHeatmapLogger","ViewableImpressionTracker","VisibilityTracking"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=1;for(var l in j)if(j.hasOwnProperty(l))n[l]=j[l];var m=j===null?null:j.prototype;n.prototype=Object.create(m);n.prototype.constructor=n;n.__superConstructor__=j;function n(){"use strict";if(j!==null)j.apply(this,arguments);}n.prototype.extraInit=function(){"use strict";this.impressionTrackers={};};n.prototype.getDataFromConfig=function(o){"use strict";m.getDataFromConfig.call(this,o);this.doHeatmapLogging=o.doHeatmapLogging;this.heatmapLoggingDurationMS=o.heatmapLoggingDurationMS;o.impressionURL=(o.impressionURL!==(void 0))?o.impressionURL:'/xti.php';o.nonviewableEnabled=(o.nonviewableEnabled!==(void 0))?o.nonviewableEnabled:false;};n.prototype.getImpressionTracking=function(o){"use strict";var p=this.getElementID(o),q=g(this.getConfigFromElement(o),this.config),r=this.impressionTrackers[p];if(!r){r=new i(p,o,q);this.impressionTrackers[p]=r;if(this.doHeatmapLogging)h.logFromViewableImpressionTracker(r,this.heatmapLoggingDurationMS);}return r;};n.prototype.handleEvent=function(o,event){"use strict";var p=this.getImpressionTracking(o);if(!p)return;if(event.name===j.EVENT.VISIBLE){p.onVisible();if(!this.visibleElementInfo[p.getID()])this.visibleElementInfo[p.getID()]={elem:o};}else if(event.name===j.EVENT.HIDDEN)if(event.cause===j.CAUSE.DEFAULT){p.onHidden();delete this.visibleElementInfo[p.getID()];}else if(event.cause===j.CAUSE.REMOVED){p.onRemoved();delete this.visibleElementInfo[p.getID()];delete this.impressionTrackers[p.getID()];}};n.prototype.getConfigFromElement=function(o){"use strict";return JSON.parse(o.getAttribute('data-xt-vimp'));};n.prototype.getElementID=function(o){"use strict";if(!o.getAttribute('id'))o.setAttribute('id','xt_uniq_'+k++);return o.getAttribute('id');};e.exports=n;},null);
__d("DragDropFileUpload",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();f.isSupported=function(){return typeof(FileList)!=="undefined";};},null);
__d("DocumentDragDrop",["Event","Arbiter","CSS","DOM","DOMQuery","DragDropFileUpload","emptyFunction","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={},p=0;function q(){p=0;n(o).forEach(function(v){i.removeClass(v.element,v.className);h.inform('dragleave',{element:v.element});});}var r=null;function s(){r&&clearTimeout(r);r=setTimeout(function(){q();},500);}function t(){if(!l.isSupported())return;g.listen(document,'dragenter',function(v){if(p===0)n(o).forEach(function(w){i.addClass(w.element,w.className);h.inform('dragenter',{element:w.element,event:v});});p++;s();});g.listen(document,'dragleave',function(v){p--;if(p===0)q();s();});g.listen(document,'drop',function(v){q();var w=v.getTarget();if(k.isNodeOfType(v.getTarget(),'input'))if(w.type==='file')return;v.prevent();});g.listen(document,'dragover',g.prevent);document.addEventListener('dragover',s,true);t=m;}var u={init:function(){t();},registerStatusElement:function(v,w){t();o[j.getID(v)]={element:v,className:w};if(p>0)i.addClass(v,w);},removeStatusElement:function(v){var w=j.getID(v),x=o[w];if(x){i.removeClass(x.element,x.className);delete o[w];}}};e.exports=u;},null);
__d("DragDropTarget",["Arbiter","Event","SubscriptionsHandler","CSS","DataTransfer","DocumentDragDrop","DragDropFileUpload","copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();function p(q){this._element=q;this._listeners=new i();this._statusElem=q;this._dragEnterCount=0;this._enabled=false;}n(p.prototype,{_onFilesDropCallback:o,_onURLDropCallback:o,_onPlainTextDropCallback:o,_onDropCallback:o,_fileFilterFn:o.thatReturnsArgument,setOnDocumentDragEnterCallback:function(q){this._onDocumentDragEnterCallback=q;return this;},setOnDocumentDragLeaveCallback:function(q){this._onDocumentDragLeaveCallback=q;return this;},setOnDragEnterCallback:function(q){this._onDragEnterCallback=q;return this;},setOnDragLeaveCallback:function(q){this._onDragLeaveCallback=q;return this;},setOnFilesDropCallback:function(q){this._onFilesDropCallback=q;return this;},setOnURLDropCallback:function(q){this._onURLDropCallback=q;return this;},setOnPlainTextDropCallback:function(q){this._onPlainTextDropCallback=q;return this;},setOnDropCallback:function(q){this._onDropCallback=q;return this;},enable:function(){if(!m.isSupported())return this;this._listeners.engage();l.registerStatusElement(this._statusElem,'fbWantsDragDrop');this._listeners.addSubscriptions(h.listen(this._element,'dragenter',this._onDragEnter.bind(this)),h.listen(this._element,'dragleave',this._onDragLeave.bind(this)),h.listen(this._element,'dragover',this._onDragOver.bind(this)),h.listen(this._element,'drop',function(q){this._dragEnterCount=0;j.removeClass(this._statusElem,'fbDropReady');j.removeClass(this._statusElem,'fbDropReadyPhoto');j.removeClass(this._statusElem,'fbDropReadyPhotos');j.removeClass(this._statusElem,'fbDropReadyLink');var r={},s=false,t=this._fileFilterFn(q.dataTransfer.files);if(t.length){this._onFilesDropCallback(t,q);r.files=t;s=true;}var u=q.dataTransfer.getData('url')||q.dataTransfer.getData('text/uri-list');if(u){this._onURLDropCallback(u,q);r.url=u;s=true;}var v=q.dataTransfer.getData('text/plain');if(v){this._onPlainTextDropCallback(v,q);r.plainText=v;s=true;}if(s)this._onDropCallback(r,q);q.kill();}.bind(this)));this._listeners.addSubscriptions(g.subscribe('dragenter',this._onDocumentDragEnter.bind(this)),g.subscribe('dragleave',this._onDocumentDragLeave.bind(this)));this._enabled=true;return this;},disable:function(){if(!this._enabled)return this;l.removeStatusElement(this._statusElem,'fbWantsDragDrop');j.removeClass(this._statusElem,'fbDropReady');j.removeClass(this._statusElem,'fbDropReadyPhoto');j.removeClass(this._statusElem,'fbDropReadyPhotos');j.removeClass(this._statusElem,'fbDropReadyLink');this._listeners.release();this._enabled=false;return this;},setFileFilter:function(q){this._fileFilterFn=q;return this;},setStatusElement:function(q){this._statusElem=q;return this;},_onDragEnter:function(q){if(this._dragEnterCount===0){var r=new k(q.dataTransfer);j.addClass(this._statusElem,'fbDropReady');if(r.isLink()||!r.isImage()){j.addClass(this._statusElem,'fbDropReadyLink');}else if(r.getCount()>1){j.addClass(this._statusElem,'fbDropReadyPhotos');}else j.addClass(this._statusElem,'fbDropReadyPhoto');this._onDragEnterCallback&&this._onDragEnterCallback();}this._dragEnterCount++;q.preventDefault();},_onDragLeave:function(q){this._dragEnterCount=Math.max(this._dragEnterCount-1,0);if(this._dragEnterCount===0){j.removeClass(this._statusElem,'fbDropReady');j.removeClass(this._statusElem,'fbDropReadyPhoto');j.removeClass(this._statusElem,'fbDropReadyPhotos');j.removeClass(this._statusElem,'fbDropReadyLink');this._onDragLeaveCallback&&this._onDragLeaveCallback();}},_onDragOver:function(q){if(!q.dataTransfer){h.kill(q);return;}var r=q.dataTransfer.effectAllowed;q.dataTransfer.dropEffect=(r=='move'||r=='linkMove')?'move':'copy';h.kill(q);},_onDocumentDragEnter:function(event,q){if(this._onDocumentDragEnterCallback&&q.element==this._element)this._onDocumentDragEnterCallback();},_onDocumentDragLeave:function(event,q){this._dragEnterCount=0;this._onDragLeave(event);if(this._onDocumentDragLeaveCallback&&q.element==this._element)this._onDocumentDragLeaveCallback();}});e.exports=p;},null);
__d("EventPermalinkURISetter",["BusinessURI.brands","PageTransitions"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={setURI:function(j){if(window.location.search!=='')window.history.replaceState({event_id:j},document.title,g(window.location.pathname).toString());},initHandler:function(){window.onpopstate=function(j){if(j.state&&j.state.subpath)h.go(j.state.subpath,true);};}};e.exports=i;},null);
__d("TypeaheadFacepile",["DOM"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(){}h.render=function(i){var j=[g.create('span',{className:'splitpic leftpic'},[g.create('img',{alt:'',src:i[0]})]),g.create('span',{className:'splitpic'+(i[2]?' toppic':'')},[g.create('img',{alt:'',src:i[1]})])];if(i[2])j.push(g.create('span',{className:'splitpic bottompic'},[g.create('img',{alt:'',src:i[2]})]));return g.create('span',{className:'splitpics clearfix'},j);};e.exports=h;},null);
__d("NavigationMessage",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={NAVIGATION_BEGIN:'NavigationMessage/navigationBegin',NAVIGATION_SELECT:'NavigationMessage/navigationSelect',NAVIGATION_FIRST_RESPONSE:'NavigationMessage/navigationFirstResponse',NAVIGATION_COMPLETED:'NavigationMessage/navigationCompleted',NAVIGATION_FAILED:'NavigationMessage/navigationFailed',NAVIGATION_COUNT_UPDATE:'NavigationMessage/navigationCount',NAVIGATION_FAVORITE_UPDATE:'NavigationMessage/navigationFavoriteUpdate',NAVIGATION_ITEM_REMOVED:'NavigationMessage/navigationItemRemoved',NAVIGATION_ITEM_HIDDEN:'NavigationMessage/navigationItemHidden',INTERNAL_LOADING_BEGIN:'NavigationMessage/internalLoadingBegin',INTERNAL_LOADING_COMPLETED:'NavigationMessage/internalLoadingCompleted'};e.exports=g;},null);
__d("AttachmentRelatedShareConstants",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={ARTICLE_CLICK:'article_click',VIDEO_CLICK:'video_click',FBVIDEO_CLICK:'fbvideo_click',GAME_CLICK:'game_click',EVENT_DELAY:1000,HIDE_DELAY:100,PHOTO_CLICK:'photo_click',EVENT_JOIN:'event_join'};e.exports=g;},null);
__d("FeedBlacklistButton",["Arbiter","Event"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={BLACKLIST:'feed_blacklist',UNBLACKLIST:'feed_unblacklist',init:function(j,k,l,m){h.listen(k,'click',function(){var n={profile_id:m};g.inform(i.BLACKLIST,n);g.inform('UnfollowingUser',n);});h.listen(l,'click',function(){var n={profile_id:m};g.inform(i.UNBLACKLIST,n);g.inform('FollowingUser',n);});g.subscribe(i.BLACKLIST,function(n,o){if(m==o.profile_id)j.swap();});g.subscribe(i.UNBLACKLIST,function(n,o){if(m==o.profile_id)j.unswap();});}};e.exports=a.FeedBlacklistButton||i;},null);
__d("FeedTrackingAsync",["Arbiter","collectDataAttributes","copyProperties"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(){g.subscribe('AsyncRequest/send',function(k,l){var m=l.request,n=m.getRelativeTo();if(n){var o=m.getData(),p=h(n,['ft']);if(Object.keys(p.ft).length)i(o,p);}});}e.exports={init:j};},null);
__d("XPubcontentChainedSuggestionsController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pubcontent\/chained_suggestions\/",{pageid:{type:"String"},profileid:{type:"Int"},eh:{type:"Bool",defaultValue:false},friendid:{type:"Int"}});},null);
__d("SubscribeButton",["Arbiter","AsyncRequest","Button","CSS","Event","Tooltip","XPubcontentChainedSuggestionsController"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={SUBSCRIBED:'FollowingUser',UNSUBSCRIBED:'UnfollowingUser',RECAP:'RecapUser',_enable:function(o){i.setEnabled(o,true);l.remove(o);},_disable:function(o,p){i.setEnabled(o,false);if(p)l.set(o,p);},init:function(o,p,q,r,s,t,u,v,w){v=(typeof v!=='undefined')?v:false;var x=(typeof w!=='undefined');if(x&&!u&&!v)n._disable(p,w);k.listen(p,'click',function(){g.inform(n.SUBSCRIBED,{profile_id:r,suppress:true});});g.subscribe(n.SUBSCRIBED,function(y,z){if(r==z.profile_id){if(!s)q.suppressNextMouseEnter&&q.suppressNextMouseEnter();if(x){if(typeof z.connected!=='undefined')u=z.connected;if(u||v)n._enable(p);}o.swap();if(t===true){var aa=(m.getURIBuilder()).setBool('eh',true).setInt('profileid',r).getURI();new h().setURI(aa).send();}}});g.subscribe(n.UNSUBSCRIBED,function(y,z){if(r==z.profile_id){o.unswap();q.hideFlyout&&q.hideFlyout();if(x){if(typeof z.connected!=='undefined')u=z.connected;if(!u&&!v)n._disable(p,w);}g.inform('SubMenu/Reset');}});},initSubscribe:function(o,p){k.listen(o,'click',function(){setTimeout(g.inform.bind(g,n.SUBSCRIBED,{profile_id:p}),0);});},initUnsubscribe:function(o,p){k.listen(o,'click',function(){setTimeout(g.inform.bind(g,n.UNSUBSCRIBED,{profile_id:p}),0);});},initSubscribeMenuItem:function(o,p,q){j.hide(p);this._initMenuItem(o,p,q);},initUnsubscribeMenuItem:function(o,p,q){j.hide(o);this._initMenuItem(o,p,q);},_initMenuItem:function(o,p,q){this.initSubscribe(o,q);this.initUnsubscribe(p,q);g.subscribe(n.SUBSCRIBED,function(r,s){j.hide(o);j.show(p);});g.subscribe(n.UNSUBSCRIBED,function(r,s){j.hide(p);j.show(o);});}};e.exports=n;},null);
__d("GamesXOut.react",["React","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i=g,j=i.PropTypes,k=g.createClass({displayName:"GamesXOut",propTypes:{onClick:j.func.isRequired},render:function(){return (g.createElement("div",{className:"_2b2u"},this.props.children,g.createElement("div",{className:"_1m6e",onClick:this.props.onClick})));}});e.exports=k;},null);
__d("XPlatformXOutableElementController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/platform\/async\/xoutelement\/",{type:{type:"Enum",required:true,enumType:0},fbid:{type:"Int",required:true}});},null);
__d("PlatformElementXOut.react",["React","DOM","DOMContainer.react","XPlatformXOutableElementController","AsyncRequest","GamesXOut.react"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=g,n=m.PropTypes,o=g.createClass({displayName:"PlatformElementXOut",propTypes:{type:n.string.isRequired,fbid:n.string.isRequired,domChild:n.object.isRequired},_sendFeedback:function(){var p=j.getURIBuilder().setEnum('type',this.props.type).setInt('fbid',this.props.fbid).getURI();new k(p).setMethod('POST').send();var q=g.findDOMNode(this).parentNode.parentNode;g.unmountComponentAtNode(q);h.remove(q);},render:function(){var p=g.createElement(i,null,this.props.domChild);return g.createElement(l,{onClick:this._sendFeedback},p);}});e.exports=o;},null);
__d("EntStreamGroupMall",["DOM","$","ge"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={replacePager:function(k){g.setContent(h('pagelet_group_pager'),k);},replaceFilesPager:function(k,l){g.setContent(h('group_files_pager_'+l),k);},replacePostApprovalSection:function(k){var l=i('pagelet_consolidate_posts');if(l!==null)g.setContent(l,k);}};e.exports=j;},null);
__d("BookmarkFeedSorter",["Run"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h,i={init:function(j){h=j;g.onLeave(function(){h=null;});},setChecked:function(j){if(h)h.setValue(j);}};e.exports=i;},null);
__d("tickerPhoteSnowLiftOpenStatus",["ArbiterMixin","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i='CheckIsOpen',j={registerOpenChecker:function(k){return j.subscribe(i,function(l,m){if(k())m.is_Open=true;});},checkIsOpen:function(){var k={is_Open:false};j.inform(i,k);return k.is_Open;}};h(j,g);e.exports=j;},null);
__d("legacy:async-signal",["AsyncSignal"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.AsyncSignal=b('AsyncSignal');},3);
__d("ModalMask",["DOM"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=null,i=0,j={show:function(){i++;if(!h){h=g.create('div',{id:'modalMaskOverlay'});g.appendContent(document.body,h);}},hide:function(){if(i){i--;if(!i&&h){g.remove(h);h=null;}}},getNode:function(){return h;}};e.exports=j;},null);
__d("RequiredFormListener",["Event","Input"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();g.listen(document.documentElement,'submit',function(i){var j=i.getTarget().getElementsByTagName('*');for(var k=0;k<j.length;k++)if(j[k].getAttribute('required')&&h.isEmpty(j[k])){j[k].focus();return false;}},g.Priority.URGENT);},null);
__d("LitestandMessages",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={NEWSFEED_LOAD:'LitestandMessages/NewsFeedLoad',LEAVE_HOME:'LitestandMessages/LeaveHome',UPDATE_HOME_COUNT:'LitestandMessages/UpdateHomeCount',STORIES_INSERTED:'LitestandMessages/StoriesInserted',NEWER_STORIES_INSERTED:'LitestandMessages/NewerStoriesInserted',NEW_STORIES_DISPLAY_NOW:'LitestandMessages/NewStoriesDisplayNow',NEW_STORIES_WAIT_DISPLAY:'LitestandMessages/NewStoriesWaitDisplay',NEW_STORIES_DISPLAYED:'LitestandMessages/NewStoriesDisplayed',UNREAD_ONLY_BEGIN:'LitestandMessages/UnreadOnlyBegin',RHC_RELOADED:'LitestandMessages/RHCReloaded',UNFOLD_SEEN_STACK:'LitestandMessages/UnfoldSeenStack',TOGGLE_PILL_VISIBILITY:'LitestandMessages/TogglePillVisibility',PILL_VISIBILITY_UPDATED:'LitestandMessages/PillVisibilityUpdated',PILL_PAGELET_REQUEST_SENT:'LitestandMessages/PullPageletRequestSent',COMPOSER_FOCUSED:'LitestandMessages/ComposerFocused',REACTIVATE_AFTER_INACTIVITY:'LitestandMessages/ReactivateAfterInactivity'};e.exports=g;},null);
__d("LitestandClassicRHC",["Arbiter","BigPipe","CSS","DOMQuery","NavigationMessage","Run","SubscriptionsHandler","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o="_268y",p="_9qc";function q(s,t){var u=new m(),v=u.release.bind(u),w=j.scry(s,'.pagelet'),x=w.length;u.addSubscriptions(t.subscribe([].map.call(w,function(y){return y.id+'_displayed';}),function(){i.removeClass(s,o);if(--x===0){g.inform('LitestandClassicRHC/loaded');v();}}),g.subscribe(k.NAVIGATION_BEGIN,v),t.subscribeOnce('pagelet_displayed_all',function(){g.inform('LitestandClassicRHC/loaded');i.removeClass(s,o);v();}));l.onLeave(v);}var r={init:function(s){var t=h.getCurrentInstance();if(t&&t.arbiter){q(s,t.arbiter);}else g.subscribeOnce('BigPipe/init',function(event,v){q(s,v.arbiter);},g.SUBSCRIBE_NEW);var u=j.scry(s,'.groups_rhc');if(u.length>0)i.addClass(s,p);}};e.exports=r;},null);
__d("ViewableImpressionTracking",["Arbiter","DesktopHscrollUnitEventConstants","ErrorUtils","LitestandMessages","Run","ViewableImpressionEventHandler","ViewableImpressionConfig"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={init:function(){if(l.instance===(void 0)){l.instance=new l(m);l.instance.listeners.addSubscriptions(g.subscribe([j.STORIES_INSERTED,'AdsRefreshHandler/AdsLoaded','MPPInsights/ChartView','PhotoSnowliftAds/displayUnits','WebMessengerAdsControl/adjustAds',h.HSCROLL_ITEM_INSERTED_EVENT],i.guard(function(){l.instance.refreshAndFireEvent();},'ViewableImpressionTracking')));}k.onLoad(function(){l.instance.refreshAndFireEvent();});}};e.exports=n;},null);
__d("AccessibilityLogger",["AsyncSignal","Cookie"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={COOKIE:'a11y',DECAY_MS:6*60*60*1000,DEFAULT:{sr:0,'sr-ts':Date.now(),jk:0,'jk-ts':Date.now(),kb:0,'kb-ts':Date.now(),hcm:0,'hcm-ts':Date.now()},getCookie:function(){var j=i.DEFAULT,k=h.get(i.COOKIE);if(k){k=JSON.parse(k);for(var l in j)if(l in k)j[l]=k[l];}return j;},logKey:function(j,k){var l=i.getCookie();l[j]++;var m=Date.now();if(m-l[j+'-ts']>i.DECAY_MS){new g('/ajax/accessibilitylogging',{eventName:k,times_pressed:l[j]}).send();l[j+'-ts']=m;l[j]=0;}h.set(i.COOKIE,JSON.stringify(l));},logHCM:function(){i.logKey('hcm','hcm_users');},logSRKey:function(){i.logKey('sr','sr_users');},logJKKey:function(){i.logKey('jk','jk_users');},logFocusIn:function(){i.logKey('kb','kb_users');}};e.exports=i;},null);
__d("AjaxPipeRequest",["Arbiter","AsyncRequest","BigPipe","CSS","DOM","Env","PageEvents","PageletSet","ScriptPathState","URI","copyProperties","ge","goOrReplace","performance","performanceAbsoluteNow"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){b.__markCompiled&&b.__markCompiled();var v,w=0;function x(aa,ba){var ca=r(aa);if(!ca)return;if(!ba)ca.style.minHeight='100px';var da=n.getPageletIDs();for(var ea=0;ea<da.length;ea++){var fa=da[ea];if(k.contains(ca,fa))n.removePagelet(fa);}k.empty(ca);g.inform('pagelet/destroy',{id:null,root:ca});}function y(aa,ba){var ca=r(aa);if(ca&&!ba)ca.style.minHeight='100px';}function z(aa,ba){"use strict";this._uri=aa;this._query_data=ba;this._request=new h();this._canvas_id=null;this._allow_cross_page_transition=true;this._arbiter=new g();this._requestID=w++;}z.prototype.setCanvasId=function(aa){"use strict";this._canvas_id=aa;return this;};z.prototype.setURI=function(aa){"use strict";this._uri=aa;return this;};z.prototype.setData=function(aa){"use strict";this._query_data=aa;return this;};z.prototype.getData=function(aa){"use strict";return this._query_data;};z.prototype.setAllowCrossPageTransition=function(aa){"use strict";this._allow_cross_page_transition=aa;return this;};z.prototype.setAppend=function(aa){"use strict";this._append=aa;return this;};z.prototype.send=function(){"use strict";this._arbiter.inform(m.AJAXPIPE_SEND,{rid:this._requestID,quickling:!!this._isQuickling,ts:u()},g.BEHAVIOR_PERSISTENT);var aa={ajaxpipe:1,ajaxpipe_token:l.ajaxpipe_token};q(aa,o.getParams());o.reset();this._request.setOption('useIframeTransport',true).setURI(this._uri).setData(q(aa,this._query_data)).setPreBootloadHandler(this._preBootloadHandler.bind(this)).setInitialHandler(this._onInitialResponse.bind(this)).setHandler(this._onResponse.bind(this)).setMethod('GET').setReadOnly(true).setAllowCrossPageTransition(this._allow_cross_page_transition).setAllowIrrelevantRequests(this._allowIrrelevantRequests);if(this._automatic){this._relevantRequest=v;}else v=this._request;var ba=t.webkitClearResourceTimings||t.clearResourceTimings||null;if(ba)ba.call(t);this._request.send();return this;};z.prototype._preBootloadFirstResponse=function(aa){"use strict";return false;};z.prototype._fireDomContentCallback=function(){"use strict";this._arbiter.inform(m.AJAXPIPE_DOMREADY,true,g.BEHAVIOR_STATE);};z.prototype._fireOnloadCallback=function(){"use strict";this._arbiter.inform(m.AJAXPIPE_ONLOAD,{lid:this.pipe.lid,rid:this._requestID,ts:u()},g.BEHAVIOR_STATE);};z.prototype._isRelevant=function(aa){"use strict";return this._request==v||(this._automatic&&this._relevantRequest==v)||this._jsNonBlock||(v&&v._allowIrrelevantRequests);};z.prototype._preBootloadHandler=function(aa){"use strict";var ba=aa.getPayload();if(!ba||ba.redirect||!this._isRelevant(aa))return false;var ca=false;if(aa.is_first){!this._append&&!this._displayCallback&&x(this._canvas_id,this._constHeight);ca=this._preBootloadFirstResponse(aa);this.pipe=new i({arbiter:this._arbiter,rootNodeID:this._canvas_id,lid:this._request.lid,rid:this._requestID,isAjax:true,domContentCallback:this._fireDomContentCallback.bind(this),onloadCallback:this._fireOnloadCallback.bind(this),domContentEvt:m.AJAXPIPE_DOMREADY,onloadEvt:m.AJAXPIPE_ONLOAD,jsNonBlock:this._jsNonBlock,automatic:this._automatic,displayCallback:this._displayCallback,allowIrrelevantRequests:this._allowIrrelevantRequests});}return ca;};z.prototype._redirect=function(aa){"use strict";if(aa.redirect){if(aa.force||!this.isPageActive(aa.redirect)){var ba=['ajaxpipe','ajaxpipe_token'].concat(this.getSanitizedParameters());s(window.location,p(aa.redirect).removeQueryData(ba),true);}else{var ca=a.PageTransitions;ca.go(aa.redirect,true);}return true;}else return false;};z.prototype.isPageActive=function(aa){"use strict";return true;};z.prototype.getSanitizedParameters=function(){"use strict";return [];};z.prototype._versionCheck=function(aa){"use strict";return true;};z.prototype._onInitialResponse=function(aa){"use strict";var ba=aa.getPayload();if(!this._isRelevant(aa))return false;if(!ba)return true;if(this._redirect(ba)||!this._versionCheck(ba))return false;return true;};z.prototype._processFirstResponse=function(aa){"use strict";var ba=aa.getPayload();if(r(this._canvas_id)&&ba.canvas_class!=null)j.setClass(this._canvas_id,ba.canvas_class);};z.prototype.setFirstResponseCallback=function(aa){"use strict";this._firstResponseCallback=aa;return this;};z.prototype.setFirstResponseHandler=function(aa){"use strict";this._processFirstResponse=aa;return this;};z.prototype._onResponse=function(aa){"use strict";var ba=aa.payload;if(!this._isRelevant(aa))return h.suppressOnloadToken;if(aa.is_first){this._processFirstResponse(aa);this._firstResponseCallback&&this._firstResponseCallback();ba.provides=ba.provides||[];ba.provides.push('uipage_onload');if(this._append)ba.append=this._canvas_id;}if(ba){if('content' in ba.content&&this._canvas_id!==null&&this._canvas_id!='content'){ba.content[this._canvas_id]=ba.content.content;delete ba.content.content;}this.pipe.onPageletArrive(ba);}if(aa.is_last)y(this._canvas_id,this._constHeight);return h.suppressOnloadToken;};z.prototype.setNectarModuleDataSafe=function(aa){"use strict";this._request.setNectarModuleDataSafe(aa);return this;};z.prototype.setFinallyHandler=function(aa){"use strict";this._request.setFinallyHandler(aa);return this;};z.prototype.setErrorHandler=function(aa){"use strict";this._request.setErrorHandler(aa);return this;};z.prototype.abort=function(){"use strict";this._request.abort();if(v==this._request)v=null;this._request=null;return this;};z.prototype.setJSNonBlock=function(aa){"use strict";this._jsNonBlock=aa;return this;};z.prototype.setAutomatic=function(aa){"use strict";this._automatic=aa;return this;};z.prototype.setDisplayCallback=function(aa){"use strict";this._displayCallback=aa;return this;};z.prototype.setConstHeight=function(aa){"use strict";this._constHeight=aa;return this;};z.prototype.setAllowIrrelevantRequests=function(aa){"use strict";this._allowIrrelevantRequests=aa;return this;};z.prototype.getAsyncRequest=function(){"use strict";return this._request;};z.getCurrentRequest=function(){"use strict";return v;};z.setCurrentRequest=function(aa){"use strict";v=aa;};e.exports=z;},null);
__d("AsyncUploadBase",["ArbiterMixin","AsyncRequest","AsyncResponse","BrowserSupport","Form","copyProperties","mixin","removeFromArray"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=m(g);for(var p in o)if(o.hasOwnProperty(p))r[p]=o[p];var q=o===null?null:o.prototype;r.prototype=Object.create(q);r.prototype.constructor=r;r.__superConstructor__=o;r.parseFiles=function(t){"use strict";var u={};for(var v in t){var w=t[v];if(Array.isArray(w)){u[v]=w;}else{u[v]=[];if(w instanceof window.FileList){for(var x=0;x<w.length;x++)u[v].push(w.item(x));}else if(w instanceof window.File||w instanceof window.Blob)u[v].push(w);}}return u;};function r(t){"use strict";this.setURI(t);this.setNetworkErrorRetryLimit(0);}r.prototype.setAllowCrossOrigin=function(t){"use strict";this._allowCrossOrigin=!!t;return this;};r.prototype.setAllowCrossPageTransition=function(t){"use strict";this._allowCrossPageTransition=!!t;return this;};r.prototype.setData=function(t){"use strict";this._data=t;return this;};r.prototype.setNetworkErrorRetryLimit=function(t){"use strict";this._retryLimit=t;return this;};r.prototype.setLimit=function(t){"use strict";this._limit=t;return this;};r.prototype.setPreprocessHandler=function(t){"use strict";this._preprocessHandler=t;return this;};r.prototype.setRelativeTo=function(t){"use strict";this._relativeTo=t;return this;};r.prototype.setStatusElement=function(t){"use strict";this._statusElement=t;return this;};r.prototype.setURI=function(t){"use strict";this._uri=t;return this;};r.prototype.suspend=function(){"use strict";this._suspended=true;return this;};r.prototype.resume=function(){"use strict";this._suspended=false;this._processQueue();return this;};r.prototype.isUploading=function(){"use strict";return this._inFlight;};r.prototype._createFileUpload=function(t,u,v){"use strict";return new s(t,u,v);};r.prototype._processQueue=function(){"use strict";if(this._suspended)return;while(this._pending.length<this._limit){if(!this._waiting.length)break;var t=this._waiting.shift();if(this._preprocessHandler){this._preprocessHandler(t,this._processUpload.bind(this));}else this._processUpload(t);this._pending.push(t);}};r.prototype._processUpload=function(t){"use strict";var u=k.createFormData(t.getData()||this._data);if(t.getFile()){u.append(t.getName(),t.getFile());var v=t.getFile().uploadID;if(v)u.append('upload_id',v);}var w=new h().setAllowCrossOrigin(this._allowCrossOrigin).setAllowCrossPageTransition(this._allowCrossPageTransition).setURI(this._uri).setRawData(u).setStatusElement(this._statusElement).setHandler(this._success.bind(this,t)).setErrorHandler(this._failure.bind(this,t)).setUploadProgressHandler(this._progress.bind(this,t)).setInitialHandler(this._initial.bind(this,t));if(this._relativeTo)w.setRelativeTo(this._relativeTo);w.send();t.setAsyncRequest(w);this._inFlight=true;if(!t.getRetryCount())this.inform('start',t);};r.prototype._abort=function(t){"use strict";if(this._pending.indexOf(t)!==-1){n(this._pending,t);this._processQueue();}n(this._waiting,t);t.abort();};r.prototype._initial=function(t){"use strict";if(t.isAborted())return;this.inform('initial',t);};r.prototype._success=function(t,u){"use strict";if(t.isAborted()){this.inform('success_after_abort',u);return;}this._complete(t);this.inform('success',t.handleSuccess(u));this._processQueue();};r.prototype._retryUpload=function(t){"use strict";t.increaseRetryCount();this._processUpload(t);};r.prototype._failure=function(t,u){"use strict";if(t.isAborted())return;if(u.error===1004&&t.getRetryCount()<this._retryLimit)return this._retryUpload(t);this._complete(t);if(this.inform('failure',t.handleFailure(u))!==false)i.defaultErrorHandler(u);this._processQueue();};r.prototype._progress=function(t,event){"use strict";if(t.isAborted())return;this.inform('progress',t.handleProgress(event));};r.prototype._complete=function(t){"use strict";n(this._pending,t);if(!this._pending.length)this._inFlight=false;};r.isSupported=function(){"use strict";return j.hasFileAPI();};l(r.prototype,{_limit:10});function s(t,u,v){"use strict";this._name=t;this._file=u;this._data=v;this._success=null;this._response=null;this._progressEvent=null;this._request=null;this._numRetries=0;this._aborted=false;}s.prototype.getName=function(){"use strict";return this._name;};s.prototype.getFile=function(){"use strict";return this._file;};s.prototype.setFile=function(t){"use strict";this._file=t;};s.prototype.getData=function(){"use strict";return this._data;};s.prototype.isComplete=function(){"use strict";return this._success!==null;};s.prototype.isSuccess=function(){"use strict";return this._success===true;};s.prototype.getResponse=function(){"use strict";return this._response;};s.prototype.getProgressEvent=function(){"use strict";return this._progressEvent;};s.prototype.setAsyncRequest=function(t){"use strict";this._request=t;return this;};s.prototype.increaseRetryCount=function(){"use strict";this._numRetries++;return this;};s.prototype.getRetryCount=function(){"use strict";return this._numRetries;};s.prototype.isWaiting=function(){"use strict";return !this._request;};s.prototype.isAborted=function(){"use strict";return this._aborted;};s.prototype.abort=function(){"use strict";this._request=null;this._aborted=true;};s.prototype.handleSuccess=function(t){"use strict";this._success=true;this._response=t;this._progressEvent=null;return this;};s.prototype.handleFailure=function(t){"use strict";this._success=false;this._response=t;this._progressEvent=null;return this;};s.prototype.handleProgress=function(event){"use strict";this._progressEvent=event;return this;};e.exports=r;},null);
__d("AsyncUploadRequest",["AsyncUploadBase"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructor=j;j.__superConstructor__=g;function j(){"use strict";if(g!==null)g.apply(this,arguments);}j.prototype.setFiles=function(k){"use strict";this._files=g.parseFiles(k);return this;};j.prototype.abort=function(){"use strict";this._uploads.forEach(function(k){return this._abort(k);}.bind(this),this);};j.prototype.send=function(){"use strict";if(this._inFlight)return;this._inFlight=true;this._uploads=[];for(var k in this._files)this._files[k].forEach(function(l){this._uploads.push(this._createFileUpload(k,l));}.bind(this));this._waiting=this._uploads.slice(0);this._pending=[];if(this._uploads.length){this._processQueue();}else this._processUpload(this._createFileUpload(null,null));};j.prototype._processQueue=function(){"use strict";i._processQueue.call(this);if(!this._pending.length&&!this._waiting.length)this.inform('complete',this._uploads);};j.isSupported=function(){"use strict";return g.isSupported();};e.exports=j;},null);
__d("AudienceSelectorTags",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={},h={hasTags:function(i){return g.hasOwnProperty(i);},setHasTags:function(i){if(i)g[i]=true;}};e.exports=h;},null);
__d("CSSClassTransition",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=[];function i(){}g(i,{go:function(j,k,l,m){var n;for(var o=0;o<h.length;o++)if(h[o](j,k,l,m)===true)n=true;if(!n)j.className=k;},registerHandler:function(j){h.push(j);return {remove:function(){var k=h.indexOf(j);if(k>=0)h.splice(k,1);}};}});e.exports=i;},null);
__d("BasicTypeaheadRenderer",["BadgeHelper","DOM"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=' \u00B7 ';function j(k,l){var m=[];if(k.icon)m.push(h.create('img',{alt:'',src:k.icon}));var n=k.debug_info;if(n)m.push(h.create('span',{className:'debugInfo'},n));if(k.text){var o=[k.text];if(k.is_verified)o.push(g.renderBadge('xsmall','verified'));m.push(h.create('span',{className:'text'},o));}if(k.subtext){var p=[k.subtext];if(k.saved_context){var q=h.create('span',{className:'saved'},[k.saved_context]);p.unshift(q,i);}m.push(h.create('span',{className:'subtext'},p));}var r=h.create('li',{className:k.type||''},m);if(k.text){r.setAttribute('title',k.text);r.setAttribute('aria-label',k.text);}return r;}j.className='basic';e.exports=j;},null);
__d("TypeaheadView",["ArbiterMixin","BasicTypeaheadRenderer","createIxElement","CSS","DOM","Event","ix","Parent","$","copyProperties","emptyFunction","getElementText","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();var t=s(g);for(var u in t)if(t.hasOwnProperty(u))w[u]=t[u];var v=t===null?null:t.prototype;w.prototype=Object.create(v);w.prototype.constructor=w;w.__superConstructor__=t;function w(x,y){"use strict";this.element=this.content=o(x);p(this,y);}w.prototype.init=function(){"use strict";this.init=q;this.initializeEvents();this.reset();};w.prototype.initializeEvents=function(){"use strict";l.listen(this.element,{mouseup:this.mouseup.bind(this),mouseover:this.mouseover.bind(this)});};w.prototype.setTypeahead=function(x){"use strict";this.typeahead=x;};w.prototype.setAccessibilityControlElement=function(x){"use strict";this.accessibilityElement=x;};w.prototype.getElement=function(){"use strict";return this.element;};w.prototype.mouseup=function(event){"use strict";if(event.button!=2){this.select(true);event.prevent();}};w.prototype.mouseover=function(event){"use strict";if(this.ignoreMouseover){this.ignoreMouseover=false;return;}if(this.visible)this.highlight(this.getIndex(event));};w.prototype.reset=function(x){"use strict";if(!x)this.disableAutoSelect=false;this.index=-1;this.items=[];this.results=[];this.value='';this.content.innerHTML='';this.inform('reset');return this;};w.prototype.getIndex=function(event){"use strict";return this.items.indexOf(n.byTag(event.getTarget(),'li'));};w.prototype.getSelection=function(){"use strict";var x=this.results[this.index]||null;return this.visible?x:null;};w.prototype.isEmpty=function(){"use strict";return !this.results.length;};w.prototype.isVisible=function(){"use strict";return !!this.visible;};w.prototype.show=function(){"use strict";j.show(this.element);if(this.results&&this.results.length)if(this.autoSelect&&this.accessibilityElement&&this.selected)this.accessibilityElement.setAttribute('aria-activedescendant',k.getID(this.selected));this.accessibilityElement&&this.accessibilityElement.setAttribute('aria-expanded','true');this.visible=true;return this;};w.prototype.hide=function(){"use strict";j.hide(this.element);if(this.accessibilityElement){this.accessibilityElement.setAttribute('aria-expanded','false');this.accessibilityElement.removeAttribute('aria-activedescendant');}this.visible=false;return this;};w.prototype.render=function(x,y){"use strict";this.value=x;if(!y.length){this.accessibilityElement&&this.accessibilityElement.removeAttribute('aria-activedescendant');this.reset(true);return;}var z={results:y,value:x};this.inform('beforeRender',z);y=z.results;var aa=this.getDefaultIndex(y);if(this.index>0&&this.index!==this.getDefaultIndex(this.results)&&this.index<this.results.length){var ba=this.results[this.index];for(var ca=0,da=y.length;ca<da;++ca)if(ba.uid==y[ca].uid){aa=ca;break;}}this.results=y;k.setContent(this.content,this.buildResults(y));this.items=this.getItems();this.highlight(aa,false);this.inform('render',y);};w.prototype.getItems=function(){"use strict";return k.scry(this.content,'li');};w.prototype.buildResults=function(x){"use strict";var y,z=null;if(typeof this.renderer=='function'){y=this.renderer;z=this.renderer.className||'';}else{y=a.TypeaheadRenderers[this.renderer];z=this.renderer;}y=y.bind(this);var aa=x.map(function(ca,da){var ea=ca.node||y(ca,da);ea.setAttribute('role','option');return ea;}),ba=k.create('ul',{className:z,id:'typeahead_list_'+(this.typeahead?k.getID(this.typeahead):k.getID(this.element))},aa);ba.setAttribute('role','listbox');return ba;};w.prototype.showLoadingIndicator=function(){"use strict";var x=i(m('/images/loaders/indicator_blue_small.gif')),y=k.create('li',{className:'typeaheadViewInternalLoading'},x),z=k.create('ul',{role:'listbox'},y);k.setContent(this.content,z);};w.prototype.getDefaultIndex=function(){"use strict";var x=(this.autoSelect&&!this.disableAutoSelect);return this.index<0&&!x?-1:0;};w.prototype.next=function(){"use strict";this.highlight(this.index+1);this.inform('next',this.selected);};w.prototype.prev=function(){"use strict";this.highlight(this.index-1);this.inform('prev',this.selected);};w.prototype.getItemText=function(x){"use strict";var y='';if(x){y=x.getAttribute('aria-label');if(!y){y=r(x);x.setAttribute('aria-label',y);}}return y;};w.prototype.setIsViewingSelectedItems=function(x){"use strict";this.viewingSelected=x;return this;};w.prototype.getIsViewingSelectedItems=function(){"use strict";return !!this.viewingSelected;};w.prototype.highlight=function(x,y){"use strict";if(this.selected){j.removeClass(this.selected,'selected');this.selected.setAttribute('aria-selected','false');}if(x>this.items.length-1){x=-1;}else if(x<-1)x=this.items.length-1;if(x>=0&&x<this.items.length){this.selected=this.items[x];j.addClass(this.selected,'selected');this.selected.setAttribute('aria-selected','true');if(this.accessibilityElement)setTimeout((function(){this.accessibilityElement.setAttribute('aria-activedescendant',k.getID(this.selected));}).bind(this),0);}else this.accessibilityElement&&this.accessibilityElement.removeAttribute('aria-activedescendant');this.index=x;this.disableAutoSelect=(x==-1);if(y!==false)this.inform('highlight',{index:x,selected:this.results[x],element:this.selected});};w.prototype.select=function(x){"use strict";if(this.headerIndex&&x)return;var y=this.index,z=this.results[y],aa=this.element.getAttribute('id');if(z){var ba=function(ca){this.inform('select',{index:y,clicked:!!x,selected:ca,id:aa,query:this.value});this.inform('afterSelect');}.bind(this);if(this.shouldValidateTypeaheadSelection(z)){this.validateTypeaheadSelection(z,ba);}else ba(z);}};w.prototype.shouldValidateTypeaheadSelection=function(x){"use strict";return false;};w.prototype.validateTypeaheadSelection=function(x,y){"use strict";};p(w.prototype,{events:['highlight','render','reset','select','beforeRender','next','prev'],renderer:h,autoSelect:false,ignoreMouseover:false});e.exports=w;},null);
__d("BucketedTypeaheadView",["DOM","TypeaheadView","fbt"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();for(var j in h)if(h.hasOwnProperty(j))l[j]=h[j];var k=h===null?null:h.prototype;l.prototype=Object.create(k);l.prototype.constructor=l;l.__superConstructor__=h;function l(){"use strict";if(h!==null)h.apply(this,arguments);}l.prototype.render=function(m,n,o){"use strict";n=this.buildBuckets(m,n);return k.render.call(this,m,n,o);};l.prototype.highlight=function(m,n){"use strict";this.headerIndex=false;if(m==-1&&this.index!==0)m=this.index;while(m>=0&&m<this.items.length&&!this.isHighlightable(this.results[m])){m=m+1;this.headerIndex=true;}k.highlight.call(this,m,n);};l.prototype.buildBuckets=function(m,n){"use strict";if(!this.typeObjects||!n||!n.length)return n;var o=[],p={};for(var q=0;q<n.length;++q){var r=n[q],s=r.render_type||r.type;if(!p.hasOwnProperty(s)){p[s]=o.length;o.push([this.buildBucketHeader(s)]);}r.classNames=r.classNames||s;r.groupIndex=p[s];r.indexInGroup=o[r.groupIndex].length-1;r.globalIndex=q;o[r.groupIndex].push(r);}for(s in this.typeObjects)if(!p.hasOwnProperty(s)&&this.typeObjects[s].show_always){p[s]=o.length;o.push([this.buildBucketHeader(s)]);r=this.buildNoResultsEntry();r.classNames=r.type;r.groupIndex=p[s];r.indexInGroup=o[r.groupIndex].length-1;o[r.groupIndex].push(r);}var t=[];if(this.typeObjectsOrder){for(var u=0;u<this.typeObjectsOrder.length;++u){var v=this.typeObjectsOrder[u];if(p.hasOwnProperty(v))t=t.concat(o[p[v]]);}}else for(var w=0;w<o.length;++w)t=t.concat(o[w]);return t;};l.prototype.buildNoResultsEntry=function(){"use strict";return {uid:'disabled_result',type:'disabled_result',text:i._("No Results")};};l.prototype.buildBucketHeader=function(m){"use strict";var n=this.typeObjects[m];if(n===(void 0))throw new Error(m+" is undefined in "+JSON.stringify(this.typeObjects));if(n.markup){n.text=n.markup;delete n.markup;}return this.typeObjects[m];};l.prototype.buildResults=function(m){"use strict";var n=k.buildResults.call(this,m);if(this.typeObjects){return g.create('div',{className:'bucketed'},[n]);}else return n;};l.prototype.isHighlightable=function(m){"use strict";return m.type!='header'&&m.type!='disabled_result';};l.prototype.select=function(m){"use strict";var n=this.results[this.index];if(n&&this.isHighlightable(n))k.select.call(this,m);};l.prototype.updateResults=function(m){"use strict";this.results=m;};l.prototype.normalizeIndex=function(m){"use strict";var n=this.results.length;if(n===0){return -1;}else if(m<-1){return (m%n)+n+1;}else if(m>=n){return (m%n)-1;}else return m;};l.prototype.getDefaultIndex=function(m){"use strict";var n=(this.autoSelect&&!this.disableAutoSelect);if(this.index<0&&!n)return -1;if(m.length===0)return -1;var o=0;while(!this.isHighlightable(m)&&o<m.length)o++;return o;};l.prototype.prev=function(){"use strict";var m=this.results[this.normalizeIndex(this.index-1)];while(m&&!this.isHighlightable(m)){this.index=this.normalizeIndex(this.index-1);m=this.results[this.normalizeIndex(this.index-1)];}return k.prev.call(this);};l.prototype.next=function(){"use strict";var m=this.results[this.normalizeIndex(this.index+1)];while(m&&!this.isHighlightable(m)){this.index=this.normalizeIndex(this.index+1);m=this.results[this.normalizeIndex(this.index+1)];}return k.next.call(this);};e.exports=l;},null);
__d("ContextualTypeaheadView",["BucketedTypeaheadView","CSS","ContextualLayer","ContextualLayerAutoFlip","ContextualLayerHideOnScroll","DOM","DOMDimensions","Style"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();for(var o in g)if(g.hasOwnProperty(o))q[o]=g[o];var p=g===null?null:g.prototype;q.prototype=Object.create(p);q.prototype.constructor=q;q.__superConstructor__=g;function q(){"use strict";if(g!==null)g.apply(this,arguments);}q.prototype.init=function(){"use strict";this.initializeLayer();p.init.call(this);};q.prototype.initializeLayer=function(){"use strict";this.context=this.getContext();this.wrapper=l.create('div');l.appendContent(this.wrapper,this.element);h.addClass(this.element,'uiContextualTypeaheadView');this.layer=new i({context:this.context,position:'below',alignment:this.alignment,causalElement:this.causalElement,permanent:true,shouldSetARIAProperties:false},this.wrapper);this.layer.enableBehavior(k);if(n.isFixed(this.context)||this.autoflip)this.layer.enableBehavior(j);this.subscribe('render',this.renderLayer.bind(this));};q.prototype.show=function(){"use strict";if(this.minWidth){n.set(this.wrapper,'min-width',this.minWidth+'px');}else if(this.width){n.set(this.wrapper,'width',this.width+'px');}else n.set(this.wrapper,'width',m.getElementDimensions(this.context).width+'px');var r=p.show.call(this);this.layer.show();this.inform('show');return r;};q.prototype.hide=function(){"use strict";this.layer.hide();this.inform('hide');return p.hide.call(this);};q.prototype.renderLayer=function(){"use strict";if(!this.isVisible())return;if(this.layer.isShown()){this.layer.updatePosition();}else this.layer.show();};q.prototype.clearText=function(){"use strict";this.layer.getCausalElement().value='';};q.prototype.getContext=function(){"use strict";return this.element.parentNode;};e.exports=q;},null);
__d("DOMClone",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={shallowClone:function(i){return h(i,false);},deepClone:function(i){return h(i,true);}};function h(i,j){var k=i.cloneNode(j);if(typeof k.__FB_TOKEN!=='undefined')delete k.__FB_TOKEN;return k;}e.exports=g;},null);
__d("DataSource",["ArbiterMixin","AsyncRequest","TokenizeUtil","UnicodeMatch","copyProperties","createArrayFromMixed","createObjectFrom","emptyFunction","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=o(g);for(var q in p)if(p.hasOwnProperty(q))s[q]=p[q];var r=p===null?null:p.prototype;s.prototype=Object.create(r);s.prototype.constructor=s;s.__superConstructor__=p;function s(t){"use strict";this._maxResults=t.maxResults||10;this.token=t.token;this.queryData=t.queryData||{};this.queryEndpoint=t.queryEndpoint||'';this.bootstrapData=t.bootstrapData||{};this.bootstrapEndpoint=t.bootstrapEndpoint||'';this._indexedFields=t.indexedFields||['text','tokens'];this._titleFields=t.titleFields||[];this._alwaysPrefixMatch=t.alwaysPrefixMatch||false;this._deduplicationKey=t.deduplicationKey||null;this._enabledLocalCache=(t.enabledLocalCache!=null)?t.enabledLocalCache:true;this._enabledQueryCache=(t.enabledQueryCache!=null)?t.enabledQueryCache:true;this._disableAllCaches=(t.disableAllCaches!=null)?t.disableAllCaches:false;this._enabledMergeUids=(t.enabledMergeUids!=null)?t.enabledMergeUids:false;this._queryExactMatch=t.queryExactMatch||false;this._acrossTransitions=t.acrossTransitions||false;this._minQueryLength=t.minQueryLength||-1;this._enforceNewRequestIDUponFetch=t.enforceNewRequestIDUponFetch||false;this._minExactMatchLength=4;this._filters=[];this.setExclusions(t.exclusions);this.backendUnicodeMatch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});this.cacheUnicodeMatch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});}s.prototype.init=function(){"use strict";this.init=n;this._fields=m(this._indexedFields);this._activeQueries=0;this.dirty();};s.prototype.dirty=function(){"use strict";this.value='';this._bootstrapped=false;this._bootstrapping=false;this._data={};this.localCache={};this.queryCache={};this.queryIDs={};this.inform('dirty',{});return this;};s.prototype.bootstrap=function(t){"use strict";if(this._bootstrapped&&!t)return;this.bootstrapWithoutToken();this._bootstrapped=true;this._bootstrapping=true;this.inform('bootstrap',{bootstrapping:true});};s.prototype.bootstrapWithoutToken=function(){"use strict";this.fetch(this.bootstrapEndpoint,this.bootstrapData,{bootstrap:true,token:this.token});};s.prototype.bootstrapWithToken=function(){"use strict";var t=k({},this.bootstrapData);t.token=this.token;this.fetch(this.bootstrapEndpoint,t,{bootstrap:true,replaceCache:true,value:''});};s.prototype.query=function(t,u,v,w){"use strict";this.inform('beforeQuery',{value:t,local_only:u,exclusions:v,time_waited:w});var x=Date.now();if(this._disableAllCaches){this.dirty();if(!t){this.bootstrap();return true;}}else if(!this._enabledQueryCache){this.queryCache={};this.queryIDs={};}var y=this.buildUids(t,[],v),z=this.respond(t,y);this.value=t;this.inform('query',{value:t,results:z});var aa=this.tokenizeBackend(t).flatValue;if(u||!aa||this._isQueryTooShort(aa)||!this.queryEndpoint||this.getQueryCache().hasOwnProperty(aa)||!this.shouldFetchMoreResults(z)){this.inform('logPerformanceTiming',{field:'cache_keypress_render',value:Date.now()-x});this.inform('completeCacheFetch');return false;}this.inform('queryEndpoint',{value:t});this.fetch(this.queryEndpoint,this.getQueryData(t,y),{value:t,exclusions:v});return true;};s.prototype._isQueryTooShort=function(t){"use strict";return (t.length<this._minQueryLength);};s.prototype._tokenize=function(t,u){"use strict";return i.parse(t,u);};s.prototype.tokenizeBackend=function(t,u){"use strict";t=this.backendUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.tokenizeCache=function(t,u){"use strict";t=this.cacheUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.shouldFetchMoreResults=function(t){"use strict";return t.length<this._maxResults;};s.prototype.getQueryData=function(t,u){"use strict";var v=k({value:t},this.queryData||{});u=u||[];if(u.length)v.existing_ids=u.join(',');if(this._bootstrapping)v.bsp=true;return v;};s.prototype.setQueryData=function(t,u){"use strict";if(u)this.queryData={};k(this.queryData,t);return this;};s.prototype.setBootstrapData=function(t,u){"use strict";if(u)this.bootstrapData={};k(this.bootstrapData,t);return this;};s.prototype.getExclusions=function(){"use strict";return l(this._exclusions);};s.prototype.setExclusions=function(t){"use strict";this._exclusions=t?t.map(String):[];};s.prototype.addFilter=function(t){"use strict";var u=this._filters;u.push(t);return {remove:function(){u.splice(u.indexOf(t),1);}};};s.prototype.clearFilters=function(){"use strict";this._filters=[];};s.prototype.notify=function(t,u,v,w){"use strict";var x=this.buildData(u);this.inform('notify',{value:t,results:x,isAsync:!!v,rootid:w});return x;};s.prototype.respond=function(t,u,v){"use strict";var w=this.buildData(u);this.inform('respond',{value:t,results:w,isAsync:!!v});return w;};s.prototype.respondWithResults=function(t,u,v){"use strict";this.inform('respond',{value:t,results:u,isAsync:!!v});return u;};s.prototype.fetch=function(t,u,v){"use strict";if(!t)return;if(this._enforceNewRequestIDUponFetch||u.request_id===(void 0)){u.request_id=this._guid();v.request_id=u.request_id;}var w=new h().setURI(t).setData(u).setMethod('GET').setReadOnly(true).setAllowCrossPageTransition(this._acrossTransitions).setHandler(function(x){this.fetchHandler(x,v||{});}.bind(this));if(t===this.queryEndpoint)w.setFinallyHandler(function(){this._activeQueries--;if(!this._activeQueries)this.inform('activity',{activity:false});}.bind(this));w.setErrorHandler(function(x){return this.asyncErrorHandler(x,v);}.bind(this));this.inform('beforeFetch',{request:w,fetch_context:v});w.send();if(t===this.queryEndpoint){if(!this._activeQueries)this.inform('activity',{activity:true});this._activeQueries++;}};s.prototype.fetchHandler=function(t,u){"use strict";var v=u.value,w=u.exclusions;if(t.getPayload().requestID!==(void 0))u.request_id=t.getPayload().requestID;var x=this.getQueryIDs(),y=this.tokenizeBackend(v||'').flatValue;x[y]=u.request_id;if(!v&&u.replaceCache)this.localCache={};this.inform('buildQueryCache',{});var z=t.getPayload().entries;this.addEntries(z,v);this.inform('fetchComplete',{entries:z,response:t,value:v,fetch_context:u});var aa=(!v&&this.value)?this.value:v;this.respond(aa,this.buildUids(aa,[],w),true);if(!v){if(this._bootstrapping){this._bootstrapping=false;this.inform('bootstrap',{bootstrapping:false});}if(u.token&&t.getPayload().token!==u.token)this.bootstrapWithToken();}};s.prototype.addEntries=function(t,u){"use strict";var v=this.processEntries(l(t||[]),u),w=v;if(this._enabledMergeUids)w=this.buildUids(u,v);if(u){var x=this.getQueryCache(),y=this.tokenizeBackend(u).flatValue;x[y]=w;}else this.fillCache(w);return v;};s.prototype.processEntries=function(t,u){"use strict";return t.map(function(v,w){var x=(v.uid=v.uid+''),y=this.getEntry(x);if(!y){y=v;y.query=u;y.bootstrapped=!u;this.setEntry(x,y);}else k(y,v);y.index===(void 0)&&(y.index=w);return x;},this);};s.prototype.getAllEntries=function(){"use strict";return this._data||{};};s.prototype.getEntry=function(t){"use strict";return this._data[t]||null;};s.prototype.setEntry=function(t,u){"use strict";this._data[t]=u;};s.prototype.fillCache=function(t){"use strict";if(!this._enabledLocalCache)return;var u=this.localCache;t.forEach(function(v){var w=this.getEntry(v);if(!w)return;var x=this.tokenizeCache(this.getTextToIndex(w)).tokens;for(var y=0,z=x.length;y<z;++y){var aa=x[y];if(!u.hasOwnProperty(aa))u[aa]={};u[aa][v]=true;}},this);};s.prototype.getTextToIndex=function(t){"use strict";if(t.textToIndex&&!t.needs_update)return t.textToIndex;t.needs_update=false;t.textToIndex=this.getTextToIndexFromFields(t,this._indexedFields);return t.textToIndex;};s.prototype.getTextToIndexFromFields=function(t,u){"use strict";var v=[];for(var w=0;w<u.length;++w){var x=t[u[w]];if(x)v.push(x.join?x.join(' '):x);}return v.join(' ');};s.prototype.mergeUids=function(t,u,v,w){"use strict";this.inform('mergeUids',{local_uids:t,query_uids:u,new_uids:v,value:w});var x=function(y,z){var aa=this.getEntry(y),ba=this.getEntry(z);if(aa.extended_match!==ba.extended_match)return aa.extended_match?1:-1;if(aa.index!==ba.index)return aa.index-ba.index;if(aa.text.length!==ba.text.length)return aa.text.length-ba.text.length;return aa.uid<ba.uid;}.bind(this);this._checkExtendedMatch(w,t);return this.deduplicateByKey(t.sort(x).concat(u,v));};s.prototype._checkExtendedMatch=function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;for(var w=0;w<u.length;++w){var x=this.getEntry(u[w]);x.extended_match=x.tokens?!v(t,x.text):false;}};s.prototype.buildUids=function(t,u,v){"use strict";if(!u)u=[];if(!t)return u;if(!v)v=[];var w=this.buildCacheResults(t,this.localCache),x=this.buildQueryResults(t),y=this.mergeUids(w,x,u,t),z=m(v.concat(this._exclusions)),aa=y.filter(function(ba){if(z.hasOwnProperty(ba)||!this.getEntry(ba))return false;for(var ca=0;ca<this._filters.length;++ca)if(!this._filters[ca](this.getEntry(ba),t))return false;return (z[ba]=true);},this);return this.uidsIncludingExact(t,aa);};s.prototype.uidsIncludingExact=function(t,u){"use strict";var v=u.length;if(t.length<this._minExactMatchLength||v<=this._maxResults)return u;for(var w=0;w<v;++w){var x=this.getEntry(u[w]);x.text_lower||(x.text_lower=x.text.toLowerCase());if(x.text_lower===this.tokenizeCache(t).flatValue){if(w>=this._maxResults){var y=u.splice(w,1)[0];u.splice(this._maxResults-1,0,y);}break;}}return u;};s.prototype.buildData=function(t){"use strict";var u=[],v=Math.min(t.length,this._maxResults);for(var w=0;w<v;++w)u.push(this.getEntry(t[w]));return u;};s.prototype.findBestPreviousQuery=function(t,u){"use strict";var v=0,w=null;if(this._queryExactMatch)return u.hasOwnProperty(t)?t:null;for(var x in u)if(t.indexOf(x)===0&&x.length>v){v=x.length;w=x;}return w;};s.prototype.findQueryCache=function(t){"use strict";var u=this.findBestPreviousQuery(t,this.getQueryCache());return this.getQueryCache()[u]||[];};s.prototype.buildQueryResults=function(t){"use strict";var u=this.tokenizeBackend(t).flatValue,v=this.findQueryCache(u);if(this.getQueryCache().hasOwnProperty(u))return v;var w=this.filterQueryResults(u,v);return w;};s.prototype.filterQueryResults=function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;return u.filter(function(w){return v(t,this.getTextToIndex(this.getEntry(w)));},this);};s.prototype.buildCacheResults=function(t,u){"use strict";var v=this.tokenizeCache(t,this._alwaysPrefixMatch),w=this._alwaysPrefixMatch?v.sortedTokens:v.tokens,x=w.length,y=v.isPrefixQuery?x-1:null,z={},aa={},ba={},ca=[],da=false,ea={},fa=0;for(var ga=0;ga<x;++ga){var ha=w[ga];if(!ea.hasOwnProperty(ha)){fa++;ea[ha]=true;}else continue;for(var ia in u)if((!z.hasOwnProperty(ia)&&ia===ha)||((this._alwaysPrefixMatch||y===ga)&&this.cacheUnicodeMatch.prefixMatch(ia,ha))){if(ia===ha){if(aa.hasOwnProperty(ia))da=true;z[ia]=true;}else{if(z.hasOwnProperty(ia)||aa.hasOwnProperty(ia))da=true;aa[ia]=true;}for(var ja in u[ia])if(ga===0||(ba.hasOwnProperty(ja)&&ba[ja]==fa-1))ba[ja]=fa;}}for(var ka in ba)if(ba[ka]==fa)ca.push(ka);if(da||fa<x)ca=this.filterQueryResults(t,ca);if(this._titleFields&&this._titleFields.length>0)ca=this.filterNonTitleMatchQueryResults(t,ca);return ca;};s.prototype.filterNonTitleMatchQueryResults=function(t,u){"use strict";return u.filter(function(v){var w=this.tokenizeCache(t),x=w.tokens.length;if(x===0)return true;var y=this.getTitleTerms(this.getEntry(v)),z=w.tokens[0];return ((x===1)||this._alwaysPrefixMatch)?(i.isPrefixMatch(z,y)||this.cacheUnicodeMatch.prefixMatch(y,z)):i.isQueryMatch(z,y);},this);};s.prototype.getTitleTerms=function(t){"use strict";if(!t.titleToIndex)t.titleToIndex=this.getTextToIndexFromFields(t,this._titleFields);return t.titleToIndex;};s.prototype.deduplicateByKey=function(t){"use strict";if(!this._deduplicationKey)return t;var u=m(t.map(this._getDeduplicationKey.bind(this)),t);return t.filter(function(v){return u[this._getDeduplicationKey(v)]==v;}.bind(this));};s.prototype._getDeduplicationKey=function(t){"use strict";var u=this.getEntry(t);if(u[this._deduplicationKey]){return u[this._deduplicationKey]+'';}else return '__'+t+'__';};s.prototype.getQueryCache=function(){"use strict";return this.queryCache;};s.prototype.getQueryIDs=function(){"use strict";return this.queryIDs;};s.prototype.setMaxResults=function(t){"use strict";this._maxResults=t;this.value&&this.respond(this.value,this.buildUids(this.value));};s.prototype.updateToken=function(t){"use strict";this.token=t;this.dirty();return this;};s.prototype._guid=function(){"use strict";var t=Date.now(),u='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(v){var w=Math.floor((t+Math.random()*16)%16);t=Math.floor(t/16);var x=(v=='x'?w:(w&7|8)).toString(16);return x;});return u;};k(s.prototype,{events:['bootstrap','query','respond'],asyncErrorHandler:n});e.exports=s;},null);
__d("Dialog",["Animation","Arbiter","AsyncRequest","Button","ContextualThing","CSS","DOM","Event","Focus","Form","HTML","Keys","Locale","Parent","Run","Style","URI","Vector","bind","copyProperties","createArrayFromMixed","emptyFunction","getObjectValues","getOverlayZIndex","removeFromArray","shield","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga){b.__markCompiled&&b.__markCompiled();var ha=function(){var ja=document.body,ka=document.createElement('div'),la=document.createElement('div');ja.insertBefore(ka,ja.firstChild);ja.insertBefore(la,ja.firstChild);ka.style.position='fixed';ka.style.top='20px';var ma=ka.offsetTop!==la.offsetTop;ja.removeChild(ka);ja.removeChild(la);ha=ba.thatReturns(ma);return ma;};function ia(ja){"use strict";this._show_loading=true;this._auto_focus=true;this._submit_on_enter=false;this._fade_enabled=true;this._onload_handlers=[];this._top=125;this._uniqueID='dialog_'+ia._globalCount++;this._content=null;this._obj=null;this._popup=null;this._overlay=null;this._causal_elem=null;this._previous_focus=null;this._buttons=[];this._buildDialog();if(ja)this._setFromModel(ja);ia._init();}ia.prototype.show=function(){"use strict";this._showing=true;if(this._async_request){if(this._show_loading)this.showLoading();}else this._update();return this;};ia.prototype.showLoading=function(){"use strict";this._loading=true;l.addClass(this._frame,'dialog_loading_shown');this._renderDialog();return this;};ia.prototype.hide=function(){"use strict";if(!this._showing&&!this._loading)return this;this._showing=false;if(this._autohide_timeout){clearTimeout(this._autohide_timeout);this._autohide_timeout=null;}if(this._fade_enabled&&ia._stack.length<=1){this._fadeOut();}else this._hide();return this;};ia.prototype.cancel=function(){"use strict";if(!this._cancelHandler||this._cancelHandler()!==false)this.hide();};ia.prototype.getRoot=function(){"use strict";return this._obj;};ia.prototype.getBody=function(){"use strict";return m.scry(this._obj,'div.dialog_body')[0];};ia.prototype.getButtonElement=function(ja){"use strict";if(typeof ja=='string')ja=ia._findButton(this._buttons,ja);if(!ja||!ja.name)return null;var ka=m.scry(this._popup,'input'),la=function(ma){return ma.name==ja.name;};return ka.filter(la)[0]||null;};ia.prototype.getContentNode=function(){"use strict";return m.find(this._content,'div.dialog_content');};ia.prototype.getFormData=function(){"use strict";return p.serialize(this.getContentNode());};ia.prototype.setAllowCrossPageTransition=function(ja){"use strict";this._cross_transition=ja;return this;};ia.prototype.setAllowCrossQuicklingNavigation=function(ja){"use strict";this._cross_quickling=ja;return this;};ia.prototype.setShowing=function(){"use strict";this.show();return this;};ia.prototype.setHiding=function(){"use strict";this.hide();return this;};ia.prototype.setTitle=function(ja){"use strict";var ka=this._nodes.title,la=this._nodes.title_inner,ma=this._nodes.content;m.setContent(la,this._format(ja||''));l.conditionShow(ka,!!ja);l.conditionClass(ma,'dialog_content_titleless',!ja);return this;};ia.prototype.setBody=function(ja){"use strict";m.setContent(this._nodes.body,this._format(ja));return this;};ia.prototype.setExtraData=function(ja){"use strict";this._extra_data=ja;return this;};ia.prototype.setReturnData=function(ja){"use strict";this._return_data=ja;return this;};ia.prototype.setShowLoading=function(ja){"use strict";this._show_loading=ja;return this;};ia.prototype.setFullBleed=function(ja){"use strict";this._full_bleed=ja;this._updateWidth();l.conditionClass(this._obj,'full_bleed',ja);return this;};ia.prototype.setCausalElement=function(ja){"use strict";this._causal_elem=ja;return this;};ia.prototype.setUserData=function(ja){"use strict";this._user_data=ja;return this;};ia.prototype.getUserData=function(){"use strict";return this._user_data;};ia.prototype.setAutohide=function(ja){"use strict";if(ja){if(this._showing){this._autohide_timeout=setTimeout(fa(this.hide,this),ja);}else this._autohide=ja;}else{this._autohide=null;if(this._autohide_timeout){clearTimeout(this._autohide_timeout);this._autohide_timeout=null;}}return this;};ia.prototype.setSummary=function(ja){"use strict";var ka=this._nodes.summary;m.setContent(ka,this._format(ja||''));l.conditionShow(ka,!!ja);return this;};ia.prototype.setButtons=function(ja){"use strict";var ka,la;if(!(ja instanceof Array)){ka=aa(arguments);}else ka=ja;for(var ma=0;ma<ka.length;++ma)if(typeof ka[ma]=='string'){la=ia._findButton(ia._STANDARD_BUTTONS,ka[ma]);ka[ma]=la;}this._buttons=ka;var na=[];if(ka&&ka.length>0)for(var oa=0;oa<ka.length;oa++){la=ka[oa];var pa=m.create('input',{type:'button',name:la.name||'',value:la.label}),qa=m.create('label',{className:'uiButton uiButtonLarge uiButtonConfirm'},pa);if(la.className){la.className.split(/\s+/).forEach(function(sa){l.addClass(qa,sa);});if(l.hasClass(qa,'inputaux')){l.removeClass(qa,'inputaux');l.removeClass(qa,'uiButtonConfirm');}if(l.hasClass(qa,'uiButtonSpecial'))l.removeClass(qa,'uiButtonConfirm');}if(la.icon)m.prependContent(qa,m.create('img',{src:la.icon,className:'img mrs'}));if(la.disabled)j.setEnabled(qa,false);n.listen(pa,'click',this._handleButton.bind(this,la.name));for(var ra in la)if(ra.indexOf('data-')===0&&ra.length>5)pa.setAttribute(ra,la[ra]);na.push(qa);}m.setContent(this._nodes.buttons,na);this._updateButtonVisibility();return this;};ia.prototype.setButtonsMessage=function(ja){"use strict";m.setContent(this._nodes.button_message,this._format(ja||''));this._has_button_message=!!ja;this._updateButtonVisibility();return this;};ia.prototype._updateButtonVisibility=function(){"use strict";var ja=this._buttons.length>0||this._has_button_message;l.conditionShow(this._nodes.button_wrapper,ja);l.conditionClass(this._obj,'omitDialogFooter',!ja);};ia.prototype.setClickButtonOnEnter=function(ja,ka){"use strict";this._clickOnEnterTarget=ja;if(!this._clickOnEnterListener)this._clickOnEnterListener=n.listen(this._nodes.body,'keypress',function(event){var la=event.getTarget();if(la&&la.id===this._clickOnEnterTarget)if(n.getKeyCode(event)==r.RETURN){this._handleButton(ka);event.kill();}return true;}.bind(this));return this;};ia.prototype.setStackable=function(ja,ka){"use strict";this._is_stackable=ja;this._shown_while_stacked=ja&&ka;return this;};ia.prototype.setHandler=function(ja){"use strict";this._handler=ja;return this;};ia.prototype.setCancelHandler=function(ja){"use strict";this._cancelHandler=ia.call_or_eval.bind(null,this,ja);return this;};ia.prototype.setCloseHandler=function(ja){"use strict";this._close_handler=ia.call_or_eval.bind(null,this,ja);return this;};ia.prototype.clearHandler=function(){"use strict";return this.setHandler(null);};ia.prototype.setPostURI=function(ja,ka){"use strict";if(ka===(void 0))ka=true;if(ka){this.setHandler(this._submitForm.bind(this,'POST',ja));}else this.setHandler(function(){p.post(ja,this.getFormData());this.hide();}.bind(this));return this;};ia.prototype.setGetURI=function(ja){"use strict";this.setHandler(this._submitForm.bind(this,'GET',ja));return this;};ia.prototype.setModal=function(ja){"use strict";this._modal=ja;l.conditionClass(this._obj,'generic_dialog_modal',ja);return this;};ia.prototype.setSemiModal=function(ja){"use strict";if(ja){this.setModal(true);this._semiModalListener=n.listen(this._obj,'click',function(ka){if(!m.contains(this._popup,ka.getTarget()))this.hide();}.bind(this));}else this._semiModalListener&&this._semiModalListener.remove();this._semi_modal=ja;return this;};ia.prototype.setWideDialog=function(ja){"use strict";this._wide_dialog=ja;this._updateWidth();return this;};ia.prototype.setContentWidth=function(ja){"use strict";this._content_width=ja;this._updateWidth();return this;};ia.prototype.setTitleLoading=function(ja){"use strict";if(ja===(void 0))ja=true;var ka=m.find(this._popup,'h2.dialog_title');if(ka)l.conditionClass(ka,'loading',ja);return this;};ia.prototype.setSecure=function(ja){"use strict";l.conditionClass(this._nodes.title,'secure',ja);return this;};ia.prototype.setClassName=function(ja){"use strict";ja.split(/\s+/).forEach(l.addClass.bind(l,this._obj));return this;};ia.prototype.setFadeEnabled=function(ja){"use strict";this._fade_enabled=ja;return this;};ia.prototype.setFooter=function(ja){"use strict";var ka=this._nodes.footer;m.setContent(ka,this._format(ja||''));l.conditionShow(ka,!!ja);return this;};ia.prototype.setAutoFocus=function(ja){"use strict";this._auto_focus=ja;return this;};ia.prototype.setTop=function(ja){"use strict";this._top=ja;this._resetDialogObj();return this;};ia.prototype.onloadRegister=function(ja){"use strict";aa(ja).forEach(function(ka){if(typeof ka=='string')ka=new Function(ka);this._onload_handlers.push(ka.bind(this));}.bind(this));return this;};ia.prototype.setAsyncURL=function(ja){"use strict";return this.setAsync(new i(ja));};ia.prototype.setAsync=function(ja){"use strict";var ka=function(sa){if(this._async_request!=ja)return;this._async_request=null;var ta=sa.getPayload(),ua=ta;if(this._loading)this._showing=true;if(typeof ua=='string'){this.setBody(ua);}else this._setFromModel(ua);this._update();}.bind(this),la=ja.getData();la.__d=1;ja.setData(la);var ma=ja.getHandler()||ba;ja.setHandler(function(sa){ma(sa);ka(sa);});var na=ja,oa=na.getErrorHandler()||ba,pa=na.getTransportErrorHandler()||ba,qa=function(){this._async_request=null;this._loading=false;if(this._showing&&this._shown_while_stacked){this._update();}else this._hide(this._is_stackable);}.bind(this),ra=na.getServerDialogCancelHandler()||qa;na.setAllowCrossPageTransition(this._cross_transition).setErrorHandler(function(sa){qa();oa(sa);}).setTransportErrorHandler(function(sa){qa();pa(sa);}).setServerDialogCancelHandler(ra);ja.send();this._async_request=ja;if(this._showing)this.show();return this;};ia.prototype._format=function(ja){"use strict";if(typeof ja=='string'){ja=q(ja);}else ja=q.replaceJSONWrapper(ja);if(ja instanceof q)ja.setDeferred(true);return ja;};ia.prototype._update=function(){"use strict";if(!this._showing)return;if(this._autohide&&!this._async_request&&!this._autohide_timeout)this._autohide_timeout=setTimeout(y(this,'hide'),this._autohide);l.removeClass(this._frame,'dialog_loading_shown');this._loading=false;this._renderDialog();this._runOnloads();this._previous_focus=document.activeElement;o.set(this._frame);};ia.prototype._runOnloads=function(){"use strict";for(var ja=0;ja<this._onload_handlers.length;++ja)try{this._onload_handlers[ja]();}catch(ka){}this._onload_handlers=[];};ia.prototype._updateWidth=function(){"use strict";var ja=2*(ia._BORDER_WIDTH+ia._HALO_WIDTH);if(this._content_width){ja+=this._content_width;if(!this._full_bleed)ja+=2*ia._PADDING_WIDTH;}else if(this._wide_dialog){ja+=ia.SIZE.WIDE;}else ja+=ia.SIZE.STANDARD;this._popup.style.width=ja+'px';};ia.prototype._updateZIndex=function(){"use strict";if(!this._hasSetZIndex&&this._causal_elem){var ja=da(this._causal_elem),ka=this._causal_elem;while(!ja&&(ka=k.getContext(ka)))ja=da(ka);this._hasSetZIndex=ja>(this._modal?400:200);v.set(this._obj,'z-index',this._hasSetZIndex?ja:'');}};ia.prototype._renderDialog=function(){"use strict";this._updateZIndex();this._pushOntoStack();this._obj.style.height=null;if(this._obj&&this._obj.style.display){this._obj.style.visibility='hidden';this._obj.style.display='';this.resetDialogPosition();this._obj.style.visibility='';this._obj.dialog=this;}else this.resetDialogPosition();clearInterval(this.active_hiding);this.active_hiding=setInterval(this._activeResize.bind(this),500);this._submit_on_enter=false;if(this._auto_focus){var ja=p.getFirstElement(this._content,['input[type="text"]','textarea','input[type="password"]']);if(ja){setTimeout(p.focusFirst.bind(this,this._content),0);}else this._submit_on_enter=true;}var ka=x.getElementDimensions(this._content).y+x.getElementPosition(this._content).y;ia._bottoms.push(ka);this._bottom=ka;ia._updateMaxBottom();return this;};ia.prototype._buildDialog=function(){"use strict";this._obj=m.create('div',{className:'generic_dialog',id:this._uniqueID});this._obj.style.display='none';m.appendContent(document.body,this._obj);if(!this._popup)this._popup=m.create('div',{className:'generic_dialog_popup'});this._obj.appendChild(this._popup);l.addClass(this._obj,'pop_dialog');if(s.isRTL())l.addClass(this._obj,'pop_dialog_rtl');m.setContent(this._popup,m.create('div',{className:'pop_container_advanced'},m.create('div',{className:'pop_content',id:'pop_content'})));var ja=m.find(this._popup,'div.pop_content');ja.setAttribute('tabIndex','0');ja.setAttribute('role','alertdialog');this._frame=this._content=ja;var ka=m.create('div',{className:'dialog_loading'},ga._("Loading...")),la=m.create('span'),ma=m.create('h2',{className:'dialog_title hidden_elem',id:'title_'+this._uniqueID},la),na=m.create('div',{className:'dialog_summary hidden_elem'}),oa=m.create('div',{className:'dialog_body'}),pa=m.create('div',{className:'rfloat mlm'}),qa=m.create('div',{className:'dialog_buttons_msg'}),ra=m.create('div',{className:'dialog_buttons clearfix hidden_elem'},[pa,qa]),sa=m.create('div',{className:'dialog_footer hidden_elem'}),ta=m.create('div',{className:'dialog_content'},[na,oa,ra,sa]);this._nodes={summary:na,body:oa,buttons:pa,button_message:qa,button_wrapper:ra,footer:sa,content:ta,title:ma,title_inner:la};m.setContent(this._frame,[ma,ta,ka]);};ia.prototype._activeResize=function(){"use strict";if(this.last_offset_height!=this._content.offsetHeight){this.last_offset_height=this._content.offsetHeight;this.resetDialogPosition();}};ia.prototype.resetDialogPosition=function(){"use strict";if(!this._popup)return;this._resetDialogObj();};ia.prototype._resetDialogObj=function(){"use strict";var ja=2*ia._PAGE_MARGIN,ka=x.getViewportDimensions(),la=ka.x-ja,ma=ka.y-ja,na=2*ia._HALO_WIDTH,oa=x.getElementDimensions(this._content),pa=oa.x+na,qa=oa.y+na,ra=this._top,sa=la-pa,ta=ma-qa;if(ta<0){ra=ia._PAGE_MARGIN;}else if(ra>ta)ra=ia._PAGE_MARGIN+(Math.max(ta,0)/2);var ua=ha();if(!ua)ra+=x.getScrollPosition().y;v.set(this._popup,'marginTop',ra+'px');var va=ua&&(sa<0||ta<0);l.conditionClass(this._obj,'generic_dialog_fixed_overflow',va);l.conditionClass(document.documentElement,'generic_dialog_overflow_mode',va);};ia.prototype._fadeOut=function(ja){"use strict";if(!this._popup)return;try{new g(this._obj).duration(0).checkpoint().to('opacity',0).hide().duration(250).ondone(this._hide.bind(this,ja)).go();}catch(ka){this._hide(ja);}};ia.prototype._hide=function(ja){"use strict";if(this._obj)this._obj.style.display='none';l.removeClass(document.documentElement,'generic_dialog_overflow_mode');clearInterval(this.active_hiding);if(this._bottom){var ka=ia._bottoms;ka.splice(ka.indexOf(this._bottom),1);ia._updateMaxBottom();}if(this._previous_focus&&document.activeElement&&m.contains(this._obj,document.activeElement))o.set(this._previous_focus);if(ja)return;this.destroy();};ia.prototype.destroy=function(){"use strict";this._popFromStack();clearInterval(this.active_hiding);if(this._obj){m.remove(this._obj);this._obj=null;}this._clickOnEnterListener&&this._clickOnEnterListener.remove();if(this._close_handler)this._close_handler({return_data:this._return_data});};ia.prototype._handleButton=function(ja){"use strict";if(typeof ja=='string')ja=ia._findButton(this._buttons,ja);var ka=ia.call_or_eval(ja,ja.handler);if(ka===false)return;if(ja.name=='cancel'){this.cancel();}else if(ia.call_or_eval(this,this._handler,{button:ja})!==false)this.hide();};ia.prototype._submitForm=function(ja,ka,la){"use strict";var ma=this.getFormData();if(la)ma[la.name]=la.label;if(this._extra_data)z(ma,this._extra_data);var na=new i().setURI(ka).setData(ma).setMethod(ja).setNectarModuleDataSafe(this._causal_elem).setReadOnly(ja=='GET');this.setAsync(na);return false;};ia.prototype._setFromModel=function(ja){"use strict";var ka={};z(ka,ja);for(var la in ka){if(la=='onloadRegister'){this.onloadRegister(ka[la]);continue;}var ma=this['set'+la.substr(0,1).toUpperCase()+la.substr(1)];ma.apply(this,aa(ka[la]));}};ia.prototype._updateBottom=function(){"use strict";var ja=x.getElementDimensions(this._content).y+x.getElementPosition(this._content).y;ia._bottoms[ia._bottoms.length-1]=ja;ia._updateMaxBottom();};ia.prototype._pushOntoStack=function(){"use strict";var ja=ia._stack;if(!ja.length)h.inform('layer_shown',{type:'Dialog'});ea(ja,this);ja.push(this);for(var ka=ja.length-2;ka>=0;ka--){var la=ja[ka];if(!la._is_stackable&&!la._async_request){la._hide();}else if(!la._shown_while_stacked)la._hide(true);}};ia.prototype._popFromStack=function(){"use strict";var ja=ia._stack,ka=(ja[ja.length-1]===this);ea(ja,this);if(ja.length){if(ka)ja[ja.length-1].show();}else h.inform('layer_hidden',{type:'Dialog'});};ia._updateMaxBottom=function(){"use strict";ia.max_bottom=Math.max.apply(Math,ia._bottoms);};ia.newButton=function(ja,ka,la,ma){"use strict";var na={name:ja,label:ka};if(la)na.className=la;if(ma)na.handler=ma;return na;};ia.getCurrent=function(){"use strict";var ja=ia._stack;return ja.length?ja[ja.length-1]:null;};ia.hideCurrent=function(){"use strict";var ja=ia.getCurrent();ja&&ja.hide();};ia.bootstrap=function(ja,ka,la,ma,na,oa){"use strict";ka=ka||{};z(ka,new w(ja).getQueryData());ma=ma||(la?'GET':'POST');var pa=t.byClass(oa,'stat_elem')||oa;if(pa&&l.hasClass(pa,'async_saving'))return false;var qa=new i().setReadOnly(!!la).setMethod(ma).setRelativeTo(oa).setStatusElement(pa).setURI(ja).setNectarModuleDataSafe(oa).setData(ka),ra=new ia(na).setCausalElement(oa).setAsync(qa);ra.show();return false;};ia.showFromModel=function(ja,ka){"use strict";var la=new ia(ja).setCausalElement(ka).show();if(ja.hiding)la.hide();};ia._init=function(){"use strict";this._init=ba;u.onLeave(fa(ia._tearDown,null,false));h.subscribe('page_transition',fa(ia._tearDown,null,true));n.listen(document.documentElement,'keydown',function(event){if(n.getKeyCode(event)==r.ESC&&!event.getModifiers().any){if(ia._escape())event.kill();}else if(n.getKeyCode(event)==r.RETURN&&!event.getModifiers().any)if(ia._enter())event.kill();});n.listen(window,'resize',function(event){var ja=ia.getCurrent();ja&&ja._resetDialogObj();});};ia._findButton=function(ja,ka){"use strict";if(ja)for(var la=0;la<ja.length;++la)if(ja[la].name==ka)return ja[la];return null;};ia._tearDown=function(ja){"use strict";var ka=ia._stack.slice();for(var la=ka.length-1;la>=0;la--)if((ja&&!ka[la]._cross_transition)||(!ja&&!ka[la]._cross_quickling))ka[la].hide();};ia._escape=function(){"use strict";var ja=ia.getCurrent();if(!ja)return false;var ka=ja._semi_modal,la=ja._buttons;if(!la.length&&!ka)return false;if(ka&&!la.length){ja.hide();return true;}var ma,na=ia._findButton(la,'cancel');if(ja._cancelHandler){ja.cancel();return true;}else if(na){ma=na;}else if(la.length==1){ma=la[0];}else return false;ja._handleButton(ma);return true;};ia._enter=function(){"use strict";var ja=ia.getCurrent();if(!ja||!ja._submit_on_enter)return false;if(document.activeElement!=ja._frame)return false;var ka=ja._buttons;if(!ka)return false;ja._handleButton(ka[0]);return true;};ia.call_or_eval=function(ja,ka,la){"use strict";if(!ka)return (void 0);la=la||{};if(typeof ka=='string'){var ma=Object.keys(la).join(', ');ka=(eval)('({f: function('+ma+') { '+ka+'}})').f;}return ka.apply(ja,ca(la));};z(ia,{OK:{name:'ok',label:ga._("OK")},CANCEL:{name:'cancel',label:ga._("Cancel"),className:'inputaux'},CLOSE:{name:'close',label:ga._("Close")},NEXT:{name:'next',label:ga._("Next")},SAVE:{name:'save',label:ga._("Save")},SUBMIT:{name:'submit',label:ga._("Submit")},CONFIRM:{name:'confirm',label:ga._("Confirm")},DELETE:{name:'delete',label:ga._("Delete")},_globalCount:0,_bottoms:[0],max_bottom:0});z(ia,{OK_AND_CANCEL:[ia.OK,ia.CANCEL],_STANDARD_BUTTONS:[ia.OK,ia.CANCEL,ia.CLOSE,ia.SAVE,ia.SUBMIT,ia.CONFIRM,ia.DELETE],SIZE:{WIDE:555,STANDARD:445},_HALO_WIDTH:10,_BORDER_WIDTH:1,_PADDING_WIDTH:10,_PAGE_MARGIN:40,_stack:[]});z(ia.prototype,{_cross_quickling:false,_cross_transition:false,_loading:false,_showing:false});e.exports=ia;a.Dialog=ia;},null);
__d("DialogHideOnSuccess",["CSS","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k){"use strict";this._layer=k;}j.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('success',this._handle.bind(this));};j.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};j.prototype._handle=function(k,event){"use strict";if(g.hasClass(event.getTarget(),"_s"))this._layer.hide();};h(j.prototype,{_subscription:null});e.exports=j;},null);
__d("DocumentTitle",["Arbiter"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=document.title,i=null,j=1500,k=[],l=0,m=null,n=false;function o(){if(k.length>0){if(!n){p(k[l].title);l=++l%k.length;}else q();}else{clearInterval(m);m=null;q();}}function p(s){document.title=s;n=true;}function q(){r.set(i||h,true);n=false;}var r={get:function(){return h;},set:function(s,t){document.title=s;if(!t){h=s;i=null;g.inform('update_title',s);}else i=s;},blink:function(s){var t={title:s};k.push(t);if(m===null)m=setInterval(o,j);return {stop:function(){var u=k.indexOf(t);if(u>=0){k.splice(u,1);if(l>u){l--;}else if(l==u&&l==k.length)l=0;}}};}};e.exports=r;},null);
__d("Ease",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={makePowerOut:function(h){var i=g.makePowerIn(h);return function(j){return 1-i(1-j);};},makePowerIn:function(h){return function(i){var j=Math.pow(i,h);return (j*10000|0)/10000;};},makePowerInOut:function(h){var i=g.makePowerIn(h),j=g.makePowerOut(h);return function(k){return (k<.5)?.5*i(k*2):.5*j(k*2-1)+.5;};},expoOut:function(h){return 1-Math.pow(2,-10*h);},expoIn:function(h){return 1-g.expoOut(1-h);},expoInOut:function(h){return (h<.5)?.5*g.expoIn(h*2):.5*g.expoOut(h*2-1)+.5;},sineOut:function(h){return Math.sin(h*Math.PI*.5);},sineIn:function(h){return 1-Math.cos(h*Math.PI*.5);},sineInOut:function(h){return -.5*(Math.cos(Math.PI*h)-1);},circOut:function(h){return Math.sqrt(1-(--h)*h);},circIn:function(h){return 1-g.circOut(1-h);},circInOut:function(h){return (h<.5)?.5*g.circIn(h*2):.5*g.circOut(h*2-1)+.5;},bounceOut:function(h){if(h<1/2.75){return (7.5625*h*h);}else if(h<2/2.75){return (7.5625*(h-=1.5/2.75)*h+.75);}else if(h<2.5/2.75){return (7.5625*(h-=2.25/2.75)*h+.9375);}else return (7.5625*(h-=2.625/2.75)*h+.984375);},bounceIn:function(h){return 1-g.bounceOut(1-h);},bounceInOut:function(h){return (h<.5)?.5*g.bounceIn(h*2):.5*g.bounceOut(h*2-1)+.5;},makeBounceOut:function(h){h=h||1;return function(i){i=((1-Math.cos(i*Math.PI*h))*(1-i))+i;return 1-Math.abs(1-i);};},makeBounceIn:function(h){var i=g.makeBounceOut(h);return function(j){return 1-i(1-j);};},makeElasticOut:function(h,i){h<1&&(h=1);var j=Math.PI*2;return function(k){if(k===0||k===1)return k;var l=i/j*Math.asin(1/h);return h*Math.pow(2,-10*k)*Math.sin((k-l)*j/i)+1;};},makeElasticIn:function(h,i){var j=g.makeElasticOut(h,i);return function(k){return 1-j(1-k);};},makeElasticInOut:function(h,i){i*=1.5;var j=g.makeElasticIn(h,i),k=g.makeElasticOut(h,i);return function(l){return (l<.5)?.5*j(l*2):.5*k(l*2-1)+.5;};},makeBackOut:function(h){var i=g.makeBackIn(h);return function(j){return 1-i(1-j);};},makeBackIn:function(h){return function(i){return i*i*((h+1)*i-h);};},makeBackInOut:function(h){h*=1.525;var i=g.makeBackIn(h),j=g.makeBackOut(h);return function(k){return (k<.5)?.5*i(k*2):.5*j(k*2-1)+.5;};}};g.elasticOut=g.makeElasticOut(1,.3);g.elasticIn=g.makeElasticIn(1,.3);g.elasticInOut=g.makeElasticInOut(1,.3);g.backOut=g.makeBackOut(1.7);g.backIn=g.makeBackIn(1.7);g.backInOut=g.makeBackInOut(1.7);e.exports=g;},null);
__d("FileForm",["ArbiterMixin","AsyncRequest","AsyncResponse","AsyncUploadRequest","BehaviorsMixin","CurrentUser","DataStore","DOMQuery","Event","Form","JSONPTransport","Parent","URI","copyProperties","mixin","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();function w(ca){var da={},ea=n.scry(ca,'input[type="file"]');ea.forEach(function(fa){da[fa.name]=fa.files;});return da;}function x(ca){var da=n.scry(ca,'input[type="file"]');da.forEach(function(ea){ea.files=null;});}var y=u(g,k);for(var z in y)if(y.hasOwnProperty(z))ba[z]=y[z];var aa=y===null?null:y.prototype;ba.prototype=Object.create(aa);ba.prototype.constructor=ba;ba.__superConstructor__=y;function ba(ca,da,ea){"use strict";if(ca.getAttribute('rel')==='async')throw new Error('FileForm cannot be used with Primer forms.');if(ca.getAttribute('method').toUpperCase()!=='POST')throw new Error('FileForm must be used with POST forms.');this._form=ca;this._previousEncoding=this._form.enctype;this._form.enctype=this._form.encoding='multipart/form-data';this._files=null;da&&this.enableBehaviors(da);this._options=ea||{};this.setAllowCrossOrigin(this._options.allowCrossOrigin);this.setAllowCrossPageTransition(this._options.allowCrossPageTransition);this.setUploadInParallel(this._options.uploadInParallel);this.setConcurrentLimit(this._options.concurrentLimit);this.setPreprocessHandler(this._options.preprocessHandler);this.setNetworkErrorRetryLimit(this._options.networkErrorRetryLimit);this._listeners=[o.listen(document.documentElement,'submit',this._submit.bind(this)),o.listen(this._form,'click',this._click.bind(this))];m.set(this._form,'FileForm',this);}ba.prototype.getRoot=function(){"use strict";return this._form;};ba.prototype.setAllowCrossOrigin=function(ca){"use strict";this._allowCrossOrigin=!!ca;return this;};ba.prototype.setAllowCrossPageTransition=function(ca){"use strict";this._allowCrossPageTransition=!!ca;return this;};ba.prototype.setUploadInParallel=function(ca){"use strict";this._uploadInParallel=!!ca;return this;};ba.prototype.setConcurrentLimit=function(ca){"use strict";this._concurrentLimit=ca;return this;};ba.prototype.setPreprocessHandler=function(ca){"use strict";this._preprocessHandler=ca;return this;};ba.prototype.setNetworkErrorRetryLimit=function(ca){"use strict";this._retryLimit=ca;return this;};ba.prototype.setFiles=function(ca){"use strict";this._files=ca;return this;};ba.prototype.canUseXHR=function(){"use strict";var ca='FormData' in window;if(ca)if(!s(this._form.action).isSameOrigin()&&!this._allowCrossOrigin)ca=false;return ca;};ba.prototype._submit=function(event){"use strict";if(event.isDefaultPrevented()||event.getTarget()!==this._form)return;if(this.inform('submit')===false){event.prevent();return;}return this.canUseXHR()?this._sendViaXHR(event):this._sendViaFrame(event);};ba.prototype._click=function(event){"use strict";var ca=event.getTarget();while(n.isElementNode(ca)){if(ca.type==='submit'){this._clickTarget=ca;setTimeout(this._unclick.bind(this),0);break;}ca=ca.parentNode;}};ba.prototype._unclick=function(){"use strict";this._clickTarget=null;};ba.prototype._sendViaFrame=function(event){"use strict";var ca=this._request=new h();ca.setStatusElement(this._getStatusElement());ca.addStatusIndicator();ca.setOption('useIframeTransport',true);var da=ca.handleResponse.bind(ca),ea=new q('iframe',this._form.action,da),fa=ea.getTransportFrame(),ga=ea.getRequestURI().addQueryData({__iframe:true,__user:l.getID()});this._form.setAttribute('action',ga.toString());this._form.setAttribute('target',fa.name);ca.setJSONPTransport(ea);ca.setURI(ga);ca.setHandler(this.success.bind(this,null));ca.setErrorHandler(this.failure.bind(this,null));ca.setInitialHandler(v(this.initial,this,null));};ba.prototype._sendViaXHR=function(event){"use strict";var ca;if(this._uploadInParallel&&j.isSupported()){ca=new j().setPreprocessHandler(this._preprocessHandler).setData(p.serialize(this._form,this._clickTarget)).setNetworkErrorRetryLimit(this._retryLimit);if(this._concurrentLimit)ca.setLimit(this._concurrentLimit);if(this._files){ca.setFiles(this._files);}else ca.setFiles(w(this._form));var da=[ca.subscribe('progress',function(ia,ja){this.progress(ja,ja.getProgressEvent());}.bind(this)),ca.subscribe('initial',function(ia,ja){this.initial(ja,ja.getResponse());}.bind(this)),ca.subscribe('success',function(ia,ja){this.success(ja,ja.getResponse());}.bind(this)),ca.subscribe('start',function(ia,ja){this.inform('start',{upload:ja});}.bind(this)),ca.subscribe('failure',function(ia,ja){this.failure(ja,ja.getResponse());return false;}.bind(this)),ca.subscribe('complete',function(){while(da.length)da.pop().unsubscribe();})];}else{var ea;if(this._files){ea=p.createFormData(p.serialize(this._form,this._clickTarget));var fa=j.parseFiles(this._files);for(var ga in fa){var ha=fa[ga];if(ha.length===1){ea.append(ga,ha[0]);}else{ga=ga+'[]';ha.forEach(function(ia){ea.append(ga,ia);});}}}else ea=p.createFormData(this._form,this._clickTarget);ca=new h().setRawData(ea).setHandler(this.success.bind(this,null)).setErrorHandler(this.failure.bind(this,null)).setUploadProgressHandler(this.progress.bind(this,null)).setInitialHandler(v(this.initial,this,null));}ca.setAllowCrossOrigin(this._allowCrossOrigin).setAllowCrossPageTransition(this._allowCrossPageTransition).setRelativeTo(this._form).setStatusElement(this._getStatusElement()).setURI(this._form.action).send();this._request=ca;event&&event.prevent();};ba.prototype.forceSendViaXHR=function(){"use strict";return this._sendViaXHR(null);};ba.prototype.initial=function(ca){"use strict";return this.inform('initial',{upload:ca});};ba.prototype.success=function(ca,da){"use strict";var ea={response:da,upload:ca};if(this.inform('success',ea)!==false)o.fire(this._form,'success',ea);this._cleanup();};ba.prototype.failure=function(ca,da){"use strict";var ea={response:da,upload:ca};if(this.inform('failure',ea)!==false)if(o.fire(this._form,'error',ea)!==false)i.defaultErrorHandler(da);this._cleanup();};ba.prototype.progress=function(ca,event){"use strict";this.inform('progress',{event:event,upload:ca});};ba.prototype.abort=function(){"use strict";if(this._request){this._request.abort();this._cleanup();}};ba.prototype.clear=function(){"use strict";x(this._form);};ba.prototype.destroy=function(){"use strict";this._cleanup();while(this._listeners.length)this._listeners.pop().remove();this._listeners=null;this._form.enctype=this._form.encoding=this._previousEncoding;m.remove(this._form,'FileForm');};ba.prototype._cleanup=function(){"use strict";this._request=null;};ba.prototype._getStatusElement=function(){"use strict";return r.byClass(this._form,'stat_elem')||this._form;};ba.getInstance=function(ca){"use strict";return m.get(ca,'FileForm');};t(ba,{EVENTS:['start','submit','initial','progress','success','failure']});e.exports=ba;},null);
__d("FileInput",["ArbiterMixin","DOM","DOMClone","Event","Focus","Keys","UserAgent_DEPRECATED","cx","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=m.ie(),q=o(g);for(var r in q)if(q.hasOwnProperty(r))t[r]=q[r];var s=q===null?null:q.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=q;function t(u,v,w){"use strict";this.container=u;this.control=v;var x=h.scry(this.container,'a')[0];x&&x.removeAttribute('href');var y=h.create('div',{className:"_3jk"},w);h.appendContent(this.control,y);this._boundHandleChange=this._handleChange.bind(this);if(p)this._boundHandleIEKeyDown=this._handleIEKeyDown.bind(this);this._setInputElement(w);}t.prototype.getValue=function(){"use strict";return this.input.value;};t.prototype.getInput=function(){"use strict";return this.input;};t.prototype.getContainer=function(){"use strict";return this.container;};t.prototype.getControl=function(){"use strict";return this.control;};t.prototype.clear=function(){"use strict";if(p){var u=i.deepClone(this.input);h.replace(this.input,u);this._setInputElement(u);}else this.input.value='';};t.prototype.destroy=function(){"use strict";this._listener.remove();this._listener=null;if(p){this._IEKeyDownListener.remove();this._IEKeyDownListener=null;}this.container=null;this.control=null;this.input=null;};t.prototype._setInputElement=function(u){"use strict";this.input=u;k.relocate(u,this.control);this._listener&&this._listener.remove();this._listener=j.listen(u,'change',this._boundHandleChange);if(p){this._IEKeyDownListener&&this._IEKeyDownListener.remove();this._IEKeyDownListener=j.listen(u,'keydown',this._boundHandleIEKeyDown);}};t.prototype._handleChange=function(event){"use strict";this.inform('change',event);var u=this.input.form;if(u&&p<9)j.fire(u,'change',event);};t.prototype._handleIEKeyDown=function(event){"use strict";if(event.keyCode===l.RETURN){event.preventDefault();var u=document.createEvent('MouseEvents');u.initEvent('click',true,true);this.input.dispatchEvent(u);}};e.exports=t;},null);
__d("submitForm",["DOM"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=function(i){var j=g.scry(i,'input[type="submit"]')[0];if(j){j.click();}else{j=g.create('input',{type:'submit',className:'hidden_elem'});g.appendContent(i,j);j.click();g.remove(j);}};e.exports=h;},null);
__d("FileInputUploader",["ArbiterMixin","DOM","DTSG","FileForm","Form","copyProperties","mixin","submitForm"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=m(g);for(var p in o)if(o.hasOwnProperty(p))r[p]=o[p];var q=o===null?null:o.prototype;r.prototype=Object.create(q);r.prototype.constructor=r;r.__superConstructor__=o;function r(s){"use strict";this._inputElem=s;this._data={};}r.prototype.setInput=function(s){"use strict";this._inputElem=s;return this;};r.prototype.setURI=function(s){"use strict";this._uri=s;return this;};r.prototype.setData=function(s){"use strict";this._data=s;return this;};r.prototype.setPreprocessHandler=function(s){"use strict";this._preprocessHandler=s;return this;};r.prototype.setNetworkErrorRetryLimit=function(s){"use strict";this._retryLimit=s;return this;};r.prototype.setFiles=function(s){"use strict";this._files=s;return this;};r.prototype.setAllowCrossOrigin=function(s){"use strict";this._allowCrossOrigin=!!s;return this;};r.prototype.setAllowCrossPageTransition=function(s){"use strict";this._allowCrossPageTransition=!!s;return this;};r.prototype.setUploadInParallel=function(s){"use strict";this._uploadInParallel=!!s;return this;};r.prototype.setConcurrentLimit=function(s){"use strict";this._concurrentLimit=s;return this;};r.prototype.abort=function(){"use strict";if(this._fileForm){this._fileForm.abort();this._destroyFileForm();}};r.prototype.send=function(){"use strict";this._createForm();var s=this._inputElem.cloneNode(false);h.replace(this._inputElem,s);h.appendContent(this._formElem,this._inputElem);h.appendContent(document.body,this._formElem);n(this._formElem);h.replace(s,this._inputElem);this._removeFormEl();};r.prototype._onFileFormEvent=function(s,t){"use strict";if(s==='success'||s==='failure')this._destroyFileForm();this.inform(s,t);};r.prototype._createForm=function(){"use strict";this._destroyFileForm();this._formElem=h.create('form',{action:this._uri,method:'post'});this._fileForm=new j(this._formElem,null,{allowCrossOrigin:this._allowCrossOrigin,allowCrossPageTransition:this._allowCrossPageTransition,uploadInParallel:this._uploadInParallel,concurrentLimit:this._concurrentLimit,preprocessHandler:this._preprocessHandler,networkErrorRetryLimit:this._retryLimit});if(this._files)this._fileForm.setFiles(this._files);this._fileForm.subscribe(j.EVENTS,this._onFileFormEvent.bind(this));k.createHiddenInputs(l({fb_dtsg:i.getToken()},this._data),this._formElem);};r.prototype._removeFormEl=function(){"use strict";h.remove(this._formElem);this._formElem=null;};r.prototype._destroyFileForm=function(){"use strict";if(this._fileForm){this._fileForm.destroy();this._fileForm=null;}};e.exports=r;},null);
__d("DOMWrapper",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g,h,i={setRoot:function(j){g=j;},getRoot:function(){return g||document.body;},setWindow:function(j){h=j;},getWindow:function(){return h||self;}};e.exports=i;},null);
__d("Flash",["DOMEventListener","DOMWrapper","QueryString","UserAgent_DEPRECATED","copyProperties","guid","htmlSpecialChars"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={},o,p=h.getWindow().document;function q(v){var w=p.getElementById(v);if(w)w.parentNode.removeChild(w);delete n[v];}function r(){for(var v in n)if(n.hasOwnProperty(v))q(v);}function s(v){return v.replace(/\d+/g,function(w){return '000'.substring(w.length)+w;});}function t(v){if(!o){if(j.ie()>=9)g.add(window,'unload',r);o=true;}n[v]=v;}var u={embed:function(v,w,x,y){var z=l();v=m(v).replace(/&amp;/g,'&');x=k({allowscriptaccess:'always',flashvars:y,movie:v},x||{});if(typeof x.flashvars=='object')x.flashvars=i.encode(x.flashvars);var aa=[];for(var ba in x)if(x.hasOwnProperty(ba)&&x[ba])aa.push('<param name="'+m(ba)+'" value="'+m(x[ba])+'">');var ca=w.appendChild(p.createElement('span')),da='<object '+(j.ie()?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':'type="application/x-shockwave-flash"')+'data="'+v+'" '+(x.height?'height="'+x.height+'" ':'')+(x.width?'width="'+x.width+'" ':'')+'id="'+z+'">'+aa.join('')+'</object>';ca.innerHTML=da;var ea=ca.firstChild;t(z);return ea;},remove:q,getVersion:function(){var v='Shockwave Flash',w='application/x-shockwave-flash',x='ShockwaveFlash.ShockwaveFlash',y;if(navigator.plugins&&typeof navigator.plugins[v]=='object'){var z=navigator.plugins[v].description;if(z&&navigator.mimeTypes&&navigator.mimeTypes[w]&&navigator.mimeTypes[w].enabledPlugin)y=z.match(/\d+/g);}if(!y)try{y=(new ActiveXObject(x)).GetVariable('$version').match(/(\d+),(\d+),(\d+),(\d+)/);y=Array.prototype.slice.call(y,1);}catch(aa){}return y;},checkMinVersion:function(v){var w=u.getVersion();if(!w)return false;return s(w.join('.'))>=s(v);},isAvailable:function(){return !!u.getVersion();}};e.exports=u;},null);
__d("FullScreen",["Event","Arbiter","CSS","UserAgent","UserAgent_DEPRECATED","copyProperties","throttle","Keys"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={},p=false,q=function(v){if(g.getKeyCode(v)===n.ESC)v.stopPropagation();},r=function(){if(!p){document.addEventListener('keydown',q,true);p=true;}},s=function(){if(p){document.removeEventListener('keydown',q,true);p=false;}},t=l(new h(),{listenForEvent:function(v){var w=m(this.onChange,0,this);if(!o[v.id]){o[v.id]=true;g.listen(v,{webkitfullscreenchange:w,mozfullscreenchange:w,MSFullscreenChange:w,fullscreenchange:w});}},enableFullScreen:function(v){this.listenForEvent(v);if(v.webkitRequestFullScreen){if(k.chrome()){v.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);}else v.webkitRequestFullScreen();}else if(v.mozRequestFullScreen){v.mozRequestFullScreen();}else if(v.msRequestFullscreen){r();v.msRequestFullscreen();}else if(v.requestFullScreen){v.requestFullScreen();}else return false;return true;},disableFullScreen:function(){if(document.webkitCancelFullScreen){document.webkitCancelFullScreen();}else if(document.mozCancelFullScreen){document.mozCancelFullScreen();}else if(document.msExitFullscreen){document.msExitFullscreen();}else if(document.cancelFullScreen){document.cancelFullScreen();}else if(document.exitFullScreen){document.exitFullScreen();}else return false;return true;},getFullScreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;},isFullScreen:function(){return (document.webkitIsFullScreen||document.fullScreen||document.mozFullScreen||document.msFullscreenElement);},toggleFullScreen:function(v){if(this.isFullScreen()){this.disableFullScreen();return false;}else return this.enableFullScreen(v);return false;},onChange:function(){var v=this.isFullScreen();i.conditionClass(document.body,'fullScreen',v);this.inform('changed');if(!v)s();},isSupportedWithKeyboardInput:function(){return this.isSupported()&&!j.isBrowser('Safari');},isSupported:function(){var v=document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||document.fullscreenEnabled;return v||document.webkitCancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.cancelFullScreen||document.exitFullScreen;}}),u=m(t.onChange,0,t);g.listen(document,{webkitfullscreenchange:u,mozfullscreenchange:u,MSFullscreenChange:u,fullscreenchange:u});e.exports=t;},null);
__d("MenuDeprecated",["Event","Arbiter","CSS","DataStore","DOM","HTML","Keys","Parent","Style","UserAgent_DEPRECATED","copyProperties","emptyFunction","Run"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s='menu:mouseover',t=null;function u(ea){if(i.hasClass(ea,'uiMenuContainer'))return ea;return n.byClass(ea,'uiMenu');}function v(ea){return n.byClass(ea,'uiMenuItem');}function w(ea){if(document.activeElement){var fa=v(document.activeElement);return ea.indexOf(fa);}return -1;}function x(ea){return k.find(ea,'a.itemAnchor');}function y(ea){return i.hasClass(ea,'checked');}function z(ea){return !i.hasClass(ea,'disabled')&&o.get(ea,'display')!=='none';}function aa(event){var ea=document.activeElement;if(!ea||!n.byClass(ea,'uiMenu')||!k.isInputNode(ea)){var fa=v(event.getTarget());fa&&da.focusItem(fa);}}function ba(ea){p.firefox()&&x(ea).blur();da.inform('select',{menu:u(ea),item:ea});}var ca=function(){ca=r;var ea={};ea.click=function(event){var fa=v(event.getTarget());if(fa&&z(fa)){ba(fa);var ga=x(fa),ha=ga.href,ia=ga.getAttribute('rel');return (ia&&ia!=='ignore')||(ha&&ha.charAt(ha.length-1)!=='#');}};ea.keydown=function(event){var fa=event.getTarget();if(event.getModifiers().any)return;if(!t||k.isInputNode(fa))return;var ga=g.getKeyCode(event),ha;switch(ga){case m.UP:case m.DOWN:var ia=da.getEnabledItems(t);ha=w(ia);da.focusItem(ia[ha+(ga===m.UP?-1:1)]);return false;case m.SPACE:var ja=v(fa);if(ja){ba(ja);event.prevent();}break;default:var ka=String.fromCharCode(ga).toLowerCase(),la=da.getEnabledItems(t);ha=w(la);var ma=ha,na=la.length;while((~ha&&(ma=++ma%na)!==ha)||(!~ha&&++ma<na)){var oa=da.getItemLabel(la[ma]);if(oa&&oa.charAt(0).toLowerCase()===ka){da.focusItem(la[ma]);return false;}}}};g.listen(document.body,ea);},da=q(new h(),{focusItem:function(ea){if(ea&&z(ea)){this._removeSelected(u(ea));i.addClass(ea,'selected');x(ea).focus();}},getEnabledItems:function(ea){return da.getItems(ea).filter(z);},getCheckedItems:function(ea){return da.getItems(ea).filter(y);},getItems:function(ea){return k.scry(ea,'li.uiMenuItem');},getItemLabel:function(ea){return ea.getAttribute('data-label',2)||'';},isItemChecked:function(ea){return i.hasClass(ea,'checked');},autoregister:function(ea,fa,ga){ea.subscribe('show',function(){da.register(fa,ga);});ea.subscribe('hide',function(){da.unregister(fa);});},register:function(ea,fa){ea=u(ea);ca();if(!j.get(ea,s))j.set(ea,s,g.listen(ea,'mouseover',aa));if(fa!==false)t=ea;},setItemEnabled:function(ea,fa){if(!fa&&!k.scry(ea,'span.disabledAnchor')[0])k.appendContent(ea,k.create('span',{className:k.find(ea,'a').className+' disabledAnchor'},l(x(ea).innerHTML)));i.conditionClass(ea,'disabled',!fa);},toggleItem:function(ea){var fa=!da.isItemChecked(ea);da.setItemChecked(ea,fa);},setItemChecked:function(ea,fa){i.conditionClass(ea,'checked',fa);x(ea).setAttribute('aria-checked',fa);},unregister:function(ea){ea=u(ea);var fa=j.remove(ea,s);fa&&fa.remove();t=null;this._removeSelected(ea);},_removeSelected:function(ea){da.getItems(ea).filter(function(fa){return i.hasClass(fa,'selected');}).forEach(function(fa){i.removeClass(fa,'selected');});}});e.exports=da;},null);
__d("MultiBootstrapDataSource",["DataSource"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructor=j;j.__superConstructor__=g;function j(k){"use strict";this._bootstrapEndpoints=k.bootstrapEndpoints;g.call(this,k);}j.prototype.bootstrapWithoutToken=function(){"use strict";for(var k=0;k<this._bootstrapEndpoints.length;k++)this.fetch(this._bootstrapEndpoints[k].endpoint,this._bootstrapEndpoints[k].data||{},{bootstrap:true});};e.exports=j;},null);
__d("OnVisible",["Arbiter","DOM","Event","Parent","Run","Vector","ViewportBounds","coalesce","copyProperties","queryThenMutateDOM"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=[],r,s=0,t=[],u,v,w,x,y;function z(){q.forEach(function(fa){fa.remove();});if(v){v.remove();u.remove();r.unsubscribe();v=u=r=null;}s=0;q.length=0;}function aa(){if(!q.length){z();return;}t.length=0;w=l.getScrollPosition().y;x=l.getViewportDimensions().y;y=m.getTop();for(var fa=0;fa<q.length;++fa){var ga=q[fa];if(isNaN(ga.elementHeight))t.push(fa);ga.elementHeight=l.getElementDimensions(ga.element).y;ga.elementPos=l.getElementPosition(ga.element);ga.hidden=j.byClass(ga.element,'hidden_elem');if(ga.scrollArea){ga.scrollAreaHeight=l.getElementDimensions(ga.scrollArea).y;ga.scrollAreaY=l.getElementPosition(ga.scrollArea).y;}}s=fa;}function ba(){for(var fa=Math.min(q.length,s)-1;fa>=0;--fa){var ga=q[fa];if(!ga.elementPos||ga.removed){q.splice(fa,1);continue;}if(ga.hidden)continue;var ha=w+x+ga.buffer,ia=false;if(ha>ga.elementPos.y){var ja=w+y-ga.buffer,ka=w+y+x+ga.buffer,la=ga.elementPos.y+ga.elementHeight,ma=!ga.strict||(ja<ga.elementPos.y&&ka>la);ia=ma;if(ia&&ga.scrollArea){var na=ga.scrollAreaY+ga.scrollAreaHeight+ga.buffer;ia=(ga.elementPos.y>ga.scrollAreaY-ga.buffer)&&(ga.elementPos.y<na);}}if(ga.inverse?!ia:ia){ga.remove();ga.handler(t.indexOf(fa)!==-1);}}}function ca(){da();if(q.length)return;v=i.listen(window,'scroll',da);u=i.listen(window,'resize',da);r=g.subscribe('dom-scroll',da);}function da(){p(aa,ba,'OnVisible/positionCheck');}function ea(fa,ga,ha,ia,ja,ka){"use strict";this.element=fa;this.handler=ga;this.strict=ha;this.buffer=n(ia,300);this.inverse=n(ja,false);this.scrollArea=ka||null;if(this.scrollArea)this.scrollAreaListener=this.$OnVisible0();if(q.length===0)k.onLeave(z);ca();q.push(this);}ea.prototype.remove=function(){"use strict";if(this.removed)return;this.removed=true;if(this.scrollAreaListener)this.scrollAreaListener.remove();};ea.prototype.reset=function(){"use strict";this.elementHeight=null;this.removed=false;if(this.scrollArea)this.scrollAreaListener=this.$OnVisible0();q.indexOf(this)===-1&&q.push(this);ca();};ea.prototype.setBuffer=function(fa){"use strict";this.buffer=fa;da();};ea.prototype.checkBuffer=function(){"use strict";da();};ea.prototype.getElement=function(){"use strict";return this.element;};ea.prototype.$OnVisible0=function(){"use strict";return i.listen(h.find(this.scrollArea,'.uiScrollableAreaWrap'),'scroll',this.checkBuffer);};o(ea,{checkBuffer:da});e.exports=ea;},null);
__d("LayerDestroyOnHide",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._layer=i;}h.prototype.enable=function(){"use strict";var i=this._layer.destroy.bind(this._layer);this._subscription=this._layer.subscribe('hide',function(){setTimeout(i,0);});};h.prototype.disable=function(){"use strict";if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};g(h.prototype,{_subscription:null});e.exports=h;},null);
__d("LayerHideOnSuccess",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._layer=i;}h.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('success',this._layer.hide.bind(this._layer));};h.prototype.disable=function(){"use strict";if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};g(h.prototype,{_subscription:null});e.exports=h;},null);
__d("Overlay",["CSS","DataStore","DOM","Layer","LayerButtons","LayerDestroyOnHide","LayerFadeOnHide","LayerFadeOnShow","LayerFormHooks","LayerHideOnBlur","LayerHideOnEscape","LayerHideOnSuccess","LayerHideOnTransition","LayerMouseHooks","LayerTabIsolation","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();for(var w in j)if(j.hasOwnProperty(w))y[w]=j[w];var x=j===null?null:j.prototype;y.prototype=Object.create(x);y.prototype.constructor=y;y.__superConstructor__=j;function y(z,aa){"use strict";z=v({buildWrapper:true},z||{});this._shouldBuildWrapper=z.buildWrapper;j.call(this,z,aa);}y.prototype._configure=function(z,aa){"use strict";x._configure.call(this,z,aa);var ba=this.getRoot();this._overlay=i.scry(ba,'div.uiOverlay')[0]||ba;g.hide(ba);i.appendContent(this.getInsertParent(),ba);h.set(this._overlay,'overlay',this);var ca=h.get(this._overlay,'width');ca&&this.setWidth(ca);if(this.setFixed)this.setFixed(h.get(this._overlay,'fixed')=='true');if(h.get(this._overlay,'fadeonshow')!='false')this.enableBehavior(n);if(h.get(this._overlay,'fadeonhide')!='false')this.enableBehavior(m);if(h.get(this._overlay,'hideonsuccess')!='false')this.enableBehavior(r);if(h.get(this._overlay,'hideonblur')=='true')this.enableBehavior(p);if(h.get(this._overlay,'destroyonhide')!='false')this.enableBehavior(l);return this;};y.prototype._getDefaultBehaviors=function(){"use strict";return x._getDefaultBehaviors.call(this).concat([k,o,t,q,s,u]);};y.prototype.initWithoutBuildingWrapper=function(){"use strict";this._shouldBuildWrapper=false;return this.init.apply(this,arguments);};y.prototype._buildWrapper=function(z,aa){"use strict";aa=x._buildWrapper.call(this,z,aa);if(!this._shouldBuildWrapper){this._contentRoot=aa;return aa;}this._contentRoot=i.create('div',{className:'uiOverlayContent'},aa);return i.create('div',{className:'uiOverlay'},this._contentRoot);};y.prototype.getContentRoot=function(){"use strict";return this._contentRoot;};y.prototype.destroy=function(){"use strict";h.remove(this.getRoot(),'overlay');x.destroy.call(this);};e.exports=y;},null);
__d("PhotosUploadID",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=1024,h={getNewID:function(){return (g++).toString();}};e.exports=h;},null);
__d("PopoverAsyncMenu",["Bootloader","Event","PopoverMenu"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={},k=0;for(var l in i)if(i.hasOwnProperty(l))n[l]=i[l];var m=i===null?null:i.prototype;n.prototype=Object.create(m);n.prototype.constructor=n;n.__superConstructor__=i;function n(o,p,q,r,s,t){"use strict";this._endpoint=r;this._endpointData=t||{};this._loadingMenu=q;this._instanceId=k++;j[this._instanceId]=this;this._mouseoverListener=h.listen(p,'mouseover',this.fetchMenu.bind(this));i.call(this,o,p,null,s);}n.prototype._onLayerInit=function(){"use strict";if(!this._menu&&this._loadingMenu)this.setMenu(this._loadingMenu);this.fetchMenu();this._popover.getLayer().subscribe('key',this._handleKeyEvent.bind(this));};n.prototype.fetchMenu=function(){"use strict";if(this._fetched)return;g.loadModules(["AsyncRequest"],function(o){new o().setURI(this._endpoint).setData(Object.assign({pmid:this._instanceId},this._endpointData)).send();}.bind(this));this._fetched=true;if(this._mouseoverListener){this._mouseoverListener.remove();this._mouseoverListener=null;}};n.setMenu=function(o,p){"use strict";j[o].setMenu(p);};n.getInstance=function(o){"use strict";return j[o];};e.exports=n;},null);
__d("ReactRenderer",["React","Run","$"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';function j(n,o,p){var q=g.constructAndRenderComponent(n,o,p);h.onLeave(function(){g.unmountComponentAtNode(p);});return q;}function k(n,o,p){return g.constructAndRenderComponent(n,o,p);}function l(n,o,p){return j(n,o,i(p));}function m(n,o,p){return k(n,o,i(p));}e.exports={constructAndRenderComponent:j,constructAndRenderComponentByID:l,constructAndRenderComponentAcrossTransitions:k,constructAndRenderComponentByIDAcrossTransitions:m};},null);
__d("UIPageletContentCache",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={cache:{},getContent:function(h){if(h in this.cache)return this.cache[h];return null;},setContent:function(h,i){this.cache[h]=i;}};e.exports=g;},null);
__d("UIPagelet",["ActorURI","AjaxPipeRequest","AsyncRequest","DOM","HTML","ScriptPathState","UIPageletContentCache","URI","copyProperties","emptyFunction","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();function r(s,t,u){"use strict";var v=s&&j.isElementNode(s)?s.id:s;this._id=v||null;this._element=q(s||j.create('div'));this._src=t||null;this._context_data=u||{};this._data={};this._handler=p;this._request=null;this._use_ajaxpipe=false;this._use_post_request=false;this._is_bundle=true;this._allow_cross_page_transition=false;this._append=false;this._cache_content=false;this._content_cache_key='';}r.prototype.getElement=function(){"use strict";return this._element;};r.prototype.setHandler=function(s){"use strict";this._handler=s;return this;};r.prototype.go=function(s,t){"use strict";if(arguments.length>=2||typeof s=='string'){this._src=s;this._data=t||{};}else if(arguments.length==1)this._data=s;this.refresh();return this;};r.prototype.setAllowCrossPageTransition=function(s){"use strict";this._allow_cross_page_transition=s;return this;};r.prototype.setBundleOption=function(s){"use strict";this._is_bundle=s;return this;};r.prototype.setErrorHandler=function(s){"use strict";this._errorHandler=s;return this;};r.prototype.setTransportErrorHandler=function(s){"use strict";this.transportErrorHandler=s;return this;};r.prototype.refresh=function(){"use strict";if(this._use_ajaxpipe){l.setIsUIPageletRequest(true);this._request=new h();this._request.setCanvasId(this._id).setAppend(this._append).setConstHeight(this._constHeight).setJSNonBlock(this._jsNonblock).setAutomatic(this._automatic).setDisplayCallback(this._displayCallback).setFinallyHandler(this._finallyHandler).setAllowIrrelevantRequests(this._allowIrrelevantRequests);}else{if(this._cache_content){var s=m.getContent(this._content_cache_key);if(s!==null){this.handleContent(s);return this;}}var t=function(x){this._request=null;var y=k(x.getPayload());this.handleContent(y);if(this._cache_content)m.setContent(this._content_cache_key,y);}.bind(this),u=this._displayCallback,v=this._finallyHandler;this._request=new i().setMethod('GET').setReadOnly(true).setOption('bundle',this._is_bundle).setHandler(function(x){if(u){u(t.bind(null,x));}else t(x);v&&v();});if(this._errorHandler)this._request.setErrorHandler(this._errorHandler);if(this.transportErrorHandler)this._request.setTransportErrorHandler(this.transportErrorHandler);if(this._use_post_request)this._request.setMethod('POST');}var w={};o(w,this._context_data);o(w,this._data);if(this._actorID)w[g.PARAMETER_ACTOR]=this._actorID;this._request.setURI(this._src).setAllowCrossPageTransition(this._allow_cross_page_transition).setData({data:JSON.stringify(w)}).send();return this;};r.prototype.handleContent=function(s){"use strict";if(this._append){j.appendContent(this._element,s);}else j.setContent(this._element,s);this._handler();};r.prototype.cancel=function(){"use strict";if(this._request)this._request.abort();};r.prototype.setUseAjaxPipe=function(s){"use strict";this._use_ajaxpipe=!!s;return this;};r.prototype.setUsePostRequest=function(s){"use strict";this._use_post_request=!!s;return this;};r.prototype.setAppend=function(s){"use strict";this._append=!!s;return this;};r.prototype.setJSNonBlock=function(s){"use strict";this._jsNonblock=!!s;return this;};r.prototype.setAutomatic=function(s){"use strict";this._automatic=!!s;return this;};r.prototype.setDisplayCallback=function(s){"use strict";this._displayCallback=s;return this;};r.prototype.setConstHeight=function(s){"use strict";this._constHeight=!!s;return this;};r.prototype.setFinallyHandler=function(s){"use strict";this._finallyHandler=s;return this;};r.prototype.setAllowIrrelevantRequests=function(s){"use strict";this._allowIrrelevantRequests=s;return this;};r.prototype.setActorID=function(s){"use strict";this._actorID=s;return this;};r.prototype.setCacheContent=function(s){"use strict";this._cache_content=s;return this;};r.prototype.setContentCacheKey=function(s){"use strict";this._content_cache_key=s;return this;};r.appendToInline=function(s,t){"use strict";var u=q(s),v=q(t);if(u&&v){while(v.firstChild)j.appendContent(u,v.firstChild);j.remove(v);}};r.loadFromEndpoint=function(s,t,u,v){"use strict";v=v||{};var w='/ajax/pagelet/generic.php/'+s;if(v.intern)w='/intern'+w;var x=new n(w.replace(/\/+/g,'/'));if(v.subdomain)x.setSubdomain(v.subdomain);var y=false,z='';if(v.contentCacheKey){y=true;z=s+','+String(v.contentCacheKey);}var aa=new r(t,x,u).setUseAjaxPipe(v.usePipe).setBundleOption(v.bundle!==false).setAppend(v.append).setJSNonBlock(v.jsNonblock).setAutomatic(v.automatic).setDisplayCallback(v.displayCallback).setConstHeight(v.constHeight).setAllowCrossPageTransition(v.crossPage).setFinallyHandler(v.finallyHandler||p).setErrorHandler(v.errorHandler).setTransportErrorHandler(v.transportErrorHandler).setAllowIrrelevantRequests(v.allowIrrelevantRequests).setActorID(v.actorID).setCacheContent(y).setContentCacheKey(z).setUsePostRequest(v.usePostRequest);v.handler&&aa.setHandler(v.handler);aa.go();return aa;};e.exports=r;},null);
__d("ScrollingPager",["Arbiter","CSS","DOM","OnVisible","UIPagelet","$","copyProperties","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={};function p(q,r,s,t){"use strict";this.scroll_loader_id=q;this.pagelet_src=r;this.data=s;this.options=t||{};if(this.options.target_id){this.target_id=this.options.target_id;this.options.append=true;}else this.target_id=q;this.scroll_area_id=this.options.scroll_area_id;this.handler=null;}p.prototype.setBuffer=function(q){"use strict";this.options.buffer=q;this.onvisible&&this.onvisible.setBuffer(q);};p.prototype.getBuffer=function(){"use strict";return this.options.buffer;};p.prototype.register=function(){"use strict";this.onvisible=new j(l(this.scroll_loader_id),this.getHandler(),false,this.options.buffer,false,n(this.scroll_area_id));o[this.scroll_loader_id]=this;g.inform(p.REGISTERED,{id:this.scroll_loader_id});};p.prototype.getInstance=function(q){"use strict";return o[q];};p.prototype.getHandler=function(){"use strict";if(this.handler)return this.handler;function q(r){var s=n(this.scroll_loader_id);if(!s){this.onvisible.remove();return;}h.addClass(s.firstChild,'async_saving');var t=this.options.handler,u=this.options.force_remove_pager&&(this.scroll_loader_id!==this.target_id);this.options.handler=function(){g.inform('ScrollingPager/loadingComplete');t&&t.apply(null,arguments);if(u)i.remove(s);};if(r)this.data.pager_fired_on_init=true;k.loadFromEndpoint(this.pagelet_src,this.target_id,this.data,this.options);}return q.bind(this);};p.prototype.setHandler=function(q){"use strict";this.handler=q;};p.prototype.removeOnVisible=function(){"use strict";this.onvisible.remove();};p.prototype.checkBuffer=function(){"use strict";this.onvisible&&this.onvisible.checkBuffer();};p.getInstance=function(q){"use strict";return o[q];};m(p,{REGISTERED:'ScrollingPager/registered'});e.exports=p;},null);
__d("SelectorDeprecated",["Event","Arbiter","Button","ContextualLayer","CSS","DataStore","DOM","Focus","HTML","Keys","MenuDeprecated","Parent","Style","Toggler","Tooltip","URI","Vector","arrayContains","copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){b.__markCompiled&&b.__markCompiled();var aa,ba,ca=[],da;function ea(pa){return r.byClass(pa,'uiSelector');}function fa(pa){return r.byClass(pa,'uiSelectorButton');}function ga(){if(!ba){ba=new j({position:'below'},m.create('div'));k.addClass(ba.getRoot(),'uiSelectorContextualLayer');}return ba;}function ha(pa){return m.scry(pa,'select')[0];}function ia(pa){return m.find(pa,'div.uiSelectorMenuWrapper');}function ja(){ja=z;q.subscribe('select',function(pa,qa){if(!aa||!qa||qa.menu!==oa.getSelectorMenu(aa))return;var ra=ka(aa),sa=la(qa.item);if(sa){var ta=aa,ua=oa.isOptionSelected(qa.item),va=oa.inform('select',{selector:ta,option:qa.item,clone:da});if(va===false)return;if(ra||!ua){oa.setSelected(ta,oa.getOptionValue(qa.item),!ua);oa.inform('toggle',{selector:ta,option:qa.item});oa.inform('change',{selector:ta});h.inform('Form/change',{node:ta});if(ma(ta))l.set(ta,'dirty',true);}}if(!ra||!sa)aa&&oa.toggle(aa);});}function ka(pa){return !!pa.getAttribute('data-multiple');}function la(pa){return k.hasClass(pa,'uiSelectorOption');}function ma(pa){return !!pa.getAttribute('data-autosubmit');}var na=function(){na=z;var pa={keydown:function(event){var qa=event.getTarget();if(m.isInputNode(qa))return;switch(g.getKeyCode(event)){case p.DOWN:case p.SPACE:case p.UP:if(fa(qa)){var ra=ea(qa);oa.toggle(ra);return false;}break;case p.ESC:if(aa){var sa=oa.getSelectorButton(aa);oa.toggle(aa);sa&&n.set(sa);return false;}break;}},mouseover:function(event){var qa=r.byAttribute(event.getTarget(),'ajaxify');if(qa&&k.hasClass(qa,'uiSelectorButton'))oa.loadMenu(ea(qa));}};g.listen(document.body,pa);};t.subscribe(['show','hide'],function(pa,qa){var ra=ea(qa.getActive());if(ra){na();ja();var sa=oa.getSelectorButton(ra),ta=oa.getSelectorMenu(ra),ua=pa==='show';sa.setAttribute('aria-expanded',ua?'true':'false');if(ua){aa=ra;if(k.hasClass(sa,'uiButtonDisabled')){oa.setEnabled(ra,false);return false;}ta=ta||oa.loadMenu(ra);var va=s.getScrollParent(ra),wa=va!==window&&va!==m.getDocumentScrollElement();if(wa||k.hasClass(ra,'uiSelectorUseLayer')){if(wa)ca.push(g.listen(va,'scroll',function(){qa.hide();}));da=m.create('div',{className:ra.className});k.addClass(da,'invisible_elem');w.getElementDimensions(ra).setElementDimensions(da);m.replace(ra,da);var xa=k.hasClass(ra,'uiSelectorRight'),ya=k.hasClass(ra,'uiSelectorBottomUp');ga().setContext(da).setContent(ra).setPosition(ya?'above':'below').setAlignment(xa?'right':'left').show();}q.register(ta);var za=q.getCheckedItems(ta);if(!za.length)za=q.getEnabledItems(ta);if(za.length)q.focusItem(za[0]);}else{aa=null;if(da){while(ca.length)ca.pop().remove();m.replace(da,ra);ga().hide();da=null;}ta&&q.unregister(ta);if(ma(ra)&&l.get(ra,'dirty')){var ab=m.scry(ra,'input.submitButton')[0];ab&&ab.click();l.remove(ra,'dirty');}}k.conditionClass(oa.getSelectorButton(ra),'selected',ua);oa.inform(ua?'open':'close',{selector:ra,clone:da});}});var oa=y(new h(),{attachMenu:function(pa,qa,ra){pa=ea(pa);if(pa){aa&&q.unregister(oa.getSelectorMenu(aa));m.setContent(ia(pa),qa);aa&&q.register(oa.getSelectorMenu(pa));da&&ga().updatePosition();if(ra){var sa=pa.getAttribute('data-name');sa&&ra.setAttribute('name',sa);if(!ka(pa))ra.setAttribute('multiple',false);var ta=ha(pa);if(ta){m.replace(ta,ra);}else m.insertAfter(pa.firstChild,ra);}return true;}},getOption:function(pa,qa){var ra=oa.getOptions(pa),sa=ra.length;while(sa--)if(qa===oa.getOptionValue(ra[sa]))return ra[sa];return null;},getOptions:function(pa){var qa=q.getItems(oa.getSelectorMenu(pa));return qa.filter(la);},getEnabledOptions:function(pa){var qa=q.getEnabledItems(oa.getSelectorMenu(pa));return qa.filter(la);},getSelectedOptions:function(pa){return q.getCheckedItems(oa.getSelectorMenu(pa));},getOptionText:function(pa){return q.getItemLabel(pa);},getOptionValue:function(pa){var qa=ea(pa),ra=ha(qa),sa=oa.getOptions(qa).indexOf(pa);return sa>=0?ra.options[sa+1].value:'';},getSelectorButton:function(pa){return m.find(pa,'a.uiSelectorButton');},getSelectorMenu:function(pa){return m.scry(pa,'div.uiSelectorMenu')[0];},getValue:function(pa){var qa=ha(pa);if(!qa)return null;if(!ka(pa))return qa.value;var ra=[],sa=qa.options;for(var ta=1,ua=sa.length;ta<ua;ta++)if(sa[ta].selected)ra.push(sa[ta].value);return ra;},isOptionSelected:function(pa){return q.isItemChecked(pa);},listen:function(pa,qa,ra){return this.subscribe(qa,function(sa,ta){if(ta.selector===pa)return ra(ta,sa);});},loadMenu:function(pa,qa){var ra=oa.getSelectorMenu(pa);if(!ra){var sa=oa.getSelectorButton(pa),ta=sa.getAttribute('ajaxify');if(ta){d(['AsyncRequest'],function(va){var wa=v(ta),xa=wa.getQueryData();wa.setQueryData({});var ya=new va(wa).setData(xa).setNectarModuleDataSafe(sa).setRelativeTo(sa);qa&&ya.setFinallyHandler(function(){setTimeout(qa,0);});ya.send();}.bind(this));var ua=o('<div class="uiSelectorMenuWrapper uiToggleFlyout">'+'<div class="uiMenu uiSelectorMenu loading">'+'<ul class="uiMenuInner">'+'<li><span></span></li>'+'</ul>'+'</div>'+'</div>');m.appendContent(sa.parentNode,ua);ra=oa.getSelectorMenu(pa);sa.removeAttribute('onmouseover');}}else qa&&qa();return ra;},setButtonLabel:function(pa,qa){var ra=oa.getSelectorButton(pa),sa=parseInt(ra.getAttribute('data-length'),10);qa=qa||ra.getAttribute('data-label')||'';i.setLabel(ra,qa);if(typeof qa==='string')if(sa&&qa.length>sa){ra.setAttribute('title',qa);}else ra.removeAttribute('title');},setButtonTooltip:function(pa,qa){var ra=oa.getSelectorButton(pa),sa=r.byTag(ra,'a');sa&&u.set(sa,qa||ra.getAttribute('data-tooltip')||'');},setEnabled:function(pa,qa){if(!qa&&aa&&ea(pa)===aa)oa.toggle(pa);i.setEnabled(oa.getSelectorButton(pa),qa);},setOptionEnabled:function(pa,qa){q.setItemEnabled(pa,qa);},setSelected:function(pa,qa,ra){ra=ra!==false;var sa=oa.getOption(pa,qa);if(!sa)return;var ta=oa.isOptionSelected(sa);if(ra!==ta){if(!ka(pa)&&!ta){var ua=oa.getSelectedOptions(pa)[0];ua&&q.toggleItem(ua);}q.toggleItem(sa);}oa.updateSelector(pa);},toggle:function(pa){t.toggle(m.scry(ea(pa),'div.wrap')[0]);},updateSelector:function(pa){var qa=oa.getOptions(pa),ra=oa.getSelectedOptions(pa),sa=ha(pa).options,ta=[],ua=[];for(var va=0,wa=qa.length;va<wa;va++){var xa=x(ra,qa[va]);sa[va+1].selected=xa;if(xa){var ya=oa.getOptionText(qa[va]);ta.push(ya);ua.push(qa[va].getAttribute('data-tooltip')||ya);}}sa[0].selected=!ra.length;var za=k.hasClass(pa,'uiSelectorDynamicLabel'),ab=k.hasClass(pa,'uiSelectorDynamicTooltip');if(za||ab){var bb='';if(ka(pa)){var cb=oa.getSelectorButton(pa);bb=cb.getAttribute('data-delimiter')||', ';}ta=ta.join(bb);ua=ua.join(bb);za&&oa.setButtonLabel(pa,ta);ab&&oa.setButtonTooltip(pa,ua);}}});e.exports=oa;},null);
__d("TextInputControl",["DOMControl","Event","Input","debounce"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(n){"use strict";g.call(this,n);var o=this.getRoot(),p=j(this.update.bind(this),0);h.listen(o,{input:p,keydown:p,paste:p});}m.prototype.setMaxLength=function(n){"use strict";i.setMaxLength(this.getRoot(),n);return this;};m.prototype.getValue=function(){"use strict";return i.getValue(this.getRoot());};m.prototype.isEmpty=function(){"use strict";return i.isEmpty(this.getRoot());};m.prototype.setValue=function(n){"use strict";i.setValue(this.getRoot(),n);this.update();return this;};m.prototype.clear=function(){"use strict";return this.setValue('');};m.prototype.setPlaceholderText=function(n){"use strict";i.setPlaceholder(this.getRoot(),n);return this;};e.exports=m;},null);
__d("TextAreaControl",["Arbiter","ArbiterMixin","CSS","DOMControl","Event","Style","TextInputControl","TextMetrics","classWithMixins","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();function q(v,w){return l.getFloat(v,w)||0;}var r=o(m,p(h));for(var s in r)if(r.hasOwnProperty(s))u[s]=r[s];var t=r===null?null:r.prototype;u.prototype=Object.create(t);u.prototype.constructor=u;u.__superConstructor__=r;function u(v){"use strict";this.autogrow=i.hasClass(v,'uiTextareaAutogrow');r.call(this,v);this.width=null;k.listen(v,'focus',this._handleFocus.bind(this));}u.prototype.setAutogrow=function(v){"use strict";this.autogrow=v;return this;};u.prototype.onupdate=function(){"use strict";t.onupdate.call(this);this.updateHeight();};u.prototype.updateHeight=function(){"use strict";if(this.autogrow){var v=this.getRoot();if(!this.metrics)this.metrics=new n(v);if(typeof this.initialHeight==='undefined'){this.isBorderBox=l.get(v,'box-sizing')==='border-box'||l.get(v,'-moz-box-sizing')==='border-box'||l.get(v,'-webkit-box-sizing')==='border-box';this.borderBoxOffset=q(v,'padding-top')+q(v,'padding-bottom')+q(v,'border-top-width')+q(v,'border-bottom-width');this.initialHeight=v.offsetHeight-this.borderBoxOffset;}var w=this.metrics.measure(),x=Math.max(this.initialHeight,w.height);if(this.isBorderBox)x+=this.borderBoxOffset;if(x!==this.height){this.height=x;l.set(v,'height',x+'px');g.inform('reflow');this.inform('resize');}}else if(this.metrics){this.metrics.destroy();this.metrics=null;}};u.prototype.resetHeight=function(){"use strict";this.height=-1;this.update();};u.prototype._handleFocus=function(){"use strict";this.width=null;};u.getInstance=function(v){"use strict";return j.getInstance(v)||new u(v);};e.exports=u;},null);
__d("Tour",["Arbiter","LayerDestroyOnHide","LayerHideOnEscape","NavigationMessage","PageEvents","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(){"use strict";if(m._instance)m._instance.setTourComplete();m._instance=this;}m.prototype.init=function(){"use strict";this._pageLeaveToken=g.subscribe(k.AJAXPIPE_ONUNLOAD,this.handleLeavePage.bind(this));this._navigationBeginToken=g.subscribe(j.NAVIGATION_BEGIN,this.handleTransition.bind(this));this.steps={};return this;};m.prototype.registerStep=function(n,o){"use strict";n.disableBehavior(h);n.disableBehavior(i);this.steps[o]=n;n.subscribe('show',function(){n.inform('tour-dialog-show',n);});if(!this.getTourStarted())this.setTourStart();};m.prototype._unsubscribeSubscriptions=function(){"use strict";this._navigationBeginToken.unsubscribe();this._pageLeaveToken.unsubscribe();};m.prototype.handleLeavePage=function(){"use strict";this._unsubscribeSubscriptions();};m.prototype.handleTransition=function(){"use strict";this._unsubscribeSubscriptions();};m.prototype.handleTourStart=function(){"use strict";};m.prototype.handleTourStop=function(){"use strict";};m.prototype.handleTourComplete=function(){"use strict";};m.prototype.showStep=function(n){"use strict";var o=this.steps[n];if(!(this.openDialog==o))this.hideOpenDialog();if(!o)return;this.openDialog=o;o.show();};m.prototype.hideOpenDialog=function(){"use strict";if(this.openDialog){this.openDialog.hide();this.openDialog=null;}};m.prototype.getTourStarted=function(){"use strict";return this.tourStarted;};m.prototype.setTourStart=function(){"use strict";this.tourStarted=true;this.handleTourStart();};m.prototype.setTourStop=function(){"use strict";this.tourStarted=false;this.hideOpenDialog();this.handleTourStop();};m.prototype.setTourComplete=function(){"use strict";if(this.tourComplete)return;this.setTourStop();this.tourComplete=true;this.handleTourComplete();};m.prototype.hideStep=function(n){"use strict";var o=this.steps[n];o&&o.hide();};m.getInstance=function(){"use strict";return m._instance||(m._instance=new m());};l(m.prototype,{tourStarted:false,tourComplete:false,_navigationBeginToken:null,_pageLeaveToken:null,steps:{},openDialog:null});e.exports=m;},null);
__d("Typeahead",["ArbiterMixin","BehaviorsMixin","DataStore","DOM","Event","Parent","Run","Style","emptyFunction","ge","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=q(g,h);for(var s in r)if(r.hasOwnProperty(s))u[s]=r[s];var t=r===null?null:r.prototype;u.prototype=Object.create(t);u.prototype.constructor=u;u.__superConstructor__=r;function u(v,w,x,y){"use strict";this.args={data:v,view:w,core:x};i.set(y,'Typeahead',this);this.element=y;}u.prototype.init=function(v){"use strict";this.init=o;this.getCore();this.getView().setAccessibilityControlElement(this.getCore().getElement());this.proxyEvents();this.initBehaviors(v||[]);this.inform('init',this);this.data.bootstrap();this.core.focus();};u.prototype.getData=function(){"use strict";if(!this.data){var v=this.args.data;this.data=v;this.data.init();}return this.data;};u.prototype.getView=function(){"use strict";if(!this.view){var v=this.args.view,w=v.node||p(v.node_id);if(!w){w=j.create('div',{className:'uiTypeaheadView'});j.appendContent(this.element,w);}if(typeof v.ctor==='string'){this.view=new window[v.ctor](w,v.options||{});}else this.view=new v.ctor(w,v.options||{});this.view.init();this.view.setTypeahead(this.element);}return this.view;};u.prototype.getCore=function(){"use strict";if(!this.core){var v=this.args.core;if(typeof v.ctor==='string'){this.core=new window[v.ctor](v.options||{});}else this.core=new v.ctor(v.options||{});this.core.init(this.getData(),this.getView(),this.getElement());}return this.core;};u.prototype.getElement=function(){"use strict";return this.element;};u.prototype.setHeight=function(v){"use strict";if(v!=='auto')v=v+'px';n.set(this.element,'height',v);};u.prototype.swapData=function(v){"use strict";return this.$Typeahead0(v,true);};u.prototype.swapDataNoCoreReset=function(v){"use strict";return this.$Typeahead0(v,false);};u.prototype.$Typeahead0=function(v,w){"use strict";var x=this.core;this.data=this.args.data=v;v.init();if(x){x.data=v;x.initData();if(w)x.reset();this.proxyEvents();}v.bootstrap();return v;};u.prototype.proxyEvents=function(){"use strict";[this.data,this.view,this.core].forEach(function(v){v.subscribe(v.events,this.inform.bind(this));},this);};u.prototype.initBehaviors=function(v){"use strict";v.forEach(function(w){if(typeof w==='string'){if(a.TypeaheadBehaviors&&a.TypeaheadBehaviors[w]){a.TypeaheadBehaviors[w](this);}else m.onLoad(function(){if(a.TypeaheadBehaviors)(a.TypeaheadBehaviors[w]||o)(this);}.bind(this));}else this.enableBehavior(w);},this);};u.getInstance=function(v){"use strict";var w=l.byClass(v,'uiTypeahead');return w?i.get(w,'Typeahead'):null;};u.initNow=function(v,w,x){"use strict";if(x)x.init(v);v.init(w);};u.init=function(v,w,x,y){"use strict";if(!j.isNodeOfType(v,['input','textarea']))v=j.scry(v,'input')[0]||j.scry(v,'textarea')[0];var z=false;try{z=document.activeElement===v;}catch(aa){}if(z){u.initNow(w,x,y);}else var ba=k.listen(v,'focus',function(){u.initNow(w,x,y);ba.remove();});};e.exports=u;},null);
__d("StickyPlaceholderInput",["Event","CSS","DOM","Input","Parent","emptyFunction","getElementText"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(r){return k.byClass(r,'uiStickyPlaceholderInput');}function o(r){return i.scry(r,'.placeholder')[0];}function p(r){r=r||window.event;var s=r.target||r.srcElement;if(i.isNodeOfType(s,['input','textarea'])){var t=n(s);if(t)setTimeout(function(){h.conditionClass(t,'uiStickyPlaceholderEmptyInput',!s.value.length);},0);}}var q={init:function(){q.init=l;g.listen(document.documentElement,{keydown:p,paste:p,focusout:p});},registerInput:function(r){q.init();var s=r.getAttribute('placeholder')||'';if(s.length)if(document.activeElement===r){var t=g.listen(r,'blur',function(){q.manipulateInput(r,s);t.remove();});}else q.manipulateInput(r,s);},manipulateInput:function(r,s){var t=i.create('div',{className:'placeholder','aria-hidden':'true'},s),u=i.create('div',{className:'uiStickyPlaceholderInput'},t);if(i.isNodeOfType(r,'textarea'))h.addClass(u,'uiStickyPlaceholderTextarea');g.listen(t,'click',function(){r.focus();});if(r.value===s)r.value='';r.setAttribute('placeholder','');i.replace(r,u);i.appendContent(u,r);h.conditionClass(u,'uiStickyPlaceholderEmptyInput',!r.value.length);},setPlaceholderText:function(r,s){var t=n(r);if(!t){j.setPlaceholder(r,s);}else{var u=o(t);u&&i.setContent(u,s);}},getPlaceholderText:function(r){var s=n(r),t=o(s);return t&&m(t);},update:function(r){var s=n(r);if(s)h.conditionClass(s,'uiStickyPlaceholderEmptyInput',!r.value.length);},getVisibleText:function(r){var s=n(r);if(h.hasClass(s,'uiStickyPlaceholderEmptyInput')){var t=o(s);return t&&m(t);}else return r.value;}};e.exports=q;},null);
__d("TypeaheadCore",["Arbiter","ArbiterMixin","CSS","DOM","Event","Focus","Input","InputSelection","Keys","StickyPlaceholderInput","UserAgent_DEPRECATED","bind","copyProperties","emptyFunction","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){b.__markCompiled&&b.__markCompiled();var v=u(h);for(var w in v)if(v.hasOwnProperty(w))y[w]=v[w];var x=v===null?null:v.prototype;y.prototype=Object.create(x);y.prototype.constructor=y;y.__superConstructor__=v;function y(z){"use strict";s(this,z);}y.prototype.init=function(z,aa,ba){"use strict";this.init=t;this.data=z;this.view=aa;this.root=ba;this.initInput();this.inputWrap=j.find(ba,'div.wrap');this.hiddenInput=j.find(ba,'input.hiddenInput');this.value='';this.nextQuery=null;this.selectedText=null;if(this.setValueOnSelect&&i.hasClass(this.inputWrap,'selected'))this.selectedText=this.getValue();this.initView();this.initData();this.initEvents();this.initToggle();this._exclusions=[];};y.prototype.initInput=function(){"use strict";this.element=j.find(this.root,'.textInput');var z=j.scry(this.element,'input')[0];if(z)this.element=z;};y.prototype.initView=function(){"use strict";this.view.subscribe('highlight',l.set.bind(null,this.element));this.view.subscribe('select',function(z,aa){this.select(aa.selected);}.bind(this));this.view.subscribe('afterSelect',function(){this.afterSelect();}.bind(this));};y.prototype.initData=function(){"use strict";this.data.subscribe('notify',function(z,aa){if(this.root.id==aa.rootid&&!this.element.disabled&&aa.value==this.getValue())this.view.render(aa.value,aa.results,aa.isAsync);}.bind(this));this.data.subscribe('respond',function(z,aa){if(aa.forceDisplay||aa.value==this.getValue()&&!this.element.disabled&&(this.element.getAttribute('singlestate')!=='true'||aa.nullState))this.view.render(aa.value,aa.results,aa.isAsync);}.bind(this));this.data.subscribe('activity',function(z,aa){this.fetching=aa.activity;if(!this.fetching)this.nextQuery&&this.performQuery();if(this.loading!=this.fetching){this.loading=this.fetching;this.inform('loading',{loading:this.loading});}}.bind(this));};y.prototype.initEvents=function(){"use strict";k.listen(this.view.getElement(),{mouseup:this.viewMouseup.bind(this),mousedown:this.viewMousedown.bind(this)});var z={blur:r(this,'blur'),focus:r(this,'focus'),click:r(this,'click'),keyup:r(this,'keyup'),keydown:r(this,'keydown'),keypress:r(this,'keypress')};if(q.firefox())z.input=z.keyup;k.listen(this.element,z);};y.prototype.initToggle=function(){"use strict";this.subscribe('blur',this.view.hide.bind(this.view));this.subscribe('focus',this.view.show.bind(this.view));};y.prototype.viewMousedown=function(){"use strict";this.selecting=true;};y.prototype.viewMouseup=function(){"use strict";this.selecting=false;};y.prototype.blur=function(){"use strict";if(this.selecting){this.selecting=false;return;}this.inform('blur');};y.prototype.click=function(){"use strict";var z=n.get(this.element);if(z.start==z.end)this.element.select();this.inform('click');};y.prototype.focus=function(){"use strict";this.checkValue();this.inform('focus');};y.prototype.keyup=function(){"use strict";if(this.resetOnKeyup&&!this.getValue())this.view.reset();this.checkValue();if(this.getValue().length===0)this.inform('change',null);};y.prototype.keydown=function(event){"use strict";if(!this.view.isVisible()||this.view.isEmpty()){setTimeout(this.checkValue.bind(this),0);return;}switch(k.getKeyCode(event)){case o.TAB:this.handleTab(event);return;case o.UP:this.view.prev();break;case o.DOWN:this.view.next();break;case o.ESC:this.view.reset();break;default:setTimeout(this.checkValue.bind(this),0);return;}event.kill();};y.prototype.keypress=function(event){"use strict";if(this.view.getSelection()&&k.getKeyCode(event)==o.RETURN){this.view.select();event.kill();}};y.prototype.handleTab=function(event){"use strict";if(this.preventFocusChangeOnTab)if(this.view.getSelection()){event.kill();}else event.prevent();this.view.select();};y.prototype.select=function(z){"use strict";if(z&&this.setValueOnSelect){var aa=z.orig_text||z.text;this.setValue(aa);this.setHiddenValue(z.uid);this.selectedText=aa;i.addClass(this.inputWrap,'selected');}};y.prototype.afterSelect=function(){"use strict";this.keepFocused?l.set(this.element):this.element.blur();this.resetOnSelect?this.reset():this.view.reset();};y.prototype.unselect=function(){"use strict";if(this.setValueOnSelect){this.selectedText=null;i.removeClass(this.inputWrap,'selected');}this.setHiddenValue();this.inform('unselect',this);};y.prototype.setEnabled=function(z){"use strict";var aa=z===false;this.element.disabled=aa;i.conditionClass(this.root,'uiTypeaheadDisabled',aa);};y.prototype.reset=function(){"use strict";this.unselect();this.setValue();!this.keepFocused&&m.reset(this.element);this.view.reset();this.inform('reset');};y.prototype.getElement=function(){"use strict";return this.element;};y.prototype.setExclusions=function(z){"use strict";this._exclusions=z.map(String);};y.prototype.getExclusions=function(){"use strict";return this._exclusions;};y.prototype.setValue=function(z){"use strict";this.value=this.nextQuery=z||'';m.setValue(this.element,this.value);p.update(this.element);this.inform('change',z);};y.prototype.setHiddenValue=function(z){"use strict";this.hiddenInput.value=(z||z===0)?z:'';g.inform('Form/change',{node:this.hiddenInput});};y.prototype.getValue=function(){"use strict";return m.getValue(this.element);};y.prototype.getHiddenValue=function(){"use strict";return this.hiddenInput.value||'';};y.prototype.checkValue=function(){"use strict";var z=this.getValue();if(z==this.value)return;if(this.selectedText&&this.selectedText!=z)this.unselect();var aa=Date.now(),ba=aa-this.time;this.time=aa;this.value=this.nextQuery=z;this.performQuery(ba);};y.prototype.performQuery=function(z){"use strict";if(this.selectedText)return;z=z||0;if(this.fetching&&z<this.queryTimeout){this.data.query(this.nextQuery,true,this._exclusions,z);}else{this.data.query(this.nextQuery,false,this._exclusions,z);this.nextQuery=null;}};y.prototype.updateHeight=function(){"use strict";};s(y.prototype,{events:['blur','focus','click','unselect','loading'],keepFocused:true,resetOnSelect:false,resetOnKeyup:true,setValueOnSelect:false,queryTimeout:250,preventFocusChangeOnTab:false});e.exports=y;},null);
__d("XHPTemplate",["DataStore","DOM","HTML"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(l){"use strict";this._model=l;}j.prototype.render=function(){"use strict";if(i.isHTML(this._model))this._model=h.setContent(document.createDocumentFragment(),this._model)[0];return this._model.cloneNode(true);};j.prototype.build=function(){"use strict";return new k(this.render());};j.getNode=function(l,m){"use strict";return j.getNodes(l)[m];};j.getNodes=function(l){"use strict";var m=g.get(l,'XHPTemplate:nodes');if(!m){m={};var n=h.scry(l,'[data-jsid]');n.push(l);var o=n.length;while(o--){var p=n[o];m[p.getAttribute('data-jsid')]=p;p.removeAttribute('data-jsid');}g.set(l,'XHPTemplate:nodes',m);}return m;};function k(l){"use strict";this._root=l;this._populateNodes();}k.prototype._populateNodes=function(){"use strict";this._nodes={};this._leaves={};var l=this._root.getElementsByTagName('*');for(var m=0,n=l.length;m<n;m++){var o=l[m],p=o.getAttribute('data-jsid');if(p){o.removeAttribute('data-jsid');this._nodes[p]=o;this._leaves[p]=!o.childNodes.length;}}};k.prototype.getRoot=function(){"use strict";return this._root;};k.prototype.getNode=function(l){"use strict";return this._nodes[l];};k.prototype.setNodeProperty=function(l,m,n){"use strict";this.getNode(l)[m]=n;return this;};k.prototype.setNodeContent=function(l,m){"use strict";if(!this._leaves[l])throw new Error("Can't setContent on non-leaf node: "+l);h.setContent(this.getNode(l),m);return this;};e.exports=j;},null);
__d("XUIError",["ARIA","Bootloader","CSS","DataStore","DOM","Event","JSXDOM","Parent","Promise","cx","filterObject","getActiveElement","getElementText","invariant","isNode","memoize","merge","nl2br"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){b.__markCompiled&&b.__markCompiled();'use strict';var y='data-xui-error-alignh',z='XUIError',aa='data-xui-error',ba="_1tp7",ca='data-xui-error-position';l.listen(document.documentElement,'mouseover',function(event){if(n.byClass(r(),ba))return;var qa=n.byClass(event.getTarget(),ba);if(qa){ma(qa);}else na();});l.listen(document.documentElement,'focusin',function(event){var qa=n.byClass(event.getTarget(),ba);if(qa){ma(qa);}else na();});l.listen(document.documentElement,'focusout',function(event){na();});var da=v(function(){return new o(function(qa,ra){h.loadModules(["ContextualDialog","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","LayerRefocusOnHide","React"],function(sa,ta,ua,va,wa){var xa={ContextualDialog:sa,ContextualLayerAutoFlip:ta,ContextualLayerUpdateOnScroll:ua,LayerRefocusOnHide:va,React:wa};qa(w(xa,ea(xa)));});});});function ea(qa){var ra=qa.ContextualDialog,sa=qa.ContextualLayerAutoFlip,ta=qa.ContextualLayerUpdateOnScroll,ua=qa.LayerRefocusOnHide,va=m.div({className:"_1tp8"}),wa=(m.div({className:"_53ij _1tp9"},m.div({className:"_1tpa"}),va)),xa=new ra({addedBehaviors:[ta,sa],theme:{wrapperClassName:"_1tpb",arrowDimensions:{offset:12,length:16}}},wa);xa.disableBehavior(ua);xa.shouldSetARIAProperties(false);return {dialog:xa,dialogBodyNode:wa,dialogMessageNode:va};}var fa=null;function ga(qa){return w({message:qa.getAttribute(aa),position:qa.getAttribute(ca),alignh:qa.getAttribute(y)},j.get(qa,z));}function ha(qa,ra){j.set(qa,z,ra);}function ia(qa,ra){j.set(qa,z,w(j.get(qa,z),ra));}function ja(qa){j.remove(qa,z);}var ka=false,la=false;function ma(qa){da().done(function(ra){var sa=ra.React,ta=ra.dialog,ua=ra.dialogMessageNode,va=ga(qa),wa=va.message,xa=sa.isValidElement(wa);if(ka&&!xa)sa.unmountComponentAtNode(ua);if(xa){sa.render(wa,ua);}else{t(typeof wa==='string'||u(wa));if(typeof wa==='string')wa=x(wa);k.setContent(ua,wa);}ka=xa;ta.setContext(qa).setPosition(va.position||'right').setAlignment(va.alignh||(va.position==='above'||va.position==='below'?'right':null)).show();g.notify(s(ua));fa=qa;});la=true;}function na(){if(!la)return;da().done(function(qa){var ra=qa.React,sa=qa.dialog,ta=qa.dialogMessageNode;if(!fa)return;if(ka){ra.unmountComponentAtNode(ta);ka=false;}sa.hide();fa=null;});}function oa(qa){if(k.contains(qa,r()))ma(qa);}var pa={set:function(qa){var ra=qa.target,sa=qa.message,ta=qa.position,ua=qa.alignh;t(sa!==null);i.addClass(ra,ba);ia(ra,q({message:sa,position:ta,alignh:ua},function(va){return va!==(void 0);}));oa(ra);},clear:function(qa){i.removeClass(qa,ba);qa.removeAttribute(aa);ja(qa);if(qa===fa)na();},updatePosition:function(){if(!la)return;da().done(function(qa){var ra=qa.dialog;if(fa)ra.updatePosition();});},__setReactError:function(qa,ra){var sa=ra.message,ta=ra.position,ua=ra.alignh;t(sa!==null);ha(qa,{message:sa,position:ta,alignh:ua});oa(qa);},__clearReactError:function(qa){ja(qa);if(qa===fa)na();}};e.exports=pa;},null);
__d("XUIError.react",["React","XUIError","cx","joinClasses","onlyChild"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=g,m=l.PropTypes,n="_1tp7",o=g.createClass({displayName:"ReactXUIError",propTypes:{xuiError:m.any,xuiErrorPosition:m.oneOf(['above','below','left','right']),xuiErrorAlignh:m.oneOf(['left','center','right'])},componentDidMount:function(){if(this.props.xuiError!=null)h.__setReactError(g.findDOMNode(this),{message:this.props.xuiError,position:this.props.xuiErrorPosition,alignh:this.props.xuiErrorAlignh});},componentDidUpdate:function(){if(this.props.xuiError==null){h.__clearReactError(g.findDOMNode(this));}else h.__setReactError(g.findDOMNode(this),{message:this.props.xuiError,position:this.props.xuiErrorPosition,alignh:this.props.xuiErrorAlignh});},componentWillUnmount:function(){h.__clearReactError(g.findDOMNode(this));},render:function(){var p=k(this.props.children);if(this.props.xuiError!=null)p=g.cloneElement(p,{className:j(p.props.className,n)});return p;}});e.exports=o;},null);
__d("highlight",["Animation","Style"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j,k,l,m){new g(j).from('background',m||'#fff9d7').to('background',l||'#fff').ease(g.ease.both).duration(2000).ondone(function(){h.set(j,'background','');k&&k();}).go();}e.exports=i;},null);
__d("reportData",["Banzai","SessionName"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={retry:true};function j(k,l){l=l||{};var m={ft:(l.ft||{}),gt:(l.gt||{})},n='-',o=[],p='r',q=[Date.now(),0,n,k,n,n,p,a.URI?a.URI.getRequestURI(true,true).getUnqualifiedURI().toString():location.pathname+location.search+location.hash,m,0,0,0,0].concat(o),r=[h.getName(),Date.now(),'act'];g.post('eagle_eye_event',Array.prototype.concat(r,q),i);}e.exports=j;},null);
__d("requireWeak",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i){d.call(null,h,i);}e.exports=g;},null);
__d("EgoUnitSlideInsert",["Animation","CSS","DataStore","DOM","Ease","Event","Parent","TidyArbiterMixin","cx","copyProperties","tidyEvent"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r='sliding',s="EgoSlider/End",t=p({isSliding:function(u){return i.get(u,r);},runAfterSlide:function(u,v){var w=q(t.subscribe(s,function(x,y){if(y===u){w&&w.unsubscribe();v();}}));},registerSlide:function(u,v){l.listen(u,'click',function(w){var x=m.byClass(w.getTarget(),"_5cl_");if(!x)return;var y=m.byClass(u,'ego_unit'),z=0,aa=m.byClass(y,'ego_unit_container'),ba=j.scry(aa,'.ego_unit')[0];if(ba===y)if(y.nextSibling){y.nextSibling.style.paddingTop='0px';y.nextSibling.style.borderTop='0px';}h.addClass(y,"_5cl-");i.set(y,r,true);new g(y).to('height',0).to('padding-top',z).to('padding-bottom',0).to('margin',0).from('opacity',1).to('opacity',0).ease(k.circOut).duration(300).checkpoint(1,function(){j.appendContent(aa,y);j.prependContent(y,v);i.remove(y,r);}).to('height',12).to('opacity',1).to('margin-bottom',10).duration(0).checkpoint(2,function(){t.inform(s,y);}).go();});}},n);e.exports=t;},null);
__d("PageFanning",["Animation","AsyncRequest","CSS","DOM","Parent","URI","ActorURI","$","collectDataAttributes","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q={setFanStatus:function(s,t,u,v,w,x,y){var z={ft:{}};if(s)z={ft:o(s,['ft']).ft};w=w||function(da){var ea=da.getPayload();if(!ea||!s)return;if(ea.reload){q.reloadOnFanStatusChanged();}else r(s,ea);};var aa={fbpage_id:t,add:u,reload:v};if(y!=null)p(aa,y);p(aa,z);var ba='/ajax/pages/fan_status.php';if(y!=null&&y.actor_id!=null)ba=m.create(ba,y.actor_id);var ca=new h().setURI(ba).setData(aa).setNectarModuleDataSafe(s).setHandler(w);if(x)ca.setErrorHandler(x);ca.send();return false;},reloadOnFanStatusChanged:function(){var s=l.getRequestURI();window.location.href=s;},toggleLikeOnFanStatusChanged:function(s,t){var u=n('liked_pages_like_action_'+s),v=n('liked_pages_undo_action_'+s);i.conditionClass(u,'hidden_elem',t);i.conditionClass(v,'hidden_elem',!t);}};function r(s,t){var u=t.feedback;if(!u)return;if(k.byClass(s,'fbTimelineEscapeSectionItem'))s=k.byClass(s,'fan_status_inactive')||s;var v=j.create('span',{className:'fan_status_inactive'},u);s.parentNode.replaceChild(v,s);var w=function(){if(t.can_repeat_action)v.parentNode.replaceChild(s,v);};new g(v).duration(3000).checkpoint().to('backgroundColor','#FFFFFF').duration(1000).ondone(w).go();}e.exports=q;},null);
__d("XPagesLikeCountController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pages\/x\/updateLikeCountDomString\/",{page_id:{type:"Int",required:true},like_id:{type:"String",required:true}});},null);
__d("PageLikeButton",["Arbiter","AsyncRequest","AsyncResponse","Event","FeedBlacklistButton","PageFanning","SubscribeButton","Tour","URI","XPagesLikeCountController"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q={LIKED:'liked',UNLIKED:'unliked',LIKED_SUCCESS:'liked_success',SPM_CALLOUT:'spm_callout',init:function(u,v,w,x,y,z,aa,ba,ca,da,ea,fa){g.subscribe(q.LIKED,function(ga,ha){if(t(x,fa,ha)){u.swap();if(!ca)w.suppressNextMouseEnter&&w.suppressNextMouseEnter();}});g.subscribe(q.UNLIKED,function(ga,ha){if(t(x,fa,ha)){u.unswap();w.hideFlyout&&w.hideFlyout();}});if(ea)g.subscribe(q.SPM_CALLOUT,function(ga,ha){if(t(x,fa,ha)){ea.show();g._releaseAllEvents(q.SPM_CALLOUT);}});if(ba)g.subscribe(q.LIKED_SUCCESS,function(ga,ha){var ia=o.getRequestURI().getQueryData().app_data;if(ha.profile_id===x)new h().setURI('/ajax/pages/fetch_app_column.php').setData({profile_id:x,tab_key:ba,app_data:ia}).send();});j.listen(v,'click',function(event){var ga=u.getCurrentButton();if(fa&&fa.actor_id!==null){var ha={actor_id:fa.actor_id};s(x,y,z,aa,ga,event,ha);}else s(x,y,z,aa,ga,event);}.bind(this));},initCallout:function(u,v){var w=document.getElementById('pageActionLikeCalloutButton');j.listen(w,'click',s.bind(null,u,v,null,null,null));},initUnlike:function(u,v,w,x){var y=x?x.actor_id:null;j.listen(u,'click',function(event){r(event.getTarget(),v,false,function(z){g.inform(q.LIKED,{profile_id:v,actor_id:y});i.defaultErrorHandler(z);},w,null,null,{actor_id:y});q.informUnlike(v,y);});},informLike:function(u,v,w,x){var y=x?x.actor_id:y,z={profile_id:u,actor_id:y,target:v,origin:w};g.inform(q.LIKED,z);z.connected=true;g.inform(m.SUBSCRIBED,z);g.inform(k.UNBLACKLIST,z);},informLikeSuccess:function(u){var v={profile_id:u};g.inform(q.LIKED_SUCCESS,v);g.inform(q.SPM_CALLOUT,v);},informUnlike:function(u,v){var w={profile_id:u,actor_id:v};setTimeout(g.inform.bind(g,q.UNLIKED,w),0);w.connected=false;setTimeout(g.inform.bind(g,m.UNSUBSCRIBED,w),0);g.inform(k.BLACKLIST,w);},updateLikeCount:function(u,v){g.subscribe(q.LIKED_SUCCESS,function(w,x){var y=x.profile_id;if(v==y){var z=p.getURIBuilder().setInt('page_id',v).setString('like_id',u).getURI();new h().setURI(z).send();}});}};function r(u,v,w,x,y,z,aa,ba){var ca=ba?ba.actor_id:null;n.getInstance().hideStep('low_page_likes');l.setFanStatus(u,v,w,false,function(){q.informLikeSuccess(v);},x,{fan_origin:y,fan_source:z,cat:aa,actor_id:ca});}function s(u,v,w,x,y,event,z){var aa=z?z.actor_id:null;r(event.getTarget(),u,true,function(ba){g.inform(q.UNLIKED,{profile_id:u,actor_id:aa});i.defaultErrorHandler(ba);},v,w,x,z);q.informLike(u,y,v,z);}function t(u,v,w){var x=v?v.actor_id:null;if(u===w.profile_id){if(x===null)return true;if(w.actor_id!==null&&x===w.actor_id)return true;}return false;}e.exports=q;a.PageLikeButton=q;},null);
__d("NetEgo",["Animation","Arbiter","csx","cx","CSS","DOM","EgoUnitSlideInsert","PageLikeButton","Parent","URI","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r={setup:function(s){h.subscribe([n.LIKED,'FriendRequest/sending'],function(t,u){if((s==u.profile_id&&u.origin=='hovercard')||s==u.uid){var v=q(document.body,'.ego_unit_container');if(v){var w=l.scry(v,'.ego_unit'),x=w.length;for(var y=0;y<x;y++){var z=w[y].getAttribute('data-ego-fbid');if(z==s){var aa=l.scry(w[y],'.ego_action a')[0];if(aa)aa.click();break;}}}}});},updateXids:function(s,t){if(s.length==0&&t.length==0)return;var u=function(ea){return function(fa){var ga=fa.getAttribute(ea);if(!ga)return false;var ha=new p(ga).getQueryData();return !!ha.xids;};},v=l.scry(document.body,'.ego_unit a');v=v.filter(u('ajaxify'));if(v.length==0)return;var w=new p(v[0].getAttribute('ajaxify')),x=w.getQueryData();if(!x.xids)return;try{var z=JSON.parse(x.xids);}catch(y){return;}for(var aa=0;aa<s.length;++aa)delete z[s[aa]];for(aa=0;aa<t.length;++aa)z[t[aa]]=1;var ba=JSON.stringify(z),ca=function(ea,fa){w=new p(ea.getAttribute(fa));x=w.getQueryData();x.xids=ba;w.setQueryData(x);ea.setAttribute(fa,w.toString());};for(aa=0;aa<v.length;++aa)ca(v[aa],'ajaxify');var da=l.scry(document.body,'.ego_unit form');da=da.filter(u('action'));for(aa=0;aa<da.length;++aa)ca(da[aa],'action');},replaceUnit:function(s,t,u,v){r.replaceUnitCheckParent(s,t,u,v,false);},replaceUnitCheckParent:function(s,t,u,v,w){var x=o.byClass(s,'ego_unit_container');if(x&&m.isSliding(s)){var y=l.appendContent(x,t);y.forEach(k.hide);m.runAfterSlide(s,r._replaceUnitElement.bind(null,s,y,w));}else r._replaceUnit(s,t,u,v,w);},_replaceUnit:function(s,t,u,v,w){var x=l.insertAfter(s,t);x.forEach(k.hide);if(v!==(void 0)&&v!==null){setTimeout(function(){r._replaceUnitFadeout(s,x,u,w);},v);}else r._replaceUnitFadeout(s,x,u,w);},_replaceUnitFadeout:function(s,t,u,v){if(u){new g(s).from('opacity',1).to('opacity',0).duration(u).checkpoint(1,function(){r._replaceUnitElement(s,t,v);}).go();}else r._replaceUnitElement(s,t,v);},_replaceUnitElement:function(s,t,u){var v=k.hasClass(s,'ego_unit')?s.parentNode:null;if(v&&v.tagName==='LI')v=l.scry(s.parentNode,'^ul')[0];var w=null;if(u)if(v){var x=o.byClass(s,'ego_feed_column');if(x)w=o.byClass(x,"_4-u2");}if(s.parentNode.tagName==='LI'&&!t.length){var y=l.scry(s,"._3pb7")[0];if(y){k.show(y);}else l.remove(s.parentNode);}else{l.remove(s);t.forEach(k.show);}h.inform('netego_replacedUnit');r.clearHeader();if(w&&!v.childNodes.length)k.hide(w);},clearHeader:function(){var s=l.scry(document.body,'.ego_column'),t=[];for(var u=0;u<s.length;++u)t=t.concat(l.scry(s[u],'.uiHeader'));for(u=0;u<t.length;++u){var v=t[u].nextSibling;if(!v||v.childNodes.length===0){l.remove(t[u]);}else if(v.childNodes.length===1){var w=v.childNodes[0];if(k.hasClass(w,'ego_appended_units')&&w.childNodes.length===0)l.remove(t[u]);}}}};e.exports=r;},null);
__d("PagesBanzaiLogger",["Banzai","Event","Run"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j='pages_client_logging',k='pages_client_logging',l={VITAL_WAIT:g.VITAL_WAIT,registerLogEvent:function(m,n,o){var p=h.listen(m,'click',function(event){l.logData(n,o);});i.onLeave(function(){p.remove();});},logData:function(m,n){if(g.isEnabled(k)){var o={};if(n)o.delay=n;g.post(j,m,o);}}};e.exports=l;},null);
__d("PhotoLogger",["Event","BanzaiScuba","SpotlightViewerLoggingEvents","SubscriptionsHandler"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){"use strict";this.$PhotoLogger0=l;this.$PhotoLogger1={};}k.prototype.log=function(l){"use strict";if(!this.$PhotoLogger1[l]){this.$PhotoLogger2(l);this.$PhotoLogger1[l]=true;}};k.prototype.$PhotoLogger2=function(l){"use strict";this.$PhotoLogger3(i.LOADING,{uri:l});var m=new j(),n=new Image();m.addSubscriptions(g.listen(n,'load',function(){this.$PhotoLogger3(i.LOADED,{uri:l});m.release();}.bind(this)),g.listen(n,'error',function(){this.$PhotoLogger3(i.ERROR,{uri:l});m.release();}.bind(this)),g.listen(n,'abort',function(){this.$PhotoLogger3(i.ABORT,{uri:l});m.release();}.bind(this)));n.src=l;};k.prototype.logEvent=function(l){"use strict";this.$PhotoLogger3(l);};k.prototype.$PhotoLogger3=function(l,m){"use strict";var n=new h('photos_client_loading',null,{addBrowserFields:true});n.addNormal('event',l);n.addNormal('viewer',this.$PhotoLogger0);for(var o in m)n.addNormal(o,m[o]);n.post();};e.exports=k;},null);
__d("XPhotosWaterfallBatchLoggingController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/photos\/logging\/waterfall\/batch\/",{});},null);
__d("PhotosUploadWaterfall",["AsyncRequest","AsyncSignal","Banzai","PhotosUploadWaterfallXConfig","XPhotosWaterfallBatchLoggingController","emptyFunction","randomInt","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=[],p={APP_FLASH:'flash_pro',APP_SIMPLE:'simple',APP_ARCHIVE:'archive',APP_COMPOSER:'composer',APP_MESSENGER:'messenger',APP_HTML5:'html5',APP_CHAT:'chat',INSTALL_CANCEL:1,INSTALL_INSTALL:2,INSTALL_UPDATE:3,INSTALL_REINSTALL:4,INSTALL_PERMA_CANCEL:5,INSTALL_SILENT_SKIP:6,INSTALL_DOWNLOAD:7,CERROR_RESIZING_FAILED:6,CERROR_MARKER_EXTRACTION_FAILED:9,BEGIN:1,UPLOAD_START:4,ALL_UPLOADS_DONE:6,CLIENT_ERROR:7,RECOVERABLE_CLIENT_ERROR:12,IMAGES_SELECTED:9,UPGRADE_REQUIRED:11,VERSION:15,SELECT_START:18,SELECT_CANCELED:19,CANCEL:22,CANCEL_DURING_UPLOAD:83,ONE_RESIZING_START:2,ONE_UPLOAD_START:10,ONE_UPLOAD_DONE:29,ONE_RESIZING_DONE:34,PROGRESS_BAR_STOPPED:44,MISSED_BEAT:45,HEART_ATTACK:46,PUBLISH_SENT:99,PUBLISH_START:100,PUBLISH_SUCCESS:101,PUBLISH_FAILURE:102,CLUSTERING_START:103,CLUSTERING_SUCCESS:104,CLUSTERING_FAILURE:105,POST_BUTTON_CLICKED:110,POST_BUTTON_ERROR:111,PHOTO_DELETED:114,PUBLISH_CLIENT_SUCCESS:115,PHOTO_ROTATED:117,SAVE_DRAFT_BUTTON_CLICKED:123,RECOVERY_START_ON_CLIENT:124,CHANGE_PHOTO_QUALITY_SETTING:126,TAG_ADDED:127,TAG_REMOVED:128,TAB_BUTTON_CLICKED:129,EDITABLE_PHOTO_FETCH_START:106,EDITABLE_PHOTO_FETCH_SUCCESS:107,EDITABLE_PHOTO_FETCH_FAILURE:108,EDITABLE_PHOTO_FETCH_DELAY:116,CANCEL_INDIVIDUAL_UPLOAD:109,MISSING_OVERLAY_NODE:118,PUBLISH_RETRY_FAILURE:119,MISSING_UPLOAD_STATE:120,SESSION_POSTED:72,POST_PUBLISHED:80,ONE_UPLOAD_CANCELED:81,ONE_UPLOAD_CANCELED_DURING_UPLOAD:82,RESIZER_AVAILABLE:20,OVERLAY_FIRST:61,ASYNC_AVAILABLE:63,FALLBACK_TO_FLASH:13,RETRY_UPLOAD:17,TAGGED_ALL_FACES:14,VAULT_IMAGES_SELECTED:62,VAULT_CREATE_POST_CANCEL:65,VAULT_SEND_IN_MESSAGE_CLICKED:66,VAULT_DELETE_CANCEL:68,VAULT_ADD_TO_ALBUM_CANCEL:74,VAULT_SHARE_IN_AN_ALBUM_CLICKED:76,VAULT_SHARE_OWN_TIMELINE_CLICKED:77,VAULT_SHARE_FRIENDS_TIMELINE_CLICKED:78,VAULT_SHARE_IN_A_GROUP_CLICKED:79,VAULT_SYNCED_PAGED_LINK_CLICKED:84,VAULTBOX:'vaultbox',GRID:'grid',SPOTLIGHT_VAULT_VIEWER:'spotlight_vault_viewer',REF_VAULT_NOTIFICATION:'vault_notification',_checkRequiredFields:function(r){},sendBanzai:function(r,s){this._checkRequiredFields(r);var t={};r.scuba_ints=r.scuba_ints||{};r.scuba_ints.client_time=Math.round(Date.now()/1000);if(j.retryBanzai){t.retry=true;r.scuba_ints.nonce=m(4294967296);}i.post(j.deprecatedBanzaiRoute,r,t);if(s)setTimeout(s,0);},sendSignal:function(r,s){this._checkRequiredFields(r);if(j.useBanzai){this.sendBanzai(r,s);}else if(j.reduceLoggingRequests){this.queueLog(r,s);}else{var t=new h('/ajax/photos/waterfall.php',{data:JSON.stringify(r)}).setHandler(s);if(j.timeout)t.setTimeout(10*1000);t.send();}},queueLog:function(r,s){o.push(r);if(!!s){this.flushQueue(s);}else q();},flushQueue:function(r){var s=JSON.stringify(o);o=[];var t=k.getURIBuilder().getURI();new g().setURI(t).setData({logs:s}).setFinallyHandler(r||l).setTimeoutHandler(10*1000,r||l).send();}},q=n(p.flushQueue,j.batchInterval*1000);e.exports=p;},null);
__d("PrivacySelectorNewDispatcher",["Dispatcher","copyProperties","merge"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j='selector',k=h(new g(),{handleUpdateFromSelector:function(l){this.dispatch(i({payloadSource:j},l));}});e.exports=k;},null);
__d("legacy:ui-scrolling-pager-js",["ScrollingPager"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.ScrollingPager=b('ScrollingPager');},3);
__d("TypeaheadBestName",["FamilyMentionsData","TokenizeUtil","copyProperties"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k){"use strict";this._typeahead=k;}j.prototype.enable=function(){"use strict";var k=this._typeahead.getView(),l=this._getAvailableAlternateNameFields();this._subscription=k.subscribe('beforeRender',function(m,n){var o=n.value;for(var p=0;p<n.results.length;++p){var q=n.results[p],r=this._getNameToDisplay(q,o,l);if(r!==null){q.text=r;if(q.hasOwnProperty('default_name')&&q.text!==q.default_name){q.subtext=q.default_name;}else q.subtext=null;}}}.bind(this));};j.prototype.disable=function(){"use strict";this._typeahead.getView().unsubscribe(this._subscription);this._subscription=null;};j.prototype._getNameToDisplay=function(k,l,m){"use strict";if(k.hasOwnProperty('default_name')&&h.isQueryMatch(l,k.default_name))return k.default_name;for(var n=0;n<m.length;n++){var o=k[m[n]];if(o==(void 0))continue;for(var p=0;p<o.length;p++){var q=o[p];if(h.isQueryMatch(l,q))return q;}}if(k.hasOwnProperty('default_name'))return k.default_name;return null;};j.prototype._getAvailableAlternateNameFields=function(){"use strict";var k=['alternate_names'];if(g.allowFamilyNames)k.push('family_names');return k;};i(j.prototype,{_subscription:null});e.exports=j;},null);
__d("legacy:BestNameTypeaheadBehavior",["TypeaheadBestName"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();if(!a.TypeaheadBehaviors)a.TypeaheadBehaviors={};a.TypeaheadBehaviors.buildBestAvailableNames=function(h){h.enableBehavior(g);};},3);
__d("FbFeedCommentUFIScroller",["Arbiter","DOMScroll","containsNode","ge"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();g.subscribe('comment/focus',function(k,l){var m=l.element,n=j('content');if(n&&i(n,m))h.ensureVisible(m,null,60,250);});e.exports={};},null);
__d("FbFeedHighlight",["JSXDOM","CSS","DOM","DOMScroll","cx"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=1000,m=1000,n=null;function o(){return (g.div({className:"_1usz"},g.div({className:"_1us-"}),g.div({className:"_1us_"}),g.div({className:"_1ut0"}),g.div({className:"_1ut1"})));}var p={highlightAndScrollTo:function(q){p.highlight(q);p.scrollTo(q);},highlightSingle:function(q){var r=o();i.appendContent(q,r);setTimeout(function(){if(n)i.remove(n);n=r;h.addClass(q,"_1ut2");},0);setTimeout(function(){h.removeClass(q,"_1ut2");setTimeout(function(){i.remove(r);if(r==n)n=null;},l+m);},l+m);},highlight:function(q){var r=o();i.appendContent(q,r);setTimeout(h.addClass.bind(null,q,"_1ut2"),0);setTimeout(function(){h.removeClass(q,"_1ut2");setTimeout(i.remove.bind(null,r),l+l);},l+m);},scrollTo:function(q){setTimeout(j.scrollTo.bind(null,q),0);}};e.exports=p;},null);
__d("LoadingDialogDimensions",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={HEIGHT:96,WIDTH:300};e.exports=g;},null);
__d("AsyncDialog",["AsyncRequest","CSS","DialogX","DOM","Keys","LayerFadeOnShow","LoadingDialogDimensions","Parent","React","URI","XUISpinner.react","XUIDialogTitle.react","copyProperties","cx","emptyFunction","forEachObject"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();var w,x;function y(ga){var ha=m.WIDTH,ia;if(ga){ha=parseInt(ga.getAttribute('data-dialog-width'),10)||ha;ia=ga.getAttribute('data-dialog-title')||ia;}if(!w){var ja=j.create('div',{className:"_57-x"});w=new i({width:ha,addedBehaviors:[l],xui:true},j.create('div',null,ja));x=j.create('div');j.insertBefore(ja,x);o.render(o.createElement(q,{size:"large"}),ja);w.subscribe(['key','blur'],function(ka,la){if(ka=='blur'||(ka=='key'&&la.keyCode==k.ESC)){ca();return false;}});}if(ia){o.render(o.createElement(r,{showCloseButton:false},ia),x);}else j.empty(x);w.setWidth(ha);return w;}var z={},aa=1,ba=[];function ca(){v(z,function(ga,ha){ga.abandon();da(ha);});}function da(ga){delete z[ga];if(!Object.keys(z).length)y().hide();}function ea(ga,ha){var ia=aa++;ba[ia]=ha;z[ia]=ga;var ja=da.bind(null,''+ia);s(ga.getData(),{__asyncDialog:ia});var ka=ga.getRelativeTo();y(ka).setCausalElement(ka).show();var la=ga.finallyHandler;ga.setFinallyHandler(function(oa){var pa=oa.getPayload();if(pa&&pa.asyncURL)fa.send(new g(pa.asyncURL));ja();la&&la(oa);});var ma=ga.abortHandler||u,na=ga.interceptHandler||u;ga.setInterceptHandler(function(){try{na();}finally{ja();}}).setAbortHandler(function(){try{ma();}finally{ja();}});ga.send();}var fa={send:function(ga,ha){ea(ga,ha||u);},bootstrap:function(ga,ha,ia){if(!ga)return;var ja=n.byClass(ha,'stat_elem')||ha;if(ja&&h.hasClass(ja,'async_saving'))return false;var ka=new p(ga).getQueryData(),la=ia==='dialog',ma=new g().setURI(ga).setData(ka).setMethod(la?'GET':'POST').setReadOnly(la).setRelativeTo(ha).setStatusElement(ja).setNectarModuleDataSafe(ha);fa.send(ma);},respond:function(ga,ha){var ia=ba[ga];if(ia){ia(ha);delete ba[ga];}},getLoadingDialog:function(){return y();}};e.exports=fa;},null);
__d("LikeConfirmer",["AsyncDialog","AsyncRequest"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=false,j=false,k={likeContent:function(){},like:function(l,m){this.likeContent=l;if(j)return;if(i){this.likeContent();}else{var n=new h().setURI('/like/confirm_like.php').setRelativeTo(m);g.send(n,function(o){j=true;o.subscribe('hide',this.onCloseLikeConfirmDialog.bind(this));o.setCausalElement(m);}.bind(this));}return false;},isShowingConfirmation:function(){return j;},onCloseLikeConfirmDialog:function(){j=false;},likeSkipConfirmation:function(l){i=l;this.likeContent();}};e.exports=k;},null);
__d("PopoverLoadingMenu",["BehaviorsMixin","DOM","PopoverMenuInterface","copyProperties","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();for(var m in i)if(i.hasOwnProperty(m))o[m]=i[m];var n=i===null?null:i.prototype;o.prototype=Object.create(n);o.prototype.constructor=o;o.__superConstructor__=i;function o(p){"use strict";i.call(this);this._config=p||{};this._theme=p.theme||{};}o.prototype.getRoot=function(){"use strict";if(!this._root){this._root=h.create('div',{className:l("_54nq",this._config.className,this._theme.className)},h.create('div',{className:"_54ng"},h.create('div',{className:"_54nf _54af"},h.create('span',{className:"_54ag"}))));if(this._config.behaviors)this.enableBehaviors(this._config.behaviors);}return this._root;};j(o.prototype,g,{_root:null});e.exports=o;},null);
__d("SwapButton",["DOM","Event","Focus","copyProperties"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(m,n,o){g.insertAfter(n,m);g.remove(n);o&&i.setWithoutOutline(m);}function l(m,n,o){"use strict";this._swapperButton=m;this._swappeeButton=n;h.listen(m,'click',k.bind(null,n,m,true));if(o)h.listen(n,'click',k.bind(null,m,n,true));}l.prototype.swap=function(m){"use strict";if(this._swapperButton.parentNode)k(this._swappeeButton,this._swapperButton,m);};l.prototype.unswap=function(m){"use strict";if(!this._swapperButton.parentNode)k(this._swapperButton,this._swappeeButton,m);};l.prototype.toggle=function(m){"use strict";if(this._swapperButton.parentNode){this.swap(m);}else this.unswap(m);};l.prototype.getCurrentButton=function(){"use strict";return this._swapperButton.parentNode?this._swapperButton:this._swappeeButton;};j(l.prototype,{_swapperButton:null,_swappeeButton:null});e.exports=l;},null);
__d("HoverButton",["AsyncRequest","CSS","DOM","URI","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n,o,p,q){"use strict";this._button=n;this._flyout=o;this._flyoutAjaxify=q;this._flyoutContent=p;o.subscribe('show',this._onShow.bind(this));o.subscribe('hide',this._onHide.bind(this));}m.prototype.showFlyoutBriefly=function(){"use strict";this.showFlyout();this._flyout.hideFlyoutDelayed(5000);};m.prototype.showFlyout=function(){"use strict";this._flyout.showFlyout(this._button,true);this._flyout.inform('show',this._button);};m.prototype.hideFlyout=function(){"use strict";this._flyout.hideFlyout(true);this._flyout.inform('hide',this._button);};m.prototype.enableButton=function(){"use strict";this._flyout.initNode(this._button);};m.prototype.disableButton=function(){"use strict";this.hideFlyout();this._flyout.deactivateNode(this._button);};m.prototype._onShow=function(n,o){"use strict";h.addClass(o,"_52nd");if(h.hasClass(o,'uiButton')||h.hasClass(o,"_42fu"))h.addClass(o,'selected');if(this._flyoutAjaxify){h.addClass(this._flyoutContent,'async_saving');new g().setURI(new j(this._flyoutAjaxify)).setHandler(function(p){h.removeClass(this._flyoutContent,'async_saving');i.setContent(this._flyoutContent,p.payload);}.bind(this)).send();this._flyoutAjaxify=null;}};m.prototype._onHide=function(n,o){"use strict";h.removeClass(o,"_52nd");if(h.hasClass(o,'uiButton')||h.hasClass(o,"_42fu"))h.removeClass(o,'selected');};m.prototype.destroy=function(){"use strict";this.hideFlyout();this._flyout.destroy();};m.prototype.suppressNextMouseEnter=function(){"use strict";this._flyout.setActiveNode(this._button);};k(m.prototype,{_button:null,_flyout:null,_flyoutAjaxify:null,_flyoutContent:null});e.exports=m;},null);
__d("Spotlight",["Arbiter","ArbiterMixin","DOM","JSXDOM","Layer","LayerAutoFocus","LayerTabIsolation","ModalLayer","Vector","classWithMixins","copyProperties","csx","cx","joinClasses","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){b.__markCompiled&&b.__markCompiled();var v=p(k,u(h));for(var w in v)if(v.hasOwnProperty(w))y[w]=v[w];var x=v===null?null:v.prototype;y.prototype=Object.create(x);y.prototype.constructor=y;y.__superConstructor__=v;function y(aa,ba){"use strict";v.call(this,aa,ba);this.stageMinSize=new o(0,0);this.stagePadding=new o(0,0);}y.prototype._buildWrapper=function(aa,ba){"use strict";var ca=t("_n8 _3qx",aa.rootClassName);return (j.div({className:ca},j.div({className:"_n9"},ba)));};y.prototype._getDefaultBehaviors=function(){"use strict";return x._getDefaultBehaviors.call(this).concat([z,l,m,n]);};y.prototype.getContentRoot=function(){"use strict";if(!this._content)this._content=i.find(this.getRoot(),"div._n3");return this._content;};y.prototype.configure=function(aa){"use strict";if(aa.stageMinSize)this.stageMinSize=aa.stageMinSize;if(aa.stagePadding)this.stagePadding=aa.stagePadding;};y.prototype.onContentLoaded=function(){"use strict";this.inform('content-load');};y.prototype.updatePermalink=function(aa){"use strict";this.inform('permalinkchange',aa);};q(y.prototype,{stageMinSize:null,stagePadding:null});function z(aa){"use strict";this._layer=aa;}z.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe(['show','hide'],function(aa,ba){if(aa==='show'){g.inform('layer_shown',{type:'Spotlight'});}else g.inform('layer_hidden',{type:'Spotlight'});});};z.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};q(z.prototype,{_subscription:null});e.exports=y;},null);
__d("HoverFlyout",["Arbiter","ArbiterMixin","DataStore","Event","Keys","arrayContains","mixin","removeFromArray","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=m(h);for(var q in p)if(p.hasOwnProperty(q))s[q]=p[q];var r=p===null?null:p.prototype;s.prototype=Object.create(r);s.prototype.constructor=s;s.__superConstructor__=p;function s(t,u,v,w){"use strict";if(t){this._showDelay=v;this._hideDelay=w;this.init(t);if(u)this.initNode(u);}g.subscribe('SwapButtonDEPRECATED/focusOnJoinButton',o(this.hideFlyout,this),g.SUBSCRIBE_ALL);}s.prototype.init=function(t){"use strict";this._flyout=t;this._showDelay=this._showDelay||0;this._hideDelay=this._hideDelay||100;this._showTimeout=null;this._hideTimeout=null;this._flyoutSubscriptions=[this._flyout.subscribe('mouseenter',this._onFlyoutMouseEnter.bind(this)),this._flyout.subscribe('mouseleave',o(this.hideFlyout,this))];this._nodes=[];this._dataStoreUnique='HoverFlyout_'+Date.now()+'_listeners';return this;};s.prototype.initNode=function(t){"use strict";if(l(this._nodes,t))return this;this._nodes.push(t);i.set(t,this._dataStoreUnique,[j.listen(t,'mouseenter',this._onNodeMouseEnter.bind(this,t)),j.listen(t,'mouseleave',o(this.hideFlyout,this)),j.listen(t,'click',this._onNodeMouseEnter.bind(this,t)),j.listen(t,'keydown',this._onNodeKeyEscape.bind(this))]);return this;};s.prototype.deactivateNode=function(t){"use strict";var u=i.get(t,this._dataStoreUnique);if(u)while(u.length)u.pop().remove();n(this._nodes,t);};s.prototype.setShowDelay=function(t){"use strict";this._showDelay=t;return this;};s.prototype.setHideDelay=function(t){"use strict";this._hideDelay=t;return this;};s.prototype.showFlyout=function(t,u){"use strict";this.setActiveNode(t);if(u){this._flyout.setContext(t).show();this.inform('show',t);}else this._showTimeout=setTimeout(this.showFlyout.bind(this,t,true),this._showDelay);return this;};s.prototype.hideFlyout=function(t){"use strict";clearTimeout(this._showTimeout);if(t){this._flyout.hide();this._activeNode&&this.inform('hide',this._activeNode);this._activeNode=null;}else this._hideTimeout=setTimeout(this.hideFlyout.bind(this,true),this._hideDelay);};s.prototype.hideFlyoutDelayed=function(t){"use strict";clearTimeout(this._showTimeout);clearTimeout(this._hideTimeout);this._hideTimeout=setTimeout(this.hideFlyout.bind(this,true),t);};s.prototype.getActiveNode=function(){"use strict";return this._activeNode;};s.prototype.setActiveNode=function(t){"use strict";clearTimeout(this._hideTimeout);if(this._activeNode&&this._activeNode!==t)this.hideFlyout(true);this._activeNode=t;return this;};s.prototype.clearNodes=function(){"use strict";for(var t=this._nodes.length;t>0;t--)this.deactivateNode(this._nodes[t-1]);};s.prototype.destroy=function(){"use strict";while(this._flyoutSubscriptions.length)this._flyout.unsubscribe(this._flyoutSubscriptions.pop());this.clearNodes();};s.prototype._onNodeMouseEnter=function(t){"use strict";if(this._activeNode===t){clearTimeout(this._hideTimeout);}else this.showFlyout(t);};s.prototype._onFlyoutMouseEnter=function(){"use strict";clearTimeout(this._hideTimeout);};s.prototype._onNodeKeyEscape=function(event){"use strict";if(j.getKeyCode(event)===k.ESC){this._activeNode&&this.inform('hide',this._activeNode);this._activeNode=null;}};e.exports=a.HoverFlyout||s;},null);
__d("legacy:Tooltip",["Tooltip"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.Tooltip=b('Tooltip');},3);
__d("TypeaheadShowLoadingIndicator",["CSS","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this._typeahead=j;}i.prototype.enable=function(){"use strict";this._subscription=this._typeahead.subscribe('loading',function(j,k){g.conditionClass(this._typeahead.getElement(),'typeaheadLoading',k.loading);g.conditionClass(this._typeahead.getView().getElement(),'typeaheadViewLoading',k.loading);}.bind(this));};i.prototype.disable=function(){"use strict";this._typeahead.unsubscribe(this._subscription);this._subscription=null;};h(i.prototype,{_subscription:null});e.exports=i;},null);
__d("legacy:ShowLoadingIndicatorTypeaheadBehavior",["TypeaheadShowLoadingIndicator"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();if(!a.TypeaheadBehaviors)a.TypeaheadBehaviors={};a.TypeaheadBehaviors.showLoadingIndicator=function(h){h.enableBehavior(g);};},3);
__d("QueriesHistory",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";this.$QueriesHistory0=h;this.reset();}g.prototype.getQueries=function(){"use strict";return this.$QueriesHistory1;};g.prototype.getCurrentLength=function(){"use strict";return this.$QueriesHistory2;};g.prototype.add=function(h){"use strict";this.$QueriesHistory1.push(h);this.$QueriesHistory2+=h.length;while(this.$QueriesHistory1.length!==0&&this.$QueriesHistory2>this.$QueriesHistory0){var i=this.$QueriesHistory1.shift();this.$QueriesHistory2-=i.length;}};g.prototype.reset=function(){"use strict";this.$QueriesHistory2=0;this.$QueriesHistory1=[];};e.exports=g;},null);
__d("CompactTypeaheadRenderer",["BadgeHelper","DOM","TypeaheadFacepile"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(k,l){var m=[];if(k.xhp)return h.create('li',{className:'raw'},k.xhp);var n=k.photos||k.photo;if(n){if(n instanceof Array){n=i.render(n);}else n=h.create('img',{alt:'',src:n});m.push(n);}var o=k.debug_info;if(o)m.push(h.create('span',{className:'debugInfo'},o));if(k.text){var p=[k.text];if(k.is_verified){p.push(g.renderBadge('xsmall','verified'));}else if(k.is_work_user)p.push(g.renderBadge('xsmall','work'));m.push(h.create('span',{className:'text'},p));}var q=k.subtext,r=k.category;if(q||r){var s=[];q&&s.push(q);q&&r&&s.push(" \u00b7 ");r&&s.push(r);m.push(h.create('span',{className:'subtext'},s));}var t=h.create('li',{className:k.type||''},m);if(k.text){t.setAttribute('title',k.text);t.setAttribute('aria-label',k.text);}return t;}j.className='compact';e.exports=j;},null);
__d("ButtonGroupX",["ArbiterMixin","mixin"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h(g);for(var j in i)if(i.hasOwnProperty(j))l[j]=i[j];var k=i===null?null:i.prototype;l.prototype=Object.create(k);l.prototype.constructor=l;l.__superConstructor__=i;function l(m,n){"use strict";n=n||{};this._root=m;this._radioButtons=n.radioButtons||[];this._selected=n.selected;this.initButtonListeners();}l.prototype.initButtonListeners=function(){"use strict";var m=this._radioButtons.length;while(m--){var n=this._radioButtons[m];n.subscribe('select',this.selectButton.bind(this,n));}};l.prototype.getSelected=function(){"use strict";return this._selected;};l.prototype.getSelectedValue=function(){"use strict";return this._selected?this._selected.getValue():null;};l.prototype.selectButton=function(m){"use strict";if(this._selected!==m){this.setSelected(m);this.inform('change',{selected:m});}return this;};l.prototype.setSelected=function(m){"use strict";if(this._selected!==m){if(this._selected)this._selected.setSelected(false);m.setSelected(true);this._selected=m;}return this;};l.prototype.setSelectedValue=function(m){"use strict";var n=this._radioButtons.length;while(n--){var o=this._radioButtons[n];if(o.getValue()===m)return this.setSelected(o);}return this;};e.exports=l;},null);
__d("XUIBadge",["CSS","DOM","cx","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(m){return parseInt(m,10)===m;}function l(m){"use strict";this.target=m.target;this.count=m.count;this.maxcount=m.maxcount;}l.prototype.getCount=function(){"use strict";return this.count;};l.prototype.setCount=function(m){"use strict";j(k(m));j(m>=0);this.count=m;g.conditionClass(this.target,'hidden_elem',this.count===0);if(m>this.maxcount){h.setContent(this.target,this.maxcount+'+');g.addClass(this.target,"_5ugi");}else{h.setContent(this.target,m);g.removeClass(this.target,"_5ugi");}};l.prototype.setLegacyContent=function(m){"use strict";if(typeof m==='string'){g.conditionClass(this.target,'hidden_elem',m==0);h.setContent(this.target,m);g.removeClass(this.target,"_5ugi");}else this.setCount(m);};l.prototype.increment=function(){"use strict";this.setCount(this.getCount()+1);};e.exports=l;},null);
__d("DialogExpansion",["Animation","DialogPosition","LoadingDialogDimensions","Style"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=400,l=100;function m(n){"use strict";this._dialog=n;this._fixedTopMargin=n.getFixedTopPosition();}m.prototype.enable=function(){"use strict";this._subscription=this._dialog.subscribe('aftershow',this._onAfterShow.bind(this));};m.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};m.prototype.setTargetWidth=function(n){"use strict";this._targetWidth=n;};m.prototype._onAfterShow=function(){"use strict";this._outer=this._dialog.getContentRoot();this._inner=this._dialog.getInnerContent();if(isNaN(parseInt(j.get(this._inner,'height'),10)))return;var n=this._getWidth(),o=i.HEIGHT,p=h.calculateTopMargin(n,o);j.apply(this._inner,{opacity:'0',width:this._dialog.getWidth()+'px'});j.apply(this._outer,{width:n+'px',height:o+'px',marginTop:p+'px',overflow:'hidden'});setTimeout(function(){var q=parseInt(this._dialog.getWidth(),10);if(this._targetWidth)q=this._targetWidth;var r=parseInt(j.get(this._inner,'height'),10),s;if(this._fixedTopMargin){s=this._fixedTopMargin;}else s=h.calculateTopMargin(q,r);this._growThenFade(q,r,s);}.bind(this),100);};m.prototype._growThenFade=function(n,o,p){"use strict";new g(this._outer).to('width',n).to('height',o).to('marginTop',p).duration(k).ease(g.ease.both).ondone(this._fadeIn.bind(this)).go();};m.prototype._fadeIn=function(){"use strict";j.set(this._outer,'overflow','');j.set(this._outer,'height','');new g(this._inner).from('opacity',0).to('opacity',1).ondone(function(){this._dialog.inform('afterexpand');}.bind(this)).duration(l).go();};m.prototype._getWidth=function(){"use strict";return i.WIDTH;};e.exports=m;},null);
__d("ContextualDialogFooterLink",["CSS","DOM","Event","copyProperties"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){"use strict";this._layer=l;}k.prototype.enable=function(){"use strict";var l=this._layer.getRoot(),m=h.scry(l,'.uiContextualDialogFooterLink')[0],n='uiContextualDialogHoverFooterArrow';this._subscriptions=[i.listen(m,'mouseenter',g.addClass.bind(null,l,n)),i.listen(m,'mouseleave',g.removeClass.bind(null,l,n))];};k.prototype.disable=function(){"use strict";this._subscriptions.forEach(function(l){l.remove();});this._subscriptions=null;};j(k.prototype,{_subscriptions:null});e.exports=k;},null);
__d("XUIAmbientNUXTheme",["cx"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={wrapperClassName:"_2x6q",arrowDimensions:{offset:14,length:18}};e.exports=h;},null);
__d("Hovercard",["AccessibleLayer","Arbiter","AsyncRequest","ContextualDialog","ContextualDialogXUITheme","ContextualThing","DOM","Event","JSXDOM","LayerAutoFocus","LayerRefocusOnHide","Parent","Style","Vector","clickRefAction","csx","cx","getInlineBoundingRect","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y){b.__markCompiled&&b.__markCompiled();var z={},aa={},ba=null,ca=null,da=null,ea=null,fa=150,ga=700,ha=1000,ia=250,ja=50,ka=null,la=null,ma=null,na=null;function oa(event){var eb=r.byTag(event.getTarget(),'a');db.processNode(eb)&&event.stop();}function pa(eb){ca=eb;if(!qa(eb)){var fb;if(!eb||!(fb=ra(eb))||bb(eb)){aa.moveToken&&aa.moveToken.remove();aa={};return false;}if(aa.node!=eb){aa.moveToken&&aa.moveToken.remove();aa={node:eb,endpoint:fb,pos:null};}}return true;}function qa(eb){return eb&&ba&&aa.node==eb;}function ra(eb){return eb.getAttribute('data-hovercard');}function sa(eb){var fb=m.scry(eb,"^._5jmm ._2orz").length;if(fb)return;if(!eb.leaveToken){var gb=n.listen(eb,'mouseleave',function(){clearTimeout(ka);clearTimeout(la);gb.remove();eb.leaveToken=null;ca=null;if(!db.contains(eb))db.hide();});eb.leaveToken=gb;}if(!aa.moveToken)aa.moveToken=n.listen(eb,'mousemove',function(event){aa.pos=t.getEventPosition(event);});clearTimeout(ka);clearTimeout(la);clearTimeout(na);na=null;var hb=fa,ib=ba?ia:ga;if(eb.getAttribute('data-hovercard-instant'))hb=ib=ja;ka=setTimeout(wa.bind(null,eb),hb);la=setTimeout(ta.bind(null,eb),ib);}function ta(eb,fb){if(aa.node!=eb)return;var gb=z[ra(eb)];if(gb){va(gb);}else if(fb){va(za());}else{var hb=ba?ia:ga;ma=setTimeout(ta.bind(null,eb,true),ha-hb);}}function ua(){db.hide(true);clearTimeout(la);}function va(eb){var fb=aa.node,gb=ba,hb=gb!=fb,ib=fb.getAttribute('data-hovercard-position');ib&&eb.setPosition(ib);if(ea){var jb=ea.getContentRoot();if(!l.containsIncludingLayers(jb,fb))ea.hide();}if(!m.contains(document.body,fb)){db.hide(true);return;}ba=fb;ea=eb;eb.setContextWithBounds(fb,x(fb,aa.pos)).show();if(hb)setTimeout(function(){u('himp',ba,null,'FORCE',{ft:{evt:39}});},0);}function wa(eb){if(eb.id&&z[eb.id]!=null)return;var fb=ra(eb);if(z[fb]!=null)return;xa(fb);var gb=function(){db.dirty(fb);ua();};new i(fb).setData({endpoint:fb}).setMethod('GET').setReadOnly(true).setErrorHandler(gb).setTransportErrorHandler(gb).send();}function xa(eb){z[eb]=false;}function ya(eb){var fb=aa.node.getAttribute('data-hovercard-offset-x')||0;eb.setOffsetX(parseInt(fb,10));var gb=aa.node.getAttribute('data-hovercard-offset-y')||0;eb.setOffsetY(parseInt(gb,10));}var za=function(){if(!da){da=new j({width:275,theme:k},o.div({className:"_7lk"},y._("Loading...")));da.disableBehavior(g).disableBehavior(p).disableBehavior(q);ab(da);}var eb=aa.node.getAttribute('data-hovercard-position');da.setPosition(eb);ya(da);return da;};function ab(eb){var fb=[eb.subscribe('mouseenter',function(){clearTimeout(na);na=null;ca=aa.node;}),eb.subscribe('mouseleave',function(){eb.hide();ca=null;}),eb.subscribe('destroy',function(){while(fb.length)fb.pop().unsubscribe();fb=null;})];}function bb(eb){return (r.byClass(eb,"_7lu")!==null);}var cb=true,db={hide:function(eb){if(!ba)return;if(eb){clearTimeout(na);na=null;if(ea)ea.hide();ca=null;ba=null;ea=null;}else{var fb=aa.node.getAttribute('data-hovercard-instant')?ja:ia;if(na===null)na=setTimeout(db.hide.bind(null,true),fb);}},setDialog:function(eb,fb){fb.disableBehavior(g).disableBehavior(p).disableBehavior(q);z[eb]=fb;ab(fb);if(aa.endpoint==eb&&ca==aa.node){za().hide();ya(fb);va(fb);}},getDialog:function(eb){return z[eb];},contains:function(eb){if(ea)return l.containsIncludingLayers(ea.getContentRoot(),eb);return false;},dirty:function(eb){var fb=z[eb];if(fb){fb.destroy();delete z[eb];}},dirtyAll:function(){for(var eb in z){var fb=z[eb];fb&&db.dirty(eb);}h.inform('Hovercard/dirty');},processNode:function(eb){if(eb&&pa(eb)){sa(eb);return true;}return false;},setDirtyAllOnPageTransition:function(eb){cb=eb;},getLoadingDelay:function(){return ha;},getHideDelay:function(){return ia;}};(function(){n.listen(document.documentElement,'mouseover',oa);n.listen(window,'scroll',function(){if(ba&&s.isFixed(ba))db.hide(true);});h.subscribe('page_transition',function(){ua();cb&&db.dirtyAll();},h.SUBSCRIBE_NEW);})();e.exports=db;},null);
__d("LegacyContextualDialog",["Arbiter","ArbiterMixin","ARIA","Bootloader","ContextualDialogFooterLink","ContextualThing","CSS","DataStore","DOM","Event","LayerAutoFocus","LayerRefocusOnHide","Locale","Overlay","Parent","Style","Vector","$","copyProperties","getOverlayZIndex","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();for(var ba in t)if(t.hasOwnProperty(ba))da[ba]=t[ba];var ca=t===null?null:t.prototype;da.prototype=Object.create(ca);da.prototype.constructor=da;da.__superConstructor__=t;function da(){"use strict";if(t!==null)t.apply(this,arguments);}da.prototype._configure=function(ea,fa){"use strict";ca._configure.call(this,ea,fa);var ga=this.getRoot(),ha=n.get.bind(null,ga);this.setAlignH(ha('alignh','left'));this.setOffsetX(ha('offsetx',0));this.setOffsetY(ha('offsety',0));this.setPosition(ha('position','above'));this._hasFooter=ha('hasfooter',false);if(this._hasFooter){var ia=o.scry(ga,'.uiContextualDialogFooterLink')[0];ia&&this.enableBehavior(k);}this.enableBehaviors(this._getDefaultBehaviors());this._setContextSubscription=this.subscribe('beforeshow',function(){this.unsubscribe(this._setContextSubscription);this._setContextSubscription=null;var ka=ha('context');if(ka){this.setContext(x(ka));}else{ka=ha('contextselector');if(ka)this.setContext(o.find(document,ka));}}.bind(this));this._content=o.scry(ga,'.uiContextualDialogContent')[0];if(this._content){this._content.setAttribute('role','dialog');var ja=o.scry(this._content,'.legacyContextualDialogTitle')[0];if(ja)this._content.setAttribute('aria-labelledby',o.getID(ja));}this._showSubscription=this.subscribe('show',function(){var ka=aa(this.updatePosition,this);this._resizeListener=p.listen(window,'resize',ka);this._reflowSubscription=g.subscribe('reflow',ka);this._setupScrollListener(this._scrollParent);l.register(ga,this.context);g.inform('layer_shown',{type:'ContextualDialog'});}.bind(this));this._hideSubscription=this.subscribe('hide',function(){this._teardownResizeAndReflowListeners();this._teardownScrollListener();g.inform('layer_hidden',{type:'ContextualDialog'});}.bind(this));return this;};da.prototype._getDefaultBehaviors=function(){"use strict";return ca._getDefaultBehaviors.call(this).concat([q,r]);};da.prototype._buildWrapper=function(ea,fa){"use strict";var ga=ca._buildWrapper.call(this,ea,fa);if(!this._shouldBuildWrapper)return ga;m.addClass(ga,'uiContextualDialog');return o.create('div',{className:'uiContextualDialogPositioner'},ga);};da.prototype.setWidth=function(ea){"use strict";this._width=Math.floor(ea);return this;};da.prototype.setFixed=function(ea){"use strict";ea=!!ea;m.conditionClass(this.getRoot(),'uiContextualDialogFixed',ea);this._fixed=ea;return this;};da.prototype.setAlignH=function(ea){"use strict";this.alignH=ea;this._updateAlignmentClass();this._shown&&this.updatePosition();this.position&&this._updateArrow();return this;};da.prototype.getContent=function(){"use strict";return this._content;};da.prototype.getContext=function(){"use strict";return this.context;};da.prototype.setContext=function(ea){"use strict";if(this._setContextSubscription){this.unsubscribe(this._setContextSubscription);this._setContextSubscription=null;}ea=x(ea);if(this.context&&this.context!=ea)n.remove(this.context,'LegacyContextualDialog');this.context=ea;i.setPopup(this.getCausalElement(),this.getRoot());var fa=u.byClass(ea,'fbPhotoSnowlift');this.setInsertParent(fa||document.body);if(this._scrollListener&&this._scrollParent!==fa){this._teardownScrollListener();this._setupScrollListener(fa);}this._scrollParent=fa;var ga=z(ea,this._insertParent);v.set(this.getRoot(),'z-index',ga>200?ga:'');n.set(this.context,'LegacyContextualDialog',this);return this;};da.prototype.getCausalElement=function(){"use strict";return ca.getCausalElement.call(this)||this.context;};da.prototype.listen=function(ea,fa){"use strict";return p.listen(this.getRoot(),ea,fa);};da.prototype.setOffsetX=function(ea){"use strict";this.offsetX=parseInt(ea,10)||0;this._shown&&this.updatePosition();return this;};da.prototype.setOffsetY=function(ea){"use strict";this.offsetY=parseInt(ea,10)||0;this._shown&&this.updatePosition();return this;};da.prototype.setPosition=function(ea){"use strict";this.position=ea;for(var fa in da.POSITION_TO_CLASS)m.conditionClass(this.getRoot(),da.POSITION_TO_CLASS[fa],ea==fa);this._updateAlignmentClass();this._shown&&this.updatePosition();this._updateArrow();return this;};da.prototype.updatePosition=function(){"use strict";if(!this.context)return false;if(this._width)v.set(this._overlay,'width',this._width+'px');var ea=this._fixed?'viewport':'document',fa=w.getElementPosition(this.context,ea),ga=this._scrollParent;if(ga)fa=fa.sub(w.getElementPosition(ga,'document')).add(ga.scrollLeft,ga.scrollTop);var ha=w.getElementDimensions(this.context),ia=this.position=='above'||this.position=='below',ja=s.isRTL();if((this.position=='right'||(ia&&this.alignH=='right'))!=ja)fa=fa.add(ha.x,0);if(this.position=='below')fa=fa.add(0,ha.y);var ka=new w(0,0);if(ia&&this.alignH=='center'){ka=ka.add((ha.x-this._width)/2,0);}else{var la=ia?ha.x:ha.y,ma=2*da.ARROW_INSET;if(la<ma){var na=la/2-da.ARROW_INSET;if(ia&&(this.alignH=='right'!=ja))na=-na;ka=ka.add(ia?na:0,ia?0:na);}}ka=ka.add(this.offsetX,this.offsetY);if(ja)ka=ka.mul(-1,1);fa=fa.add(ka);if(this._fixed)fa=new w(fa.x,fa.y,'document');fa.setElementPosition(this.getRoot());this._adjustVerticalPosition();this._adjustHorizontalPosition();return true;};da.prototype.scrollTo=function(){"use strict";if(this.context)j.loadModules(["DOMScroll"],function(ea){ea.scrollTo(this.context,true,true);}.bind(this));};da.prototype.destroy=function(){"use strict";this.unsubscribe(this._showSubscription);this.unsubscribe(this._hideSubscription);if(this._setContextSubscription){this.unsubscribe(this._setContextSubscription);this._setContextSubscription=null;}this._teardownScrollListener();this._teardownResizeAndReflowListeners();this.context&&n.remove(this.context,'LegacyContextualDialog');ca.destroy.call(this);};da.prototype._adjustVerticalPosition=function(){"use strict";if(this.position!='left'&&this.position!='right'){v.set(this._overlay,'top','');return;}var ea=this.getRoot(),fa=w.getElementPosition(ea,'viewport').y,ga=w.getElementDimensions(this._overlay).y,ha=w.getViewportDimensions().y,ia=Math.min(Math.max(fa,da.MIN_TOP_GAP),da.TOP_MARGIN),ja=Math.min(Math.max(0,fa+ga+da.BOTTOM_MARGIN-ha),Math.max(-ia,fa-ia),ga-2*da.ARROW_INSET);v.set(this._overlay,'top',(-1*ja)+'px');v.set(this._arrow,'top',da.ARROW_OFFSET+'px');v.set(this._arrow,'marginTop',ja+'px');};da.prototype._adjustHorizontalPosition=function(){"use strict";if((this.position!='above'&&this.position!='below')||this.alignH!='left'){v.set(this._overlay,'left','');v.set(this._overlay,'right','');return;}var ea=this.getRoot(),fa=w.getElementPosition(ea,'viewport').x,ga=w.getElementDimensions(this._overlay).x,ha=w.getViewportDimensions().x,ia=s.isRTL(),ja;if(!ia){ja=fa+ga+da.RIGHT_MARGIN-ha;}else ja=da.LEFT_MARGIN+ga-fa;ja=Math.min(Math.max(0,ja),ga-2*da.ARROW_INSET);v.set(this._overlay,ia?'right':'left',-1*ja+'px');v.set(this._arrow,ia?'right':'left',da.ARROW_OFFSET+'px');v.set(this._arrow,ia?'marginRight':'marginLeft',ja+'px');};da.prototype._updateArrow=function(){"use strict";var ea=0;if(this.position=='above'||this.position=='below')switch(this.alignH){case 'center':ea=50;break;case 'right':ea=100;break;}this._renderArrow(da.POSITION_TO_ARROW[this.position],ea);};da.prototype._renderArrow=function(ea,fa){"use strict";for(var ga in da.ARROW_CLASS)m.conditionClass(this._overlay,da.ARROW_CLASS[ga],ea==ga);m.conditionClass(this._overlay,'uiContextualDialogWithFooterArrowBottom',ea=='bottom'&&this._hasFooter);if(ea=='none')return;if(!this._arrow){this._arrow=o.create('i',{className:'uiContextualDialogArrow'});o.appendContent(this._overlay,this._arrow);}v.set(this._arrow,'top','');v.set(this._arrow,'left','');v.set(this._arrow,'right','');v.set(this._arrow,'margin','');var ha=ea=='top'||ea=='bottom',ia=ha?(s.isRTL()?'right':'left'):'top';fa=fa||0;v.set(this._arrow,ia,fa+'%');var ja=da.ARROW_LENGTH+da.ARROW_OFFSET*2,ka=-(ja*fa/100-da.ARROW_OFFSET);v.set(this._arrow,'margin-'+ia,ka+'px');};da.prototype._updateAlignmentClass=function(){"use strict";m.conditionClass(this.getRoot(),da.RIGHT_ALIGNED_CLASS,(this.position=='above'||this.position=='below')&&this.alignH=='right');};da.prototype._setupScrollListener=function(ea){"use strict";this._scrollListener=p.listen(ea||window,'scroll',aa(this._adjustVerticalPosition,this));};da.prototype._teardownScrollListener=function(){"use strict";if(this._scrollListener){this._scrollListener.remove();this._scrollListener=null;}};da.prototype._teardownResizeAndReflowListeners=function(){"use strict";if(this._resizeListener){this._resizeListener.remove();this._resizeListener=null;}if(this._reflowSubscription){this._reflowSubscription.unsubscribe();this._reflowSubscription=null;}};da.getInstance=function(ea){"use strict";var fa=n.get(ea,'LegacyContextualDialog');if(!fa){var ga=u.byClass(ea,'uiOverlay');if(ga)fa=n.get(ga,'overlay');}return fa;};y(da,h,{ARROW_OFFSET:15,ARROW_LENGTH:16,ARROW_INSET:22,TOP_MARGIN:50,BOTTOM_MARGIN:30,LEFT_MARGIN:15,RIGHT_MARGIN:30,MIN_TOP_GAP:5,POSITION_TO_CLASS:{above:'uiContextualDialogAbove',below:'uiContextualDialogBelow',left:'uiContextualDialogLeft',right:'uiContextualDialogRight'},RIGHT_ALIGNED_CLASS:'uiContextualDialogRightAligned',ARROW_CLASS:{bottom:'uiContextualDialogArrowBottom',top:'uiContextualDialogArrowTop',right:'uiContextualDialogArrowRight',left:'uiContextualDialogArrowLeft'},POSITION_TO_ARROW:{above:'bottom',below:'top',left:'right',right:'left'}});y(da.prototype,{_scrollListener:null,_scrollParent:null,_width:null,_fixed:false,_hasFooter:false,_showSubscription:null,_hideSubscription:null,_setContextSubscription:null,_resizeListener:null,_reflowSubscription:null});e.exports=da;},null);
__d("VideoAutoplayPlayButton",["CSS","Event","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={},k={getClicked:function(l){if(j.hasOwnProperty(l))return j[l].clicked;return false;},register:function(l,m,n){j[l]=h.listen(m,'click',function(){g.removeClass(m,"_5vos");g.show(n);j[l].clicked=true;});},unregister:function(l){if(j.hasOwnProperty(l))j[l].remove();}};e.exports=k;},null);
__d("VideosRenderingInstrumentation",["DataStore"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={storeRenderTime:function(i){var j=Date.now();g.set(i,'videos_rendering_instrumentation',j);return j;},retrieveRenderTime:function(i){var j=g.get(i,'videos_rendering_instrumentation',NaN);if(Number.isNaN(j))j=h.storeRenderTime(i);return j;}};e.exports=h;},null);
__d("XPrivacyCustomDialogController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/privacy\/custom_dialog\/",{id:{type:"String",required:true},option_id:{type:"String",required:true},autosave:{type:"Bool",defaultValue:false},explain_tags:{type:"Bool",defaultValue:false},limit_community:{type:"Bool",defaultValue:false},limit_facebook:{type:"Bool",defaultValue:false},limit_fof:{type:"Bool",defaultValue:false},limit_tagexpand:{type:"Bool",defaultValue:false},is_new_privacy_selector:{type:"Bool",defaultValue:false},render_location:{type:"Int"},content_type:{type:"String"},post_param:{type:"String"},privacy_data:{type:"String"},source:{type:"String"},tags:{type:"IntVector"},tag_expansion_button:{type:"String"},__asyncDialog:{type:"Int"}});},null);
__d("XPrivacyRemindersDismissController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/privacy\/reminders\/dismiss\/",{type:{type:"String",required:true},log_plite:{type:"Bool",defaultValue:false}});},null);