if (self.CavalryLogger) { CavalryLogger.start_js(["dDIo31u"]); } __d("cometMisinformationLinkDetectorPluginInternalStateReducerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="3838573716230438"}),null); __d("cometMisinformationLinkDetectorPluginInternalStateReducerQuery.graphql",["cometMisinformationLinkDetectorPluginInternalStateReducerQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"params",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e=[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g=[f];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"cometMisinformationLinkDetectorPluginInternalStateReducerQuery",selections:[{alias:null,args:c,concreteType:"LinkPreviewRoot",kind:"LinkedField",name:"link_preview",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"composer_post_confirmation_renderer",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometMisinformationLinkComposerConfirmationDialog_confirmationRenderer"}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"cometMisinformationLinkDetectorPluginInternalStateReducerQuery",selections:[{alias:null,args:c,concreteType:"LinkPreviewRoot",kind:"LinkedField",name:"link_preview",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"composer_post_confirmation_renderer",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"cid",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title_for_comet",plural:!1,selections:e,storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"description_for_comet",plural:!1,selections:e,storageKey:null},{alias:null,args:null,concreteType:"ManualFactCheck",kind:"LinkedField",name:"fact_checks",plural:!0,selections:[f,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:e,storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"subtitle",plural:!1,selections:e,storageKey:null},{alias:null,args:null,concreteType:"FactCheckProvider",kind:"LinkedField",name:"provider",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"external_uri",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"attachment_thumbnail",plural:!1,selections:[d,{alias:null,args:[{kind:"Literal",name:"height",value:60},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:60}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:g,type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:g,type:"GenericAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:g,type:"MontageImage",abstractKey:null},{kind:"InlineFragment",selections:g,type:"MontageVideo",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_show_page_admin_warning",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_show_rating_badge",storageKey:null}],type:"MisinformationComposerPostConfirmationRenderer",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("cometMisinformationLinkDetectorPluginInternalStateReducerQuery_facebookRelayOperation"),metadata:{},name:"cometMisinformationLinkDetectorPluginInternalStateReducerQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("createFeedComposerCometHashtagDataEntry_data.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"context"},{kind:"RootArgument",name:"scopeID"}],kind:"Fragment",metadata:{mask:!1},name:"createFeedComposerCometHashtagDataEntry_data",selections:[{alias:null,args:null,concreteType:"Hashtag",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:[{kind:"Variable",name:"callsite",variableName:"context"},{kind:"Variable",name:"scope_id",variableName:"scopeID"}],kind:"ScalarField",name:"typeahead_snippets",storageKey:null}],storageKey:null}],type:"TypeaheadHashtagResultV2",abstractKey:null};e.exports=a}),null); __d("useFeedComposerCometHashtagTypeaheadDataSourceQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="3801416233290055"}),null); __d("useFeedComposerCometHashtagTypeaheadDataSourceQuery.graphql",["useFeedComposerCometHashtagTypeaheadDataSourceQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"context"},c={defaultValue:!1,kind:"LocalArgument",name:"includeImageUrls"},d={defaultValue:!1,kind:"LocalArgument",name:"includeMetatext"},e={defaultValue:null,kind:"LocalArgument",name:"limit"},f={defaultValue:null,kind:"LocalArgument",name:"query"},g={defaultValue:null,kind:"LocalArgument",name:"scopeID"},h={defaultValue:null,kind:"LocalArgument",name:"sessionID"},i={kind:"Variable",name:"scope_id",variableName:"scopeID"};i=[{alias:null,args:[{fields:[{kind:"Variable",name:"context",variableName:"context"},{kind:"Variable",name:"include_image_urls",variableName:"includeImageUrls"},{kind:"Variable",name:"include_metatext",variableName:"includeMetatext"},{kind:"Variable",name:"limit",variableName:"limit"},{kind:"Variable",name:"query",variableName:"query"},i,{kind:"Variable",name:"session_id",variableName:"sessionID"}],kind:"ObjectValue",name:"argument"}],concreteType:"TypeaheadHashtagResultV2",kind:"LinkedField",name:"hashtag_typeahead_v2",plural:!0,selections:[{alias:null,args:null,concreteType:"Hashtag",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:[{kind:"Variable",name:"callsite",variableName:"context"},i],kind:"ScalarField",name:"typeahead_snippets",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[a,c,d,e,f,g,h],kind:"Fragment",metadata:null,name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",selections:i,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[f,h,e,a,c,d,g],kind:"Operation",name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",selections:i},params:{id:b("useFeedComposerCometHashtagTypeaheadDataSourceQuery_facebookRelayOperation"),metadata:{},name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("composerPreAttachmentAreaReducer",["CometComposerPreAttachmentPluginTypes","JSResourceForInteraction","composerCommunityQAPluginEligibilityChecker"],(function(a,b,c,d,e,f,g){"use strict";b={COMMUNITY_QA:c("JSResourceForInteraction")("composerCommunityQAPostTransform").__setRef("composerPreAttachmentAreaReducer"),FUN_FACT:c("JSResourceForInteraction")("composerFunFactsTransform").__setRef("composerPreAttachmentAreaReducer"),WORK_SUMMARY:c("JSResourceForInteraction")("composerSummaryTransform").__setRef("composerPreAttachmentAreaReducer")};function a(a,b){var e,f;e=(e=a.attachmentArea)==null?void 0:e.activeAttachmentType;var g=b.preAttachmentType===c("CometComposerPreAttachmentPluginTypes").COMMUNITY_QA&&!d("composerCommunityQAPluginEligibilityChecker").isAttachmentCompatible(e);switch(b.type){case"ACTIVATE_PRE_ATTACHMENT_TYPE":return((f=a.preAttachmentArea)==null?void 0:f.activePreAttachmentType)===b.preAttachmentType?a:babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:g?void 0:e}),preAttachmentArea:babelHelpers["extends"]({},a.preAttachmentArea,{activePreAttachmentType:b.preAttachmentType})});case"REMOVE_PRE_ATTACHMENT_TYPE":return((f=a.preAttachmentArea)==null?void 0:f.activePreAttachmentType)!==b.preAttachmentType?a:babelHelpers["extends"]({},a,{preAttachmentArea:babelHelpers["extends"]({},a.preAttachmentArea,{activePreAttachmentType:null})})}return a}g.transformerResourceForPreAttachmentType=b;g.composerPreAttachmentAreaReducer=a}),98); __d("getActiveAttachmentTransformer",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b===void 0&&(b=!1);return b?null:h[a]}var h={AMA:c("JSResourceForInteraction")("composerFeedAMATransform").__setRef("getActiveAttachmentTransformer"),ANIMATED_IMAGE:c("JSResourceForInteraction")("composerAnimatedImageTransform").__setRef("getActiveAttachmentTransformer"),COMPANY_POLL:c("JSResourceForInteraction")("pollAttachmentAreaFeedTransform").__setRef("getActiveAttachmentTransformer"),DISCUSSION_POST:c("JSResourceForInteraction")("composerDiscussionPostTransform").__setRef("getActiveAttachmentTransformer"),FB_NOTE:c("JSResourceForInteraction")("composerFBNotePostTransform").__setRef("getActiveAttachmentTransformer"),FILE:c("JSResourceForInteraction")("groupCometComposerUploadFileTransformer").__setRef("getActiveAttachmentTransformer"),GET_MESSAGES:c("JSResourceForInteraction")("composerGetMessagesTransform").__setRef("getActiveAttachmentTransformer"),GET_WHATSAPP_MESSAGES:c("JSResourceForInteraction")("composerGetWhatsAppMessagesTransform").__setRef("getActiveAttachmentTransformer"),KNOWLEDGE_COLLECTION:c("JSResourceForInteraction")("composerKnowledgeCollectionTransform").__setRef("getActiveAttachmentTransformer"),KNOWLEDGE_NOTE:c("JSResourceForInteraction")("composerKnowledgeNoteTransform").__setRef("getActiveAttachmentTransformer"),LIFE_EVENT:c("JSResourceForInteraction")("composerMajorLifeEventsTransform").__setRef("getActiveAttachmentTransformer"),LINK:c("JSResourceForInteraction")("linkAttachmentAreaFeedTransform").__setRef("getActiveAttachmentTransformer"),LOCATION:c("JSResourceForInteraction")("composerLocationAttachmentAreaTransform").__setRef("getActiveAttachmentTransformer"),MEDIA:c("JSResourceForInteraction")("mediaAttachmentAreaTransform").__setRef("getActiveAttachmentTransformer"),NEON:c("JSResourceForInteraction")("composerPrayerTransform").__setRef("getActiveAttachmentTransformer"),PAID_CONTENT:c("JSResourceForInteraction")("mediaAttachmentAreaTransform").__setRef("getActiveAttachmentTransformer"),PHOTO3D:c("JSResourceForInteraction")("cometComposerPhoto3dAttachmentTransform").__setRef("getActiveAttachmentTransformer"),POLL:c("JSResourceForInteraction")("pollAttachmentAreaFeedTransform").__setRef("getActiveAttachmentTransformer"),QUILT:c("JSResourceForInteraction")("composerQuiltsPostTransform").__setRef("getActiveAttachmentTransformer"),SHARE:c("JSResourceForInteraction")("linkAttachmentAreaFeedTransform").__setRef("getActiveAttachmentTransformer"),SHARE_CANDIDATE:c("JSResourceForInteraction")("geminiComposerShareCandidateTransform").__setRef("getActiveAttachmentTransformer"),SHARE_WITH_FILTER:c("JSResourceForInteraction")("linkAttachmentAreaFeedTransform").__setRef("getActiveAttachmentTransformer"),SHIFT_COVER:c("JSResourceForInteraction")("composerShiftCoverTransform").__setRef("getActiveAttachmentTransformer"),VIDEO_MEETUP:c("JSResourceForInteraction")("composerRoomTransform").__setRef("getActiveAttachmentTransformer"),WOODHENGE_SUPPORT:c("JSResourceForInteraction")("composerWoodhengeSupportTransform").__setRef("getActiveAttachmentTransformer"),WORK_CHECKLIST:c("JSResourceForInteraction")("workChecklistAttachmentTransform").__setRef("getActiveAttachmentTransformer"),WORK_MULTI_ATTACHMENTS:c("JSResourceForInteraction")("composerWorkMultiAttachmentsTransform").__setRef("getActiveAttachmentTransformer")};g["default"]=a}),98); __d("cometMediaEditorCanEditWithAnyToolEligibilityChecker",["gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=c("gkx")("1923549");function a(a,b){if(b!=null){var c;c=((c=b==null?void 0:b.length)!=null?c:0<=a.index)?b[a.index]:b[0];b=i(c,a.isOnVideoLiteComposer);if(b==null)return{ALL:null}}return{}}function i(a,b){if(a==null)return;if(a.fileType==="VIDEO"&&a.state==="PREEXISTING"&&!b&&!c("gkx")("1915661"))return;if(a.fileType==="VIDEO"&&(!b&&!h))return;if(a.fileType!=="VIDEO"&&a.fileType!=="PHOTO")return;if(a.state!=="UPLOADED"&&a.state!=="UPLOADING"&&a.state!=="PREEXISTING")return;return a}g.cometMediaEditorCanEditWithAnyToolEligibilityChecker=a;g.validateMediaForAnyMutations=i}),98); __d("mediaAttachmentAreaTransform",["Promise","cometMediaEditorCanEditWithAnyToolEligibilityChecker","promiseDone","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("ComposerTelemetryFalcoEvent").__setRef("mediaAttachmentAreaTransform");function a(a,d,e){var f=[];for(var g in a.mediaUploadStatuses)f.push(a.mediaUploadStatuses[g].onFileComplete);h.onReady(function(b){return b.log(function(){var b;return{call_site:"mediaAttachmentAreaFeedTransform",creation_session_id:(b=a.creationSessionID)!=null?b:"",debug_info:"num_media:"+f.length,event:"waitingOnMediaComplete"}})});c("promiseDone")(b("Promise").all(f).then(function(b){h.onReady(function(c){return c.log(function(){var c;return{call_site:"mediaAttachmentAreaFeedTransform",creation_session_id:(c=a.creationSessionID)!=null?c:"",debug_info:"num_media:"+b.length,event:"finishedWaitingOnMediaComplete"}})}),e(babelHelpers["extends"]({},d,{attachments:b.map(function(b){var c=b.attachmentID;if(b.attachmentType==="PHOTO")return{photo:babelHelpers["extends"]({id:c},i(c,a.mediaAttachments))};if(b.attachmentType==="VIDEO")return{video:babelHelpers["extends"]({id:c},j(c,a.mediaAttachments),{notify_when_processed:!0})}})}))}));return}function i(a,b){b=((b=b)!=null?b:[]).find(function(b){var c;b=d("cometMediaEditorCanEditWithAnyToolEligibilityChecker").validateMediaForAnyMutations(b,!1);return(b==null?void 0:(c=b.data)==null?void 0:c.id)===a||(b==null?void 0:b.fileType)==="PHOTO"&&(b==null?void 0:b.originalEntID)===a});if(b!=null&&b.fileType==="PHOTO"&&((b==null?void 0:b.state)==="UPLOADED"||(b==null?void 0:b.state)==="PREEXISTING")){var c;c=k(b==null?void 0:(c=b.data)==null?void 0:c.tags);return babelHelpers["extends"]({},b.data,{tags:c})}else return null}function j(a,b){b=((b=b)!=null?b:[]).find(function(b){var c;return(b==null?void 0:(c=b.data)==null?void 0:c.id)===a||(b==null?void 0:b.state)==="UPLOADED"&&(b==null?void 0:b.fileType)==="VIDEO"&&(b==null?void 0:b.entID)===a});if(b!=null&&b.fileType==="VIDEO"&&((b==null?void 0:b.state)==="UPLOADED"||(b==null?void 0:b.state)==="PREEXISTING"))return babelHelpers["extends"]({},b.data);else return null}function k(a){if(a==null)return;return a.map(function(a){if(a!=null){var b,c;b={id:(b=a.taggee)==null?void 0:b.id};c=(c=a.taggee)==null?void 0:(c=c.metadata)==null?void 0:c.product_tag_type;if(c!=null){var d;b={id:(d=a.taggee)==null?void 0:d.id,metadata:{product_tag_type:c}}}return babelHelpers["extends"]({},a,{taggee:babelHelpers["extends"]({},b)})}})}g["default"]=a}),98); __d("genCreationDataTransformersFromFeatureDefinitions",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){if(b.useFeatureDefinitions===!0&&a!=null){a=[].concat(a.attachments);a=a.reduce(function(a,c){var d;switch(c.featureType){case"READ_ONLY_ATTACHMENT":case"ATTACHMENT":c.attachmentType===((d=b.attachmentArea)==null?void 0:d.activeAttachmentType)&&a.push(c.creationDataTransformerModule.load());break;default:break}return a},[]);return a}else return[]}f["default"]=a}),66); __d("UnpublishedContentTypeApiEnum",[],(function(a,b,c,d,e,f){a=Object.freeze({SCHEDULED:"SCHEDULED",SCHEDULED_RECURRING:"SCHEDULED_RECURRING",DRAFT:"DRAFT",ADS_POST:"ADS_POST",INLINE_CREATED:"INLINE_CREATED",PREVIEW:"PREVIEW",VALIDATION:"VALIDATION",PUBLISHED:"PUBLISHED",REVIEWABLE_BRANDED_CONTENT:"REVIEWABLE_BRANDED_CONTENT"});f["default"]=a}),66); __d("ComposerStoryMutationLogging",["UnpublishedContentTypeApiEnum","cometComposerLogger","getJSEnumSafe","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){if(d.isComposerPostLogged===!0)return;b={composerEntryPointName:b.composer_entry_point,composerSourceSurface:b.composer_source_surface,composerType:b.composer_type,isNewsFeedSelected:!0,payload:d==null?void 0:d.payload,unpublishedContentType:b.unpublished_content_data&&c("getJSEnumSafe")(c("UnpublishedContentTypeApiEnum"),b.unpublished_content_data.unpublished_content_type)};c("cometComposerLogger")({fields:b,type:"COMPOSER_POST"},a);d.isComposerPostLogged=!0}function b(a){a=(a=a==null?void 0:(a=a.variables)==null?void 0:a.creationSessionID)!=null?a:"";a===""&&c("recoverableViolation")("Expected to provide a creationSessionID here","comet_composer");return a}g.logComposerPostAction=a;g.getCreationSessionId=b}),98); __d("getComposerLoggingPayload",["UnicodeUtils","cr:8483","getPlainTextFromDeferredDraftEditorState","qpl"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c;c=babelHelpers["extends"]({character:(a==null?void 0:a.editorState)!=null?h(a==null?void 0:a.editorState):0,location_tag:(a==null?void 0:(c=a.locationMinutiae)==null?void 0:c.placeID)!=null?1:0,photo:(a==null?void 0:a.mediaAttachments)!=null?i(a==null?void 0:a.mediaAttachments):0,qplEvent:a!=null?k(a):null},b("cr:8483")!=null?b("cr:8483")(a==null?void 0:a.editorState):null,{shared_link:(a==null?void 0:(c=a.linkAttachment)==null?void 0:c.url)!=null?1:0,text_background:0,video:(a==null?void 0:a.mediaAttachments)!=null?j(a==null?void 0:a.mediaAttachments):0});return c}function e(a){var b;b={character:(b=a==null?void 0:(b=a.satpData)==null?void 0:(b=b.text)==null?void 0:b.length)!=null?b:0,location_tag:0,photo:(a==null?void 0:a.mediaAttachments)!=null?i(a==null?void 0:a.mediaAttachments):0,qplEvent:null,shared_link:0,text_background:(a==null?void 0:(b=a.satpData)==null?void 0:b.fontID)==null?0:1,video:(a==null?void 0:a.mediaAttachments)!=null?j(a==null?void 0:a.mediaAttachments):0};return b}function h(a){a=c("getPlainTextFromDeferredDraftEditorState")(a);return d("UnicodeUtils").strlen(a)}function i(a){return a==null?0:a.filter(function(a){return a.fileType==="PHOTO"}).length}function j(a){return a==null?0:a.filter(function(a){return a.fileType==="VIDEO"}).length}function k(a){return a.photo3dAttachment!=null?c("qpl")._(37631558,"4977"):null}g.getFeedComposerLoggingPayload=a;g.getStoriesComposerLoggingPayload=e}),98); __d("MediaCancelledPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743938");c=b("FalcoLoggerInternal").create("media_cancelled_post_flow",a);e.exports=c}),null); __d("MediaFailedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743939");c=b("FalcoLoggerInternal").create("media_failed_post_flow",a);e.exports=c}),null); __d("MediaFinishedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743940");c=b("FalcoLoggerInternal").create("media_finished_post_flow",a);e.exports=c}),null); __d("MediaStartedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743941");c=b("FalcoLoggerInternal").create("media_started_post_flow",a);e.exports=c}),null); __d("VideoUploadLoggerEvents",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({EVENT_STARTED_GENERATE_THUMBNAILS:"upload.client.started_generate_thumbnails",EVENT_FINISHED_GENERATE_THUMBNAILS:"upload.client.finished_generate_thumbnails",EVENT_SELECTED_CUSTOM_THUMBNAIL:"upload.client.selected_custom_thumbnail",EVENT_VIDEO_DIMENSIONS_UNREADABLE:"upload.client.video_dimensions_unreadable",EVENT_REPLACE_VIDEO:"upload.client.replace_video",EVENT_STARTED_FLOW:"upload.client.started_flow",EVENT_FINISHED_FLOW:"upload.client.finished_flow",EVENT_FAILED_FLOW:"upload.client.failed_flow",EVENT_CANCELED_FLOW:"upload.client.canceled_flow",EVENT_RESIGNED_FLOW:"upload.client.resigned_flow",EVENT_REQUESTED_UPLOADING:"upload.client.requested_uploading",EVENT_INVALIDATED_UPLOADING:"upload.client.invalidated_uploading",EVENT_STARTED_UPLOADING:"upload.client.started_uploading",EVENT_PROGRESS_UPLOADING_START_REQUEST:"upload.client.progress_uploading_start_request",EVENT_FINISHED_UPLOADING:"upload.client.finished_uploading",EVENT_CANCELED_UPLOADING:"upload.client.canceled_uploading",EVENT_ABANDONED_UPLOADING:"upload.client.abandoned_uploading",EVENT_FAILED_UPLOADING:"upload.client.failed_uploading",EVENT_STARTED_SENDING_BYTES:"upload.client.started_sending_bytes",EVENT_FINISHED_SENDING_BYTES:"upload.client.finished_sending_bytes",EVENT_CANCELED_SENDING_BYTES:"upload.client.canceled_sending_bytes",EVENT_FAILED_SENDING_BYTES:"upload.client.failed_sending_bytes",EVENT_STARTED_START_REQUEST:"upload.client.started_sending_start_request",EVENT_FINISHED_START_REQUEST:"upload.client.finished_sending_start_request",EVENT_FAILED_START_REQUEST:"upload.client.failed_sending_start_request",EVENT_CANCELED_START_REQUEST:"upload.client.canceled_sending_start_request",EVENT_STARTED_RECEIVE_REQUEST:"upload.client.started_sending_receive_request",EVENT_FINISHED_RECEIVE_REQUEST:"upload.client.finished_sending_receive_request",EVENT_FAILED_RECEIVE_REQUEST:"upload.client.failed_sending_receive_request",EVENT_STARTED_POST_REQUEST:"upload.client.started_sending_post_request",EVENT_FINISHED_POST_REQUEST:"upload.client.finished_sending_post_request",EVENT_FAILED_POST_REQUEST:"upload.client.failed_sending_post_request",EVENT_HANDLING_SERVER_FAILURE_RESPONSE:"upload.client.handling_server_failure_response",EVENT_HANDLING_TRANSPORT_FAILURE_RESPONSE:"upload.client.handling_transport_failure_response",EVENT_DUPLICATE_POST_REQUEST:"upload.client.duplicate_post_request",EVENT_STARTED_SENDING_CHUNK_BYTES:"upload.client.started_sending_chunk_bytes",EVENT_FINISHED_SENDING_CHUNK_BYTES:"upload.client.finished_sending_chunk_bytes",EVENT_CANCELED_SENDING_CHUNK_BYTES:"upload.client.canceled_sending_chunk_bytes",EVENT_FAILED_SENDING_CHUNK_BYTES:"upload.client.failed_sending_chunk_bytes",EVENT_TIMEOUT_SENDING_CHUNK_BYTES:"upload.client.timeout_sending_chunk_bytes",EVENT_STARTED_FETCHING_STATUS:"upload.client.started_fetching_status",EVENT_FINISHED_FETCHING_STATUS:"upload.client.finished_fetching_status",EVENT_STARTED_POST_FLOW:"upload.client.started_post_flow",EVENT_FINISHED_POST_FLOW:"upload.client.finished_post_flow",EVENT_CANCELED_POST_FLOW:"upload.client.canceled_post_flow",EVENT_FAILED_POST_FLOW:"upload.client.failed_post_flow",EVENT_RETRY_ATTEMPT:"upload.client.retry_attempt",EVENT_RESUMABLE_CALLED:"upload.client.resumable_called",EVENT_RESUMABLE_STARTED:"upload.client.resumable_started",EVENT_RESUMABLE_SUCCESS:"upload.client.resumable_success",EVENT_RESUMABLE_FAILED:"upload.client.resumable_failed",EVENT_ENCODING_START_OBSERVED:"encode.client.encoding_start_observed",EVENT_ENCODING_SUCCESS_OBSERVED:"encode.client.encoding_success_observed",EVENT_ENCODING_FAIL_OBSERVED:"encode.client.encoding_fail_observed",EVENT_ENCODING_ABORT_OBSERVED:"encode.client.encoding_abort_observed",EVENT_FETCH_FAIL_OBSERVED:"encode.client.fetch_video_info_fail_observed",EVENT_ENCODING_SUBSCRIBE_TO_VIDEO_STATUS:"encode.client.subscribe_to_video_status",EVENT_ENCODING_POLLING_FALLBACK:"encode.client.polling_fallback",EVENT_RECEIVED_RESPONSE:"upload.client.received_response",EVENT_STARTED_FLOW_EXP1:"upload.client.started_flow_exp1",EVENT_FINISHED_FLOW_EXP1:"upload.client.finished_flow_exp1",EVENT_CANCELED_FLOW_EXP1:"upload.client.canceled_flow_exp1",EVENT_MEASURE_FREE_LOCAL_STORAGE:"upload.client.free_local_storage"});f.VideoUploadLoggerEvents=a}),66); __d("MediaUploadCommonWwwFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1839305");c=b("FalcoLoggerInternal").create("media_upload_common_www",a);e.exports=c}),null); __d("VideoComposerDialogVersion",[],(function(a,b,c,d,e,f){a=Object.freeze({V1:"V1",V2:"V2"});f["default"]=a}),66); __d("VideoUploadSourceType",[],(function(a,b,c,d,e,f){a=Object.freeze({ADS_INTERFACES:"ads_interfaces",DIALOG:"dialog",COMPOSER:"composer",BIZ_COMPOSER:"biz_composer",VIDEO_COMPOSER_V2:"video_composer_v2",ADS_API:"ads_api",API:"api",APP_PROMO_VIDEO:"app_promo_video",APP_GAMEPLAY_VIDEO:"app_gameplay_video",APP_PROMO_VIDEO_AB_TEST:"app_promo_video_ab_test",APP_GAMEPLAY_VIDEO_AB_TEST:"app_gameplay_video_ab_test",APP_PROMO_VIDEO_LANDSCAPE:"app_promo_video_landscape",APP_PROMO_VIDEO_PORTRAIT:"app_promo_video_portrait",APP_PROMO_VIDEO_SQUARE:"app_promo_video_square",APP_GAMEPLAY_VIDEO_LANDSCAPE:"app_gameplay_video_landscape",APP_GAMEPLAY_VIDEO_PORTRAIT:"app_gameplay_video_portrait",APP_GAMEPLAY_VIDEO_SQUARE:"app_gameplay_video_square",ASPERA:"aspera",PIXELCLOUD:"pixelcloud",PROTON:"proton",PLATFORM:"platform",INSTANT_ARTICLE:"instant_article",INSTANT_APPLICATION_PREVIEW:"instant_application_preview",IS_REWARDS_ENABLED:"is_rewards_enabled",POWER_EDITOR:"power_editor",CAMPAIGN_MANAGER:"campaign_manager",CREATE_FLOW:"create_flow",VIDEO_BROADCAST:"video_broadcast",SVE_PIPELINE:"sve_pipeline",ALBUM_UPLOADER:"album_uploader",PROFILE_VIDEO:"profile_video",LEARN_VIDEO:"learn_video",BIRTHDAY_VIDEO:"birthday_video",NUX_MEDIA_TOOL:"nux_media_tool",LIVE_BROADCAST:"live_broadcast",CANVAS:"canvas",DYNAMIC_ITEM_DISPLAY_BUNDLE:"dynamic_item_display_bundle",GOODWILL_VIDEO:"goodwill_video",APP_REVIEW:"app_review",APP_REREVIEW:"app_rereview",APP_REREVIEW_SCREENCAST:"app_rereview_screencast",REFERENCE_FILE_COMPOSER:"reference_file_composer",PRODUCT_EDIT_TOOL:"product_edit_tool",SLIDESHOW:"slideshow",ISSUE_MODULE:"issue_module",TAROT_DIGEST:"tarot_digest",LEARN:"learn",PAGES_COVER_VIDEO:"pages_cover_video",AUDIENCE_NETWORK_VIDEO_SQUARE:"audience_network_video_square",EVENT_TOUR:"event_tour",EVENT_COVER_VIDEO:"event_cover_video",PAGE_TRAILER:"page_trailer",SHOW_VIDEO_LIBRARY:"show_video_library",GMS_HUB_ANNOUCEMENTS:"gms_hub_annoucements",LIVE_CREATIVE_KIT_VIDEO:"live_creative_kit_video",MESSENGER_GROUP_VIDEO:"messenger_group_video",P2P:"p2p",DYNAMIC_ITEM:"dynamic_item",AUDIO_STORY_VIDEO:"audio_story_video",IMAGE_OVERLAY_STORY_VIDEO:"image_overlay_story_video",REACTION_STORY:"inspiration_react_mode",SHOWREEL_VIDEO:"showreel_video",INSPIRATIONS:"inspirations",INSPIRATIONS_DIRECT:"inspirations-direct",BACKSTAGE:"backstage",FUNDRAISER_COVER_VIDEO:"fundraiser_cover_video",THIRD_PARTY_VIDEO:"third_party_video",NEWSFEED_COMPOSER:"newsfeed_composer",COMPPHOTO_GENERATED:"compphoto_generated",SIMPLE:"simple",ATTACH_PHOTOS:"attach_photos",COMMENT:"comment",REPLACE:"replace",PAGE_REVIEW:"page_review",WOODHENGE:"woodhenge",PROFILE_FEATURED:"profile_featured",INSTANT_GAMES_DVR:"instant_games_dvr",BCMP_PROFILE_PITCHDECK:"branded_content_profile_pitchdeck",MEDIA_MANAGER_INSTAGRAM_VIDEO_COMPOSER:"media_manager_instagram_video_composer",MEDIA_MANAGER_INSTAGRAM_VIDEO:"media_manager_instagram_video",OCULUS_CREATOR_PORTAL:"oculus_creator_portal",VR_CREATOR_STUDIO:"vr_creator_studio",INSTAGRAM_XPOST:"instagram_xpost",WHATSAPP_XPOST:"whatsapp_xpost",DIM_SUM:"dim_sum",VML_VIDEO_SUPERRES:"vml_video_superres_service",MEDIA_MANAGER_BULK_VIDEO_IMPORTER:"media_manager_bulk_video_importer",MARKETPLACE_COMPOSER:"marketplace_composer",MARKETPLACE_COMPOSER_PRE_RECORDED_VIDEO:"marketplace_composer_pre_recorded_video",SOUND_PLATFORM:"sound_platform",OPTIMISTIC_POST:"optimistic_post",WORKPLACE_KNOWLEDGE_LIBRARY:"workplace_knowledge_library",COPYRIGHT_INGESTION:"copyright_ingestion",CMS_MEDIA_MANAGER:"cms_media_manager",PREMIUM_MUSIC_VIDEO:"premium_music_video",BOOSTED_COMPONENT:"boosted_component",VISUAL_EDITOR:"visual_editor",GIF_LINK:"gif_link",SRT_ATTACHMENT:"srt_attachment",SOUNDBITES_VIDEO:"soundbites_video",VOICES_CREATOR_STUDIO:"voices_creator_studio",VOICES_ARTICLE:"voices_article",TPG:"tpg",BUSINESS_CREATIVE_ASSET_MANAGER:"business_creative_asset_manager",STAGES:"stages",ASSET_MANAGER:"asset_manager",PAID_CONTENT_DIALOG:"paid_content_dialog",CREATION_ML_PRECREATION:"creation_ml_precreation",PODCAST:"podcast"});f["default"]=a}),66); __d("WorkSharedDraftMode",[],(function(a,b,c,d,e,f){a=Object.freeze({DRAFTER_CREATING:"drafter_creating",FINAL_AUTHOR_EDITING:"final_author_editing"});f["default"]=a}),66); __d("logVideoUploadViaFalco",["FBLogger","MediaUploadCommonWwwFalcoEvent","VideoComposerDialogVersion","VideoUploadSourceType","WorkSharedDraftMode"],(function(a,b,c,d,e,f,g){"use strict";function h(){return c("FBLogger")("media_upload","media_upload_common_www")}function i(a){if(a==null)return void 0;else return String(a)}function j(a){if(a==null)return void 0;else if(a==="false"||a==="0")return!1;else return Boolean(a)}function k(a){try{if(a==null)return void 0;else{var b;typeof a==="number"?b=Number.isInteger(a)?a:Math.trunc(a):b=Number.parseInt(String(a),10);if(Number.isNaN(b)||!Number.isFinite(b))return void 0;else return String(b)}}catch(b){h().catching(b).warn("Value should be integer, but it was not - %s",String(a));return void 0}}function l(a){if(a==null)return void 0;else{a=Number(a);if(Number.isNaN(a)||!Number.isFinite(a))return void 0;else return a}}function m(a){if(a==null||typeof a!=="object")return void 0;else return a}function n(a,b){if(a!=null&&Object.values(b).indexOf(a)>=0)return a;else return void 0}function a(a){var b=i(a.waterfall_id);if(b==null){h().warn("Video upload event cannot be logged due missing waterfall_id: %s",String(a.waterfall_id));return}var d=n(a.source,c("VideoUploadSourceType"));if(d==null){h().warn("Video upload event cannot be logged due missing or invalid source type: %s (original: %s)",String(d),String(a.source));return}var e=i(a.event);if(e==null){h().warn("Video upload event cannot be logged due missing event field: %s",String(a.event));return}var f={waterfall_id:b,source:d,event:e,actor_id:i(a.actor_id),target_id:i(a.target_id),composer_entry_point_ref:i(a.composer_entry_point_ref),container_type:k(a.container_type),is_chunked_upload:j(a.is_chunked_upload),hinted_app_id:i(a.app_id),is_remote_upload:j(a.is_remote_upload),composer_dialog_version:n(a.composer_dialog_version,c("VideoComposerDialogVersion")),composer_work_shared_draft_mode:n(a.composer_work_shared_draft_mode,c("WorkSharedDraftMode")),elapsed_time:k(a.elapsed_time),error:i(a.error),error_inner:i(a.error_inner),error_code:k(a.error_code),error_description:i(a.error_description),error_summary:i(a.error_summary),error_trace:i(a.error_trace),source_height:k(a.source_height),source_width:k(a.source_width),duration:k(a.duration),file_size:k(a.file_size),has_file_been_replaced:j(a.has_file_been_replaced),composer_session_id:i(a.composer_session_id),retries:k(a.retries),server_retries:k(a.server_retries),asset_id:i(a.asset_id),file_can_read:j(a.file_can_read),application_state:i(a.application_state),upload_method:i(a.upload_method),upload_domain:i(a.upload_domain),hash:i(a.hash),hash_time:k(a.hash_time),hash_exception:i(a.hash_exception),video_id:i(a.video_id),upload_speed:l(a.upload_speed),skip_upload:j(a.skip_upload),trigger_time:i(a.trigger_time),ad_account_id:i(a.ad_account_id),video_original_file_path:i(a.video_original_file_path),event_reason:i(a.event_reason),retry_id:i(a.retry_id),internet_status:i(a.internet_status),network_status:i(a.network_status),is_spherical:j(a.is_spherical),file_extension:i(a.file_extension),sent_bytes:k(a.sent_bytes),start_offset:k(a.start_offset),transport_retries:k(a.transport_retries),timeout_retries:k(a.timeout_retries),request_manager_state:i(a.request_manager_state),debug:m(a.debug),creative_tools:i(a.creative_tools)};c("MediaUploadCommonWwwFalcoEvent").logCritical(function(){return f})}g["default"]=a}),98); __d("VideoUploadLogger",["Banzai","CurrentUser","VideoUploadLoggerEvents","VideoUploadLoggingConfig","logVideoUploadViaFalco"],(function(a,b,c,d,e,f,g){a=babelHelpers["extends"]({BANZAI_GK:"videos",BANZAI_ROUTE:"video_waterfall",SOURCE_SIMPLE:"simple",SOURCE_COMPOSER:"composer"},d("VideoUploadLoggerEvents").VideoUploadLoggerEvents);var h=new Set([d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_STARTED_FLOW,d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FINISHED_FLOW,d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FAILED_FLOW,d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_CANCELED_FLOW]);b=function(){function a(b){this.$1=b.source,this.$2=b.composer_dialog_version,this.$3=b.waterfall_id,this.$4=b.ad_account_id,this.$5=b.target_id,this.$6=b.delay,this.$7=[],this.$8=b.is_chunked_upload,this.$9=b.actor_id,this.$10=b.composer_entry_point_ref,this.$11=b.composer_work_shared_draft_mode,this.$12=b.is_remote_upload,this.$13=b.container_type,this.$14=b.has_file_been_replaced,this.$15=b.composer_session_id,this.$16=b.creative_tools,this.$17=b.asset_id,this.$18=c("CurrentUser").getAppID(),this.$19=!Boolean(b.reported_by_notifier)&&a.shouldSendFlowEventsViaNotifier({source_type:b.source,composer_entry_point_ref:b.composer_entry_point_ref})}a.shouldSendFlowEventsViaNotifier=function(a){return Boolean((c("VideoUploadLoggingConfig").FLOW_VIA_NOTIFIER_COMPOSERS||[]).find(function(b){return b.source_type===a.source_type&&b.composer_entry_point_ref===a.composer_entry_point_ref}))};var b=a.prototype;b.logEvent=function(a,b){if(this.$19&&h.has(a))return;b=babelHelpers["extends"]({},b);b.elapsed_time==null&&(a.indexOf("started")!==-1?this.$7[a]=Date.now():a.indexOf("finished")!==-1?b.elapsed_time=this.$20(a,"finished"):a.indexOf("canceled")!==-1?b.elapsed_time=this.$20(a,"canceled"):a.indexOf("failed")!==-1&&(b.elapsed_time=this.$20(a,"failed")));b.event=a;b.source=this.$1;b.composer_dialog_version=b.composer_dialog_version||this.$2;b.waterfall_id=this.$3;b.ad_account_id=this.$4;b.target_id=this.$5;b.is_chunked_upload=this.$8;b.actor_id=this.$9;b.composer_entry_point_ref=this.$10;b.composer_work_shared_draft_mode=this.$11;b.is_remote_upload=this.$12;b.container_type=this.$13;b.has_file_been_replaced=this.$14;b.trigger_time=Date.now();b.composer_session_id=this.$15;b.asset_id=this.$17;b.app_id=this.$18;c("logVideoUploadViaFalco")(b)};b.postOnShutdown=function(a){return c("Banzai").subscribe(c("Banzai").SHUTDOWN,a)};b.getWaterfallID=function(){return this.$3};b.$20=function(a,b){a=a.replace(b,"started");b=this.$7[a];return b?Date.now()-b:null};return a}();Object.assign(b,a);e=b;g["default"]=e}),98); __d("VideoUploadLoggerTyped",["VideoUploadLogger"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){return a.call(this,b)||this}return b}(c("VideoUploadLogger"));g.VideoUploadLogger=a}),98); __d("WaterfallIDGenerator",["CurrentUser","md5","uuid"],(function(a,b,c,d,e,f,g){function h(){var a=2147483647;return Math.random()*a}function i(){return Math.floor(Date.now()/1e3)}function a(){var a=c("md5")([c("CurrentUser").getID(),i(),h()].join(":"));if(a===null||a===void 0)return c("uuid")();else return a}g.generate=a}),98); __d("VideoUploadFlowNotifier",["Banzai","MediaCancelledPostFlowFalcoEvent","MediaFailedPostFlowFalcoEvent","MediaFinishedPostFlowFalcoEvent","MediaStartedPostFlowFalcoEvent","Run","SubscriptionsHandler","VideoUploadLoggerEvents","VideoUploadLoggerTyped","WaterfallIDGenerator"],(function(a,b,c,d,e,f,g){"use strict";var h=Object.freeze({SUCCESSFUL:"successful",FAILED:"failed",CANCELED:"canceled",REQUESTED:"requested",STARTED:"started"}),i=function(){function a(){this.$1={}}var b=a.prototype;b.registerUpload=function(a,b){var c={isStarted:!1,isUploaded:!1,isCanceled:!1,isFailed:!1};this.$1[String(b)]=c;a.subscribe("upload-started",function(){c.isStarted=!0});a.subscribe("upload-canceled",function(){c.isCanceled=!0});a.subscribe("upload-failed",function(){c.isFailed=!0});a.subscribe("upload-finished",function(){c.isUploaded=!0})};b.cancelUpload=function(a){a=this.$1[String(a)];a!=null&&(a.isCanceled=!0)};b.$2=function(a){if(a.isCanceled)return h.CANCELED;else if(a.isUploaded)return h.SUCCESSFUL;else if(a.isFailed)return h.FAILED;else if(a.isStarted)return h.STARTED;else return h.REQUESTED};b.areAnyVideosIncludedInPost=function(){var a=this,b=Object.keys(this.$1).map(function(b){return a.$2(a.$1[b])});return b.some(function(a){return a!==h.CANCELED})};b.getSummary=function(){var a=this,b=Object.keys(this.$1).map(function(b){return a.$2(a.$1[b])});return{total:b.length,successful:b.filter(function(a){return a===h.SUCCESSFUL}).length,started:b.filter(function(a){return a===h.STARTED}).length,canceled:b.filter(function(a){return a===h.CANCELED}).length,failed:b.filter(function(a){return a===h.FAILED}).length}};return a}(),j=function(){function a(){}var b=a.prototype;b.logFlowStarted=function(){};b.logFlowFinished=function(){};b.logFlowCanceled=function(){};b.logFlowFailed=function(){};b.release=function(){};return a}(),k=function(){function a(a,b){var e=this;this.$2=b;this.$1=a;this.$4=new Set();this.$3=new(c("SubscriptionsHandler"))();a.cancel_on_unload&&this.$3.addSubscriptions(c("Banzai").subscribe(c("Banzai").SHUTDOWN,function(){return e.$6("shutdown")}));a.cancel_on_leave&&this.$3.addSubscriptions(d("Run").onLeave(function(){return e.$6("leave")}))}var b=a.prototype;b.release=function(){this.$3.release()};b.$7=function(){var a=this.$2.getSummary(),b=this.$5;return{composer_session_id:this.$1.composer_session_id,source_type:this.$1.source,target_id:this.$1.target_id,target_type:this.$1.target_type,composer_entry_point_ref:this.$1.composer_entry_point_ref,total_uploads:a.total,started_uploads:a.started,successful_uploads:a.successful,canceled_uploads:a.canceled,failed_uploads:a.failed,elapsed_time:b!==null&&b!==void 0?Date.now()-b:null}};b.logFlowFinished=function(){var a=this;this.$4.has(c("MediaFinishedPostFlowFalcoEvent"))||(c("MediaFinishedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$4.add(c("MediaFinishedPostFlowFalcoEvent")))};b.logFlowStarted=function(){var a=this;this.$4.has(c("MediaStartedPostFlowFalcoEvent"))||(c("MediaStartedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$5=Date.now(),this.$4.add(c("MediaStartedPostFlowFalcoEvent")))};b.logFlowCanceled=function(){this.$6("user")};b.logFlowFailed=function(){var a=this;this.$4.has(c("MediaFailedPostFlowFalcoEvent"))||(c("MediaFailedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$4.add(c("MediaFailedPostFlowFalcoEvent")))};b.$6=function(a){var b=this;this.$4.has(c("MediaCancelledPostFlowFalcoEvent"))||(c("MediaCancelledPostFlowFalcoEvent").log(function(){return babelHelpers["extends"]({},b.$7(),{event_reason:a})}),this.$4.add(c("MediaCancelledPostFlowFalcoEvent")))};return a}(),l=function(){function a(a,b){var e=this;this.$1=b;this.$3=new Set();this.$4=new(d("VideoUploadLoggerTyped").VideoUploadLogger)({source:a.source,waterfall_id:a.composer_session_id,composer_session_id:a.composer_session_id,target_id:a.target_id,composer_entry_point_ref:a.composer_entry_point_ref,reported_by_notifier:!0});this.$2=new(c("SubscriptionsHandler"))();this.$2.addSubscriptions(this.$4.postOnShutdown(function(){return e.$5("shutdown")}));a.cancel_on_leave&&this.$2.addSubscriptions(d("Run").onLeave(function(){return e.$5("leave")}))}var b=a.prototype;b.release=function(){this.$2.release()};b.logFlowFinished=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FINISHED_FLOW)};b.logFlowStarted=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_STARTED_FLOW)};b.logFlowCanceled=function(){this.$5("user")};b.logFlowFailed=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FAILED_FLOW)};b.$6=function(a,b){if(!this.$3.has(a)){var c=this.$1.getSummary();this.$4.logEvent(a,babelHelpers["extends"]({},b,{debug:{total_uploads:c.total,started_uploads:c.started,successful_uploads:c.successful,canceled_uploads:c.canceled,failed_uploads:c.failed}}));this.$3.add(a)}};b.$5=function(a){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_CANCELED_FLOW,{event_reason:a})};return a}(),m=Object.freeze({UPLOAD_USER_REMOVED:"upload_removed"}),n=Object.freeze({POST_USER_CANCELED:"post_user_canceled",POST_USER_REQUESTED:"post_user_requested",POST_FAILED:"post_failed",POST_SUCCESSFUL:"post_successful"});function o(a){return a==null?d("WaterfallIDGenerator").generate():a}function a(a){if(a.extended_flow_logging_enabled)return new q(a);else return p.getInstance()}var p=function(){function a(){}a.getInstance=function(){return a.$1};var b=a.prototype;b.registerVideoUpload=function(a,b){return o(b)};b.notifyOnUploadAction=function(a){};b.notifyOnPostAction=function(a){};return a}();p.$1=new p();var q=function(){function a(a){this.$3=a,this.$5=new i(),this.$2=new j(),this.$1=!1,this.$4=a.composer_session_id==null?d("WaterfallIDGenerator").generate():a.composer_session_id}var b=a.prototype;b.$6=function(){var a=d("VideoUploadLoggerTyped").VideoUploadLogger.shouldSendFlowEventsViaNotifier({source_type:this.$3.source,composer_entry_point_ref:this.$3.composer_entry_point_ref});a=a?l:k;return new a({composer_entry_point_ref:this.$3.composer_entry_point_ref,source:this.$3.source,target_id:this.$3.target_id,target_type:this.$3.target_type,composer_session_id:this.$4,cancel_on_leave:this.$3.cancel_on_leave,cancel_on_unload:this.$3.cancel_on_unload===void 0||this.$3.cancel_on_unload===null?!0:this.$3.cancel_on_unload},this.$5)};b.registerVideoUpload=function(a,b){b=o(b);a.setComposerSessionID(this.$4);this.$5.registerUpload(a,b);return b};b.notifyOnUploadAction=function(a){switch(a.action){case m.UPLOAD_USER_REMOVED:this.$5.cancelUpload(a.trackingID);break}};b.notifyOnPostAction=function(a){switch(a.action){case n.POST_USER_REQUESTED:!this.$1&&this.$5.areAnyVideosIncludedInPost()&&(this.$2=this.$6(),this.$1=!0);this.$2.logFlowStarted();break;case n.POST_FAILED:this.$2.logFlowFailed();this.$2.release();break;case n.POST_SUCCESSFUL:this.$2.logFlowFinished();this.$2.release();this.$2=new j();break;case n.POST_USER_CANCELED:this.$2.logFlowCanceled();this.$2.release();break}};return a}();g.VideoUploadActions=m;g.VideoPostActions=n;g.createVideoUploadFlowNotifier=a;g.NoOpVideoUploadFlowNotifier=p}),98); __d("VideoUploadSurface",["$InternalEnum","VideoUploadFlowNotifier","WaterfallIDGenerator"],(function(a,b,c,d,e,f,g){"use strict";a=b("$InternalEnum")({JEST_TESTS:"jest_tests",COMMENTS:"comments",FEED:"feed"});var h=function(){function a(a){this.$1={},this.$2=a}var b=a.prototype;b.getByID=function(a){return this.$1[a]};b.getExistingOrNoOpByID=function(a){a=this.getByID(a);return a===void 0||a===null?this.$2.noOpProvider():a};b.register=function(a,b){b=b===null||b===void 0?d("WaterfallIDGenerator").generate():b;this.$1[b]=a;return b};b.clear=function(a){this.$1[a]=void 0};return a}();c=function(){function a(){this.$2=new h({noOpProvider:function(){return d("VideoUploadFlowNotifier").NoOpVideoUploadFlowNotifier.getInstance()}})}a.getOrCreate=function(b){var c=a.$1[b];(c===void 0||c===null)&&(c=new a(),a.$1[b]=c);return c};var b=a.prototype;b.notifiers=function(){return this.$2};return a}();c.$1={};g.VideoUploadSurfaceIDs=a;g.VideoUploadSurface=c}),98); __d("getIsOptimisticPreviewEnabled",["gkx"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.transformedMediaData;a=a.viewStateMediaData;var d=!1;if(b){d=((b=b)!=null?b:[]).some(function(a){return(a==null?void 0:a.video)!=null})}else if(a){d=((b=a)!=null?b:[]).some(function(a){return a.fileType==="VIDEO"})}return d?c("gkx")("768"):!1}g["default"]=a}),98); __d("generateOptimisticResponse",["CometRelay","JSResourceForInteraction","OptimisticLoadingTypeEnum","ServerTime","cometComposerLogger","cometUniqueID","getIsOptimisticPreviewEnabled"],(function(a,b,c,d,e,f,g){"use strict";var h=c("JSResourceForInteraction")("CometFeedUnitStoryStrategy.react").__setRef("generateOptimisticResponse"),i=c("JSResourceForInteraction")("CometFeedUnitStoryStrategy_feedUnit$normalization.graphql").__setRef("generateOptimisticResponse"),j=c("JSResourceForInteraction")("CometFeedStoryActorPhotoStrategy.react").__setRef("generateOptimisticResponse"),k=c("JSResourceForInteraction")("CometFeedStoryActorPhotoStrategy_actorPhoto$normalization.graphql").__setRef("generateOptimisticResponse"),l=c("JSResourceForInteraction")("CometFeedStoryDefaultContentStrategy.react").__setRef("generateOptimisticResponse"),m=c("JSResourceForInteraction")("CometFeedStoryDefaultContentStrategy_content$normalization.graphql").__setRef("generateOptimisticResponse"),n=c("JSResourceForInteraction")("CometFeedStoryLargeMessageRenderingStrategy_message$normalization.graphql").__setRef("generateOptimisticResponse"),o=c("JSResourceForInteraction")("CometFeedStoryLargeMessageRenderingStrategy.react").__setRef("generateOptimisticResponse"),p=c("JSResourceForInteraction")("CometFeedStoryMessageContainerRenderingStrategy_messageContainer$normalization.graphql").__setRef("generateOptimisticResponse"),q=c("JSResourceForInteraction")("CometFeedStoryMessageContainerRenderingStrategy.react").__setRef("generateOptimisticResponse"),r=c("JSResourceForInteraction")("CometFeedStoryDefaultLayoutStrategy_layout$normalization.graphql").__setRef("generateOptimisticResponse"),s=c("JSResourceForInteraction")("CometFeedStoryDefaultLayoutStrategy.react").__setRef("generateOptimisticResponse"),t=c("JSResourceForInteraction")("CometFeedStoryTimestampStrategy_timestamp$normalization.graphql").__setRef("generateOptimisticResponse"),u=c("JSResourceForInteraction")("CometFeedStoryTimestampStrategy.react").__setRef("generateOptimisticResponse"),v=c("JSResourceForInteraction")("CometFeedStoryTitleWithActorStrategy_contextTitle$normalization.graphql").__setRef("generateOptimisticResponse"),w=c("JSResourceForInteraction")("CometFeedStoryTitleWithActorStrategy.react").__setRef("generateOptimisticResponse"),x=c("JSResourceForInteraction")("CometFeedStoryDefaultContextLayoutStrategy_contextLayout$normalization.graphql").__setRef("generateOptimisticResponse"),y=c("JSResourceForInteraction")("CometFeedStoryDefaultContextLayoutStrategy.react").__setRef("generateOptimisticResponse");function a(a,b,e,f){var g,j=b==null?void 0:(g=b.message)==null?void 0:g.text,k=b==null?void 0:(g=b.attachments)==null?void 0:g.length;b=k!=null&&k!==0;g=c("cometUniqueID")();var l=c("cometUniqueID")(),m=e.mediaAttachments,n=m!=null?m.map(function(a){if(a.file==null)return null;if(a.fileType!=="FILE"&&a.fileType!=="UNKNOWN"&&a.state!=="CLIENT_PROCESSING"&&a.state!=="CLIENT_PROCESSING_COMPLETE"){var b=URL.createObjectURL(a.file);return{entID:a.state==="UPLOADED"?a.entID:void 0,objectURL:b,type:a.fileType,useCDNPreview:a.useCDNPreview}}return null}).filter(Boolean):null;m=function(){if(n!=null)return c("OptimisticLoadingTypeEnum").SHOW_POST_PREVIEW;else if(k!=null&&k!==0)return c("OptimisticLoadingTypeEnum").SHOW_PROGRESS_BAR;else if(j!=null&&j!=="")return c("OptimisticLoadingTypeEnum").SHOW_POST_PREVIEW;else return c("OptimisticLoadingTypeEnum").SHOW_LOADER};m=m();e=c("getIsOptimisticPreviewEnabled")({viewStateMediaData:(e=e==null?void 0:e.mediaAttachments)!=null?e:[]});if(e){c("cometComposerLogger")({fields:{publishFlowOptimisticStep:"CREATE_OPTIMISTIC_RESPONSE",typeOfOptimisticPost:m},type:"COMPOSER_PUBLISH_FLOW_OPTIMISTIC_PROCESS"},f);return{story_create:{feed_story_edge:{category:null,cursor:null,deduplication_key:null,feed_backend_data:null,node:d("CometRelay").createPayloadFor3DField("CometFeedUnitContainerSection_feedUnit",i,h,{__isFeedUnit:!0,__isNode:!0,__isTrackableFeedUnit:"Story",__typename:"Story",attached_story:null,call_to_action:null,click_tracking_linkshim_cb:null,client_view_config:null,comet_sections:{aymt_footer:null,call_to_action:null,content:z(l,g,j,b),context_layout:C(a,g),copyright_violation_header:null,feedback:null,footer:null,header:null,layout:G(),outer_footer:null},creation_session_id:f,debug_info:null,encrypted_click_tracking:null,encrypted_tracking:null,feedback:{associated_group:{id:null},id:l},id:g,matched_terms:[],optimistic_loading_type:m,optimistic_media_attachments:n,should_host_actor_link_in_watch:null,sponsored_data:null,trackingdata:{id:null},viewability_config:[]})},fundraiser_feed_story_edge:void 0,group_feed_story_edge:void 0,logging_token:null,story:{attachments:[],default_actor:null,gemini_group_draft_summary:void 0,id:g,legacy_story_hideable_id:null,social_learning_info_unit_module:void 0,to:void 0},story_id:null,timeline_feed_units_edge:void 0,user:void 0}}}return null}function z(a,b,c,e){return d("CometRelay").createPayloadFor3DField("CometFeedStory_story",m,l,{__isICometStorySection:!0,__typename:"CometFeedStoryDefaultContentStrategy",is_prod_eligible:!0,story:{actors:[],attached_story:null,attachments:[],can_viewer_see_menu:!1,comet_sections:{above_message:null,aggregated_stories:null,attached_story:null,attachment_overlay:null,info_icon:null,message:A(b,c,e),message_container:B(b,c),message_sticker:null,message_suffix:null},encrypted_tracking:null,feedback:{id:a},id:b,sponsored_data:null,text_format_metadata:null}})}function A(a,b,c){return d("CometRelay").createPayloadFor3DField("CometFeedStoryMessageSection_story",n,o,{__isICometStorySection:!0,__typename:"CometFeedStoryLargeMessageRenderingStrategy",is_prod_eligible:!0,story:{id:a,is_text_only_story:c,message:{aggregated_ranges:[],color_ranges:[],delight_ranges:[],image_ranges:[],inline_style_ranges:[],ranges:[],text:b}}})}function B(a,b){return d("CometRelay").createPayloadFor3DField("CometFeedStoryMessageContainerSection_story",p,q,{__isICometStorySection:!0,__typename:"CometFeedStoryMessageContainerRenderingStrategy",is_prod_eligible:!0,story:{attachments:[],comet_sections:{message:null},id:a,message:{text:b},referenced_sticker:null,text_format_metadata:null}})}function C(a,b){return d("CometRelay").createPayloadFor3DField("CometFeedStoryContextSection_story",x,y,{__isICometStorySection:!0,__typename:"CometFeedStoryDefaultContextLayoutStrategy",is_prod_eligible:!0,story:{actors:[],can_viewer_see_menu:!1,comet_sections:{action_link:null,actor_photo:D(b),alert_badge:null,audience:null,badge_action_link:null,classifier_dogfooding:null,identity_badge:null,location:null,location_transparency:null,page_admin_attribution:null,paid_partnership_label:null,sponsored_label:null,timestamp:E(b),title:F(a,b),viewed_count:null,work_intern_qa_question:null,work_intern_task:null},debug_info:null,encrypted_tracking:null,id:b,serialized_frtp_identifiers:null}})}function D(a){return d("CometRelay").createPayloadFor3DField("CometFeedStoryActorPhotoSection_story",k,j,{__isICometStorySection:!0,__typename:"CometFeedStoryActorPhotoStrategy",is_prod_eligible:!0,story:{actors:[],id:a}})}function E(a){return d("CometRelay").createPayloadFor3DField("CometFeedStoryTimestampSection_story",t,u,{__isICometStorySection:!0,__typename:"CometFeedStoryTimestampStrategy",is_prod_eligible:!0,story:{creation_time:Math.round(d("ServerTime").getMillis()/1e3),ghl_label:null,id:a,url:null}})}function F(a,b){return d("CometRelay").createPayloadFor3DField("CometFeedStoryTitleSection_story",v,w,{__isICometStorySection:!0,__typename:"CometFeedStoryTitleWithActorStrategy",is_prod_eligible:!0,story:{actors:[{__typename:"User",id:a,name:void 0,url:void 0}],comet_sections:void 0,encrypted_tracking:null,id:b,title:null}})}function G(){return d("CometRelay").createPayloadFor3DField("CometFeedStory_story__layout",r,s,{__isICometStorySection:!0,__typename:"CometStoryDefaultLayoutStrategy",is_prod_eligible:!0})}g["default"]=a}),98); __d("useComposerSubmitExecute",["CometRelay","NetworkStatus","Promise","cometUniqueID","genCreationDataTransformersFromFeatureDefinitions","generateOptimisticResponse","promiseDone","react","requireDeferred","transformComposerViewStateToCreationData","transformersArrayHelpers","useNotificationsTrackingString"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useRef,i=c("requireDeferred")("ComposerStoryCreateMutation").__setRef("useComposerSubmitExecute"),j=2;function k(a){return a.name==="NetworkTimeoutError"||a.name==="NetworkTransportError"}function l(a){var b;c("NetworkStatus").isOnline()?a():b=c("NetworkStatus").onChange(function(c){c=c.online;c&&(b.remove(),a())})}function a(a){var e=a.actorID,f=a.creationSessionID,g=c("cometUniqueID")(),m={composer_entry_point:a.composerEntryPoint,composer_source_surface:a.composerSourceSurface,composer_type:a.composerType,idempotence_token:a.creationSessionID+"_"+a.requestType,source:"WWW"},n=c("useNotificationsTrackingString")(),o=d("CometRelay").useRelayEnvironment(),p=h(0),q=function h(q){var r=q.loggingData,s=q.mutationConfig,t=q.onBeforeCommit,u=q.onCompleted,v=q.onError,w=q.shouldRunRetries,x=q.transformers,y=q.updateStoreOptimistically,z=q.useCommitOptimistic,A=q.useUpdater,B=A===void 0?!1:A,C=q.viewState,D=null;if(a.composerType==="goodwill_campaign"){q=((A=C.linkAttachment)==null?void 0:A.storyId)!=null?"THROWBACK_POST":"NOT_THROWBACK_POST";A=C.goodwillCometMetadata;D={goodwill_comet_metadata:A,is_throwback_post:q}}var E=function(a){w&&k(a)&&p.current1&&a[0].width===0){var g=a[1];c=g.top;d=g.right;e=g.bottom;f=g.left}else{g=a[0];c=g.top;d=g.right;e=g.bottom;f=g.left}for(var g=1;g=b)return{leadOffset:a,matchingString:d,replaceableString:d}}return null},name:"HashtagMatchStrategy("+b.toString()+")"}}g["default"]=a}),98); __d("createFeedComposerCometHashtagDataEntry",["createFeedComposerCometHashtagDataEntry_data.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;h!==void 0?h:h=b("createFeedComposerCometHashtagDataEntry_data.graphql");function a(a){a=a==null?void 0:a.node;if(a==null)return null;var b=a.id,c=a.name;a=a.typeahead_snippets;a=a!=null&&a.length>=1?a[0]:null;return b==null||c==null?null:{key:b,label:c,rawData:{id:b,name:c,subtext:a}}}g["default"]=a}),98); __d("useFeedComposerCometHashtagTypeaheadDataSource",["createFeedComposerCometHashtagDataEntry","useCometTypeaheadGraphQLDataSource","useFeedComposerCometHashtagTypeaheadDataSourceQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useFeedComposerCometHashtagTypeaheadDataSourceQuery.graphql");function a(a){var b=a.context,d=a.includeMetatext,e=a.limit,f=a.scopeID,g="";return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:e,normalize:j,queryVariablesBuilderFunction:function(a){a=a.query;return{context:b,includeMetatext:d,limit:e,query:a,scopeID:f,sessionID:g}}})}function j(a){a=a==null?void 0:a.hashtag_typeahead_v2;return a==null?[]:a.map(function(a){if(a==null)return;return c("createFeedComposerCometHashtagDataEntry")(a)}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometHashtagsDataSourceResolverConfig",["createCometHashtagMatchStrategy","react","useCometMentionsDataSourceResolverConfig","useCometTypeaheadCompositeDataSource","useFeedComposerCometHashtagTypeaheadDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo;function a(a){var b=a.context,d=a.includeMetatext,e=a.limit,f=a.payloadDecorators;a=a.scopeID;var g=c("useCometTypeaheadCompositeDataSource")({limit:e,networkDataSource:c("useFeedComposerCometHashtagTypeaheadDataSource")({context:b,includeMetatext:d,limit:e,scopeID:a}),payloadDecorators:(b=f)!=null?b:[]});d=h(function(){return[{dataSource:g,matchStrategy:c("createCometHashtagMatchStrategy")({minMatchLength:0})}]},[g]);return c("useCometMentionsDataSourceResolverConfig")(d,!0)}g["default"]=a}),98); __d("FeedComposerCometHashtagsWithTypeaheadPlugin.react",["CometComposerHashtagsWithTypeaheadPlugin.react","FeedComposerCometHashtagTypeheadListItem.react","cr:1911814","createCometComposerHashtagsEntity","getCometComposerHashtagSearch","react","useCometMentionsLoggingProvider","useFeedComposerCometHashtagsDataSourceResolverConfig","useMentionsHandlerForSelectedEntry","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i="MAIN_COMPOSER";function a(a){var d=a.typeaheadContext;d=d===void 0?i:d;var e=a.typeaheadScopeID,f=a.typeaheadResultsIncludeMetatext;f==null&&(f=!0);d=c("useFeedComposerCometHashtagsDataSourceResolverConfig")({context:d,includeMetatext:f,limit:6,payloadDecorators:b("cr:1911814")!=null?[b("cr:1911814")({limit:1})]:void 0,scopeID:e});f=c("useMentionsHandlerForSelectedEntry")({getReplacementString:j,getSearchText:c("getCometComposerHashtagSearch"),onMentionsCreateContentState:k});e=c("useCometMentionsLoggingProvider")({context_id:null,context_type:"undirected",surface:"COMPOSER",typeahead_type:"HASHTAG"});return h.jsx(c("CometComposerHashtagsWithTypeaheadPlugin.react"),{currentBlockKey:a.currentBlockKey,dataSourceResolverConfig:d,getSearchText:c("getCometComposerHashtagSearch"),hasFormattedText:a.hasFormattedText,loggingProvider:e,mentionsHandlerForSelectedEntry:f,priority:1,viewItemStrategyRenderer:c("FeedComposerCometHashtagTypeheadListItem.react")})}a.displayName=a.name+" [from "+f.id+"]";function j(a){a=a.label;return a}function k(a,b){b=b.key;return c("createCometComposerHashtagsEntity")(b,a)}e=c("withComposerViewStatePart")(a,function(a){var b=a==null?void 0:a.editorState;b=b!=null&&b.__type==="editor-state-based"?b.draftEditorState:null;return{currentBlockKey:b!=null?b.getSelection().getStartKey():null,hasFormattedText:((b=a.formattedText)==null?void 0:b.currentFormattedTextPreset)!=null}});g["default"]=e}),98); __d("composerLocationMinutiaeTransformData",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a==null?{explicit_place_id:"0"}:{explicit_place_id:a.placeID,place_attachment_setting:b==="SHOW_ATTACHMENT"?"SHOW_ATTACHMENT":"HIDE_ATTACHMENT"}}f["default"]=a}),66); __d("composerLocationMinutiaeCreationDataTransform",["composerLocationMinutiaeTransformData"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){d(babelHelpers["extends"]({},b,c("composerLocationMinutiaeTransformData")(a.locationMinutiae,b.place_attachment_setting)))}g["default"]=a}),98); __d("FeedComposerCometMentionsPlugin.react",["cr:1929","react"],(function(a,b,c,d,e,f,g){"use strict";d("react"),g["default"]=b("cr:1929")}),98); __d("useCometComposerMentionsModalDataSource",["CometTypeaheadBootstrapDataProviderStorageKey","useCometTypeaheadCompositeDataSource","useFeedComposerCometMentionsBootloadDataSource","useFeedComposerCometMentionsNetworkDataSource"],(function(a,b,c,d,e,f,g){"use strict";function a(){return c("useCometTypeaheadCompositeDataSource")({bootstrapDataSource:c("useFeedComposerCometMentionsBootloadDataSource")({includeViewer:!0,limit:20,storageKey:d("CometTypeaheadBootstrapDataProviderStorageKey").StorageKey.FeedComposerMentionsIntentfulMentionsBootstrap,typeaheadContext:"mentions",types:["USER"]}),cacheKey_SEARCH_ONLY:{type:"feed_mentions_intentful_datasource_cache_key"},limit:20,networkDataSource:c("useFeedComposerCometMentionsNetworkDataSource")({includeViewer:!1,limit:20,typeaheadContext:"mentions",types:["user"]})})}g["default"]=a}),98); __d("CometMentionsLoggingProvider.flow",[],(function(a,b,c,d,e,f){"use strict"}),null); __d("MentionsModalEntryClickedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("647");c=b("FalcoLoggerInternal").create("mentions_modal_entry_clicked",a);e.exports=c}),null); __d("MentionsOpenModalClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("680");c=b("FalcoLoggerInternal").create("mentions_open_modal_click",a);e.exports=c}),null); __d("CometMentionsModalLoggingProvider",["CometMentionsLoggingProvider","MentionsModalEntryClickedFalcoEvent","MentionsOpenModalClickFalcoEvent"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.$2=new(c("CometMentionsLoggingProvider"))(a),this.$1=a,this.$3=!1}var b=a.prototype;b.maybeEndSession=function(a,b,d){var e=this;if(this.$3)return;if(d==null){this.abandonSession(a,b);return}var f=d.rawData;if(!(f.type==="SEE_ALL_ENTRY")){this.$2.maybeEndSession(a,b,d);return}if(a==null)return;var g=b!=null?JSON.stringify(b.map(function(a){a=a.key;return{id:a}})):null,h=d.key,i=(f=b==null?void 0:b.findIndex(function(a){a=a.key;return a===h}))!=null?f:null;this.$3=!0;c("MentionsOpenModalClickFalcoEvent").log(function(){return babelHelpers["extends"]({},e.$1,{selected_position:String(i),serialized_candidate_suggestions:g,session_id:e.getSessionID(),typed_query:a})})};b.getSessionID=function(){return this.$2.getSessionID()};b.isSessionActive=function(){return this.$2.isSessionActive()};b.startSession=function(a){return this.$2.startSession(a)};b.logSelectedEntriesFromModal=function(a,b){var d=this;if(a.length===0)this.abandonSession(b,[]);else if(a.length===1)this.$2.maybeEndSession(b,[],a[0]);else{var e=a.splice(0,a.length-1);e.forEach(function(a){c("MentionsModalEntryClickedFalcoEvent").log(function(){return babelHelpers["extends"]({},d.$1,{selected_position:"0",selected_result_display_text:a.label,selected_result_id:a.key,serialized_candidate_suggestions:"",session_id:d.getSessionID(),typed_query:b})})});this.$2.maybeEndSession(b,[],a[a.length-1])}this.$3=!1};b.abandonSession=function(a,b){this.$2.maybeEndSession(a,b);return};return a}();g["default"]=a}),98); __d("useCometMentionsModalLoggingProvider",["CometMentionsModalLoggingProvider","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo,i={context_id:null,context_type:"unknown",surface:null,typeahead_type:null};function a(a){a===void 0&&(a=i);return h(function(){return new(c("CometMentionsModalLoggingProvider"))(a)},[a])}g["default"]=a}),98); __d("modifyEditorStateWithSelectedEntriesForModal",["DraftModifier","EditorState","cometReplaceMentionedTextInEditorState","createCometComposerMentionsEntity","getCometComposerMentionsSearchTextTillAt"],(function(a,b,c,d,e,f,g){"use strict";function h(a){return a.label}function i(a,b){return c("createCometComposerMentionsEntity")(b.key,!1,a)}function a(a,b){if(b==null)return null;var e=c("getCometComposerMentionsSearchTextTillAt")(b);if(e==null)return null;if(a.length===0){var f=b.getSelection();f=f.set("anchorOffset",f.getAnchorOffset());f=b.getCurrentContent().merge({selectionAfter:f});return c("EditorState").push(b,f,"insert-fragment")}f=a[0];a=a.slice(1);var g=c("cometReplaceMentionedTextInEditorState")(f,b,e.length,i,h),j=g.getCurrentContent(),k=g.getSelection().getAnchorOffset();a.reverse().forEach(function(a){j=i(j,a);var b=j.getLastCreatedEntityKey(),c=h(a);j=d("DraftModifier").insertText(j,g.getSelection(),c,g.getCurrentInlineStyle(),b);j=d("DraftModifier").insertText(j,g.getSelection()," ",g.getCurrentInlineStyle());a=a.decorType;j.mergeEntityData(b,{mentionDecorType:a});k+=c.length+1});f=g.getSelection();b=f.set("anchorOffset",k).set("focusOffset",k);j=j.merge({selectionAfter:b});return c("EditorState").push(g,j,"insert-fragment")}g["default"]=a}),98); __d("useMentionsHandlerWithSeeAll",["fbt","FBLogger","JSResourceForInteraction","getCometComposerMentionsSearchTextTillAt","handleSelectedEntityEntryForMentions","lazyLoadComponent","modifyEditorStateWithSelectedEntriesForModal","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=c("react");function a(a){var b=a.getReplacementString,d=a.getSearchText,e=a.loggingProvider,f=a.onMentionsCreateContentState,g=a.pushPage,j=a.seeAllDataSource;return function(a){var k=a.dataSourceResolver,l=a.deferredEditorState,m=a.entry,n=a.onEditorStateChange,o=c("lazyLoadComponent")(c("JSResourceForInteraction")("CometMentionsModal.react").__setRef("useMentionsHandlerWithSeeAll"));a=m.rawData;if(a.type==="SEE_ALL_ENTRY"){if(l==null||l.__type!=="editor-state-based")return!1;var p=l.draftEditorState,q=c("getCometComposerMentionsSearchTextTillAt")(p);if(q==null){c("FBLogger")("CometComposer").warn("Race condition where the user selected a mention but theres no text in the editor");return!1}g(h._(/*FBT_CALL*/"Mention People"/*FBT_CALL*/),function(a){var b=a.onReturn;return i.jsx(o,{dataSource:j,initialQuery:q==null?void 0:q.slice(1),onEntriesSelected:function(a,d){if(p!=null){var f=c("modifyEditorStateWithSelectedEntriesForModal")(a,p);f!=null&&n(f);e.logSelectedEntriesFromModal(a,d)}b()}})});return!1}else return c("handleSelectedEntityEntryForMentions")({dataSourceResolver:k,deferredEditorState:l,entry:m,getReplacementString:b,getSearchText:d,onEditorStateChange:n,onMentionsCreateContentState:f})}}g["default"]=a}),98); __d("FeedComposerCometMentionsPluginForDraftjs.react",["CometComposerMentionsPlugin.react","FeedComposerCometMentionsViewItemResolver.react","createCometComposerMentionsEntity","getCometComposerMentionsSearch","qex","react","useCometComposerMentionsModalDataSource","useCometComposerPushPage","useCometMentionsModalLoggingProvider","useFeedComposerCometMentionsDataSourceResolverConfig","useMentionsHandlerWithSeeAll","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function i(a){a=a.label;return a}function j(a,b){return c("createCometComposerMentionsEntity")(b.key,!1,a)}var k=Boolean(c("qex")._("1248"));function a(a){var b=c("useCometComposerPushPage")(),d=c("useFeedComposerCometMentionsDataSourceResolverConfig")({enableMentionsSeeMoreDecorator:k,limit:5,shouldBootstrapOnLayoutEffect:!0}),e=c("useCometMentionsModalLoggingProvider")({context_id:null,context_type:"undirected",surface:"COMPOSER",typeahead_type:"ENTITY"}),f=c("useCometComposerMentionsModalDataSource")();b=c("useMentionsHandlerWithSeeAll")({getReplacementString:i,getSearchText:c("getCometComposerMentionsSearch"),loggingProvider:e,onMentionsCreateContentState:j,pushPage:b,seeAllDataSource:f});return h.jsx(c("CometComposerMentionsPlugin.react"),{currentBlockKey:a.currentBlockKey,dataSourceResolverConfig:d,getSearchText:c("getCometComposerMentionsSearch"),hasFormattedText:a.hasFormattedText,loggingProvider:e,mentionsHandlerForSelectedEntry:b,priority:1,viewItemStrategyRenderer:c("FeedComposerCometMentionsViewItemResolver.react")})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){var b=a==null?void 0:a.editorState;b=b!=null&&b.__type==="editor-state-based"?b.draftEditorState:null;return{currentBlockKey:b!=null?b.getSelection().getStartKey():null,hasFormattedText:((b=a.formattedText)==null?void 0:b.currentFormattedTextPreset)!=null}});g["default"]=b}),98); __d("composerWithTagTransform",["withTagIDsTrackerConversionUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){c(babelHelpers["extends"]({},b,{with_tags_ids:d("withTagIDsTrackerConversionUtils").convertWithTagIDsTrackerToArray(a.withTagIDsTracker)}))}g["default"]=a}),98); __d("composerGetMessagesTransform",["mediaAttachmentAreaTransform"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d,e){var f;f=(f=a.isGetMessagesPost)!=null?f:e==null?void 0:e.isGetMessagesPost;return f===!0?a.mediaAttachments!=null?c("mediaAttachmentAreaTransform")(a,babelHelpers["extends"]({},b,{call_to_action_data:babelHelpers["extends"]({},b.call_to_action_data,{is_cta_share_post:!0,type:"MESSAGE_PAGE"})}),d):d(babelHelpers["extends"]({},b,{call_to_action_data:babelHelpers["extends"]({},b.call_to_action_data,{is_cta_share_post:!0,type:"MESSAGE_PAGE"})})):d(babelHelpers["extends"]({},b))}g["default"]=a}),98); __d("LocalAlertType",[],(function(a,b,c,d,e,f){a=Object.freeze({COVID:"covid",DEFAULT:"default",MISSING_PERSON:"missing_person",PUBLIC_SAFETY:"public_safety",SERVICE_INTERRUPTION:"service_interruption",TRANSIT:"transit",VOTING:"voting",WEATHER:"weather"});f["default"]=a}),66); __d("LocalAlertsDistanceUnitEnum",[],(function(a,b,c,d,e,f){a=Object.freeze({KM:"km",MILE:"mile"});f["default"]=a}),66); __d("composerLocalAlertTransform",["LocalAlertType","LocalAlertsDistanceUnitEnum","firstKeyWithValue"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a=a.localAlert;if(a==null)return null;var b=c("firstKeyWithValue")(c("LocalAlertType"),a.alertType);if(b==null)return null;var d=a.customArea,e=c("firstKeyWithValue")(c("LocalAlertsDistanceUnitEnum"),d==null?void 0:d.distance_unit);return d!=null&&e!=null?{alert_type:b,custom_area:{distance_unit:e,lat:d.lat,lng:d.lng,radius:d.radius},expiration_time:a.expirationTime,geo_areas:a.geoAreas.map(function(a){a=a.rawData;return a.locationID})}:{alert_type:b,expiration_time:a.expirationTime,geo_areas:a.geoAreas.map(function(a){a=a.rawData;return a.locationID})}}function a(a,b,c){a=h(a);a==null?c(b):c(babelHelpers["extends"]({},b,{local_alert_data:a}))}g["default"]=a}),98); __d("enumUtils",["nullthrows","objectValues"],(function(a,b,c,d,e,f,g){function h(a,b){return c("objectValues")(b).find(function(b){return b===a})}function a(a,b){return a==null?null:h(a,b)}function i(a,b){if(a!=null){b=Object.keys(b);for(var c=0;c=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c.push(j(f,b))}return c}function k(a,b){return(b=b[a])!=null?b:null}function l(a,b){return c("nullthrows")(k(a,b))}function e(a,b){var c=[];for(var a=a,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c.push(l(f,b))}return c}function m(a,b){var c;Object.keys(b).forEach(function(d){b[d]===a&&(c=d)});return c}function f(a,b){return c("nullthrows")(m(a,b))}g.coerce=h;g.coerceNullable=a;g.coerceKey=i;g.assert=j;g.assertKey=b;g.assertIterable=d;g.coerceFromKey=k;g.assertFromKey=l;g.assertIterableFromKey=e;g.enumValueToKey=m;g.enumValueToKeyEnforcing=f}),98); __d("CometMagicUploadsFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("2012346");c=b("FalcoLoggerInternal").create("comet_magic_uploads",a);e.exports=c}),null); __d("ComposerTelemetryFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("101");c=b("FalcoLoggerInternal").create("composer_telemetry",a);e.exports=c}),null); __d("ISOCountryCode",[],(function(a,b,c,d,e,f){a=Object.freeze({AD:"AD",AE:"AE",AF:"AF",AG:"AG",AI:"AI",AL:"AL",AM:"AM",AN:"AN",AO:"AO",AQ:"AQ",AR:"AR",AS:"AS",AT:"AT",AU:"AU",AW:"AW",AX:"AX",AZ:"AZ",BA:"BA",BB:"BB",BD:"BD",BE:"BE",BF:"BF",BG:"BG",BH:"BH",BI:"BI",BJ:"BJ",BL:"BL",BM:"BM",BN:"BN",BO:"BO",BQ:"BQ",BR:"BR",BS:"BS",BT:"BT",BV:"BV",BW:"BW",BY:"BY",BZ:"BZ",CA:"CA",CC:"CC",CD:"CD",CF:"CF",CG:"CG",CH:"CH",CI:"CI",CK:"CK",CL:"CL",CM:"CM",CN:"CN",CO:"CO",CR:"CR",CU:"CU",CV:"CV",CW:"CW",CX:"CX",CY:"CY",CZ:"CZ",DE:"DE",DJ:"DJ",DK:"DK",DM:"DM",DO:"DO",DZ:"DZ",EC:"EC",EE:"EE",EG:"EG",EH:"EH",ER:"ER",ES:"ES",ET:"ET",FI:"FI",FJ:"FJ",FK:"FK",FM:"FM",FO:"FO",FR:"FR",GA:"GA",GB:"GB",GD:"GD",GE:"GE",GF:"GF",GG:"GG",GH:"GH",GI:"GI",GL:"GL",GM:"GM",GN:"GN",GP:"GP",GQ:"GQ",GR:"GR",GS:"GS",GT:"GT",GU:"GU",GW:"GW",GY:"GY",HK:"HK",HM:"HM",HN:"HN",HR:"HR",HT:"HT",HU:"HU",ID:"ID",IE:"IE",IL:"IL",IM:"IM",IN:"IN",IO:"IO",IQ:"IQ",IR:"IR",IS:"IS",IT:"IT",JE:"JE",JM:"JM",JO:"JO",JP:"JP",KE:"KE",KG:"KG",KH:"KH",KI:"KI",KM:"KM",KN:"KN",KP:"KP",KR:"KR",KW:"KW",KY:"KY",KZ:"KZ",LA:"LA",LB:"LB",LC:"LC",LI:"LI",LK:"LK",LR:"LR",LS:"LS",LT:"LT",LU:"LU",LV:"LV",LY:"LY",MA:"MA",MC:"MC",MD:"MD",ME:"ME",MF:"MF",MG:"MG",MH:"MH",MK:"MK",ML:"ML",MM:"MM",MN:"MN",MO:"MO",MP:"MP",MQ:"MQ",MR:"MR",MS:"MS",MT:"MT",MU:"MU",MV:"MV",MW:"MW",MX:"MX",MY:"MY",MZ:"MZ",NA:"NA",NC:"NC",NE:"NE",NF:"NF",NG:"NG",NI:"NI",NL:"NL",NO:"NO",NP:"NP",NR:"NR",NU:"NU",NZ:"NZ",OM:"OM",PA:"PA",PE:"PE",PF:"PF",PG:"PG",PH:"PH",PK:"PK",PL:"PL",PM:"PM",PN:"PN",PR:"PR",PS:"PS",PT:"PT",PW:"PW",PY:"PY",QA:"QA",RE:"RE",RO:"RO",RS:"RS",RU:"RU",RW:"RW",SA:"SA",SB:"SB",SC:"SC",SD:"SD",SE:"SE",SG:"SG",SH:"SH",SI:"SI",SJ:"SJ",SK:"SK",SL:"SL",SM:"SM",SN:"SN",SO:"SO",SR:"SR",SS:"SS",ST:"ST",SV:"SV",SX:"SX",SY:"SY",SZ:"SZ",TC:"TC",TD:"TD",TF:"TF",TG:"TG",TH:"TH",TJ:"TJ",TK:"TK",TL:"TL",TM:"TM",TN:"TN",TO:"TO",TR:"TR",TT:"TT",TV:"TV",TW:"TW",TZ:"TZ",UA:"UA",UG:"UG",UM:"UM",US:"US",UY:"UY",UZ:"UZ",VA:"VA",VC:"VC",VE:"VE",VG:"VG",VI:"VI",VN:"VN",VU:"VU",WF:"WF",WS:"WS",XK:"XK",YE:"YE",YT:"YT",ZA:"ZA",ZM:"ZM",ZW:"ZW"});f["default"]=a}),66);/*FB_PKG_DELIM*/ __d("immutable",[],(function(a,b,c,d,e,f){(function(b,c){typeof f==="object"&&typeof e!=="undefined"?e.exports=c():typeof define==="function"&&define.amd?define(c):b.Immutable=c()})(this,function(){"use strict";var a=Array.prototype.slice;function b(a,b){b&&(a.prototype=Object.create(b.prototype)),a.prototype.constructor=a}var c="delete",d=5,e=1<=0?+b:n(a)+ +b}function p(){return!0}function q(a,b,c){return(a===0||c!==void 0&&a<=-c)&&(b===void 0||c!==void 0&&b>=c)}function r(a,b){return aa(a,b,0)}function s(a,b){return aa(a,b,b)}function aa(a,b,c){return a===void 0?c:a<0?Math.max(0,b+a):b===void 0?a:Math.min(b,a)}function t(a){return x(a)?a:F(a)}b(u,t);function u(a){return y(a)?a:G(a)}b(v,t);function v(a){return z(a)?a:H(a)}b(w,t);function w(a){return x(a)&&!ba(a)?a:I(a)}function x(a){return!!(a&&a[da])}function y(a){return!!(a&&a[ea])}function z(a){return!!(a&&a[fa])}function ba(a){return y(a)||z(a)}function ca(a){return!!(a&&a[ga])}t.isIterable=x;t.isKeyed=y;t.isIndexed=z;t.isAssociative=ba;t.isOrdered=ca;t.Keyed=u;t.Indexed=v;t.Set=w;var da="@@__IMMUTABLE_ITERABLE__@@",ea="@@__IMMUTABLE_KEYED__@@",fa="@@__IMMUTABLE_INDEXED__@@",ga="@@__IMMUTABLE_ORDERED__@@",ha=0,A=1,B=2,ia=typeof Symbol==="function"&&Symbol.iterator,ja="@@iterator",ka=ia||ja;function C(a){this.next=a}C.prototype.toString=function(){return"[Iterator]"};C.KEYS=ha;C.VALUES=A;C.ENTRIES=B;C.prototype.inspect=C.prototype.toSource=function(){return this.toString()};C.prototype[ka]=function(){return this};function D(a,b,c,d){a=a===0?b:a===1?c:[b,c];d?d.value=a:d={value:a,done:!1};return d}function E(){return{value:void 0,done:!0}}function la(a){return!!oa(a)}function ma(a){return a&&typeof a.next==="function"}function na(a){var b=oa(a);return b&&b.call(a)}function oa(a){a=a&&(ia&&a[ia]||a[ja]);if(typeof a==="function")return a}function pa(a){return a&&typeof a.length==="number"}b(F,t);function F(a){return a===null||a===void 0?xa():x(a)?a.toSeq():Aa(a)}F.of=function(){return F(arguments)};F.prototype.toSeq=function(){return this};F.prototype.toString=function(){return this.__toString("Seq {","}")};F.prototype.cacheResult=function(){!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length);return this};F.prototype.__iterate=function(a,b){return Ca(this,a,b,!0)};F.prototype.__iterator=function(a,b){return Da(this,a,b,!0)};b(G,F);function G(a){return a===null||a===void 0?xa().toKeyedSeq():x(a)?y(a)?a.toSeq():a.fromEntrySeq():ya(a)}G.prototype.toKeyedSeq=function(){return this};b(H,F);function H(a){return a===null||a===void 0?xa():x(a)?y(a)?a.entrySeq():a.toIndexedSeq():za(a)}H.of=function(){return H(arguments)};H.prototype.toIndexedSeq=function(){return this};H.prototype.toString=function(){return this.__toString("Seq [","]")};H.prototype.__iterate=function(a,b){return Ca(this,a,b,!1)};H.prototype.__iterator=function(a,b){return Da(this,a,b,!1)};b(I,F);function I(a){return(a===null||a===void 0?xa():x(a)?y(a)?a.entrySeq():a:za(a)).toSetSeq()}I.of=function(){return I(arguments)};I.prototype.toSetSeq=function(){return this};F.isSeq=va;F.Keyed=G;F.Set=I;F.Indexed=H;var qa="@@__IMMUTABLE_SEQ__@@";F.prototype[qa]=!0;b(ra,H);function ra(a){this._array=a,this.size=a.length}ra.prototype.get=function(a,b){return this.has(a)?this._array[o(this,a)]:b};ra.prototype.__iterate=function(a,b){var c=this._array,d=c.length-1;for(var e=0;e<=d;e++)if(a(c[b?d-e:e],e,this)===!1)return e+1;return e};ra.prototype.__iterator=function(a,b){var c=this._array,d=c.length-1,e=0;return new C(function(){return e>d?E():D(a,e,c[b?d-e++:e++])})};b(sa,G);function sa(a){var b=Object.keys(a);this._object=a;this._keys=b;this.size=b.length}sa.prototype.get=function(a,b){return b!==void 0&&!this.has(a)?b:this._object[a]};sa.prototype.has=function(a){return this._object.hasOwnProperty(a)};sa.prototype.__iterate=function(a,b){var c=this._object,d=this._keys,e=d.length-1;for(var f=0;f<=e;f++){var g=d[b?e-f:f];if(a(c[g],g,this)===!1)return f+1}return f};sa.prototype.__iterator=function(a,b){var c=this._object,d=this._keys,e=d.length-1,f=0;return new C(function(){var g=d[b?e-f:f];return f++>e?E():D(a,g,c[g])})};sa.prototype[ga]=!0;b(ta,H);function ta(a){this._iterable=a,this.size=a.length||a.size}ta.prototype.__iterateUncached=function(a,b){if(b)return this.cacheResult().__iterate(a,b);b=this._iterable;b=na(b);var c=0;if(ma(b)){var d;while(!(d=b.next()).done)if(a(d.value,c++,this)===!1)break}return c};ta.prototype.__iteratorUncached=function(a,b){if(b)return this.cacheResult().__iterator(a,b);b=this._iterable;var c=na(b);if(!ma(c))return new C(E);var d=0;return new C(function(){var b=c.next();return b.done?b:D(a,d++,b.value)})};b(ua,H);function ua(a){this._iterator=a,this._iteratorCache=[]}ua.prototype.__iterateUncached=function(a,b){if(b)return this.cacheResult().__iterate(a,b);b=this._iterator;var c=this._iteratorCache,d=0;while(d=d.length){var b=c.next();if(b.done)return b;d[e]=b.value}return D(a,e,d[e++])})};function va(a){return!!(a&&a[qa])}var wa;function xa(){return wa||(wa=new ra([]))}function ya(a){var b=Array.isArray(a)?new ra(a).fromEntrySeq():ma(a)?new ua(a).fromEntrySeq():la(a)?new ta(a).fromEntrySeq():typeof a==="object"?new sa(a):void 0;if(!b)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+a);return b}function za(a){var b=Ba(a);if(!b)throw new TypeError("Expected Array or iterable object of values: "+a);return b}function Aa(a){var b=Ba(a)||typeof a==="object"&&new sa(a);if(!b)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+a);return b}function Ba(a){return pa(a)?new ra(a):ma(a)?new ua(a):la(a)?new ta(a):void 0}function Ca(a,b,c,d){var e=a._cache;if(e){var f=e.length-1;for(var g=0;g<=f;g++){var h=e[c?f-g:g];if(b(h[1],d?h[0]:g,a)===!1)return g+1}return g}return a.__iterateUncached(b,c)}function Da(a,b,c,d){var e=a._cache;if(e){var f=e.length-1,g=0;return new C(function(){var a=e[c?f-g:g];return g++>f?E():D(b,d?a[0]:g-1,a[1])})}return a.__iteratorUncached(b,c)}b(Ea,t);function Ea(){throw TypeError("Abstract")}b(Fa,Ea);function Fa(){}b(Ga,Ea);function Ga(){}b(Ha,Ea);function Ha(){}Ea.Keyed=Fa;Ea.Indexed=Ga;Ea.Set=Ha;function J(a,b){if(a===b||a!==a&&b!==b)return!0;if(!a||!b)return!1;if(typeof a.valueOf==="function"&&typeof b.valueOf==="function"){a=a.valueOf();b=b.valueOf();if(a===b||a!==a&&b!==b)return!0;if(!a||!b)return!1}return typeof a.equals==="function"&&typeof b.equals==="function"&&a.equals(b)?!0:!1}function Ia(a,b){return b?Ja(b,a,"",{"":a}):Ka(a)}function Ja(a,b,c,d){if(Array.isArray(b))return a.call(d,c,H(b).map(function(c,d){return Ja(a,c,d,b)}));return La(b)?a.call(d,c,G(b).map(function(c,d){return Ja(a,c,d,b)})):b}function Ka(a){if(Array.isArray(a))return H(a).map(Ka).toList();return La(a)?G(a).map(Ka).toMap():a}function La(a){return a&&(a.constructor===Object||a.constructor===void 0)}var Ma=typeof Math.imul==="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(a,b){a=a|0;b=b|0;var c=a&65535,d=b&65535;return c*d+((a>>>16)*d+c*(b>>>16)<<16>>>0)|0};function Na(a){return a>>>1&1073741824|a&3221225471}function K(a){if(a===!1||a===null||a===void 0)return 0;if(typeof a.valueOf==="function"){a=a.valueOf();if(a===!1||a===null||a===void 0)return 0}if(a===!0)return 1;var b=typeof a;if(b==="number"){var c=a|0;c!==a&&(c^=a*4294967295);while(a>4294967295)a/=4294967295,c^=a;return Na(c)}if(b==="string")return a.length>Ya?Oa(a):Pa(a);return typeof a.hashCode==="function"?a.hashCode():Qa(a)}function Oa(b){var a=ab[b];a===void 0&&(a=Pa(b),$a===Za&&($a=0,ab={}),$a++,ab[b]=a);return a}function Pa(b){var a=0;for(var c=0;c0)switch(a.nodeType){case 1:return a.uniqueID;case 9:return a.documentElement&&a.documentElement.uniqueID}}var Ua=typeof WeakMap==="function",Va;Ua&&(Va=new WeakMap());var Wa=0,Xa="__immutablehash__";typeof Symbol==="function"&&(Xa=Symbol(Xa));var Ya=16,Za=255,$a=0,ab={};function bb(a,b){if(!a)throw new Error(b)}function L(a){bb(a!==Infinity,"Cannot perform this action with an infinite size.")}b(M,G);function M(a,b){this._iter=a,this._useKeys=b,this.size=a.size}M.prototype.get=function(a,b){return this._iter.get(a,b)};M.prototype.has=function(a){return this._iter.has(a)};M.prototype.valueSeq=function(){return this._iter.valueSeq()};M.prototype.reverse=function(){var a=this,b=hb(this,!0);this._useKeys||(b.valueSeq=function(){return a._iter.toSeq().reverse()});return b};M.prototype.map=function(a,b){var c=this,d=gb(this,a,b);this._useKeys||(d.valueSeq=function(){return c._iter.toSeq().map(a,b)});return d};M.prototype.__iterate=function(a,b){var c=this,d;return this._iter.__iterate(this._useKeys?function(b,d){return a(b,d,c)}:(d=b?xb(this):0,function(e){return a(e,b?--d:d++,c)}),b)};M.prototype.__iterator=function(a,b){if(this._useKeys)return this._iter.__iterator(a,b);var c=this._iter.__iterator(A,b),d=b?xb(this):0;return new C(function(){var e=c.next();return e.done?e:D(a,b?--d:d++,e.value,e)})};M.prototype[ga]=!0;b(cb,H);function cb(a){this._iter=a,this.size=a.size}cb.prototype.includes=function(a){return this._iter.includes(a)};cb.prototype.__iterate=function(a,b){var c=this,d=0;return this._iter.__iterate(function(b){return a(b,d++,c)},b)};cb.prototype.__iterator=function(a,b){var c=this._iter.__iterator(A,b),d=0;return new C(function(){var b=c.next();return b.done?b:D(a,d++,b.value,b)})};b(db,I);function db(a){this._iter=a,this.size=a.size}db.prototype.has=function(a){return this._iter.includes(a)};db.prototype.__iterate=function(a,b){var c=this;return this._iter.__iterate(function(b){return a(b,b,c)},b)};db.prototype.__iterator=function(a,b){var c=this._iter.__iterator(A,b);return new C(function(){var b=c.next();return b.done?b:D(a,b.value,b.value,b)})};b(eb,G);function eb(a){this._iter=a,this.size=a.size}eb.prototype.entrySeq=function(){return this._iter.toSeq()};eb.prototype.__iterate=function(a,b){var c=this;return this._iter.__iterate(function(b){if(b){wb(b);var d=x(b);return a(d?b.get(1):b[1],d?b.get(0):b[0],c)}},b)};eb.prototype.__iterator=function(a,b){var c=this._iter.__iterator(A,b);return new C(function(){while(!0){var b=c.next();if(b.done)return b;var d=b.value;if(d){wb(d);var e=x(d);return D(a,e?d.get(0):d[0],e?d.get(1):d[1],b)}}})};cb.prototype.cacheResult=M.prototype.cacheResult=db.prototype.cacheResult=eb.prototype.cacheResult=Ab;function fb(a){var b=zb(a);b._iter=a;b.size=a.size;b.flip=function(){return a};b.reverse=function(){var b=a.reverse.apply(this);b.flip=function(){return a.reverse()};return b};b.has=function(b){return a.includes(b)};b.includes=function(b){return a.has(b)};b.cacheResult=Ab;b.__iterateUncached=function(b,c){var d=this;return a.__iterate(function(a,c){return b(c,a,d)!==!1},c)};b.__iteratorUncached=function(b,c){if(b===B){var d=a.__iterator(b,c);return new C(function(){var a=d.next();if(!a.done){var b=a.value[0];a.value[0]=a.value[1];a.value[1]=b}return a})}return a.__iterator(b===A?ha:A,c)};return b}function gb(a,b,c){var d=zb(a);d.size=a.size;d.has=function(b){return a.has(b)};d.get=function(d,e){var f=a.get(d,g);return f===g?e:b.call(c,f,d,a)};d.__iterateUncached=function(d,e){var f=this;return a.__iterate(function(a,e,g){return d(b.call(c,a,e,g),e,f)!==!1},e)};d.__iteratorUncached=function(d,e){var f=a.__iterator(B,e);return new C(function(){var e=f.next();if(e.done)return e;var g=e.value,h=g[0];return D(d,h,b.call(c,g[1],h,a),e)})};return d}function hb(a,b){var c=zb(a);c._iter=a;c.size=a.size;c.reverse=function(){return a};a.flip&&(c.flip=function(){var b=fb(a);b.reverse=function(){return a.flip()};return b});c.get=function(c,d){return a.get(b?c:-1-c,d)};c.has=function(c){return a.has(b?c:-1-c)};c.includes=function(b){return a.includes(b)};c.cacheResult=Ab;c.__iterate=function(b,c){var d=this;return a.__iterate(function(a,c){return b(a,c,d)},!c)};c.__iterator=function(b,c){return a.__iterator(b,!c)};return c}function ib(a,b,c,d){var e=zb(a);d&&(e.has=function(d){var e=a.get(d,g);return e!==g&&!!b.call(c,e,d,a)},e.get=function(d,e){var f=a.get(d,g);return f!==g&&b.call(c,f,d,a)?f:e});e.__iterateUncached=function(e,f){var g=this,h=0;a.__iterate(function(a,f,i){if(b.call(c,a,f,i)){h++;return e(a,d?f:h-1,g)}},f);return h};e.__iteratorUncached=function(e,f){var g=a.__iterator(B,f),h=0;return new C(function(){while(!0){var f=g.next();if(f.done)return f;var i=f.value,j=i[0];i=i[1];if(b.call(c,i,j,a))return D(e,d?j:h++,i,f)}})};return e}function jb(a,b,c){var d=O().asMutable();a.__iterate(function(e,f){d.update(b.call(c,e,f,a),0,function(a){return a+1})});return d.asImmutable()}function kb(a,b,c){var d=y(a),e=(ca(a)?S():O()).asMutable();a.__iterate(function(f,g){e.update(b.call(c,f,g,a),function(a){return a=a||[],a.push(d?[g,f]:f),a})});var f=yb(a);return e.map(function(b){return N(a,f(b))})}function lb(a,b,c,d){var e=a.size;if(q(b,c,e))return a;var f=r(b,e);e=s(c,e);if(f!==f||e!==e)return lb(a.toSeq().cacheResult(),b,c,d);b=e-f;var g;b===b&&(g=b<0?0:b);c=zb(a);c.size=g;!d&&va(a)&&g>=0&&(c.get=function(b,c){b=o(this,b);return b>=0&&bg)return E();var a=e.next();if(d||b===A)return a;else if(b===ha)return D(b,i-1,void 0,a);else return D(b,i-1,a.value[1],a)})};return c}function mb(a,b,c){var d=zb(a);d.__iterateUncached=function(d,e){var f=this;if(e)return this.cacheResult().__iterate(d,e);var g=0;a.__iterate(function(a,e,h){return b.call(c,a,e,h)&&++g&&d(a,e,f)});return g};d.__iteratorUncached=function(d,e){var f=this;if(e)return this.cacheResult().__iterator(d,e);var g=a.__iterator(B,e),h=!0;return new C(function(){if(!h)return E();var a=g.next();if(a.done)return a;var e=a.value,i=e[0];e=e[1];if(!b.call(c,e,i,f)){h=!1;return E()}return d===B?a:D(d,i,e,a)})};return d}function nb(a,b,c,d){var e=zb(a);e.__iterateUncached=function(e,f){var g=this;if(f)return this.cacheResult().__iterate(e,f);var h=!0,i=0;a.__iterate(function(a,f,j){if(!(h&&(h=b.call(c,a,f,j)))){i++;return e(a,d?f:i-1,g)}});return i};e.__iteratorUncached=function(e,f){var g=this;if(f)return this.cacheResult().__iterator(e,f);var h=a.__iterator(B,f),i=!0,j=0;return new C(function(){var a,f;do{a=h.next();if(a.done)if(d||e===A)return a;else if(e===ha)return D(e,j++,void 0,a);else return D(e,j++,a.value[1],a);var k=a.value;f=k[0];k=k[1];i&&(i=b.call(c,k,f,g))}while(i);return e===B?a:D(e,f,k,a)})};return e}function ob(a,b){var c=y(a);b=[a].concat(b).map(function(a){!x(a)?a=c?ya(a):za(Array.isArray(a)?a:[a]):c&&(a=u(a));return a}).filter(function(a){return a.size!==0});if(b.length===0)return a;if(b.length===1){var d=b[0];if(d===a||c&&y(d)||z(a)&&z(d))return d}d=new ra(b);c?d=d.toKeyedSeq():z(a)||(d=d.toSetSeq());d=d.flatten(!0);d.size=b.reduce(function(a,b){if(a!==void 0){b=b.size;if(b!==void 0)return a+b}},0);return d}function pb(a,b,c){var d=zb(a);d.__iterateUncached=function(d,e){var f=0,g=!1;function h(a,i){var j=this;a.__iterate(function(a,e){(!b||i0}function vb(a,b,c){a=zb(a);a.size=new ra(c).map(function(a){return a.size}).min();a.__iterate=function(a,b){b=this.__iterator(A,b);var c,d=0;while(!(c=b.next()).done)if(a(c.value,d++,this)===!1)break;return d};a.__iteratorUncached=function(a,d){var e=c.map(function(a){return a=t(a),na(d?a.reverse():a)}),f=0,g=!1;return new C(function(){var c;g||(c=e.map(function(a){return a.next()}),g=c.some(function(a){return a.done}));return g?E():D(a,f++,b.apply(null,c.map(function(a){return a.value})))})};return a}function N(a,b){return va(a)?b:a.constructor(b)}function wb(a){if(a!==Object(a))throw new TypeError("Expected [K, V] tuple: "+a)}function xb(a){L(a.size);return n(a)}function yb(a){return y(a)?u:z(a)?v:w}function zb(a){return Object.create((y(a)?G:z(a)?H:I).prototype)}function Ab(){if(this._iter.cacheResult){this._iter.cacheResult();this.size=this._iter.size;return this}else return F.prototype.cacheResult.call(this)}function Bb(a,b){return a>b?1:a=ec)return Ub(a,c,d,e);h=a&&a===this.ownerID;f=h?c:m(c);l?b?i===j-1?f.pop():f[i]=f.pop():f[i]=[d,e]:f.push([d,e]);if(h){this.entries=f;return this}return new Fb(a,f)};function Gb(a,b,c){this.ownerID=a,this.bitmap=b,this.nodes=c}Gb.prototype.get=function(a,b,c,e){b===void 0&&(b=K(c));var g=1<<((a===0?b:b>>>a)&f),h=this.bitmap;return(h&g)===0?e:this.nodes[ac(h&g-1)].get(a+d,b,c,e)};Gb.prototype.update=function(a,b,c,e,h,i,j){c===void 0&&(c=K(e));var k=(b===0?c:c>>>b)&f,l=1<=fc)return Wb(a,p,m,k,b);if(n&&!b&&p.length===2&&Sb(p[o^1]))return p[o^1];if(n&&b&&p.length===1&&Sb(b))return b;c=a&&a===this.ownerID;e=n?b?m:m^l:m|l;h=n?b?bc(p,o,b,c):dc(p,o,c):cc(p,o,b,c);if(c){this.bitmap=e;this.nodes=h;return this}return new Gb(a,e,h)};function Hb(a,b,c){this.ownerID=a,this.count=b,this.nodes=c}Hb.prototype.get=function(a,b,c,e){b===void 0&&(b=K(c));var g=(a===0?b:b>>>a)&f;g=this.nodes[g];return g?g.get(a+d,b,c,e):e};Hb.prototype.update=function(a,b,c,e,h,i,j){c===void 0&&(c=K(e));var k=(b===0?c:c>>>b)&f,l=h===g,m=this.nodes,n=m[k];if(l&&!n)return this;l=Rb(n,a,b+d,c,e,h,i,j);if(l===n)return this;b=this.count;if(!n)b++;else if(!l){b--;if(b>>c)&f,i=(c===0?e:e>>>c)&f;e=h===i?[Tb(a,b,c+d,e,g)]:(c=new Jb(b,e,g),h>>=1)h[i]=c&1?b[g++]:void 0;h[d]=f;return new Hb(a,g+1,h)}function Xb(a,b,c){var d=[];for(var e=0;e>1&1431655765);a=(a&858993459)+(a>>2&858993459);a=a+(a>>4)&252645135;a=a+(a>>8);a=a+(a>>16);return a&127}function bc(a,b,c,d){d=d?a:m(a);d[b]=c;return d}function cc(a,b,c,d){var e=a.length+1;if(d&&b+1===e){a[b]=c;return a}d=new Array(e);var f=0;for(var g=0;g0&&f=this.size)return b;a+=this._origin;b=sc(this,a);return b&&b.array[a&f]};Q.prototype.set=function(a,b){return pc(this,a,b)};Q.prototype.remove=function(a){return this.has(a)?a===0?this.shift():a===this.size-1?this.pop():this.splice(a,1):this};Q.prototype.clear=function(){if(this.size===0)return this;if(this.__ownerID){this.size=this._origin=this._capacity=0;this._level=d;this._root=this._tail=null;this.__hash=void 0;this.__altered=!0;return this}return oc()};Q.prototype.push=function(){var a=arguments,b=this.size;return this.withMutations(function(c){tc(c,0,b+a.length);for(var d=0;d>>b&f;if(e>=this.array.length)return new jc([],a);var g=e===0,h;if(b>0){var i=this.array[e];h=i&&i.removeBefore(a,b-d,c);if(h===i&&g)return this}if(g&&!h)return this;b=rc(this,a);if(!g)for(var c=0;c>>b&f;if(e>=this.array.length)return this;var g=e===this.array.length-1,h;if(b>0){var i=this.array[e];h=i&&i.removeAfter(a,b-d,c);if(h===i&&g)return this}if(g&&!h)return this;b=rc(this,a);g||b.array.pop();h&&(b.array[e]=h);return b};var kc={};function lc(a,b){var c=a._origin,f=a._capacity,g=vc(f),h=a._tail;return i(a._root,a._level,0);function i(a,b,c){return b===0?j(a,c):k(a,b,c)}function j(a,d){var i=d===g?h&&h.array:a&&a.array,j=d>c?0:c-d,k=f-d;k>e&&(k=e);return function(){if(j===k)return kc;var a=b?--k:j++;return i&&i[a]}}function k(a,g,h){var j,k=a&&a.array,l=h>c?0:c-h>>g,m=(f-h>>g)+1;m>e&&(m=e);return function(){do{if(j){var a=j();if(a!==kc)return a;j=null}if(l===m)return kc;a=b?--m:l++;j=i(k&&k[a],g-d,h+(a<=a.size||b<0)return a.withMutations(function(a){b<0?tc(a,b).set(0,c):tc(a,0,b+1).set(b,c)});b+=a._origin;var d=a._tail,e=a._root,f=j(i);b>=vc(a._capacity)?d=qc(d,a.__ownerID,0,b,c,f):e=qc(e,a.__ownerID,a._level,b,c,f);if(!f.value)return a;if(a.__ownerID){a._root=e;a._tail=d;a.__hash=void 0;a.__altered=!0;return a}return mc(a._origin,a._capacity,a._level,e,d)}function qc(a,b,c,e,g,h){var i=e>>>c&f,j=a&&i0){var l=a&&a.array[i];c=qc(l,b,c-d,e,g,h);if(c===l)return a;e=rc(a,b);e.array[i]=c;return e}if(j&&a.array[i]===g)return a;k(h);e=rc(a,b);g===void 0&&i===e.array.length-1?e.array.pop():e.array[i]=g;return e}function rc(a,b){return b&&a&&b===a.ownerID?a:new jc(a?a.array.slice():[],b)}function sc(a,b){if(b>=vc(a._capacity))return a._tail;if(b<1<0)c=c.array[b>>>a&f],a-=d;return c}}function tc(a,b,c){var e=a.__ownerID||new l(),g=a._origin,h=a._capacity;b=g+b;c=c===void 0?h:c<0?h+c:g+c;if(b===g&&c===h)return a;if(b>=c)return a.clear();var i=a._level,j=a._root,k=0;while(b+k<0)j=new jc(j&&j.array.length?[void 0,j]:[],e),i+=d,k+=1<=1<m?new jc([],e):o;if(o&&n>m&&bd;r-=d){var s=m>>>r&f;q=q.array[s]=rc(q.array[s],e)}q.array[m>>>d&f]=o}c=n)b-=n,c-=n,i=d,j=null,p=p&&p.removeBefore(e,0,b);else if(b>g||n>>i&f;if(s!==n>>>i&f)break;s&&(k+=(1<g&&(j=j.removeBefore(e,i,b-k));j&&ne&&(e=h.size);x(g)||(h=h.map(function(a){return Ia(a)}));d.push(h)}e>a.size&&(a=a.setSize(e));return Zb(a,b,d)}function vc(a){return a>>d<=e&&f.size>=d.size*2?(k=f.filter(function(a,b){return a!==void 0&&h!==b}),j=k.toKeyedSeq().map(function(a){return a[0]}).flip().toMap(),a.__ownerID&&(j.__ownerID=k.__ownerID=a.__ownerID)):(j=d.remove(b),k=h===f.size-1?f.pop():f.set(h,void 0))}else if(i){if(c===f.get(h)[1])return a;j=d;k=f.set(h,[b,c])}else j=d.set(b,f.size),k=f.set(f.size,[b,c]);if(a.__ownerID){a.size=j.size;a._map=j;a._list=k;a.__hash=void 0;return a}return xc(j,k)}b(T,Ga);function T(a){return a===null||a===void 0?Gc():Bc(a)?a:Gc().unshiftAll(a)}T.of=function(){return this(arguments)};T.prototype.toString=function(){return this.__toString("Stack [","]")};T.prototype.get=function(a,b){var c=this._head;a=o(this,a);while(c&&a--)c=c.next;return c?c.value:b};T.prototype.peek=function(){return this._head&&this._head.value};T.prototype.push=function(){if(arguments.length===0)return this;var a=this.size+arguments.length,b=this._head;for(var c=arguments.length-1;c>=0;c--)b={value:arguments[c],next:b};if(this.__ownerID){this.size=a;this._head=b;this.__hash=void 0;this.__altered=!0;return this}return Ec(a,b)};T.prototype.pushAll=function(a){a=v(a);if(a.size===0)return this;L(a.size);var b=this.size,c=this._head;a.reverse().forEach(function(a){b++,c={value:a,next:c}});if(this.__ownerID){this.size=b;this._head=c;this.__hash=void 0;this.__altered=!0;return this}return Ec(b,c)};T.prototype.pop=function(){return this.slice(1)};T.prototype.unshift=function(){return this.push.apply(this,arguments)};T.prototype.unshiftAll=function(a){return this.pushAll(a)};T.prototype.shift=function(){return this.pop.apply(this,arguments)};T.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=!0;return this}return Gc()};T.prototype.slice=function(a,b){if(q(a,b,this.size))return this;var c=r(a,this.size),d=s(b,this.size);if(d!==this.size)return Ga.prototype.slice.call(this,a,b);d=this.size-c;a=this._head;while(c--)a=a.next;if(this.__ownerID){this.size=d;this._head=a;this.__hash=void 0;this.__altered=!0;return this}return Ec(d,a)};T.prototype.__ensureOwner=function(a){if(a===this.__ownerID)return this;if(!a){this.__ownerID=a;this.__altered=!1;return this}return Ec(this.size,this._head,a,this.__hash)};T.prototype.__iterate=function(a,b){if(b)return this.reverse().__iterate(a);b=0;var c=this._head;while(c){if(a(c.value,b++,this)===!1)break;c=c.next}return b};T.prototype.__iterator=function(a,b){if(b)return this.reverse().__iterator(a);var c=0,d=this._head;return new C(function(){if(d){var b=d.value;d=d.next;return D(a,c++,b)}return E()})};function Bc(a){return!!(a&&a[Cc])}T.isStack=Bc;var Cc="@@__IMMUTABLE_STACK__@@",Dc=T.prototype;Dc[Cc]=!0;Dc.withMutations=P.withMutations;Dc.asMutable=P.asMutable;Dc.asImmutable=P.asImmutable;Dc.wasAltered=P.wasAltered;function Ec(b,c,d,a){var e=Object.create(Dc);e.size=b;e._head=c;e.__ownerID=d;e.__hash=a;e.__altered=!1;return e}var Fc;function Gc(){return Fc||(Fc=Ec(0))}b(U,Ha);function U(a){return a===null||a===void 0?Mc():Hc(a)?a:Mc().withMutations(function(b){var c=w(a);L(c.size);c.forEach(function(a){return b.add(a)})})}U.of=function(){return this(arguments)};U.fromKeys=function(a){return this(u(a).keySeq())};U.prototype.toString=function(){return this.__toString("Set {","}")};U.prototype.has=function(a){return this._map.has(a)};U.prototype.add=function(a){return Jc(this,this._map.set(a,!0))};U.prototype.remove=function(a){return Jc(this,this._map.remove(a))};U.prototype.clear=function(){return Jc(this,this._map.clear())};U.prototype.union=function(){var b=a.call(arguments,0);b=b.filter(function(a){return a.size!==0});if(b.length===0)return this;return this.size===0&&!this.__ownerID&&b.length===1?this.constructor(b[0]):this.withMutations(function(a){for(var c=0;c1?" by "+this._step:"")+" ]"};Y.prototype.get=function(a,b){return this.has(a)?this._start+o(this,a)*this._step:b};Y.prototype.includes=function(a){a=(a-this._start)/this._step;return a>=0&&a=0&&ac?E():D(a,f++,g)})};Y.prototype.equals=function(a){return a instanceof Y?this._start===a._start&&this._end===a._end&&this._step===a._step:Xc(this,a)};var Yc;b(Z,H);function Z(a,b){if(!(this instanceof Z))return new Z(a,b);this._value=a;this.size=b===void 0?Infinity:Math.max(0,b);if(this.size===0){if(Zc)return Zc;Zc=this}}Z.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"};Z.prototype.get=function(a,b){return this.has(a)?this._value:b};Z.prototype.includes=function(a){return J(this._value,a)};Z.prototype.slice=function(a,b){var c=this.size;return q(a,b,c)?this:new Z(this._value,s(b,c)-r(a,c))};Z.prototype.reverse=function(){return this};Z.prototype.indexOf=function(a){return J(this._value,a)?0:-1};Z.prototype.lastIndexOf=function(a){return J(this._value,a)?this.size:-1};Z.prototype.__iterate=function(a,b){for(var b=0;bthis.size?b:this.find(function(b,c){return c===a},void 0,b)},has:function(a){a=o(this,a);return a>=0&&(this.size!==void 0?this.size===Infinity||ab?-1:0}function hd(a){if(a.size===Infinity)return 0;var b=ca(a),c=y(a),d=b?1:0;a=a.__iterate(c?b?function(a,b){d=31*d+jd(K(a),K(b))|0}:function(a,b){d=d+jd(K(a),K(b))|0}:b?function(a){d=31*d+K(a)|0}:function(a){d=d+K(a)|0});return id(a,d)}function id(a,b){b=Ma(b,3432918353);b=Ma(b<<15|b>>>-15,461845907);b=Ma(b<<13|b>>>-13,5);b=(b+3864292196|0)^a;b=Ma(b^b>>>16,2246822507);b=Ma(b^b>>>13,3266489909);b=Na(b^b>>>16);return b}function jd(a,b){return a^b+2654435769+(a<<6)+(a>>2)|0}b={Iterable:t,Seq:F,Collection:Ea,Map:O,OrderedMap:S,List:Q,Stack:T,Set:U,OrderedSet:Nc,Record:W,Range:Y,Repeat:Z,is:J,fromJS:Ia};return b})}),null); __d("CharacterMetadata",["immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").Map,h=b("immutable").OrderedSet;a=b("immutable").Record;var i=h();c={style:i,entity:null};d=a(c);f=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getStyle=function(){return this.get("style")};c.getEntity=function(){return this.get("entity")};c.hasStyle=function(a){return this.getStyle().includes(a)};b.applyStyle=function(a,c){a=a.set("style",a.getStyle().add(c));return b.create(a)};b.removeStyle=function(a,c){a=a.set("style",a.getStyle().remove(c));return b.create(a)};b.applyEntity=function(a,c){a=a.getEntity()===c?a:a.set("entity",c);return b.create(a)};b.create=function(a){if(!a)return j;var c={style:i,entity:null};c=g(c).merge(a);a=k.get(c);if(a)return a;a=new b(c);k=k.set(c,a);return a};b.fromJS=function(a){var c=a.style;a=a.entity;return new b({style:Array.isArray(c)?h(c):c,entity:Array.isArray(a)?h(a):a})};return b}(d);var j=new f(),k=g([[g(c),j]]);f.EMPTY=j;e.exports=f}),null); __d("ContentStateInlineStyle",["CharacterMetadata","immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").Map;a={add:function(a,b,c){return h(a,b,c,!0)},remove:function(a,b,c){return h(a,b,c,!1)}};function h(a,c,d,e){var f=a.getBlockMap(),h=c.getStartKey(),i=c.getStartOffset(),j=c.getEndKey(),k=c.getEndOffset(),l=f.skipUntil(function(a,b){return b===h}).takeUntil(function(a,b){return b===j}).concat(g([[j,f.get(j)]])).map(function(a,c){var f,g;h===j?(f=i,g=k):(f=c===h?i:0,g=c===j?k:a.getLength());c=a.getCharacterList();var l;while(f0)return" "+a}else if(b=a.start});f.length==1||g(0,5779);f=f[0];if(a==="IMMUTABLE")return d.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});h||(i?k=f.end:j=f.start);a=b("DraftEntitySegments").getRemovalRange(j,k,c.getText().slice(f.start,f.end),f.start,e);return d.merge({anchorOffset:a.start,focusOffset:a.end,isBackward:!1})}e.exports=a}),null); __d("findRangesImmutable",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){if(!a.size)return;var e=0;a.reduce(function(a,f,g){b(a,f)||(c(a)&&d(e,g),e=g);return f});c(a.last())&&d(e,a.count())}e.exports=a}),null); __d("ContentBlockNode",["CharacterMetadata","findRangesImmutable","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Map;d=a.OrderedSet;f=a.Record;var h=a.Repeat,i=d(),j={parent:null,characterList:g(),data:c(),depth:0,key:"",text:"",type:"unstyled",children:g(),prevSibling:null,nextSibling:null},k=function(a,b){return a.getStyle()===b.getStyle()},l=function(a,b){return a.getEntity()===b.getEntity()},m=function(a){if(!a)return a;var c=a.characterList,d=a.text;d&&!c&&(a.characterList=g(h(b("CharacterMetadata").EMPTY,d.length)));return a};a=function(a){babelHelpers.inheritsLoose(c,a);function c(b){b===void 0&&(b=j);return a.call(this,m(b))||this}var d=c.prototype;d.getKey=function(){return this.get("key")};d.getType=function(){return this.get("type")};d.getText=function(){return this.get("text")};d.getCharacterList=function(){return this.get("characterList")};d.getLength=function(){return this.getText().length};d.getDepth=function(){return this.get("depth")};d.getData=function(){return this.get("data")};d.getInlineStyleAt=function(a){a=this.getCharacterList().get(a);return a?a.getStyle():i};d.getEntityAt=function(a){a=this.getCharacterList().get(a);return a?a.getEntity():null};d.getChildKeys=function(){return this.get("children")};d.getParentKey=function(){return this.get("parent")};d.getPrevSiblingKey=function(){return this.get("prevSibling")};d.getNextSiblingKey=function(){return this.get("nextSibling")};d.findStyleRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),k,a,c)};d.findEntityRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),l,a,c)};return c}(f(j));e.exports=a}),null); __d("generateRandomKey",[],(function(a,b,c,d,e,f){"use strict";var g={},h=Math.pow(2,24);function a(){var a;while(a===void 0||Object.prototype.hasOwnProperty.call(g,a)||!isNaN(+a))a=Math.floor(Math.random()*h).toString(32);g[a]=!0;return a}e.exports=a}),null); __d("randomizeBlockMapKeys",["ContentBlockNode","generateRandomKey","immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").OrderedMap,h=function(a){var c={},d;return g(a.withMutations(function(a){a.forEach(function(e,f){var g=e.getKey();f=e.getNextSiblingKey();var h=e.getPrevSiblingKey(),i=e.getChildKeys(),j=e.getParentKey(),k=b("generateRandomKey")();c[g]=k;if(f){var l=a.get(f);l?a.setIn([f,"prevSibling"],k):a.setIn([g,"nextSibling"],null)}if(h){l=a.get(h);l?a.setIn([h,"nextSibling"],k):a.setIn([g,"prevSibling"],null)}if(j&&a.get(j)){f=a.get(j);l=f.getChildKeys();a.setIn([j,"children"],l.set(l.indexOf(e.getKey()),k))}else a.setIn([g,"parent"],null),d&&(a.setIn([d.getKey(),"nextSibling"],k),a.setIn([g,"prevSibling"],c[d.getKey()])),d=a.get(g);i.forEach(function(b){var c=a.get(b);c?a.setIn([b,"parent"],k):a.setIn([g,"children"],e.getChildKeys().filter(function(a){return a!==b}))})})}).toArray().map(function(a){return[c[a.getKey()],a.set("key",c[a.getKey()])]}))},i=function(a){return g(a.toArray().map(function(a){var c=b("generateRandomKey")();return[c,a.set("key",c)]}))};a=function(a){var c=a.first()instanceof b("ContentBlockNode");return!c?i(a):h(a)};e.exports=a}),null); __d("removeEntitiesAtEdges",["invariant","CharacterMetadata","findRangesImmutable"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c=a.getBlockMap(),d={},e=b.getStartKey(),f=b.getStartOffset(),g=c.get(e);f=i(a,g,f);f!==g&&(d[e]=f);g=b.getEndKey();var h=b.getEndOffset(),j=c.get(g);e===g&&(j=f);e=i(a,j,h);e!==j&&(d[g]=e);return!Object.keys(d).length?a.setSelectionAfter(b):a.merge({blockMap:c.merge(d),selectionAfter:b})}function h(a,c,d){var e;b("findRangesImmutable")(a,function(a,b){return a.getEntity()===b.getEntity()},function(a){return a.getEntity()===c},function(a,b){a<=d&&b>=d&&(e={start:a,end:b})});typeof e==="object"||g(0,6015);return e}function i(a,c,d){var e=c.getCharacterList(),f=d>0?e.get(d-1):void 0,g=db)a=a.pop(),c--;else{b=a.slice(0,b);c=a.slice(c);a=b.concat(c).toList()}return a};e.exports=a}),null); __d("splitBlockInContentState",["invariant","ContentBlockNode","generateRandomKey","immutable","modifyBlockForContentState"],(function(a,b,c,d,e,f,g){"use strict";var h=b("immutable").List,i=b("immutable").Map,j=function(a,b,c){if(!a)return;var d=b.get(a);if(!d)return;b.set(a,c(d))},k=function(a,b,c){return a.withMutations(function(a){var d=b.getKey(),e=c.getKey();j(b.getParentKey(),a,function(a){var b=a.getChildKeys(),c=b.indexOf(d)+1;b=b.toArray();b.splice(c,0,e);return a.merge({children:h(b)})});j(b.getNextSiblingKey(),a,function(a){return a.merge({prevSibling:e})});j(d,a,function(a){return a.merge({nextSibling:e})});j(e,a,function(a){return a.merge({prevSibling:d})})})};a=function(a,c){c.isCollapsed()||g(0,5004);var d=c.getAnchorKey(),e=a.getBlockMap(),f=e.get(d),h=f.getText();if(!h){var j=f.getType();if(j==="unordered-list-item"||j==="ordered-list-item")return b("modifyBlockForContentState")(a,c,function(a){return a.merge({type:"unstyled",depth:0})})}j=c.getAnchorOffset();var l=f.getCharacterList(),m=b("generateRandomKey")(),n=f instanceof b("ContentBlockNode"),o=f.merge({text:h.slice(0,j),characterList:l.slice(0,j)});h=o.merge({key:m,text:h.slice(j),characterList:l.slice(j),data:i()});l=e.toSeq().takeUntil(function(a){return a===f});j=e.toSeq().skipUntil(function(a){return a===f}).rest();e=l.concat([[d,o],[m,h]],j).toOrderedMap();n&&(f.getChildKeys().isEmpty()||g(0,5005),e=k(e,o,h));return a.merge({blockMap:e,selectionBefore:c,selectionAfter:c.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})};e.exports=a}),null); __d("DraftModifier",["invariant","CharacterMetadata","ContentStateInlineStyle","applyEntityToContentState","getCharacterRemovalRange","getContentStateFragment","immutable","insertFragmentIntoContentState","insertTextIntoContentState","modifyBlockForContentState","removeEntitiesAtEdges","removeRangeFromContentState","splitBlockInContentState"],(function(a,b,c,d,e,f,g){"use strict";var h=b("immutable").OrderedSet,i={replaceText:function(a,c,d,e,f){a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);c=b("CharacterMetadata").create({style:e||h(),entity:f||null});return b("insertTextIntoContentState")(a,a.getSelectionAfter(),d,c)},insertText:function(a,b,c,d,e){b.isCollapsed()||g(0,4661);return i.replaceText(a,b,c,d,e)},moveText:function(a,c,d){var e=b("getContentStateFragment")(a,c);a=i.removeRange(a,c,"backward");return i.replaceWithFragment(a,d,e)},replaceWithFragment:function(a,c,d,e){e===void 0&&(e="REPLACE_WITH_NEW_DATA");a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);return b("insertFragmentIntoContentState")(a,a.getSelectionAfter(),d,e)},removeRange:function(a,c,d){var e,f,g,h;c.getIsBackward()&&(c=c.merge({anchorKey:c.getFocusKey(),anchorOffset:c.getFocusOffset(),focusKey:c.getAnchorKey(),focusOffset:c.getAnchorOffset(),isBackward:!1}));e=c.getAnchorKey();f=c.getFocusKey();g=a.getBlockForKey(e);h=a.getBlockForKey(f);var i=c.getStartOffset(),j=c.getEndOffset();i=g.getEntityAt(i);j=h.getEntityAt(j-1);if(e===f&&(i&&i===j)){e=b("getCharacterRemovalRange")(a.getEntityMap(),g,h,c,d);return b("removeRangeFromContentState")(a,e)}f=b("removeEntitiesAtEdges")(a,c);return b("removeRangeFromContentState")(f,c)},splitBlock:function(a,c){a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);return b("splitBlockInContentState")(a,a.getSelectionAfter())},applyInlineStyle:function(a,c,d){return b("ContentStateInlineStyle").add(a,c,d)},removeInlineStyle:function(a,c,d){return b("ContentStateInlineStyle").remove(a,c,d)},setBlockType:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({type:d,depth:0})})},setBlockData:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({data:d})})},mergeBlockData:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({data:a.getData().merge(d)})})},applyEntity:function(a,c,d){a=b("removeEntitiesAtEdges")(a,c);return b("applyEntityToContentState")(a,c,d)}};e.exports=i}),null); __d("BlockTree",["findRangesImmutable","getOwnObjectValues","immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").List,h=b("immutable").Repeat;a=b("immutable").Record;var i=function(){return!0};c={start:null,end:null};var j=a(c);d={start:null,end:null,decoratorKey:null,leaves:null};var k=a(d);f={generate:function(a,c,d){var e=c.getLength();if(!e)return g.of(new k({start:0,end:0,decoratorKey:null,leaves:g.of(new j({start:0,end:0}))}));var f=[],n=d?d.getDecorations(c,a):g(h(null,e)),o=c.getCharacterList();b("findRangesImmutable")(n,m,i,function(a,b){f.push(new k({start:a,end:b,decoratorKey:n.get(a),leaves:l(o.slice(a,b).toList(),a)}))});return g(f)},fromJS:function(a){var c=a.leaves;a=babelHelpers.objectWithoutPropertiesLoose(a,["leaves"]);return new k(babelHelpers["extends"]({},a,{leaves:c!=null?g(Array.isArray(c)?c:b("getOwnObjectValues")(c)).map(function(a){return j(a)}):null}))}};function l(a,c){var d=[];a=a.map(function(a){return a.getStyle()}).toList();b("findRangesImmutable")(a,m,i,function(a,b){d.push(new j({start:a+c,end:b+c}))});return g(d)}function m(a,b){return a===b}e.exports=f}),null); __d("ContentBlock",["CharacterMetadata","findRangesImmutable","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Map;d=a.OrderedSet;f=a.Record;var h=a.Repeat,i=d();a={key:"",type:"unstyled",text:"",characterList:g(),depth:0,data:c()};d=f(a);var j=function(a){if(!a)return a;var c=a.characterList,d=a.text;d&&!c&&(a.characterList=g(h(b("CharacterMetadata").EMPTY,d.length)));return a};c=function(a){babelHelpers.inheritsLoose(c,a);function c(b){return a.call(this,j(b))||this}var d=c.prototype;d.getKey=function(){return this.get("key")};d.getType=function(){return this.get("type")};d.getText=function(){return this.get("text")};d.getCharacterList=function(){return this.get("characterList")};d.getLength=function(){return this.getText().length};d.getDepth=function(){return this.get("depth")};d.getData=function(){return this.get("data")};d.getInlineStyleAt=function(a){a=this.getCharacterList().get(a);return a?a.getStyle():i};d.getEntityAt=function(a){a=this.getCharacterList().get(a);return a?a.getEntity():null};d.findStyleRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),k,a,c)};d.findEntityRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),l,a,c)};return c}(d);function k(a,b){return a.getStyle()===b.getStyle()}function l(a,b){return a.getEntity()===b.getEntity()}e.exports=c}),null); __d("DraftEntityInstance",["immutable"],(function(a,b,c,d,e,f){"use strict";a=b("immutable").Record;c=a({type:"TOKEN",mutability:"IMMUTABLE",data:Object});d=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getType=function(){return this.get("type")};c.getMutability=function(){return this.get("mutability")};c.getData=function(){return this.get("data")};return b}(c);e.exports=d}),null); __d("DraftEntity",["invariant","DraftEntityInstance","immutable","uuid"],(function(a,b,c,d,e,f,g){a=b("immutable").OrderedMap;var h=a(),i=b("uuid")(),j={__getAll:function(){return h},__loadWithEntities:function(a){h=a,i=b("uuid")()},__getLastCreatedEntityKey:function(){return i},__create:function(a,c,d){return j.__add(new(b("DraftEntityInstance"))({type:a,mutability:c,data:d||{}}))},__add:function(a){i=b("uuid")();h=h.set(i,a);return i},__get:function(a){var b=h.get(a);!b&&g(0,2105,a);return b},get:function(a){return j.__get(a)},set:function(a,b){h=h.set(a,b);return j},last:function(){return h.last()},__mergeData:function(a,b){var c=j.__get(a);b=babelHelpers["extends"]({},c.getData(),b);c=c.set("data",b);h=h.set(a,c);return c},__replaceData:function(a,b){var c=j.__get(a);c=c.set("data",b);h=h.set(a,c);return c}};e.exports=j}),null); __d("SelectionState",["immutable"],(function(a,b,c,d,e,f){"use strict";a=b("immutable").Record;c={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1};d=a(c);f=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())};c.getAnchorKey=function(){return this.get("anchorKey")};c.getAnchorOffset=function(){return this.get("anchorOffset")};c.getFocusKey=function(){return this.get("focusKey")};c.getFocusOffset=function(){return this.get("focusOffset")};c.getIsBackward=function(){return this.get("isBackward")};c.getHasFocus=function(){return this.get("hasFocus")};c.hasEdgeWithin=function(a,b,c){var d=this.getAnchorKey(),e=this.getFocusKey();if(d===e&&d===a){var f=this.getStartOffset(),g=this.getEndOffset();return b<=f&&f<=c||b<=g&&g<=c}if(a!==d&&a!==e)return!1;f=a===d?this.getAnchorOffset():this.getFocusOffset();return b<=f&&c>=f};c.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()};c.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()};c.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()};c.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()};c.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()};b.createEmpty=function(a){return new b({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})};return b}(d);e.exports=f}),null); __d("sanitizeDraftText",[],(function(a,b,c,d,e,f){"use strict";var g=new RegExp("\r","g");function a(a){return a.replace(g,"")}e.exports=a}),null); __d("ContentState",["BlockMapBuilder","CharacterMetadata","ContentBlock","ContentBlockNode","DraftEntity","SelectionState","generateRandomKey","getOwnObjectValues","gkx","immutable","sanitizeDraftText"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Record;var h=a.Repeat,i=a.Map,j=a.OrderedMap;d={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null};f=c(d);var k=b("gkx")("676842")?b("ContentBlockNode"):b("ContentBlock");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getEntityMap=function(){return b("DraftEntity")};d.getBlockMap=function(){return this.get("blockMap")};d.getSelectionBefore=function(){return this.get("selectionBefore")};d.getSelectionAfter=function(){return this.get("selectionAfter")};d.getBlockForKey=function(a){a=this.getBlockMap().get(a);return a};d.getKeyBefore=function(a){return this.getBlockMap().reverse().keySeq().skipUntil(function(b){return b===a}).skip(1).first()};d.getKeyAfter=function(a){return this.getBlockMap().keySeq().skipUntil(function(b){return b===a}).skip(1).first()};d.getBlockAfter=function(a){return this.getBlockMap().skipUntil(function(b,c){return c===a}).skip(1).first()};d.getBlockBefore=function(a){return this.getBlockMap().reverse().skipUntil(function(b,c){return c===a}).skip(1).first()};d.getBlocksAsArray=function(){return this.getBlockMap().toArray()};d.getFirstBlock=function(){return this.getBlockMap().first()};d.getLastBlock=function(){return this.getBlockMap().last()};d.getPlainText=function(a){return this.getBlockMap().map(function(a){return a?a.getText():""}).join(a||"\n")};d.getLastCreatedEntityKey=function(){return b("DraftEntity").__getLastCreatedEntityKey()};d.hasText=function(){var a=this.getBlockMap();return a.size>1||escape(a.first().getText()).replace(/%u200B/g,"").length>0};d.createEntity=function(a,c,d){b("DraftEntity").__create(a,c,d);return this};d.mergeEntityData=function(a,c){b("DraftEntity").__mergeData(a,c);return this};d.replaceEntityData=function(a,c){b("DraftEntity").__replaceData(a,c);return this};d.addEntity=function(a){b("DraftEntity").__add(a);return this};d.getEntity=function(a){return b("DraftEntity").__get(a)};d.getAllEntities=function(){return b("DraftEntity").__getAll()};d.setEntityMap=function(a){b("DraftEntity").__loadWithEntities(a);return this};c.mergeEntityMaps=function(a,b){return a.merge(b.__getAll())};d.replaceEntityMap=function(a){return this.setEntityMap(a.__getAll())};d.setSelectionBefore=function(a){return this.set("selectionBefore",a)};d.setSelectionAfter=function(a){return this.set("selectionAfter",a)};d.setBlockMap=function(a){return this.set("blockMap",a)};c.createFromBlockArray=function(a,d){a=Array.isArray(a)?a:a.contentBlocks;a=b("BlockMapBuilder").createFromArray(a);var e=a.isEmpty()?new(b("SelectionState"))():b("SelectionState").createEmpty(a.first().getKey());return new c({blockMap:a,entityMap:d||b("DraftEntity"),selectionBefore:e,selectionAfter:e})};c.createFromText=function(a,d){d===void 0&&(d=/\r\n?|\n/g);a=a.split(d);d=a.map(function(a){a=b("sanitizeDraftText")(a);return new k({key:b("generateRandomKey")(),text:a,type:"unstyled",characterList:g(h(b("CharacterMetadata").EMPTY,a.length))})});return c.createFromBlockArray(d)};c.fromJS=function(a){return new c(babelHelpers["extends"]({},a,{blockMap:j(a.blockMap).map(c.createContentBlockFromJS),selectionBefore:new(b("SelectionState"))(a.selectionBefore),selectionAfter:new(b("SelectionState"))(a.selectionAfter)}))};c.createContentBlockFromJS=function(a){var c=a.characterList;return new k(babelHelpers["extends"]({},a,{data:i(a.data),characterList:c!=null?g((Array.isArray(c)?c:b("getOwnObjectValues")(c)).map(function(a){return b("CharacterMetadata").fromJS(a)})):void 0}))};return c}(f);e.exports=a}),null); __d("UnicodeBidiService",["invariant","UnicodeBidi","UnicodeBidiDirection","UnicodeBidiGlobalDirection"],(function(a,b,c,d,e,f,g,h){"use strict";a=function(){function a(a){!a?a=c("UnicodeBidiGlobalDirection").getDir():d("UnicodeBidiDirection").isStrong(a)||h(0,3594),this.$1=a,this.reset()}var b=a.prototype;b.reset=function(){this.$2=this.$1};b.getDirection=function(a){this.$2=d("UnicodeBidi").getDirection(a,this.$2);return this.$2};return a}();g["default"]=a}),98); __d("EditorBidiService",["UnicodeBidiService","immutable","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").OrderedMap,h;a={getDirectionMap:function(a,c){!h?h=new(b("UnicodeBidiService"))():h.reset();a=a.getBlockMap();var d=a.valueSeq().map(function(a){return b("nullthrows")(h).getDirection(a.getText())});a=g(a.keySeq().zip(d));return c!=null&&b("immutable").is(c,a)?c:a}};e.exports=a}),null); __d("EditorState",["BlockTree","ContentState","EditorBidiService","SelectionState","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).OrderedSet;c=a.Record;var h=a.Stack,i=a.OrderedMap,j=a.List;d={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:h(),selection:null,treeMap:null,undoStack:h()};var k=c(d),l=function(){a.createEmpty=function(a){return this.createWithText("",a)};a.createWithText=function(c,d){return a.createWithContent(b("ContentState").createFromText(c),d)};a.createWithContent=function(c,d){if(c.getBlockMap().count()===0)return a.createEmpty(d);var e=c.getBlockMap().first().getKey();return a.create({currentContent:c,undoStack:h(),redoStack:h(),decorator:d||null,selection:b("SelectionState").createEmpty(e)})};a.create=function(c){var d=c.currentContent,e=c.decorator;c=babelHelpers["extends"]({},c,{treeMap:n(d,e),directionMap:b("EditorBidiService").getDirectionMap(d)});return new a(new k(c))};a.fromJS=function(c){return new a(new k(babelHelpers["extends"]({},c,{directionMap:c.directionMap!=null?i(c.directionMap):c.directionMap,inlineStyleOverride:c.inlineStyleOverride!=null?g(c.inlineStyleOverride):c.inlineStyleOverride,nativelyRenderedContent:c.nativelyRenderedContent!=null?b("ContentState").fromJS(c.nativelyRenderedContent):c.nativelyRenderedContent,redoStack:c.redoStack!=null?h(c.redoStack.map(function(a){return b("ContentState").fromJS(a)})):c.redoStack,selection:c.selection!=null?new(b("SelectionState"))(c.selection):c.selection,treeMap:c.treeMap!=null?i(c.treeMap).map(function(a){return j(a).map(function(a){return b("BlockTree").fromJS(a)})}):c.treeMap,undoStack:c.undoStack!=null?h(c.undoStack.map(function(a){return b("ContentState").fromJS(a)})):c.undoStack,currentContent:b("ContentState").fromJS(c.currentContent)})))};a.set=function(b,c){var d=b.getImmutable().withMutations(function(a){var d=a.get("decorator"),e=d;c.decorator===null?e=null:c.decorator&&(e=c.decorator);var f=c.currentContent||b.getCurrentContent();if(e!==d){var g=a.get("treeMap");e&&d?g=p(f,f.getBlockMap(),g,e,d):g=n(f,e);a.merge({decorator:e,treeMap:g,nativelyRenderedContent:null});return}d=b.getCurrentContent();f!==d&&a.set("treeMap",o(b,f.getBlockMap(),f.getEntityMap(),e));a.merge(c)});return new a(d)};var c=a.prototype;c.toJS=function(){return this.getImmutable().toJS()};c.getAllowUndo=function(){return this.getImmutable().get("allowUndo")};c.getCurrentContent=function(){return this.getImmutable().get("currentContent")};c.getUndoStack=function(){return this.getImmutable().get("undoStack")};c.getRedoStack=function(){return this.getImmutable().get("redoStack")};c.getSelection=function(){return this.getImmutable().get("selection")};c.getDecorator=function(){return this.getImmutable().get("decorator")};c.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")};c.mustForceSelection=function(){return this.getImmutable().get("forceSelection")};c.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")};c.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")};c.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")};a.setInlineStyleOverride=function(b,c){return a.set(b,{inlineStyleOverride:c})};c.getCurrentInlineStyle=function(){var a=this.getInlineStyleOverride();if(a!=null)return a;a=this.getCurrentContent();var b=this.getSelection();return b.isCollapsed()?r(a,b):s(a,b)};c.getBlockTree=function(a){return this.getImmutable().getIn(["treeMap",a])};c.isSelectionAtStartOfContent=function(){var a=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(a,0,0)};c.isSelectionAtEndOfContent=function(){var a=this.getCurrentContent();a=a.getBlockMap();a=a.last();var b=a.getLength();return this.getSelection().hasEdgeWithin(a.getKey(),b,b)};c.getDirectionMap=function(){return this.getImmutable().get("directionMap")};a.acceptSelection=function(a,b){return m(a,b,!1)};a.forceSelection=function(a,b){b.getHasFocus()||(b=b.set("hasFocus",!0));return m(a,b,!0)};a.moveSelectionToEnd=function(c){var d=c.getCurrentContent();d=d.getLastBlock();var e=d.getKey();d=d.getLength();return a.acceptSelection(c,new(b("SelectionState"))({anchorKey:e,anchorOffset:d,focusKey:e,focusOffset:d,isBackward:!1}))};a.moveFocusToEnd=function(b){b=a.moveSelectionToEnd(b);return a.forceSelection(b,b.getSelection())};a.push=function(c,d,e,f){f===void 0&&(f=!0);if(c.getCurrentContent()===d)return c;var g=b("EditorBidiService").getDirectionMap(d,c.getDirectionMap());if(!c.getAllowUndo())return a.set(c,{currentContent:d,directionMap:g,lastChangeType:e,selection:d.getSelectionAfter(),forceSelection:f,inlineStyleOverride:null});var i=c.getSelection(),j=c.getCurrentContent(),k=c.getUndoStack(),l=d;i!==j.getSelectionAfter()||q(c,e)?(k=k.push(j),l=l.setSelectionBefore(i)):(e==="insert-characters"||e==="backspace-character"||e==="delete-character")&&(l=l.setSelectionBefore(j.getSelectionBefore()));i=c.getInlineStyleOverride();j=["adjust-depth","change-block-type","split-block"];j.indexOf(e)===-1&&(i=null);j={currentContent:l,directionMap:g,undoStack:k,redoStack:h(),lastChangeType:e,selection:d.getSelectionAfter(),forceSelection:f,inlineStyleOverride:i};return a.set(c,j)};a.undo=function(c){if(!c.getAllowUndo())return c;var d=c.getUndoStack(),e=d.peek();if(!e)return c;var f=c.getCurrentContent(),g=b("EditorBidiService").getDirectionMap(e,c.getDirectionMap());return a.set(c,{currentContent:e,directionMap:g,undoStack:d.shift(),redoStack:c.getRedoStack().push(f),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:f.getSelectionBefore()})};a.redo=function(c){if(!c.getAllowUndo())return c;var d=c.getRedoStack(),e=d.peek();if(!e)return c;var f=c.getCurrentContent(),g=b("EditorBidiService").getDirectionMap(e,c.getDirectionMap());return a.set(c,{currentContent:e,directionMap:g,undoStack:c.getUndoStack().push(f),redoStack:d.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:e.getSelectionAfter()})};function a(a){this.$1=a}c.getImmutable=function(){return this.$1};return a}();function m(a,b,c){return l.set(a,{selection:b,forceSelection:c,nativelyRenderedContent:null,inlineStyleOverride:null})}function n(a,c){return a.getBlockMap().map(function(d){return b("BlockTree").generate(a,d,c)}).toOrderedMap()}function o(a,c,d,e){var f=a.getCurrentContent().replaceEntityMap(d),g=f.getBlockMap();d=a.getImmutable().get("treeMap");return d.merge(c.toSeq().filter(function(a,b){return a!==g.get(b)}).map(function(a){return b("BlockTree").generate(f,a,e)}))}function p(a,c,d,e,f){return d.merge(c.toSeq().filter(function(b){return e.getDecorations(b,a)!==f.getDecorations(b,a)}).map(function(c){return b("BlockTree").generate(a,c,e)}))}function q(a,b){a=a.getLastChangeType();return b!==a||b!=="insert-characters"&&b!=="backspace-character"&&b!=="delete-character"}function r(a,b){var c=b.getStartKey();b=b.getStartOffset();var d=a.getBlockForKey(c);if(b>0)return d.getInlineStyleAt(b-1);return d.getLength()?d.getInlineStyleAt(0):t(a,c)}function s(a,b){var c=b.getStartKey();b=b.getStartOffset();var d=a.getBlockForKey(c);if(b0?d.getInlineStyleAt(b-1):t(a,c)}function t(a,b){a=a.getBlockMap().reverse().skipUntil(function(a,c){return c===b}).skip(1).skipUntil(function(a,b){return a.getLength()}).first();return a?a.getInlineStyleAt(a.getLength()-1):g()}e.exports=l}),null); __d("cometReplaceMentionedTextInEditorState",["DraftModifier","EditorState"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e,f,g){g=g(b.getCurrentContent(),a);var h=g.getLastCreatedEntityKey();g=d("DraftModifier").replaceText(g,e,f,b.getCurrentInlineStyle(),h);e=a.decorType;g.mergeEntityData(h,{mentionDecorType:e});return c("EditorState").push(b,g,"insert-fragment")}function a(a,b,c,d,e){var f=b.getSelection(),g=b.getCurrentContent(),k=f.getAnchorKey(),l=f.getAnchorOffset();g=g.getBlockMap().get(k);k=f.getStartOffset();k=g.getText().substr(k-c,c);k=i(a,k);g=l-j(g.getText().substr(0,l),k,c);return h(a,b,f.set("anchorOffset",g),e(a),d)}function i(a,b){b=a.label;return b}function j(a,b,c){c=c;for(var d=c;d<=b.length;d++)a.substr(-d)===b.substr(0,d)&&(c=d);return c}g["default"]=a}),98); __d("createCometComposerMentionsEntity",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){return c.createEntity("MENTION","SEGMENTED",{id:a})}f["default"]=a}),66); __d("getCometComposerMentionsSearch",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){var c=a.getCharacterList().toSeq().slice(0,b).reverse().takeWhile(function(a){return a.getEntity()===null}).count();return a.getText().slice(b-c,b)}function a(a){var b=a.getSelection();a=a.getCurrentContent();var c=b.getAnchorKey();a=a.getBlockForKey(c);return g(a,b.getAnchorOffset())}f["default"]=a}),66); __d("EmojiSpan.react",["cx","FBEmojiResource","UnicodeUtils","react"],(function(a,b,c,d,e,f,g,h){var i=d("react");function a(a){var b=a.children;a.contentState;var e=a.decoratedText,f=a.dir,g=a.offsetKey;a=a.size;var h=0,j=e.length,k=[];while(h=e.start&&e.start-o>=0&&(i={key:m,offset:e.start-o});l>=e.end&&e.end-o>=0&&(j={key:m,offset:e.end-o});k==null&&(j&&!i?k=!0:i&&!j?k=!1:j&&i&&(k=i.offset>j.offset));f=g.getBlockAfter(m)}if(i&&j){n=h.getSelection().merge({anchorKey:i.key,anchorOffset:i.offset,focusKey:j.key,focusOffset:j.offset,isBackward:!!k});h=c("EditorState").forceSelection(h,n)}}else d&&(h=c("EditorState").moveFocusToEnd(h));return h;case"editor-state-based":default:return b!=null?c("EditorState").set(a.draftEditorState,{decorator:b}):a.draftEditorState}}g["default"]=a}),98); __d("DraftEffectsPerSite",["fbt","Bootloader"],(function(a,b,c,d,e,f,g,h){"use strict";function a(){c("Bootloader").loadModules(["SimpleXUIDialog"],function(a){a.show(h._(/*FBT_CALL*/"An extension installed in your web browser is preventing text entry from working correctly. Please disable any extensions and reload the page."/*FBT_CALL*/),h._(/*FBT_CALL*/"Text Editing Is Limited"/*FBT_CALL*/),null,{width:600})},"DraftEffectsPerSite")}g.handleExtensionCausedError=a}),98); __d("getScrollPosition",["getDocumentScrollElement","getUnboundedScrollPosition"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=c("getDocumentScrollElement")(a.ownerDocument||a.document);a.Window&&a instanceof a.Window&&(a=b);var d=c("getUnboundedScrollPosition")(a);b=a===b?a.ownerDocument.documentElement:a;var e=a.scrollWidth-b.clientWidth;a=a.scrollHeight-b.clientHeight;d.x=Math.max(0,Math.min(d.x,e));d.y=Math.max(0,Math.min(d.y,a));return d}g["default"]=a}),98); __d("DataTransfer",["PhotosMimeType","Promise","createArrayFromMixed","emptyFunction","promiseDone"],(function(a,b,c,d,e,f){var g=new RegExp("\r\n","g"),h="\n",i={"text/rtf":1,"text/html":1};function j(a){if(a.kind=="file")return a.getAsFile()}function k(a){return new(b("Promise"))(function(b){a.file(function(a){b([a])})})}function l(a){return typeof a.webkitGetAsEntry==="function"?a.webkitGetAsEntry():null}function m(a,c){return new(b("Promise"))(function(d){b("promiseDone")(b("Promise").all(a.map(function(a){var b=l(a);if(b&&b.createReader!=null){c();return n(b)}else{return(b=j(a))!=null?b:[]}})),function(a){d(a.flatMap(b("emptyFunction").thatReturnsArgument))})})}function n(a){return new(b("Promise"))(function(c){var d=a.createReader(),e=[],f=function(){b("promiseDone")(b("Promise").all(e.map(function(a){if(a.isDirectory)return n(a);else return k(a)})),function(a){c(a.flatMap(b("emptyFunction").thatReturnsArgument))})},g=function a(){d.readEntries(function(b){b.length?(e=e.concat(b),a()):f()},f)};g()})}a=function(){"use strict";function a(a){this.data=a,this.types=a.types?b("createArrayFromMixed")(a.types):[]}var c=a.prototype;c.isRichText=function(){if(this.getHTML()&&this.getText())return!0;return this.isImage()?!1:this.types.some(function(a){return i[a]})};c.getText=function(){var a;!this.types.length?a=this.data.getData("Text"):this.types.indexOf("text/plain")!=-1&&(a=this.data.getData("text/plain"));return a?a.replace(g,h):null};c.getHTML=function(){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")};c.isLink=function(){return this.types.some(function(a){return a.indexOf("Url")!=-1||a.indexOf("text/uri-list")!=-1||a.indexOf("text/x-moz-url")!=-1})};c.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var a=this.data.getData("text/x-moz-url").split("\n");return a[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null};c.isImage=function(){var a=this.types.some(function(a){return a.indexOf("application/x-moz-file")!=-1});if(a)return!0;a=this.getFiles();for(var c=0;c0};return a}();e.exports=a}),null); __d("DraftEditorContents.react",["cr:1264924"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1264924")}),98); __d("fbjs/lib/CSSCore",["CSSCore"],(function(a,b,c,d,e,f){"use strict";e.exports=b("CSSCore")}),null); __d("DraftEffects",["cx","CurrentUser","DraftEffectsPerSite","ODS","fbjs/lib/CSSCore","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=b("CurrentUser").isEmployee()?".employee":"",i=!1;a={initODS:function(){document.addEventListener("input",function(a){a.target.nodeType===1&&b("fbjs/lib/CSSCore").hasClass(a.target,"_5rpu")&&b("ODS").bumpEntityKey(2966,"draft_js","input_events"+h)})},handleExtensionCausedError:function(){b("ODS").bumpEntityKey(2966,"draft_js","extension_caused_errors"+h);if(i||!b("gkx")("676843"))return;i=!0;b("DraftEffectsPerSite").handleExtensionCausedError()}};e.exports=a}),null); __d("DraftJsEventsTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:DraftJsEventsLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:DraftJsEventsLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:DraftJsEventsLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setAnonymizedDom=function(a){this.$1.anonymized_dom=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setExtraParams=function(a){this.$1.extra_params=a;return this};c.setScriptPath=function(a){this.$1.script_path=a;return this};c.setSelectionState=function(a){this.$1.selection_state=a;return this};return a}();c={anonymized_dom:!0,event:!0,extra_params:!0,script_path:!0,selection_state:!0};f["default"]=a}),66); __d("DraftJsDebugLogging",["CurrentUser","DraftJsEventsTypedLogger","ScriptPath"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){var b=a.anonymizedDom,e=a.extraParams;a=a.selectionState;new(c("DraftJsEventsTypedLogger"))().setEvent("blocked_selection_event").setAnonymizedDom(b).setExtraParams(e).setScriptPath(d("ScriptPath").getScriptPath()).setSelectionState(a).log()};b=function(a){var b=a.anonymizedDom,e=a.extraParams;a=a.selectionState;c("CurrentUser").isEmployee()&&new(c("DraftJsEventsTypedLogger"))().setEvent("selection_state_failure").setAnonymizedDom(b).setExtraParams(e).setScriptPath(d("ScriptPath").getScriptPath()).setSelectionState(a).log()};g.logBlockedSelectionEvent=a;g.logSelectionStateFailure=b}),98); __d("getHashtagMatches",["getHashtagRegex"],(function(a,b,c,d,e,f){var g=b("getHashtagRegex")();function a(a,b){a=a.getText();var c,d,e;while((c=g.exec(a))!==null)d=c.index+c[1].length,e=c[2],c=c[3],b(d,d+e.length+c.length)}f["default"]=a}),66); __d("DefaultDraftBlockRenderMap",["cx","immutable","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=b("immutable").Map;c=h||(h=b("react"));d=c.jsx("ul",{className:"_1bv0"});f=c.jsx("ol",{className:"_1bv1"});g=c.jsx("pre",{className:"_1bv2"});b=a({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:d},"ordered-list-item":{element:"li",wrapper:f},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:g},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=b}),null); __d("DefaultDraftInlineStyle",[],(function(a,b,c,d,e,f){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}}),null); __d("getCorrectDocumentFromNode",[],(function(a,b,c,d,e,f){function a(a){return!a||!a.ownerDocument?document:a.ownerDocument}e.exports=a}),null); __d("isElement",[],(function(a,b,c,d,e,f){function a(a){return!a||!a.ownerDocument?!1:a.nodeType===Node.ELEMENT_NODE}e.exports=a}),null); __d("getSelectionOffsetKeyForNode",["isElement"],(function(a,b,c,d,e,f){"use strict";function g(a){if(b("isElement")(a)){a=a;var c=a.getAttribute("data-offset-key");if(c)return c;for(var c=0;c0&&(d=c.childNodes.length)}if(d===0){if(e!=null)a=e;else{var f=h(c);a=b("nullthrows")(b("getSelectionOffsetKeyForNode")(f))}return{key:a,offset:0}}f=c.childNodes[d-1];a=null;if(!b("getSelectionOffsetKeyForNode")(f))a=b("nullthrows")(e),c=k(f);else{d=i(f);a=b("nullthrows")(b("getSelectionOffsetKeyForNode")(d));c=k(d)}return{key:a,offset:c}}function k(a){a=a.textContent;return a==="\n"?0:a.length}e.exports=a}),null); __d("getDraftEditorSelection",["getDraftEditorSelectionWithNodes"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=c.ownerDocument.defaultView.getSelection(),e=d.anchorNode,f=d.anchorOffset,g=d.focusNode,h=d.focusOffset;d=d.rangeCount;return d===0||e==null||g==null?{selectionState:a.getSelection().set("hasFocus",!1),needsRecovery:!1}:b("getDraftEditorSelectionWithNodes")(a,c,e,f,g,h)}e.exports=a}),null); __d("editOnSelect",["DraftJsDebugLogging","EditorState","getContentEditableContainer","getDraftEditorSelection"],(function(a,b,c,d,e,f){"use strict";function a(a){if(a._blockSelectEvents||a._latestEditorState!==a.props.editorState){if(a._blockSelectEvents){var c=a.props.editorState;c=c.getSelection();b("DraftJsDebugLogging").logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(c.toJS())})}return}c=a.props.editorState;var d=b("getDraftEditorSelection")(c,b("getContentEditableContainer")(a)),e=d.selectionState;e!==c.getSelection()&&(d.needsRecovery?c=b("EditorState").forceSelection(c,e):c=b("EditorState").acceptSelection(c,e),a.update(c))}e.exports=a}),null); __d("draftKeyUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a!=null&&a!=""}e.exports={notEmptyKey:a}}),null); __d("getEntityKeyForSelection",["draftKeyUtils"],(function(a,b,c,d,e,f){"use strict";var g=b("draftKeyUtils").notEmptyKey;function a(a,b){var c;if(b.isCollapsed()){var d=b.getAnchorKey(),e=b.getAnchorOffset();if(e>0){c=a.getBlockForKey(d).getEntityAt(e-1);return c!==a.getBlockForKey(d).getEntityAt(e)?null:h(a,c)}return null}d=b.getStartKey();e=b.getStartOffset();b=a.getBlockForKey(d);c=e===b.getLength()?null:b.getEntityAt(e);return h(a,c)}function h(a,b){if(g(b)){a=a.getEntity(b);return a.getMutability()==="MUTABLE"?b:null}return null}e.exports=a}),null); __d("DraftEditorCompositionHandler",["DOMObserver","DraftModifier","DraftOffsetKey","EditorState","Keys","UserAgent","editOnSelect","getContentEditableContainer","getDraftEditorSelection","getEntityKeyForSelection","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g=b("UserAgent").isBrowser("IE"),h=20,i=!1,j=!1,k=null;function l(a){k||(k=new(b("DOMObserver"))(b("getContentEditableContainer")(a)),k.start())}var m={onCompositionStart:function(a){j=!0,l(a)},onCompositionEnd:function(a){i=!1,j=!1,setTimeout(function(){i||m.resolveComposition(a)},h)},onSelect:b("editOnSelect"),onKeyDown:function(a,c){if(!j){i||m.resolveComposition(a);a._onKeyDown(c);return}(c.which===b("Keys").RIGHT||c.which===b("Keys").LEFT)&&c.preventDefault()},onKeyPress:function(a,c){c.which===b("Keys").RETURN&&c.preventDefault()},resolveComposition:function(a){if(j)return;var c=a._latestEditorState,d=b("nullthrows")(k).stopAndFlushMutations();k=null;i=!0;var e=b("EditorState").set(c,{inCompositionMode:!1});a.exitCurrentMode();if(!d.size){a.update(e);return}var f=e.getCurrentContent();d.forEach(function(a,c){c=b("DraftOffsetKey").decode(c);var d=c.blockKey,g=c.decoratorKey;c=c.leafKey;g=e.getBlockTree(d).getIn([g,"leaves",c]);c=g.start;g=g.end;g=e.getSelection().merge({anchorKey:d,focusKey:d,anchorOffset:c,focusOffset:g,isBackward:!1});var h=b("getEntityKeyForSelection")(f,g);d=f.getBlockForKey(d).getInlineStyleAt(c);f=b("DraftModifier").replaceText(f,g,a,d,h);e=b("EditorState").set(e,{currentContent:f})});d=b("getDraftEditorSelection")(c,b("getContentEditableContainer")(a));c=d.selectionState;a.restoreEditorDOM();d=g?b("EditorState").forceSelection(e,c):b("EditorState").acceptSelection(e,c);a.update(b("EditorState").push(d,f,"insert-characters"))}};e.exports=m}),null); __d("getTextContentFromFiles",["invariant"],(function(a,b,c,d,e,f,g){"use strict";var h=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},j=5e3;function b(a,b){var c=0,d=[];a.forEach(function(e){k(e,function(e){c++,e&&d.push(e.slice(0,j)),c==a.length&&b(d.join("\r"))})})}function k(b,c){if(!a.FileReader||b.type&&!(b.type in i)){c("");return}if(b.type===""){var d="";h.test(b.name)&&(d=b.name.replace(h,""));c(d);return}var e=new FileReader();e.onload=function(){var a=e.result;typeof a==="string"||g(0,11809);c(a)};e.onerror=function(){c("")};e.readAsText(b)}e.exports=b}),null); __d("isEventHandled",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a==="handled"||a===!0}e.exports=a}),null); __d("DraftEditorDragHandler",["DataTransfer","DraftModifier","EditorState","findAncestorOffsetKey","getCorrectDocumentFromNode","getTextContentFromFiles","getUpdatedSelectionState","getWindowForNode","isEventHandled","nullthrows"],(function(a,b,c,d,e,f){"use strict";function g(a,c){var d=null,e=null,f=b("getCorrectDocumentFromNode")(a.currentTarget);if(typeof f.caretRangeFromPoint==="function"){f=f.caretRangeFromPoint(a.x,a.y);d=f.startContainer;e=f.startOffset}else if(a.rangeParent)d=a.rangeParent,e=a.rangeOffset;else return null;d=b("nullthrows")(d);e=b("nullthrows")(e);f=b("nullthrows")(b("findAncestorOffsetKey")(d));return b("getUpdatedSelectionState")(c,f,e,f,e)}a={onDragEnd:function(a){a.exitCurrentMode(),h(a)},onDrop:function(a,c){var d=new(b("DataTransfer"))(c.nativeEvent.dataTransfer),e=a._latestEditorState,f=g(c.nativeEvent,e);c.preventDefault();a._dragCount=0;a.exitCurrentMode();if(f==null)return;c=d.getFiles();if(c.length>0){if(a.props.handleDroppedFiles&&b("isEventHandled")(a.props.handleDroppedFiles(f,c)))return;b("getTextContentFromFiles")(c,function(b){b&&a.update(j(e,f,b))});return}c=a._internalDrag?"internal":"external";a.props.handleDrop&&b("isEventHandled")(a.props.handleDrop(f,d,c))||(a._internalDrag?a.update(i(e,f)):a.update(j(e,f,d.getText())));h(a)}};function h(a){a._internalDrag=!1;a=a.editorContainer;if(a){var c=new MouseEvent("mouseup",{view:b("getWindowForNode")(a),bubbles:!0,cancelable:!0});a.dispatchEvent(c)}}function i(a,c){c=b("DraftModifier").moveText(a.getCurrentContent(),a.getSelection(),c);return b("EditorState").push(a,c,"insert-fragment")}function j(a,c,d){c=b("DraftModifier").insertText(a.getCurrentContent(),c,d,a.getCurrentInlineStyle());return b("EditorState").push(a,c,"insert-fragment")}e.exports=a}),null); __d("moveSelectionBackward",["warning"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=a.getSelection();b("warning")(d.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");a=a.getCurrentContent();var e=d.getStartKey(),f=d.getStartOffset(),g=e,h=0;if(c>f){var i=a.getKeyBefore(e);if(i==null)g=e;else{g=i;e=a.getBlockForKey(i);h=e.getText().length}}else h=f-c;return d.merge({focusKey:g,focusOffset:h,isBackward:!0})}e.exports=a}),null); __d("removeTextWithStrategy",["DraftModifier","gkx"],(function(a,b,c,d,e,f){"use strict";var g=b("gkx")("676842");function a(a,c,d){var e=a.getSelection(),f=a.getCurrentContent(),h=e,i=e.getAnchorKey(),j=e.getFocusKey(),k=f.getBlockForKey(i);if(g&&(d==="forward"&&i!==j))return f;if(e.isCollapsed()){if(d==="forward"){if(a.isSelectionAtEndOfContent())return f;if(g){j=e.getAnchorOffset()===f.getBlockForKey(i).getLength();if(j){i=f.getBlockForKey(k.nextSibling);if(!i||i.getLength()===0)return f}}}else if(a.isSelectionAtStartOfContent())return f;h=c(a);if(h===e)return f}return b("DraftModifier").removeRange(f,h,d)}e.exports=a}),null); __d("keyCommandPlainBackspace",["EditorState","UnicodeUtils","moveSelectionBackward","removeTextWithStrategy"],(function(a,b,c,d,e,f){"use strict";var g;function a(a){var c=b("removeTextWithStrategy")(a,function(c){var a=c.getSelection(),d=c.getCurrentContent(),e=a.getAnchorKey();a=a.getAnchorOffset();d=d.getBlockForKey(e).getText()[a-1];return b("moveSelectionBackward")(c,d?(g||(g=b("UnicodeUtils"))).getUTF16Length(d,0):1)},"backward");if(c===a.getCurrentContent())return a;var d=a.getSelection();return b("EditorState").push(a,c.setSelectionBefore(d),d.isCollapsed()?"backspace-character":"remove-range")}e.exports=a}),null); __d("editOnInput",["DraftModifier","DraftOffsetKey","EditorState","UserAgent","draftKeyUtils","findAncestorOffsetKey","gkx","keyCommandPlainBackspace","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g=b("draftKeyUtils").notEmptyKey,h=b("UserAgent").isEngine("Gecko"),i="\n\n";function j(a,c){switch(a){case"deleteContentBackward":return b("keyCommandPlainBackspace")(c)}return c}function a(a,c){a._pendingStateFromBeforeInput!==void 0&&(a.update(a._pendingStateFromBeforeInput),a._pendingStateFromBeforeInput=void 0);var d=a.editor;d=d.ownerDocument.defaultView.getSelection();var e=d.anchorNode,f=d.isCollapsed,k=(e==null?void 0:e.nodeType)!==Node.TEXT_NODE&&(e==null?void 0:e.nodeType)!==Node.ELEMENT_NODE;if(e==null||k)return;if(e.nodeType===Node.TEXT_NODE&&(e.previousSibling!==null||e.nextSibling!==null)){k=e.parentNode;if(k==null)return;e.nodeValue=k.textContent;for(var l=k.firstChild;l!=null;l=l.nextSibling)l!==e&&k.removeChild(l)}l=e.textContent;k=a._latestEditorState;e=b("nullthrows")(b("findAncestorOffsetKey")(e));e=b("DraftOffsetKey").decode(e);var m=e.blockKey,n=e.decoratorKey;e=e.leafKey;n=k.getBlockTree(m).getIn([n,"leaves",e]);e=n.start;n=n.end;var o=k.getCurrentContent();m=o.getBlockForKey(m);var p=m.getText().slice(e,n);l.endsWith(i)&&(l=l.slice(0,-1));if(l===p){var q=c?c.nativeEvent.inputType:void 0;if(q){q=j(q,k);if(q!==k){a.restoreEditorDOM();a.update(q);return}}return}q=k.getSelection();n=q.merge({anchorOffset:e,focusOffset:n,isBackward:!1});var r=m.getEntityAt(e);r=g(r)?o.getEntity(r):null;r=r!=null?r.getMutability():null;r=r==="MUTABLE";var s=r?"spellcheck-change":"apply-entity";n=b("DraftModifier").replaceText(o,n,l,m.getInlineStyleAt(e),r?m.getEntityAt(e):null);var t,u;m=(c==null?void 0:(r=c.nativeEvent)==null?void 0:r.inputType)==="deleteWordForward";if(h&&!m)t=d.anchorOffset,u=d.focusOffset,r=e+Math.min(t,u),d=r+Math.abs(t-u),t=r,u=d;else if(!m){e=l.length-p.length;r=q.getStartOffset();d=q.getEndOffset();t=f?d+e:r;u=d+e}m=n.merge({selectionBefore:o.getSelectionAfter(),selectionAfter:q.merge({anchorOffset:t,focusOffset:u})});b("gkx")("4175")&&(c==null?void 0:c.nativeEvent)instanceof InputEvent&&c.nativeEvent.inputType==="insertReplacementText"&&a.restoreEditorDOM();a.update(b("EditorState").push(k,m,s))}e.exports=a}),null); __d("isSelectionAtLeafStart",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.getSelection(),c=b.getAnchorKey();a=a.getBlockTree(c);var d=b.getStartOffset();c=!1;a.some(function(a){if(d===a.get("start")){c=!0;return!0}return d=g?e.length:0),f=b.get("end"),h=f+(f>=g?e.length:0),i=a.get("start"),j=a.get("end"),k=a.get("decoratorKey");return b.get("decoratorKey")!==k||b.get("leaves").size!==a.get("leaves").size||d!==i||h!==j||k!=null&&j-i!==f-c})}i||(i=k(e));i||(i=b("nullthrows")(f.getDirectionMap()).get(h)!==b("nullthrows")(d.getDirectionMap()).get(h));if(i){c.preventDefault();f=b("EditorState").set(f,{forceSelection:!0});a.update(f);return}f=b("EditorState").set(f,{nativelyRenderedContent:f.getCurrentContent()});a._pendingStateFromBeforeInput=f;j&&b("setImmediate")(function(){b("editOnInput")(a,null)})}e.exports=a}),null); __d("editOnBlur",["EditorState","containsNode","getActiveElement"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=c.currentTarget.ownerDocument;if(!Boolean(a.props.preserveSelectionOnBlur)&&b("getActiveElement")(d)===d.body){d=d.defaultView.getSelection();var e=a.editor;d.rangeCount===1&&b("containsNode")(e,d.anchorNode)&&b("containsNode")(e,d.focusNode)&&d.removeAllRanges()}e=a._latestEditorState;d=e.getSelection();if(!d.getHasFocus())return;d=d.set("hasFocus",!1);a.props.onBlur&&a.props.onBlur(c);a.update(b("EditorState").acceptSelection(e,d))}e.exports=a}),null); __d("editOnCompositionStart",["EditorState"],(function(a,b,c,d,e,f){"use strict";function a(a,c){a.setMode("composite"),a.update(b("EditorState").set(a._latestEditorState,{inCompositionMode:!0})),a._onCompositionStart(c)}e.exports=a}),null); __d("getFragmentFromSelection",["getContentStateFragment"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.getSelection();return c.isCollapsed()?null:b("getContentStateFragment")(a.getCurrentContent(),c)}e.exports=a}),null); __d("editOnCopy",["getFragmentFromSelection"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=a._latestEditorState;d=d.getSelection();if(d.isCollapsed()){c.preventDefault();return}a.setClipboard(b("getFragmentFromSelection")(a._latestEditorState))}e.exports=a}),null); __d("isInstanceOfNode",[],(function(a,b,c,d,e,f){function a(a){if(!a||!("ownerDocument"in a))return!1;if("ownerDocument"in a){a=a;if(!a.ownerDocument.defaultView)return a instanceof Node;if(a instanceof a.ownerDocument.defaultView.Node)return!0}return!1}e.exports=a}),null); __d("editOnCut",["DraftModifier","EditorState","Style","getFragmentFromSelection","getScrollPosition","isInstanceOfNode"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=a._latestEditorState,e=d.getSelection(),f=c.target,h;if(e.isCollapsed()){c.preventDefault();return}if(b("isInstanceOfNode")(f)){e=f;h=b("getScrollPosition")(b("Style").getScrollParent(e))}c=b("getFragmentFromSelection")(d);a.setClipboard(c);a.setMode("cut");setTimeout(function(){a.restoreEditorDOM(h),a.exitCurrentMode(),a.update(g(d))},0)}function g(a){var c=b("DraftModifier").removeRange(a.getCurrentContent(),a.getSelection(),"forward");return b("EditorState").push(a,c,"remove-range")}e.exports=a}),null); __d("editOnDragOver",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a.setMode("drag"),b.preventDefault()}e.exports=a}),null); __d("editOnDragStart",[],(function(a,b,c,d,e,f){"use strict";function a(a){a._internalDrag=!0,a.setMode("drag")}e.exports=a}),null); __d("editOnFocus",["EditorState","UserAgent"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=a._latestEditorState,e=d.getSelection();if(e.getHasFocus())return;e=e.set("hasFocus",!0);a.props.onFocus&&a.props.onFocus(c);b("UserAgent").isBrowser("Chrome < 60.0.3081.0")?a.update(b("EditorState").forceSelection(d,e)):a.update(b("EditorState").acceptSelection(d,e))}e.exports=a}),null); __d("SecondaryClipboard",["DraftModifier","EditorState","getContentStateFragment","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g=null;a={cut:function(a){var c=a.getCurrentContent(),d=a.getSelection(),e=null;if(d.isCollapsed()){var f=d.getAnchorKey(),h=c.getBlockForKey(f).getLength();if(h===d.getAnchorOffset()){f=c.getKeyAfter(f);if(f==null)return a;e=d.set("focusKey",f).set("focusOffset",0)}else e=d.set("focusOffset",h)}else e=d;e=b("nullthrows")(e);g=b("getContentStateFragment")(c,e);f=b("DraftModifier").removeRange(c,e,"forward");return f===c?a:b("EditorState").push(a,f,"remove-range")},paste:function(a){if(!g)return a;var c=b("DraftModifier").replaceWithFragment(a.getCurrentContent(),a.getSelection(),g);return b("EditorState").push(a,c,"insert-fragment")}};e.exports=a}),null); __d("getRangeClientRects",["invariant","UserAgent"],(function(a,b,c,d,e,f,g){"use strict";c=b("UserAgent").isBrowser("Chrome");function a(a){var b=a.cloneRange(),c=[];for(var d=a.endContainer;d!=null;d=d.parentNode){var e=d===a.commonAncestorContainer;e?b.setStart(a.startContainer,a.startOffset):b.setStart(b.endContainer,0);var f=Array.from(b.getClientRects());c.push(f);if(e){c.reverse();return(f=[]).concat.apply(f,c)}b.setEndBefore(d)}g(0,578)}d=c?a:function(a){return Array.from(a.getClientRects())};e.exports=d}),null); __d("expandRangeToStartOfLine",["invariant","UnicodeUtils","getCorrectDocumentFromNode","getRangeClientRects"],(function(a,b,c,d,e,f,g){var h;function i(a){var c=getComputedStyle(a);a=b("getCorrectDocumentFromNode")(a);var d=a.createElement("div");d.style.fontFamily=c.fontFamily;d.style.fontSize=c.fontSize;d.style.fontStyle=c.fontStyle;d.style.fontWeight=c.fontWeight;d.style.lineHeight=c.lineHeight;d.style.position="absolute";d.textContent="M";c=a.body;c||g(0,5725);c.appendChild(d);a=d.getBoundingClientRect();c.removeChild(d);return a.height}function j(a,b){var c=Infinity,d=Infinity,e=-Infinity,f=-Infinity;for(var g=0;g=0;n--){if(m!=null&&n>0&&(h||(h=b("UnicodeUtils"))).isSurrogatePair(m,n-1))continue;a.setStart(f,n);if(j(b("getRangeClientRects")(a),c))d=f,e=n;else break}if(n===-1||f.childNodes.length===0)break;f=f.childNodes[n];l=k(f)}while(!0);a.setStart(d,e);return a}e.exports=a}),null); __d("keyCommandBackspaceToStartOfLine",["EditorState","expandRangeToStartOfLine","getDraftEditorSelectionWithNodes","moveSelectionBackward","removeTextWithStrategy"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=b("removeTextWithStrategy")(a,function(a){var d=a.getSelection();if(d.isCollapsed()&&d.getAnchorOffset()===0)return b("moveSelectionBackward")(a,1);d=c.currentTarget.ownerDocument;d=d.defaultView.getSelection();d=d.getRangeAt(0);d=b("expandRangeToStartOfLine")(d);return b("getDraftEditorSelectionWithNodes")(a,null,d.endContainer,d.endOffset,d.startContainer,d.startOffset).selectionState},"backward");return d===a.getCurrentContent()?a:b("EditorState").push(a,d,"remove-range")}e.exports=a}),null); __d("DraftRemovableWord",["TokenizeUtil"],(function(a,b,c,d,e,f){"use strict";a=b("TokenizeUtil").getPunctuation();c="['\u2018\u2019]";d="\\s|(?![_])"+a;f="^(?:"+d+")*(?:"+c+"|(?!"+d+").)*(?:(?!"+d+").)";var g=new RegExp(f);b="(?:(?!"+d+").)(?:"+c+"|(?!"+d+").)*(?:"+d+")*$";var h=new RegExp(b);function i(a,b){b=b?h.exec(a):g.exec(a);return b?b[0]:a}a={getBackward:function(a){return i(a,!0)},getForward:function(a){return i(a,!1)}};e.exports=a}),null); __d("keyCommandBackspaceWord",["DraftRemovableWord","EditorState","moveSelectionBackward","removeTextWithStrategy"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=b("removeTextWithStrategy")(a,function(a){var c=a.getSelection(),d=c.getStartOffset();if(d===0)return b("moveSelectionBackward")(a,1);c=c.getStartKey();var e=a.getCurrentContent();e=e.getBlockForKey(c).getText().slice(0,d);c=b("DraftRemovableWord").getBackward(e);return b("moveSelectionBackward")(a,c.length||1)},"backward");return c===a.getCurrentContent()?a:b("EditorState").push(a,c,"remove-range")}e.exports=a}),null); __d("moveSelectionForward",["warning"],(function(a,b,c,d,e,f){"use strict";function a(a,c){var d=a.getSelection();b("warning")(d.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var e=d.getStartKey(),f=d.getStartOffset();a=a.getCurrentContent();var g=e,h=a.getBlockForKey(e);c>h.getText().length-f?(g=a.getKeyAfter(e),h=0):h=f+c;return d.merge({focusKey:g,focusOffset:h})}e.exports=a}),null); __d("keyCommandDeleteWord",["DraftRemovableWord","EditorState","moveSelectionForward","removeTextWithStrategy"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=b("removeTextWithStrategy")(a,function(a){var c=a.getSelection(),d=c.getStartOffset();c=c.getStartKey();var e=a.getCurrentContent();e=e.getBlockForKey(c).getText().slice(d);c=b("DraftRemovableWord").getForward(e);return b("moveSelectionForward")(a,c.length||1)},"forward");return c===a.getCurrentContent()?a:b("EditorState").push(a,c,"remove-range")}e.exports=a}),null); __d("keyCommandInsertNewline",["DraftModifier","EditorState"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=b("DraftModifier").splitBlock(a.getCurrentContent(),a.getSelection());return b("EditorState").push(a,c,"split-block")}e.exports=a}),null); __d("keyCommandMoveSelectionToEndOfBlock",["EditorState"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.getSelection(),d=c.getEndKey(),e=a.getCurrentContent();e=e.getBlockForKey(d).getLength();return b("EditorState").set(a,{selection:c.merge({anchorKey:d,anchorOffset:e,focusKey:d,focusOffset:e,isBackward:!1}),forceSelection:!0})}e.exports=a}),null); __d("keyCommandMoveSelectionToStartOfBlock",["EditorState"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.getSelection(),d=c.getStartKey();return b("EditorState").set(a,{selection:c.merge({anchorKey:d,anchorOffset:0,focusKey:d,focusOffset:0,isBackward:!1}),forceSelection:!0})}e.exports=a}),null); __d("keyCommandPlainDelete",["EditorState","UnicodeUtils","moveSelectionForward","removeTextWithStrategy"],(function(a,b,c,d,e,f){"use strict";var g;function a(a){var c=b("removeTextWithStrategy")(a,function(c){var a=c.getSelection(),d=c.getCurrentContent(),e=a.getAnchorKey();a=a.getAnchorOffset();d=d.getBlockForKey(e).getText()[a];return b("moveSelectionForward")(c,d?(g||(g=b("UnicodeUtils"))).getUTF16Length(d,0):1)},"forward");if(c===a.getCurrentContent())return a;var d=a.getSelection();return b("EditorState").push(a,c.setSelectionBefore(d),d.isCollapsed()?"delete-character":"remove-range")}e.exports=a}),null); __d("keyCommandTransposeCharacters",["DraftModifier","EditorState","getContentStateFragment"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.getSelection();if(!c.isCollapsed())return a;var d=c.getAnchorOffset();if(d===0)return a;var e=c.getAnchorKey(),f=a.getCurrentContent();e=f.getBlockForKey(e);e=e.getLength();if(e<=1)return a;var g;d===e?(e=c.set("anchorOffset",d-1),g=c):(e=c.set("focusOffset",d+1),g=e.set("anchorOffset",d+1));c=b("getContentStateFragment")(f,e);d=b("DraftModifier").removeRange(f,e,"backward");f=d.getSelectionAfter();e=f.getAnchorOffset()-1;f=f.merge({anchorOffset:e,focusOffset:e});e=b("DraftModifier").replaceWithFragment(d,f,c);d=b("EditorState").push(a,e,"insert-fragment");return b("EditorState").acceptSelection(d,g)}e.exports=a}),null); __d("keyCommandUndo",["EditorState"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){var e=b("EditorState").undo(c);if(c.getLastChangeType()==="spellcheck-change"){var f=e.getCurrentContent();d(b("EditorState").set(e,{nativelyRenderedContent:f}));return}a.preventDefault();if(!c.getNativelyRenderedContent()){d(e);return}d(b("EditorState").set(c,{nativelyRenderedContent:null}));setTimeout(function(){d(e)},0)}e.exports=a}),null); __d("editOnKeyDown",["DraftModifier","EditorState","KeyBindingUtil","Keys","SecondaryClipboard","UserAgent","isEventHandled","keyCommandBackspaceToStartOfLine","keyCommandBackspaceWord","keyCommandDeleteWord","keyCommandInsertNewline","keyCommandMoveSelectionToEndOfBlock","keyCommandMoveSelectionToStartOfBlock","keyCommandPlainBackspace","keyCommandPlainDelete","keyCommandTransposeCharacters","keyCommandUndo"],(function(a,b,c,d,e,f){"use strict";var g=b("KeyBindingUtil").isOptionKeyCommand,h=b("UserAgent").isBrowser("Chrome");function i(a,c,d){switch(a){case"redo":return b("EditorState").redo(c);case"delete":return b("keyCommandPlainDelete")(c);case"delete-word":return b("keyCommandDeleteWord")(c);case"backspace":return b("keyCommandPlainBackspace")(c);case"backspace-word":return b("keyCommandBackspaceWord")(c);case"backspace-to-start-of-line":return b("keyCommandBackspaceToStartOfLine")(c,d);case"split-block":return b("keyCommandInsertNewline")(c);case"transpose-characters":return b("keyCommandTransposeCharacters")(c);case"move-selection-to-start-of-block":return b("keyCommandMoveSelectionToStartOfBlock")(c);case"move-selection-to-end-of-block":return b("keyCommandMoveSelectionToEndOfBlock")(c);case"secondary-cut":return b("SecondaryClipboard").cut(c);case"secondary-paste":return b("SecondaryClipboard").paste(c);default:return c}}function a(a,c){var d=c.which,e=a._latestEditorState;function f(b){b=a.props[b];if(b){b(c);return!0}else return!1}switch(d){case b("Keys").RETURN:c.preventDefault();if(a.props.handleReturn&&b("isEventHandled")(a.props.handleReturn(c,e)))return;break;case b("Keys").ESC:c.preventDefault();if(f("onEscape"))return;break;case b("Keys").TAB:if(f("onTab"))return;break;case b("Keys").UP:if(f("onUpArrow"))return;break;case b("Keys").RIGHT:if(f("onRightArrow"))return;break;case b("Keys").DOWN:if(f("onDownArrow"))return;break;case b("Keys").LEFT:if(f("onLeftArrow"))return;break;case b("Keys").SPACE:h&&g(c)&&c.preventDefault()}f=a.props.keyBindingFn(c);if(f==null||f===""){if(d===b("Keys").SPACE&&h&&g(c)){d=b("DraftModifier").replaceText(e.getCurrentContent(),e.getSelection(),"\xa0");a.update(b("EditorState").push(e,d,"insert-characters"))}return}if(f==="undo"){b("keyCommandUndo")(c,e,a.update);return}c.preventDefault();if(a.props.handleKeyCommand&&b("isEventHandled")(a.props.handleKeyCommand(f,e,c.timeStamp)))return;d=i(f,e,c);d!==e&&a.update(d)}e.exports=a}),null); __d("getSafeBodyFromHTML",["invariant","UserAgent"],(function(a,b,c,d,e,f,g){"use strict";var h=b("UserAgent").isBrowser("IE <= 9");function a(a){var b,c=null;!h&&document.implementation&&document.implementation.createHTMLDocument&&(b=document.implementation.createHTMLDocument("foo"),b.documentElement||g(0,1805),b.documentElement.innerHTML=a,c=b.getElementsByTagName("body")[0]);return c}e.exports=a}),null); __d("isHTMLAnchorElement",["isElement"],(function(a,b,c,d,e,f){function a(a){return!a||!a.ownerDocument?!1:b("isElement")(a)&&a.nodeName==="A"}e.exports=a}),null); __d("isHTMLBRElement",["isElement"],(function(a,b,c,d,e,f){function a(a){return!a||!a.ownerDocument?!1:b("isElement")(a)&&a.nodeName==="BR"}e.exports=a}),null); __d("isHTMLImageElement",["isElement"],(function(a,b,c,d,e,f){function a(a){return!a||!a.ownerDocument?!1:b("isElement")(a)&&a.nodeName==="IMG"}e.exports=a}),null); __d("convertFromHTMLToContentBlocks",["cx","CharacterMetadata","ContentBlock","ContentBlockNode","ContentState","DefaultDraftBlockRenderMap","URI","generateRandomKey","getSafeBodyFromHTML","gkx","immutable","isHTMLAnchorElement","isHTMLBRElement","isHTMLElement","isHTMLImageElement"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("immutable").List,j=b("immutable").Map,k=b("immutable").OrderedSet,l=b("gkx")("676842"),m=b("gkx")("1875406");a=" ";var n=" ",o=new RegExp("\r","g"),p=new RegExp("\n","g"),q=new RegExp("^\n","g"),r=new RegExp(a,"g"),s=new RegExp(" ?","g"),t=new RegExp("​?","g"),u=["bold","bolder","500","600","700","800","900"],v=["light","lighter","normal","100","200","300","400"],w=["className","href","rel","target","title"],x=["alt","className","height","src","width"],y=(c={},c._3kq1=0,c._3kq2=1,c._3kq3=2,c._3kq4=3,c._3kq5=4,c),z=j({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),A=function(a){var b={};a.mapKeys(function(a,c){var d=[c.element];c.aliasedElements!==void 0&&d.push.apply(d,c.aliasedElements);d.forEach(function(c){b[c]===void 0?b[c]=a:typeof b[c]==="string"?b[c]=[b[c],a]:b[c].push(a)})});return j(b)},B=function(a){if(b("isHTMLElement")(a)){a=a;if(a.style.fontFamily.includes("monospace"))return"CODE"}return null},C=function(a,b){b===void 0&&(b=0);Object.keys(y).some(function(c){a.classList.contains(c)&&(b=y[c])});return b},D=function(a){if(!b("isHTMLAnchorElement")(a))return!1;a=a;if(!a.href||a.protocol!=="http:"&&a.protocol!=="https:"&&a.protocol!=="mailto:"&&a.protocol!=="tel:")return!1;try{new(h||(h=b("URI")))(a.href);return!0}catch(a){return!1}},E=function(a){if(!b("isHTMLImageElement")(a))return!1;a=a;return!!(a.attributes.getNamedItem("src")&&a.attributes.getNamedItem("src").value)},F=function(a,c){if(!b("isHTMLElement")(a))return c;a=a;var d=a.style.fontWeight,e=a.style.fontStyle,f=a.style.textDecoration;return c.withMutations(function(a){u.indexOf(d)>=0?a.add("BOLD"):v.indexOf(d)>=0&&a.remove("BOLD"),e==="italic"?a.add("ITALIC"):e==="normal"&&a.remove("ITALIC"),f==="underline"&&a.add("UNDERLINE"),f==="line-through"&&a.add("STRIKETHROUGH"),f==="none"&&(a.remove("UNDERLINE"),a.remove("STRIKETHROUGH"))})},G=function(a){return a==="ul"||a==="ol"},H=function(){function a(a,c){this.characterList=i(),this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.wrapper=null,this.blockConfigs=[],this.contentBlocks=[],this.contentState=b("ContentState").createFromText(""),this.clear(),this.blockTypeMap=a,this.disambiguate=c}var c=a.prototype;c.clear=function(){this.characterList=i(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.contentState=b("ContentState").createFromText(""),this.wrapper=null,this.contentBlocks=[]};c.addDOMNode=function(a){var b;this.contentBlocks=[];this.currentDepth=0;(b=this.blockConfigs).push.apply(b,this.$1([a],k()));this.$2();this.currentText!==""&&this.blockConfigs.push(this.$3());return this};c.getContentBlocks=function(){this.contentBlocks.length===0&&(l?this.$4(this.blockConfigs):this.$5(this.blockConfigs));return{contentBlocks:this.contentBlocks,entityMap:this.contentState.getEntityMap()}};c.$3=function(a){a===void 0&&(a={});var c=a.key||b("generateRandomKey")();c=babelHelpers["extends"]({key:c,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:i(),prevSibling:null,nextSibling:null,childConfigs:[]},a);this.characterList=i();this.currentBlockType="unstyled";this.currentText="";return c};c.$1=function(a,c){var d=[];for(var e=0;ec?(this.currentText="",this.characterList=i()):(this.currentText=this.currentText.slice(b,c),this.characterList=this.characterList.slice(b,c))};c.$6=function(a,b){a=a.textContent;var c=a.trim();c===""&&this.wrapper!=="pre"&&(a=" ");this.wrapper!=="pre"&&(a=a.replace(q,""),a=a.replace(p,n));this.$10(a,b)};c.$7=function(a,c){if(!b("isHTMLBRElement")(a))return;this.$10("\n",c)};c.$8=function(a,c){if(!b("isHTMLImageElement")(a))return;var d=a,e={};x.forEach(function(a){var b=d.getAttribute(a);b&&(e[a]=b)});this.contentState=this.contentState.createEntity("IMAGE","IMMUTABLE",e);this.currentEntity=this.contentState.getLastCreatedEntityKey();a=d.getAttribute("alt");m&&a!=null&&a.length>0?this.$10(a,c):this.$10("\ud83d\udcf7",c);this.currentEntity=null};c.$9=function(a,c,d){if(!b("isHTMLAnchorElement")(a))return;var e=a,f={};w.forEach(function(a){var b=e.getAttribute(a);b&&(f[a]=b)});f.url=new(h||(h=b("URI")))(e.href).toString();this.contentState=this.contentState.createEntity("LINK","MUTABLE",f||{});this.currentEntity=this.contentState.getLastCreatedEntityKey();c.push.apply(c,this.$1(Array.from(a.childNodes),d));this.currentEntity=null};c.$4=function(a,c){c===void 0&&(c=null);var d=a.length-1;for(var e=0;e<=d;e++){var f=a[e];f.parent=c;f.prevSibling=e>0?a[e-1].key:null;f.nextSibling=e0){if(a.props.handlePastedFiles&&b("isEventHandled")(a.props.handlePastedFiles(d)))return;b("getTextContentFromFiles")(d,function(d){d=d||e;if(!d)return;var c=a._latestEditorState;d=b("splitTextIntoTextBlocks")(d);var f=b("CharacterMetadata").create({style:c.getCurrentInlineStyle(),entity:b("getEntityKeyForSelection")(c.getCurrentContent(),c.getSelection())}),g=b("RichTextEditorUtil").getCurrentBlockType(c);d=b("DraftPasteProcessor").processText(d,f,g);f=b("BlockMapBuilder").createFromArray(d);g=b("DraftModifier").replaceWithFragment(c.getCurrentContent(),c.getSelection(),f);a.update(b("EditorState").push(c,g,"insert-fragment"))});return}}d=[];var f=c.getText(),i=c.getHTML(),j=a._latestEditorState;if(a.props.formatPastedText){var k=a.props.formatPastedText(f,i),l=k.text;k=k.html;f=l;i=k}f&&(d=b("splitTextIntoTextBlocks")(f));l=null;if(!a.props.stripPastedStyles){var m=a.getClipboard();if(!a.props.formatPastedText&&c.isRichText()&&m){(((k=i)==null?void 0:k.indexOf(a.getEditorKey()))!==-1||d.length===1&&m.size===1&&m.first().getText()===f)&&(l=function(){return a.update(g(a._latestEditorState,m))})}else m&&c.types.includes("com.apple.webarchive")&&!c.types.includes("text/html")&&h(d,m)&&(l=function(){return a.update(g(a._latestEditorState,m))});if(a.props.handlePastedText&&b("isEventHandled")(a.props.handlePastedText(f,i,j,l!=null)))return;if(l!=null){l();return}if(i){k=b("DraftPasteProcessor").processHTML(i,a.props.blockRenderMap);if(k){c=k.contentBlocks;f=k.entityMap;if(c){l=b("BlockMapBuilder").createFromArray(c);a.update(g(a._latestEditorState,l,f));return}}}a.setClipboard(null)}if(d.length){i=b("CharacterMetadata").create({style:j.getCurrentInlineStyle(),entity:b("getEntityKeyForSelection")(j.getCurrentContent(),j.getSelection())});k=b("RichTextEditorUtil").getCurrentBlockType(j);c=b("DraftPasteProcessor").processText(d,i,k);l=b("BlockMapBuilder").createFromArray(c);a.update(g(a._latestEditorState,l))}}function g(a,c,d){c=b("DraftModifier").replaceWithFragment(a.getCurrentContent(),a.getSelection(),c);d=d?b("ContentState").mergeEntityMaps(c.getAllEntities(),d):c.getAllEntities();return b("EditorState").push(a,c.setEntityMap(d),"insert-fragment")}function h(a,b){return a.length===b.size&&b.valueSeq().every(function(b,c){return b.getText()===a[c]})}e.exports=a}),null); __d("DraftEditorEditHandler",["UserAgent","editOnBeforeInput","editOnBlur","editOnCompositionStart","editOnCopy","editOnCut","editOnDragOver","editOnDragStart","editOnFocus","editOnInput","editOnKeyDown","editOnPaste","editOnSelect"],(function(a,b,c,d,e,f){"use strict";a=b("UserAgent").isBrowser("Chrome");c=b("UserAgent").isBrowser("Firefox");d=a||c?b("editOnSelect"):function(a){};f={onBeforeInput:b("editOnBeforeInput"),onBlur:b("editOnBlur"),onCompositionStart:b("editOnCompositionStart"),onCopy:b("editOnCopy"),onCut:b("editOnCut"),onDragOver:b("editOnDragOver"),onDragStart:b("editOnDragStart"),onFocus:b("editOnFocus"),onInput:b("editOnInput"),onKeyDown:b("editOnKeyDown"),onPaste:b("editOnPaste"),onSelect:b("editOnSelect"),onMouseUp:d,onKeyUp:d};e.exports=f}),null); __d("DraftEditorPlaceholder.react",["cx","react","shallowEqual"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.shouldComponentUpdate=function(a){var c=this.props,d=c.editorState;c=babelHelpers.objectWithoutPropertiesLoose(c,["editorState"]);var e=a.editorState;a=babelHelpers.objectWithoutPropertiesLoose(a,["editorState"]);return d.getSelection().getHasFocus()!==e.getSelection().getHasFocus()||!b("shallowEqual")(c,a)};d.render=function(){var a="_1p1v"+(this.props.className!=null?" "+this.props.className:"");return i.jsx("div",{"aria-hidden":this.props.ariaHidden,className:"_1p1t"+(this.props.editorState.getSelection().getHasFocus()?" _1p1u":""),children:i.jsx("div",{className:a,id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"},children:this.props.text})})};return c}(i.Component);e.exports=a}),null); __d("DraftEditor.react",["cx","invariant","DefaultDraftBlockRenderMap","DefaultDraftInlineStyle","DraftEditorCompositionHandler","DraftEditorContents.react","DraftEditorDragHandler","DraftEditorEditHandler","DraftEditorFlushControlled","DraftEditorPlaceholder.react","DraftEffects","EditorState","Scroll","Style","UserAgent","generateRandomKey","getDefaultKeyBinding","getScrollPosition","gkx","isHTMLElement","nullthrows","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||b("react"),k=b("UserAgent").isBrowser("IE"),l=!k,m={edit:b("DraftEditorEditHandler"),composite:b("DraftEditorCompositionHandler"),drag:b("DraftEditorDragHandler"),cut:null,render:null},n=!1,o=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}var c=a.prototype;c.render=function(){return null};c.componentDidMount=function(){this._update()};c.componentDidUpdate=function(){this._update()};c._update=function(){var a=this.props.editor;a._latestEditorState=this.props.editorState;a._blockSelectEvents=!0};return a}(j.Component),p="{{editor_id_placeholder}}";c=function(c){babelHelpers.inheritsLoose(d,c);function d(a){var d;d=c.call(this,a)||this;d._internalDrag=!1;d.state={contentsKey:0};d._handleEditorContainerRef=function(a){d.editorContainer=a,d.editor=a!==null?a.firstChild:null};d.focus=function(a){var c=d.props.editorState,e=c.getSelection().getHasFocus(),f=d.editor;if(!f)return;var g=b("Style").getScrollParent(f);a=a||b("getScrollPosition")(g);var i=a.x;a=a.y;b("isHTMLElement")(f)||h(0,2355);f.focus({preventScroll:!0});g===window?window.scrollTo(i,a):b("Scroll").setTop(g,a);e||d.update(b("EditorState").forceSelection(c,c.getSelection()))};d.blur=function(){var a=d.editor;if(!a)return;b("isHTMLElement")(a)||h(0,2355);a.blur()};d.setMode=function(a){var b=d.props,c=b.onPaste,e=b.onCut;b=b.onCopy;var f=babelHelpers["extends"]({},m.edit);c&&(f.onPaste=c);e&&(f.onCut=e);b&&(f.onCopy=b);c=babelHelpers["extends"]({},m,{edit:f});d._handler=c[a]};d.exitCurrentMode=function(){d.setMode("edit")};d.restoreEditorDOM=function(a){b("DraftEditorFlushControlled")?b("DraftEditorFlushControlled")(function(){return d.setState({contentsKey:d.state.contentsKey+1},function(){d.focus(a)})}):d.setState({contentsKey:d.state.contentsKey+1},function(){d.focus(a)})};d.setClipboard=function(a){d._clipboard=a};d.getClipboard=function(){return d._clipboard};d.update=function(a){var c=d.props.onChange;d._latestEditorState=a;b("DraftEditorFlushControlled")?b("DraftEditorFlushControlled")(function(){return c(a)}):c(a)};d.onDragEnter=function(){d._dragCount++};d.onDragLeave=function(){d._dragCount--,d._dragCount===0&&d.exitCurrentMode()};d._blockSelectEvents=!1;d._clipboard=null;d._handler=null;d._dragCount=0;d._editorKey=a.editorKey||b("generateRandomKey")();d._placeholderAccessibilityID="placeholder-"+d._editorKey;d._latestEditorState=a.editorState;d._latestCommittedEditorState=a.editorState;d._onBeforeInput=d._buildHandler("onBeforeInput");d._onBlur=d._buildHandler("onBlur");d._onCharacterData=d._buildHandler("onCharacterData");d._onCompositionEnd=d._buildHandler("onCompositionEnd");d._onCompositionStart=d._buildHandler("onCompositionStart");d._onCopy=d._buildHandler("onCopy");d._onCut=d._buildHandler("onCut");d._onDragEnd=d._buildHandler("onDragEnd");d._onDragOver=d._buildHandler("onDragOver");d._onDragStart=d._buildHandler("onDragStart");d._onDrop=d._buildHandler("onDrop");d._onInput=d._buildHandler("onInput");d._onFocus=d._buildHandler("onFocus");d._onKeyDown=d._buildHandler("onKeyDown");d._onKeyPress=d._buildHandler("onKeyPress");d._onKeyUp=d._buildHandler("onKeyUp");d._onMouseDown=d._buildHandler("onMouseDown");d._onMouseUp=d._buildHandler("onMouseUp");d._onPaste=d._buildHandler("onPaste");d._onSelect=d._buildHandler("onSelect");d.getEditorKey=function(){return d._editorKey};return d}var e=d.prototype;e._buildHandler=function(a){var c=this;return function(d){if(!c.props.readOnly){var e=c._handler&&c._handler[a];e&&(b("DraftEditorFlushControlled")?b("DraftEditorFlushControlled")(function(){return e(c,d)}):e(c,d))}}};e._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()};e._renderPlaceholder=function(){if(this._showPlaceholder()){var a={ariaHidden:this.props.placeholderAriaHidden,accessibilityID:this._placeholderAccessibilityID,className:this.props.placeholderClassName,editorState:this.props.editorState,text:b("nullthrows")(this.props.placeholder),textAlignment:this.props.textAlignment};return j.jsx(b("DraftEditorPlaceholder.react"),babelHelpers["extends"]({},a))}return null};e._renderARIADescribedBy=function(){var a=this.props.ariaDescribedBy||"";if(this.props.placeholderAriaHidden)return a===p?void 0:a;var b=this._showPlaceholder()?this._placeholderAccessibilityID:"";return a.replace(p,b)||void 0};e.render=function(){var a=this.props,c=a.blockRenderMap,d=a.blockRendererFn,e=a.blockStyleFn,f=a.customStyleFn,g=a.customStyleMap,h=a.editorState,i=a.preventScroll,k=a.readOnly,m=a.textAlignment;a=a.textDirectionality;m="_5rp7"+(m==="left"?" _5rp8":"")+(m==="right"?" _5rp9":"")+(m==="center"?" _5rpa":"");var n={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},p=this.props.role||"textbox",q=p==="combobox"?!!this.props.ariaExpanded:null;c={blockRenderMap:c,blockRendererFn:d,blockStyleFn:e,customStyleMap:babelHelpers["extends"]({},b("DefaultDraftInlineStyle"),g),customStyleFn:f,editorKey:this._editorKey,editorState:h,preventScroll:i,textDirectionality:a};d=this.props.contentClassName!=null?this.props.contentClassName+" ":"";return j.jsxs("div",{className:m,children:[this._renderPlaceholder(),j.jsx("div",{className:"_5rpb",ref:this._handleEditorContainerRef,children:j.jsxs("div",{"aria-activedescendant":k?null:this.props.ariaActiveDescendantID,"aria-autocomplete":k?null:this.props.ariaAutoComplete,"aria-controls":k?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":k?null:q,"aria-label":(e=this.props.ariaLabel)!=null?e:this.props.placeholder,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":k?null:this.props.ariaOwneeID,"aria-required":this.props.ariaRequired,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:d+((k?"":"notranslate")+" _5rpu"),contentEditable:!k,"data-testid":void 0,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:k?null:p,spellCheck:l&&this.props.spellCheck,style:n,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex,children:[j.jsx(o,{editor:this,editorState:h}),j.createElement(b("DraftEditorContents.react"),babelHelpers["extends"]({},c,{key:"contents"+this.state.contentsKey}))]})})]})};e.componentDidMount=function(){this._blockSelectEvents=!1,!n&&b("gkx")("676845")&&(n=!0,b("DraftEffects").initODS()),this.setMode("edit"),k&&(!this.editor?a.execCommand("AutoUrlDetect",!1,!1):this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1))};e.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState};return d}(j.Component);c.defaultProps={ariaDescribedBy:p,blockRenderMap:b("DefaultDraftBlockRenderMap"),blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:b("getDefaultKeyBinding"),readOnly:!1,spellCheck:!1,stripPastedStyles:!1};e.exports=c}),null); __d("DraftEditorTextNode.react",["invariant","UserAgent","isElement","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react"),j=b("UserAgent").isBrowser("IE <= 11");function k(a){return j?a.textContent==="\n":a.tagName==="BR"}var l=function(a){return j?i.jsx("span",{"data-text":"true",ref:a,children:"\n"},"A"):i.jsx("br",{"data-text":"true",ref:a},"A")},m=function(a){return j?i.jsx("span",{"data-text":"true",ref:a,children:"\n"},"B"):i.jsx("br",{"data-text":"true",ref:a},"B")};a=function(a){babelHelpers.inheritsLoose(c,a);function c(b){b=a.call(this,b)||this;b.$1=!1;return b}var d=c.prototype;d.shouldComponentUpdate=function(a){var c=this.$2,d=a.children==="";b("isElement")(c)||g(0,6158);c=c;return d?!k(c):c.textContent!==a.children};d.componentDidMount=function(){this.$1=!this.$1};d.componentDidUpdate=function(){this.$1=!this.$1};d.render=function(){var a=this;return this.props.children===""?this.$1?l(function(b){return a.$2=b}):m(function(b){return a.$2=b}):i.jsx("span",{"data-text":"true",ref:function(b){return a.$2=b},children:this.props.children},this.$1?"A":"B")};return c}(i.Component);e.exports=a}),null); __d("setDraftEditorSelection",["invariant","DraftEffects","DraftJsDebugLogging","UserAgent","containsNode","getActiveElement","getCorrectDocumentFromNode","isElement"],(function(a,b,c,d,e,f,g){"use strict";var h=b("UserAgent").isBrowser("IE");function i(a,c){if(!a)return"[empty]";a=j(a,c);if(a.nodeType===Node.TEXT_NODE)return a.textContent;b("isElement")(a)||g(0,3425);c=a;return c.outerHTML}function j(a,c){var d=c!==void 0?c(a):[];if(a.nodeType===Node.TEXT_NODE){var e=a.textContent.length;return b("getCorrectDocumentFromNode")(a).createTextNode("[text "+e+(d.length?" | "+d.join(", "):"")+"]")}e=a.cloneNode();e.nodeType===1&&d.length&&e.setAttribute("data-labels",d.join(", "));d=a.childNodes;for(var a=0;a=i;p=j===d&&e<=k&&f>=k;if(o&&p){g.removeAllRanges();n(g,c,i-e,a);m(g,c,k-e,a);return}if(!l)o&&(g.removeAllRanges(),n(g,c,i-e,a)),p&&m(g,c,k-e,a);else{p&&(g.removeAllRanges(),n(g,c,k-e,a));if(o){h=g.focusNode;j=g.focusOffset;g.removeAllRanges();n(g,c,i-e,a);m(g,h,j,a)}}}function m(a,c,d,e){var f=b("getActiveElement")(),g=a.extend;if(g&&c!=null&&b("containsNode")(f,c)){d>l(c)&&b("DraftJsDebugLogging").logSelectionStateFailure({anonymizedDom:k(c),extraParams:JSON.stringify({offset:d}),selectionState:JSON.stringify(e.toJS())});g=c===a.focusNode;try{a.rangeCount>0&&a.extend&&a.extend(c,d)}catch(h){b("DraftJsDebugLogging").logSelectionStateFailure({anonymizedDom:k(c,function(b){var c=[];b===f&&c.push("active element");b===a.anchorNode&&c.push("selection anchor node");b===a.focusNode&&c.push("selection focus node");return c}),extraParams:JSON.stringify({activeElementName:f?f.nodeName:null,nodeIsFocus:c===a.focusNode,nodeWasFocus:g,selectionRangeCount:a.rangeCount,selectionAnchorNodeName:a.anchorNode?a.anchorNode.nodeName:null,selectionAnchorOffset:a.anchorOffset,selectionFocusNodeName:a.focusNode?a.focusNode.nodeName:null,selectionFocusOffset:a.focusOffset,message:h?""+h:null,offset:d},null,2),selectionState:JSON.stringify(e.toJS(),null,2)});throw h}}else if(c&&a.rangeCount>0){g=a.getRangeAt(0);g.setEnd(c,d);a.addRange(g.cloneRange())}}function n(a,c,d,e){var f=b("getCorrectDocumentFromNode")(c).createRange();d>l(c)&&(b("DraftJsDebugLogging").logSelectionStateFailure({anonymizedDom:k(c),extraParams:JSON.stringify({offset:d}),selectionState:JSON.stringify(e.toJS())}),b("DraftEffects").handleExtensionCausedError());f.setStart(c,d);if(h)try{a.addRange(f)}catch(a){}else a.addRange(f)}e.exports={setDraftEditorSelection:a,addFocusToSelection:m}}),null); __d("DraftEditorLeaf.react",["invariant","DraftEditorTextNode.react","isHTMLBRElement","react","setDraftEditorSelection"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react"),j=b("setDraftEditorSelection").setDraftEditorSelection;a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.$1=function(){var a=this.props.selection;if(a==null||!a.getHasFocus())return;var c=this.props,d=c.block,e=c.start;c=c.text;d=d.getKey();c=e+c.length;if(!a.hasEdgeWithin(d,e,c))return;var f=this.leaf;f||g(0,5590);var h=f.firstChild;h||g(0,5591);var i;h.nodeType===Node.TEXT_NODE?i=h:b("isHTMLBRElement")(h)?i=f:(i=h.firstChild,i||g(0,5592));j(a,i,d,e,c)};d.shouldComponentUpdate=function(a){var b=this.leaf;b||g(0,5593);b=b.textContent!==a.text||a.styleSet!==this.props.styleSet||a.forceSelection;return b};d.componentDidUpdate=function(){this.$1()};d.componentDidMount=function(){this.$1()};d.render=function(){var a=this,c=this.props.block,d=this.props.text;d.endsWith("\n")&&this.props.isLast&&(d+="\n");var e=this.props,f=e.customStyleMap,g=e.customStyleFn,h=e.offsetKey;e=e.styleSet;var j=e.reduce(function(a,b){var c={};b=f[b];b!==void 0&&a.textDecoration!==b.textDecoration&&(c.textDecoration=[a.textDecoration,b.textDecoration].join(" ").trim());return Object.assign(a,b,c)},{});if(g){g=g(e,c);j=Object.assign(j,g)}return i.jsx("span",{"data-offset-key":h,ref:function(b){return a.leaf=b},style:j,children:i.jsx(b("DraftEditorTextNode.react"),{children:d})})};return c}(i.Component);e.exports=a}),null); __d("DraftEditorBlock.react",["cx","invariant","DraftEditorLeaf.react","DraftOffsetKey","Scroll","Style","UnicodeBidi","UnicodeBidiDirection","getElementPosition","getScrollPosition","getViewportDimensions","isHTMLElement","nullthrows","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||b("react"),k=10,l=function(a,b){return a.getAnchorKey()===b||a.getFocusKey()===b};a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.shouldComponentUpdate=function(a){return this.props.block!==a.block||this.props.tree!==a.tree||this.props.direction!==a.direction||l(a.selection,a.block.getKey())&&a.forceSelection};d.componentDidMount=function(){if(this.props.preventScroll)return;var a=this.props.selection,c=a.getEndKey();if(!a.getHasFocus()||c!==this.props.block.getKey())return;a=this.$1;if(a==null)return;c=b("Style").getScrollParent(a);var d=b("getScrollPosition")(c);if(c===window){var e=b("getElementPosition")(a);e=e.y+e.height;var f=b("getViewportDimensions")().height;e=e-f;e>0&&window.scrollTo(d.x,d.y+e+k)}else{b("isHTMLElement")(a)||h(0,4852);f=a.offsetHeight+a.offsetTop;a=c.offsetTop+c.offsetHeight;a=a+d.y;e=f-a;e>0&&b("Scroll").setTop(c,b("Scroll").getTop(c)+e+k)}};d.$2=function(){var a=this,c=this.props.block,d=c.getKey(),e=c.getText(),f=this.props.tree.size-1,g=l(this.props.selection,d);return this.props.tree.map(function(h,i){var k=h.get("leaves");if(k.size===0)return null;var l=k.size-1,m=k.map(function(k,m){var n=b("DraftOffsetKey").encode(d,i,m),h=k.get("start");k=k.get("end");return j.jsx(b("DraftEditorLeaf.react"),{offsetKey:n,block:c,start:h,selection:g?a.props.selection:null,forceSelection:a.props.forceSelection,text:e.slice(h,k),styleSet:c.getInlineStyleAt(h),customStyleMap:a.props.customStyleMap,customStyleFn:a.props.customStyleFn,isLast:i===f&&m===l},n)}).toArray(),n=h.get("decoratorKey");if(n==null)return m;if(!a.props.decorator)return m;var o=b("nullthrows")(a.props.decorator),p=o.getComponentForKey(n);if(!p)return m;o=o.getPropsForKey(n);n=b("DraftOffsetKey").encode(d,i,0);var q=k.first().get("start");k=k.last().get("end");var r=e.slice(q,k);h=c.getEntityAt(h.get("start"));var s=b("UnicodeBidiDirection").getHTMLDirIfDifferent(b("UnicodeBidi").getDirection(r),a.props.direction);r={contentState:a.props.contentState,decoratedText:r,dir:s,start:q,end:k,blockKey:d,entityKey:h,offsetKey:n};return j.createElement(p,babelHelpers["extends"]({},o,r,{key:n}),m)}).toArray()};d.render=function(){var a=this,b=this.props,c=b.direction;b=b.offsetKey;c="_1mf"+(c==="LTR"?" _1mj":"")+(c==="RTL"?" _1mk":"");return j.jsx("div",{"data-offset-key":b,className:c,ref:function(b){return a.$1=b},children:this.$2()})};return c}(j.Component);e.exports=a}),null); __d("DraftEditorContents-core.react",["cx","DraftEditorBlock.react","DraftOffsetKey","joinClasses","nullthrows","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react"),j=function(a,b,c,d){return(a==="unordered-list-item"?"_3kpz":"")+(a==="ordered-list-item"?" _3kp_":"")+(c?" _3kq0":"")+(b===0?" _3kq1":"")+(b===1?" _3kq2":"")+(b===2?" _3kq3":"")+(b===3?" _3kq4":"")+(b>=4?" _3kq5":"")+(d==="LTR"?" _3kq6":"")+(d==="RTL"?" _3kq7":"")};a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.shouldComponentUpdate=function(a){var b=this.props.editorState;a=a.editorState;var c=b.getDirectionMap(),d=a.getDirectionMap();if(c!==d)return!0;c=b.getSelection().getHasFocus();d=a.getSelection().getHasFocus();if(c!==d)return!0;c=a.getNativelyRenderedContent();d=b.isInCompositionMode();var e=a.isInCompositionMode();if(b===a||c!==null&&a.getCurrentContent()===c||d&&e)return!1;c=b.getCurrentContent();var f=a.getCurrentContent();b=b.getDecorator();var g=a.getDecorator();return d!==e||c!==f||b!==g||a.mustForceSelection()};d.render=function(){var a=this.props,c=a.blockRenderMap,d=a.blockRendererFn,e=a.blockStyleFn,f=a.customStyleMap,g=a.customStyleFn,h=a.editorState,k=a.editorKey,l=a.preventScroll;a=a.textDirectionality;var m=h.getCurrentContent(),n=h.getSelection(),o=h.mustForceSelection(),p=h.getDecorator(),q=b("nullthrows")(h.getDirectionMap()),r=m.getBlocksAsArray(),s=[],t=new Set(),u=null,v=null;for(var w=0;wu||H0?(i=a.attachmentArea)==null?void 0:i.previousAttachmentType:void 0;if(b.attachmentType==="PAID_CONTENT"&&a.paidContent!=null){a.mediaAttachments!=null&&a.mediaAttachments[0].fileType==="VIDEO"&&(a.mediaAttachments||[]).length>=1&&(i="MEDIA");return babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:(b=i)!=null?b:void 0,previousAttachmentType:e}),paidContent:void 0})}return babelHelpers["extends"]({},a,f,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:(b=i)!=null?b:void 0,previousAttachmentType:e}),callNowMetadata:null,mediaAttachments:g})}}return a}g.getCanAlterAttachmentData=h;g.removeActiveAttachmentViewStateData=a;g.composerAttachmentAreaReducer=b}),98); __d("composerFooterAttachmentAreaChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return(a==null?void 0:(a=a.footerAttachmentArea)==null?void 0:a.activeFooterAttachmentType)!==(b==null?void 0:(a=b.footerAttachmentArea)==null?void 0:a.activeFooterAttachmentType)}f["default"]=a}),66); __d("composerFooterAttachmentAreaReducer",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";b={BLOOD_DONATIONS:c("JSResourceForInteraction")("composerFeedBloodDonationsTransform").__setRef("composerFooterAttachmentAreaReducer"),FISHBOWL:c("JSResourceForInteraction")("composerFishbowlPostTransform").__setRef("composerFooterAttachmentAreaReducer"),GROUP_WELCOME_POST:c("JSResourceForInteraction")("groupsWelcomePostTransform").__setRef("composerFooterAttachmentAreaReducer"),NONPROFIT:c("JSResourceForInteraction")("fundraiserForStoryTransform").__setRef("composerFooterAttachmentAreaReducer"),PRAYER:c("JSResourceForInteraction")("composerPrayerTransform").__setRef("composerFooterAttachmentAreaReducer"),ROOM:c("JSResourceForInteraction")("composerRoomTransform").__setRef("composerFooterAttachmentAreaReducer"),WOODHENGE_SUPPORT:c("JSResourceForInteraction")("composerWoodhengeSupportTransform").__setRef("composerFooterAttachmentAreaReducer")};function a(a,b){var c;switch(b.type){case"ACTIVATE_FOOTER_ATTACHMENT_TYPE":return((c=a.footerAttachmentArea)==null?void 0:c.activeFooterAttachmentType)===b.footerAttachmentType?a:babelHelpers["extends"]({},a,{footerAttachmentArea:babelHelpers["extends"]({},a.footerAttachmentArea,{activeFooterAttachmentType:b.footerAttachmentType}),placeholderTextOverride:b.placeholderTextOverride});case"REMOVE_FOOTER_ATTACHMENT_TYPE":if(((c=a.footerAttachmentArea)==null?void 0:c.activeFooterAttachmentType)!==b.footerAttachmentType)return a;c={nonprofit:a.nonprofit};b.footerAttachmentType==="NONPROFIT"&&a.nonprofit!=null&&(c={nonprofit:void 0});return babelHelpers["extends"]({},a,c,{footerAttachmentArea:babelHelpers["extends"]({},a.footerAttachmentArea,{activeFooterAttachmentType:null}),placeholderTextOverride:void 0});case"UPDATE_PLACEHOLDER_TEXT":return babelHelpers["extends"]({},a,{placeholderTextOverride:b.placeholderTextOverride});case"RESET_PLACEHOLDER_TEXT":return babelHelpers["extends"]({},a,{placeholderTextOverride:void 0})}return a}g.transformerResourceForFooterAttachmentType=b;g.composerFooterAttachmentAreaReducer=a}),98); __d("addTagsToWithTagsIDsTracker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){var d=new Map(c);b.forEach(function(b){var c;c=(c=d.get(b))!=null?c:{isDisplayedInSocialSentence:!0,withTagSourceIDs:[]};var e=c.isDisplayedInSocialSentence;c=c.withTagSourceIDs;c.includes(a)||c.push(a);d.set(b,{isDisplayedInSocialSentence:e,withTagSourceIDs:c})});return d}f["default"]=a}),66); __d("CometAlbumMediaItemOrderType",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["ASCENDING","DESCENDING","DEFAULT"]);f.MediaAttachmentOrderType=a}),66); __d("composerMediaAttachmentUtils",[],(function(a,b,c,d,e,f){"use strict";var g=100;function h(a){switch(a.state){case"PREEXISTING":return a.data.id;case"OPTIMISTIC_UPLOADED":return a.uploadID;default:return a.file.uploadID}}function i(a){if(a==null)return a;var b=a.x,c=a.y;return babelHelpers["extends"]({},a,{x:c,y:g-b})}function j(a){if(a==null)return a;var b=a.x,c=a.y;return babelHelpers["extends"]({},a,{x:g-c,y:b})}function a(a,b){switch(b){case"LEFT":return a.map(i);case"RIGHT":return a.map(j);default:return a}}function b(a,b){var c={},d=function(d){a.some(function(a){return d===h(a)})||(c[d]=b[d])};for(var e in b)d(e);return c}function c(a){return a.state==="UPLOADED"?a.takenTime!=null?a.takenTime:a.file.lastModified:0}f.getIDFromMediaAttachment=h;f.rotateAttachmentTags=a;f.removeMediaUploadStatuses=b;f.getDateNumber=c}),66); __d("processNewMediaAttachments",["cometIsMimeTypeForMedia","cometUniqueID"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return((a=a)!=null?a:[]).map(function(a){return a==null?null:h(a)}).filter(Boolean)}function h(a){var b;b=(b=a.uploadID)!=null?b:c("cometUniqueID")();a.uploadID=b;var e=URL.createObjectURL(a);if(d("cometIsMimeTypeForMedia").isMimeTypeForPhoto(a.type))return{data:{id:b},file:a,fileObjectURL:e,fileType:"PHOTO",state:"NEW"};else if(d("cometIsMimeTypeForMedia").isMimeTypeForVideo(a.type))return{data:{id:b},file:a,fileObjectURL:e,fileType:"VIDEO",state:"NEW"};else return{data:{id:b},file:a,fileObjectURL:e,fileType:"UNKNOWN",state:"NEW"}}g.processNewMediaAttachments=a;g.getNewMediaAttachment=h}),98); __d("removeTagsFromMedia",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Map(b),d=a.data.id;if(d==null)return c;b=((a==null?void 0:a.fileType)==="PHOTO"||(a==null?void 0:a.fileType)==="VIDEO")&&a.data.tags!=null?[].concat(a.data.tags).filter(Boolean):[];a=b.reduce(function(a,b){b.taggee.id!=null&&b.taggee.taggee_type!=="PRODUCT_ITEM"&&a.push(b.taggee.id);return a},[]);a.forEach(function(a){var b=c.get(a);if(b!=null){b={isDisplayedInSocialSentence:b.isDisplayedInSocialSentence,withTagSourceIDs:b.withTagSourceIDs.filter(function(a){return a!==d})};b.withTagSourceIDs.length===0?c["delete"](a):c.set(a,b)}});return c}f["default"]=a}),66); __d("composerMediaAttachmentReducer",["CometAlbumMediaItemOrderType","CometComposerAttachmentPluginTypes","Promise","addTagsToWithTagsIDsTracker","composerAttachmentAreaReducer","composerMediaAttachmentUtils","gkx","killswitch","processNewMediaAttachments","removeTagsFromMedia","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,c){return a.reduce(function(a,c){if(c.file==null)return a;var d=c.file.uploadID;if(d==null)return a;if(a[d]!=null)return a;var e=null,f=new(b("Promise"))(function(a){e=a}),g=null,h=new(b("Promise"))(function(a){g=a});e&&g&&(c.fileType==="PHOTO"||c.fileType==="VIDEO")&&(a[d]={cancelUpload:g,onFileComplete:f,onUploadCancel:h,resolveFileUpload:e});return a},c)}function i(a,b){b=d("processNewMediaAttachments").processNewMediaAttachments(b.files);var c=(a.mediaAttachments||[]).concat(b);return babelHelpers["extends"]({},a,{mediaAttachments:c,mediaUploadStatuses:h(b,babelHelpers["extends"]({},a.mediaUploadStatuses)||Object.freeze({}))})}function j(a,b){if(!a.mediaAttachments)return babelHelpers["extends"]({},a);var c=a.mediaAttachments.map(function(a){if(b.retryAttachments.has(a)&&a.file)return d("processNewMediaAttachments").getNewMediaAttachment(a.file);else return a});return babelHelpers["extends"]({},a,{mediaAttachments:c})}function k(a,c){var d,e=a.mediaAttachments||[];c=c.photo;var f={data:{id:c.id,message:null,tags:[]},entID:c.id,fileType:"PHOTO",height:c.height,state:"PREEXISTING",url:c.url,useCDNPreview:!0,width:c.width};e=[].concat(e,[f]);f=babelHelpers["extends"]({},a.mediaUploadStatuses);Object.assign(f,(d={},d[c.id]={onFileComplete:b("Promise").resolve({attachmentID:c.id,attachmentType:"PHOTO"}),resolveFileUpload:function(){}},d));return babelHelpers["extends"]({},a,{mediaAttachments:e,mediaUploadStatuses:f})}function l(a,c){var d,e=a.mediaAttachments||[];c=c.video;var f={data:{id:c.id},entID:c.id,fileType:"VIDEO",height:c.thumbnail.height,imageURL:c.thumbnail.url,state:"PREEXISTING",useCDNPreview:!0,width:c.thumbnail.width};e=[].concat(e,[f]);f=babelHelpers["extends"]({},a.mediaUploadStatuses);Object.assign(f,(d={},d[c.id]={onFileComplete:b("Promise").resolve({attachmentID:c.id,attachmentType:"VIDEO"}),resolveFileUpload:function(){}},d));return babelHelpers["extends"]({},a,{mediaAttachments:e,mediaUploadStatuses:f})}function m(a,b){if(a.mediaAttachments==null)return a;else{var e=a.mediaAttachments.filter(function(a){if(d("composerMediaAttachmentUtils").getIDFromMediaAttachment(b.attachment)===d("composerMediaAttachmentUtils").getIDFromMediaAttachment(a)){a.fileObjectURL!=null&&URL.revokeObjectURL(a.fileObjectURL);return!1}else return!0}),f=c("removeTagsFromMedia")(b.attachment,new Map(a.withTagIDsTracker));return e.length>0||a.isMediaAttachmentsRequired===!0?babelHelpers["extends"]({},a,{mediaAttachments:e,mediaUploadStatuses:d("composerMediaAttachmentUtils").removeMediaUploadStatuses([b.attachment],babelHelpers["extends"]({},a.mediaUploadStatuses)||Object.freeze({})),withTagIDsTracker:f}):babelHelpers["extends"]({},a,{attachmentArea:void 0,mediaAttachments:void 0,mediaUploadStatuses:void 0})}}function n(a,b){return(a.mediaAttachments||[]).length>0?o(a,b,!0):babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:void 0,previousAttachmentType:c("CometComposerAttachmentPluginTypes").GET_MESSAGES}),isGetMessagesPost:null})}function o(a,b,d){d===void 0&&(d=!1);if(!d&&[c("CometComposerAttachmentPluginTypes").GET_MESSAGES,c("CometComposerAttachmentPluginTypes").GET_WHATSAPP_MESSAGES].includes((b=a.attachmentArea)==null?void 0:b.activeAttachmentType))return a;if(!d&&[c("CometComposerAttachmentPluginTypes").GET_MESSAGES,c("CometComposerAttachmentPluginTypes").GET_WHATSAPP_MESSAGES].includes((b=a.attachmentArea)==null?void 0:b.previousAttachmentType))return a;var e=new Map(a.withTagIDsTracker);((d=a.mediaAttachments)!=null?d:[]).forEach(function(a){e=c("removeTagsFromMedia")(a,e)});(a.mediaAttachments||[]).forEach(function(b){b.fileObjectURL!=null&&URL.revokeObjectURL(b.fileObjectURL);if(b.state!=="PREEXISTING"&&b.fileType==="VIDEO"&&a.mediaUploadStatuses!=null){var d;d=(d=b.file.uploadID)!=null?d:"";if(d!==""){var e=a.mediaUploadStatuses[d];e&&c("gkx")("642")&&e.cancelUpload({attachmentID:d,attachmentType:b.fileType})}}});return babelHelpers["extends"]({},a,{animatedImageAttachments:void 0,mediaAttachments:void 0,mediaUploadStatuses:void 0,withTagIDsTracker:e})}function p(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state==="NEW"&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",sphericalEncoding:a.sphericalEncoding,state:"CLIENT_PROCESSING",useCDNPreview:a.useCDNPreview};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",state:"CLIENT_PROCESSING",useCDNPreview:a.useCDNPreview};case"FILE":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"CLIENT_PROCESSING"};case"UNKNOWN":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"UNKNOWN",state:"CLIENT_PROCESSING"}}else return a}).filter(Boolean)})}function q(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.file&&a.fileType==="UNKNOWN"&&b.uploadIDs.includes(a.file.uploadID))switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"});case"CLIENT_PROCESSING":case"QUEUED":case"UPLOADING":case"UPLOADED":case"FAILED":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"})}return a})})}function r(a,b){b=a.mediaAttachments;if(b==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:b.map(function(a){if(a.state==="UPLOADED")switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0});case"VIDEO":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0});case"FILE":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0})}return a})})}function s(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){var c=a.data.id;if(a.file&&a.fileType==="VIDEO"&&b.uploadIDs.includes(a.file.uploadID)&&c!=null)switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:c},fileType:"PHOTO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:c},fileType:"PHOTO"});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},a,{data:{id:c},fileType:"PHOTO"});case"QUEUED":return babelHelpers["extends"]({},a,{data:{id:c},fileType:"PHOTO"});case"FAILED":return babelHelpers["extends"]({},a,{data:{id:c},fileType:"PHOTO"})}return a})})}function t(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.file&&a.fileType==="UNKNOWN"&&b.uploadIDs.includes(a.file.uploadID))switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"});case"CLIENT_PROCESSING":case"QUEUED":case"UPLOADING":case"UPLOADED":case"FAILED":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"})}return a})})}function u(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if((a.state==="NEW"||a.state==="CLIENT_PROCESSING")&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,sphericalEncoding:a.sphericalEncoding,state:"CLIENT_PROCESSING_COMPLETE",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,state:"CLIENT_PROCESSING_COMPLETE",useCDNPreview:a.useCDNPreview,width:a.width};case"FILE":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"CLIENT_PROCESSING_COMPLETE"};case"UNKNOWN":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"UNKNOWN",state:"CLIENT_PROCESSING_COMPLETE"}}else return a}).filter(Boolean)})}function v(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state==="CLIENT_PROCESSING_COMPLETE"&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,sphericalEncoding:a.sphericalEncoding,state:"QUEUED",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,state:"QUEUED",width:a.width};default:return{data:a.data,file:a.file,fileType:"FILE",state:"QUEUED"}}else return a}),mediaUploadStatuses:h(c.filter(function(a){return a.file!=null&&b.uploadIDs.includes(a.file.uploadID)}),babelHelpers["extends"]({},a.mediaUploadStatuses)||Object.freeze({}))})}function w(a,b){if(a.mediaAttachments==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:a.mediaAttachments.map(function(a){if(a.state!=="CLIENT_PROCESSING"&&a.state!=="UPLOADING"&&a.state!=="UPLOADED"&&a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,percentComplete:0,sphericalEncoding:a.sphericalEncoding,state:"UPLOADING",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,percentComplete:0,state:"UPLOADING",width:a.width};default:return{data:a.data,file:a.file,fileType:"FILE",percentComplete:0,state:"UPLOADING"}}else return a})})}function x(a,b){if(a.mediaAttachments==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:a.mediaAttachments.map(function(a){if(a.state==="UPLOADING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",percentComplete:b.percentComplete});case"VIDEO":return babelHelpers["extends"]({},a,{entID:b.entID,fileType:"VIDEO",percentComplete:b.percentComplete});default:return babelHelpers["extends"]({},a,{fileType:"FILE",percentComplete:b.percentComplete})}else return a})})}function y(a,b){if(a.mediaAttachments==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:a.mediaAttachments.map(function(a){if(a.state!=="CLIENT_PROCESSING"&&a.state!=="CLIENT_PROCESSING_COMPLETE"&&a.state!=="UPLOADED"&&a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return{data:{id:b.entID},entID:b.entID,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,sphericalEncoding:a.sphericalEncoding,state:"UPLOADED",takenTime:b.takenTime,uploadedImageURL:b.imageURL,useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:babelHelpers["extends"]({},a.data,{id:b.entID}),entID:b.entID,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,state:"UPLOADED",useCDNPreview:a.useCDNPreview,videoAttachmentMetadata:a.videoAttachmentMetadata||{},width:a.width};default:return{data:{id:b.entID},entID:b.entID,file:a.file,fileType:"FILE",state:"UPLOADED"}}else return a})})}function z(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,sphericalEncoding:a.sphericalEncoding,state:"FAILED",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,state:"FAILED",useCDNPreview:a.useCDNPreview,width:a.width};default:return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"FAILED"}}else return a})})}function A(a,b){var d;if(a.mediaAttachments==null)return a;var e=new Map(a.withTagIDsTracker),f=[],g=[],h=b.media.data.id;((d=b.media.data.tags)!=null?d:[]).forEach(function(a){var c;if((a==null?void 0:(c=a.taggee)==null?void 0:c.id)!=null){c=a.taggee.id;a.taggee.taggee_type==="PRODUCT_ITEM"?f.push(c):b.actorID!==c&&g.push(c)}});var i=b.media.originalEntID!=null?b.media.originalEntID:h;d=(a.mediaAttachments||[]).find(function(a){a=a.originalEntID!=null?a.originalEntID:a.data.id;return a===i});if(i==null||d==null)throw c("unrecoverableViolation")("Invalid action taken to save media edits of a media attachment that does not exist","comet_composer");e=c("removeTagsFromMedia")(d,e);e=c("addTagsToWithTagsIDsTracker")(i,g,e);return babelHelpers["extends"]({},a,{mediaAttachments:(h=a.mediaAttachments)==null?void 0:h.map(function(a,c){return c!==b.index?a:b.media}),taggedProductIDs:f,withTagIDsTracker:e})}function B(a,b){if(a.mediaAttachments!=null){var c=[].concat(a.mediaAttachments);c.splice(b.targetIndex,0,c.splice(b.sourceIndex,1)[0]);b=c.reduce(function(b,c){c=d("composerMediaAttachmentUtils").getIDFromMediaAttachment(c);c!=null&&a.mediaUploadStatuses!=null&&(b[c]=a.mediaUploadStatuses[c]);return b},{});return babelHelpers["extends"]({},a,{mediaAttachments:c,mediaUploadStatuses:b})}else return a}function C(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.data.id===b.entID&&a.fileType==="PHOTO"&&a.state==="UPLOADED"){var c=babelHelpers["extends"]({},a,{height:b.height,uploadedImageURL:b.imageURI,useCDNPreview:!0,width:b.width}),e=c.data.tags;return e!=null&&e.length>0?babelHelpers["extends"]({},c,{data:babelHelpers["extends"]({},c.data,{tags:d("composerMediaAttachmentUtils").rotateAttachmentTags(e,b.direction)})}):c}return a})})}function D(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a===b.attachment){switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});case"UNKNOWN":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"UNKNOWN"})}return a;case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}}return a}else return a})})}function E(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(d("composerMediaAttachmentUtils").getIDFromMediaAttachment(a)===d("composerMediaAttachmentUtils").getIDFromMediaAttachment(b.attachment)){switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"CLIENT_PROCESSING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return babelHelpers["extends"]({},a,{fileType:"UNKNOWN",useCDNPreview:!0})}}return a}else return a})})}function F(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.data.id===b.entID&&a.state==="UPLOADED")switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",height:b.height,width:b.width});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",height:b.height,width:b.width});case"UNKOWN":return babelHelpers["extends"]({},a,{fileType:"UNKNOWN",height:b.height,width:b.width});default:return a}else return a})})}function G(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){return d("composerMediaAttachmentUtils").getIDFromMediaAttachment(a)===d("composerMediaAttachmentUtils").getIDFromMediaAttachment(b.attachment)?L(b.height,b.width,a):a})})}function H(a,b){var c=URL.createObjectURL(b.placeholderImage.file);a.photo3dAttachment&&URL.revokeObjectURL(a.photo3dAttachment.inputData.placeholderImageSrc);return babelHelpers["extends"]({},a,{photo3dAttachment:{inputData:{colorImageIds:b.colorImageIds,depthImageIds:b.depthImageIds,placeholderImageHeight:(a=b.placeholderImage.height)!=null?a:0,placeholderImageSrc:c,placeholderImageWidth:(a=b.placeholderImage.width)!=null?a:0},renderData:void 0}})}function I(a,b){if(a.mediaAttachments!=null){var c=[].concat(a.mediaAttachments);c.sort(function(a,c){a=d("composerMediaAttachmentUtils").getDateNumber(a);c=d("composerMediaAttachmentUtils").getDateNumber(c);return ac&&b.orderType===d("CometAlbumMediaItemOrderType").MediaAttachmentOrderType.DESCENDING?-1:1});return babelHelpers["extends"]({},a,{mediaAttachments:c})}else return a}function J(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a,c){if(c!==b.currentIndex)return a;switch(a.state){case"UPLOADING":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"UPLOADED":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"PREEXISTING":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}default:return a}})})}function K(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.file&&a.file.uploadID===b.uploadID)switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"CLIENT_PROCESSING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}default:return a}else return a})})}function L(a,b,c){switch(c.fileType){case"PHOTO":switch(c.state){case"NEW":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"QUEUED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"UPLOADING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"UPLOADED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"FAILED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"PREEXISTING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});default:return c}case"VIDEO":switch(c.state){case"NEW":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"QUEUED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"UPLOADING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"UPLOADED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"FAILED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"PREEXISTING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});default:return c}default:return c}}function a(a,b){switch(b.type){case"ADD_MEDIA_ATTACHMENT_ITEMS":return i(a,b);case"ADD_PREEXISTING_PHOTO":return k(a,b);case"ADD_PREEXISTING_VIDEO":return l(a,b);case"REMOVE_MEDIA_ATTACHMENT_ITEM":return m(a,b);case"REMOVE_ALL_MEDIA_ATTACHMENT_ITEMS":return o(a,b);case"REMOVE_GET_MESSAGE_MEDIA_ATTACHMENT_ITEMS":return n(a,b);case"RETRY_MEDIA_ATTACHMENT_ITEMS":return j(a,b);case"MEDIA_ATTACHMENT_CLIENT_PROCESSING_COMPLETED":return u(a,b);case"QUEUE_UPLOADS":return v(a,b);case"MARK_UPLOADS_CLIENT_PROCESSING":return p(a,b);case"MARK_UNKNOWN_UPLOADS_AS_PHOTO":return q(a,b);case"MARK_UPLOADS_AS_PART_OF_COMPLETE_BATCH":return r(a,b);case"MARK_UPLOADS_AS_PHOTO":return s(a,b);case"MARK_UNKNOWN_UPLOADS_AS_VIDEO":return t(a,b);case"MEDIA_UPLOAD_STARTED":return w(a,b);case"MEDIA_UPLOAD_PROGRESS":return x(a,b);case"MEDIA_UPLOAD_SUCCESSFUL":return y(a,b);case"REORDER_MEDIA_ATTACHMENT_ITEM":return B(a,b);case"ROTATE_MEDIA_ATTACHMENT_ITEM":return C(a,b);case"SAVE_MEDIA_EDITS":return A(a,b);case"SET_MEDIA_ATTACHMENT_CAPTION":return D(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_USE_CDN_PREVIEW":return E(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_CDN_DIMENSIONS":return F(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_DIMENSIONS":return G(a,b);case"SET_PHOTO3D_CREATION_DATA":return H(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_SPHERICAL_ENCODING":return K(a,b);case"ORDER_BY_DATE_TAKEN":return I(a,b);case"SET_VIDEO_ATTACHMENT_METADATA":return J(a,b);case"MEDIA_UPLOAD_FAILED":return z(a,b);case"REMOVE_ATTACHMENT_TYPE":if(c("killswitch")("WWW_COMPOSER_MEDIA_ATTACHMENT_AREA_REMOVAL_ACTION_DISPATCH"))return a;else{b=d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"MEDIA",a)||d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"CALL_NOW",a);if(!b)return a;else return o(a,{type:"REMOVE_ALL_MEDIA_ATTACHMENT_ITEMS"})}}return a}g["default"]=a}),98); __d("CometComposerOnSubmitContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({errorMetadata:null,isSaving:!1});g["default"]=b}),98); __d("CometComposerValidationErrorsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({});g["default"]=b}),98); __d("CometComposerViewStateAlteredContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({current:new Map()});g["default"]=b}),98); __d("CometComposerViewStateDispatcherContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext(c("emptyFunction"));g["default"]=b}),98); __d("CometComposerViewStateReducersContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({current:new Map()});g["default"]=b}),98); __d("useComposerValidationErrors",["CometComposerValidationErrorsContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){return h(c("CometComposerValidationErrorsContext"))}g["default"]=a}),98); __d("useComposerViewStateDispatcher",["CometComposerViewStateDispatcherContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){return h(c("CometComposerViewStateDispatcherContext"))}g["default"]=a}),98); __d("useComposerViewStateReducer",["CometComposerViewStateAlteredContext","CometComposerViewStateReducersContext","useContextRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=function(a,b){return!1};c("useContextRef")((b=b)!=null?b:d,c("CometComposerViewStateAlteredContext"));return c("useContextRef")(a,c("CometComposerViewStateReducersContext"))}g["default"]=a}),98); __d("CometComposerPushPageContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext(null);g["default"]=b}),98); __d("useCometComposerPushPage",["CometComposerPushPageContext","JSResourceForInteraction","promiseDone","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useRef,j=c("JSResourceForInteraction")("missingPushPageErrorHandler").__setRef("useCometComposerPushPage");function a(){var a=h(c("CometComposerPushPageContext")),b=i(null);if(a==null){var d=function(a){c("promiseDone")(j.load().then(function(c){return c(b,a)}))};return d}return a}g["default"]=a}),98); __d("useCometComposerPushPageWithReducer",["react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useMemo;function a(){var a=c("useCometComposerPushPage")(),b=i(function(){return function(b,c,d,e){a(b,function(a){a=a.onReturn;return h.jsx(c,{onReturn:a})},e,d)}},[a]);return b}g["default"]=a}),98); __d("useVerifyCometComposerPushPage",["CometComposerPushPageContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){return h(c("CometComposerPushPageContext"))!=null}g["default"]=a}),98); __d("CometComposerHeader.react",["fbt","ix","CometTrackingNodeProvider.react","TetraCircleButton.react","TetraText.react","emptyFunction","fbicon","react","useCometConfirmationDialog","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.closeButtonTestID;b=b===void 0?"CometComposerHeader-CloseButton":b;b=a.id;var e=a.isDirty,f=e===void 0?!1:e,g=a.isEmpty;e=a.onBack;var k=a.onClose,l=a.testid;l=a.title;var m=a.triggerUnsavedChangesWarning;m=m===void 0?!1:m;var n=a.withBackButton;n=n===void 0?!1:n;a=a.withCloseButton;a=a===void 0?!1:a;var o=c("useCometConfirmationDialog")(),p=o[0];o=m===!0?function(){if(f===!0&&g!==!0){var a;p({body:h._(/*FBT_CALL*/"Changes you made will not be saved."/*FBT_CALL*/),cancel:h._(/*FBT_CALL*/"Keep Editing"/*FBT_CALL*/),confirm:h._(/*FBT_CALL*/"Discard"/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Unsaved changes"/*FBT_CALL*/)},(a=k)!=null?a:c("emptyFunction"))}else k&&k()}:k;return j.jsxs("div",{"data-testid":void 0,children:[l!=null?j.jsx("div",{className:"taijpn5t cb02d2ww j83agx80 rq0escxv linmgsc8 bp9cbjyn",children:j.jsx(c("TetraText.react"),{id:b,isSemanticHeading:!0,numberOfLines:1,type:"headlineEmphasized2",children:l})}):null,a?j.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:141,children:j.jsx("div",{className:"fcg2cn6m pmk7jnqg cypi58rs","data-testid":void 0,children:j.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("478233"),20),label:h._(/*FBT_CALL*/"Close"/*FBT_CALL*/),onPress:o,size:36,testid:void 0})})}):null,n?j.jsx("div",{className:"fcg2cn6m re5koujm pmk7jnqg","data-testid":void 0,children:j.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("512647"),20),label:h._(/*FBT_CALL*/"Back"/*FBT_CALL*/),onPress:e,size:36})}):null]})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{isDirty:a.isDirty,isEmpty:(a=a.isEmptyMetaData)==null?void 0:a.isEmpty}});g["default"]=b}),98); __d("useCometComposerPushLocationPage",["fbt","CometComposerAttachmentPluginTypes","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPageWithReducer"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=d("react").useCallback,k=c("lazyLoadComponent")(c("JSResourceForInteraction")("ComposerLocationListContainer.react").__setRef("useCometComposerPushLocationPage"));function a(){var a=c("useCometComposerPushPageWithReducer")();return j(function(){a(h._(/*FBT_CALL*/"Search for location"/*FBT_CALL*/),function(a){a=a.onReturn;return i.jsx(k,{onClose:a})},c("CometComposerAttachmentPluginTypes").LOCATION)},[a])}g["default"]=a}),98); __d("CometComposerLifeEventCategoryList.entrypoint",["CometComposerLifeEventCategoryListQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{CometComposerLifeEventCategoryListQueryRef:{parameters:c("CometComposerLifeEventCategoryListQuery$Parameters"),variables:{scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometComposerLifeEventCategoryList.react").__setRef("CometComposerLifeEventCategoryList.entrypoint")};g["default"]=a}),98); __d("CometComposerLifeEventSubcategoryList.entrypoint",["CometComposerLifeEventSubcategoryListQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{CometComposerLifeEventSubcategoryListQueryRef:{parameters:c("CometComposerLifeEventSubcategoryListQuery$Parameters"),variables:{scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometComposerLifeEventSubcategoryList.react").__setRef("CometComposerLifeEventSubcategoryList.entrypoint")};g["default"]=a}),98); __d("ProfileCometLifeEventsSubcategoryType",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({ENGAGEMENT:"186602241402186",FIRST_MET:"110479285719045",GRADUATED:"graduated",HOMETOWN:"hometown",LEFT_JOB:"left_job",LEFT_SCHOOL:"left_school",LOSS_LOVED_ONE:"161401573941389",MARRIAGE:"119419864820741",MOVED:"136805663075786",NEW_CHILD:"154540017958611",NEW_JOB:"new_job",NEW_PET:"157504504317810",NEW_RELATIONSHIP:"166189666805959",NEW_SCHOOL:"247225955309245",PARENTHOOD:"parenthood",PLACES_LIVED:"places_lived",PROMOTION:"promotion",RETIREMENT:"241151665935368"});f["default"]=a}),66); __d("ProfileCometLifeEventsComposerTaggingUtils",["ProfileCometLifeEventsSubcategoryType"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.taggedEmployer,c=a.taggedMetadataLocation,d=a.taggedPartner;a=a.taggedSchool;if(b.id!=="")return b.id;if(c.id!=="")return c.id;if(d.id!=="")return d.id;return a.id!==""?a.id:null}function b(a){return a===c("ProfileCometLifeEventsSubcategoryType").MOVED}function d(a){return a===c("ProfileCometLifeEventsSubcategoryType").FIRST_MET}function e(a,b){return a==="WORK"&&(b===c("ProfileCometLifeEventsSubcategoryType").NEW_JOB||b===c("ProfileCometLifeEventsSubcategoryType").LEFT_JOB)}function f(a,b){return a==="TRAVEL"||a==="HOME"&&(b===c("ProfileCometLifeEventsSubcategoryType").MOVED||b===c("ProfileCometLifeEventsSubcategoryType").PLACES_LIVED||b===c("ProfileCometLifeEventsSubcategoryType").HOMETOWN)}function h(a,b,d){return d&&a==="RELATIONSHIPS"&&(b===c("ProfileCometLifeEventsSubcategoryType").FIRST_MET||b===c("ProfileCometLifeEventsSubcategoryType").ENGAGEMENT||b===c("ProfileCometLifeEventsSubcategoryType").MARRIAGE||b===c("ProfileCometLifeEventsSubcategoryType").NEW_RELATIONSHIP)}function i(a,b){return a==="EDUCATION"&&b!==null}function j(a){return a===c("ProfileCometLifeEventsSubcategoryType").ENGAGEMENT||a===c("ProfileCometLifeEventsSubcategoryType").MARRIAGE||a===c("ProfileCometLifeEventsSubcategoryType").NEW_RELATIONSHIP}g.getTaggedEntity=a;g.isLocationRequired=b;g.isPartnerRequired=d;g.shouldShowEmployerField=e;g.shouldShowMetadataLocationField=f;g.shouldShowPartnerField=h;g.shouldShowSchoolField=i;g.shouldShowRelationshipDisclaimer=j}),98); __d("getInvalidMLEField",["ProfileCometLifeEventsComposerTaggingUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){a=(a=a)!=null?a:{};var c=a.selectedCategoryID,e=a.selectedSubcategoryID,f=a.taggedEmployer,g=a.taggedMetadataLocation,h=a.taggedPartner,i=a.taggedSchool,j=a.title;a=a.uploadedMedia;if(j==="")return"title";if(a&&a.length>0&&a.every(function(a){return a.status!=="UPLOADED"}))return"media";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowEmployerField(c,e)&&f.id==="")return"workplace";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowMetadataLocationField(c,e)&&d("ProfileCometLifeEventsComposerTaggingUtils").isLocationRequired(e)&&g.id==="")return"location";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowPartnerField(c,e,b)&&d("ProfileCometLifeEventsComposerTaggingUtils").isPartnerRequired(e)&&h.id==="")return"partner";return d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowSchoolField(c,e)&&i.id===""?"school":null}g["default"]=a}),98); __d("ProfileCometLifeEventMigrationContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({isInCometComposer:!1});g["default"]=b}),98); __d("ProfileCometLifeEventsComposerState",[],(function(a,b,c,d,e,f){"use strict";function a(){var a=new Date();return{date:{day:a.getDate(),month:a.getMonth()+1,year:a.getFullYear()},defaultTitle:"",description:"",feedQueryVariables:null,initialState:null,isDateEditable:!0,isMediaExpanded:!1,isTitleDirty:!1,loadingDefaultMedia:!0,privacy:null,selectedCategoryID:null,selectedDefaultMedia:null,selectedIcon:null,selectedSubcategoryID:null,showEntityMedia:!1,skipSubcategoryStep:!1,step:"CATEGORY",storyID:null,surface:null,taggedEmployer:{id:"",name:""},taggedLocation:null,taggedMetadataLocation:{id:"",name:""},taggedPartner:{id:"",name:""},taggedSchool:{id:"",name:""},taggedSchoolType:"COLLEGE",taggedUsers:[],title:"",uploadedMedia:[]}}f.getInitialState=a}),66); __d("ProfileCometLifeEventsComposerContext",["ProfileCometLifeEventsComposerState","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({dispatch:c("emptyFunction"),state:d("ProfileCometLifeEventsComposerState").getInitialState()});g["default"]=b}),98); __d("useLifeEventsComposerDispatcher",["ProfileCometLifeEventMigrationContext","ProfileCometLifeEventsComposerContext","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){var a=h(c("ProfileCometLifeEventsComposerContext"));a=a.dispatch;var b=c("useComposerViewStateDispatcher")(),d=h(c("ProfileCometLifeEventMigrationContext"));d=d.isInCometComposer;return d?b:a}g["default"]=a}),98); __d("CometComposerLifeEventsFormDoneButton.react",["fbt","TetraButton.react","getInvalidMLEField","react","useComposerViewStateDispatcher","useLifeEventsComposerDispatcher","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.majorLifeEvent,d=a.onReturn,e=c("useComposerViewStateDispatcher")(),f=c("useLifeEventsComposerDispatcher")();a=c("getInvalidMLEField")(b,!0)!==null;return i.jsx("div",{className:"qnrpqo6b ae35evdt jxrgncrl fdg1wqfs",children:i.jsx(c("TetraButton.react"),{disabled:a,label:h._(/*FBT_CALL*/"Done"/*FBT_CALL*/),onPress:function(){d({index:0}),e({attachmentType:"LIFE_EVENT",type:"ACTIVATE_ATTACHMENT_TYPE"}),f({type:"COPY_ALL_METADATA_TO_ATTACHMENT"})}})})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{majorLifeEvent:a.majorLifeEvent}});g["default"]=b}),98); __d("CometComposerMajorLifeEventAttachmentFormResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("CometComposerMajorLifeEventAttachmentForm.react").__setRef("CometComposerMajorLifeEventAttachmentFormResource");b=a;g["default"]=b}),98); __d("ProfileCometLifeEventEditMediaContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({mediaEditable:!1});g["default"]=b}),98); __d("useCometComposerPushMLEPage",["fbt","$InternalEnum","CometComposerAttachmentPluginTypes","CometComposerLifeEventCategoryList.entrypoint","CometComposerLifeEventSubcategoryList.entrypoint","CometComposerLifeEventsFormDoneButton.react","CometComposerMajorLifeEventAttachmentFormResource","CometComposerPushPageGlimmer.react","CometPlaceholder.react","ProfileCometLifeEventEditMediaContext","ProfileCometLifeEventMigrationContext","lazyLoadComponent","react","react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react","useCometComposerPushPageWithReducer","useCometRelayEntrypointContextualEnvironmentProvider","useLifeEventsComposerDispatcher"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=d("react").useCallback,k=c("lazyLoadComponent")(c("CometComposerMajorLifeEventAttachmentFormResource")),l=b("$InternalEnum").Mirrored(["CATEGORY","SUBCATEGORY","ATTACHMENT_FORM"]);function a(a,b,d){var e=c("useCometComposerPushPageWithReducer")(),f=c("useCometRelayEntrypointContextualEnvironmentProvider")(),g=c("useLifeEventsComposerDispatcher")();return j(function(){var j={isInCometComposer:!0},m={mediaEditable:!0},n=d!=null?d:h._(/*FBT_CALL*/"Create Life Event"/*FBT_CALL*/),o=b?b:{onBack:function(){return g({type:"CLEAR_FORM_FIELDS"})}};switch(a){case l.CATEGORY:e(n,function(a){a=a.onReturn;return i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:i.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:j,children:i.jsx(c("react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react"),{entryPoint:c("CometComposerLifeEventCategoryList.entrypoint"),entryPointParams:{},environmentProvider:f,props:{onBackToComposer:a}})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT);break;case l.SUBCATEGORY:e(n,function(a){var b=a.onReturn;return i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:i.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:j,children:i.jsx(c("react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react"),{entryPoint:c("CometComposerLifeEventSubcategoryList.entrypoint"),entryPointParams:{},environmentProvider:f,props:{onBackToComposer:function(){return b({index:0})}}})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT);break;case l.ATTACHMENT_FORM:g({type:"SAVE_CURRENT_STATE"});e(n,function(a){a=a.onReturn;return i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:i.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:j,children:i.jsxs(c("ProfileCometLifeEventEditMediaContext").Provider,{value:m,children:[i.jsx(k,{}),i.jsx(c("CometComposerLifeEventsFormDoneButton.react"),{onReturn:a})]})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT,o);break}},[d,b,e,g,a,f])}g.MleStep=l;g.useCometComposerPushMLEPage=a}),98); __d("ComposerTabbedMinutiaePushPageGlimmmer.react",["fbt","BaseGlimmer.react","BaseLoadingStateElement.react","CometComposerHeader.react","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={root:{height:"es0q6dlf"},searchBar:{borderTopStartRadius:"e72ty7fz",borderTopEndRadius:"qlfml3jp",borderBottomEndRadius:"inkptoze",borderBottomStartRadius:"qmr60zad",height:"tv7at329",marginTop:"aahdfvyu",marginEnd:"wkznzc2l",marginBottom:"tvmbv18p",marginStart:"dhix69tm",width:"k4urcfbm"},searchBarView:{alignItems:"bp9cbjyn",display:"j83agx80",height:"pi1r6xr4",justifyContent:"taijpn5t"},tabText:{borderTopStartRadius:"dwerhba3",borderTopEndRadius:"kgjeooe1",borderBottomEndRadius:"kxcb68kb",borderBottomStartRadius:"mwvzfrdb",height:"rgmg9uty",marginEnd:"tvfksri0",width:"f3pi7oek"},tabView:{alignItems:"bp9cbjyn",display:"j83agx80",height:"cb02d2ww",justifyContent:"jifvfom9",marginTop:"kvgmc6g5",marginEnd:"wkznzc2l",marginBottom:"oygrvhab",marginStart:"dhix69tm"}};function a(a,b){return i.jsxs(c("BaseLoadingStateElement.react"),{ref:b,xstyle:j.root,children:[i.jsx(c("CometComposerHeader.react"),{onBack:a.onBack,title:h._(/*FBT_CALL*/"How are you feeling?"/*FBT_CALL*/),withBackButton:!0}),i.jsxs("div",{className:c("stylex")(j.tabView),children:[i.jsx(c("BaseGlimmer.react"),{className:c("stylex")(j.tabText),index:1}),i.jsx(c("BaseGlimmer.react"),{className:c("stylex")(j.tabText),index:2})]}),i.jsx("div",{className:c("stylex")(j.searchBarView),children:i.jsx(c("BaseGlimmer.react"),{className:c("stylex")(j.searchBar),index:1})})]})}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("useCometComposerPushMinutiaePage",["fbt","CometPlaceholder.react","ComposerTabbedMinutiaePushPageGlimmmer.react","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=c("lazyLoadComponent")(c("JSResourceForInteraction")("ComposerTabbedMinutiaePage.react").__setRef("useCometComposerPushMinutiaePage"));function a(){var a=c("useCometComposerPushPage")();return function(){a(h._(/*FBT_CALL*/"How are you feeling?"/*FBT_CALL*/),function(a){a=a.onReturn;return i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("ComposerTabbedMinutiaePushPageGlimmmer.react"),{onBack:a}),children:i.jsx(j,{initialTab:"FEELING",onClose:a})})},{hasCustomHeader:!0})}}g["default"]=a}),98); __d("FeedComposerCometWithTagTypeaheadDataSource",["Promise"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){var b=a.compositeDataSource;a=a.matchStrategy;this.$3=!1;this.$1=b;this.$2=a}var c=a.prototype;c.bootstrap=function(){if(this.$3)return;this.$3=!0;this.$1.bootstrap()};c.fetchCache=function(a){var b=a.query;b=this.$2.findMentionableString(b);return b==null?{entries:[],params:a}:this.$1.fetchCache(a)};c.fetchNetwork=function(a){var c=a.query;c=this.$2.findMentionableString(c);return c==null?b("Promise").reject():this.$1.fetchNetwork(a)};return a}();f["default"]=a}),66); __d("createCometWithTagStrategy",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.minMatchLength;return{findMentionableString:function(a){return a.length>=b?{leadOffset:a.length,matchingString:a,replaceableString:a}:null},name:"WithTagStrategy("+b.toString()+")"}}f["default"]=a}),66); __d("useCometComposerWithTagFriendsDataSource",["WebPixelRatio","createFeedCometMentionsDataEntry","useCometComposerWithTagFriendsDataSourceQuery.graphql","useCometTypeaheadGraphQLDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useCometComposerWithTagFriendsDataSourceQuery.graphql");function a(a){var b=a.actorID;a=a.limit;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:a,normalize:j,queryVariablesBuilderFunction:function(a){a=a.query;return{id:b,query:a,scale:d("WebPixelRatio").get()}}})}function j(a){a=a==null?void 0:(a=a.user)==null?void 0:(a=a.friends)==null?void 0:a.edges;return a==null?[]:a.map(function(a){if(a==null)return null;a=a.node;return a==null?null:c("createFeedCometMentionsDataEntry")({data:{node:a},type:"WITH_TAG_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("useCometComposerWithTagSuggestionsDataSource",["WebPixelRatio","createFeedCometMentionsDataEntry","useCometComposerWithTagSuggestionsDataSourceQuery.graphql","useCometTypeaheadGraphQLDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useCometComposerWithTagSuggestionsDataSourceQuery.graphql");function a(a){var b=a.limit;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:b,normalize:j,queryVariablesBuilderFunction:function(){return{limit:b,scale:d("WebPixelRatio").get()}}})}function j(a){a=a==null?void 0:(a=a.viewer)==null?void 0:(a=a.suggested_with_tags)==null?void 0:a.edges;return a==null?[]:a.map(function(a){if(a==null)return null;a=a.node;return a==null?null:c("createFeedCometMentionsDataEntry")({data:{node:a},type:"SUGGESTION"})}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometWithTagDataSource",["cr:1872646"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1872646")}),98); __d("useFeedComposerCometWithTagDataSourceImpl",["Actor","CometTypeaheadBootstrapDataProviderStorageKey","FeedComposerCometWithTagTypeaheadDataSource","createCometWithTagStrategy","gkx","react","useCometComposerWithTagFriendsDataSource","useCometComposerWithTagSuggestionsDataSource","useCometTypeaheadCompositeDataSource","useFeedComposerCometMentionsBootloadDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo;function a(a){a=a.limit;var b=d("Actor").useActor();b=b[0];var e=c("useFeedComposerCometMentionsBootloadDataSource")({firstDegreeFinderOptions:["FRIENDS_ONLY"],includeViewer:!1,limit:Math.floor(a/2),storageKey:c("gkx")("1864085")?d("CometTypeaheadBootstrapDataProviderStorageKey").StorageKey.FeedComposerMentionsWithTagBootstrap:null,typeaheadContext:"mentions",types:["USER"]}),f=c("useCometComposerWithTagSuggestionsDataSource")({limit:a});b=c("useCometComposerWithTagFriendsDataSource")({actorID:b,limit:a});var g=c("useCometTypeaheadCompositeDataSource")({bootstrapDataSource:e,limit:a,networkDataSource:b,nullstateDataSource:f});return h(function(){return new(c("FeedComposerCometWithTagTypeaheadDataSource"))({compositeDataSource:g,matchStrategy:c("createCometWithTagStrategy")({minMatchLength:0})})},[g])}g["default"]=a}),98); __d("withTagIDsTrackerConversionUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];a!=null&&a.forEach(function(a,c){a=a.isDisplayedInSocialSentence;a&&b.push(c)});return b}function b(a,b){b===void 0&&(b="WithTagTool");var c=new Map();a=a.filter(Boolean);a.forEach(function(a){a!=null&&c.set(a,{isDisplayedInSocialSentence:!0,withTagSourceIDs:[b]})});return c}f.convertWithTagIDsTrackerToArray=a;f.convertArrayToWithTagIDsTracker=b}),66); __d("basicCoordinateTransform",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.clientWindowX,c=a.clientWindowY,d=a.imageLeftPosition;a=a.imageTopPosition;b=b-d;d=c-a;return{intermediateX:b,intermediateY:d}}f["default"]=a}),66); __d("MediaEditorViewStateContext",["basicCoordinateTransform","react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({clickEventCoordinateTransforms:[c("basicCoordinateTransform")],index:0,isEditingPreExistingStory:!1,isOnVideoLiteComposer:!1});g["default"]=b}),98); __d("PagesCometComposerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext();g["default"]=b}),98); __d("CometVideoToolsLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({composerEntryPoint:null,dialogMode:null});g["default"]=b}),98); __d("CpxContentCreationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1175");c=b("FalcoLoggerInternal").create("cpx_content_creation",a);e.exports=c}),null); __d("VideoComposerDialogUiFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1759123");c=b("FalcoLoggerInternal").create("video_composer_dialog_ui",a);e.exports=c}),null); __d("useCometVideoComposerLog",["CometComposerViewStateContext","CometVideoToolsLoggingContext","CpxContentCreationFalcoEvent","MediaEditorViewStateContext","PagesCometComposerContext","VideoComposerDialogUiFalcoEvent","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useContext,j=b.useMemo;function a(){var a,b=i(c("PagesCometComposerContext")),d=i(c("MediaEditorViewStateContext")),e=d==null?void 0:d.index;d=d==null?void 0:d.isEditingPreExistingStory;var f=i(c("CometComposerViewStateContext")),g=i(c("CometVideoToolsLoggingContext")),k=(a=g==null?void 0:g.composerEntryPoint)!=null?a:"pages_feed",l=d===!0?"video_edit":(a=g==null?void 0:g.dialogMode)!=null?a:"video_upload",m=j(function(){var a={};a.post_publish_attempt={event_name:"post_create",event_state:"started"};a.post_success={event_name:"post_create",event_state:"success"};a.post_failure={event_name:"post_create",event_state:"failed"};return a},[]);d=h(function(a,d,g){var h;h=((h=g)!=null?h:f).mediaAttachments;var i=null;h!=null&&h[e]!=null&&h[e].fileType==="VIDEO"&&(h[e].state==="UPLOADING"||h[e].state==="UPLOADED")&&(i=h[e].entID);var j=((h=g)!=null?h:f).creationSessionID,n=(g=d==null?void 0:d.dialogMode)!=null?g:l,o=(h=b==null?void 0:b.pageID)!=null?h:d==null?void 0:d.pageID,p=(g=i)!=null?g:d==null?void 0:d.videoID;c("VideoComposerDialogUiFalcoEvent").log(function(){return{actor_id:o,composer_entry_point:k,dialog_mode:n,error_message:d==null?void 0:d.error_message,event:a,extra_data:d==null?void 0:d.extraData,session_id:j,video_id:p,web_framework:"COMET"}});var q=m[a];!!q&&n==="video_upload"&&c("CpxContentCreationFalcoEvent").log(function(){return babelHelpers["extends"]({},q,{composer_entry_point:k,composer_mode:"create",composer_type:"composer_lite",page_id:o,session_id:j,unified_composer_eligible:!1,video_id:p})})},[k,f,e,l,m,b==null?void 0:b.pageID]);return{logEvent:d}}g["default"]=a}),98); __d("draftJsEditorStateMoveCursorToEndOfSelection",["EditorState","SelectionState"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.getSelection(),d=Math.max(b.getAnchorOffset(),b.getFocusOffset());b=new(c("SelectionState"))({anchorKey:b.getAnchorKey(),anchorOffset:d,focusKey:b.getFocusKey(),focusOffset:d,hasFocus:!0,isBackward:!1});return c("EditorState").forceSelection(a,b)}g["default"]=a}),98); __d("VideoComposerDialogUIEvent",[],(function(a,b,c,d,e,f){a=Object.freeze({CONFIRMATION_DIALOG_CLOSE:"confirmation_dialog_close",DIALOG_OPENED:"dialog_opened",DIALOG_REQUESTED:"dialog_requested",DIALOG_BOOTLOADED:"dialog_bootloaded",EDIT_TABS_LOADED:"edit_tabs_loaded",EXIT_COMPOSER_ATTEMPT:"exit_composer_attempt",EXIT_COMPOSER_CANCEL:"exit_composer_cancel",EXIT_COMPOSER_CONFIRM:"exit_composer_confirm",EXIT_COMPOSER_REPLACE_FILE:"exit_composer_replace_file",EXIT_COMPOSER_SAVE_DRAFT:"exit_composer_save_draft",FILE_REPLACED:"file_replaced",METADATA_LOAD_FAILED:"metadata_load_failed",METADATA_LOAD_SUCCESS:"metadata_load_success",NAVIGATED_FROM_PAGE:"navigated_from_page",POST_BACKDATE_ATTEMPT:"post_backdate_attempt",POST_DRAFT_ATTEMPT:"post_draft_attempt",POST_FAILURE:"post_failure",POST_PREMIERE_ATTEMPT:"post_premiere_attempt",POST_PREMIERE_NOW_ATTEMPT:"post_premiere_now_attempt",POST_PUBLISH_ATTEMPT:"post_publish_attempt",POST_REQUEST_INVALID:"post_request_invalid",POST_REQUEST_SENT:"post_request_sent",POST_SCHEDULE_ATTEMPT:"post_schedule_attempt",POST_SUCCESS:"post_success",SAVE_EDITED_VIDEO_ATTEMPT:"save_edited_video_attempt",SAVE_EDITED_VIDEO_FAILURE:"save_edited_video_failure",SAVE_EDITED_VIDEO_FAILURE_SERVER:"save_edited_video_failure_server",SAVE_EDITED_VIDEO_SUCCESS:"save_edited_video_success",SELECT_EDITING_PUBLISH_ACTION:"select_editing_publish_action",SENDING_POST_REQUEST:"sending_post_request",TAB_BOOTLOAD_ERROR:"tab_bootload_error",TAB_LOAD_ERROR:"tab_load_error",TAB_SWITCHED:"tab_switched",UPLOAD_FAILURE:"upload_failure",UPLOAD_FINISHED:"upload_finished",UPLOAD_VIDEO_BUTTON_CLICKED:"upload_video_button_clicked",USER_PLAYED_VIDEO_PREVIEW:"user_played_video_preview",OPEN_PUBLISH_DRAWER:"open_publish_drawer",CLOSE_PUBLISH_DRAWER:"close_publish_drawer",UPLOAD_BOOTLOAD_FAILURE:"upload_bootload_failure",PAGE_STORY_CREATION_ATTEMPT:"page_story_creation_attempt",PAGE_STORY_CREATION_FAILURE:"page_story_creation_failure",PAGE_STORY_CREATION_SUCCESS:"page_story_creation_success",CAPTIONS_DEFAULT_LOCALE_SELECTED:"captions_default_locale_selected",CAPTIONS_LOCAL_FILES_UPLOAD:"captions_local_files_upload",CAPTIONS_LOCAL_FILE_DELETE:"captions_local_file_delete",POST_CAPTIONS_FAILURE:"post_captions_failure",STORIES_OPTION_TOGGLED:"stories_option_toggled",SUBMIT_MATURE_CONTENT_APPEAL_FORM_SUCCESS:"submit_mature_content_appeal_form_success",RIGHTS_DIALOG_SHOWN:"rights_dialog_shown",RIGHTS_DIALOG_CONFIRM:"rights_dialog_confirm",CUSTOM_THUMBNAIL_SELECTED:"custom_thumbnail_selected",GENERATED_THUMBNAIL_SELECTED:"generated_thumbnail_selected",SCRUBBED_THUMBNAIL_SELECTED:"scrubbed_thumbnail_selected",PREMIERE_BUTTON_RENDERED:"premiere_button_rendered",PREMIERE_MENU_ITEM_RENDERED:"premiere_menu_item_rendered",PREMIERE_DIALOG_OPENED:"premiere_dialog_opened",PREMIERE_DIALOG_SUBMITTED:"premiere_dialog_submitted",PREMIERE_SUBMIT_ERROR:"premiere_submit_error",PREMIERE_SUBMIT_SUCCESS:"premiere_submit_success",SELECTED_PREMIERE_NOW_WITH_LIVING_ROOM:"selected_premiere_now_with_living_room",CLICKED_ADD_VIDEOS_DIALOG:"clicked_add_videos_dialog",SET_LIVING_ROOM_TITLE:"set_living_room_title",POST_PREMIERE_LIVING_ROOM_ATTEMPT:"post_premiere_living_room_attempt",POST_SCHEDULED_PREMIERE_LIVING_ROOM_ATTEMPT:"post_scheduled_premiere_living_room_attempt",OPEN_TRIMMING_EDITOR:"open_trimming_editor",SAVE_TRIMMED_VIDEO:"saved_trimmed_video",SAVE_UNTRIMMED_VIDEO:"save_untrimmed_video",ABORT_TRIMMING:"abort_trimming",OPEN_AUTO_REFRAME_DIALOG:"open_auto_reframe_dialog",SAVE_AUTO_REFRAME_SETTING:"save_auto_reframe_setting",OPEN_AUTO_REFRAME_REVIEW_DIALOG:"open_auto_reframe_review_dialog",OPEN_VU_TRAILER_DIALOG:"open_vu_trailer_dialog",SAVE_VU_TRAILER_SETTING:"save_vu_trailer_setting",OPEN_VU_TRAILER_REVIEW_DIALOG:"open_vu_trailer_review_dialog",OPEN_RESTRICTED_AUDIENCE_DIALOG:"open_restricted_audience_dialog",OPEN_EDIT_RESTRICTED_AUDIENCE_DIALOG:"open_edit_restricted_audience_dialog",OPEN_ATTRIBUTE_EDIT_RESTRICTED_AUDIENCE_DIALOG:"open_attribute_edit_restricted_audience_dialog",SAVE_RESTRICTED_AUDIENCE_SETTING:"save_restricted_audience_setting",SAVE_MANUAL_RESTRICTED_AUDIENCE_SETTING:"save_manual_restricted_audience_setting",SET_AUDIENCE_TO_PUBLIC:"set_audience_to_public",SAVE_VIDEO_EDIT_RESTRICTED_AUDIENCE:"save_video_edit_restricted_audience",UPDATE_ATTRIBUTE_RESTRICTED_AUDIENCE_SETTING:"update_attribute_restricted_audience_setting",UPDATE_ATTRIBUTE_RESTRICTED_AUDIENCE_SETTING_ERROR:"update_attribute_restricted_audience_setting_error",CREATE_LOCATION_PRESET:"create_location_preset",CREATE_LOCATION_PRESET_ERROR:"create_location_preset_error",UPDATE_LOCATION_PRESET:"update_location_preset",UPDATE_LOCATION_PRESET_ERROR:"update_location_preset_error",DELETE_LOCATION_PRESET:"delete_location_preset",DELETE_LOCATION_PRESET_ERROR:"delete_location_preset_error",CROSSPOST_ALL_MONETIZABLE_CLICKED:"crosspost_all_monetizable_clicked",AD_BREAKS_MID_ROLL_OPT_OUT_ENABLED:"ad_breaks_mid_roll_opt_out_enabled",NONPROFIT_TAB_SELECTED:"nonprofit_tab_selected",FUNDRAISER_TAB_SELECTED:"fundraiser_tab_selected",NONPROFIT_LEGACY_SELECTED:"nonprofit_legacy_selected",NONPROFIT_SELECTED:"nonprofit_selected",FUNDRAISER_SELECTED:"fundraiser_selected",DONATION_REMOVE_CLICKED:"donation_remove_clicked",OPEN_PUBLISH_OPTION_EDIT_FLOW:"open_publish_option_edit_flow",SAVE_PUBLISH_OPTION_EDIT_FLOW_ATTEMPT:"save_publish_option_edit_flow_attempt",SAVE_PUBLISH_OPTION_EDIT_FLOW_SUCCESS:"save_publish_option_edit_flow_success",CANCEL_PUBLISH_OPTION_EDIT_FLOW:"cancel_publish_option_edit_flow",VISIT_CREATOR_STUDIO_BUTTON_CLICK:"visit_creator_studio_button_click",VIDEO_SCHEDULE_DIALOG_OPEN:"video_schedule_dialog_open",VIDEO_SCHEDULE_DIALOG_BACK:"video_schedule_dialog_back",VIDEO_SCHEDULE_DIALOG_CLEAR:"video_schedule_dialog_clear",VIDEO_SCHEDULE_DIALOG_SAVE:"video_schedule_dialog_save",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_ATTEMPT:"video_captions_srt_file_upload_attempt",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_SUCCESS:"video_captions_srt_file_upload_success",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_FAILURE:"video_captions_srt_file_upload_failure",VIDEO_CAPTIONS_SRT_FILE_DELETE_ATTEMPT:"video_captions_srt_file_delete_attempt",VIDEO_CAPTIONS_SRT_FILE_DELETE_SUCCESS:"video_captions_srt_file_delete_success",VIDEO_CAPTIONS_SRT_FILE_DELETE_FAILURE:"video_captions_srt_file_delete_failure",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_ATTEMPT:"video_captions_auto_gen_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_SUCCESS:"video_captions_auto_gen_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_FAILURE:"video_captions_auto_gen_toggle_failure",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_ATTEMPT:"video_captions_auto_gen_review_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_SUCCESS:"video_captions_auto_gen_review_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_FAILURE:"video_captions_auto_gen_review_toggle_failure",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_ATTEMPT:"video_captions_auto_gen_subtitles_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_SUCCESS:"video_captions_auto_gen_subtitles_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_FAILURE:"video_captions_auto_gen_subtitles_toggle_failure",VIDEO_CUSTOM_THUMBNAIL_UPLOAD:"video_custom_thumbnail_upload",VIDEO_CUSTOM_THUMBNAIL_DELETE:"video_custom_thumbnail_delete",ENTER_HASHTAG_MANAGER:"enter_hashtag_manager",CANCEL_HASHTAG_MANAGER:"cancel_hashtag_manager",USE_HASHTAG_MANAGER:"use_hashtag_manager",DUBBING_START:"dubbing_start",DUBBING_SUBTITLE_NOT_FOUND:"dubbing_subtitle_not_found",DUBBING_SUBTITLE_TEXT_NOT_AVAILABLE:"dubbing_subtitle_text_not_available",DUBBING_EVERSTORE_HANDLE_NOT_FOUND:"dubbing_everstore_handle_not_found",DUBBING_SUCCESS:"dubbing_success",DUBBING_FAILURE:"dubbing_failure",TEXT_TRANSLATION_COMPLETE:"text_translation_complete",TEXT_TRANSLATION_FAILURE:"text_translation_failure",DUBBING_METADATA_UPDATE_FAILURE:"dubbing_metadata_update_failure",AUTO_DUB_CLICK_DISABLE:"auto_dub_click_disable",AUTO_DUB_CLICK_ENABLE:"auto_dub_click_enable",AUTO_DUB_CAPTIONS_LOADED:"auto_dub_captions_loaded",AUTO_DUB_SPANISH_SUBTITLES_LOADED:"auto_dub_spanish_subtitles_loaded",AUTO_AB_LANDING_BANNER_RENDERED:"auto_ab_landing_banner_rendered",AUTO_AB_LANDING_BANNER_CLOSED:"auto_ab_landing_banner_closed",AUTO_AB_BANNER_TO_TAB_TRANSITION:"auto_ab_banner_to_tab_transition",AUTO_AB_TAB_SELECTED:"auto_ab_tab_selected",AUTO_AB_TOGGLE_IN:"auto_ab_toggle_in",AUTO_AB_TOGGLE_OUT:"auto_ab_toggle_out",AUTO_AB_CREATION_ATTEMPT:"auto_ab_creation_attempt",AUTO_AB_CREATION_SUCCESS:"auto_ab_creation_success",AUTO_AB_CREATION_FAILURE:"auto_ab_creation_failure",OPEN_UNIFIED_REVIEW_DIALOG:"open_unified_review_dialog",POST_PUBLISHED_FROM_UNIFIED_COMPOSER:"post_published_from_unified_composer",UNIFIED_VU_WELCOME_SCREEN_CTA_CLICK:"unified_vu_welcome_screen_cta_click"});f["default"]=a}),66);/*FB_PKG_DELIM*/ __d("CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="3515313408596889"}),null); __d("CometComposerInterceptionPluginUtilsQuery.graphql",["CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"params"},c={defaultValue:null,kind:"LocalArgument",name:"target_id"},d={defaultValue:null,kind:"LocalArgument",name:"target_type"},e=[{alias:null,args:[{kind:"Variable",name:"target_id",variableName:"target_id"},{kind:"Variable",name:"target_type",variableName:"target_type"}],concreteType:"UnifiedInterceptionQuery",kind:"LinkedField",name:"unified_interception",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"request_param",variableName:"params"}],concreteType:"UnifiedInterceptionResponse",kind:"LinkedField",name:"decision",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"flow_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"product_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_perform_interception",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"auxiliary_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"job_type",storageKey:null},{alias:null,args:null,concreteType:"UnifiedInterceptionLocation",kind:"LinkedField",name:"location",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"latitude",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"longitude",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,concreteType:"Wage",kind:"LinkedField",name:"wage",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"max",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null}],type:"UnifiedInterceptionJobAuxiliaryData",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[a,c,d],kind:"Fragment",metadata:null,name:"CometComposerInterceptionPluginUtilsQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[d,c,a],kind:"Operation",name:"CometComposerInterceptionPluginUtilsQuery",selections:e},params:{id:b("CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation"),metadata:{},name:"CometComposerInterceptionPluginUtilsQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("JobsCometCreateMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4504809139573929"}),null); __d("JobsCometCreateMutation.graphql",["JobsCometCreateMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"container_post_id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},g={alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},h=[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],i={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},j=[e,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"JobsCometCreateMutation",selections:[{alias:null,args:c,concreteType:"JobOpeningCreateResponsePayload",kind:"LinkedField",name:"job_opening_create",plural:!1,selections:[{alias:null,args:null,concreteType:"JobOpening",kind:"LinkedField",name:"job_opening",plural:!1,selections:[d,e,f,{args:null,kind:"FragmentSpread",name:"JobsCometComposerViewStateHelpers_jobOpening"}],storageKey:null},{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"story",plural:!1,selections:[g],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"JobsCometCreateMutation",selections:[{alias:null,args:c,concreteType:"JobOpeningCreateResponsePayload",kind:"LinkedField",name:"job_opening_create",plural:!1,selections:[{alias:null,args:null,concreteType:"JobOpening",kind:"LinkedField",name:"job_opening",plural:!1,selections:[d,e,f,{alias:null,args:null,kind:"ScalarField",name:"application_flow",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"application_notification_emails",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"benefits",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"business_or_employer_name",plural:!1,selections:h,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"city_name",storageKey:null},{alias:null,args:null,concreteType:"JobOpeningCustomQuestion",kind:"LinkedField",name:"custom_questions",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"custom_question_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_required",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"question_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"multiple_choice_options",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"JobApplicationFormConfig",kind:"LinkedField",name:"form_config",plural:!1,selections:[{alias:null,args:null,concreteType:"JobApplicationFieldConfig",kind:"LinkedField",name:"resume_field",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"optional",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hours_per_week",storageKey:null},{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"job_location",plural:!1,selections:[e,{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"city",plural:!1,selections:[{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[i],storageKey:null},e],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"job_source",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"job_application_medium",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"job_opening_type",storageKey:null},{alias:null,args:null,concreteType:"VirtualProductAttributeValue",kind:"LinkedField",name:"job_skill_options",plural:!0,selections:j,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"latitude",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"longitude",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"long_description",plural:!1,selections:h,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"max_wage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_wage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"multi_line_address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"native_application_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"offsite_application_url",storageKey:null},{alias:null,args:null,concreteType:"Photo",kind:"LinkedField",name:"job_photo",plural:!1,selections:[e,{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},i,{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"VirtualProductAttributeValue",kind:"LinkedField",name:"preferred_skills",plural:!0,selections:j,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"remote_type",storageKey:null},{alias:null,args:null,concreteType:"VirtualProductAttributeValue",kind:"LinkedField",name:"required_skills",plural:!0,selections:j,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"schedule_types",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_display_as_volunteer_position",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time_commitment",storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:h,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"wage_currency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"wage_type",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"story",plural:!1,selections:[g,e],storageKey:null}],storageKey:null}]},params:{id:b("JobsCometCreateMutation_facebookRelayOperation"),metadata:{},name:"JobsCometCreateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometComposerInterceptionGetMessagesHandler",["JSResourceForInteraction","gkx","useCometLazyDialog"],(function(a,b,c,d,e,f,g){"use strict";var h=c("JSResourceForInteraction")("MessagingCometPagesComposerInterceptionDialog.react").__setRef("CometComposerInterceptionGetMessagesHandler");function a(a,b,d,e,f){var g=c("useCometLazyDialog")(h),i=g[0];return function(g){if(!c("gkx")("1755")||b===!0){g();return}var h=function(){a({type:"MESSAGING_ADD_GET_MESSAGES_BUTTON"}),a({attachmentType:"GET_MESSAGES",type:"ACTIVATE_ATTACHMENT_TYPE"}),window.setTimeout(f,0)};i({interceptionEntryPoint:"profile_plus_feed",onClose:g,onContinue:h,pageID:d,publishPostHandler:g,sessionID:e});return}}function b(a,b,c){a=a.getMessagesHandler;c=(c=c.unified_interception)==null?void 0:c.decision;if(c==null||c.product_type!=="MESSAGEPAGE")return;a(b);return}g.useGetMessagesCometComposerInterceptionHandler=a;g.handleGetMessagesInterceptionResponse=b}),98); __d("JobOpeningType",[],(function(a,b,c,d,e,f){a=Object.freeze({CONTRACT:"CONTRACT",FULL_TIME:"FULL_TIME",INTERNSHIP:"INTERNSHIP",PART_TIME:"PART_TIME",VOLUNTEER:"VOLUNTEER"});f["default"]=a}),66); __d("JobSearchMechanism",[],(function(a,b,c,d,e,f){a=Object.freeze({ACTION_BAR:"action_bar",ADMIN_ACTIONS_HEADER:"admin_actions_header",ATS_JOB_POSTS:"ats_job_posts",ATS_JOB_POSTS_APP_INFO:"ats_job_posts_app_info",AYMT_JOB_ADD_CUSTOM_QUESTION_TIP:"aymt_job_add_custom_question_tip",AYMT_JOB_ADD_SALARY_RANGE_TIP:"aymt_job_add_salary_range_tip",AYMT_JOB_CREATION_FIRST_TIME_UPSELL_TIP:"aymt_job_creation_first_time_upsell_tip",AYMT_JOB_CREATION_UPSELL_TO_BUSINESS_PAGES_TIP:"aymt_job_creation_upsell_to_business_pages_tip",AYMT_JOB_CREATION_UPSELL_TO_PAGES_TIP:"aymt_job_creation_upsell_to_pages_tip",AYMT_JOBS_CONVERT_JOB_POST_TIP:"aymt_jobs_convert_job_post_tip",AYMT_JOBS_REMIND_ME_LATER_NOTIFICATION_TIP:"aymt_jobs_remind_me_later_notification_tip",BLANK:"",BOOKMARK_QP:"bookmark_qp",BOTTOM_SHEET:"bottom_sheet",BROWSER_CTA:"browser_cta",BROWSER_UPSELL:"browser_upsell",COVID_19_QP:"covid_19_qp",CREATOR_FEEDBACK_BOTTOMSHEET_EMAIL:"creator_feedback_bottomsheet_email",CREATOR_FEEDBACK_BOTTOMSHEET_INTERVIEW:"creator_feedback_bottomsheet_interview",CREATOR_FEEDBACK_BOTTOMSHEET_MESSAGE:"creator_feedback_bottomsheet_message",CREATOR_FEEDBACK_BOTTOMSHEET_PHONE:"creator_feedback_bottomsheet_phone",CREATOR_FEEDBACK_BUTTON:"creator_feedback_button",CREATOR_FEEDBACK_UNIT:"creator_feedback_unit",CREATOR_NUX_MODAL:"creator_nux_modal",DUPLICATE_JOB_POST:"duplicate_job_post",EDIT_JOB_POST:"edit_job_post",EXIT_VIEW_AS_BUTTON:"exit_view_as_button",EXPIRATION_MEGAPHONE:"expiration_megaphone",FB_CRAWLER:"fb_crawler",FEED_OPTION:"feed_option",GROUP_COMPOSER_HEADER:"group_composer_header",GROUP_COMPOSER_SPROUT:"group_composer_sprout",GROUP_POST:"group_post",INTERCEPT_AUTO_CONVERT:"intercept_auto_convert",INTERCEPT_DIALOG:"intercept_dialog",JOB_APPLICATION_FORM_SAVE_PROMPT:"job_application_form_save_prompt",JOB_ATS_APPLICATION_MANAGER:"job_ats_application_manager",JOB_ATS_POST_MANAGER:"job_ats_post_manager",JOB_BROWSER_HOISTED_JOB:"job_browser_hoisted_job",JOB_BROWSER_NAVBAR:"job_browser_navbar",JOB_GROUP_FIND_JOBS_UNIT:"job_group_find_jobs_unit",JOB_OPENING_ACTION_BAR:"job_opening_action_bar",JOB_OPENING_ROW:"job_opening_row",JOB_OPENING_SCREENSHOT_SNACKBAR:"job_opening_screenshot_snackbar",JOBS_NEAR_YOU:"jobs_near_you",JOBS_NEAR_YOU_AWARENESS_CARD:"jobs_near_you_awareness_card",JOBS_NEAR_YOU_ENDING_CARD:"jobs_near_you_ending_card",JOBS_NEAR_YOU_TITLE_COLLECTION_CARD:"jobs_near_you_title_collection_card",JOBS_TAB_POST_FOOTER:"jobs_tab_post_footer",JOBS_TAB_V2:"jobs_tab_v2",LWF_ACE_YOUR_INTERVIEW:"lwf_ace_your_interview",LWF_BOOST_YOUR_RESUME:"lwf_boost_your_resume",LWF_BUILDING_COMMUNITY:"lwf_building_community",LWF_CHOOSING_RIGHT_SOCIAL_PLATFORMS:"lwf_choosing_right_social_platforms",LWF_DIGITAL_STORYTELLING:"lwf_digital_storytelling",LWF_IMPROVING_CUSTOMER_SERVICE:"lwf_improving_customer_service",LWF_INTRO_TO_CODING:"lwf_intro_to_coding",LWF_LEARNING_EFFECTIVELY:"lwf_learning_effectively",LWF_MANAGING_ONLINE_CONTENT:"lwf_managing_online_content",LWF_STARTING_MEASUREMENT_AND_ANALYSIS:"lwf_starting_measurement_and_analysis",LWF_TEAMWORK_COLLABORATION:"lwf_teamwork_collaboration",LWF_UNDERSTANDING_THE_PROBLEM:"lwf_understanding_the_problem",LWF_VALUE_OF_SOCIAL_MEDIA_MARKETING:"lwf_value_of_social_media_marketing",MANAGE_JOBS_MODULE:"manage_jobs_module",MARKETPLACE_JOBS_FEED_UNIT:"marketplace_jobs_feed_unit",PAGE_COMPOSER_HEADER:"page_composer_header",PAGE_COMPOSER_SPROUT:"page_composer_sprout",PAGE_INLINE_COMPOSER_MOBILE:"page_inline_composer_mobile",PAGE_MESSENGER_BANNER:"page_messenger_banner",PAGE_POST:"page_post",PAGE_POST_FOOTER:"page_post_footer",POST_A_JOB_ACTION_BUTTON:"post_a_job_action_button",POST_A_JOB_MEGAPHONE:"post_a_job_megaphone",POST_A_JOB_VIDEO_UPSELL:"post_a_job_video_upsell",PROFILE_PLUS_ADMIN_TOOLS:"profile_plus_admin_tools",PROFILE_PLUS_TAB_CREATION_UPSELL:"profile_plus_tab_creation_upsell",REJECTION_NOTIFICATION:"rejection_notification",REPORT_JOB_CTA:"report_job_cta",SAVED_JOBS_UNIT:"saved_jobs_unit",SCRIPT:"script",SUBSCRIBER_NOTIF:"subscriber_notif",TEST:"test",THIRD_PARTY_REQUEST:"third_party_request",VIEW_AS_APPLICANT_BUTTON:"view_as_applicant_button",VIRTUAL_FAIR_CREATOR_QP:"virtual_fair_creator_qp"});f["default"]=a}),66); __d("JobSearchSurface",[],(function(a,b,c,d,e,f){a=Object.freeze({ADD_WAGE_NOTIFICATION:"add_wage_notification",ADS:"ads",ALERT_NOTIFICATION:"alert_notification",ALERT_NOTIFICATION_PROMOTIONAL:"alert_notification_promotional",APP_SHORTCUT:"app_shortcut",APPLICATION_CLOSED_STATE_NOTIF:"application_closed_state_notif",APPLICATION_DETAIL_VIEW:"application_detail_view",APPLICATION_RECEIVED_NOTIFICATION:"application_received_notification",APPLICATION_RECEIVED_STATE_SEEKER_NOTIF:"application_received_state_seeker_notif",APPLICATION_SEEN_STATE_NOTIF:"application_seen_state_notif",APPLICATION_SEEN_STATE_NOTIF_PUSH:"application_seen_state_notif_push",APPLICATION_THREAD:"application_thread",APPROVED_NOTIFICATION:"approved_notification",ATTACHED_POST_FEED_MOBILE:"attached_post_feed_mobile",ATTACHED_POST_GROUP:"attached_post_group",ATTACHED_POST_HOMEPAGE_STREAM:"attached_post_homepage_stream",ATTACHED_POST_NEWSSTAND:"attached_post_newsstand",ATTACHED_POST_OTHER:"attached_post_other",ATTACHED_POST_PERMLINK:"attached_post_permlink",ATTACHED_POST_TIMELINE:"attached_post_timeline",AYMT_CONVERT_JOB_POST_TIP:"aymt_convert_job_post_tip",AYMT_JOBS_VIEW_APPLICATIONS_TIP:"aymt_jobs_view_applications_tip",AYMT_TIP:"aymt_tip",BE_THE_FIRST_TO_APPLY_JOBS_NOTIF:"be_the_first_to_apply_jobs_notif",BIZ_INFO_CENTER_VERTICAL_SUGGESTION:"biz_info_center_vertical_suggestion",BLANK:"",BOOKMARK:"bookmark",BOOKMARK_QP:"bookmark_qp",BOOSTED_UPJ_POST_CREATE_DIALOG:"boosted_upj_post_create_dialog",CAMPUS:"campus",CAREER_HOME:"career_home",CAREER_TRACK:"career_track",CAREER_TRACK_ABOUT_SCREEN:"career_track_about_screen",CAREER_TRACK_FOLLOWED_NOTIF:"career_track_followed_notif",CAREER_TRACK_GROUPS_SCREEN:"career_track_groups_screen",CAREER_TRACK_MENTORSHIP_SCREEN:"career_track_mentorship_screen",CAREER_TRACK_VIDEOS_SCREEN:"career_track_videos_screen",CITY_PAGE:"city_page",COMET_CREATE_ENTRYPOINT:"comet_create_entrypoint",COMMUNITY_HELP_AYMT_TIP:"community_help_aymt_tip",COMMUNITY_HELP_COVID_HUB:"community_help_covid_hub",COMMUNITY_HELP_PAGE_ADMIN_VOLUNTEERING_UPSELL:"community_help_page_admin_volunteering_upsell",COMMUNITY_HELP_PAGE_VOLUNTEERING_UPSELL:"community_help_page_volunteering_upsell",COMMUNITY_HELP_VOLUNTEERING:"community_help_volunteering",COMMUNITY_HELP_VOLUNTEERING_AUTO_CONVERT:"community_help_volunteering_auto_convert",COMMUNITY_HELP_VOLUNTEERING_COMPOSER_SELECTOR:"community_help_volunteering_composer_selector",COMMUNITY_HELP_VOLUNTEERING_CREATE_VOLUNTEER_POSITION_BUTTON:"community_help_volunteering_create_volunteer_position_button",COMMUNITY_HELP_VOLUNTEERING_CUSTOM_INTERCEPT:"community_help_volunteering_custom_intercept",COMMUNITY_HELP_VOLUNTEERING_DETAIL_VIEW:"community_help_volunteering_detail_view",COMMUNITY_HELP_VOLUNTEERING_HSCROLL:"community_help_volunteering_hscroll",COMMUNITY_HELP_VOLUNTEERING_HUB:"community_help_volunteering_hub",COMMUNITY_HELP_VOLUNTEERING_INTERCEPT:"community_help_volunteering_intercept",COMMUNITY_HELP_VOLUNTEERING_NOTIF_LIST_SIGN_UP:"community_help_volunteering_notif_list_sign_up",COMMUNITY_HELP_VOLUNTEERING_PAGE_QP:"community_help_volunteering_page_qp",COMMUNITY_HELP_VOLUNTEERING_PAGES_COMPOSER_ENTRY_BUTTON:"community_help_volunteering_pages_composer_entry_button",COMPLETION_SCREEN:"completion_screen",CONSUMER_MARKETING:"consumer_marketing",CONVERSION_CTA:"conversion_cta",COVISIT_NOTIF:"covisit_notif",CUSTOM_QUESTIONS:"custom_questions",DEEPLINKING:"deeplinking",DETAIL_VIEW:"detail_view",EMAIL_NOTIFICATION:"email_notification",EMAIL_NOTIFICATION_JOB_SEARCH_ALERT_USER:"email_notification_job_search_alert_user",EMAIL_NOTIFICATION_SAVED_SEARCH:"email_notification_saved_search",EVENT:"event",EVENT_REGISTRATION:"event_registration",EVRGREEN_CMPG:"evrgreen_cmpg",EXPIRATION_NOTIFICATION:"expiration_notification",EXPIRATION_REMINDER_MEGAPHONE:"expiration_reminder_megaphone",EXTERNAL_WEBSITE:"external_website",FB_BUSINESS_PAGE:"fb_business_page",FEED_OPTION:"feed_option",GOOGLE_JOB_SEARCH:"google_job_search",GROUP_BROWSER_NEWSFEED_CTA:"group_browser_newsfeed_cta",GROUP_COMPOSER:"group_composer",GROUP_COMPOSER_MOBILE_SPROUT:"group_composer_mobile_sprout",GROUP_COMPOSER_SPROUT:"group_composer_sprout",GROUP_CONVERSION_CTA:"group_conversion_cta",GROUP_CONVERSION_UPSELL:"group_conversion_upsell",GROUP_FEATURES_OPT_OUT_NOTIFICATION:"group_features_opt_out_notification",GROUP_JOBS_TAB_BROWSER_ENTRYPOINT:"group_jobs_tab_browser_entrypoint",GROUP_NOTIFICATION:"group_notification",GROUP_PIVOT:"group_pivot",GROUP_PLINK:"group_plink",GROUP_PURPOSE_AFTER_CONVERSION_AYMT:"group_purpose_after_conversion_aymt",GROUP_PURPOSE_OPT_OUT_AYMT:"group_purpose_opt_out_aymt",GROUP_PURPOSE_OPT_OUT_NOTIFICATION:"group_purpose_opt_out_notification",GROUP_QP:"group_qp",GROUP_SPROUTS_COMPOSER:"group_sprouts_composer",GROUP_YOUR_JOBS_ENTRYPOINT:"group_your_jobs_entrypoint",INACTIVE_NOTIFICATION:"inactive_notification",INACTIVE_POST_MEGAPHONE:"inactive_post_megaphone",INDEPENDENT_WORK_GROUPS_JOB_POST_HSCROLL:"iw_groups_hscroll",INSTAGRAM_AD_CTA:"instagram_ad_cta",INSTAGRAM_QP:"instagram_qp",INTERCEPT_DIALOG:"intercept_dialog",INTERNAL:"internal",INTERVIEW_CANCELLED_NOTIFICATION:"interview_cancelled_notification",INTERVIEW_CONFIRM_SCHEDULE_NOTIFICATION:"interview_confirm_schedule_notification",INTERVIEW_CONFIRM_SCHEDULE_SCREEN:"interview_confirm_schedule_screen",INTERVIEW_CONFIRMATION_SCREEN:"interview_confirmation_screen",INTERVIEW_REMINDER_NOTIFICATION:"interview_reminder_notification",INTERVIEW_REQUEST_RECEIVED_NOTIFICATION:"interview_request_received_notification",INTERVIEW_REVIEW_SCHEDULE_NOTIFICATION:"interview_review_schedule_notification",INTERVIEW_SCHEDULE_SCREEN:"interview_schedule_screen",INTERVIEW_STARTING_NOTIFICATION:"interview_starting_notification",INVITE_FRIENDS:"invite_friends",JOB_ADMIN_DETAILS_BOOST_BUTTON:"job_admin_details_boost_button",JOB_ATS:"job_ats",JOB_ATS_INBOX:"job_ats_inbox",JOB_ATS_PAGE_SELECTOR:"job_ats_page_selector",JOB_BROWSER:"job_browser",JOB_BROWSER_ALL_CATEGORIES:"job_browser_all_categories",JOB_BROWSER_ALL_FILTERS:"job_browser_all_filters",JOB_BROWSER_BLENDING_DISTILLATION_CALL:"job_browser_blending_distillation_call",JOB_BROWSER_DISTILLATION_CALL:"job_browser_distillation_call",JOB_BROWSER_EXPANSIVE_FILTERS:"job_browser_expansive_filters",JOB_BROWSER_HOISTED_JOB:"job_browser_hoisted_job",JOB_BROWSER_HOISTED_JOB_BOTTOMSHEET:"job_browser_hoisted_job_bottomsheet",JOB_BROWSER_HOISTED_JOB_INLINE_SETTINGS:"job_browser_hoisted_job_inline_settings",JOB_BROWSER_HOISTED_JOB_LIST:"job_browser_hoisted_job_list",JOB_BROWSER_NOTIF_JOBS_TRAY:"job_browser_notif_jobs_tray",JOB_BROWSER_ONBOARDING_COMPLETION:"job_browser_onboarding_completion",JOB_BROWSER_PREFERENCE_HUB:"job_browser_preference_hub",JOB_BROWSER_SEARCH_QUERY:"job_browser_search_query",JOB_BROWSER_SETTINGS_VIEW:"job_browser_settings_view",JOB_BROWSER_SHADOW:"job_browser_shadow",JOB_BROWSER_TOP_CATEGORIES:"job_browser_top_categories",JOB_BROWSER_WITH_CATEGORY_FILTERS:"job_browser_with_category_filters",JOB_CAROUSEL:"job_carousel",JOB_CREATOR_PROFILE:"job_creator_profile",JOB_GROUP_BROWSER:"job_group_browser",JOB_INTERVIEWS_ATS:"job_interviews_ats",JOB_OPENING_COMPOSER:"job_opening_composer",JOB_OPENING_COMPOSER_MOBILE:"job_opening_composer_mobile",JOB_QUICK_FILTER_MODULE:"job_quick_filter_module",JOB_SIMILAR_TO_APPLIED_NOTIF:"job_similar_to_applied_notif",JOB_TITLE_PREFERENCES_FORM:"job_title_preferences_form",JOB_TITLE_PREFERENCES_INTERSTITIAL:"job_title_preferences_interstitial",JOB_UPSELL_REMIND_ME_LATER_NOTIF:"job_upsell_remind_me_later_notif",JOB_VIEW_INSIGHTS_NOTIF:"job_view_insights_notif",JOB_VIEW_UNREAD_APPLICATIONS_NOTIF:"job_view_unread_applications_notif",JOBS_APP_IN_SEARCH_RESULT:"jobs_app_in_search_result",JOBS_APPLICATION_FORM:"jobs_application_form",JOBS_APPLICATION_FORM_CHOICE_SELECTION_SHEET:"jobs_application_form_choice_selection_sheet",JOBS_COMPOSER_BAR:"jobs_composer_bar",JOBS_COMPOSER_COMPLETION_SHARESHEET:"jobs_composer_completion_sharesheet",JOBS_JNY_THIRD_STAGE:"jobs_jny_third_stage",JOBS_LISTINGS_FROM_JNY_VIEW:"jobs_listings_from_jny_view",JOBS_LISTINGS_FROM_NOTIFS_VIEW:"jobs_listings_from_notifs_view",JOBS_MODULE_IN_DETAIL_VIEW:"jobs_module_in_detail_view",JOBS_MODULE_IN_SEARCH_RESULT:"jobs_module_in_search_result",JOBS_PAGE_MANAGER:"jobs_page_manager",JOBS_PRIVACY_AYI:"jobs_privacy_ayi",JOBS_PRIVACY_DYI:"jobs_privacy_dyi",JOBS_PROFILE:"jobs_profile",JOBS_PROFILE_NUX:"jobs_profile_nux",JOBS_REQUEST_ACCESS_APPROVED_NOTIF:"jobs_request_access_approved_notif",JOBS_SHORTCUT_IN_SEARCH_RESULT:"jobs_shortcut_in_search_result",KEYWORD_EXPANSION_RETRIEVAL:"keyword_expansion_retrieval",LEARN_WITH_FACEBOOK:"learn_with_facebook",LOCAL_SURFACE:"local_surface",MANAGE_JOBS_TAB:"manage_jobs_tab",MARKETPLACE:"marketplace",MARKETPLACE_ADMIN_COMPOSING_NOTIFICATION:"marketplace_admin_composing_notification",MARKETPLACE_JOBS_AWARENESS_NOTIFICATION:"marketplace_jobs_awareness_notification",MARKETPLACE_SEARCH_REDIRECT:"marketplace_search_redirect",MESSAGE_BUBBLE:"message_bubble",MESSENGER:"messenger",MESSENGER_BOT:"messenger_bot",MISCELLANEOUS:"miscellaneous",MULTI_GROUP_BROWSER:"multi_group_browser",NETEGO:"netego",NETWORK_TAB:"network_tab",ONBOARDING_EMAIL_NOTIFICATION:"onboarding_email_notification",OTHER:"other",PAGE_ADMIN_COMPLETE_DRAFT_JOB_POST_REMINDER_NOTIF:"page_admin_complete_draft_job_post_reminder_notif",PAGE_ADMIN_CRAWLED_JOBS_ON_WEBSITE_NOTIF:"page_admin_crawled_jobs_on_website_notif",PAGE_ADMIN_JOBS_ACQUISITION_AYMT_NOTIF:"page_admin_jobs_acquisition_aymt_notif",PAGE_ADMIN_JOBS_ACQUISITION_NOTIF:"page_admin_jobs_acquisition_notif",PAGE_ADMIN_JOBS_PREVIEW_DIALOG:"page_admin_jobs_preview_dialog",PAGE_ADMIN_POST_JOB_AYMT_TYSD:"page_admin_post_job_aymt_tysd",PAGE_ADMIN_SET_JOB_APPLICATION_STATUS_NOTIF:"page_admin_set_job_application_status_notif",PAGE_ADMIN_SYNC_SCRAPE_JOBS_AYMT:"page_admin_sync_scrape_jobs_aymt",PAGE_BOOSTED_PRODUCT_PICKER:"page_boosted_product_picker",PAGE_CARD:"page_card",PAGE_COMPOSER:"page_composer",PAGE_COMPOSER_MOBILE_SPROUT:"page_composer_mobile_sprout",PAGE_CONVERSION_UPSELL:"page_conversion_upsell",PAGE_COVISIT_NOTIF:"page_covisit_notif",PAGE_FOLLOWER_ALERT_NOTIFICATION:"page_follower_alert_notification",PAGE_FREE_BUSINESS_TOOLS_CARD:"page_free_business_tools_card",PAGE_INSIGHTS:"page_insights",PAGE_MORE_MENU:"page_more_menu",PAGE_POST_FOOTER:"page_post_footer",PAGE_TAB:"page_tab",PAGE_TAB_CREATE_BUTTON:"page_tab_create_button",PAGE_TAB_UPSELL_BUTTON:"page_tab_upsell_button",PAGES_EXTRA_COMPOSER_TAB:"pages_extra_composer_tab",PAGES_OBJECTIVE_COMPOSER:"pages_objective_composer",PAGES_PUBLISHING_TOOLS:"pages_publishing_tools",PAGES_SETTINGS_JOBS_TAB_REDIRECT:"pages_settings_jobs_tab_redirect",PAGES_SPROUTS_COMPOSER:"pages_sprouts_composer",PMA:"pma",POST:"post",POST_FEED_MOBILE:"post_feed_mobile",POST_GROUP:"post_group",POST_HOMEPAGE_STREAM:"post_homepage_stream",POST_JOBS_TAB:"post_jobs_tab",POST_NEWSSTAND:"post_newsstand",POST_OTHER:"post_other",POST_PERMLINK:"post_permlink",POST_TIMELINE:"post_timeline",PROFILE_PLUS_ADMIN_TOOLS:"profile_plus_admin_tools",PROFILE_PLUS_COMPOSER:"profile_plus_composer",PROFILE_PLUS_COMPOSER_SPROUT:"profile_plus_composer_sprout",PROFILE_PLUS_PROFESSIONAL_HOME:"profile_plus_professional_home",PROFILE_PLUS_TAB:"profile_plus_tab",PROMOTIONAL_COMPLETE_RESUME_NOTIF:"promotional_complete_resume_notif",PROMOTIONAL_HIGH_WAGE_JOBS_NOTIF:"promotional_high_wage_jobs_notif",PROMOTIONAL_JOB_GROUP_REENGAGEMENT_NOTIF:"promotional_job_group_reengagement_notif",PROMOTIONAL_KEYWORD_SEARCH_NOTIF:"promotional_keyword_search_notif",PROMOTIONAL_PROVIDE_LOCATION_NOTIF:"promotional_provide_location_notif",PROMOTIONAL_PROVIDE_TITLE_PREFERENCE_NOTIF:"promotional_provide_title_preference_notif",PROMOTIONAL_REALTIME_NOTIF:"promotional_realtime_notif",PROMOTIONAL_SAME_CATEGORY_NOTIF:"promotional_same_category_notif",PROMOTIONAL_SEEKER_REENGAGEMENT_NOTIF:"promotional_seeker_reengagement_notif",PROMOTIONAL_STALE_REENGAGEMENT_NOTIF:"promotional_stale_reengagement_notif",QP_FEED:"qp_feed",QR_CODE:"qr_code",QUICK_PROMOTION:"quick_promotion",REJECTION_NOTIFICATION:"rejection_notification",REMIND_ME_LATER_NOTIFICATION:"remind_me_later_notification",REMOTE_JOBS:"remote_jobs",RENEW_POST:"renew_post",RESUME:"resume",RESUME_BUILDER:"resume_builder",RESUME_BUILDER_COMPLETION_SCREEN:"resume_builder_completion_screen",RESUME_BUILDER_CONVERSION_PREVIEW_SCREEN:"resume_builder_conversion_preview_screen",RESUME_HOME_SCREEN:"resume_home_screen",RESUME_REVIEW_SCREEN:"resume_review_screen",SALARY_INSIGHTS:"salary_insights",SAVED_APPLICATION_NOTIFICATION:"saved_application_notification",SAVED_JOB_NOTIFICATION:"saved_job_notification",SAVED_JOBS_TAB:"saved_jobs_tab",SAVED_SEARCH_NOTIF:"saved_search_notif",SEARCH_NUX:"search_nux",SEARCH_SHORTCUT_CREATE_JOB:"search_shortcut_create_job",SECONDARY_CTA:"secondary_cta",SEEKER_APPLICATION_TIMELINE:"seeker_application_timeline",SEEKER_JOURNEY_TRACKER:"seeker_journey_tracker",SHARE:"share",SIMILAR_JOB:"similar_job",SIMILAR_JOB_ENGINE:"similar_job_engine",SIMILAR_JOB_NOTIF:"similar_job_notif",SINGLE_GROUP_BROWSER:"single_group_browser",STATIC_SEO_PAGE:"static_seo_page",SUBSCRIPTIONS_TAB:"subscriptions_tab",SUGGESTED_JOB_UNIT:"suggested_job_unit",TAB_REMINDER_NOTIFICATION:"tab_reminder_notification",TARGETED_TAB:"targeted_tab",TEST:"test",TIP_UNIT_FILTER:"tip_unit_filter",TITLE_PREF_CREATE_RESUME_NUX:"title_pref_create_resume_nux",TITLE_PREF_NUX:"title_pref_nux",TITLE_PREF_SEARCH_NUX:"title_pref_search_nux",TITLE_PREF_SUGGESTION_CARD_NUX:"title_pref_suggestion_card_nux",TITLE_PREF_UPLOAD_RESUME_NUX:"title_pref_upload_resume_nux",USER_CONVERSION_CTA:"user_conversion_cta",USER_TIMELINE_COMPOSER:"user_timeline_composer",VALVE_BROWSER:"valve_browser",VALVE_JNY:"valve_jny",VALVE_JNY_REFRESH:"valve_jny_refresh",VALVE_NOTIFS:"valve_notifs",VALVE_TEST_1:"valve_test_1",VALVE_TEST_2:"valve_test_2",VERIFICATION_HUB:"verification_hub",VIEW_APPLICATIONS_QP:"view_applications_qp",WEB_URL:"web_url",WHATSAPP:"whatsapp",YOU_TAB:"you_tab",YOUR_JOBS:"your_jobs"});f["default"]=a}),66); __d("JobsComposerSharedTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";c=[0,1,2];d=Object.freeze({NONE:0,MESSENGER:1,EMAIL:2,OFFSITE_URL:16});e=Object.freeze({ALLOW:"ALLOW",DENY:"DENY",DENY_AS_EXCEEDED_MAX_ACTIVE_LISTINGS:"DENY_AS_EXCEEDED_MAX_ACTIVE_LISTINGS",DENY_AS_HIGH_PROFILE_BUSINESS:"DENY_AS_HIGH_PROFILE_BUSINESS",DENY_AS_JOB_POSTED_IN_LAST_DAY:"DENY_AS_JOB_POSTED_IN_LAST_DAY"});b=b("$InternalEnum").Mirrored(["OFFSITE_URL","ONSITE_MESSAGE","ONSITE_STANDARD"]);function a(a,b,c,d,e){return{customQuestionId:null,errors:{hasDuplicateAnswerError:!1,hasMinimumAnswersError:!1},isRequired:a,label:b||"",multipleChoiceOptions:Array(c),questionType:d||"FREE_TEXT",suggestedCustomQuestionType:e}}f.validComposerSteps=c;f.JobApplicationMedium=d;f.JobsShareToBrowserRowContext=e;f.JobsComposerCreatorControlsObjective=b;f.makeCustomQuestion=a}),66); __d("JobsCometComposerConstants",["fbt","JobsComposerSharedTypes"],(function(a,b,c,d,e,f,g,h){"use strict";a=[{label:h._(/*FBT_CALL*/"Messenger"/*FBT_CALL*/),value:d("JobsComposerSharedTypes").JobApplicationMedium.MESSENGER},{label:h._(/*FBT_CALL*/"Email"/*FBT_CALL*/),value:d("JobsComposerSharedTypes").JobApplicationMedium.EMAIL},{label:h._(/*FBT_CALL*/"Website link"/*FBT_CALL*/),value:d("JobsComposerSharedTypes").JobApplicationMedium.OFFSITE_URL}];b=h._(/*FBT_CALL*/"Must have at least two answer options."/*FBT_CALL*/);c=200;e=h._(/*FBT_CALL*/"Cannot have duplicate answers."/*FBT_CALL*/);f=h._(/*FBT_CALL*/"Cannot have duplicate questions."/*FBT_CALL*/);var i=[{label:h._(/*FBT_CALL*/"Multiple Choice"/*FBT_CALL*/),value:"MULTIPLE_CHOICE"},{label:h._(/*FBT_CALL*/"Yes\/No"/*FBT_CALL*/),value:"YES_NO"},{label:h._(/*FBT_CALL*/"Free Text"/*FBT_CALL*/),value:"FREE_TEXT"}],j="FULL_TIME",k={cityName:null,latitude:0,locationID:null,longitude:0,multiLineAddress:null,photo:null,singleLineAddress:null,subtitle:null,title:""},l="USD",m="HOURLY",n=5e3,o=140,p=140,q=[{label:h._(/*FBT_CALL*/"Full-time"/*FBT_CALL*/),value:"FULL_TIME"},{label:h._(/*FBT_CALL*/"Part-time"/*FBT_CALL*/),value:"PART_TIME"},{label:h._(/*FBT_CALL*/"Internship"/*FBT_CALL*/),value:"INTERNSHIP"},{label:h._(/*FBT_CALL*/"Volunteer"/*FBT_CALL*/),value:"VOLUNTEER"},{label:h._(/*FBT_CALL*/"Contract"/*FBT_CALL*/),value:"CONTRACT"}],r=[{label:h._(/*FBT_CALL*/"No"/*FBT_CALL*/),value:"NOT_REMOTE"},{label:h._(/*FBT_CALL*/"Temporarily due to COVID-19"/*FBT_CALL*/),value:"TEMPORARILY_REMOTE"},{label:h._(/*FBT_CALL*/"Yes"/*FBT_CALL*/),value:"FULLY_REMOTE"}],s="NOT_REMOTE",t="https://www.facebook.com/policies/pages_groups_events/jobs_on_pages/discrimination",u=[{label:h._(/*FBT_CALL*/"per hour"/*FBT_CALL*/),value:"HOURLY"},{label:h._(/*FBT_CALL*/"per day"/*FBT_CALL*/),value:"DAILY"},{label:h._(/*FBT_CALL*/"per week"/*FBT_CALL*/),value:"WEEKLY"},{label:h._(/*FBT_CALL*/"per month"/*FBT_CALL*/),value:"MONTHLY"},{label:h._(/*FBT_CALL*/"per year"/*FBT_CALL*/),value:"ANNUALLY"}],v=[{label:h._(/*FBT_CALL*/"Medical insurance"/*FBT_CALL*/),value:"MEDICAL_INSURANCE"},{label:h._(/*FBT_CALL*/"Paid time off"/*FBT_CALL*/),value:"PAID_TIME_OFF"},{label:h._(/*FBT_CALL*/"Dental insurance"/*FBT_CALL*/),value:"DENTAL_INSURANCE"},{label:h._(/*FBT_CALL*/"401(k)"/*FBT_CALL*/),value:"RETIREMENT_ACCOUNT"},{label:h._(/*FBT_CALL*/"Vision insurance"/*FBT_CALL*/),value:"VISION_INSURANCE"},{label:h._(/*FBT_CALL*/"On the job training"/*FBT_CALL*/),value:"ON_THE_JOB_TRAINING"},{label:h._(/*FBT_CALL*/"Paid family and medical leave"/*FBT_CALL*/),value:"PAID_FAMILY_AND_MEDICAL_LEAVE"},{label:h._(/*FBT_CALL*/"Employee housing"/*FBT_CALL*/),value:"EMPLOYEE_HOUSING"},{label:h._(/*FBT_CALL*/"Employee meals"/*FBT_CALL*/),value:"EMPLOYEE_MEALS"},{label:h._(/*FBT_CALL*/"Employee discounts"/*FBT_CALL*/),value:"EMPLOYEE_DISCOUNTS"},{label:h._(/*FBT_CALL*/"Dependent care assistance"/*FBT_CALL*/),value:"DEPENDENT_CARE_ASSISTANCE"},{label:h._(/*FBT_CALL*/"Commuter benefits"/*FBT_CALL*/),value:"COMMUTER_BENEFITS"},{label:h._(/*FBT_CALL*/"Flexible spending account"/*FBT_CALL*/),value:"FLEXIBLE_SPENDING_ACCOUNT"},{label:h._(/*FBT_CALL*/"Health savings account"/*FBT_CALL*/),value:"HEALTH_SAVINGS_ACCOUNT"},{label:h._(/*FBT_CALL*/"Life insurance"/*FBT_CALL*/),value:"LIFE_INSURANCE"}],w=[{label:h._(/*FBT_CALL*/"Standard business schedule"/*FBT_CALL*/),value:"STANDARD_BUSINESS_SCHEDULE"},{label:h._(/*FBT_CALL*/"Day shift"/*FBT_CALL*/),value:"DAY_SHIFT"},{label:h._(/*FBT_CALL*/"Swing shift"/*FBT_CALL*/),value:"SWING_SHIFT"},{label:h._(/*FBT_CALL*/"Night shift"/*FBT_CALL*/),value:"NIGHT_SHIFT"},{label:h._(/*FBT_CALL*/"Fixed weekly schedule"/*FBT_CALL*/),value:"FIXED_WEEKLY_SCHEDULE"},{label:h._(/*FBT_CALL*/"Flexible schedule"/*FBT_CALL*/),value:"FLEXIBLE_SCHEDULE"},{label:h._(/*FBT_CALL*/"Rotating schedule"/*FBT_CALL*/),value:"ROTATING_SCHEDULE"},{label:h._(/*FBT_CALL*/"Weekend schedule"/*FBT_CALL*/),value:"WEEKEND_SCHEDULE"}];h=[{composerLabel:h._(/*FBT_CALL*/"Less than 10"/*FBT_CALL*/),detailViewLabel:h._(/*FBT_CALL*/"Less than 10 hours per week"/*FBT_CALL*/),value:"LESS_THAN_TEN"},{composerLabel:h._(/*FBT_CALL*/"10-19"/*FBT_CALL*/),detailViewLabel:h._(/*FBT_CALL*/"10-19 hours per week"/*FBT_CALL*/),value:"TEN_TO_NINETEEN"},{composerLabel:h._(/*FBT_CALL*/"20-29"/*FBT_CALL*/),detailViewLabel:h._(/*FBT_CALL*/"20-29 hours per week"/*FBT_CALL*/),value:"TWENTY_TO_TWENTY_NINE"},{composerLabel:h._(/*FBT_CALL*/"30-40"/*FBT_CALL*/),detailViewLabel:h._(/*FBT_CALL*/"30-40 hours per week"/*FBT_CALL*/),value:"THIRTY_TO_FORTY"},{composerLabel:h._(/*FBT_CALL*/"More than 40"/*FBT_CALL*/),detailViewLabel:h._(/*FBT_CALL*/"More than 40 hours per week"/*FBT_CALL*/),value:"MORE_THAN_FORTY"},{composerLabel:h._(/*FBT_CALL*/"Clear Selection"/*FBT_CALL*/),detailViewLabel:null,value:""}];g.CONTACT_PREFERENCE_OPTIONS=a;g.CUSTOM_QUESTION_FEWER_THAN_TWO_MULTIPLE_CHOICE_OPTIONS=b;g.CUSTOM_QUESTION_MAX_LENGTH=c;g.CUSTOM_QUESTION_NO_DUPLICATE_ANSWERS=e;g.CUSTOM_QUESTION_NO_DUPLICATE_QUESTIONS=f;g.CUSTOM_QUESTION_TYPE_OPTIONS=i;g.DEFAULT_CONTACT_PREFERENCE=d("JobsComposerSharedTypes").JobApplicationMedium.MESSENGER;g.DEFAULT_JOB_TYPE=j;g.DEFAULT_LOCATION=k;g.DEFAULT_SALARY_CURRENCY=l;g.DEFAULT_SALARY_TYPE=m;g.DESCRIPTION_MAX_LENGTH=n;g.EMAIL_MAX_LENGTH=o;g.JOB_TITLE_MAX_LENGTH=p;g.JOB_TYPE_OPTIONS=q;g.REMOTE_TYPE_OPTIONS=r;g.DEFAULT_REMOTE_TYPE=s;g.JOBS_DISCRIMINATION_POLICY_LINK=t;g.SALARY_TYPE_OPTIONS=u;g.JOB_BENEFIT_OPTIONS=v;g.JOB_SCHEDULE_TYPE_OPTIONS=w;g.JOB_SCHEDULE_HOURS_OPTIONS=h}),98); __d("JobsCometInterceptionLogger",["JobsActionsTypedLoggerLite","WebSession"],(function(a,b,c,d,e,f,g){"use strict";function h(a){return{extra_data:a==null?void 0:a.extraData,intercept_post_text:a==null?void 0:a.interceptPostText,referer_mechanism:a==null?void 0:a.refererMechanism}}a=function(){function a(a,b,c){this.$1=a;this.$2=b;this.$3=(a=c)!=null?a:d("WebSession").getId()}var b=a.prototype;b.log=function(a,b){c("JobsActionsTypedLoggerLite").log(babelHelpers["extends"]({name:a,override_employer_id:this.$1,referer_surface:this.$2,waterfall_session_id:this.$3},h(b)))};b.logAutoconversionAttempt=function(){this.log("job_opening_composer_intercept_autoconversion_attempt")};b.logAutoconversionSuccess=function(){this.log("job_opening_composer_intercept_autoconversion_success")};b.logAutoconversionFailure=function(a){this.log("job_opening_composer_intercept_autoconversion_failure",{extraData:{reason:a}})};b.logAutoconversionDialogImpression=function(){this.log("job_opening_composer_intercept_autoconversion_dialog_impression")};b.logInterceptDialogImpression=function(a,b){this.log("job_opening_composer_intercept_impression",{interceptPostText:a,refererMechanism:b})};b.logJobOpeningComposerInterceptUsed=function(a,b){this.log("job_opening_composer_intercept_use_custom_flow",{interceptPostText:a,refererMechanism:b})};b.logJobOpeningComposerInterceptNotUsed=function(a,b){this.log("job_opening_composer_intercept_post_original",{interceptPostText:a,refererMechanism:b})};return a}();g["default"]=a}),98); __d("JobsComposerVoiceData",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["PAGE","PROFILE_PLUS","USER","USER_FOR_PAGE"]);f.JobsComposerVoice=a}),66); __d("UnifiedInterceptionInterceptAcceptFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744453");c=b("FalcoLoggerInternal").create("unified_interception_intercept_accept",a);e.exports=c}),null); __d("UnifiedInterceptionInterceptCreateFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744454");c=b("FalcoLoggerInternal").create("unified_interception_intercept_create",a);e.exports=c}),null); __d("UnifiedInterceptionInterceptRejectFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744455");c=b("FalcoLoggerInternal").create("unified_interception_intercept_reject",a);e.exports=c}),null); __d("CometComposerInterceptionJobHandler",["JSResourceForInteraction","JobOpeningType","JobSearchMechanism","JobSearchSurface","JobsCometComposerConstants","JobsCometInterceptionLogger","JobsComposerVoiceData","UnifiedInterceptionInterceptAcceptFalcoEvent","UnifiedInterceptionInterceptCreateFalcoEvent","UnifiedInterceptionInterceptRejectFalcoEvent","XCometJobsComposerControllerRouteBuilder","firstKeyWithValue","getJSEnumSafe","gkx","requireDeferred","useCometLazyDialog"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("JobsCometCreateMutation").__setRef("CometComposerInterceptionJobHandler"),i=c("JSResourceForInteraction")("JobsCometAutoConvertInfoDialog.react").__setRef("CometComposerInterceptionJobHandler"),j=c("JSResourceForInteraction")("JobsCometAutoConvertEducationDialog.react").__setRef("CometComposerInterceptionJobHandler"),k=c("JSResourceForInteraction")("JobsCometStructuredJobInfoMatrixDialog.react").__setRef("CometComposerInterceptionJobHandler");function l(a,b,d,e,f,g,h,i,j){if(b.title.length>0){d.logAutoconversionDialogImpression();var k=function(){window.location.reload()};if(c("gkx")("1918419")){var l=function(){f({isProfilePlus:!0,onClose:function(){k()},pageID:g},function(){k()})};m({autoConvertSuccessHandler:l,environment:a,extractedJobData:b,logger:d,pageID:g,postText:h,publishPostHandler:i,sessionID:j})}else e({onProceed:function(){c("UnifiedInterceptionInterceptAcceptFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"profile_plus_feed",interception_flow:"auto_convert",interception_placement:"composer_post_button",interception_product:"job",interception_target_type:"profile_plus",target_id:g,waterfall_session_id:j}}),m({autoConvertSuccessHandler:k,environment:a,extractedJobData:b,logger:d,pageID:g,postText:h,publishPostHandler:i,sessionID:j})}},function(a){a=a.didAgree;a||(c("UnifiedInterceptionInterceptRejectFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"profile_plus_feed",interception_flow:"auto_convert",interception_placement:"composer_post_button",interception_product:"job",interception_target_type:"profile_plus",target_id:g,waterfall_session_id:j}}),i())})}else i()}function m(a){var b=a.autoConvertSuccessHandler,e=a.environment,f=a.extractedJobData,g=a.logger,i=a.pageID,j=a.postText,k=a.publishPostHandler,l=a.sessionID;a=f.description;var m=f.job_type,p=f.location,q=f.title;f=f.wage;a=a!=null&&a.length>0?a:j;var r={description:a,jobOpeningCreateSurface:"PAGE",jobTitle:{title:q},jobType:(j=m)!=null?j:d("JobsCometComposerConstants").DEFAULT_JOB_TYPE,location:{cityName:null,latitude:p==null?void 0:p.latitude,locationID:p==null?void 0:p.id,longitude:p==null?void 0:p.longitude,multiLineAddress:null,photo:null,singleLineAddress:p==null?void 0:p.address,subtitle:null,title:(a=p==null?void 0:p.address)!=null?a:""},refererMechanism:c("firstKeyWithValue")(c("JobSearchMechanism"),"intercept_auto_convert"),salary:{amount:f==null?void 0:f.min,amountMax:f==null?void 0:f.max,currency:d("JobsCometComposerConstants").DEFAULT_SALARY_CURRENCY,type:(q=f==null?void 0:f.type)!=null?q:d("JobsCometComposerConstants").DEFAULT_SALARY_TYPE},source:c("firstKeyWithValue")(c("JobSearchSurface"),"profile_plus_composer"),voice:{emails:[],exceededLimits:{exceededDailyJobPostLimit:!1,exceededTotalActiveJobLimit:!1,exceededTotalActiveJobLimitError:{error:!1}},extraData:null,id:null,name:"",type:d("JobsComposerVoiceData").JobsComposerVoice.PROFILE_PLUS},waterfallSessionID:l};g.logAutoconversionAttempt();h.onReady(function(a){a.commit(e,r,null,null,i,null,null,{isAutoConvert:!0,onFailure:function(a){n(a,g,k)},onSuccess:function(a){o(b,g,i,k,a,l)}})})}function n(a,b,c){b.logAutoconversionFailure("job_create_failure_comet"),c()}function o(a,b,d,e,f,g){var h,i=(h=f.job_opening_create)==null?void 0:(h=h.job_opening)==null?void 0:h.id;if(i==null){e();return}var j=(h=f.job_opening_create)==null?void 0:(e=h.job_opening)==null?void 0:e.container_post_id;b.logAutoconversionSuccess();c("UnifiedInterceptionInterceptCreateFalcoEvent").log(function(){return{event_data:{partner_entity_id:i,post_id:j},event_location:"unknown",interception_entry_point:"profile_plus_feed",interception_flow:"auto_convert",interception_placement:"composer_post_button",interception_product:"job",interception_target_type:"profile_plus",target_id:d,waterfall_session_id:g}});a()}function p(a,b,d,e,f,g,h,i){if(a==null){h();return}var j=function(){c("UnifiedInterceptionInterceptAcceptFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"profile_plus_feed",interception_flow:"dialog",interception_placement:"composer_post_button",interception_product:"job",interception_target_type:"profile_plus",target_id:f,waterfall_session_id:i}}),q(a,b,d,f,g,i)},k=function(){c("UnifiedInterceptionInterceptRejectFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"profile_plus_feed",interception_flow:"dialog",interception_placement:"composer_post_button",interception_product:"job",interception_target_type:"profile_plus",target_id:f,waterfall_session_id:i}}),d.logJobOpeningComposerInterceptNotUsed(g,"intercept_dialog"),h()};d.logInterceptDialogImpression(g,"intercept_dialog");e({onProceed:j},k)}function q(a,b,d,e,f,g){var h=b.description,i=b.job_type,j=b.location,k=b.title;b=b.wage;j={job_description:(h=h)!=null?h:"",job_location_address:(h=j==null?void 0:j.address)!=null?h:void 0,job_location_latitude:(h=j==null?void 0:j.latitude)!=null?h:void 0,job_location_longitude:(h=j==null?void 0:j.longitude)!=null?h:void 0,job_opening_create_surface:"PAGE",job_title:k,job_type:(j=c("getJSEnumSafe")(c("JobOpeningType"),i))!=null?j:void 0,job_wage_max:(h=b==null?void 0:b.max)!=null?h:void 0,job_wage_min:(k=b==null?void 0:b.min)!=null?k:void 0,job_wage_type:(i=b==null?void 0:b.type)!=null?i:void 0,page_id:e,referer_mechanism:"intercept_dialog",source:"profile_plus_composer",waterfall_session_id:g};h=c("XCometJobsComposerControllerRouteBuilder").buildURL(j);d.logJobOpeningComposerInterceptUsed(f,"intercept_dialog");a.go(h,{})}function a(a,b,c,d,e){b=b.jobHandler;d=(d=d.unified_interception)==null?void 0:d.decision;if(d==null||d.product_type!=="JOB")return;var f=d==null?void 0:d.auxiliary_data;if((f==null?void 0:f.__typename)!=="UnifiedInterceptionJobAuxiliaryData")return;var g=f.description,h=f.job_type,i=f.location,j=f.title;f=f.wage;b(a,c,{description:g,job_type:h,location:i,title:(b=j)!=null?b:"",wage:f},(a=d.product_type)!=null?a:"UNKNOWN",(c=d.flow_type)!=null?c:"UNKNOWN",e);return}function b(a,b,d){var e=c("useCometLazyDialog")(i),f=e[0];e=c("useCometLazyDialog")(j);var g=e[0];e=c("useCometLazyDialog")(k);var h=e[0];return function(e,i,j,k,m,n){if(!c("gkx")("720")){n();return}k=new(c("JobsCometInterceptionLogger"))(a,"profile_plus_composer",b);switch(m){case"AUTO_CONVERT":l(e,j,k,f,g,a,i,n,b);break;default:p(d,j,k,h,a,i,n,b);break}}}g.handleJobInterceptionResponse=a;g.useJobsAutoConvertCometComposerInterceptionHandler=b}),98); __d("UnifiedInterceptionPlacementTypeEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["BIZ_COMPOSER","COMPOSER","COMPOSER_AFTER_PARTY","COMPOSER_POST_BUTTON","COMPOSER_SCHEDULE_POST","COMPOSER_SCHEDULE_STORY","CREATOR_COMPOSER_SCHEDULE_POST","MAIN_CALENDAR","POST_CTA"]);c=a;f["default"]=c}),66); __d("CometComposerInterceptionPluginUtils",["CometComposerInterceptionGetMessagesHandler","CometComposerInterceptionJobHandler","CometComposerInterceptionPluginUtilsQuery.graphql","CometRelay","FBLogger","isStringNullOrEmpty","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i={unified_interception:{decision:{auxiliary_data:null,flow_type:"UNKNOWN",product_type:"UNKNOWN",should_perform_interception:!1}}},j={},k="comet_composer_unified_interception_platform",l=h!==void 0?h:h=b("CometComposerInterceptionPluginUtilsQuery.graphql");function a(a,b,d,e,f,g,h){var i=m(d),j=function(c){return n(a,b,c,i,g,h)};d=o(i,f,e,j);if(d==null){g();return}q(b,d,function(a){c("FBLogger")(k).info(a.message),t(j)},function(a){s(a,f.sessionID,!1,j)})}function m(a){var b="";if(a!=null)switch(a.__type){case"editor-state-based":b=a.draftEditorState.getCurrentContent().getPlainText();break;case"plain-text":b=a.text;break}return b}function n(a,b,c,e,f,g){var h;h=(h=c.unified_interception)==null?void 0:h.decision;if(!Boolean(h==null?void 0:h.should_perform_interception)){f();return}a({type:"set_ignore_dirty_flag",value:!0});if((h==null?void 0:h.product_type)==null){f();return}switch(h.product_type){case"JOB":d("CometComposerInterceptionJobHandler").handleJobInterceptionResponse(b,g,e,c,f);break;case"MESSAGEPAGE":d("CometComposerInterceptionGetMessagesHandler").handleGetMessagesInterceptionResponse(g,f,c);break;default:f();break}}function o(a,b,c,d){var e=b.loggingEntryPoint,f=b.placement,g=b.sessionID,h=b.targetID;b=b.targetType;if(!p(g,f)){t(d);return null}c=u((d=c)!=null?d:[]);d={logging_data:{entry_point:e,session_id:g},photo_ids:c,placement:f,post_text:a};return{params:d,target_id:h,target_type:b}}function p(a,b){b=b==="COMPOSER";if(!b&&j[a]){c("FBLogger")(k).info("Already performed a successful interception in this session");return!1}return!0}function q(a,b,c,e){var f=d("relay-runtime").getRequest(l);f=d("relay-runtime").createOperationDescriptor(f,b);var g=a.retain(f),h=d("CometRelay").fetchQuery(a,l,b).subscribe({error:function(a){r({queryRetainDisposable:g,querySubscription:h}),c(a)},next:function(a){r({queryRetainDisposable:g,querySubscription:h}),e(a)}})}function r(a){var b=a.queryRetainDisposable;a=a.querySubscription;a&&a.unsubscribe();b&&b.dispose()}function s(a,b,d,e){var f=a.unified_interception;if(!f){c("FBLogger")(k).info("Null value received from server for interception response");t(e);return}d||(j[b]=!0);t(e,a)}function t(a,b){b===void 0&&(b=i),a&&a(b)}function u(a){return a.filter(function(a){return a.fileType==="PHOTO"&&(a.state==="UPLOADED"||a.state==="PREEXISTING")}).map(function(a){return a.data&&((a=a.data.id)!=null?a:"")}).filter(function(a){return!c("isStringNullOrEmpty")(a)})}g.performInterception=a;g.getPostText=m;g.validateInterceptionRequest=p;g.disposeQuery=r;g.getPhotoIds=u}),98); __d("composerDirtyStateViewStateReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"set_ignore_dirty_flag":return babelHelpers["extends"]({},a,{ignoreDirtyFlag:b.value})}return a}f["default"]=a}),66); __d("JobOpeningCreateSurfaceHelpers",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a==="GROUP"}function b(a){return a==="JOBS"}function c(a){return a==="PAGE"}function d(a){return a==="EVENT"}f.isGroupsComposer=a;f.isJobsSurfaceComposer=b;f.isPagesComposer=c;f.isEventComposer=d}),66); __d("JobsCometCreateMutation",["CometRelay","JobOpeningCreateSurfaceHelpers","JobsCometCreateMutation.graphql","JobsComposerSharedTypes","JobsComposerVoiceData"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("JobsCometCreateMutation.graphql");function a(a,b,c,e,f,g,h,j){var k,l,m,n,o,p,q,r=b.audience||[];d("JobOpeningCreateSurfaceHelpers").isGroupsComposer(b.jobOpeningCreateSurface)?r=r.filter(function(a){return a.id!==c}):(d("JobOpeningCreateSurfaceHelpers").isPagesComposer(b.jobOpeningCreateSurface)||d("JobOpeningCreateSurfaceHelpers").isJobsSurfaceComposer(b.jobOpeningCreateSurface)&&(((k=b.voice)==null?void 0:k.type)===d("JobsComposerVoiceData").JobsComposerVoice.PAGE||((k=b.voice)==null?void 0:k.type)===d("JobsComposerVoiceData").JobsComposerVoice.PROFILE_PLUS))&&(r=r.filter(function(a){return a.id!==f}));r=r.map(function(a){return{cross_post_location:a.type,cross_post_location_id:a.id}});k=(k=b.location)==null?void 0:k.multiLineAddress;l=(l=b.salary)==null?void 0:l.currency;m=(m=b.salary)==null?void 0:m.amountMax;n=(n=b.salary)==null?void 0:n.amount;o=(o=b.customQuestions)!=null?o:[];p=b.contactPreference===d("JobsComposerSharedTypes").JobApplicationMedium.OFFSITE_URL&&b.websiteLink!=null&&b.websiteLink!==""&&((p=b.voice)==null?void 0:p.type)===d("JobsComposerVoiceData").JobsComposerVoice.USER?b.websiteLink:null;e={application_flow:b.applicationFlow,application_notification_emails:(q=b.emails)==null?void 0:q.filter(Boolean),benefits:b.benefits,business_name:b.businessName,city_name:(q=b.location)==null?void 0:q.cityName,cross_post_locations:r,custom_questions:o.map(function(a){return{custom_question_id:a.customQuestionId,is_required:a.isRequired,label:a.label,multiple_choice_options:a.multipleChoiceOptions,question_type:a.questionType,suggested_custom_question_type:a.suggestedCustomQuestionType}}),employer_id:f,form_config:b.jobApplicationFormConfig,full_address:(q=b.location)==null?void 0:q.singleLineAddress,group_id:c,group_post_id:e,hours_per_week:b.hoursPerWeek,is_auto_convert:Boolean(j==null?void 0:j.isAutoConvert),job_application_medium:b.contactPreference,job_details:b.description,job_opening_create_mechanism:Boolean(j==null?void 0:j.isAutoConvert)?"AUTOCONVERT":"COMPOSER",job_opening_create_surface:b.jobOpeningCreateSurface,job_search_mechanism:b.refererMechanism,job_skill_ids:b.jobSkillIDs,job_status:j==null?void 0:j.jobStatus,job_title:(r=b.jobTitle)==null?void 0:r.title,job_type:b.jobType,job_voice_type:((o=b.voice)==null?void 0:o.type)?b.voice.type:void 0,latitude:(q=b.location)==null?void 0:q.latitude,location_id:(e=b.location)==null?void 0:e.locationID,longitude:(r=b.location)==null?void 0:r.longitude,max_wage:l!=null&&m!=null?{amount_in_hundredths:m,currency:l}:null,min_wage:l!=null&&n!=null?{amount_in_hundredths:n,currency:l}:null,multi_line_address:k!=null?k.join():null,native_application_type:b.nativeApplicationType,offsite_application_url:p,photo_id:(o=b.photo)==null?void 0:o.id,post_id:g,preferred_job_skill_ids:b.preferredSkillIDs,remote_type:b.remoteType,required_job_skill_ids:b.requiredSkillIDs,schedule_types:b.scheduleTypes,source:b.source,time_commitment:b.timeCommitment,user_post_id:h,wage_type:(q=b.salary)==null?void 0:q.type,waterfall_session_id:b.waterfallSessionID};d("CometRelay").commitMutation(a,{mutation:i,onCompleted:j&&j.onSuccess,onError:j&&j.onFailure,variables:{input:e}})}g.commit=a}),98);/*FB_PKG_DELIM*/ __d("CometComposerPrivacyScope_scope.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"privacySelectorRenderLocation"}],kind:"Fragment",metadata:null,name:"CometComposerPrivacyScope_scope",selections:[{args:[{kind:"Variable",name:"renderLocation",variableName:"privacySelectorRenderLocation"},{kind:"Literal",name:"tags",value:[]}],kind:"FragmentSpread",name:"CometPrivacySelectorForScope_scope"}],type:"PrivacyScope",abstractKey:null};e.exports=a}),null); __d("CometComposerStatusAreaRelay_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometComposerStatusAreaRelay_profile",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null}],type:"User",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("CometComposerStatusAreaRelay_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometComposerStatusAreaRelay_viewer",selections:[{args:null,kind:"FragmentSpread",name:"FeedComposerCometStatusAreaClickHandler_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FeedComposerCometStatusAreaRelayForDraftjs_profile",selections:[{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelay_profile"},{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelayWithSwatches_profile"}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("FeedComposerCometStatusAreaRelayForDraftjs_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FeedComposerCometStatusAreaRelayForDraftjs_viewer",selections:[{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelay_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("XContentRefControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/business/content_ref/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("ContentRefComet",["XContentRefControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b===void 0&&(b="DEFAULT");return c("XContentRefControllerRouteBuilder").buildURL({callsite:b,name:a})}g.get=a}),98); __d("ProductTagTypeaheadContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b={approvedOnly:!1};c=a.createContext(b);g.defaultContext=b;g.ProductTagTypeaheadContext=c}),98); __d("FBNoteComposerAttachmentResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("FBNoteComposerAttachment.react").__setRef("FBNoteComposerAttachmentResource");b=a;g["default"]=b}),98); __d("CometFlexibleRow.react",["react","stylex","useCometSize_DO_NOT_USE","useLayoutEffect_SAFE_FOR_SSR"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useState,j=8;function a(a){var b=a.columnMaxWidth,d=a.columnMinWidth,e=a.children,f=a.justify;f=f===void 0?"start":f;var g=a.maxItems,k=g===void 0?Infinity:g;g=a.minItems;var l=g===void 0?1:g,m=a.onTotalItemsChanged;g=c("useCometSize_DO_NOT_USE")();a=g[0];var n=g[1],o=h.Children.toArray(e);g=i(o.length);var p=g[0],q=g[1];c("useLayoutEffect_SAFE_FOR_SSR")(function(){if(n!=null){var a=[],c=p;while(!0){if(a.includes(c))break;var e=(n.width-c*j)/c;if(e>b){a.push(c);c+=1;continue}if(e0&&(f({files:Array.from(a),type:"ADD_MEDIA_ATTACHMENT_ITEMS"}),e&&f({attachmentType:"MEDIA",type:"ACTIVATE_ATTACHMENT_TYPE"}))},[f,e]);return j.jsx(c("CometFileSelector.react"),{accept:a?d("fileInputAcceptValues").PHOTO:d("fileInputAcceptValues").PHOTO_AND_VIDEO,multiple:!0,onFilesSelected:b,children:function(a){return j.jsx(c("CometPressable.react"),{display:"inline",label:h._(/*FBT_CALL*/"Upload another photo\/video"/*FBT_CALL*/),onPress:a,overlayDisabled:!0,children:j.jsx("div",{className:"tj6ad7yx l9j0dhe7 jm1wdb64 f9o22wc5 dicw6rsg ad2k81qe rs0gx3tq taijpn5t qzj7cv8z pfnyh3mw kb5gq1qc j83agx80 bp9cbjyn",children:j.jsx(c("TetraButton.react"),{icon:d("fbicon")._(i("481779"),16),label:h._(/*FBT_CALL*/"Add Photos\/Videos"/*FBT_CALL*/),onPress:a,testid:void 0,type:"secondary"})})})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useHandleSideloadedMedia",["fbt","CometComposerAttachmentPluginTypes","cometIsMimeTypeForMedia","composerAttachmentAreaChecker","composerAttachmentAreaReducer","composerMediaAttachmentReducer","react","useComposerPluginIneligibility","useComposerViewStateDispatcher","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react").useCallback;function a(a){a===void 0&&(a=!1);c("useComposerViewStateReducer")(d("composerAttachmentAreaReducer").composerAttachmentAreaReducer,c("composerAttachmentAreaChecker"));c("useComposerViewStateReducer")(c("composerMediaAttachmentReducer"));var b=c("useComposerViewStateDispatcher")(),e=c("useComposerPluginIneligibility")(),f=e.has(c("CometComposerAttachmentPluginTypes").MEDIA);return i(function(c){if(!f){c=Array.from(c).filter(function(b){return d("cometIsMimeTypeForMedia").isMimeTypeForPhoto(b.type)||d("cometIsMimeTypeForMedia").isMimeTypeForVideo(b.type)&&!a}).map(function(a){return a instanceof File?a:new File([a],h._(/*FBT_CALL*/"Pasted file"/*FBT_CALL*/).toString())});c.length>0&&(b({attachmentType:"MEDIA",type:"ACTIVATE_ATTACHMENT_TYPE"}),b({files:c,type:"ADD_MEDIA_ATTACHMENT_ITEMS"}))}},[f,a,b])}g["default"]=a}),98); __d("useMediaEditorPushPage",["fbt","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=c("JSResourceForInteraction")("CometMediaEditorPage.react").__setRef("useMediaEditorPushPage");var j=c("lazyLoadComponent")(b);function a(){var a=c("useCometComposerPushPage")();return function(){a(h._(/*FBT_CALL*/"Video Detail"/*FBT_CALL*/),function(a){a=a.onReturn;return i.jsx(j,{index:0,initialTool:"ONE_TOUCH_EFFECTS",isDialog:!0,isOnVideoLiteComposer:!1,isVideoBeingEdited:!0,onBack:a})},{hasCustomHeader:!0})}}g["default"]=a}),98); __d("useMediaUploaderHandlers",["CometComposerMediaAttachmentAreaResource","cometIsMimeTypeForMedia","cr:1772245","gkx","react","setTimeout","useCometVideoComposerLog","useComposerViewStateDispatcher","useMediaEditorPushPage"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a,e){var f=c("useComposerViewStateDispatcher")(),g=c("useCometVideoComposerLog")(),i=c("useMediaEditorPushPage")(),j=h(function(h){h=Array.from(h);if(!h.length)return;var j=a==null?void 0:a.launchBlueVideoComposer,k=a==null?void 0:a.isActorAdmin,l=a==null?void 0:a.closeCometComposer,m=a==null?void 0:a.shouldOpenVideoSpecificComposer;if(h.length===1&&d("cometIsMimeTypeForMedia").isMimeTypeForVideo(h[0].type)&&k===!0&&j!=null&&m===!0)if(c("gkx")("1584413")){if(g!=null&&b("cr:1772245")!=null){k=g.logEvent;k(b("cr:1772245").DIALOG_REQUESTED)}}else{var n=h[0];l&&l();c("setTimeout")(function(){return j(n)},50);return}e===!0&&c("setTimeout")(function(){return i()},50);f({attachmentType:"MEDIA",type:"ACTIVATE_ATTACHMENT_TYPE"});f({files:h,type:"ADD_MEDIA_ATTACHMENT_ITEMS"})},[e,i,g,f,a==null?void 0:a.closeCometComposer,a==null?void 0:a.isActorAdmin,a==null?void 0:a.launchBlueVideoComposer,a==null?void 0:a.shouldOpenVideoSpecificComposer]),k=function(a){c("CometComposerMediaAttachmentAreaResource").load(),a()};return{onFilesSelected:j,onPress:k}}g["default"]=a}),98); __d("CometComposerInlineErrorRenderer.react",["TetraListCell.react","TetraText.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={errorList:{maxHeight:"d7pq72xb",overflowX:"d76ob5m9",overflowY:"eg9m0zos",position:"l9j0dhe7"}};function a(a){var b=a.error;a=a.xstyle;return b==null||b===""?null:h.jsx("div",{className:c("stylex")(i.errorList,a),children:h.jsx(c("TetraListCell.react"),{contentHorizontalPadding:0,headline:h.jsx(c("TetraText.react"),{color:"negative",type:"body3",children:b}),paddingHorizontal:0},"error")})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerServerErrorMessage.react",["errorCode","fbt","CometComposerInlineErrorRenderer.react","CometErrorOverlay","JSResourceForInteraction","ServerHTML.react","SilenceableErrorMessageUtils","promiseDone","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k=d("react").useRef,l=c("JSResourceForInteraction")("CometAustraliaNewsDialog.react").__setRef("CometComposerServerErrorMessage.react");function a(a){var b=a.errorMetadata;a=a.xstyle;var e=k(new Set());if(b==null)return null;if(d("SilenceableErrorMessageUtils").shouldHideErrorMessage(b))return null;var f=b==null?void 0:b.message;if(f==null)return null;var g=f!==""?j.jsx(c("ServerHTML.react"),{blob:f}):i._(/*FBT_CALL*/"Sorry, something went wrong. Try again later."/*FBT_CALL*/);f=b==null?void 0:b.code;if(f!=null&&f===2216006){e.current.has(b)||(e.current.add(b),c("promiseDone")(l.load().then(function(a){d("CometErrorOverlay").injectComponent(function(b){return j.jsx(a,{errorDescription:g,onClose:function(){b()}})})})));return j.jsx("div",{})}return j.jsx(c("CometComposerInlineErrorRenderer.react"),{error:g,xstyle:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useFeedComposerFeaturesNoop",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return null}f["default"]=a}),66); __d("useHandleErrorBySettingState",["CometRelayErrorHandling","SilenceableErrorMessageUtils","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useState;function a(){var a=h(),b=a[0],c=a[1];return[b,function(a){var b=d("SilenceableErrorMessageUtils").getMetadataFromError(a);c(b);d("CometRelayErrorHandling").markErrorAsHandled(a)}]}g["default"]=a}),98); __d("coercePrivacyData",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a==null)return null;var b=a.privacy_targeting;a=babelHelpers.objectWithoutPropertiesLoose(a,["privacy_targeting"]);return babelHelpers["extends"]({privacy_targeting:b},a)}f["default"]=a}),66); __d("CometComposerPrivacyScope.react",["CometComposerPrivacyScope_scope.graphql","CometPrivacySelectorForScope.react","CometRelay","PrivacyRowInput","react","useCometComposerPrivacyPushPage","useComposerPrivacyAudienceReducer","useComposerPrivacyChangeHandlers","useComposerPrivacyTags","withComposerViewStatePart","withTagIDsTrackerConversionUtils"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=d("react").useMemo,k=Object.freeze([]);function a(a){var e=a.editorState,f=a.onPrivacyChange,g=a.onPrivacyChangeStart,l=a.plugins,m=a.privacyData,n=a.privacySelectorRenderLocation;a.privacyWriteID;var o=a.scope,p=a.shouldRestorePrivacyFromDraftState,q=a.title;a=a.withTagIDs;o=d("CometRelay").useFragment(h!==void 0?h:h=b("CometComposerPrivacyScope_scope.graphql"),o);c("useComposerPrivacyAudienceReducer")(n==="COMET_STORY_EDIT_COMPOSER");var r=c("useComposerPrivacyChangeHandlers")(),s=r.onPrivacyChange;r=r.onPrivacyChangeStart;e=c("useComposerPrivacyTags")(e,a);a=c("useCometComposerPrivacyPushPage")({});var t=j(function(){return p===!0?d("PrivacyRowInput").coerceFromPrivacyData(m):null},[m,p]);return i.jsx(c("CometPrivacySelectorForScope.react"),{localPrivacyRow:t,onPrivacyChange:(t=f)!=null?t:s,onPrivacyChangeStart:(f=g)!=null?f:r,plugins:l,pushPage:a,renderLocation:(t=n)!=null?t:"COMET_COMPOSER",scope:o,tags:(s=e)!=null?s:k,title:q})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){var b;return{editorState:(b=a.editorState)!=null?b:null,privacyData:(b=(b=a.audience)==null?void 0:b.privacy)!=null?b:null,privacyWriteID:(b=a.privacyWriteID)!=null?b:null,storyID:(b=a.storyID)!=null?b:null,withTagIDs:d("withTagIDsTrackerConversionUtils").convertWithTagIDsTrackerToArray(a.withTagIDsTracker)}});g["default"]=e}),98); __d("CometComposerStatusAreaRelay.react",["CometComposerStatusAreaRelay_profile.graphql","CometComposerStatusAreaRelay_viewer.graphql","CometPlaceholder.react","CometRelay","CometTrackingNodeProvider.react","FeedComposerCometFormattedTextStatusArea.react","FeedComposerCometStatusArea.react","FeedComposerCometStatusAreaClickHandler.react","react","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=d("react"),k=d("react").useRef;function a(a){var e,f,g=k(null);e=(e=a.statusAreaRef)!=null?e:g;g=d("CometRelay").useFragment(h!==void 0?h:h=b("CometComposerStatusAreaRelay_profile.graphql"),a.profile$key);var l=d("CometRelay").useFragment(i!==void 0?i:i=b("CometComposerStatusAreaRelay_viewer.graphql"),a.viewer$key);f={autoFocus:a.autoFocus,formatPastedText:a.formatPastedText,isViewerFeed:a.isViewerFeed,onClose:a.onClose,placeholderText:(f=a.placeholderTextOverride)!=null?f:a.placeholderText,ref:e,stripPastedStyles:a.stripPastedStyles,testid:"FeedComposerCometStatusArea",typingPerformanceAnnotations:a.typingPerformanceAnnotations,userShortName:(f=g==null?void 0:g.short_name)!=null?f:g==null?void 0:g.name};g=j.jsx(c("FeedComposerCometStatusArea.react"),babelHelpers["extends"]({},f));return j.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:159,children:j.jsx(c("FeedComposerCometStatusAreaClickHandler.react"),{hasCustomRichtextHandler:a.hasCustomRichtextHandler,showSwatchPicker:a.activeAttachmentType==null||a.activeAttachmentType==="FORMATTED_TEXT",statusAreaRef:e,viewer$key:l,children:j.jsxs(c("CometPlaceholder.react"),{fallback:g,children:[j.jsx(c("FeedComposerCometFormattedTextStatusArea.react"),babelHelpers["extends"]({},f,{alwaysShrinkText:a.alwaysShrinkText,draftEditorRendering:a.draftEditorRendering,formattedTextPreset:a.formattedTextPreset})),a.plugins]})})})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){var b;return{activeAttachmentType:(b=a.attachmentArea)==null?void 0:b.activeAttachmentType,formattedTextPreset:(b=a.formattedText)==null?void 0:b.currentFormattedTextPreset,placeholderTextOverride:a.placeholderTextOverride}});g["default"]=e}),98); __d("GroupCometComposerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({errorMetadata:null,groupID:null,isSaving:!1});g["default"]=b}),98); __d("FeedComposerCometStatusAreaRelayForDraftjs.react",["CometComposerStatusAreaRelay.react","CometRelay","FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql","FeedComposerCometStatusAreaRelayForDraftjs_viewer.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=d("react");function a(a){var e=d("CometRelay").useFragment(h!==void 0?h:h=b("FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql"),a.profile$key),f=d("CometRelay").useFragment(i!==void 0?i:i=b("FeedComposerCometStatusAreaRelayForDraftjs_viewer.graphql"),a.viewer$key);a.profile$key;a.viewer$key;a=babelHelpers.objectWithoutPropertiesLoose(a,["profile$key","viewer$key"]);return j.jsx(c("CometComposerStatusAreaRelay.react"),babelHelpers["extends"]({profile$key:e,viewer$key:f},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("feedStoryLiveInsertUpdater",["CometNewsFeedConnectionHandler","CometRelay","cometUniqueID"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=a.getRootField("story_create");e=e&&e.getLinkedRecord("feed_story_edge");var f=a.get(d("CometRelay").VIEWER_ID);if(!f)return;f=d("CometNewsFeedConnectionHandler").getConnection(f,"CometNewsFeed_viewer_news_feed",{orderby:["TOP_STORIES"]});if(!f)return;var g=f.getLinkedRecords("edges");if(g)for(var g=g,h=Array.isArray(g),i=0,g=h?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(h){if(i>=g.length)break;j=g[i++]}else{i=g.next();if(i.done)break;j=i.value}j=j;if(j&&j.getValue("deduplication_key")===b)return}j=d("CometNewsFeedConnectionHandler").buildConnectionEdge(a,f,e,c("cometUniqueID")());j&&(j.setValue(b,"deduplication_key"),j.setValue("ORGANIC","category"),d("CometNewsFeedConnectionHandler").insertEdgeBefore(f,j))}g["default"]=a}),98); __d("composerGetMessagesChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a=(a=a==null?void 0:a.mediaAttachments)!=null?a:[];b=(b=b==null?void 0:b.mediaAttachments)!=null?b:[];if(a.length!==b.length)return!0;a=function(a){return a.state!=="PREEXISTING"};return b.some(a)?!0:!1}f["default"]=a}),66); __d("composerGetMessagesReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"MESSAGING_ADD_GET_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetMessagesPost:!0,isGetMessagesPostAttachmentOptional:b.isGetMessagesPostAttachmentOptional});case"MESSAGING_REMOVE_GET_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetMessagesPost:null})}return a}f["default"]=a}),66); __d("useCometComposerPushQuiltsPage",["fbt","CometComposerAttachmentPluginTypes","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPageWithReducer"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=c("lazyLoadComponent")(c("JSResourceForInteraction")("QuiltsCometPromptCreationContainer.react").__setRef("useCometComposerPushQuiltsPage"));function a(){var a=c("useCometComposerPushPageWithReducer")();return function(){a(h._(/*FBT_CALL*/"Write a Prompt"/*FBT_CALL*/),function(a){a=a.onReturn;return i.jsx(j,{onCreate:a,onExit:a})},c("CometComposerAttachmentPluginTypes").QUILT,{hasCustomHeader:!0})}}g["default"]=a}),98); __d("VideoUploadComposerSurface",["VideoUploadFlowNotifier","VideoUploadSurface"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){a===void 0&&(a=""),b===void 0&&(b=d("VideoUploadSurface").VideoUploadSurfaceIDs.FEED),d("VideoUploadSurface").VideoUploadSurface.getOrCreate(b).notifiers().getExistingOrNoOpByID(a).notifyOnPostAction({action:d("VideoUploadFlowNotifier").VideoPostActions.POST_FAILED}),d("VideoUploadSurface").VideoUploadSurface.getOrCreate(b).notifiers().clear(a)}function b(a,b){a===void 0&&(a=""),b===void 0&&(b=d("VideoUploadSurface").VideoUploadSurfaceIDs.FEED),d("VideoUploadSurface").VideoUploadSurface.getOrCreate(b).notifiers().getExistingOrNoOpByID(a).notifyOnPostAction({action:d("VideoUploadFlowNotifier").VideoPostActions.POST_SUCCESSFUL}),d("VideoUploadSurface").VideoUploadSurface.getOrCreate(b).notifiers().clear(a)}function c(a,b){a===void 0&&(a=""),b===void 0&&(b=d("VideoUploadSurface").VideoUploadSurfaceIDs.FEED),d("VideoUploadSurface").VideoUploadSurface.getOrCreate(b).notifiers().getExistingOrNoOpByID(a).notifyOnPostAction({action:d("VideoUploadFlowNotifier").VideoPostActions.POST_USER_REQUESTED})}g.onSubmitPostError=a;g.onSubmitPostCompleted=b;g.onSubmitPost=c}),98); __d("PrivacyMutationSourceIDContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=null;c=a.createContext(b);g["default"]=c}),98); __d("PrivacyMutationToken",["Base64","PrivacyMutationSourceIDContext","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useMemo;function a(){var a=h(c("PrivacyMutationSourceIDContext"));return i(function(){return j(a)},[a])}function j(a){return a==null?null:c("Base64").encode(JSON.stringify({callsite_id:a,creation_time:Date.now(),type:0}))}g.usePrivacyMutationToken=a;g.getPrivacyMutationTokenFromSourceID=j}),98);/*FB_PKG_DELIM*/ __d("CometMoreContentButton.react",["CometPressable.react","TetraText.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={bottom:{bottom:"h0ek22jz"},container:{display:"j83agx80",justifyContent:"taijpn5t",position:"pmk7jnqg",start:"kfkz5moi"},deemphasized:{backgroundColor:"ovq5dppa"},"default":{alignItems:"bp9cbjyn",borderTop:"gcieejh5",borderEnd:"bn081pho",borderBottom:"humdl8nn",borderStart:"izx4hr6d",borderTopStartRadius:"p0p8w163",borderTopEndRadius:"kip1xq3a",borderBottomEndRadius:"alrr0afh",borderBottomStartRadius:"be9qi1ea",boxShadow:"eu4i7hue",display:"j83agx80",height:"idiwt2bm",justifyContent:"taijpn5t",paddingTop:"discj3wi",paddingEnd:"d1544ag0",paddingBottom:"ihqw7lf3",paddingStart:"tw6a2znq",position:"pmk7jnqg"},emphasized:{backgroundColor:"s1i5eluu"},top:{top:"kr520xx4"}};function a(a){var b=a["aria-hidden"],d=a.children,e=a.deemphasized;e=e===void 0?!1:e;var f=a.disabled,g=a.linkProps,j=a.onPress,k=a.position;k=k===void 0?"top":k;a=a.xstyle;return h.jsx("div",{className:c("stylex")([i.container,i[k],a]),children:h.jsx(c("CometPressable.react"),{"aria-hidden":b,disabled:f,display:"inline",linkProps:g,onPress:j,overlayDisabled:!0,xstyle:[i["default"],e?i.deemphasized:i.emphasized],children:h.jsx(c("TetraText.react"),{color:e?"primary":"white",numberOfLines:1,type:"button2",children:d})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("logCometBookmarkListItemPressed",["CometHomeProductBadgedNavigationLogger","logCometWatchTabSelectedEvent"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f){e!=null&&f&&d("CometHomeProductBadgedNavigationLogger").markerStartAndAnnotateWithProductID(e);if(a==="FACEBOOK_APP"&&b.includes("/watch/")){c("logCometWatchTabSelectedEvent")("bookmark",f,"bookmark");return}return}g["default"]=a}),98); __d("CometHomeContentMoreContentButton.react",["CometMoreContentButton.react","CometProgressRingIndeterminate.react","CometVisualCompletionAttributes","clearTimeout","react","setTimeout","stylex","useCurrentRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useEffect,j=b.useState,k=200,l={button:{paddingTop:"pybr56ya"},container:{opacity:"pedkr2u6",position:"lpgh02oy",top:"t4zy2t7z",transform:"agkhgkm8",transitionDuration:"kmdw4o4n",transitionProperty:"pnx7fd3z",transitionTimingFunction:"msbwk0y7",zIndex:"tkr6xdv7","@media(max-width: 900px)":{top:"qzwx5pty"}},hidden:{opacity:"b5wmifdl",pointerEvents:"hzruof5a",transform:"hltw3bd0"},spinner:{height:"k7cz35w2"}};function a(a){a=a.isLoading;var b=j(null),d=b[0],e=b[1];a&&(d!=="LOADING"&&e("LOADING"));var f=a;i(function(){if(f===!1){var a=c("setTimeout")(function(){return e(null)},k+50);return function(){return c("clearTimeout")(a)}}},[f]);b=c("useCurrentRouteBuilder")();if(b==null)return null;b=b.buildURL({});return h.jsx("div",babelHelpers["extends"]({"aria-hidden":!f,className:c("stylex")(l.container,!f&&l.hidden)},c("CometVisualCompletionAttributes").IGNORE,{children:h.jsx(c("CometMoreContentButton.react"),{deemphasized:!0,disabled:a,linkProps:{url:b},xstyle:l.button,children:d==="LOADING"?h.jsx("div",{className:c("stylex")(l.spinner),children:h.jsx(c("CometProgressRingIndeterminate.react"),{color:"blue",size:32})}):null})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("DirectMessagingTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:DirectMessagingLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:DirectMessagingLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:DirectMessagingLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setAccountstatus=function(a){this.$1.accountstatus=a;return this};c.setActionSource=function(a){this.$1.action_source=a;return this};c.setAdGap=function(a){this.$1.ad_gap=a;return this};c.setAdID=function(a){this.$1.ad_id=a;return this};c.setAdRequestEndTs=function(a){this.$1.ad_request_end_ts=a;return this};c.setAdRequestStartTs=function(a){this.$1.ad_request_start_ts=a;return this};c.setAdsFetchFailed=function(a){this.$1.ads_fetch_failed=a;return this};c.setAdsInsertionPositionsString=function(a){this.$1.ads_insertion_positions_string=a;return this};c.setAdsReturnedCurrentPosition=function(a){this.$1.ads_returned_current_position=a;return this};c.setAllowsMentionStoryReshare=function(a){this.$1.allows_mention_story_reshare=a;return this};c.setAppSessionID=function(a){this.$1.app_session_id=a;return this};c.setAppID=function(a){this.$1.appid=a;return this};c.setAppversion=function(a){this.$1.appversion=a;return this};c.setAttributionLinkType=function(a){this.$1.attribution_link_type=a;return this};c.setBadgingNumber=function(a){this.$1.badging_number=a;return this};c.setBlacklistedIds=function(a){this.$1.blacklisted_ids=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setBlacklistedStoriesUsersCount=function(a){this.$1.blacklisted_stories_users_count=a;return this};c.setBucketOwnerID=function(a){this.$1.bucket_owner_id=a;return this};c.setBucketSource=function(a){this.$1.bucket_source=a;return this};c.setCameraPostType=function(a){this.$1.camera_post_type=a;return this};c.setCameraStoryPromotionID=function(a){this.$1.camera_story_promotion_id=a;return this};c.setCaptionNumLinesShown=function(a){this.$1.caption_num_lines_shown=a;return this};c.setCaptionToCarouselTriggered=function(a){this.$1.caption_to_carousel_triggered=a;return this};c.setCardID=function(a){this.$1.card_id=a;return this};c.setCardIDStr=function(a){this.$1.card_id_str=a;return this};c.setClientCameraPostTrackingKey=function(a){this.$1.client_camera_post_tracking_key=a;return this};c.setClientMediaContentID=function(a){this.$1.client_media_content_id=a;return this};c.setClientMediaID=function(a){this.$1.client_media_id=a;return this};c.setClientMediaIdsStrings=function(a){this.$1.client_media_ids_strings=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setClientPreviewType=function(a){this.$1.client_preview_type=a;return this};c.setClientSessionID=function(a){this.$1.client_session_id=a;return this};c.setClientSessionTime=function(a){this.$1.client_session_time=a;return this};c.setClientShareSheetID=function(a){this.$1.client_share_sheet_id=a;return this};c.setClientStoryThreadIds=function(a){this.$1.client_story_thread_ids=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setClientStoryViewerSessionEntrypoint=function(a){this.$1.client_story_viewer_session_entrypoint=a;return this};c.setClientViewerSessionID=function(a){this.$1.client_viewer_session_id=a;return this};c.setClienttime=function(a){this.$1.clienttime=a;return this};c.setContainermodule=function(a){this.$1.containermodule=a;return this};c.setCount=function(a){this.$1.count=a;return this};c.setCountry=function(a){this.$1.country=a;return this};c.setDeviceid=function(a){this.$1.deviceid=a;return this};c.setDirectDataSessionID=function(a){this.$1.direct_data_session_id=a;return this};c.setDirectRecipients=function(a){this.$1.direct_recipients=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setDirectRecipientsSize=function(a){this.$1.direct_recipients_size=a;return this};c.setDirectSessionID=function(a){this.$1.direct_session_id=a;return this};c.setEventStoriesInTray=function(a){this.$1.event_stories_in_tray=a;return this};c.setEventname=function(a){this.$1.eventname=a;return this};c.setExtraClientData=function(a){this.$1.extra_client_data=a;return this};c.setFbStoryViewerTrayType=function(a){this.$1.fb_story_viewer_tray_type=a;return this};c.setFirstOpenBucketIndex=function(a){this.$1.first_open_bucket_index=a;return this};c.setFirstView=function(a){this.$1.first_view=a;return this};c.setFolloweeStoriesInTray=function(a){this.$1.followee_stories_in_tray=a;return this};c.setFriendStoriesInTray=function(a){this.$1.friend_stories_in_tray=a;return this};c.setGesture=function(a){this.$1.gesture=a;return this};c.setGridLayoutColumnSize=function(a){this.$1.grid_layout_column_size=a;return this};c.setGridLayoutRowSize=function(a){this.$1.grid_layout_row_size=a;return this};c.setGridPageIndex=function(a){this.$1.grid_page_index=a;return this};c.setGridStoryIndexColumn=function(a){this.$1.grid_story_index_column=a;return this};c.setGridStoryIndexRow=function(a){this.$1.grid_story_index_row=a;return this};c.setGroupStoriesInTray=function(a){this.$1.group_stories_in_tray=a;return this};c.setHasMyStory=function(a){this.$1.has_my_story=a;return this};c.setHasNewContent=function(a){this.$1.has_new_content=a;return this};c.setHasNewViews=function(a){this.$1.has_new_views=a;return this};c.setHasNuxStory=function(a){this.$1.has_nux_story=a;return this};c.setHashid=function(a){this.$1.hashid=a;return this};c.setInspirationGroupSession=function(a){this.$1.inspiration_group_session=a;return this};c.setInstagramMediaID=function(a){this.$1.instagram_media_id=a;return this};c.setInstagramUserID=function(a){this.$1.instagram_user_id=a;return this};c.setInterface=function(a){this.$1["interface"]=a;return this};c.setInvalidReason=function(a){this.$1.invalid_reason=a;return this};c.setIsAudioStory=function(a){this.$1.is_audio_story=a;return this};c.setIsAutoPlay=function(a){this.$1.is_auto_play=a;return this};c.setIsCachedBucketFragment=function(a){this.$1.is_cached_bucket_fragment=a;return this};c.setIsCamera=function(a){this.$1.is_camera=a;return this};c.setIsFirstStoryMyStory=function(a){this.$1.is_first_story_my_story=a;return this};c.setIsFromStory=function(a){this.$1.is_from_story=a;return this};c.setIsReshare=function(a){this.$1.is_reshare=a;return this};c.setIsSifNuxCompleted=function(a){this.$1.is_sif_nux_completed=a;return this};c.setIsStory=function(a){this.$1.is_story=a;return this};c.setIsVideoPreviewTile=function(a){this.$1.is_video_preview_tile=a;return this};c.setIsemployee=function(a){this.$1.isemployee=a;return this};c.setLiveStoriesInTray=function(a){this.$1.live_stories_in_tray=a;return this};c.setLiveVideoID=function(a){this.$1.live_video_id=a;return this};c.setMediaIndex=function(a){this.$1.media_index=a;return this};c.setMediaOwner=function(a){this.$1.media_owner=a;return this};c.setMediaOwnerTypeString=function(a){this.$1.media_owner_type_string=a;return this};c.setMediaType=function(a){this.$1.media_type=a;return this};c.setMessageLength=function(a){this.$1.message_length=a;return this};c.setMobileNetworkType=function(a){this.$1.mobile_network_type=a;return this};c.setMontageMessageID=function(a){this.$1.montage_message_id=a;return this};c.setMutationID=function(a){this.$1.mutation_id=a;return this};c.setName=function(a){this.$1.name=a;return this};c.setNewBirthdayStoryPostingMode=function(a){this.$1.new_birthday_story_posting_mode=a;return this};c.setNewContentLength=function(a){this.$1.new_content_length=a;return this};c.setNotifTracking=function(a){this.$1.notif_tracking=a;return this};c.setNumOfAdsReturned=function(a){this.$1.num_of_ads_returned=a;return this};c.setNumOfStoryBuckets=function(a){this.$1.num_of_story_buckets=a;return this};c.setNumOfValidAdsReturned=function(a){this.$1.num_of_valid_ads_returned=a;return this};c.setNumberBadges=function(a){this.$1.number_badges=a;return this};c.setNumberImbeStories=function(a){this.$1.number_imbe_stories=a;return this};c.setNumberLiveStories=function(a){this.$1.number_live_stories=a;return this};c.setNumberMedia=function(a){this.$1.number_media=a;return this};c.setNumberNewStories=function(a){this.$1.number_new_stories=a;return this};c.setNumberReactions=function(a){this.$1.number_reactions=a;return this};c.setNumberStories=function(a){this.$1.number_stories=a;return this};c.setNumberViewers=function(a){this.$1.number_viewers=a;return this};c.setOldBirthdayStoryPostingMode=function(a){this.$1.old_birthday_story_posting_mode=a;return this};c.setOrganicTracking=function(a){this.$1.organic_tracking=a;return this};c.setOriginalStoryThreadID=function(a){this.$1.original_story_thread_id=a;return this};c.setOriginalStoryType=function(a){this.$1.original_story_type=a;return this};c.setOriginalVideoFileSize=function(a){this.$1.original_video_file_size=a;return this};c.setOverlayTypesUsed=function(a){this.$1.overlay_types_used=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setPageStoriesInTray=function(a){this.$1.page_stories_in_tray=a;return this};c.setPrivacyMode=function(a){this.$1.privacy_mode=a;return this};c.setProductMediaType=function(a){this.$1.product_media_type=a;return this};c.setProductSurface=function(a){this.$1.product_surface=a;return this};c.setPromotionID=function(a){this.$1.promotion_id=a;return this};c.setPromotionMediaID=function(a){this.$1.promotion_media_id=a;return this};c.setPromotionStoriesInTray=function(a){this.$1.promotion_stories_in_tray=a;return this};c.setRawclienttime=function(a){this.$1.rawclienttime=a;return this};c.setReactionID=function(a){this.$1.reaction_id=a;return this};c.setReactionType=function(a){this.$1.reaction_type=a;return this};c.setReadStories=function(a){this.$1.read_stories=a;return this};c.setReason=function(a){this.$1.reason=a;return this};c.setRepliedStoryThreadID=function(a){this.$1.replied_story_thread_id=a;return this};c.setReplyCount=function(a){this.$1.reply_count=a;return this};c.setReplyType=function(a){this.$1.reply_type=a;return this};c.setSeenStateDataConsistency=function(a){this.$1.seen_state_data_consistency=a;return this};c.setSeenStateTriggered=function(a){this.$1.seen_state_triggered=a;return this};c.setSendKey=function(a){this.$1.send_key=a;return this};c.setServerPostSource=function(a){this.$1.server_post_source=a;return this};c.setServertime=function(a){this.$1.servertime=a;return this};c.setSessionid=function(a){this.$1.sessionid=a;return this};c.setSnapshotID=function(a){this.$1.snapshot_id=a;return this};c.setSoftDeletedStoryThreadIds=function(a){this.$1.soft_deleted_story_thread_ids=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setSource=function(a){this.$1.source=a;return this};c.setSourceThreadID=function(a){this.$1.source_thread_id=a;return this};c.setStoriesSurfaceSectionType=function(a){this.$1.stories_surface_section_type=a;return this};c.setStoriesSurfaceSectionViewstateKey=function(a){this.$1.stories_surface_section_viewstate_key=a;return this};c.setStoriesSurfaceSessionID=function(a){this.$1.stories_surface_session_id=a;return this};c.setStoriesTrayFeedUnitTrackingString=function(a){this.$1.stories_tray_feed_unit_tracking_string=a;return this};c.setStoryCardSharedMessage=function(a){this.$1.story_card_shared_message=a;return this};c.setStoryCardShareeID=function(a){this.$1.story_card_sharee_id=a;return this};c.setStoryCardSharerID=function(a){this.$1.story_card_sharer_id=a;return this};c.setStoryCreationTs=function(a){this.$1.story_creation_ts=a;return this};c.setStoryIndex=function(a){this.$1.story_index=a;return this};c.setStoryMediaIds=function(a){this.$1.story_media_ids=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setStoryOwner=function(a){this.$1.story_owner=a;return this};c.setStoryOwnerFbids=function(a){this.$1.story_owner_fbids=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setStoryOwnerType=function(a){this.$1.story_owner_type=a;return this};c.setStoryPermalinkLoadFailReason=function(a){this.$1.story_permalink_load_fail_reason=a;return this};c.setStoryPostFeedUnitTrackingString=function(a){this.$1.story_post_feed_unit_tracking_string=a;return this};c.setStoryRankingScores=function(a){this.$1.story_ranking_scores=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setStoryTargetCount=function(a){this.$1.story_target_count=a;return this};c.setTargetID=function(a){this.$1.target_id=a;return this};c.setThreadCount=function(a){this.$1.thread_count=a;return this};c.setThreadViewIdentifier=function(a){this.$1.thread_view_identifier=a;return this};c.setTimespent=function(a){this.$1.timespent=a;return this};c.setTofuTraySessionID=function(a){this.$1.tofu_tray_session_id=a;return this};c.setTopAdGap=function(a){this.$1.top_ad_gap=a;return this};c.setTracking=function(a){this.$1.tracking=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setTrackingString=function(a){this.$1.tracking_string=a;return this};c.setTraySessionID=function(a){this.$1.tray_session_id=a;return this};c.setTriggerSource=function(a){this.$1.trigger_source=a;return this};c.setTruePromptID=function(a){this.$1.true_prompt_id=a;return this};c.setUIElements=function(a){this.$1.ui_elements=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setUnifiedPrivacyMode=function(a){this.$1.unified_privacy_mode=a;return this};c.setUnifiedStoriesMediaSource=function(a){this.$1.unified_stories_media_source=a;return this};c.setUnreadStories=function(a){this.$1.unread_stories=a;return this};c.setVideoExtraDuration=function(a){this.$1.video_extra_duration=a;return this};c.setVideoLength=function(a){this.$1.video_length=a;return this};c.setViewerSessionStoryBucketRelativePosition=function(a){this.$1.viewer_session_story_bucket_relative_position=a;return this};c.setViewerSessionStoryBucketType=function(a){this.$1.viewer_session_story_bucket_type=a;return this};c.setViewerSessionStoryConsumedMediaCountSinceLastAd=function(a){this.$1.viewer_session_story_consumed_media_count_since_last_ad=a;return this};c.setViewerSessionStoryConsumedMediaViewCountSinceLastAd=function(a){this.$1.viewer_session_story_consumed_media_view_count_since_last_ad=a;return this};c.setViewerSessionStoryConsumedPogCountSinceLastAd=function(a){this.$1.viewer_session_story_consumed_pog_count_since_last_ad=a;return this};c.setViewerSessionStoryPogConsumptionIndex=function(a){this.$1.viewer_session_story_pog_consumption_index=a;return this};c.setWhitelistedIds=function(a){this.$1.whitelisted_ids=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setWhitelistedStoriesUsersCount=function(a){this.$1.whitelisted_stories_users_count=a;return this};c.updateExtraData=function(a){a=b("nullthrows")(b("GeneratedLoggerUtils").serializeMap(a));b("GeneratedLoggerUtils").checkExtraDataFieldNames(a,g);this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.addToExtraData=function(a,b){var c={};c[a]=b;return this.updateExtraData(c)};return a}();var g={accountstatus:!0,action_source:!0,ad_gap:!0,ad_id:!0,ad_request_end_ts:!0,ad_request_start_ts:!0,ads_fetch_failed:!0,ads_insertion_positions_string:!0,ads_returned_current_position:!0,allows_mention_story_reshare:!0,app_session_id:!0,appid:!0,appversion:!0,attribution_link_type:!0,badging_number:!0,blacklisted_ids:!0,blacklisted_stories_users_count:!0,bucket_owner_id:!0,bucket_source:!0,camera_post_type:!0,camera_story_promotion_id:!0,caption_num_lines_shown:!0,caption_to_carousel_triggered:!0,card_id:!0,card_id_str:!0,client_camera_post_tracking_key:!0,client_media_content_id:!0,client_media_id:!0,client_media_ids_strings:!0,client_preview_type:!0,client_session_id:!0,client_session_time:!0,client_share_sheet_id:!0,client_story_thread_ids:!0,client_story_viewer_session_entrypoint:!0,client_viewer_session_id:!0,clienttime:!0,containermodule:!0,count:!0,country:!0,deviceid:!0,direct_data_session_id:!0,direct_recipients:!0,direct_recipients_size:!0,direct_session_id:!0,event_stories_in_tray:!0,eventname:!0,extra_client_data:!0,fb_story_viewer_tray_type:!0,first_open_bucket_index:!0,first_view:!0,followee_stories_in_tray:!0,friend_stories_in_tray:!0,gesture:!0,grid_layout_column_size:!0,grid_layout_row_size:!0,grid_page_index:!0,grid_story_index_column:!0,grid_story_index_row:!0,group_stories_in_tray:!0,has_my_story:!0,has_new_content:!0,has_new_views:!0,has_nux_story:!0,hashid:!0,inspiration_group_session:!0,instagram_media_id:!0,instagram_user_id:!0,"interface":!0,invalid_reason:!0,is_audio_story:!0,is_auto_play:!0,is_cached_bucket_fragment:!0,is_camera:!0,is_first_story_my_story:!0,is_from_story:!0,is_reshare:!0,is_sif_nux_completed:!0,is_story:!0,is_video_preview_tile:!0,isemployee:!0,live_stories_in_tray:!0,live_video_id:!0,media_index:!0,media_owner:!0,media_owner_type_string:!0,media_type:!0,message_length:!0,mobile_network_type:!0,montage_message_id:!0,mutation_id:!0,name:!0,new_birthday_story_posting_mode:!0,new_content_length:!0,notif_tracking:!0,num_of_ads_returned:!0,num_of_story_buckets:!0,num_of_valid_ads_returned:!0,number_badges:!0,number_imbe_stories:!0,number_live_stories:!0,number_media:!0,number_new_stories:!0,number_reactions:!0,number_stories:!0,number_viewers:!0,old_birthday_story_posting_mode:!0,organic_tracking:!0,original_story_thread_id:!0,original_story_type:!0,original_video_file_size:!0,overlay_types_used:!0,page_stories_in_tray:!0,privacy_mode:!0,product_media_type:!0,product_surface:!0,promotion_id:!0,promotion_media_id:!0,promotion_stories_in_tray:!0,rawclienttime:!0,reaction_id:!0,reaction_type:!0,read_stories:!0,reason:!0,replied_story_thread_id:!0,reply_count:!0,reply_type:!0,seen_state_data_consistency:!0,seen_state_triggered:!0,send_key:!0,server_post_source:!0,servertime:!0,sessionid:!0,snapshot_id:!0,soft_deleted_story_thread_ids:!0,source:!0,source_thread_id:!0,stories_surface_section_type:!0,stories_surface_section_viewstate_key:!0,stories_surface_session_id:!0,stories_tray_feed_unit_tracking_string:!0,story_card_shared_message:!0,story_card_sharee_id:!0,story_card_sharer_id:!0,story_creation_ts:!0,story_index:!0,story_media_ids:!0,story_owner:!0,story_owner_fbids:!0,story_owner_type:!0,story_permalink_load_fail_reason:!0,story_post_feed_unit_tracking_string:!0,story_ranking_scores:!0,story_target_count:!0,target_id:!0,thread_count:!0,thread_view_identifier:!0,timespent:!0,tofu_tray_session_id:!0,top_ad_gap:!0,tracking:!0,tracking_string:!0,tray_session_id:!0,trigger_source:!0,true_prompt_id:!0,ui_elements:!0,unified_privacy_mode:!0,unified_stories_media_source:!0,unread_stories:!0,video_extra_duration:!0,video_length:!0,viewer_session_story_bucket_relative_position:!0,viewer_session_story_bucket_type:!0,viewer_session_story_consumed_media_count_since_last_ad:!0,viewer_session_story_consumed_media_view_count_since_last_ad:!0,viewer_session_story_consumed_pog_count_since_last_ad:!0,viewer_session_story_pog_consumption_index:!0,whitelisted_ids:!0,whitelisted_stories_users_count:!0};f["default"]=a}),66); __d("StoriesTrayLogger",["DirectMessagingTypedLogger"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var c={eventStories:0,followeeStories:0,friendStories:0,groupStories:0,hasSelfStory:!1,liveStories:0,newNonSelfStories:0,pageStories:0,storyPromos:0,storyThreadIDs:new Map(),totalNoneSelfStories:0};if(a==null)return c;c=a.reduce(function(a,c){var d,e,f;c=c;if(c==null)return a;var g=c.story_bucket_type;d=((d=c.story_bucket_owner)==null?void 0:d.is_viewer_friend)||!1;var h=c.is_bucket_seen_by_viewer||!1;e=((e=c.unified_stories)==null?void 0:e.is_empty)===!1?1:0;f=(f=c.story_bucket_owner)==null?void 0:f.id;c=(c=c.unified_stories)==null?void 0:c.nodes;c=c!=null?c.map(function(a){return a.id}):null;(g==="LIVE_STORY"||e>0)&&(b===f?a.hasSelfStory=!0:(a.totalNoneSelfStories++,h&&a.newNonSelfStories++),g==="LIVE_STORY"?a.liveStories++:g==="PAGE_STORY"?a.pageStories++:g==="EVENT_STORY"?a.eventStories++:g==="GROUP_STORY"?a.groupStories++:g==="PROMOTION_STORY"?a.storyPromos++:!d?a.followeeStories++:a.friendStories++);f!=null&&c!=null&&a.storyThreadIDs.set(f,c);return a},c);return c}function a(a){var b=a.actorID,d=a.buckets,e=a.feedUnitTrackingString,f=a.sessionID;a=a.source;if(d==null)return;d=h(d,b);b=new(c("DirectMessagingTypedLogger"))();b.setHasMyStory(d.hasSelfStory).setNumberStories(d.totalNoneSelfStories).setNumberNewStories(d.newNonSelfStories).setNumberLiveStories(d.liveStories).setLiveStoriesInTray(d.liveStories).setPageStoriesInTray(d.pageStories).setEventStoriesInTray(d.eventStories).setGroupStoriesInTray(d.groupStories).setFolloweeStoriesInTray(d.followeeStories).setFriendStoriesInTray(d.friendStories).setPromotionStoriesInTray(d.storyPromos).setClientStoryThreadIds(d.storyThreadIDs).setName("story_tray_load").setSource(a).setTraySessionID(f).setStoriesTrayFeedUnitTrackingString(e).log()}g._getLoggingData=h;g.logStoryTrayLoad=a}),98); __d("CometNewsFeedEofFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743385");c=b("FalcoLoggerInternal").create("comet_news_feed_eof",a);e.exports=c}),null); __d("CometNewsFeedEofUnmountedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743386");c=b("FalcoLoggerInternal").create("comet_news_feed_eof_unmounted",a);e.exports=c}),null); __d("StoryProfileImpressionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744412");c=b("FalcoLoggerInternal").create("story_profile_impression",a);e.exports=c}),null); __d("WebBookmarkClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1868428");c=b("FalcoLoggerInternal").create("web_bookmark_click",a);e.exports=c}),null); __d("WebBookmarkImpressionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1868429");c=b("FalcoLoggerInternal").create("web_bookmark_impression",a);e.exports=c}),null); __d("CometFeedGapRuleViolationTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:CometFeedGapRuleViolationLoggerConfig")}),null);/*FB_PKG_DELIM*/ __d("useFeedComposerCometMentionsNullstateDataSourceQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5732233763461225"}),null); __d("useFeedComposerCometMentionsNullstateDataSourceQuery.graphql",["useFeedComposerCometMentionsNullstateDataSourceQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"count",variableName:"count"},{kind:"Literal",name:"query",value:""},{kind:"Literal",name:"typeahead_context",value:"mentions"}],d={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"mentions_subtext",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"is_verified",storageKey:null},i={alias:"photo",args:[{kind:"Literal",name:"height",value:40},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:40}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},j=[{alias:null,args:null,concreteType:"WorkForeignEntityInfo",kind:"LinkedField",name:"work_foreign_entity_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null}];j={kind:"InlineFragment",selections:[f,g,h,i,{kind:"InlineFragment",selections:[{kind:"InlineFragment",selections:j,type:"User",abstractKey:null},{kind:"InlineFragment",selections:j,type:"Group",abstractKey:null}],type:"Entity",abstractKey:"__isEntity"}],type:"User",abstractKey:null};var k=[f,g,i],l={kind:"InlineFragment",selections:k,type:"Group",abstractKey:null},m={kind:"InlineFragment",selections:k,type:"Event",abstractKey:null};g={kind:"InlineFragment",selections:[f,g,h,i],type:"Page",abstractKey:null};h={kind:"InlineFragment",selections:[f,i],type:"ContextualProfile",abstractKey:"__isContextualProfile"};f={kind:"InlineFragment",selections:k,type:"GroupRule",abstractKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useFeedComposerCometMentionsNullstateDataSourceQuery",selections:[{alias:null,args:c,concreteType:"CometComposerTypeaheadResultEntry",kind:"LinkedField",name:"comet_composer_typeahead_search",plural:!0,selections:[d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[e,j,l,m,g,h,f],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useFeedComposerCometMentionsNullstateDataSourceQuery",selections:[{alias:null,args:c,concreteType:"CometComposerTypeaheadResultEntry",kind:"LinkedField",name:"comet_composer_typeahead_search",plural:!0,selections:[d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e,j,l,m,g,h,f],storageKey:null}],storageKey:null}]},params:{id:b("useFeedComposerCometMentionsNullstateDataSourceQuery_facebookRelayOperation"),metadata:{},name:"useFeedComposerCometMentionsNullstateDataSourceQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("useFeedComposerCometMentionsNullstateDataSource",["WebPixelRatio","createFeedCometMentionsDataEntry","useCometTypeaheadGraphQLDataSource","useFeedComposerCometMentionsNullstateDataSourceQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useFeedComposerCometMentionsNullstateDataSourceQuery.graphql");function a(a){var b=a.limit;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:b,normalize:j,queryVariablesBuilderFunction:function(){return{count:b,scale:d("WebPixelRatio").get()}}})}function j(a){a=a==null?void 0:a.comet_composer_typeahead_search;return a==null?[]:a.map(function(a){if(a==null)return;return c("createFeedCometMentionsDataEntry")({data:a,type:"MENTION_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("getHashtagRegexStringChars",[],(function(a,b,c,d,e,f){"use strict";function a(){var a="\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",b="\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",c=String.fromCharCode;c="\u30a1-\u30fa\u30fc-\u30fe\uff66-\uff9f\uff10-\uff19\uff21-\uff3a\uff41-\uff5a\u3041-\u3096\u3099-\u309e\u3400-\u4dbf\u4e00-\u9fff"+c(173824)+"-"+c(177983)+c(177984)+"-"+c(178207)+c(194560)+"-"+c(195103)+"\u3003\u3005\u303b";a=a+b+c;b="A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\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";c="\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";var d="0-9\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";b=b+c+a;c=d+"_";a=b+c;d="#\\uFF03";return{alpha:b,alphanumeric:a,hashChars:d}}f["default"]=a}),66); __d("getHashtagRegexString",["getHashtagRegexStringChars"],(function(a,b,c,d,e,f){function a(){var a=b("getHashtagRegexStringChars")(),c=a.alpha,d=a.alphanumeric;a=a.hashChars;c="["+c+"]";var e="["+d+"]";d="^|$|[^&/"+d+"]";a="["+a+"]";d="("+d+")("+a+")("+e+"*"+c+e+"*)";return d}f["default"]=a}),66); __d("getHashtagRegex",["getHashtagRegexString"],(function(a,b,c,d,e,f){function a(){return new RegExp(b("getHashtagRegexString")(),"ig")}f["default"]=a}),66);/*FB_PKG_DELIM*/ __d("CometVideoHomeFeedRootQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"4734122056704863",metadata:{},name:"CometVideoHomeFeedRootQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometVideoHomeSurfaceHighlightsWrapperQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"3948258128608705",metadata:{},name:"CometVideoHomeSurfaceHighlightsWrapperQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("VideoPlayerConfigParameterSourcesPayload",["VideoPlayerConfigParameterSources"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("VideoPlayerConfigParameterSources")}),98); __d("PrivacySelectorRenderLocation.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["ABOUT_PAGE_COLLECTIONS","ABOUT_PAGE_LARGE","ABOUT_PAGE_SMALL","ACTIVITY_LOG","APPS_STEP_PRIVACY_CHECKUP","APP_CENTER_GDP","APP_SETTINGS_DIALOG","AUDIENCE_WIDGET_MIGRATION_DO_NOT_USE","BIZWEB_HOME_AD_PREVIEW","BIZWEB_HOME_CARDS","BIZWEB_SELF_VIEW","BK_COMMUNITY_HELP_DRIVE_COMPOSER","BUSINESS_CM_FEED_VIEW","BUSINESS_COMMENT_INBOX_TAB","CLIPPING_DIALOG","COLLECTION_CREATE","COMET_ALBUM","COMET_AUTHENTICITY_WIZARD","COMET_COMPOSER","COMET_CORONAVIRUS_HUB","COMET_DEFAULT_PRIVACY_NUX","COMET_DONATION_CHECKOUT","COMET_EVENTS_POE_PURCHASE_SUCCESS","COMET_EVENTS_RSVP","COMET_GAMING_FEED","COMET_GROUPS_COMMUNITY_HELP_HUB","COMET_GROUPS_WEEKLY_ANALYTICS_NOTIF_LANDING_DIALOG","COMET_INSTANT_GAMES_GAME_SHARE_DIALOG","COMET_INSTANT_GAMES_TOURNAMENT_DIALOG","COMET_JOBS_APPLICATION_FORM","COMET_LIFE_EVENTS_COMPOSER","COMET_LWI_EDIT_BOOST_POST","COMET_LWI_POST_DIALOG","COMET_MANAGE_ACTIVITY_BULK_EDIT_CONTENT","COMET_MEDIA_VIEWER","COMET_NEW_SURFACE_ADS","COMET_OAUTH_DIALOG","COMET_PAGE_BUSINESS_MEMORIES","COMET_PAGE_CARDS","COMET_PAYCHECK_PROTECTION_PROGRAM","COMET_PHOTO_REVIEW","COMET_PHOTO_REVIEW_FACEREC_SETTINGS","COMET_POST_INSIGHTS","COMET_PRIVACY_CHECKUP","COMET_PRIVACY_CHECKUP_FACEREC","COMET_PROFILE_ABOUT_PAGE","COMET_PROFILE_ABOUT_PAGE_INLINE","COMET_PROFILE_COLLECTIONS","COMET_PROFILE_EDIT_PRIVACY_DIALOG","COMET_PROFILE_FRIENDS_LIST","COMET_PROFILE_INTRO_EDIT_DIALOG","COMET_PROFILE_NUX","COMET_PROFILE_TRIBUTE_SETTINGS","COMET_RACIAL_JUSTICE_HUB","COMET_ROOMS_TO_LIVE","COMET_SETTING_APPS_AND_WEBSITES","COMET_SETTING_TIMELINE","COMET_SHARE_DIALOG","COMET_STORY_EDIT_COMPOSER","COMET_STORY_MENU","COMET_STREAM","COMET_UI_DOCS_EXAMPLE","COMET_VOLUNTEERING_SIGN_UP","COMPOSER","COMPOSER_PRIVACY_CHECKUP","COMPOSER_WITH_ALBUM_SELECTOR","CREATOR_STUDIO_INSPIRATION_HUB","DEFAULT_MARKETING_PAGE","DEFAULT_PRIVACY_SETTINGS_MENU","EDIT_ALBUM_PAGE","EDIT_NOTE","EDIT_POST","ENT_MUTATOR_VALIDATION","EVENTS_BOOKMARK","EVENTS_COMPOSER","EVENTS_NEWS_FEED","EVENTS_NEWS_FEED_BOTTOM_SHEET","EVENTS_NT_BUTTONS","EVENTS_PAGE_CALENDAR","EVENTS_PAY_TO_ACCESS_PURCHASE_FLOW","EVENTS_PERMALINK","FBLITE_ACTIVITY_LOG","FBLITE_COMPOSER","FBLITE_CREATE_ALBUM","FBLITE_CRISIS_COMPOSER","FBLITE_DESTINATION_PICKER_FOR_COMPOSER","FBLITE_EVENTS_PERMALINK","FBLITE_FEED","FBLITE_JOBS_PROFILE","FBLITE_LIFE_EVENT_COMPOSER","FBLITE_MARKETPLACE_COMPOSER","FBLITE_NEARBY_FRIENDS","FBLITE_PAGE_REVIEW_COMPOSER","FBLITE_PRIVACY_CHECKUP","FBLITE_PRIVACY_SETTINGS","FBLITE_PROFILE_EXPERIENCE","FBLITE_PROFILE_PLACES_LIVED","FBLITE_PROFILE_RELATIONSHIP","FBLITE_PROFILE_WIZARD","FBLITE_RESHARE_COMPOSER","FBLITE_TIMELINE_TAGGING_SETTINGS","FRIEND_LIST_FILTER_SETTINGS","FRIEND_LIST_SETTINGS","FUNDRAISER_FOR_STORY_DONATION","FUNDRAISER_WITH_PARENT_CONTAINER","GEMINI_REPORTED_CONTENT_ADMIN_PAGE","GENERIC_PRIVACY_CHECKUP","INTERN_PRIVACY_SELECTOR_TOOL","INTERN_REACT_PAGE","IOS_ALBUM","IOS_COMPOSER","IOS_EDIT_EVENT_PRIVACY","IOS_EDIT_PHOTO_PRIVACY","IOS_EDIT_PRIVACY","IOS_LIVE_VIDEO_END","IOS_LIVE_VIDEO_SHARE_SHEET","IOS_NEARBY_FIRENDS","IOS_PAGE_RECOMMENDATION","IOS_QUICK_SHARE_SHEET","IOS_SHARE_SHEET","LIFE_EVENT_DIALOG","LIGHTWEIGHT_STATUS_COMPOSER","LIKE_FLYOUT","LIVE_VIDEO_BROADCAST","LIVING_ROOM_TAHOE_INVITE_DIALOG","LOGIN_ALERTS","MAKE_SHARED_ALBUM","MAP_CALLOUT","MEDIA_MANAGER_INSIGHTS_BENCHMARKING_TRENDING_POSTS","MEDIA_MANAGER_POSTS_TIMELINE","MISINFORMATION_FACT_CHECKER_APP","MOBILE_APP_SETTINGS_DIALOG","MOBILE_FUNDRAISER_FOR_STORY_DONATION","MOBILE_FUNDRAISER_WITH_PARENT_CONTAINER","MOBILE_PHOTOS_EDIT_PHOTO","MOBILE_PHOTO_ALBUM","MOBILE_POP_FLYOUT","MOBILE_POP_SELECTOR","MOBILE_SETTINGS","MOBILE_SHARED_PHOTO_ALBUM","MOBILE_TAG_REVIEW","MOBILE_TIMELINE_REVIEW","MTOUCH_COMPOSER","MTOUCH_COMPOSER_NO_RECENT","MTOUCH_SOCIAL_WIFI_CAPTIVE_PORTAL","NOTES_CAMPFIRE","NT_CAPTIVE_PORTAL","NT_CYMH_BOTTOM_SHEET","NT_INSTANT_GAMES_TOURNAMENT_COMPOSER","NT_INTERNAL_PRIVACY_SELECTOR_CONTROLLER","NT_PRIVACY_EDUCATION","NT_VOLUNTEERING_EVENT_DETAILS","NT_VOLUNTEERING_SIGNUP_COMPOSER","NUX_WIZARD","OAUTH_DIALOG","PAGE_COMPOSER","PHOTOS_BROWSE","PHOTOS_PERMALINK","PHOTOS_SET_COMMENTS","PHOTOS_SNOWLIFT","PHOTO_ALBUM_EDITOR","PHOTO_ALBUM_GRID","PHOTO_ALBUM_PAGE","PHOTO_ALBUM_PAGE_REDESIGN","PHOTO_REVIEW","PLATFORM_PERMISSIONS_DIALOG","PRIVACY_LITE","PRIVACY_SETTINGS_COMPOSER_PREVIEW","PROFILE_PHOTO_CHECKUP","PROFILE_SECTION_DIALOG_LARGE","PROFILE_SECTION_DIALOG_SMALL","PROFILE_STEP_PRIVACY_CHECKUP","PROFILE_TO_PAGE_LOCK_DOWN_ADMIN_PRIVACY_DIALOG","RN_PROFILE_ABOUT","SAVE_LIST","SAY_THANKS","SETTINGS","SHARER","SHARE_DIALOG","SIMPLIFIED_ALBUM_CREATE","STREAM","TIMELINE","TIMELINE_DONATION","TIMELINE_INFO_REVIEW","TIMELINE_REVIEW","UNIT_TEST","UNKNOWN__FIX_ME","VIDEO_PLAYLIST","VIDEO_UPLOAD","WORK_PROFILE"]);c=a;f["default"]=c}),66); __d("CometVideoHomeCommonEntryPointVariables",["WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={feedLocation:"VIDEO_HOME_FEED",isComet:!0,privacySelectorRenderLocation:"COMET_STREAM",renderLocation:"video_home",scale:d("WebPixelRatio").get(),useDashPrefetch:!1,useDefaultActor:!1};g["default"]=a}),98); __d("CometVideoHomeFeedEntryPointVariables",["CometVideoHomeCommonEntryPointVariables","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=babelHelpers["extends"]({},c("CometVideoHomeCommonEntryPointVariables"),{aggregatedVIDs:[],caller:null,isLoggedOut:c("gkx")("976093"),isRelatedVideosDisabled:!0,isRelatedVideosQueryDeferred:!1,relatedVideosTriggerData:{injected_video_id:null},triggerData:{injected_video_id:null}});g["default"]=a}),98); __d("AudioContextSingleton",["FBLogger"],(function(a,b,c,d,e,f,g){var h=window.AudioContext||window.webkitAudioContext||window.mozAudioContext,i=null;a={get:function(){i==null&&(i=new h());i.state==="closed"&&(c("FBLogger")("project").warn("AudioContext Singleton has been closed"),i=new h());return i}};b=a;g["default"]=b}),98); __d("getActiveElement",[],(function(a,b,c,d,e,f){function a(a){a===void 0&&(a=document);if(a===void 0)return null;try{return a.activeElement||a.body}catch(b){return a.body}}f["default"]=a}),66); __d("ScriptPath",["ErrorGuard","SubscriptionList","TimeSlice","WebStorage","isInIframe"],(function(a,b,c,d,e,f){"use strict";var g,h,i="sp_pi",j=1e3*30,k=null,l=null,m=new(b("SubscriptionList"))(),n=null,o=[],p=b("TimeSlice").guard(function(a,c){m.getCallbacks().forEach(function(d){(g||(g=b("ErrorGuard"))).applyWithGuard(function(){d({source:k,dest:l,cause:a,extraData:c})},null,[])})},"ScriptPath Notifying callbacks",{propagationType:b("TimeSlice").PropagationType.ORPHAN});function q(){return l?l.scriptPath:void 0}function r(){var a=(h||(h=b("WebStorage"))).getSessionStorage();if(!a||b("isInIframe")())return;h.setItemGuarded(a,i,JSON.stringify({pageInfo:l,clickPoint:n,time:Date.now()}))}function a(){var a=(h||(h=b("WebStorage"))).getSessionStorageForRead();if(!a)return;var c=a.getItem(i);if(c){c=JSON.parse(c);c&&(c.time0?(o[d-1]=a,p("replace_overlay_view",b)):(o.push(a),p("open_overlay_view",b)))},closeOverlayView:function(a,b){a=o.lastIndexOf(a);if(a===-1)return;k=Object.assign({},l);l&&(a>0?l.topViewEndpoint=o[a-1]:l.topViewEndpoint=null);o=o.slice(0,a);p("close_overlay_view",b)},setClickPointInfo:function(a){n=a,r()},getClickPointInfo:function(){return n},getScriptPath:q,getCategoryToken:function(){return l?l.categoryToken:void 0},getEarlyFlushPage:function(){var a;return(a=l)==null?void 0:(a=a.extraData)==null?void 0:a.ef_page},getTopViewEndpoint:function(){var a=o.length;return a>0?o[a-1]:q()},getPageInfo:function(){return l},getSourcePageInfo:function(){return k},subscribe:function(a){return m.add(b("TimeSlice").guard(a,"ScriptPath.subscribe"))},shutdown:function(){r()}};e.exports=c}),null);/*FB_PKG_DELIM*/ __d("CometFeedUnit_feedUnit$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[b],d={alias:null,args:null,concreteType:"QuickPromotionFeedUnitItem",kind:"LinkedField",name:"quick_promotion_items",plural:!0,selections:[{alias:null,args:null,concreteType:"QuickPromotion",kind:"LinkedField",name:"quick_promotion",plural:!1,selections:c,storageKey:null}],storageKey:null};return{kind:"SplitOperation",metadata:{},name:"CometFeedUnit_feedUnit$normalization",selections:[a,{kind:"TypeDiscriminator",abstractKey:"__isFeedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"debug_info",storageKey:null},b,{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ad_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_rendering_loggers",storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"associated_group",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"context_actor_hovercard",storageKey:null},b],storageKey:null},b],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_story_civic",storageKey:null},{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitStoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"Story",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitGoodwillMemoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GoodwillCometStory",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMKQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedPeopleYouMayKnowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometReelsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"ShowcaseFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFriendRequestsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"FriendRequestsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[d,{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitQuickPromotionStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"QuickPromotionNativeTemplateFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GroupsCometGYSJFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupsYouShouldJoinFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupsSuggestionFeedUnitStrategy_unit",fragmentPropName:"unit",kind:"ModuleImport"}],type:"GroupsSuggestionUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMIQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedGroupsPeopleYouMayInviteFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMAQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PagesYouMayAdvertiseFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GeminiPYSFQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PeopleYouShouldFollowAtWorkFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometSPFFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"SuggestedPublicEntitiesToFollowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CoronavirusCommunityHelpFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"CoronavirusCommunityHelpFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometEndOfFeedUpsellStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"EndOfFeedUpsellFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometInterestBasedGYSJFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"InterestBasedGYSJFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometInterestBasedIFRFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"InterestBasedIFRFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[d],type:"QuickPromotionFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TrackingData",kind:"LinkedField",name:"trackingdata",plural:!1,selections:c,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewability_config",storageKey:null},{alias:null,args:null,concreteType:"CometClientViewConfig",kind:"LinkedField",name:"client_view_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_delay_log_impression",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_signal_imp",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_vital_imp",storageKey:null}],storageKey:null}],type:"Story",abstractKey:null}],type:"TrackableFeedUnit",abstractKey:"__isTrackableFeedUnit"}]}}();e.exports=a}),null); __d("CometFeedUnitPostRenderingLoggersContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({ad_id:null,client_token:null,post_rendering_logger_from_context:void 0});g["default"]=b}),98); __d("AdValidateImageFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1792745");c=b("FalcoLoggerInternal").create("ad_validate_image",a);e.exports=c}),null); __d("usePostRenderingLogger",["AdValidateImageFalcoEvent","CometFeedUnitPostRenderingLoggersContext","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useEffect,j=b.useRef;function a(a,b,d){var e=h(c("CometFeedUnitPostRenderingLoggersContext"));e=e.post_rendering_logger_from_context;var f=(b==null?void 0:b.includes("post_rendering_logger"))||(e==null?void 0:e.includes("post_rendering_logger")),g=j(!1);i(function(){d!==!1&&!g.current&&f===!0&&(c("AdValidateImageFalcoEvent").log(a),g.current=!0)},[a,g,f,d])}g["default"]=a}),98); __d("CometFeedStoryAttachmentCommandWidget",["createKeyCommandWidget"],(function(a,b,c,d,e,f,g){"use strict";a=c("createKeyCommandWidget")();b=a;var h=a.useKeyCommands;a.useKeyCommands=function(a){h(a,!0)};g["default"]=b}),98);