if (self.CavalryLogger) { CavalryLogger.start_js(["57TWeUf"]); } __d("MWPMenuItem.react",["cr:10012"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:10012")}),98); __d("MWChatStateV2Logging.bs",["MWCount.bs","MessengerWebEvent","MessengerWebEventsFalcoEvent.bs","bs_curry","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=h.useRef(a);h.useEffect(function(){var a=Array.from(c.current.tabs.values()),d=function(a){return a.openWatermark>Math.max(a.closeWatermark,a.minimizeWatermark,a.clientForcedMinimizeWatermark)},e=function(a){return Math.max(a.minimizeWatermark,a.clientForcedMinimizeWatermark)>Math.max(a.openWatermark,a.closeWatermark)},f=a.filter(d);d=a.filter(e);f.length>0?(b("bs_curry")._1(b("MWCount.bs").Comet.Cookie.Lift.one,void 0),b("MessengerWebEventsFalcoEvent.bs").log(function(){return{event_name:b("MessengerWebEvent").LOAD_TAB_FROM_COOKIE,extra_data:{tabNumber:f.length}}})):b("bs_curry")._1(b("MWCount.bs").Comet.Cookie.Lift.none,void 0);d.length>0?b("bs_curry")._1(b("MWCount.bs").Comet.Cookie.Show.some,void 0):b("bs_curry")._1(b("MWCount.bs").Comet.Cookie.Show.none,void 0)},[c])}f.useCookieLiftLogging=a}),null); __d("MWChatStateV2Sync.bs",["BroadcastChannel.bs","MWChatStateV2IsMinimized.bs","MWChatStateV2IsOpen.bs","MWLSActor.bs","bs_caml_format","bs_caml_option","bs_curry","bs_int64","gkx","react","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a,c){if(a!==void 0){b("bs_caml_option").valFromOption(a).postMessage(c);return}}function j(a,c){if(a===void 0)return function(a){};var d=b("bs_caml_option").valFromOption(a),e=function(a){return b("bs_curry")._1(c,a.data)};d.addEventListener("message",e);return function(a){d.removeEventListener("message",e)}}function k(a){var c=b("MWLSActor.bs").useActor(void 0);return h.useMemo(function(){return b("BroadcastChannel.bs").make("MWChatStateV2_"+b("bs_int64").to_string(c))},[c])}function l(a){a=Array.from(a.tabs.values());var c=[];a.forEach(function(a){var d=a.tabType;if(d.TAG===0)return;d=d._0;c.push({threadKey:b("bs_int64").to_string(d.threadKey),threadType:b("bs_int64").to_string(d.threadType),openWatermark:a.openWatermark,closeWatermark:a.closeWatermark})});return c}function m(a,c,d){return[{TAG:3,_0:{TAG:1,_0:{threadKey:a,clientThreadKey:void 0,threadType:c}},_1:{shouldFocus:!1},_2:function(a){if(b("MWChatStateV2IsOpen.bs").isOpen(void 0,a))return a;else return{tabId:a.tabId,tabType:a.tabType,openWatermark:a.openWatermark,minimizeWatermark:d,clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:a.closeWatermark,openFlyoutWatermark:a.openFlyoutWatermark}},_3:function(a){return{tabId:a.tabId,tabType:a.tabType,openWatermark:a.openWatermark,minimizeWatermark:d,clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:a.closeWatermark,openFlyoutWatermark:a.openFlyoutWatermark}}}]}function n(a,c){return[{TAG:2,_0:a,_1:{shouldFocus:!1},_2:function(a){if(b("MWChatStateV2IsMinimized.bs").isMinimized(void 0,a))return{tabId:a.tabId,tabType:a.tabType,openWatermark:a.openWatermark,minimizeWatermark:a.minimizeWatermark,clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:c,openFlyoutWatermark:a.openFlyoutWatermark};else return a}}]}function a(a,c,d,e){var f=k(void 0);h.useEffect(function(){if(d){b("bs_curry")._1(e,function(a){return!1});var c=l(a);i(f,c)}},[a,f,d]);h.useEffect(function(){return j(f,function(a){try{a.forEach(function(a){var d=b("bs_caml_format").caml_int64_of_string(a.threadKey),e=b("bs_caml_format").caml_int64_of_string(a.threadType),f=a.closeWatermark;a=a.openWatermark;if(a>f)return b("bs_curry")._1(c,m(d,e,a));else return b("bs_curry")._1(c,n(d,f))});return}catch(a){b("recoverableViolation")("Cross-tab sync error","messenger_comet");return}})},[f,c])}c=b("gkx")("1812710")?a:function(a,b,c,d){};f.useCrossTabSync=c}),null); __d("MWChatStateV2Types.bs",[],(function(a,b,c,d,e,f){"use strict";a=new Map();b={tabs:a,mediaViewerOpenWatermark:-1,focusedTabId:void 0,nextTabId:0};f.empty=b}),null); __d("MWV2CookieReader.bs",["MWChatStateV2Types.bs","MessagingThreadType.bs","bs_caml","bs_caml_format","bs_caml_option","bs_int64","gkx","killswitch","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";function g(a){a=a.split(".");var c=a.length,d;if(c>=3)d=[void 0,void 0];else switch(c){case 0:d=[void 0,void 0];break;case 1:c=a[0];d=[c,void 0];break;case 2:c=a[0];a=a[1];d=/^-?[1-9]\d*$/.test(a)?[c,b("bs_caml_format").caml_int64_of_string(a)]:[void 0,void 0];break}c=d[1];a=d[0];if(a===void 0)return;switch(a){case"g":if(c!==void 0)return[c,b("MessagingThreadType.bs").group];else return;case"sc":if(c!==void 0)return[c,b("MessagingThreadType.bs").secureMessageOverWaOneToOne];else return;case"sg":if(c!==void 0)return[c,b("MessagingThreadType.bs").secureMessageOverWaGroup];else return;default:if(c!==void 0)return[c,b("MessagingThreadType.bs").oneToOne];else return}}function h(a){var c=a.map(function(a){return b("bs_int64").to_string(a[0])});c=new Set(c);if(c.size!==a.length){b("recoverableViolation")("Duplicate thread in cookie (t3)","messenger_comet");return a.filter(function(a,c,d){var e=a[0];return!d.slice(c+1|0).some(function(a){return b("bs_caml").i64_eq(a[0],e)})})}else return a}function a(a){if(a==null)return b("MWChatStateV2Types.bs").empty;if(!(!b("killswitch")("MESSENGER_WEB_STOP_PERSISTING_CHAT_HEADS")&&b("gkx")("1812641")&&a.startsWith("C")))return b("MWChatStateV2Types.bs").empty;a=a.slice(1);try{a=JSON.parse(a)}catch(c){b("recoverableViolation")("Error parsing JSON string","messenger_comet"),a=null}if(a===null)return b("MWChatStateV2Types.bs").empty;var c=[];a.t3.forEach(function(a){a=a.i;a=g(a);if(a!==void 0){c.push(a);return}});var d=h(c),e=new Map(),f={contents:0};d.forEach(function(a){e.set(f.contents,{tabId:f.contents,tabType:{TAG:1,_0:{threadKey:a[0],clientThreadKey:void 0,threadType:a[1]}},openWatermark:0,minimizeWatermark:1,clientForcedMinimizeWatermark:0,closeWatermark:0,openFlyoutWatermark:0}),f.contents=f.contents+1|0});a=a.lm3;if(a!==void 0){a=g(b("bs_caml_option").valFromOption(a));if(a!==void 0){var i=a[0];d.some(function(a){return b("bs_caml").i64_eq(a[0],i)})?b("recoverableViolation")("Duplicate thread in cookie (lm3)","messenger_comet"):e.set(f.contents,{tabId:f.contents,tabType:{TAG:1,_0:{threadKey:i,clientThreadKey:void 0,threadType:a[1]}},openWatermark:1,minimizeWatermark:0,clientForcedMinimizeWatermark:0,closeWatermark:0,openFlyoutWatermark:0});f.contents=f.contents+1|0}}return{tabs:e,mediaViewerOpenWatermark:-1,focusedTabId:void 0,nextTabId:f.contents}}f.read=a}),null); __d("MWChatStateV2.bs",["FBLogger","MWChatStateV2IsOpen.bs","MWChatStateV2Logging.bs","MWChatStateV2Sync.bs","MWChatStateV2Types.bs","MWV2CookieReader.bs","MessengerWebPresenceCookieData","RecoverableViolationWithComponentStack.react","bs_caml","bs_curry","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a,c){a=Array.from(a.tabs.values()).find(function(a){a=a.tabType;if(a.TAG===0)if(c.TAG===0)return!0;else return!1;else if(c.TAG===0)return!1;else return b("bs_caml").i64_eq(a._0.threadKey,c._0.threadKey)});if(a!==void 0)return a.tabId}function j(a,c){a=Array.from(a.tabs.values()).find(function(a){a=a.tabType;if(a.TAG===0)return c===void 0;else if(c!==void 0)return b("bs_caml").i64_eq(a._0.threadKey,c);else return!1});if(a!==void 0)return a.tabId}function k(a,c,d){if(d)if(b("MWChatStateV2IsOpen.bs").isOpen(void 0,c))return c.tabId;else return;else return a.focusedTabId}function l(a,b){return b.reduce(function(a,b){b=b;while(!0){var c=b;switch(c.TAG|0){case 0:return c._0(a);case 1:var d=c._0,e=a.tabs.get(d);if(e==null)return a;var f=c._2(e),g=k(a,f,c._1.shouldFocus);if(f===e)return a;else return{tabs:new Map(a.tabs).set(d,f),mediaViewerOpenWatermark:a.mediaViewerOpenWatermark,focusedTabId:g,nextTabId:a.nextTabId};case 2:e=j(a,c._0);if(e===void 0)return a;b={TAG:1,_0:e,_1:c._1,_2:c._2};continue;case 3:d=c._1;f=c._0;g=i(a,f);if(g!==void 0){b={TAG:1,_0:g,_1:d,_2:c._2};continue}e=a.nextTabId;g={tabId:e,tabType:f,openWatermark:0,minimizeWatermark:0,clientForcedMinimizeWatermark:0,closeWatermark:0,openFlyoutWatermark:0};e=c._3(g);f=k(a,e,d.shouldFocus);return{tabs:new Map(a.tabs).set(e.tabId,e),mediaViewerOpenWatermark:a.mediaViewerOpenWatermark,focusedTabId:f,nextTabId:a.nextTabId+1|0}}}},a)}function m(a){return b("MWV2CookieReader.bs").read(b("MessengerWebPresenceCookieData").cookie)}var n=h.createContext(b("MWChatStateV2Types.bs").empty),o=h.createContext(void 0);function a(a){a=a.children;var c=h.useReducer(l,b("MWChatStateV2Types.bs").empty,m),d=c[1];c=c[0];var e=h.useState(function(){return!1}),f=e[1],g=h.useCallback(function(a){b("bs_curry")._1(f,function(a){return!0});return b("bs_curry")._1(d,a)},[]);b("MWChatStateV2Logging.bs").useCookieLiftLogging(c);b("MWChatStateV2Sync.bs").useCrossTabSync(c,d,e[0],f);e=h.useContext(o);if(e!==void 0)return h.jsx(b("RecoverableViolationWithComponentStack.react"),{errorMessage:"You can't nest MWChatStateV2 in another MWChatStateV2.",projectName:"messenger_comet"});else return h.createElement(n.Provider,{value:c,children:h.createElement(o.Provider,{value:g,children:a})})}function c(a){a=h.useContext(o);if(a!==void 0)return a;else return function(a){b("FBLogger")("messenger_web_product").warn("Tried to open a chat tab on Comet under the new chat state system, MWChatStateV2. But no MWChatStateV2 was found in react context. Wrap your component in MWChatStateV2? You are likely also be part of Blue on Comet. If so do ping our oncall")}}function d(a){return h.useContext(n)}e=a;f.reducer=l;f.make=e;f.useDispatch=c;f.useState=d}),null); __d("MWThreadListHoverButtonDropdownMenuIcons.bs",["cr:1734763"],(function(a,b,c,d,e,f){"use strict";c=(a=b("cr:1734763")).MarkAsReadOrUnread;d=a.MuteConversation;e=a.ViewProfile;b=a.SecretConversation;var g=a.AudioCall,h=a.VideoChat,i=a.HideConversation,j=a.UnhideConversation,k=a.DeleteConversation,l=a.AppMessenger,m=a.LeaveChat,n=a.SomethingIsWrong,o=a.Report;f.$MDSThreadListHoverButtonDropdownMenuIcons$OR$TetraThreadListHoverButtonDropdownMenuIcons$requireCond=a;f.MarkAsReadOrUnread=c;f.MuteConversation=d;f.ViewProfile=e;f.SecretConversation=b;f.AudioCall=g;f.VideoChat=h;f.HideConversation=i;f.UnhideConversation=j;f.DeleteConversation=k;f.AppMessenger=l;f.LeaveChat=m;f.SomethingIsWrong=n;f.Report=o}),null); __d("MWChatSettingsDeleteConversation.bs",["fbt","CometLazyDialogTrigger.react","JSResource","MWPMenuItem.react","MWThreadListHoverButtonDropdownMenuIcons.bs","ODS","bs_curry","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react"),j=g._(/*FBT_CALL*/"Excluir bate-papo"/*FBT_CALL*/);function a(a){var c=a.disabled,d=a.onClick;a=a.thread;var e=c!==void 0?c:!1;return i.jsx(b("CometLazyDialogTrigger.react"),{dialogResource:b("JSResource")("MWChatDeleteConversationDialogForJSResource.react").__setRef("MWChatSettingsDeleteConversation.bs"),dialogProps:{defaultTitle:j,onClose:function(a){},onDeleteConversation:d,thread:a},children:function(a,c){return i.jsx(b("MWPMenuItem.react"),{primaryText:j,onClick:function(c){b("ODS").bumpEntityKey(3185,"mwchat_settings","delete");return b("bs_curry")._1(a,void 0)},icon:b("MWThreadListHoverButtonDropdownMenuIcons.bs").DeleteConversation.icon,ref:c,disabled:e,testid:"messenger_settings_delete_menu"})}})}c=a;f.label=j;f.make=c}),null); __d("MWChatUnmuteThread.bs",["LS.bs","LSMailboxType.bs","LSMuteCallsFromThread","LSOptimisticMuteThread","LSTransaction.bs","ReStore.bs","bs_caml","bs_caml_format","bs_caml_int64","bs_curry","bs_int64","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("bs_caml_int64").zero;return h.useCallback(function(a){var e=b("bs_int64").to_string(a.a);b("bs_caml").i64_neq(a.l,d)&&b("LSTransaction.bs").run(c,function(a){return b("LSOptimisticMuteThread")(b("bs_caml_format").caml_int64_of_string(e),b("LSMailboxType.bs").messenger,b("bs_caml_int64").zero,b("bs_curry")._1(b("LS.bs").make,a))},"readWrite");if(b("bs_caml").i64_neq(a.bc,d)){b("LSTransaction.bs").run(c,function(a){return b("LSMuteCallsFromThread")(b("bs_caml_format").caml_int64_of_string(e),b("LSMailboxType.bs").messenger,b("bs_caml_int64").zero,void 0,b("bs_curry")._1(b("LS.bs").make,a))},"readWrite");return}},[c])}f.useHook=a}),null); __d("MessengerMuteUtils.bs",["fbt","DateStrings","bs_caml_int64","formatDate"],(function(a,b,c,d,e,f,g){"use strict";function a(a){if(a<=0)if(a===-1)return g._(/*FBT_CALL*/"Desativado indefinidamente"/*FBT_CALL*/);else return;if(a<86401)return;var c=new Date(a*1e3).getDay(),d=c===new Date().getDay(),e=c===new Date().getDay()+1;if(e)return g._(/*FBT_CALL*/"Desativado at\u00e9 amanh\u00e3 \u00e0s {time}"/*FBT_CALL*/,[g._param("time",b("formatDate")(a,"g:ia"))]);else if(d)return g._(/*FBT_CALL*/"Desativado at\u00e9 {time}"/*FBT_CALL*/,[g._param("time",b("formatDate")(a,"g:ia"))]);else return g._(/*FBT_CALL*/"Desativadas at\u00e9 {time} de {weekday name}"/*FBT_CALL*/,[g._param("time",b("formatDate")(a,"g:ia")),g._param("weekday name",b("DateStrings").getWeekdayName(c))])}function c(a){if(a)return g._(/*FBT_CALL*/"Reativar conversa"/*FBT_CALL*/);else return g._(/*FBT_CALL*/"Silenciar conversa"/*FBT_CALL*/)}function d(a,b){if(a===void 0)return g._(/*FBT_CALL*/"Silenciar conversa"/*FBT_CALL*/);switch(a){case 0:return g._(/*FBT_CALL*/"Silenciar notifica\u00e7\u00f5es de mensagem"/*FBT_CALL*/);case 1:return g._(/*FBT_CALL*/"Silenciar notifica\u00e7\u00f5es de liga\u00e7\u00e3o"/*FBT_CALL*/);case 2:return g._(/*FBT_CALL*/"Silenciar notifica\u00e7\u00f5es de mensagem e de liga\u00e7\u00e3o"/*FBT_CALL*/)}}function e(a){var c,d=Math.min((c=b("bs_caml_int64")).to_float(a.l),c.to_float(a.bc));c=Math.max(c.to_float(a.l),c.to_float(a.bc));if(d===-1)return-1;else return c}f.mutedUntilLabel=a;f.muteActionLabel=c;f.muteDialogTitle=d;f.calcMuteUntilMs=e}),null); __d("MWChatSearchTypeaheadDataEntry",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=a}var b=a.prototype;b.getKey=function(){return this.$1.id};b.getLabel=function(){return this.$1.displayName};b.getRawData=function(){return this.$1};b.getResultType=function(){return this.$1.resultType};b.getIsInstagramAccount=function(){var a;return(a=this.$1.isInstagramAccount)!=null?a:!1};b.getIsInteropIneligible=function(){return this.$1.isInteropEligible===!1};b.getIsInteropEligible=function(){return this.$1.isInteropEligible===!0};b.getIsGxacIneligible=function(){return this.$1.isGroupsXacEligible===!1};b.getIsGxacEligible=function(){return this.$1.isGroupsXacEligible===!0};a.fromSearchResult=function(b){var c;return new a({displayName:b.displayName,id:b.id,imageUrl:b.imageUrl,isContact:b.isContact,isE2e:b.isE2e,isGroupsXacEligible:b.isGroupsXacEligible,isInstagramAccount:b.isInstagramAccount,isInteropEligible:b.isInteropEligible,resultType:b.resultType,secondaryImageUrl:(c=b.secondaryImageUrl)!=null?c:"",section:b.section,serverSearchResult:b.serverSearchResult,subtext:b.subtext,verificationStatus:b.isVerified?"BLUE_VERIFIED":"NOT_VERIFIED"})};return a}();f["default"]=a}),66); __d("MNetContactItemType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];b=[0,4];var g=[0,5],h=[0,6],i=[0,7],j=[0,8],k=[0,9],l=[0,10],m=[0,11];f.contact=a;f.nonContact=c;f.group=d;f.page=e;f.bot=b;f.game=g;f.igUser=h;f.igThread=i;f.sticker=j;f.interopThread=k;f.msgrThread=l;f.textSuggestion=m}),null); __d("MWChatSearchFetchContactRecommendations.bs",["LSContactBitOffset.bs","LSContactCapabilityBitOffset.bs","LSDatabaseDeferred.bs","LSDatabaseType.bs","LSSearchType.bs","MNetContactItemType.bs","MNetRankType.bs","MWChatTemporarySearchResult.bs","MWLSContactTypeExactUtils.bs","MWLSDatabaseLazySync.bs","MessagingThreadType.bs","Promise","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_caml","bs_caml_int64","bs_curry","bs_int64","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a){if(a<0)return-1;else if(a>0)return 1;else return 0}function j(a){return a.sort(function(a,b){var c=b[1];b=b[0];var d=a[1];a=a[0];if(b.c!==a.c)return i(b.c-a.c);else if(d!==void 0)if(c!==void 0)return i(c.o-d.o);else return-1;else if(c!==void 0)return 1;else return 0})}function k(a){var c=[];a.forEach(function(a,d){var e=a[1];if(e===void 0)return;a=a[0];var f=a.b;a=a.b;var g=e.K,h=b("bs_int64").to_string(e.a);d=b("bs_caml_int64").of_int32(d);f=b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").contact)?b("LSSearchType.bs").contact:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").group)?b("LSSearchType.bs").group:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").page)?b("LSSearchType.bs").page:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").nonContact)?b("LSSearchType.bs").noncontact:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").igThread)||b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").interopThread)||b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").msgrThread)?b("LSSearchType.bs").integratedMessageSearchThread:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").igUser)?b("LSSearchType.bs").igContactFollowing:b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").bot)||b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").game)||b("bs_caml").i64_eq(f,b("MNetContactItemType.bs").sticker)?b("LSSearchType.bs").page:b("LSSearchType.bs").noncontact;a=b("bs_caml").i64_eq(a,b("MNetContactItemType.bs").group)?b("MessagingThreadType.bs").group:b("MessagingThreadType.bs").oneToOne;var i=e.h,j=e.b;g=g!==void 0?g:"";var k=e.n,l=b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").verified,e),m=b("MWLSContactTypeExactUtils.bs").isIgContact(e)?b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").isXacEligible,e):void 0,n=b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").isGroupsXacEligible,e);h={a:"",b:h,c:d,d:f,e:a,f:i,g:j,h:void 0,i:g,j:void 0,k:void 0,l:k,m:l,n:m,o:n};d=b("MWChatTemporarySearchResult.bs").fromServerSearchResult(h,void 0);c.push([d,e])});return c}function l(a,c){return b("ReQL.bs").leftJoin(b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"ranking_scores").index("scoreTypeContactId").asc,{hd:c,tl:0}),b("ReQLTable").table(a,"contacts").asc)}function m(a,c){var d=a!==void 0?a:b("MNetRankType.bs").messengerUserSearchNullstate,e=b("ReStore.bs").useHook(void 0),f=b("ReQLSubscription.bs").useArray(h.useMemo(function(){return l(e,d)},[d,e]));return h.useMemo(function(){return k(j(f))},[f])}function a(a){var c=b("MWLSDatabaseLazySync.bs").useSync(b("LSDatabaseType.bs").ranking);a=m(b("MNetRankType.bs").inboxActiveNow,void 0);h.useEffect(function(){b("bs_curry")._1(c,void 0)},[c]);return a.length}function c(a,c){var d=a!==void 0?a:b("MNetRankType.bs").messengerUserSearchNullstate;return b("LSDatabaseDeferred.bs").db.then(function(a){return b("ReQL.bs").toArray(l(a,d)).then(function(a){return b("Promise").resolve(k(j(a)))})})}f.sortInPlaceQueryResults=j;f.mapToServerSearchResults=k;f.makeQuery=l;f.useHook=m;f.useActiveContactCount=a;f.fetchRecommendations=c}),null); __d("TetraThreadListHoverButtonDropdownMenuIcons.bs",["ix","fbicon"],(function(a,b,c,d,e,f,g){"use strict";c=(a=b("fbicon"))._(g("477820"),20);d={icon:c};e=a._(g("532356"),20);b={icon:e};c=a._(g("652791"),20);e={icon:c};c={On:b,Off:e};b=a._(g("558623"),20);e={icon:b};b=a._(g("497248"),20);b={icon:b};var h=a._(g("558164"),20);h={icon:h};var i=a._(g("493176"),20);i={icon:i};var j=a._(g("577043"),20);j={icon:j};var k=a._(g("510235"),20);k={icon:k};var l=a._(g("483829"),20);l={icon:l};var m=a._(g("505620"),20);m={icon:m};var n=a._(g("538183"),20);n={icon:n};var o=a._(g("502065"),20);o={icon:o};a=a._(g("490583"),20);g={icon:a};f.MarkAsReadOrUnread=d;f.MuteConversation=c;f.ViewProfile=e;f.SecretConversation=b;f.AudioCall=h;f.VideoChat=i;f.HideConversation=j;f.UnhideConversation=k;f.DeleteConversation=l;f.AppMessenger=m;f.LeaveChat=n;f.SomethingIsWrong=o;f.Report=g}),null); __d("ZenonActorHooks",["CurrentUser","FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h=null,i=null,j=null,k=!1,l=!1,m=new Set();function n(a,b){b===void 0&&(b="Fallback to CurrentUser"),m.has(a)||(c("FBLogger")("rtc_www").blameToPreviousFrame().info("ZenonActor."+a+" - "+b),m.add(a))}function a(){return[o.getID(),function(a){n("useZenonActor:setter","This setter should not be used as Zenon should currently doesn't allow switching Actor"),h=a}]}function b(a,b,c){b===void 0&&(b=!1);c===void 0&&(c=!1);if(h!==null){if(l)return;n("initZenonActor","ZenonActor is being reinitalized. This may indicate unneccessary ZenonActorProvider's to RelayEnvironmentProvider's in the component tree.")}l=l||b;k=k||c;typeof a==="string"||typeof a==="number"?(h=a.toString(),i=null,j=null):(a==null?void 0:a.actorID)!=null&&(h=a.actorID.toString(),i=a.name,j=a.shortName)}var o={getAccountID:function(){return c("CurrentUser").getAccountID()},getAppID:function(){return c("CurrentUser").getAppID()},getID:function(){if(h===null){n("getID");return c("CurrentUser").getID()}else return h},getName:function(){var a;return(a=i)!=null?a:c("CurrentUser").getName()},getShortName:function(){var a;return(a=j)!=null?a:c("CurrentUser").getShortName()},isEmployee:function(){return c("CurrentUser").isEmployee()},isLoggedIn:function(){return c("CurrentUser").isLoggedIn()},isLoggedInNow:function(){return c("CurrentUser").isLoggedInNow()},isMessengerCallGuestUser:function(){return c("CurrentUser").isMessengerCallGuestUser()},isPage:function(){return k},isTestUser:function(){return c("CurrentUser").isTestUser()},isWorkUser:function(){return c("CurrentUser").isWorkUser()}};g.useZenonActor=a;g.initZenonActor=b;g.ZenonActor=o}),98); __d("ZenonSDESKeyDetector",[],(function(a,b,c,d,e,f){"use strict";var g=/inline:\s*[0-9a-zA-z+/]{40}(\b|\s|$)/;function a(a){return g.test(JSON.stringify(a))}f["default"]=a}),66); __d("ZenonScreenShare",["UserAgent","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return a.length===1&&((a=a[0])==null?void 0:a.contentType)==="screen"}function b(){var a;return c("UserAgent").isBrowser("Safari")?!0:!(c("gkx")("1667037")||((a=c("qex")._("390"))!=null?a:!1))}g.isScreenSharingTrack=a;g.screenShareWithReplaceTrack=b}),98); __d("ZenonBrowsers",["UserAgent","UserAgentData"],(function(a,b,c,d,e,f,g){"use strict";function h(){return c("UserAgent").isBrowser("Chrome")}function i(){return!!navigator.webkitGetUserMedia}function j(){return c("UserAgent").isBrowser("Edge (Chromium Based)")}function k(){return c("UserAgent").isBrowser("Safari")}function l(){return c("UserAgent").isBrowser("Firefox")}function m(){return c("UserAgent").isBrowser("Mobile Safari")}function n(){return c("UserAgent").isBrowser("Oculus Browser")}function o(){return c("UserAgent").isBrowser("Samsung Browser")}function a(){return m()||c("UserAgent").isPlatform("Android")||o()}function p(){return c("UserAgent").isPlatform("Android")||c("UserAgent").isPlatform("iOS")}function q(){if(l()||h()||j())return c("UserAgentData").browserVersion||0;if(i()){var a=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return a!=null?parseInt(a[2],10):999}return 0}function r(){return c("UserAgent").isBrowser("FBLite")||c("UserAgent").isBrowser("Facebook for Android")}function b(a){if(!r())return!1;var b=q();return b>=a}function d(){return l()||k()||m()||n()?!1:q()<90}function e(){return l()}function f(){return l()||k()}function s(){return!p()&&(c("UserAgent").isBrowser("Chrome >= 51")||c("UserAgent").isBrowser("Opera >= 36"))}function t(){return c("UserAgent").isBrowser("Firefox < 60")||c("UserAgent").isBrowser("Edge")}function u(){return!n()}function v(){return!n()}g.isChrome=h;g.isChromium=i;g.isChromiumBasedEdge=j;g.isDesktopSafari=k;g.isFirefox=l;g.isMobileSafari=m;g.isOculusBrowser=n;g.isSamsung=o;g.isSupportedMobileBrowser=a;g.isMobileDevice=p;g.webrtcVersion=q;g.isFBWebview=r;g.isFBWebviewWithChromeMinVersion=b;g.isDataChannelSupported=d;g.noTransceiverForNegotiations=e;g.onlySupportsUnifiedPlan=f;g.isVideoFilterEffectSupported=s;g.videoEscalationByUnmuteWorkaround=t;g.supportsMWAVEscalation=u;g.supportsVideoCalls=v}),98); __d("ZenonEndCallReason",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({BREAKOUT_SESSION_SWITCH_ROOM:"BreakoutSessionSwitchRoom",CALL_END_ACCEPT_AFTER_HANG_UP:"CallEndAcceptAfterHangUp",CALLER_NOT_VISIBLE:"CallerNotVisible",CAMERA_PERMISSION_DENIED:"CameraPermissionDenied",CARRIER_BLOCKED:"CarrierBlocked",CLIENT_ENCRYPTION_ERROR:"ClientEncryptionError",CLIENT_ERROR:"ClientError",CLIENT_INTERRUPTED:"ClientInterrupted",CONNECTION_DROPPED:"ConnectionDropped",HANGUP_CALL:"HangupCall",IGNORE_CALL:"IgnoreCall",IN_ANOTHER_CALL:"InAnotherCall",INACTIVE_TIMEOUT:"InactiveTimeout",INCOMING_TIMEOUT:"IncomingTimeout",MAX_ALLOWED_PARTICIPANTS_REACHED:"MaxAllowedParticipantsReached",MICROPHONE_PERMISSION_DENIED:"MicrophonePermissionDenied",NO_ANSWER_TIMEOUT:"NoAnswerTimeout",NO_PERMISSION:"NoPermission",NO_UI_SHOWN:"NoUIShown",OTHER_CARRIER_BLOCKED:"OtherCarrierBlocked",OTHER_INSTANCE_HANDLED:"OtherInstanceHandled",OTHER_NOT_CAPABLE:"OtherNotCapable",RING_MUTED:"RingMuted",SESSION_MIGRATED:"SessionMigrated",SIGNALING_MESSAGE_FAILED:"SignalingMessageFailed",TX_ACK_TIMEOUT:"TxAckTimeout",UNEXPECTED_END_OF_CALL:"UnexpectedEndOfCall",UNKNOWN:"Unknown",VERSION_UNSUPPORTED:"VersionUnsupported",WEBRTC_ERROR:"WebRTCError"});c=a;f["default"]=c}),66); __d("ZenonIncomingRingSDKTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["Hangup","OtherDismiss"]);f.ZenonCancelReason=a}),66); __d("fbwebrtc_ClientStack",[],(function(a,b,c,d,e,f){a=Object.freeze({OLD_CLIENT_PLATFORM_STACK:0,RSYS_X:1,IG_OLD_STACK:2,MLITE_OLD_STACK:3,SCOTCH:4,ZENON:5});f["default"]=a}),66); __d("multiway_ApprovalStatus",[],(function(a,b,c,d,e,f){a=Object.freeze({DENIED:0,APPROVED:1});f["default"]=a}),66); __d("multiway_Capability",[],(function(a,b,c,d,e,f){a=Object.freeze({SUPPORT_AUDIO_DEPRECATED:0,SUPPORT_VIDEO_DEPRECATED:1,SUPPORT_EXPERIMENTS_IN_JOIN_RESPONSE:2,SUPPORT_NEW_PARTICIPANT_STATES:3,SUPPORT_SDP_RENEGOTIATION:4,SUPPORT_MWPP:5,REQUIRE_FULL_SDP_IN_SMU:6,SUPPORT_PRECONNECT:7,SUPPORT_MWPP_DEESCALATION:8,SUPPORT_PARTICIPANT_STATE_UNCALLABLE:9,SUPPORT_MULTIPLE_VIDEO_STREAMS:10,REQUIRE_FULL_SDP_IN_SMU_OPTIMIZED:11});f["default"]=a}),66); __d("multiway_ClientEventType",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,MEDIA_CONNECTED:1});f["default"]=a}),66); __d("multiway_ConferenceType",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,GROUP:1,LIVE:3,MESSENGER:5,ALOHA:6,IGLIVE:8,IGVIDEOCALL:9,OCULUS:10,WATCH:13,GUEST:14,ROOM:15,DEBUGTOOL:16,ROBOCALL:17,DARWIN:19,CRUCIBLE:20});f["default"]=a}),66); __d("multiway_DeviceStatus",[],(function(a,b,c,d,e,f){a=Object.freeze({OK:0,NOT_SUPPORTED:1,IN_ANOTHER_CALL:10});f["default"]=a}),66); __d("multiway_DismissReason",[],(function(a,b,c,d,e,f){a=Object.freeze({CALL_ENDED:0,ANSWERED_ON_ANOTHER_DEVICE:1,IN_ANOTHER_CALL:2,CONNECTION_DROPPED:3,REJECTED_ON_ANOTHER_DEVICE:4,REMOVED_BY_PARTICIPANT:5,REJECTED_BY_CALLEE:6,INTERNAL_ERROR:7,CALL_ENDED_BY_PRODUCT:9,JOIN_APPROVAL_DENIED:10,JOIN_APPROVAL_TIMEDOUT:11,UNSUPPORTED_VERSION:12,LIVE_NOT_ACKED:13,TX_ACK_TIMEDOUT:14,ANSWERED_BY_OTHER_USER:15,PARTICIPANT_SELF_TERMINATION:16,PARTICIPANT_REJOIN:17});f["default"]=a}),66); __d("multiway_EndpointServiceType",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,COMPOSITING_SERVICE:1});f["default"]=a}),66); __d("multiway_HangupReason",[],(function(a,b,c,d,e,f){a=Object.freeze({IGNORE_CALL:0,HANGUP_CALL:1,NO_ANSWER_TIMEOUT:2,CLIENT_ERROR:3,IN_ANOTHER_CALL:4,CLIENT_INTERRUPTED:5,SESSION_MIGRATED:6,E2EE_MANDATED_BUT_OFFER_DID_NOT_CONTAIN_E2EE:7,E2EE_MANDATED_BUT_ANSWER_DID_NOT_NEGOTIATE_E2EE:8,WEBRTC_ERROR:9,CONNECTION_DROPPED:10});f["default"]=a}),66); __d("multiway_MediaPath",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,SFU:1,P2P:2});f["default"]=a}),66); __d("multiway_MediaPauseStatus",[],(function(a,b,c,d,e,f){a=Object.freeze({NotPaused:0,Paused:1});f["default"]=a}),66); __d("multiway_MessageTag",[],(function(a,b,c,d,e,f){a=Object.freeze({PRANSWER:1001,INITIAL_ANSWER_TO_P2P_CALLER:1002,DEESCALATE_OFFER_TO_P2P_CALLEE:1003,DEESCALATE_ANSWER_TO_P2P_CALLER:1004,REQUEST_DEESCALATE_TO_P2P_CALLER:1005,REQUEST_ESCALATE:1006,REQUEST_CLIENT_FULL_RENEGOTIATION_TO_ADMIT_FROM_WAITINGROOM:1007,REQUEST_CLIENT_FULL_RENEGOTIATION_AGAINST_MWS:1008,PARTICIPANT_ADDED:1009,PARTICIPANT_REMOVED:1010,FIRST_REMOTE_ALERTED_FOR_INITIATOR:2001,FIRST_REMOTE_ANSWERED_FOR_INITIATOR:2002,CONTAIN_PENDING_APPROVAL_PARTICIPANTS:2003});f["default"]=a}),66); __d("multiway_MessageType",[],(function(a,b,c,d,e,f){a=Object.freeze({JOIN:0,SERVER_MEDIA_UPDATE:1,HANGUP:2,ICE_CANDIDATE:3,RING:4,DISMISS:5,CONFERENCE_STATE:6,ADD_PARTICIPANTS:7,SUBSCRIPTION:8,CLIENT_MEDIA_UPDATE:9,DATA_MESSAGE:10,REMOVE_PARTICIPANTS:11,PING:18,P2P_PROTOCOL:19,UPDATE:20,NOTIFY:21,CONNECT:22,CLIENT_EVENT:23,UNSUBSCRIBE:25,APPROVAL:26});f["default"]=a}),66); __d("multiway_ParticipantCallState",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,DISCONNECTED:1,NO_ANSWER:2,REJECTED:3,UNREACHABLE:4,CONNECTION_DROPPED:5,CONTACTING:6,RINGING:7,CONNECTING:8,CONNECTED:9,PARTICIPANT_LIMIT_REACHED:10,IN_ANOTHER_CALL:11,RING_TYPE_UNSUPPORTED:12,PENDING_APPROVAL:13,APPROVED:14,FAILED_APPROVAL:15,HANGUP_IN_WAITING_ROOM:16,UNCALLABLE:17});f["default"]=a}),66); __d("multiway_RingType",[],(function(a,b,c,d,e,f){a=Object.freeze({GROUP_AUDIO_CALL:0,PEER_VIDEO_CALL:1,PEER_AUDIO_CALL:2,GROUP_VIDEO_CALL:3,LIVE_STREAM:4,PEER_ESCALATED_VIDEO_CALL:5,PEER_ESCALATED_AUDIO_CALL:6});f["default"]=a}),66); __d("multiway_RtcResponseStatusCode",[],(function(a,b,c,d,e,f){a=Object.freeze({OK:200,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,METHOD_NOT_ALLOWED:406,CONFLICT:409,CONDITIONAL_REQUEST_FAILED:412,SERVER_INTERNAL_ERROR:500,SERVICE_UNAVAILABLE:503});f["default"]=a}),66); __d("multiway_RtcResponseSubCode",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:1e3,EXCEEDED_MAX_ALLOWED_PARTICIPANTS:1001,MEMBERSHIP_CHECK_FAIL:1002,CONFERENCE_THROTTLED:1003,ENDPOINT_THROTTLED:1004,MWS_MESSAGE_SENT_TO_INCORRECT_REGION:1005,UNSUPPORTED_REQUEST_TYPE:2e3,CLIENT_REQUEST_UNACCEPTABLE:2001,CLIENT_RESPONSE_UNACCEPTABLE:2002,RING_RESPONSE_BODY_NOT_SET:2004,SERVER_MEDIA_UPDATE_RESPONSE_BODY_NOT_SET:2005,INVALID_SDP:2006,INVALID_CONFERENCE_NAME:2007,SERVER_INFO_CONFERENCE_NAME_MISMATCH:2008,INVALID_USER_ID:2009,INCORRECT_VERSION_RANGE:2010,SENDER_ID_MISMATCH:2011,RECIPIENT_NOT_SPECIFIED:2012,FIELD_NOT_ALLOWED:2013,USERS_NOT_SPECIFIED:2015,REQUEST_UNACCEPTABLE_FOR_ENDPOINT_STATE:2016,INVALID_CALL_ID:2017,SESSION_DESCRIPTION_ID_MISMATCH:2018,EMPTY_CLIENT_MEDIA_UPDATES:2019,INVALID_SERVER_INFO_DATA:2020,INCORRECT_STATE_VERSION:2021,MISMATCHED_STATE_FOR_VERSION:2022,INVALID_STATE_VERSION:2023,NO_RESOLVER_FOUND:2024,MISSING_APPROVERLIST:2025,FULL_SDP_REQUIRED_IN_APPROVED_STATE:2026,INVALID_BROADCAST_ID:2027,INVALID_ENDPOINT_CONFIG:2028,INVALID_E2EE_STATE:2029,SFU_MODE_PREVENTED:2030,INVALID_CONFERENCE_STATE:2031,JOIN_REQUEST_DENIED:2032,MISSING_BODY_ENDPOINT:2101,MISSING_BODY_HEADER:2102,MISSING_BODY_BODY:2103,MISSING_BODY_PARAMS:2104,MISSING_BODY_REMOVE_PARTICIPANTS_REQUEST:2105,MISSING_BODY_DATA_MESSAGE_REQUEST:2106,MISSING_BODY_CLIENT_MEDIA_UPDATE_REQUEST:2107,MISSING_BODY_ADD_PARTICIPANTS_REQUEST:2108,MISSING_BODY_SUBSCRIPTION_REQUEST:2110,MISSING_BODY_JOIN_REQUEST:2111,MISSING_BODY_HANGUP_REQUEST:2112,MISSING_BODY_ICE_CANDIDATE_REQUEST:2113,MISSING_BODY_P2P_MESSAGE_REQUEST:2114,MISSING_BODY_UPDATE_REQUEST:2115,MISSING_BODY_CLIENT_EVENT_REQUEST:2116,MISSING_BODY_CONNECT_REQUEST:2117,MISSING_BODY_UNSUBSCRIBE_REQUEST:2118,MISSING_BODY_APPROVAL_REQUEST:2119,MISSING_ENDPOINT_USER_ID:2120,EMPTY_ENDPOINT_USER_ID:2121,MISSING_BODY_GENERIC:2199,REQUESTOR_NOT_MEMBER_CONFERENCE:3002,NOT_BROADCAST_OWNER:3003,GUEST_NOT_INVITED:3004,GUEST_DISCONNECTED:3005,GUEST_INVITATION_EXPIRED:3006,SHOULD_USE_NEW_SIGNALING_PATH:3007,PARTICIPANT_IN_PENDING_APPROVAL_STATE:3008,BROADCAST_ALREADY_STOPPED:4002,FAILED_TO_GENERATE_SDP_ANSWER:4003,FAILED_GENERATE_SESSION_DESCRIPTION:4004,SDP_SESSION_ID_MISMATCH:4005,MEDIA_ENDPOINT_GONE:4007,MEDIA_ENDPOINT_ALREADY_EXISTS:4008,MEDIA_ENDPOINT_EXISTS_DIFFERENT_SESSION_ID:4009,LEGACY_MESSENGER_SENDER_UNSET:4010,FAILED_TO_SET_TRANSPORT_INFO:4011,NON_PRIMARY_MULTIWAY_SERVER:4012,FAILED_TO_GET_REMOTE_DESCRIPTION:4013,LOCAL_DESCRIPTION_NOT_SET:4014,INVALID_SDP_TYPE:4015,CLIENT_MEDIA_UPDATE_WITHOUT_REMOTE_SDP_INFO:4016,SDP_UNSET_ON_P2P_ANSWER:4017,MISSING_ICE_CANDIDATE_PAYLOAD:4018,P2P_PROTOCOL_UNSET:4019,CREATE_ACK_FOR_INVALID_MESSAGE_TYPE:4020,LEGACY_CLIENT_CANNOT_JOIN_SFU_MODE:4021,CONNECT_UNSUPPORTED_IN_SFU_MODE:4022,CONNECT_UNSUPPORTED_FOR_JOINED_ENDPOINTS:4023,RESOLVE_STATE_API_ERROR:4024,EXTERNAL_RESOLUTION_ERROR:4025,INTERNAL_RESOLUTION_ERROR:4026,RESOLUTION_DISABLED:4027,BROADCAST_ID_MISSING:4028,SDP_UNSET_ON_P2P_OFFER:4029,LIVESTREAM_INPUT_DESERIALIZATION_FAILED:4030,LEGACY_OFFER_MISSING_REQUIRED_VALUE:4031,MEDIA_SERVER_STATE_SYNC_DESERIALIZATION_ERROR:4032,CONNECT_UNSUPPORTED_FOR_PRECONNECTED_USERS:4033,OTHER_USER_ANSWERED_THE_CALL:4034,MEDIA_SERVER_DESERIALIZATION_ERROR:4035,REMOTE_SDP_TRACKID_MISMATCH:4036,CONFERENCE_NOT_FOUND:5001,CONFERENCE_IS_TERMINATING:5002,CONFERENCE_IS_TERMINATED:5003,CONFERENCE_NAME_EMPTY:5004,NONCE_EMPTY:5005,NONCE_MISMATCH:5006,CONFERENCE_HAS_GONE:5007,PARTICIPANT_HAS_GONE:5008,MEDIA_SERVER_NOT_FOUND:5009,MEDIA_CODECS_UNSUPPORTED_BY_CONFERENCE:6001,CONFERENCE_INCAPABLE_RENEGOTIATION:6002,REJECTING_CMU_WHEN_SMU_PENDING:6003,PARTICIPANT_NOT_SUBSCRIBED_TO_TOPIC:6004,PARTICIPANT_ALREADY_IN_WAITING_ROOM:6005,PARTICIPANT_NOT_IN_PENDING_APPROVAL:6006,USER_NOT_APPROVER_FOR_TARGET_USER:6007,UNSUPPORTED_CAPABILITIES:6008,OK:9e3});f["default"]=a}),66); __d("multiway_SubscriptionType",[],(function(a,b,c,d,e,f){a=Object.freeze({CNAME:0,TRACK:1,DOMINANT_SPEAKER:2});f["default"]=a}),66); __d("multiway_VideoQuality",[],(function(a,b,c,d,e,f){a=Object.freeze({LOW:0,MEDIUM:1,HIGH:2,HD:3,NUM_QUALITIES:4});f["default"]=a}),66); __d("ZenonMWMessageTypes",["$InternalEnum","fbwebrtc_ClientStack","multiway_ApprovalStatus","multiway_Capability","multiway_ClientEventType","multiway_ConferenceType","multiway_DeviceStatus","multiway_DismissReason","multiway_EndpointServiceType","multiway_HangupReason","multiway_MediaPath","multiway_MediaPauseStatus","multiway_MessageTag","multiway_MessageType","multiway_ParticipantCallState","multiway_RingType","multiway_RtcResponseStatusCode","multiway_RtcResponseSubCode","multiway_SubscriptionType","multiway_VideoQuality"],(function(a,b,c,d,e,f,g){"use strict";a=b("$InternalEnum")({DEFAULT_AUDIO:0,DEFAULT_VIDEO:1,SCREEN_AUDIO:2,SCREEN_VIDEO:3});g.ZenonMWClientStack=c("fbwebrtc_ClientStack");g.ZenonMWApprovalStatus=c("multiway_ApprovalStatus");g.ZenonMWCapability=c("multiway_Capability");g.ZenonMWClientEventType=c("multiway_ClientEventType");g.ZenonMWConferenceType=c("multiway_ConferenceType");g.ZenonMWDeviceStatus=c("multiway_DeviceStatus");g.ZenonMWDismissReason=c("multiway_DismissReason");g.ZenonMWEndpointServiceType=c("multiway_EndpointServiceType");g.ZenonMWHangupReason=c("multiway_HangupReason");g.ZenonMWMediaPath=c("multiway_MediaPath");g.ZenonMWMediaPauseStatus=c("multiway_MediaPauseStatus");g.ZenonMWMessageTag=c("multiway_MessageTag");g.ZenonMWSignalingPayloadType=c("multiway_MessageType");g.ZenonMWParticipantCallState=c("multiway_ParticipantCallState");g.ZenonMWRingType=c("multiway_RingType");g.ZenonMWResponseStatusCode=c("multiway_RtcResponseStatusCode");g.ZenonMWResponseSubCode=c("multiway_RtcResponseSubCode");g.ZenonMWSubscriptionType=c("multiway_SubscriptionType");g.ZenonMWVideoQuality=c("multiway_VideoQuality");g.ZenonMWTrackLabel=a}),98); __d("ZenonMediaError",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["IceDisconnected","IceFailure","SetLocalSdpFailed","SetRemoteSdpFailed","RollbackSdpFailed","UnknownError"]);f.ZenonMediaError=a}),66); __d("ZenonDismissReason",["$InternalEnum","FBLogger","ZenonIncomingRingSDKTypes","ZenonMWMessageTypes","ZenonMediaError"],(function(a,b,c,d,e,f,g){"use strict";var h=b("$InternalEnum")({IgnoreCall:0,HangupCall:1,InAnotherCall:2,AcceptAfterHangUp:3,NoAnswerTimeout:4,IncomingTimeout:5,OtherInstanceHandled:6,SignalingMessageFailed:7,ConnectionDropped:8,ClientInterrupted:9,WebRTCError:10,ClientError:11,NoPermission:12,OtherNotCapable:13,NoUIShown:14,VersionUnsupported:15,CallerNotVisible:16,CarrierBlocked:17,OtherCarrierBlocked:18,ClientEncryptionError:19,MicrophonePermissionDenied:20,CameraPermissionDenied:21,SessionMigrated:22,RingMuted:23,JoinApprovalDenied:24,RejectedByCallee:25,CallEndedByProduct:26,CallEnded:27,AnsweredOnAnotherDevice:28,RejectedOnAnotherDevice:29,CallCollision:30,MaxAllowedParticipantsReached:31,UnexpectedEndOfCall:32,TxAckTimeout:33});function a(a){switch(a){case"BreakoutSessionSwitchRoom":return h.HangupCall;case"CallEndAcceptAfterHangUp":return h.AcceptAfterHangUp;case"CallerNotVisible":return h.CallerNotVisible;case"CarrierBlocked":return h.CarrierBlocked;case"ClientEncryptionError":return h.ClientEncryptionError;case"ClientError":return h.ClientError;case"ClientInterrupted":return h.ClientInterrupted;case"ConnectionDropped":return h.ConnectionDropped;case"HangupCall":return h.HangupCall;case"IgnoreCall":return h.IgnoreCall;case"InAnotherCall":return h.InAnotherCall;case"InactiveTimeout":return h.CallEnded;case"IncomingTimeout":return h.IncomingTimeout;case"MaxAllowedParticipantsReached":return h.MaxAllowedParticipantsReached;case"NoAnswerTimeout":return h.NoAnswerTimeout;case"NoPermission":return h.NoPermission;case"NoUIShown":return h.NoUIShown;case"OtherCarrierBlocked":return h.OtherCarrierBlocked;case"OtherInstanceHandled":return h.OtherInstanceHandled;case"OtherNotCapable":return h.OtherNotCapable;case"SignalingMessageFailed":return h.SignalingMessageFailed;case"UnexpectedEndOfCall":return h.UnexpectedEndOfCall;case"Unknown":return h.CallEnded;case"VersionUnsupported":return h.VersionUnsupported;case"WebRTCError":return h.WebRTCError;case"MicrophonePermissionDenied":return h.MicrophonePermissionDenied;case"CameraPermissionDenied":return h.CameraPermissionDenied;case"SessionMigrated":return h.SessionMigrated;case"RingMuted":return h.RingMuted;case"TxAckTimeout":return h.TxAckTimeout}}function e(a){switch(a){case h.CallEnded:case h.CallEndedByProduct:case h.HangupCall:return"HangupCall";case h.IgnoreCall:case h.JoinApprovalDenied:case h.RejectedByCallee:return"IgnoreCall";case h.InAnotherCall:return"InAnotherCall";case h.AcceptAfterHangUp:return"CallEndAcceptAfterHangUp";case h.NoAnswerTimeout:return"NoAnswerTimeout";case h.IncomingTimeout:return"IncomingTimeout";case h.AnsweredOnAnotherDevice:case h.CallCollision:case h.RejectedOnAnotherDevice:case h.OtherInstanceHandled:return"OtherInstanceHandled";case h.SignalingMessageFailed:return"SignalingMessageFailed";case h.ConnectionDropped:return"ConnectionDropped";case h.ClientInterrupted:return"ClientInterrupted";case h.WebRTCError:return"WebRTCError";case h.ClientError:return"ClientError";case h.NoPermission:return"NoPermission";case h.OtherNotCapable:return"OtherNotCapable";case h.NoUIShown:return"NoUIShown";case h.VersionUnsupported:return"VersionUnsupported";case h.CallerNotVisible:return"CallerNotVisible";case h.CarrierBlocked:return"CarrierBlocked";case h.OtherCarrierBlocked:return"OtherCarrierBlocked";case h.ClientEncryptionError:return"ClientEncryptionError";case h.UnexpectedEndOfCall:return"UnexpectedEndOfCall";case h.MaxAllowedParticipantsReached:return"MaxAllowedParticipantsReached";case h.MicrophonePermissionDenied:return"MicrophonePermissionDenied";case h.CameraPermissionDenied:return"CameraPermissionDenied";case h.SessionMigrated:return"SessionMigrated";case h.RingMuted:return"RingMuted";case h.TxAckTimeout:return"TxAckTimeout"}c("FBLogger")("rtc_www").mustfix("Unknown dismiss reason: %s",a);return"Unknown"}function f(a){switch(a){case h.OtherInstanceHandled:case h.AnsweredOnAnotherDevice:case h.RejectedOnAnotherDevice:return d("ZenonIncomingRingSDKTypes").ZenonCancelReason.OtherDismiss;default:return d("ZenonIncomingRingSDKTypes").ZenonCancelReason.Hangup}}function i(a){switch(a){case d("ZenonMediaError").ZenonMediaError.IceDisconnected:return h.ConnectionDropped;case d("ZenonMediaError").ZenonMediaError.IceFailure:case d("ZenonMediaError").ZenonMediaError.SetLocalSdpFailed:case d("ZenonMediaError").ZenonMediaError.SetRemoteSdpFailed:case d("ZenonMediaError").ZenonMediaError.RollbackSdpFailed:return h.WebRTCError;case d("ZenonMediaError").ZenonMediaError.UnknownError:return h.ClientError}}function j(a){return k[a]}var k=Object.freeze((b={},b[d("ZenonMWMessageTypes").ZenonMWDismissReason.CALL_ENDED]=h.CallEnded,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.ANSWERED_ON_ANOTHER_DEVICE]=h.AnsweredOnAnotherDevice,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.IN_ANOTHER_CALL]=h.InAnotherCall,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.CONNECTION_DROPPED]=h.ConnectionDropped,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.REJECTED_ON_ANOTHER_DEVICE]=h.RejectedOnAnotherDevice,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.REJECTED_BY_CALLEE]=h.RejectedByCallee,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.CALL_ENDED_BY_PRODUCT]=h.CallEndedByProduct,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.INTERNAL_ERROR]=h.SignalingMessageFailed,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.REMOVED_BY_PARTICIPANT]=h.HangupCall,b[d("ZenonMWMessageTypes").ZenonMWDismissReason.TX_ACK_TIMEDOUT]=h.TxAckTimeout,b));g.ZenonDismissReason=h;g.endCallToDismissReason=a;g.dismissToEndCallReason=e;g.dismissReasonToCancelReason=f;g.mediaErrorToDismissReason=i;g.mwDismissToDmissReason=j}),98); __d("ZenonCallsModelTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";c=(a=b("$InternalEnum")).Mirrored(["Disconnected","Precontacting","Contacting","Ringing","PendingApproval","Approved","FailedApproval","Connecting","Connected","Reconnecting","ProvisionalRinging"]);d=a.Mirrored(["Facebook","Instagram","Messenger","Guest","WhatsApp","Workplace"]);e=a.Mirrored(["New","Connecting","PendingApproval","Connected","Terminating","Terminated"]);b=a.Mirrored(["Unknown","CallsBlocked"]);var g=a.Mirrored(["None","PendingPeerFeedback","Declined","RemoteDeclined","LocalDeclined","Cancelled","TimedOut","Accepted","InitiatedFromPeer"]);a=a.Mirrored(["Started","Completed","Cancelled"]);f.ZenonCallParticipantState=c;f.ZenonCallParticipantType=d;f.ZenonCallState=e;f.ZenonEndCallSubreason=b;f.ZenonVideoEscalationStatus=g;f.ZenonGroupEscalationStatus=a}),66); __d("ZenonParticipantState",["$InternalEnum","ZenonCallsModelTypes"],(function(a,b,c,d,e,f,g){"use strict";var h=b("$InternalEnum")({UNKNOWN:0,DISCONNECTED:1,NO_ANSWER:2,REJECTED:3,UNREACHABLE:4,CONNECTION_DROPPED:5,CONTACTING:6,RINGING:7,NEGOTIATING:8,CONNECTING:9,CONNECTED:10,PARTICIPANT_LIMIT_REACHED:11,IN_ANOTHER_CALL:12,RING_TYPE_UNSUPPORTED:13,PENDING_APPROVAL:14,APPROVED:15,FAILED_APPROVAL:16,HANGUP_IN_WAITING_ROOM:17,UNCALLABLE:18});function a(a){if(a==null)return d("ZenonCallsModelTypes").ZenonCallParticipantState.Disconnected;switch(a){case h.CONTACTING:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Contacting;case h.RINGING:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Ringing;case h.NEGOTIATING:case h.CONNECTING:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Connecting;case h.CONNECTED:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Connected;case h.PENDING_APPROVAL:return d("ZenonCallsModelTypes").ZenonCallParticipantState.PendingApproval;case h.APPROVED:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Approved;case h.FAILED_APPROVAL:return d("ZenonCallsModelTypes").ZenonCallParticipantState.FailedApproval;case h.HANGUP_IN_WAITING_ROOM:case h.UNKNOWN:case h.DISCONNECTED:case h.NO_ANSWER:case h.REJECTED:case h.UNREACHABLE:case h.UNCALLABLE:case h.CONNECTION_DROPPED:case h.PARTICIPANT_LIMIT_REACHED:case h.IN_ANOTHER_CALL:case h.RING_TYPE_UNSUPPORTED:return d("ZenonCallsModelTypes").ZenonCallParticipantState.Disconnected}return d("ZenonCallsModelTypes").ZenonCallParticipantState.Disconnected}g.ZenonParticipantState=h;g.toCallParticipantState=a}),98); __d("P2pReliabilityFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1848277");c=b("FalcoLoggerInternal").create("p2p_reliability",a);e.exports=c}),null); __d("ZenonIceStatsParser",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];a=a.split("\r\n");a.forEach(function(a){g(a)&&b.push({gen:h(a),type:i(a)})});return b}function g(a){return a.indexOf("candidate:")>-1}function h(a){var b=0;a=a.match(/generation (\d+)/);a&&(b=parseInt(a[1],10));return b}function i(a){a=a.match(/typ (host|relay|srflx|prflx)/);if(a)return a[1];else return"unknown"}f.extractIceInfo=a}),66); __d("RpWebInfraActionsLoggerEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744334");c=b("FalcoLoggerInternal").create("rp_web_infra_actions_logger_event",a);e.exports=c}),null); __d("ZenonInfraActionsLogger",["Log","ODS","RpWebInfraActionsLoggerEventFalcoEvent","formatDate","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1={callID:void 0,callTrigger:void 0,conferenceName:void 0,deviceID:void 0,mediaPath:"sfu",peerID:void 0,serverInfoData:void 0,signalingID:void 0},this.$2=new Set(),this.$3=new Map()}var b=a.prototype;b.updateCachedValues=function(a){Object.assign(this.$1,a)};b.logCheckpointEmployeesTestUsersOnly=function(a){if(!c("gkx")("2890"))return;this.logCheckpoint(a)};b.logCheckpoint=function(a){this.logEvent(babelHelpers["extends"]({},a))};b.logCheckpointOnceForDomain=function(a){var b=a.checkpoint;this.$2.has(b)||(this.$2.add(b),this.logCheckpoint(a))};b.logError=function(a){this.logEvent(babelHelpers["extends"]({},a))};b.startTimer=function(a){var b=Date.now();this.$3.set(a,b);this.logEvent({checkpoint:a+"_timerStart"})};b.stopTimer=function(a){var b=this.$3.get(a);this.$3["delete"](a);b=b!=null?Date.now()-b:null;this.logEvent({checkpoint:a+"_timerEnd",eventTimeElapsed:b});return parseInt(b,10)};b.logEvent=function(a){var b,d={call_id:(b=a.callID)!=null?b:this.$1.callID==null?void 0:String(this.$1.callID),call_trigger:this.$1.callTrigger,call_type:(b=a.callType)!=null?b:null,checkpoint:a.checkpoint,client_session_id:this.$1.signalingID,client_time:Date.now().toString(),conference_name:(b=a.conferenceName)!=null?b:this.$1.conferenceName,connection:(b=a.connectionState)!=null?b:this.$1.connectionState,device_id:this.$1.deviceID,error:a.error,error_domain:a.errorDomain,event_time_elapsed:(b=a.eventTimeElapsed)==null?void 0:b.toString(),is_caller:(b=a.isCaller)!=null?b:null,media_path:(b=a.mediaPath)!=null?b:this.$1.mediaPath,message_id:a.messageID,peer_connection:(b=a.peerConnectionState)!=null?b:this.$1.peerConnectionState,peer_id:this.$1.peerID,sdp_format:(b=a.sdpFormat)!=null?b:null,server_info_data:(b=a.serverInfoData)!=null?b:this.$1.serverInfoData,signaling:(b=a.signalingState)!=null?b:this.$1.signalingState,state_machine_id:a.stateMachineID};c("RpWebInfraActionsLoggerEventFalcoEvent").log(function(){return d})};b.logCounter=function(a){d("ODS").bumpEntityKey(4083,"zenon_multiway",a),d("ODS").flush()};return a}();b=new a();g["default"]=b}),98); __d("ZenonMWMessageMap",["ZenonMWMessageTypes"],(function(a,b,c,d,e,f,g){"use strict";b=Object.freeze((a={},a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN]="JOIN",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE]="SERVER_MEDIA_UPDATE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE]="ICE_CANDIDATE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.HANGUP]="HANGUP",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.RING]="RING",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DISMISS]="DISMISS",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CONFERENCE_STATE]="CONFERENCE_STATE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ADD_PARTICIPANTS]="ADD_PARTICIPANTS",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SUBSCRIPTION]="SUBSCRIPTION",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE]="CLIENT_MEDIA_UPDATE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DATA_MESSAGE]="DATA_MESSAGE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.REMOVE_PARTICIPANTS]="REMOVE_PARTICIPANTS",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.PING]="PING",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.P2P_PROTOCOL]="P2P_PROTOCOL",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.NOTIFY]="NOTIFY",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CONNECT]="CONNECT",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_EVENT]="CLIENT_EVENT",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UNSUBSCRIBE]="UNSUBSCRIBE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UPDATE]="UPDATE",a[d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.APPROVAL]="APPROVAL",a));c=b;g["default"]=c}),98); __d("OverlayConfigConstants",[],(function(a,b,c,d,e,f){"use strict";a={OverlayConfigNumParameters:1450,OverlayConfigNotPresentFlagValue:-1};e.exports=a}),null); __d("OverlayConfigLayerSource",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({UNKNOWN:0,DEFAULT:1,MOBILECONFIG:2,APP_CRUCIBLE:3,APP_JNI:4,UNIT_TEST:5,SERVER:6,PLACEHOLDER:7,LS_MOBILECONFIG:8,APP_LS:9,APP_JS:10,BROWSER:11,APP_OVRRTC:12,APP_IG:13,MLITE4A_LEGACY_QE:14,APP_MLITE4A:15,APP_PORTAL:16,IG_LAUNCHER:17,APP_ARCHON:18,APP_WS:19,APP_NOX:20,APP_WEARABLE_MSNGR:21,APP_WEARABLE_IG:22,APP_ORCA_RSYS:23,APP_WILDE:24,APP_MKIOS:25,APP_MK4A:26,DYNAMIC:27});e.exports=a}),null); __d("OverlayConfigServerLayer",["OverlayConfigConstants","OverlayConfigLayerSource"],(function(a,b,c,d,e,f,g){"use strict";a=function(){a.createFromHeader=function(b){try{b=b==null?void 0:(b=b.extensions)==null?void 0:b.oc1_json;if(b==null)return null;b=JSON.parse(b);b=b==null?void 0:b.values;return b==null?null:new a(b)}catch(a){return null}};function a(a){this.$1=a}var b=a.prototype;b.getLayerSource=function(){return c("OverlayConfigLayerSource").SERVER};b.getValue=function(a){a=this.$1[String(a)];return a!=null?a:d("OverlayConfigConstants").OverlayConfigNotPresentFlagValue};b.logExposure=function(a){};return a}();g["default"]=a}),98); __d("ZenonSignalingTypes",[],(function(a,b,c,d,e,f){"use strict";a={OK:0,REJECTED_FROM_VERSION_DOES_NOT_MATCH:1};f.ZenonRemoteSdpResponseStatus=a}),66); __d("ZenonMWTranslatorUtils",["ChannelClientID","FacebookAppIDs","OverlayConfigServerLayer","ZenonActorHooks","ZenonDismissReason","ZenonInfraActionsLogger","ZenonMWMessageTypes","ZenonParticipantState","ZenonScreenShare","ZenonSignalingProtocol","ZenonSignalingTypes","gkx","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h="signalingDominantSpeakerUpdate",i="signalingVideoUploadUpdate",j={addDevTierOverridesToHeaderExtensions:function(a){var b={multiwayCoreTier:"",multiwayWwwTier:""};if(!c("gkx")("678350"))return b;b.multiwayWwwTier=j.getSandboxingTierFromURIOrEmpty(a,"multiway_www_tier");b.multiwayCoreTier=j.getSandboxingTierFromURIOrEmpty(a,"multiway_core_tier");return b},addStateStoreSignalingEvents:function(a,b){n()&&a&&Object.keys(a).forEach(function(c){var d=a[c],e=d.data;d=d.version;if(e!=null){e={data:e,eventName:"stateSyncNotifyRequest",responseRequired:!1,topic:c,version:d};b.push(e)}})},createMWMessage:function(a,b){var e={appId:j.getMWAppID(),deviceId:c("ChannelClientID").getID(),userId:d("ZenonActorHooks").ZenonActor.getID()};return{endpoint:e,jsonPayload:{body:b,header:a}}},fromMWDismissReason:function(a){a=d("ZenonDismissReason").mwDismissToDmissReason(a);return(a=a)!=null?a:d("ZenonDismissReason").ZenonDismissReason.CallEnded},fromMWJoinResponseStatusToDismissReason:function(a,b){if(b===d("ZenonMWMessageTypes").ZenonMWResponseSubCode.EXCEEDED_MAX_ALLOWED_PARTICIPANTS)return d("ZenonDismissReason").ZenonDismissReason.MaxAllowedParticipantsReached;switch(a){case d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.METHOD_NOT_ALLOWED:case d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.UNAUTHORIZED:return d("ZenonDismissReason").ZenonDismissReason.NoPermission;case d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.SERVICE_UNAVAILABLE:return d("ZenonDismissReason").ZenonDismissReason.SignalingMessageFailed;case d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.OK:throw c("unrecoverableViolation")("Response status code is OK; should not return a dismiss reason","rtc_www");default:c("ZenonInfraActionsLogger").logError({callType:"mw",checkpoint:"[ZP] Got unexpected JOIN response status, dismissing as ClientError: "+a+" subcode "+((a=b)!=null?a:"[undefined]"),errorDomain:"ZenonMWTranslatorUtils.fromMWJoinResponseStatusToDismissReason"});return d("ZenonDismissReason").ZenonDismissReason.ClientError}},fromMWParticipantState:function(a){a=l[a];return(a=a)!=null?a:d("ZenonMWMessageTypes").ZenonMWParticipantCallState.UNKNOWN},getCollisionContextFromAppMessages:function(a){var b=null;a!=null&&a.forEach(function(a){a=(a=a.body)==null?void 0:a.genericMessage;if(a!=null&&a.topic==="collision_context_payload"){a=a.data;if(a!=null){var c;a=JSON.parse(a);b={groupThreadID:(c=a.group_thread_id)!=null?c:null,peerID:(c=a.peer_id)!=null?c:null,serverInfoData:(c=a.server_info_data)!=null?c:null}}}});return b},getGenericDataMessageData:function(a){a=(a=a.message.body)!=null?a:{};var b=a.dominantSpeakerSignalingInfo,c=a.genericMessage;a=a.videoUploadSignalingInfo;if(c)try{return atob(c.data)}catch(a){return c.data}else if(b)return JSON.stringify(b);else if(a)return JSON.stringify(a);return null},getGenericDataMessageTopic:function(a){a=(a=a.message.body)!=null?a:{};var b=a.dominantSpeakerSignalingInfo,c=a.genericMessage;a=a.videoUploadSignalingInfo;if(c)return c.topic;else if(b)return h;else if(a)return i;return null},getMWAppID:function(){return c("FacebookAppIDs").MQTT_WEB.toString()},getRoomMetadataFromAppMessages:function(a){a=a&&a.length>0?a.find(function(a){return((a=a.body)==null?void 0:(a=a.genericMessage)==null?void 0:a.topic)==="room_metadata"}):null;if(a){var b;b=(b=a.body)==null?void 0:(b=b.genericMessage)==null?void 0:b.data;if(b!=null){b=JSON.parse(b);a=(a=a.header)==null?void 0:a.sender;if(b.link_hash!=null&&b.room_name!=null&&a!=null)return{linkHash:b.link_hash,profileURL:b.profile_url,ringSubtitle:b.ring_subtitle,roomName:b.room_name,sender:a}}}return{}},getSandboxingTierFromURIOrEmpty:function(a,b){b=b+"=";a=a.split(b);if(a[1]){b=a.pop().split("&").shift();return b}return""},getSdpVersion:function(a){a=a.split("\n");if(a.length<2)throw c("unrecoverableViolation")("Expected SDP string with two or more lines, but got "+a.length,"rtc_www");a=a[1].trim();a=a.split(" ");if(a.length<3)throw c("unrecoverableViolation")("Session line should have at least 3 tokens, but got "+a.length,"rtc_www");a=parseInt(a[2],10);if(isNaN(a))throw c("unrecoverableViolation")("SDP version could not be parsed as number.","rtc_www");return a},isUnifiedPlan:function(a){return a.includes("BUNDLE 0")},maybeAddOverlayConfigServerUpdateRequest:function(a,b){b=c("OverlayConfigServerLayer").createFromHeader(b);if(b){b={eventName:"overlayConfigServerUpdateRequest",serverLayer:b};a.push(b)}},mwMessageHeaderToSignalingMessageHeader:function(a){var b=a.clientSessionId,d=a.conferenceName,e=a.sequenceNumber,f=a.serverInfoData,g=a.transactionId;b=b;var h={userID:"2"};g={messageID:g,messageTags:(g=a.messageTags)!=null?g:[],protocol:c("ZenonSignalingProtocol").MW,remoteInfo:h,retryCount:a.retryCount,roomInfo:{name:d},sequenceNumber:e,signalingID:b,userInfo:{userID:"1"}};f!=null&&(g.remoteSignalingID=f);return g},signalingMessageHeaderToMWHeader:function(a,b){var c=a.messageID,e=a.messageTags,f=a.remoteSignalingID,g=a.roomInfo,h=a.signalingID,i=j.addDevTierOverridesToHeaderExtensions(window.location.href);g={clientStack:d("ZenonMWMessageTypes").ZenonMWClientStack.ZENON,conferenceName:g.name,messageTags:e,retryCount:a.retryCount,sequenceNumber:a.sequenceNumber,transactionId:c,type:b};(i.multiwayCoreTier!==""||i.multiwayWwwTier!=="")&&(g.extensions=i);h!=null&&(g.clientSessionId=h);f!=null&&(g.serverInfoData=f);return g},signalingMessageHeaderToMWResponseHeader:function(a,b,c){a=j.signalingMessageHeaderToMWHeader(a,b);a.responseStatusCode=(b=c)!=null?b:d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.OK;return a},toMWClientTrackContentType:function(a){if(a==null)return null;switch(a){case d("ZenonMWMessageTypes").ZenonMWTrackLabel.DEFAULT_AUDIO:return"audio";case d("ZenonMWMessageTypes").ZenonMWTrackLabel.DEFAULT_VIDEO:return"video";case d("ZenonMWMessageTypes").ZenonMWTrackLabel.SCREEN_AUDIO:return"screen_audio";case d("ZenonMWMessageTypes").ZenonMWTrackLabel.SCREEN_VIDEO:return"screen"}},toMWClientMediaStatus:function(a){var b={tracks:{}};a.tracks.forEach(function(a){var c={enabled:a.enabled,owner:a.userID},d=j.toMWTrackLabel(a.type);d!=null&&(c.label=d);b.tracks[a.trackID]=c});return b},toMWDeviceStatus:function(a){a=k[a];return(a=a)!=null?a:d("ZenonMWMessageTypes").ZenonMWDeviceStatus.OK},toMWHangupReason:function(a){switch(a){case d("ZenonDismissReason").ZenonDismissReason.IgnoreCall:return d("ZenonMWMessageTypes").ZenonMWHangupReason.IGNORE_CALL;case d("ZenonDismissReason").ZenonDismissReason.HangupCall:return d("ZenonMWMessageTypes").ZenonMWHangupReason.HANGUP_CALL;case d("ZenonDismissReason").ZenonDismissReason.NoAnswerTimeout:return d("ZenonMWMessageTypes").ZenonMWHangupReason.NO_ANSWER_TIMEOUT;case d("ZenonDismissReason").ZenonDismissReason.ClientError:return d("ZenonMWMessageTypes").ZenonMWHangupReason.CLIENT_ERROR;case d("ZenonDismissReason").ZenonDismissReason.InAnotherCall:return d("ZenonMWMessageTypes").ZenonMWHangupReason.IN_ANOTHER_CALL;case d("ZenonDismissReason").ZenonDismissReason.ClientInterrupted:return d("ZenonMWMessageTypes").ZenonMWHangupReason.CLIENT_INTERRUPTED;case d("ZenonDismissReason").ZenonDismissReason.SessionMigrated:return d("ZenonMWMessageTypes").ZenonMWHangupReason.SESSION_MIGRATED;default:return d("ZenonMWMessageTypes").ZenonMWHangupReason.HANGUP_CALL}},toMWMediaStatus:function(a){var b={};a.tracks.forEach(function(a){b[a.trackID]=a.enabled});return b},toMWMediaStatusEx:function(a){var b={};a.tracks.forEach(function(a){var c={enabled:a.enabled},d=j.toMWTrackLabel(a.type);d!=null&&(c.label=d);b[a.trackID]=c});return{tracks:b}},toMWTrackLabel:function(a){if(d("ZenonScreenShare").screenShareWithReplaceTrack())return null;switch(a){case"audio":return d("ZenonMWMessageTypes").ZenonMWTrackLabel.DEFAULT_AUDIO;case"video":return d("ZenonMWMessageTypes").ZenonMWTrackLabel.DEFAULT_VIDEO;case"screen":return d("ZenonMWMessageTypes").ZenonMWTrackLabel.SCREEN_VIDEO;case"screen_audio":return d("ZenonMWMessageTypes").ZenonMWTrackLabel.SCREEN_AUDIO;default:return null}},toMWResponseStatusCode:function(a){return m[a]},toMWSyncStateStore:function(a){var b={};a.forEach(function(a,c){b[c]=a});return b},toZenonMediaStates:function(a,b,c){c===void 0&&(c=0);var d={fromVersion:b,tracks:[],version:c};a!=null&&Object.keys(a.tracks).forEach(function(b){var c=a.tracks[b];b={enabled:c.enabled,trackID:b,type:j.toMWClientTrackContentType(c.label),userID:c.owner};d.tracks.push(b)});return d}},k={IN_ANOTHER_CALL:d("ZenonMWMessageTypes").ZenonMWDeviceStatus.IN_ANOTHER_CALL,NOT_SUPPORTED:d("ZenonMWMessageTypes").ZenonMWDeviceStatus.NOT_SUPPORTED,OK:d("ZenonMWMessageTypes").ZenonMWDeviceStatus.OK},l=Object.freeze((a={},a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.UNKNOWN]=d("ZenonParticipantState").ZenonParticipantState.UNKNOWN,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.DISCONNECTED]=d("ZenonParticipantState").ZenonParticipantState.DISCONNECTED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.NO_ANSWER]=d("ZenonParticipantState").ZenonParticipantState.NO_ANSWER,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.REJECTED]=d("ZenonParticipantState").ZenonParticipantState.REJECTED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.UNREACHABLE]=d("ZenonParticipantState").ZenonParticipantState.UNREACHABLE,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.CONNECTION_DROPPED]=d("ZenonParticipantState").ZenonParticipantState.CONNECTION_DROPPED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.CONTACTING]=d("ZenonParticipantState").ZenonParticipantState.CONTACTING,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.RINGING]=d("ZenonParticipantState").ZenonParticipantState.RINGING,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.CONNECTING]=d("ZenonParticipantState").ZenonParticipantState.CONNECTING,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.CONNECTED]=d("ZenonParticipantState").ZenonParticipantState.CONNECTED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.PARTICIPANT_LIMIT_REACHED]=d("ZenonParticipantState").ZenonParticipantState.PARTICIPANT_LIMIT_REACHED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.IN_ANOTHER_CALL]=d("ZenonParticipantState").ZenonParticipantState.IN_ANOTHER_CALL,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.RING_TYPE_UNSUPPORTED]=d("ZenonParticipantState").ZenonParticipantState.RING_TYPE_UNSUPPORTED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.PENDING_APPROVAL]=d("ZenonParticipantState").ZenonParticipantState.PENDING_APPROVAL,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.APPROVED]=d("ZenonParticipantState").ZenonParticipantState.APPROVED,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.FAILED_APPROVAL]=d("ZenonParticipantState").ZenonParticipantState.FAILED_APPROVAL,a[d("ZenonMWMessageTypes").ZenonMWParticipantCallState.UNCALLABLE]=d("ZenonParticipantState").ZenonParticipantState.UNCALLABLE,a)),m=Object.freeze((b={},b[d("ZenonSignalingTypes").ZenonRemoteSdpResponseStatus.OK]=d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.OK,b[d("ZenonSignalingTypes").ZenonRemoteSdpResponseStatus.REJECTED_FROM_VERSION_DOES_NOT_MATCH]=d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.CONDITIONAL_REQUEST_FAILED,b));function n(){var a=c("gkx")("1418215");a&&c("ZenonInfraActionsLogger").logCheckpointOnceForDomain({checkpoint:"gk: rtc_www_state_sync"});return a}e=j;g["default"]=e}),98); __d("ZenonDebugLogger",["$InternalEnum","ChannelClientID","FBLogger","FacebookAppIDs","Log","LogHistory","ODS","P2pReliabilityFalcoEvent","RpWebStateMachineLoggingBlocklist","UserAgentData","ZenonActorHooks","ZenonIceStatsParser","ZenonInfraActionsLogger","ZenonMWMessageMap","ZenonMWMessageTypes","ZenonMWTranslatorUtils","cr:11532","cr:1577681","cr:1577682","formatDate","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=null,i=b("$InternalEnum").Mirrored(["CLIENT_RECEIVED_MESSAGE","CLIENT_PROCESSED_MESSAGE"]);a=function(){a.getInstance=function(){h||(h=new a());return h};a.getFBLogger=function(a){var b;a===void 0&&(a={});return c("FBLogger")("rpweb").addMetadata("RT_WEB","CALL_ID",""+((b=a.callID)!=null?b:"null")).addMetadata("RT_WEB","PEER_ID",""+((b=a.peerID)!=null?b:"null"))};function a(){this.$1=d("LogHistory").getInstance("webrtc"),this.$2=d("ChannelClientID").getID(),this.$3=JSON.stringify({browser:c("UserAgentData").browserName,browser_version:c("UserAgentData").browserFullVersion,device:c("UserAgentData").deviceName,msg_source:"web",os:c("UserAgentData").platformName,os_version:c("UserAgentData").platformFullVersion,version:2}),this.$4=c("FacebookAppIDs").MQTT_WEB,this.$5=new Set(c("RpWebStateMachineLoggingBlocklist").EVENT_TYPES),this.$6=new Set(c("RpWebStateMachineLoggingBlocklist").STATES),this.$7=new Set(c("RpWebStateMachineLoggingBlocklist").MESSAGE_TYPES)}var e=a.prototype;e.$8=function(a,b,d){b===void 0&&(b=!0);var e=c("formatDate")(new Date(),"[H:i:s:X]",{skipPatternLocalization:!0});this.$1.log("Console",e+" "+a);b&&c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"[ZP] "+a,messageID:d})};e.$9=function(a,b){var d=c("formatDate")(new Date(),"[H:i:s:X]",{skipPatternLocalization:!0});this.$1.log("Console",d+" "+a+". StateMachineID: "+((d=b)!=null?d:""));c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"[ZP] "+a+".",stateMachineID:b})};e.$10=function(a,c,d,e){e===void 0&&(e=0);a=b("cr:11532")==null?void 0:b("cr:11532")[a];if(!a||!b("cr:1577682")||!b("cr:1577681"))return;d==="terminated"?b("cr:1577682").markerEnd(a,b("cr:1577681").SUCCESS,e):b("cr:1577682").markerPoint(a,c,{data:{string:{data:d}},instanceKey:e})};e.$11=function(a){return isNaN(+a)?0:+a};e.$12=function(a){a=a.jsonPayload.header;return a.responseStatusCode!=null};e.$13=function(a,b){var e=this;c("P2pReliabilityFalcoEvent").log(function(){return{app_id:e.$4.toString(),call_id:a.call_id,device_id:e.$2,event_name:b,extra:e.$3,msg_id:a.id,msg_type:a.type.toUpperCase()||a.msg_type.toUpperCase(),raw_time:String(Date.now()),receiver_id:d("ZenonActorHooks").useZenonActor()[0],sender_id:a.from,service_name:"WEB_CLIENT"}})};e.getLogHistory=function(){return this.$1};e.logStateMachine=function(a,b,d,e){if(!c("gkx")("2890"))return;if(this.$5.has(d))return;var f="["+a+"] [Current State: "+b+"] Processing event: "+d;c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:""+f,stateMachineID:e});this.$10(a,d,b,this.$11(e))};e.logStateMachineTransition=function(a,b,d,e,f,g,h){if(this.$6.has(d)||this.$5.has(f))return;if(!c("gkx")("2890"))return;g!=null&&g.length===1&&g[0].type==="defer"?g="["+a+"] [[DEFERRED] "+f+" did not trigger transition. Current state remains "+d:d!==e?g="["+a+"] [[PROCESSED] "+f+" caused transition from "+(e||"")+" to "+d+".":b?g="["+a+"] [[PROCESSED] "+f+" did not trigger transition. Current state remains "+d:g="["+a+"] [[DROPPED] Possible error. "+f+" did not trigger transition. Current state remains "+d;this.$9(g,h)};e.logGuardsResults=function(a,b){if(c("gkx")("2890")){a="[GUARD] "+a+". Passed: "+b.toString();this.$8(a)}};e.logMWMessage=function(a,b,d){this.$14(a,b,d);if(d.jsonPayload==null||!c("gkx")("2890"))return;var e=d.jsonPayload.header,f=c("ZenonMWMessageMap")[e.type],g=this.$12(d)?"RESPONSE":"REQUEST";d=this.$15(d);a="[ms] "+a+" ["+b+"] "+f+" "+g+" [retryCount: "+e.retryCount+(d!=null?" details: "+d:"")+"]";this.$7.has(f)||this.$8(a,!0,e.transactionId)};e.startQPL=function(a,c){c===void 0&&(c=0),b("cr:1577682")&&b("cr:1577682").markerStart(a,this.$11(c))};e.endQPL=function(a,c){c===void 0&&(c=0),b("cr:1577682")&&b("cr:1577681")&&b("cr:1577682").markerEnd(a,b("cr:1577681").SUCCESS,this.$11(c))};e.$14=function(a,b,c){a=this.$16(a,b,c);a!==null&&d("ODS").bumpEntityKey(4083,"zenon_signaling",a)};e.$16=function(a,b,e){if(e.jsonPayload==null)return null;var f=e.jsonPayload,g=f.body;f=f.header;var h="";switch(f.type){case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DATA_MESSAGE:if(g.dataMessageRequest){h=(g=c("ZenonMWTranslatorUtils").getGenericDataMessageTopic(g.dataMessageRequest))!=null?g:"undefined"}break}g=this.$12(e)?"response":"request";e=c("ZenonMWMessageMap")[f.type];if(h==="")return a+"-"+b+"-"+e+"-"+g;else return a+"-"+b+"-"+e+"-"+g+"-"+h};e.$15=function(a){if(a.jsonPayload==null)return null;var b=a.jsonPayload,c=b.body;b=b.header;switch(b.type){case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN:if(this.$12(a)){var e;return JSON.stringify({hasAnswer:((e=c.joinResponse)==null?void 0:e.answer)!=null,hasRenegotiationOffer:((e=c.joinResponse)==null?void 0:e.renegotiationOffer)!=null,isPendingApproval:(e=c.joinResponse)==null?void 0:e.isPendingApproval,multipleVideoStreamsAllowed:(e=c.joinResponse)==null?void 0:e.multipleVideoStreamsAllowed,statusCode:b.responseStatusCode,subCode:b.responseSubCode})}return JSON.stringify({deviceCapabilities:(e=c.joinRequest)==null?void 0:e.deviceCapabilities,sdpType:((e=c.joinRequest)==null?void 0:e.offer)!=null?"offer":((e=c.joinRequest)==null?void 0:e.answer)!=null?"answer":"null",userCapabilities:(e=c.joinRequest)==null?void 0:e.userCapabilities});case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE:if(this.$12(a)){return JSON.stringify({currentVersion:(e=c.serverMediaUpdateResponse)==null?void 0:e.currentVersion,hasAnswer:((e=c.serverMediaUpdateResponse)==null?void 0:e.answer)!=null,statusCode:b.responseStatusCode})}return JSON.stringify({fromVersion:(e=c.serverMediaUpdateRequest)==null?void 0:e.fromVersion,messageTags:b.messageTags,renegotiationRequested:(e=(e=c.serverMediaUpdateRequest)==null?void 0:e.renegotiationRequested)!=null?e:!1,sdpType:((e=c.serverMediaUpdateRequest)==null?void 0:e.offer)?"offer":((e=c.serverMediaUpdateRequest)==null?void 0:e.answer)?"answer":"empty",toVersion:(e=(e=c.serverMediaUpdateRequest)==null?void 0:e.toVersion)!=null?e:""});case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE:if(this.$12(a)){return JSON.stringify({currentVersion:(e=(e=c.clientMediaUpdateResponse)==null?void 0:e.currentVersion)!=null?e:"",statusCode:b.responseStatusCode})}return JSON.stringify({fromVersion:(b=(e=c.clientMediaUpdateRequest)==null?void 0:e.fromVersion)!=null?b:"",toVersion:(b=(e=c.clientMediaUpdateRequest)==null?void 0:e.toVersion)!=null?b:""});case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SUBSCRIPTION:return this.$12(a)?null:JSON.stringify({subscriptions:(b=(e=c.subscriptionRequest)==null?void 0:e.subscriptions)!=null?b:""});case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE:if(this.$12(a))return null;b=(e=c.iceCandidateRequest)==null?void 0:e.iceCandidateSdps.map(function(a){a=a.candidateSdpString;if(a!=null)return d("ZenonIceStatsParser").extractIceInfo(a)});return JSON.stringify({iceCandidates:b});default:return null}};e.logConsole=function(a){this.$8(a,!1)};e.logMQTTStateChange=function(a){var b="mqtt_client_state_"+a;c("ZenonInfraActionsLogger").logCounter(b);c("gkx")("2890")&&c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"[ZP] onMQTTStateChanged: "+a+", document.visibility: "+document.visibilityState+", document.hasFocus: "+String(document.hasFocus())+", navigator.onLine: "+String(navigator.onLine)})};e.logMQTTConnectStats=function(a,b){c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"[ZP] MQTT Connection time: "+String(a)+"ms, Retry Count: "+String(b)})};e.logSendMultiwayMessageFailure=function(a,b){d("ODS").bumpEntityKey(4083,"zenon_multiway","send_message_failure"),d("ODS").flush(),c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"Failed to send MW message of type "+b+". Error msg: "+a+":"})};e.logP2PMessageReceived=function(a){this.$13(a,i.CLIENT_RECEIVED_MESSAGE)};e.logP2PMessageProcessed=function(a){this.$13(a,i.CLIENT_PROCESSED_MESSAGE)};return a}();g["default"]=a}),98); __d("ZenonMachineToQPLEvent",["qpl"],(function(a,b,c,d,e,f,g){"use strict";a={ConnectionStateMachine:c("qpl")._(64243854,"2452"),ParentSignalingClient:c("qpl")._(64234815,"1094"),PeerConnectionStateMachine:c("qpl")._(64239068,"6172"),SignalingStateMachine:c("qpl")._(64245348,"8823")};g["default"]=a}),98); __d("FBRTCConsoleLogger",["Log","LogHistory","cr:1112656","nullthrows"],(function(a,b,c,d,e,f,g){"use strict";var h=null;a=function(){a.getInstance=function(){h||(h=new a());return h};function a(){this.$1=d("LogHistory").getInstance(a.MODULE_NAME)}var b=a.prototype;b.getLogHistory=function(){return this.$1};b.log=function(a,b,c,d,e){d===void 0&&(d="Console");e===void 0&&(e="DEBUG");e=" "+JSON.stringify({conferenceName:b,callID:c});this.$1.log(d||"Console",a+e);return this};return a}();a.MODULE_NAME="webrtc";g["default"]=a}),98); __d("RTWebLoggingSharedInstance",["ChannelClientID"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1=d("ChannelClientID").getID()}var b=a.prototype;b.getDeviceID=function(){return this.$1};return a}();b=new a();g["default"]=b}),98); __d("RtcWebUserActionsDebugFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744337");c=b("FalcoLoggerInternal").create("rtc_web_user_actions_debug",a);e.exports=c}),null); __d("RtcWebUserActionsFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744338");c=b("FalcoLoggerInternal").create("rtc_web_user_actions",a);e.exports=c}),null); __d("RTWebUserActionLogger",["CurrentUser","FBRTCConsoleLogger","RTWebLoggingSharedInstance","RtcWebUserActionsDebugFalcoEvent","RtcWebUserActionsFalcoEvent","ZenonBrowsers","ZenonSDESKeyDetector","immutable","performanceNow","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$2=c("immutable").Map(),this.$3=new Set(),this.$4=new Set(),this.$5=c("RTWebLoggingSharedInstance").getDeviceID(),this.$6=this.$7(),this.clearCache()}var b=a.prototype;b.clearCache=function(){this.$1={callID:void 0,callType:void 0,mediaType:void 0,conferenceName:void 0,conferenceState:void 0}};b.logImpression=function(a){this.logEvent(babelHelpers["extends"]({eventName:"impression"},a))};b.logPreCallImpression=function(a){this.clearCache(),this.logImpression(a)};b.logPreCallClick=function(a){this.clearCache(),this.logClick(a)};b.logClick=function(a){this.logEvent(babelHelpers["extends"]({eventName:"tap"},a))};b.logError=function(a){this.logEvent(babelHelpers["extends"]({eventName:"error"},a))};b.startTimer=function(a){var b=c("performanceNow")();this.$2=this.$2.set(a,b);this.logCheckpoint({checkpoint:a+"_timerStart"});this.$8(a,{startTime:b})};b.logStopTimer=function(a){var b=a.checkpointName===void 0?a.timerName:a.checkpointName,c=a.event||{};c.timeElapsed=this.$9(a.timerName);this.logCheckpoint(babelHelpers["extends"]({checkpoint:b+"_timerEnd"},c));return c.timeElapsed};b.logCheckpoint=function(a){this.logEvent(babelHelpers["extends"]({eventName:"checkpoint"},a))};b.$10=function(a){return a===null||a===void 0};b.logEvent=function(a){if(c("ZenonSDESKeyDetector")(a))throw c("unrecoverableViolation")("RTWebUserActionLogger event contains SDES crypto key! This log entry must be removed!","rtc_www");var b=this.$1;b.callID=this.$10(a.callID)?b.callID:a.callID;b.callType=a.callType||b.callType;b.conferenceState=a.conferenceState||b.conferenceState;b.conferenceName=this.$10(a.conferenceName)?b.conferenceName:a.conferenceName;b.isCaller=a.isCaller==null?b.isCaller:a.isCaller;b.mediaType=a.mediaType||b.mediaType;this.$11(a,b);b=this.$12(a,b);this.$8(a.eventName,b)};b.$12=function(a,b){var d={call_type:b.callType,client_time:Date.now().toString(),device_id:this.$5,error_domain:a.errorDomain,error_type:a.errorType,component:a.component,conference_state:b.conferenceState,event:a.eventName,media_type:b.mediaType,page:this.$6,call_id:b.callID,conference_name:b.conferenceName,surface:a.surface,checkpoint:a.checkpoint,event_time_elapsed:(a=a.timeElapsed)==null?void 0:a.toString(),is_caller:b.isCaller,codebase_version:"Old Codebase"};c("RtcWebUserActionsFalcoEvent").log(function(){return d});return d};b.$11=function(a,b){var d={call_type:b.callType,client_time:Date.now().toString(),device_id:this.$5,error_domain:a.errorDomain,error_type:a.errorType,component:a.component,conference_state:b.conferenceState,event:a.eventName,media_type:b.mediaType,page:this.$6,call_id:b.callID,conference_name:b.conferenceName,surface:a.surface,checkpoint:a.checkpoint,event_time_elapsed:(a=a.timeElapsed)==null?void 0:a.toString(),is_caller:b.isCaller,codebase_version:"Old Codebase"};c("RtcWebUserActionsDebugFalcoEvent").log(function(){return d});return d};b.getCallType=function(a,b){b===void 0&&(b=!1);if(a===null||a===void 0)return null;if(a)return"mw";else if(b)return"escalated";else return"p2p"};b.getAudioVideoComponent=function(a){return a===null||a===void 0?null:a?"audio_button":"video_button"};b.getMediaType=function(a,b){b===void 0&&(b=!1);if(b)return"escalated";else if(a)return"audio";else return"video"};b.logErrorOnceforDomain=function(a,b){this.$3.has(a)||(this.$3.add(a),this.logError({errorDomain:a,errorType:b.toString()}))};b.logCheckpointOnceForDomain=function(a){var b=a.checkpoint;this.$4.has(b)||(this.$4.add(b),this.logCheckpoint(a))};b.clearLoggedDomains=function(){this.$3.clear(),this.$4.clear()};b.getWebLoggerInfoFromStore=function(a){a=a.callInfo;var b=a.callID,c=a.conferenceName;a=a.conferenceState;return{callID:b,conferenceName:c,conferenceState:a}};b.$7=function(){if(d("ZenonBrowsers").isMobileDevice())return"mweb";else if(c("CurrentUser").isWorkUser())return"workplace";var a=window.location.hostname;if(a.search("facebook")!==-1)return"facebook";else if(a.search("messenger")!==-1)return"messenger_dot_com";return a};b.$9=function(a){var b=this.$2.get(a);if(b){this.$2=this.$2.remove(a);return parseInt(c("performanceNow")()-b,10)}return null};b.$8=function(a,b){a=a==null?"null":a;c("FBRTCConsoleLogger").getInstance().getLogHistory().log(a,JSON.stringify(b))};return a}();b=new a();g["default"]=b}),98); __d("FBRTCMessageType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({JOIN:0,SERVER_MEDIA_UPDATE:1,HANGUP:2,ICE_CANDIDATE:3,RING:4,DISMISS:5,CONFERENCE_STATE:6,ADD_PARTICIPANTS:7,SUBSCRIPTION:8,CLIENT_MEDIA_UPDATE:9,DATA_MESSAGE:10,REMOVE_PARTICIPANTS:11,PING:18,P2P_PROTOCOL:19,UPDATE:20,NOTIFY:21,CONNECT:22,CLIENT_EVENT:23,UNSUBSCRIBE:25,APPROVAL:26})}),null); __d("FBRTCRtcResponseStatusCode",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({OK:200,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,METHOD_NOT_ALLOWED:406,CONFLICT:409,CONDITIONAL_REQUEST_FAILED:412,SERVER_INTERNAL_ERROR:500,SERVICE_UNAVAILABLE:503})}),null); __d("RtcCallActionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744335");c=b("FalcoLoggerInternal").create("rtc_call_action",a);e.exports=c}),null); __d("RtcInfraReliabilityFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1744336");c=b("FalcoLoggerInternal").create("rtc_infra_reliability",a);e.exports=c}),null); __d("RtcTslogFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1825919");c=b("FalcoLoggerInternal").create("rtc_tslog",a);e.exports=c}),null); __d("FBRTCLogger",["CurrentUser","FBLogger","FBRTCConsoleLogger","FBRTCMessageType","FBRTCRtcResponseStatusCode","FacebookAppIDs","MarauderLogger","ODS","P2pReliabilityFalcoEvent","RTWebLoggingSharedInstance","RTWebUserActionLogger","RtcCallActionFalcoEvent","RtcInfraReliabilityFalcoEvent","RtcTslogFalcoEvent","UserAgentData","gkx","pageID"],(function(a,b,c,d,e,f,g){var h="rtc_client_call_summary",i="client_error",j="client_event",k="info",l="received_message",m="send_failed",n="send_succeeded",o="sent_message",p="RECEIVED_RESPONSE",q="RECEIVED_REQUEST",r="PROCESSING_REQUEST",s="PROCESSED_REQUEST",t="PROCESSING_REQUEST_FAILED",u="PROCESSED_RESPONSE",v="START_PROCESSING_RESPONSE",w="SENDING_RESPONSE",x="RELAY_CONNECTED",y="BEGIN_SET_REMOTE_DESCRIPTION",z="END_SET_REMOTE_DESCRIPTION",A="BEGIN_REMOTE_SDP_MUNGING",B="END_REMOTE_SDP_MUNGING",C="SENDING_REQUEST",D="SENT_REQUEST",E="SENT_RESPONSE",F="SEND_REQUEST_FAILED",G="SEND_RESPONSE_FAILED",H=null;a=function(){a.getInstance=function(){H==null&&(H=new a());return H};a.multiwayMessageTypeName=function(a){switch(a){case c("FBRTCMessageType").JOIN:return"JOIN";case c("FBRTCMessageType").SERVER_MEDIA_UPDATE:return"SERVER_MEDIA_UPDATE";case c("FBRTCMessageType").HANGUP:return"HANGUP";case c("FBRTCMessageType").ICE_CANDIDATE:return"ICE_CANDIDATE";case c("FBRTCMessageType").RING:return"RING";case c("FBRTCMessageType").DISMISS:return"DISMISS";case c("FBRTCMessageType").CONFERENCE_STATE:return"CONFERENCE_STATE";case c("FBRTCMessageType").ADD_PARTICIPANTS:return"ADD_PARTICIPANTS";case c("FBRTCMessageType").SUBSCRIPTION:return"SUBSCRIPTION";case c("FBRTCMessageType").CLIENT_MEDIA_UPDATE:return"CLIENT_MEDIA_UPDATE";case c("FBRTCMessageType").DATA_MESSAGE:return"DATA_MESSAGE";case c("FBRTCMessageType").REMOVE_PARTICIPANTS:return"REMOVE_PARTICIPANTS";case c("FBRTCMessageType").CONNECT:return"CONNECT";case c("FBRTCMessageType").PING:return"PING";case c("FBRTCMessageType").P2P_PROTOCOL:return"P2P_PROTOCOL";case c("FBRTCMessageType").UPDATE:return"UPDATE";case c("FBRTCMessageType").NOTIFY:return"NOTIFY";case c("FBRTCMessageType").CLIENT_EVENT:return"CLIENT_EVENT";case c("FBRTCMessageType").UNSUBSCRIBE:return"UNSUBSCRIBE"}return a.toString()};function a(){var a=this;this.logError=function(b,d,e){var f,g={call_id:d,content:e,peer_id:b};f=c("FBLogger")("rtweb").addMetadata("RT_WEB","CALL_ID",""+((f=d)!=null?f:"null")).addMetadata("RT_WEB","PEER_ID",""+((f=b)!=null?f:"null"));if(typeof e==="string")f.warn(e);else{var h=JSON.stringify(e);f.warn((f=h)!=null?f:"Unknown error")}a.$9(i,g);a.$5(b,d,"Error",JSON.stringify(e))};this.$2=JSON.stringify({version:2,device:c("UserAgentData").deviceName,os:c("UserAgentData").platformName,os_version:c("UserAgentData").platformFullVersion,browser:c("UserAgentData").browserName,browser_version:c("UserAgentData").browserFullVersion});this.$3=JSON.stringify({version:2,device:c("UserAgentData").deviceName,os:c("UserAgentData").platformName,os_version:c("UserAgentData").platformFullVersion,browser:c("UserAgentData").browserName,browser_version:c("UserAgentData").browserFullVersion,msg_source:"web"});this.$1=c("RTWebLoggingSharedInstance").getDeviceID();this.$4=c("FacebookAppIDs").MQTT_WEB}var b=a.prototype;b.logToConsole=function(a){this.$5(null,null,"Console",a)};b.$6=function(a,b,d,e,f,g,h){var i=this;c("P2pReliabilityFalcoEvent").log(function(){return{app_id:i.$4.toString(),call_id:a,device_id:i.$1,result_code:h==null?void 0:h.toString(),event_name:b,extra:i.$2,msg_id:e,msg_type:d.toUpperCase(),raw_time:String(Date.now()),receiver_id:g,sender_id:f,service_name:"WEB_CLIENT"}})};b.logMultiwayMessageReceived=function(b,c){var d=a.multiwayMessageTypeName(b.type());this.$5(b.conferenceName(),c,"Received MW",d+", "+b.transactionId(),d==="EXPERIMENT"?"DEBUG":"INFO");b.isRequest()&&this.$7(q,b.conferenceName(),b.serverInfoData(),b.transactionId(),a.multiwayMessageTypeName(b.type()),b.header().retryCount,c?c.toString():null)};b.$8=function(b,c,d,e){if(!c.isRequest())return;this.$7(b,c.conferenceName(),c.serverInfoData(),c.transactionId(),a.multiwayMessageTypeName(c.type()),c.header().retryCount,d?d.toString():null,e?e:null)};b.logServerRequestStartProcessing=function(a,b){this.$8(r,a,b)};b.logServerRequestDoneProcessing=function(a,b){this.$8(s,a,b)};b.logServerRequestFailedProcessing=function(a,b,c){this.$8(t,a,b,c)};b.logMultiwayResponseReceived=function(b,d){try{var e=b.header.responseStatusCode;e===c("FBRTCRtcResponseStatusCode").OK&&this.$7(p,b.header.conferenceName,b.header.serverInfoData,b.header.transactionId,a.multiwayMessageTypeName(b.header.type),b.header.retryCount,d)}catch(a){this.logErrorWithoutID(a)}};b.logMultiwayResponseStartProcessing=function(b,c,d){this.$7(v,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,c,d)};b.logMultiwayResponseProcessed=function(b,d,e){try{var f=b.responseStatusCode;f===c("FBRTCRtcResponseStatusCode").OK&&this.$7(u,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,d,e)}catch(a){this.logErrorWithoutID(a)}};b.logMultiwayResponseProcessedFromResponsePayload=function(a,b,d){try{var e=a.header.responseStatusCode;e===c("FBRTCRtcResponseStatusCode").OK&&this.logMultiwayResponseProcessed(a.header,b,d)}catch(a){this.logErrorWithoutID(a)}};b.logSendingMultiwayMessage=function(b){this.$7(b.isRequest()?C:w,b.conferenceName(),b.serverInfoData(),b.transactionId(),a.multiwayMessageTypeName(b.type()),b.header().retryCount,b.header().clientSessionId)};b.logSentMultiwayMessage=function(b){this.$7(b.isRequest()?D:E,b.conferenceName(),b.serverInfoData(),b.transactionId(),a.multiwayMessageTypeName(b.type()),b.header().retryCount,b.header().clientSessionId)};b.logSendMultiwayMessageFailed=function(b){this.$7(b.isRequest()?F:G,b.conferenceName(),b.serverInfoData(),b.transactionId(),a.multiwayMessageTypeName(b.type()),b.header().retryCount,b.header().clientSessionId)};b.logSendMultiwayMessageFailure=function(a){d("ODS").bumpEntityKey(4083,"scotch_multiway","send_message_failure"),d("ODS").flush(),c("RTWebUserActionLogger").logCheckpoint({checkpoint:"Failed to send MW message, error: "+a})};b.logMultiwayRelayConnected=function(a,b,c){this.$7(x,a,b,null,null,null,c)};b.logMultiwayBeginSetRemoteDescription=function(b){this.$7(y,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,b.clientSessionId)};b.logMultiwayEndSetRemoteDescription=function(b){this.$7(z,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,b.clientSessionId)};b.logMultiwayBeginRemoteSdpMunging=function(b){this.$7(A,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,b.clientSessionId)};b.logMultiwayEndRemoteSdpMunging=function(b){this.$7(B,b.conferenceName,b.serverInfoData,b.transactionId,a.multiwayMessageTypeName(b.type),b.retryCount,b.clientSessionId)};b.$7=function(a,b,d,e,f,g,h,i){var j=this;c("RtcInfraReliabilityFalcoEvent").log(function(){return{event_name:a,client_session_id:h,data:{extra_data:i},tc:Date.now(),conference_name:b,server_info_data:d,message_type:f,transaction_id:e,retry_count:g,web_device_id:j.$1,web_app_id:j.$4,version:"0"}})};b.logReceivedMessage=function(a,b,d){var e=b?b.toString():null,f={call_id:b,from:a,msg_id:d.msg_id,type:d.type};d.sdp&&(f.content=d.sdp);d.ack_id&&(f.ack_msg_id=d.ack_id);var g=d.type||d.msgType;this.$6(e,"CLIENT_RECEIVED_MESSAGE",g,d.msg_id,a,c("CurrentUser").getID());this.$9(l,f);this.$5(a,b,"Received P2P",d.type+", "+d.msg_id)};b.logSentMessage=function(a,b,d){var e=b?b.toString():null,f={call_id:b,msg_id:d.msg_id,to:a,type:d.type};d.sdp&&(f.content=d.sdp);d.ack_id&&(f.ack_msg_id=d.ack_id);this.$6(e,"CLIENT_SENDING_MESSAGE",d.type,d.msg_id,c("CurrentUser").getID(),a);this.$9(o,f);this.$5(a,b,"Sent",d.type+", "+d.msg_id)};b.logSentMessageSuccess=function(a,b,d,e){var f={call_id:b,msg_id:e,peer_id:a,type:d};b=b?b.toString():null;this.$6(b,"CLIENT_TRANSPORT_SUCCESS",d,e.toString(),c("CurrentUser").getID(),a);this.$9(n,f)};b.logSentMessageFailure=function(a,b,d,e,f){var g={call_id:b,error_code:f,msg_id:e,peer_id:a,type:d},h=b?b.toString():null;this.$6(h,"CLIENT_TRANSPORT_ERROR",d,e.toString(),c("CurrentUser").getID(),a,f);this.$9(m,g);this.$5(a,b,"Send Failed",d+", "+f)};b.logCallAction=function(a,b,d,e,f){var g={call_action:d,call_id:b,content:e,peer_id:a};f&&(g.trigger=f);c("RtcCallActionFalcoEvent").logImmediately(function(){return{action_name:d,call_id:"",audio_output_name:"UNKNOWN",rownum:-1,logging_instance_id:-1,logger_schema_version:-1,caller_id:"",call_type:"UNKNOWN",session_type:"UNKNOWN",seconds_since_call_start:-1,ms_since_epoch:-1,ms_steady:-1,device_orientation:"UNKNOWN",interface_orientation:"UNKNOWN",battery_level:-1,battery_plugged_state:"UNKNOWN",battery_charge_state:"UNKNOWN",battery_mode:"UNKNOWN",camera_facing:"UNKNOWN"}});this.$5(a,b,"CallAction",d+", "+JSON.stringify(e))};b.logEvent=function(a,b,c){var d={call_id:b,content:c,peer_id:a};this.$9(j,d);this.$5(a,b,"Event",JSON.stringify(c))};b.logInfo=function(a,b,c){var d={call_id:b,content:c,peer_id:a};this.$9(k,d);this.$5(a,b,"Info",JSON.stringify(c))};b.logErrorWithoutID=function(a){this.logError(null,null,a)};b.logEndCallSummary=function(a,b){b===void 0&&(b=!1);if(!a)return;c("RTWebUserActionLogger").logCheckpoint({checkpoint:"Attempting to upload CallSummary",callID:a.callID});var d={call_id:a.callID,channel_session_id:a.deviceID,content:a.toString(),local_call_id:a.localCallID,peer_id:a.peerID,tag:"endcallstats"},e=babelHelpers["extends"]({},d,a.getExtraInfo());this.$9(h,e,b);this.$5(a.peerID,a.callID,"Call Summary",JSON.stringify(d));c("RTWebUserActionLogger").logCheckpoint({checkpoint:"Complete uploading CallSummary",callID:a.callID})};b.logTsLogData=function(a,b,d,e,f){f===void 0&&(f=null);if(!b||!d||a.streams.length===0)return;c("RTWebUserActionLogger").logCheckpoint({checkpoint:"Attempting to upload tslog",callID:d});var g=b;f&&(g=null);var h=JSON.stringify(a);c("RtcTslogFalcoEvent").logImmediately(function(){return{call_id:d,conf_name:e,time_series1:h,serv_info:f,peer_id:g}});this.$5(b,d,"TSLog Data",h);c("RTWebUserActionLogger").logCheckpoint({checkpoint:"Complete uploading tslog",callID:d})};b.doesContainSensitiveData=function(a){return String(a).indexOf("crypto")>-1};b.redactSensitiveData=function(a,b){if(a!==h){a=JSON.stringify(b);if(this.doesContainSensitiveData(a))return{redacted:!0}}return b};b.$9=function(a,b,e){e===void 0&&(e=!1);var f="basic";e&&(f=c("gkx")("1488912")?"vital":"signal");b.page_id=c("pageID");e=this.redactSensitiveData(a,b);c("FBRTCConsoleLogger").getInstance().getLogHistory().log(a,e);d("MarauderLogger").log(a,c("FBRTCConsoleLogger").MODULE_NAME,e,void 0,void 0,void 0,void 0,f)};b.$5=function(a,b,d,e,f){f===void 0&&(f="DEBUG"),c("FBRTCConsoleLogger").getInstance().log(this.doesContainSensitiveData(e)?"redacted":e,a,b,d,f)};return a}();a.CallAction=Object.freeze({ANSWER_CALL:"answer_call",AUTO_DISABLE_VIDEO:"auto_disable_video",DENIED_PERMISSION:"denied_permission",END_CALL:"end_call",FAILED_GETTING_URI:"failed_getting_uri",OLD_URI:"old_uri",OPEN_POPUP:"open_popup",POPUP_OPENED:"popup_opened",RECEIVED_CALL:"received_call",SET_FULLSCREEN_ON:"set_fullscreen_on",SET_MUTE:"set_mute",SET_SELF_VIEW_ON:"set_self_view_on",SET_VIDEO_ON:"set_video_on",START_CALL:"start_call",START_SKYPE:"start_skype",TRY_NEW:"try_new",USER_SETTINGS_CHANGED:"user_settings_changed"});a.Trigger=Object.freeze({ADMIN_MESSAGE:"admin_message",CHAT_TAB_ICON_TOUR:"chat_tab_icon_tour",CHAT_TAB_ICON:"chat_tab_icon",CHAT_TAB_VOICE_ICON:"chat_tab_voice_icon",MULTIWAY_ADMIN_MESSAGE_JOIN_AUDIO_CALL_BUTTON:"multiway_admin_message_join_audio_call_button",MULTIWAY_ADMIN_MESSAGE_JOIN_VIDEO_CALL_BUTTON:"multiway_admin_message_join_video_call_button",MULTIWAY_ADMIN_MESSAGE_START_AUDIO_CALL_BUTTON:"multiway_admin_message_start_audio_call_button",MULTIWAY_ADMIN_MESSAGE_START_VIDEO_CALL_BUTTON:"multiway_admin_message_start_video_call_button",MULTIWAY_CHAT_TAB_SHEET_JOIN_CALL_BUTTON:"multiway_chat_tab_sheet_join_call_button",MULTIWAY_POPUP_START_CALL_BUTTON:"multiway_popup_start_call_button",MULTIWAY_THREAD_HEADER_AUDIO_BUTTON:"multiway_thread_header_audio_button",MULTIWAY_THREAD_HEADER_JOIN_AUDIO_CALL_AUDIO_BUTTON:"multiway_thread_header_join_audio_call_audio_button",MULTIWAY_THREAD_HEADER_JOIN_AUDIO_CALL_VIDEO_BUTTON:"multiway_thread_header_join_audio_call_video_button",MULTIWAY_THREAD_HEADER_JOIN_VIDEO_CALL_AUDIO_BUTTON:"multiway_thread_header_join_video_call_audio_button",MULTIWAY_THREAD_HEADER_JOIN_VIDEO_CALL_VIDEO_BUTTON:"multiway_thread_header_join_video_call_video_button",MULTIWAY_THREAD_HEADER_VIDEO_BUTTON:"multiway_thread_header_video_button",MULTIWAY_THREAD_LIST_JOIN_CALL_BUTTON:"multiway_thread_list_join_call_button",POPUP_CALL_START_BUTTON:"popup_start_call_button",REDIAL_BUTTON:"redial_button",RESET_CALL:"install_screen_sharing_ext_dialog",RETURN_CALL:"return_call",SKYPE_DEPRECATION_DIALOG:"skype_deprecation_dialog",TIMELINE_PROFILE:"timeline_profile",VC_PRECALL_SETUP:"vc_precall_setup",WORKPLACE_GROUP_CALL:"workplace_group_call",WORKPLACE_P2P_CALL:"workplace_p2p_call",UNKNOWN:"unknown",WEB_MESSENGER:"web_messenger",TEAMWORK_USER_VIDEO_CALL_ITEM:"teamwork_user_video_call_item",TEAMWORK_USER_AUDIO_CALL_ITEM:"teamwork_user_audio_call_item"});a.Key=Object.freeze({BATTERY_START:"battery_start",BATTERY_END:"battery_end",CALL_TYPE:"call_type",CONNECTION_EFFECTIVE_TYPE:"conn_effective_type",CPU_CORES:"cpu_cores",DEVICE_INFO:"device_info",DEVICE_MEMORY:"device_memory",DEVICE_PIXEL_RATIO:"device_pixel_ratio",INITIATED_BY_PAGE_ID:"initiated_by_page_id",INITIATED_BY_APP_ID:"initiated_by_app_id",PEER_IS_MOBILE:"peer_is_mobile",RATING_SHOWN:"rating_shown",RATING:"rating5",ROOM_SURFACE:"room_surface",EFFECT_COUNT:"rtc_effect_count",EFFECT_TOTAL_DURATION:"rtc_effect_total_duration",VIDEO_DURATION_WITH_FILTER:"rtc_video_duration_with_filter_enabled",SCREEN_DURATION:"screen_duration",SURVEY_CHOICE:"survey_choice",SURVEY_DETAILS:"survey_details",SURVEY_SHOWN:"survey_shown",MEDIA_INPUTS:"media_inputs",VIDEO_CAPABILITIES:"video_capabilities",CB_ACTIVE:"cb_active",YEAR_CLASS:"year_class",DESKTOP_DEVICE_CLASS:"desktop_device_class",IS_BACKGROUNDED:"is_backgrounded",APPLICATION_STATE:"application_state",MAX_CONCURRENT_CONNECTED_PARTICIPANTS:"max_concurrent_connected_participants"});g["default"]=a}),98); __d("MessageRequestsViewThreadlistFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("263");c=b("FalcoLoggerInternal").create("message_requests_view_threadlist",a);e.exports=c}),null); __d("MessengerDesktopDeeplinkEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1856945");c=b("FalcoLoggerInternal").create("messenger_desktop_deeplink_event",a);e.exports=c}),null); __d("FRXEntryPoint",[],(function(a,b,c,d,e,f){a=Object.freeze({ACTIVITY_LOG:"activity_log",AGORA_GROUPS:"agora_groups",AGORA_RECENT_NEWS:"agora_recent_news",BLOCK_BUTTON:"block_button",BLOCK_COMPOSER:"block_composer",BUSINESS_NOTIFICATION_MESSAGE_REPORT_BUTTON:"business_notification_message_report_button",CHEVRON_BUTTON:"chevron_button",CHEVRON_TAGS:"chevron_tags",COLLEGES_LIVE_CHAT_REPORT_TO_FB:"colleges_live_chat_report_to_fb",COMMENT:"comment",CONTENT_OVERLAY:"content_overlay",CROWDSOURCING_REPORT:"crowdsourcing_report",DELETE_CONTENT_REPORT:"delete_content_report",DELETE_CONVERSATION_REPORT:"delete_conversation_report",DEVELOPER_FEEDBACK_BUTTON:"developer_feedback_button",EVENTS_REPORTING:"events_reporting",FEEDBACK_BUTTON:"feedback_button",FOX_CHEVRON_TAGS:"fox_chevron_tags",GEMSTONE_MEDIA:"gemstone_media",GEMSTONE_MESSAGING:"gemstone_messaging",GEMSTONE_PROFILE:"gemstone_profile",GROUP_MALL_RELATED_GROUPS_CHAINING:"group_mall_related_groups_chaining",GROUP_MALL_RHC:"group_mall_rhc",GROUPS_ADMIN_FEEDBACK:"groups_admin_feedback",GROUPS_DISCOVER:"groups_discover_page",GROUPS_DISCOVER_HIDE_BUTTON:"groups_discover_hide_button",GROUPS_JOIN_QUESTION:"groups_join_question",GROUPS_LEAVE:"groups_leave",GROUPS_LEAVE_BROWSE:"groups_leave_browse",GROUPS_LEAVE_SPECIAL:"groups_leave_special",GROUPS_PARTICIPATION_QUESTION:"groups_participation_question",GROUPS_PENDING_QUEUE:"groups_pending_queue",GROUPS_POLL:"groups_poll",GROUPS_REPORT:"groups_report",GROUPS_REPORT_TO_ADMIN:"groups_report_to_admin",GROUPS_RULE:"groups_rule",GROUPS_TAB_CHAT_ROW:"groups_tab_chat_row",GROUPS_TAB_DISCOVER_FIRST:"groups_tab_discover_first",GROUPS_TRANSPARENCY:"groups_transparency",HATE_CTA:"hate_cta",HELP_NAV_BUTTON:"help_nav_button",HIDE_AD_BUTTON:"hide_ad_button",INSTANT_GAMES_BOT_FEEDBACK_LINK:"instant_games_bot_feedback_link",LEAVE_CONVERSATION_REPORT:"leave_conversation_report",LOCAL_COMMUNITY_DEMOTE_CONTENT:"local_community_demote_content",LOCAL_COMMUNITY_MOD_HUB_DEMOTE:"local_community_mod_hub_demote",LOCAL_COMMUNITY_POST_REPORT_TO_MOD:"local_community_post_report_to_mod",LOCAL_LIVE_CHAT_REPORT_TO_FB:"local_live_chat_report_to_fb",MARK_AS_SOLD_BUTTON:"mark_as_sold_button",MARK_AS_SUSPICIOUS_BUTTON:"mark_as_suspicious_button",MESSAGE_MEDIA_BUBBLE_REPORT:"message_media_bubble_report",MOBILE_GYSJ:"mobile_gysj",NOTIFICATIONS_JEWEL:"notifications_jewel",PAGE_UNFOLLOW:"page_unfollow",PAGE_UNFOLLOW_CHEVRON:"page_unfollow_chevron",PAGE_UNLIKE:"page_unlike",PAGE_VERIFICATION_BADGE_OPTION:"page_verification_badge_option",PAGE_VERIFICATION_PAGE_OPTION:"page_verification_page_option",POLITICAL_AD_VERIFIED_VOICE:"political_ad_verified_voice",PROACTIVE_WARNING_BANNER:"proactive_warning_banner",PROACTIVE_WARNING_COMPOSER_BLOCK:"proactive_warning_composer_block",PROACTIVE_WARNING_POPOVER:"proactive_warning_popover",PROFILE_REPORT_BUTTON:"profile_report_button",PROFILE_REPORT_FLOW:"profile_report_flow",QUICK_REPORT_ACTION:"quick_report_action",RELATED_SEARCHES:"related_searches",REPORT_AD_BUTTON:"report_ad_button",REPORT_BUTTON:"report_button",REPORT_JOB_BUTTON:"report_job_button",REPORT_LONG_PRESS:"report_long_press",ROOMS_POST_CALL_LOW_RATING:"rooms_post_call_low_rating",SCHOOL_COMMUNITY_TAGS:"school_community_tags",SEARCH_TYPEAHEAD:"search_typeahead",SNACKBAR:"snackbar",STORY_ATTACHMENT_SHARE:"story_attachment_share",STRUCTURED_REPORT_BUTTON:"structured_report_button",THREADLIST_MENU_REPORT:"threadlist_menu_report",TOMBSTONE:"tombstone",TOOLBAR_REPORT_ACTION:"toolbar_report_action",UNKNOWN:"unknown",UNOWNED_PAGE_ACTION_MENU_REPORT_PAGE:"unowned_page_action_menu_report_page",USER_CONTROL_MENU:"user_control_menu",WORKPLACE_REPORT_BUTTON:"workplace_report_button",X_OUT:"x_out"});f["default"]=a}),66); __d("NFXStoryLocation",[],(function(a,b,c,d,e,f){a=Object.freeze({ACCOUNT:"account",ACCOUNT_STATUS:"account_status",ACELA:"acela",ACTION_EXPERIENCE:"action_experience",ACTIVITY_LOG:"activity_log",ACTIVITY_LOG_FACE_ALERTS:"face_alerts",ACTOR_GATEWAY:"actor_gateway",AD_LIBRARY_V2_POLITICAL_ADS:"ad_library_v2_political_ads",ADS_TRANSPARENCY:"ads_transparency",AFX_FLOW:"afx_flow",AGORA:"agora",AGORA_COMMUNITY_POST:"agora_community_post",AGORA_EVENTS:"agora_events",APP_BOOKMARKS:"app_bookmarks",APP_CENTER:"app_center",APP_INVITES_FEED:"app_invites_feed",APP_PERMISSIONS_DIALOG:"app_permissions_dialog",APPLET_OVERLAY:"applet_overlay",AR_CREATOR_PROFILE:"ar_creator_profile",AR_LIBRARY:"ar_library",ARTICLE_CONTEXT:"article_context",ASYNC_TASK_DO_NOT_USE:"async",AUDIENCE_INSIGHTS:"audience_insights",BACKSTAGE:"backstage",BALLOT:"ballot",BIZ_DISCO:"biz_disco",BLENDED_SEARCH_RESULTS:"blended_search",BOOKMARK_FRIENDS_PYMK:"bookmark_friends_pymk",BOOKMARK_FULL_WIDTH_PREVIEW:"bookmark_full_width_preview",BOOKMARK_GAMING_STREAMS:"bookmark_gaming_streams",BOOKMARK_GROUPS_GYSJ:"bookmark_groups_gysj",BOOKMARK_GROUPS_POSTS:"bookmark_groups_posts",BOOKMARK_JOBS:"bookmark_jobs",BOOKMARK_MARKETPLACE_LISTING:"bookmark_marketplace_listing",BOOKMARK_MEMORIES:"bookmark_memories",BOOKMARK_NEWS:"bookmark_news",BOOKMARK_RICH_TILE:"bookmark_rich_tile",BOOKMARK_WATCH:"bookmark_watch",BREAKUP_FLOW:"breakup_flow",BSG_FOR_SALE_LIVE_VIDEO_BROADCAST_COMPLETE:"bsg_for_sale_live_video_broadcast_complete",BSG_FOR_SALE_LIVE_VIDEO_BROADCAST_COMPLETE_FROM_POST:"bsg_for_sale_live_video_broadcast_complete_from_post",BSG_FOR_SALE_LIVE_VIDEO_BROADCAST_IN_PROGRESS:"bsg_for_sale_live_video_broadcast_in_progress",BSG_FOR_SALE_LIVE_VIDEO_BROADCAST_IN_PROGRESS_FROM_POST:"bsg_for_sale_live_video_broadcast_in_progress_from_post",BULLETIN_PUBLICATION:"bulletin_publication",BUSINESS_MANAGER:"business_manager",CAMERA_MEDIA_EFFECT:"camera_media_effect",CAMPUS:"campus",CANDIDATE_VIDEOS:"candidate_videos",CANONICAL_MESSENGER_REPORT_BUYER:"canonical_messenger_report_buyer",CANONICAL_MESSENGER_REPORT_SELLER:"canonical_messenger_report_seller",CHAINING_FEED:"chaining_feed",CHEVRON:"chevron",CHEVRON_GLYPH:"glyph",CLEAR_HISTORY:"clear_history",COLLEGE_COMMUNITY:"college_community",COMMERCE:"commerce",COMMUNITY_HELP:"community_help",COMMUNITY_HELP_DRIVE:"community_help_drive",COMMUNITY_TAB:"community_tab",COMPASS:"compass",COMPASS_POST:"compass_post",COMPASS_VIDEO:"compass_video",COMPASSION_RESOURCES:"compassion_resources",COMPOSER:"composer",CONTENT_OVERLAY:"content_overlay",CONTEXTUAL_PROFILE:"contextual_profile",CORRECT_THE_RECORD:"correct_the_record",CREATOR_APP_INSPIRATION_FEED:"creator_app_inspiration_feed",CRISIS_FEED:"crisis_feed",CROWDSOURCING_REPORT:"crowdsourcing_report",CUSTOM_COMMERCE_PROFILE:"custom_commerce_profile",DEVELOPER_COMMUNITY_POST:"developer_community_post",DIRECT_MESSAGING:"direct_messaging",ELECTION_HUB:"election_hub",ENTITY_CARDS:"entity_cards",EVENT:"event",EXPLORE_FEED:"explore_feed",EXTERNALLY_POPULAR_RELATED_HASHTAGS:"externally_popular_related_hashtags",FB_MESSENGER_ROOM_LOBBY:"fb_messenger_room_lobby",FB_NOTE:"fb_note",FB_REELS:"fb_reels",FB_SHORTS_AUDIO_PAGE:"fb_shorts_audio_page",FB_SHORTS_BOOKMARK:"fb_shorts_bookmark",FB_SHORTS_DISCOVER_HUB_DEEP_DIVE:"fb_shorts_discover_hub_deep_dive",FB_SHORTS_IG_MEDIA_PROFILE_VIDEO_DEEP_DIVE:"fb_shorts_ig_media_profile_video_deep_dive",FB_SHORTS_IG_MEDIA_VIDEO_DEEP_DIVE:"fb_shorts_ig_media_video_deep_dive",FB_SHORTS_NOTIFICATION:"fb_shorts_notification",FB_SHORTS_PROFILE:"fb_shorts_profile",FB_SHORTS_PROFILE_VIDEO_DEEP_DIVE:"fb_shorts_profile_video_deep_dive",FB_SHORTS_TAB:"fb_shorts_tab",FB_SHORTS_VIDEO_DEEP_DIVE:"fb_shorts_video_deep_dive",FBTV_CURATED_CONTENT:"fbtv_curated_content",FEED:"feed",FEEDBACK_COMMENT:"feedback_comment",FLX_PROACTIVE:"flx_proactive",FNRP_AUTOMATED_SCRIPT:"fnrp_automated_script",FOX_CHEVRON:"fox_chevron",FOX_FEED:"fox_feed",FRIEND_LIST:"friend_list",FULLSCREEN_VIDEO_PLAYER:"fullscreen_video_player",FUNDRAISER_PAGE_FEED:"fundraiser_page_feed",FUNDRAISER_PERSON_FOR_PERSON:"fundraiser_person_for_person",FUNDRAISER_PERSON_TO_CHARITY:"fundraiser_person_to_charity",GAME_DETAIL:"game_detail",GAME_HUB_QUESTIONS:"game_hub_questions",GAME_PAGE:"game_page",GAMES_ARENA:"games_arena",GAMES_FEED:"games_feed",GAMES_REQUESTS:"games_requests",GAMES_VIDEO_CLIPS_HOME_IMMERSIVE_PLAYER:"games_video_clips_home_immersive_player",GAMING_IDENTITY:"gaming_identity",GAMING_VIDEO_MODERATION:"gaming_video_moderation",GEMSTONE_PROFILE:"gemstone_profile",GEMSTONE_STORY:"gemstone_story",GROUP:"group",GROUP_INSTALLED_APPS:"group_installed_apps",GROUP_MOMENT:"group_moment",GROUPS_APPS_STORE:"groups_apps_store",HEAD_PUBLISHER_APP_MENTIONS_FEED:"head_publisher_app_mentions_feed",HELP_AND_SUPPORT:"help_and_support",HELP_COMMUNITY:"help_community",HIGHLIGHTS_UNIT:"highlights_unit",HORIZON:"horizon",HOVERCARD:"hovercard",HUDDLE_LISTENER:"huddle_listener",HUDDLE_SPEAKER:"huddle_speaker",IG_AR_EFFECT_CAMERA_TRAY:"ig_ar_effect_camera_tray",IG_AR_EFFECT_DIRECT_SEND:"ig_ar_effect_direct_send",IG_AR_EFFECT_DISCOVERY_PREVIEW:"ig_ar_effect_discovery_preview",IG_AR_EFFECT_FEED_ATTRIBUTION_BOTTOM_SHEET:"ig_ar_effect_feed_attribution_bottom_sheet",IG_AR_EFFECT_PROFILE_PREVIEW:"ig_ar_effect_profile_preview",IG_AR_EFFECT_STORIES_ATTRIBUTION_BOTTOM_SHEET:"ig_ar_effect_stories_attribution_bottom_sheet",IG_AR_EFFECT_VIDEO_CALLING:"ig_ar_effect_video_calling",IG_CLIPS_EFFECT_PAGE:"ig_clips_effect_page",IG_CLIPS_POST:"ig_clips_post",IG_CLIPS_SONG_PAGE:"ig_clips_song_page",IG_COMMENTS:"ig_comments",IG_COMMERCE_EXTERNAL_ANSWER:"ig_commerce_external_answer",IG_COMMERCE_EXTERNAL_QUESTION:"ig_commerce_external_question",IG_COMMERCE_FB_QUESTION:"ig_commerce_fb_question",IG_COMMERCE_FB_REVIEW:"ig_commerce_fb_review",IG_COMMERCE_IG_QUESTION:"ig_commerce_ig_question",IG_COMMERCE_IG_REVIEW:"ig_commerce_ig_review",IG_COMMERCE_PLATFORM_ANSWER:"ig_commerce_platform_answer",IG_COMMERCE_REVIEW_MERCHANT_RESPONSE:"ig_commerce_review_merchant_response",IG_DIRECT_ENCRYPTED_MESSAGE:"ig_direct_encrypted_message",IG_DIRECT_ENCRYPTED_THREAD:"ig_direct_encrypted_thread",IG_DIRECT_MESSAGES:"ig_direct_messages",IG_DIRECT_THREAD:"id_direct_thread",IG_DISCOVER:"ig_discover",IG_FEED:"ig_feed",IG_FUNDRAISER:"ig_fundraiser",IG_GUIDE:"ig_guide",IG_HASHTAGS:"ig_hashtags",IG_IN_APP_BROWSER:"ig_in_app_browser",IG_LIVE:"ig_live",IG_POST:"ig_post",IG_PROACTIVE_WARNING:"ig_proactive_warning",IG_PRODUCT:"ig_product",IG_PROFILE:"ig_profile",IG_REELS:"ig_reels",IG_ROOMS:"ig_rooms",IG_SERVICE:"ig_service",IG_SHOP_TAB_MAIN_FEED:"ig_shop_tab_main_feed",IG_SHOP_TAB_MEDIA_CHAIN:"ig_shop_tab_media_chain",IG_STORY:"ig_story",IG_STORY_COMMENTS:"ig_story_comments",IG_TV_VIEWER:"ig_tv_viewer",IG_VIDEO_CALL:"ig_video_call",IG_VIDEO_CALL_COWATCH_LOCAL_MEDIA:"ig_video_call_cowatch_local_media",IMBE_STORY:"imbe_story",IN_APP_BROWSER:"in_app_browser",IN_GAME:"in_game",INSTANT_ARTICLE_NATIVE_AD:"instant_article_native_ad",INSTANT_ARTICLE_WEBVIEW_AD:"instant_article_webview_ad",INSTANT_ARTICLES:"instant_articles",INSTANT_GAMES:"instant_games",INSTANT_GAMES_HUB:"instant_games_hub",INSTANT_GAMES_MESSENGER:"instant_games_messenger",INSTANT_GAMES_MOBILE_PERMISSIONS:"instant_games_mobile_permissions",INSTANT_GAMES_PERMISSIONS_DIALOG:"instant_games_permissions_dialog",INSTANT_GAMES_SPOTLIGHT:"instant_games_spotlight",INSTREAM_VIDEO:"instream_video",INTEGRITY_CONTEXT:"integrity_context",INTEREST_DEEP_DIVE:"interest_deep_dive",JOB_APPLICATION:"job_application",JOB_BROWSER:"job_browser",JOB_DETAIL_VIEW:"job_detail_view",JOB_RECOMMENDATION_UNIT:"job_recommendation_unit",JOBS_NEAR_YOU:"jobs_near_you",KNOWLEDGE_COLLECTION:"knowledge_collection",KNOWLEDGE_NOTE:"knowledge_note",LIGHTWEIGHT_STATUS_BOTTOM_SHEET:"lightweight_status_bottom_sheet",LIKED_PAGES:"liked_pages",LIVE_MAP:"live_map",LIVING_ROOM:"living_room",LOCAL_COMMUNITY:"local_community",LOCAL_COMMUNITY_MODERATION:"local_community_moderation",LOCAL_NEWS:"local_news",LOL_FEED:"lol_feed",MARKETPLACE_ADS:"marketplace_ads",MARKETPLACE_B2C_QUESTION:"marketplace_b2c_question",MARKETPLACE_B2C_QUESTION_ANSWER:"marketplace_b2c_question_answer",MARKETPLACE_B2C_QUESTION_ANSWER_COMMERCE_MANAGER:"marketplace_b2c_question_answer_commerce_manager",MARKETPLACE_B2C_QUESTION_COMMERCE_MANAGER:"marketplace_b2c_question_commerce_manager",MARKETPLACE_B2C_REVIEW:"marketplace_b2c_review",MARKETPLACE_B2C_REVIEW_RESPONSE:"marketplace_b2c_review_response",MARKETPLACE_BSG_PROFILE:"marketplace_bsg_profile",MARKETPLACE_BUY_SELL_GROUP_HOME:"marketplace_buy_sell_group_home",MARKETPLACE_C2C_TRANSACTION_SURVEY:"marketplace_c2c_transaction_survey",MARKETPLACE_C2C_TRANSACTION_SURVEY_SELECT_BUYER_ONLY:"marketplace_c2c_transaction_survey_select_buyer_only",MARKETPLACE_COMMERCE_POST_PDP:"marketplace_commerce_post_pdp",MARKETPLACE_FEED:"marketplace_feed",MARKETPLACE_LIVE_SHOPPING:"marketplace_live_shopping",MARKETPLACE_LIVE_SHOPPING_VIDEO:"marketplace_live_shopping_video",MARKETPLACE_MESSENGER_REPORT_BUYER:"marketplace_messenger_report_buyer",MARKETPLACE_MESSENGER_REPORT_SELLER:"marketplace_messenger_report_seller",MARKETPLACE_PDP:"marketplace_pdp",MARKETPLACE_PDP_COMMERCE_POST_SELLER:"marketplace_pdp_commerce_post_seller",MARKETPLACE_PDP_QUESTION_AND_ANSWER:"marketplace_pdp_question_and_answer",MARKETPLACE_PDP_SELLER:"marketplace_pdp_seller",MARKETPLACE_PROFILE:"marketplace_profile",MARKETPLACE_PROFILE_BUYER:"marketplace_profile_buyer",MARKETPLACE_PROFILE_COMMERCE_POST_SELLER:"marketplace_profile_commerce_post_seller",MARKETPLACE_PROFILE_SELLER:"marketplace_profile_seller",MARKETPLACE_RATE_BUYER:"marketplace_rate_buyer",MARKETPLACE_RATE_SELLER:"marketplace_rate_seller",MARKETPLACE_RATING_CONFIRMATION:"marketplace_rating_confirmation",MARKETPLACE_RATING_CONFIRMATION_BUYER:"marketplace_rating_confirmation_buyer",MARKETPLACE_RATING_CONFIRMATION_SELLER:"marketplace_rating_confirmation_seller",MARKETPLACE_RATING_FLOW:"marketplace_rating_flow",MARKETPLACE_RATING_FLOW_BUYER:"marketplace_rating_flow_buyer",MARKETPLACE_RATING_FLOW_SELLER:"marketplace_rating_flow_seller",MARKETPLACE_SCALED_RATE_BUYER:"marketplace_scaled_rate_buyer",MARKETPLACE_SCALED_RATE_BUYER_ROBOTEXT:"marketplace_scaled_rate_buyer_robotext",MARKETPLACE_SCALED_RATE_SELLER:"marketplace_scaled_rate_seller",MARKETPLACE_SCALED_RATE_SELLER_ROBOTEXT:"marketplace_scaled_rate_seller_robotext",MARKETPLACE_SHOP_PDP:"marketplace_shop_pdp",MARKETPLACE_SHOP_PDP_SELLER:"marketplace_shop_pdp_seller",MARKETPLACE_SOCIAL_DISCUSSIONS_FEED:"marketplace_social_discussions_feed",MARKETPLACE_THREAD:"marketplace_thread",MARKETPLACE_THREAD_BLOCK_COMPOSER:"marketplace_thread_block_composer",MARKETPLACE_THREAD_BUYER:"marketplace_thread_buyer",MARKETPLACE_THREAD_COMMERCE_POST_BUYER:"marketplace_thread_commerce_post_buyer",MARKETPLACE_THREAD_COMMERCE_POST_SELLER:"marketplace_thread_commerce_post_seller",MARKETPLACE_THREAD_SELLER:"marketplace_thread_seller",MARKETPLACE_VEHICLE_ENTITY_PAGE_QUESTION_AND_ANSWER:"marketplace_vehicle_entity_page_question_and_answer",MARKETPLACE_VEHICLE_ENTITY_PAGE_REVIEW:"marketplace_vehicle_entity_page_review",MEDIA_PLAYLIST_VIEW:"media_playlist_view",MENTORSHIP_ADMIN_ASSISTED_GALLERY:"mentorship_admin_assisted_gallery",MENTORSHIP_APPLICATION_TAB:"mentorship_application_tab",MENTORSHIP_PEER_TO_PEER_GALLERY:"mentorship_peer_to_peer_gallery",MENTORSHIP_SIGNUP_FORM:"mentorship_signup_form",MESSAGING_PLUGIN:"messaging_plugin",MESSENGER:"messenger",MESSENGER_B2P_DIRECT_THREAD_DETAILS:"messenger_b2p_direct_thread_details",MESSENGER_COMMUNITY_MESSAGING_GROUP_THREAD_DETAILS:"messenger_community_messaging_group_thread_details",MESSENGER_COMMUNITY_MESSAGING_GROUP_THREAD_LONG_PRESS:"messenger_community_messaging_group_thread_long_press",MESSENGER_CONTACT_DETAILS:"messenger_contact_details",MESSENGER_DIRECT_THREAD_DETAILS:"messenger_direct_thread_details",MESSENGER_DIRECT_THREAD_FILTERED_REQUEST:"messenger_direct_thread_filtered_request",MESSENGER_DIRECT_THREAD_MESSAGE_REQUEST:"messenger_direct_thread_message_request",MESSENGER_DIRECT_THREAD_WITH_DM:"messenger_direct_thread_with_dm",MESSENGER_DISAPPEARING_MODE_THREAD_DETAILS:"messenger_disappearing_mode_thread_details",MESSENGER_DM_THREAD_WITH_EMPTY_DIRECT_THREAD:"messenger_dm_thread_with_empty_direct_thread",MESSENGER_EMPTY_DIRECT_THREAD:"messenger_empty_direct_thread",MESSENGER_EMPTY_DIRECT_THREAD_WITH_DM_THREAD:"messenger_empty_direct_thread_with_dm_thread",MESSENGER_ENCRYPTED_DIRECT_THREAD:"messenger_encrypted_direct_thread",MESSENGER_ENCRYPTED_GROUP_THREAD:"messenger_encrypted_group_thread",MESSENGER_ENCRYPTED_THREAD:"messenger_encrypted_thread",MESSENGER_GROUP_THREAD_DETAILS:"messenger_group_thread_details",MESSENGER_GROUP_THREAD_FILTERED_REQUEST:"messenger_group_thread_filtered_request",MESSENGER_GROUP_THREAD_MEMBERS_LIST:"messenger_group_thread_members_list",MESSENGER_GROUP_THREAD_MESSAGE_REQUEST:"messenger_group_thread_message_request",MESSENGER_IN_CALL_FEEDBACK:"messenger_in_call_feedback",MESSENGER_INBOX_AD_INBOX_UNIT:"messenger_inbox_ad_inbox_unit",MESSENGER_INBOX_AD_POSTCLICK:"messenger_inbox_ad_postclick",MESSENGER_JOB_THREAD_DETAILS:"messenger_job_thread_details",MESSENGER_KIDS_BEACON_VIEWER:"messenger_kids_beacon_viewer",MESSENGER_KIDS_PARENT_DASHBOARD_LINKS_VIEWER:"messenger_kids_parent_dashboard_links_viewer",MESSENGER_KIDS_PARENT_DASHBOARD_MEDIA_VIEWER:"messenger_kids_parent_dashboard_media_viewer",MESSENGER_MONTAGE_VIEWER:"messenger_montage_viewer",MESSENGER_P2B_DIRECT_THREAD:"messenger_p2b_direct_thread",MESSENGER_P2B_DIRECT_THREAD_DETAILS:"messenger_p2b_direct_thread_details",MESSENGER_P2P_INCOMING_CALL:"messenger_p2p_incoming_call",MESSENGER_POST_CALL_FEEDBACK:"messenger_post_call_feedback",MESSENGER_ROOM:"messenger_room",MESSENGER_ROOM_LOBBY:"messenger_room_lobby",MESSENGER_ROOM_TRAY:"messenger_room_tray",MESSENGER_RTC_AR_EFFECT:"messenger_rtc_ar_effect",MESSENGER_RTC_COWATCH:"messenger_rtc_cowatch",MESSENGER_RTC_COWATCH_AD:"messenger_rtc_cowatch_ad",MESSENGER_SHOPS_PDP:"messenger_shops_pdp",MESSENGER_THREAD:"messenger_thread",MESSENGER_THREAD_ACTION_PANEL:"messenger_thread_action_panel",MESSENGER_THREAD_AD_CONTEXT:"messenger_thread_ad_context",MISINFORMATION_FACT_CHECKER_APP:"misinformation_fact_checker_app",MISINFORMATION_NOTIFICATION_LANDING_PAGE:"misinformation_notification_landing_page",MOBILE_APP_PERMISSIONS:"mobile_app_permissions",MOBILE_REMOVED_APPS:"mobile_removed_apps",NEIGHBORHOODS:"neighborhoods",NEWS_ACCC_HELP_CENTER_CTA:"news_block_australia_links",NON_INTERACTIVE_ITEM_PDP:"non_interactive_item_pdp",NOTIFICATION:"notification",OBJECTIONABLE_CONTENT_FILTER:"objectionable_content_filter",OCULUS_MESSENGER:"oculus_messenger",OCULUS_TV:"oculus_tv",OTHER_FEED:"other_feed",PAGE:"page",PAGE_BLUE_VERIFICATION_BADGE:"page_blue_verification_badge",PAGE_INBOX:"page_inbox",PAGE_LOGS:"page_logs",PAGE_POLICY_VIOLATIONS:"page_policy_violations",PAGE_REJECT_BUSINESS_REQUEST:"page_reject_business_request",PAGE_REMOVE_BUSINESS_AGENCY:"page_remove_business_agency",PAGE_REVIEW:"page_review",PAGE_ROLES:"page_roles",PAGE_SHOP:"page_shop",PAGE_SUPPORT_INBOX:"page_support_inbox",PAGE_SURFACE_RECOMMENDATIONS:"page_surface_recommendations",PAGE_TIMELINE:"page_timeline",PAGE_TRANSPARENCY_CARD:"page_transparency_card",PAYCHECK_PROTECTION_PROGRAM:"paycheck_protection_program",PERMALINK:"permalink",PERMISSIONS_LEGALESE:"permissions_legalese",PHOTO_ALBUM:"photo_album",PHOTO_REVIEW:"photo_review",PHOTO_VIEWER:"photo_viewer",PINNED_CONVERSATION:"pinned_conversation",PLANNED_VIEWING_CURATED:"planned_viewing_curated",PLATFORM_LOGIN:"platform_login",POA_ADVERTISER_RATINGS_AND_REVIEWS_MANAGER:"poa_advertiser_ratings_and_reviews_manager",POLITICAL_ISSUE_MODULE:"political_issue_module",POPULAR_AT:"popular_at",PORTAL_EFFECTS_GALLERY:"portal_effects_gallery",PORTAL_LOCAL_QA:"portal_local_qa",PORTAL_MESSENGER_ROOM:"portal_messenger_room",PORTAL_VIDEO:"portal_video",PORTAL_WATCH_TOGETHER_VIDEO:"portal_watch_together_video",POST_TO_PAGE:"post_to_page",PREVIEW_DIALOG:"preview_dialog",PROFILE_DEPRECATED:"profile",PROFILE_FRAME_DISCOVERY:"profile_frame_discovery",PROFILE_PHOTOS:"profile_photos",PROFILE_REPORTING_FLOW:"profile_reporting_flow",PROFILE_SELF:"profile_self",PROFILE_SERVICES:"profile_services",PROFILE_SOMEONE_ELSE:"profile_someone_else",PROFILE_VIDEOS:"profile_videos",PROJECT_NEO:"project_neo",PROXIED_EMAIL_CONVERSATION:"proxied_email_conversation",PUBLIC_FIGURES_TO_FOLLOW:"public_figures_to_follow",PYMK:"pymk",PYML:"pyml",QUICK_PROMOTION:"quick_promotion",REJECT_FRIEND_REQUEST:"reject_friend_request",REMOVED_APP_DIALOG:"removed_app_dialog",RESTAURANT_MENU:"restaurant_menu",REVIEWS_FEED:"reviews_feed",ROOMS_TRAY:"rooms_tray",S4MI_STORY:"s4mi_story",SAVE:"save",SAVE_COLLECTION_RECOMMENDATION:"save_collection_recommendation",SAVE_COLLECTION_VIEW:"save_collection_view",SAVE_ITEM_VIEW:"save_item_view",SAVE_PIVOT_RECOMMENDATION:"save_pivot_recommendation",SCHOOL_COMMUNITY:"school_community",SCREEN_EXAMPLE:"screen_example",SEARCH:"search",SERP:"serp",SERP_CONSOLE:"serp_console",SETTINGS:"settings",SHOP_TAB_MAIN_FEED:"shop_tab_main_feed",SHORT_FORM_VIDEO_CHAINING:"short_form_video_chaining",SI_LEARNING_CLASS:"si_learning_class",SOCIAL_LEARNING_GROUP_UNITS_LIST:"social_learning_group_units_list",SOCIAL_REPORTING_REDIRECT:"social_reporting_redirect",SOUNDBITES_INTERESTS_DEEP_DIVE:"soundbites_interests_deep_dive",SRX_QP_RECOMMENDATION:"srx_qp_recommendation",STONEHENGE_CONSUMPTION:"stonehenge_consumption",STORY:"story",STORY_STICKER_ADS:"story_sticker_ads",STORY_TRAY:"story_tray",STORY_VIEWER:"story_viewer",SUGGESTED_GROUP:"suggested_group",SUPPORT_INBOX:"support_inbox",TAG_QUARANTINE:"tag_qurantine",THROWBACK:"throwback",TICKER:"ticker",TIMELINE_DEPRECATED:"timeline",TIMELINE_REVIEW:"timeline_review",TOPIC_PAGE:"topic_page",TWILIGHT_FEED:"twilight_feed",UI_EXPLORER_EXAMPLE:"ui_explorer_example",UNKNOWN:"unknown",VERSE_MESSAGE:"verse_message",VERSE_THREADVIEW:"verse_threadview",VIDEO_CHANNEL:"video_channel",VIDEO_CHANNELS:"video_channels",VIDEO_HOME:"video_home",VIDEO_INLINE_PIVOT:"video_inline_pivot",VIDEO_LIST_CHANNEL:"video_list_channel",VIDEO_PLAYLIST_CHANNEL:"video_playlist_channel",VIOLATION_FRICTION:"violation_friction",VOYAGER:"voyager",VR_PERSONA_PROFILE:"vr_persona_profile",VR_SAFE_MODE:"vr_safe_mode",VR_WORLD_DETAIL:"vr_world_detail",WATCH_LIVE:"watch_live",WATCHED_VIDEOS_CHANNEL:"watched_videos_channel",WOODHENGE_EXCLUSIVE_FEED:"woodhenge_exclusive_feed",WORK_TEAM:"work_team",WORKPLACE:"workplace",WORKPLACE_LEAVE_DIALOG:"workplace_leave_dialog",WORKROOMS:"workrooms",WWW_CHAT_HEAD:"www_chat_head"});f["default"]=a}),66); __d("XMessengerDotComDesktopLaunchAppInterstitialControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/desktop/launch/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("cometMisinformationLinkDetectorPluginInternalStateReducerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4018903164837379"}),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("FeedComposerCometHashtagTypeaheadEntry_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:"FeedComposerCometHashtagTypeaheadEntry_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.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"context"},b={defaultValue:!1,kind:"LocalArgument",name:"includeImageUrls"},c={defaultValue:!1,kind:"LocalArgument",name:"includeMetatext"},d={defaultValue:null,kind:"LocalArgument",name:"limit"},e={defaultValue:null,kind:"LocalArgument",name:"query"},f={defaultValue:null,kind:"LocalArgument",name:"scopeID"},g={defaultValue:null,kind:"LocalArgument",name:"sessionID"},h={kind:"Variable",name:"scope_id",variableName:"scopeID"};h=[{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"},h,{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"},h],kind:"ScalarField",name:"typeahead_snippets",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[a,b,c,d,e,f,g],kind:"Fragment",metadata:null,name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",selections:h,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,g,d,a,b,c,f],kind:"Operation",name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",selections:h},params:{id:"3801416233290055",metadata:{},name:"useFeedComposerCometHashtagTypeaheadDataSourceQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometBCHSTStrings",["fbt","CometLink.react","ContentRefComet","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");a={dialogContentAffiliateLink:h._(/*FBT_CALL*/"Sua publica\u00e7\u00e3o menciona um produto ou empresa de terceiros. Se ela apresenta ou \u00e9 influenciada por um parceiro de neg\u00f3cios para uma troca de valor, nossas pol\u00edticas exigem que voc\u00ea marque o parceiro para mostrar que o seu conte\u00fado \u00e9 patrocinado."/*FBT_CALL*/),dialogContentBrandDetected:h._(/*FBT_CALL*/"Sua publica\u00e7\u00e3o cont\u00e9m informa\u00e7\u00f5es normalmente encontradas em conte\u00fado de marca, incluindo o nome de um poss\u00edvel patrocinador. Se o patrocinador identificado aqui estiver incorreto, voc\u00ea poder\u00e1 remov\u00ea-lo e inserir o correto. {newline} Se a sua publica\u00e7\u00e3o apresenta ou \u00e9 influenciada por um parceiro de neg\u00f3cios para troca de valor, nossas pol\u00edticas exigem que voc\u00ea marque o parceiro para mostrar que o seu conte\u00fado \u00e9 patrocinado."/*FBT_CALL*/,[h._param("newline",i.jsxs(i.Fragment,{children:[i.jsx("br",{}),i.jsx("br",{})]}))]),dialogContentSelfDisclosure:h._(/*FBT_CALL*/"Sua publica\u00e7\u00e3o cont\u00e9m informa\u00e7\u00f5es que normalmente s\u00e3o encontradas em conte\u00fado de marca. Se ela apresenta ou \u00e9 influenciada por um parceiro de neg\u00f3cios para uma troca de valor, nossas pol\u00edticas exigem que voc\u00ea mostre seu conte\u00fado patrocinados adicionando uma tag. {Learn More link}"/*FBT_CALL*/,[h._param("Learn More link",i.jsx(c("CometLink.react"),{href:"/help/publisher/1396602470441939/",target:"_blank",children:h._(/*FBT_CALL*/"Saiba mais"/*FBT_CALL*/)}))]),dialogTitle:h._(/*FBT_CALL*/"Esta publica\u00e7\u00e3o \u00e9 parte de uma parceria paga?"/*FBT_CALL*/),publishWithTagLabel:h._(/*FBT_CALL*/"Adicionar tag \u00e0 publica\u00e7\u00e3o"/*FBT_CALL*/),publishWithoutTagLabel:h._(/*FBT_CALL*/"Publicar sem tag"/*FBT_CALL*/),scheduleWithTagLabel:h._(/*FBT_CALL*/"Programar com tag"/*FBT_CALL*/),scheduleWithoutTagLabel:h._(/*FBT_CALL*/"Programar sem tag"/*FBT_CALL*/)};b={alertDialogText:function(a){return a!=null&&a!==""?h._(/*FBT_CALL*/"Para que sua publica\u00e7\u00e3o possa ser publicada, {=[brandName]} precisa confirmar que tem uma parceria de conte\u00fado de marca com voc\u00ea. {=[brandName]} poder\u00e1 ver esta publica\u00e7\u00e3o antes de decidir se aprova sua P\u00e1gina."/*FBT_CALL*/,[h._param("=[brandName]",i.jsx("b",{children:h._(/*FBT_CALL*/"{brandName}"/*FBT_CALL*/,[h._param("brandName",a)])}))]):h._(/*FBT_CALL*/"Para que sua publica\u00e7\u00e3o possa ser publicada, seu parceiro de neg\u00f3cios marcado precisa confirmar que tem uma parceria de conte\u00fado de marca com voc\u00ea. Ele poder\u00e1 ver esta publica\u00e7\u00e3o antes de decidir se aprova sua P\u00e1gina."/*FBT_CALL*/)},secondPostErrorMessage:h._(/*FBT_CALL*/"O parceiro que voc\u00ea selecionou deve aprovar a publica\u00e7\u00e3o de conte\u00fado de marca que voc\u00ea j\u00e1 enviou antes de poder marc\u00e1-lo em publica\u00e7\u00f5es adicionais."/*FBT_CALL*/),submitPostButtonLabel:h._(/*FBT_CALL*/"Enviar publica\u00e7\u00e3o"/*FBT_CALL*/)};e={allowBoostTooltip:h._(/*FBT_CALL*/"A P\u00e1gina que voc\u00ea est\u00e1 marcando poder\u00e1 turbinar a sua publica\u00e7\u00e3o no Facebook ou no Instagram. Se ela turbinar essa publica\u00e7\u00e3o, ser\u00e1 associada \u00e0 sua P\u00e1gina no Facebook e \u00e0 sua conta do Instagram vinculada no Instagram. {Learn More Boost link}"/*FBT_CALL*/,[h._param("Learn More Boost link",i.jsx(c("CometLink.react"),{color:"highlight",href:"/help/publisher/2021526178075899/",target:"_blank",children:h._(/*FBT_CALL*/"Saiba mais"/*FBT_CALL*/)}))])};f={allowBoostLabel:h._(/*FBT_CALL*/"Permitir que o parceiro de neg\u00f3cios turbine esta publica\u00e7\u00e3o"/*FBT_CALL*/),allowBoostTooltip:h._(/*FBT_CALL*/"Seu parceiro de neg\u00f3cios poder\u00e1 turbinar a sua publica\u00e7\u00e3o no Facebook ou no Instagram. Se ele turbinar essa publica\u00e7\u00e3o, ela ser\u00e1 associada \u00e0 sua P\u00e1gina no Facebook e \u00e0 sua conta do Instagram vinculada no Instagram. {Learn More Boost link}"/*FBT_CALL*/,[h._param("Learn More Boost link",i.jsx(c("CometLink.react"),{color:"highlight",href:"/help/publisher/2021526178075899/",target:"_blank",children:h._(/*FBT_CALL*/"Saiba mais"/*FBT_CALL*/)}))]),allowSponsorAddCTA:h._(/*FBT_CALL*/"Permitir que o parceiro de neg\u00f3cios adicione o bot\u00e3o de chamada para a\u00e7\u00e3o personalizado \u00e0 minha publica\u00e7\u00e3o"/*FBT_CALL*/),allowSponsorAddCTATooltip:h._(/*FBT_CALL*/"O bot\u00e3o de chamada para a\u00e7\u00e3o personalizado do seu parceiro de neg\u00f3cios criar\u00e1 um link para um destino que ele selecionar e permanecer\u00e1 como parte da sua publica\u00e7\u00e3o depois que o turbinamento dela for interrompido. Ele poder\u00e1 alterar o bot\u00e3o a qualquer momento sem aviso ou aprova\u00e7\u00e3o. {newline} A adi\u00e7\u00e3o de um bot\u00e3o de chamada para a\u00e7\u00e3o a publica\u00e7\u00f5es de fotos pode fazer com que a foto seja cortada, e a foto pode criar um link para o mesmo destino que o bot\u00e3o.{newline2}{Learn More Sponsor CTA link}"/*FBT_CALL*/,[h._param("newline",i.jsxs(i.Fragment,{children:[i.jsx("br",{}),i.jsx("br",{})]})),h._param("newline2",i.jsxs(i.Fragment,{children:[i.jsx("br",{}),i.jsx("br",{})]})),h._param("Learn More Sponsor CTA link",i.jsx(c("CometLink.react"),{color:"highlight",href:d("ContentRefComet").get("SPONSOR_CTA_HELP_LINK","BRANDED_CONTENT"),target:"_blank",children:h._(/*FBT_CALL*/"Saiba mais"/*FBT_CALL*/)}))]),boostWithNoSponsorCTA:h._(/*FBT_CALL*/"Permitir que o parceiro de neg\u00f3cios turbine esta publica\u00e7\u00e3o sem um bot\u00e3o de chamada para a\u00e7\u00e3o"/*FBT_CALL*/),boostWithSponsorCTA:h._(/*FBT_CALL*/"Permitir que o parceiro de neg\u00f3cios turbine esta publica\u00e7\u00e3o e adicione o bot\u00e3o de chamada para a\u00e7\u00e3o personalizado"/*FBT_CALL*/),campaignsList:h._(/*FBT_CALL*/"Projetos de conte\u00fado de marca que voc\u00ea aceitou"/*FBT_CALL*/),campaignsNuxBody1:h._(/*FBT_CALL*/"Agora voc\u00ea pode selecionar um nome de projeto ao marcar publica\u00e7\u00f5es de conte\u00fado de marca, em vez da P\u00e1gina do parceiro, para que as permiss\u00f5es solicitadas sejam ativadas automaticamente."/*FBT_CALL*/),campaignsNuxBody2:h._(/*FBT_CALL*/"As pessoas que virem esta publica\u00e7\u00e3o ainda ver\u00e3o o nome do seu parceiro de neg\u00f3cios, mas n\u00e3o o nome do projeto."/*FBT_CALL*/),campaignsNuxTitle:h._(/*FBT_CALL*/"Novo processo de marca\u00e7\u00e3o de conte\u00fado de marca"/*FBT_CALL*/),campaignsTooltip:h._(/*FBT_CALL*/"Voc\u00ea pode selecionar um dos projetos de conte\u00fado de marca listados aqui para marcar essa publica\u00e7\u00e3o ou pesquisar um diferente caso n\u00e3o veja o que procura."/*FBT_CALL*/),dontAllowSponsorAddCTA:h._(/*FBT_CALL*/"N\u00e3o permitir bot\u00f5es de chamada para a\u00e7\u00e3o"/*FBT_CALL*/),dontAllowboostLabel:h._(/*FBT_CALL*/"N\u00e3o permitir que o parceiro de neg\u00f3cios turbine esta publica\u00e7\u00e3o"/*FBT_CALL*/),paidPartnershipLabel:h._(/*FBT_CALL*/"Parceria paga"/*FBT_CALL*/),searchTooltip:h._(/*FBT_CALL*/"As P\u00e1ginas que voc\u00ea marcar ser\u00e3o notificadas. Os parceiros de neg\u00f3cios poder\u00e3o visualizar as m\u00e9tricas dessa publica\u00e7\u00e3o. {See policies link}"/*FBT_CALL*/,[h._param("See policies link",i.jsx(c("CometLink.react"),{color:"highlight",href:"/policies/brandedcontent/",target:"_blank",children:h._(/*FBT_CALL*/"Ver Pol\u00edticas"/*FBT_CALL*/)}))]),sproutTooltip:h._(/*FBT_CALL*/"Marcar patrocinador"/*FBT_CALL*/),tagBasedOnActivity:h._(/*FBT_CALL*/"Com base na sua atividade"/*FBT_CALL*/),tagRelatedToPost:h._(/*FBT_CALL*/"Relacionadas \u00e0 sua publica\u00e7\u00e3o"/*FBT_CALL*/),tagSponsorLabel:h._(/*FBT_CALL*/"Marcar patrocinador"/*FBT_CALL*/),tagSponsorTypeaheadPlaceholder:h._(/*FBT_CALL*/"Insira o nome de usu\u00e1rio ou a P\u00e1gina do seu parceiro de neg\u00f3cios"/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Marcar patrocinador"/*FBT_CALL*/),"with":h._(/*FBT_CALL*/"Com"/*FBT_CALL*/)};g.intercept=a;g.rbc=b;g.support=e;g.tagging=f}),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("FeedComposerCometSproutButtonContainer.react",["CometErrorBoundary.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return h.jsx(c("CometErrorBoundary.react"),{children:a.children})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("getOrderedSproutsForLogging",[],(function(a,b,c,d,e,f){"use strict";function a(a){return Array.from(a.keys()).sort(function(b,c){b=a.get(b);c=a.get(c);if(b&&c)return b.index-c.index;else return 0})}f["default"]=a}),66); __d("getSproutsVisibilitiesForLogging",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b={};a.forEach(function(a){b[a.name]=a.visible});return b}f["default"]=a}),66); __d("useCometComposerInlineSproutsLogging",["getOrderedSproutsForLogging","getSproutsVisibilitiesForLogging","react","useCometComposerLoggerDispatcher","useDebounced"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useMemo,j=b.useState;function a(a){var b=a.actionType,d=a.maxLoggingCount,e=d===void 0?null:d,f=a.sproutsCount,g=a.sproutsState;d=j(0);var k=d[0],l=d[1];a=j(new Map());var m=a[0],n=c("useDebounced")(function(){var a=e===null||k0;a=(a.mediaAttachments||[]).some(function(a){return a.state==="NEW"});return!b||a?h._(/*FBT_CALL*/"N\u00e3o \u00e9 poss\u00edvel publicar enquanto o carregamento da m\u00eddia estiver em curso"/*FBT_CALL*/):null}g["default"]=a}),98); __d("useComposerPreSubmitHook",["CometComposerPreSubmitHooksContext","useContextRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("useContextRef")(a,c("CometComposerPreSubmitHooksContext"))}g["default"]=a}),98); __d("genCreationDataTransformersFromFeatureDefinitions",["gkx"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(c("gkx")("2093")&&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[]}g["default"]=a}),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",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"});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;gb,i=d;!f?i=d.slice(0,b):g&&(i=d.slice(0,b-1));return h.jsx("div",{className:"j83agx80"+(a?" k4urcfbm i1fnvgqd":""),children:h.jsx(c("CometComposerSproutVisibilitiesContext").Provider,{value:e,children:h.jsxs(c("CometTooltipGroup.react"),{children:[i.map(function(a){return h.jsx("div",{className:"dwxx2s2f dicw6rsg kady6ibp rs0gx3tq",children:h.jsx(c("FeedComposerCometSproutButtonContainer.react"),{children:a})},a.key)}),g&&f?h.jsx("div",{className:"dwxx2s2f dicw6rsg kady6ibp rs0gx3tq",children:h.jsx(c("CometComposerEllipsisSproutButton.react"),{sprouts:d})}):null]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FeedComposerCometTextStyleContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({color:"primary-text",fontSize:24});g["default"]=b}),98); __d("composerActivityMinutiaeTransform",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){var d=a.reshareFilterMetadata!=null&&a.reshareFilterMetadata.is_used===!1;if(a.activityMinutiae!=null&&a.activityMinutiae.objectID!=null&&a.activityMinutiae.activityID!=null&&!d){d=a.activityMinutiae.hideAttachment===!0?"HIDDEN":void 0;c(babelHelpers["extends"]({},b,{inline_activities:[{object_attachment_behavior:d,object_id:a.activityMinutiae.objectID,taggable_activity_id:a.activityMinutiae.activityID}]}))}else c(babelHelpers["extends"]({},b,{inline_activities:[]}))}f["default"]=a}),66); __d("FeedComposerCometHashtagTypeheadListItem.react",["CometSearchMentionsBaseViewItem.react","TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.entry;a=babelHelpers.objectWithoutPropertiesLoose(a,["entry"]);var d=b.getLabel(),e=b.getSubtext();return h.jsx(c("CometSearchMentionsBaseViewItem.react"),babelHelpers["extends"]({},a,{entry:b,children:h.jsx("div",{className:"geg40m2u scb9dxdr sj5x9vvc dflh9lhu cxgpxx05",children:h.jsx(c("TetraTextPairing.react"),{headline:d,level:4,meta:e})})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("createCometHashtagMatchStrategy",["getHashtagRegex"],(function(a,b,c,d,e,f,g){"use strict";var h=["#","\\uFF03"];function a(a){var b=a.minMatchLength;return{findMentionableString:function(a){if(h.includes(a))return{leadOffset:0,matchingString:a,replaceableString:a};var d=new RegExp(c("getHashtagRegex")());d=d.exec(a);if(d!==null){a=d[1].length;d=d[0].substring(a);if(d!=null&&d.length>=b)return{leadOffset:a,matchingString:d,replaceableString:d}}return null},name:"HashtagMatchStrategy("+b.toString()+")"}}g["default"]=a}),98); __d("FeedComposerCometHashtagTypeaheadEntry",["CometTypeaheadDataEntry","FeedComposerCometHashtagTypeaheadEntry_data.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;h!==void 0?h:h=b("FeedComposerCometHashtagTypeaheadEntry_data.graphql");a=function(a){babelHelpers.inheritsLoose(b,a);b.fromGraphql=function(a){a=a==null?void 0:a.node;if(a==null)return null;var c=a.id,d=a.name;a=a.typeahead_snippets;a=a!=null&&a.length>=1?a[0]:null;return c==null||d==null?null:new b({id:c,name:d,subtext:a})};function b(b){return a.call(this,{key:b.id,label:b.name,rawData:b})||this}var c=b.prototype;c.getSubtext=function(){var b=a.prototype.getRawData.call(this);b=b.subtext;return b!=null?b:null};c.getPhotoURI=function(){return null};c.getMentionDecorType=function(){return"regular"};return b}(c("CometTypeaheadDataEntry"));g["default"]=a}),98); __d("useFeedComposerCometHashtagTypeaheadDataSource",["FeedComposerCometHashtagTypeaheadEntry","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("FeedComposerCometHashtagTypeaheadEntry").fromGraphql(a)}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometHashtagsDataSourceResolverConfig",["createCometHashtagMatchStrategy","orEmptyArray","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:c("orEmptyArray")(f)});b=h(function(){return[{dataSource:g,matchStrategy:c("createCometHashtagMatchStrategy")({minMatchLength:0})}]},[g]);return c("useCometMentionsDataSourceResolverConfig")(b,!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){return a.getLabel()}function k(a,b){return c("createCometComposerHashtagsEntity")(b.getKey(),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("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.getRawData();if(!(f.type==="METADATA"&&f.data.metadataType==="SEE_ALL")){this.$2.maybeEndSession(a,b,d);return}if(a==null)return;var g=b!=null?JSON.stringify(b.map(function(a){return{id:a.getKey()}})):null,h=d.getKey(),i=(f=b==null?void 0:b.findIndex(function(a){return a.getKey()===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.getLabel(),selected_result_id:a.getKey(),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.getLabel()}function i(a,b){return c("createCometComposerMentionsEntity")(b.getKey(),!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.getMentionDecorType()==="weak"?"weak":"regular";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.getRawData();if(a.type==="METADATA"&&a.data.metadataType==="SEE_ALL"){if(g==null)return!1;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*/"Mencionar pessoas"/*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("FeedComposerCometMentionsPlugin.react",["CometComposerMentionsPlugin.react","CometComposerMentionsTypeaheadListItemResolver.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){return a.getLabel()}function j(a,b){return c("createCometComposerMentionsEntity")(b.getKey(),!1,a)}var k=Boolean(c("qex")._("94"));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("CometComposerMentionsTypeaheadListItemResolver.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("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("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("distinctArrayBy",[],(function(a,b,c,d,e,f){"use strict";function g(a){return a}function a(a,b){b===void 0&&(b=g);var c=[],d=new Set();for(var a=a,e=Array.isArray(a),f=0,a=e?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(e){if(f>=a.length)break;h=a[f++]}else{f=a.next();if(f.done)break;h=f.value}h=h;var i=b(h);d.has(i)||(d.add(i),c.push(h))}return c}f["default"]=a}),66); __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); __d("ManageConstituentBadgeDialogQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"3826595287445497",metadata:{},name:"ManageConstituentBadgeDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometUFIBanActorMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"FeedbackPageBanResponsePayload",kind:"LinkedField",name:"feedback_page_ban",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIBanActorMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIBanActorMutation",selections:b},params:{id:"5348059221933855",metadata:{},name:"CometUFIBanActorMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFIBanActorMutation_comment.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFIBanActorMutation_comment",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null}],type:"Comment",abstractKey:null};e.exports=a}),null); __d("CometUFICommentActorConstituentBadge_comment.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFICommentActorConstituentBadge_comment",selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null}],type:"User",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_see_constituent_badge_upsell",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"legacy_token",storageKey:null},{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"parent_feedback",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"share_fbid",storageKey:null},{alias:null,args:null,concreteType:"PoliticalFigureData",kind:"LinkedField",name:"political_figure_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"PoliticalOffice",kind:"LinkedField",name:"political_office",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"generic_title",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Comment",abstractKey:null}}();e.exports=a}),null); __d("CometUFICommentErrorFooter_comment.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFICommentErrorFooter_comment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"optimistic_action",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"optimistic_error_code",storageKey:null}]}],type:"Comment",abstractKey:null};e.exports=a}),null); __d("CometUFICommentInlineFollowCTA_comment.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFICommentInlineFollowCTA_comment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null}],type:"User",abstractKey:null}],storageKey:null},a],type:"Comment",abstractKey:null}}();e.exports=a}),null); __d("CometUFITypingSubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="2548564581912271"}),null); __d("CometUFITypingSubscription.graphql",["CometUFITypingSubscription_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,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"UFI2TypingIndicatorImpl_feedback"}],storageKey:null}],e=[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"FeedbackTypersConnection",kind:"LinkedField",name:"feedback_typers",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"other_count",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subscription_target_id",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFITypingSubscription",selections:[{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"feedback_typing_subscribe",plural:!1,selections:[{kind:"InlineFragment",selections:d,type:"FeedbackStartTypingResponsePayload",abstractKey:null},{kind:"InlineFragment",selections:d,type:"FeedbackStopTypingResponsePayload",abstractKey:null}],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFITypingSubscription",selections:[{alias:null,args:c,concreteType:null,kind:"LinkedField",name:"feedback_typing_subscribe",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:e,type:"FeedbackStartTypingResponsePayload",abstractKey:null},{kind:"InlineFragment",selections:e,type:"FeedbackStopTypingResponsePayload",abstractKey:null}],storageKey:null}]},params:{id:b("CometUFITypingSubscription_facebookRelayOperation"),metadata:{subscriptionName:"feedback_typing_subscribe"},name:"CometUFITypingSubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null); __d("CometUFICreateCommentMutation.graphql",["CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"],(function(a,aa,ba,ca,da,ea){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"UFI2CommentsProvider_commentsKey"},ba={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextEnableComment"},ca={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAdPreview"},da={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAggregatedShare"},ea={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsStorySet"},fa={defaultValue:null,kind:"LocalArgument",name:"displayCommentsFeedbackContext"},ga={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},ha={defaultValue:null,kind:"LocalArgument",name:"feedbackSource"},ia={defaultValue:null,kind:"LocalArgument",name:"focusCommentID"},ja={defaultValue:!1,kind:"LocalArgument",name:"includeNestedComments"},ka={defaultValue:null,kind:"LocalArgument",name:"input"},la={defaultValue:null,kind:"LocalArgument",name:"scale"},ma={defaultValue:null,kind:"LocalArgument",name:"useDefaultActor"},na=[{kind:"Variable",name:"data",variableName:"input"}],oa={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[b],pa={alias:null,args:null,concreteType:"LivingRoomContentItem",kind:"LinkedField",name:"living_room_content_item",plural:!1,selections:c,storageKey:null},qa={alias:null,args:null,kind:"ScalarField",name:"fishbowl_comment_ordering_mode",storageKey:null},ra={alias:"threading_depth",args:null,kind:"ScalarField",name:"depth",storageKey:null},sa={alias:null,args:null,kind:"ScalarField",name:"detection_analytics_enabled",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},ta=[e],ua={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:ta,storageKey:null},f=[d,b],va={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},wa=[va],g={kind:"Variable",name:"scale",variableName:"scale"},xa=[g],h={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},ya=[h,i,j],za={kind:"InlineFragment",selections:c,type:"Node",abstractKey:"__isNode"},Aa={alias:null,args:null,concreteType:"XFBCommunityCommentSignalRenderer",kind:"LinkedField",name:"community_comment_signal_renderer",plural:!1,selections:[{args:null,documentName:"CometCommunityCommentSignalRenderer_comment",fragmentName:"CometCommunityCommentSignalBubble_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],storageKey:null},Ba={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"]}],concreteType:null,kind:"LinkedField",name:"style_type_renderer",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentAnimatedImageShareAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentAnimatedImageShareStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentDonationAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentDonationStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentFallbackAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFallbackStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPhotoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentQuiltImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentQuiltImageStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAvatarAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerAvatarStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAutoplayAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoAutoplayStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentTipJarPaymentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentTipJarPaymentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPlaceInfoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentCommentPlaceInfoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentChatCommandAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentChatCommandStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPageInCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPageInCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesTournamentActivityAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesTournamentActivityStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesUpdateCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesUpdateCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFISubscriptionGiftingAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentSubscriptionGiftStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFIFactsInCommentsAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFactsInCommentsCommentStyleRenderer",abstractKey:null}],storageKey:'style_type_renderer(supported:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"])'},{alias:null,args:null,kind:"ScalarField",name:"style_list",storageKey:null}],storageKey:null},k={kind:"Variable",name:"feed_location",variableName:"feedLocation"},l=[k],Ca={alias:null,args:l,kind:"ScalarField",name:"comment_menu_tooltip",storageKey:null},Da={alias:null,args:l,kind:"ScalarField",name:"should_show_comment_menu",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},o=[n],p={alias:null,args:null,kind:"ScalarField",name:"is_verified",storageKey:null},q={alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},s={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null}]},Ea={kind:"TypeDiscriminator",abstractKey:"__isActor"},t={kind:"Literal",name:"height",value:32},u={kind:"Literal",name:"width",value:32},v=[h],Fa={alias:"profile_picture_depth_0",args:[t,g,u],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},w={kind:"Literal",name:"height",value:24},x={kind:"Literal",name:"width",value:24};g=[w,g,x];var Ga={alias:"profile_picture_depth_1",args:g,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null};p={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[d,b,m,{kind:"InlineFragment",selections:o,type:"Event",abstractKey:null},{kind:"InlineFragment",selections:o,type:"Group",abstractKey:null},{kind:"InlineFragment",selections:[n,p],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[n,{alias:null,args:null,concreteType:"WorkUserInfo",kind:"LinkedField",name:"work_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_active_account",storageKey:null}],storageKey:null},p,q,{alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null},r,s],type:"User",abstractKey:null},{kind:"InlineFragment",selections:o,type:"Entity",abstractKey:"__isEntity"},Ea,Fa,Ga],storageKey:null};o={alias:null,args:null,kind:"ScalarField",name:"is_author_weak_reference",storageKey:null};var y={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},Ha={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"private_reply_context",plural:!1,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"has_reply_permission",storageKey:null}],storageKey:null};y={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"page_private_reply",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"private_reply_render",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"CometUFICommentPrivateReplyLinkRenderer_privateReplyCometRenderer",fragmentPropName:"privateReplyCometRenderer",kind:"ModuleImport"}],type:"PagesMessagingPrivateReplyCometRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"BizInboxCommentPrivateReplyLinkRenderer_privateReplyBizRenderer",fragmentPropName:"privateReplyBizRenderer",kind:"ModuleImport"}],type:"BizMessagingPrivateReplyRenderer",abstractKey:null}],storageKey:null},y],storageKey:null};var z={kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"},A=[z];s={kind:"InlineFragment",selections:[r,s],type:"User",abstractKey:null};var B={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},Ia={alias:null,args:A,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:[B,b],storageKey:null},Ja={alias:null,args:null,concreteType:"FeedbackReaction",kind:"LinkedField",name:"supported_reactions",plural:!0,selections:[{alias:null,args:null,concreteType:"FeedbackReactionAnimation",kind:"LinkedField",name:"animation",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_keyframes2",storageKey:null}],storageKey:null},B,b],storageKey:null},Ka={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled",storageKey:null},La={alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},Ma={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video",storageKey:null},Na={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled_with_comments",storageKey:null};B={alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:[B,b,{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"svg_image",plural:!1,selections:v,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'};var Oa={alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[va,{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count_reduced",storageKey:null}],storageKey:null};z={alias:null,args:[{kind:"Variable",name:"location",variableName:"feedLocation"},z],kind:"ScalarField",name:"can_viewer_comment",storageKey:null};var Pa={alias:null,args:A,kind:"ScalarField",name:"can_viewer_react",storageKey:null},Qa={alias:null,args:A,kind:"ScalarField",name:"comment_composer_placeholder",storageKey:null},Ra={alias:null,args:null,kind:"ScalarField",name:"should_show_top_reactions",storageKey:null},Sa={alias:null,args:null,concreteType:"AskMeAnythingFeedbackMetadata",kind:"LinkedField",name:"ask_me_anything_feedback_metadata",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_host",storageKey:null}],storageKey:null},Ta={alias:"comment_count",args:null,concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"total_count",storageKey:null}],storageKey:null},Ua={alias:"toplevel_comment_count",args:[{kind:"Literal",name:"orderby",value:"toplevel"}],concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:wa,storageKey:'top_level_comments(orderby:"toplevel")'},Va={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"threading_config",plural:!1,selections:[d],storageKey:null},Wa={alias:null,args:null,kind:"ScalarField",name:"is_vc_acting_as_page_or_profile_plus",storageKey:null},Xa={alias:null,args:null,kind:"ScalarField",name:"can_viewer_pin_live_comments",storageKey:null},Ya={alias:null,args:null,concreteType:"BroadcastPinnedCommentEvent",kind:"LinkedField",name:"latest_pinned_comment_event",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"pinned_comment",plural:!1,selections:c,storageKey:null},b],storageKey:null},Za={alias:null,args:null,concreteType:"WorkAMAUFIAnswerEventActionLinksCommentModuleRenderer",kind:"LinkedField",name:"work_answer_event_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback_work_answer_event_action_links_comment_renderer",fragmentName:"GeminiUFIAMABroadcastAnswerActionLinks_feedback",fragmentPropName:"feedback",kind:"ModuleImport"}],storageKey:null},$a={alias:null,args:null,kind:"ScalarField",name:"is_admin_hide_eligible",storageKey:null},ab={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"if_viewer_can_quick_hide_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback",fragmentName:"CometUFIHideCommentLink_feedback",fragmentPropName:"feedback",kind:"ModuleImport"},b],storageKey:null},bb={alias:null,args:null,kind:"ScalarField",name:"subscription_target_id",storageKey:null},C={kind:"Variable",name:"feed_context_enable_comment",variableName:"displayCommentsContextEnableComment"},D={kind:"Variable",name:"feed_context_fb_feed_location",variableName:"feedLocation"},E={kind:"Variable",name:"feed_context_is_ad_preview",variableName:"displayCommentsContextIsAdPreview"},F={kind:"Variable",name:"feed_context_is_aggregated_share",variableName:"displayCommentsContextIsAggregatedShare"},G={kind:"Variable",name:"feed_context_is_story_set",variableName:"displayCommentsContextIsStorySet"},H={kind:"Variable",name:"feedback_context",variableName:"displayCommentsFeedbackContext"},I={kind:"Variable",name:"feedback_source",variableName:"feedbackSource"},J={kind:"Variable",name:"focus_comment_id",variableName:"focusCommentID"},K={kind:"Literal",name:"is_initial_fetch",value:!0},cb=[C,D,E,F,G,H,I,J,K,{kind:"Variable",name:"is_top_level",variableName:"includeNestedComments"}],db={alias:null,args:null,kind:"ScalarField",name:"comment_order",storageKey:null},eb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"expanded_sub_reply_parents",plural:!0,selections:c,storageKey:null},fb={alias:null,args:null,kind:"ScalarField",name:"is_initially_expanded",storageKey:null},gb={alias:null,args:null,kind:"ScalarField",name:"page_size",storageKey:null},hb={alias:null,args:null,kind:"ScalarField",name:"reply_comment_order",storageKey:null},ib={alias:null,args:null,kind:"ScalarField",name:"should_render_composer_preemptively",storageKey:null},jb={alias:null,args:null,kind:"ScalarField",name:"after_count",storageKey:null},kb={alias:null,args:null,kind:"ScalarField",name:"before_count",storageKey:null},lb={alias:null,args:null,kind:"ScalarField",name:"legacy_fbid",storageKey:null},mb={alias:null,args:null,kind:"ScalarField",name:"created_time",storageKey:null},nb={alias:null,args:null,kind:"ScalarField",name:"spam_display_mode",storageKey:null},ob={alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:f,storageKey:null},pb={alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:c,storageKey:null};C=[C,D,E,F,G,H,I,J,K,{kind:"Literal",name:"is_top_level",value:!1}];D={alias:"sub_replies_count",args:[{kind:"Literal",name:"comment_order",value:"SUB_REPLIES"},{kind:"Literal",name:"top_level_comment_order",value:"TOPLEVEL"}],concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:wa,storageKey:'display_comments(comment_order:"SUB_REPLIES",top_level_comment_order:"TOPLEVEL")'};E={alias:null,args:null,kind:"ScalarField",name:"is_hide_transparency_enabled_for_actor",storageKey:null};F={alias:null,args:null,concreteType:"PageAdminActorInfo",kind:"LinkedField",name:"page_admin_actor_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"creator_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"page_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_uri",storageKey:null}],storageKey:null};G={alias:null,args:null,concreteType:"QAUFIActionLinksCommentModuleRenderer",kind:"LinkedField",name:"qa_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__qa_action_links_comment_renderer",fragmentName:"GeminiUFIQAActionLinks_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null};H={alias:null,args:null,kind:"ScalarField",name:"is_author_banned_by_content_owner",storageKey:null};I={alias:null,args:null,kind:"ScalarField",name:"is_author_original_poster",storageKey:null};J={alias:null,args:null,kind:"ScalarField",name:"is_ama_question",storageKey:null};K={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment_parent",plural:!1,selections:[b,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[z,b],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[d,m,{kind:"InlineFragment",selections:[q,r],type:"User",abstractKey:null},b],storageKey:null}],storageKey:null};q={alias:null,args:null,concreteType:"EditHistoryConnection",kind:"LinkedField",name:"edit_history",plural:!1,selections:wa,storageKey:null};r={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"parent_feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_ban_user",storageKey:null},{alias:null,args:A,concreteType:"Page",kind:"LinkedField",name:"viewer_acts_as_page",plural:!1,selections:c,storageKey:null},b,{alias:null,args:null,kind:"ScalarField",name:"share_fbid",storageKey:null},{alias:null,args:null,concreteType:"PoliticalFigureData",kind:"LinkedField",name:"political_figure_data",plural:!1,selections:[m,{alias:null,args:null,concreteType:"PoliticalOffice",kind:"LinkedField",name:"political_office",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"generic_title",storageKey:null},b],storageKey:null},b],storageKey:null}],storageKey:null};var qb={alias:null,args:null,kind:"ScalarField",name:"ban_action",storageKey:null},L=[{kind:"Literal",name:"translation_type",value:"ORIGINAL"}],M={args:null,fragment:aa("CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"),kind:"FragmentSpread"};M={alias:null,args:L,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"translation_type",storageKey:null},{kind:"InlineFragment",selections:[M,e],type:"TextWithEntities",abstractKey:null},M],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var rb={alias:null,args:null,concreteType:"PostTranslatability",kind:"LinkedField",name:"translatability_for_viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"source_dialect_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source_dialect",storageKey:null}],storageKey:null},sb={alias:null,args:null,kind:"ScalarField",name:"translation_available_for_viewer",storageKey:null},tb={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null},ub={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_share",plural:!1,selections:[b,{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_share",fragmentName:"CometUFICommentShareActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null},vb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_upvote_downvote",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_upvote_downvote",fragmentName:"CometUFIVoteCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},b],storageKey:null},wb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_award",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_award",fragmentName:"CometUFICommentAwardActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},b],storageKey:null},xb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_privacy_status",storageKey:null}],storageKey:null},yb={alias:null,args:null,kind:"ScalarField",name:"comment_privacy_value",storageKey:null},zb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_declined_by_group_admin_assistant",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_declined_by_group_admin_assistant",fragmentName:"CometUFICommentSeeDeclinedCommentFeedbackActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},b],storageKey:null},Ab={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_learn_more_about_pending_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_learn_more_about_pending_comment",fragmentName:"CometUFICommentLearnMoreAboutPendingCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},b],storageKey:null};L={alias:"body_renderer",args:L,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyTextWithEntities_textWithEntities",fragmentPropName:"textWithEntities",kind:"ModuleImport"}],type:"TextWithEntities",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyComposedTextWithEntities_composedTextWithEntities",fragmentPropName:"composedTextWithEntities",kind:"ModuleImport"}],type:"FBMarkdownCommentBody",abstractKey:null}],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var Bb={alias:null,args:null,kind:"ScalarField",name:"is_declined_by_group_admin_assistant",storageKey:null},Cb={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video_comment",storageKey:null},Db={alias:null,args:null,kind:"ScalarField",name:"timestamp_in_video",storageKey:null},Eb={alias:null,args:null,kind:"ScalarField",name:"written_while_video_was_live",storageKey:null},Fb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_groups",fragmentName:"CometUFIGroupCommentActorLink_groupCommentInfo",fragmentPropName:"groupCommentInfo",kind:"ModuleImport"}],storageKey:null},Gb={alias:null,args:null,concreteType:"XFBStagesCommentInfo",kind:"LinkedField",name:"stages_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_stages",fragmentName:"StagesCommentProfileLink_stagesCommentInfo",fragmentPropName:"stagesCommentInfo",kind:"ModuleImport"}],storageKey:null},N={kind:"Variable",name:"pixel_ratio",variableName:"scale"};t={alias:null,args:null,concreteType:"XFBContextualProfileInfo",kind:"LinkedField",name:"author_contextual_profile_info",plural:!1,selections:[m,{alias:"contextual_profile_picture_depth_0",args:[t,N,u],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},{alias:"contextual_profile_picture_depth_1",args:[w,N,x],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null}],storageKey:null};u={alias:null,args:null,kind:"ScalarField",name:"has_constituent_badge",storageKey:null};w={alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_subsribe_button",storageKey:null};N={alias:null,args:null,kind:"ScalarField",name:"can_see_constituent_badge_upsell",storageKey:null};x={alias:null,args:null,kind:"ScalarField",name:"legacy_token",storageKey:null};var Hb={alias:null,args:null,kind:"ScalarField",name:"question_and_answer_type",storageKey:null},Ib={alias:null,args:null,kind:"ScalarField",name:"is_viewer_comment_poster",storageKey:null},Jb={alias:null,args:null,kind:"ScalarField",name:"is_author_bot",storageKey:null},Kb={alias:null,args:null,kind:"ScalarField",name:"is_author_non_coworker",storageKey:null},Lb={alias:null,args:l,concreteType:null,kind:"LinkedField",name:"author_user_signals_renderer",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null}],storageKey:null};k={alias:null,args:[k,{kind:"Literal",name:"supported",value:["CometUFICommentActorConstituentBadge","CometUFICommentActorVerifiedBadge","CometUFICommentActorUserSignalsRenderer","CometUFICommentActorAMAQuestionAnswerBadge","CometUFICommentInlineFollowCTARenderer","GeminiUFICommentActorDeactivatedAccountBadge","GeminiUFICommentActorBotBadge","GeminiUFICommentActorNonCoworkerBadge","CometUFICommentPostAuthorBadge","GeminiUFICommentQAAnswerBadge","GeminiUFICommentQASocialAnswerBadge","GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge"]}],concreteType:null,kind:"LinkedField",name:"author_badge_renderers",plural:!0,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorConstituentBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorConstituentBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorVerifiedBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorVerifiedBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorAMAQuestionAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentInlineFollowCTARenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentInlineFollowCTARenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorDeactivatedAccountBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorDeactivatedAccountBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorBotBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorBotBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorNonCoworkerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorNonCoworkerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentPostAuthorBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentPostAuthorBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQAAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQAAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQASocialAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQASocialAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorEnhancedAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge",abstractKey:null}],storageKey:null};var O={alias:null,args:null,kind:"ScalarField",name:"information_title",storageKey:null},P={alias:null,args:null,kind:"ScalarField",name:"information_asset",storageKey:null},Q={alias:null,args:null,kind:"ScalarField",name:"information_asset_v2",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"information_asset_dark_mode_v2",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"information_description",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"is_enabled",storageKey:null},U={alias:null,args:null,kind:"ScalarField",name:"is_manageable",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"serialized",storageKey:null},W={alias:null,args:null,kind:"ScalarField",name:"identity_badge_type",storageKey:null},X={alias:null,args:null,kind:"ScalarField",name:"information_button_enabled",storageKey:null},Y={alias:null,args:null,kind:"ScalarField",name:"information_button_uri",storageKey:null},Z={alias:null,args:null,kind:"ScalarField",name:"information_button_text",storageKey:null},$={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tier_info",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"tier_name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"stars_sent_this_week",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"stars_threshold_for_next_tier",storageKey:null}],type:"TipperBadgeTierInfo",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"supporter_age_for_progress_bar",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"supporter_threshold_for_next_tier",storageKey:null}],type:"WoodhengeBadgeTierInfo",abstractKey:null}],storageKey:null},Mb={alias:null,args:l,concreteType:"IdentityBadge",kind:"LinkedField",name:"identity_badges_web",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"badge_asset",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"multiple_badge_asset",storageKey:null},e,{alias:null,args:null,kind:"ScalarField",name:"text_gradient",storageKey:null},O,P,Q,R,S,T,U,V,W,X,Y,Z,$,{alias:null,args:null,kind:"ScalarField",name:"gaming_video_image_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gaming_video_dark_mode_image_uri",storageKey:null}],storageKey:null};l={alias:null,args:l,kind:"ScalarField",name:"can_show_multiple_identity_badges",storageKey:null};O={alias:null,args:null,concreteType:"IdentityBadge",kind:"LinkedField",name:"earned_identity_badges_web",plural:!0,selections:[O,P,Q,R,S,T,U,V,W,X,Y,Z,$],storageKey:null};P={alias:null,args:null,kind:"ScalarField",name:"work_ama_answer_status",storageKey:null};Q={alias:null,args:null,concreteType:"WorkKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"LinkedField",name:"work_knowledge_inline_annotation_comment_badge_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentBody_comment_work_knowledge_inline_annotation_comment_badge_renderer",fragmentName:"CometUFICommentBodyInlineAnnotationBadgeWrapper_workKnowledgeInlineAnnotationCommentBadgeRenderer",fragmentPropName:"workKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"ModuleImport"}],storageKey:null};R={alias:null,args:null,kind:"ScalarField",name:"is_live_video_comment",storageKey:null};S={alias:null,args:null,kind:"ScalarField",name:"can_viewer_disable_preview",storageKey:null};T={args:null,documentName:"CometUFIComment_comment",fragmentName:"CometUFICommentQualitySurvey_inlineSurveyConfig",fragmentPropName:"inlineSurveyConfig",kind:"ModuleImport"};U={alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T,{alias:null,args:xa,concreteType:"Image",kind:"LinkedField",name:"favicon",plural:!1,selections:[j,{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},h,i],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"privacy_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"session_blob",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thankyou_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tessa_survey_config_id",storageKey:null}],storageKey:null};V={alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:f,storageKey:null};W={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_see_member_page_tooltip",plural:!1,selections:f,storageKey:null};X={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};Y={alias:null,args:null,concreteType:"WorkAMAUFIAnsweredEventCommentModuleRenderer",kind:"LinkedField",name:"work_answered_event_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFIComment_comment_work_answered_event_comment_renderer",fragmentName:"CometUFIAMABroadcastAnswerEventRow_data",fragmentPropName:"data",kind:"ModuleImport"}],storageKey:null};Z={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"comment_upper_badge_renderer",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentPinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentPinnedBadgeRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentUnpinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentUnpinnedBadgeRenderer",abstractKey:null}],storageKey:null};$={alias:null,args:[{kind:"Literal",name:"supported",value:["StarsElevatedCommentData"]}],concreteType:null,kind:"LinkedField",name:"elevated_comment_data",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_elevated_comment_data",fragmentName:"GFIStarsElevatedCommentContent_starsElevatedCommentData",fragmentPropName:"starsElevatedCommentData",kind:"ModuleImport"}],type:"StarsElevatedCommentData",abstractKey:null}],storageKey:'elevated_comment_data(supported:["StarsElevatedCommentData"])'};j={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"body",plural:!1,selections:[e,{alias:null,args:null,concreteType:"EntityAtRange",kind:"LinkedField",name:"ranges",plural:!0,selections:[d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity",plural:!1,selections:[d,za],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"entity_is_weak_reference",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"offset",storageKey:null}],storageKey:null}],storageKey:null};h={alias:null,args:null,kind:"ScalarField",name:"is_markdown_enabled",storageKey:null};i={alias:null,args:null,kind:"ScalarField",name:"is_subreply_parent_deleted",storageKey:null};e={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"reply_parent_comment",plural:!1,selections:c,storageKey:null};var Nb={alias:null,args:null,kind:"ScalarField",name:"optimistic_action",storageKey:null},Ob={alias:null,args:null,kind:"ScalarField",name:"optimistic_error_code",storageKey:null},Pb={alias:null,args:null,kind:"ScalarField",name:"optimistic_error",storageKey:null},Qb={alias:null,args:null,kind:"ScalarField",name:"client_id",storageKey:null},Rb={kind:"ClientExtension",selections:[Nb,Ob,Pb,Qb,{alias:null,args:null,kind:"ScalarField",name:"reply_comment_parent_fbid",storageKey:null}]},Sb={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_previous_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_cursor",storageKey:null}],storageKey:null},Tb={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"ufi2_connection_generation",storageKey:null}]},Ub=["feedback_source","focus_comment_id","comment_order"],Vb={kind:"Variable",name:"__dynamicKey",variableName:"UFI2CommentsProvider_commentsKey"};return{fragment:{argumentDefinitions:[a,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma],kind:"Fragment",metadata:null,name:"CometUFICreateCommentMutation",selections:[{alias:null,args:na,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"comment_create",plural:!1,selections:[{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:[{args:null,kind:"FragmentSpread",name:"GroupsCometOnboardingRHCCard_group"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"useCometUFIDisabledNotice_feedback"}],storageKey:null},{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[oa,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[b,pa,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"swipable_media",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"QuiltsCometCard_media"}],storageKey:null},qa,{args:null,kind:"FragmentSpread",name:"CometUFIComment_comment"},{args:null,kind:"FragmentSpread",name:"CometUFICommentEditor_comment"},ra,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:[{kind:"Variable",name:"includeNestedComments",variableName:"includeNestedComments"}],kind:"FragmentSpread",name:"CometUFICommentList_feedback"}],storageKey:null}],storageKey:null}],storageKey:null},sa],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[fa,ba,ca,da,ea,ga,ha,ia,ja,ka,la,ma,a],kind:"Operation",name:"CometUFICreateCommentMutation",selections:[{alias:null,args:na,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"comment_create",plural:!1,selections:[{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:[b,{alias:null,args:null,concreteType:"GroupOnboardingWizard",kind:"LinkedField",name:"onboarding_wizard",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"status_type",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"dismiss_card",plural:!1,selections:[d,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"description",plural:!1,selections:ta,storageKey:null},ua],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"completed_card",plural:!1,selections:[d,ua],storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"wizard_title",plural:!1,selections:ta,storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"wizard_subtitle",plural:!1,selections:ta,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"wizard_steps",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"is_completed",storageKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingInviteMemberRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepInviteMember",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingChooseCoverPhotoRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepChooseCoverPhoto",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingWriteGroupDescriptionRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepWriteGroupDescription",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingWriteFirstPostRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepWriteFirstPost",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingCustomizeGroupProfileRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepCustomizeGroupProfile",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingWriteAskMeAnythingPostRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepWriteAskMeAnythingPost",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"GroupsCometOnboardingRHCCard_group",fragmentName:"GroupsCometOnboardingAnswerMemberQuestionsRHCItem_wizardStep",fragmentPropName:"wizardStep",kind:"ModuleImport"}],type:"GroupOnboardingWizardStepAnswerMemberQuestions",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"if_viewer_can_change_cover_video",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"if_viewer_can_edit_self_expertise",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"default_actor",plural:!1,selections:f,storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:1}],concreteType:"GroupToPurposesConnection",kind:"LinkedField",name:"group_purposes",plural:!1,selections:[{alias:null,args:null,concreteType:"GroupToPurposesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"GroupPurpose",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"purpose_enum",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"group_purposes(first:1)"},{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"if_viewer_can_see_admin_left_hand_rail",plural:!1,selections:f,storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"have_comments_been_disabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"are_live_video_comments_disabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_viewer_muted",storageKey:null},{alias:"display_comments_count",args:null,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:wa,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"comments_disabled_notice_renderer",plural:!1,selections:[d,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentDisabledNotice_feedback",fragmentName:"CometGenericCommentDisableNotice_commentDisableNotice",fragmentPropName:"commentDisableNotice",kind:"ModuleImport"}],type:"GeneralCommentDisableNotice",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentDisabledNotice_feedback",fragmentName:"CometGroupForumCommentDisableNotice_commentDisableNotice",fragmentPropName:"commentDisableNotice",kind:"ModuleImport"}],type:"GroupForumParticipantDisableNotice",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentDisabledNotice_feedback",fragmentName:"CometLiveVideoCommentDisableNotice_commentDisableNotice",fragmentPropName:"commentDisableNotice",kind:"ModuleImport"}],type:"LiveVideoCommentDisableNotice",abstractKey:null}],storageKey:null},b],storageKey:null},{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[oa,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[b,pa,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"swipable_media",plural:!0,selections:[d,{kind:"TypeDiscriminator",abstractKey:"__isMedia"},{alias:null,args:null,concreteType:"ComputerVisionInfo",kind:"LinkedField",name:"computer_vision_info",plural:!1,selections:[{alias:null,args:null,concreteType:"Photo",kind:"LinkedField",name:"photo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"accessibility_caption",storageKey:null},b],storageKey:null},b],storageKey:null},{alias:"backgroundImage",args:xa,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:ya,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"color_choice_algorithm",value:"PLACEHOLDER_V1"}],kind:"ScalarField",name:"accent_color",storageKey:'accent_color(color_choice_algorithm:"PLACEHOLDER_V1")'}],type:"Photo",abstractKey:null},{alias:null,args:xa,concreteType:"Image",kind:"LinkedField",name:"animated_image",plural:!1,selections:ya,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_playable",storageKey:null},{args:null,documentName:"QuiltsCometCard_media",fragmentName:"CometFeedStoryQuiltsPlayableMediaRenderer_media",fragmentPropName:"media",kind:"ModuleImport"}],type:"Video",abstractKey:null},za,{kind:"InlineFragment",selections:c,type:"GenericAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:c,type:"MontageImage",abstractKey:null},{kind:"InlineFragment",selections:c,type:"MontageVideo",abstractKey:null}],storageKey:null},qa,Aa,Ba,Ca,Da,p,o,Ha,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[b,y,{alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[d,b,Ea,m,Fa,Ga,s],storageKey:null},Ia,Ja,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[b,Ka,La,Ma,Na],storageKey:null},B,Oa,z,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,{alias:null,args:cb,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[db,eb,fb,gb,hb,ib,jb,kb,va,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[b,lb,p,o,mb,nb,Aa,Ba,Ca,Da,Ha,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[b,y,ob,Ia,Ja,pb,B,Oa,z,Pa,Qa,Ra,{condition:"includeNestedComments",kind:"Condition",passingValue:!0,selections:[Sa,Ta,Ua,Va,{alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[Ea,m,Fa,Ga,s],storageKey:null},Wa,Xa,Ya,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[Ka,La,Ma,Na],storageKey:null},Za,$a,ab,bb,{alias:null,args:C,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"highlighted_comments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[d,m,{alias:"profilePictureForReplyExpander",args:g,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},s,b],storageKey:null},mb,b],storageKey:null},db,eb,fb,gb,hb,ib,jb,kb,va,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[b,lb,p,o,mb,nb,Aa,Ba,Ca,Da,Ha,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[b,y,ob,Ia,Ja,pb,B,Oa,z,Pa,Qa,Ra,D,E],storageKey:null},F,G,H,I,J,K,q,r,qb,M,rb,sb,n,tb,ub,vb,wb,xb,yb,zb,Ab,L,Bb,Cb,Db,Eb,Fb,Gb,t,u,w,N,x,Hb,Ib,Jb,Kb,Lb,k,Mb,l,O,P,Q,R,S,U,V,W,X,Y,Z,$,j,h,i,e,ra,d,Rb],storageKey:null},oa],storageKey:null},Sb,Tb],storageKey:null},{alias:null,args:C,filters:Ub,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Vb}]}],storageKey:null},F,G,H,I,J,K,q,r,qb,M,rb,sb,n,tb,ub,vb,wb,xb,yb,zb,Ab,L,Bb,Cb,Db,Eb,Fb,Gb,t,u,w,N,x,Hb,Ib,Jb,Kb,Lb,k,Mb,l,O,P,Q,R,S,U,V,W,X,Y,Z,$,j,h,e,ra,d,Rb,{condition:"includeNestedComments",kind:"Condition",passingValue:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[D,E],storageKey:null},i]}],storageKey:null},oa],storageKey:null},Sb,Tb],storageKey:null},{alias:null,args:cb,filters:Ub,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Vb}],storageKey:null},F,G,nb,H,I,mb,J,K,q,r,qb,M,rb,sb,n,tb,ub,vb,wb,xb,yb,zb,Ab,lb,L,Bb,Cb,Db,Eb,Fb,Gb,t,u,w,N,x,Hb,Ib,Jb,Kb,Lb,k,Mb,l,O,P,Q,R,S,{alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T],storageKey:null},V,W,X,Y,Z,$,j,h,ra,{kind:"ClientExtension",selections:[Nb,Ob,Pb,Qb]}],storageKey:null}],storageKey:null},sa],storageKey:null}]},params:{id:"4681704745220081",metadata:{},name:"CometUFICreateCommentMutation",operationKind:"mutation",text:null}}}();da.exports=a}),null); __d("CometUFIUnpinCommentMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4577052922309890"}),null); __d("CometUFIUnpinCommentMutation.graphql",["CometUFIUnpinCommentMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UnpinnedCommentEventCreateResponsePayload",kind:"LinkedField",name:"unpinned_comment_event_create",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIUnpinCommentMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIUnpinCommentMutation",selections:c},params:{id:b("CometUFIUnpinCommentMutation_facebookRelayOperation"),metadata:{},name:"CometUFIUnpinCommentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFICreateCommentSubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4407253239367947"}),null); __d("CometUFICreateCommentSubscription.graphql",["CometTextWithEntitiesRelay_textWithEntities$normalization.graphql","CometUFICreateCommentSubscription_facebookRelayOperation"],(function(a,aa,ba,ca,b,da){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"UFI2CommentsProvider_commentsKey"},ba={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextEnableComment"},ca={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAdPreview"},b={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAggregatedShare"},da={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsStorySet"},ea={defaultValue:null,kind:"LocalArgument",name:"displayCommentsFeedbackContext"},fa={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},ga={defaultValue:null,kind:"LocalArgument",name:"feedbackSource"},ha={defaultValue:null,kind:"LocalArgument",name:"focusCommentID"},ia={defaultValue:!1,kind:"LocalArgument",name:"includeNestedComments"},ja={defaultValue:null,kind:"LocalArgument",name:"input"},ka={defaultValue:null,kind:"LocalArgument",name:"scale"},la={defaultValue:null,kind:"LocalArgument",name:"useDefaultActor"},ma=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},e=[d],na={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,{alias:null,args:null,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:e,storageKey:null}],storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},oa={alias:"threading_depth",args:null,kind:"ScalarField",name:"depth",storageKey:null},g=[c],pa={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"reply_parent_comment",plural:!1,selections:[c,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:g,storageKey:null}],storageKey:null},qa={alias:null,args:null,kind:"ScalarField",name:"depth",storageKey:null},ra={alias:null,args:null,concreteType:"XFBCommunityCommentSignalRenderer",kind:"LinkedField",name:"community_comment_signal_renderer",plural:!1,selections:[{args:null,documentName:"CometCommunityCommentSignalRenderer_comment",fragmentName:"CometCommunityCommentSignalBubble_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},sa={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"]}],concreteType:null,kind:"LinkedField",name:"style_type_renderer",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentAnimatedImageShareAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentAnimatedImageShareStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentDonationAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentDonationStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentFallbackAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFallbackStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPhotoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentQuiltImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentQuiltImageStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAvatarAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerAvatarStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAutoplayAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoAutoplayStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentTipJarPaymentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentTipJarPaymentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPlaceInfoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentCommentPlaceInfoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentChatCommandAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentChatCommandStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPageInCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPageInCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesTournamentActivityAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesTournamentActivityStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesUpdateCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesUpdateCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFISubscriptionGiftingAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentSubscriptionGiftStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFIFactsInCommentsAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFactsInCommentsCommentStyleRenderer",abstractKey:null}],storageKey:'style_type_renderer(supported:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"])'},{alias:null,args:null,kind:"ScalarField",name:"style_list",storageKey:null}],storageKey:null},i={kind:"Variable",name:"feed_location",variableName:"feedLocation"},j=[i],ta={alias:null,args:j,kind:"ScalarField",name:"comment_menu_tooltip",storageKey:null},ua={alias:null,args:j,kind:"ScalarField",name:"should_show_comment_menu",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},m=[l],n={alias:null,args:null,kind:"ScalarField",name:"is_verified",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},q={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null}]},va={kind:"TypeDiscriminator",abstractKey:"__isActor"},r={kind:"Literal",name:"height",value:32},s={kind:"Variable",name:"scale",variableName:"scale"},t={kind:"Literal",name:"width",value:32},u={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},v=[u],wa={alias:"profile_picture_depth_0",args:[r,s,t],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},w={kind:"Literal",name:"height",value:24},x={kind:"Literal",name:"width",value:24},xa=[w,s,x],ya={alias:"profile_picture_depth_1",args:xa,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null};n={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[h,c,k,{kind:"InlineFragment",selections:m,type:"Event",abstractKey:null},{kind:"InlineFragment",selections:m,type:"Group",abstractKey:null},{kind:"InlineFragment",selections:[l,n],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[l,{alias:null,args:null,concreteType:"WorkUserInfo",kind:"LinkedField",name:"work_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_active_account",storageKey:null}],storageKey:null},n,o,{alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null},p,q],type:"User",abstractKey:null},{kind:"InlineFragment",selections:m,type:"Entity",abstractKey:"__isEntity"},va,wa,ya],storageKey:null};m={alias:null,args:null,kind:"ScalarField",name:"is_author_weak_reference",storageKey:null};var y={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},za={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"private_reply_context",plural:!1,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"has_reply_permission",storageKey:null}],storageKey:null};y={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"page_private_reply",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"private_reply_render",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"CometUFICommentPrivateReplyLinkRenderer_privateReplyCometRenderer",fragmentPropName:"privateReplyCometRenderer",kind:"ModuleImport"}],type:"PagesMessagingPrivateReplyCometRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"BizInboxCommentPrivateReplyLinkRenderer_privateReplyBizRenderer",fragmentPropName:"privateReplyBizRenderer",kind:"ModuleImport"}],type:"BizMessagingPrivateReplyRenderer",abstractKey:null}],storageKey:null},y],storageKey:null};var z={kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"},A=[z];q={kind:"InlineFragment",selections:[p,q],type:"User",abstractKey:null};var B={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},Aa={alias:null,args:A,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:[B,c],storageKey:null},Ba={alias:null,args:null,concreteType:"FeedbackReaction",kind:"LinkedField",name:"supported_reactions",plural:!0,selections:[{alias:null,args:null,concreteType:"FeedbackReactionAnimation",kind:"LinkedField",name:"animation",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_keyframes2",storageKey:null}],storageKey:null},B,c],storageKey:null},Ca={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled",storageKey:null},Da={alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},Ea={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video",storageKey:null},Fa={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled_with_comments",storageKey:null};B={alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:[B,c,{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"svg_image",plural:!1,selections:v,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'};var Ga={alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count_reduced",storageKey:null}],storageKey:null};z={alias:null,args:[{kind:"Variable",name:"location",variableName:"feedLocation"},z],kind:"ScalarField",name:"can_viewer_comment",storageKey:null};var Ha={alias:null,args:A,kind:"ScalarField",name:"can_viewer_react",storageKey:null},Ia={alias:null,args:A,kind:"ScalarField",name:"comment_composer_placeholder",storageKey:null},Ja={alias:null,args:null,kind:"ScalarField",name:"should_show_top_reactions",storageKey:null},Ka={alias:"sub_replies_count",args:[{kind:"Literal",name:"comment_order",value:"SUB_REPLIES"},{kind:"Literal",name:"top_level_comment_order",value:"TOPLEVEL"}],concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:e,storageKey:'display_comments(comment_order:"SUB_REPLIES",top_level_comment_order:"TOPLEVEL")'},La={alias:null,args:null,kind:"ScalarField",name:"is_hide_transparency_enabled_for_actor",storageKey:null},Ma=[h],Na={alias:null,args:null,concreteType:"AskMeAnythingFeedbackMetadata",kind:"LinkedField",name:"ask_me_anything_feedback_metadata",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_host",storageKey:null}],storageKey:null},Oa={alias:"comment_count",args:null,concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"total_count",storageKey:null}],storageKey:null},Pa={alias:"toplevel_comment_count",args:[{kind:"Literal",name:"orderby",value:"toplevel"}],concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:e,storageKey:'top_level_comments(orderby:"toplevel")'},Qa={alias:null,args:null,kind:"ScalarField",name:"is_vc_acting_as_page_or_profile_plus",storageKey:null},Ra={alias:null,args:null,kind:"ScalarField",name:"can_viewer_pin_live_comments",storageKey:null},Sa={alias:null,args:null,concreteType:"BroadcastPinnedCommentEvent",kind:"LinkedField",name:"latest_pinned_comment_event",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"pinned_comment",plural:!1,selections:g,storageKey:null},c],storageKey:null},Ta={alias:null,args:null,concreteType:"WorkAMAUFIAnswerEventActionLinksCommentModuleRenderer",kind:"LinkedField",name:"work_answer_event_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback_work_answer_event_action_links_comment_renderer",fragmentName:"GeminiUFIAMABroadcastAnswerActionLinks_feedback",fragmentPropName:"feedback",kind:"ModuleImport"}],storageKey:null},Ua={alias:null,args:null,kind:"ScalarField",name:"is_admin_hide_eligible",storageKey:null},Va={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"if_viewer_can_quick_hide_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback",fragmentName:"CometUFIHideCommentLink_feedback",fragmentPropName:"feedback",kind:"ModuleImport"},c],storageKey:null},Wa={alias:null,args:null,kind:"ScalarField",name:"subscription_target_id",storageKey:null},C={kind:"Variable",name:"feed_context_enable_comment",variableName:"displayCommentsContextEnableComment"},D={kind:"Variable",name:"feed_context_fb_feed_location",variableName:"feedLocation"},E={kind:"Variable",name:"feed_context_is_ad_preview",variableName:"displayCommentsContextIsAdPreview"},F={kind:"Variable",name:"feed_context_is_aggregated_share",variableName:"displayCommentsContextIsAggregatedShare"},G={kind:"Variable",name:"feed_context_is_story_set",variableName:"displayCommentsContextIsStorySet"},H={kind:"Variable",name:"feedback_context",variableName:"displayCommentsFeedbackContext"},I={kind:"Variable",name:"feedback_source",variableName:"feedbackSource"},J={kind:"Variable",name:"focus_comment_id",variableName:"focusCommentID"},K={kind:"Literal",name:"is_initial_fetch",value:!0},Xa=[C,D,E,F,G,H,I,J,K,{kind:"Variable",name:"is_top_level",variableName:"includeNestedComments"}],Ya={alias:null,args:null,kind:"ScalarField",name:"comment_order",storageKey:null},Za={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"expanded_sub_reply_parents",plural:!0,selections:g,storageKey:null},$a={alias:null,args:null,kind:"ScalarField",name:"is_initially_expanded",storageKey:null},ab={alias:null,args:null,kind:"ScalarField",name:"page_size",storageKey:null},bb={alias:null,args:null,kind:"ScalarField",name:"reply_comment_order",storageKey:null},cb={alias:null,args:null,kind:"ScalarField",name:"should_render_composer_preemptively",storageKey:null},db={alias:null,args:null,kind:"ScalarField",name:"after_count",storageKey:null},eb={alias:null,args:null,kind:"ScalarField",name:"before_count",storageKey:null},fb={alias:null,args:null,kind:"ScalarField",name:"legacy_fbid",storageKey:null},gb={alias:null,args:null,kind:"ScalarField",name:"created_time",storageKey:null},hb={alias:null,args:null,kind:"ScalarField",name:"spam_display_mode",storageKey:null},L=[h,c],ib={alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:L,storageKey:null},jb={alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:g,storageKey:null};C=[C,D,E,F,G,H,I,J,K,{kind:"Literal",name:"is_top_level",value:!1}];D={alias:null,args:null,concreteType:"PageAdminActorInfo",kind:"LinkedField",name:"page_admin_actor_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"creator_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"page_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_uri",storageKey:null}],storageKey:null};E={alias:null,args:null,concreteType:"QAUFIActionLinksCommentModuleRenderer",kind:"LinkedField",name:"qa_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__qa_action_links_comment_renderer",fragmentName:"GeminiUFIQAActionLinks_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null};F={alias:null,args:null,kind:"ScalarField",name:"is_author_banned_by_content_owner",storageKey:null};G={alias:null,args:null,kind:"ScalarField",name:"is_author_original_poster",storageKey:null};H={alias:null,args:null,kind:"ScalarField",name:"is_ama_question",storageKey:null};I={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment_parent",plural:!1,selections:[c,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[z,c],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[h,k,{kind:"InlineFragment",selections:[o,p],type:"User",abstractKey:null},c],storageKey:null}],storageKey:null};J={alias:null,args:null,concreteType:"EditHistoryConnection",kind:"LinkedField",name:"edit_history",plural:!1,selections:e,storageKey:null};K={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"parent_feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_ban_user",storageKey:null},{alias:null,args:A,concreteType:"Page",kind:"LinkedField",name:"viewer_acts_as_page",plural:!1,selections:g,storageKey:null},c,{alias:null,args:null,kind:"ScalarField",name:"share_fbid",storageKey:null},{alias:null,args:null,concreteType:"PoliticalFigureData",kind:"LinkedField",name:"political_figure_data",plural:!1,selections:[k,{alias:null,args:null,concreteType:"PoliticalOffice",kind:"LinkedField",name:"political_office",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"generic_title",storageKey:null},c],storageKey:null},c],storageKey:null}],storageKey:null};o={alias:null,args:null,kind:"ScalarField",name:"ban_action",storageKey:null};p=[{kind:"Literal",name:"translation_type",value:"ORIGINAL"}];e={args:null,fragment:aa("CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"),kind:"FragmentSpread"};var M={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null};e={alias:null,args:p,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"translation_type",storageKey:null},{kind:"InlineFragment",selections:[e,M],type:"TextWithEntities",abstractKey:null},e],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var kb={alias:null,args:null,concreteType:"PostTranslatability",kind:"LinkedField",name:"translatability_for_viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"source_dialect_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source_dialect",storageKey:null}],storageKey:null},lb={alias:null,args:null,kind:"ScalarField",name:"translation_available_for_viewer",storageKey:null},mb={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null},nb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_share",plural:!1,selections:[c,{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_share",fragmentName:"CometUFICommentShareActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null},ob={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_upvote_downvote",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_upvote_downvote",fragmentName:"CometUFIVoteCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},pb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_award",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_award",fragmentName:"CometUFICommentAwardActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},qb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_privacy_status",storageKey:null}],storageKey:null},rb={alias:null,args:null,kind:"ScalarField",name:"comment_privacy_value",storageKey:null},sb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_declined_by_group_admin_assistant",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_declined_by_group_admin_assistant",fragmentName:"CometUFICommentSeeDeclinedCommentFeedbackActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},tb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_learn_more_about_pending_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_learn_more_about_pending_comment",fragmentName:"CometUFICommentLearnMoreAboutPendingCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null};p={alias:"body_renderer",args:p,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyTextWithEntities_textWithEntities",fragmentPropName:"textWithEntities",kind:"ModuleImport"}],type:"TextWithEntities",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyComposedTextWithEntities_composedTextWithEntities",fragmentPropName:"composedTextWithEntities",kind:"ModuleImport"}],type:"FBMarkdownCommentBody",abstractKey:null}],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var ub={alias:null,args:null,kind:"ScalarField",name:"is_declined_by_group_admin_assistant",storageKey:null},vb={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video_comment",storageKey:null},wb={alias:null,args:null,kind:"ScalarField",name:"timestamp_in_video",storageKey:null},xb={alias:null,args:null,kind:"ScalarField",name:"written_while_video_was_live",storageKey:null},yb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_groups",fragmentName:"CometUFIGroupCommentActorLink_groupCommentInfo",fragmentPropName:"groupCommentInfo",kind:"ModuleImport"}],storageKey:null},zb={alias:null,args:null,concreteType:"XFBStagesCommentInfo",kind:"LinkedField",name:"stages_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_stages",fragmentName:"StagesCommentProfileLink_stagesCommentInfo",fragmentPropName:"stagesCommentInfo",kind:"ModuleImport"}],storageKey:null},N={kind:"Variable",name:"pixel_ratio",variableName:"scale"};r={alias:null,args:null,concreteType:"XFBContextualProfileInfo",kind:"LinkedField",name:"author_contextual_profile_info",plural:!1,selections:[k,{alias:"contextual_profile_picture_depth_0",args:[r,N,t],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},{alias:"contextual_profile_picture_depth_1",args:[w,N,x],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null}],storageKey:null};t={alias:null,args:null,kind:"ScalarField",name:"has_constituent_badge",storageKey:null};w={alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_subsribe_button",storageKey:null};N={alias:null,args:null,kind:"ScalarField",name:"can_see_constituent_badge_upsell",storageKey:null};x={alias:null,args:null,kind:"ScalarField",name:"legacy_token",storageKey:null};var Ab={alias:null,args:null,kind:"ScalarField",name:"question_and_answer_type",storageKey:null},Bb={alias:null,args:null,kind:"ScalarField",name:"is_viewer_comment_poster",storageKey:null},Cb={alias:null,args:null,kind:"ScalarField",name:"is_author_bot",storageKey:null},Db={alias:null,args:null,kind:"ScalarField",name:"is_author_non_coworker",storageKey:null},Eb={alias:null,args:j,concreteType:null,kind:"LinkedField",name:"author_user_signals_renderer",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null}],storageKey:null};i={alias:null,args:[i,{kind:"Literal",name:"supported",value:["CometUFICommentActorConstituentBadge","CometUFICommentActorVerifiedBadge","CometUFICommentActorUserSignalsRenderer","CometUFICommentActorAMAQuestionAnswerBadge","CometUFICommentInlineFollowCTARenderer","GeminiUFICommentActorDeactivatedAccountBadge","GeminiUFICommentActorBotBadge","GeminiUFICommentActorNonCoworkerBadge","CometUFICommentPostAuthorBadge","GeminiUFICommentQAAnswerBadge","GeminiUFICommentQASocialAnswerBadge","GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge"]}],concreteType:null,kind:"LinkedField",name:"author_badge_renderers",plural:!0,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorConstituentBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorConstituentBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorVerifiedBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorVerifiedBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorAMAQuestionAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentInlineFollowCTARenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentInlineFollowCTARenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorDeactivatedAccountBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorDeactivatedAccountBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorBotBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorBotBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorNonCoworkerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorNonCoworkerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentPostAuthorBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentPostAuthorBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQAAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQAAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQASocialAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQASocialAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorEnhancedAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge",abstractKey:null}],storageKey:null};var O={alias:null,args:null,kind:"ScalarField",name:"information_title",storageKey:null},P={alias:null,args:null,kind:"ScalarField",name:"information_asset",storageKey:null},Q={alias:null,args:null,kind:"ScalarField",name:"information_asset_v2",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"information_asset_dark_mode_v2",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"information_description",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"is_enabled",storageKey:null},U={alias:null,args:null,kind:"ScalarField",name:"is_manageable",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"serialized",storageKey:null},W={alias:null,args:null,kind:"ScalarField",name:"identity_badge_type",storageKey:null},X={alias:null,args:null,kind:"ScalarField",name:"information_button_enabled",storageKey:null},Y={alias:null,args:null,kind:"ScalarField",name:"information_button_uri",storageKey:null},Z={alias:null,args:null,kind:"ScalarField",name:"information_button_text",storageKey:null},$={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tier_info",plural:!1,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"tier_name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"stars_sent_this_week",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"stars_threshold_for_next_tier",storageKey:null}],type:"TipperBadgeTierInfo",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"supporter_age_for_progress_bar",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"supporter_threshold_for_next_tier",storageKey:null}],type:"WoodhengeBadgeTierInfo",abstractKey:null}],storageKey:null},Fb={alias:null,args:j,concreteType:"IdentityBadge",kind:"LinkedField",name:"identity_badges_web",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"badge_asset",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"multiple_badge_asset",storageKey:null},M,{alias:null,args:null,kind:"ScalarField",name:"text_gradient",storageKey:null},O,P,Q,R,S,T,U,V,W,X,Y,Z,$,{alias:null,args:null,kind:"ScalarField",name:"gaming_video_image_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gaming_video_dark_mode_image_uri",storageKey:null}],storageKey:null};j={alias:null,args:j,kind:"ScalarField",name:"can_show_multiple_identity_badges",storageKey:null};O={alias:null,args:null,concreteType:"IdentityBadge",kind:"LinkedField",name:"earned_identity_badges_web",plural:!0,selections:[O,P,Q,R,S,T,U,V,W,X,Y,Z,$],storageKey:null};P={alias:null,args:null,kind:"ScalarField",name:"work_ama_answer_status",storageKey:null};Q={alias:null,args:null,concreteType:"WorkKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"LinkedField",name:"work_knowledge_inline_annotation_comment_badge_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentBody_comment_work_knowledge_inline_annotation_comment_badge_renderer",fragmentName:"CometUFICommentBodyInlineAnnotationBadgeWrapper_workKnowledgeInlineAnnotationCommentBadgeRenderer",fragmentPropName:"workKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"ModuleImport"}],storageKey:null};R={alias:null,args:null,kind:"ScalarField",name:"is_live_video_comment",storageKey:null};S={alias:null,args:null,kind:"ScalarField",name:"can_viewer_disable_preview",storageKey:null};T={args:null,documentName:"CometUFIComment_comment",fragmentName:"CometUFICommentQualitySurvey_inlineSurveyConfig",fragmentPropName:"inlineSurveyConfig",kind:"ModuleImport"};U={alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T,{alias:null,args:[s],concreteType:"Image",kind:"LinkedField",name:"favicon",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},u,{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"privacy_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"session_blob",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thankyou_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tessa_survey_config_id",storageKey:null}],storageKey:null};V={alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:L,storageKey:null};W={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_see_member_page_tooltip",plural:!1,selections:L,storageKey:null};X={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};Y={alias:null,args:null,concreteType:"WorkAMAUFIAnsweredEventCommentModuleRenderer",kind:"LinkedField",name:"work_answered_event_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFIComment_comment_work_answered_event_comment_renderer",fragmentName:"CometUFIAMABroadcastAnswerEventRow_data",fragmentPropName:"data",kind:"ModuleImport"}],storageKey:null};Z={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"comment_upper_badge_renderer",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentPinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentPinnedBadgeRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentUnpinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentUnpinnedBadgeRenderer",abstractKey:null}],storageKey:null};$={alias:null,args:[{kind:"Literal",name:"supported",value:["StarsElevatedCommentData"]}],concreteType:null,kind:"LinkedField",name:"elevated_comment_data",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_elevated_comment_data",fragmentName:"GFIStarsElevatedCommentContent_starsElevatedCommentData",fragmentPropName:"starsElevatedCommentData",kind:"ModuleImport"}],type:"StarsElevatedCommentData",abstractKey:null}],storageKey:'elevated_comment_data(supported:["StarsElevatedCommentData"])'};s={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"body",plural:!1,selections:[M,{alias:null,args:null,concreteType:"EntityAtRange",kind:"LinkedField",name:"ranges",plural:!0,selections:[h,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity",plural:!1,selections:[h,{kind:"InlineFragment",selections:g,type:"Node",abstractKey:"__isNode"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"entity_is_weak_reference",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"offset",storageKey:null}],storageKey:null}],storageKey:null};u={alias:null,args:null,kind:"ScalarField",name:"is_markdown_enabled",storageKey:null};L={alias:null,args:null,kind:"ScalarField",name:"is_subreply_parent_deleted",storageKey:null};M={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"reply_parent_comment",plural:!1,selections:g,storageKey:null};g={alias:null,args:null,kind:"ScalarField",name:"optimistic_action",storageKey:null};var Gb={alias:null,args:null,kind:"ScalarField",name:"optimistic_error_code",storageKey:null},Hb={alias:null,args:null,kind:"ScalarField",name:"optimistic_error",storageKey:null},Ib={alias:null,args:null,kind:"ScalarField",name:"client_id",storageKey:null},Jb={kind:"ClientExtension",selections:[g,Gb,Hb,Ib,{alias:null,args:null,kind:"ScalarField",name:"reply_comment_parent_fbid",storageKey:null}]},Kb={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_previous_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_cursor",storageKey:null}],storageKey:null},Lb={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"ufi2_connection_generation",storageKey:null}]},Mb=["feedback_source","focus_comment_id","comment_order"],Nb={kind:"Variable",name:"__dynamicKey",variableName:"UFI2CommentsProvider_commentsKey"};return{fragment:{argumentDefinitions:[a,ba,ca,b,da,ea,fa,ga,ha,ia,ja,ka,la],kind:"Fragment",metadata:null,name:"CometUFICreateCommentSubscription",selections:[{alias:null,args:ma,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"comment_create_subscribe",plural:!1,selections:[na,{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[f,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometUFIComment_comment"},{args:null,kind:"FragmentSpread",name:"CometUFIFullThreadedReplyContainer_comment"},{args:null,kind:"FragmentSpread",name:"CometUFICommentEditor_comment"},c,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometUFICommentInGroup_feedback"},{args:[{kind:"Variable",name:"includeNestedComments",variableName:"includeNestedComments"}],kind:"FragmentSpread",name:"CometUFICommentList_feedback"}],storageKey:null},{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"parent_post_story",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometUFICommentsCount_feedback"}],storageKey:null}],storageKey:null},oa,pa,qa],storageKey:null}],storageKey:null}],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[ea,ba,ca,b,da,fa,ga,ha,ia,ja,ka,la,a],kind:"Operation",name:"CometUFICreateCommentSubscription",selections:[{alias:null,args:ma,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"comment_create_subscribe",plural:!1,selections:[na,{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[f,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[ra,sa,c,ta,ua,n,m,za,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,y,{alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[h,c,va,k,wa,ya,q],storageKey:null},Aa,Ba,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[c,Ca,Da,Ea,Fa],storageKey:null},B,Ga,z,Ha,Ia,Ja,Ka,La,{alias:"threading_config_type",args:null,concreteType:null,kind:"LinkedField",name:"threading_config",plural:!1,selections:Ma,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"threading_config",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentInGroup_feedback",fragmentName:"CometUFIFullThreadedTopLevelCommentContainer_config",fragmentPropName:"config",kind:"ModuleImport"}],type:"FullThreadingFeedbackConfig",abstractKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"supported",value:["DefaultRepliesListRenderer","FullThreadedRepliesListRenderer"]}],concreteType:null,kind:"LinkedField",name:"replies_list_renderer",plural:!1,selections:[h,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentInGroup_feedback__replies_list_renderer",fragmentName:"CometUFIDefaultRepliesListRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"DefaultRepliesListRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentInGroup_feedback__replies_list_renderer",fragmentName:"CometUFIFullThreadedRepliesListRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"FullThreadedRepliesListRenderer",abstractKey:null}],storageKey:'replies_list_renderer(supported:["DefaultRepliesListRenderer","FullThreadedRepliesListRenderer"])'},Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,{alias:null,args:Xa,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[Ya,Za,$a,ab,bb,cb,db,eb,d,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[c,fb,n,m,gb,hb,ra,sa,ta,ua,za,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,y,ib,Aa,Ba,jb,B,Ga,z,Ha,Ia,Ja,{condition:"includeNestedComments",kind:"Condition",passingValue:!0,selections:[Na,Oa,Pa,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"threading_config",plural:!1,selections:Ma,storageKey:null},{alias:null,args:A,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[va,k,wa,ya,q],storageKey:null},Qa,Ra,Sa,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[Ca,Da,Ea,Fa],storageKey:null},Ta,Ua,Va,Wa,{alias:null,args:C,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"highlighted_comments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[h,k,{alias:"profilePictureForReplyExpander",args:xa,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:v,storageKey:null},q,c],storageKey:null},gb,c],storageKey:null},Ya,Za,$a,ab,bb,cb,db,eb,d,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[c,fb,n,m,gb,hb,ra,sa,ta,ua,za,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,y,ib,Aa,Ba,jb,B,Ga,z,Ha,Ia,Ja,Ka,La],storageKey:null},D,E,F,G,H,I,J,K,o,e,kb,lb,l,mb,nb,ob,pb,qb,rb,sb,tb,p,ub,vb,wb,xb,yb,zb,r,t,w,N,x,Ab,Bb,Cb,Db,Eb,i,Fb,j,O,P,Q,R,S,U,V,W,X,Y,Z,$,s,u,L,M,oa,h,Jb],storageKey:null},f],storageKey:null},Kb,Lb],storageKey:null},{alias:null,args:C,filters:Mb,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Nb}]}],storageKey:null},D,E,F,G,H,I,J,K,o,e,kb,lb,l,mb,nb,ob,pb,qb,rb,sb,tb,p,ub,vb,wb,xb,yb,zb,r,t,w,N,x,Ab,Bb,Cb,Db,Eb,i,Fb,j,O,P,Q,R,S,U,V,W,X,Y,Z,$,s,u,M,oa,h,Jb,{condition:"includeNestedComments",kind:"Condition",passingValue:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[Ka,La],storageKey:null},L]}],storageKey:null},f],storageKey:null},Kb,Lb],storageKey:null},{alias:null,args:Xa,filters:Mb,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Nb}],storageKey:null},D,E,hb,F,G,gb,H,I,J,K,o,e,kb,lb,l,mb,nb,ob,pb,qb,rb,sb,tb,fb,p,ub,vb,wb,xb,yb,zb,r,t,w,N,x,Ab,Bb,Cb,Db,Eb,i,Fb,j,O,P,Q,R,S,{alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T],storageKey:null},V,W,X,Y,Z,$,L,s,u,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"parent_post_story",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,Oa,{alias:"i18n_comment_count",args:null,kind:"ScalarField",name:"comment_count_reduced",storageKey:null}],storageKey:null},c],storageKey:null},oa,pa,qa,{kind:"ClientExtension",selections:[g,Gb,Hb,Ib]}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:aa("CometUFICreateCommentSubscription_facebookRelayOperation"),metadata:{subscriptionName:"comment_create_subscribe"},name:"CometUFICreateCommentSubscription",operationKind:"subscription",text:null}}}();b.exports=a}),null); __d("CometUFIPegasusCreateCommentSubscription.graphql",["CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"],(function(a,aa,ba,ca,b,da){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"UFI2CommentsProvider_commentsKey"},ba={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextEnableComment"},ca={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAdPreview"},b={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsAggregatedShare"},da={defaultValue:null,kind:"LocalArgument",name:"displayCommentsContextIsStorySet"},ea={defaultValue:null,kind:"LocalArgument",name:"displayCommentsFeedbackContext"},fa={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},ga={defaultValue:null,kind:"LocalArgument",name:"feedbackSource"},ha={defaultValue:null,kind:"LocalArgument",name:"focusCommentID"},ia={defaultValue:!1,kind:"LocalArgument",name:"includeNestedComments"},ja={defaultValue:null,kind:"LocalArgument",name:"input"},ka={defaultValue:null,kind:"LocalArgument",name:"scale"},la={defaultValue:null,kind:"LocalArgument",name:"useDefaultActor"},ma=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},na={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},d=[na],oa={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,{alias:null,args:null,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:d,storageKey:null}],storageKey:null},pa={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},qa={alias:"threading_depth",args:null,kind:"ScalarField",name:"depth",storageKey:null},e=[c],ra={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"reply_parent_comment",plural:!1,selections:e,storageKey:null},sa={alias:null,args:null,concreteType:"XFBCommunityCommentSignalRenderer",kind:"LinkedField",name:"community_comment_signal_renderer",plural:!1,selections:[{args:null,documentName:"CometCommunityCommentSignalRenderer_comment",fragmentName:"CometCommunityCommentSignalBubble_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},ta={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"]}],concreteType:null,kind:"LinkedField",name:"style_type_renderer",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentAnimatedImageShareAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentAnimatedImageShareStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentDonationAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentDonationStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentFallbackAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFallbackStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPhotoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentQuiltImageAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentQuiltImageStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentStickerAvatarAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentStickerAvatarStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAutoplayAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoAutoplayStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentVideoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentVideoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentTipJarPaymentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentTipJarPaymentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPlaceInfoAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentCommentPlaceInfoStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentChatCommandAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentChatCommandStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentPageInCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentPageInCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesTournamentActivityAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesTournamentActivityStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFICommentInstantGamesUpdateCommentAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentInstantGamesUpdateCommentStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFISubscriptionGiftingAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentSubscriptionGiftStyleRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedStoryUFICommentAttachment_attachment",fragmentName:"CometUFIFactsInCommentsAttachmentStyle_styleTypeRenderer",fragmentPropName:"styleTypeRenderer",kind:"ModuleImport"}],type:"StoryAttachmentFactsInCommentsCommentStyleRenderer",abstractKey:null}],storageKey:'style_type_renderer(supported:["StoryAttachmentAnimatedImageShareStyleRenderer","StoryAttachmentDonationStyleRenderer","StoryAttachmentFallbackStyleRenderer","StoryAttachmentPhotoStyleRenderer","StoryAttachmentQuiltImageStyleRenderer","StoryAttachmentStickerStyleRenderer","StoryAttachmentStickerAvatarStyleRenderer","StoryAttachmentVideoAutoplayStyleRenderer","StoryAttachmentVideoStyleRenderer","StoryAttachmentTipJarPaymentStyleRenderer","StoryAttachmentCommentPlaceInfoStyleRenderer","StoryAttachmentChatCommandStyleRenderer","StoryAttachmentPageInCommentStyleRenderer","StoryAttachmentInstantGamesTournamentActivityStyleRenderer","StoryAttachmentInstantGamesUpdateCommentStyleRenderer","StoryAttachmentSubscriptionGiftStyleRenderer","StoryAttachmentFactsInCommentsCommentStyleRenderer"])'},{alias:null,args:null,kind:"ScalarField",name:"style_list",storageKey:null}],storageKey:null},g={kind:"Variable",name:"feed_location",variableName:"feedLocation"},h=[g],ua={alias:null,args:h,kind:"ScalarField",name:"comment_menu_tooltip",storageKey:null},va={alias:null,args:h,kind:"ScalarField",name:"should_show_comment_menu",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},k=[j],l={alias:null,args:null,kind:"ScalarField",name:"is_verified",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},o={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null}]},wa={kind:"TypeDiscriminator",abstractKey:"__isActor"},p={kind:"Literal",name:"height",value:32},q={kind:"Variable",name:"scale",variableName:"scale"},r={kind:"Literal",name:"width",value:32},s={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},t=[s],xa={alias:"profile_picture_depth_0",args:[p,q,r],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:t,storageKey:null},u={kind:"Literal",name:"height",value:24},v={kind:"Literal",name:"width",value:24},ya=[u,q,v],za={alias:"profile_picture_depth_1",args:ya,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:t,storageKey:null};l={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[f,c,i,{kind:"InlineFragment",selections:k,type:"Event",abstractKey:null},{kind:"InlineFragment",selections:k,type:"Group",abstractKey:null},{kind:"InlineFragment",selections:[j,l],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[j,{alias:null,args:null,concreteType:"WorkUserInfo",kind:"LinkedField",name:"work_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_active_account",storageKey:null}],storageKey:null},l,m,{alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null},n,o],type:"User",abstractKey:null},{kind:"InlineFragment",selections:k,type:"Entity",abstractKey:"__isEntity"},wa,xa,za],storageKey:null};k={alias:null,args:null,kind:"ScalarField",name:"is_author_weak_reference",storageKey:null};var w={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},Aa={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"private_reply_context",plural:!1,selections:[w,{alias:null,args:null,kind:"ScalarField",name:"has_reply_permission",storageKey:null}],storageKey:null};w={alias:null,args:null,concreteType:"PrivateReplyContext",kind:"LinkedField",name:"page_private_reply",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"private_reply_render",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"CometUFICommentPrivateReplyLinkRenderer_privateReplyCometRenderer",fragmentPropName:"privateReplyCometRenderer",kind:"ModuleImport"}],type:"PagesMessagingPrivateReplyCometRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentPrivateReplyLink_feedback",fragmentName:"BizInboxCommentPrivateReplyLinkRenderer_privateReplyBizRenderer",fragmentPropName:"privateReplyBizRenderer",kind:"ModuleImport"}],type:"BizMessagingPrivateReplyRenderer",abstractKey:null}],storageKey:null},w],storageKey:null};var x={kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"},y=[x];o={kind:"InlineFragment",selections:[n,o],type:"User",abstractKey:null};var z={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},Ba={alias:null,args:y,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:[z,c],storageKey:null},Ca={alias:null,args:null,concreteType:"FeedbackReaction",kind:"LinkedField",name:"supported_reactions",plural:!0,selections:[{alias:null,args:null,concreteType:"FeedbackReactionAnimation",kind:"LinkedField",name:"animation",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_keyframes2",storageKey:null}],storageKey:null},z,c],storageKey:null},Da={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled",storageKey:null},Ea={alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},Fa={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video",storageKey:null},Ga={alias:null,args:null,kind:"ScalarField",name:"broadcast_is_ama_enabled_with_comments",storageKey:null};z={alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:[z,c,{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"svg_image",plural:!1,selections:t,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'};var Ha={alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[na,{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count_reduced",storageKey:null}],storageKey:null};x={alias:null,args:[{kind:"Variable",name:"location",variableName:"feedLocation"},x],kind:"ScalarField",name:"can_viewer_comment",storageKey:null};var Ia={alias:null,args:y,kind:"ScalarField",name:"can_viewer_react",storageKey:null},Ja={alias:null,args:y,kind:"ScalarField",name:"comment_composer_placeholder",storageKey:null},Ka={alias:null,args:null,kind:"ScalarField",name:"should_show_top_reactions",storageKey:null},La={alias:null,args:null,concreteType:"AskMeAnythingFeedbackMetadata",kind:"LinkedField",name:"ask_me_anything_feedback_metadata",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_host",storageKey:null}],storageKey:null},Ma={alias:"comment_count",args:null,concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"total_count",storageKey:null}],storageKey:null},Na={alias:"toplevel_comment_count",args:[{kind:"Literal",name:"orderby",value:"toplevel"}],concreteType:"TopLevelCommentsConnection",kind:"LinkedField",name:"top_level_comments",plural:!1,selections:d,storageKey:'top_level_comments(orderby:"toplevel")'},Oa={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"threading_config",plural:!1,selections:[f],storageKey:null},Pa={alias:null,args:null,kind:"ScalarField",name:"is_vc_acting_as_page_or_profile_plus",storageKey:null},Qa={alias:null,args:null,kind:"ScalarField",name:"can_viewer_pin_live_comments",storageKey:null},Ra={alias:null,args:null,concreteType:"BroadcastPinnedCommentEvent",kind:"LinkedField",name:"latest_pinned_comment_event",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"pinned_comment",plural:!1,selections:e,storageKey:null},c],storageKey:null},Sa={alias:null,args:null,concreteType:"WorkAMAUFIAnswerEventActionLinksCommentModuleRenderer",kind:"LinkedField",name:"work_answer_event_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback_work_answer_event_action_links_comment_renderer",fragmentName:"GeminiUFIAMABroadcastAnswerActionLinks_feedback",fragmentPropName:"feedback",kind:"ModuleImport"}],storageKey:null},Ta={alias:null,args:null,kind:"ScalarField",name:"is_admin_hide_eligible",storageKey:null},Ua={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"if_viewer_can_quick_hide_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_feedback",fragmentName:"CometUFIHideCommentLink_feedback",fragmentPropName:"feedback",kind:"ModuleImport"},c],storageKey:null},Va={alias:null,args:null,kind:"ScalarField",name:"subscription_target_id",storageKey:null},A={kind:"Variable",name:"feed_context_enable_comment",variableName:"displayCommentsContextEnableComment"},B={kind:"Variable",name:"feed_context_fb_feed_location",variableName:"feedLocation"},C={kind:"Variable",name:"feed_context_is_ad_preview",variableName:"displayCommentsContextIsAdPreview"},D={kind:"Variable",name:"feed_context_is_aggregated_share",variableName:"displayCommentsContextIsAggregatedShare"},E={kind:"Variable",name:"feed_context_is_story_set",variableName:"displayCommentsContextIsStorySet"},F={kind:"Variable",name:"feedback_context",variableName:"displayCommentsFeedbackContext"},G={kind:"Variable",name:"feedback_source",variableName:"feedbackSource"},H={kind:"Variable",name:"focus_comment_id",variableName:"focusCommentID"},I={kind:"Literal",name:"is_initial_fetch",value:!0},Wa=[A,B,C,D,E,F,G,H,I,{kind:"Variable",name:"is_top_level",variableName:"includeNestedComments"}],Xa={alias:null,args:null,kind:"ScalarField",name:"comment_order",storageKey:null},Ya={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"expanded_sub_reply_parents",plural:!0,selections:e,storageKey:null},Za={alias:null,args:null,kind:"ScalarField",name:"is_initially_expanded",storageKey:null},$a={alias:null,args:null,kind:"ScalarField",name:"page_size",storageKey:null},ab={alias:null,args:null,kind:"ScalarField",name:"reply_comment_order",storageKey:null},bb={alias:null,args:null,kind:"ScalarField",name:"should_render_composer_preemptively",storageKey:null},cb={alias:null,args:null,kind:"ScalarField",name:"after_count",storageKey:null},db={alias:null,args:null,kind:"ScalarField",name:"before_count",storageKey:null},eb={alias:null,args:null,kind:"ScalarField",name:"legacy_fbid",storageKey:null},fb={alias:null,args:null,kind:"ScalarField",name:"created_time",storageKey:null},gb={alias:null,args:null,kind:"ScalarField",name:"spam_display_mode",storageKey:null},J=[f,c],hb={alias:null,args:y,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:J,storageKey:null},ib={alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:e,storageKey:null};A=[A,B,C,D,E,F,G,H,I,{kind:"Literal",name:"is_top_level",value:!1}];B={alias:"sub_replies_count",args:[{kind:"Literal",name:"comment_order",value:"SUB_REPLIES"},{kind:"Literal",name:"top_level_comment_order",value:"TOPLEVEL"}],concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:d,storageKey:'display_comments(comment_order:"SUB_REPLIES",top_level_comment_order:"TOPLEVEL")'};C={alias:null,args:null,kind:"ScalarField",name:"is_hide_transparency_enabled_for_actor",storageKey:null};D={alias:null,args:null,concreteType:"PageAdminActorInfo",kind:"LinkedField",name:"page_admin_actor_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"creator_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creator_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"page_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_uri",storageKey:null}],storageKey:null};E={alias:null,args:null,concreteType:"QAUFIActionLinksCommentModuleRenderer",kind:"LinkedField",name:"qa_action_links_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__qa_action_links_comment_renderer",fragmentName:"GeminiUFIQAActionLinks_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null};F={alias:null,args:null,kind:"ScalarField",name:"is_author_banned_by_content_owner",storageKey:null};G={alias:null,args:null,kind:"ScalarField",name:"is_author_original_poster",storageKey:null};H={alias:null,args:null,kind:"ScalarField",name:"is_ama_question",storageKey:null};I={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment_parent",plural:!1,selections:[c,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[x,c],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[f,i,{kind:"InlineFragment",selections:[m,n],type:"User",abstractKey:null},c],storageKey:null}],storageKey:null};m={alias:null,args:null,concreteType:"EditHistoryConnection",kind:"LinkedField",name:"edit_history",plural:!1,selections:d,storageKey:null};n={alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"parent_feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_ban_user",storageKey:null},{alias:null,args:y,concreteType:"Page",kind:"LinkedField",name:"viewer_acts_as_page",plural:!1,selections:e,storageKey:null},c,{alias:null,args:null,kind:"ScalarField",name:"share_fbid",storageKey:null},{alias:null,args:null,concreteType:"PoliticalFigureData",kind:"LinkedField",name:"political_figure_data",plural:!1,selections:[i,{alias:null,args:null,concreteType:"PoliticalOffice",kind:"LinkedField",name:"political_office",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"generic_title",storageKey:null},c],storageKey:null},c],storageKey:null}],storageKey:null};d={alias:null,args:null,kind:"ScalarField",name:"ban_action",storageKey:null};var K=[{kind:"Literal",name:"translation_type",value:"ORIGINAL"}],L={args:null,fragment:aa("CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"),kind:"FragmentSpread"},M={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null};L={alias:null,args:K,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"translation_type",storageKey:null},{kind:"InlineFragment",selections:[L,M],type:"TextWithEntities",abstractKey:null},L],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var jb={alias:null,args:null,concreteType:"PostTranslatability",kind:"LinkedField",name:"translatability_for_viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"source_dialect_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"source_dialect",storageKey:null}],storageKey:null},kb={alias:null,args:null,kind:"ScalarField",name:"translation_available_for_viewer",storageKey:null},lb={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null},mb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_share",plural:!1,selections:[c,{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_share",fragmentName:"CometUFICommentShareActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"}],storageKey:null},nb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_upvote_downvote",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_upvote_downvote",fragmentName:"CometUFIVoteCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},ob={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_award",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_award",fragmentName:"CometUFICommentAwardActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},pb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_privacy_status",storageKey:null}],storageKey:null},qb={alias:null,args:null,kind:"ScalarField",name:"comment_privacy_value",storageKey:null},rb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_declined_by_group_admin_assistant",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_declined_by_group_admin_assistant",fragmentName:"CometUFICommentSeeDeclinedCommentFeedbackActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null},sb={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_learn_more_about_pending_comment",plural:!1,selections:[{args:null,documentName:"CometUFICommentActionLinks_comment__if_viewer_can_learn_more_about_pending_comment",fragmentName:"CometUFICommentLearnMoreAboutPendingCommentActionLink_comment",fragmentPropName:"comment",kind:"ModuleImport"},c],storageKey:null};K={alias:"body_renderer",args:K,concreteType:null,kind:"LinkedField",name:"preferred_body",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyTextWithEntities_textWithEntities",fragmentPropName:"textWithEntities",kind:"ModuleImport"}],type:"TextWithEntities",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentBody_comment",fragmentName:"CometUFICommentBodyComposedTextWithEntities_composedTextWithEntities",fragmentPropName:"composedTextWithEntities",kind:"ModuleImport"}],type:"FBMarkdownCommentBody",abstractKey:null}],storageKey:'preferred_body(translation_type:"ORIGINAL")'};var tb={alias:null,args:null,kind:"ScalarField",name:"is_declined_by_group_admin_assistant",storageKey:null},ub={alias:null,args:null,kind:"ScalarField",name:"is_gaming_video_comment",storageKey:null},vb={alias:null,args:null,kind:"ScalarField",name:"timestamp_in_video",storageKey:null},wb={alias:null,args:null,kind:"ScalarField",name:"written_while_video_was_live",storageKey:null},xb={alias:null,args:null,concreteType:"GroupCommentInfo",kind:"LinkedField",name:"group_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_groups",fragmentName:"CometUFIGroupCommentActorLink_groupCommentInfo",fragmentPropName:"groupCommentInfo",kind:"ModuleImport"}],storageKey:null},yb={alias:null,args:null,concreteType:"XFBStagesCommentInfo",kind:"LinkedField",name:"stages_comment_info",plural:!1,selections:[{args:null,documentName:"CometUFICommentActorLink_comment_stages",fragmentName:"StagesCommentProfileLink_stagesCommentInfo",fragmentPropName:"stagesCommentInfo",kind:"ModuleImport"}],storageKey:null},N={kind:"Variable",name:"pixel_ratio",variableName:"scale"};p={alias:null,args:null,concreteType:"XFBContextualProfileInfo",kind:"LinkedField",name:"author_contextual_profile_info",plural:!1,selections:[i,{alias:"contextual_profile_picture_depth_0",args:[p,N,r],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:t,storageKey:null},{alias:"contextual_profile_picture_depth_1",args:[u,N,v],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:t,storageKey:null}],storageKey:null};r={alias:null,args:null,kind:"ScalarField",name:"has_constituent_badge",storageKey:null};u={alias:null,args:null,kind:"ScalarField",name:"can_viewer_see_subsribe_button",storageKey:null};N={alias:null,args:null,kind:"ScalarField",name:"can_see_constituent_badge_upsell",storageKey:null};v={alias:null,args:null,kind:"ScalarField",name:"legacy_token",storageKey:null};var zb={alias:null,args:null,kind:"ScalarField",name:"question_and_answer_type",storageKey:null},Ab={alias:null,args:null,kind:"ScalarField",name:"is_viewer_comment_poster",storageKey:null},Bb={alias:null,args:null,kind:"ScalarField",name:"is_author_bot",storageKey:null},Cb={alias:null,args:null,kind:"ScalarField",name:"is_author_non_coworker",storageKey:null},Db={alias:null,args:h,concreteType:null,kind:"LinkedField",name:"author_user_signals_renderer",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null}],storageKey:null};g={alias:null,args:[g,{kind:"Literal",name:"supported",value:["CometUFICommentActorConstituentBadge","CometUFICommentActorVerifiedBadge","CometUFICommentActorUserSignalsRenderer","CometUFICommentActorAMAQuestionAnswerBadge","CometUFICommentInlineFollowCTARenderer","GeminiUFICommentActorDeactivatedAccountBadge","GeminiUFICommentActorBotBadge","GeminiUFICommentActorNonCoworkerBadge","CometUFICommentPostAuthorBadge","GeminiUFICommentQAAnswerBadge","GeminiUFICommentQASocialAnswerBadge","GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge"]}],concreteType:null,kind:"LinkedField",name:"author_badge_renderers",plural:!0,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorConstituentBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorConstituentBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorVerifiedBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorVerifiedBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorUserSignalsRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentActorUserSignalsRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentActorAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentActorAMAQuestionAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentInlineFollowCTARenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometUFICommentInlineFollowCTARenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorDeactivatedAccountBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorDeactivatedAccountBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorBotBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorBotBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorNonCoworkerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorNonCoworkerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"CometUFICommentPostAuthorBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"CometUFICommentPostAuthorBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQAAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQAAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentQASocialAnswerBadge_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentQASocialAnswerBadge",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useCometUFICommentActorLinkBadges_comment",fragmentName:"GeminiUFICommentActorEnhancedAMAQuestionAnswerBadge3DWrapper_badge",fragmentPropName:"badge",kind:"ModuleImport"}],type:"GeminiUFICommentActorWPEnhancedAMAQuestionAnswerBadge",abstractKey:null}],storageKey:null};var O={alias:null,args:null,kind:"ScalarField",name:"information_title",storageKey:null},P={alias:null,args:null,kind:"ScalarField",name:"information_asset",storageKey:null},Q={alias:null,args:null,kind:"ScalarField",name:"information_asset_v2",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"information_asset_dark_mode_v2",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"information_description",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"is_enabled",storageKey:null},U={alias:null,args:null,kind:"ScalarField",name:"is_manageable",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"serialized",storageKey:null},W={alias:null,args:null,kind:"ScalarField",name:"identity_badge_type",storageKey:null},X={alias:null,args:null,kind:"ScalarField",name:"information_button_enabled",storageKey:null},Y={alias:null,args:null,kind:"ScalarField",name:"information_button_uri",storageKey:null},Z={alias:null,args:null,kind:"ScalarField",name:"information_button_text",storageKey:null},$={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tier_info",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"tier_name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"stars_sent_this_week",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"stars_threshold_for_next_tier",storageKey:null}],type:"TipperBadgeTierInfo",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"supporter_age_for_progress_bar",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"supporter_threshold_for_next_tier",storageKey:null}],type:"WoodhengeBadgeTierInfo",abstractKey:null}],storageKey:null},Eb={alias:null,args:h,concreteType:"IdentityBadge",kind:"LinkedField",name:"identity_badges_web",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"badge_asset",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"multiple_badge_asset",storageKey:null},M,{alias:null,args:null,kind:"ScalarField",name:"text_gradient",storageKey:null},O,P,Q,R,S,T,U,V,W,X,Y,Z,$,{alias:null,args:null,kind:"ScalarField",name:"gaming_video_image_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gaming_video_dark_mode_image_uri",storageKey:null}],storageKey:null};h={alias:null,args:h,kind:"ScalarField",name:"can_show_multiple_identity_badges",storageKey:null};O={alias:null,args:null,concreteType:"IdentityBadge",kind:"LinkedField",name:"earned_identity_badges_web",plural:!0,selections:[O,P,Q,R,S,T,U,V,W,X,Y,Z,$],storageKey:null};P={alias:null,args:null,kind:"ScalarField",name:"work_ama_answer_status",storageKey:null};Q={alias:null,args:null,concreteType:"WorkKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"LinkedField",name:"work_knowledge_inline_annotation_comment_badge_renderer",plural:!1,selections:[{args:null,documentName:"CometUFICommentBody_comment_work_knowledge_inline_annotation_comment_badge_renderer",fragmentName:"CometUFICommentBodyInlineAnnotationBadgeWrapper_workKnowledgeInlineAnnotationCommentBadgeRenderer",fragmentPropName:"workKnowledgeInlineAnnotationCommentBadgeRenderer",kind:"ModuleImport"}],storageKey:null};R={alias:null,args:null,kind:"ScalarField",name:"is_live_video_comment",storageKey:null};S={alias:null,args:null,kind:"ScalarField",name:"can_viewer_disable_preview",storageKey:null};T={args:null,documentName:"CometUFIComment_comment",fragmentName:"CometUFICommentQualitySurvey_inlineSurveyConfig",fragmentPropName:"inlineSurveyConfig",kind:"ModuleImport"};U={alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T,{alias:null,args:[q],concreteType:"Image",kind:"LinkedField",name:"favicon",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},s,{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"followup_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_choices",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"main_question",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"privacy_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"session_blob",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thankyou_text",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tessa_survey_config_id",storageKey:null}],storageKey:null};V={alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:J,storageKey:null};W={alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"if_viewer_can_see_member_page_tooltip",plural:!1,selections:J,storageKey:null};X={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};Y={alias:null,args:null,concreteType:"WorkAMAUFIAnsweredEventCommentModuleRenderer",kind:"LinkedField",name:"work_answered_event_comment_renderer",plural:!1,selections:[{args:null,documentName:"CometUFIComment_comment_work_answered_event_comment_renderer",fragmentName:"CometUFIAMABroadcastAnswerEventRow_data",fragmentPropName:"data",kind:"ModuleImport"}],storageKey:null};Z={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"comment_upper_badge_renderer",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentPinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentPinnedBadgeRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_upper_badge_renderer",fragmentName:"GroupsCometCommentUnpinnedBadgeRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsCometCommentUnpinnedBadgeRenderer",abstractKey:null}],storageKey:null};$={alias:null,args:[{kind:"Literal",name:"supported",value:["StarsElevatedCommentData"]}],concreteType:null,kind:"LinkedField",name:"elevated_comment_data",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFIComment_comment_elevated_comment_data",fragmentName:"GFIStarsElevatedCommentContent_starsElevatedCommentData",fragmentPropName:"starsElevatedCommentData",kind:"ModuleImport"}],type:"StarsElevatedCommentData",abstractKey:null}],storageKey:'elevated_comment_data(supported:["StarsElevatedCommentData"])'};q={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"body",plural:!1,selections:[M,{alias:null,args:null,concreteType:"EntityAtRange",kind:"LinkedField",name:"ranges",plural:!0,selections:[f,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity",plural:!1,selections:[f,{kind:"InlineFragment",selections:e,type:"Node",abstractKey:"__isNode"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"entity_is_weak_reference",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"length",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"offset",storageKey:null}],storageKey:null}],storageKey:null};s={alias:null,args:null,kind:"ScalarField",name:"is_markdown_enabled",storageKey:null};J={alias:null,args:null,kind:"ScalarField",name:"is_subreply_parent_deleted",storageKey:null};M={alias:null,args:null,kind:"ScalarField",name:"optimistic_action",storageKey:null};e={alias:null,args:null,kind:"ScalarField",name:"optimistic_error_code",storageKey:null};var Fb={alias:null,args:null,kind:"ScalarField",name:"optimistic_error",storageKey:null},Gb={alias:null,args:null,kind:"ScalarField",name:"client_id",storageKey:null},Hb={kind:"ClientExtension",selections:[M,e,Fb,Gb,{alias:null,args:null,kind:"ScalarField",name:"reply_comment_parent_fbid",storageKey:null}]},Ib={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_previous_page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_cursor",storageKey:null}],storageKey:null},Jb={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"ufi2_connection_generation",storageKey:null}]},Kb=["feedback_source","focus_comment_id","comment_order"],Lb={kind:"Variable",name:"__dynamicKey",variableName:"UFI2CommentsProvider_commentsKey"};return{fragment:{argumentDefinitions:[a,ba,ca,b,da,ea,fa,ga,ha,ia,ja,ka,la],kind:"Fragment",metadata:null,name:"CometUFIPegasusCreateCommentSubscription",selections:[{alias:null,args:ma,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"pegasus_comment_create_subscribe",plural:!1,selections:[oa,{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[pa,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometUFIComment_comment"},{args:null,kind:"FragmentSpread",name:"CometUFICommentEditor_comment"},c,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:[{kind:"Variable",name:"includeNestedComments",variableName:"includeNestedComments"}],kind:"FragmentSpread",name:"CometUFICommentList_feedback"}],storageKey:null},{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"parent_post_story",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometUFICommentsCount_feedback"}],storageKey:null}],storageKey:null},qa,ra],storageKey:null}],storageKey:null}],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[ea,ba,ca,b,da,fa,ga,ha,ia,ja,ka,la,a],kind:"Operation",name:"CometUFIPegasusCreateCommentSubscription",selections:[{alias:null,args:ma,concreteType:"CommentCreateResponsePayload",kind:"LinkedField",name:"pegasus_comment_create_subscribe",plural:!1,selections:[oa,{alias:null,args:null,concreteType:"CommentsEdge",kind:"LinkedField",name:"feedback_comment_edge",plural:!1,selections:[pa,{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[sa,ta,c,ua,va,l,k,Aa,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,w,{alias:null,args:y,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[f,c,wa,i,xa,za,o],storageKey:null},Ba,Ca,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[c,Da,Ea,Fa,Ga],storageKey:null},z,Ha,x,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,{alias:null,args:Wa,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[Xa,Ya,Za,$a,ab,bb,cb,db,na,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[c,eb,l,k,fb,gb,sa,ta,ua,va,Aa,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,w,hb,Ba,Ca,ib,z,Ha,x,Ia,Ja,Ka,{condition:"includeNestedComments",kind:"Condition",passingValue:!0,selections:[La,Ma,Na,Oa,{alias:null,args:y,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[wa,i,xa,za,o],storageKey:null},Pa,Qa,Ra,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[Da,Ea,Fa,Ga],storageKey:null},Sa,Ta,Ua,Va,{alias:null,args:A,concreteType:"DisplayCommentsConnection",kind:"LinkedField",name:"display_comments",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"highlighted_comments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"author",plural:!1,selections:[f,i,{alias:"profilePictureForReplyExpander",args:ya,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:t,storageKey:null},o,c],storageKey:null},fb,c],storageKey:null},Xa,Ya,Za,$a,ab,bb,cb,db,na,{alias:null,args:null,concreteType:"DisplayCommentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"node",plural:!1,selections:[c,eb,l,k,fb,gb,sa,ta,ua,va,Aa,{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,w,hb,Ba,Ca,ib,z,Ha,x,Ia,Ja,Ka,B,C],storageKey:null},D,E,F,G,H,I,m,n,d,L,jb,kb,j,lb,mb,nb,ob,pb,qb,rb,sb,K,tb,ub,vb,wb,xb,yb,p,r,u,N,v,zb,Ab,Bb,Cb,Db,g,Eb,h,O,P,Q,R,S,U,V,W,X,Y,Z,$,q,s,J,ra,qa,f,Hb],storageKey:null},pa],storageKey:null},Ib,Jb],storageKey:null},{alias:null,args:A,filters:Kb,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Lb}]}],storageKey:null},D,E,F,G,H,I,m,n,d,L,jb,kb,j,lb,mb,nb,ob,pb,qb,rb,sb,K,tb,ub,vb,wb,xb,yb,p,r,u,N,v,zb,Ab,Bb,Cb,Db,g,Eb,h,O,P,Q,R,S,U,V,W,X,Y,Z,$,q,s,ra,qa,f,Hb,{condition:"includeNestedComments",kind:"Condition",passingValue:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[B,C],storageKey:null},J]}],storageKey:null},pa],storageKey:null},Ib,Jb],storageKey:null},{alias:null,args:Wa,filters:Kb,handle:"ufi2_comments",key:"UFI2CommentsProvider_feedback_display_comments",kind:"LinkedHandle",name:"display_comments",dynamicKey:Lb}],storageKey:null},D,E,gb,F,G,fb,H,I,m,n,d,L,jb,kb,j,lb,mb,nb,ob,pb,qb,rb,sb,eb,K,tb,ub,vb,wb,xb,yb,p,r,u,N,v,zb,Ab,Bb,Cb,Db,g,Eb,h,O,P,Q,R,S,{alias:null,args:null,concreteType:"InlineSurveyStoryActionLink",kind:"LinkedField",name:"inline_survey_config",plural:!1,selections:[T],storageKey:null},V,W,X,Y,Z,$,q,s,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"parent_post_story",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,Ma,{alias:"i18n_comment_count",args:null,kind:"ScalarField",name:"comment_count_reduced",storageKey:null}],storageKey:null},c],storageKey:null},qa,ra,{kind:"ClientExtension",selections:[M,e,Fb,Gb]}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"4457065961044790",metadata:{subscriptionName:"pegasus_comment_create_subscribe"},name:"CometUFIPegasusCreateCommentSubscription",operationKind:"subscription",text:null}}}();b.exports=a}),null); __d("ManageConstituentBadgeDialog.entrypoint",["JSResourceForInteraction","ManageConstituentBadgeDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.commentID;a=a.feedbackID;return{queries:{queryReference:{parameters:b("ManageConstituentBadgeDialogQuery$Parameters"),variables:{commentID:c,feedbackID:a}}}}},root:c("JSResourceForInteraction")("ManageConstituentBadgeDialog.react").__setRef("ManageConstituentBadgeDialog.entrypoint")};d=a;g["default"]=d}),98); __d("ManageConstituentBadgeDialogTrigger.react",["fbt","ix","CometEntryPointDialogTrigger.react","ManageConstituentBadgeDialog.entrypoint","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.onPress;return j.jsx(c("CometEntryPointDialogTrigger.react"),{dialogEntryPoint:c("ManageConstituentBadgeDialog.entrypoint"),otherProps:{},preloadParams:{commentID:a.commentID,feedbackID:a.feedbackID},children:function(a){return j.jsx(c("TetraIcon.react"),{alt:h._(/*FBT_CALL*/"Selo de eleitor"/*FBT_CALL*/),color:"secondary",icon:d("fbicon")._(i("506962"),12),onPress:function(){a(),b()}})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FishbowlFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("923");c=b("FalcoLoggerInternal").create("fishbowl",a);e.exports=c}),null); __d("FishbowlRole",[],(function(a,b,c,d,e,f){a=Object.freeze({HOST:"host",GUEST:"guest",NORMIE:"normie"});f["default"]=a}),66); __d("CometFishbowlLoggingUtils",["CommentOrderingMode","FishbowlFalcoEvent","FishbowlRole","getJSEnumSafe"],(function(a,b,c,d,e,f,g){"use strict";a={logAcceptInvitationClick:function(a,b){c("FishbowlFalcoEvent").log(function(){return{event:"join_fishbowl_clicked",fishbowl_data_id:a,post_id:b,surface:"story",viewer_role:"normie"}})},logAcceptInvitationImpression:function(a,b){c("FishbowlFalcoEvent").log(function(){return{event:"join_fishbowl_impression",fishbowl_data_id:a,post_id:b,surface:"story",viewer_role:"normie"}})},logAttachmentClick:function(a,b,d){c("FishbowlFalcoEvent").log(function(){return{event:"attachment_clicked",fishbowl_data_id:a,post_id:b,surface:"story",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logAttachmentImpression:function(a,b,d){c("FishbowlFalcoEvent").log(function(){return{event:"attachment_impression",fishbowl_data_id:a,post_id:b,surface:"story",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logCommentPillClick:function(a,b,d,e){var f=null;c("getJSEnumSafe")(c("CommentOrderingMode"),a)==="fishbowl_guests"?f="spotlight_comments_pill_clicked":c("getJSEnumSafe")(c("CommentOrderingMode"),a)==="fishbowl_normies"&&(f="other_comments_pill_clicked");c("FishbowlFalcoEvent").log(function(){return{event:f,fishbowl_data_id:b,post_id:e,surface:"comments",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logGuestCTAClick:function(a,b,d,e,f){c("FishbowlFalcoEvent").log(function(){return{event:a,fishbowl_data_id:b,guest_list_entrypoint:"story_attachment",post_id:f,surface:"guest_list",target_user_id:e,viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logGuestViewDismissed:function(a,b,d){c("FishbowlFalcoEvent").log(function(){return{event:"guest_list_dismissed",fishbowl_data_id:a,guest_list_entrypoint:"story_attachment",post_id:b,surface:"guest_list",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logGuestViewImpression:function(a,b,d){c("FishbowlFalcoEvent").log(function(){return{event:"guest_list_impression",fishbowl_data_id:a,guest_list_entrypoint:"story_attachment",post_id:b,surface:"guest_list",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logGuestViewInviteClicked:function(a,b,d,e){c("FishbowlFalcoEvent").log(function(){return{event:"invite_clicked",fishbowl_data_id:a,guest_list_entrypoint:"story_attachment",post_id:b,surface:"guest_list",target_user_ids:e,viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})},logGuestViewProfileSelected:function(a,b,d,e,f){c("FishbowlFalcoEvent").log(function(){return{event:f?"profile_selected":"profile_unselected",fishbowl_data_id:a,guest_list_entrypoint:"story_attachment",post_id:e,profile_source:"suggested",surface:"guest_list",target_user_id:d,viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),b)}})},logGuestViewScroll:function(a,b,d){c("FishbowlFalcoEvent").log(function(){return{event:"guest_list_scroll",fishbowl_data_id:a,guest_list_entrypoint:"story_attachment",post_id:b,surface:"guest_list",viewer_role:c("getJSEnumSafe")(c("FishbowlRole"),d)}})}};b=a;g["default"]=b}),98); __d("CometUFIBanActorMutation",["CometRelay","CometUFIBanActorMutation.graphql","CometUFIBanActorMutation_comment.graphql","forEachUFI2DisplayCommentsConnection"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("CometUFIBanActorMutation.graphql");i!==void 0?i:i=b("CometUFIBanActorMutation_comment.graphql");a=function(a,b){var e=b.feedbackId,f=b.pageId,g=b.targetUserId,h=b.undoBan;b=function(a){if(e==null)return;var b=a.get(e);if(!b)return;c("forEachUFI2DisplayCommentsConnection")(a,b,function(a){a=a.getLinkedRecords("edges");if(!a)return;a.forEach(function(a){if(!a)return;a=a.getLinkedRecord("node");if(!a)return;var b=a.getLinkedRecord("author");if(!b)return;if(b.getValue("id")===g){b=a.getValue("is_hidden_by_content_owner");a.setValue(h&&b!==!0?"none":"spam","spam_display_mode");a.setValue(!h,"is_author_banned_by_content_owner")}})})};return d("CometRelay").commitMutation(a,{mutation:j,optimisticResponse:{feedback_page_ban:{__typename:"FeedbackPageBanResponsePayload"}},optimisticUpdater:b,updater:b,variables:{input:{ban_action:h?"UNDO_BAN":"BAN",page_id:f,target_user_id:g}}})};g.commit=a}),98); __d("ConstituentTitleTypedLogger",["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:ConstituentTitleLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:ConstituentTitleLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:ConstituentTitleLoggerConfig",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.setAddress=function(a){this.$1.address=a;return this};c.setAppID=function(a){this.$1.appid=a;return this};c.setBadgeUpsellType=function(a){this.$1.badge_upsell_type=a;return this};c.setCancelStep=function(a){this.$1.cancel_step=a;return this};c.setCommentID=function(a){this.$1.comment_id=a;return this};c.setCommentRankingQeIdentifier=function(a){this.$1.comment_ranking_qe_identifier=a;return this};c.setDialogSource=function(a){this.$1.dialog_source=a;return this};c.setDialogType=function(a){this.$1.dialog_type=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setHasCivicEngagementAddress=function(a){this.$1.has_civic_engagement_address=a;return this};c.setPostID=function(a){this.$1.post_id=a;return this};c.setProfileIds=function(a){this.$1.profile_ids=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setSessionid=function(a){this.$1.sessionid=a;return this};return a}();c={address:!0,appid:!0,badge_upsell_type:!0,cancel_step:!0,comment_id:!0,comment_ranking_qe_identifier:!0,dialog_source:!0,dialog_type:!0,event:!0,has_civic_engagement_address:!0,post_id:!0,profile_ids:!0,sessionid:!0};f["default"]=a}),66); __d("CometUFICommentActorConstituentBadge.react",["fbt","ix","Actor","CometRelay","CometTooltip.react","CometUFICommentActorConstituentBadge_comment.graphql","ConstituentTitleTypedLogger","ManageConstituentBadgeDialogTrigger.react","TetraIcon.react","fbicon","react","recoverableViolation","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=d("react"),l=d("react").useRef;function a(a){var e;a=d("CometRelay").useFragment(j!==void 0?j:j=b("CometUFICommentActorConstituentBadge_comment.graphql"),a.comment);var g=a.legacy_token,m=a.parent_feedback,n=l(!1),o=c("useVisibilityObserver")({onVisible:function(){if(n.current)return;n.current=!0;new(c("ConstituentTitleTypedLogger"))().setEvent("comment_vpv").setPostID(r).setCommentID(g).log()}}),p=d("Actor").useActor();p=p[0];if(!a.author||((e=a.author)==null?void 0:e.id)==null)return c("recoverableViolation")("missing politician","civic_integrity");var q=a.author.short_name,r=m==null?void 0:m.share_fbid,s=p===a.author.id,t=m==null?void 0:(e=m.political_figure_data)==null?void 0:(e=e.political_office)==null?void 0:e.generic_title,u=m==null?void 0:(e=m.political_figure_data)==null?void 0:e.name;e=a.can_see_constituent_badge_upsell;function v(){if(q==null||t==null||u==null)return null;return s?h._(/*FBT_CALL*/"O seu selo de eleitor est\u00e1 ativo. {representative_name} \u00e9 seu {office_title}."/*FBT_CALL*/,[h._param("representative_name",u),h._param("office_title",t)]):h._(/*FBT_CALL*/"{representative_name} \u00e9 {politician_office_title} de {comment_author_name}."/*FBT_CALL*/,[h._param("representative_name",u),h._param("comment_author_name",q),h._param("politician_office_title",t)])}v.displayName=v.name+" [from "+f.id+"]";function w(){return h._(/*FBT_CALL*/"{comment_author_name} tem um selo mostrando que \u00e9 eleitor de {representative_name}"/*FBT_CALL*/,[h._param("comment_author_name",q),h._param("representative_name",u)])}w.displayName=w.name+" [from "+f.id+"]";function x(a){return k.jsx(c("TetraIcon.react"),{alt:w(),color:"secondary",icon:d("fbicon")._(i("506962"),12),onPress:a})}x.displayName=x.name+" [from "+f.id+"]";e=e===!0?k.jsx(c("ManageConstituentBadgeDialogTrigger.react"),{commentID:a.id,feedbackID:m==null?void 0:m.id,onPress:function(){new(c("ConstituentTitleTypedLogger"))().setEvent("constituent_badge_click").setPostID(r).setCommentID(g).log()}}):x();return k.jsx(d("Actor").ActorProvider,{initialActorID:p,children:k.jsx("span",{className:"l59n7fsa l9j0dhe7 kkf49tns",ref:o,children:k.jsx(c("CometTooltip.react"),{tooltip:v(),children:k.jsx("span",{className:"pcp91wgn iuny7tx3 p8fzw8mz ipjc6fyt",children:e})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFICommentActorVerifiedBadge.react",["CometProfileVerificationBadge.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=babelHelpers["extends"]({},a);return h.jsxs("span",{className:"e9o6kcyi pq6dq46d bp9cbjyn",children:[h.jsx(c("CometProfileVerificationBadge.react"),babelHelpers["extends"]({},a,{size:"small"}))," "]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFICommentErrorFooterEditButton.react",["errorCode","fbt","CometLink.react","UFI2CommentActionLinks.react","clearTimeout","react","setTimeout","useCometCallout"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");b=d("react");var k=b.useCallback,l=b.useEffect,m=b.useState;function n(a){return a===1446011}function a(a){var b=a.onEdit;a=a.optimisticErrorCode;a=m(n(a));var e=a[0],f=a[1];a=m(!1);var g=a[0],h=a[1];a={arrowStyle:"inset",disableOutsideClick:!0,label:i._(/*FBT_CALL*/"Voc\u00ea pode editar seu coment\u00e1rio aqui"/*FBT_CALL*/),onShow:function(){h(!0)},position:"above",type:"accent"};a=c("useCometCallout")(a,e);l(function(){if(g){var a=c("setTimeout")(function(){f(!1)},6e3);return function(){return c("clearTimeout")(a)}}},[f,g]);e=k(function(a){f(!1),b&&b(a)},[b]);var o=k(function(){f(!1)},[f]);return j.jsx(d("UFI2CommentActionLinks.react").UFI2CommentActionLinkItem,{children:j.jsx(c("CometLink.react"),{color:"highlight",onClick:e,onHoverEnd:o,ref:a,children:i._(/*FBT_CALL*/"Editar"/*FBT_CALL*/)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFICreateCommentMutation",["fbt","ChannelClientID","CometRelay","CometUFICreateCommentMutation.graphql","FBLogger","FeedbackSourceType","JSEnumValueToGraphQLKey","RelayRuntime","ServerTime","SiteData","cometUFIOptimisticCommentResponse","displayCommentsConnectionCountUpdater","forEachUFI2DisplayCommentsConnection","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i!==void 0?i:i=b("CometUFICreateCommentMutation.graphql"),k={};function l(a){var b,e=a.UFI2CommentsProvider_commentsKey,f=a.actorID,g=a.clientID,i=a.entitiesByID,n=a.environment,o=a.feedbackSource,p=a.feedLocation,q=a.focusCommentID,r=a.input,s=a.onCompleted,t=a.onError,u=a.topLevelFeedbackId,v=a.triggerAccessibilityAlert,w=a.updater,x=a.useDefaultActor,y=a.usedWritingHelpToCompose,z=a.viewOption,A=(b=a==null?void 0:a.retryID)!=null?b:g;b={UFI2CommentsProvider_commentsKey:e,feedLocation:p,feedbackSource:o,focusCommentID:q,input:babelHelpers["extends"]({},r,{feedback_source:c("JSEnumValueToGraphQLKey")(c("FeedbackSourceType"),o),idempotence_token:A,session_id:d("ChannelClientID").getID()}),scale:c("SiteData").pr,useDefaultActor:x};var B=function(a){return function(b){var d=b.getRootField("comment_create");if(d){var e=d.getLinkedRecord("feedback_comment_edge");if(e){d=b.get(r.feedback_id);if(d!=null){z!=="LIVE_STREAMING"&&c("forEachUFI2DisplayCommentsConnection")(b,d,function(a){c("RelayRuntime").ConnectionHandler.insertEdgeBefore(a,e)});if(w){var h=u==null||u===d.getDataID()?null:b.get(u);w(d,e,h)}}}}d=b.get(f);if(d==null)throw c("unrecoverableViolation")("UFI2CreateCommentMutation: Could not find actor with ID "+f,"ufi2");h=b.get(A);if(h==null)throw c("unrecoverableViolation")("CometUFICreateCommentMutation: Could not find comment with ID "+A,"ufi2");h.setLinkedRecord(d,"author");if(a&&a.toString){h.setValue(a.toString(),"optimistic_error");d=a.code;typeof d==="number"&&h.setValue(d,"optimistic_error_code")}else h.setValue(!0,"is_locally_composed");h.setValue(g,"client_id");h.setValue(r.reply_comment_parent_fbid,"reply_comment_parent_fbid");d=r.reply_comment_parent_fbid!=null?b.get(r.reply_comment_parent_fbid):null;d=d!=null?d.getValue("depth"):null;typeof d==="number"&&h.setValue(d+1,"depth");c("displayCommentsConnectionCountUpdater").increment({feedbackId:r.feedback_id,store:b,topLevelFeedbackId:u})}},C={mutation:j,optimisticResponse:m(r,A,i),optimisticUpdater:B(),variables:b},D=null,E=d("CometRelay").commitMutation(n,babelHelpers["extends"]({},C,{onCompleted:function(a){s&&s(a),v&&v(h._(/*FBT_CALL*/"Seu coment\u00e1rio foi enviado"/*FBT_CALL*/))},onError:function(b){k[A]=function(b){if(!k[A]){c("FBLogger")("ufi2").addMetadata("UFI","COMMENT_ID",A).warn("Tried to call a create comment mutation retry handle that was already removed.");return}E&&E.dispose();E=null;l(babelHelpers["extends"]({},a,{input:b||a.input,retryID:A}));delete k[A]},E=c("RelayRuntime").applyOptimisticMutation(n,babelHelpers["extends"]({},C,{optimisticResponse:m(r,A,i),optimisticUpdater:B(b)})),t&&t(b)},updater:function(a){var b=a.getRootField("comment_create");if(b==null)throw c("unrecoverableViolation")("could not find comment create payload","ufi2");var d=b.getLinkedRecord("feedback_comment_edge");if(d==null)throw c("unrecoverableViolation")("could not find comment edge","ufi2");b=d.getLinkedRecord("node");if(b==null)throw c("unrecoverableViolation")("could not find comment node","ufi2");b.setValue(!0,"is_locally_composed");b.setValue(g,"client_id");b.setValue(y===!0,"used_writing_help_to_compose");c("displayCommentsConnectionCountUpdater").increment({feedbackId:r.feedback_id,store:a,topLevelFeedbackId:u});b=a.get(r.feedback_id);if(b!=null){z!=="LIVE_STREAMING"&&c("forEachUFI2DisplayCommentsConnection")(a,b,function(a){c("RelayRuntime").ConnectionHandler.insertEdgeBefore(a,d)});if(w){a=u==null||u===b.getDataID()?null:a.get(u);w(b,d,a)}}}}));return{dispose:function(){D&&D.remove(),D=null,E&&E.dispose(),E=null,delete k[A]}}}function m(a,b,e){var f=a.living_room_content_item_id;e=c("cometUFIOptimisticCommentResponse")({createdTime:Math.round(d("ServerTime").getMillis()/1e3),entitiesByID:e,id:b,optimisticAction:"ADD",shouldDisableReactionsOnOptimisticComment:a.is_inline_vote_enabled_for_qna,textWithEntities:a.message,timestampInVideo:a.vod_video_timestamp});return{comment_create:{detection_analytics_enabled:null,feedback:{are_live_video_comments_disabled:null,associated_group:null,comments_disabled_notice_renderer:null,display_comments_count:null,have_comments_been_disabled:null,id:null,is_viewer_muted:null},feedback_comment_edge:{cursor:null,node:babelHelpers["extends"]({},e,{author_contextual_profile_info:null,community_comment_signal_renderer:null,feedback:babelHelpers["extends"]({},e.feedback,{ask_me_anything_feedback_metadata:null,can_viewer_pin_live_comments:!1,comment_count:null,display_comments:null,if_viewer_can_quick_hide_comment:null,is_admin_hide_eligible:null,is_vc_acting_as_page_or_profile_plus:null,latest_pinned_comment_event:null,subscription_target_id:null,threading_config:null,toplevel_comment_count:null,work_answer_event_action_links_comment_renderer:null}),fishbowl_comment_ordering_mode:null,if_declined_by_group_admin_assistant:null,if_viewer_can_see_member_page_tooltip:null,living_room_content_item:f!=null?{id:f}:null,stages_comment_info:null,swipable_media:[],threading_depth:null})}}}}function a(a){var b=k[a];if(!b){c("FBLogger")("ufi2").addMetadata("UFI","COMMENT_ID",a).warn("No comment create mutation retry handler found.");return null}return b}g.commit=l;g.getRetryFn=a}),98); __d("CometUFICommentErrorFooter.react",["errorCode","fbt","CometLink.react","CometRelay","CometUFICommentErrorFooterEditButton.react","CometUFICommentErrorFooter_comment.graphql","CometUFICreateCommentMutation","FBLogger","UFI2CommentActionLinks.react","gkx","ifRequired","react","recoverableViolation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=d("react");function l(a){return a===1446013||a===1446011&&c("gkx")("3137")?!1:!0}function a(a){var e=a.comment;a=a.onEdit;e=d("CometRelay").useFragment(j!==void 0?j:j=b("CometUFICommentErrorFooter_comment.graphql"),e);var f=e.id;if(f==null){c("recoverableViolation")("CometUFICommentErrorFooter tried to render without a comment ID","ufi2");return null}var g=i._(/*FBT_CALL*/"N\u00e3o foi poss\u00edvel publicar o coment\u00e1rio."/*FBT_CALL*/),h=null;switch(e.optimistic_action){case"ADD":h=d("CometUFICreateCommentMutation").getRetryFn(f);break;case"EDIT":g=i._(/*FBT_CALL*/"N\u00e3o foi poss\u00edvel editar o coment\u00e1rio."/*FBT_CALL*/);c("ifRequired")("CometUFIEditCommentMutation",function(a){h=a.getRetryFn(f)},function(){c("FBLogger")("ufi2").addMetadata("UFI","COMMENT_ID",f||"UNKNOWN").mustfix("Edit mutation not present on edit error")});break;case"DELETE":g=i._(/*FBT_CALL*/"N\u00e3o foi poss\u00edvel excluir o coment\u00e1rio."/*FBT_CALL*/);break;default:g=i._(/*FBT_CALL*/"Ocorreu um erro."/*FBT_CALL*/),c("FBLogger")("ufi2").addMetadata("UFI","COMMENT_ID",f||"UNKNOWN").warn("CometUFICommentErrorFooter no specified behavior for action `%s`.",e.optimistic_action)}h||c("FBLogger")("ufi2").addMetadata("UFI","COMMENT_ID",f||"UNKNOWN").warn("No mutation retry handler for action `%s`.",e.optimistic_action);var m=h!=null,n=e.optimistic_action==="ADD"&&m&&c("gkx")("3137");return k.jsxs("div",{className:"btwxx1t3 j83agx80 m9osqain","data-testid":void 0,children:[k.jsx(d("UFI2CommentActionLinks.react").UFI2CommentActionLinkItem,{children:m&&l(e.optimistic_error_code)?i._(/*FBT_CALL*/"{errorMessage} {retryLink}"/*FBT_CALL*/,[i._param("errorMessage",g),i._param("retryLink",k.jsx(c("CometLink.react"),{color:"highlight",onClick:function(){h==null?void 0:h()},children:i._(/*FBT_CALL*/"Tentar novamente"/*FBT_CALL*/)}))]):g}),n&&k.jsx(c("CometUFICommentErrorFooterEditButton.react"),{onEdit:a,optimisticErrorCode:e.optimistic_error_code})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFICommentInlineFollowCTA.react",["fbt","CometFeedUnitQueryVariablesContext","CometMiddot.react","CometPressable.react","CometRelay","CometUFICommentInlineFollowCTA_comment.graphql","CometUserFollowMutation","CometUserUnfollowMutation","TetraText.react","react","requireDeferred","useNullthrowsViolation","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");e=d("react");var k=e.useCallback,l=e.useContext,m=e.useState,n=c("requireDeferred")("InlineFollowCtaEventFalcoEvent").__setRef("CometUFICommentInlineFollowCTA.react"),o="following_clicked",p="unfollowing_clicked",q="follow_cta_impression";function a(a){var e;a=a.comment$key;var f=d("CometRelay").useFragment(i!==void 0?i:i=b("CometUFICommentInlineFollowCTA_comment.graphql"),a),g=(f==null?void 0:(a=f.author)==null?void 0:a.subscribe_status)==="IS_SUBSCRIBED",r=c("useNullthrowsViolation")(f==null?void 0:(a=f.author)==null?void 0:a.id),s=d("CometRelay").useRelayEnvironment();a=m(!1);var t=a[0],u=a[1],v=(a=(a=l(c("CometFeedUnitQueryVariablesContext")))==null?void 0:a.feedLocation)!=null?a:"",w=k(function(a){n.onReady(function(b){b.log(function(){var b;return{comment_author_id:r,comment_id:(b=f.id)!=null?b:"",comment_surface:v,event:a}})})},[r,f.id,v]);a=k(function(){var a={actionRenderLocation:"WWW_COMET_HOVERCARD",onError:function(){u(!1)},onSuccess:function(){u(!1)},subscribeLocation:v==="NEWSFEED"?"INLINE_COMMENT_HEADER":"COMMENT_HEADER",userID:r};u(!0);g?(d("CometUserUnfollowMutation").commit(s,a),w(p)):(d("CometUserFollowMutation").commit(s,a),w(o))},[g,s,u,r,w,v]);var x=k(function(){w(q)},[w]);x=c("useVisibilityObserver")({onVisible:x});if((f==null?void 0:(e=f.author)==null?void 0:e.subscribe_status)!=="CAN_SUBSCRIBE"&&(f==null?void 0:(e=f.author)==null?void 0:e.subscribe_status)!=="IS_SUBSCRIBED")return null;e=g?j.jsx(c("TetraText.react"),{color:"secondary",type:"bodyLink4",children:h._(/*FBT_CALL*/"Seguindo"/*FBT_CALL*/)}):j.jsx(c("TetraText.react"),{color:"highlight",type:"bodyLink4",children:h._(/*FBT_CALL*/"Seguir"/*FBT_CALL*/)});return j.jsxs("span",{ref:x,children:[j.jsx(c("CometMiddot.react"),{className:"m9osqain"}),j.jsx(c("CometPressable.react"),{disabled:t,onPress:a,children:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFITypingSubscription",["CometRelay","CometUFITypingSubscription.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFITypingSubscription.graphql");function a(a,b,c){return d("CometRelay").requestSubscription(a,{onNext:c&&c.onNext,subscription:i,variables:{input:{feedback_id:b}}})}g.subscribe=a}),98); __d("CometUFIViewOptionsSelectorMenu.react",["CometMenu.react","CometMenuItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.onChange;a=a.viewOptions;a=a.filter(Boolean);return h.jsx(c("CometMenu.react"),{withArrow:!0,children:a.map(function(a){return h.jsx(c("CometMenuItem.react"),{onClick:function(){a.value!=null&&b(a.value)},primaryText:a.title||"",secondaryText:a.description},a.value)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFICreatorInfo.react",["fbt","ix","CometTooltip.react","CometUFIProfileLink.react","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b,e=g();switch(a.labelType){case"commented":b=h._(/*FBT_CALL*/"Comentado por {creator}"/*FBT_CALL*/,[h._param("creator",e)]);break;case"edited_comment":b=h._(/*FBT_CALL*/"Editado por {creator}"/*FBT_CALL*/,[h._param("creator",e)]);break;case"sent_message":b=h._(/*FBT_CALL*/"Enviada por {creator}"/*FBT_CALL*/,[h._param("creator",e)]);break;case"page_admin_note":b=h._(/*FBT_CALL*/"Nota criada por {creator}"/*FBT_CALL*/,[h._param("creator",e)]);break;default:return j.jsx("span",{})}e=j.jsxs(j.Fragment,{children:[b,j.jsx("span",{className:"ormqv51v l9j0dhe7 kkf49tns",children:j.jsx(c("CometTooltip.react"),{tooltip:p(),children:j.jsx(c("TetraIcon.react"),{color:"tertiary",icon:d("fbicon")._(i("479175"),12)})})})]});function g(){switch(a.creatorType){case"application":case"gray_account":case"indirect_admin":return j.jsx(c("CometTooltip.react"),{tooltip:k(),children:j.jsx("b",{children:a.creatorName})});case"business_admin":return j.jsx(c("CometUFIProfileLink.react"),{kind:"link",uid:a.creatorID,children:a.creatorName});case"direct_admin":return l();case"former_admin":return j.jsxs(j.Fragment,{children:[j.jsx("span",{className:"ormqv51v l9j0dhe7 cgat1ltu",children:j.jsx(c("TetraIcon.react"),{color:"tertiary",icon:d("fbicon")._(i("648667"),12)})}),l()]});default:return j.jsx("span",{children:a.creatorName})}}g.displayName=g.name+" [from "+f.id+"]";function k(){switch(a.creatorType){case"application":return m();case"gray_account":return o();case"indirect_admin":return n()}return null}function l(){return a.profileURI==null||a.profileURI===""?j.jsx("span",{children:a.creatorName}):j.jsx(c("CometUFIProfileLink.react"),{href:a.profileURI,kind:"link",uid:a.creatorID,children:a.creatorName})}l.displayName=l.name+" [from "+f.id+"]";function m(){switch(a.labelType){case"commented":return h._(/*FBT_CALL*/"Isto foi comentado por algu\u00e9m usando {application}."/*FBT_CALL*/,[h._param("application",a.creatorName)]);case"edited_comment":return h._(/*FBT_CALL*/"Isto foi editado por algu\u00e9m usando o {application}."/*FBT_CALL*/,[h._param("application",a.creatorName)]);case"sent_message":return h._(/*FBT_CALL*/"Isso foi enviado por algu\u00e9m usando o aplicativo {application}."/*FBT_CALL*/,[h._param("application",a.creatorName)]);case"page_admin_note":return h._(/*FBT_CALL*/"Esta nota foi criada por algu\u00e9m que usa {application}."/*FBT_CALL*/,[h._param("application",a.creatorName)])}return null}function n(){switch(a.labelType){case"commented":return h._(/*FBT_CALL*/"Isto foi comentado por algu\u00e9m da p\u00e1gina {page}."/*FBT_CALL*/,[h._param("page",a.creatorName)]);case"edited_comment":return h._(/*FBT_CALL*/"Isto foi editado por algu\u00e9m de {page}."/*FBT_CALL*/,[h._param("page",a.creatorName)]);case"sent_message":return h._(/*FBT_CALL*/"Isso foi enviado por algu\u00e9m da p\u00e1gina {page}."/*FBT_CALL*/,[h._param("page",a.creatorName)]);case"page_admin_note":return h._(/*FBT_CALL*/"Esta nota foi criada por algu\u00e9m de {page}."/*FBT_CALL*/,[h._param("page",a.creatorName)])}return null}function o(){switch(a.labelType){case"commented":return h._(/*FBT_CALL*/"Isto foi comentado por algu\u00e9m que n\u00e3o tem uma conta pessoal do Facebook."/*FBT_CALL*/);case"edited_comment":return h._(/*FBT_CALL*/"Isto foi editado por algu\u00e9m que n\u00e3o tem uma conta pessoal no Facebook."/*FBT_CALL*/);case"sent_message":return h._(/*FBT_CALL*/"Isso foi enviado por algu\u00e9m que n\u00e3o possui uma conta pessoal do Facebook."/*FBT_CALL*/);case"page_admin_note":return h._(/*FBT_CALL*/"Esta nota foi criada por algu\u00e9m que n\u00e3o tem uma conta pessoal no Facebook."/*FBT_CALL*/)}return null}function p(){switch(a.labelType){case"commented":return h._(/*FBT_CALL*/"Somente pessoas que gerenciam esta P\u00e1gina podem ver quem publicou um coment\u00e1rio."/*FBT_CALL*/);case"edited_comment":return h._(/*FBT_CALL*/"Somente pessoas que gerenciam esta P\u00e1gina podem ver quem editou um coment\u00e1rio"/*FBT_CALL*/);case"sent_message":return h._(/*FBT_CALL*/"Somente pessoas que gerenciam esta P\u00e1gina podem ver quem enviou uma mensagem."/*FBT_CALL*/);case"page_admin_note":return h._(/*FBT_CALL*/"Somente as pessoas que gerenciam esta P\u00e1gina podem ver quem criou uma nota"/*FBT_CALL*/)}return null}return e}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometUFIUnpinCommentMutation",["CometRelay","CometUFIUnpinCommentMutation.graphql","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFIUnpinCommentMutation.graphql");function j(a,b){a=a.get(b);if(a==null)return;a.setValue(null,"latest_pinned_comment_event")}function a(a,c){return new(b("Promise"))(function(b,e){var f;d("CometRelay").commitMutation(a,{mutation:i,onCompleted:function(a,c){if(c!=null){e(c);return}b(a)},onError:e,optimisticUpdater:function(a){return j(a,c.feedbackID)},updater:function(a){return j(a,c.feedbackID)},variables:{input:{video_id:c.videoID,video_time_offset:(f=c==null?void 0:c.video_time_offset)!=null?f:0}}})})}g.commit=a}),98); __d("CometUFICreateCommentSubscription",["CometRelay","CometUFICreateCommentSubscription.graphql","FBLogger","WebPixelRatio","forEachUFI2DisplayCommentsConnection","nodeIsInConnection","qex","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFICreateCommentSubscription.graphql");function a(a){var b=a.commentsKey,e=a.environment,f=a.feedbackSource,g=a.feedLocation,h=a.focusCommentID,j=a.isComet,k=a.onCompleted,l=a.onNext,m=a.replyCommentOrdering,n=a.topLevelFeedbackTargetID;a=a.useDefaultActor;function o(a){c("FBLogger")("ufi2").addMetadata("UFI","FEEDBACK_TARGET_ID",n||"UNKNOWN").warn(a)}return d("CometRelay").requestSubscription(e,{onCompleted:k,onNext:l,subscription:i,updater:function(a){var b=a.getRootField("comment_create_subscribe");if(b==null){o("could not find comment create subscription payload");return}var e=b.getLinkedRecord("feedback");if(e==null){o("could not find feedback target in payload");return}var f=e.getDataID();if(f==null){o("could not get feedback target id");return}f=a.get(f);if(f==null){o("could not find feedback record");return}var g=b.getLinkedRecord("feedback_comment_edge");if(g==null){o("could not find comment edge");return}var h=g.getLinkedRecord("node");if(h==null){o("could not find comment node");return}var i=[f];b=h.getValue("depth");if((m==="SUB_REPLIES"||m==="RANKED_SUB_REPLIES"||m==="CHRONO_SUB_REPLIES")&&c("qex")._("209")===!0){if(typeof b==="number"&&b>1){f=h.getLinkedRecord("reply_parent_comment");b=f!=null?f.getLinkedRecord("feedback"):null;if(b!=null){i.unshift(b);f=b.getLinkedRecord('display_comments(comment_order:"SUB_REPLIES",top_level_comment_order:"TOPLEVEL")');if(f!=null){b=f.getValue("count");f.setValue(typeof b==="number"?b+1:1,"count")}}}f=h.getLinkedRecord("feedback");m!=null&&f!=null&&c("forEachUFI2DisplayCommentsConnection")(a,f,function(a){a.setValue(m,"comment_order"),a.setValue(m,"reply_comment_order")})}i.forEach(function(b,f){c("forEachUFI2DisplayCommentsConnection")(a,b,function(b){if(c("nodeIsInConnection")(b,h,o))return;var j=b.getValue("before_count")||0;if(typeof j!=="number"){o("expected `before_count` to be a number");return}j=d("relay-runtime").ConnectionHandler.createEdge(a,b,h,g.getType());if(j==null){o("could not build comment edge");return}d("relay-runtime").ConnectionHandler.insertEdgeBefore(b,j);j=b.getValue("count")||0;if(typeof j!=="number"){o("expected `count` to be a number");return}if(i.length>1&&f===0)b.setValue(j+1,"count");else{j=e.getLinkedRecord("display_comments");if(j==null){o("could not get display_comments from payload");return}j=j.getValue("count");if(typeof j!=="number"){o("could not get display_comments count from payload");return}b.setValue(j,"count")}})})},variables:{UFI2CommentsProvider_commentsKey:b,feedLocation:g,feedbackSource:f,focusCommentID:h,input:{top_level_feedback_id:n},isComet:j,scale:d("WebPixelRatio").get(),useDefaultActor:a}})}g.subscribe=a}),98); __d("CometUFIPegasusCreateCommentSubscription",["CometRelay","CometUFIPegasusCreateCommentSubscription.graphql","FBLogger","WebPixelRatio","forEachUFI2DisplayCommentsConnection","nodeIsInConnection","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFIPegasusCreateCommentSubscription.graphql");function a(a){var b=a.commentsKey,e=a.environment,f=a.feedbackSource,g=a.feedLocation,h=a.focusCommentID,j=a.isComet,k=a.onCompleted,l=a.onNext,m=a.topLevelFeedbackTargetID;a=a.useDefaultActor;function n(a){c("FBLogger")("ufi2").addMetadata("UFI","FEEDBACK_TARGET_ID",m||"UNKNOWN").warn(a)}return d("CometRelay").requestSubscription(e,{onCompleted:k,onNext:l,subscription:i,updater:function(a){var b=a.getRootField("pegasus_comment_create_subscribe");if(b==null){n("could not find comment create subscription payload");return}var e=b.getLinkedRecord("feedback");if(e==null){n("could not find feedback target in payload");return}var f=e.getDataID();if(f==null){n("could not get feedback target id");return}f=a.get(f);if(f==null){n("could not find feedback record");return}c("forEachUFI2DisplayCommentsConnection")(a,f,function(f){var g=b.getLinkedRecord("feedback_comment_edge");if(g==null){n("could not find comment edge");return}var h=g.getLinkedRecord("node");if(h==null){n("could not find comment node");return}if(c("nodeIsInConnection")(f,h,n))return;var i=f.getValue("before_count")||0;if(typeof i!=="number"){n("expected `before_count` to be a number");return}i=d("relay-runtime").ConnectionHandler.createEdge(a,f,h,g.getType());if(i==null){n("could not build comment edge");return}d("relay-runtime").ConnectionHandler.insertEdgeBefore(f,i);h=e.getLinkedRecord("display_comments");if(h==null){n("could not get display_comments from payload");return}g=h.getValue("count");if(g==null){n("could not get display_comments count from payload");return}f.setValue(g,"count")})},variables:{UFI2CommentsProvider_commentsKey:b,feedLocation:g,feedbackSource:f,focusCommentID:h,input:{top_level_feedback_id:m},isComet:j,scale:d("WebPixelRatio").get(),useDefaultActor:a}})}g.subscribe=a}),98); __d("InlineFollowCtaEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1985969");c=b("FalcoLoggerInternal").create("inline_follow_cta_event",a);e.exports=c}),null); __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.getMentionDecorType()==="weak"?"weak":"regular";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){return a.getLabel()}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("PhotosMimeType",[],(function(a,b,c,d,e,f){function g(a){return h(a)[0]==="image"}function a(a){var b=h(a);return g(a)&&(b[1]==="jpeg"||b[1]==="pjpeg")}function h(a){return a.split("/")}f.isImage=g;f.isJpeg=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(hf){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("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("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("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("adjustBlockDepthForContentState",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){var e=b.getStartKey(),f=b.getEndKey(),g=a.getBlockMap(),h=g.toSeq().skipUntil(function(a,b){return b===e}).takeUntil(function(a,b){return b===f}).concat([[f,g.get(f)]]).map(function(a){var b=a.getDepth()+c;b=Math.max(0,b);d!=null&&(b=Math.min(b,d));return a.set("depth",b)});g=g.merge(h);return a.merge({blockMap:g,selectionBefore:b,selectionAfter:b})}e.exports=a}),null); __d("RichTextEditorUtil",["DraftModifier","EditorState","adjustBlockDepthForContentState","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g={currentBlockContainsLink:function(a){var b=a.getSelection(),c=a.getCurrentContent();return c.getBlockForKey(b.getAnchorKey()).getCharacterList().slice(b.getStartOffset(),b.getEndOffset()).some(function(a){a=a.getEntity();return!!a&&c.getEntity(a).getType()==="LINK"})},getCurrentBlockType:function(a){var b=a.getSelection();return a.getCurrentContent().getBlockForKey(b.getStartKey()).getType()},getDataObjectForLinkURL:function(a){return{url:a.toString()}},handleKeyCommand:function(a,b,c){switch(b){case"bold":return g.toggleInlineStyle(a,"BOLD");case"italic":return g.toggleInlineStyle(a,"ITALIC");case"underline":return g.toggleInlineStyle(a,"UNDERLINE");case"strikethrough":return g.toggleInlineStyle(a,"STRIKETHROUGH");case"code":return g.toggleCode(a);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return g.onBackspace(a);case"delete":case"delete-word":case"delete-to-end-of-block":return g.onDelete(a);default:return null}},insertSoftNewline:function(a){var c=b("DraftModifier").insertText(a.getCurrentContent(),a.getSelection(),"\n",a.getCurrentInlineStyle(),null);a=b("EditorState").push(a,c,"insert-characters");return b("EditorState").forceSelection(a,c.getSelectionAfter())},onBackspace:function(a){var c=a.getSelection();if(!c.isCollapsed()||c.getAnchorOffset()||c.getFocusOffset())return null;var d=a.getCurrentContent(),e=c.getStartKey();e=d.getBlockBefore(e);if(e&&e.getType()==="atomic"){e=d.getBlockMap()["delete"](e.getKey());e=d.merge({blockMap:e,selectionAfter:c});if(e!==d)return b("EditorState").push(a,e,"remove-range")}c=g.tryToRemoveBlockStyle(a);return c?b("EditorState").push(a,c,"change-block-type"):null},onDelete:function(a){var c=a.getSelection();if(!c.isCollapsed())return null;var d=a.getCurrentContent(),e=c.getStartKey(),f=d.getBlockForKey(e);f=f.getLength();if(c.getStartOffset()c)return c;while(be?b=d:c=d;d=(c-b)/2+b}return d};return a}();f["default"]=a}),66); __d("BinarySearch",["unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";e={GREATEST_LOWER_BOUND:"GREATEST_LOWER_BOUND",GREATEST_STRICT_LOWER_BOUND:"GREATEST_STRICT_LOWER_BOUND",LEAST_STRICT_UPPER_BOUND:"LEAST_STRICT_UPPER_BOUND",LEAST_UPPER_BOUND:"LEAST_UPPER_BOUND",NEAREST:"NEAREST"};var h=function(a,b){if(typeof a!=="number"||typeof b!=="number")throw c("unrecoverableViolation")("The default comparator can only be used with sequences of numbers.","comet_infra");return a-b},i=e.GREATEST_LOWER_BOUND,j=e.GREATEST_STRICT_LOWER_BOUND,k=e.LEAST_STRICT_UPPER_BOUND,l=e.LEAST_UPPER_BOUND,m=e.NEAREST;function n(a,b,c,d,e){e===void 0&&(e=h);var f=l;f=p(a,b,c,d,e,f);if(c<=f&&f=0?d=f:c=f}return c=0?c:d}function r(a,b,c,d,e){return s(a,b,c,d,e)-1}function s(a,b,c,d,e){c=c;d=d;while(c+10?d=f:c=f}return c0?c:d}function t(a,b,c,d,e){return q(a,b,c,d,e)-1}function u(a,b,c,d,e){var f=r(a,b,c,d,e),g=Math.abs(e(a(f),b));e=Math.abs(e(a(f+1),b));return g0){a[l]=[];for(var c=0;c=l}return!1}function z(a,b){a=r();if(!a)return;var d=Math.floor(Date.now()/1e3);b={startCount:0,endCount:0,cancelCount:0,prevCount:b,lastFlushTimestamp:d};c("WebStorage").setItemGuarded(a,k,JSON.stringify(b))}function A(a,b){var d=r();if(!d||!a||Object.keys(a).length==0)return;var e={};for(var f in a){a=b[f];a={startCount:0,endCount:0,cancelCount:0,prevCount:a?a:0};e[f]=a}c("WebStorage").setItemGuarded(d,o,JSON.stringify(e))}function B(a,b,c,e){var f=a.prevCount,g=a.startCount,h=a.endCount;a=a.cancelCount;var i=f+g-h-a-b;g={start:g,end:h,cancel:a,prev:f,ongoing:b,loss:i};h={overall:g};if(c){a={};for(var j in c){f=c[j];b=f.prevCount;i=f.startCount;g=f.endCount;f=f.cancelCount;var k=e[j]?e[j]:0,l=b+i-g-f-k;i={start:i,end:g,cancel:f,prev:b,ongoing:k,loss:l};a[j]=i}h.funnel_level_data_loss=a}d("MarauderLogger").log(m,null,h)}function C(){if(!y())return;var a=s();if(!a)return;z(a,p);var b=u();b&&A(b,q);B(a,p,b,q)}function D(){var a=r();if(!a)return null;var b=a.getItem(j);b=b?JSON.parse(b):{};var d=b.counter,e=b.session;d?(d=parseInt(d,10)+1,e=parseInt(b.session,10)):(d=1,e=Math.floor(Math.random()*65536));c("WebStorage").setItemGuarded(a,j,JSON.stringify({counter:d,session:e}));return[e,d]}function E(a){if(!c("FunnelReliabilityWhitelist").includes(a))return null;var b=r();if(!b)return null;var d=b.getItem(n),e=void 0,f={};d&&(f=JSON.parse(d),e=f[a]);var g=e?e.counter:void 0;e=e?e.session:void 0;g?(g=parseInt(g,10)+1,e=parseInt(e,10)):(g=1,e=Math.floor(Math.random()*65536));var h={};d?(f[a]={counter:g,session:e},h=f):h[a]={counter:g,session:e};c("WebStorage").setItemGuarded(b,n,JSON.stringify(h));return[e,g]}g.passFunnelLevelStatsRolloutGK=a;g.onFunnelStart=b;g.onFunnelCancel=e;g.onFunnelEnd=f;g.maybeFlushFunnelLevelStats=C;g.increaseAndGetLibLevelStats=D;g.maybeIncreaseAndGetLibLevelStatsForCurFunnel=E}),98); __d("FunnelLogger",["Banzai","Funnel","FunnelLoggerSampler","FunnelRegistry","FunnelReliabilityStatsCollector","MarauderLogger","clearTimeout","gkx","setTimeout","unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g={},h=!1,i=!0;function a(a,b){B(a,b)}function c(a,b,c){B(a,c,b)}function d(a,b){a=D(a,b);return!E(a)?null:g[a]}function f(a,b){}function j(a,b,c){c===void 0?F(a,void 0,b):c&&F(a,b,c)}function k(a,c){c=D(a,c);E(c)&&(g[c].devModeLogger("Cancelled funnel"),H(c),g[c]=void 0,b("FunnelReliabilityStatsCollector").passFunnelLevelStatsRolloutGK()&&(b("FunnelReliabilityStatsCollector").onFunnelCancel(a),b("FunnelReliabilityStatsCollector").maybeFlushFunnelLevelStats()))}function l(a,b){C(a,b)}function m(a,b,c){C(a,c,b)}function n(a,b,c){c===void 0?I(a,void 0,String(b)):I(a,Number(b),c)}function o(a,b,c){c===void 0?J(a,void 0,Boolean(b)):J(a,Number(b),c)}function p(a,b,c){c===void 0?K(a,void 0,String(b),void 0):K(a,Number(b),c,void 0)}function q(a,b,c){c===void 0?L(a,void 0,String(b),void 0):L(a,Number(b),c,void 0)}function r(a,b,c,d){d===void 0?K(a,void 0,String(c),void 0,void 0,b):K(a,Number(c),d,void 0,void 0,b)}function s(a,b,c,d){d===void 0?K(a,void 0,String(b),c):K(a,Number(b),c,d)}function t(a,b,c,d,e){e===void 0?K(a,void 0,String(c),d,void 0,b):K(a,Number(c),d,e,void 0,b)}function u(a,b,c,d){d===void 0?L(a,void 0,String(b),c):L(a,Number(b),c,d)}function v(a,b,c,d){d===void 0?K(a,void 0,String(b),void 0,c):K(a,Number(b),String(c),void 0,d)}function w(a,b,c,d,e){e===void 0?K(a,void 0,String(c),void 0,d,b):K(a,Number(c),String(d),void 0,e,b)}function x(a,b,c,d){d===void 0?L(a,void 0,String(b),void 0,c):L(a,Number(b),String(c),void 0,d)}function y(a,b,c,d,e){e===void 0?K(a,void 0,String(b),c,d):K(a,Number(b),String(c),String(d),e)}function z(a,b,c,d,e,f){f===void 0?K(a,void 0,String(c),d,e,b):K(a,Number(c),String(d),String(e),f,b)}function A(a,b,c,d,e){e===void 0?L(a,void 0,String(b),c,d):L(a,Number(b),String(c),String(d),e)}function B(a,c,d){var e=D(a,c);R();M(e);b("FunnelLoggerSampler").shouldLog(a)&&(g[e]=new(b("Funnel").Funnel)(a,c,b("FunnelLoggerSampler").getSamplingRate(a),!1,d!=null?d:Date.now()),G(e),b("FunnelReliabilityStatsCollector").passFunnelLevelStatsRolloutGK()&&(b("FunnelReliabilityStatsCollector").onFunnelStart(a),b("FunnelReliabilityStatsCollector").maybeFlushFunnelLevelStats()))}function C(a,c,d){a=D(a,c);E(a)&&(g[a].appendAction(b("Funnel").ActionType.ACTION_END,b("Funnel").EndType.EXPLICIT,void 0,d),N(a))}function D(a,c){if(b("FunnelRegistry")[a]!==!0)throw b("unrecoverableViolation")("Funnel name not registered.","comet_infra");if(c===void 0||c===null)return a;else return a+c.toString()}function E(a){return g[a]!==void 0}function F(a,b,c){a=D(a,b);E(a)&&(g[a].timeout_sec=c,g[a].devModeLogger("Timeout set to %s sec",c),G(a))}function G(a){H(a),g[a].timeout_handle=b("setTimeout")(function(){g[a].appendAction(b("Funnel").ActionType.ACTION_END,b("Funnel").EndType.TIMEOUT),N(a)},1e3*g[a].timeout_sec)}function H(a){g[a].timeout_handle&&b("clearTimeout")(g[a].timeout_handle)}function I(a,b,c){a=D(a,b);E(a)&&(g[a].addTag(c),G(a))}function J(a,b,c){a=D(a,b);E(a)&&(g[a].shouldTrackFocus=c,g[a].devModeLogger("Focus tracking %s",c?"on":"off"))}function K(a,b,c,d,e,f){a=D(a,b);E(a)&&(g[a].appendAction(c,d,e,f),G(a))}function L(a,b,c,d,e){a=D(a,b);E(a)&&g[a].appendActionIfNew(c,d,e)}function M(a){E(a)&&(g[a].appendAction(b("Funnel").ActionType.ACTION_END,b("Funnel").EndType.RESTART),N(a))}function N(a){if(E(a)){if(b("gkx")("676888")){var c=b("FunnelReliabilityStatsCollector").increaseAndGetLibLevelStats();if(c){var d=c[0];c=c[1];g[a].addReliabilityStats(d,c)}}d=g[a].getFunnelName();c=g[a].getLogData();b("MarauderLogger").log("funnel_analytics",null,c);g[a].devModeLogger("Logged: %s",JSON.stringify(c));H(a);g[a]=void 0;b("FunnelReliabilityStatsCollector").passFunnelLevelStatsRolloutGK()&&(b("FunnelReliabilityStatsCollector").onFunnelEnd(d),b("FunnelReliabilityStatsCollector").maybeFlushFunnelLevelStats())}}function O(){for(var a in g)Object.prototype.hasOwnProperty.call(g,a)&&E(a)&&(g[a].appendAction(b("Funnel").ActionType.ACTION_END,b("Funnel").EndType.SESSION_END),N(a))}function P(){if(i){i=!1;for(var a in g)Object.prototype.hasOwnProperty.call(g,a)&&E(a)&&g[a].shouldTrackFocus&&(g[a].appendAction(b("Funnel").ActionType.ACTION_WINDOW_BLUR),H(a))}}function Q(){if(!i){i=!0;for(var a in g)Object.prototype.hasOwnProperty.call(g,a)&&E(a)&&g[a].shouldTrackFocus&&(g[a].appendAction(b("Funnel").ActionType.ACTION_WINDOW_FOCUS),H(a))}}function R(){h||(h=!0,window.addEventListener&&(b("Banzai").subscribe(b("Banzai").SHUTDOWN,O),window.addEventListener("blur",P),window.addEventListener("focus",Q)))}e.exports={addFunnelTag:n,appendAction:p,appendActionAtTime:r,appendActionAtTimeWithPayload:w,appendActionAtTimeWithTag:t,appendActionAtTimeWithTagAndPayload:z,appendActionIfNew:q,appendActionWithPayload:v,appendActionWithPayloadIfNew:x,appendActionWithTag:s,appendActionWithTagAndPayload:y,appendActionWithTagAndPayloadIfNew:A,appendActionWithTagIfNew:u,cancelFunnel:k,endFunnel:l,endFunnelAtTime:m,getFunnelInstance:d,setFunnelTimeout:j,setFunnelTrackFocus:o,startFunnel:a,startFunnel_DEV_MODE:f,startFunnelAtTime:c}}),null); __d("KeyframesPerformanceLog",["performanceNow"],(function(a,b,c,d,e,f,g){"use strict";var h=60;a=function(){function a(a,b){this.$1=0,this.$2=-1,this.$3=-1,this.$6=a,this.$5=b,this.$6=a,this.reset()}var b=a.prototype;b.onNextFrame=function(a){this.$7=a};b.start=function(){if(this.$2<0||this.$3>=0){var a=c("performanceNow")();this.$2<0?this.$2=a:this.$3>=0&&(this.$2+=a-this.$3,this.$3=-1);this.$5&&this.$5("start")}};b.pause=function(){this.$3<0&&this.$2>=0&&(this.$3=c("performanceNow")(),this.$5&&this.$5("pause"))};b.reset=function(){this.$1=0,this.$4={one:0,two:0,four:0,eight:0},this.$3=-1,this.$2=-1};b.addFrame=function(){this.$1+=1,this.$7&&(this.$7(),this.$7=null)};b.addFrameDrop=function(a){a>=8?this.$4.eight+=1:a>=4?this.$4.four+=1:a>=2?this.$4.two+=1:a>=1&&(this.$4.one+=1)};b.finish=function(){if(this.$2>=0){var a=c("performanceNow")(),b=this.$3>=0?a-this.$3:0;a=Math.max(Math.floor(a-this.$2-b),1);b=this.$1?this.$1/a*1e3:h;this.$6({animation_duration:a,display_refresh_rate:h,eight_frame_drop_count:this.$4.eight,four_frame_drop_count:this.$4.four,frame_rate:b,one_frame_drop_count:this.$4.one,two_frame_drop_count:this.$4.two});this.reset()}};return a}();g["default"]=a}),98); __d("KeyframesPluginsLoader",["Bootloader","Promise","flatbuffers"],(function(a,b,c,d,e,f,g){"use strict";var h={DynamicProperties:function(a){return c("Bootloader").loadModules(["KeyframesPluginDynamicProperties","KeyframesPluginDynamicPropertiesSchema"],a,"KeyframesPluginsLoader")},LayerName:function(a){return c("Bootloader").loadModules(["KeyframesPluginLayerName","KeyframesPluginLayerNameSchema"],a,"KeyframesPluginsLoader")},LayerTags:function(a){return c("Bootloader").loadModules(["KeyframesPluginLayerTags","KeyframesPluginLayerTagsSchema"],a,"KeyframesPluginsLoader")},RandomSubdocument:function(a){return c("Bootloader").loadModules(["KeyframesPluginRandomSubdocument","KeyframesPluginRandomSubdocumentSchema"],a,"KeyframesPluginsLoader")},Sound:function(a){return c("Bootloader").loadModules(["KeyframesPluginSound","KeyframesPluginSoundSchema"],a,"KeyframesPluginsLoader")},SubdocumentSwap:function(a){return c("Bootloader").loadModules(["KeyframesPluginSubdocumentSwap","KeyframesPluginSubdocumentSwapSchema"],a,"KeyframesPluginsLoader")},TrimPath:function(a){return c("Bootloader").loadModules(["KeyframesPluginTrimPath","KeyframesPluginTrimPathSchema"],a,"KeyframesPluginsLoader")}};function i(a,b){return h[a]?h[a](b):null}function j(a){a=a.map(function(a){return new(b("Promise"))(function(b,c){var d=i(a,function(){for(var a=arguments.length,c=new Array(a),d=0;d=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ColorArray.startColorsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorArray.endColorArray=function(a){a=a.endObject();return a};g.keyframes.ColorArray.createColorArray=function(a,b){g.keyframes.ColorArray.startColorArray(a);g.keyframes.ColorArray.addColors(a,b);return g.keyframes.ColorArray.endColorArray(a)};g.keyframes.Command=function(){this.bb=null,this.bb_pos=0};g.keyframes.Command.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Command.getRootAsCommand=function(a,b){return(b||new g.keyframes.Command()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Command.prototype.type=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.CommandType.MoveTo};g.keyframes.Command.prototype.mutate_type=function(a){var b=this.bb.__offset(this.bb_pos,4);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Command.prototype.point=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Command.prototype.control1=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Command.prototype.control2=function(a){var b=this.bb.__offset(this.bb_pos,10);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Command.startCommand=function(a){a.startObject(4)};g.keyframes.Command.addType=function(a,b){a.addFieldInt8(0,b,g.keyframes.CommandType.MoveTo)};g.keyframes.Command.addPoint=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Command.addControl1=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.Command.addControl2=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.Command.endCommand=function(a){a=a.endObject();return a};g.keyframes.Command.createCommand=function(a,b,c,d,e){g.keyframes.Command.startCommand(a);g.keyframes.Command.addType(a,b);g.keyframes.Command.addPoint(a,c);g.keyframes.Command.addControl1(a,d);g.keyframes.Command.addControl2(a,e);return g.keyframes.Command.endCommand(a)};g.keyframes.Path=function(){this.bb=null,this.bb_pos=0};g.keyframes.Path.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Path.getRootAsPath=function(a,b){return(b||new g.keyframes.Path()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Path.prototype.commands=function(a,b){var c=this.bb.__offset(this.bb_pos,4);return c?(b||new g.keyframes.Command()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Path.prototype.commandsLength=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Path.startPath=function(a){a.startObject(1)};g.keyframes.Path.addCommands=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.Path.createCommandsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Path.startCommandsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Path.endPath=function(a){a=a.endObject();return a};g.keyframes.Path.createPath=function(a,b){g.keyframes.Path.startPath(a);g.keyframes.Path.addCommands(a,b);return g.keyframes.Path.endPath(a)};g.keyframes.Tween=function(){this.bb=null,this.bb_pos=0};g.keyframes.Tween.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Tween.getRootAsTween=function(a,b){return(b||new g.keyframes.Tween()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Tween.prototype.type=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.TweenType.Bezier};g.keyframes.Tween.prototype.mutate_type=function(a){var b=this.bb.__offset(this.bb_pos,4);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Tween.prototype.control1=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Tween.prototype.control2=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Tween.startTween=function(a){a.startObject(3)};g.keyframes.Tween.addType=function(a,b){a.addFieldInt8(0,b,g.keyframes.TweenType.Bezier)};g.keyframes.Tween.addControl1=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Tween.addControl2=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.Tween.endTween=function(a){a=a.endObject();return a};g.keyframes.Tween.createTween=function(a,b,c,d){g.keyframes.Tween.startTween(a);g.keyframes.Tween.addType(a,b);g.keyframes.Tween.addControl1(a,c);g.keyframes.Tween.addControl2(a,d);return g.keyframes.Tween.endTween(a)};g.keyframes.ScalarAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.ScalarAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ScalarAnimation.getRootAsScalarAnimation=function(a,b){return(b||new g.keyframes.ScalarAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ScalarAnimation.prototype.value=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.ScalarAnimation.prototype.mutate_value=function(a){var b=this.bb.__offset(this.bb_pos,4);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.ScalarAnimation.prototype.values=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ScalarAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarAnimation.prototype.valuesArray=function(){var a=this.bb.__offset(this.bb_pos,6);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ScalarAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ScalarAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ScalarAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ScalarAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarAnimation.startScalarAnimation=function(a){a.startObject(4)};g.keyframes.ScalarAnimation.addValue=function(a,b){a.addFieldFloat32(0,b,0)};g.keyframes.ScalarAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.ScalarAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ScalarAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.ScalarAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ScalarAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.ScalarAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ScalarAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarAnimation.endScalarAnimation=function(a){a=a.endObject();return a};g.keyframes.ScalarAnimation.createScalarAnimation=function(a,b,c,d,e){g.keyframes.ScalarAnimation.startScalarAnimation(a);g.keyframes.ScalarAnimation.addValue(a,b);g.keyframes.ScalarAnimation.addValues(a,c);g.keyframes.ScalarAnimation.addKeyframes(a,d);g.keyframes.ScalarAnimation.addTweens(a,e);return g.keyframes.ScalarAnimation.endScalarAnimation(a)};g.keyframes.ScalarArray=function(){this.bb=null,this.bb_pos=0};g.keyframes.ScalarArray.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ScalarArray.getRootAsScalarArray=function(a,b){return(b||new g.keyframes.ScalarArray()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ScalarArray.prototype.values=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ScalarArray.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarArray.prototype.valuesArray=function(){var a=this.bb.__offset(this.bb_pos,4);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ScalarArray.startScalarArray=function(a){a.startObject(1)};g.keyframes.ScalarArray.addValues=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.ScalarArray.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ScalarArray.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarArray.endScalarArray=function(a){a=a.endObject();return a};g.keyframes.ScalarArray.createScalarArray=function(a,b){g.keyframes.ScalarArray.startScalarArray(a);g.keyframes.ScalarArray.addValues(a,b);return g.keyframes.ScalarArray.endScalarArray(a)};g.keyframes.ScalarArrayAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.ScalarArrayAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ScalarArrayAnimation.getRootAsScalarArrayAnimation=function(a,b){return(b||new g.keyframes.ScalarArrayAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ScalarArrayAnimation.prototype.value=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.ScalarArray()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.ScalarArrayAnimation.prototype.values=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.ScalarArray()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ScalarArrayAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarArrayAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ScalarArrayAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarArrayAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ScalarArrayAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ScalarArrayAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ScalarArrayAnimation.startScalarArrayAnimation=function(a){a.startObject(4)};g.keyframes.ScalarArrayAnimation.addValue=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.ScalarArrayAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.ScalarArrayAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ScalarArrayAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarArrayAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.ScalarArrayAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ScalarArrayAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarArrayAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.ScalarArrayAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ScalarArrayAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ScalarArrayAnimation.endScalarArrayAnimation=function(a){a=a.endObject();return a};g.keyframes.ScalarArrayAnimation.createScalarArrayAnimation=function(a,b,c,d,e){g.keyframes.ScalarArrayAnimation.startScalarArrayAnimation(a);g.keyframes.ScalarArrayAnimation.addValue(a,b);g.keyframes.ScalarArrayAnimation.addValues(a,c);g.keyframes.ScalarArrayAnimation.addKeyframes(a,d);g.keyframes.ScalarArrayAnimation.addTweens(a,e);return g.keyframes.ScalarArrayAnimation.endScalarArrayAnimation(a)};g.keyframes.PointAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.PointAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.PointAnimation.getRootAsPointAnimation=function(a,b){return(b||new g.keyframes.PointAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.PointAnimation.prototype.value=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.PointAnimation.prototype.values=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.Point()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.PointAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PointAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.PointAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PointAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.PointAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.PointAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PointAnimation.startPointAnimation=function(a){a.startObject(4)};g.keyframes.PointAnimation.addValue=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.PointAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.PointAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.PointAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PointAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.PointAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.PointAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PointAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.PointAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.PointAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PointAnimation.endPointAnimation=function(a){a=a.endObject();return a};g.keyframes.PointAnimation.createPointAnimation=function(a,b,c,d,e){g.keyframes.PointAnimation.startPointAnimation(a);g.keyframes.PointAnimation.addValue(a,b);g.keyframes.PointAnimation.addValues(a,c);g.keyframes.PointAnimation.addKeyframes(a,d);g.keyframes.PointAnimation.addTweens(a,e);return g.keyframes.PointAnimation.endPointAnimation(a)};g.keyframes.ColorAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.ColorAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ColorAnimation.getRootAsColorAnimation=function(a,b){return(b||new g.keyframes.ColorAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ColorAnimation.prototype.value=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Color()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.ColorAnimation.prototype.values=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.Color()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ColorAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ColorAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ColorAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ColorAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorAnimation.startColorAnimation=function(a){a.startObject(4)};g.keyframes.ColorAnimation.addValue=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.ColorAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.ColorAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ColorAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.ColorAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ColorAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.ColorAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ColorAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorAnimation.endColorAnimation=function(a){a=a.endObject();return a};g.keyframes.ColorAnimation.createColorAnimation=function(a,b,c,d,e){g.keyframes.ColorAnimation.startColorAnimation(a);g.keyframes.ColorAnimation.addValue(a,b);g.keyframes.ColorAnimation.addValues(a,c);g.keyframes.ColorAnimation.addKeyframes(a,d);g.keyframes.ColorAnimation.addTweens(a,e);return g.keyframes.ColorAnimation.endColorAnimation(a)};g.keyframes.ColorArrayAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.ColorArrayAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ColorArrayAnimation.getRootAsColorArrayAnimation=function(a,b){return(b||new g.keyframes.ColorArrayAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ColorArrayAnimation.prototype.value=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.ColorArray()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.ColorArrayAnimation.prototype.values=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.ColorArray()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ColorArrayAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorArrayAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.ColorArrayAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorArrayAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.ColorArrayAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.ColorArrayAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.ColorArrayAnimation.startColorArrayAnimation=function(a){a.startObject(4)};g.keyframes.ColorArrayAnimation.addValue=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.ColorArrayAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.ColorArrayAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ColorArrayAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorArrayAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.ColorArrayAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.ColorArrayAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorArrayAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.ColorArrayAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.ColorArrayAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.ColorArrayAnimation.endColorArrayAnimation=function(a){a=a.endObject();return a};g.keyframes.ColorArrayAnimation.createColorArrayAnimation=function(a,b,c,d,e){g.keyframes.ColorArrayAnimation.startColorArrayAnimation(a);g.keyframes.ColorArrayAnimation.addValue(a,b);g.keyframes.ColorArrayAnimation.addValues(a,c);g.keyframes.ColorArrayAnimation.addKeyframes(a,d);g.keyframes.ColorArrayAnimation.addTweens(a,e);return g.keyframes.ColorArrayAnimation.endColorArrayAnimation(a)};g.keyframes.PathAnimation=function(){this.bb=null,this.bb_pos=0};g.keyframes.PathAnimation.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.PathAnimation.getRootAsPathAnimation=function(a,b){return(b||new g.keyframes.PathAnimation()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.PathAnimation.prototype.value=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Path()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.PathAnimation.prototype.values=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.Path()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.PathAnimation.prototype.valuesLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PathAnimation.prototype.keyframes=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readFloat32(this.bb.__vector(this.bb_pos+b)+a*4):0};g.keyframes.PathAnimation.prototype.keyframesLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PathAnimation.prototype.keyframesArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Float32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.PathAnimation.prototype.tweens=function(a,b){var c=this.bb.__offset(this.bb_pos,10);return c?(b||new g.keyframes.Tween()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.PathAnimation.prototype.tweensLength=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.PathAnimation.startPathAnimation=function(a){a.startObject(4)};g.keyframes.PathAnimation.addValue=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.PathAnimation.addValues=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.PathAnimation.createValuesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.PathAnimation.startValuesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PathAnimation.addKeyframes=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.PathAnimation.createKeyframesVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addFloat32(b[c]);return a.endVector()};g.keyframes.PathAnimation.startKeyframesVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PathAnimation.addTweens=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.PathAnimation.createTweensVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.PathAnimation.startTweensVector=function(a,b){a.startVector(4,b,4)};g.keyframes.PathAnimation.endPathAnimation=function(a){a=a.endObject();return a};g.keyframes.PathAnimation.createPathAnimation=function(a,b,c,d,e){g.keyframes.PathAnimation.startPathAnimation(a);g.keyframes.PathAnimation.addValue(a,b);g.keyframes.PathAnimation.addValues(a,c);g.keyframes.PathAnimation.addKeyframes(a,d);g.keyframes.PathAnimation.addTweens(a,e);return g.keyframes.PathAnimation.endPathAnimation(a)};g.keyframes.Gradient=function(){this.bb=null,this.bb_pos=0};g.keyframes.Gradient.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Gradient.getRootAsGradient=function(a,b){return(b||new g.keyframes.Gradient()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Gradient.prototype.colorStart=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.ColorAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.colorEnd=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?(a||new g.keyframes.ColorAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.rampStart=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?(a||new g.keyframes.PointAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.rampEnd=function(a){var b=this.bb.__offset(this.bb_pos,10);return b?(a||new g.keyframes.PointAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.type=function(){var a=this.bb.__offset(this.bb_pos,12);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.GradientType.Linear};g.keyframes.Gradient.prototype.mutate_type=function(a){var b=this.bb.__offset(this.bb_pos,12);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Gradient.prototype.colors=function(a){var b=this.bb.__offset(this.bb_pos,14);return b?(a||new g.keyframes.ColorArrayAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.positions=function(a){var b=this.bb.__offset(this.bb_pos,16);return b?(a||new g.keyframes.ScalarArrayAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.highlightLength=function(a){var b=this.bb.__offset(this.bb_pos,18);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.prototype.highlightAngle=function(a){var b=this.bb.__offset(this.bb_pos,20);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Gradient.startGradient=function(a){a.startObject(9)};g.keyframes.Gradient.addColorStart=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.Gradient.addColorEnd=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Gradient.addRampStart=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.Gradient.addRampEnd=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.Gradient.addType=function(a,b){a.addFieldInt8(4,b,g.keyframes.GradientType.Linear)};g.keyframes.Gradient.addColors=function(a,b){a.addFieldOffset(5,b,0)};g.keyframes.Gradient.addPositions=function(a,b){a.addFieldOffset(6,b,0)};g.keyframes.Gradient.addHighlightLength=function(a,b){a.addFieldOffset(7,b,0)};g.keyframes.Gradient.addHighlightAngle=function(a,b){a.addFieldOffset(8,b,0)};g.keyframes.Gradient.endGradient=function(a){a=a.endObject();return a};g.keyframes.Gradient.createGradient=function(a,b,c,d,e,f,h,i,j,k){g.keyframes.Gradient.startGradient(a);g.keyframes.Gradient.addColorStart(a,b);g.keyframes.Gradient.addColorEnd(a,c);g.keyframes.Gradient.addRampStart(a,d);g.keyframes.Gradient.addRampEnd(a,e);g.keyframes.Gradient.addType(a,f);g.keyframes.Gradient.addColors(a,h);g.keyframes.Gradient.addPositions(a,i);g.keyframes.Gradient.addHighlightLength(a,j);g.keyframes.Gradient.addHighlightAngle(a,k);return g.keyframes.Gradient.endGradient(a)};g.keyframes.Bitmap=function(){this.bb=null,this.bb_pos=0};g.keyframes.Bitmap.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Bitmap.getRootAsBitmap=function(a,b){return(b||new g.keyframes.Bitmap()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Bitmap.prototype.size=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Size()).__init(this.bb_pos+b,this.bb):null};g.keyframes.Bitmap.prototype.content=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?this.bb.readUint8(this.bb.__vector(this.bb_pos+b)+a):0};g.keyframes.Bitmap.prototype.contentLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Bitmap.prototype.contentArray=function(){var a=this.bb.__offset(this.bb_pos,6);return a?new Uint8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.Bitmap.prototype.name=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.__string(this.bb_pos+b,a):null};g.keyframes.Bitmap.startBitmap=function(a){a.startObject(3)};g.keyframes.Bitmap.addSize=function(a,b){a.addFieldStruct(0,b,0)};g.keyframes.Bitmap.addContent=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Bitmap.createContentVector=function(a,b){a.startVector(1,b.length,1);for(var c=b.length-1;c>=0;c--)a.addInt8(b[c]);return a.endVector()};g.keyframes.Bitmap.startContentVector=function(a,b){a.startVector(1,b,1)};g.keyframes.Bitmap.addName=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.Bitmap.endBitmap=function(a){a=a.endObject();return a};g.keyframes.Bitmap.createBitmap=function(a,b,c,d){g.keyframes.Bitmap.startBitmap(a);g.keyframes.Bitmap.addSize(a,b);g.keyframes.Bitmap.addContent(a,c);g.keyframes.Bitmap.addName(a,d);return g.keyframes.Bitmap.endBitmap(a)};g.keyframes.Video=function(){this.bb=null,this.bb_pos=0};g.keyframes.Video.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Video.getRootAsVideo=function(a,b){return(b||new g.keyframes.Video()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Video.prototype.size=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Size()).__init(this.bb_pos+b,this.bb):null};g.keyframes.Video.prototype.length=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb_pos+a):0};g.keyframes.Video.prototype.mutate_length=function(a){var b=this.bb.__offset(this.bb_pos,6);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Video.prototype.content=function(a){var b=this.bb.__offset(this.bb_pos,8);return b?this.bb.readUint8(this.bb.__vector(this.bb_pos+b)+a):0};g.keyframes.Video.prototype.contentLength=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Video.prototype.contentArray=function(){var a=this.bb.__offset(this.bb_pos,8);return a?new Uint8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.Video.prototype.name=function(a){var b=this.bb.__offset(this.bb_pos,10);return b?this.bb.__string(this.bb_pos+b,a):null};g.keyframes.Video.startVideo=function(a){a.startObject(4)};g.keyframes.Video.addSize=function(a,b){a.addFieldStruct(0,b,0)};g.keyframes.Video.addLength=function(a,b){a.addFieldInt32(1,b,0)};g.keyframes.Video.addContent=function(a,b){a.addFieldOffset(2,b,0)};g.keyframes.Video.createContentVector=function(a,b){a.startVector(1,b.length,1);for(var c=b.length-1;c>=0;c--)a.addInt8(b[c]);return a.endVector()};g.keyframes.Video.startContentVector=function(a,b){a.startVector(1,b,1)};g.keyframes.Video.addName=function(a,b){a.addFieldOffset(3,b,0)};g.keyframes.Video.endVideo=function(a){a=a.endObject();return a};g.keyframes.Video.createVideo=function(a,b,c,d,e){g.keyframes.Video.startVideo(a);g.keyframes.Video.addSize(a,b);g.keyframes.Video.addLength(a,c);g.keyframes.Video.addContent(a,d);g.keyframes.Video.addName(a,e);return g.keyframes.Video.endVideo(a)};g.keyframes.Plugin=function(){this.bb=null,this.bb_pos=0};g.keyframes.Plugin.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Plugin.getRootAsPlugin=function(a,b){return(b||new g.keyframes.Plugin()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Plugin.prototype.index=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.readInt32(this.bb_pos+a):0};g.keyframes.Plugin.prototype.mutate_index=function(a){var b=this.bb.__offset(this.bb_pos,4);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Plugin.prototype.content=function(a){var b=this.bb.__offset(this.bb_pos,6);return b?this.bb.readUint8(this.bb.__vector(this.bb_pos+b)+a):0};g.keyframes.Plugin.prototype.contentLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Plugin.prototype.contentArray=function(){var a=this.bb.__offset(this.bb_pos,6);return a?new Uint8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.Plugin.prototype.optional=function(){var a=this.bb.__offset(this.bb_pos,8);return a?!!this.bb.readInt8(this.bb_pos+a):!1};g.keyframes.Plugin.prototype.mutate_optional=function(a){var b=this.bb.__offset(this.bb_pos,8);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Plugin.startPlugin=function(a){a.startObject(3)};g.keyframes.Plugin.addIndex=function(a,b){a.addFieldInt32(0,b,0)};g.keyframes.Plugin.addContent=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Plugin.createContentVector=function(a,b){a.startVector(1,b.length,1);for(var c=b.length-1;c>=0;c--)a.addInt8(b[c]);return a.endVector()};g.keyframes.Plugin.startContentVector=function(a,b){a.startVector(1,b,1)};g.keyframes.Plugin.addOptional=function(a,b){a.addFieldInt8(2,+b,0)};g.keyframes.Plugin.endPlugin=function(a){a=a.endObject();return a};g.keyframes.Plugin.createPlugin=function(a,b,c,d){g.keyframes.Plugin.startPlugin(a);g.keyframes.Plugin.addIndex(a,b);g.keyframes.Plugin.addContent(a,c);g.keyframes.Plugin.addOptional(a,d);return g.keyframes.Plugin.endPlugin(a)};g.keyframes.ProgressMarker=function(){this.bb=null,this.bb_pos=0};g.keyframes.ProgressMarker.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.ProgressMarker.getRootAsProgressMarker=function(a,b){return(b||new g.keyframes.ProgressMarker()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.ProgressMarker.prototype.name=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?this.bb.__string(this.bb_pos+b,a):null};g.keyframes.ProgressMarker.prototype.startProgress=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.ProgressMarker.prototype.mutate_start_progress=function(a){var b=this.bb.__offset(this.bb_pos,6);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.ProgressMarker.prototype.endProgress=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.ProgressMarker.prototype.mutate_end_progress=function(a){var b=this.bb.__offset(this.bb_pos,8);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.ProgressMarker.startProgressMarker=function(a){a.startObject(3)};g.keyframes.ProgressMarker.addName=function(a,b){a.addFieldOffset(0,b,0)};g.keyframes.ProgressMarker.addStartProgress=function(a,b){a.addFieldFloat32(1,b,0)};g.keyframes.ProgressMarker.addEndProgress=function(a,b){a.addFieldFloat32(2,b,0)};g.keyframes.ProgressMarker.endProgressMarker=function(a){a=a.endObject();return a};g.keyframes.ProgressMarker.createProgressMarker=function(a,b,c,d){g.keyframes.ProgressMarker.startProgressMarker(a);g.keyframes.ProgressMarker.addName(a,b);g.keyframes.ProgressMarker.addStartProgress(a,c);g.keyframes.ProgressMarker.addEndProgress(a,d);return g.keyframes.ProgressMarker.endProgressMarker(a)};g.keyframes.Layer=function(){this.bb=null,this.bb_pos=0};g.keyframes.Layer.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Layer.getRootAsLayer=function(a,b){return(b||new g.keyframes.Layer()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Layer.prototype.id=function(){var a=this.bb.__offset(this.bb_pos,4);return a?this.bb.readInt32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_id=function(a){var b=this.bb.__offset(this.bb_pos,4);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.sublayers=function(a,b){var c=this.bb.__offset(this.bb_pos,6);return c?(b||new g.keyframes.Layer()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Layer.prototype.sublayersLength=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Layer.prototype.fromProgress=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_from_progress=function(a){var b=this.bb.__offset(this.bb_pos,8);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.toProgress=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readFloat32(this.bb_pos+a):1};g.keyframes.Layer.prototype.mutate_to_progress=function(a){var b=this.bb.__offset(this.bb_pos,10);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.anchorPoint=function(a){var b=this.bb.__offset(this.bb_pos,12);return b?(a||new g.keyframes.PointAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.xPosition=function(a){var b=this.bb.__offset(this.bb_pos,14);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.yPosition=function(a){var b=this.bb.__offset(this.bb_pos,16);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.rotation=function(a){var b=this.bb.__offset(this.bb_pos,18);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.scale=function(a){var b=this.bb.__offset(this.bb_pos,20);return b?(a||new g.keyframes.PointAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.path=function(a){var b=this.bb.__offset(this.bb_pos,22);return b?(a||new g.keyframes.PathAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.opacity=function(a){var b=this.bb.__offset(this.bb_pos,24);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.fillColor=function(a){var b=this.bb.__offset(this.bb_pos,26);return b?(a||new g.keyframes.ColorAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.strokeColor=function(a){var b=this.bb.__offset(this.bb_pos,28);return b?(a||new g.keyframes.ColorAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.strokeWidth=function(a){var b=this.bb.__offset(this.bb_pos,30);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.strokeLineCap=function(){var a=this.bb.__offset(this.bb_pos,32);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.StrokeLineCap.Butt};g.keyframes.Layer.prototype.mutate_stroke_line_cap=function(a){var b=this.bb.__offset(this.bb_pos,32);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.gradient=function(a){var b=this.bb.__offset(this.bb_pos,34);return b?(a||new g.keyframes.Gradient()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.strokeLineJoin=function(){var a=this.bb.__offset(this.bb_pos,36);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.StrokeLineJoin.Miter};g.keyframes.Layer.prototype.mutate_stroke_line_join=function(a){var b=this.bb.__offset(this.bb_pos,36);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.miterLimit=function(a){var b=this.bb.__offset(this.bb_pos,38);return b?(a||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.bitmapIndex=function(){var a=this.bb.__offset(this.bb_pos,40);return a?this.bb.readInt32(this.bb_pos+a):-1};g.keyframes.Layer.prototype.mutate_bitmap_index=function(a){var b=this.bb.__offset(this.bb_pos,40);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.subdocumentIndex=function(){var a=this.bb.__offset(this.bb_pos,42);return a?this.bb.readInt32(this.bb_pos+a):-1};g.keyframes.Layer.prototype.mutate_subdocument_index=function(a){var b=this.bb.__offset(this.bb_pos,42);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.plugins=function(a,b){var c=this.bb.__offset(this.bb_pos,44);return c?(b||new g.keyframes.Plugin()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Layer.prototype.pluginsLength=function(){var a=this.bb.__offset(this.bb_pos,44);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Layer.prototype.progressOffset=function(){var a=this.bb.__offset(this.bb_pos,46);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_progress_offset=function(a){var b=this.bb.__offset(this.bb_pos,46);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.clippingPath=function(a){var b=this.bb.__offset(this.bb_pos,48);return b?(a||new g.keyframes.PathAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.position=function(a){var b=this.bb.__offset(this.bb_pos,50);return b?(a||new g.keyframes.PathAnimation()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.isTrackMatte=function(){var a=this.bb.__offset(this.bb_pos,52);return a?!!this.bb.readInt8(this.bb_pos+a):!1};g.keyframes.Layer.prototype.mutate_is_track_matte=function(a){var b=this.bb.__offset(this.bb_pos,52);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.trackMatteType=function(){var a=this.bb.__offset(this.bb_pos,54);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.TrackMatteType.None};g.keyframes.Layer.prototype.mutate_track_matte_type=function(a){var b=this.bb.__offset(this.bb_pos,54);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.vectorCompositeOrder=function(){var a=this.bb.__offset(this.bb_pos,56);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.VectorCompositeOrder.FillStroke};g.keyframes.Layer.prototype.mutate_vector_composite_order=function(a){var b=this.bb.__offset(this.bb_pos,56);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.text=function(a){var b=this.bb.__offset(this.bb_pos,58);return b?this.bb.__string(this.bb_pos+b,a):null};g.keyframes.Layer.prototype.textTypeface=function(a){var b=this.bb.__offset(this.bb_pos,60);return b?this.bb.__string(this.bb_pos+b,a):null};g.keyframes.Layer.prototype.textSize=function(){var a=this.bb.__offset(this.bb_pos,62);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_textSize=function(a){var b=this.bb.__offset(this.bb_pos,62);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textColor=function(a){var b=this.bb.__offset(this.bb_pos,64);return b?(a||new g.keyframes.Color()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Layer.prototype.textAlign=function(){var a=this.bb.__offset(this.bb_pos,66);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_textAlign=function(a){var b=this.bb.__offset(this.bb_pos,66);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textVAlign=function(){var a=this.bb.__offset(this.bb_pos,68);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_textVAlign=function(a){var b=this.bb.__offset(this.bb_pos,68);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textTracking=function(){var a=this.bb.__offset(this.bb_pos,70);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_textTracking=function(a){var b=this.bb.__offset(this.bb_pos,70);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textLeading=function(){var a=this.bb.__offset(this.bb_pos,72);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Layer.prototype.mutate_textLeading=function(a){var b=this.bb.__offset(this.bb_pos,72);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textItalic=function(){var a=this.bb.__offset(this.bb_pos,74);return a?!!this.bb.readInt8(this.bb_pos+a):!1};g.keyframes.Layer.prototype.mutate_textItalic=function(a){var b=this.bb.__offset(this.bb_pos,74);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textWeight=function(){var a=this.bb.__offset(this.bb_pos,76);return a?this.bb.readInt8(this.bb_pos+a):g.keyframes.TextWeight.Thin};g.keyframes.Layer.prototype.mutate_textWeight=function(a){var b=this.bb.__offset(this.bb_pos,76);if(b===0)return!1;this.bb.writeInt8(this.bb_pos+b,a);return!0};g.keyframes.Layer.prototype.textBoxSize=function(a){var b=this.bb.__offset(this.bb_pos,78);return b?(a||new g.keyframes.Size()).__init(this.bb_pos+b,this.bb):null};g.keyframes.Layer.prototype.videoLevels=function(a,b){var c=this.bb.__offset(this.bb_pos,80);return c?(b||new g.keyframes.ScalarAnimation()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Layer.prototype.videoLevelsLength=function(){var a=this.bb.__offset(this.bb_pos,80);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Layer.prototype.videoIndex=function(){var a=this.bb.__offset(this.bb_pos,82);return a?this.bb.readInt32(this.bb_pos+a):-1};g.keyframes.Layer.prototype.mutate_video_index=function(a){var b=this.bb.__offset(this.bb_pos,82);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Layer.startLayer=function(a){a.startObject(40)};g.keyframes.Layer.addId=function(a,b){a.addFieldInt32(0,b,0)};g.keyframes.Layer.addSublayers=function(a,b){a.addFieldOffset(1,b,0)};g.keyframes.Layer.createSublayersVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Layer.startSublayersVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Layer.addFromProgress=function(a,b){a.addFieldFloat32(2,b,0)};g.keyframes.Layer.addToProgress=function(a,b){a.addFieldFloat32(3,b,1)};g.keyframes.Layer.addAnchorPoint=function(a,b){a.addFieldOffset(4,b,0)};g.keyframes.Layer.addXPosition=function(a,b){a.addFieldOffset(5,b,0)};g.keyframes.Layer.addYPosition=function(a,b){a.addFieldOffset(6,b,0)};g.keyframes.Layer.addRotation=function(a,b){a.addFieldOffset(7,b,0)};g.keyframes.Layer.addScale=function(a,b){a.addFieldOffset(8,b,0)};g.keyframes.Layer.addPath=function(a,b){a.addFieldOffset(9,b,0)};g.keyframes.Layer.addOpacity=function(a,b){a.addFieldOffset(10,b,0)};g.keyframes.Layer.addFillColor=function(a,b){a.addFieldOffset(11,b,0)};g.keyframes.Layer.addStrokeColor=function(a,b){a.addFieldOffset(12,b,0)};g.keyframes.Layer.addStrokeWidth=function(a,b){a.addFieldOffset(13,b,0)};g.keyframes.Layer.addStrokeLineCap=function(a,b){a.addFieldInt8(14,b,g.keyframes.StrokeLineCap.Butt)};g.keyframes.Layer.addGradient=function(a,b){a.addFieldOffset(15,b,0)};g.keyframes.Layer.addStrokeLineJoin=function(a,b){a.addFieldInt8(16,b,g.keyframes.StrokeLineJoin.Miter)};g.keyframes.Layer.addMiterLimit=function(a,b){a.addFieldOffset(17,b,0)};g.keyframes.Layer.addBitmapIndex=function(a,b){a.addFieldInt32(18,b,-1)};g.keyframes.Layer.addSubdocumentIndex=function(a,b){a.addFieldInt32(19,b,-1)};g.keyframes.Layer.addPlugins=function(a,b){a.addFieldOffset(20,b,0)};g.keyframes.Layer.createPluginsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Layer.startPluginsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Layer.addProgressOffset=function(a,b){a.addFieldFloat32(21,b,0)};g.keyframes.Layer.addClippingPath=function(a,b){a.addFieldOffset(22,b,0)};g.keyframes.Layer.addPosition=function(a,b){a.addFieldOffset(23,b,0)};g.keyframes.Layer.addIsTrackMatte=function(a,b){a.addFieldInt8(24,+b,0)};g.keyframes.Layer.addTrackMatteType=function(a,b){a.addFieldInt8(25,b,g.keyframes.TrackMatteType.None)};g.keyframes.Layer.addVectorCompositeOrder=function(a,b){a.addFieldInt8(26,b,g.keyframes.VectorCompositeOrder.FillStroke)};g.keyframes.Layer.addText=function(a,b){a.addFieldOffset(27,b,0)};g.keyframes.Layer.addTextTypeface=function(a,b){a.addFieldOffset(28,b,0)};g.keyframes.Layer.addTextSize=function(a,b){a.addFieldFloat32(29,b,0)};g.keyframes.Layer.addTextColor=function(a,b){a.addFieldOffset(30,b,0)};g.keyframes.Layer.addTextAlign=function(a,b){a.addFieldFloat32(31,b,0)};g.keyframes.Layer.addTextVAlign=function(a,b){a.addFieldFloat32(32,b,0)};g.keyframes.Layer.addTextTracking=function(a,b){a.addFieldFloat32(33,b,0)};g.keyframes.Layer.addTextLeading=function(a,b){a.addFieldFloat32(34,b,0)};g.keyframes.Layer.addTextItalic=function(a,b){a.addFieldInt8(35,+b,0)};g.keyframes.Layer.addTextWeight=function(a,b){a.addFieldInt8(36,b,g.keyframes.TextWeight.Thin)};g.keyframes.Layer.addTextBoxSize=function(a,b){a.addFieldStruct(37,b,0)};g.keyframes.Layer.addVideoLevels=function(a,b){a.addFieldOffset(38,b,0)};g.keyframes.Layer.createVideoLevelsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Layer.startVideoLevelsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Layer.addVideoIndex=function(a,b){a.addFieldInt32(39,b,-1)};g.keyframes.Layer.endLayer=function(a){a=a.endObject();return a};g.keyframes.Layer.createLayer=function(a,b,c,d,e,f,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P){g.keyframes.Layer.startLayer(a);g.keyframes.Layer.addId(a,b);g.keyframes.Layer.addSublayers(a,c);g.keyframes.Layer.addFromProgress(a,d);g.keyframes.Layer.addToProgress(a,e);g.keyframes.Layer.addAnchorPoint(a,f);g.keyframes.Layer.addXPosition(a,h);g.keyframes.Layer.addYPosition(a,i);g.keyframes.Layer.addRotation(a,j);g.keyframes.Layer.addScale(a,k);g.keyframes.Layer.addPath(a,l);g.keyframes.Layer.addOpacity(a,m);g.keyframes.Layer.addFillColor(a,n);g.keyframes.Layer.addStrokeColor(a,o);g.keyframes.Layer.addStrokeWidth(a,p);g.keyframes.Layer.addStrokeLineCap(a,q);g.keyframes.Layer.addGradient(a,r);g.keyframes.Layer.addStrokeLineJoin(a,s);g.keyframes.Layer.addMiterLimit(a,t);g.keyframes.Layer.addBitmapIndex(a,u);g.keyframes.Layer.addSubdocumentIndex(a,v);g.keyframes.Layer.addPlugins(a,w);g.keyframes.Layer.addProgressOffset(a,x);g.keyframes.Layer.addClippingPath(a,y);g.keyframes.Layer.addPosition(a,z);g.keyframes.Layer.addIsTrackMatte(a,A);g.keyframes.Layer.addTrackMatteType(a,B);g.keyframes.Layer.addVectorCompositeOrder(a,C);g.keyframes.Layer.addText(a,D);g.keyframes.Layer.addTextTypeface(a,E);g.keyframes.Layer.addTextSize(a,F);g.keyframes.Layer.addTextColor(a,G);g.keyframes.Layer.addTextAlign(a,H);g.keyframes.Layer.addTextVAlign(a,I);g.keyframes.Layer.addTextTracking(a,J);g.keyframes.Layer.addTextLeading(a,K);g.keyframes.Layer.addTextItalic(a,L);g.keyframes.Layer.addTextWeight(a,M);g.keyframes.Layer.addTextBoxSize(a,N);g.keyframes.Layer.addVideoLevels(a,O);g.keyframes.Layer.addVideoIndex(a,P);return g.keyframes.Layer.endLayer(a)};g.keyframes.Document=function(){this.bb=null,this.bb_pos=0};g.keyframes.Document.prototype.__init=function(a,b){this.bb_pos=a;this.bb=b;return this};g.keyframes.Document.getRootAsDocument=function(a,b){return(b||new g.keyframes.Document()).__init(a.readInt32(a.position())+a.position(),a)};g.keyframes.Document.bufferHasIdentifier=function(a){return a.__has_identifier("KEYF")};g.keyframes.Document.prototype.size=function(a){var b=this.bb.__offset(this.bb_pos,4);return b?(a||new g.keyframes.Size()).__init(this.bb_pos+b,this.bb):null};g.keyframes.Document.prototype.frameRate=function(){var a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Document.prototype.mutate_frame_rate=function(a){var b=this.bb.__offset(this.bb_pos,6);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Document.prototype.duration=function(){var a=this.bb.__offset(this.bb_pos,8);return a?this.bb.readFloat32(this.bb_pos+a):0};g.keyframes.Document.prototype.mutate_duration=function(a){var b=this.bb.__offset(this.bb_pos,8);if(b===0)return!1;this.bb.writeFloat32(this.bb_pos+b,a);return!0};g.keyframes.Document.prototype.version=function(){var a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readInt32(this.bb_pos+a):0};g.keyframes.Document.prototype.mutate_version=function(a){var b=this.bb.__offset(this.bb_pos,10);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Document.prototype.rootLayer=function(a){var b=this.bb.__offset(this.bb_pos,12);return b?(a||new g.keyframes.Layer()).__init(this.bb.__indirect(this.bb_pos+b),this.bb):null};g.keyframes.Document.prototype.bitmaps=function(a,b){var c=this.bb.__offset(this.bb_pos,14);return c?(b||new g.keyframes.Bitmap()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Document.prototype.bitmapsLength=function(){var a=this.bb.__offset(this.bb_pos,14);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.prototype.subdocuments=function(a,b){var c=this.bb.__offset(this.bb_pos,16);return c?(b||new g.keyframes.Document()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Document.prototype.subdocumentsLength=function(){var a=this.bb.__offset(this.bb_pos,16);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.prototype.plugins=function(a,b){var c=this.bb.__offset(this.bb_pos,18);return c?this.bb.__string(this.bb.__vector(this.bb_pos+c)+a*4,b):null};g.keyframes.Document.prototype.pluginsLength=function(){var a=this.bb.__offset(this.bb_pos,18);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.prototype.id=function(){var a=this.bb.__offset(this.bb_pos,20);return a?this.bb.readInt32(this.bb_pos+a):0};g.keyframes.Document.prototype.mutate_id=function(a){var b=this.bb.__offset(this.bb_pos,20);if(b===0)return!1;this.bb.writeInt32(this.bb_pos+b,a);return!0};g.keyframes.Document.prototype.manifest=function(a){var b=this.bb.__offset(this.bb_pos,22);return b?this.bb.readUint8(this.bb.__vector(this.bb_pos+b)+a):0};g.keyframes.Document.prototype.manifestLength=function(){var a=this.bb.__offset(this.bb_pos,22);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.prototype.manifestArray=function(){var a=this.bb.__offset(this.bb_pos,22);return a?new Uint8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+a),this.bb.__vector_len(this.bb_pos+a)):null};g.keyframes.Document.prototype.progressMarkers=function(a,b){var c=this.bb.__offset(this.bb_pos,24);return c?(b||new g.keyframes.ProgressMarker()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Document.prototype.progressMarkersLength=function(){var a=this.bb.__offset(this.bb_pos,24);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.prototype.videos=function(a,b){var c=this.bb.__offset(this.bb_pos,26);return c?(b||new g.keyframes.Video()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+c)+a*4),this.bb):null};g.keyframes.Document.prototype.videosLength=function(){var a=this.bb.__offset(this.bb_pos,26);return a?this.bb.__vector_len(this.bb_pos+a):0};g.keyframes.Document.startDocument=function(a){a.startObject(12)};g.keyframes.Document.addSize=function(a,b){a.addFieldStruct(0,b,0)};g.keyframes.Document.addFrameRate=function(a,b){a.addFieldFloat32(1,b,0)};g.keyframes.Document.addDuration=function(a,b){a.addFieldFloat32(2,b,0)};g.keyframes.Document.addVersion=function(a,b){a.addFieldInt32(3,b,0)};g.keyframes.Document.addRootLayer=function(a,b){a.addFieldOffset(4,b,0)};g.keyframes.Document.addBitmaps=function(a,b){a.addFieldOffset(5,b,0)};g.keyframes.Document.createBitmapsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Document.startBitmapsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Document.addSubdocuments=function(a,b){a.addFieldOffset(6,b,0)};g.keyframes.Document.createSubdocumentsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Document.startSubdocumentsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Document.addPlugins=function(a,b){a.addFieldOffset(7,b,0)};g.keyframes.Document.createPluginsVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Document.startPluginsVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Document.addId=function(a,b){a.addFieldInt32(8,b,0)};g.keyframes.Document.addManifest=function(a,b){a.addFieldOffset(9,b,0)};g.keyframes.Document.createManifestVector=function(a,b){a.startVector(1,b.length,1);for(var c=b.length-1;c>=0;c--)a.addInt8(b[c]);return a.endVector()};g.keyframes.Document.startManifestVector=function(a,b){a.startVector(1,b,1)};g.keyframes.Document.addProgressMarkers=function(a,b){a.addFieldOffset(10,b,0)};g.keyframes.Document.createProgressMarkersVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Document.startProgressMarkersVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Document.addVideos=function(a,b){a.addFieldOffset(11,b,0)};g.keyframes.Document.createVideosVector=function(a,b){a.startVector(4,b.length,4);for(var c=b.length-1;c>=0;c--)a.addOffset(b[c]);return a.endVector()};g.keyframes.Document.startVideosVector=function(a,b){a.startVector(4,b,4)};g.keyframes.Document.endDocument=function(a){a=a.endObject();return a};g.keyframes.Document.finishDocumentBuffer=function(a,b){a.finish(b,"KEYF")};g.keyframes.Document.createDocument=function(a,b,c,d,e,f,h,i,j,k,l,m,n){g.keyframes.Document.startDocument(a);g.keyframes.Document.addSize(a,b);g.keyframes.Document.addFrameRate(a,c);g.keyframes.Document.addDuration(a,d);g.keyframes.Document.addVersion(a,e);g.keyframes.Document.addRootLayer(a,f);g.keyframes.Document.addBitmaps(a,h);g.keyframes.Document.addSubdocuments(a,i);g.keyframes.Document.addPlugins(a,j);g.keyframes.Document.addId(a,k);g.keyframes.Document.addManifest(a,l);g.keyframes.Document.addProgressMarkers(a,m);g.keyframes.Document.addVideos(a,n);return g.keyframes.Document.endDocument(a)};e.exports=g.keyframes}),null); __d("KeyframesVideoUtils",["Promise"],(function(a,b,c,d,e,f){"use strict";var g=window.setTimeout,h=4;function a(a){var b=document.createElement("video");b.setAttribute("webkit-playsinline","");b.setAttribute("playsinline","");b.autoplay=!1;b.src=a;b.currentTime=0;a.startsWith("blob:")||(b.crossOrigin="anonymous");return b}function c(a,c){return new(b("Promise"))(function(b,d){var e=function b(){a.pause(),a.currentTime=c,a.removeEventListener("canplaythrough",b),f()},f=function c(){a.readyState===h?b(a):g(c,10)},i=function b(c){a.removeEventListener("error",b),d(c)};a.currentTime=c;a.addEventListener("error",i);a.readyState===h?b(a):a.addEventListener("canplaythrough",e)})}f.createVideo=a;f.loadVideo=c}),66); __d("KeyframesAssetDecoder",["BlobFactory","KeyframesPluginsLoader","KeyframesSchema","KeyframesVideoUtils","Promise","flatbuffers","promiseDone","requestIdleCallback"],(function(a,b,c,d,e,f){"use strict";var g=b("KeyframesSchema").Document,h="medium",i=a.URL||a.webkitURL||{};function j(a){a=new(b("flatbuffers").ByteBuffer)(a);return g.bufferHasIdentifier(a)?g.getRootAsDocument(a):null}function k(a){return new(b("Promise"))(function(b,c){var d=new Image();d.onload=function(){return b(d)};d.onerror=function(b){return c("Decode: error requesting image uri "+a)};d.src=a})}function l(a){a=b("KeyframesVideoUtils").createVideo(a);return b("KeyframesVideoUtils").loadVideo(a,0)}function m(b,c,d){return a.createImageBitmap?b.width=0;c--)b.unshift(a.plugins(c));return b.length?b:null}function u(a){var b=[];for(var c=a.bitmapsLength()-1;c>=0;c--)b.unshift(a.bitmaps(c));return b}function v(a){var b=[];for(var c=a.videosLength()-1;c>=0;c--)b.unshift(a.videos(c));return b}function w(a){var b={};for(var c=0;c=0;d--)c=a.subdocuments(d),b.unshift(c);return b}function z(a){a=j(a);return!a?b("Promise").reject("Decode: could not create flatbuffer doc"):A(a)}function A(a){var c=u(a),d=x(c),e=v(a),f=w(e),g=c.filter(function(a){return a.contentLength()||!a.name()}).map(r);e=e.filter(function(a){return a.contentLength()||!a.name()}).map(s);var h=y(a).map(A),i=t(a);i=i?b("KeyframesPluginsLoader").fromPluginTable(i):b("Promise").resolve(null);return b("Promise").all([b("Promise").all(g),b("Promise").all(e),i,b("Promise").all(h)]).then(function(b){var e=b[0],g=b[1],h=b[2];b=b[3];return{bitmaps:p(e,c),bitmapNames:d,videos:g,videoNames:f,doc:a,pluginsLoader:h,subassets:b}})}function B(a){return!Uint8Array?b("Promise").reject("Decode: typed arrays not supported"):b("Promise").resolve(new Uint8Array(a))}function C(a,c){var d={},e=[],f=Object.entries(a);a=function(){var a=f[g],h=a[0];a=a[1];a=c(a,h);e.push(a);b("promiseDone")(a,function(a){return d[h]=a})};for(var g=0;g0&&(i.forEach(j),c("requestAnimationFramePolyfill")(k))}c("gkx")("708253")||d("Run").onLeave(function(){i.forEach(function(a){return a.cancel()})});window.addEventListener("focus",function(){i.forEach(function(a){return a.previousTime=c("performanceNow")()-16.67})});a=function(){function a(a){this.framesRemaining=Infinity,this.callback=a,this.previousTime=0}var b=a.prototype;b.start=function(a){a===void 0&&(a=Infinity),this.framesRemaining=a,this.$1||(i.size===0&&c("requestAnimationFramePolyfill")(k),i.add(this),this.previousTime=c("performanceNow")(),this.$1=c("TimeSlice").getGuardedContinuation("KeyframesLoop"))};b.cancel=function(){this.$1&&(this.$1(c("emptyFunction")),this.$1=null,i["delete"](this))};b.isRunning=function(){return!!this.$1};return a}();g["default"]=a}),98); __d("KeyframesCanvasUtils",["invariant","KeyframesSchema"],(function(a,b,c,d,e,f,g){"use strict";var h=b("KeyframesSchema").StrokeLineCap,i=b("KeyframesSchema").CommandType;f=["miter","round","bevel"];function a(a){return"rgba("+Math.floor(a.red)+","+Math.floor(a.green)+","+Math.floor(a.blue)+","+Math.floor(a.alpha)/255+")"}function c(a){switch(a){case h.Square:return"square";case h.Round:return"round";case h.Butt:default:return"butt"}}function d(a,b){a.beginPath();for(var b=b,c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;switch(e.type){case i.MoveTo:a.moveTo(e.point.x,e.point.y);break;case i.CubicTo:e.control1&&e.control2||g(0,2935);a.bezierCurveTo(e.control1.x,e.control1.y,e.control2.x,e.control2.y,e.point.x,e.point.y);break;case i.QuadTo:e.control1||g(0,2936);a.quadraticCurveTo(e.control1.x,e.control1.y,e.point.x,e.point.y);break;case i.LineTo:a.lineTo(e.point.x,e.point.y);break;default:throw new Error("Unrecognized path command "+e.type)}}}e.exports={drawPath:d,getCanvasStyle:a,getCanvasLineCap:c,LINE_JOINS:f}}),null); __d("KeyframesTrackMattes",[],(function(a,b,c,d,e,f){"use strict";a={1:"destination-in",2:"destination-out"};f["default"]=a}),66); __d("KeyframesPathUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){return(c-b)*a+b}function b(a,b,c,d,e,f,g){return e*d+2*c*a*f+b*g}function c(a,b,c,d,e,f,g,h){return e*d*c+f*3*d*a+g*3*c*b+h*b*a}e.exports={interpolateLinear:a,interpolateQuad:b,interpolateCubic:c,lerp:a}}),null); __d("KeyframesTween",["invariant","CubicBezier","KeyframesPathUtils","KeyframesSchema"],(function(a,b,c,d,e,f,g){"use strict";var h=b("KeyframesPathUtils").interpolateCubic,i=b("KeyframesPathUtils").interpolateLinear,j=b("KeyframesPathUtils").interpolateQuad;(d=b("KeyframesSchema")).Color;d.ColorAnimation;d.ColorArray;d.ColorArrayAnimation;d.Command;var k=d.CommandType;d.Path;d.PathAnimation;d.Point;d.PointAnimation;d.ScalarAnimation;d.ScalarArray;d.ScalarArrayAnimation;var l=d.TweenType;function m(a){return a}function n(a){return{x:a.x(),y:a.y()}}function o(a){return{red:a.red(),green:a.green(),blue:a.blue(),alpha:a.alpha()}}function p(a){var b=a.valuesLength(),c=[];for(var d=0;d=b.keyframes(b.keyframesLength()-1))return 1;else if(ag&&e.currentTime=i[0]&&l<=i[1]&&b.changeVideoPlaybackRate(d,l)}f&&e.paused?e.play():f==!1&&e.paused==!1&&(e.pause(),e.currentTime=0)})};c.$5=function(){return this.$2.map(function(a){var b=a.video;return n(function(a){b.playbackRate=a},h,!0)})};c.changeVideoPlaybackRate=function(a,b){this.$4[a](b)};c.seekToProgress=function(a){var c=this,d;return b("regeneratorRuntime").async(function(e){while(1)switch(e.prev=e.next){case 0:d=this.$2.map(function(d){var e,f,g;return b("regeneratorRuntime").async(function(h){while(1)switch(h.prev=h.next){case 0:e=d.video;f=0;k(d,a)&&(g=j(d,a),f=m(c.$1.doc.duration()*g));e.pause();e.currentTime=f;h.next=7;return b("regeneratorRuntime").awrap(b("KeyframesVideoUtils").loadVideo(e,f));case 7:case"end":return h.stop()}},null,this)});e.next=3;return b("regeneratorRuntime").awrap(b("Promise").all(d));case 3:case"end":return e.stop()}},null,this)};return a}();function j(a,b){return b-a.fromProgress}function k(a,b){return b>=a.fromProgress&&b<=a.toProgress}function l(a,b){var c=[],d=a.videoIndex();if(d!=-1){var e=b.videos[d];d=b.doc.videos(d);e!=null&&c.push({fromProgress:a.fromProgress(),toProgress:a.toProgress(),name:d!=null?d.name():null,video:e})}for(var d=0;d=this.$4){for(var a=arguments.length,c=new Array(a),d=0;dMath.min(g.toProgress(),1))return;try{i&&i.maybeInstantiatePluginsForLayer(g)}catch(a){}a=a;var p,t=g.isTrackMatte(),v=g.trackMatteType();if(t||v!==0){var w=a.getTransform();p=c.getCanvas();p.ctx.setTransform(w.a,w.b,w.c,w.d,w.e,w.f);p.isTrackMatte=t;p.trackMatteType=v;p.ctx.globalCompositeOperation=z;a=p.ctx}a.save();w=g.position();if(w){t=u(h,w);v=t.x;w=t.y;a.translate(v,w)}else{t=g.xPosition();t&&a.translate(s(h,t),0);v=g.yPosition();v&&a.translate(0,s(h,v))}w=g.rotation();w&&a.rotate(s(h,w));t=g.scale();if(t){v=r(h,t);w=v.x;t=v.y;a.scale(w,t)}v=g.anchorPoint();if(v){w=r(h,v);t=w.x;v=w.y;a.translate(-t,-v)}w=g.opacity();w=w!=null?s(h,w):1;a.globalAlpha=w*j;t=!1;if(i){v=i.getPluginsForLayer(g.id());if(v)for(var x=0;x0&&(a.strokeStyle=n(o(h,g.strokeColor())),a.lineJoin=k[g.strokeLineJoin()],a.lineCap=m(g.strokeLineCap()),a.lineWidth=x,A=!0)}g.vectorCompositeOrder()===0?(t&&a.fill(),A&&a.stroke()):(A&&a.stroke(),t&&a.fill())}v=g.bitmapIndex();x=d[v];x&&x.width!==0&&x.height!==0&&a.drawImage(x,0,0);A=g.videoIndex();t=e[A];t!=null&&a.drawImage(t,0,0,t.width,t.height);v=g.subdocumentIndex();if(f[v]){x=f[v].doc.size();a.save();a.beginPath();a.rect(0,0,x.width(),x.height());a.clip();G(a,c,f[v].bitmaps,f[v].videos,f[v].subassets,f[v].doc.rootLayer(),h-g.progressOffset(),f[v].pluginsLoader,w*j);a.restore()}var B;for(var A=0;A=d.$21&&(d.$11%=d.$21,d.$19=Math.max(0,d.$19-1),d.$15&&d.$15.finish(),d.$19===0?d.pause():(d.$24.seekToProgress(0),d.$15&&d.$15.start(),d.$11+=d.$22),d.$13&&d.$13(d.$19),d.$30()))};this.$33=A(function(a){a>=0&&a<=1||g(0,750,a),this.$3.clearRect(0,0,this.$23.width.intrinsic,this.$23.height.intrinsic),this.$1.pluginsLoader&&D(this.$1,a,this.$16,this.$8),this.$4.clearAllAllocated(),this.$4.freeAll(),G(this.$3,this.$4,this.$1.bitmaps,this.$1.videos,this.$1.subassets,this.$20,a,this.$1.pluginsLoader),this.$17=a,this.$9=!1,this.$15&&this.$15.addFrame()},"KeyframesRenderer: _renderProgress()");this.$32=A(function(){this.$2.width=this.$23.width.physical,this.$2.height=this.$23.height.physical,this.$2.style.width=this.$23.width.logical+"px",this.$2.style.height=this.$23.height.logical+"px",this.$3.setTransform(1,0,0,1,0,0),this.$3.scale(this.$23.width.getPhysicalChangeRatio(),this.$23.height.getPhysicalChangeRatio()),this.$4.resizeAll(),this.$10=!1,this.$9=!0},"KeyframesRenderer: _resize()");this.$23=new(b("KeyframesDimensions"))(a.doc.size().width(),a.doc.size().height());this.$4=new(b("KeyframesCanvasPool"))(this.$23);this.$2=document.createElement("canvas");this.$3=b("nullthrows")(this.$2.getContext("2d"));j(this.$3);this.$7=new(b("KeyframesLoop"))(this.$26);this.$15=c;this.$24=new(b("KeyframesVideoManager"))(a);this.setDecodedAsset(a);this.$27();this.$25=b("Promise").resolve()}var c=a.prototype;c.play=function(){this.$16||(this.$16=!0,this.isFinished()&&(this.$19=this.$18,this.$11=this.$22),this.$15&&this.$15.start(),this.$7.start());return this};c.pause=function(){this.$16&&(this.$16=!1,this.$15&&this.$15.pause(),this.$9?this.$28():(this.$7.cancel(),this.$14&&this.$14.callIfIgnored(this.$17)));this.$24.pause();this.$29(this.$24.seekToProgress(this.$17));D(this.$1,this.$17,this.$16,this.$8);return this};c.isPlaying=function(){return this.$16};c.isFinished=function(){return this.$19===0};c.isMuted=function(){return this.$8};c.mute=function(){this.$8=!0,this.$24.mute()};c.unMute=function(){this.$8=!1,this.$24.unMute()};c.repeatCount=function(a){this.$18=this.$19=Math.max(1,a);return this};c.repeatForever=function(){return this.repeatCount(Infinity)};c.getRepeatsRemaining=function(){return this.$19};c.seekToProgress=function(a){var b=this;a>=0&&a<=1||g(0,749,a);this.$14&&this.$14.resetThrottling();this.$17=this.$11=a;this.$29(this.$24.seekToProgress(a).then(function(){return b.$28()}));a===0&&this.$30();this.$28();return this};c.setStartAndEndAt=function(a,b){if(a>=b)throw new Error("Cannot set the start time before the end time.");else if(b<=a)throw new Error("Cannot set the end time before the start time.");this.$22=a;this.$21=b;return this};c.setStartAt=function(a){if(a>=this.$21)throw new Error("Cannot set the start time before the end time.");this.$22=a;return this};c.setEndAt=function(a){if(a<=this.$22)throw new Error("Cannot set the end time before the start time.");this.$21=a;return this};c.getDuration=function(){return this.$5};c.getFrameRate=function(){return this.$6};c.getIntrinsicSize=function(){return[this.$23.width.intrinsic,this.$23.height.intrinsic]};c.getWidth=function(){return this.$23.width.logical};c.getHeight=function(){return this.$23.height.logical};c.setWidth=function(a){this.$23.setWidth(a);this.$27();return this};c.setHeight=function(a){this.$23.setHeight(a);this.$27();return this};c.getDecodedAsset=function(){return babelHelpers["extends"]({},this.$1)};c.setDecodedAsset=function(a){this.$1=a;this.$5=a.doc.duration()*1e3;this.$6=a.doc.frameRate();this.$20=a.doc.rootLayer();this.$24=new(b("KeyframesVideoManager"))(a);this.$28();this.$31();return this};c.resetDimensions=function(){this.$23.reset();this.$27();return this};c.onError=function(a){this.$12=a;return this};c.onRepeatEnd=function(a){this.$13=a;return this};c.onProgress=function(a,b){this.$14=a&&new B(a,b);return this};c.getProgress=function(){return this.$17};c.getElement=function(){return this.$2};c.hasPerformanceLogging=function(){return!!this.$15};c.redrawIfNeeded=function(){(this.$10||this.$9)&&(this.$10&&this.$32(),this.$9&&this.$33(this.$17),this.$14&&this.$14.callImmediately(this.$17));return this};c.waitForVideoUpdate=function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:a.next=2;return b("regeneratorRuntime").awrap(this.$25);case 2:case"end":return a.stop()}},null,this)};c.$29=function(a){this.$25=a,b("promiseDone")(a)};c.$27=function(){this.$10=!0,this.$28()};c.$28=function(){this.$9=!0,this.$7.isRunning()||this.$7.start(1)};c.$31=function(){C(this.$1,function(a){return a.animationDidLoad()})};c.$30=function(){var a=this;C(this.$1,function(b){return b.animationWillRepeat(a.$11,a.$19)})};c.$34=function(a){a=Math.round(a/x-1);a>0&&(this.$15&&this.$15.addFrameDrop(a),this.$12&&this.$12(w.ERROR_FRAMEDROP,a))};return a}();e.exports=f}),null); __d("URLMatcherConfig",[],(function(a,b,c,d,e,f){e.exports={tlds:"(?:\\.(com|\ud55c\uad6d|\uc0bc\uc131|\ub2f7\ucef4|\ub2f7\ub137|\u9999\u6e2f|\u9999\u683c\u91cc\u62c9|\u9910\u5385|\u98df\u54c1|\u98de\u5229\u6d66|\u96fb\u8a0a\u76c8\u79d1|\u96c6\u56e2|\u901a\u8ca9|\u8d2d\u7269|\u8c37\u6b4c|\u8bfa\u57fa\u4e9a|\u8054\u901a|\u7f51\u7edc|\u7f51\u7ad9|\u7f51\u5e97|\u7f51\u5740|\u7ec4\u7ec7\u673a\u6784|\u79fb\u52a8|\u73e0\u5b9d|\u70b9\u770b|\u6fb3\u9580|\u6e38\u620f|\u6de1\u9a6c\u9521|\u673a\u6784|\u66f8\u7c4d|\u65f6\u5c1a|\u65b0\u95fb|\u65b0\u52a0\u5761|\u653f\u5e9c|\u653f\u52a1|\u624b\u8868|\u624b\u673a|\u6211\u7231\u4f60|\u6148\u5584|\u5fae\u535a|\u5e7f\u4e1c|\u5de5\u884c|\u5bb6\u96fb|\u5a31\u4e50|\u5929\u4e3b\u6559|\u5927\u62ff|\u5927\u4f17\u6c7d\u8f66|\u5728\u7ebf|\u5609\u91cc\u5927\u9152\u5e97|\u5609\u91cc|\u5546\u6807|\u5546\u5e97|\u5546\u57ce|\u53f0\u7063|\u53f0\u6e7e|\u516c\u76ca|\u516c\u53f8|\u516b\u5366|\u5065\u5eb7|\u4fe1\u606f|\u4f5b\u5c71|\u4f01\u4e1a|\u4e2d\u6587\u7f51|\u4e2d\u570b|\u4e2d\u56fd|\u4e2d\u4fe1|\u4e16\u754c|\u30dd\u30a4\u30f3\u30c8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|\u30bb\u30fc\u30eb|\u30b9\u30c8\u30a2|\u30b3\u30e0|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u307f\u3093\u306a|\u10d2\u10d4|\u0e44\u0e17\u0e22|\u0e04\u0e2d\u0e21|\u0dbd\u0d82\u0d9a\u0dcf|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u0cad\u0cbe\u0cb0\u0ca4|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|\u0b2d\u0b3e\u0b30\u0b24|\u0aad\u0abe\u0ab0\u0aa4|\u0a2d\u0a3e\u0a30\u0a24|\u09ad\u09be\u09f0\u09a4|\u09ad\u09be\u09b0\u09a4|\u09ac\u09be\u0982\u09b2\u09be|\u0938\u0902\u0917\u0920\u0928|\u092d\u093e\u0930\u094b\u0924|\u092d\u093e\u0930\u0924\u092e\u094d|\u092d\u093e\u0930\u0924|\u0928\u0947\u091f|\u0915\u0949\u092e|\u0680\u0627\u0631\u062a|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0647\u0645\u0631\u0627\u0647|\u0645\u0648\u0642\u0639|\u0645\u0648\u0628\u0627\u064a\u0644\u064a|\u0645\u0644\u064a\u0633\u064a\u0627|\u0645\u0635\u0631|\u0643\u0648\u0645|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0642\u0637\u0631|\u0641\u0644\u0633\u0637\u064a\u0646|\u0639\u0645\u0627\u0646|\u0639\u0631\u0628|\u0639\u0631\u0627\u0642|\u0634\u0628\u0643\u0629|\u0633\u0648\u0631\u064a\u0629|\u0633\u0648\u062f\u0627\u0646|\u062a\u0648\u0646\u0633|\u0628\u06be\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0628\u0627\u0632\u0627\u0631|\u0628\u0627\u0631\u062a|\u0627\u06cc\u0631\u0627\u0646|\u0627\u0645\u0627\u0631\u0627\u062a|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0628\u0648\u0638\u0628\u064a|\u05e7\u05d5\u05dd|\u0570\u0561\u0575|\u049b\u0430\u0437|\u0443\u043a\u0440|\u0441\u0440\u0431|\u0441\u0430\u0439\u0442|\u0440\u0444|\u0440\u0443\u0441|\u043e\u0440\u0433|\u043e\u043d\u043b\u0430\u0439\u043d|\u043c\u043e\u0441\u043a\u0432\u0430|\u043c\u043e\u043d|\u043c\u043a\u0434|\u043a\u043e\u043c|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0435\u044e|\u0434\u0435\u0442\u0438|\u0431\u0435\u043b|\u0431\u0433|\u03b5\u03bb|zw|zuerich|zone|zm|zippo|zip|zero|zara|zappos|za|yun|yt|youtube|you|yokohama|yoga|yodobashi|ye|yandex|yamaxun|yahoo|yachts|xyz|xxx|xperia|xn--zfr164b|xn--ygbi2ammx|xn--yfro4i67o|xn--y9a3aq|xn--xkc2dl3a5ee0h|xn--xkc2al3hye2a|xn--xhq521b|xn--wgbl6a|xn--wgbh1c|xn--w4rs40l|xn--w4r85el8fhu5dnra|xn--vuq861b|xn--vhquv|xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--unup4y|xn--tiq49xqyj|xn--tckwe|xn--t60b56a|xn--ses554g|xn--s9brj9c|xn--rvc1e0am3e|xn--rovu88b|xn--rhqv96g|xn--qxam|xn--qcka1pmc|xn--q9jyb4c|xn--pssy2u|xn--pgbs0dh|xn--pbt977c|xn--p1ai|xn--p1acf|xn--ogbpf8fl|xn--o3cw4h|xn--nyqy26a|xn--nqv7fs00ema|xn--nqv7f|xn--node|xn--ngbrx|xn--ngbe9e0a|xn--ngbc5azd|xn--mxtq1m|xn--mk1bu44c|xn--mix891f|xn--mgbx4cd0ab|xn--mgbtx2b|xn--mgbt3dhd|xn--mgbpl2fh|xn--mgbi4ecexp|xn--mgbgu82a|xn--mgberp4a5d4ar|xn--mgbca7dzdo|xn--mgbc0a9azcg|xn--mgbbh1a71e|xn--mgbbh1a|xn--mgbb9fbpob|xn--mgbayh7gpa|xn--mgbai9azgqp6j|xn--mgbab2bd|xn--mgbaam7a8h|xn--mgbaakc7dvf|xn--mgba7c0bbn0a|xn--mgba3a4f16a|xn--mgba3a3ejt|xn--mgb9awbf|xn--lgbbat1ad8j|xn--l1acc|xn--kput3i|xn--kpu716f|xn--kpry57d|xn--kprw13d|xn--kcrx77d1x4a|xn--jvr189m|xn--jlq61u9w7b|xn--j6w193g|xn--j1amh|xn--j1aef|xn--io0a7i|xn--imr513n|xn--i1b6b1a6a2e|xn--hxt814e|xn--h2brj9c8c|xn--h2brj9c|xn--h2breg3eve|xn--gk3at1e|xn--gecrj9c|xn--gckr3f0f|xn--g2xx48c|xn--fzys8d69uvgm|xn--fzc2c9e2c|xn--fpcrj9c3d|xn--flw351e|xn--fjq720a|xn--fiqz9s|xn--fiqs8s|xn--fiq64b|xn--fiq228c5hs|xn--fhbei|xn--fct429k|xn--estv75g|xn--efvy88h|xn--eckvdtc9d|xn--e1a4c|xn--d1alf|xn--d1acj3b|xn--czru2d|xn--czrs0t|xn--czr694b|xn--clchc0ea0b2g2a9gcd|xn--cg4bki|xn--cck2b3b|xn--c2br7g|xn--c1avg|xn--bck1b9a5dre4c|xn--b4w605ferd|xn--9krt00a|xn--9et52u|xn--9dbq2a|xn--90ais|xn--90ae|xn--90a3ac|xn--8y0a063a|xn--80aswg|xn--80asehdb|xn--80aqecdr1a|xn--80ao21a|xn--80adxhks|xn--6qq986b3xl|xn--6frz82g|xn--5tzm5g|xn--5su34j936bgsg|xn--55qx5d|xn--55qw42g|xn--54b7fta0cc|xn--4gbrim|xn--45q11c|xn--45brj9c|xn--45br5cyl|xn--42c2d9a|xn--3pxu8k|xn--3oq18vl8pn36a|xn--3hcrj9c|xn--3e0b707e|xn--3ds443g|xn--3bst00m|xn--30rr7y|xn--2scrj9c|xn--1qqw23a|xn--1ck2e1b|xn--11b4c3d|xin|xihuan|xfinity|xerox|xbox|wtf|wtc|ws|wow|world|works|work|woodside|wolterskluwer|wme|winners|wine|windows|win|williamhill|wiki|wien|whoswho|wf|weir|weibo|wedding|wed|website|weber|webcam|weatherchannel|weather|watches|watch|warman|wanggou|wang|walter|walmart|wales|vuelos|vu|voyage|voto|voting|vote|volvo|volkswagen|vodka|vn|vlaanderen|vivo|viva|vistaprint|vista|vision|visa|virgin|vip|vin|villas|viking|vig|video|viajes|vi|vg|vet|versicherung|verm\xf6gensberatung|verm\xf6gensberater|verisign|ventures|vegas|ve|vc|vanguard|vana|vacations|va|uz|uy|us|ups|uol|uno|university|unicom|uk|ug|uconnect|ubs|ubank|ua|tz|tw|tvs|tv|tushu|tunes|tui|tube|tt|trv|trust|travelersinsurance|travelers|travelchannel|travel|training|trading|trade|tr|toys|toyota|town|tours|total|toshiba|toray|top|tools|tokyo|today|to|tn|tmall|tm|tl|tkmaxx|tk|tjx|tjmaxx|tj|tirol|tires|tips|tiffany|tienda|tickets|tiaa|theatre|theater|thd|th|tg|tf|teva|tennis|temasek|telefonica|telecity|tel|technology|tech|team|tdk|td|tci|tc|taxi|tax|tattoo|tatar|tatamotors|target|taobao|talk|taipei|tab|sz|systems|symantec|sydney|sy|sx|swiss|swiftcover|swatch|sv|suzuki|surgery|surf|support|supply|supplies|sucks|su|style|study|studio|stream|store|storage|stockholm|stcgroup|stc|statoil|statefarm|statebank|starhub|star|staples|stada|st|srt|srl|sr|spreadbetting|spot|sport|spiegel|space|soy|sony|song|solutions|solar|sohu|software|softbank|social|soccer|so|sncf|sn|smile|smart|sm|sling|sl|skype|sky|skin|ski|sk|sj|site|singles|sina|silk|si|shriram|showtime|show|shouji|shopping|shop|shoes|shiksha|shia|shell|shaw|sharp|shangrila|sh|sg|sfr|sexy|sex|sew|seven|ses|services|sener|select|seek|security|secure|seat|search|se|sd|scot|scor|scjohnson|science|schwarz|schule|school|scholarships|schmidt|schaeffler|scb|sca|sc|sbs|sbi|sb|saxo|save|sas|sarl|sapo|sap|sanofi|sandvikcoromant|sandvik|samsung|samsclub|salon|sale|sakura|safety|safe|saarland|sa|ryukyu|rwe|rw|run|ruhr|rugby|ru|rsvp|rs|room|rogers|rodeo|rocks|rocher|ro|rmit|rip|rio|ril|rightathome|ricoh|richardli|rich|rexroth|reviews|review|restaurant|rest|republican|report|repair|rentals|rent|ren|reliance|reit|reisen|reise|rehab|redumbrella|redstone|red|recipes|realty|realtor|realestate|read|re|raid|radio|racing|qvc|quest|quebec|qpon|qa|py|pwc|pw|pub|pt|ps|prudential|pru|protection|property|properties|promo|progressive|prof|productions|prod|pro|prime|press|praxi|pramerica|pr|post|porn|politie|poker|pohl|pnc|pn|pm|plus|plumbing|playstation|play|place|pl|pk|pizza|pioneer|pink|ping|pin|pid|pictures|pictet|pics|piaget|physio|photos|photography|photo|phone|philips|phd|pharmacy|ph|pg|pfizer|pf|pet|pe|pccw|pay|passagens|party|parts|partners|pars|paris|panerai|panasonic|page|pa|ovh|ott|otsuka|osaka|origins|organic|org|orange|oracle|open|ooo|onyourside|online|onl|onion|ong|one|omega|om|ollo|oldnavy|olayangroup|olayan|okinawa|office|off|observer|obi|nz|nyc|nu|ntt|nrw|nra|nr|np|nowtv|nowruz|now|norton|northwesternmutual|nokia|no|nl|nissay|nissan|ninja|nikon|nike|nico|ni|nhk|ngo|ng|nfl|nf|nexus|nextdirect|next|news|newholland|new|neustar|network|netflix|netbank|net|nec|ne|nc|nba|navy|natura|nationwide|name|nagoya|nadex|nab|na|mz|my|mx|mw|mv|mutual|museum|mu|mtr|mtn|mt|msd|ms|mr|mq|mp|movistar|movie|mov|motorcycles|moto|moscow|mortgage|mormon|mopar|monster|money|monash|mom|moi|moe|moda|mobily|mobile|mobi|mo|mn|mma|mm|mls|mlb|ml|mk|mitsubishi|mit|mint|mini|mil|microsoft|miami|mh|mg|metlife|merckmsd|meo|menu|men|memorial|meme|melbourne|meet|media|med|me|md|mckinsey|mc|mba|mattel|maserati|marshalls|marriott|markets|marketing|market|map|mango|management|man|makeup|maison|maif|madrid|macys|ma|ly|lv|luxury|luxe|lupin|lundbeck|lu|ltda|ltd|lt|ls|lr|lplfinancial|lpl|love|lotto|lotte|london|lol|loft|locus|locker|loans|loan|lk|llc|lixil|living|live|lipsy|link|linde|lincoln|limo|limited|lilly|like|lighting|lifestyle|lifeinsurance|life|lidl|liaison|li|lgbt|lexus|lego|legal|lefrak|leclerc|lease|lds|lc|lb|lawyer|law|latrobe|latino|lat|lasalle|lanxess|landrover|land|lancome|lancia|lancaster|lamer|lamborghini|ladbrokes|lacaixa|la|kz|kyoto|ky|kw|kuokgroup|kred|krd|kr|kpn|kpmg|kp|kosher|komatsu|koeln|kn|km|kiwi|kitchen|kindle|kinder|kim|kia|ki|kh|kg|kfh|kerryproperties|kerrylogistics|kerryhotels|ke|kddi|kaufen|juniper|juegos|jprs|jpmorgan|jp|joy|jot|joburg|jobs|jo|jnj|jmp|jm|jll|jlc|jio|jewelry|jetzt|jeep|je|jcp|jcb|java|jaguar|iwc|iveco|itv|itau|it|istanbul|ist|ismaili|iselect|is|irish|ir|iq|ipiranga|io|investments|intuit|international|intel|int|insure|insurance|institute|ink|ing|info|infiniti|industries|inc|in|immobilien|immo|imdb|imamat|im|il|ikano|ifm|ieee|ie|id|icu|ice|icbc|ibm|hyundai|hyatt|hughes|hu|ht|hsbc|hr|how|house|hotmail|hotels|hoteles|hot|hosting|host|hospital|horse|honeywell|honda|homesense|homes|homegoods|homedepot|holiday|holdings|hockey|hn|hm|hkt|hk|hiv|hitachi|hisamitsu|hiphop|hgtv|hermes|here|helsinki|help|healthcare|health|hdfcbank|hdfc|hbo|haus|hangout|hamburg|hair|gy|gw|guru|guitars|guide|guge|gucci|guardian|gu|gt|gs|group|grocery|gripe|green|gratis|graphics|grainger|gr|gq|gp|gov|got|gop|google|goog|goodyear|goodhands|goo|golf|goldpoint|gold|godaddy|gn|gmx|gmo|gmbh|gmail|gm|globo|global|gle|glass|glade|gl|giving|gives|gifts|gift|gi|gh|ggee|gg|gf|george|genting|gent|gea|ge|gdn|gd|gbiz|gb|gay|garden|gap|games|game|gallup|gallo|gallery|gal|ga|fyi|futbol|furniture|fund|fun|fujixerox|fujitsu|ftr|frontier|frontdoor|frogans|frl|fresenius|free|fr|fox|foundation|forum|forsale|forex|ford|football|foodnetwork|food|foo|fo|fm|fly|flowers|florist|flir|flights|flickr|fk|fj|fitness|fit|fishing|fish|firmdale|firestone|fire|financial|finance|final|film|fido|fidelity|fiat|fi|ferrero|ferrari|feedback|fedex|fast|fashion|farmers|farm|fans|fan|family|faith|fairwinds|fail|fage|extraspace|express|exposed|expert|exchange|everbank|events|eus|eurovision|eu|etisalat|et|esurance|estate|esq|es|erni|ericsson|er|equipment|epson|epost|enterprises|engineering|engineer|energy|emerck|email|eg|ee|education|edu|edeka|eco|ec|eat|earth|dz|dvr|dvag|durban|dupont|duns|dunlop|duck|dubai|dtv|drive|download|dot|domains|doha|dog|dodge|doctor|docs|do|dnp|dm|dk|dj|diy|dish|discover|discount|directory|direct|digital|diet|diamonds|dhl|dev|design|desi|dentist|dental|democrat|delta|deloitte|dell|delivery|degree|deals|dealer|deal|de|dds|dclk|day|datsun|dating|date|data|dance|dad|dabur|cz|cyou|cymru|cy|cx|cw|cv|cuisinella|cu|csc|cruises|cruise|crs|crown|cricket|creditunion|creditcard|credit|cr|cpa|courses|coupons|coupon|country|corsica|coop|cool|cookingchannel|cooking|contractors|contact|consulting|construction|condos|comsec|computer|compare|company|community|commbank|comcast|com|cologne|college|coffee|codes|coach|co|cn|cm|clubmed|club|cloud|clothing|clinique|clinic|click|cleaning|claims|cl|ck|cityeats|city|citic|citi|citadel|cisco|circle|cipriani|ci|church|chrysler|chrome|christmas|chintai|cheap|chat|chase|channel|chanel|ch|cg|cfd|cfa|cf|cern|ceo|center|ceb|cd|cc|cbs|cbre|cbn|cba|catholic|catering|cat|casino|cash|caseih|case|casa|cartier|cars|careers|career|care|cards|caravan|car|capitalone|capital|capetown|canon|cancerresearch|camp|camera|cam|calvinklein|call|cal|cafe|cab|ca|bzh|bz|by|bw|bv|buzz|buy|business|builders|build|bugatti|budapest|bt|bs|brussels|brother|broker|broadway|bridgestone|bradesco|br|box|boutique|bot|boston|bostik|bosch|boots|booking|book|boo|bond|bom|bofa|boehringer|boats|bo|bnpparibas|bnl|bn|bmw|bms|bm|blue|bloomberg|blog|blockbuster|blanco|blackfriday|black|bj|biz|bio|bingo|bing|bike|bid|bible|bi|bharti|bh|bg|bf|bet|bestbuy|best|berlin|bentley|beer|beauty|beats|be|bd|bcn|bcg|bbva|bbt|bbc|bb|bayern|bauhaus|basketball|baseball|bargains|barefoot|barclays|barclaycard|barcelona|bar|bank|band|bananarepublic|banamex|baidu|baby|ba|azure|az|axa|ax|aws|aw|avianca|autos|auto|author|auspost|audio|audible|audi|auction|au|attorney|athleta|at|associates|asia|asda|as|arte|art|arpa|army|archi|aramco|arab|ar|aquarelle|aq|apple|app|apartments|aol|ao|anz|anquan|android|analytics|amsterdam|amica|amfam|amex|americanfamily|americanexpress|am|alstom|alsace|ally|allstate|allfinanz|alipay|alibaba|alfaromeo|al|akdn|airtel|airforce|airbus|aigo|aig|ai|agency|agakhan|ag|africa|afl|afamilycompany|af|aetna|aero|aeg|ae|adult|ads|adac|ad|actor|active|aco|accountants|accountant|accenture|academy|ac|abudhabi|abogado|able|abc|abbvie|abbott|abb|abarth|aarp|aaa))"}}),null); __d("CometOnBeforeUnload.react",["useOnBeforeUnload"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.onBeforeUnload;c("useOnBeforeUnload")(a);return null}g["default"]=a}),98); __d("CometComposerFormRefContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({current:null});g["default"]=b}),98); __d("CometComposerPluginsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({decorators:new Map(),handlers:new Map()});g["default"]=b}),98); __d("CometComposerPluginsDispatchContext",["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("CometComposerPreSubmitHooksContext",["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("cometComposerPluginsReducers",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){var c=a.get(b);if(c!=null){a.set(b,c+1);return a}else{c=new Map(a);c.set(b,1);return c}}function h(a,b){var c=a.get(b);if(c!=null)if(c>1)a.set(b,c-1);else{c=new Map(a);c["delete"](b);return c}return a}function a(a,b){switch(b.type){case"install_decorator":case"uninstall_decorator":var c=b.type==="install_decorator"?g(a.decorators,b.decorator):h(a.decorators,b.decorator);if(c!==a.decorators)return babelHelpers["extends"]({},a,{decorators:c});break;case"install_handler":case"uninstall_handler":c=b.type==="install_handler"?g(a.handlers,b.handler):h(a.handlers,b.handler);if(c!==a.handlers)return babelHelpers["extends"]({},a,{handlers:c});break}return a}f["default"]=a}),66); __d("createEmptyCometComposerViewStateWithTarget",["createEmptyCometComposerViewState"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return function(b){b=c("createEmptyCometComposerViewState")(b);return babelHelpers["extends"]({},b,{target:a})}}g["default"]=a}),98); __d("getComposerPluginEligibility",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Set();for(var d in a){var e=a[d];e=e(b);e!=null&&e.forEach(function(a){return c.add(a)})}return c}f["default"]=a}),66); __d("getComposerValidationErrors",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c={};for(var d in a){var e=a[d];e=e(b);e!=null&&(c[d]=e)}return c}f["default"]=a}),66); __d("reduceComposerViewState",["cr:10563"],(function(a,b,c,d,e,f,g){"use strict";function a(a,c,d,e,f){var g=d;d=a.current.keys();for(var a=d,d=Array.isArray(a),h=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(d){if(h>=a.length)break;i=a[h++]}else{h=a.next();if(h.done)break;i=h.value}i=i;g=i(g,f)}return babelHelpers["extends"]({},g,{isDirty:Array.from(c.current.keys()).some(function(a){a=a(e,g);return a===!0||a==="UPDATED"||a==="DELETED"}),isEmptyMetaData:{isEmpty:b("cr:10563")?b("cr:10563")(g):!1,useIsEmpty:(h=(i=g.isEmptyMetaData)==null?void 0:i.useIsEmpty)!=null?h:!0}})}g["default"]=a}),98); __d("CometComposer.react",["CometComposerFormRefContext","CometComposerIneligibilityContext","CometComposerLoggerDispatcherContext","CometComposerPluginsContext","CometComposerPluginsDispatchContext","CometComposerPreSubmitHooksContext","CometComposerValidationErrorsContext","CometComposerViewStateAlteredContext","CometComposerViewStateContext","CometComposerViewStateDispatcherContext","CometComposerViewStateReducersContext","CometOnBeforeUnload.react","FBLogger","Promise","cometComposerPluginsReducers","createEmptyCometComposerViewStateWithTarget","getComposerPluginEligibility","getComposerUnsavedChangesAlert","getComposerValidationErrors","orEmptyArray","react","reduceComposerViewState","shallowEqual","useComposerTerminalEventLog"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useImperativeHandle,k=e.useMemo,l=e.useReducer,m=e.useRef;function a(a,d){var e=a.beginningViewState,f=a.children,g=a.eligibilityCheckers,n=a.loggers,o=a.onBeforeViewStateChange,p=a.onSubmitCommit,q=a.onSubmitHalt,r=a.onSubmitStart,s=a.onValidationErrors,t=a.registerOnBeforeUnload;t=t===void 0?!0:t;var u=a.target,v=a.unalteredBeginningViewState,w=a.validators,x=m(new Map()),y=m(new Map()),z=m({}),A=m(new Set()),B=m(new Map()),C=m(null);a=m(null);e=l(function(a,b){b=c("reduceComposerViewState")(x,y,a,v,b);C.current=b;o&&o(b,a);return b},e,c("createEmptyCometComposerViewStateWithTarget")(u));var D=e[0];e=e[1];var E=function(){if(!Boolean(D==null?void 0:D.ignoreDirtyFlag))return c("getComposerUnsavedChangesAlert")(D==null?void 0:D.isDirty)};j(d,function(){return{getViewState:function(){return D}}},[D]);d=l(c("cometComposerPluginsReducers"),{decorators:new Map(),handlers:new Map()});var F=d[0];d=d[1];var G=k(function(){return w!=null?c("getComposerValidationErrors")(w,D):{}},[w,D]);c("shallowEqual")(z.current,G)||(z.current=G);G=k(function(){return g!=null?c("getComposerPluginEligibility")(g,D):new Set()},[g,D]);A.current.size===G.size&&Array.from(G).every(function(a){return A.current.has(a)})||(A.current=G);var H=i(function(a,c){a!=null&&a.type!=="press"&&a.preventDefault();if(Object.keys(z.current).length>0){s&&s(z.current);return}var d=C.current;if(d==null)return;r&&r();a=B.current;if(a){a=Array.from(a.keys()).reduce(function(a,e){return a.then(function(){return new(b("Promise"))(function(a,b){e({onContinue:a,onHalt:b},d,c)})})},b("Promise").resolve());a.then(function(){p(d,c)})["catch"](function(){q&&q()})}else p(d,c)},[p,q,r,s]),I=D.creationSessionID;G=k(function(){return function(a){I==null?c("FBLogger")("comet_composer").mustfix("creationSessionID should be defined in composer of type "+String(u==null?void 0:u.type)):c("orEmptyArray")(n).map(function(b){return b(a,I,{target:u})})}},[I,u,n]);c("useComposerTerminalEventLog")(function(){return!Boolean(D==null?void 0:D.ignoreDirtyFlag)&&Boolean(D==null?void 0:D.isDirty)},function(){return I});return h.jsx(c("CometComposerPluginsDispatchContext").Provider,{value:d,children:h.jsx(c("CometComposerPluginsContext").Provider,{value:F,children:h.jsx(c("CometComposerViewStateReducersContext").Provider,{value:x,children:h.jsx(c("CometComposerViewStateAlteredContext").Provider,{value:y,children:h.jsx(c("CometComposerViewStateContext").Provider,{value:D,children:h.jsx(c("CometComposerViewStateDispatcherContext").Provider,{value:e,children:h.jsx(c("CometComposerValidationErrorsContext").Provider,{value:z.current,children:h.jsx(c("CometComposerIneligibilityContext").Provider,{value:A.current,children:h.jsx(c("CometComposerLoggerDispatcherContext").Provider,{value:G,children:h.jsx(c("CometComposerPreSubmitHooksContext").Provider,{value:B,children:h.jsxs(c("CometComposerFormRefContext").Provider,{value:a,children:[h.jsxs("form",{"data-testid":void 0,method:"POST",onSubmit:H,ref:a,children:[k(function(){return f(H)},[f,H]),h.jsx("input",{style:{display:"none"},type:"submit"})]}),t?h.jsx(c("CometOnBeforeUnload.react"),{onBeforeUnload:E}):null]})})})})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";d=h.forwardRef(a);g["default"]=d}),98); __d("useCometComposerDecorator",["CometComposerPluginsDispatchContext","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useEffect;function a(a){var b=h(c("CometComposerPluginsDispatchContext"));i(function(){b({decorator:a,type:"install_decorator"});return function(){return b({decorator:a,type:"uninstall_decorator"})}},[a,b])}g["default"]=a}),98); __d("useCometComposerFormRef",["CometComposerFormRefContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){var a=h(c("CometComposerFormRefContext"));return a.current}g["default"]=a}),98); __d("useCometComposerHandler",["CometComposerPluginsDispatchContext","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useEffect;function a(a){var b=h(c("CometComposerPluginsDispatchContext"));i(function(){b({handler:a,type:"install_handler"});return function(){return b({handler:a,type:"uninstall_handler"})}},[b,a])}g["default"]=a}),98); __d("getSelectionOffsets",[],(function(a,b,c,d,e,f){"use strict";function b(b){var c=a.getSelection();if(c==null||c.rangeCount===0)return null;var d=c.anchorNode,e=c.anchorOffset,f=c.focusNode;c=c.focusOffset;if(d==null||f==null)return null;var g=0,h=-1,i=-1,j=0,k=0,l=b,m=null;outer:while(!0){var n=null;while(!0){var o;l!=null&&l===d&&(e===0||l.nodeType===Node.TEXT_NODE)&&(h=g+e);l!=null&&l===f&&(c===0||l.nodeType===Node.TEXT_NODE)&&(i=g+c);l!=null&&l.nodeType===Node.TEXT_NODE&&(g+=l.nodeValue.length);if((n=(o=l)==null?void 0:o.firstChild)===null)break;m=l;l=n}while(!0){if(l===b)break outer;m===d&&++j===e&&(h=g);m===f&&++k===c&&(i=g);if((n=(o=l)==null?void 0:o.nextSibling)!==null)break;l=m;m=(o=l)==null?void 0:o.parentNode}l=n}return h===-1||i===-1?null:{end:i,isCollapsed:d===f&&c===e,start:h}}f["default"]=b}),66); __d("setSelectionOffsets",[],(function(a,b,c,d,e,f){"use strict";function g(a){a=a;while(a!=null&&a.firstChild!=null)a=a.firstChild;return a}function h(a){a=a;while(a!=null){if(a.nextSibling!=null)return a.nextSibling;a=a.parentNode}return null}function i(a,b){var c=g(a),d=0,e;while(c!=null){if(c.nodeType===Node.TEXT_NODE){e=d+c.textContent.length;if(d<=b&&e>=b)return{node:c,offset:b-d};d=e}e=h(c);c=e!=null?g(e):null;if(c!=null&&c.contains(a))return null}return null}function b(b,c){var d=a.getSelection(),e=b.textContent.length,f=Math.min(c.start,e);c=Math.min(c.end,e);if(!d.extend==null&&f>c){e=c;c=f;f=e}e=i(b,f);b=i(b,c);if(e!=null&&b!=null){var g=document.createRange();g.setStart(e.node,e.offset);d.removeAllRanges();f>c?(d.addRange(g),d.extend(b.node,b.offset)):(g.setEnd(b.node,b.offset),d.addRange(g))}}f["default"]=b}),66); __d("CometPlaintextEditor.react",["FBLogger","ReactDOMComet","clearTimeout","getSelectionOffsets","react","setSelectionOffsets","setTimeout","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={input:{backgroundColor:"g5ia77u1",borderTop:"qu0x051f",borderEnd:"esr5mh6w",borderBottom:"e9989ue4",borderStart:"r7d6kgcz",height:"datstx6m",outline:"lzcic4wl",position:"l9j0dhe7",resize:"ieid39z1",wordBreak:"qv66sw1b",zIndex:"tkr6xdv7"},placeholder:{bottom:"i09qtzwb",color:"pipptul6",end:"n7fi1qx3",overflowX:"ni8dbmo4",overflowY:"stjgntxs",pointerEvents:"hzruof5a",position:"pmk7jnqg",start:"j9ispegn",textOverflow:"ltmttdrg",top:"kr520xx4",userSelect:"abiwlrkh",zIndex:"du4w35lb"},root:{height:"datstx6m",position:"l9j0dhe7",width:"k4urcfbm"}},j=8,k=46,l=13;b=function(b){babelHelpers.inheritsLoose(e,b);function e(){var d,e;for(var f=arguments.length,g=new Array(f),i=0;i0;b=h.jsxs("div",{className:c("stylex")(i.root),"data-testid":void 0,children:[h.jsx("div",babelHelpers["extends"]({},a,{"aria-labelledby":this.props["aria-labelledby"],className:c("stylex")(i.input),contentEditable:!g,onBeforeInput:this.$8,onBlur:this.$11,onCompositionEnd:this.$12,onCompositionStart:this.$13,onCut:this.$14,onFocus:this.$17,onInput:this.$15,onKeyDown:this.$16,onMouseDown:this.$18,onPaste:this.$19,onSelect:this.$20,ref:this.$4})),j||e==null?null:h.jsx("div",{className:c("stylex")(i.placeholder,f),children:e})]});return d!=null?h.jsx("div",{onClick:d,role:"none",children:b}):b};return e}(h.PureComponent);g["default"]=b}),98); __d("DeferredDraftEditor.react",["CometPlaintextEditor.react","SubscriptionsHandler","cr:2012305","react","requireDeferred","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=c("requireDeferred")("DraftEditor.react").__setRef("DeferredDraftEditor.react"),j=c("requireDeferred")("EditorState").__setRef("DeferredDraftEditor.react"),k=c("requireDeferred")("getEditorStateFromContentEditableState").__setRef("DeferredDraftEditor.react"),l={root:{boxSizing:"rq0escxv",height:"datstx6m",width:"k4urcfbm"}};function m(){return{DraftEditor:i.getModuleIfRequireable(),EditorState:j.getModuleIfRequireable(),getEditorStateFromContentEditableState:k.getModuleIfRequireable()}}a=function(a){babelHelpers.inheritsLoose(d,a);function d(){var b,e;for(var f=arguments.length,g=new Array(f),i=0;i0&&b(a)!=null?a:null;E(a);G(!1)}}else A(!1)}},[d,e,g,D,b]),K=c("useDebounced")(J);k(function(){var a={handleKeyCommand:H,keyBindingFn:I,priority:s};q({handler:a,type:"install_handler"});return function(){return q({handler:a,type:"uninstall_handler"})}},[I,H,q,s]);k(function(){K();return function(){K.reset()}},[J,K]);k(function(){if(e!=null&&t!==e&&e.__type==="editor-state-based"){var a=e.draftEditorState;a=g(a);a==null||a.length===0||b(a)==null?J():K()}},[e,g,J,K,t,b]);y=i(function(a){a=o({dataSourceResolver:b,deferredEditorState:e,entry:a,onEditorStateChange:p});a&&(u!=null&&u(),A(!0),E(null))},[b,e,p,u,o]);var L=i(function(){var a=!1,b=w.current;if(b!=null){b=(b=b.getViewRef())==null?void 0:b.current;if(b!=null){var c=document.activeElement;while(c!=null){if(c===b){a=!0;break}c=c.parentNode}}}C(a)},[]),M=i(function(){C(!0)},[]),N=i(function(a){x.current=a},[]),O=i(function(a){if(a)return;u!=null&&u()},[u]);B=w.current==null?!1:B;F=!F&&D!=null&&D.length>0&&(z||B);B=b(D);var P=B.dataSource;B=B.searchResult;if(F&&f!=null&&P!=null&&B!=null)return h.jsx(c("CometMentions.react"),{context:f,dataSource:P,editorHasFocus:z,loggingProvider:n,onAriaChange:v,onBlur:L,onEntriesUpdated:O,onFocus:M,onSelectedEntry:y,onVisibilityChange:N,position:r,queryString:B.matchingString,ref:w,viewItemStrategyRenderer:a});x.current&&(u!=null&&u());x.current=!1;return null}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){return{editorRef:a.editorRef,editorState:a.editorState}});g["default"]=e}),98); __d("useCometComposerMentionsAnchorDecorator",["CometComposerPluginsDispatchContext","CometErrorBoundary.react","CometMentionsBridge.react","gkx","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useContext,k=b.useMemo,l=b.useRef;function m(a){var b=a.children;a.currentBlockKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","currentBlockKey"]);var d=j(c("CometComposerPluginsDispatchContext")),e=c("useComposerViewStateDispatcher")(),f=i(function(a){e({draftEditorState:a,type:"update_draft_editor_state"})},[e]),g=l();return h.jsxs("span",{ref:g,children:[h.jsx(c("CometMentionsBridge.react"),babelHelpers["extends"]({},a,{getAnchorRef:function(){return g.current},onEditorStateChange:f,pluginsDispatcher:d})),b]})}m.displayName=m.name+" [from "+f.id+"]";var n={project:"gemini_composer"};function o(a){return h.jsx(c("CometErrorBoundary.react"),{context:n,fallback:function(){return a.children},children:h.jsx(m,babelHelpers["extends"]({},a))})}o.displayName=o.name+" [from "+f.id+"]";function a(a,b){return k(function(){return{component:h.memo(c("gkx")("3596")?o:m),priority:1,props:a,strategy:b.bind(null,a.dataSourceResolverConfig.resolver,a.currentBlockKey)}},[b,a])}g["default"]=a}),98); __d("useCometComposerMentionsDecorator",["getEntityMatcher","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useMemo;function j(a){var b=a.children,d=a.hasFormattedText,e=a.offsetKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","hasFormattedText","offsetKey"]);a.blockKey;var f=a.contentState;a.decoratedText;var g=a.entityKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["blockKey","contentState","decoratedText","entityKey"]);var i="regular";if(g!=null){f=f.getEntity(g).getData();f.mentionDecorType!=null&&(i=f.mentionDecorType)}return h.jsx("span",babelHelpers["extends"]({},a,{className:c("stylex").dedupe(!d&&i==="regular"?{"background-color-1":"diy96o5h"}:{},!d&&i==="weak"?{"background-color-1":"ms7hmo2b","color-1":"m9osqain"}:null,d?{"text-decoration-0.1":"oo483o9r"}:null),"data-offset-key":e,spellCheck:!1,children:b}))}j.displayName=j.name+" [from "+f.id+"]";function a(a){var b=c("getEntityMatcher")(function(a){return a.getType()==="MENTION"});return i(function(){return{component:h.memo(j),priority:1,props:{hasFormattedText:a},strategy:b}},[a,b])}g["default"]=a}),98); __d("CometComposerMentionsPlugin.react",["cometMentionDecoratorStrategy","composerEditorStateViewStateReducer","react","useCometComposerDecorator","useCometComposerMentionsAnchorDecorator","useCometComposerMentionsDecorator","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g){"use strict";d("react");function a(a){var b=a.hasFormattedText;b=b===void 0?!1:b;a=babelHelpers.objectWithoutPropertiesLoose(a,["hasFormattedText"]);c("useComposerViewStateReducer")(c("composerEditorStateViewStateReducer"));c("useCometComposerDecorator")(c("useCometComposerMentionsDecorator")(b));c("useCometComposerDecorator")(c("useCometComposerMentionsAnchorDecorator")(babelHelpers["extends"]({},a),d("cometMentionDecoratorStrategy").decoratorStrategy));return null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FeedComposerCometHashtagsWithTypeaheadPluginDeferred.react",["createComposerDeferredPlugin","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";d("react");a=c("createComposerDeferredPlugin")(c("requireDeferred")("FeedComposerCometHashtagsWithTypeaheadPlugin.react").__setRef("FeedComposerCometHashtagsWithTypeaheadPluginDeferred.react"));g["default"]=a}),98); __d("composerLinkAttachmentReducer",["composerAttachmentAreaReducer","emptyFunction","orEmptyArray"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var d;if(((d=a.attachmentArea)==null?void 0:d.activeAttachmentType)==="FORMATTED_TEXT"||((d=a.attachmentArea)==null?void 0:d.activeAttachmentType)==="SHARE")return a;var e=b.url;b=[].concat(c("orEmptyArray")((d=a.linkAttachment)==null?void 0:d.urlStack).filter(function(a){return!a.startsWith(e)&&!e.startsWith(a)}),[e]);var f=(d=a.linkAttachment)==null?void 0:d.selectedLinkPreview;f!=null&&(b=b.filter(function(a){return a!==f}).concat(f));return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{url:b[b.length-1],urlStack:b})})}function i(a,b){var d;d=c("orEmptyArray")((d=a.linkAttachment)==null?void 0:d.urlStack);if(d.length<=1){b.onRemovedLast(!0);return babelHelpers["extends"]({},a,{attachmentArea:{activeAttachmentType:void 0,previousAttachmentType:"LINK"},linkAttachment:void 0})}d=d.slice(0,-1);var e=d[d.length-1];b.onRemovedLast(!1);return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{selectedLinkPreview:void 0,url:e,urlStack:d})})}function j(a){return babelHelpers["extends"]({},a,{attachmentArea:{activeAttachmentType:void 0,previousAttachmentType:"LINK"},linkAttachment:void 0})}function k(a,b){var c;if(a.useOriginalContentLinkAttachment===!0)return babelHelpers["extends"]({},a,{originalContentLinkAttachment:babelHelpers["extends"]({},a.originalContentLinkAttachment,{linkPreview:{share_scrape_data:b.shareScrapeData},url:b.url})});else if(((c=a.linkAttachment)==null?void 0:c.url)!==b.url)return a;return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{linkPreview:{share_scrape_data:b.shareScrapeData},url:b.url})})}function l(a,b){return babelHelpers["extends"]({},a,{useOriginalContentLinkAttachment:b.useOriginalContentLinkAttachment})}function m(a,b){var d;d=c("orEmptyArray")((d=a.linkAttachment)==null?void 0:d.urlStack).filter(function(a){return a!==b.selectedLinkPreview}).concat(b.selectedLinkPreview);return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{selectedLinkPreview:b.selectedLinkPreview,url:b.selectedLinkPreview,urlStack:d})})}function n(a,b){var d=a.linkAttachment,e=c("orEmptyArray")(d==null?void 0:d.customAttachments);e=e[0].throwback_card;return d==null||e==null?a:babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},d,{customAttachments:[{throwback_card:babelHelpers["extends"]({},e,{media_ids:b.mediaIds})}]})})}function a(a,b){switch(b.type){case"ADD_LINK_URL":return h(a,b);case"REMOVE_LINK_URL":return i(a,b);case"REMOVE_ATTACHMENT_TYPE":var e=d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"LINK",a);if(e)return i(a,{onRemovedLast:c("emptyFunction"),type:"REMOVE_LINK_URL"});else return a;case"REMOVE_ALL_LINKS":return j(a);case"SET_LINK_PREVIEW":return k(a,b);case"SET_USE_ORIGINAL_CONTENT":return l(a,b);case"SET_SELECTED_LINK_PREVIEW":return m(a,b);case"SET_THROWBACK_MEDIA":return n(a,b)}return a}g["default"]=a}),98); __d("handleSelectedEntityEntryForMentions",["FBLogger","cometReplaceMentionedTextInEditorState","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.dataSourceResolver,d=a.deferredEditorState,e=a.entry,f=a.getReplacementString,g=a.getSearchText,h=a.onEditorStateChange;a=a.onMentionsCreateContentState;if(d==null||d.__type!=="editor-state-based")return!1;d=d.draftEditorState;g=g(d);if(g==null){c("FBLogger")("CometComposer").warn("Race condition where the user selected a mention but theres no text in the editor");return!1}b=b(g);g=b.searchResult;if(g==null){c("recoverableViolation")("onPressEntry was called and no search result was found for the query","CometComposer");return!1}b=c("cometReplaceMentionedTextInEditorState")(e,d,g.replaceableString.length,a,f);if(d!==b){h(b);return!0}return!1}g["default"]=a}),98); __d("useMentionsHandlerForSelectedEntry",["handleSelectedEntityEntryForMentions"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.getReplacementString,d=a.getSearchText,e=a.onMentionsCreateContentState;return function(a){var f=a.dataSourceResolver,g=a.deferredEditorState,h=a.entry;a=a.onEditorStateChange;return c("handleSelectedEntityEntryForMentions")({dataSourceResolver:f,deferredEditorState:g,entry:h,getReplacementString:b,getSearchText:d,onEditorStateChange:a,onMentionsCreateContentState:e})}}g["default"]=a}),98); __d("URLMatcher",["URLMatcherConfig"],(function(a,b,c,d,e,f){c="!\"#%&'()*,-./:;<>?@[\\]^_`{|}";d="\u2000-\u206f\xab\xbb\uff08\uff09";f="(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])";var g="(?:(?:ht|f)tps?)://";f="(?:(?:"+f+"[.]){3}"+f+")";var h="\\[(?:(?:[A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4})\\]",i="(?:\\b)www\\d{0,3}[.]";c="[^\\s"+c+d+"]";d="(?:(?:(?:[.:\\-_%@]|"+c+")*"+c+")|"+h+")";c="(?::\\d+){0,1}";var j="(?=[/?#])";b=b("URLMatcherConfig").tlds;var k="(?:(?:"+g+d+c+")|(?:"+f+c+")|(?:"+h+c+")|(?:"+i+d+b+c+")|(?:"+d+b+c+j+"))";j="(?:(?:"+g+d+c+")|(?:"+f+c+")|(?:"+h+c+")|(?:"+i+d+b+c+")|(?:"+d+b+c+"))";f="[/#?]";h="\\([^\\s()<>]+\\)";var l="[^\\s()<>?#]+",m=new RegExp(k,"im"),n="^\\[[0-9]{1,4}:[0-9]{1,4}:[A-Fa-f0-9]{1,4}\\]",o=new RegExp(n,"im"),p="(?:(?:"+f+")(?:(?:"+h+"|"+l+")*)*)*",q=new RegExp("((?:"+j+")(?:"+p+"))","im"),r=new RegExp("((?:"+g+d+c+")|(?:"+i+d+b+c+"))"),s=/[\s\'\";]/,t=new RegExp(f,"im"),u=new RegExp("[\\s!\"#%&'()*,./:;<>?@[\\]^`{|}\xab\xbb\u2000-\u206f\uff08\uff09]","im"),v=new RegExp("[\\s()<>?#]","im"),w=new RegExp("\\s()<>"),x=function(a){if(a!=null&&a.indexOf("@")!=-1)return r.exec(a)?a:null;else return a},y=function(a){return new RegExp("((?:"+k+")(?:"+p+"))",a)};function a(){return q.source}n=function(a){return z(a,y("im"))};h=function(a){return A(a,y("igm"))};l=function(a){return z(a,q)};var z=function(a,b){b=b.exec(a);return b==null||b.length===0?null:x(b[1]||null)},A=function(a,b){a=a.match(b);return a==null?[]:a.filter(Boolean)||[]};j=function(a){return m.exec(a)};g=function(a){return!s.test(a.charAt(a.length-1))};i=function(a){a=a;var b=!1;do{var c=m.exec(a);if(!c)return null;b=!1;if(c[0][0]==="["&&c.index>0&&a[c.index-1]==="@"){var d=o.exec(c[0]);d&&(b=!0,a=a.substr(c.index+d[0].length))}}while(b);if(!c)return null;d=a.substr(c.index+c[0].length);if(d.length===0||!t.test(d[0]))return x(c[0]);b=0;a=0;var e=1,f=0,g=a;for(var h=1;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*/"Uma extens\u00e3o instalada no seu navegador est\u00e1 impedindo que a entrada de texto funcione corretamente. Desative todas as extens\u00f5es e recarregue a p\u00e1gina."/*FBT_CALL*/),h._(/*FBT_CALL*/"A edi\u00e7\u00e3o de texto \u00e9 limitada"/*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("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("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("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("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}f.isThreadUnread=a}),null); __d("MWPThreadsForThreadList.bs",["ReQL.bs","ReQLTable","bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";function a(a,c){return b("ReQL.bs").bounds(b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"threads").index("parentThreadKeyLastActivityTimestampMs").desc,{hd:c,tl:0}),{NAME:"greaterThan",VAL:{hd:b("bs_caml_int64").zero,tl:0}})}f.createIterable=a}),null); __d("MWThreadListSupportedThreadTypes.bs",["MAWGating.bs","MessagingThreadType.bs","gkx"],(function(a,b,c,d,e,f){"use strict";a=b("MAWGating.bs").isArmadillo(void 0)?[b("MessagingThreadType.bs").oneToOne,b("MessagingThreadType.bs").group,b("MessagingThreadType.bs").marketplace,b("MessagingThreadType.bs").folder,b("MessagingThreadType.bs").room,b("MessagingThreadType.bs").secureMessageOverWaOneToOne,b("MessagingThreadType.bs").secureMessageOverWaGroup]:b("gkx")("1950")?[b("MessagingThreadType.bs").oneToOne,b("MessagingThreadType.bs").group,b("MessagingThreadType.bs").marketplace,b("MessagingThreadType.bs").folder,b("MessagingThreadType.bs").room,b("MessagingThreadType.bs").communityGroup,b("MessagingThreadType.bs").communityGroupUnjoined]:[b("MessagingThreadType.bs").oneToOne,b("MessagingThreadType.bs").group,b("MessagingThreadType.bs").marketplace,b("MessagingThreadType.bs").folder,b("MessagingThreadType.bs").room];f.supportedThreadTypes=a}),null); __d("MWUseNavigateToFirstReadThread.bs",["FBID.bs","LSMessagingThreadTypeUtil.bs","MWInboxRouteBuilder.bs","MWLSThreadIsUnread.bs","MWPThreadsForThreadList.bs","MWThreadListSupportedThreadTypes.bs","MessagingThreadType.bs","ReQL.bs","ReQLSubscription.bs","ReStore.bs","bs_caml","bs_curry","bs_int64","react","useCometRouterDispatcher"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").filter(b("MWPThreadsForThreadList.bs").createIterable(c,a.A),function(c){if(!b("MWLSThreadIsUnread.bs").isThreadUnread(c)&&b("bs_caml").i64_neq(c.a,a.a)&&b("bs_caml").i64_neq(c.c,b("MessagingThreadType.bs").folder)&&!b("LSMessagingThreadTypeUtil.bs").isGroup(c.c))return b("MWThreadListSupportedThreadTypes.bs").supportedThreadTypes.findIndex(function(a){return b("bs_caml").i64_eq(c.c,a)})!==-1;else return!1})},[c,a])),e=b("useCometRouterDispatcher")();return h.useCallback(function(a){if(e==null)return;if(d===void 0)return;a=b("FBID.bs").ofStringExn(b("bs_int64").to_string(d.a));a=b("bs_curry")._1(b("MWInboxRouteBuilder.bs").buildURL,{thread_key:a});e.go(a)},[d,e])}f.useHook=a}),null); __d("MWLSConfirmRemoveFromGroup.bs",["fbt","LS.bs","LSMessagingThreadTypeUtil.bs","LSOptimisticRemoveParticipantsFromGroupThread","LSTransaction.bs","LSVec.bs","LsThreadType.bs","MWLSActor.bs","MWUseNavigateToFirstReadThread.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_caml","bs_curry","bs_int64","cr:12115","cr:376","react","useCometConfirmationDialog","useShouldShowMessagingEntrypointInCometRoot"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react"),j=b("cr:12115")==null?function(a){return function(a){}}:function(a){var c=b("bs_curry")._1(b("cr:12115").useDispatch,void 0),d=b("useShouldShowMessagingEntrypointInCometRoot")("CHAT");return i.useCallback(function(e){if(d)return b("bs_curry")._1(c,[{TAG:2,_0:a.a,_1:{shouldFocus:!1},_2:function(a){return{tabId:a.tabId,tabType:a.tabType,openWatermark:a.openWatermark,minimizeWatermark:a.minimizeWatermark,clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:Date.now(),openFlyoutWatermark:a.openFlyoutWatermark}}}])},[c,JSON.stringify(a.a),d])};function a(a,c,d){var e=b("useCometConfirmationDialog")(),f=e[0],h=b("ReStore.bs").useHook(void 0);e=b("LSMessagingThreadTypeUtil.bs").isSecure(a.c);var k=b("MWLSActor.bs").useActor(void 0),l=b("MWUseNavigateToFirstReadThread.bs").useHook(a),m=j(a),n=b("ReQLSubscription.bs").useArray(i.useMemo(function(){return b("ReQL.bs").filter(b("ReQL.bs").getKeyRange(b("ReQLTable").table(h,"participants").asc,{hd:a.a,tl:0}),function(a){return a.f===!0})},[h,JSON.stringify(a.a)])),o;if(n.length!==1)o=!1;else{n=n[0];o=b("bs_caml").i64_eq(n.b,k)?!0:!1}var p;n=0;b("cr:376")==null||!e?n=1:p=b("bs_curry")._1(b("cr:376").createRemoveParticipantCallback,a);n===1&&(p=function(c){return b("LSTransaction.bs").run(h,function(d){return b("LSOptimisticRemoveParticipantsFromGroupThread")(a.a,b("LSVec.bs").make([c]),b("bs_curry")._1(b("LS.bs").make,d))},"readWrite")});var q=b("bs_caml").i64_eq(a.c,b("LsThreadType.bs").communityGroup);e=i.useCallback(function(a){var e=q?d?{body:g._(/*FBT_CALL*/"Voc\u00ea \u00e9 o \u00faltimo participante neste bate-papo. Se sair agora, o bate-papo e todo o conte\u00fado dele ser\u00e3o exclu\u00eddos permanentemente do grupo."/*FBT_CALL*/),cancel:g._(/*FBT_CALL*/"Cancelar"/*FBT_CALL*/),confirm:g._(/*FBT_CALL*/"Excluir bate-papo"/*FBT_CALL*/),title:g._(/*FBT_CALL*/"Sair e excluir o bate-papo?"/*FBT_CALL*/)}:{body:g._(/*FBT_CALL*/"Se voc\u00ea sair, n\u00e3o poder\u00e1 enviar mensagens nesse bate-papo e n\u00e3o receber\u00e1 notifica\u00e7\u00f5es sobre ele. Voc\u00ea pode voltar a qualquer momento."/*FBT_CALL*/),cancel:g._(/*FBT_CALL*/"Cancelar"/*FBT_CALL*/),confirm:g._(/*FBT_CALL*/"Sair do bate-papo"/*FBT_CALL*/),title:g._(/*FBT_CALL*/"Sair do bate-papo?"/*FBT_CALL*/)}:o?{body:g._(/*FBT_CALL*/"Voc\u00ea pode escolher um novo administrador entre as pessoas listadas em Membros. Se voc\u00ea sair do grupo sem escolher um novo administrador, o membro mais antigo do grupo passar\u00e1 a ser o administrador."/*FBT_CALL*/),cancel:g._(/*FBT_CALL*/"Cancelar"/*FBT_CALL*/),confirm:g._(/*FBT_CALL*/"Sair do grupo"/*FBT_CALL*/),title:g._(/*FBT_CALL*/"Sair sem escolher um administrador?"/*FBT_CALL*/)}:{body:g._(/*FBT_CALL*/"Voc\u00ea n\u00e3o receber\u00e1 mais mensagens dessa conversa, e as pessoas ver\u00e3o que voc\u00ea saiu."/*FBT_CALL*/),cancel:g._(/*FBT_CALL*/"Cancelar"/*FBT_CALL*/),confirm:g._(/*FBT_CALL*/"Sair do grupo"/*FBT_CALL*/),title:g._(/*FBT_CALL*/"Sair do bate-papo em grupo?"/*FBT_CALL*/)};return b("bs_curry")._3(f,e,function(d){b("bs_curry")._1(a,void 0);b("bs_curry")._1(p,k);m(void 0);if(c){b("bs_curry")._1(l,void 0);return}},function(a){})},[f,b("bs_int64").to_string(k),p,m,c,l,o]);n=q?g._(/*FBT_CALL*/"Sair do bate-papo"/*FBT_CALL*/):g._(/*FBT_CALL*/"Sair do grupo"/*FBT_CALL*/);return[e,n]}f.$MWChatStateV2$OR$null$requireCond=b("cr:12115");f.$MAWRemoveGroupParticipantsUtils$requireCondXplat=b("cr:376");f.useHook=a}),null); __d("MWLSCanLeaveGroup.bs",["LSMessagingThreadTypeUtil.bs","LSThreadBitOffset.bs","LSThreadCapabilityBitOffset.bs","LsSystemFolder.bs","bs_caml"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=b("bs_caml").i64_eq(a.A,b("LsSystemFolder.bs").archived);if(b("LSMessagingThreadTypeUtil.bs").isGroup(a.c)&&b("LSThreadBitOffset.bs").has(b("LSThreadCapabilityBitOffset.bs").leaveThread,a))return!c;else return!1}f.useHook=a}),null); __d("MWV2ThreadIsPage.bs",["LSContactType.bs","MWLSActor.bs","ReQL.bs","ReQLSubscription.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_caml","react","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i=h.createContext(void 0);function a(a){var c=a.thread;a=a.children;var d=c.a,e=b("ReStore.bs").useHook(void 0),f=b("MWLSActor.bs").useActor(void 0);c=b("ReQLSubscription.bs").useArray(h.useMemo(function(){var a;return(a=b("ReQL.bs")).map(a.filter(a.take(a.getKeyRange(b("ReQLTable").table(e,"participants").asc,{hd:d,tl:0}),2),function(a){return b("bs_caml").i64_neq(a.b,f)}),function(a){return b("ReQLSuspense.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(e,"contacts").asc,{hd:a.b,tl:0}))})},[e,JSON.stringify(d),JSON.stringify(f)]));var g;if(c.length!==1)g=!1;else{c=c[0];g=c!==void 0?b("bs_caml").i64_eq(c.q,b("LSContactType.bs").page):!1}return h.createElement(i.Provider,{value:g,children:a})}function c(a){a=h.useContext(i);if(a!==void 0)return a;else{b("recoverableViolation")("Using hook useIsPage in a place where we didn't include the context","messenger_web_product");return!1}}d=a;f.make=d;f.useIsPage=c}),null); __d("MWInboxInfoFRXItem.bs",["fbt","CometLazyDialogTrigger.react","FRXEntryPoint","JSResource","LSMessagingThreadTypeUtil.bs","LsThreadType.bs","MAWGating.bs","MWLSThreadReportingToken.bs","MWV2ThreadIsPage.bs","NFXStoryLocation","bs_caml","bs_caml_option","bs_curry","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||b("react");function a(a){var c=a.thread,d=a.children;a=b("MWLSThreadReportingToken.bs").fromThread(c);var e=b("MWV2ThreadIsPage.bs").useIsPage(void 0),f=b("LSMessagingThreadTypeUtil.bs").isOneToOne(c.c),h=b("LSMessagingThreadTypeUtil.bs").isGroup(c.c),j=b("LSMessagingThreadTypeUtil.bs").isSecure(c.c);c=b("bs_caml").i64_eq(c.c,b("LsThreadType.bs").communityGroup);e=e?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_P2B_DIRECT_THREAD_DETAILS}:f&&j&&b("MAWGating.bs").isReportingEnabled(void 0)?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_ENCRYPTED_DIRECT_THREAD}:f&&!j?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_DIRECT_THREAD_DETAILS}:c?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_COMMUNITY_MESSAGING_GROUP_THREAD_DETAILS}:h&&j&&b("MAWGating.bs").isReportingEnabled(void 0)?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_ENCRYPTED_GROUP_THREAD}:h&&!j?{entryPoint:b("FRXEntryPoint").REPORT_BUTTON,id:a,location:b("NFXStoryLocation").MESSENGER_GROUP_THREAD_DETAILS}:void 0;var k=g._(/*FBT_CALL*/"H\u00e1 algo errado"/*FBT_CALL*/),l=g._(/*FBT_CALL*/"D\u00ea feedback e denuncie a conversa"/*FBT_CALL*/);if(e!==void 0)return i.jsx(b("CometLazyDialogTrigger.react"),{dialogResource:b("JSResource")("CometFRX_DEPRECATED.react").__setRef("MWInboxInfoFRXItem.bs"),dialogProps:b("bs_caml_option").valFromOption(e),children:function(a,c){return b("bs_curry")._4(d,a,c,k,l)}});else return null}c=a;f.make=c}),null); __d("MWJewelOpenTabForCurrentThread.bs",["MWChatOpenTabForGroup.bs","MWChatOpenTabForPage.bs","MWChatOpenTabForUser.bs","MWThread_DEPRECATED.bs","bs_caml_option","bs_curry","react","unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a,c,d){var e=b("MWThread_DEPRECATED.bs").useIdExn(void 0),f=b("bs_curry")._2(b("MWChatOpenTabForUser.bs").useHook,void 0,d),g=f[0],i=b("bs_curry")._2(b("MWChatOpenTabForPage.bs").useHook,void 0,d);f=b("bs_curry")._2(b("MWChatOpenTabForGroup.bs").useHook,void 0,d);var j=f[0];return h.useCallback(function(d){if(d!==void 0){d=b("bs_caml_option").valFromOption(d);d=d.metaKey||d.ctrlKey||d.shiftKey}else d=!1;if(a&&!d){d=e.NAME;d==="Group"?j(e.VAL,!1):d==="Page"?i(e.VAL,!1):d==="User"?g(e.VAL,!1):b("unrecoverableViolation")("UserSecret Not supported","messenger_web_product")}return b("bs_curry")._1(c,void 0)},[g,j,i,c,a,e])}f.useHook=a}),null); __d("MWJewelThreadSnippet.react",["CurrentEnvironment","TetraText.react","cr:1098","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var d=a.isUnread;a=a.text;return d?c("CurrentEnvironment").facebookdotcom?h.jsx(c("TetraText.react"),{color:"highlight",numberOfLines:1,type:"bodyLink4",children:a}):b("cr:1098")!=null?h.jsx(b("cr:1098"),{color:"primary",numberOfLines:1,type:"entityHeaderMeta3",children:a}):h.jsx(c("TetraText.react"),{color:"primary",numberOfLines:1,type:"bodyLink4",children:a}):h.jsx(c("TetraText.react"),{color:"secondary",numberOfLines:1,type:"body4",children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWJewelSpamMessagesThread.react",["fbt","ix","Locale","MWJewelThreadSnippet.react","MessageRequestsViewThreadlistFalcoEvent","TetraIcon.react","TetraListCell.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.loadedAll,e=a.onOpenSpamMessages;a=a.spamMessagesCount;var f=h._(/*FBT_CALL*/"Ver spam"/*FBT_CALL*/);b=b?h._(/*FBT_CALL*/"{number} solicita\u00e7\u00f5es"/*FBT_CALL*/,[h._param("number",a)]):h._(/*FBT_CALL*/"{number}+ solicita\u00e7\u00f5es"/*FBT_CALL*/,[h._param("number",a)]);return j.jsx(c("TetraListCell.react"),{addOnPrimary:{icon:d("fbicon")._(i("542884"),24),size:56,type:"contained-icon"},addOnSecondary:{addOn:j.jsx(c("TetraIcon.react"),{color:"secondary",icon:d("Locale").isRTL()?d("fbicon")._(i("492485"),16):d("fbicon")._(i("492533"),16)}),type:"body"},body:j.jsx(c("MWJewelThreadSnippet.react"),{isUnread:!1,text:b}),headline:f,level:4,onPress:function(){c("MessageRequestsViewThreadlistFalcoEvent").log(function(){return{action:0,actioned_thread_count:"0",actioned_unread_thread_count:"0",entry_point:4,folder:-2}}),e()}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWJewelThreadAddOnSecondaryIcons",["cr:1737009"],(function(a,b,c,d,e,f,g){"use strict";g.MWJewelThreadAddOnSecondaryIcons=b("cr:1737009")}),98); __d("MWLSJewelHasReachedEnd.bs",["ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_belt_Option","bs_curry","cr:10862","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i=b("cr:10862")==null?function(a){return!1}:b("cr:10862").useHook;function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("bs_belt_Option").mapWithDefault(b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads_ranges_v2__generated").asc,{hd:a,tl:0})},[c,JSON.stringify(a)])),!1,function(a){return!a.h}),e=!b("bs_curry")._1(i,void 0);if(d)return e;else return!1}c=b("cr:10862");f.$MAWHasMoreSecureThreads$requireCond=b("cr:10862");f.mawHasMoreThreads=c;f.useHasMoreSecureThreads=i;f.useHook=a}),null); __d("MWJewelMessageRequestsThread.react",["fbt","ix","Locale","MWJewelThreadSnippet.react","TetraIcon.react","TetraListCell.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.onOpenMessageRequests,e=a.otherParticipantName;a=a.unreadRequestsCount;var f=h._(/*FBT_CALL*/{"*":"Novas solicita\u00e7\u00f5es de contato","_1":"Nova solicita\u00e7\u00e3o de contato"}/*FBT_CALL*/,[h._plural(a)]),g=h._(/*FBT_CALL*/{"someone":"De algu\u00e9m que voc\u00ea talvez conhe\u00e7a","people":"De pessoas que voc\u00ea talvez conhe\u00e7a"}/*FBT_CALL*/,[h._enum(a===1?"someone":"people",{someone:"someone",people:"people"})]);e!=null&&(a===1?g=h._(/*FBT_CALL*/"De {name}"/*FBT_CALL*/,[h._param("name",e)]):g=h._(/*FBT_CALL*/"De {name} e outras {count} pessoas"/*FBT_CALL*/,[h._param("name",e),h._param("count",a-1)]));return j.jsx(c("TetraListCell.react"),{addOnPrimary:{icon:d("fbicon")._(i("542884"),24),size:56,type:"contained-icon"},addOnSecondary:{addOn:j.jsx(c("TetraIcon.react"),{color:"secondary",icon:d("Locale").isRTL()?d("fbicon")._(i("492485"),16):d("fbicon")._(i("492533"),16)}),type:"body"},body:j.jsx(c("MWJewelThreadSnippet.react"),{isUnread:!0,text:g}),headline:f,level:4,onPress:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWLSLoadThreadFolderIfNotPresent.bs",["CancellablePromise.bs","CancellationToken.bs","MWLSJewelLoadMoreThreads.bs","Promise","ReQL.bs","ReQLTable","ReStore.bs","bs_caml","promiseDone","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWLSJewelLoadMoreThreads.bs").useHook(a);h.useEffect(function(){var e=b("CancellationToken.bs").make(void 0),f=b("CancellablePromise.bs").ignoreFailed(void 0,b("CancellablePromise.bs").then_(e,function(a){a!==void 0||d();return b("Promise").resolve(void 0)},b("ReQL.bs").first(b("ReQL.bs").filter(b("ReQLTable").table(c,"threads_ranges_v2__generated").asc,function(c){return b("bs_caml").i64_eq(c.a,a)}))));b("promiseDone")(f,void 0,void 0);return e.cancel},[d,c,JSON.stringify(a)])}f.useHook=a}),null); __d("MWLSJewelMessageRequestsThread.bs",["LsSystemFolder.bs","MWJewelMessageRequestsThread.react","MWLSActor.bs","MWLSLoadThreadFolderIfNotPresent.bs","ReQL.bs","ReQLSubscription.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_belt_Option","bs_caml","bs_caml_option","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i=b("MWJewelMessageRequestsThread.react");c={make:i};function j(a){return b("ReQL.bs").filter(b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"threads").index("parentThreadKeyLastActivityTimestampMs").desc,{hd:b("LsSystemFolder.bs").pending,tl:0}),function(a){return b("bs_caml").i64_gt(a.i,a.j)})}function k(a){var c=b("ReStore.bs").useHook(void 0);a=b("MWLSActor.bs").useActor(void 0);a=h.useMemo(function(){return b("ReQL.bs").map(j(c),function(a){a=a.o;if(a!==void 0)return b("bs_belt_Option").map(b("ReQLSuspense.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"contacts").asc,{hd:a,tl:0})),function(a){return a.h})})},[c,JSON.stringify(a)]);a=b("ReQLSubscription.bs").useFirst(a);if(a===void 0)return;a=b("bs_caml_option").valFromOption(a);if(a!==void 0)return a}function l(a){var c=b("ReStore.bs").useHook(void 0);a=b("MWLSActor.bs").useActor(void 0);a=h.useMemo(function(){return j(c)},[c,JSON.stringify(a)]);return b("ReQLSubscription.bs").useArray(a).length}function a(a){b("MWLSLoadThreadFolderIfNotPresent.bs").useHook(b("LsSystemFolder.bs").pending);var c=l(void 0),d=k(void 0);if(a!==void 0&&c>0)return h.jsx(i,{onOpenMessageRequests:a,otherParticipantName:d,unreadRequestsCount:c});else return null}f.RequestsThread=c;f.useHook=a}),null); __d("MWLSJewelSpamMessagesThread.bs",["LsSystemFolder.bs","MWJewelSpamMessagesThread.react","MWLSActor.bs","MWLSJewelHasReachedEnd.bs","MWLSLoadThreadFolderIfNotPresent.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i=b("MWJewelSpamMessagesThread.react");c={make:i};function j(a){var c=b("ReStore.bs").useHook(void 0);a=b("MWLSActor.bs").useActor(void 0);a=h.useMemo(function(){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").index("parentThreadKeyLastActivityTimestampMs").desc,{hd:b("LsSystemFolder.bs").other,tl:0})},[c,JSON.stringify(a)]);return b("ReQLSubscription.bs").useArray(a).length}function a(a){b("MWLSLoadThreadFolderIfNotPresent.bs").useHook(b("LsSystemFolder.bs").other);var c=j(void 0),d=b("MWLSJewelHasReachedEnd.bs").useHook(b("LsSystemFolder.bs").other);if(a!==void 0&&c>0)return h.jsx(i,{onOpenSpamMessages:a,loadedAll:d,spamMessagesCount:c});else return null}f.SpamThread=c;f.useHook=a}),null); __d("MWLSJewelThreadSeenByImages.bs",["MWLSActor.bs","MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_belt_Option","bs_caml","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0),e=b("MWLSActor.bs").useActor(void 0),f=b("ReQLSubscription.bs").useFirstExn(h.useMemo(function(){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").asc,{hd:d,tl:0})},[c,d]));return b("ReQLSubscription.bs").useArray(h.useMemo(function(){var a;return(a=b("ReQL.bs")).map(a.take(a.filter(a.bounds(a.getKeyRange(b("ReQLTable").table(c,"participants").index("threadKeyReadWatermarkTimestampMs").asc,{hd:d,tl:0}),{NAME:"greaterThanOrEqual",VAL:{hd:f.i,tl:0}}),function(a){return b("bs_caml").i64_neq(a.b,e)}),3),function(a){return b("bs_belt_Option").map(b("ReQLSuspense.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"contacts").asc,{hd:a.b,tl:0})),function(a){return{alt:a.h,src:a.b}})})},[c,d,JSON.stringify(e),JSON.stringify(f.i)])).reduce(function(a,b){if(b!==void 0)return a.concat([b]);else return a},[])}f.useHook=a}),null); __d("TetraMWJewelThreadAddOnSecondaryIcons",["ix","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("react");b=a.jsx(c("TetraIcon.react"),{color:"disabled",icon:d("fbicon")._(h("569284"),16)});g.bell=b}),98); __d("mwGroupEntriesForDisplay",["orEmptyArray"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=new Map();for(var a=a,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f,g;if(d){if(e>=a.length)break;g=a[e++]}else{e=a.next();if(e.done)break;g=e.value}g=g;f=(f=g.getRawData().section)!=null?f:"";var h=c("orEmptyArray")(b.get(f));h.push(g);b.set(f,h)}return b}g.mwGroupEntriesForDisplay=a}),98); __d("MWChatSearchLightspeedTypeaheadViewList.react",["TetraText.react","getItemRoleFromCompositeRole","mwGroupEntriesForDisplay","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useMemo;function j(a){var b=a.activeEntryKey,d=a.children,e=a.entries,f=a.itemRole;a=a.title;return e!=null&&e.length>0?h.jsxs("li",{className:"scb9dxdr qt6c0cv9 dflh9lhu jb3vyjys",children:[a?h.jsx("div",{className:"scb9dxdr sj5x9vvc dflh9lhu cxgpxx05",children:h.jsx(c("TetraText.react"),{type:"entityHeaderMeta1",children:a})}):null,h.jsx("ul",{children:e.map(function(a,c){var e=b===a.getKey();return d({entry:a,index:c,isActive:e,itemRole:f})})})]}):null}function a(a){var b=a.ariaProps,e=a.children,f=a.entries,g=a.highlightedEntry;a=babelHelpers.objectWithoutPropertiesLoose(a,["ariaProps","children","entries","highlightedEntry"]);var k=g!=null?g.getKey():null;a=i(function(){return d("mwGroupEntriesForDisplay").mwGroupEntriesForDisplay(f)},[f]);var l=c("getItemRoleFromCompositeRole")(b.role);return h.jsx("ul",{"data-testid":void 0,role:"listbox",children:Array.from(a.entries()).map(function(a){var b=a[0];a=a[1];return h.jsx(j,{activeEntryKey:k,children:e,entries:a,itemRole:l,title:b},b)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWJewelLightspeedSearchTypeaheadViewList.react",["CometScrollView.react","MWChatSearchLightspeedTypeaheadViewList.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={scroll:{maxHeight:"nt8syekh"}};function a(a){var b=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["xstyle"]);return h.jsx(c("CometScrollView.react"),{showsHorizontalScrollIndicator:!1,xstyle:[i.scroll,b],children:h.jsx(c("MWChatSearchLightspeedTypeaheadViewList.react"),babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWJewelSearchEmptyState.react",["fbt","TetraText.react","react","useCometTypeaheadEmptyState"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=c("useCometTypeaheadEmptyState")();return b?i.jsxs("div",{className:"tw6a2znq f10w8fjw d1544ag0 pybr56ya",children:[i.jsx(c("TetraText.react"),{align:"center",type:"body2",children:h._(/*FBT_CALL*/"Nada encontrado"/*FBT_CALL*/)}),i.jsx("br",{}),i.jsx(c("TetraText.react"),{align:"center",color:"tertiary",type:"body3",children:h._(/*FBT_CALL*/"N\u00e3o foi poss\u00edvel encontrar nenhuma correspond\u00eancia para \"{query}\". Verifique se h\u00e1 erros ortogr\u00e1ficos ou use palavras inteiras."/*FBT_CALL*/,[h._param("query",a.queryString)])})]}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MDSLockSvgIcon.re",["MDSLockSvgIcon.bs"],(function(a,b,c,d,e,f){a=b("MDSLockSvgIcon.bs").make;f.make=a}),null); __d("MWJewelSearchTypeaheadViewItem.react",["fbt","ix","CometImage.react","CometMiddot.react","CometPageVerificationIcon.react","CometTextWithIcon.react","CometTypeaheadViewItem.react","CurrentEnvironment","MDSLockSvgIcon.re","MWChatFacepile.re","MWChatProfile.re","TetraText.react","TetraTextPairing.react","XCometMessengerControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.entry;a.queryString;a=babelHelpers.objectWithoutPropertiesLoose(a,["entry","queryString"]);var e=b.getRawData(),f=e.id,g=e.imageUrl,k=e.isE2e,l=e.resultType,m=e.secondaryImageUrl,n=e.section,o=e.subtext;e=e.verificationStatus;o=k?h._(/*FBT_CALL*/"Criptografado de ponta a ponta"/*FBT_CALL*/):o;l=l==="messages"?j.jsx("div",{className:"qnrpqo6b ae35evdt jxrgncrl fdg1wqfs",children:j.jsx(c("CometImage.react"),{src:i("485237")})}):m!==""?j.jsx(d("MWChatFacepile.re").make,{firstParticipantURI:g,secondParticipantURI:m,size:36}):j.jsx(d("MWChatProfile.re").make,{size:36,src:g});m=c("CurrentEnvironment").facebookdotcom?c("XCometMessengerControllerRouteBuilder").buildURL({thread_key:f}):"/t/"+f+"/";return j.jsx(c("CometTypeaheadViewItem.react"),babelHelpers["extends"]({},a,{entry:b,itemStartContent:l,linkProps:{preventLocalNavigation:!0,url:m},children:j.jsx(c("TetraTextPairing.react"),{body:j.jsxs(c("TetraText.react"),{numberOfLines:1,type:"body3",children:[b.getLabel(),e!=null?j.jsx("span",{className:"scb9dxdr",children:j.jsx(c("CometPageVerificationIcon.react"),{size:"small",verificationBadge:e})}):null]}),level:3,meta:o&&o!==""?j.jsx(c("TetraText.react"),{numberOfLines:1,type:"meta4",children:j.jsxs(c("CometTextWithIcon.react"),{iconBefore:k?j.jsx(d("MDSLockSvgIcon.re").make,{color:"black",size:"12"}):null,children:[o,(n==null||n==="")&&b.getIsInstagramAccount()?j.jsxs(j.Fragment,{children:[j.jsx(c("CometMiddot.react"),{}),"Instagram"]}):null]})}):null})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("createMWJewelSearchTypeaheadViewStrategy.react",["CometTypeaheadProgressGlimmer.react","MWJewelLightspeedSearchTypeaheadViewList.react","MWJewelSearchEmptyState.react","MWJewelSearchTypeaheadViewItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return function(b){var d=b.ariaProps,e=b.entries;b.extraViewProps;var f=b.highlightedEntry,g=b.isLoading;b.onAbandonTypeahead_DO_NOT_USE;var i=babelHelpers.objectWithoutPropertiesLoose(b,["ariaProps","entries","extraViewProps","highlightedEntry","isLoading","onAbandonTypeahead_DO_NOT_USE"]);b=e.length===0&&i.queryString.length>0;g=e.length>0&&g;return b?h.jsx(c("MWJewelSearchEmptyState.react"),{queryString:i.queryString}):h.jsxs(h.Fragment,{children:[h.jsx(c("MWJewelLightspeedSearchTypeaheadViewList.react"),{ariaProps:d,entries:e,highlightedEntry:f,xstyle:a,children:function(a){var b=a.entry,d=a.isActive;a=a.itemRole;return h.createElement(c("MWJewelSearchTypeaheadViewItem.react"),babelHelpers["extends"]({},i,{entry:b,isActive:d,key:b.getKey(),role:a}))}}),g&&h.jsx(c("CometTypeaheadProgressGlimmer.react"),{})]})}}g["default"]=a}),98); __d("MWLSMarkThreadAsRead.re",["MWLSMarkThreadAsRead.bs"],(function(a,b,c,d,e,f){a=b("MWLSMarkThreadAsRead.bs").useHook;f.useHook=a}),null); __d("useMWJewelThreadAddOnSecondary",["fbt","CometBadge.react","CometPressable.react","MWJewelThreadAddOnSecondaryIcons","MWLSMarkThreadAsRead.re","TetraOverlappingFacepileUnstyled.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=h._(/*FBT_CALL*/"Marcar como lido"/*FBT_CALL*/);function a(a,b,e,f,g,h){var k=d("MWLSMarkThreadAsRead.re").useHook();if(a)return{addOn:i.jsx(c("CometPressable.react"),{"aria-label":j,expanding:!0,onPress:function(){return k()},children:i.jsx(c("CometBadge.react"),{color:"blue",isProfileBadge:!0,size:12})}),type:"body"};if(b)return{addOn:d("MWJewelThreadAddOnSecondaryIcons").MWJewelThreadAddOnSecondaryIcons.bell,type:"body"};if(e)if(f.length===0)return{addOn:h,type:"body"};else return{addOn:i.jsx(c("TetraOverlappingFacepileUnstyled.react"),{count:f.length,isTextInline:!0,items:f.map(function(a){return{alt:a.alt,source:{uri:a.src}}}),screenReaderLabel:g,size:16}),type:"body"};return{addOn:i.jsx("div",{className:"fwizqjfa cyypbtt7"}),type:"body"}}g["default"]=a}),98); __d("MWLSMarkSeen.bs",["LS.bs","LSMarkFolderSeen","LSTransaction.bs","LsSystemFolder.bs","ReStore.bs","bs_curry","promiseDone","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0);return h.useCallback(function(a){b("promiseDone")(b("LSTransaction.bs").run(c,function(a){return b("LSMarkFolderSeen")(b("LsSystemFolder.bs").inbox,b("bs_curry")._1(b("LS.bs").make,a))},"readWrite"),void 0,void 0)},[c])}f.useHook=a}),null); __d("LSSearchType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").one;c=[0,2];d=[0,3];e=[0,4];b=[0,5];var g=[0,6],h=[0,7],i=[0,8],j=[0,9],k=[0,10],l=[0,11],m=[0,12];f.contact=a;f.noncontact=c;f.group=d;f.page=e;f.integratedMessageSearchThread=b;f.igContactFollowing=g;f.igContactNonfollowing=h;f.igNoncontactFollowing=i;f.igNoncontactNonfollowing=j;f.igBusiness=k;f.tamContact=l;f.tamThread=m}),null); __d("MWLSSearchIssueSearchQuerySupportedTypes.bs",["LSSearchType.bs"],(function(a,b,c,d,e,f){"use strict";c=[(a=b("LSSearchType.bs")).contact,a.group,a.page,a.noncontact,a.igContactFollowing,a.igContactNonfollowing,a.igNoncontactFollowing,a.igNoncontactNonfollowing];d=[a.contact,a.group,a.page,a.igContactFollowing,a.igContactNonfollowing,a.igNoncontactFollowing,a.igNoncontactNonfollowing];e=[a.contact,a.noncontact];b=[a.contact,a.noncontact,a.igContactFollowing,a.igContactNonfollowing,a.igNoncontactFollowing,a.igNoncontactNonfollowing];f.allSupportedTypes=c;f.broadcastFlowSupportedTypes=d;f.addParticipantBase=e;f.addParticipantXac=b}),null); __d("MWLSSearchIssueSearchQuerySupportedTypes.re",["MWLSSearchIssueSearchQuerySupportedTypes.bs"],(function(a,b,c,d,e,f){a=b("MWLSSearchIssueSearchQuerySupportedTypes.bs").allSupportedTypes;f.allSupportedTypes=a;c=b("MWLSSearchIssueSearchQuerySupportedTypes.bs").broadcastFlowSupportedTypes;f.broadcastFlowSupportedTypes=c}),null); __d("MWChatSearchResultType",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({GROUP:"group",MESSAGE:"message",MESSAGES:"messages",PAGE:"page",USER:"user"});f["default"]=a}),66); __d("MWChatSearchClearSearchResults.bs",["LS.bs","LSClearTables","LSTransaction.bs","ReStore.bs","bs_curry","promiseDone","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0);return h.useCallback(function(a){a=b("LSTransaction.bs").run(c,function(a){return b("LSClearTables")(b("bs_curry")._1(b("LS.bs").make,a))},"readWrite");b("promiseDone")(a,void 0,void 0)},[c])}f.useHook=a}),null); __d("MNetRankType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];b=[0,4];var g=[0,5],h=[0,6],i=[0,7],j=[0,8],k=[0,9],l=[0,10],m=[0,11],n=[0,12],o=[0,13],p=[0,14],q=[0,15],r=[0,16],s=[0,17],t=[0,18],u=[0,19],v=[0,20],w=[0,21],x=[0,22],y=[0,23],z=[0,24],A=[0,26],B=[0,27],C=[0,28],D=[0,29],E=[0,30],F=[0,31],G=[0,32],H=[0,33],I=[0,34],J=[0,35],K=[0,36],L=[0,37],M=[0,38],N=[0,39],O=[0,40],P=[0,41],Q=[0,42],R=[0,43];f.inboxActiveNow=a;f.messengerUserSearch=c;f.montageUser=d;f.broadcastFlowTopContacts=e;f.broadcastFlowNeedyContacts=b;f.messengerGroupSearch=g;f.rtcTopContacts=h;f.pstnTopContacts=i;f.messengerNonContactSearch=j;f.messengerSearchBootstrap=k;f.activeBeeper=l;f.montageAndActiveNow=m;f.messengerPageSearch=n;f.messengerGameSearch=o;f.wwwNullstate=p;f.rtcGrowth=q;f.messengerOmnipickerNullstate=r;f.rtcSequentialTopContacts=s;f.messengerUserSearchNullstate=t;f.mliteDiodePromotion=u;f.messengerPendingRequest=v;f.messengerCloseConnection=w;f.messengerMontageSeenSheet=x;f.messengerOmnipickerKeypress=y;f.messengerNotifQpTargetingUpsellType=z;f.contactTabActiveNow=A;f.messengerUnivNullstateBlend=B;f.messengerInboxThreads=C;f.inboxActiveNowNoBoosting=D;f.broadcastFlowTopContactsFbShare=E;f.broadcastFlowTopContactsMessengerShare=F;f.broadcastFlowTopContactsExternalShare=G;f.messengerTrendingStickers=H;f.messengerBroadcastFlowTopThreads=I;f.messengerSends28d=J;f.messengerRoomInvite=K;f.messengerRoomInviteSearch=L;f.inboxActiveNowPrefetch=M;f.messengerBlendedKeypress=N;f.messengerBlendedNullstate=O;f.messengerCarrierMessaging=P;f.messengerRoomInviteGroup=Q;f.messengerInboxBirthdayItem=R}),null); __d("MWChatTemporarySearchResult.bs",["LSContactBitOffset.bs","LSContactCapabilityBitOffset.bs","LSContactType.bs","LSContactViewerRelationship.bs","LSSearchType.bs","MWLSContactTypeExactUtils.bs","bs_belt_Option","bs_caml","bs_int64","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";function g(a){if(b("bs_caml").i64_eq(a,b("LSSearchType.bs").igContactFollowing)||b("bs_caml").i64_eq(a,b("LSSearchType.bs").igContactNonfollowing)||b("bs_caml").i64_eq(a,b("LSSearchType.bs").igNoncontactFollowing))return!0;else return b("bs_caml").i64_eq(a,b("LSSearchType.bs").igNoncontactNonfollowing)}function h(a){if(b("bs_caml").i64_eq(a,b("LSSearchType.bs").contact)||b("bs_caml").i64_eq(a,b("LSSearchType.bs").noncontact)||g(a))return"user";else if(b("bs_caml").i64_eq(a,b("LSSearchType.bs").group))return"group";else if(b("bs_caml").i64_eq(a,b("LSSearchType.bs").page))return"page";else if(b("bs_caml").i64_eq(a,b("LSSearchType.bs").integratedMessageSearchThread))return"message";else{b("recoverableViolation")("Unknown Search Result Type "+b("bs_int64").to_string(a),"messenger_web_product");return"user"}}function a(a){var c=b("MWLSContactTypeExactUtils.bs").isIgContact(a),d=a.K;d=c&&d!==void 0?d:"";var e=a.q;return{displayName:a.h,id:b("bs_int64").to_string(a.a),imageUrl:a.b,secondaryImageUrl:void 0,isContact:b("bs_caml").i64_eq(a.H,b("LSContactViewerRelationship.bs").contactOfViewer),isE2e:!1,isInstagramAccount:c,isInteropEligible:b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").isXacEligible,a),isGroupsXacEligible:b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").isGroupsXacEligible,a),resultType:b("bs_caml").i64_eq(e,b("LSContactType.bs").user)||!(b("bs_caml").i64_eq(e,b("LSContactType.bs").page)||b("bs_caml").i64_eq(e,b("LSContactType.bs").pagePersona))?"user":"page",subtext:d,isVerified:b("bs_belt_Option").getWithDefault(b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").verified,a),!1),section:"",serverSearchResult:void 0,threadKey:void 0}}function c(a,c){var d=b("bs_caml").i64_eq(a.d,b("LSSearchType.bs").contact),e=g(a.d);c=c!==void 0?b("bs_belt_Option").getWithDefault(c.c,""):"";var f=a.m;return{displayName:a.f,id:a.b,imageUrl:a.g,secondaryImageUrl:a.h,isContact:d,isE2e:!1,isInstagramAccount:e,isInteropEligible:a.n,isGroupsXacEligible:a.o,resultType:h(a.d),subtext:d?"":a.i,isVerified:f!==void 0?f:!1,section:c,serverSearchResult:a,threadKey:void 0}}f.checkIsInstagramAccount=g;f.getResultType=h;f.fromContact=a;f.fromServerSearchResult=c}),null); __d("MWChatSearchFetchContactRecommendations.re",["MWChatSearchFetchContactRecommendations.bs","bs_curry"],(function(a,b,c,d,e,f){a=function(a,c){a=b("bs_curry")._2(b("MWChatSearchFetchContactRecommendations.bs").useHook,a.rankType,c);return a};f.useHook=a;c=b("MWChatSearchFetchContactRecommendations.bs").useActiveContactCount;f.useActiveContactCount=c}),null); __d("LSSearchGranularSurfaceType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").one;c=[0,2];d=[0,3];e=[0,4];b=[0,5];var g=[0,6],h=[0,7],i=[0,8],j=[0,9],k=[0,10],l=[0,11],m=[0,12];f.universalAll=a;f.universalMorePeople=c;f.universalIgFollowing=d;f.universalBusiness=e;f.omnipicker=b;f.broadcast=g;f.blockList=h;f.impersonationEvidence=i;f.universalIgNonfollowing=j;f.groups=k;f.omnipickerArmadillo=l;f.restrictedList=m}),null); __d("LSSearchRequestStatusType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").one;c=[0,2];d=[0,3];f.pending=a;f.complete=c;f.failed=d}),null); __d("MWChatSearchIssueLightspeedQuery.bs",["LS.bs","LSContactBlockedByViewerStatus.bs","LSDatabaseDeferred.bs","LSIssueSearchQuery","LSSearchGranularSurfaceType.bs","LSSearchRequestStatusType.bs","LSSearchType.bs","LSTransaction.bs","LSVec.bs","MNetRankType.bs","MWChatSearchFetchContactRecommendations.bs","MWChatTemporarySearchResult.bs","Promise","ReQL.bs","ReQLSubscription.bs","ReQLTable","SortedAsyncIterable.bs","bs_caml","bs_caml_array","bs_caml_exceptions","bs_curry","bs_int64","promiseDone"],(function(a,b,c,d,e,f){"use strict";var g=b("bs_caml_exceptions").create("MWChatSearchIssueLightspeedQuery.FailedToFetchSearchResults");function a(a){return b("bs_caml").i64_eq(a,b("LSSearchType.bs").contact)}function h(a){var c=a[1];a=a[0];var d=[],e=0;a.sort(function(a,c){return b("bs_int64").compare(a.b,c.b)});c.sort(function(a,c){return b("bs_int64").compare(a.c,c.c)});for(var f=0,g=a.length;f=5?"inboxRemainingThreads":o,onClose:q,responsive:k,onClickNestedFolderThread:r,selectedThreadKey:i})}},[k,g,o,q,r,i]);return h.jsx("div",{id:p,children:h.jsx(b("MWPThreadList.bs").make,{parentThreadKey:c,beforeContent:h.jsxs(h.Fragment,{children:[n,d,j]}),afterContent:e,gridLabel:a,renderItem:f,itemPlaceholder:h.jsxs(h.Fragment,{children:[h.jsx(b("MWThreadListGlimmer.bs").make,{}),h.jsx(b("MWThreadListGlimmer.bs").make,{})]})})})}e=56;d=d;f.$MAWThreadId$requireCond=b("cr:9873");f.$MWUseKeyCommandsForThreadList$OR$null$requireCond=b("cr:12211");f.useSimpleImpression=a;f.threadlistItemHeight=e;f.UnknownThreadType=j;f.$MWV2ThreadListItem$OR$MWThreadListItem$requireCond=b("cr:12088");f.ThreadListItemMemoized=c;f.useKeyCommandsForThreadList=m;f.make=d}),null); __d("MWUseLastMessageDeliveryStatusIcon.bs",["MWMessageDeliveryStatus.bs","MWMessageDeliveryStatusIcons.bs","ReQL.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_caml","bs_caml_int64","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a,c,d,e){var f=b("ReStore.bs").useHook(void 0),g=h.useMemo(function(){return b("ReQLSuspense.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(f,"messages").desc,{hd:a,tl:0}))},[a,c]);return h.useMemo(function(){if(g===void 0)return null;if(!b("bs_caml").i64_eq(g.h,e))return null;var a=d.reduce(function(a,c){c=b("bs_caml").i64_neq(c.contact_id,e)?c.delivered_watermark_timestamp_ms:b("bs_caml_int64").zero;if(b("bs_caml").i64_gt(a,c))return a;else return c},b("bs_caml_int64").zero);a=b("bs_caml").i64_ge(a,g.b)?3:b("MWMessageDeliveryStatus.bs").getFromSendStatus(g.l);if(typeof a!=="number")return null;switch(a){case 0:return null;case 1:return h.jsx(b("MWMessageDeliveryStatusIcons.bs").Sending.make,{size:2,xstyle:!1});case 2:return h.jsx(b("MWMessageDeliveryStatusIcons.bs").Sent.make,{size:2,xstyle:!1});case 3:return h.jsx(b("MWMessageDeliveryStatusIcons.bs").Delivered.make,{size:2,xstyle:!1});case 4:return h.jsx(b("MWMessageDeliveryStatusIcons.bs").$$Error.make,{size:2,xstyle:!1})}},[f,a,c,d,e,g])}f.useHook=a}),null); __d("RTWebInboxJoinOngoingCallIcon.react",["ix","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=function(a){switch(a){case"AUDIO_GROUP_CALL":return d("fbicon")._(h("558161"),20);case"VIDEO_GROUP_CALL":return d("fbicon")._(h("493174"),20);default:return null}};function a(a){var b=a.hidden;a=a.ongoingCallType;if(b)return null;b=j(a);return b===null?null:i.jsx("div",{className:"ke6wolob rk01pc8j pmk7jnqg mrt03zmi rm21btxo akv41dx8 spb7xbtv bkmhp75w emlxlaya s45kfl79",children:i.jsx("div",{className:"thwo4zme l9j0dhe7 a8nywdso qt6c0cv9 rz4wbd8a jb3vyjys taijpn5t tv7at329 j83agx80 rq0escxv sk4xxmp2 agehan2d n8ej3o3l rt8b4zig spb7xbtv bkmhp75w emlxlaya s45kfl79 h5vs1ck6 bp9cbjyn",children:i.jsx(c("TetraIcon.react"),{color:"white",icon:b,size:20})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWThreadListItem.bs",["fbt","CometLazyDialogTrigger.react","CometListCellHoverButton.react","CometTextWithEntities.react","FBID.bs","ImmutableArray.bs","JSResourceForInteraction","LSRtcCallState.bs","LSThreadAttributionStore.bs","LSThreadTitle.bs","LsMessengerThreadDamagingActionsEntryPoint.bs","MDSText.react","MWChatCalculateIsMutedFromExpireTime.bs","MWChatTextTransform.bs","MWInboxRouteBuilder.bs","MWJewelOpenTabForCurrentThread.bs","MWLSActor.bs","MWLSJewelThreadSeenByImages.bs","MWLSParticipant.bs","MWLSPreloadThread.bs","MWLSPresenceIsThreadActive.bs","MWLSThreadImageUrls.bs","MWLSThreadIsUnread.bs","MWLSThreadSnippetForDisplay.bs","MWThreadAddOnPrimary.bs","MWThreadListFocusableTable.react","MWThreadListLastMessage.bs","MWUseLastMessageDeliveryStatusIcon.bs","MWVerticalRhythm.bs","MessagingThreadType.bs","RTCCallState.bs","RTWebInboxJoinOngoingCallIcon.react","ReQLSubscription.bs","ReQLTable","ReStore.bs","TetraListCell.react","UseBlockedUserInterstitial.bs","bs_caml","bs_caml_int64","bs_caml_option","bs_curry","bs_int64","qex","react","requireDeferred","stylex","useCometRouterDispatcher","useMWChatOpenTabForUser","useMWJewelThreadAddOnSecondary","useMatchMedia","useMenuButtonVisibilityState","useShouldShowMessagingEntrypointInCometRoot"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||b("react"),k=b("RTWebInboxJoinOngoingCallIcon.react");e={make:k};function a(a){return b("useMWChatOpenTabForUser")(a)}function c(a){return b("useMenuButtonVisibilityState")()}function l(a,c,d,e,f,g){return b("useMWJewelThreadAddOnSecondary")(a,c,d,e,f,g)}var m={listItemContainer:{position:"l9j0dhe7"},deliveryStatusIcon:{display:"j83agx80"}},n=b("requireDeferred")("MWThreadListHoverButtonDropdownMenu.bs").__setRef("MWThreadListItem.bs");function d(a){var c=a.messagingEntrypoint,d=a.onClose,e=a.selected,f=a.size,h=a.thread,o=a.responsive,p=a.lsEntryPoint;a=d!==void 0?d:function(a){return a};var q=b("useShouldShowMessagingEntrypointInCometRoot")("CHAT");d=j.useRef(null);var r=b("MWLSPresenceIsThreadActive.bs").useHook(void 0),s=j.useMemo(function(){return b("FBID.bs").ofStringExn(b("bs_int64").to_string(h.a))},[h]),t=b("MWLSJewelThreadSeenByImages.bs").useHook(void 0),u=b("useMatchMedia")("(min-width: 900px)")||!o,v=b("ReStore.bs").useHook(void 0),w=b("ReQLSubscription.bs").useArray(j.useMemo(function(){return b("MWLSParticipant.bs").getAllInOpenThread(v,b("ReQLTable").table(v,"contacts").asc,h.a)},[v,JSON.stringify(h.a)])),x=b("MWLSActor.bs").useActor(void 0),y=b("MWLSThreadIsUnread.bs").isThreadUnread(h);o=j.useMemo(function(){if(b("bs_caml").i64_eq(h.l,b("bs_caml_int64").neg_one))return-1;else return b("bs_caml_int64").to_float(h.l)},[h]);var z=j.useMemo(function(){return b("MWLSThreadImageUrls.bs").make(w,x,h.f)},[w,x,h]),A=b("MWLSThreadSnippetForDisplay.bs").make(h.m),B=h.o;B=B!==void 0?b("bs_caml").i64_eq(B,x):!1;var C=b("bs_caml_int64").to_float(h.i),D=b("MWChatCalculateIsMutedFromExpireTime.bs").useHook(o),E=b("useMenuButtonVisibilityState")(),F=E[1],G=F.setMenuBtnFocused,H=F.setListItemHovered,I=j.useCallback(function(a){return b("bs_curry")._1(H,!1)},[H]),J=j.useCallback(function(a){return b("bs_curry")._1(H,!0)},[H]),K=j.useCallback(b("bs_curry").__1(G),[G]),L=j.useMemo(function(){return b("MWThreadAddOnPrimary.bs").get(b("ImmutableArray.bs").fromArray(z),void 0,r,f,void 0)},[z,r,f]),M=t.map(function(a){return a.alt}),N=M.length;if(N!==1)N=N!==0?g._(/*FBT_CALL*/{"*":"Visto por {=numPeople} pessoas"}/*FBT_CALL*/,[g._param("=numPeople",M.length,[0])]):"";else{M=M[0];N=g._(/*FBT_CALL*/"Visto por {=personName}"/*FBT_CALL*/,[g._param("=personName",M)])}M=b("MWUseLastMessageDeliveryStatusIcon.bs").useHook(h.a,h.i,w,x);var O=l(y,D,B,t,N,M),P=j.useMemo(function(){return b("bs_curry")._1(b("MWInboxRouteBuilder.bs").buildURL,{thread_key:s})},[s]),Q=b("MWJewelOpenTabForCurrentThread.bs").useHook(q,a,p),R=b("useCometRouterDispatcher")();D=b("MWLSPreloadThread.bs").useHook(h.a);var S=D[1],T=D[0],U=b("bs_caml").i64_neq(h.u,b("LSRtcCallState.bs").noOngoingCall),V=h.U,W=b("qex")._("830")===!0,X=j.useMemo(function(){if(V!==void 0&&W)return j.jsxs(j.Fragment,{children:[j.jsx(b("MDSText.react"),{color:"secondary",type:"meta4",numberOfLines:1,children:j.jsx(b("CometTextWithEntities.react"),{text:V,transforms:b("MWChatTextTransform.bs").epdTextTransforms}),testid:"eyebrowtext_message_request_v1"}),j.jsx(b("MWVerticalRhythm.bs").make,{height:3})]});else return null},[V,W]),aa=j.useMemo(function(){return j.jsxs(j.Fragment,{children:[X,j.jsx(b("MDSText.react"),{color:"primary",type:y?"headlineEmphasized4":"body3",numberOfLines:1,children:j.jsx(b("LSThreadTitle.bs").make,{thread:h})})]})},[y,h,X]),Y=h.e==="inbox"?b("LsMessengerThreadDamagingActionsEntryPoint.bs").inboxThreadList:h.e==="pending"?b("LsMessengerThreadDamagingActionsEntryPoint.bs").pendingThreadList:b("LsMessengerThreadDamagingActionsEntryPoint.bs").spamThreadList,Z=b("UseBlockedUserInterstitial.bs").useHook(h.a),$=function(a){if(q)return b("bs_curry")._2(Z,function(c){return b("bs_curry")._1(Q,a)},Y);else if(!(R==null))return b("bs_curry")._2(Z,function(a){b("LSThreadAttributionStore.bs").setSource(b("bs_int64").to_string(h.a),p),R.go(P)},Y);else return};B=function(a){return $(void 0)};t=h.d;N=j.jsxs(b("MWThreadListFocusableTable.react").MWThreadListFocusableTableRow,{children:[j.jsx(b("MWThreadListFocusableTable.react").MWThreadListFocusableTableCell,{children:j.jsx("div",{role:"gridcell",ref:d,children:j.jsx(b("CometLazyDialogTrigger.react"),{dialogResource:b("JSResourceForInteraction")("MWCMJoinGroupDialog",{name:"MWCMJoinGroupDialog","class":"fluid"}).__setRef("MWThreadListItem.bs"),dialogProps:{onClose:function(a){},chatName:t,threadKey:h.a,onJoined:B},children:function(a,c){c={body:u?j.jsx(b("MWThreadListLastMessage.bs").make,{hasOngoingCall:U,lastMessageTimestamp:C,snippet:A,isUnread:y}):null,bodyLineLimit:1,emphasized:y,headlineLineLimit:2,level:4,linkProps:{preventLocalNavigation:!0,url:P},onHoverIn:T,onHoverOut:S,onFocusChange:K,onPress:function(c){if(b("bs_caml").i64_eq(h.c,b("MessagingThreadType.bs").communityGroupUnjoined))return b("bs_curry")._1(a,void 0);else return $(b("bs_caml_option").some(c))},selected:e};var d=u?b("bs_caml_option").some(aa):void 0;d!==void 0&&(c.headline=b("bs_caml_option").valFromOption(d));L!==void 0&&(c.addOnPrimary=b("bs_caml_option").valFromOption(L));d=u?b("bs_caml_option").some(O):void 0;d!==void 0&&(c.addOnSecondary=b("bs_caml_option").valFromOption(d));return j.jsx(b("TetraListCell.react"),c)}},b("bs_int64").to_string(h.a))})}),u?j.jsx(b("MWThreadListFocusableTable.react").MWThreadListFocusableTableCell,{children:j.jsxs("div",{role:"gridcell",children:[j.jsx(k,{hidden:!U,ongoingCallType:b("RTCCallState.bs").ofLsRtcCallState(h.u,h.c)}),j.jsx(b("CometListCellHoverButton.react"),{hidden:!E[0],onFocusChange:G,onHoverChange:F.setMenuBtnHovered,onMenuStateChange:F.setMenuOpened,popoverResource:n,popoverProps:{fbid:s,isUnread:y,mutedUntil:o/1e3,onClose:a,messagingEntrypoint:c,thread:h,selected:e},popoverTriggerType:"lazy",testid:"mwthreadlist-menu-id-"+s})]})}):null]});M={children:N,className:(i||(i=b("stylex")))(m.listItemContainer),role:"row",onMouseEnter:J,onMouseLeave:I};return j.jsx("div",(M["data-testid"]="mwthreadlist-item",M))}d=d;f.RTWebInboxJoinOngoingCallIcon=e;f.useMWChatOpenTabForUser=a;f.useMenuButtonVisibilityState=c;f.useMWJewelThreadAddOnSecondary=l;f.styles=m;f.$MWThreadListHoverButtonDropdownMenu$Deferred=n;f.make=d}),null); __d("MWLSThreadDisplayContext.re",["MWLSThreadDisplayContext.bs"],(function(a,b,c,d,e,f){var g={0:"ChatTab",1:"Inbox"};a=function(){var a=b("MWLSThreadDisplayContext.bs").useHook();return a==null?a:g[a]};f.useHook=a}),null); __d("MWLSUseSyncRankings.bs",["LSDatabaseType.bs","MWLSDatabaseLazySync.bs"],(function(a,b,c,d,e,f){"use strict";function a(a){return b("MWLSDatabaseLazySync.bs").useSync(b("LSDatabaseType.bs").ranking)}f.useHook=a}),null); __d("XGraphQLBatchAPIController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/api/graphqlbatch/",{queries:{type:"String"},batch_name:{type:"String"},scheduler:{type:"Enum",enumType:1},shared_params:{type:"String"},fb_api_req_friendly_name:{type:"String"},uft_request_id:{type:"String"}})}),null); __d("WebGraphQL",["errorCode","ActorURI","AsyncRequest","DTSG","DTSG_ASYNC","Deferred","FBLogger","ODS","WebGraphQLConfig","XGraphQLBatchAPIController","getAsyncParams"],(function(a,b,c,d,e,f,g,h){"use strict";var i="for (;;);",j=i.length;function k(a){var b=a.getURIBuilder().getURI(),e={exec:function(a,b){return e.execAll([a],b)[0]},execAll:function(a,e){var f={},g={};a=a.map(function(a,b){b="o"+b;d("ODS").bumpEntityKey(281,"gql.webgraphql","id."+String(a.__getDocID()),1);f[b]={doc_id:a.__getDocID(),query_params:a.__getVariables()};a=new(c("Deferred"))();g[b]=a;return a.getPromise()});var h=babelHelpers["extends"]({},c("getAsyncParams")("POST"));e&&e.actorID!=null&&(h[d("ActorURI").PARAMETER_ACTOR]=e.actorID);var k=e&&e.batchName?{batch_name:e.batchName}:{};k=new(c("AsyncRequest"))().setURI(b).setOption("suppressEvaluation",!0).setMethod("POST").setRequestHeader("Content-Type","application/x-www-form-urlencoded").setData(babelHelpers["extends"]({},k,h,{queries:JSON.stringify(f)})).setHandler(function(a){a=a.getPayload();a=a.response;try{if(a.startsWith(i)){var b=a.substring(j);b=JSON.parse(b);if(b.error==1357001){Object.keys(g).forEach(function(a){g[a].isSettled()||g[a].reject({data:{},errors:[{message:"Not logged in.",severity:"CRITICAL",should_end_session:!0}]})});return}var e=b.dtsgToken;b=b.dtsgAsyncGetToken;e&&d("DTSG").setToken(e);b&&d("DTSG_ASYNC").setToken(b)}e=a.split("\r\n");e.pop();b=e.map(function(a){return JSON.parse(a)});b.forEach(function(a){return Object.keys(a).forEach(function(b){var c=g[b];if(c){b=a[b];if(b.extensions){var e;e=(e=b.extensions)==null?void 0:e.dtsg_token;e&&d("DTSG").setToken(e)}b.errors?c.reject(b):b.data?c.resolve(b.data):c.reject({data:{},errors:[{message:"Unexpected response received from server.",severity:"CRITICAL",response:b}]})}})})}catch(b){c("FBLogger")("webgraphql").catching(b).mustfix("Bad response: ","%s%s",a.substr(0,250),a.length>250?"[truncated]":"")}Object.keys(g).forEach(function(a){g[a].isSettled()||g[a].reject({data:{},errors:[{message:"No response received from server.",severity:"CRITICAL"}]})})}).setTimeoutHandler(c("WebGraphQLConfig").timeout,function(){Object.keys(g).forEach(function(a){g[a].isSettled()||g[a].reject({data:{},errors:[{message:"Request timed out.",severity:"CRITICAL"}]})})}).setErrorHandler(function(a){var b=a.getErrorDescription();Object.keys(g).forEach(function(c){g[c].isSettled()||g[c].reject({data:{},errors:[{message:b,severity:"CRITICAL",error:a.getError()}]})})});e&&e.msgrRegion&&k.setRequestHeader("X-MSGR-Region",e.msgrRegion);k.setAllowCrossPageTransition(!0);k.send();return a},__forController:k};return e}a=k(c("XGraphQLBatchAPIController"));b=a;g["default"]=b}),98); __d("MessengerCreateVideoMeetupLinkMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4134332929963975"}),null); __d("MessengerCreateVideoMeetupLinkMutation.graphql",["MessengerCreateVideoMeetupLinkMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"CreateVideoMeetupLinkResponsePayload",kind:"LinkedField",name:"create_video_meetup_link",plural:!1,selections:[{alias:null,args:null,concreteType:"MessengerCallInviteLink",kind:"LinkedField",name:"meetup_link",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"link_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"link_hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_audio_only",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"MessengerCreateVideoMeetupLinkMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"MessengerCreateVideoMeetupLinkMutation",selections:c},params:{id:b("MessengerCreateVideoMeetupLinkMutation_facebookRelayOperation"),metadata:{},name:"MessengerCreateVideoMeetupLinkMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("VideoChatLinksUserActionsMultiplexLogger",["cr:1443591"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1443591")}),98); __d("MWVerticalRhythm.bs",["react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){a=a.height;return h.jsx("div",{style:{height:String(a)+"px"}})}c=a;f.make=c}),null); __d("LSFeatureLimitsType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").one;c=[0,2];d=[0,4];f.readOnly=a;f.genericReadOnlyBlock=c;f.messageSend=d}),null); __d("bs_array",["bs_caml_array","bs_caml_exceptions","bs_caml_js_exceptions","bs_caml_obj","bs_curry"],(function(a,b,c,d,e,f){"use strict";var g=b("bs_caml_array").make_float,h={};function a(a,c){if(a===0)return[];if(a<0)throw{RE_EXN_ID:"Invalid_argument",_1:"Array.init",Error:new Error()};var d=b("bs_caml_array").make(a,b("bs_curry")._1(c,0));for(var e=1;e(a.length-d|0))throw{RE_EXN_ID:"Invalid_argument",_1:"Array.sub",Error:new Error()};return b("bs_caml_array").sub(a,c,d)}function j(a,b,c,d){if(b<0||c<0||b>(a.length-c|0))throw{RE_EXN_ID:"Invalid_argument",_1:"Array.fill",Error:new Error()};for(var e=b,b=b+c|0;e(a.length-f|0)||e<0||e>(d.length-f|0))throw{RE_EXN_ID:"Invalid_argument",_1:"Array.blit",Error:new Error()};return b("bs_caml_array").blit(a,c,d,e,f)}function l(a,c){for(var d=0,e=c.length;d=0;--e)d=b("bs_curry")._2(a,c[e],d);return d}function w(a,c){var d=c.length,e=0;while(!0){var f=e;if(f===d)return!1;if(b("bs_curry")._1(a,c[f]))return!0;e=f+1|0;continue}}function x(a,c){var d=c.length,e=0;while(!0){var f=e;if(f===d)return!0;if(!b("bs_curry")._1(a,c[f]))return!1;e=f+1|0;continue}}function y(a,c){var d=c.length,e=0;while(!0){var f=e;if(f===d)return!1;if(b("bs_caml_obj").caml_equal(c[f],a))return!0;e=f+1|0;continue}}function z(a,b){var c=b.length,d=0;while(!0){var e=d;if(e===c)return!1;if(a===b[e])return!0;d=e+1|0;continue}}var A=b("bs_caml_exceptions").create("Array.Bottom");function B(a,c){var d=function(d,e){var f=((e+e|0)+e|0)+1|0,g=f;if((f+2|0)=0)return b("bs_caml_array").set(c,d,f);b("bs_caml_array").set(c,d,b("bs_caml_array").get(c,g));if(g<=0)return b("bs_caml_array").set(c,0,f);e=g;continue}},h=c.length;for(var i=((h+1|0)/3|0)-1|0;i>=0;--i)e(h,i,b("bs_caml_array").get(c,i));for(var i=h-1|0;i>=2;--i){e=b("bs_caml_array").get(c,i);b("bs_caml_array").set(c,i,b("bs_caml_array").get(c,0));g(f(i,0),e)}if(h<=1)return;e=b("bs_caml_array").get(c,1);b("bs_caml_array").set(c,1,b("bs_caml_array").get(c,0));return b("bs_caml_array").set(c,0,e)}function C(a,c){var d=function(d,e,f,g,h,i,j){e=d+e|0;h=g+h|0;var l=d;d=b("bs_caml_array").get(c,d);var m=g;g=b("bs_caml_array").get(f,g);j=j;while(!0){var n=j,o=g,p=m,q=d,r=l;if(b("bs_curry")._2(a,q,o)<=0){b("bs_caml_array").set(i,n,q);q=r+1|0;if(q>=e)return k(f,p,i,n+1|0,h-p|0);j=n+1|0;d=b("bs_caml_array").get(c,q);l=q;continue}b("bs_caml_array").set(i,n,o);q=p+1|0;if(q>=h)return k(c,r,i,n+1|0,e-r|0);j=n+1|0;g=b("bs_caml_array").get(f,q);m=q;continue}},e=function(d,e,f,g){for(var h=0;h=f&&b("bs_curry")._2(a,b("bs_caml_array").get(e,j),i)>0)b("bs_caml_array").set(e,j+1|0,b("bs_caml_array").get(e,j)),j=j-1|0;b("bs_caml_array").set(e,j+1|0,i)}},f=function a(f,g,h,i){if(i<=5)return e(f,g,h,i);var b=i/2|0;i=i-b|0;a(f+b|0,g,h+b|0,i);a(f,c,f+i|0,b);return d(f+i|0,b,g,h+b|0,i,g,h)},g=c.length;if(g<=5)return e(0,c,0,g);var h=g/2|0;g=g-h|0;var i=b("bs_caml_array").make(g,b("bs_caml_array").get(c,0));f(h,i,0,g);f(0,c,g,h);return d(g,h,i,0,g,c,0)}var D=c,E=b("bs_caml_array").concat,F=C;f.make_float=g;f.init=a;f.make_matrix=c;f.create_matrix=D;f.append=d;f.concat=E;f.sub=e;f.copy=i;f.fill=j;f.blit=k;f.to_list=r;f.of_list=t;f.iter=l;f.iteri=p;f.map=n;f.mapi=q;f.fold_left=u;f.fold_right=v;f.iter2=m;f.map2=o;f.for_all=x;f.exists=w;f.mem=y;f.memq=z;f.sort=B;f.stable_sort=C;f.fast_sort=F;f.Floatarray=h}),null); __d("MWLSFeatureLimitedStatus.bs",["LSFeatureLimitsType.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_array","bs_belt_Array","bs_caml","bs_caml_int64","gkx","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("bs_caml_int64").of_float(Date.now()/1e3);a=function(a){return b("bs_caml").i64_gt(a.b,d)};a=b("bs_belt_Array").get(b("ReQLSubscription.bs").useArray(h.useMemo(function(){var a=[b("LSFeatureLimitsType.bs").readOnly,b("LSFeatureLimitsType.bs").genericReadOnlyBlock,b("LSFeatureLimitsType.bs").messageSend],d=function(c){return b("bs_array").exists(function(a){return b("bs_caml").i64_eq(a,c.a)},a)};return b("ReQL.bs").filter(b("ReQLTable").table(c,"feature_limits").asc,d)},[c])).filter(a),0);if(a!==void 0)return b("gkx")("1908348");else return!1}f.useIsReadOnlyFeatureLimited=a}),null); __d("XMessengerDotComCometMainControllerRouteBuilder",["jsExtraRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsExtraRouteBuilder")("/t/{thread_key}/",Object.freeze({}),["/archived/new/","/filtered/","/filtered/new/","/filtered/t/{?thread_key}/","/people/","/people/new/","/people/t/{?thread_key}/","/requests/new/","/new/","/folders/{folder_key}/t/{?thread_key}/","/gallery/"],void 0);b=a;g["default"]=b}),98); __d("MWInboxRouteBuilder.bs",["CurrentEnvironment","XCometMessengerControllerRouteBuilder","XMessengerDotComCometMainControllerRouteBuilder"],(function(a,b,c,d,e,f){"use strict";a=b("CurrentEnvironment").facebookdotcom?{buildURL:function(a){return b("XCometMessengerControllerRouteBuilder").buildURL(a)},buildHomeURL:function(a){return b("XCometMessengerControllerRouteBuilder").buildURL(a)},buildNewThreadURL:function(a){return b("XCometMessengerControllerRouteBuilder").buildExtraURL("/messages/new/",a)}}:{buildURL:function(a){return b("XMessengerDotComCometMainControllerRouteBuilder").buildURL(a)},buildHomeURL:function(a){return b("XMessengerDotComCometMainControllerRouteBuilder").buildURL(a)},buildNewThreadURL:function(a){return b("XMessengerDotComCometMainControllerRouteBuilder").buildExtraURL("/new/",a)}};c=a.buildURL;d=a.buildHomeURL;e=a.buildNewThreadURL;f.routeBuilderModule=a;f.buildURL=c;f.buildHomeURL=d;f.buildNewThreadURL=e}),null); __d("MWLSMarkThreadAsRead.bs",["LS.bs","LSOptimisticMarkThreadReadV2","LSTransaction.bs","MWThreadKey.bs","ReQL.bs","ReQLTable","ReStore.bs","ServerTime","bs_caml_int64","bs_caml_obj","bs_curry","promiseDone","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0);return h.useCallback(function(a){b("promiseDone")(b("LSTransaction.bs").run(c,function(a){return b("ReQL.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").asc,{hd:d,tl:0})).then(function(c){c=c!==void 0?[c.i,c.j]:[void 0,void 0];if(b("bs_caml_obj").caml_greaterthan(c[0],c[1]))return b("LSOptimisticMarkThreadReadV2")(d,b("bs_caml_int64").of_float(b("ServerTime").getMillis()),b("bs_curry")._1(b("LS.bs").make,a));else return window.Promise.resolve(void 0)})},"readWrite"),void 0,void 0)},[d,c])}f.useHook=a}),null); __d("MWChatIsMessageRequest.bs",["CurrentUser"],(function(a,b,c,d,e,f){"use strict";function a(a){if(a!==void 0)if(a==="pending")return!0;else if(a==="other")return!b("CurrentUser").isWorkUser();else return!1;else return!1}f.fn=a}),null); __d("MWLSThreadFolder.bs",["MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_belt_Option","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0);return b("bs_belt_Option").getWithDefault(b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").map(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").asc,{hd:d,tl:0}),function(a){return a.e})},[c,d])),void 0)}f.useHook=a}),null); __d("MWLSThreadHasThread.bs",["MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_belt_Option","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0);return b("bs_belt_Option").isSome(b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"messages_ranges_v2__generated").desc,{hd:d,tl:0})},[c,d])))}f.useHook=a}),null); __d("MWLSThreadProfileLink.bs",["CurrentEnvironment","MWLSContactTypeExactUtils.bs","MWThreadKey.bs","MWThread_DEPRECATED.bs","MessagingThreadType.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","XCometVanityURLControllerRouteBuilder","bs_belt_Option","bs_caml","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a,c){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"contacts").asc,{hd:c,tl:0})}function j(a,c){return b("ReQL.bs").map(b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"threads").asc,{hd:c,tl:0}),function(a){return a.c})}function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThread_DEPRECATED.bs").useFBID(void 0),e=b("MWThreadKey.bs").useIdMemoizedExn(void 0);a=b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return i(c,e)},[c,e]));var f=b("bs_belt_Option").mapWithDefault(b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return j(c,e)},[c,e])),!1,function(a){return b("bs_caml").i64_eq(a,b("MessagingThreadType.bs").oneToOne)});if(f)return b("bs_belt_Option").map(a,function(a){var c=a.K;a=b("MWLSContactTypeExactUtils.bs").isIgContact(a);return c!==void 0&&a?"https://www.instagram.com/"+c:(b("CurrentEnvironment").facebookdotcom?"":"https://www.facebook.com")+b("XCometVanityURLControllerRouteBuilder").buildURL({vanity:d})})}f.openContactQuery=i;f.openThreadTypeQuery=j;f.useHook=a}),null); __d("MWThreadIsMuted_DEPRECATED.bs",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a<=-1)return!0;else return a>Date.now()}f.getThreadIsMuted=a}),null); __d("MWChatCalculateIsMutedFromExpireTime.bs",["MWThreadIsMuted_DEPRECATED.bs","bs_curry","clearTimeout","react","setTimeout"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=h.useState(function(){return b("MWThreadIsMuted_DEPRECATED.bs").getThreadIsMuted(a)}),d=c[1];h.useEffect(function(){var c=b("MWThreadIsMuted_DEPRECATED.bs").getThreadIsMuted(a);b("bs_curry")._1(d,function(a){return c});if(!(c&&a>-1))return;var e=b("setTimeout")(function(a){return b("bs_curry")._1(d,function(a){return!1})},a-Date.now());return function(a){b("clearTimeout")(e)}},[a,d]);return c[0]}f.useHook=a}),null); __d("MWLSGetOngoingCallState.bs",["MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0);return b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").map(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").asc,{hd:d,tl:0}),function(a){return a.u})},[c,JSON.stringify(d)]))}f.useHook=a}),null); __d("LSRtcCallState.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];f.noOngoingCall=a;f.audioGroupCall=c;f.videoGroupCall=d}),null); __d("RTCCallState.bs",["LSRtcCallState.bs","MessagingThreadType.bs","bs_caml","bs_int64","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";function g(a){if(a===b("MessagingThreadType.bs").group)return!0;else return a===b("MessagingThreadType.bs").tincanGroupDisappearing}function a(a,c){if(b("bs_caml").i64_eq(a,b("LSRtcCallState.bs").noOngoingCall))return"NO_ONGOING_CALL";else if(b("bs_caml").i64_eq(a,b("LSRtcCallState.bs").audioGroupCall))if(g(c))return"AUDIO_GROUP_CALL";else return"AUDIO_1TO1_CALL";else if(b("bs_caml").i64_eq(a,b("LSRtcCallState.bs").videoGroupCall))if(g(c))return"VIDEO_GROUP_CALL";else return"VIDEO_1TO1_CALL";else{b("recoverableViolation")("Unknown RTCCallState: "+(b("bs_int64").to_string(a)+("L and threadType combination: "+(b("bs_int64").to_string(c)+"L"))),"messenger_web_product");return"NO_ONGOING_CALL"}}f.ofLsRtcCallState=a}),null); __d("MWLSJewelGetOngoingCallData.bs",["LSMessagingThreadTypeUtil.bs","MWLSGetOngoingCallState.bs","MWThread_DEPRECATED.bs","RTCCallState.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_belt_Option","bs_caml_format","bs_caml_option","bs_int64","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a,c){return b("ReQL.bs").map(b("ReQL.bs").getKeyRange(b("ReQLTable").table(a,"rtc_ongoing_calls_on_threads_v2").asc,{hd:c,tl:0}),function(a){return a.b})}function a(a){a=b("MWThread_DEPRECATED.bs").useIdExn(void 0);var c=b("MWThread_DEPRECATED.bs").toThreadKey(a),d=b("ReStore.bs").useHook(void 0),e=b("bs_int64").to_string(c);c=b("MWLSGetOngoingCallState.bs").useHook(void 0);var f=b("LSMessagingThreadTypeUtil.bs").ofThreadId(a);a=b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return i(d,b("bs_caml_format").caml_int64_of_string(e))},[d,e]));if(a!==void 0){a=b("bs_caml_option").valFromOption(a);a=a!==void 0?a:null}else a=null;return{call_state:b("bs_belt_Option").mapWithDefault(c,"NO_ONGOING_CALL",function(a){return b("RTCCallState.bs").ofLsRtcCallState(a,f)}),initiator_fbid:null,server_info_data:a}}f.ongoingCallDataQuery=i;f.useHook=a}),null); __d("MWLSRTCDisplayStatus.bs",["CurrentUser","LSContactBitOffset.bs","LSContactCapabilityBitOffset.bs","MWChatIsMessageRequest.bs","MWLSActor.bs","MWLSCurrentThreadParticipants.bs","MWLSFeatureLimitedStatus.bs","MWLSThreadCapabilities.bs","MWLSThreadFolder.bs","MWLSThreadHasThread.bs","MWThreadKey.bs","MWThread_DEPRECATED.bs","MercuryIDs","ReQL.bs","ReQLSubscription.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_belt_Option","bs_caml","bs_caml_obj","bs_js_dict","gkx","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){a=b("MWThread_DEPRECATED.bs").useIdExn(void 0);var c=b("MWThreadKey.bs").useIdMemoizedExn(void 0),d=b("MWLSThreadFolder.bs").useHook(void 0),e=b("MWLSThreadHasThread.bs").useHook(void 0);d=b("MWChatIsMessageRequest.bs").fn(d);var f=b("MWLSCurrentThreadParticipants.bs").useMercuryParticipants(void 0);f=typeof a==="object"&&a.NAME==="Group"?b("bs_js_dict").entries(f[0]).some(function(a){return b("bs_caml_obj").caml_equal(a[1].id,b("MercuryIDs").getParticipantIDFromUserID(b("CurrentUser").getID()))}):!1;var g=b("ReStore.bs").useHook(void 0),i=b("MWLSActor.bs").useActor(void 0),j=b("ReQLSubscription.bs").useArray(h.useMemo(function(){var a;return(a=b("ReQL.bs")).map(a.filter(a.take(a.getKeyRange(b("ReQLTable").table(g,"participants").asc,{hd:c,tl:0}),2),function(a){return b("bs_caml").i64_neq(a.b,i)}),function(a){return b("ReQLSuspense.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(g,"contacts").asc,{hd:a.b,tl:0}))})},[g,c,JSON.stringify(i)]));j=j.every(function(a){if(a!==void 0&&!b("bs_belt_Option").getWithDefault(b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").rtcVideoCall,a),!0))return b("bs_belt_Option").getWithDefault(b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").rtcVoiceCall,a),!0);else return!0});var k=b("MWLSThreadCapabilities.bs").useCapabilities(void 0);k=b("MWLSThreadCapabilities.bs").canRtcVideoCall(k)||b("MWLSThreadCapabilities.bs").canRtcVoiceCall(k);var l=b("MWLSFeatureLimitedStatus.bs").useIsReadOnlyFeatureLimited(void 0);k=k&&e&&!l;if(!k)return 2;if(d)return 1;if(typeof a!=="object")return 2;e=a.NAME;if(e==="Group")if(f)return 0;else return 2;else if(e==="Page")if(b("gkx")("1710932")&&j)return 0;else return 2;else if(e==="User")return 0;else return 2}f.useHook=a}),null); __d("MessengerCreateVideoMeetupLinkMutation",["MessengerCreateVideoMeetupLinkMutation.graphql","Promise","cr:1012418","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,d,e){return new(b("Promise"))(function(f,g){var i;b("cr:1012418").commitMutation(a,{mutation:h!==void 0?h:h=b("MessengerCreateVideoMeetupLinkMutation.graphql"),onCompleted:function(a){var b,c,d;b=a==null?void 0:(b=a.create_video_meetup_link)==null?void 0:(b=b.meetup_link)==null?void 0:b.is_audio_only;c=a==null?void 0:(c=a.create_video_meetup_link)==null?void 0:(c=c.meetup_link)==null?void 0:c.link_url;d=a==null?void 0:(d=a.create_video_meetup_link)==null?void 0:(d=d.meetup_link)==null?void 0:d.link_hash;a=a==null?void 0:(a=a.create_video_meetup_link)==null?void 0:(a=a.meetup_link)==null?void 0:a.id;return c!=null&&d!=null&&b!=null?f({isAudioOnly:b,linkHash:d,linkId:a,linkUrl:c}):g({error:"Failed to create linkurl."})},onError:function(a){g(a)},optimisticUpdater:null,variables:{input:{client_mutation_id:"",funnel_session_id:e,link_options:{availability_settings_options:(d==null?void 0:d.linkSurface)==="MESSENGER_V2"?{join_permission:d==null?void 0:d.joinPermission,visibility_mode:(i=d==null?void 0:d.visibilityMode)!=null?i:"NONE"}:void 0,chat_mode:(i=d==null?void 0:d.chatMode)!=null?i:null,is_audio_only:(i=d==null?void 0:d.isAudioOnly)!=null?i:null,is_live_enabled:(i=d==null?void 0:d.isLiveEnabled)!=null?i:null,is_room_join_requestable:(i=d==null?void 0:d.joinRequestable)!=null?i:null,link_surface:(i=d==null?void 0:d.linkSurface)!=null?i:c("gkx")("1224637")?"WORKPLACE":void 0,revocation_behavior:(i=d==null?void 0:d.revocationBehavior)!=null?i:null,should_allow_anonymous_guests:(i=d==null?void 0:d.allowAnonymousGuests)!=null?i:!0,supports_pages:(i=d==null?void 0:d.supportsPages)!=null?i:!1,supports_profile_plus:(i=d==null?void 0:d.supportsProfilePlus)!=null?i:!1,visibility_mode:(d==null?void 0:d.linkSurface)==="MESSENGER_V2"?void 0:(i=d==null?void 0:d.visibilityMode)!=null?i:"NONE"}}}})})}g["default"]=a}),98); __d("XGroupCallController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/groupcall/{?call_context}/",{av:{type:"FBID"},call_context:{type:"String",required:!0},call_id:{type:"Int"},users_to_ring:{type:"FBIDSet",defaultValue:[]},has_video:{type:"Bool",defaultValue:!0},initialize_video:{type:"Bool",defaultValue:!0},server_info_data:{type:"String"},nonce:{type:"String"},multiway_www_tier:{type:"String"},multiway_core_tier:{type:"String"},gk_enable:{type:"String"},gk_disable:{type:"String"},qe:{type:"StringToStringMap"},locale:{type:"String"},funnel_session_id:{type:"String"},auto_join:{type:"Bool",defaultValue:!1},referrer_context:{type:"Enum",enumType:1},use_joining_context:{type:"Bool",defaultValue:!1},peer_id:{type:"FBID"},thread_type:{type:"Enum",enumType:0}})}),null); __d("ZenonCallWindowErrors",[],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f0||h(0,33504);if(a==="MW_PEER_ID")return i;isNaN(a)===!1||h(0,33551,a);return a}function b(a){return isNaN(a)||a===i?null:a}g.ZenonMWPeerID=i;g.convertStringToPeerID=a;g.convertPeerIDForLogging=b}),98); __d("randomZenonCallID",["Random"],(function(a,b,c,d,e,f,g){"use strict";function a(){return String(d("Random").uint32()+1)}g["default"]=a}),98); __d("randomZenonNonce",["Random"],(function(a,b,c,d,e,f,g){"use strict";var h=2,i=6,j=36,k=2176782336;function a(){var a="";for(var b=0;b0)return g._(/*FBT_CALL*/{"*":"Visto por {full name} {seen time}"}/*FBT_CALL*/,[g._name("full name",a.name,b("getFBTSafeGenderFromGenderConst")(a.gender)),g._param("seen time",b("MercuryTimestamp").getPreciseTimestamp(a.timestamp))]);else return g._(/*FBT_CALL*/{"*":"Visto por {full name}"}/*FBT_CALL*/,[g._name("full name",a.name,b("getFBTSafeGenderFromGenderConst")(a.gender))])}d={sending:h,sent:i,delivered:j,error:k,getSingleSeenHead:l};function a(a){if(typeof a!=="number")if(a.TAG===0)return l(a._0);else return"";switch(a){case 0:return"";case 1:return h;case 2:return i;case 3:return j;case 4:return k}}function c(a){if(b("bs_caml").i64_eq(a,b("LSMessageSendStatusV2.bs").sendingToServer))return 1;else if(b("bs_caml").i64_eq(a,b("LSMessageSendStatusV2.bs").serverReceived)||b("bs_caml").i64_eq(a,b("LSMessageSendStatusV2.bs").sentOnly))return 2;else if(b("bs_caml").i64_eq(a,b("LSMessageSendStatusV2.bs").nonRetriableError)||b("bs_caml").i64_eq(a,b("LSMessageSendStatusV2.bs").retriableError))return 4;else return 0}f.Titles=d;f.getStatusTitle=a;f.getFromSendStatus=c}),null); __d("FDSMWMessageDeliveryStatusIcons.bs",["MWMessageDeliveryStatus.bs","react","stylex"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react"),j={disabled:{fill:"crt8y2ji"},negative:{fill:"qe9egaru"}};function k(a){switch(a){case 0:return"12px";case 1:return"14px";case 2:return"16px"}}var l={toString:k};function a(a){var c=a.size;a=a.xstyle;return i.jsxs("svg",{className:(h||(h=b("stylex")))(j.disabled,a),height:k(c),width:k(c),viewBox:"2 2 20 20",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("title",{children:b("MWMessageDeliveryStatus.bs").Titles.sending}),i.jsx("path",{d:"m12 2a10 10 0 1 0 10 10 10.011 10.011 0 0 0 -10-10zm0 18.5a8.5 8.5 0 1 1 8.5-8.5 8.51 8.51 0 0 1 -8.5 8.5z"})]})}a={make:a};function c(a){var c=a.size;a=a.xstyle;return i.jsxs("svg",{className:(h||(h=b("stylex")))(j.disabled,a),height:k(c),width:k(c),viewBox:"2 2 20 20",role:"img","data-testid":"message_delivery_state_sent",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("title",{children:b("MWMessageDeliveryStatus.bs").Titles.sent}),i.jsx("path",{d:"m12 2a10 10 0 1 0 10 10 10.011 10.011 0 0 0 -10-10zm0 18.5a8.5 8.5 0 1 1 8.5-8.5 8.51 8.51 0 0 1 -8.5 8.5z"}),i.jsx("path",{d:"m15.982 8.762-5.482 5.487-2.482-2.478a.75.75 0 0 0 -1.06 1.06l3.008 3.008a.748.748 0 0 0 1.06 0l6.016-6.016a.75.75 0 0 0 -1.06-1.061z"})]})}c={make:c};function d(a){var c=a.size;a=a.xstyle;return i.jsxs("svg",{className:(h||(h=b("stylex")))(j.disabled,a),height:k(c),width:k(c),viewBox:"2 2 20 20",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("title",{children:b("MWMessageDeliveryStatus.bs").Titles.delivered}),i.jsx("path",{d:"m12 2a10 10 0 1 0 10 10 10.011 10.011 0 0 0 -10-10zm5.219 8-6.019 6.016a1 1 0 0 1 -1.414 0l-3.005-3.008a1 1 0 1 1 1.419-1.414l2.3 2.3 5.309-5.31a1 1 0 1 1 1.41 1.416z"})]})}d={make:d};function e(a){var c=a.size;a=a.xstyle;return i.jsxs("svg",{className:(h||(h=b("stylex")))(j.negative,a),height:k(c),width:k(c),viewBox:"2 2 20 20",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("title",{children:b("MWMessageDeliveryStatus.bs").Titles.error}),i.jsx("path",{d:"m12 2a10 10 0 1 0 10 10 10.011 10.011 0 0 0 -10-10zm0 15.139a1.125 1.125 0 1 1 1.125-1.125 1.127 1.127 0 0 1 -1.125 1.125zm.8-3.81a.75.75 0 0 1 -.75.685.852.852 0 0 1 -.847-.685l-.45-5.145c0-.022 0-.043 0-.065a1.254 1.254 0 1 1 2.5 0z"})]})}e={make:e};f.styles=j;f.IconSize=l;f.Sending=a;f.Sent=c;f.Delivered=d;f.$$Error=e}),null); __d("MWMessageDeliveryStatusIcons.bs",["cr:151"],(function(a,b,c,d,e,f){"use strict";c=(a=b("cr:151")).IconSize;d=a.Sending;e=a.Sent;b=a.Delivered;var g=a.$$Error;f.$MDSMWMessageDeliveryStatusIcons$OR$FDSMWMessageDeliveryStatusIcons$requireCond=a;f.IconSize=c;f.Sending=d;f.Sent=e;f.Delivered=b;f.$$Error=g}),null); __d("MWV2GetOtherUser.bs",["MWLSActor.bs","MessagingThreadType.bs","bs_caml","bs_caml_array","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";function g(a,c,d){if(!b("bs_caml").i64_eq(a.c,b("MessagingThreadType.bs").oneToOne))return;if(c.length===1){a=b("bs_caml_array").get(c,0);var e=a[1];if(e!==void 0)return[a[0],e];else return}a=c.filter(function(a){return b("bs_caml").i64_neq(a[0].b,d)});if(a.length===0){b("recoverableViolation")("multiple viewers in 1:1 thread","messenger_comet");return}e=a[0];c=e[1];if(c!==void 0)return[e[0],c]}function a(a,c){var d=b("MWLSActor.bs").useActor(void 0);return g(a,c,d)}f.getOtherUser=g;f.useOtherUser=a}),null); __d("LSThreadTitle.bs",["CometTextWithEntities.react","LSMessagingThreadTypeUtil.bs","MWChatTextTransform.bs","MWLSActor.bs","MWV2GetOtherUser.bs","MWV2GetThreadTitle.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_caml_option","bs_curry","intlList","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a){var c=a.thread;a=a.wrapOutput;var d=b("MWLSActor.bs").useActor(void 0),e=b("ReStore.bs").useHook(void 0),f=b("ReQLSubscription.bs").useArray(h.useMemo(function(){return b("ReQL.bs").leftJoin(b("ReQL.bs").getKeyRange(b("ReQLTable").table(e,"participants").asc,{hd:c.a,tl:0}),b("ReQLTable").table(e,"contacts").asc)},[e,JSON.stringify(c.a)])),g=b("MWV2GetThreadTitle.bs").computeThreadTitle(b("bs_caml_option").some(b("intlList").CONJUNCTIONS.NONE),c,f,d);if(g===void 0)return"";g=h.jsx(b("CometTextWithEntities.react"),{text:g,transforms:b("MWChatTextTransform.bs").epdTextTransforms});f=b("MWV2GetOtherUser.bs").getOtherUser(c,f,d);if(a!==void 0&&f!==void 0&&b("LSMessagingThreadTypeUtil.bs").isOneToOne(c.c))return b("bs_curry")._3(a,f[1],f[0],g);else return g}c={make:i};function a(a){var c=a.thread;a=a.wrapOutput;var d=c.d;if(d!==void 0)return h.jsx(b("CometTextWithEntities.react"),{text:d,transforms:b("MWChatTextTransform.bs").epdTextTransforms});d={thread:c};a!==void 0&&(d.wrapOutput=b("bs_caml_option").valFromOption(a));return h.jsx(i,d)}d=b("MWChatTextTransform.bs").epdTextTransforms;e=a;f.transforms=d;f.ComputedThreadName=c;f.make=e}),null); __d("MDSSvgIcon.bs",["CometSVGIcon.react","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=a.size,d=a.color,e=a.viewBox;a=a.children;c=c!==void 0?c:"24";var f=d!==void 0?d:"black";d=e!==void 0?e:"0 0 36 36";return h.jsx(b("CometSVGIcon.react"),{color:function(){switch(f){case"black":return"black";case"blueLink":return"blueLink";case"disabled":return"disabled";case"highlight":return"highlight";case"negative":return"negative";case"positive":return"positive";case"primary":return"primary";case"secondary":return"secondary";case"tertiary":return"tertiary";case"warning":return"warning";case"white":return"white";case"activeTab":return"active-tab";case"inactiveTab":return"inactive-tab";case"none":return"none"}}(),children:a,size:c,viewBox:d})}c=a;f.make=c}),null); __d("ZenonUserActionLogger",["RtcWebUserActionsDebugFalcoEvent","RtcWebUserActionsFalcoEvent","ZenonDebugLogger","ZenonSDESKeyDetector","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=new Map(),i=window.location.hostname.search("facebook")!==-1?"facebook":window.location.hostname.search("messenger")!==-1?"messenger_dot_com":null,j={logCheckpoint:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"checkpoint"}))},logClick:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"tap"}))},logError:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"error"}))},logEvent:function(a){var b;if(c("ZenonSDESKeyDetector")(a))throw c("unrecoverableViolation")("ZenonUserActionLogger event contains SDES crypto key! This log entry must be removed!","rtc_www");b=babelHelpers["extends"]({},a,{page:(b=a.page)!=null?b:i});var d=babelHelpers["extends"]({},b,{client_time:Date.now().toString()});c("RtcWebUserActionsDebugFalcoEvent").log(function(){return d});c("RtcWebUserActionsFalcoEvent").log(function(){return d});c("ZenonDebugLogger").getInstance().getLogHistory().log((a=a.event)!=null?a:"null",JSON.stringify(b))},logImpression:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"impression"}))},logPreCallClick:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"tap"}))},logPreCallImpression:function(a){j.logEvent(babelHelpers["extends"]({},a,{event:"impression"}))},startTimer:function(a){var b=Date.now();h=h.set(a,b);j.logCheckpoint({checkpoint:a+"_timerStart"})},stopTimer:function(a){var b=a.checkpointName===void 0?a.timerName:a.checkpointName,c=a.event||{},d=function(a){var b=h.get(a);if(b!=null){h["delete"](a);return parseInt(Date.now()-b,10)}return null};d=d(a.timerName);j.logCheckpoint(babelHelpers["extends"]({},c,{checkpoint:b+"_timerEnd",event_time_elapsed:d==null?void 0:d.toString()}));return parseInt(d,10)}};f.exports=j}),34); __d("MessengerThreadCannotReplyReason",[],(function(a,b,c,d,e,f){a=Object.freeze({BLOCKED:"blocked",MESSENGER_BLOCKEE:"messenger_blockee",COMPOSER_DISABLED_BOT:"composer_disabled_bot",HAS_EMAIL_PARTICIPANT:"has_email_participant",OBJECT_ORIGINATED:"object_originated",READ_ONLY:"read_only",VIEWER_NOT_SUBSCRIBED:"viewer_not_subscribed",RECIPIENTS_NOT_LOADABLE:"recipients_not_loadable",RECIPIENTS_UNAVAILABLE:"recipients_unavailable",RECIPIENTS_INVALID:"recipients_invalid",RECIPIENTS_INACTIVE_WORK_ACC:"recipients_inactive_work_account",MONTAGE_NOT_AUTHOR:"montage_not_author",VIEWER_MUTED_IN_FBGROUP:"viewer_muted_in_fbgroup",VIEWER_IS_LIMITED_WORK_ACCOUNT:"viewer_is_limited_work_account",RECIPIENTS_IS_LIMITED_WORK_ACCOUNT:"recipients_is_limited_work_account",WORK_GARDEN_ARCHIVED:"work_garden_archived",PARTICIPANTS_IN_RESTRICTED_JURISDICTION:"participants_in_restricted_jurisdiction"});f["default"]=a}),66); __d("MessengerThreadCannotReplyReason.bs",["MessengerThreadCannotReplyReason","bs_js_dict"],(function(a,b,c,d,e,f){"use strict";function a(a){if(!(a==null))return b("bs_js_dict").get(b("MessengerThreadCannotReplyReason"),a.toUpperCase())}function c(a){if(a==null)return null;if(a===0)return b("MessengerThreadCannotReplyReason").BLOCKED;switch(a){case 1:return b("MessengerThreadCannotReplyReason").RECIPIENTS_NOT_LOADABLE;case 2:return b("MessengerThreadCannotReplyReason").BLOCKED;case 3:return b("MessengerThreadCannotReplyReason").MESSENGER_BLOCKEE}}f.fromName=a;f.fromMessageThreadCannotReplyReason=c}),null); __d("LSThreadRemoveType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;f.deleteThread=a;f.archiveThread=c}),null); __d("FocusTableUtils",["FocusManager","filterNulls","focusKeyboardEventPropagation","focusScopeQueries","orEmptyArray","setElementCanTab"],(function(a,b,c,d,e,f,g){function a(a){return a.length===1}function h(a){return a instanceof HTMLElement||a instanceof SVGElement}function i(a,b){var d,e=b instanceof HTMLElement&&b.id!==""?b.id:null,f=new Set(b instanceof HTMLElement?c("filterNulls")([].concat(((d=b.getAttribute("aria-labelledby"))!=null?d:"").split(" "),((d=b.getAttribute("aria-describedby"))!=null?d:"").split(" "),((d=b.getAttribute("aria-owns"))!=null?d:"").split(" "),[b.getAttribute("aria-errormessage")])).filter(function(a){return a!==""}):[]);d=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,{acceptNode:function(a){if(a===b)return NodeFilter.FILTER_REJECT;if(a.nodeType===Node.TEXT_NODE&&a.textContent.trim()==="")return NodeFilter.FILTER_REJECT;if(h(a)&&f.has(a.id))return NodeFilter.FILTER_REJECT;if(h(a)&&a.getAttribute("aria-hidden")==="true")return NodeFilter.FILTER_REJECT;if(a instanceof HTMLLabelElement&&(a.htmlFor===e||a.contains(b)))return NodeFilter.FILTER_REJECT;if(a.hasChildNodes())return NodeFilter.FILTER_SKIP;return h(a)&&a.getAttribute("aria-label")==null&&a.getAttribute("aria-labelledby")==null&&a.getAttribute("aria-describedby")==null&&a.getAttribute("alt")==null&&a.getAttribute("title")==null?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});var g=d.currentNode;while(g===a)g=d.nextNode();return g!=null}function j(a,b,c){if(!c)return null;c=function(b,c,e){return d("focusScopeQueries").arrowKeyLessOperationScopeQuery(b,c)&&d("focusScopeQueries").tableCellTabbableContentScopeQuery(b,c)&&a(b,c,e)};var e=b.DO_NOT_USE_queryFirstNode(d("focusScopeQueries").tableCellScopeQuery);b=b.DO_NOT_USE_queryAllNodes(c);b=(c=b)!=null?c:[];c=b[0];b=b.slice(1);if(e!=null&&c!=null&&b.length===0&&!i(e,c))return c}function k(a,b,e){if(b){var f=b.scopeRef.current;if(f!==null){b=j(a,f,(b=b.allowWithinCellNavigation)!=null?b:!1);b=(b=b)!=null?b:f.DO_NOT_USE_queryFirstNode(a);b!==null&&(c("setElementCanTab")(b,!0),d("FocusManager").focusElement(b),e!=null&&(e.preventDefault(),d("focusKeyboardEventPropagation").stopFocusKeyboardEventPropagation(e)))}}}function b(a,b,e){if(b!=null){b=b.DO_NOT_USE_queryFirstNode(a);b!==null&&(c("setElementCanTab")(b,!0),d("FocusManager").focusElement(b),e.preventDefault(),d("focusKeyboardEventPropagation").stopFocusKeyboardEventPropagation(e))}}function l(a,b,c,d,e){d=d[c];c=n(d,e);var f=0,g,h,i;do{g=b-f;if(g>=0){i=m(d,g,e,a);if(i)return i}h=b+f;if(h<=c){i=m(d,h,e,a);if(i)return i}f++}while(g>=0&&h<=c);return null}function e(a,b,c,d,e,f,g,h){var i=b.onNavigate;if(i){var j=!1;e=q(e,d,h);var n=e[1];e=s(b,d,g);var o=e[0],p=e[1];if(o===null)return!1;b={currentCellIndex:n,currentRowIndex:p,event:c,focusCell:function(a,b){k(b||f,a,c)},getCell:function(a,b){a=o[a];return a!=null?m(a,b,h):null},getCellByTag:function(a){var b=l(a,n,p,o,h);if(b)return b;var c=o.length,d=p+1;while(!0){if(d===p)return null;if(d>c-1){d=0;continue}b=l(a,n,d,o,h);if(b)return b;d++}return null},preventDefault:function(){j=!0},type:a};i(b);if(j)return!0}return!1}function m(a,b,c,d){a=a.getChildContextValues(c).filter(function(a){return a!=null&&(d===void 0||a.tag===d)});c=0;for(var e=0;eb)return f}}return null}function f(a,b,c,d,e){c=m(b,c,d);if(c!==null){k(a,c,e);return}c=b.getChildContextValues(d).filter(Boolean);c.length>0&&k(a,c[c.length-1],e)}function n(a,b){a=c("orEmptyArray")(a.getChildContextValues(b).filter(Boolean));b=0;for(var d=0;d0){c=o(b,a);a=c[0];c=c[1];return[b,a,c]}return[null,-1,-1]}function r(a,b,c){if(a){a=a.scopeRef.current;if(a!==null){a=a.getChildContextValues(b);b=[];for(var d=0;d0){c=a.indexOf(b);return[a,c]}return[null,-1]}function t(a){var b=a.altKey,c=a.ctrlKey,d=a.metaKey;a=a.shiftKey;return b===!0||c===!0||d===!0||a===!0}g.isPrintableCharacter=a;g.hasUnassociatedLeafNodes=i;g.getCellSingleInteractiveContentNode=j;g.focusCell=k;g.focusRow=b;g.checkRowForMatch=l;g.handleOnNavigateBehavior=e;g.getCellByColumnIndex=m;g.focusCellByColumnIndex=f;g.getLength=n;g.getCellIndexes=o;g.getRowCells=p;g.getRowCellsWithIndexes=q;g.getRows=r;g.getRowsWithIndex=s;g.hasModifierKey=t}),98); __d("FocusTable.react",["FocusManager","FocusTableUtils","Locale","ReactFocusEvent.react","ReactKeyboardEvent.react","focusKeyboardEventPropagation","react","setElementCanTab"],(function(a,b,c,d,e,f,g){var h=d("react");b=d("react");var i=b.useContext,j=b.useMemo,k=b.useRef,l=5;function a(a){var b=h.unstable_Scope,e=h.createContext(null),g=h.createContext(null),m=h.createContext(null);function n(a){var c=a.children,d=a.wrapX,f=a.wrapY,g=a.wrapXToNextLine,i=a.tabScopeQuery,m=a.allowModifiers,n=a.pageJumpSize,o=n===void 0?l:n,p=a.onNavigate,q=a.disabled,r=a.withinCellTabScopeQuery,s=k(null);n=j(function(){return{scopeRef:s,wrapXToNextLine:g,wrapX:d,wrapY:f,tabScopeQuery:i,allowModifiers:m,pageJumpSize:o,onNavigate:p,disabled:q,withinCellTabScopeQuery:r}},[g,d,f,i,m,o,p,q,r]);return h.jsx(e.Provider,{value:n,children:h.jsx(b,{ref:s,children:c})})}n.displayName=n.name+" [from "+f.id+"]";function o(a){a=a.children;var c=k(null),d=j(function(){return{scopeRef:c}},[]);return h.jsx(g.Provider,{value:d,children:h.jsx(b,{ref:c,children:a})})}o.displayName=o.name+" [from "+f.id+"]";function p(a,b,d){a=a.DO_NOT_USE_queryAllNodes(b);if(a!=null)for(var b=0;b0&&d("FocusTableUtils").focusCell(a,n[n.length-1],b)}}else o!==v[v.length-1]&&d("FocusTableUtils").focusCell(a,v[v.length-1],b);return;case"ArrowUp":if(d("FocusTableUtils").handleOnNavigateBehavior("PREV_ROW",q,b,f,e,a,g,m))return;if(j)return;k=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);n=k[0];o=k[2];if(n!==null&&q){v=d("FocusTableUtils").getRowsWithIndex(q,f,g);k=v[0];n=v[1];if(k!==null)if(n===0){v=q.wrapY;if(v===!0&&!l){v=k[k.length-1];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,m,b)}}else if(l){v=k[0];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,m,b)}else{v=k[n-1];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,m,b)}}return;case"PageUp":if(d("FocusTableUtils").handleOnNavigateBehavior("PAGE_UP",q,b,f,e,a,g,m))return;if(j)return;k=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);n=k[0];v=k[2];o=d("FocusTableUtils").getRowsWithIndex(q,f,g);k=o[0];o=o[1];if(n!==null&&k!==null&&q&&o!==0){n=q.pageJumpSize;k=k[Math.max(0,o-n)];d("FocusTableUtils").focusCellByColumnIndex(a,k,v,m,b)}return;case"ArrowDown":if(d("FocusTableUtils").handleOnNavigateBehavior("NEXT_ROW",q,b,f,e,a,g,m))return;if(j)return;o=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);n=o[0];k=o[2];v=d("FocusTableUtils").getRowsWithIndex(q,f,g);o=v[0];v=v[1];if(n!==null&&o!==null&&q&&v!==-1)if(v===o.length-1){n=q.wrapY;if(n===!0&&!l){n=o[0];d("FocusTableUtils").focusCellByColumnIndex(a,n,k,m,b)}}else if(l){n=o[o.length-1];d("FocusTableUtils").focusCellByColumnIndex(a,n,k,m,b)}else{l=o[v+1];d("FocusTableUtils").focusCellByColumnIndex(a,l,k,m,b)}return;case"PageDown":if(d("FocusTableUtils").handleOnNavigateBehavior("PAGE_DOWN",q,b,f,e,a,g,m))return;if(j)return;n=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);o=n[0];v=n[2];l=d("FocusTableUtils").getRowsWithIndex(q,f,g);k=l[0];n=l[1];if(o!==null&&k!==null&&q&&n!==k.length-1){l=q.pageJumpSize;o=k[Math.min(k.length-1,n+l)];d("FocusTableUtils").focusCellByColumnIndex(a,o,v,m,b)}return;case"ArrowLeft":if(d("FocusTableUtils").handleOnNavigateBehavior("PREV_CELL",q,b,f,e,a,g,m))return;if(j)return;k=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);n=k[0];l=k[1];o=d("FocusTableUtils").getRowsWithIndex(q,f,g);v=o[0];k=o[1];if(n!==null&&v!==null&&q)if(l>0)d("FocusTableUtils").focusCell(a,n[l-1],b);else if(l===0){o=q.wrapX;l=q.wrapXToNextLine;o===!0?d("FocusTableUtils").focusCell(a,n[n.length-1],b):l===!0&&v[k-1]&&d("FocusTableUtils").focusCellByColumnIndex(a,v[k-1],d("FocusTableUtils").getLength(v[k-1],m),m,b)}return;case"ArrowRight":if(d("FocusTableUtils").handleOnNavigateBehavior("NEXT_CELL",q,b,f,e,a,g,m))return;if(j)return;o=d("FocusTableUtils").getRowCellsWithIndexes(e,f,m);n=o[0];l=o[1];v=d("FocusTableUtils").getRowsWithIndex(q,f,g);k=v[0];o=v[1];if(n!==null&&k!==null&&q&&l!==-1)if(l===n.length-1){v=q.wrapX;var w=q.wrapXToNextLine;v===!0?d("FocusTableUtils").focusCell(a,n[0],b):w===!0&&k[o+1]&&d("FocusTableUtils").focusCellByColumnIndex(a,k[o+1],0,m,b)}else d("FocusTableUtils").focusCell(a,n[l+1],b);return;case"Enter":if(!i||j)return;if(d("FocusTableUtils").handleOnNavigateBehavior("ENTER",q,b,f,e,a,g,m))return;v=q==null?void 0:q.withinCellTabScopeQuery;if(v){w=e.DO_NOT_USE_queryFirstNode(v);w!=null&&(t.current=!0,p(e,v,!0),d("FocusManager").focusElement(w))}return;case"Escape":if(!i||!j)return;if(d("FocusTableUtils").handleOnNavigateBehavior("ESC",q,b,f,e,a,g,m))return;k=q==null?void 0:q.tabScopeQuery;if(k){t.current=!1;o=e.DO_NOT_USE_queryAllNodes(k);if(o!==null)for(var n=0;n0?(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.transformerResourceForAttachmentType=f;g.getCanAlterAttachmentData=h;g.removeActiveAttachmentViewStateData=a;g.composerAttachmentAreaReducer=b}),98); __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","orEmptyArray","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);c("orEmptyArray")(a.mediaAttachments).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){if(a.mediaAttachments==null)return a;var d=new Map(a.withTagIDsTracker),e=[],f=[],g=b.media.data.id;c("orEmptyArray")(b.media.data.tags).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"?e.push(c):b.actorID!==c&&f.push(c)}});var h=b.media.originalEntID!=null?b.media.originalEntID:g;g=(a.mediaAttachments||[]).find(function(a){a=a.originalEntID!=null?a.originalEntID:a.data.id;return a===h});if(h==null||g==null)throw c("unrecoverableViolation")("Invalid action taken to save media edits of a media attachment that does not exist","comet_composer");d=c("removeTagsFromMedia")(g,d);d=c("addTagsToWithTagsIDsTracker")(h,f,d);return babelHelpers["extends"]({},a,{mediaAttachments:(g=a.mediaAttachments)==null?void 0:g.map(function(a,c){return c!==b.index?a:b.media}),taggedProductIDs:e,withTagIDsTracker:d})}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("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("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("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("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*/"As altera\u00e7\u00f5es que voc\u00ea fez n\u00e3o ser\u00e3o salvas."/*FBT_CALL*/),cancel:h._(/*FBT_CALL*/"Continuar editando"/*FBT_CALL*/),confirm:h._(/*FBT_CALL*/"Descartar"/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Altera\u00e7\u00f5es n\u00e3o salvas"/*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*/"Fechar"/*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*/"Voltar"/*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("composerLocationTagChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c;if((a==null?void 0:a.locationMinutiae)!=null&&b.locationMinutiae==null)return"DELETED";else if((a==null?void 0:(c=a.locationMinutiae)==null?void 0:c.placeID)!==((c=b.locationMinutiae)==null?void 0:c.placeID))return"UPDATED";else{a=(a==null?void 0:(c=a.attachmentArea)==null?void 0:c.activeAttachmentType)==="LOCATION";b=((c=b.attachmentArea)==null?void 0:c.activeAttachmentType)==="LOCATION";if(a!==b)return"UPDATED"}return"UNCHANGED"}f["default"]=a}),66); __d("useCometComposerPushLocationPage",["fbt","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPage"],(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("useCometComposerPushPage")();return j(function(){a!=null&&a(h._(/*FBT_CALL*/"Procurar localiza\u00e7\u00e3o"/*FBT_CALL*/),function(a){a=a.onReturn;return i.jsx(k,{onClose:a,withPopover:!1})})},[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*/"Concluir"/*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","CometComposerLifeEventCategoryList.entrypoint","CometComposerLifeEventSubcategoryList.entrypoint","CometComposerLifeEventsFormDoneButton.react","CometComposerMajorLifeEventAttachmentFormResource","CometComposerPushPageContext","CometComposerPushPageGlimmer.react","CometPlaceholder.react","ProfileCometLifeEventEditMediaContext","ProfileCometLifeEventMigrationContext","lazyLoadComponent","react","react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react","useCometComposerPushPage","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("useCometComposerPushPage")(),f=c("useCometRelayEntrypointContextualEnvironmentProvider")(),g=c("useLifeEventsComposerDispatcher")();return j(function(){var j={isInCometComposer:!0},m={mediaEditable:!0},n=d!=null?d:h._(/*FBT_CALL*/"Criar acontecimento"/*FBT_CALL*/),o=b?b:{onBack:function(){return g({type:"CLEAR_FORM_FIELDS"})}};if(e!=null)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("CometComposerPushPageContext").Provider,{value:e,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}})})})})});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("CometComposerPushPageContext").Provider,{value:e,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})}}})})})})});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("CometComposerPushPageContext").Provider,{value:e,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})]})})})})},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*/"Como voc\u00ea est\u00e1 se sentindo?"/*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 a==null?null:function(){a(h._(/*FBT_CALL*/"Como voc\u00ea est\u00e1 se sentindo?"/*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",["FeedCometMentionsTypeaheadEntry","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}}})}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;return c("FeedCometMentionsTypeaheadEntry").fromGraphql({data:a,type:"WITH_TAG_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("useCometComposerWithTagSuggestionsDataSource",["FeedCometMentionsTypeaheadEntry","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}}})}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;return c("FeedCometMentionsTypeaheadEntry").fromGraphql({data: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("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("useLiveCostreamerTagSubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4367894086609150"}),null); __d("useLiveCostreamerTagSubscription.graphql",["useLiveCostreamerTagSubscription_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:"id",storageKey:null},e=[d],f={alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"tagged_page",plural:!1,selections:[d,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"currently_live_video",plural:!1,selections:e,storageKey:null}],storageKey:null},g={args:null,documentName:"useLiveCostreamerTagSubscription",fragmentName:"VideoPlayerCostreamingControl_video",fragmentPropName:"video",kind:"ModuleImport"};e={alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"video",plural:!1,selections:[d,{alias:null,args:null,concreteType:"VideoLiveCostreamingStreamersConnection",kind:"LinkedField",name:"live_costreaming_streamers",plural:!1,selections:[{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"nodes",plural:!0,selections:e,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}],storageKey:null}],storageKey:null};var h={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},j=[i,d],k=[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],l=[h,{alias:null,args:null,kind:"ScalarField",name:"start",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"end",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"representation_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mime_codec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"segment_type",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useLiveCostreamerTagSubscription",selections:[{alias:null,args:c,concreteType:"LiveVideoTagSubscribeResponsePayload",kind:"LinkedField",name:"live_video_tag_subscribe",plural:!1,selections:[f,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"tagged_video",plural:!1,selections:[d,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"if_viewer_can_see_costreaming_tools",plural:!1,selections:[g],storageKey:null},{alias:null,args:null,concreteType:"VideoLiveCostreamingStreamersConnection",kind:"LinkedField",name:"live_costreaming_streamers",plural:!1,selections:[{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"currently_live_video",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometVideoPlayerCostreamingThumbnailRowInner_video"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},e],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useLiveCostreamerTagSubscription",selections:[{alias:null,args:c,concreteType:"LiveVideoTagSubscribeResponsePayload",kind:"LinkedField",name:"live_video_tag_subscribe",plural:!1,selections:[f,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"tagged_video",plural:!1,selections:[d,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"if_viewer_can_see_costreaming_tools",plural:!1,selections:[g,d],storageKey:null},{alias:null,args:null,concreteType:"VideoLiveCostreamingStreamersConnection",kind:"LinkedField",name:"live_costreaming_streamers",plural:!1,selections:[{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"currently_live_video",plural:!1,selections:[d,h,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"video_channel",plural:!1,selections:j,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:k,storageKey:null},d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"animated_image_caption",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"broadcaster_origin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"broadcast_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_live_streaming",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_live_trace_enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_looping",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_video_broadcast",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"loop_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_spherical",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_spherical_enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"unsupported_browser_message",storageKey:null},{alias:null,args:null,concreteType:"MusicVideoMetadata",kind:"LinkedField",name:"pmv_metadata",plural:!1,selections:j,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_ncsr",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"permalink_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"captions_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dash_prefetch_experimental",storageKey:null},{alias:null,args:null,concreteType:"VideoCaptionLocale",kind:"LinkedField",name:"video_available_captions_locales",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"localized_creation_method",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"VideoPrefetchResources",kind:"LinkedField",name:"dash_prefetch_resources",plural:!1,selections:[{alias:null,args:null,concreteType:"VideoPrefetchResource",kind:"LinkedField",name:"audio",plural:!0,selections:l,storageKey:null},{alias:null,args:null,concreteType:"VideoPrefetchResource",kind:"LinkedField",name:"video",plural:!0,selections:l,storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"context",value:"DEFAULT"},{kind:"Literal",name:"supported",value:["CometVideoPlayerOzImplementation","CometVideoPlayerShakaImplementation","CometVideoPlayerProgressiveImplementation"]}],concreteType:null,kind:"LinkedField",name:"comet_video_player_implementations",plural:!0,selections:[i,{kind:"InlineFragment",selections:[{args:null,documentName:"useRelay3DVideoImplementations_video",fragmentName:"useRelay3DOzImplementation_implementation",fragmentPropName:"implementation",kind:"ModuleImport"}],type:"CometVideoPlayerOzImplementation",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useRelay3DVideoImplementations_video",fragmentName:"useRelay3DShakaImplementation_implementation",fragmentPropName:"implementation",kind:"ModuleImport"}],type:"CometVideoPlayerShakaImplementation",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"useRelay3DVideoImplementations_video",fragmentName:"useRelay3DProgressiveImplementation_implementation",fragmentPropName:"implementation",kind:"ModuleImport"}],type:"CometVideoPlayerProgressiveImplementation",abstractKey:null}],storageKey:'comet_video_player_implementations(context:"DEFAULT",supported:["CometVideoPlayerOzImplementation","CometVideoPlayerShakaImplementation","CometVideoPlayerProgressiveImplementation"])'},{alias:null,args:null,kind:"ScalarField",name:"can_use_oz",storageKey:null},{alias:"playable_url_dash",args:[{kind:"Literal",name:"scrubbing_preference",value:"MPEG_DASH"}],kind:"ScalarField",name:"playable_url",storageKey:'playable_url(scrubbing_preference:"MPEG_DASH")'},{alias:null,args:null,kind:"ScalarField",name:"dash_manifest",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_quality_preference",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rss_podcast_video",storageKey:null},{alias:null,args:null,concreteType:"VideoPlayerShakaLiveP2PInit",kind:"LinkedField",name:"video_player_shaka_live_p2p_init",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"json_encoded_video_data",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"playable_url",storageKey:null},{alias:"playable_url_quality_hd",args:[{kind:"Literal",name:"quality",value:"HD"}],kind:"ScalarField",name:"playable_url",storageKey:'playable_url(quality:"HD")'},{alias:null,args:null,concreteType:"SphericalVideoFallbackUrls",kind:"LinkedField",name:"spherical_video_fallback_urls",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"hd",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sd",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_gaming_video",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_latency_menu_enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"fbls_tier",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_latency_sensitive_broadcast",storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"selected_latency_setting",storageKey:null}]},{alias:null,args:null,kind:"ScalarField",name:"comet_video_player_static_config",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"comet_video_player_context_sensitive_config",storageKey:null},{alias:null,args:null,concreteType:"VideoPlayerShakaPerformanceLoggerInit",kind:"LinkedField",name:"video_player_shaka_performance_logger_init",plural:!1,selections:[{args:null,documentName:"useVideoPlayerShakaPerformanceLoggerRelayImpl_video",fragmentName:"useVideoPlayerShakaPerformanceLoggerRelayImpl_init",fragmentPropName:"init",kind:"ModuleImport"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"video_player_shaka_performance_logger_should_sample",storageKey:null},{alias:"video_player_shaka_performance_logger_init2",args:null,concreteType:"VideoPlayerShakaPerformanceLoggerInit",kind:"LinkedField",name:"video_player_shaka_performance_logger_init",plural:!1,selections:[{args:null,documentName:"useVideoPlayerShakaPerformanceLoggerBuilder_video",fragmentName:"useVideoPlayerShakaPerformanceLoggerBuilder_init",fragmentPropName:"init",kind:"ModuleImport"},{alias:null,args:null,kind:"ScalarField",name:"per_session_sampling_rate",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"autoplay_gating_result",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"viewer_autoplay_setting",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_autoplay",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"drm_info",storageKey:null},{alias:null,args:null,concreteType:"VideoP2PSettings",kind:"LinkedField",name:"p2p_settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ticket",storageKey:null},{alias:null,args:null,concreteType:"VideoP2PSettingsConfig",kind:"LinkedField",name:"config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"delay_p2p_until_play",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"disable_hivejava_for_livevc",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"VideoHiveInitializationOptions",kind:"LinkedField",name:"hive_initialization_options",plural:!1,selections:[{alias:null,args:null,concreteType:"VideoHiveInitializationOptionHiveJava",kind:"LinkedField",name:"hive_java",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"min_version",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hive_tech_order",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"debug_level",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AudioSettings",kind:"LinkedField",name:"audio_settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"video_volume_setting",storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"CaptionsSettings",kind:"LinkedField",name:"captions_settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"always_show_captions",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"captions_background_color",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"captions_background_opacity",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"captions_text_color",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"captions_text_size",storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"VideoBroadcastLowLatencyConfig",kind:"LinkedField",name:"broadcast_low_latency_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ll_desired_latency_ms",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ll_latency_tolerance_ms",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"audio_availability",storageKey:null},{alias:null,args:null,concreteType:"VideoMutedSegment",kind:"LinkedField",name:"muted_segments",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"mute_start_time_in_sec",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mute_end_time_in_sec",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"SphericalVideoRenderer",kind:"LinkedField",name:"spherical_video_renderer",plural:!1,selections:[{args:null,documentName:"VideoPlayerRelay_video_spherical_video_renderer",fragmentName:"VideoPlayerSphericalRelay_sphericalVideoRenderer",fragmentPropName:"sphericalVideoRenderer",kind:"ModuleImport"}],storageKey:null},{"if":null,kind:"Defer",label:"VideoPlayerRelay_video$defer$InstreamVideoAdBreaksPlayer_video",selections:[d,{alias:null,args:null,concreteType:"InstreamExtraConfig",kind:"LinkedField",name:"instream_extra_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"instream_halo_delay_time_seconds",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"InstreamVideoAdBreaks",kind:"LinkedField",name:"instream_video_ad_breaks_comet",plural:!1,selections:[{args:null,documentName:"InstreamVideoAdBreaksPlayer_video_instream_video_ad_breaks_comet",fragmentName:"InstreamVideoAdBreaksPlayerImpl_adBreaks",fragmentPropName:"adBreaks",kind:"ModuleImport"}],storageKey:null}]},{alias:null,args:null,concreteType:"VideoThumbnail",kind:"LinkedField",name:"preferred_thumbnail",plural:!1,selections:[{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:k,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"image_preview_payload",storageKey:null},d],storageKey:null}],storageKey:null},d],storageKey:null}],storageKey:null}],storageKey:null},e],storageKey:null}]},params:{id:b("useLiveCostreamerTagSubscription_facebookRelayOperation"),metadata:{subscriptionName:"live_video_tag_subscribe"},name:"useLiveCostreamerTagSubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null); __d("LiveVideoLatencyMenuContextProvider_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"LiveVideoLatencyMenuContextProvider_video",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"if_viewer_can_use_latency_menu",plural:!1,selections:[{args:null,documentName:"LiveVideoLatencyMenuContextProvider_video_if_viewer_can_use_latency_menu",fragmentName:"VideoPlayerSettingsMenuLatencyPane_video",fragmentPropName:"video",kind:"ModuleImport"}],storageKey:null},action:"NONE",path:"if_viewer_can_use_latency_menu"},{kind:"RequiredField",field:{alias:"if_viewer_can_use_latency_menu_toggle",args:null,concreteType:"Video",kind:"LinkedField",name:"if_viewer_can_use_latency_menu",plural:!1,selections:[{args:null,documentName:"LiveVideoLatencyMenuContextProvider_video_if_viewer_can_use_latency_menu_toggle",fragmentName:"VideoPlayerSettingsMenuLatencyPaneToggle_video",fragmentPropName:"video",kind:"ModuleImport"}],storageKey:null},action:"NONE",path:"if_viewer_can_use_latency_menu_toggle"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("VideoPlayerScrubberPreview_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerScrubberPreview_video",selections:[{alias:null,args:null,concreteType:"ScrubberPreview",kind:"LinkedField",name:"scrubber_preview_thumbnail_information",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"sprite_uris",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thumbnail_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"thumbnail_height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_preview_thumbnails",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"num_images_per_row",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"max_number_of_images_per_sprite",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time_interval_between_image",storageKey:null}],storageKey:null}],type:"Video",abstractKey:null};e.exports=a}),null); __d("VideoPlayerWithVideoCardsOverlay_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWithVideoCardsOverlay_video",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"comet_video_player_with_video_card_renderer",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"VideoPlayerWithVideoCardsOverlay_video",fragmentName:"VideoPlayerVideoCardsOverlay_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CometVideoPlayerWithVideoCardRenderer",abstractKey:null}],storageKey:null}],type:"Video",abstractKey:null};e.exports=a}),null); __d("useLiveCostreamerTagSubscription.react",["CometRelay","react","useLiveCostreamerTagSubscription.graphql","uuid"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react").useMemo;function a(a,e,f){var g=h!==void 0?h:h=b("useLiveCostreamerTagSubscription.graphql"),j=i(function(){return{onNext:f,subscription:g,updater:function(a){var b;a=a.getRootField("live_video_tag_subscribe");b=a==null?void 0:(b=a.getLinkedRecord("tagged_page"))==null?void 0:b.getLinkedRecord("currently_live_video");a=a==null?void 0:a.getLinkedRecord("tagged_video");b==null&&a!=null&&a.setValue(null,"if_viewer_can_see_costreaming_tools")},variables:{input:{client_subscription_id:c("uuid")(),tagged_page_id:a,tagged_video_id:e}}}},[f,a,g,e]);d("CometRelay").useSubscription(j)}g["default"]=a}),98); __d("LiveCostreamerTagSubscription.react",["useLiveCostreamerTagSubscription.react"],(function(a,b,c,d,e,f,g){"use strict";function a(a){c("useLiveCostreamerTagSubscription.react")(a.pageID,a.videoID,a.onNext);return null}g["default"]=a}),98); __d("useCometProfilePlusAdminActivitiesLogger.react",["CometProfilePlusAdminActivitiesLoggingContext.react","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useContext,j=c("requireDeferred")("ProfilePlusAdminActivitiesFalcoEvent").__setRef("useCometProfilePlusAdminActivitiesLogger.react");function a(a){var b=i(d("CometProfilePlusAdminActivitiesLoggingContext.react").CometProfilePlusAdminActivitiesLoggingContext);return h(function(c){var e=d("CometProfilePlusAdminActivitiesLoggingContext.react").validateLogData(d("CometProfilePlusAdminActivitiesLoggingContext.react").mergeLogData(d("CometProfilePlusAdminActivitiesLoggingContext.react").mergeLogData(b,a),c));if(e==null)return;j.onReady(function(a){a.log(function(){return e})})},[b,a])}g["default"]=a}),98); __d("UsabilityTaskResult",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["FAIL","NOT_STARTED","SUCCESS"]);c=a;f["default"]=c}),66); __d("UsabilityUserResult",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["CANCELLED","COMPLETED","NOT_STARTED","TIMEOUT"]);c=a;f["default"]=c}),66); __d("CometUBTLogger",["DateConsts","QPLUserFlow","qpl","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=c("qpl")._(42795009,"8382"),i="fb_url",j="V3";function a(){c("QPLUserFlow").start(h),k(0)}function k(a){switch(a){case 0:c("QPLUserFlow").addPoint(h,"show_dialog_data_use");break;case 1:c("QPLUserFlow").addPoint(h,"show_dialog_task_details");break;default:return}}function b(){c("QPLUserFlow").addPoint(h,"start_task")}function e(a){c("QPLUserFlow").addPoint(h,"task_status_success"),c("QPLUserFlow").addAnnotations(h,{string:{hit_success_marker_id:String(a)}})}function f(a,b){a=a!=null?{"double":{duration_to_success:(Date.now()-a)/d("DateConsts").MS_PER_SEC}}:void 0;c("QPLUserFlow").addAnnotations(h,babelHelpers["extends"]({},a,{"int":{nav_steps_to_success:b}}))}function l(a,b){a=a!=null?{"double":{duration_to_completion:(Date.now()-a)/d("DateConsts").MS_PER_SEC}}:void 0;q(b);c("QPLUserFlow").addAnnotations(h,babelHelpers["extends"]({},a,{"int":{nav_steps_to_completion:b}}))}function m(){c("QPLUserFlow").addPoint(h,"task_status_timeout")}function n(a){a={string:{task_status:a}};c("QPLUserFlow").addAnnotations(h,a)}function o(a){switch(a){case"CANCELLED":c("QPLUserFlow").addPoint(h,"user_tapped_cancelled");return;case"COMPLETED":c("QPLUserFlow").addPoint(h,"user_tapped_completed");return;default:return}}function p(){c("QPLUserFlow").addPoint(h,"floating_button_was_tapped")}function q(a){c("QPLUserFlow").addAnnotations(h,{"int":{nav_steps:a}})}function r(a,b){b=b===0?"navigate_from_":"navigate_to_";c("QPLUserFlow").addPoint(h,b+a)}function s(a,b,d){if(a==null){c("recoverableViolation")("Task info cannot be null when logging end of task","quality_programs");return}var e=a.taskRunID!=null?{run_id:a.taskRunID}:void 0;e={string:babelHelpers["extends"]({},e,{source:(e=a.groupID)!=null?e:i,task_key:a.taskKey,ubt_version:j,user_status:d})};b==="FAIL"&&(d==="COMPLETED"||d==="CANCELLED")?c("QPLUserFlow").addPoint(h,"task_status_cancel"):d==="TIMEOUT"&&c("QPLUserFlow").addPoint(h,"closed_on_timeout");c("QPLUserFlow").endSuccess(h,{annotations:e})}g.startUserFlow=a;g.updateUserFlowOnDialogPageChange=k;g.updateUserFlowOnStartTask=b;g.addSuccessMarkerHit=e;g.addSuccessLogging=f;g.addCompletionLogging=l;g.addTimeoutLogging=m;g.addTaskResultLogging=n;g.addDialogFooterAction=o;g.addPulseTapped=p;g.addNavStepsLogging=q;g.addNavigationPoint=r;g.updateUserFlowOnEndTask=s}),98); __d("getFormattedTimestamp",["DateConsts"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b="";a=a;isNaN(a)?a=0:a<0&&(a*=-1,b="-");var c=Math.floor(a/d("DateConsts").SEC_PER_HOUR),e=Math.floor((a-c*d("DateConsts").SEC_PER_HOUR)/d("DateConsts").SEC_PER_MIN);a=Math.round(a-c*d("DateConsts").SEC_PER_HOUR-e*d("DateConsts").SEC_PER_MIN);a===d("DateConsts").SEC_PER_MIN&&(a=0,e++);e===d("DateConsts").MIN_PER_HOUR&&(e=0,c++);a=("0"+a).slice(-2);if(c===0)return""+b+e+":"+a;else{e=("0"+e).slice(-2);return""+b+c+":"+e+":"+a}}g["default"]=a}),98); __d("VideoPlayerSettingsMenuQualityPaneToggle.react",["fbt","ix","CometImage.react","CometPressable.react","VideoPlayerSettingsMenu.react","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k={chevronRight:{display:"pq6dq46d",marginBottom:"scwd0bx6",marginStart:"dwxx2s2f"},label:{cursor:"nhd2j8a9",fontWeight:"lrazzd5p"},option:{alignItems:"bp9cbjyn",color:"ljqsnud1",cursor:"nhd2j8a9",display:"j83agx80",flexGrow:"idf2khru",justifyContent:"bkfpd7mw",marginStart:"h676nmdw",minWidth:"fc1w0g64"},pressableOption:{width:"k4urcfbm"}};function a(a){var b=a.selectedVideoQuality,e=a.setPane;a=a.targetVideoQuality;return j.jsxs(c("CometPressable.react"),{onPress:function(){e(d("VideoPlayerSettingsMenu.react").VideoPlayerSettingsMenuPaneType.QUALITY)},testid:void 0,xstyle:k.pressableOption,children:[j.jsx("div",{className:c("stylex")(k.label),children:h._(/*FBT_CALL*/"Qualidade"/*FBT_CALL*/)}),j.jsxs("div",{className:c("stylex")(k.option),children:[b==="notselected"?j.jsx("span",{"data-testid":void 0,children:"\xa0"}):b==="auto"?j.jsxs(j.Fragment,{children:[j.jsx("span",{"data-testid":void 0,children:h._(/*FBT_CALL*/"Autom\u00e1tico"/*FBT_CALL*/)}),a!=null?j.jsxs(j.Fragment,{children:[j.jsx("span",{children:"\xa0"}),j.jsx("span",{"data-testid":void 0,children:a})]}):null]}):j.jsx("span",{"data-testid":void 0,children:b}),j.jsx("span",{className:c("stylex")(k.chevronRight),children:j.jsx(c("CometImage.react"),{src:i("480587")})})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("LiveVideoLatencyMenu.react",["fbt","CometRelay","LiveVideoLatencyMenuContextProvider_video.graphql","VideoPlayerHooks","react","recoverableViolation","useSelectedLatencySetting"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=d("react").useMemo,l=h._(/*FBT_CALL*/"Lat\u00eancia"/*FBT_CALL*/),m=[o("low"),o("normal")],n=j.createContext({liveVideoLatencyMenuPaneMatchPointer:null,liveVideoLatencyMenuPaneToggleMatchPointer:null});function o(a){switch(a){case"low":return{description:h._(/*FBT_CALL*/"Uma experi\u00eancia quase em tempo real."/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Baixa lat\u00eancia"/*FBT_CALL*/),value:a};case"normal":return{description:h._(/*FBT_CALL*/"Ideal para melhor desempenho e conex\u00f5es mais lentas."/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Normal"/*FBT_CALL*/),value:a};default:a;c("recoverableViolation")("Setting "+a+" is not valid","gaming_video");return{description:h._(/*FBT_CALL*/"Erro"/*FBT_CALL*/),title:h._(/*FBT_CALL*/"Erro"/*FBT_CALL*/),value:a}}}function a(a,b){var e=d("VideoPlayerHooks").useController(),f=d("VideoPlayerHooks").useLatencyLevel();a=c("useSelectedLatencySetting")(a,b);a[0];var g=a[1];b=o(f);a=b.title;b=function(a){f!==a&&(g(a),e.setLatencyLevel(a))};return{selectedLatencySetting:f,selectedLatencySettingTitle:a,setSelectedLatencySetting:b}}var p=i!==void 0?i:i=b("LiveVideoLatencyMenuContextProvider_video.graphql");function e(a){var b=a.children;a=a.video;var c=d("CometRelay").useFragment(p,a);a=k(function(){return c==null?{liveVideoLatencyMenuPaneMatchPointer:null,liveVideoLatencyMenuPaneToggleMatchPointer:null}:{liveVideoLatencyMenuPaneMatchPointer:c.if_viewer_can_use_latency_menu,liveVideoLatencyMenuPaneToggleMatchPointer:c.if_viewer_can_use_latency_menu_toggle}},[c]);return j.jsx(n.Provider,{value:a,children:b})}e.displayName=e.name+" [from "+f.id+"]";g.LATENCY_MENU_TITLE=l;g.LATENCY_SETTING_OPTIONS=m;g.LiveVideoLatencyMenuContext=n;g.getLiveVideoLatencySettingToInfoMapping=o;g.useLatencySettingState=a;g.LiveVideoLatencyMenuContextProvider=e}),98); __d("VideoPlayerSettingsMenu.react",["fbt","$InternalEnum","CometErrorBoundary.react","CometKeys","CometPlaceholder.react","CometRelay","LiveVideoLatencyMenu.react","PlaybackSpeedExperiments","VideoPlayerHooks","VideoPlayerSettingsMenuMainPane.react","VideoPlayerSettingsMenuPlaybackSpeedPane.react","VideoPlayerSettingsMenuQualityPane.react","cr:564","react","recoverableViolation","useLayerKeyCommands"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");e=d("react");var j=e.useCallback,k=e.useContext,l=e.useEffect,m=e.useMemo,n=e.useRef,o=e.useState,p=b("$InternalEnum")({LATENCY:"latency",MAIN:"main",PLAYBACK_SPEED:"playbackSpeed",QUALITY:"quality",SEARCH_CAPTIONS:"searchCaptions"});function a(a){var e=a.children;e=e===void 0?null:e;var f=a.onClose;a=d("VideoPlayerHooks").useCaptionsLoaded();var g=d("VideoPlayerHooks").useCaptionsVisible(),q=d("VideoPlayerHooks").useSelectedVideoQuality(),r=d("VideoPlayerHooks").useInbandCaptionsAutogenerated(),s=d("VideoPlayerHooks").useTargetVideoQuality(),t=o(p.MAIN),u=t[0],v=t[1];t=o(g);g=t[0];t=t[1];var w=d("VideoPlayerHooks").usePlaybackRate(),x=d("VideoPlayerHooks").useIsLive(),y=d("VideoPlayerHooks").useIsLiveRewindActive(),z=k(d("LiveVideoLatencyMenu.react").LiveVideoLatencyMenuContext);z=z.liveVideoLatencyMenuPaneMatchPointer;var A=d("VideoPlayerHooks").useShouldShowPlaybackRateControl();A=!!d("PlaybackSpeedExperiments").enableCometPlaybackSpeedControlPublicTest()&&A;l(function(){x&&!y&&u===p.PLAYBACK_SPEED&&v(p.MAIN)},[y,v,x,u]);var B=n(null),C=n(null),D=j(function(a){B.current&&C.current&&a.target instanceof HTMLElement&&document.contains(a.target)&&!B.current.contains(a.target)&&C.current.contains(a.target)&&f()},[f]);l(function(){document.addEventListener("click",D);return function(){document.removeEventListener("click",D)}},[D]);var E=m(function(){return[{command:{key:c("CometKeys").ESCAPE},description:h._(/*FBT_CALL*/"Fechar o menu de configura\u00e7\u00f5es de v\u00eddeo"/*FBT_CALL*/),handler:function(){f()}}]},[f]);c("useLayerKeyCommands")(E);E=i.jsx(c("VideoPlayerSettingsMenuMainPane.react"),{captionsLoaded:a,captionsVisibleOptimistic:g,inbandCaptionsAutogenerated:r,playbackRate:w,selectedVideoQuality:q,setIsCaptionsVisible:t,setPane:v,shouldEnablePlaybackRateSupport:A,targetVideoQuality:s,children:e});switch(u){case p.LATENCY:if(z==null){c("recoverableViolation")("Latency components should not be null","gaming_video");break}E=i.jsx(c("CometErrorBoundary.react"),{children:i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(d("CometRelay").MatchContainer,{match:z,props:{setPane:v}})})});break;case p.MAIN:break;case p.PLAYBACK_SPEED:E=i.jsx(c("VideoPlayerSettingsMenuPlaybackSpeedPane.react"),{playbackRate:w,setPane:v});break;case p.QUALITY:E=i.jsx(c("VideoPlayerSettingsMenuQualityPane.react"),{selectedVideoQuality:q,setPane:v});break;case p.SEARCH_CAPTIONS:b("cr:564")!=null&&(E=i.jsx(b("cr:564"),{setPane:v,children:e}));break}return i.jsxs(i.Fragment,{children:[i.jsx("div",{ref:B,children:E}),i.jsx("div",{className:"enjifjd9 k4urcfbm kr520xx4 j9ispegn poy2od1o mk1liphd h3gjbzrl datstx6m g5ia77u1","data-testid":void 0,ref:C})]})}a.displayName=a.name+" [from "+f.id+"]";g.VideoPlayerSettingsMenuPaneType=p;g.VideoPlayerSettingsMenu=a}),98); __d("VideoPlayerSettingsMenuCaptionsToggle.react",["fbt","CometPressable.react","CometSwitch.react","VideoPlayerHooks","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={captionVisibility:{marginStart:"h676nmdw",textAlign:"ftzlm3b6",width:"odw8uiq3"},label:{cursor:"nhd2j8a9",fontWeight:"lrazzd5p"},option:{alignItems:"bp9cbjyn",color:"ljqsnud1",cursor:"nhd2j8a9",display:"j83agx80",flexGrow:"idf2khru",justifyContent:"bkfpd7mw",marginStart:"h676nmdw",minWidth:"fc1w0g64"},pressableOption:{width:"k4urcfbm"}};function a(a){var b=a.captionsLoaded,e=a.captionsVisibleOptimistic,f=a.inbandCaptionsAutogenerated,g=a.setIsCaptionsVisible,k=d("VideoPlayerHooks").useController();return!b?null:i.jsxs(c("CometPressable.react"),{onPress:function(){g(!e),k.setCaptionsVisible(!e)},xstyle:j.pressableOption,children:[i.jsx("div",{className:c("stylex")(j.label),children:f?h._(/*FBT_CALL*/"Legendas geradas automaticamente"/*FBT_CALL*/):h._(/*FBT_CALL*/"Legendas"/*FBT_CALL*/)}),i.jsxs("div",{className:c("stylex")(j.option),children:[i.jsx(c("CometSwitch.react"),{onClick:function(){g(!e),k.setCaptionsVisible(!e)},size:"small",value:e,children:h._(/*FBT_CALL*/"Legendas"/*FBT_CALL*/)}),i.jsx("span",{className:c("stylex")(j.label,j.captionVisibility),children:e?h._(/*FBT_CALL*/"ATIVADO"/*FBT_CALL*/):h._(/*FBT_CALL*/"DESATIVADO"/*FBT_CALL*/)})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerSettingsMenuMainPane.react",["CometErrorBoundary.react","CometPlaceholder.react","CometRelay","FocusRegion.react","LiveVideoLatencyMenu.react","VideoPlayerSettingsMenuCaptionsToggle.react","VideoPlayerSettingsMenuPlaybackPaneToggle.react","VideoPlayerSettingsMenuQualityPaneToggle.react","cr:565","focusScopeQueries","qex","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useContext;function a(a){var e,f=a.captionsLoaded,g=a.captionsVisibleOptimistic,j=a.children,k=a.inbandCaptionsAutogenerated,l=a.playbackRate,m=a.selectedVideoQuality,n=a.setIsCaptionsVisible,o=a.setPane,p=a.shouldEnablePlaybackRateSupport;a=a.targetVideoQuality;var q=i(d("LiveVideoLatencyMenu.react").LiveVideoLatencyMenuContext);q=q.liveVideoLatencyMenuPaneToggleMatchPointer;e=(e=c("qex")._("63"))!=null?e:!1;return h.jsx(d("FocusRegion.react").FocusRegion,{autoFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,recoverFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,children:h.jsxs("div",{"data-testid":void 0,children:[!e&&h.jsx("div",{className:"p8dawk7l fi16pell j83agx80 ljqsnud1",children:h.jsx(c("VideoPlayerSettingsMenuCaptionsToggle.react"),{captionsLoaded:f,captionsVisibleOptimistic:g,inbandCaptionsAutogenerated:k,setIsCaptionsVisible:n})}),h.jsx("div",{className:"p8dawk7l fi16pell j83agx80 ljqsnud1",children:b("cr:565")&&h.jsx(b("cr:565"),{setPane:o})}),h.jsx("div",{className:"p8dawk7l fi16pell j83agx80 ljqsnud1",children:h.jsx(c("VideoPlayerSettingsMenuQualityPaneToggle.react"),{selectedVideoQuality:m,setPane:o,targetVideoQuality:a})}),h.jsx("div",{className:"p8dawk7l fi16pell j83agx80 ljqsnud1",children:h.jsx(c("VideoPlayerSettingsMenuPlaybackPaneToggle.react"),{playbackRate:l,setPane:o,shouldEnablePlaybackRateSupport:p})}),q!=null&&h.jsx("div",{className:"p8dawk7l fi16pell j83agx80 ljqsnud1",children:h.jsx(c("CometErrorBoundary.react"),{children:h.jsx(c("CometPlaceholder.react"),{fallback:null,children:h.jsx(d("CometRelay").MatchContainer,{match:q,props:{setPane:o}})})})}),j]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerSettingsMenuPlaybackPaneToggle.react",["fbt","ix","CometImage.react","CometPressable.react","VideoPlayerSettingsMenu.react","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k={chevronRight:{display:"pq6dq46d",marginBottom:"scwd0bx6",marginStart:"dwxx2s2f"},label:{cursor:"nhd2j8a9",fontWeight:"lrazzd5p"},option:{alignItems:"bp9cbjyn",color:"ljqsnud1",cursor:"nhd2j8a9",display:"j83agx80",flexGrow:"idf2khru",justifyContent:"bkfpd7mw",marginStart:"h676nmdw",minWidth:"fc1w0g64"},pressableOption:{width:"k4urcfbm"}};function a(a){var b=a.playbackRate,e=a.setPane;a=a.shouldEnablePlaybackRateSupport;return!a?null:j.jsxs(c("CometPressable.react"),{onPress:function(){e(d("VideoPlayerSettingsMenu.react").VideoPlayerSettingsMenuPaneType.PLAYBACK_SPEED)},testid:void 0,xstyle:k.pressableOption,children:[j.jsx("div",{className:c("stylex")(k.label),children:h._(/*FBT_CALL*/"Velocidade de reprodu\u00e7\u00e3o"/*FBT_CALL*/)}),j.jsxs("div",{className:c("stylex")(k.option),children:[j.jsx("span",{"data-testid":void 0,children:b}),j.jsx("span",{className:c("stylex")(k.chevronRight),children:j.jsx(c("CometImage.react"),{src:i("480587")})})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerSettingsMenuPlaybackSpeedPane.react",["fbt","ix","CometImage.react","CometPressable.react","FocusRegion.react","VideoPlayerHooks","VideoPlayerSettingsMenu.react","focusScopeQueries","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k={chevronLeft:{display:"pq6dq46d",marginBottom:"scwd0bx6",marginStart:"rl04r1d5"},menuHeading:{alignItems:"bp9cbjyn",color:"ljqsnud1",cursor:"nhd2j8a9",display:"j83agx80",fontWeight:"lrazzd5p",":hover":{textDecoration:"p8dawk7l"}},menuLabel:{cursor:"nhd2j8a9",display:"q9uorilb"},menuOption:{marginStart:"gu00c43d",marginTop:"ku2m03ct"},menuOptionRow:{color:"ljqsnud1",display:"a8c37x1j",minWidth:"jrlfinob",outline:"lzcic4wl",paddingTop:"linoseic",paddingEnd:"rz4wbd8a",paddingBottom:"pby63qed",paddingStart:"a8nywdso",textAlign:"hzawbc8m"},pressableOption:{width:"k4urcfbm"},radio:{backgroundColor:"r4vyqqch",borderTopStartRadius:"r3sa2fe4",borderTopEndRadius:"inxzxsdm",borderBottomEndRadius:"p0leutie",borderBottomStartRadius:"kbv20vi1",display:"q9uorilb",marginBottom:"scwd0bx6",marginEnd:"o3lre8g0",paddingTop:"ipjc6fyt",paddingEnd:"p8fzw8mz",paddingBottom:"iuny7tx3",paddingStart:"pcp91wgn"},radioDot:{backgroundColor:"q2y6ezfg",borderTopStartRadius:"dwerhba3",borderTopEndRadius:"kgjeooe1",borderBottomEndRadius:"kxcb68kb",borderBottomStartRadius:"mwvzfrdb",display:"q9uorilb",height:"mw227v9j",marginStart:"roh60bw9",marginTop:"hop8lmos",position:"pmk7jnqg",width:"loos5mxf"},selectedOption:{fontWeight:"lrazzd5p"}};function a(a){var b=a.playbackRate,e=a.setPane,f=d("VideoPlayerHooks").useController();return j.jsx(d("FocusRegion.react").FocusRegion,{autoFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,recoverFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,children:j.jsxs("div",{"data-testid":void 0,children:[j.jsx("div",{className:c("stylex")(k.menuHeading),children:j.jsxs(c("CometPressable.react"),{onPress:function(){return e(d("VideoPlayerSettingsMenu.react").VideoPlayerSettingsMenuPaneType.MAIN)},testid:void 0,xstyle:k.pressableOption,children:[" ",j.jsx("span",{className:c("stylex")(k.chevronLeft),children:j.jsx(c("CometImage.react"),{src:i("480579")})}),h._(/*FBT_CALL*/"Velocidade de reprodu\u00e7\u00e3o"/*FBT_CALL*/)]})}),j.jsx("div",{className:c("stylex")(k.menuOption),"data-testid":void 0,children:[.5,.75,1,1.25,1.5,1.75,2].map(function(a){var d=b===a;return j.jsx("div",{children:j.jsxs(c("CometPressable.react"),{onPress:function(){f.setPlaybackRate(a)},testid:void 0,xstyle:k.menuOptionRow,children:[j.jsx("div",{className:c("stylex")(k.radio),children:d&&j.jsx("div",{className:c("stylex")(k.radioDot),"data-testid":void 0})}),j.jsx("div",{className:c("stylex")(k.menuLabel,d&&k.selectedOption),"data-testid":void 0,children:a})]})},a)})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerSettingsMenuQualityPane.react",["fbt","ix","CometImage.react","CometPressable.react","FocusRegion.react","VideoPlayerHooks","VideoPlayerSettingsMenu.react","focusScopeQueries","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k={chevronLeft:{alignItems:"bp9cbjyn",display:"pq6dq46d",marginBottom:"scwd0bx6",marginStart:"rl04r1d5"},menuHeading:{alignItems:"bp9cbjyn",color:"ljqsnud1",cursor:"nhd2j8a9",display:"j83agx80",fontWeight:"lrazzd5p",":hover":{textDecoration:"p8dawk7l"}},menuLabel:{cursor:"nhd2j8a9",display:"q9uorilb"},menuOption:{marginStart:"gu00c43d",marginTop:"ku2m03ct"},menuOptionRow:{color:"ljqsnud1",display:"a8c37x1j",minWidth:"jrlfinob",outline:"lzcic4wl",paddingTop:"linoseic",paddingEnd:"rz4wbd8a",paddingBottom:"pby63qed",paddingStart:"a8nywdso",textAlign:"hzawbc8m"},pressableOption:{width:"k4urcfbm"},radio:{backgroundColor:"h6f8z9q8",borderTopStartRadius:"r3sa2fe4",borderTopEndRadius:"inxzxsdm",borderBottomEndRadius:"p0leutie",borderBottomStartRadius:"kbv20vi1",display:"q9uorilb",marginBottom:"scwd0bx6",marginEnd:"o3lre8g0",paddingTop:"ipjc6fyt",paddingEnd:"p8fzw8mz",paddingBottom:"iuny7tx3",paddingStart:"pcp91wgn"},radioDot:{backgroundColor:"q2y6ezfg",borderTopStartRadius:"dwerhba3",borderTopEndRadius:"kgjeooe1",borderBottomEndRadius:"kxcb68kb",borderBottomStartRadius:"mwvzfrdb",display:"q9uorilb",height:"mw227v9j",marginStart:"roh60bw9",marginTop:"hop8lmos",position:"pmk7jnqg",width:"loos5mxf"},selectedOption:{fontWeight:"lrazzd5p"}};function a(a){var b=a.selectedVideoQuality,e=a.setPane;a=d("VideoPlayerHooks").useAvailableVideoQualities();var f=d("VideoPlayerHooks").useIsAbrEnabled(),g=d("VideoPlayerHooks").useController();return j.jsx(d("FocusRegion.react").FocusRegion,{autoFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,recoverFocusQuery:d("focusScopeQueries").headerFirstTabbableSecondScopeQuery,children:j.jsxs("div",{"data-testid":void 0,children:[j.jsx("div",{className:c("stylex")(k.menuHeading),children:j.jsxs(c("CometPressable.react"),{onPress:function(){return e(d("VideoPlayerSettingsMenu.react").VideoPlayerSettingsMenuPaneType.MAIN)},testid:void 0,xstyle:k.pressableOption,children:[j.jsx("span",{className:c("stylex")(k.chevronLeft),children:j.jsx(c("CometImage.react"),{src:i("480579")})}),h._(/*FBT_CALL*/"Qualidade"/*FBT_CALL*/)]})}),j.jsxs("div",{className:c("stylex")(k.menuOption),"data-testid":void 0,children:[f?j.jsx("div",{children:j.jsxs(c("CometPressable.react"),{onPress:function(){g.selectVideoQuality("auto")},testid:void 0,xstyle:k.menuOptionRow,children:[j.jsx("div",{className:c("stylex")(k.radio),children:b==="auto"&&j.jsx("div",{className:c("stylex")(k.radioDot),"data-testid":void 0})}),j.jsx("div",{className:c("stylex")(k.menuLabel,b==="auto"&&k.selectedOption),"data-testid":void 0,children:h._(/*FBT_CALL*/"Autom\u00e1tico"/*FBT_CALL*/)})]})},"auto"):null,a.map(function(a){var d=b===a;return j.jsx("div",{children:j.jsxs(c("CometPressable.react"),{onPress:function(){g.selectVideoQuality(a)},testid:void 0,xstyle:k.menuOptionRow,children:[j.jsx("div",{className:c("stylex")(k.radio),children:d&&j.jsx("div",{className:c("stylex")(k.radioDot),"data-testid":void 0})}),j.jsx("div",{className:c("stylex")(k.menuLabel,d&&k.selectedOption),"data-testid":void 0,children:a})]})},a)}).reverse()]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoControlsContainerFocusedContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext(!1);g["default"]=b}),98); __d("VideoPlayerCastControlShimImpl.legacy.react",["JSResourceForInteraction","lazyLoadComponent"],(function(a,b,c,d,e,f,g){"use strict";a=c("lazyLoadComponent")(c("JSResourceForInteraction")("VideoPlayerCastControl.react").__setRef("VideoPlayerCastControlShimImpl.legacy.react"));g["default"]=a}),98); __d("VideoPlayerControlsContainerOverlay.react",["CometErrorBoundary.react","FocusWithinHandler.react","VideoControlsContainerFocusedContext","VideoPlayerControlsBottomRowAddOnContext","VideoPlayerControlsHiddenContext","VideoPlayerHooks","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useEffect,j=44,k={backgroundGradient:{backgroundImage:"kpb67iw4",bottom:"i09qtzwb",height:"qu8okrzs",position:"pmk7jnqg",transitionDuration:"dpja2al7",transitionProperty:"pnx7fd3z",transitionTimingFunction:"e4zzj2sf",width:"k4urcfbm",zIndex:"enjifjd9"},"default":{bottom:"i09qtzwb",flexDirection:"btwxx1t3",position:"pmk7jnqg",transitionDuration:"dpja2al7",transitionProperty:"pnx7fd3z",transitionTimingFunction:"e4zzj2sf",width:"k4urcfbm",zIndex:"tghn160j"},firstRow:{alignItems:"bp9cbjyn",direction:"jeutjz8y",display:"j83agx80",flexDirection:"btwxx1t3"},hidden:{opacity:"b5wmifdl",pointerEvents:"hzruof5a",visibility:"kr9hpln1"},visible:{opacity:"pedkr2u6"}};function a(a){var b=a.children,e=a.initialBottomRowAddOn;e=e===void 0?null:e;var f=a.isBackgroundVisible,g=a.isVisible,l=a.xstyle,m=d("VideoPlayerControlsBottomRowAddOnContext").useVideoPlayerControlsBottomRowAddOn(e);a=d("VideoPlayerHooks").useVideoPlayerCaptionsReservationActions();var n=a.release,o=a.reserve;i(function(){if(Boolean(g)||Boolean(f)){var a=o({location:"bottom",size:j});return function(){n(a)}}},[g,f,o,n]);var p=f===!1||g===!1,q=f===!0||g===!0;return h.jsx(c("FocusWithinHandler.react"),{children:function(a,d){return h.jsx(c("VideoControlsContainerFocusedContext").Provider,{value:d,children:h.jsxs("div",{className:c("stylex")(k["default"],m==null&&k.firstRow,g===!1&&k.hidden,g===!0&&k.visible),"data-testid":void 0,children:[h.jsx("div",{className:c("stylex")(k.backgroundGradient,p&&k.hidden,q&&k.visible,l)}),h.jsx(c("VideoPlayerControlsHiddenContext").Provider,{value:p,children:m==null?b:h.jsxs(h.Fragment,{children:[h.jsx("div",{className:c("stylex")(k.firstRow),children:b}),h.jsx(c("CometErrorBoundary.react"),{children:m})]})})]})})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerControlsGroups.react",["VideoControlsContainerFocusedContext","VideoPlayerControlsHiddenContext","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useContext;function a(a){var b=a.children,d=a.isVisible;d=d===void 0?!0:d;var e=a.noPaddingEnd;e=e===void 0?!1:e;a=a.noPaddingStart;a=a===void 0?!1:a;var f=i(c("VideoControlsContainerFocusedContext"));d=d||f;f=i(c("VideoPlayerControlsHiddenContext"));return h.jsx("div",{className:c("stylex").dedupe({"align-items-1":"bp9cbjyn","display-1":"j83agx80","flex-direction-1":"btwxx1t3","flex-shrink-1":"pfnyh3mw","flex-wrap-1":"owycx6da"},{"padding-top-1":"jb3vyjys","padding-end-1":"jxrgncrl","padding-bottom-1":"qt6c0cv9","padding-start-1":"qnrpqo6b"},e?{"padding-end-1":"rz4wbd8a"}:null,a?{"padding-start-1":"a8nywdso"}:null,d?{"opacity-1":"pedkr2u6"}:{"opacity-1":"tg7omm83","pointer-events-1":"hzruof5a"}),children:h.jsx(c("VideoPlayerControlsHiddenContext").Provider,{value:f||!d,children:b})})}a.displayName=a.name+" [from "+f.id+"]";function b(a){var b=a.children;a=a.isVisible;a=a===void 0?!0:a;var d=i(c("VideoControlsContainerFocusedContext"));a=a||d;d=i(c("VideoPlayerControlsHiddenContext"));return h.jsx("div",{className:c("stylex").dedupe({"align-items-1":"bp9cbjyn","display-1":"j83agx80","flex-direction-1":"btwxx1t3","flex-shrink-1":"pfnyh3mw","flex-wrap-1":"owycx6da"},{"flex-grow-1":"buofh1pr"},a?{"opacity-1":"pedkr2u6"}:{"opacity-1":"tg7omm83","pointer-events-1":"hzruof5a"}),children:h.jsx(c("VideoPlayerControlsHiddenContext").Provider,{value:d||!a,children:b})})}b.displayName=b.name+" [from "+f.id+"]";g.Contracted=a;g.Expanded=b}),98); __d("VideoPlayerPlaybackControlBase.react",["fbt","ix","VideoPlayerControlIcon.react","fbicon","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.onPress;a=a.playbackIcon;var e,f;switch(a){case"pause":e=h._(/*FBT_CALL*/"Pausar"/*FBT_CALL*/);f=d("fbicon")._(i("497675"),20);break;case"replay":e=h._(/*FBT_CALL*/"Reproduzir novamente"/*FBT_CALL*/);f=d("fbicon")._(i("534219"),20);break;case"play":e=h._(/*FBT_CALL*/"Reproduzir"/*FBT_CALL*/);f=d("fbicon")._(i("484863"),20);break;default:a;throw c("unrecoverableViolation")("The playback icon is unsupported "+a,"comet_video_player")}return j.jsx(c("VideoPlayerControlIcon.react"),{icon:f,label:e,onPress:b,tooltip:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerPlaybackControl.react",["VideoPlayerHooks","VideoPlayerPlaybackControlBase.react","react","useFeedClickEventHandler","useVideoPlayerControllerSubscription"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=a.unmuteOnPlay;var b=a===void 0?!1:a;a=c("useVideoPlayerControllerSubscription")(function(a,b){var c=a.getCurrentState(),d=c.ended,e=c.paused,f=c.playing,g=c.stalling;a=a.getPlayheadPosition();c=c.duration;e=!e&&(f||g);g=!f&&d&&a>=c;return b!=null&&b.showPauseButton===e&&b.showReplayButton===g?b:{showPauseButton:e,showReplayButton:g}});var e=a.showPauseButton;a=a.showReplayButton;var f=d("VideoPlayerHooks").useController(),g=c("useFeedClickEventHandler")(function(){e?f.pause("user_initiated"):(b&&f.setMuted(!1,"user_initiated"),f.play("user_initiated"))});a=e?"pause":a?"replay":"play";return h.jsx(c("VideoPlayerPlaybackControlBase.react"),{onPress:g,playbackIcon:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerLiveRewindControlContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({cachedLiveRewindTimestamp:null,onLiveRewindControlEvent:function(){}});g["default"]=b}),98); __d("VideoPlayerPlaybackTimerBase.react",["getFormattedTimestamp","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.currentTime;a=a.duration;return h.jsxs("div",{className:"pzggbiyp ekzrdaps oqcyycmt j9fc33cd hnxzwevs qq4y78aw ejgyrxq3 q6iep4d8 sq6gx45u q9uorilb ljqsnud1",children:[h.jsx("span",{className:"odlk74j0 lrazzd5p",children:c("getFormattedTimestamp")(b)}),a!=null&&h.jsxs(h.Fragment,{children:[h.jsx("span",{children:" / "}),h.jsx("span",{children:c("getFormattedTimestamp")(a)})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useLiveRewindUtils",["VideoPlayerHooks","VideoPlayerLiveRewindControlContext","react","useVideoPlayerControllerSubscription"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=h.useCallback,j=h.useContext,k=10,l=10;function a(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){var c=a.getCurrentState().seekableRanges;c=c!=null?(c=c.end(c.length()-1))!=null?c:0:0;var d=Math.min(a.getPlayheadPosition()+k,c);d===c?(a.setIsLiveRewindActive(!1),a.seek(c)):a.seek(d);b.onLiveRewindControlEvent()},[b,a]);return e}function b(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){var c=a.getCurrentState().seekableRanges;c=(c=c==null?void 0:c.start(0))!=null?c:0;c=Math.max(a.getPlayheadPosition()-l,c);a.seek(c);a.setIsLiveRewindActive(!0);b.onLiveRewindControlEvent()},[b,a]);return e}function e(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){var c=a.getCurrentState().seekableRanges;c=c!=null?(c=c.end(c.length()-1))!=null?c:0:0;a.seek(c);a.play("user_initiated");a.setIsLiveRewindActive(!1);b.onLiveRewindControlEvent()},[b,a]);return e}function f(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){var c=a.getCurrentState().seekableRanges;c=(c=c==null?void 0:c.start(0))!=null?c:0;a.seek(c);a.setIsLiveRewindActive(!0);b.onLiveRewindControlEvent()},[b,a]);return e}function m(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){a.play("user_initiated"),b.onLiveRewindControlEvent()},[b,a]);return e}function n(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){a.pause("user_initiated"),a.setIsLiveRewindActive(!0),b.onLiveRewindControlEvent()},[b,a]);return e}function o(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(){var c=a.getCurrentState().seekableRanges;c=(c=c==null?void 0:c.start(0))!=null?c:0;a.seek(c);a.setIsLiveRewindActive(!0);a.play("user_initiated");b.onLiveRewindControlEvent()},[b,a]);return e}function p(){var a=d("VideoPlayerHooks").useController(),b=j(c("VideoPlayerLiveRewindControlContext")),e=i(function(c){var d,e=a.getCurrentState().seekableRanges;d=(d=e==null?void 0:e.start(0))!=null?d:0;e=e!=null?(e=e.end(e.length()-1))!=null?e:0:0;d=Math.min(d+c,e);a.scrubEnd(d);d===e?a.setIsLiveRewindActive(!1):a.setIsLiveRewindActive(!0);b.onLiveRewindControlEvent()},[b,a]);return e}function q(){var a=c("useVideoPlayerControllerSubscription")(function(a){return(a=(a=a.getCurrentState().seekableRanges)==null?void 0:a.start(0))!=null?a:0});return a}g.useLiveRewindForward=a;g.useLiveRewindBack=b;g.useLiveRewindLive=e;g.useLiveRewindStart=f;g.useLiveRewindPlay=m;g.useLiveRewindPause=n;g.useLiveRewindReplay=o;g.useLiveRewindScrub=p;g.useLiveRewindSeekableStartTime=q}),98); __d("VideoPlayerPlaybackTimer.react",["VideoPlayerHooks","VideoPlayerLiveRewindControlContext","VideoPlayerPlaybackTimerBase.react","gkx","react","useLiveRewindUtils"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useContext,j=function(){return d("VideoPlayerHooks").useCurrentTimeThrottled(200)};function a(){var a=d("VideoPlayerHooks").useIsLive(),b=d("VideoPlayerHooks").useDuration(),e=j(),f=d("useLiveRewindUtils").useLiveRewindSeekableStartTime(),g=i(c("VideoPlayerLiveRewindControlContext"));g=g.cachedLiveRewindTimestamp;var k=d("VideoPlayerHooks").useIsLiveRewindActive();if(a){a=e-f;k&&g!=null&&c("gkx")("1657274")&&(a=g);return h.jsx(c("VideoPlayerPlaybackTimerBase.react"),{currentTime:a,duration:null})}return h.jsx(c("VideoPlayerPlaybackTimerBase.react"),{currentTime:e,duration:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerPointerDrag",["react","useResizeObserver","useStable"],(function(a,b,c,d,e,f,g){"use strict";f=d("react");var h=f.useEffect,i=f.useRef,j=f.useState;function a(){var a=i(null),b=i(null),d=c("useResizeObserver")(function(c,d){a.current=d.getBoundingClientRect(),b.current=d}),e=c("useStable")(function(){return function(){var c=b.current;c?a.current=c.getBoundingClientRect():a.current=null}});return{invalidateRootRect:e,rootRectRef:a,rootSizeRefCallback:d}}function b(a,b){if(b==null)return null;var c=Math.max(0,Math.min(b.width,a.clientX-b.left));a=Math.max(0,Math.min(b.height,a.clientY-b.top));return{ratioX:b.width>0?c/b.width:0,ratioY:b.height>0?a/b.height:0}}function k(a,b){var c=a;switch(b.type){case"start":c=babelHelpers["extends"]({},a,{clientX:b.clientX,clientY:b.clientY,dragState:"dragging",lastEffect:a.dragState==="idle"?"start":a.lastEffect});break;case"move":if(a.dragState!=="dragging")break;c={clientX:b.clientX,clientY:b.clientY,dragState:"dragging",lastEffect:a.dragState==="idle"?"start":"move"};break;case"end":if(a.dragState!=="dragging")break;c={clientX:b.clientX,clientY:b.clientY,dragState:"idle",lastEffect:a.dragState==="idle"?a.lastEffect:"end"};break;case"cancel":if(a.dragState!=="dragging")break;c={clientX:a.clientX,clientY:a.clientY,dragState:"idle",lastEffect:a.dragState==="idle"?a.lastEffect:"cancel"};break;default:break}return c.dragState!==a.dragState||c.lastEffect!==a.lastEffect||c.clientX!==a.clientX||c.clientY!==a.clientY?c:a}var l={clientX:0,clientY:0,dragState:"idle",lastEffect:null},m=function(){return window.navigator.userAgent.indexOf("MSIE")>=0};function n(a){var b=l,c=null,d=function(c){b=k(b,c),a(b)},e=function(a){d({clientX:a.clientX,clientY:a.clientY,type:"move"})},f=function(a){c&&c(),d({clientX:a.clientX,clientY:a.clientY,type:"end"})},g=function(){c&&c(),d({type:"cancel"})};return{destroy:function(){c&&c()},onMouseDown:function(a){m()||a.preventDefault(),d({clientX:a.clientX,clientY:a.clientY,type:"start"}),c||(window.addEventListener("mousemove",e),window.addEventListener("mouseup",f),window.addEventListener("blur",g),window.addEventListener("mouseleave",g),c=function(){c=null,window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",f),window.removeEventListener("blur",g),window.removeEventListener("mouseleave",g)})}}}function o(a,b){var c=b.onDragCancel,d=b.onDragEnd,e=b.onDragMove,f=b.onDragStart,g=i(c),j=i(d),k=i(e),l=i(f);h(function(){g.current=c,j.current=d,k.current=e,l.current=f},[c,d,e,f]);h(function(){switch(a.lastEffect){case"start":var b=l.current;b(a);return;case"move":b=k.current;b(a);return;case"end":b=j.current;b(a);return;case"cancel":b=g.current;b(a);return}},[a])}function p(){var a=j(l),b=a[0],d=a[1];a=c("useStable")(function(){return n(d)});var e=a.destroy;a=a.onMouseDown;h(function(){return e},[e]);return{dragState:b,rootProps:{onClick:function(a){a.stopPropagation(),a.preventDefault()},onMouseDown:a}}}function e(a){var b=p(),c=b.dragState;b=b.rootProps;o(c,a);return{dragState:c,isDragging:c.dragState==="dragging",rootProps:b}}g.usePointerDragResizeObserver=a;g.computePointerOffsetRatio=b;g.usePointerDrag=e}),98); __d("VideoPlayerSliderNub.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=a.isVisible;return h.jsx("div",{className:c("stylex").dedupe({"background-color-1":"q2y6ezfg","border-top-0.3":"ga43b7bk","border-end-0.3":"qhmrp3oz","border-bottom-0.3":"n67ffngd","border-start-0.3":"dhcip3kl","border-top-start-radius-1":"s45kfl79","border-top-end-radius-1":"emlxlaya","border-bottom-end-radius-1":"bkmhp75w","border-bottom-start-radius-1":"spb7xbtv","box-shadow-1":"mk0f9b7h","display-1":"mkhogb32","height-1":"t6na6p9t","margin-right-1":"g8vbk1u7","margin-top-1":"muag1w35","position-1":"pmk7jnqg","right-1":"kwrap0ej","width-1":"c9rrlmt1","z-index-1":"tkr6xdv7"},a?{"display-1":"a8c37x1j"}:null),"data-testid":void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerScrubberBase.react",["fbt","CometComponentWithKeyCommands.react","CometKeys","CometVisualCompletionAttributes","VideoPlayerPointerDrag","VideoPlayerSliderNub.react","VideoPlayerUserInteractionCounter","react","stylex","usePrevious"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useCallback,k=b.useEffect,l=b.useMemo,m=b.useState;function n(a,b){return Math.min(a>0?b/a:0,1)}function a(a){var b=a.bufferEnd,e=a.currentTime,f=a.duration,g=a.isLive,o=a.isLiveRewindActive,p=a.keyLeftDescription,q=a.keyRightDescription,r=a.onScrubCancel,s=a.onScrubEnd,t=a.onScrubStart,u=a.onUserInteraction,v=a.playFromBeginningImpl,w=a.renderTooltip,x=a.skipBackwardImpl,y=a.skipForwardImpl,z=a.skipToEndImpl;a=d("VideoPlayerPointerDrag").usePointerDragResizeObserver();var A=a.invalidateRootRect,B=a.rootRectRef;a=a.rootSizeRefCallback;var C=c("usePrevious")(e),D=m(!1),E=D[0],F=D[1];D=m(0);var G=D[0],H=D[1];D=m(!1);var I=D[0],J=D[1];D=m(0);var K=D[0],L=D[1];D=m(null);var M=D[0],N=D[1];k(function(){e!==C&&J(!1)},[e,C]);D=d("VideoPlayerPointerDrag").usePointerDrag({onDragCancel:function(a){r()},onDragEnd:function(a){a=d("VideoPlayerPointerDrag").computePointerOffsetRatio(a,B.current);if(!a){r();return}H(a.ratioX);J(!0);a=a.ratioX*f;s(a)},onDragMove:function(a){a=d("VideoPlayerPointerDrag").computePointerOffsetRatio(a,B.current);if(!a)return;H(a.ratioX)},onDragStart:function(a){A();a=d("VideoPlayerPointerDrag").computePointerOffsetRatio(a,B.current);if(!a)return;H(a.ratioX);t()}});var O=D.isDragging;D=D.rootProps;var P=j(function(){F(!0)},[]),Q=j(function(){F(!1)},[]),R=j(function(a){A();if(B.current!=null){var b=B.current.left,c=B.current.width,d=Math.max(0,Math.min(c,a.clientX-b));d=c>0?d/c:0;c=Number.isFinite(f)&&f>0?f*d:null;L(a.clientX-b);N(c)}},[f,A,B]),S=E||O;d("VideoPlayerUserInteractionCounter").useVideoPlayerUserInteraction("video_scrubber",S,u);S=E||O||I;u=O||I?G:g&&!o?1:n(f,e);O=n(f,b);I=l(function(){return[{command:{key:c("CometKeys").RIGHT},description:q,handler:y},{command:{key:c("CometKeys").LEFT},description:p,handler:x},{command:{key:c("CometKeys").HOME},description:h._(/*FBT_CALL*/"Reproduzir do in\u00edcio"/*FBT_CALL*/),handler:v},{command:{key:c("CometKeys").END},description:h._(/*FBT_CALL*/"Pular para o fim"/*FBT_CALL*/),handler:z}]},[y,x,v,z,q,p]);return i.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:I,children:i.jsxs("div",babelHelpers["extends"]({},D,{"aria-label":h._(/*FBT_CALL*/"Change Position"/*FBT_CALL*/),"aria-orientation":"horizontal","aria-valuemax":f,"aria-valuemin":"0","aria-valuenow":e,className:"k4urcfbm abiwlrkh l9j0dhe7 a8nywdso sj5x9vvc rz4wbd8a cxgpxx05 nhd2j8a9","data-testid":void 0,onMouseEnter:P,onMouseLeave:Q,onMouseMove:R,ref:a,role:"slider",tabIndex:"0",children:[i.jsxs("div",{className:"abiwlrkh fanpytvw pmqtw6m8 aqt0y8ln b6jg2yqc hp05c5td bn9qtmzc s8bnoagg ha302278",children:[i.jsx("div",babelHelpers["extends"]({className:"pmk7jnqg pmqtw6m8"+(g?"":" r4vyqqch")},c("CometVisualCompletionAttributes").IGNORE,{style:{width:(100*O).toFixed(5)+"%"}})),i.jsx("div",babelHelpers["extends"]({className:c("stylex").dedupe({"background-color-1":"br3lixkv","border-top-start-radius-1":"s8bnoagg","border-top-end-radius-1":"bn9qtmzc","border-bottom-end-radius-1":"hp05c5td","border-bottom-start-radius-1":"b6jg2yqc","height-1":"pmqtw6m8","position-1":"pmk7jnqg","user-select-1":"abiwlrkh"},g&&!o?{"background-color-1":"l44iypv3"}:null,g&&o?{"background-color-1":"hwrzmg1u"}:null)},c("CometVisualCompletionAttributes").IGNORE,{style:{width:(100*u).toFixed(5)+"%"},children:i.jsx(c("VideoPlayerSliderNub.react"),{isVisible:S})}))]}),w!=null&&M!=null&&E&&i.jsx("div",{className:"pmk7jnqg lhzng9rx",style:{left:K},children:w(M)})]}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerScrubber.react",["fbt","VideoPlayerHooks","VideoPlayerScrubberBase.react","react","useLiveRewindUtils"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=d("react").useCallback,k=function(){return d("VideoPlayerHooks").useCurrentTimeThrottled(200)};function a(a){var b=a.onUserInteraction;a=a.renderTooltip;var e=k(),f=d("VideoPlayerHooks").useDuration(),g=d("VideoPlayerHooks").useController(),l=d("VideoPlayerHooks").useBufferEnd(),m=d("VideoPlayerHooks").useIsLive(),n=d("VideoPlayerHooks").useIsLiveRewindActive(),o=d("useLiveRewindUtils").useLiveRewindScrub(),p=d("useLiveRewindUtils").useLiveRewindForward(),q=d("useLiveRewindUtils").useLiveRewindBack(),r=d("useLiveRewindUtils").useLiveRewindStart(),s=d("useLiveRewindUtils").useLiveRewindLive(),t=d("useLiveRewindUtils").useLiveRewindSeekableStartTime();m&&(f-=t,e-=t);t=j(function(){if(m)p();else{var a=g.getPlayheadPosition()+5;a>=f?g.seek(f-.01):g.seek(a)}},[g,m,p,f]);var u=m?h._(/*FBT_CALL*/"Avan\u00e7ar 10 segundos"/*FBT_CALL*/):h._(/*FBT_CALL*/"Avan\u00e7ar 5 segundos"/*FBT_CALL*/),v=j(function(){if(m)q();else{var a=g.getPlayheadPosition()-5;a<0?g.seek(0):g.seek(a)}},[g,m,q]),w=m?h._(/*FBT_CALL*/"Rebobinar 10 segundos"/*FBT_CALL*/):h._(/*FBT_CALL*/"Retroceder 5 segundos"/*FBT_CALL*/),x=j(function(){m?r():g.seek(0)},[g,m,r]),y=j(function(){m?s():g.seek(f-.01)},[g,m,s,f]),z=j(function(){g.scrubEnd(null)},[g]),A=j(function(){g.scrubBegin()},[g]),B=j(function(a){!m?g.scrubEnd(a):o(a)},[g,m,o]);return i.jsx(c("VideoPlayerScrubberBase.react"),{bufferEnd:l,currentTime:e,duration:f,isLive:m,isLiveRewindActive:n,keyLeftDescription:w,keyRightDescription:u,onScrubCancel:z,onScrubEnd:B,onScrubStart:A,onUserInteraction:b,playFromBeginningImpl:x,renderTooltip:a,skipBackwardImpl:v,skipForwardImpl:t,skipToEndImpl:y})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerTimeIndicator.react",["TetraText.react","formatDurationSeconds","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.shouldCenterSelf;a=a.timestampSec;var d=b===!0?"var(--always-black)":"var(--always-dark-overlay)";d=h.jsx("div",{className:"g0qnabr5 pmk7jnqg qnrpqo6b ae35evdt jxrgncrl fdg1wqfs l2l2r6co qttc61fc ihh4hy1g kdgqqoy6 jk6sbkaj d6rk862h",style:{backgroundColor:d},children:h.jsx(c("TetraText.react"),{color:"white",type:"body4",children:c("formatDurationSeconds")(Math.round(a))})});return b===!0?h.jsx("div",{className:"l9j0dhe7 taijpn5t j83agx80",children:d}):d}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerScrubberPreview.react",["CometRelay","VideoPlayerHooks","VideoPlayerScrubberPreview_video.graphql","VideoPlayerTimeIndicator.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=.1,k=60,l=120;function m(a,b,c,d,e,f){c=c*b;b=Math.floor(a%c/b);var g=Math.floor(b/d);b=b%d;d=b*e;b=g*f;e=Math.floor(a/c);return{spriteIndex:e,spriteX:d,spriteY:b}}function a(a){var e=a.timestampSec;a=a.video;var f=d("VideoPlayerHooks").useDimensions();a=d("CometRelay").useFragment(h!==void 0?h:h=b("VideoPlayerScrubberPreview_video.graphql"),a);a=a==null?void 0:a.scrubber_preview_thumbnail_information;var g=a==null?void 0:a.sprite_uris,n=a==null?void 0:a.thumbnail_width,o=a==null?void 0:a.thumbnail_height,p=a==null?void 0:a.has_preview_thumbnails,q=a==null?void 0:a.num_images_per_row,r=a==null?void 0:a.max_number_of_images_per_sprite;a=a==null?void 0:a.time_interval_between_image;if(g==null||n==null||o==null||p==null||q==null||r==null||a==null||!p)return i.jsx(c("VideoPlayerTimeIndicator.react"),{shouldCenterSelf:!0,timestampSec:e});p=m(e,a,r,q,n,o);a=p.spriteIndex;r=p.spriteX;q=p.spriteY;p=n/o;n=f==null?k:Math.max(k,Math.min(l,f.height*j));f=n*p;p=o/n;o={backgroundImage:"url("+g[a]+")",backgroundPosition:"-"+r/p+"px -"+q/p+"px",backgroundSize:"1000% 1000%",borderRadius:4,height:n,width:f};g={backgroundColor:"var(--fds-black-alpha-60)",borderRadius:4,height:n,left:-f/2,padding:1,width:f};return i.jsxs("div",{className:"l9j0dhe7 taijpn5t j83agx80",style:g,children:[i.jsx("div",{style:o}),i.jsx(c("VideoPlayerTimeIndicator.react"),{timestampSec:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerScrubberWithPreview.react",["VideoPlayerScrubber.react","VideoPlayerScrubberPreview.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.onUserInteraction,d=a.video;return h.jsx(c("VideoPlayerScrubber.react"),{onUserInteraction:b,renderTooltip:function(a){return h.jsx(c("VideoPlayerScrubberPreview.react"),{timestampSec:a,video:d})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerSettingsControl.react",["fbt","ix","VideoPlayerControlIcon.react","VideoPlayerDefaultControlsProperties","VideoPlayerSettingsMenu.react","VideoPlayerUserInteractionCounter","fbicon","react","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k=d("react").useState;a=j.forwardRef(function(a,b){var e=a.alignMenuToIcon;e=e===void 0?!1:e;var f=a.children;f=f===void 0?null:f;var g=a.compactMenu,l=a.icon,m=a.menuOpened,n=a.onMenuOpen,o=a.onUserInteraction,p=a.setMenuOpened;a=k(!1);var q=a[0],r=a[1];a=h._(/*FBT_CALL*/"Configura\u00e7\u00f5es"/*FBT_CALL*/);var s=p!=null;d("VideoPlayerUserInteractionCounter").useVideoPlayerUserInteraction("video_settings_menu",s?m===d("VideoPlayerDefaultControlsProperties").VideoMenuType.VIDEO_SETTINGS_MENU:q,o);var t=s?m===d("VideoPlayerDefaultControlsProperties").VideoMenuType.VIDEO_SETTINGS_MENU:q;return j.jsxs("div",{className:"ggphbty4 w0hvl6rk fv0vnmcu qjjbsfad q9uorilb"+(e===!0?" g0qnabr5 l9j0dhe7":""),ref:b,children:[t&&j.jsx("div",{className:c("stylex").dedupe({"background-color-1":"iuug3ofb","bottom-1":"c55xq0r4","color-1":"ljqsnud1","margin-left-1":"nd86bwwq","padding-top-1":"jktsbyx5","padding-end-1":"gvs12r03","padding-bottom-1":"osnr6wyh","padding-start-1":"up7ckamt","position-1":"pmk7jnqg","right-1":"nzivtld2"},g===!0?{"right-1":"cq2v5s49"}:null,e===!0?{"right-1":"kwrap0ej"}:null),children:j.jsx(d("VideoPlayerSettingsMenu.react").VideoPlayerSettingsMenu,{onClose:function(){s?p!=null&&p(null):r(!1)},children:f})}),j.jsx(c("VideoPlayerControlIcon.react"),{icon:l==null?d("fbicon")._(i("497567"),20):l,label:a,onPress:function(){s?p!=null&&p(t?null:d("VideoPlayerDefaultControlsProperties").VideoMenuType.VIDEO_SETTINGS_MENU):r(!q),!t&&n!=null&&n()},tooltip:a})]})});a.displayName="VideoPlayerSettingsControl";b=a;g["default"]=b}),98); __d("VideoPlayerVolumeControlBase.react",["fbt","ix","FocusWithinHandler.react","VideoPlayerControlIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k=d("react").useState,l=.33,m=.66;function a(a){var b=a.audioAvailabilityUI,e=a.isMuted,f=a.onMouseEnter,g=a.onMouseLeave,n=a.onSetMuted,o=a.onUserInteraction,p=a.renderVolumeSlider;a=a.volume;var q=!e&&a>0,r;b!=null&&b.shouldShowNullIcon?r=d("fbicon")._(i("944792"),20):q?a<=l?r=d("fbicon")._(i("1104387"),20):a<=m?r=d("fbicon")._(i("1104390"),20):r=d("fbicon")._(i("564390"),20):r=d("fbicon")._(i("564396"),20);q=k(!1);var s=q[0],t=q[1],u=e?h._(/*FBT_CALL*/"Reativar"/*FBT_CALL*/):h._(/*FBT_CALL*/"Silenciar"/*FBT_CALL*/);return j.jsx(c("FocusWithinHandler.react"),{children:function(a,d){return j.jsxs("div",{className:"l9j0dhe7 pcp91wgn iuny7tx3 p8fzw8mz discj3wi o7xrwllt q9uorilb nhd2j8a9",onMouseEnter:f,onMouseLeave:g,children:[b!=null&&b.shouldDisableVolumeControl?null:j.jsx("div",{className:"k4urcfbm j9ispegn pmk7jnqg pcp91wgn iuny7tx3 p8fzw8mz ipjc6fyt rq0escxv pqc7ok08",children:p({focusVisible:d,onVisibilityChange:t})}),j.jsx(c("VideoPlayerControlIcon.react"),{icon:r,label:u,onPress:function(){b&&b.onVolumeControlPress(),b!=null&&b.shouldDisableVolumeControl||n(!e,"user_initiated"),o&&o({name:"video_mute_button",type:"happened"})},tooltip:b!=null?b.tooltipContent:null,tooltipAlign:"end",tooltipImpl:b!=null?b.tooltipImpl:null,tooltipOffsetY:s?-80:0})]})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerVolumeSliderBase.react",["fbt","CometComponentWithKeyCommands.react","CometKeys","VideoPlayerPointerDrag","VideoPlayerSliderNub.react","VideoPlayerUserInteractionCounter","gkx","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");e=b.useEffect;var j=b.useLayoutEffect,k=b.useMemo,l=b.useRef,m=b.useState,n=c("gkx")("3501")?e:j;function a(a){var b=a.isHovering,e=a.isMuted,f=a.onChangeVolumeDown,g=a.onChangeVolumeUp,j=a.onSetMuted,o=a.onSetVolume,p=a.onUserInteraction,q=a.onVisibilityChange,r=a.volume;a=d("VideoPlayerPointerDrag").usePointerDragResizeObserver();var s=a.invalidateRootRect,t=a.rootRectRef;a=a.rootSizeRefCallback;var u=l(r),v=l(e),w=e?0:r,x=m(w),y=x[0],z=x[1],A=function(a){a=d("VideoPlayerPointerDrag").computePointerOffsetRatio(a,t.current);if(!a)return;a=Math.max(0,Math.min(1,1-a.ratioY));z(a);o(a);e&&j(!1,"user_initiated")};x=d("VideoPlayerPointerDrag").usePointerDrag({onDragCancel:function(a){z(u.current),o(u.current),j(v.current,"user_initiated")},onDragEnd:function(a){A(a)},onDragMove:function(a){A(a)},onDragStart:function(a){s(),u.current=r,v.current=e,z(w),A(a)}});var B=x.isDragging;x=x.rootProps;y=B?y:w;var C=b||B,D=l(C);n(function(){D.current!==C&&(q&&q(C)),D.current=C},[q,C]);b=C;d("VideoPlayerUserInteractionCounter").useVideoPlayerUserInteraction("video_volume_slider",b,p);B=k(function(){return[{command:{key:c("CometKeys").UP},description:h._(/*FBT_CALL*/"Aumentar volume"/*FBT_CALL*/),handler:function(){g()}},{command:{key:c("CometKeys").DOWN},description:h._(/*FBT_CALL*/"Diminuir volume"/*FBT_CALL*/),handler:function(){f()}}]},[g,f]);return i.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:B,children:i.jsx("div",babelHelpers["extends"]({},x,{"aria-label":h._(/*FBT_CALL*/"Alterar volume"/*FBT_CALL*/),"aria-orientation":"vertical","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":r,className:c("stylex").dedupe({"cursor-1":"nhd2j8a9","height-1":"cb02d2ww","opacity-1":"b5wmifdl","pointer-events-1":"hzruof5a","position-1":"l9j0dhe7","transition-duration-1":"dpja2al7","transition-property-1":"art1omkt","transition-timing-function-1":"e4zzj2sf","width-1":"bsnbvmp4","z-index-1":"du4w35lb"},C?{"opacity-1":"pedkr2u6","pointer-events-1":"mrt03zmi"}:null),ref:a,role:"slider",tabIndex:"0",children:i.jsx("div",{className:"c9rrlmt1 ax37mqq2 pmk7jnqg cb02d2ww i09qtzwb qttc61fc ihh4hy1g kdgqqoy6 jk6sbkaj eyh9y8gv",children:i.jsx("div",{className:"k4urcfbm pmk7jnqg i09qtzwb qttc61fc ihh4hy1g kdgqqoy6 jk6sbkaj bogkn74s",style:{height:y*100+"%"},children:i.jsx("div",{className:"l9j0dhe7 mrj0gjlo i1afo9ck",children:i.jsx(c("VideoPlayerSliderNub.react"),{isVisible:C})})})})}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerVolumeSlider.react",["VideoPlayerHooks","VideoPlayerVolumeSliderBase.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useCallback;function a(a){var b=a.isHovering,e=a.onUserInteraction;a=a.onVisibilityChange;var f=d("VideoPlayerHooks").useController(),g=d("VideoPlayerHooks").useMuted(),j=d("VideoPlayerHooks").useVolume(),k=i(function(a){f.setVolume(a)},[f]),l=i(function(a,b){f.setMuted(a,b)},[f]),m=i(function(a){var b=f.getCurrentState();a=Math.max(0,Math.min(1,b.volume+a));f.setVolume(a);a===0?f.setMuted(!0,"user_initiated"):b.muted&&f.setMuted(!1,"user_initiated")},[f]),n=i(function(){m(.05)},[m]),o=i(function(){m(-.05)},[m]);return h.jsx(c("VideoPlayerVolumeSliderBase.react"),{isHovering:b,isMuted:g,onChangeVolumeDown:o,onChangeVolumeUp:n,onSetMuted:l,onSetVolume:k,onUserInteraction:e,onVisibilityChange:a,volume:j})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerVolumeControl.react",["VideoPlayerHooks","VideoPlayerVolumeControlBase.react","VideoPlayerVolumeSlider.react","cr:1826284","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useState,k=(e=b("cr:1826284"))!=null?e:c("emptyFunction");function a(a){var b=a.onUserInteraction;a=j(!1);var e=a[0],f=a[1],g=d("VideoPlayerHooks").useController();a=d("VideoPlayerHooks").useMuted();var l=d("VideoPlayerHooks").useVolume(),m=function(){f(!0)},n=function(){f(!1)},o=i(function(a,b){g.setMuted(a,b)},[g]),p=!a&&l>0;p=k({canPlayerProduceSound:p,isHovering:e})||null;return h.jsx(c("VideoPlayerVolumeControlBase.react"),{audioAvailabilityUI:p,isMuted:a,onMouseEnter:m,onMouseLeave:n,onSetMuted:o,onUserInteraction:b,renderVolumeSlider:function(a){var d=a.focusVisible;a=a.onVisibilityChange;return h.jsx(c("VideoPlayerVolumeSlider.react"),{isHovering:e||d,onUserInteraction:b,onVisibilityChange:a})},volume:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useVideoPlayerVolumeControlAudioAvailabilityUI",["fbt","CometTooltipImpl.react","VideoPlayerControlsHiddenContext","clearTimeout","emptyFunction","gkx","react","setTimeout","useAudioAvailabilityAtPlayhead","useLayoutEffect_SAFE_FOR_SSR","usePrevious","useStable"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useContext;e=b.useEffect;var k=b.useRef,l=b.useState,m=c("gkx")("3501")?e:c("useLayoutEffect_SAFE_FOR_SSR"),n=3e3;function a(a){var b=a.canPlayerProduceSound,d=a.isHovering;a=c("useAudioAvailabilityAtPlayhead")();var e=a.isSilentAtPlayhead;a=a.volumeControlState;var f=null;switch(a){case"VOLUME_SILENT":f=h._(/*FBT_CALL*/"O v\u00eddeo n\u00e3o tem som"/*FBT_CALL*/);break;case"VOLUME_COPYRIGHT_FULL":f=h._(/*FBT_CALL*/"Silenciado devido a reivindica\u00e7\u00e3o de direitos autorais"/*FBT_CALL*/);break;case"VOLUME_COPYRIGHT_PARTIAL_SILENCED":f=h._(/*FBT_CALL*/"Silenciado parcialmente devido a reivindica\u00e7\u00e3o de direitos autorais"/*FBT_CALL*/);break;case"VOLUME_COPYRIGHT_PARTIAL_NOT_SILENCED":break;case"VOLUME_DEFAULT":break;default:a}var g=c("usePrevious")(e),o=l(!1),p=o[0],q=o[1],r=k(c("emptyFunction")),s=k(!1);o=l(!1);var t=o[0],u=o[1],v=c("useStable")(function(){return function(a){s.current=a,u(a),r.current(a),a||q(!1)}}),w=j(c("VideoPlayerControlsHiddenContext"));m(function(){w?v(!1):f==null?v(!1):d||p?v(!0):e!==g&&e&&b&&v(!0)},[f,b,w,d,p,e,g,v]);m(function(){if(t){var a=c("setTimeout")(function(){v(!1)},n);return function(){c("clearTimeout")(a)}}},[t,v]);o=c("useStable")(function(){return function(){q(function(a){return!a})}});var x=c("useStable")(function(){return function(a){var b=l(!1),d=b[0],e=b[1];m(function(){r.current=e;return function(){r.current=c("emptyFunction")}},[e]);m(function(){a.isVisible||v(!1)},[a.isVisible]);return i.jsx(c("CometTooltipImpl.react"),babelHelpers["extends"]({},a,{isVisible:d}))}}),y=a==="VOLUME_COPYRIGHT_FULL"||a==="VOLUME_SILENT",z=b?e:y;return f==null?null:{onVolumeControlPress:o,shouldDisableVolumeControl:y,shouldShowNullIcon:z,tooltipContent:f,tooltipImpl:x,volumeControlState:a}}g["default"]=a}),98); __d("VideoPlayerWithVideoCardsOverlay.react",["CometPlaceholder.react","CometRelay","VideoPlayerWithVideoCardsOverlay_video.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");function a(a){var e=a.cardsHidden,f=a.surface;a=a.video;a=d("CometRelay").useFragment(h!==void 0?h:h=b("VideoPlayerWithVideoCardsOverlay_video.graphql"),a);return i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(d("CometRelay").MatchContainer,{match:a==null?void 0:a.comet_video_player_with_video_card_renderer,props:{cardsHidden:e,surface:f}})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTahoeSidePaneContext",["react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b={rightRailHidden:!1,setRightRailHidden:function(){}};c=a.createContext(b);g["default"]=c}),98); __d("XAdsAccountAdvertisingAccessControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/accountquality/advertising_access/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("CometUserFollowMutation.graphql",[],(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"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d=[{kind:"Literal",name:"action_type",value:"FOLLOW"}],e={args:null,kind:"FragmentSpread",name:"ProfileActionMutationUtils_action"},f=[{kind:"Literal",name:"action_type",value:"FOLLOWING_STATUS"}],g={alias:null,args:null,kind:"ScalarField",name:"is_active",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"secondary_subscribe_status",storageKey:null},j={kind:"TypeDiscriminator",abstractKey:"__isProfileAction"},k={alias:null,args:[{kind:"Literal",name:"icon_color",value:"fds-black"},{kind:"Literal",name:"icon_size",value:"16"},{kind:"Literal",name:"icon_variant",value:"filled"},{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},n={kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_optimistic_update",storageKey:null}]};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUserFollowMutation",selections:[{alias:null,args:b,concreteType:"ActorSubscribeResponsePayload",kind:"LinkedField",name:"actor_subscribe",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subscribee",plural:!1,selections:[c,{kind:"InlineFragment",selections:[{alias:null,args:d,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[e],storageKey:'profile_action(action_type:"FOLLOW")'},{alias:"following_status",args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[e,g],storageKey:'profile_action(action_type:"FOLLOWING_STATUS")'},h,i],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUserFollowMutation",selections:[{alias:null,args:b,concreteType:"ActorSubscribeResponsePayload",kind:"LinkedField",name:"actor_subscribe",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"subscribee",plural:!1,selections:[c,{kind:"InlineFragment",selections:[{alias:null,args:d,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[c,j,k,l,m,n],storageKey:'profile_action(action_type:"FOLLOW")'},{alias:"following_status",args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[c,j,k,l,m,n,g],storageKey:'profile_action(action_type:"FOLLOWING_STATUS")'},h,i],type:"User",abstractKey:null},l],storageKey:null}],storageKey:null}]},params:{id:"4451435638222552",metadata:{},name:"CometUserFollowMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUserUnfollowMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"action_render_location"},{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e=[{kind:"Literal",name:"action_type",value:"FOLLOW"},{kind:"Variable",name:"render_location",variableName:"action_render_location"}],f=[{args:null,kind:"FragmentSpread",name:"ProfileActionMutationUtils_action"}],g=[{kind:"Literal",name:"action_type",value:"FOLLOWING_STATUS"}],h={alias:null,args:null,kind:"ScalarField",name:"subscribe_status",storageKey:null},i=[c,{kind:"TypeDiscriminator",abstractKey:"__isProfileAction"},{alias:null,args:[{kind:"Literal",name:"icon_color",value:"fds-black"},{kind:"Literal",name:"icon_size",value:"16"},{kind:"Literal",name:"icon_variant",value:"filled"},{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},d,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_optimistic_update",storageKey:null}]}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUserUnfollowMutation",selections:[{alias:null,args:b,concreteType:"ActorUnsubscribeResponsePayload",kind:"LinkedField",name:"actor_unsubscribe",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"unsubscribee",plural:!1,selections:[c,d,{kind:"InlineFragment",selections:[{alias:null,args:e,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:f,storageKey:null},{alias:"following_status",args:g,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:f,storageKey:'profile_action(action_type:"FOLLOWING_STATUS")'},h],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUserUnfollowMutation",selections:[{alias:null,args:b,concreteType:"ActorUnsubscribeResponsePayload",kind:"LinkedField",name:"actor_unsubscribe",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"unsubscribee",plural:!1,selections:[c,d,{kind:"InlineFragment",selections:[{alias:null,args:e,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:i,storageKey:null},{alias:"following_status",args:g,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:i,storageKey:'profile_action(action_type:"FOLLOWING_STATUS")'},h],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:"5309692819104954",metadata:{},name:"CometUserUnfollowMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFIFeedbackReactMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6422604824431250"}),null); __d("CometUFIFeedbackReactMutation.graphql",["CometUFIFeedbackReactMutation_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:"useDefaultActor"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"detection_analytics_enabled",storageKey:null},e=[{kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"}],f={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},j={alias:"i18n_reaction_count",args:null,kind:"ScalarField",name:"reaction_count_reduced",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIFeedbackReactMutation",selections:[{alias:null,args:c,concreteType:"FeedbackReactResponsePayload",kind:"LinkedField",name:"feedback_react",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"UFI2ReactionActionLink_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2ReactionsCount_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2CommentTopReactions_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2CommentTopReactionsWrapper_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2TopReactions_feedback"},{args:null,kind:"FragmentSpread",name:"CometUFIFeedbackReactMutation_feedback"},{args:null,kind:"FragmentSpread",name:"useAwardReactionChainNUX_feedback"}],storageKey:null},d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIFeedbackReactMutation",selections:[{alias:null,args:c,concreteType:"FeedbackReactResponsePayload",kind:"LinkedField",name:"feedback_react",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:e,kind:"ScalarField",name:"can_viewer_react",storageKey:null},{alias:null,args:e,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:[f,g,h],storageKey:null},g,{alias:null,args:e,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[h,g,i],storageKey:null},{alias:null,args:null,concreteType:"FeedbackReaction",kind:"LinkedField",name:"supported_reactions",plural:!0,selections:[f,g],storageKey:null},{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[g],storageKey:null},{alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:[f,g,{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"svg_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"localized_name",storageKey:null}],storageKey:null},j],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'},{alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[k,{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"count_reduced",storageKey:null}],storageKey:null},j,{alias:null,args:[{kind:"Literal",name:"first",value:2}],concreteType:"ImportantReactorsConnection",kind:"LinkedField",name:"important_reactors",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[h,i,g],storageKey:null}],storageKey:"important_reactors(first:2)"},{alias:"reaction_count",args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[k],storageKey:null},{alias:null,args:null,concreteType:"ReactionDisplayConfig",kind:"LinkedField",name:"reaction_display_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_display_strategy",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_show_top_reactions",storageKey:null},{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"if_viewer_can_see_community_awards_bottom_sheet_nux_on_comet",plural:!1,selections:[h,g],storageKey:null}],storageKey:null},d],storageKey:null}]},params:{id:b("CometUFIFeedbackReactMutation_facebookRelayOperation"),metadata:{},name:"CometUFIFeedbackReactMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFIFeedbackReactMutation_feedback.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}];return{argumentDefinitions:[{kind:"RootArgument",name:"useDefaultActor"}],kind:"Fragment",metadata:{mask:!1},name:"CometUFIFeedbackReactMutation_feedback",selections:[{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:a,storageKey:null}],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'},{alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"}],concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:a,storageKey:null}],type:"Feedback",abstractKey:null}}();e.exports=a}),null); __d("CometUFIFeedbackReactSubscription.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"useDefaultActor"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d=[c],e=[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,{args:null,kind:"FragmentSpread",name:"CometUFIFeedbackReactMutation_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2ReactionsCount_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2TopReactions_feedback"}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"liker",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:d,storageKey:null}],storageKey:null}],f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},h={alias:"i18n_reaction_count",args:null,kind:"ScalarField",name:"reaction_count_reduced",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},j=[{kind:"Variable",name:"use_default_actor",variableName:"useDefaultActor"}],k={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};d=[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[c,{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:d,storageKey:null},{alias:null,args:[{kind:"Literal",name:"orderby",value:["COUNT_DESC","REACTION_TYPE"]}],concreteType:"TopReactionsConnection",kind:"LinkedField",name:"top_reactions",plural:!1,selections:[{alias:null,args:null,concreteType:"TopReactionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_count",storageKey:null},{alias:null,args:null,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"node",plural:!1,selections:[g,c,{alias:null,args:null,kind:"ScalarField",name:"localized_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null}],storageKey:null},h],storageKey:null}],storageKey:'top_reactions(orderby:["COUNT_DESC","REACTION_TYPE"])'},{alias:null,args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"is_empty",storageKey:null}],storageKey:null},{alias:null,args:j,concreteType:"FeedbackReactionInfo",kind:"LinkedField",name:"viewer_feedback_reaction_info",plural:!1,selections:[g,c,f],storageKey:null},h,{alias:null,args:[{kind:"Literal",name:"first",value:2}],concreteType:"ImportantReactorsConnection",kind:"LinkedField",name:"important_reactors",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[f,k,c],storageKey:null}],storageKey:"important_reactors(first:2)"},{alias:"reaction_count",args:null,concreteType:"ReactorsOfContentConnection",kind:"LinkedField",name:"reactors",plural:!1,selections:[i],storageKey:null},{alias:null,args:null,concreteType:"ReactionDisplayConfig",kind:"LinkedField",name:"reaction_display_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_display_strategy",storageKey:null}],storageKey:null},{alias:null,args:j,concreteType:null,kind:"LinkedField",name:"viewer_actor",plural:!1,selections:[f,c,k],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"liker",plural:!1,selections:[f,{kind:"TypeDiscriminator",abstractKey:"__isActor"},c],storageKey:null},{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[f,c],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIFeedbackReactSubscription",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"feedback_like_subscribe",plural:!1,selections:[{kind:"InlineFragment",selections:e,type:"FeedbackLikeResponsePayload",abstractKey:null},{kind:"InlineFragment",selections:e,type:"FeedbackUnlikeResponsePayload",abstractKey:null}],storageKey:null}],type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIFeedbackReactSubscription",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"feedback_like_subscribe",plural:!1,selections:[f,{kind:"InlineFragment",selections:d,type:"FeedbackLikeResponsePayload",abstractKey:null},{kind:"InlineFragment",selections:d,type:"FeedbackUnlikeResponsePayload",abstractKey:null}],storageKey:null}]},params:{id:"3416052685165398",metadata:{subscriptionName:"feedback_like_subscribe"},name:"CometUFIFeedbackReactSubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null); __d("CometUFIFeedbackReactSubscription_feedback.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFIFeedbackReactSubscription_feedback",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometUFIFeedbackReactMutation_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2ReactionsCount_feedback"},{args:null,kind:"FragmentSpread",name:"UFI2TopReactions_feedback"}],type:"Feedback",abstractKey:null};e.exports=a}),null); __d("CometUFIFeedbackReactSubscription_liker.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFIFeedbackReactSubscription_liker",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Actor",abstractKey:"__isActor"};e.exports=a}),null); __d("CometUFIFeedbackReactSubscription_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometUFIFeedbackReactSubscription_viewer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("CometUFIHideCommentMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},b={defaultValue:null,kind:"LocalArgument",name:"input"},c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_viewer",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"spam_display_mode",storageKey:null};return{fragment:{argumentDefinitions:[a,b],kind:"Fragment",metadata:null,name:"CometUFIHideCommentMutation",selections:[{alias:null,args:c,concreteType:"CommentHideResponsePayload",kind:"LinkedField",name:"comment_hide",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment",plural:!1,selections:[d,e,f,g,{args:null,kind:"FragmentSpread",name:"CometUFICommentMenu_comment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[b,a],kind:"Operation",name:"CometUFIHideCommentMutation",selections:[{alias:null,args:c,concreteType:"CommentHideResponsePayload",kind:"LinkedField",name:"comment_hide",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment",plural:!1,selections:[d,e,f,g,{alias:"items",args:[{kind:"Variable",name:"feed_location",variableName:"feedLocation"}],concreteType:null,kind:"LinkedField",name:"comment_menu_items",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemRemoveTag_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemRemoveTag",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDelete_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDeleteAndRemoveMember_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDeleteAndRemoveMember",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemSetMemberContentControls_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemSetMemberContentControls",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDivider_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDivider",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemEdit_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemEdit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemReportToAdmins_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemReportToAdmins",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemGiveFeedbackOrReport_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemGiveFeedbackOrReport",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCreateDetailedReport_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCreateDetailedReport",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemHide_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemHide",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemUnhide_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemUnhide",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteMember_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteMember",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemRemoveWithFeedback_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemRemoveWithFeedback",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemPublishVidwallaOverlay_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemPublishVidwallaOverlay",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemVidwallaSaveGraphic_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemVidwallaSaveGraphic",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenterFromLiveVideoStream_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromLiveVideoStream",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenterFromPage_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromPage",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForFifteenMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForFifteenMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForThirtyMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForThirtyMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForSixtyMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForSixtyMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanFromPage_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromPageWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanCommenterFromAllLiveVideoStreams_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromAllLiveStreamsWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemDelete_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemGFIDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanCommenterFromLiveVideoStream_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromLiveVideoStreamWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemMuteCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemReportToModerator_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemReportToModerator",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemAddAsModerator_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAddAsModerator",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemPinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemPinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemAdminPinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAdminPinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemAdminUnpinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAdminUnpinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBlockCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBlockCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBulletinBlockCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBulletinBlockCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemFishbowlInviteGuest_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemFishbowlInviteGuest",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemFishbowlRemoveGuest_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemFishbowlRemoveGuest",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemResolveInlineAnnotation_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemResolveInlineAnnotation",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCreateDebugConflictAlert_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCreateDebugConflictAlert",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCopyLink_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCopyLink",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"LiveVideoEngageQuestionMenuItemDelete_questionMenuItem",fragmentPropName:"questionMenuItem",kind:"ModuleImport"}],type:"LiveVideoEngageQuestionMenuItemDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemOpenDebugger_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemOpenDebugger",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GeminiUFICommentMenuItemEditWPAMACommentType_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemWPEnhancedAMAEditBadge",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"6568626683155194",metadata:{},name:"CometUFIHideCommentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFILiveTypingBroadcastMutation_StartMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4132343240150432"}),null); __d("CometUFILiveTypingBroadcastMutation_StartMutation.graphql",["CometUFILiveTypingBroadcastMutation_StartMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"FeedbackStartTypingResponsePayload",kind:"LinkedField",name:"feedback_start_typing",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFILiveTypingBroadcastMutation_StartMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFILiveTypingBroadcastMutation_StartMutation",selections:c},params:{id:b("CometUFILiveTypingBroadcastMutation_StartMutation_facebookRelayOperation"),metadata:{},name:"CometUFILiveTypingBroadcastMutation_StartMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFILiveTypingBroadcastMutation_StopMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"FeedbackStopTypingResponsePayload",kind:"LinkedField",name:"feedback_stop_typing",plural:!1,selections:[{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFILiveTypingBroadcastMutation_StopMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFILiveTypingBroadcastMutation_StopMutation",selections:b},params:{id:"2449415248515863",metadata:{},name:"CometUFILiveTypingBroadcastMutation_StopMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFIUnhideCommentMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5015886685088554"}),null); __d("CometUFIUnhideCommentMutation.graphql",["CometUFIUnhideCommentMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},c={defaultValue:null,kind:"LocalArgument",name:"input"},d=[{kind:"Variable",name:"data",variableName:"input"}],e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"spam_display_mode",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_viewer",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"is_hidden_by_content_owner",storageKey:null};return{fragment:{argumentDefinitions:[a,c],kind:"Fragment",metadata:null,name:"CometUFIUnhideCommentMutation",selections:[{alias:null,args:d,concreteType:"CommentUnhideResponsePayload",kind:"LinkedField",name:"comment_unhide",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment",plural:!1,selections:[e,f,g,h,{args:null,kind:"FragmentSpread",name:"CometUFICommentMenu_comment"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,a],kind:"Operation",name:"CometUFIUnhideCommentMutation",selections:[{alias:null,args:d,concreteType:"CommentUnhideResponsePayload",kind:"LinkedField",name:"comment_unhide",plural:!1,selections:[{alias:null,args:null,concreteType:"Comment",kind:"LinkedField",name:"comment",plural:!1,selections:[e,f,g,h,{alias:"items",args:[{kind:"Variable",name:"feed_location",variableName:"feedLocation"}],concreteType:null,kind:"LinkedField",name:"comment_menu_items",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemRemoveTag_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemRemoveTag",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDelete_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDeleteAndRemoveMember_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDeleteAndRemoveMember",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemSetMemberContentControls_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemSetMemberContentControls",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemDivider_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemDivider",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemEdit_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemEdit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemReportToAdmins_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemReportToAdmins",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemGiveFeedbackOrReport_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemGiveFeedbackOrReport",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCreateDetailedReport_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCreateDetailedReport",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemHide_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemHide",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemUnhide_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemUnhide",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteMember_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteMember",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemRemoveWithFeedback_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemRemoveWithFeedback",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemPublishVidwallaOverlay_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemPublishVidwallaOverlay",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemVidwallaSaveGraphic_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemVidwallaSaveGraphic",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenterFromLiveVideoStream_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromLiveVideoStream",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBanCommenterFromPage_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromPage",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForFifteenMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForFifteenMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForThirtyMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForThirtyMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemMuteCommenterForSixtyMinutes_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterForSixtyMinutes",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanFromPage_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromPageWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanCommenterFromAllLiveVideoStreams_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromAllLiveStreamsWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemDelete_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemGFIDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemBanCommenterFromLiveVideoStream_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBanCommenterFromLiveVideoStreamWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemMuteCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemMuteCommenterWithCommunityRules",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemReportToModerator_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemReportToModerator",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemAddAsModerator_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAddAsModerator",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GFICommentMenuItemPinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemPinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemAdminPinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAdminPinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemAdminUnpinComment_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemAdminUnpinComment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBlockCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBlockCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemBulletinBlockCommenter_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemBulletinBlockCommenter",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemFishbowlInviteGuest_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemFishbowlInviteGuest",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemFishbowlRemoveGuest_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemFishbowlRemoveGuest",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemResolveInlineAnnotation_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemResolveInlineAnnotation",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCreateDebugConflictAlert_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCreateDebugConflictAlert",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemCopyLink_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemCopyLink",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"LiveVideoEngageQuestionMenuItemDelete_questionMenuItem",fragmentPropName:"questionMenuItem",kind:"ModuleImport"}],type:"LiveVideoEngageQuestionMenuItemDelete",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"CometUFICommentMenuItemOpenDebugger_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemOpenDebugger",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometUFICommentMenu_comment",fragmentName:"GeminiUFICommentMenuItemEditWPAMACommentType_commentMenuItem",fragmentPropName:"commentMenuItem",kind:"ModuleImport"}],type:"CommentMenuItemWPEnhancedAMAEditBadge",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("CometUFIUnhideCommentMutation_facebookRelayOperation"),metadata:{},name:"CometUFIUnhideCommentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometUFIStickersComposerUpgradedPreviewContentQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4141340565935606"}),null); __d("CometUFIStickersComposerUpgradedPreviewContentQuery.graphql",["CometUFIStickersComposerUpgradedPreviewContentQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"scale"},{defaultValue:null,kind:"LocalArgument",name:"stickerId"}],c=[{kind:"Variable",name:"id",variableName:"stickerId"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={kind:"Variable",name:"scale",variableName:"scale"},f=[{kind:"Literal",name:"height",value:80},e,{kind:"Literal",name:"width",value:80}],g={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},h=[g,{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIStickersComposerUpgradedPreviewContentQuery",selections:[{alias:"sticker",args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"UFI2CommentSticker_sticker"}],type:"Sticker",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIStickersComposerUpgradedPreviewContentQuery",selections:[{alias:"sticker",args:c,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"frame_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frame_rate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frames_per_column",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frames_per_row",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,concreteType:"StickerPack",kind:"LinkedField",name:"pack",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},d],storageKey:null},{alias:null,args:f,concreteType:"Image",kind:"LinkedField",name:"sprite_image",plural:!1,selections:[g],storageKey:null},{alias:"sticker_image",args:f,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:h,storageKey:null},{alias:"larger_sticker_image",args:[{kind:"Literal",name:"height",value:120},e,{kind:"Literal",name:"width",value:120}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:h,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sticker_type",storageKey:null}],type:"Sticker",abstractKey:null},d],storageKey:null}]},params:{id:b("CometUFIStickersComposerUpgradedPreviewContentQuery_facebookRelayOperation"),metadata:{},name:"CometUFIStickersComposerUpgradedPreviewContentQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometUFIPinCommentMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4205261076203417"}),null); __d("CometUFIPinCommentMutation.graphql",["CometUFIPinCommentMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"PinnedCommentEventCreateResponsePayload",kind:"LinkedField",name:"pinned_comment_event_create",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIPinCommentMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIPinCommentMutation",selections:c},params:{id:b("CometUFIPinCommentMutation_facebookRelayOperation"),metadata:{},name:"CometUFIPinCommentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("UFI2CommentSticker_sticker.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={kind:"Variable",name:"scale",variableName:"scale"},b=[{kind:"Literal",name:"height",value:80},a,{kind:"Literal",name:"width",value:80}],c={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},d=[c,{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}];return{argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"UFI2CommentSticker_sticker",selections:[{alias:null,args:null,kind:"ScalarField",name:"frame_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frame_rate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frames_per_column",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"frames_per_row",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:null,concreteType:"StickerPack",kind:"LinkedField",name:"pack",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:b,concreteType:"Image",kind:"LinkedField",name:"sprite_image",plural:!1,selections:[c],storageKey:null},{alias:"sticker_image",args:b,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:d,storageKey:null},{alias:"larger_sticker_image",args:[{kind:"Literal",name:"height",value:120},a,{kind:"Literal",name:"width",value:120}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:d,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sticker_type",storageKey:null}],type:"Sticker",abstractKey:null}}();e.exports=a}),null); __d("getCometComposerMentionsSearchForOutline",[],(function(a,b,c,d,e,f){"use strict";function g(a){a=a.anchor;if(a.type!=="text")return null;var b=a.getNode();if(!b.isSimpleText())return null;a=a.offset;return b.getTextContent().slice(0,a)}function a(a){var b=null;a.getViewModel().read(function(a){a=a.getSelection();if(a===null)return;b=g(a)});return b}f["default"]=a}),66); __d("useCometOutlineHasFocus",["react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useEffect,i=b.useState;function a(a){var b=i(!1),c=b[0],d=b[1];h(function(){return a(function(a){return d(a)})},[a]);return c}g["default"]=a}),98); __d("ProfileActionFollowingMutationUtils",["fbt","ProfileActionMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a,b){var c="";switch(a){case"SEE_FIRST":c=h._(/*FBT_CALL*/"Favoritos"/*FBT_CALL*/).toString();break;case"UNFOLLOW":c=h._(/*FBT_CALL*/"Seguir"/*FBT_CALL*/).toString();break;default:c=h._(/*FBT_CALL*/"Seguindo"/*FBT_CALL*/).toString();break}return{__typename:"ProfileActionFollowingStatusHandler",icon_image:{height:16*d("WebPixelRatio").get(),scale:d("WebPixelRatio").get(),uri:null,width:16*d("WebPixelRatio").get()},id:d("ProfileActionMutationUtils").getProfileActionID(b,52),is_optimistic_update:!0,title:{text:c}}}function b(a,b){var c="";switch(a){case"UNFOLLOW":c=h._(/*FBT_CALL*/"Seguir"/*FBT_CALL*/).toString();break;default:c=h._(/*FBT_CALL*/"Deixar de seguir"/*FBT_CALL*/).toString();break}return{__typename:"ProfileActionFollowingStatusHandler",icon_image:{height:16*d("WebPixelRatio").get(),scale:d("WebPixelRatio").get(),uri:null,width:16*d("WebPixelRatio").get()},id:d("ProfileActionMutationUtils").getProfileActionID(b,19),is_optimistic_update:!0,title:{text:c}}}g.getOptimisticFollowingActionForSubscriptionStatus=a;g.getOptimisticFollowActionForSubscriptionStatus=b}),98); __d("CometUserFollowMutation",["CometRelay","CometUserFollowMutation.graphql","ProfileActionFollowingMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUserFollowMutation.graphql");function j(a,b){var c;return{actor_subscribe:{subscribee:{__typename:"User",following_status:babelHelpers["extends"]({},d("ProfileActionFollowingMutationUtils").getOptimisticFollowingActionForSubscriptionStatus((c=a)!=null?c:"REGULAR_FOLLOW",b),{is_active:!1}),id:b,profile_action:babelHelpers["extends"]({},d("ProfileActionFollowingMutationUtils").getOptimisticFollowActionForSubscriptionStatus((c=a)!=null?c:"REGULAR_FOLLOW",b)),secondary_subscribe_status:a,subscribe_status:"IS_SUBSCRIBED"}}}}function a(a,b){var c=b.isTrackingEncrypted,e=b.onError,f=b.onSuccess,g=b.secondarySubscribeStatus,h=b.subscribeLocation,k=b.tracking;b=b.userID;d("CometRelay").commitMutation(a,{mutation:i,onCompleted:f,onError:e,optimisticResponse:j(g,b),variables:{input:{is_tracking_encrypted:c,secondary_subscribe_status:g,subscribe_location:h,subscribee_id:b,tracking:k},scale:d("WebPixelRatio").get()}})}function c(a,b){var c=b.isTrackingEncrypted,e=b.onError,f=b.onSuccess,g=b.secondarySubscribeStatus,h=b.subscribeLocation,k=b.tracking;b=b.userID;d("CometRelay").enqueueMutation(a,{mutation:i,onCompleted:f,onError:e,optimisticResponse:j(g,b),variables:{input:{is_tracking_encrypted:c,secondary_subscribe_status:g,subscribe_location:h,subscribee_id:b,tracking:k},scale:d("WebPixelRatio").get()}})}g.commit=a;g.enqueue=c}),98); __d("CometUserUnfollowMutation",["CometRelay","CometUserUnfollowMutation.graphql","ProfileActionFollowingMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUserUnfollowMutation.graphql");function j(a){return{actor_unsubscribe:{unsubscribee:{__typename:"User",following_status:d("ProfileActionFollowingMutationUtils").getOptimisticFollowingActionForSubscriptionStatus("UNFOLLOW",a),id:a,profile_action:d("ProfileActionFollowingMutationUtils").getOptimisticFollowActionForSubscriptionStatus("UNFOLLOW",a),subscribe_status:"CAN_SUBSCRIBE"}}}}function a(a,b){var c=b.actionRenderLocation,e=b.isTrackingEncrypted,f=b.onError,g=b.onSuccess,h=b.subscribeLocation,k=b.tracking;b=b.userID;d("CometRelay").commitMutation(a,{mutation:i,onCompleted:g,onError:f,optimisticResponse:j(b),variables:{action_render_location:c,input:{is_tracking_encrypted:e,subscribe_location:h,tracking:k,unsubscribee_id:b},scale:d("WebPixelRatio").get()}})}function c(a,b){var c=b.actionRenderLocation,e=b.isTrackingEncrypted,f=b.onError,g=b.onSuccess,h=b.subscribeLocation,k=b.tracking;b=b.userID;d("CometRelay").enqueueMutation(a,{mutation:i,onCompleted:g,onError:f,optimisticResponse:j(b),variables:{action_render_location:c,input:{is_tracking_encrypted:e,subscribe_location:h,tracking:k,unsubscribee_id:b},scale:d("WebPixelRatio").get()}})}g.commit=a;g.enqueue=c}),98); __d("useCometMentionsResolutionForOutline",["getCometComposerMentionsSearchForOutline","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.startTransition,i=b.useEffect,j=b.useState;function k(a,b){var c=window.getSelection();if(c===null||!c.isCollapsed||a===null)return!1;var d=c.anchorNode;a=a.leadOffset;c=c.anchorOffset;try{b.setStart(d,a),b.setEnd(d,c)}catch(a){return!1}return!0}function a(a,b){var d=j(null),e=d[0],f=d[1];i(function(){var d=document.createRange(),e=null,g=null,i=null,j=function(){var j=d,l=c("getCometComposerMentionsSearchForOutline")(a);if(l===e||j===null)return;e=l;l=b(l);var m=l.dataSource,n=l.searchResult;if(m===g&&n===i)return;l=k(n,j);g=m;i=n;!l||m===null||n===null?h(function(){return f(null)}):h(function(){return f({dataSource:m,range:j,searchResult:n})})},l=a.addListener("update",j);return function(){d=null,l()}},[b,a]);return e}g["default"]=a}),98); __d("CometMentionsForOutline.react",["CometMentions.react","Keys","emptyFunction","getCometComposerMentionsSearchForOutline","react","recoverableViolation","useCometMentionsLoggingProvider","useCometMentionsResolutionForOutline"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useEffect,k=b.useMemo,l=b.useRef,m=b.useState;function a(a){var b=a.addKeyBinding,d=a.createMentionNode,e=a.dataSourceResolver,f=a.editor,g=a.hasFocus,k=a.onAriaChange,m=a.position;m=m===void 0?"below":m;var o=a.viewItemStrategyRenderer;a=a.onEntry;var r=a===void 0?c("emptyFunction"):a;a=c("useCometMentionsResolutionForOutline")(f,e);var s=l(!1),t=n(f),u=t[0],v=t[1],w=l(null),x=q(k);j(function(){g||x()},[g,x]);t=i(function(){x()},[x]);j(function(){return b(function(a){var b=w.current,d=s.current;if(b===null||!d||u)return"not-handled";d=function(b){a.preventDefault();a.stopImmediatePropagation();b();return"handled"};var e=function(){return"not-handled"};switch(a.keyCode){case c("Keys").UP:return d(function(){return b.moveUp()});case c("Keys").DOWN:return d(function(){return b.moveDown()});case c("Keys").RETURN:case c("Keys").TAB:if(b.hasSelection)return d(function(){return b.select()});else return e();case c("Keys").ESC:return d(function(){x(),v()})}return e()})},[b,v,x,u]);k=i(function(a){s.current=a},[]);var y=i(function(a){if(a)return;x()},[x]),z=i(function(a){var b=c("getCometComposerMentionsSearchForOutline")(f);if(b==null){c("recoverableViolation")("Race condition where the user selected a mention but theres no text in the editor","search");return}var g=e(b);g=g.searchResult;if(g==null){c("recoverableViolation")("onPressEntry was called and no search result was found for the query "+b,"CometComposer");return}x();b=p(f,d,a,g);if(b===null)return;r(b,a,g)},[d,e,f,x,r]),A=c("useCometMentionsLoggingProvider")();if(a===null||u){s.current=!1;return null}return h.jsx(c("CometMentions.react"),{context:a.range,dataSource:a.dataSource,editorHasFocus:g,loggingProvider:A,onAriaChange:x,onBlur:t,onEntriesUpdated:y,onFocus:c("emptyFunction"),onSelectedEntry:z,onVisibilityChange:k,position:m,queryString:a.searchResult.matchingString,ref:w,viewItemStrategyRenderer:o})}a.displayName=a.name+" [from "+f.id+"]";function n(a){var b=m(!1),c=b[0],d=b[1];j(function(){if(c){var b=a.getCurrentTextContent();return a.addListener("update",function(){var c=a.getCurrentTextContent();c!==b&&(b=c,d(!1))})}},[a,c]);return k(function(){return[c,function(){return d(!0)}]},[c])}function o(a,b,c){c=c;for(var d=c;d<=b.length;d++)a.substr(-d)===b.substr(0,d)&&(c=d);return c}function p(a,b,d,e){var f=null;a.update(function(a){a=a.getSelection();if(a==null||!a.isCollapsed())return;a=a.anchor;if(a.type!=="text")return;var g=a.getNode();if(!g.isSimpleText())return;a=a.offset;var h=g.getTextContent().slice(0,a),i=d.getLabel(),j=e.replaceableString.length;h=o(h,i,j);i=a-h;if(i<0)return;if(i===0){j=g.splitText(a);h=j[0]}else{j=g.splitText(i,a);h=j[1]}if(h==null){c("recoverableViolation")("createMentionNodeFromSearchResult failed to find correct offsets. Found offsets: "+i+", "+a+".","search");return}g=b({id:d.getKey(),text:d.getHandle?d.getHandle():d.getLabel(),type:"Actor"});f=g.getKey();h.replace(g);g.selectNext(0,0)},"createMentionNodeFromSearchResult");return f}function q(a){var b=l(void 0),c=l(void 0);return i(function(d,e){var f=b.current,g=c.current;(f!==d||g!==e)&&(b.current=d,c.current=e,a(d,e))},[a])}g["default"]=a}),98); __d("CometUFIFeedbackReactMutation",["ChannelClientID","CometRelay","CometUFIFeedbackReactMutation.graphql","CometUFIFeedbackReactMutation_feedback.graphql","FBLogger","FeedbackSourceType","JSEnumValueToGraphQLKey","UFIODSLogger","UFIReactionTypes","arrayStableSort","cr:1088250","setTimeout","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=2,k=3e3,l=c("JSEnumValueToGraphQLKey")(c("FeedbackSourceType"),1);h!==void 0?h:h=b("CometUFIFeedbackReactMutation_feedback.graphql");var m=i!==void 0?i:i=b("CometUFIFeedbackReactMutation.graphql");function a(a){var b=a.environment,e=a.input,f=a.useDefaultActor,g=e.feedback_reaction,h=e.feedback_source;h={input:babelHelpers["extends"]({},e,{feedback_source:h!=null?c("JSEnumValueToGraphQLKey")(c("FeedbackSourceType"),h):void 0,session_id:d("ChannelClientID").getID()}),useDefaultActor:f};var i=function(a){var b=a.get(e.feedback_id);if(b==null){c("FBLogger")("ufi2").addMetadata("UFI","FEEDBACK_TARGET_ID",e.feedback_id).warn("CometUFIFeedbackReactMutation: Could not find feedback in Relay store.");return}b.setValue(!0,"should_show_top_reactions");var d=o(a,e.feedback_id,b),h=b.getLinkedRecord("viewer_feedback_reaction_info",{use_default_actor:f}),i=h?h.getValue("key")||0:0;if(typeof i!=="number")throw c("unrecoverableViolation")("Type Error: currentReactionKey must not be of type 'number'. ","ufi2");var j=b.getLinkedRecord("top_reactions",{orderby:["COUNT_DESC","REACTION_TYPE"]});if(!j){var k="client:top_reactions:"+e.feedback_id;j=a.create(k,"TopReactionsConnection")}q(a,j,g,i);var l;if(g===0){if(h!==null){k=d.getValue("count");j=typeof k==="number"?k:1;l=j-1}b.setValue(null,"viewer_feedback_reaction_info",{use_default_actor:f})}else{if(h===null){i=d.getValue("count");k=typeof i==="number"?i:0;l=k+1}h=p(a,g);b.setLinkedRecord(h,"viewer_feedback_reaction_info",{use_default_actor:f})}l!=null&&(d.setValue(l,"count"),d.setValue(l===0,"is_empty"));j=d.getValue("count_reduced");if(parseInt(j,10).toString()===j){i=d.getValue("count");typeof i==="number"&&!Number.isNaN(i)&&d.setValue(i.toString(),"count_reduced")}};h={mutation:m,optimisticUpdater:i,variables:h};return n(b,h,i,0,e,a.onError)}function n(a,e,f,g,h,i){var m=d("CometRelay").commitMutation(a,babelHelpers["extends"]({},e,{onCompleted:function(a){a=e==null?void 0:(a=e.variables)==null?void 0:(a=a.input)==null?void 0:a.feedback_source;var c=Math.min(g+1,3);c=""+c+(g>=c?"+":"");a===l&&d("UFIODSLogger").bump("reaction.newsfeed.mutation.attempt."+c,"relay");d("UFIODSLogger").bump("reaction.mutation.attempt."+c,"relay");b("cr:1088250")&&b("cr:1088250")(h)},onError:function(b){if(b.name==="GraphQLError")return i(b);m=d("CometRelay").applyOptimisticMutation(a,babelHelpers["extends"]({},e,{optimisticUpdater:f}));if(g>=j)return i(b);c("setTimeout")(function(){m&&m.dispose(),m=n(a,e,f,g+1,h,i)},k)}}));return{dispose:function(){m&&m.dispose(),m=null}}}function o(a,b,d){var e=d.getLinkedRecord("reactors");if(!e){c("FBLogger")("ufi2").addMetadata("UFI","FEEDBACK_TARGET_ID",b).warn("Expected Feedback record proxy to have a reactors connection");b="client:reactors:"+b;e=a.get(b)||a.create(b,"ReactorsOfContentConnection");e.setValue(0,"count");e.setValue("0","count_reduced");e.setValue(!0,"is_empty");d.setLinkedRecord(e,"reactors")}return e}function p(a,b){if(b===0)throw c("unrecoverableViolation")("ReactionInfo cannot be created for NONE","ufi2");var d="client:reaction_info:"+b,e=a.get(d);if(!e){e=a.create(d,"FeedbackReactionInfo");e.setValue(b,"key");a=c("UFIReactionTypes").reactions[b];if(!a)throw c("unrecoverableViolation")("No reaction for reaction key: "+b,"ufi2");e.setValue(a.display_name,"localized_name");e.setValue(a.name.toUpperCase(),"reaction_type")}return e}function q(a,b,e,f){var g=(b.getLinkedRecords("edges")||[]).map(function(a){if(!a)return null;var b=a.getLinkedRecord("node"),d=a.getValue("reaction_count")||0,e=b&&b.getValue("key")||0;if(typeof d==="number"&&typeof e==="number")return b&&d!==0&&e!==0?{count:d,edge:a,key:e}:null;else throw c("unrecoverableViolation")("Type Error: LinkedRecord (node) and reaction_count (count) must be of type 'number'. ","ufi2")}).filter(Boolean);if(f){var h=g.find(function(a){a=a.key;return a===f});h&&h.count--}if(e){h=g.find(function(a){return a.key===e});if(!h){var i=p(a,e);a=d("CometRelay").ConnectionHandler.createEdge(a,b,i,"TopReactionsEdge");h={count:0,edge:a,key:e};g.push(h)}h.count++}i=c("arrayStableSort")(g,function(a,b){return b.count-a.count||c("UFIReactionTypes").ordering.indexOf(a.key)-c("UFIReactionTypes").ordering.indexOf(b.key)}).filter(function(a){a=a.count;return a!==0}).map(function(a){var b=a.count;a=a.edge;a.setValue(b,"reaction_count");a.setValue((b=a.getValue("reaction_count_reduced"))!=null?b:"","reaction_count_reduced");return a});b.setLinkedRecords(i,"edges")}g.commit=a}),98); __d("CometUFIFeedbackReactSubscription",["CometRelay","CometUFIFeedbackReactSubscription.graphql","CometUFIFeedbackReactSubscription_feedback.graphql","CometUFIFeedbackReactSubscription_liker.graphql","CometUFIFeedbackReactSubscription_viewer.graphql","emptyFunction","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k;h!==void 0?h:h=b("CometUFIFeedbackReactSubscription_feedback.graphql");i!==void 0?i:i=b("CometUFIFeedbackReactSubscription_liker.graphql");j!==void 0?j:j=b("CometUFIFeedbackReactSubscription_viewer.graphql");var l=k!==void 0?k:k=b("CometUFIFeedbackReactSubscription.graphql");function a(a,b,e){return c("gkx")("1352845")?{dispose:c("emptyFunction")}:d("CometRelay").requestSubscription(a,{subscription:l,updater:function(a,b){var c,d;c=(c=b.feedback_like_subscribe)==null?void 0:(c=c.liker)==null?void 0:c.id;d=(d=b.feedback_like_subscribe)==null?void 0:(d=d.viewer)==null?void 0:(d=d.actor)==null?void 0:d.id;if(c!==d){b=(c=b.feedback_like_subscribe)==null?void 0:(d=c.feedback)==null?void 0:d.id;if(b!==void 0&&b!==null){c=a.get(b);c&&c.setValue(!0,"is_unseen")}}},variables:{input:b,useDefaultActor:e}})}g.subscribe=a}),98); __d("CometUFIHideCommentMutation",["CometRelay","CometUFIHideCommentMutation.graphql","FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFIHideCommentMutation.graphql");function a(a,b){return d("CometRelay").commitMutation(a,{mutation:i,onCompleted:b.onCompleted,onError:b.onError,optimisticUpdater:function(a){a=a.get(b.commentId);if(a==null){c("FBLogger")("ufi2").mustfix("When trying to hide a comment, the comment could not be found.");return}a.setValue(!1,"is_hidden_by_content_owner");a.setValue(!0,"is_hidden_by_viewer");a.setValue("spam","spam_display_mode");var d={feed_location:b.feedLocation},e=a.getLinkedRecords("comment_menu_items",d);e&&(e.some(function(a){return(a==null?void 0:a.getValue("__typename"))==="CommentMenuItemHide"})&&a.setLinkedRecords(e.filter(function(a){return(a==null?void 0:a.getValue("__typename"))!=="CommentMenuItemHide"}),"comment_menu_items",d))},variables:{feedLocation:b.feedLocation,input:{comment_id:b.commentId,feedback_source:b.feedbackSource,hide_location:b.hideLocation,site:"comet"}}})}g.commit=a}),98); __d("CometUFILiveTypingBroadcastMutation",["ChannelClientID","CometRelay","CometUFILiveTypingBroadcastMutation_StartMutation.graphql","CometUFILiveTypingBroadcastMutation_StopMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("CometUFILiveTypingBroadcastMutation_StartMutation.graphql"),k=i!==void 0?i:i=b("CometUFILiveTypingBroadcastMutation_StopMutation.graphql");function a(a,b,c,e){c={input:{feedback_id:c.feedbackID,session_id:d("ChannelClientID").getID()}};var f;e={onCompleted:e,variables:c};a?f=d("CometRelay").commitMutation(b,babelHelpers["extends"]({mutation:j},e)):f=d("CometRelay").commitMutation(b,babelHelpers["extends"]({mutation:k},e));return{dispose:function(){f&&f.dispose(),f=null}}}c=a.bind(null,!0);e=a.bind(null,!1);g.start=c;g.stop=e}),98); __d("destroyOnUnload",["Run"],(function(a,b,c,d,e,f,g){function a(a){return d("Run").onLeave(a)}g["default"]=a}),98); __d("AbstractCommentLiveTypingPublisher",["destroyOnUnload","gkx"],(function(a,b,c,d,e,f){"use strict";var g=10*1e3,h=10*1e3,i=200;a=function(){function a(){var a=this;this.$1=null;this.$2=null;this.$3=-1;b("gkx")("708253")||b("destroyOnUnload")(this.destroy.bind(this));window.addEventListener&&window.addEventListener("unload",function(){a.destroy()})}var c=a.prototype;c.destroy=function(){this.$4(),this.$5(),this.$6()};c.handleStartEvent=function(){this.$7()||this.$8(),this.$9()};c.handleStopEvent=function(){this.$4()};c.publishStartEvent=function(){throw new Error("publishStartEvent should be overridden by subclass")};c.publishStopEvent=function(){throw new Error("publishStopEvent should be overridden by subclass")};c.$7=function(){return!!this.$1};c.$5=function(){this.$2&&(clearTimeout(this.$2),this.$2=null)};c.$6=function(){this.$1&&(clearTimeout(this.$1),this.$1=null)};c.$9=function(){var a=this,b=Date.now(),c=this.$3;b>c+i&&(this.$3=b,this.$5(),this.$2=setTimeout(function(){a.$4()},h))};c.$4=function(){this.$7()&&(this.publishStopEvent(),this.$6()),this.$5()};c.$8=function(){var a=this;this.publishStartEvent();this.$6();this.$1=setTimeout(function(){a.$8()},g)};return a}();f["default"]=a}),66); __d("CometUFILiveTypingBroadcastPublisher",["AbstractCommentLiveTypingPublisher","CometUFILiveTypingBroadcastMutation"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,d){var e;e=a.call(this)||this;e.$CometUFILiveTypingBroadcastPublisher1=b;e.$CometUFILiveTypingBroadcastPublisher2=c;e.$CometUFILiveTypingBroadcastPublisher3=null;e.$CometUFILiveTypingBroadcastPublisher4=null;e.$CometUFILiveTypingBroadcastPublisher5=d;return e}var c=b.prototype;c.destroy=function(){this.$CometUFILiveTypingBroadcastPublisher3&&this.$CometUFILiveTypingBroadcastPublisher3.dispose(),this.$CometUFILiveTypingBroadcastPublisher4&&this.$CometUFILiveTypingBroadcastPublisher4.dispose()};c.handleStartEvent=function(){a.prototype.handleStartEvent.call(this)};c.handleStopEvent=function(){a.prototype.handleStopEvent.call(this)};c.publishStartEvent=function(){var a=this;if(this.$CometUFILiveTypingBroadcastPublisher3)return;this.$CometUFILiveTypingBroadcastPublisher4&&(this.$CometUFILiveTypingBroadcastPublisher4.dispose(),this.$CometUFILiveTypingBroadcastPublisher4=null);var b=function(){a.$CometUFILiveTypingBroadcastPublisher3=null};this.$CometUFILiveTypingBroadcastPublisher3=d("CometUFILiveTypingBroadcastMutation").start(this.$CometUFILiveTypingBroadcastPublisher5,{actorID:this.$CometUFILiveTypingBroadcastPublisher1,feedbackID:this.$CometUFILiveTypingBroadcastPublisher2},b)};c.publishStopEvent=function(){var a=this;if(this.$CometUFILiveTypingBroadcastPublisher4)return;this.$CometUFILiveTypingBroadcastPublisher3&&(this.$CometUFILiveTypingBroadcastPublisher3.dispose(),this.$CometUFILiveTypingBroadcastPublisher3=null);var b=function(){a.$CometUFILiveTypingBroadcastPublisher4=null};this.$CometUFILiveTypingBroadcastPublisher4=d("CometUFILiveTypingBroadcastMutation").stop(this.$CometUFILiveTypingBroadcastPublisher5,{actorID:this.$CometUFILiveTypingBroadcastPublisher1,feedbackID:this.$CometUFILiveTypingBroadcastPublisher2},b)};return b}(c("AbstractCommentLiveTypingPublisher"));g["default"]=a}),98); __d("CometUFIUnhideCommentMutation",["CometRelay","CometUFIUnhideCommentMutation.graphql","FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFIUnhideCommentMutation.graphql");function a(a,b){return d("CometRelay").commitMutation(a,{mutation:i,onCompleted:b.onCompleted,optimisticUpdater:function(a){a=a.get(b.commentId);if(a==null){c("FBLogger")("ufi2").mustfix("When trying to unhide a comment, the comment could not be found.");return}a.setValue(!1,"is_hidden_by_content_owner");a.setValue(!1,"is_hidden_by_viewer");a.setValue("none","spam_display_mode")},variables:{feedLocation:b.feedLocation,input:{comment_id:b.commentId,feedback_source:b.feedbackSource,site:"comet"}}})}g.commit=a}),98); __d("getUpgradedCometUFIEmoticonsComposerHandler",["CometUFIOutlineEmojiNode","EmoticonsList","FBEmojiResource","Outline"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!a.isSimpleText())return;b=b.getSelection();var e=a.getTextContent();b!==null&&b.isCollapsed()&&b.anchor.type==="text"&&b.anchor.key===a.getKey()&&(e=e.slice(0,b.anchor.offset));var f=e.split(d("EmoticonsList").regexp),g=0,h;a=a;for(var i=0;i2||a<0){c("recoverableViolation")("Depth should be 0 to 2.","ufi2");return}switch(a){case 0:return h.LEVEL_0_PAGER_CLICK;case 1:return h.LEVEL_1_PAGER_CLICK;case 2:return h.LEVEL_2_PAGER_CLICK}}function f(a){switch(a){case 1:return h.REACTION_MENU_LIKE;case 2:return h.REACTION_MENU_LOVE;case 3:return h.REACTION_MENU_WOW;case 4:return h.REACTION_MENU_HAHA;case 7:return h.REACTION_MENU_SORRY;case 8:return h.REACTION_MENU_ANGER;case 16:return h.REACTION_MENU_SUPPORT}}g.CometUFIFunnelLoggerEvents=h;g.COMET_UFI_FUNNEL_LOGGER_START_DELAY=b;g.start=j;g.endSuccess=a;g.addPoint=d;g.getPagerEventFromDepth=e;g.getReactionMenuEventFromReaction=f}),98); __d("CometUFIPinCommentMutation",["CometRelay","CometUFIPinCommentMutation.graphql","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometUFIPinCommentMutation.graphql");function j(a,b,c){c=b.get(c);if(c==null)return;b=b.get(a);if(b==null)return;a=c.getOrCreateLinkedRecord("latest_pinned_comment_event","BroadcastPinnedCommentEvent");a.setLinkedRecord(b,"pinned_comment")}function a(a,c){return new(b("Promise"))(function(b,e){d("CometRelay").commitMutation(a,{mutation:i,onCompleted:function(a,c){if(c!=null){e(c);return}b(a)},onError:e,optimisticUpdater:function(a){return j(c.commentID,a,c.feedbackID)},updater:function(a){return j(c.commentID,a,c.feedbackID)},variables:{input:{comment_id:c.commentID,video_id:c.videoID,video_time_offset:0}}})})}g.commit=a}),98); __d("getBodyRendererFromCommentMessage",["JSResource","RelayRuntime","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=c("JSResource")("CometUFICommentBodyTextWithEntities.react").__setRef("getBodyRendererFromCommentMessage"),i=c("JSResource")("CometUFICommentBodyTextWithEntities_textWithEntities$normalization.graphql").__setRef("getBodyRendererFromCommentMessage");function a(a,b){if(a==null)return a;a=j(a,b);return c("RelayRuntime").createPayloadFor3DField("CometUFICommentBody_comment",i,h,babelHelpers["extends"]({__typename:"TextWithEntities"},a))}function j(a,b){var d=a.ranges==null?[]:a.ranges.filter(Boolean);return{aggregated_ranges:[],color_ranges:[],delight_ranges:[],image_ranges:[],inline_style_ranges:[],ranges:d.map(function(a){var d=b[a.entity.id];if(d==null)return null;var e;if(d.__UFI__===!0)e=d.type,d=d.uri;else{throw new(c("recoverableViolation"))("CometUFIComposerEntity expected, got DraftEntityInstance instead.","ufi2");var f;d.getData();e=f.type;uri=d.uri}return e==null?null:{entity:{__isActor:!1,__isEntity:!0,__isNode:!0,__isWebLinkable:!0,__typename:e,id:a.entity.id,mobileUrl:d,profile_url:d,url:d,web_link:null},entity_is_weak_reference:!1,length:a.length,offset:a.offset}}).filter(Boolean),text:a.text}}g["default"]=a}),98); __d("getCometUFICommentRenderableBodyFromCommentMessage",["recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(a==null)return a;var d=a.ranges==null?[]:a.ranges.filter(Boolean);return{__typename:"TextWithEntities",aggregated_ranges:[],color_ranges:[],delight_ranges:[],image_ranges:[],inline_style_ranges:[],ranges:d.map(function(a){var d=b[a.entity.id];if(d){var e,f;if(d.__UFI__===!0)e=d.type,f=d.uri,d=d.isWeak;else{throw new(c("recoverableViolation"))("CometUFIComposerEntity expected, got DraftEntityInstance instead.","ufi2");var g;d.getData();e=g.type;f=d.uri;isWeak=d.isWeak}return{entity:babelHelpers["extends"]({},a.entity,{__typename:e==null?"Actor":e.replace(/([A-Z])/g," $1").replace(/(\s+\w)/g,function(a,b){return b.toUpperCase()}).replace(/^./,function(a){return a.toUpperCase()}),mobileUrl:f,profile_url:f,url:f,web_link:null}),entity_is_weak_reference:!!d,length:a.length,offset:a.offset}}return null}).filter(Boolean),text:a.text,translation_type:"ORIGINAL"}}g["default"]=a}),98); __d("cometUFIOptimisticCommentResponse",["getBodyRendererFromCommentMessage","getCometUFICommentRenderableBodyFromCommentMessage"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.createdTime,d=a.entitiesByID,e=a.id,f=a.optimisticAction,g=a.shouldDisableReactionsOnOptimisticComment,h=a.textWithEntities;a=a.timestampInVideo;return{attached_story:null,attachments:[],author:null,author_badge_renderers:[],author_user_signals_renderer:null,ban_action:null,body:{ranges:[],text:h==null?void 0:h.text},body_renderer:c("getBodyRendererFromCommentMessage")(h,d),can_see_constituent_badge_upsell:null,can_show_multiple_identity_badges:!1,can_viewer_disable_preview:null,can_viewer_see_subsribe_button:null,client_id:null,comment_menu_tooltip:null,comment_parent:null,comment_privacy_value:null,comment_upper_badge_renderer:null,created_time:b,earned_identity_badges_web:[],edit_history:null,elevated_comment_data:null,feedback:{associated_video:null,can_viewer_comment:null,can_viewer_react:g!==!0,comment_composer_placeholder:null,id:null,page_private_reply:null,reactors:null,should_show_top_reactions:null,supported_reactions:[],top_reactions:null,viewer_actor:null,viewer_feedback_reaction_info:null},group_comment_info:null,has_constituent_badge:null,id:e,identity_badges_web:[],if_viewer_can_award:null,if_viewer_can_learn_more_about_pending_comment:null,if_viewer_can_share:null,if_viewer_can_upvote_downvote:null,inline_survey_config:null,is_ama_question:null,is_author_banned_by_content_owner:null,is_author_bot:null,is_author_non_coworker:null,is_author_original_poster:null,is_author_weak_reference:null,is_declined_by_group_admin_assistant:null,is_disabled:!1,is_gaming_video_comment:null,is_hidden_by_content_owner:null,is_live_video_comment:null,is_markdown_enabled:null,is_viewer_comment_poster:null,legacy_fbid:null,legacy_token:null,optimistic_action:f,optimistic_error:null,optimistic_error_code:null,page_admin_actor_info:null,parent_feedback:null,preferred_body:c("getCometUFICommentRenderableBodyFromCommentMessage")(h,d),private_reply_context:null,qa_action_links_comment_renderer:null,question_and_answer_type:null,should_show_comment_menu:!1,spam_display_mode:"none",timestamp_in_video:a,translatability_for_viewer:null,translation_available_for_viewer:null,url:null,work_ama_answer_status:null,work_answered_event_comment_renderer:null,work_knowledge_inline_annotation_comment_badge_renderer:null,written_while_video_was_live:null}}g["default"]=a}),98); __d("upgradedUFI2MentionsComposerPluginCreatorWithTypeaheadViewForOutline",["CometComposerMentionsTypeaheadListItemResolver.react","CometMentionsForOutline.react","CometOutlineEventPriority","CometUFIOutlineGenericEntityNode","react","useCometOutlineHasFocus","useFeedComposerCometMentionsDataSourceResolverConfig"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useEffect;function a(){return function(a){a=a.pluginProps;var b=a.addFocusListener,e=a.editor,f=a.setComposerState,g=a.addKeyBinding,k=c("useCometOutlineHasFocus")(b);a=c("useFeedComposerCometMentionsDataSourceResolverConfig")({enableMentionsSeeMoreDecorator:!1,limit:5,shouldBootstrapOnLayoutEffect:!1});var l=a.bootstrap;b=a.resolver;a=i(function(a){return g(a,d("CometOutlineEventPriority").CometOutlineEventPriority.CRITICAL)},[g]);j(function(){k&&l()},[l,k]);var m=i(function(a){var b=a.id,c=a.text;a=a.type;return d("CometUFIOutlineGenericEntityNode").createCometUFIOutlineGenericEntityNode({id:b,text:c,type:a})},[]),n=i(function(a,b){f(function(c){return babelHelpers["extends"]({},c,{ariaInputs:{"aria-activedescendant":a,"aria-controls":b}})})},[f]);return h.jsx(c("CometMentionsForOutline.react"),{addKeyBinding:a,createMentionNode:m,dataSourceResolver:b,editor:e,hasFocus:k,onAriaChange:n,viewItemStrategyRenderer:c("CometComposerMentionsTypeaheadListItemResolver.react")})}}g["default"]=a}),98); __d("createUpgradedUFI2MentionsComposerPluginForOutline",["upgradedUFI2MentionsComposerPluginCreatorWithTypeaheadViewForOutline"],(function(a,b,c,d,e,f,g){"use strict";a=c("upgradedUFI2MentionsComposerPluginCreatorWithTypeaheadViewForOutline")();g["default"]=a}),98); __d("forEachUFI2DisplayCommentsConnection",["UFI2CommentsConnectionHandler"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){var e=!1;a=d("UFI2CommentsConnectionHandler").unstable_getAllConnectionsWithKey(a,b,"UFI2CommentsProvider_feedback_display_comments");a!=null&&a.length>0&&(a.forEach(c),e=!0);return e}g["default"]=a}),98); __d("displayCommentsConnectionCountUpdater",["FBLogger","forEachUFI2DisplayCommentsConnection"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b=a.feedbackId,d=a.modifier,e=a.store,f=a.topLevelFeedbackId;a=a.totalCommentCountModifier;var g=b;f!=null&&f!==""&&(g=f);var h=d;a!=null&&a!==0&&(h=a);function j(a){c("FBLogger")("ufi2").addMetadata("UFI","FEEDBACK_TARGET_ID",g||"UNKNOWN").addMetadata("UFI","RAW_DATA","comment_feedback_id;"+(b||"UNKNOWN")+", comments_count_modifier;"+h+", conn_count_modifier;"+d).warn(a)}a=e.get(b);if(a==null){j("could not find feedback record");return}c("forEachUFI2DisplayCommentsConnection")(e,a,function(a){var b=Math.max(0,Number(a.getValue("count"))+d);a.setValue(b,"count");a.setValue(b===0,"is_empty")});a=e.get(g);if(a==null){j("could not find top level feedback record");return}e=a.getLinkedRecord("top_level_comments");if(e==null){j("could not find top level comments");return}j=e.getValue("total_count");j=Math.max(0,Number(j)+h);e.setValue(j,"total_count");var k=a.getValue("comment_count_reduced");Number(k).toString()===k&&a.setValue(j.toString(),"comment_count_reduced");e.setValue(j===0,"is_empty");f==null&&i(e,h)}function i(a,b){var c=a.getValue("count");if(c==null)return;c=Math.max(0,Number(c)+b);a.setValue(c,"count");b=a.getValue("display_count");Number(b).toString()===b&&a.setValue(c.toString(),"display_count")}h.decrement=function(a){return h(babelHelpers["extends"]({},a,{modifier:-1}))};h.increment=function(a){return h(babelHelpers["extends"]({},a,{modifier:1}))};a=h;g["default"]=a}),98); __d("nodeIsInConnection",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){a=a.getLinkedRecords("edges");if(a==null){c&&c("Connection contains no edges field.");return!1}var d=!1;b=b.getDataID();if(b==null){c&&c("Search node has no ID.");return!1}for(var e=a,f=Array.isArray(e),g=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(f){if(g>=e.length)break;h=e[g++]}else{g=e.next();if(g.done)break;h=g.value}h=h;var i=h&&h.getLinkedRecord("node");if(i==null){c&&c("Edge at index "+a.indexOf(h)+" has no node.");continue}if(i.getDataID()===b){d=!0;break}}return d}f["default"]=a}),66); __d("AsyncDOM",["CSS","DOM","FBLogger"],(function(a,b,c,d,e,f){a={invoke:function(a,c){for(var d=0;d*/"})}),null); __d("StreamBlockReader",["Promise","regeneratorRuntime"],(function(a,b,c,d,e,f){a=function(){function a(a){var c=this;if(!a.getReader)throw new Error("No getReader method found on given object");this.$3=a.getReader();this.$1="";this.$2=null;this.$4=!1;this.$5="utf-8";this.$6="";this.$9=!1;this.$8=function(){return b("Promise").reject("Sorry, you are somehow using this too early.")};this.$7=new(b("Promise"))(function(a,b){c.$8=a})}var c=a.prototype;c.changeEncoding=function(a){if(this.$2)throw new Error("Decoder already in use, encoding cannot be changed");this.$5=a};c.$10=function(){if(!self.TextDecoder)throw new Error("TextDecoder is not supported here");this.$2||(this.$2=new self.TextDecoder(this.$5));return this.$2};c.$11=function(){if(this.$9)throw new Error("Something else is already reading from this reader");this.$9=!0};c.$12=function(){this.$9=!1};c.isDone=function(){return this.$4};c.$13=function(){var a,c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(!(this.$6!=="")){f.next=4;break}a=this.$6;this.$6="";return f.abrupt("return",a);case 4:if(!this.isDone()){f.next=6;break}throw new Error("You cannot read from a stream that is done");case 6:f.next=8;return b("regeneratorRuntime").awrap(this.$3.read());case 8:c=f.sent;d=c.done;e=c.value;this.$4=d;d&&this.$8();return f.abrupt("return",e?this.$10().decode(e,{stream:!d}):"");case 14:case"end":return f.stop()}},null,this)};c.readNextBlock=function(){var a;return b("regeneratorRuntime").async(function(b){while(1)switch(b.prev=b.next){case 0:this.$11();a=this.$13();this.$12();return b.abrupt("return",a);case 4:case"end":return b.stop()}},null,this)};c.readUntilStringOrEnd=function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(this.readUntilOneOfStringOrEnd_DO_NOT_USE([a]));case 2:return c.abrupt("return",c.sent);case 3:case"end":return c.stop()}},null,this)};c.readUntilStringOrThrow=function(a){var c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(a){f.next=2;break}throw new Error("cannot read empty string");case 2:this.$11(),c="",d=0;case 5:if(this.isDone()){f.next=23;break}f.t0=c;f.next=9;return b("regeneratorRuntime").awrap(this.$13());case 9:c=f.t0+=f.sent;if(!(c.length');return this._iframe=b("DOM").appendContent(document.body,a)[0]};d.send=function(){this._type===j?setTimeout(function(){b("DOM").appendContent(document.body,b("DOM").create("script",{src:this.getRequestURI().toString(),type:"text/javascript"}))}.bind(this),0):(this.getTransportFrame().onload=this._checkForErrors.bind(this),this.getTransportFrame().src=this.getRequestURI().toString()),this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};d.createContinuationForFileForm_DO_NOT_USE=function(){this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};d.handleResponse=function(a){var c=this;this._continuation(function(){c.inform("response",a),c.hasFinished()?setTimeout(c._cleanup.bind(c),0):c._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for next response")})};d.abort=function(){if(this._aborted)return;this._aborted=!0;this._cleanup();l(this.getID());this.inform("abort")};d._checkForErrors=function(){this._hasResponse||this.abort()};d._cleanup=function(){this._iframe&&(b("DOM").remove(this._iframe),this._iframe=null)};c.respond=function(a,b,c){var d=h[a];d&&(d._hasResponse=!0,c||l(a),d._type==k&&(typeof b==="string"?b=JSON.parse(b):b=JSON.parse(JSON.stringify(b))),d.handleResponse(b))};return c}(b("mixin")(b("ArbiterMixin")));a.respond=b("TimeSlice").guard(a.respond,"JSONPTransport.respond",{root:!0});e.exports=a}),null); __d("SessionName",["SessionNameConfig"],(function(a,b,c,d,e,f){e.exports={getName:function(){return b("SessionNameConfig").seed}}}),null); __d("bind",[],(function(a,b,c,d,e,f){function a(a,b){var c=Array.prototype.slice.call(arguments,2);if(typeof b!=="string")return Function.prototype.bind.apply(b,[a].concat(c));function d(){var d=c.concat(Array.prototype.slice.call(arguments));if(a[b])return a[b].apply(a,d)}d.toString=function(){return"bound lazily: "+a[b]};return d}e.exports=a}),null); __d("executeAfter",[],(function(a,b,c,d,e,f){function a(a,b,c){return function(){a.apply(c||this,arguments),b.apply(c||this,arguments)}}e.exports=a}),null); __d("goURI",["URI"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("URI").go}),98); __d("AsyncRequest",["errorCode","fbt","invariant","Arbiter","AsyncDOM","AsyncRequestConfig","AsyncResponse","Bootloader","CSS","DTSG","DTSG_ASYNC","Deferred","Env","ErrorGuard","Event","FBLogger","FetchStreamTransport","HTTPErrors","HasteResponse","JSCC","PHPQuerySerializer","Parent","Promise","ResourceTimingsStore","ResourceTypes","ServerJS","SessionName","TimeSlice","URI","UserAgent_DEPRECATED","ZeroRewrites","bind","clearTimeout","emptyFunction","evalGlobal","executeAfter","fb-error","ge","getAsyncHeaders","getAsyncParams","gkx","goURI","isBulletinDotComURI","isEmpty","isFacebookURI","isInternalFBURI","isMessengerDotComURI","isWorkplaceDotComURI","killswitch","orEmptyArray","performanceAbsoluteNow","promiseDone","replaceTransportMarkers","setTimeout","setTimeoutAcrossTransitions"],(function $module_AsyncRequest(global,require,importDefault,importNamespace,requireLazy,module,exports,errorCode,fbt,invariant){"use strict";var nineteenSecInMs=19e3,INTERNAL_SERVER_ERROR=500,NO_NETWORK_CONNECTION=1006,NETWORK_ERROR=1004,ABORTED_DUE_TO_PAGE_TRANSITION=1010,WARNING_ERROR_CODES=new Set([INTERNAL_SERVER_ERROR,ABORTED_DUE_TO_PAGE_TRANSITION,NETWORK_ERROR,NO_NETWORK_CONNECTION]);function hasUnloaded(){try{return!window.domready}catch(_unused){return!0}}function supportsProgress(transport){return"onprogress"in transport}function supportsUploadProgress(transport){return"upload"in transport&&"onprogress"in transport.upload}function supportsCrossOrigin(transport){return"withCredentials"in transport}function isNetworkError(transport){return transport.status in{0:1,12029:1,12030:1,12031:1,12152:1}}function validateResponseHandler(handler){var valid=!handler||typeof handler==="function";valid||importDefault("FBLogger")("asyncresponse").mustfix("AsyncRequest response handlers must be functions. Pass a function, or use bind() to build one.");return valid}var last_id=2,id_threshold=last_id,ignore_id_update=!1;importDefault("Arbiter").subscribe("page_transition",function(_,message){!ignore_id_update?id_threshold=message.id:ignore_id_update=!1});var JSON_HIJACKING_SHIELD="for (;;);",JSON_HIJACKING_SHIELD_LEN=JSON_HIJACKING_SHIELD.length,AsyncRequest=function(){function AsyncRequest(uri){var _this=this;this._allowIrrelevantRequests=!1;this._delayPreDisplayJS=!1;this._shouldReplaceTransportMarkers=!1;this._dispatchErrorResponse=function(asyncResponse,errorHandler){var error=asyncResponse.getError();_this.clearStatusIndicator();if(!_this._isRelevant()||error===ABORTED_DUE_TO_PAGE_TRANSITION){_this.abort();return}if(_this._isServerDialogErrorCode(error)){var is_confirmation=error==1357008||error==1357007;_this.interceptHandler(asyncResponse);error==1357041?_this._solveQuicksandChallenge(asyncResponse):error==1357007?_this._displayServerDialog(asyncResponse,is_confirmation,!0):_this._displayServerDialog(asyncResponse,is_confirmation)}else if(_this.initialHandler(asyncResponse)!==!1){importDefault("clearTimeout")(_this.timer);try{errorHandler(asyncResponse)}catch(e){_this.finallyHandler(asyncResponse);throw e}_this.finallyHandler(asyncResponse)}};this._onStateChange=function(){var transport=_this.transport;if(!transport)return;try{AsyncRequest._inflightCount--;importNamespace("ResourceTimingsStore").measureResponseReceived(importDefault("ResourceTypes").XHR,_this.resourceTimingStoreUID);try{transport.getResponseHeader("X-FB-Debug")&&(_this._xFbServer=transport.getResponseHeader("X-FB-Debug"),importDefault("fb-error").ErrorXFBDebug.add(_this._xFbServer))}catch(_unused2){}if(transport.status>=200&&transport.status<300)AsyncRequest.lastSuccessTime=Date.now(),_this._handleXHRResponse(transport);else if(importNamespace("UserAgent_DEPRECATED").webkit()&&typeof transport.status==="undefined")_this._invokeErrorHandler(1002);else if(importDefault("AsyncRequestConfig").retryOnNetworkError&&isNetworkError(transport)&&_this.remainingRetries>0&&!_this._requestTimeout){_this.remainingRetries--;delete _this.transport;_this.send(!0);return}else _this._invokeErrorHandler();_this.getOption("asynchronous_DEPRECATED")!==!1&&delete _this.transport}catch(exception){if(hasUnloaded())return;delete _this.transport;_this.remainingRetries>0?(_this.remainingRetries--,_this.send(!0)):(_this.getOption("suppressErrorAlerts")||importDefault("FBLogger")("AsyncRequest").catching(exception).mustfix("AsyncRequest exception when attempting to handle a state change"),_this._invokeErrorHandler(1007))}};this.continuation=importDefault("TimeSlice").getPlaceholderReusableContinuation();this.transport=null;this.method="POST";this.uri="";this.timeout=null;this.timer=null;this.initialHandler=importDefault("emptyFunction");this.handler=null;this.uploadProgressHandler=null;this.errorHandler=importDefault("AsyncResponse").defaultErrorHandler;this.transportErrorHandler=null;this.timeoutHandler=null;this.interceptHandler=importDefault("emptyFunction");this.finallyHandler=importDefault("emptyFunction");this.abortHandler=importDefault("emptyFunction");this.serverDialogCancelHandler=null;this.relativeTo=null;this.statusElement=null;this.statusClass="";this.data={};this.headers={};this.file=null;this.context={};this.readOnly=!1;this.writeRequiredParams=[];this.remainingRetries=0;this.userActionID="-";this.resourceTimingStoreUID=importNamespace("ResourceTimingsStore").getUID(importDefault("ResourceTypes").XHR,uri!=null?uri.toString():"");this.flushedResponseTextParseIndex=0;this.option={asynchronous_DEPRECATED:!0,suppressErrorHandlerWarning:!1,suppressEvaluation:!1,suppressErrorAlerts:!1,retries:0,jsonp:!1,bundle:!1,useIframeTransport:!1,handleErrorAfterUnload:!1,useFetchWithIframeFallback:!1};this.transportErrorHandler=importDefault("bind")(this,"errorHandler");uri!==void 0&&this.setURI(uri);this.setAllowCrossPageTransition(importDefault("AsyncRequestConfig").asyncRequestsSurviveTransitionsDefault||!1)}var _proto=AsyncRequest.prototype;_proto._dispatchResponse=function _dispatchResponse(asyncResponse){this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(ABORTED_DUE_TO_PAGE_TRANSITION);return}if(this.initialHandler(asyncResponse)===!1)return;importDefault("clearTimeout")(this.timer);if(asyncResponse.jscc_map){var jsccMap=importNamespace("JSCC").parse(asyncResponse.jscc_map);importNamespace("JSCC").init(jsccMap)}var suppress_js,handler=this.getHandler();if(handler)try{suppress_js=this._shouldSuppressJS(handler(asyncResponse))}catch(e){asyncResponse.is_last&&this.finallyHandler(asyncResponse);throw e}suppress_js||this._handleJSResponse(asyncResponse);asyncResponse.is_last&&this.finallyHandler(asyncResponse)};_proto._shouldSuppressJS=function _shouldSuppressJS(handler_return_value){return handler_return_value===AsyncRequest.suppressOnloadToken};_proto._handlePreDisplayServerJS=function _handlePreDisplayServerJS(serverJS,preDisplayJSMods){var _displayStarted=!1,preDisplayPromises=[],registerToBlockDisplayUntilDone_DONOTUSE=function registerToBlockDisplayUntilDone_DONOTUSE(){if(_displayStarted){importDefault("FBLogger")("AsyncResponse").warn("registerToBlockDisplayUntilDone_DONOTUSE called after AsyncResponse display started. This is a no-op.");return function(){}}var timeoutId,deferrable=new(importDefault("Deferred"))();preDisplayPromises.push(deferrable.getPromise());return importDefault("TimeSlice").guard(function(){timeoutId&&importDefault("clearTimeout")(timeoutId),deferrable.resolve()},"AsyncRequestDisplayBlockingEvent",{propagationType:importDefault("TimeSlice").PropagationType.EXECUTION})};serverJS.handle(preDisplayJSMods,{bigPipeContext:{registerToBlockDisplayUntilDone_DONOTUSE:registerToBlockDisplayUntilDone_DONOTUSE}});_displayStarted=!0;return preDisplayPromises};_proto._hasEvalDomOp=function _hasEvalDomOp(domOps){return domOps&&domOps.length?domOps.some(function(op){return op[0]==="eval"}):!1};_proto._handleJSResponse=function _handleJSResponse(asyncResponse){var relativeTo=this.getRelativeTo(),domOps=asyncResponse.domops,dtsgToken=asyncResponse.dtsgToken,dtsgAsyncGetToken=asyncResponse.dtsgAsyncGetToken,jsMods=asyncResponse.jsmods,serverJS,savedServerJSInstance=asyncResponse.savedServerJSInstance;savedServerJSInstance&&savedServerJSInstance instanceof importDefault("ServerJS")?serverJS=savedServerJSInstance:serverJS=new(importDefault("ServerJS"))();serverJS.setRelativeTo(relativeTo);if(jsMods){var preDisplayJSMods={define:jsMods.define,instances:jsMods.instances,markup:jsMods.markup};delete jsMods.define;delete jsMods.instances;delete jsMods.markup;this._hasEvalDomOp(domOps)&&(preDisplayJSMods.elements=jsMods.elements,delete jsMods.elements);serverJS.handle(preDisplayJSMods)}var parsedUri=new(importDefault("URI"))(this.uri);(!parsedUri.getDomain()&&!parsedUri.getProtocol()||document.location.origin===parsedUri.getOrigin())&&(dtsgToken&&importNamespace("DTSG").setToken(dtsgToken),dtsgAsyncGetToken&&importNamespace("DTSG_ASYNC").setToken(dtsgAsyncGetToken));domOps&&importDefault("ErrorGuard").applyWithGuard(function(){return importNamespace("AsyncDOM").invoke(domOps,relativeTo)},null,[],{errorType:"warn"});jsMods&&serverJS.handle(jsMods);this._handleJSRegisters(asyncResponse,"onload");this._handleJSRegisters(asyncResponse,"onafterload")};_proto._handleJSRegisters=function _handleJSRegisters(asyncResponse,phase){var registers=asyncResponse[phase];if(registers)for(var ii=0;ii=_iterator.length)return"break";_ref=_iterator[_i++]}else{_i=_iterator.next();if(_i.done)return"break";_ref=_i.value}var rsrcs=_ref;importDefault("TimeSlice").guard(function(){importDefault("Bootloader").loadPredictedResourceMap(rsrcs)},"Bootloader.loadPredictedResourceMap",{root:!0})()};for(var _iterator=toBootload,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var _ref,_ret=_loop();if(_ret==="break")break}return}if(!this.handler&&!this.errorHandler&&!this.transportErrorHandler&&!this.preBootloadHandler&&this.initialHandler===importDefault("emptyFunction")&&this.finallyHandler===importDefault("emptyFunction"))return;var response=interpreted.asyncResponse;if(typeof response!=="undefined"){var _response$hsrp;if(!this._isRelevant()){this._invokeErrorHandler(ABORTED_DUE_TO_PAGE_TRANSITION);return}response.inlinejs&&importDefault("evalGlobal")(response.inlinejs);response.lid&&(this._responseTime=Date.now(),global.CavalryLogger&&(this.cavalry=global.CavalryLogger.getInstance(response.lid)),this.lid=response.lid);importNamespace("HasteResponse").handleSRPayload((_response$hsrp=response.hsrp)!=null?_response$hsrp:{});var dispatch,arbiter_event;if(response.getError()&&!response.getErrorIsWarning()){var handler=this.getErrorHandler().bind(this);dispatch=importDefault("ErrorGuard").guard(this._dispatchErrorResponse,{name:"AsyncRequest#_dispatchErrorResponse for "+this.getURI()});dispatch=dispatch.bind(this,response,handler);arbiter_event="error"}else{dispatch=importDefault("ErrorGuard").guard(this._dispatchResponse.bind(this),{name:"AsyncRequest#_dispatchResponse for "+this.getURI()});dispatch=dispatch.bind(this,response);arbiter_event="response";var domOps=response.domops;if(!this._delayPreDisplayJS&&response.jsmods&&response.jsmods.pre_display_requires&&!this._hasEvalDomOp(domOps)&&!importDefault("killswitch")("ASYNC_REQUEST_EARLY_RENDERING_OF_PREDISPLAY_PRIORITY_JS")){var jsMods=response.jsmods,preDisplayJSMods={define:jsMods.define,instances:jsMods.instances,markup:jsMods.markup};delete jsMods.define;delete jsMods.instances;delete jsMods.markup;preDisplayJSMods.pre_display_requires=jsMods.pre_display_requires;delete jsMods.pre_display_requires;var serverJS=new(importDefault("ServerJS"))();serverJS.setRelativeTo(this.getRelativeTo());response.savedServerJSInstance=serverJS;var preDisplayPromises=this._handlePreDisplayServerJS(serverJS,preDisplayJSMods);if(preDisplayPromises&&preDisplayPromises.length){var realDispatch=dispatch;dispatch=function dispatch(){importDefault("promiseDone")(require("Promise").all(preDisplayPromises).then(realDispatch))}}}}var ts=importDefault("performanceAbsoluteNow")();dispatch=importDefault("executeAfter")(dispatch,function(){importDefault("Arbiter").inform("AsyncRequest/"+arbiter_event,{request:this,response:response,ts:ts})}.bind(this));this.preBootloadHandler&&this.preBootloadHandler(response);importDefault("Bootloader").loadResources(importDefault("orEmptyArray")(response.allResources),{onAll:importDefault("AsyncRequestConfig").immediateDispatch?dispatch:function(){importDefault("setTimeout")(dispatch,0)}},this.getURI())}else typeof interpreted.transportError!=="undefined"?this._xFbServer?this._invokeErrorHandler(1008):this._invokeErrorHandler(1012):this._invokeErrorHandler(1007)};_proto._invokeErrorHandler=function _invokeErrorHandler(explicitError){var transport=this.transport;if(!transport)return;var error;if(this.responseText==="")error=1002;else if(this._requestAborted)error=1011;else{try{error=explicitError||transport.status||NETWORK_ERROR}catch(_unused3){error=1005}!1===navigator.onLine&&(error=NO_NETWORK_CONNECTION)}var desc,summary,silent=!0;if(error===NO_NETWORK_CONNECTION)summary=fbt._(/*FBT_CALL*/"Sem conex\u00e3o de rede"/*FBT_CALL*/),desc=fbt._(/*FBT_CALL*/"Seu navegador parece estar offline. Verifique sua conex\u00e3o com a internet e tente novamente."/*FBT_CALL*/);else if(error>=300&&error<=399){summary=fbt._(/*FBT_CALL*/"Redirecionamento"/*FBT_CALL*/);desc=fbt._(/*FBT_CALL*/"Seu acesso ao Facebook foi redirecionado ou bloqueado por terceiros no momento, entre em contato com seu provedor de servi\u00e7os ou recarregue."/*FBT_CALL*/);var location=transport.getResponseHeader("Location");location&&importDefault("goURI")(location,!0);silent=!0}else summary=fbt._(/*FBT_CALL*/"Opa!"/*FBT_CALL*/),desc=fbt._(/*FBT_CALL*/"Ocorreu um erro. Estamos trabalhando para corrigi-lo o mais r\u00e1pido poss\u00edvel. Voc\u00ea pode tentar novamente."/*FBT_CALL*/);var async_response=new(importDefault("AsyncResponse"))(this,transport);Object.assign(async_response,{error:error,errorSummary:summary,errorDescription:desc,silentError:silent});importDefault("setTimeout")(function(){importDefault("Arbiter").inform("AsyncRequest/error",{request:this,response:async_response})}.bind(this),0);if(hasUnloaded()&&!this.getOption("handleErrorAfterUnload"))return;if(!this.transportErrorHandler){importDefault("FBLogger")("asyncresponse").mustfix("Async request to %s failed with a %d error, but there was no error handler available to deal with it.",this.getURI(),error);return}var error_handler=this.getTransportErrorHandler().bind(this);!(this.getOption("suppressErrorAlerts")||WARNING_ERROR_CODES.has(error))?importDefault("FBLogger")("asyncresponse").addToCategoryKey(String(error)).mustfix("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI()):WARNING_ERROR_CODES.has(error)&&importDefault("FBLogger")("asyncresponse").addToCategoryKey(String(error)).warn("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI());importDefault("ErrorGuard").applyWithGuard(this._dispatchErrorResponse,this,[async_response,error_handler])};_proto._isServerDialogErrorCode=function _isServerDialogErrorCode(error){return error==1357008||error==1357007||error==1357041||error==1442002||error==1357001};_proto._solveQuicksandChallenge=function _solveQuicksandChallenge(async_response){var payload=async_response.getPayload();importDefault("Bootloader").loadModules(["QuickSandSolver"],function(QuickSandSolver){QuickSandSolver.solveAndSendRequestBack(this,payload)}.bind(this),"AsyncRequest")};_proto._displayServerDialog=function _displayServerDialog(async_response,is_confirmation,allow_get){allow_get===void 0&&(allow_get=!1);var payload=async_response.getPayload();if(payload.__dialog!==void 0){this._displayServerLegacyDialog(async_response,is_confirmation);return}var json=payload.__dialogx;new(importDefault("ServerJS"))().handle(json);importDefault("Bootloader").loadModules(["ConfirmationDialog"],function(ConfirmationDialog){ConfirmationDialog.setupConfirmation(async_response,this,allow_get)}.bind(this),"AsyncRequest")};_proto._displayServerLegacyDialog=function _displayServerLegacyDialog(async_response,is_confirmation){var model=async_response.getPayload().__dialog;if(importDefault("gkx")("708253")){var _ref2,_async_response$reque;importDefault("FBLogger")("comet_infra").addMetadata("COMET_INFRA","ERROR_CODE",async_response.getError().toString()).addMetadata("COMET_INFRA","ERROR_URL",(_ref2=(_async_response$reque=async_response.request)==null?void 0:_async_response$reque.getURI())!=null?_ref2:"unknown").mustfix("AsyncRequest._displayServerLegacyDialog called in Comet")}importDefault("Bootloader").loadModules(["Dialog"],function(Dialog){var dialog=new Dialog(model);is_confirmation&&dialog.setHandler(this._displayConfirmationHandler.bind(this,dialog));dialog.setCancelHandler(function(){var handler=this.getServerDialogCancelHandler();try{handler&&handler(async_response)}catch(e){throw e}finally{this.finallyHandler(async_response)}}.bind(this)).setCausalElement(this.relativeTo).show()}.bind(this),"AsyncRequest")};_proto._displayConfirmationHandler=function _displayConfirmationHandler(dialog){this.data.confirmed=1,Object.assign(this.data,dialog.getFormData()),this.send()};_proto.setJSONPTransport=function setJSONPTransport(transport){transport.subscribe("response",this._handleJSONPResponse.bind(this)),transport.subscribe("abort",this._handleJSONPAbort.bind(this)),this.transport=transport};_proto._handleJSONPResponse=function _handleJSONPResponse(_,data){var transport=this.transport;if(!transport)return;data.bootloadOnly||(this.is_first=this.is_first===void 0);var interpreted=this._interpretResponse(data);interpreted.asyncResponse&&(interpreted.asyncResponse.is_first=this.is_first,interpreted.asyncResponse.is_last=transport.hasFinished());this.invokeResponseHandler(interpreted);transport.hasFinished()&&delete this.transport};_proto._handleJSONPAbort=function _handleJSONPAbort(){this._invokeErrorHandler(),delete this.transport};_proto._handleXHRResponse=function _handleXHRResponse(transport){var interpreted;if(this.getOption("suppressEvaluation"))interpreted={asyncResponse:new(importDefault("AsyncResponse"))(this,transport)};else try{this._handleFlushedResponse();var text=transport.responseText;text=this._filterOutFlushedText(text);var safe_text=this._unshieldResponseText(text),_response;try{_response=JSON.parse(safe_text)}catch(error){_response=eval("("+safe_text+")"),importDefault("FBLogger")("async_request").catching(error).warn("JSON.parse encountered an exception, fallback to eval. Endpoint: "+new(importDefault("URI"))(this.uri).getPath())}interpreted=this._interpretResponse(_response)}catch(error){interpreted=error.message,importDefault("FBLogger")("async_request").catching(error).warn("Failed to handle response")}this.invokeResponseHandler(interpreted)};_proto._handleFlushedResponse=function _handleFlushedResponse(){var flushedResponseHandler=this.flushedResponseHandler,transport=this.transport;if(flushedResponseHandler&&transport){var jsonShieldIndex=transport.responseText.indexOf(JSON_HIJACKING_SHIELD),flushedTextEndIndex=jsonShieldIndex===-1?transport.responseText.length:jsonShieldIndex;flushedResponseHandler(transport.responseText.substring(this.flushedResponseTextParseIndex,flushedTextEndIndex));this.flushedResponseTextParseIndex=flushedTextEndIndex}};_proto._unshieldResponseText=function _unshieldResponseText(text){if(text.length<=JSON_HIJACKING_SHIELD_LEN)throw new Error("Response too short on async");var offset=0;while(text.charAt(offset)==" "||text.charAt(offset)=="\n")offset++;offset&&text.substring(offset,offset+JSON_HIJACKING_SHIELD_LEN)==JSON_HIJACKING_SHIELD;return text.substring(offset+JSON_HIJACKING_SHIELD_LEN)};_proto._filterOutFlushedText=function _filterOutFlushedText(text){if(!this.flushedResponseHandler)return text;var index=text.indexOf(JSON_HIJACKING_SHIELD);return index<0?text:text.substr(index)};_proto._interpretResponse=function _interpretResponse(response){if(response.redirect)return{redirect:response.redirect};if(response.bootloadOnly)return{bootloadOnly:response.bootloadOnly};var isServerDialog=response.error&&this._isServerDialogErrorCode(response.error);this._shouldReplaceTransportMarkers&&response.payload&&!isServerDialog&&importDefault("replaceTransportMarkers")({relativeTo:this.getRelativeTo(),bigPipeContext:null},response.payload);var r=new(importDefault("AsyncResponse"))(this);if(response.__ar!=1)importDefault("FBLogger")("AsyncRequest").warn("AsyncRequest to endpoint %s returned a JSON response, but it is not properly formatted. The endpoint needs to provide a response using the AsyncResponse class in PHP.",this.getURI()),r.payload=response;else{Object.assign(r,response);var transport=this.transport;transport&&transport.getAllResponseHeaders!==void 0&&(r.responseHeaders=transport.getAllResponseHeaders())}return{asyncResponse:r}};_proto._isMultiplexable=function _isMultiplexable(){if(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback")){importDefault("FBLogger")("AsyncRequest").mustfix("You cannot bundle AsyncRequest that uses jsonp or iframe transport.");return!1}if(!importDefault("isFacebookURI")(new(importDefault("URI"))(this.uri))){importDefault("FBLogger")("AsyncRequest").mustfix("You can not bundle AsyncRequest sent to non-facebook URIs. Uri: %s",this.getURI());return!1}if(!this.getOption("asynchronous_DEPRECATED")){importDefault("FBLogger")("AsyncRequest").mustfix("We cannot bundle synchronous AsyncRequests");return!1}return!0};_proto.handleResponse=function handleResponse(response){var interpreted=this._interpretResponse(response);this.invokeResponseHandler(interpreted)};_proto.setMethod=function setMethod(m){this.method=m.toString().toUpperCase();return this};_proto.getMethod=function getMethod(){return this.method};_proto.setData=function setData(obj){this.data=obj;return this};_proto.setRequestHeader=function setRequestHeader(name,value){this.headers[name]=value;return this};_proto.setRawData=function setRawData(raw_data){this.rawData=raw_data;return this};_proto.getData=function getData(){return this.data};_proto.setContextData=function setContextData(key,value,enabled){enabled=enabled===void 0?!0:enabled;enabled&&(this.context["_log_"+key]=value);return this};_proto._setUserActionID=function _setUserActionID(){this.userActionID=(importNamespace("SessionName").getName()||"-")+"/-"};_proto.setURI=function setURI(uri,throwOnInvalid){throwOnInvalid===void 0&&(throwOnInvalid=!1);typeof uri==="string"&&uri.match(/^\/?u_\d+_\d+/)&&importDefault("FBLogger")("asyncrequest").warn("Invalid URI %s",uri);var uri_obj=new(importDefault("URI"))(uri);if((this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&!importDefault("isFacebookURI")(uri_obj)){throwOnInvalid&&invariant(0,45284);return this}if(!this._allowCrossOrigin&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")&&!uri_obj.isSameOrigin()){throwOnInvalid&&invariant(0,45285);return this}this._setUserActionID();if(!uri||uri_obj.isEmpty()){importDefault("FBLogger")("async_request").mustfix("URI cannot be empty");return this}this.uri=importNamespace("ZeroRewrites").rewriteURI(uri_obj);return this};_proto.getURI=function getURI(){return this.uri.toString()};_proto.delayPreDisplayJS=function delayPreDisplayJS(shouldDelayJS){shouldDelayJS===void 0&&(shouldDelayJS=!0);this._delayPreDisplayJS=shouldDelayJS;return this};_proto.setInitialHandler=function setInitialHandler(fn){this.initialHandler=fn;return this};_proto.setPayloadHandler=function setPayloadHandler(fn){this.setHandler(function(response){fn(response.payload)});return this};_proto.setHandler=function setHandler(fn){validateResponseHandler(fn)&&(this.handler=fn);return this};_proto.setFlushedResponseHandler=function setFlushedResponseHandler(fn){validateResponseHandler(fn)&&(this.flushedResponseHandler=fn);return this};_proto.getHandler=function getHandler(){return this.handler||importDefault("emptyFunction")};_proto.setProgressHandler=function setProgressHandler(fn){validateResponseHandler(fn)&&(this.progressHandler=fn);return this};_proto.setUploadProgressHandler=function setUploadProgressHandler(fn){validateResponseHandler(fn)&&(this.uploadProgressHandler=fn);return this};_proto.setErrorHandler=function setErrorHandler(fn){validateResponseHandler(fn)&&(this.errorHandler=fn);return this};_proto.setTransportErrorHandler=function setTransportErrorHandler(fn){this.transportErrorHandler=fn;return this};_proto.getErrorHandler=function getErrorHandler(){return this.errorHandler||importDefault("emptyFunction")};_proto.getTransportErrorHandler=function getTransportErrorHandler(){return this.transportErrorHandler||importDefault("emptyFunction")};_proto.setTimeoutHandler=function setTimeoutHandler(timeout,fn){validateResponseHandler(fn)&&(this.timeout=timeout,this.timeoutHandler=fn);return this};_proto.resetTimeout=function resetTimeout(timeout){if(!(this.timeoutHandler===null))if(timeout===null)this.timeout=null,importDefault("clearTimeout")(this.timer),this.timer=null;else{var clear_on_quickling_event=!this._allowCrossPageTransition;this.timeout=timeout;importDefault("clearTimeout")(this.timer);clear_on_quickling_event?this.timer=importDefault("setTimeout")(this._handleTimeout.bind(this),this.timeout):this.timer=importDefault("setTimeoutAcrossTransitions")(this._handleTimeout.bind(this),this.timeout)}return this};_proto._handleTimeout=function _handleTimeout(){var _this2=this;this.continuation.last(function(){_this2._requestTimeout=!0;var func=_this2.timeoutHandler;_this2.abandon();func&&func(_this2);importDefault("setTimeout")(function(){importDefault("Arbiter").inform("AsyncRequest/timeout",{request:this})}.bind(_this2),0)})};_proto.setNewSerial=function setNewSerial(){this.id=++last_id;return this};_proto.setInterceptHandler=function setInterceptHandler(fn){this.interceptHandler=fn;return this};_proto.setFinallyHandler=function setFinallyHandler(fn){this.finallyHandler=fn;return this};_proto.setAbortHandler=function setAbortHandler(fn){this.abortHandler=fn;return this};_proto.getServerDialogCancelHandler=function getServerDialogCancelHandler(){return this.serverDialogCancelHandler};_proto.setServerDialogCancelHandler=function setServerDialogCancelHandler(fn){this.serverDialogCancelHandler=fn;return this};_proto.setPreBootloadHandler=function setPreBootloadHandler(fn){this.preBootloadHandler=fn;return this};_proto.setReadOnly=function setReadOnly(readOnly){typeof readOnly!=="boolean"||(this.readOnly=readOnly);return this};_proto.getReadOnly=function getReadOnly(){return this.readOnly};_proto.setRelativeTo=function setRelativeTo(element){this.relativeTo=element;return this};_proto.getRelativeTo=function getRelativeTo(){return this.relativeTo};_proto.setStatusClass=function setStatusClass(c){this.statusClass=c;return this};_proto.setStatusElement=function setStatusElement(element){this.statusElement=element;return this};_proto.getStatusElement=function getStatusElement(){return importDefault("ge")(this.statusElement)};_proto._isRelevant=function _isRelevant(){if(this._allowCrossPageTransition)return!0;return!this.id?!0:this.id>id_threshold};_proto.clearStatusIndicator=function clearStatusIndicator(){var statusElem=this.getStatusElement();statusElem&&(importNamespace("CSS").removeClass(statusElem,"async_saving"),importNamespace("CSS").removeClass(statusElem,this.statusClass))};_proto.addStatusIndicator=function addStatusIndicator(){var statusElem=this.getStatusElement();statusElem&&(importNamespace("CSS").addClass(statusElem,"async_saving"),importNamespace("CSS").addClass(statusElem,this.statusClass))};_proto.specifiesWriteRequiredParams=function specifiesWriteRequiredParams(){return this.writeRequiredParams.every(function(param){this.data[param]=this.data[param]||importDefault("Env")[param]||(importDefault("ge")(param)||{}).value;return this.data[param]!==void 0?!0:!1},this)};_proto.setOption=function setOption(opt,v){typeof this.option[opt]!=="undefined"&&(this.option[opt]=v);return this};_proto.getOption=function getOption(opt){typeof this.option[opt]==="undefined";return this.option[opt]};_proto.abort=function abort(){var _this3=this;this.continuation.last(function(){var transport=_this3.transport;if(transport){var old_handler=_this3.getTransportErrorHandler();_this3.setOption("suppressErrorAlerts",!0);_this3.setTransportErrorHandler(importDefault("emptyFunction"));_this3._requestAborted=!0;transport.abort();_this3.setTransportErrorHandler(old_handler)}_this3.abortHandler();AsyncMultiplex.unschedule(_this3)})};_proto.abandon=function abandon(){var _this4=this;this.continuation.last(function(){importDefault("clearTimeout")(_this4.timer);_this4.setOption("suppressErrorAlerts",!0).setHandler(importDefault("emptyFunction")).setErrorHandler(importDefault("emptyFunction")).setTransportErrorHandler(importDefault("emptyFunction")).setProgressHandler(importDefault("emptyFunction")).setUploadProgressHandler(importDefault("emptyFunction"));var transport=_this4.transport;transport&&(_this4._requestAborted=!0,supportsProgress(transport)&&delete transport.onprogress,supportsUploadProgress(transport)&&delete transport.upload.onprogress,transport.abort());_this4.abortHandler();AsyncMultiplex.unschedule(_this4)})};_proto.setNectarModuleDataSafe=function setNectarModuleDataSafe(elem){var setNectarModuleData=this.setNectarModuleData;setNectarModuleData&&setNectarModuleData.call(this,elem);return this};_proto.setAllowCrossPageTransition=function setAllowCrossPageTransition(allow){this._allowCrossPageTransition=!!allow;this.timer&&this.resetTimeout(this.timeout);return this};_proto.getAllowIrrelevantRequests=function getAllowIrrelevantRequests(){return this._allowIrrelevantRequests};_proto.setAllowIrrelevantRequests=function setAllowIrrelevantRequests(allowIrrelevantRequests){this._allowIrrelevantRequests=allowIrrelevantRequests;return this};_proto.setAllowCrossOrigin=function setAllowCrossOrigin(allow){this._allowCrossOrigin=allow;return this};_proto.setAllowCredentials=function setAllowCredentials(allow){this._allowCredentials=allow;return this};_proto.setIsBackgroundRequest=function setIsBackgroundRequest(isBackgroundRequest){this._isBackgroundRequest=isBackgroundRequest;return this};_proto.setReplaceTransportMarkers=function setReplaceTransportMarkers(value){value===void 0&&(value=!0);this._shouldReplaceTransportMarkers=value;return this};_proto.sendAndReturnAbortHandler=function sendAndReturnAbortHandler(){var _this5=this;this.send();return function(){return _this5.abort()}};_proto.send=function send(isRetry){var _this6=this;isRetry=isRetry||!1;if(!this.uri)return!1;this.errorHandler||!this.getOption("suppressErrorHandlerWarning");this.getOption("jsonp")&&this.method!="GET"&&this.setMethod("GET");(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&this.method!="GET"&&this.setMethod("GET");this.timeoutHandler!==null&&(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"));if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!="POST")return!1}if(document.location.search.toString().includes(this.uri.toString()))return!1;if(this.uri.toString().includes("/../")||this.uri.toString().includes("\\../")||this.uri.toString().includes("/..\\")||this.uri.toString().includes("\\..\\"))return!1;Object.assign(this.data,importDefault("getAsyncParams")(this.method));importDefault("isEmpty")(this.context)||(Object.assign(this.data,this.context),this.data.ajax_log=1);importDefault("Env").force_param&&Object.assign(this.data,importDefault("Env").force_param);this._setUserActionID();if(this.getOption("bundle")&&this._isMultiplexable()){AsyncMultiplex.schedule(this);return!0}this.setNewSerial();this.getOption("asynchronous_DEPRECATED")||this.uri.addQueryData({__sjax:1});importDefault("Arbiter").inform("AsyncRequest/send",{request:this,ts:importDefault("performanceAbsoluteNow")()});var uri_str,query;this.method=="GET"&&this.uri.addQueryData({fb_dtsg_ag:importNamespace("DTSG_ASYNC").getToken()});this.method=="GET"||this.rawData?(uri_str=this.uri.addQueryData(this.data).toString(),query=this.rawData||""):(this._allowCrossOrigin&&this.uri.addQueryData({__a:1}),uri_str=this.uri.toString(),query=importNamespace("PHPQuerySerializer").serialize(this.data));if(this.transport)return!1;if(this.getOption("useFetchWithIframeFallback"))try{var _transport=new(importDefault("FetchStreamTransport"))(this.uri);this.setJSONPTransport(_transport);this._markRequestSent();_transport.send();this.setOption("useIframeTransport",!1);return!0}catch(_unused4){this.setOption("useFetchWithIframeFallback",!1),this.setOption("useIframeTransport",!0)}if(this.getOption("jsonp")||this.getOption("useIframeTransport")){requireLazy(["JSONPTransport"],function(JSONPTransport){var transport=new JSONPTransport(this.getOption("jsonp")?"jsonp":"iframe",this.uri);this.setJSONPTransport(transport);this._markRequestSent();transport.send()}.bind(this));return!0}this.flushedResponseHandler&&(this.flushedResponseTextParseIndex=0);var transport=importNamespace("ZeroRewrites").getTransportBuilderForURI(this.uri)();if(!transport)return!1;this.schedule("AsyncRequest.send");transport.onreadystatechange=function(){var _transport=_this6.transport;_transport&&_transport.readyState>=2&&_transport.readyState<=3&&_this6._handleFlushedResponse();transport.readyState===4&&_this6.continuation.last(_this6._onStateChange)};this.progressHandler&&supportsProgress(transport)&&(transport.onprogress=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this6.continuation(function(){_this6.progressHandler&&_this6.progressHandler.apply(_this6,args)})});this.uploadProgressHandler&&supportsUploadProgress(transport)&&(transport.upload.onprogress=function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];_this6.continuation(function(){_this6.uploadProgressHandler&&_this6.uploadProgressHandler.apply(_this6,args)})});isRetry||(this.remainingRetries=this.getOption("retries"));this.transport=transport;try{transport.open(this.method,uri_str,importDefault("gkx")("1857581")?!0:this.getOption("asynchronous_DEPRECATED"))}catch(exception){return!1}if(!this.uri.isSameOrigin()&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")){if(!supportsCrossOrigin(transport))return!1;this._canSendCredentials()&&(transport.withCredentials=!0)}this.method=="POST"&&!this.rawData&&transport.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this._isBackgroundRequest&&transport.setRequestHeader("X_FB_BACKGROUND_STATE","1");var asyncHeaders=importDefault("getAsyncHeaders")(this.uri);Object.keys(asyncHeaders).forEach(function(name){transport&&transport.setRequestHeader(name,asyncHeaders[name])});importDefault("Arbiter").inform("AsyncRequest/will_send",{request:this});if(transport)for(var headerName in this.headers)Object.prototype.hasOwnProperty.call(this.headers,headerName)&&transport.setRequestHeader(headerName,this.headers[headerName]);this.addStatusIndicator();this._markRequestSent();transport.send(query);this.timeout!==null&&this.resetTimeout(this.timeout);AsyncRequest._inflightCount++;return!0};_proto.schedule=function schedule(name){this.continuation=importDefault("TimeSlice").getReusableContinuation(name)};_proto._canSendCredentials=function _canSendCredentials(){if(this._allowCredentials===!1)return!1;var uri=new(importDefault("URI"))(this.uri);return importDefault("isBulletinDotComURI")(uri)||importDefault("isFacebookURI")(uri)||importDefault("isInternalFBURI")(uri)||importDefault("isMessengerDotComURI")(uri)||importDefault("isWorkplaceDotComURI")(uri)};_proto._markRequestSent=function _markRequestSent(){var fullURI=new(importDefault("URI"))(this.getURI()).getQualifiedURI().toString();importNamespace("ResourceTimingsStore").updateURI(importDefault("ResourceTypes").XHR,this.resourceTimingStoreUID,fullURI);importNamespace("ResourceTimingsStore").annotate(importDefault("ResourceTypes").XHR,this.resourceTimingStoreUID).addStringAnnotation("uri",fullURI);importNamespace("ResourceTimingsStore").measureRequestSent(importDefault("ResourceTypes").XHR,this.resourceTimingStoreUID)};_proto.promisePayload=function promisePayload(isRetry){return this.exec().then(function(response){return response.payload},function(response){throw response.toError()})};_proto.exec=function exec(isRetry){var _this7=this;if(this.getHandler()!==importDefault("emptyFunction")||this.getErrorHandler()!==importDefault("AsyncResponse").defaultErrorHandler)throw new Error("exec is an async function and does not allow previously set handlers");return new(require("Promise"))(function(resolve,reject){_this7.setHandler(resolve).setErrorHandler(reject).send(isRetry)})};AsyncRequest.bootstrap=function bootstrap(href,elem,is_post){var method="GET",readonly=!0,data={};(is_post||elem&&elem.rel=="async-post")&&(method="POST",readonly=!1,href&&(href=new(importDefault("URI"))(href),data=href.getQueryData(),href.setQueryData({})));var status_elem=importNamespace("Parent").byClass(elem,"stat_elem")||elem;if(status_elem&&importNamespace("CSS").hasClass(status_elem,"async_saving"))return!1;var async=new AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).setNectarModuleDataSafe(elem).setRelativeTo(elem);elem&&(async.setHandler(function(response){importDefault("Event").fire(elem,"success",{response:response})}),async.setErrorHandler(function(response){importDefault("Event").fire(elem,"error",{response:response})!==!1&&importDefault("AsyncResponse").defaultErrorHandler(response)}));if(status_elem instanceof HTMLElement){async.setStatusElement(status_elem);var status_class=status_elem.getAttribute("data-status-class");status_class&&async.setStatusClass(status_class)}async.send();return!1};AsyncRequest.post=function post(href,data){new AsyncRequest(href).setReadOnly(!1).setMethod("POST").setData(data).send();return!1};AsyncRequest.postStatic=function postStatic(href,data){AsyncRequest.post(href,data)};AsyncRequest.getLastID=function getLastID(){return last_id};AsyncRequest.ignoreUpdate=function ignoreUpdate(){ignore_id_update=!0};AsyncRequest.getInflightCount=function getInflightCount(){return this._inflightCount};return AsyncRequest}();AsyncRequest._inflightCount=0;var _asyncMultiplex,_pendingAsyncMultiplexes=[],AsyncMultiplex=function(){function AsyncMultiplex(){this._requests=[]}var _proto2=AsyncMultiplex.prototype;_proto2.add=function add(request){this._requests.push(request)};_proto2.remove=function remove(request){var requests=this._requests,requestsSent=this._requestsSent;for(var ii=0,jj=requests.length;ii=e.length)break;i=e[g++]}else{g=e.next();if(g.done)break;i=g.value}i=i;if(i.severity==="CRITICAL"){i=c("RelayGraphQLRequestUtils").createErrorFromPayload(i);d("ODS").bumpEntityKey(97,"comet_notifications.new_notification","lq.receive_critical_error");return a.error(i)}}a.closed||(d("ODS").bumpEntityKey(97,"comet_notifications.new_notification","lq.receive_notification"),a.next(b))}).onRetryUpdateRequestBody(function(){return JSON.stringify({variables:j})}).send();return function(){c("promiseDone")(g,function(a){a.cancel()})}});a.executeWithSource({operation:e,source:b}).subscribe({});var k=!1,l;return{dispose:function(){!k&&g!=null&&(c("promiseDone")(g,function(a){a.cancel()}),k=!0)},updateVariables:function(a){if(!k&&g!=null){l=a;c("promiseDone")(g,function(a){l!=null&&!k&&(a.amendExperimental({new_variables:l}),j=l,l=null)});return!0}return!1}}}g["default"]=a}),98); __d("CometNotificationsReceiveLiveQuery",["CometNotificationsReceiveLiveQuery.graphql","CometNotificationsReceiveLiveQuery_notificationsListViewer.graphql","requestLiveQueryExperimental"],(function(a,b,c,d,e,f,g){"use strict";var h,i;h!==void 0?h:h=b("CometNotificationsReceiveLiveQuery_notificationsListViewer.graphql");var j=i!==void 0?i:i=b("CometNotificationsReceiveLiveQuery.graphql");function a(a,b){return c("requestLiveQueryExperimental")(a,{query:j,variables:b})}g.subscribeToNotificationUpdates=a}),98); __d("ZenonLoggingEventTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["Send","Receive"]);f.ZenonUpdateIceInfoDirection=a}),66); __d("ZenonJoiningContext",[],(function(a,b,c,d,e,f){"use strict";b="joining_context";function a(a){var b=a.groupThreadID,c=a.peerID;a=a.serverInfoData;return{group_thread_id:b,peer_id:c,server_info_data:a}}f.JOINING_CONTEXT_TOPIC=b;f.convertCollisionToJoiningContext=a}),66); __d("ZenonMWMessageLogger",["ZenonLoggingEventTypes","ZenonMWMessageTypes"],(function(a,b,c,d,e,f,g){"use strict";var h=new Set(),i=new Set();function a(a,b){a=a.jsonPayload;var c=a.body;a=a.header;if(h.has(a.transactionId))return;switch(a.type){case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN:c.joinRequest&&j(c.joinRequest,b);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE:c.iceCandidateRequest&&l(c.iceCandidateRequest,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Send);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE:c.clientMediaUpdateRequest&&m(c.clientMediaUpdateRequest,b);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE:c.serverMediaUpdateResponse&&p(c.serverMediaUpdateResponse,b);break}h.add(a.transactionId)}function b(a,b){a=a.jsonPayload;var c=a.body;a=a.header;if(i.has(a.transactionId))return;switch(a.type){case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN:c.joinResponse&&k(c.joinResponse,b);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE:c.iceCandidateRequest&&l(c.iceCandidateRequest,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Receive);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE:c.clientMediaUpdateResponse&&n(c.clientMediaUpdateResponse,b);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE:c.serverMediaUpdateRequest&&o(c.serverMediaUpdateRequest,b);break}i.add(a.transactionId)}function j(a,b){var c=a.answer;a=a.offer;b({name:"inviteSent"});q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Send);c&&q(c,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Send)}function k(a,b){a=a.answer;a&&q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Receive)}function l(a,b,c){a=a.iceCandidateSdps;a.forEach(function(a){a.candidateSdpString!=null&&b({direction:c,name:"updateIceInfo",sdpString:a.candidateSdpString})})}function m(a,b){a=a.offer;a&&q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Send)}function n(a,b){a=a.answer;a&&q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Receive)}function o(a,b){var c=a.answer;a=a.offer;a&&q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Receive);c&&q(c,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Receive)}function p(a,b){a=a.answer;a&&q(a,b,d("ZenonLoggingEventTypes").ZenonUpdateIceInfoDirection.Send)}function q(a,b,c){a.sdpString!=null&&b({direction:c,name:"updateIceInfo",sdpString:a.sdpString})}g.logSentMessage=a;g.logReceivedMessage=b}),98); __d("ZenonMWMessageReliabilityLogger",["$InternalEnum","ChannelClientID","ODS","QuickPerformanceLogger","RtcInfraReliabilityFalcoEvent","ZenonActorHooks","ZenonMWMessageMap","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h=new Map(),i=b("$InternalEnum").Mirrored(["RECEIVED_REQUEST","RECEIVED_RESPONSE","PROCESSING_REQUEST","START_PROCESSING_RESPONSE","PROCESSING_RESPONSE","PROCESSED_REQUEST","PROCESSED_RESPONSE","SENDING_REQUEST","SENDING_RESPONSE","SENT_REQUEST","SENT_REQUEST_FROM_HANDLER","SENT_RESPONSE","SEND_REQUEST_FAILED","SEND_REQUEST_FAILED_FROM_HANDLER","SEND_RESPONSE_FAILED"]);function a(a){p(a)?u(a,i.RECEIVED_RESPONSE):u(a,i.RECEIVED_REQUEST)}function e(a){u(a,i.START_PROCESSING_RESPONSE)}function f(a){p(a)?u(a,i.PROCESSING_RESPONSE):u(a,i.PROCESSING_REQUEST)}function j(a){p(a)?u(a,i.PROCESSED_RESPONSE):u(a,i.PROCESSED_REQUEST)}function k(a){p(a)?u(a,i.SENDING_RESPONSE):u(a,i.SENDING_REQUEST)}function l(a){p(a)?u(a,i.SENT_RESPONSE):u(a,i.SENT_REQUEST)}function m(a){u(a,i.SENT_REQUEST_FROM_HANDLER)}function n(a){p(a)?u(a,i.SEND_RESPONSE_FAILED):u(a,i.SEND_REQUEST_FAILED)}function o(a){u(a,i.SEND_REQUEST_FAILED_FROM_HANDLER)}function p(a){a=a.jsonPayload.header;return a.responseStatusCode!=null}function q(a){return isNaN(+a)?0:+a}function r(a,b){var e=a.jsonPayload.header;e=c("ZenonMWMessageMap")[e.type].toLowerCase();a=p(a)?"response":"request";switch(b){case i.RECEIVED_REQUEST:case i.RECEIVED_RESPONSE:d("ODS").bumpEntityKey(4083,"zenon_multiway","receive_"+a+"_"+e);d("ODS").flush();return;case i.PROCESSED_REQUEST:d("ODS").bumpEntityKey(4083,"zenon_multiway","processed_"+a+"_"+e);d("ODS").flush();return;case i.SENT_RESPONSE:case i.SENT_REQUEST:d("ODS").bumpEntityKey(4083,"zenon_multiway","sent_"+a+"_"+e);d("ODS").flush();return;default:return}}var s=["server_media_update"];function t(a,b){a=a.jsonPayload.header;var d=c("ZenonMWMessageMap")[a.type].toLowerCase();if(!s.includes(d))return;var e=q(a.transactionId);switch(b){case i.RECEIVED_REQUEST:c("QuickPerformanceLogger").markerStart(c("qpl")._(398983169,"10731"),e);c("QuickPerformanceLogger").markerAnnotate(c("qpl")._(398983169,"10731"),{string:{messageTags:JSON.stringify(a.messageTags),messageType:d}},{instanceKey:e});return;case i.PROCESSED_REQUEST:c("QuickPerformanceLogger").markerPoint(c("qpl")._(398983169,"10731"),"processed_request",{instanceKey:e});return;case i.SENT_RESPONSE:c("QuickPerformanceLogger").markerEnd(c("qpl")._(398983169,"10731"),2,e);return;case i.SEND_RESPONSE_FAILED:c("QuickPerformanceLogger").markerEnd(c("qpl")._(398983169,"10731"),3,e);return;default:return}}function u(a,b){var e=a.endpoint,f=e.appId!==""?String(e.appId):d("ZenonActorHooks").ZenonActor.getAppID(),g=a.jsonPayload.header,i=String(Date.now());c("RtcInfraReliabilityFalcoEvent").log(function(){return{client_session_id:g.clientSessionId,conference_name:g.conferenceName,data:{extra_data:JSON.stringify({messageTags:g.messageTags}),response_status_code:String(g.responseStatusCode)},event_name:b,message_type:c("ZenonMWMessageMap")[g.type],retry_count:String(g.retryCount),server_info_data:g.serverInfoData,tc:i,transaction_id:g.transactionId,version:"1",web_app_id:f,web_device_id:c("ChannelClientID").getID()}});e=(e=h.get(g.transactionId))!=null?e:new Set();h.set(g.transactionId,e);if(e.has(b))return;e.add(b);r(a,b);t(a,b)}g.logReceivedMessage=a;g.logStartProcessingResponse=e;g.logProcessingMessage=f;g.logProcessedMessage=j;g.logSendingMessage=k;g.logSentMessage=l;g.logSentRequestFromHandler=m;g.logSendMessageFailed=n;g.logSendRequestFailedFromHandler=o}),98); __d("ZenonSignalingMessage",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,b){this.$1=a,this.$2=b}var b=a.prototype;b.getHeader=function(){return this.$1};b.getEvents=function(){return this.$2};b.setSignalingID=function(a){this.$1.signalingID=a};b.setRetryCount=function(a){this.$1.retryCount=a};return a}();f["default"]=a}),66); __d("ZenonMWAddRemoveParticipantsTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b={usersToInvite:b.participants};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ADD_PARTICIPANTS);return c("ZenonMWTranslatorUtils").createMWMessage(a,{addParticipantsRequest:b})}function b(a,b){b={usersToRemove:b.participants};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.REMOVE_PARTICIPANTS);return c("ZenonMWTranslatorUtils").createMWMessage(a,{removeParticipantsRequest:b})}g.toAddParticipantsRequest=a;g.toRemoveParticipantsRequest=b}),98); __d("ZenonMWApprovalTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=b.approvalStatus;b=b.targetUsers;e={approvalStatus:e,targetUsers:b};b=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.APPROVAL);return c("ZenonMWTranslatorUtils").createMWMessage(b,{approvalRequest:e})}g.toApprovalRequest=a}),98); __d("ZenonMWClientEventTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b={clientEvents:[{type:b.clientEventType}]};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_EVENT);return c("ZenonMWTranslatorUtils").createMWMessage(a,{clientEventRequest:b})}g.toClientEventRequest=a}),98); __d("ZenonMWClientMediaUpdateTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload;var d=a.body;a=a.header;d=d.clientMediaUpdateResponse;var e=a.responseStatusCode,f=a.responseSubCode,g=a.retryAfterMsec;if(d){var h=d.answer,i=d.mediaStatus;if(h!=null&&i!=null){h=(h=h.sdpString)!=null?h:"";i=c("ZenonMWTranslatorUtils").toZenonMediaStates(i);var j={ackMessageId:a.transactionId,eventName:"localSdpResponse",hasAnswerInJoinResponse:!1,source:"clientMediaUpdate"},k=d.renegotiationOffer,l=null;k!=null&&k.sdpString!=null&&(l={sdp:k.sdpString,type:"offer",version:c("ZenonMWTranslatorUtils").getSdpVersion(k.sdpString)});k={eventName:"remoteSdpRequest",mediaPath:d.mediaPath,mediaStates:i,negotiateType:!1,renegotiationOffer:l,sdp:{sdp:h,type:"answer",version:c("ZenonMWTranslatorUtils").getSdpVersion(h)},source:"clientMediaUpdateResponse"};b.push(j);b.push(k)}c("ZenonMWTranslatorUtils").addStateStoreSignalingEvents(d.stateStore,b);i={ackMessageId:a.transactionId,acknowledgedVersion:d.currentVersion,eventName:"mediaUpdateResponse",responseStatusCode:e,responseSubCode:f,retryAfter:g};b.push(i)}return b}function b(a,b,e){b={fromVersion:b.version,mediaUpdates:[{mediaStatus:c("ZenonMWTranslatorUtils").toMWMediaStatus(b),mediaStatusEx:c("ZenonMWTranslatorUtils").toMWMediaStatusEx(b)}],toVersion:b.version};e!==void 0&&(b.offer={sdpString:e.sdp});e=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE);return c("ZenonMWTranslatorUtils").createMWMessage(e,{clientMediaUpdateRequest:b})}g.fromClientMediaUpdateResponse=a;g.toClientMediaUpdateRequest=b}),98); __d("ZenonMWConferenceStateTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.body.conferenceStateRequest;if(a){var d=a.appMessages,e=a.participantStates,f={eventName:"participantUpdateRequest",participantStates:new Map(),versionId:a.version},g={eventName:"clientInfoRequest",userCapabilities:new Map()};Object.keys(e).forEach(function(a){var b=e[a],d=b.state;b=b.userCapabilities;f.participantStates.set(a,c("ZenonMWTranslatorUtils").fromMWParticipantState(d));g.userCapabilities.set(a,(d=b)!=null?d:"")});b.push(f);b.push(g);a=c("ZenonMWTranslatorUtils").getCollisionContextFromAppMessages(d);if(a){d={context:a,eventName:"roomContextUpdateRequest"};b.push(d)}}return b}function b(a,b){b={currentVersion:b.requestVersionId};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CONFERENCE_STATE);return c("ZenonMWTranslatorUtils").createMWMessage(a,{conferenceStateResponse:b})}g.fromConferenceStateRequest=a;g.toConferenceStateResponse=b}),98); __d("ZenonMWDataMessageTranslator",["ZenonActorHooks","ZenonMWMessageTypes","ZenonMWTranslatorUtils","orEmptyArray"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.body.dataMessageRequest;if(a){var d=a.message.header,e=c("ZenonMWTranslatorUtils").getGenericDataMessageData(a);a=c("ZenonMWTranslatorUtils").getGenericDataMessageTopic(a);if(e!=null&&a!=null){e={data:e,eventName:"genericDataMessageRequest",recipientIDs:c("orEmptyArray")(d.recipients),serviceRecipients:c("orEmptyArray")(d.serviceRecipients),topic:a};b.push(e)}}return b}function b(a,b){var e={data:b.data,topic:b.topic};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DATA_MESSAGE);return c("ZenonMWTranslatorUtils").createMWMessage(a,{dataMessageRequest:{message:{body:{genericMessage:e},header:{recipients:b.recipientIDs,sender:d("ZenonActorHooks").ZenonActor.getID(),serviceRecipients:b.serviceRecipients,topic_DEPRECATED:""}}}})}function e(a){a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DATA_MESSAGE);return c("ZenonMWTranslatorUtils").createMWMessage(a,{dataMessageResponse:{deliveryResult:{}}})}g.fromDataMessageRequest=a;g.toDataMessageRequest=b;g.toDataMessageResponse=e}),98); __d("ZenonMWDismissTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.body.dismissRequest;if(a){var d=a.detailedReasonString;a=a.reason;a={eventName:"terminateRequest",fromJoinResponse:!1,reason:c("ZenonMWTranslatorUtils").fromMWDismissReason(a),shouldInformPeer:!0,subreason:d};b.push(a)}return b}function b(a){a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DISMISS);return c("ZenonMWTranslatorUtils").createMWMessage(a,{})}g.fromDismissRequest=a;g.toDismissResponse=b}),98); __d("ZenonMWHangupTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.header;a={ackMessageId:a.transactionId,eventName:"hangupResponse"};b.push(a);return b}function b(a,b){b=b.reason;b={detailedReasonString:"",reason:c("ZenonMWTranslatorUtils").toMWHangupReason(b)};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.HANGUP);return c("ZenonMWTranslatorUtils").createMWMessage(a,{hangupRequest:b})}g.fromHangupResponse=a;g.toHangupRequest=b}),98); __d("ZenonMWIceCandidateTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.body.iceCandidateRequest;if(a){a={eventName:"iceCandidateRequest",iceCandidates:a.iceCandidateSdps.map(function(a){var b;return{candidateSdpString:(b=a.candidateSdpString)!=null?b:"",sdpMLineIndex:a.sdpMLineIndex,sdpMid:a.sdpMid}})};b.push(a)}return b}function b(a){var b=[];a=a.jsonPayload.header;a={ackMessageId:a.transactionId,eventName:"iceCandidateResponse"};b.push(a);return b}function e(a){a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE);return c("ZenonMWTranslatorUtils").createMWMessage(a,{})}function f(a,b){b=b.iceCandidates;b=b.map(function(a){return{candidateSdpString:a.candidateSdpString,sdpMLineIndex:a.sdpMLineIndex,sdpMid:a.sdpMid}});b={iceCandidateSdps:b};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE);return c("ZenonMWTranslatorUtils").createMWMessage(a,{iceCandidateRequest:b})}g.fromIceCandidateRequest=a;g.fromIceCandidateResponse=b;g.toIceCandidateResponse=e;g.toIceCandidateRequest=f}),98); __d("ZenonMWJoinTranslator",["ZenonInfraActionsLogger","ZenonJoiningContext","ZenonMWMessageTypes","ZenonMWTranslatorUtils","ZenonScreenShare","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[],e=a.jsonPayload.header,f=e.responseStatusCode,g=e.responseSubCode;if(f&&f!==d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.OK){g="JOIN response status code: "+f+" subcode "+((g=g)!=null?g:"[undefined]");c("ZenonInfraActionsLogger").logError({callType:"mw",checkpoint:"[ZP] Got non-OK "+g,errorDomain:"ZenonMWMessageTranslator.fromJoinResponse"});f={eventName:"terminateRequest",fromJoinResponse:!0,reason:c("ZenonMWTranslatorUtils").fromMWJoinResponseStatusToDismissReason(f,e.responseSubCode),shouldInformPeer:!1,subreason:g};b.push(f);return b}g=a.jsonPayload.body.joinResponse;if(!g)return b;c("ZenonMWTranslatorUtils").maybeAddOverlayConfigServerUpdateRequest(b,e);f=(a=(f=g.answer)==null?void 0:f.sdpString)!=null?a:"";a=f!=="";e={ackMessageId:e.transactionId,eventName:"localSdpResponse",hasAnswerInJoinResponse:a,source:"joinResponse"};b.push(e);if(a){e={sdp:f,type:"answer",version:c("ZenonMWTranslatorUtils").getSdpVersion(f)};a=c("ZenonMWTranslatorUtils").toZenonMediaStates(g.mediaStatusEx);f=g.renegotiationOffer;var i=null;f!=null&&f.sdpString!=null&&(i={sdp:f.sdpString,type:"offer",version:c("ZenonMWTranslatorUtils").getSdpVersion(f.sdpString)});f={eventName:"remoteSdpRequest",mediaPath:g.mediaPath,mediaStates:a,negotiateType:!1,renegotiationOffer:i,sdp:e,source:"joinResponse"};b.push(f)}a={capabilities:{addParticipantEnabled:!0,cowatchEnabled:!0,cowatchGroupEnabled:!0,multipleVideoStreamsAllowed:g.multipleVideoStreamsAllowed},eventName:"capabilitiesRequest"};b.push(a);c("ZenonMWTranslatorUtils").addStateStoreSignalingEvents(g.stateStore,b);if(h()&&g.isPendingApproval){i={eventName:"pendingApprovalRequest"};b.push(i)}return b}function b(a,b,e,f){var g=b.initialSyncStates;g={deviceCapabilities:[d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_NEW_PARTICIPANT_STATES,d("ZenonMWMessageTypes").ZenonMWCapability.REQUIRE_FULL_SDP_IN_SMU,d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_SDP_RENEGOTIATION].concat(c("qex")._("167")?[d("ZenonMWMessageTypes").ZenonMWCapability.REQUIRE_FULL_SDP_IN_SMU_OPTIMIZED]:[],c("qex")._("359")?[d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_PRECONNECT]:[]),mediaStatus:c("ZenonMWTranslatorUtils").toMWMediaStatus(e.mediaStates),mediaStatusEx:c("ZenonMWTranslatorUtils").toMWMediaStatusEx(e.mediaStates),offer:{},syncPayload:g?{stateStore:c("ZenonMWTranslatorUtils").toMWSyncStateStore(g)}:void 0,userCapabilities:b.userCapabilities.get(a.userInfo.userID)};e.sdp.type==="offer"&&(g.offer={sdpString:e.sdp.sdp});j(e.sdp.sdp)&&(g.deviceCapabilities.push(d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_MWPP),e.sdp.type==="answer"&&(g.answer={sdpString:e.sdp.sdp}),k()&&g.deviceCapabilities.push(d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_MWPP_DEESCALATION));d("ZenonScreenShare").screenShareWithReplaceTrack()||g.deviceCapabilities.push(d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_MULTIPLE_VIDEO_STREAMS);b=f==null?void 0:f.otherParticipants;b&&(g.usersToCall=b);b=(e=f==null?void 0:f.roomInfo.context)!=null?e:a.roomInfo.context;if(b){f=d("ZenonJoiningContext").convertCollisionToJoiningContext(b);g.appMessages=[{body:{genericMessage:{data:JSON.stringify(f),topic:d("ZenonJoiningContext").JOINING_CONTEXT_TOPIC}},header:{topic_DEPRECATED:d("ZenonJoiningContext").JOINING_CONTEXT_TOPIC}}]}e=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN);b&&b.serverInfoData!=null&&(e.serverInfoData=b.serverInfoData);i(b,e)&&(e.conferenceType=d("ZenonMWMessageTypes").ZenonMWConferenceType.ROOM);return c("ZenonMWTranslatorUtils").createMWMessage(e,{joinRequest:g})}function h(){var a=c("gkx")("1450329");a&&c("ZenonInfraActionsLogger").logCheckpointOnceForDomain({checkpoint:"gk: rtc_www_lobby_mode"});return a}function i(a,b){return(a==null?void 0:a.peerID)!==null&&b.conferenceName===null}function j(a){a=c("ZenonMWTranslatorUtils").isUnifiedPlan(a);return a&&(c("gkx")("3976")||c("gkx")("967"))||!a}function k(){var a;return(a=c("qex")._("795"))!=null?a:!1}g.fromJoinResponse=a;g.toJoinRequest=b}),98); __d("ZenonMWPingTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload.header;a={ackMessageId:a.transactionId,eventName:"pingResponse"};b.push(a);return b}function b(a){var b=Object.freeze({});a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.PING);return c("ZenonMWTranslatorUtils").createMWMessage(a,{pingRequest:b})}g.fromPingResponse=a;g.toPingRequest=b}),98); __d("ZenonMWRingTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=[];a=a.jsonPayload;var e=a.body;a=a.header;e=e.ringRequest;if(e){var f=e.appMessages,g=e.caller,h=e.otherParticipants,i=e.ringType;g=g;i=i===d("ZenonMWMessageTypes").ZenonMWRingType.PEER_VIDEO_CALL||i===d("ZenonMWMessageTypes").ZenonMWRingType.GROUP_VIDEO_CALL||i===d("ZenonMWMessageTypes").ZenonMWRingType.LIVE_STREAM||i===d("ZenonMWMessageTypes").ZenonMWRingType.PEER_ESCALATED_AUDIO_CALL;var j=a.conferenceName;a=a.serverInfoData;var k=c("ZenonMWTranslatorUtils").getCollisionContextFromAppMessages(f);k&&(k==null?void 0:k.serverInfoData)==null&&(k.serverInfoData=a);f=c("ZenonMWTranslatorUtils").getRoomMetadataFromAppMessages(f);h={eventName:"inviteRequest",inviterID:g,isRemoteOfferer:!1,otherParticipants:h,requestingVideo:i,roomInfo:{context:(g=k)!=null?g:{groupThreadID:null,peerID:null,serverInfoData:a},name:j,room:f,sender:f.sender}};b.push(h);g=(k=(i=e.offer)==null?void 0:i.sdpString)!=null?k:"";j=(a=e.mediaStatusEx)!=null?a:null;if(g!==""&&j!=null){f={sdp:g,type:"offer",version:c("ZenonMWTranslatorUtils").getSdpVersion(g)};h=c("ZenonMWTranslatorUtils").toZenonMediaStates(j);i={eventName:"remoteSdpRequest",mediaPath:e.mediaPath,mediaStates:h,negotiateType:!1,sdp:f,source:"ringRequest"};b.push(i)}}return b}function b(a,b){b=b.status;b==="IN_ANOTHER_CALL"&&(a.signalingID=null);b=c("ZenonMWTranslatorUtils").toMWDeviceStatus(b);b={deviceCapabilities:[d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_AUDIO_DEPRECATED,d("ZenonMWMessageTypes").ZenonMWCapability.SUPPORT_VIDEO_DEPRECATED],deviceStatus:b};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.RING);return c("ZenonMWTranslatorUtils").createMWMessage(a,{ringResponse:b})}g.fromRingRequest=a;g.toRingResponse=b}),98); __d("ZenonMWServerMediaUpdateTranslator",["FBLogger","ZenonInfraActionsLogger","ZenonMWMessageReliabilityLogger","ZenonMWMessageTypes","ZenonMWTranslatorUtils","qex","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b,e,f,g=[],i=a.jsonPayload,j=i.body;i=i.header;j=j.serverMediaUpdateRequest;var k=i.transactionId;if(!j)return g;b=(b=(b=j.offer)==null?void 0:b.sdpString)!=null?b:"";e=(e=(e=j.answer)==null?void 0:e.sdpString)!=null?e:"";f=(f=(f=j.prAnswer)==null?void 0:f.sdpString)!=null?f:"";var l=function(){d("ZenonMWMessageReliabilityLogger").logProcessedMessage(a)};if(j.renegotiationRequested){var m;m={eventName:"initiateRenegotiationRequest",fromVersion:j.fromVersion,hasRemoteOffer:b!=="",mediaPath:j.mediaPath,messageTags:(m=i.messageTags)!=null?m:[],onProcessed:l,version:j.toVersion};g.push(m);if(b!==""){m=h(j,"offer",b,l,i.messageTags);g.push(m)}}else if(e!==""){m=h(j,"answer",e,l,i.messageTags);if(c("ZenonMWTranslatorUtils").isUnifiedPlan(m.sdp.sdp)){e={sdp:e,type:"offer",version:c("ZenonMWTranslatorUtils").getSdpVersion(e)};m.renegotiationOffer=e}g.push(m)}else if(b!==""){e=h(j,"offer",b,l,i.messageTags);g.push(e)}else if(c("qex")._("359")&&f!==""){m=h(j,"pranswer",f,l,i.messageTags);g.push(m)}else if(c("qex")._("167")&&j.mediaStatus){e={eventName:"mediaUpdateRequest",mediaStates:c("ZenonMWTranslatorUtils").toZenonMediaStates(j.mediaStatus,j.fromVersion,j.toVersion),messageTags:(b=i.messageTags)!=null?b:[],onProcessed:function(){d("ZenonMWMessageReliabilityLogger").logProcessedMessage(a)}};g.push(e)}else{f="Warning: unsupported SMU type. TXID: "+k;c("FBLogger")("rpweb").warn(f);c("ZenonInfraActionsLogger").logError({error:f,errorDomain:"ZenonMWServerMediaUpdateTranslator"})}c("ZenonMWTranslatorUtils").maybeAddOverlayConfigServerUpdateRequest(g,i);c("ZenonMWTranslatorUtils").addStateStoreSignalingEvents(j.stateStore,g);m={capabilities:{multipleVideoStreamsAllowed:j.multipleVideoStreamsAllowed},eventName:"capabilitiesRequest",messageTags:(l=i.messageTags)!=null?l:[]};g.push(m);return g}function h(a,b,d,e,f){return{eventName:"remoteSdpRequest",fromVersion:a.fromVersion,mediaPath:a.mediaPath,mediaStates:c("ZenonMWTranslatorUtils").toZenonMediaStates(a.mediaStatus),messageTags:(a=f)!=null?a:[],negotiateType:!1,onProcessed:e,sdp:{sdp:d,type:b,version:c("ZenonMWTranslatorUtils").getSdpVersion(d)},source:"serverMediaUpdateRequest"}}function b(a,b,d){return i(a,(a=b.acknowledgedVersion)!=null?a:null,c("ZenonMWTranslatorUtils").toMWResponseStatusCode(b.status),d)}function e(a,b){return i(a,b.acknowledgedVersion,c("ZenonMWTranslatorUtils").toMWResponseStatusCode(b.status))}function f(a,b){return i(a,b.acknowledgedVersion,(a=b.responseStatusCode)!=null?a:d("ZenonMWMessageTypes").ZenonMWResponseStatusCode.CONDITIONAL_REQUEST_FAILED)}function i(a,b,e,f){if(b==null)throw c("unrecoverableViolation")("Error creating ServerMediaUpdateResponse: acknowledgedVersion is null","messenger_web_product");b={currentVersion:b};f&&(b.answer={sdpString:f.sdp.sdp},b.mediaStatus=c("ZenonMWTranslatorUtils").toMWClientMediaStatus(f.mediaStates));f=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE,e);return c("ZenonMWTranslatorUtils").createMWMessage(f,{serverMediaUpdateResponse:b})}g.fromServerMediaUpdateRequest=a;g.toServerMediaUpdateResponse=b;g.toServerMediaUpdateRenegotiationResponse=e;g.toServerMediaUpdateNoSdpResponse=f}),98); __d("ZenonMWStateSyncTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.jsonPayload;var b=a.body.updateResponse;a=a.header.transactionId;if(!b)return[];var c=b.topic;b=b.version;a={ackMessageId:a,eventName:"stateSyncUpdateResponse",topic:c,version:b};return[a]}function b(a){a=a.jsonPayload.body.notifyRequest;if(!a)return[];var b=a.data,c=a.topic;a=a.version;b={data:b,eventName:"stateSyncNotifyRequest",responseRequired:!0,topic:c,version:a};return[b]}function e(a){a=a.jsonPayload;var b=a.body.unsubscribeResponse;a=a.header.transactionId;if(!b)return[];var c=b.topic;b=b.version;a={ackMessageId:a,eventName:"stateSyncUnsubscribeResponse",topic:c,version:b};return[a]}function f(a,b){var e=b.data,f=b.topic;b=b.version;e={data:e,topic:f,version:b};f=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UPDATE);return c("ZenonMWTranslatorUtils").createMWMessage(f,{updateRequest:e})}function h(a,b){var e=b.topic;b=b.version;e={topic:e,version:b};b=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWResponseHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.NOTIFY);return c("ZenonMWTranslatorUtils").createMWMessage(b,{notifyResponse:e})}function i(a,b){var e=b.topic;b=b.version;e={topic:e,version:b};b=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UNSUBSCRIBE);return c("ZenonMWTranslatorUtils").createMWMessage(b,{unsubscribeRequest:e})}g.fromUpdateResponse=a;g.fromNotifyRequest=b;g.fromUnsubscribeResponse=e;g.toUpdateRequest=f;g.toNotifyResponse=h;g.toUnsubscribeRequest=i}),98); __d("ZenonMWSubscriptionTranslator",["ZenonMWMessageTypes","ZenonMWTranslatorUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b=b.subscriptions;b={subscriptions:b};a=c("ZenonMWTranslatorUtils").signalingMessageHeaderToMWHeader(a,d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SUBSCRIPTION);return c("ZenonMWTranslatorUtils").createMWMessage(a,{subscriptionRequest:b})}g.toSubscriptionRequest=a}),98); __d("ZenonMWMessageTranslator",["ZenonActorHooks","ZenonMWAddRemoveParticipantsTranslator","ZenonMWApprovalTranslator","ZenonMWClientEventTranslator","ZenonMWClientMediaUpdateTranslator","ZenonMWConferenceStateTranslator","ZenonMWDataMessageTranslator","ZenonMWDismissTranslator","ZenonMWHangupTranslator","ZenonMWIceCandidateTranslator","ZenonMWJoinTranslator","ZenonMWMessageTypes","ZenonMWPingTranslator","ZenonMWRingTranslator","ZenonMWServerMediaUpdateTranslator","ZenonMWStateSyncTranslator","ZenonMWSubscriptionTranslator","ZenonMWTranslatorUtils","ZenonSignalingMessage","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.getHeader();a=a.getEvents();if(a.length===0)throw c("unrecoverableViolation")("Unexpected Translation: called toMWMessage with empty signaling events","messenger_web_product");else{var e=a[0];switch(e.eventName){case"addParticipantsRequest":return d("ZenonMWAddRemoveParticipantsTranslator").toAddParticipantsRequest(b,e);case"clientEventRequest":return d("ZenonMWClientEventTranslator").toClientEventRequest(b,e);case"clientInfoRequest":if(a.length>=2&&a[1].eventName==="localSdpRequest"&&(a[1].sdp.type==="offer"||a[1].sdp.type==="answer"))return d("ZenonMWJoinTranslator").toJoinRequest(b,e,a[1]);break;case"genericDataMessageRequest":return d("ZenonMWDataMessageTranslator").toDataMessageRequest(b,e);case"inviteRequest":if(a.length>=3&&a[1].eventName==="clientInfoRequest"&&a[2].eventName==="localSdpRequest"&&a[2].sdp.type==="offer")return d("ZenonMWJoinTranslator").toJoinRequest(b,a[1],a[2],e);break;case"genericDataMessageResponse":return d("ZenonMWDataMessageTranslator").toDataMessageResponse(b);case"inviteResponse":return d("ZenonMWRingTranslator").toRingResponse(b,e);case"dismissResponse":return d("ZenonMWDismissTranslator").toDismissResponse(b);case"initiateRenegotiationResponse":if(a.length>=3&&a[1].eventName==="remoteSdpResponse"&&a[2].eventName==="localSdpRequest"&&a[2].sdp.type==="answer")return d("ZenonMWServerMediaUpdateTranslator").toServerMediaUpdateResponse(b,a[1],a[2]);else return d("ZenonMWServerMediaUpdateTranslator").toServerMediaUpdateRenegotiationResponse(b,e);case"iceCandidateRequest":return d("ZenonMWIceCandidateTranslator").toIceCandidateRequest(b,e);case"iceCandidateResponse":return d("ZenonMWIceCandidateTranslator").toIceCandidateResponse(b);case"localSdpRequest":return d("ZenonMWClientMediaUpdateTranslator").toClientMediaUpdateRequest(b,e.mediaStates,e.sdp);case"mediaUpdateRequest":return d("ZenonMWClientMediaUpdateTranslator").toClientMediaUpdateRequest(b,e.mediaStates);case"mediaUpdateResponse":return d("ZenonMWServerMediaUpdateTranslator").toServerMediaUpdateNoSdpResponse(b,e);case"participantUpdateResponse":return d("ZenonMWConferenceStateTranslator").toConferenceStateResponse(b,e);case"pingRequest":return d("ZenonMWPingTranslator").toPingRequest(b);case"remoteSdpResponse":return e.type==="offer"&&(a.length>=2&&a[1].eventName==="localSdpRequest"&&a[1].sdp.type==="answer")?d("ZenonMWServerMediaUpdateTranslator").toServerMediaUpdateResponse(b,e,a[1]):d("ZenonMWServerMediaUpdateTranslator").toServerMediaUpdateResponse(b,e);case"removeParticipantsRequest":return d("ZenonMWAddRemoveParticipantsTranslator").toRemoveParticipantsRequest(b,e);case"stateSyncNotifyResponse":return d("ZenonMWStateSyncTranslator").toNotifyResponse(b,e);case"stateSyncUnsubscribeRequest":return d("ZenonMWStateSyncTranslator").toUnsubscribeRequest(b,e);case"stateSyncUpdateRequest":return d("ZenonMWStateSyncTranslator").toUpdateRequest(b,e);case"subscriptionRequest":return d("ZenonMWSubscriptionTranslator").toSubscriptionRequest(b,e);case"terminateRequest":return d("ZenonMWHangupTranslator").toHangupRequest(b,e);case"usersApprovalRequest":return d("ZenonMWApprovalTranslator").toApprovalRequest(b,e)}}return null}function b(a){var b=a.jsonPayload.header;if(b.receiverUserId!=null&&b.receiverUserId!==d("ZenonActorHooks").ZenonActor.getID())throw c("unrecoverableViolation")("Ignoring MW message; receiverUserId does not match self ID","messenger_web_product");var e=b.type,f=b.responseStatusCode==null;b=c("ZenonMWTranslatorUtils").mwMessageHeaderToSignalingMessageHeader(b);var g=[];switch(e){case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.RING:f&&(g=d("ZenonMWRingTranslator").fromRingRequest(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DISMISS:f&&(g=d("ZenonMWDismissTranslator").fromDismissRequest(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.JOIN:f||(g=d("ZenonMWJoinTranslator").fromJoinResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.ICE_CANDIDATE:f?g=d("ZenonMWIceCandidateTranslator").fromIceCandidateRequest(a):g=d("ZenonMWIceCandidateTranslator").fromIceCandidateResponse(a);break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CONFERENCE_STATE:f&&(g=d("ZenonMWConferenceStateTranslator").fromConferenceStateRequest(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.CLIENT_MEDIA_UPDATE:f||(g=d("ZenonMWClientMediaUpdateTranslator").fromClientMediaUpdateResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.SERVER_MEDIA_UPDATE:f&&(g=d("ZenonMWServerMediaUpdateTranslator").fromServerMediaUpdateRequest(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.PING:f||(g=d("ZenonMWPingTranslator").fromPingResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.HANGUP:f||(g=d("ZenonMWHangupTranslator").fromHangupResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.DATA_MESSAGE:f&&(g=d("ZenonMWDataMessageTranslator").fromDataMessageRequest(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UPDATE:f||(g=d("ZenonMWStateSyncTranslator").fromUpdateResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.UNSUBSCRIBE:f||(g=d("ZenonMWStateSyncTranslator").fromUnsubscribeResponse(a));break;case d("ZenonMWMessageTypes").ZenonMWSignalingPayloadType.NOTIFY:f&&(g=d("ZenonMWStateSyncTranslator").fromNotifyRequest(a));break}return new(c("ZenonSignalingMessage"))(b,g)}g.toMWMessage=a;g.toSignalingMessage=b}),98); __d("ZenonRelayEnvironment",["RelayFBEnvironment","RelayHooks","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useEffect,i=null;function a(){var a=d("RelayHooks").useRelayEnvironment();h(function(){i=a},[a])}function b(){var a;return(a=i)!=null?a:c("RelayFBEnvironment")}g.useUpdateZenonRelayEnvironment=a;g.getZenonRelayEnvironment=b}),98); __d("ZenonMWSendMessageMutation",["CometRelayErrorHandling","Promise","RelayModern","ZenonMWSendMessageMutation.graphql","ZenonRelayEnvironment","gkx","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){return b("regeneratorRuntime").async(function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new(b("Promise"))(function(e,f){d("RelayModern").commitMutation(d("ZenonRelayEnvironment").getZenonRelayEnvironment(),{mutation:h!==void 0?h:h=b("ZenonMWSendMessageMutation.graphql"),onCompleted:function(a){return e(a)},onError:function(a){c("gkx")("708253")&&d("CometRelayErrorHandling").markErrorAsHandled(a);return f(a)},variables:{input:{message:a}}})}));case 1:case"end":return e.stop()}},null,this)}function j(a){a=a.rtc_web_send_multiway_signaling_message;var b=null,c=null;a!=null&&(a.header!=null&&(b=JSON.parse(a.header)),a.body!=null&&(c=JSON.parse(a.body)));return{body:c,header:b}}function a(a){var c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:d.next=2;return b("regeneratorRuntime").awrap(i(a));case 2:c=d.sent;return d.abrupt("return",j(c));case 4:case"end":return d.stop()}},null,this)}g.sendMessage=a}),98); __d("ZenonGraphQLMWMessageSender",["ZenonDebugLogger","ZenonInfraActionsLogger","ZenonMWMessageLogger","ZenonMWMessageReliabilityLogger","ZenonMWMessageTranslator","ZenonMWSendMessageMutation","ZenonMWTranslatorUtils","regeneratorRuntime","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){}var e=a.prototype;e.handleResponse=function(a){var b=a.header||null;a=a.body||null;var e=c("ZenonDebugLogger").getInstance();if(b!=null&&a!=null){b=c("ZenonMWTranslatorUtils").createMWMessage(b,a);e.logMWMessage("RECEIVED","GraphQL",b);d("ZenonMWMessageReliabilityLogger").logReceivedMessage(b);a=d("ZenonMWMessageTranslator").toSignalingMessage(b);if(this.$1!=null)this.$1(a),d("ZenonMWMessageReliabilityLogger").logProcessingMessage(b);else throw c("unrecoverableViolation")("Should never have null message receiver","rtc_www")}};e.asyncSendMessage=function(a){var e,f,g;return b("regeneratorRuntime").async(function(h){while(1)switch(h.prev=h.next){case 0:e=c("ZenonDebugLogger").getInstance();d("ZenonMWMessageReliabilityLogger").logSendingMessage(a);e.logMWMessage("SENDING","GraphQL",a);this.$2&&d("ZenonMWMessageLogger").logSentMessage(a,this.$2);h.prev=4;h.next=7;return b("regeneratorRuntime").awrap(d("ZenonMWSendMessageMutation").sendMessage(JSON.stringify(a)));case 7:f=h.sent;d("ZenonMWMessageReliabilityLogger").logSentMessage(a);this.handleResponse(f);h.next=18;break;case 12:h.prev=12,h.t0=h["catch"](4),g=h.t0!=null?h.t0.toString():"Message Send Error",d("ZenonMWMessageReliabilityLogger").logSendMessageFailed(a),e.logSendMultiwayMessageFailure(g,a.jsonPayload.header.type),h.t0!=null&&c("ZenonInfraActionsLogger").logCheckpoint({checkpoint:"Failed to send MW message of type "+a.jsonPayload.header.type+". Stack Trace: "+h.t0.stack+"."});case 18:case"end":return h.stop()}},null,this,[[4,12]])};e.sendMessage=function(a){a=d("ZenonMWMessageTranslator").toMWMessage(a);a!=null&&this.asyncSendMessage(a)};e.setMessageReceiver=function(a){this.$1=a};e.setLoggingEventHandler=function(a){this.$2=a};return a}();g["default"]=a}),98); __d("CallEndReason",[],(function(a,b,c,d,e,f){a=Object.freeze({IGNORE_CALL:"IgnoreCall",HANGUP_CALL:"HangupCall",IN_ANOTHER_CALL:"InAnotherCall",ACCEPT_AFTER_HANGUP:"CallEndAcceptAfterHangUp",NO_ANSWER_TIMEOUT:"NoAnswerTimeout",INCOMING_TIMEOUT:"IncomingTimeout",OTHER_INSTANCE_HANDLED:"OtherInstanceHandled",SIGNALING_MESSAGE_FAILED:"SignalingMessageFailed",CONNECTION_DROPPED:"ConnectionDropped",CLIENT_INTERRUPTED:"ClientInterrupted",WEBRTC_ERROR:"WebRTCError",CLIENT_ERROR:"ClientError",NO_PERMISSION:"NoPermission",OTHER_NOT_CAPABLE:"OtherNotCapable",NO_UI_ERROR:"NoUIShown",UNSUPPORTED_VERSION:"VersionUnsupported",CALLER_NOT_VISIBLE:"CallerNotVisible",CARRIER_BLOCKED:"CarrierBlocked",OTHER_CARRIER_BLOCKED:"OtherCarrierBlocked",CLIENT_ENCRYPTION_ERROR:"ClientEncryptionError"});f["default"]=a}),66); __d("WebrtcMessageType",[],(function(a,b,c,d,e,f){a=Object.freeze({OFFER:"offer",ANSWER:"answer",ICE_CANDIDATE:"ice_candidate",OK:"ok",HANG_UP:"hang_up",OTHER_DISMISS:"other_dismiss",MESSAGE_ACK:"msg_ack",PRANSWER:"pranswer",PING:"ping",PING_ACK:"ping_ack",ICE_RESTART_OFFER:"icerestart_offer",ICE_RESTART_ANSWER:"icerestart_answer",OFFER_ACK:"offer_ack",ANSWER_ACK:"answer_ack",SET_VIDEO:"set_video",ACK:"ack",INVALID:"invalid",OFFER_NACK:"offer_nack",NACK:"nack",VIDEO_REQUEST:"video_request",SDP_UPDATE:"sdp_update",SWITCH_TO_MULTIWAY:"switch_to_multiway",ON_HOLD:"on_hold",NEGOTIATE:"negotiate",RING:"ring",PR_OFFER_ACK:"pr_offer_ack",NOTIFY_MEDIA_STATE:"notify_media_state",CLIENT_REPORTED_EVENT:"client_reported_event",PCRESTART_OFFER:"pcrestart_offer"});f["default"]=a}),66); __d("ZenonP2PMessageTypes",["CallEndReason","WebrtcMessageType"],(function(a,b,c,d,e,f,g){"use strict";g.ZenonP2PCallEndReason=c("CallEndReason"),g.ZenonP2PSignalingPayloadType=c("WebrtcMessageType")}),98); __d("ZenonP2PTranslatorUtils",["ZenonActorHooks","ZenonDismissReason","ZenonP2PMessageTypes","ZenonSignalingProtocol"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=h[a];return(a=a)!=null?a:d("ZenonDismissReason").ZenonDismissReason.CallEnded}function b(a,b){var e=b.call_id,f=b.from;b=b.source;var g=f+":"+d("ZenonActorHooks").ZenonActor.getID();return{messageID:a,protocol:c("ZenonSignalingProtocol").P2P,remoteInfo:{deviceInfo:{deviceID:b},userID:f},remoteSignalingID:String(e),retryCount:0,roomInfo:{name:g},signalingID:String(e),userInfo:{userID:d("ZenonActorHooks").ZenonActor.getID()}}}function e(a){switch(a){case d("ZenonDismissReason").ZenonDismissReason.HangupCall:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.HANGUP_CALL;case d("ZenonDismissReason").ZenonDismissReason.IgnoreCall:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.IGNORE_CALL;case d("ZenonDismissReason").ZenonDismissReason.InAnotherCall:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.IN_ANOTHER_CALL;case d("ZenonDismissReason").ZenonDismissReason.AcceptAfterHangUp:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.ACCEPT_AFTER_HANGUP;case d("ZenonDismissReason").ZenonDismissReason.NoAnswerTimeout:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_ANSWER_TIMEOUT;case d("ZenonDismissReason").ZenonDismissReason.IncomingTimeout:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.INCOMING_TIMEOUT;case d("ZenonDismissReason").ZenonDismissReason.OtherInstanceHandled:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_INSTANCE_HANDLED;case d("ZenonDismissReason").ZenonDismissReason.SignalingMessageFailed:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.SIGNALING_MESSAGE_FAILED;case d("ZenonDismissReason").ZenonDismissReason.ConnectionDropped:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CONNECTION_DROPPED;case d("ZenonDismissReason").ZenonDismissReason.ClientInterrupted:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_INTERRUPTED;case d("ZenonDismissReason").ZenonDismissReason.WebRTCError:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.WEBRTC_ERROR;case d("ZenonDismissReason").ZenonDismissReason.ClientError:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_ERROR;case d("ZenonDismissReason").ZenonDismissReason.NoPermission:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_PERMISSION;case d("ZenonDismissReason").ZenonDismissReason.OtherNotCapable:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_NOT_CAPABLE;case d("ZenonDismissReason").ZenonDismissReason.NoUIShown:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_UI_ERROR;case d("ZenonDismissReason").ZenonDismissReason.VersionUnsupported:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.UNSUPPORTED_VERSION;case d("ZenonDismissReason").ZenonDismissReason.CallerNotVisible:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CALLER_NOT_VISIBLE;case d("ZenonDismissReason").ZenonDismissReason.CarrierBlocked:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CARRIER_BLOCKED;case d("ZenonDismissReason").ZenonDismissReason.OtherCarrierBlocked:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_CARRIER_BLOCKED;case d("ZenonDismissReason").ZenonDismissReason.ClientEncryptionError:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_ENCRYPTION_ERROR;default:return d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.HANGUP_CALL}}var h=Object.freeze((f={},f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.HANGUP_CALL]=d("ZenonDismissReason").ZenonDismissReason.HangupCall,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.IGNORE_CALL]=d("ZenonDismissReason").ZenonDismissReason.IgnoreCall,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.IN_ANOTHER_CALL]=d("ZenonDismissReason").ZenonDismissReason.InAnotherCall,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.ACCEPT_AFTER_HANGUP]=d("ZenonDismissReason").ZenonDismissReason.AcceptAfterHangUp,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_ANSWER_TIMEOUT]=d("ZenonDismissReason").ZenonDismissReason.NoAnswerTimeout,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.INCOMING_TIMEOUT]=d("ZenonDismissReason").ZenonDismissReason.IncomingTimeout,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_INSTANCE_HANDLED]=d("ZenonDismissReason").ZenonDismissReason.OtherInstanceHandled,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.SIGNALING_MESSAGE_FAILED]=d("ZenonDismissReason").ZenonDismissReason.SignalingMessageFailed,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CONNECTION_DROPPED]=d("ZenonDismissReason").ZenonDismissReason.ConnectionDropped,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_INTERRUPTED]=d("ZenonDismissReason").ZenonDismissReason.ClientInterrupted,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_ERROR]=d("ZenonDismissReason").ZenonDismissReason.ClientError,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.WEBRTC_ERROR]=d("ZenonDismissReason").ZenonDismissReason.WebRTCError,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_ERROR]=d("ZenonDismissReason").ZenonDismissReason.ClientError,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_PERMISSION]=d("ZenonDismissReason").ZenonDismissReason.NoPermission,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_NOT_CAPABLE]=d("ZenonDismissReason").ZenonDismissReason.OtherNotCapable,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.NO_UI_ERROR]=d("ZenonDismissReason").ZenonDismissReason.NoUIShown,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.UNSUPPORTED_VERSION]=d("ZenonDismissReason").ZenonDismissReason.VersionUnsupported,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CALLER_NOT_VISIBLE]=d("ZenonDismissReason").ZenonDismissReason.CallerNotVisible,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CARRIER_BLOCKED]=d("ZenonDismissReason").ZenonDismissReason.CarrierBlocked,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.OTHER_CARRIER_BLOCKED]=d("ZenonDismissReason").ZenonDismissReason.OtherCarrierBlocked,f[d("ZenonP2PMessageTypes").ZenonP2PCallEndReason.CLIENT_ENCRYPTION_ERROR]=d("ZenonDismissReason").ZenonDismissReason.ClientEncryptionError,f));g.fromP2PCallEndReason=a;g.p2pMessageToSignalingMessageHeader=b;g.toP2PCallEndReason=e}),98); __d("ZenonP2PMessageTranslator",["errorCode","ZenonDismissReason","ZenonMWMessageTypes","ZenonP2PMessageTypes","ZenonP2PTranslatorUtils","ZenonParticipantState","ZenonSignalingMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i=0,j=3;function a(a){var b=a.getHeader();a=a.getEvents();if(a.length===0)throw new Error("Unexpected Translation: called toP2PMessage with empty signaling events");switch(a[0].eventName){case"answerIntentRequest":return r(b);case"inviteResponse":if(a[0].status==="NOT_SUPPORTED")return p(b);else return o(b);case"terminateRequest":return q(b,a[0]);default:return null}}function b(a){switch(a.type){case d("ZenonP2PMessageTypes").ZenonP2PSignalingPayloadType.OFFER:return k(a);case d("ZenonP2PMessageTypes").ZenonP2PSignalingPayloadType.HANG_UP:return l(a);case d("ZenonP2PMessageTypes").ZenonP2PSignalingPayloadType.OTHER_DISMISS:return m(a);case d("ZenonP2PMessageTypes").ZenonP2PSignalingPayloadType.ICE_CANDIDATE:return n(a);default:return null}}function k(a){var b=d("ZenonP2PTranslatorUtils").p2pMessageToSignalingMessageHeader(String(a.msg_id),a),e=[],f=a.escalation_conference_name,g=a.from,h=a.videoon;h={eventName:"inviteRequest",inviterID:g,isRemoteOfferer:!0,otherParticipants:[],requestingVideo:h,roomInfo:{context:{groupThreadID:null,peerID:g,serverInfoData:null},name:f}};e.push(h);f={eventName:"remoteSdpRequest",mediaPath:d("ZenonMWMessageTypes").ZenonMWMediaPath.P2P,sdp:{sdp:a.sdp,type:"offer",version:0},mediaStates:{tracks:[],version:0},negotiateType:!1,source:"p2pOffer"};e.push(f);h={capabilities:{addParticipantEnabled:a.offer_escalation_support,cowatchEnabled:!1,cowatchGroupEnabled:!1},eventName:"capabilitiesRequest"};e.push(h);f=new Map([[g,d("ZenonParticipantState").ZenonParticipantState.CONNECTED]]);a={eventName:"participantUpdateRequest",participantStates:f,versionId:i};e.push(a);return new(c("ZenonSignalingMessage"))(b,e)}function l(a){var b=d("ZenonP2PTranslatorUtils").p2pMessageToSignalingMessageHeader(String(a.msg_id),a),e=[],f=a.from,g=a.reason;a=a.subreason;g={eventName:"terminateRequest",fromJoinResponse:!1,reason:d("ZenonP2PTranslatorUtils").fromP2PCallEndReason(g),shouldInformPeer:!0,subreason:a};e.push(g);a=new Map([[f,d("ZenonParticipantState").ZenonParticipantState.DISCONNECTED]]);g={eventName:"participantUpdateRequest",participantStates:a,versionId:j};e.push(g);return new(c("ZenonSignalingMessage"))(b,e)}function m(a){a=d("ZenonP2PTranslatorUtils").p2pMessageToSignalingMessageHeader(String(a.msg_id),a);var b=[],e={eventName:"terminateRequest",fromJoinResponse:!1,reason:d("ZenonDismissReason").ZenonDismissReason.OtherInstanceHandled,shouldInformPeer:!0};b.push(e);return new(c("ZenonSignalingMessage"))(a,b)}function n(a){var b=d("ZenonP2PTranslatorUtils").p2pMessageToSignalingMessageHeader(String(a.msg_id),a),e=[],f=a.sdp,g=a.sdp_line_idx;a=a.sdp_mid;f={candidateSdpString:f,sdpMLineIndex:g,sdpMid:a};g={eventName:"iceCandidateRequest",iceCandidates:[f]};e.push(g);return new(c("ZenonSignalingMessage"))(b,e)}function o(a){if(a.signalingID===null)throw new Error("Unexpected P2P Translation: expected signalingID to not be null");return{ack_id:parseInt(a.messageID,10),call_id:parseInt(a.signalingID,10),msg_id:parseInt(a.messageID,10),type:"offer_ack"}}function p(a){if(a.signalingID===null)throw new Error("Unexpected P2P Translation: expected signalingID to not be null");return{ack_id:parseInt(a.messageID,10),call_id:parseInt(a.signalingID,10),error_code:1356043,msg_id:parseInt(a.messageID,10),type:"offer_nack"}}function q(a,b){if(a.signalingID===null)throw new Error("Unexpected P2P Translation: expected signalingID to not be null");var c=parseInt(a.messageID,10);a=parseInt(a.signalingID,10);b=d("ZenonP2PTranslatorUtils").toP2PCallEndReason(b.reason);return{call_id:a,msg_id:c,reason:b,type:"hang_up",version:0}}function r(a){if(a.signalingID===null)throw new Error("Unexpected P2P Translation: expected signalingID to not be null");var b=parseInt(a.signalingID,10);a=parseInt(a.messageID,10);return{call_id:b,msg_id:a,type:"other_dismiss"}}g.toP2PMessage=a;g.toSignalingMessage=b}),98); __d("MDSText.react",["cr:1087"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1087")}),98); __d("MDSTextTypography",["cx","UserAgent"],(function(a,b,c,d,e,f,g,h){"use strict";var i={apple:{MozOsxFontSmoothing:"oi732d6d",WebkitFontSmoothing:"ik7dh3pa",fontFamily:"ht8s03o8"},"default":{fontFamily:"b0tq1wua"},segoe:{fontFamily:"lr9zc1uh"}},j={body1:{fontFamily:i["default"],fontSize:20,fontWeight:"normal",lineHeight:24,offsets:[4,5]},body2:{fontFamily:i["default"],fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},body3:{fontFamily:i["default"],fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},body4:{fontFamily:i["default"],fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},bodyLink1:{fontFamily:i["default"],fontSize:20,fontWeight:"semibold",lineHeight:24,offsets:[4,5]},bodyLink2:{fontFamily:i["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},bodyLink3:{fontFamily:i["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},bodyLink4:{fontFamily:i["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},button1:{fontFamily:i["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},button2:{fontFamily:i["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},entityHeaderHeadline1:{fontFamily:i["default"],fontSize:32,fontWeight:"bold",lineHeight:38,offsets:[7,8]},entityHeaderHeadline2:{fontFamily:i["default"],fontSize:28,fontWeight:"bold",lineHeight:32,offsets:[5,7]},entityHeaderMeta1:{defaultColor:"secondary",fontFamily:i["default"],fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta2:{defaultColor:"secondary",fontFamily:i["default"],fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta3:{defaultColor:"primary",fontFamily:i["default"],fontSize:13,fontWeight:"bold",lineHeight:18,offsets:[4,3]},headline3:{fontFamily:i["default"],fontSize:17,fontWeight:"medium",lineHeight:20,offsets:[3,5]},headline4:{fontFamily:i["default"],fontSize:15,fontWeight:"medium",lineHeight:20,offsets:[4,5]},headlineEmphasized1:{fontFamily:i["default"],fontSize:24,fontWeight:"bold",lineHeight:28,offsets:[5,6]},headlineEmphasized2:{fontFamily:i["default"],fontSize:20,fontWeight:"bold",lineHeight:24,offsets:[4,5]},headlineEmphasized3:{fontFamily:i["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,4]},headlineEmphasized4:{fontFamily:i["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},headlineEmphasized5:{fontFamily:i["default"],fontSize:15,fontWeight:"medium",lineHeight:18,offsets:[3,4]},meta1:{defaultColor:"secondary",fontFamily:i["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta2:{defaultColor:"secondary",fontFamily:i["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta3:{defaultColor:"secondary",fontFamily:i["default"],fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},meta4:{defaultColor:"secondary",fontFamily:i["default"],fontSize:12,fontWeight:"normal",lineHeight:16,offsets:[3,4]}},k=[["body1",[5,5]],["body2",[4,4]],["body3",[4,4]],["body4",[4,3]],["bodyLink1",[5,5]],["bodyLink2",[4,4]],["bodyLink3",[4,4]],["bodyLink4",[4,3]],["button1",[4,4]],["button2",[4,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[6,6]],["entityHeaderMeta1",[4,4]],["entityHeaderMeta2",[4,4]],["entityHeaderMeta3",[4,3]],["headline3",[4,4]],["headline4",[4,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[5,5]],["headlineEmphasized3",[4,4]],["headlineEmphasized4",[4,4]],["headlineEmphasized5",[4,3]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[3,3]]],l=[["body1",[5,5]],["body2",[4,4]],["body3",[5,4]],["body4",[4,3]],["bodyLink1",[6,4]],["bodyLink2",[4,3]],["bodyLink3",[5,4]],["bodyLink4",[4,3]],["button1",[4,3]],["button2",[5,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[7,5]],["entityHeaderMeta1",[5,4]],["entityHeaderMeta2",[5,4]],["entityHeaderMeta3",[4,3]],["headline3",[5,3]],["headline4",[5,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[6,4]],["headlineEmphasized3",[4,3]],["headlineEmphasized4",[5,4]],["headlineEmphasized5",[4,3]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[4,3]]],m=[["body1",[6,4,1]],["body2",[5,3,1]],["body3",[5,4]],["body4",[4,3,1]],["bodyLink1",[6,4,1]],["bodyLink2",[5,3,1]],["bodyLink3",[5,4]],["bodyLink4",[4,3,1]],["button1",[5,3,1]],["button2",[5,4]],["entityHeaderHeadline1",[10,6,2]],["entityHeaderHeadline2",[8,5,3]],["entityHeaderMeta1",[5,4,1]],["entityHeaderMeta2",[5,4,1]],["entityHeaderMeta3",[4,3]],["headline3",[5,3,1]],["headline4",[5,4]],["headlineEmphasized1",[7,4,2]],["headlineEmphasized2",[6,4,2]],["headlineEmphasized3",[5,3,1]],["headlineEmphasized4",[5,4]],["headlineEmphasized5",[5,3,1]],["meta1",[4,3,1]],["meta2",[4,3,1]],["meta3",[4,3,1]],["meta4",[4,3]]];function n(){if(c("UserAgent").isPlatform("Windows >= 6"))return{fontFamily:i.segoe,offsets:m};return c("UserAgent").isPlatform("Mac OS X >= 10.11")&&!c("UserAgent").isBrowser("Firefox < 55")||c("UserAgent").isPlatform("iOS >= 9")?{fontFamily:i.apple,offsets:c("UserAgent").isEngine("Gecko")?l:k}:null}function a(){var a=n();if(a!=null){var b=a.fontFamily;a=a.offsets;a=new Map(a);var c=babelHelpers["extends"]({},j);a.forEach(function(a,d){c[d]=babelHelpers["extends"]({},c[d],{fontFamily:b,offsets:a})});return c}return j}b=a();g["default"]=b}),98); __d("MDSTextV1.react",["BaseHeading.react","CometDensityModeContext","CometLineClamp.react","CometTextContext","CometTextLangContext","MDSTextTypography","cr:476","gkx","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useContext,j=e.useMemo;e=(d=b("cr:476"))!=null?d:{useTranslationFixKeyForTextParent:function(){return""}};var k=e.useTranslationFixKeyForTextParent,l=c("gkx")("1435443"),m={base:{maxWidth:"d2edcug0",minWidth:"hpfvmrgz",wordBreak:"qv66sw1b",wordWrap:"c1et5uql"},block:{display:"a8c37x1j","::before":{content:"keod5gw0",display:"nxhoafnm",height:"aigsh9s9"},"::after":{content:"fe6kdd0r",display:"mau55g9w",height:"c8b282yb"}},fixFontForChrome81:{fontFamily:"sx4j0amd"},heading:{maxWidth:"d2edcug0",minWidth:"hpfvmrgz"}},n={center:{textAlign:"oqcyycmt"},end:{textAlign:"ftzlm3b6"},start:{textAlign:"hzawbc8m"}},o={blueLink:{color:"py34i1dx"},disabled:{color:"erlsw9ld"},disabledButton:{color:"o7e4w99y"},highlight:{color:"q66pz984"},negative:{color:"jdix4yx3"},positive:{color:"g5o1ygfq"},primary:{color:"oo9gr5id"},primaryButton:{color:"bwm1u5wc"},primaryDeemphasizedButton:{color:"knomaqxo"},primaryOnMedia:{color:"qrtewk5h"},secondary:{color:"m9osqain"},secondaryButton:{color:"a57itxjd"},secondaryOnMedia:{color:"av1wybal"},tertiary:{color:"pipptul6"},white:{color:"ljqsnud1"}},p={12:{fontSize:"sq6gx45u",lineHeight:"a3bd9o3v"},13:{fontSize:"e9vueds3",lineHeight:"j5wam9gi"},15:{fontSize:"jq4qci2q",lineHeight:"a3bd9o3v"},17:{fontSize:"a5q79mjw",lineHeight:"g1cxx5fr"},20:{fontSize:"o3w64lxj",lineHeight:"b2s5l15y"},24:{fontSize:"o0t2es00",lineHeight:"f530mmz5"},28:{fontSize:"m6dqt4wy",lineHeight:"h7mekvxk"},32:{fontSize:"mhxlubs3",lineHeight:"p5u9llcw"}},q={12:{fontSize:"sq6gx45u",lineHeight:"a3bd9o3v"},13:{fontSize:"sq6gx45u",lineHeight:"j5wam9gi"},15:{fontSize:"gfeo3gy3",lineHeight:"a3bd9o3v"},17:{fontSize:"jagab5yi",lineHeight:"g1cxx5fr"},20:{fontSize:"o3w64lxj",lineHeight:"b2s5l15y"},24:{fontSize:"o0t2es00",lineHeight:"f530mmz5"},28:{fontSize:"m6dqt4wy",lineHeight:"h7mekvxk"},32:{fontSize:"mhxlubs3",lineHeight:"p5u9llcw"}},r={bold:{fontWeight:"hnhda86s"},medium:{fontWeight:"ekzkrbhg"},normal:{fontWeight:"knj5qynh"},semibold:{fontWeight:"lrazzd5p"}},s={1:{"::before":{marginTop:"l2xehx30"}},2:{"::before":{marginTop:"j0e77wai"}},3:{"::before":{marginTop:"tia6h79c"}},4:{"::before":{marginTop:"d9wwppkn"}},5:{"::before":{marginTop:"d3f4x2em"}},6:{"::before":{marginTop:"ns63r2gh"}},7:{"::before":{marginTop:"qg6bub1s"}},8:{"::before":{marginTop:"embtmqzv"}},9:{"::before":{marginTop:"misohx42"}},10:{"::before":{marginTop:"l1jc4y16"}}},t={1:{"::after":{marginBottom:"lpavh2a4"}},2:{"::after":{marginBottom:"l15sfdvx"}},3:{"::after":{marginBottom:"mdeji52x"}},4:{"::after":{marginBottom:"iv3no6db"}},5:{"::after":{marginBottom:"hrzyx87i"}},6:{"::after":{marginBottom:"rwim8176"}},7:{"::after":{marginBottom:"h6olsfn3"}},8:{"::after":{marginBottom:"teo7jy3c"}},9:{"::after":{marginBottom:"lpmm8iu7"}},10:{"::after":{marginBottom:"c9ps7pxp"}}},u={1:{paddingBottom:"ojkyduve"},2:{paddingBottom:"r8blr3vg"},3:{paddingBottom:"pby63qed"}},v={disabled:"disabledButton",highlight:"primaryDeemphasizedButton",secondary:"secondaryButton",white:"primaryButton"};function w(a,b){return b?(b=v[a])!=null?b:a:a}function x(a,b){return b==="headlineEmphasized5"||b==="entityHeaderMeta3"?null:{color:a,type:b}}function a(a,b){var d=a.align;d=d===void 0?"auto":d;var e=a.children,f=a.color,g=a.dir;g=g===void 0?"auto":g;var v=a.id,y=a.isPrimaryHeading;y=y===void 0?!1:y;var z=a.isSemanticHeading;z=z===void 0?!1:z;var A=a.numberOfLines,B=a.testid,C=a.type;B=i(c("CometTextContext"));a=i(c("CometDensityModeContext"));a=a[0];var D=i(c("CometTextLangContext")),E=c("MDSTextTypography")[C],F=E.defaultColor;F=F===void 0?"primary":F;var G=E.fontFamily,H=E.fontSize,I=E.fontWeight;I=I===void 0?"normal":I;E=E.offsets;E=E===void 0?[0,0]:E;var J=E.length===3?E[2]:0,K=w((f=f)!=null?f:F,C==="button1"||C==="button2");f=j(function(){return x(K,C)},[K,C]);F=B!==null;B=k();f=h.jsx(c("CometTextContext").Provider,{value:f,children:h.jsx("span",{className:c("stylex")(m.base,G,l&&H>=20&&I!=="normal"&&m.fixFontForChrome81,!F&&m.block,!F&&s[E[0]],!F&&t[A!=null?E[1]+J:E[1]],a?q[H]:p[H],r[I],o[K],d!=="auto"&&n[d]),"data-testid":void 0,dir:F?void 0:g,id:v,lang:D,ref:b,children:A!=null?h.jsx(c("CometLineClamp.react"),{lines:A,xstyle:J!==0&&u[J],children:e}):e},B)});return z?h.jsx(c("BaseHeading.react"),{isPrimaryHeading:y,xstyle:m.heading,children:f}):f}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);b.displayName="MDSText";d=b;g["default"]=d}),98); __d("UseBlockedUserInterstitial.bs",["JSResource","LS.bs","LSContactBitOffset.bs","LSContactBlockedByViewerStatus.bs","LSContactCapabilityBitOffset.bs","LSMessagingThreadTypeUtil.bs","LSOptimisticPseudoUnblock","LSThreadBitOffset.bs","LSThreadCapabilityBitOffset.bs","LSTransaction.bs","LsSystemFolder.bs","MWLSActor.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","WebStorage","bs_belt_Option","bs_caml","bs_curry","gkx","promiseDone","react","recoverableViolation","useCometLazyDialog"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react");function a(a){var c=b("useCometLazyDialog")(b("JSResource")("LSBlockedUserInterstitialDialog.react").__setRef("UseBlockedUserInterstitial.bs")),d=c[0];c=b("useCometLazyDialog")(b("JSResource")("RestrictedUserInterstitialDialog.react").__setRef("UseBlockedUserInterstitial.bs"));var e=c[0];c=b("useCometLazyDialog")(b("JSResource")("MWChatPseudoBlockWarningCardDialog.react").__setRef("UseBlockedUserInterstitial.bs"));var f=c[0],g=b("ReStore.bs").useHook(void 0),j=b("MWLSActor.bs").useActor(void 0),k=b("ReQLSubscription.bs").useFirst(i.useMemo(function(){return b("ReQL.bs").getKeyRange(b("ReQLTable").table(g,"threads").asc,{hd:a,tl:0})},[g,JSON.stringify(a)])),l=b("ReQLSubscription.bs").useArray(i.useMemo(function(){var c;return(c=b("ReQL.bs")).map(c.filter(c.mergeJoin(c.getKeyRange(b("ReQLTable").table(g,"participants").asc,{hd:a,tl:0}),b("ReQLTable").table(g,"contacts").asc),function(a){return b("bs_caml").i64_neq(a[1].a,j)}),function(a){return a[1]})},[g,JSON.stringify(a),j])),m=i.useMemo(function(){return l.filter(function(a){return b("bs_caml").i64_neq(a.n,b("LSContactBlockedByViewerStatus.bs").unblocked)})},[l]),n=i.useMemo(function(){if(l.length>0)return l.filter(function(a){return b("bs_belt_Option").getWithDefault(b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").restrictPlaced,a),!1)});else return[]},[l]),o=k!==void 0?b("bs_caml").i64_neq(k.A,b("LsSystemFolder.bs").archived)&&b("LSMessagingThreadTypeUtil.bs").isGroup(k.c)&&b("LSThreadBitOffset.bs").has(b("LSThreadCapabilityBitOffset.bs").leaveThread,k):!1,p=k!==void 0?b("LSMessagingThreadTypeUtil.bs").isOneToOne(k.c):!1,q=k!==void 0?b("LSMessagingThreadTypeUtil.bs").isGroup(k.c):!1,r=l.length>0?l[0]:void 0,s=b("bs_belt_Option").mapWithDefault(r,!1,function(a){return b("bs_belt_Option").getWithDefault(b("LSContactBitOffset.bs").has(b("LSContactCapabilityBitOffset.bs").pseudoBlock,a),!1)});return i.useCallback(function(c){return function(i){var j=(h||(h=b("WebStorage"))).getLocalStorage(),l="__BlockOrRestrictUserInterstitial."+a+"__",t=j.getItem(l);t=t==null?!1:t==="true";var u=b("gkx")("2054625")&&p&&s,v=!t&&b("gkx")("3846")&&n.length>0&&q&&o;t=!t&&m.length>0&&q&&o;if(u){u=function(a){if(r!==void 0){b("promiseDone")(b("LSTransaction.bs").run(g,function(c){return b("LSOptimisticPseudoUnblock")(r.a,a,b("bs_curry")._1(b("LS.bs").make,c))},"readWrite"),function(a){return b("bs_curry")._1(c,void 0)},function(a){return b("bs_curry")._1(c,void 0)});return}};return f({contact:r,thread:k,onOptIn:u,onClose:function(a){},entryPoint:i},function(a){})}if(t){u=function(a){a=(h||(h=b("WebStorage"))).setItemGuarded(j,l,"true");a==null||b("recoverableViolation")("Unable to set item at path for BlockedUserInterstitial","messenger_web_product");return b("bs_curry")._1(c,void 0)};return d({thread:k,blockees:m,onOptIn:u},function(a){})}if(!v)return b("bs_curry")._1(c,void 0);i=function(a){a=(h||(h=b("WebStorage"))).setItemGuarded(j,l,"true");a==null||b("recoverableViolation")("Unable to set item at path for RestrictedUserInterstitial","messenger_web_product");return b("bs_curry")._1(c,void 0)};return e({thread:k,restrictedUsers:n,onOptIn:i},function(a){})}},[JSON.stringify(a),m.length,n.length,s])}f.useHook=a}),null); __d("MWChatFacepile.bs",["bs_caml_option","react","stylex"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react"),j={root:{display:"j83agx80",position:"l9j0dhe7"},image:{borderTopStartRadius:"s45kfl79",borderTopEndRadius:"emlxlaya",borderBottomEndRadius:"bkmhp75w",borderBottomStartRadius:"spb7xbtv",position:"pmk7jnqg"},leftImage:{start:"j9ispegn",bottom:"i09qtzwb"},imageBorder:{borderTop:"onbmnuye",borderEnd:"ss08itiq",borderBottom:"gm9yxfny",borderStart:"e3a5340w"},rightImage:{end:"n7fi1qx3",top:"kr520xx4"},dropShadow:{boxShadow:"akv41dx8",":hover":{boxShadow:"eb3gnj61"}}};function a(a){var c=a.borderBetweenImages,d=a.children,e=a.firstParticipantURI,f=a.secondParticipantURI,g=a.shadow;a=a.size;c=c!==void 0?c:!0;d=d!==void 0?b("bs_caml_option").valFromOption(d):null;g=g!==void 0?g:!1;a=a!==void 0?a:30;var k=a/1.5|0;k={height:String(k)+"px",width:String(k)+"px"};return i.jsxs("div",{className:(h||(h=b("stylex")))(j.root),style:{height:String(a)+"px",width:String(a)+"px"},children:[i.jsx("img",{className:h(g?j.dropShadow:!1,j.image,j.rightImage),style:k,src:f,alt:""}),i.jsx("img",{className:h(g?j.dropShadow:!1,j.image,c?j.imageBorder:!1,j.leftImage),style:k,src:e,alt:""}),d]})}c=a;f.styles=j;f.make=c}),null); __d("MWChatFacepile.re",["MWChatFacepile.bs"],(function(a,b,c,d,e,f){a=b("MWChatFacepile.bs").make;f.make=a}),null); __d("MWChatProfile.bs",["BaseGlimmer.react","bs_belt_Option","react","stylex"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react"),j={root:{position:"l9j0dhe7"},img:{width:"k4urcfbm",height:"datstx6m",borderTopStartRadius:"s45kfl79",borderTopEndRadius:"emlxlaya",borderBottomEndRadius:"bkmhp75w",borderBottomStartRadius:"spb7xbtv",verticalAlign:"pzggbiyp",objectFit:"bixrwtb6"},activeNow:{display:"mkhogb32",position:"pmk7jnqg",backgroundColor:"jllm4f4h",width:"c9rrlmt1",height:"t6na6p9t",borderTop:"iruzoqzv",borderEnd:"n8v90iwk",borderBottom:"qx7ju95k",borderStart:"m8of71z0",bottom:"i09qtzwb",end:"n7fi1qx3",borderTopStartRadius:"s45kfl79",borderTopEndRadius:"emlxlaya",borderBottomEndRadius:"bkmhp75w",borderBottomStartRadius:"spb7xbtv"},active:{display:"a8c37x1j"}};function a(a){var c=a.size,d=a.src,e=a.isActiveNow,f=a.alt;a=a.children;e=e!==void 0?e:!1;f=f!==void 0?f:"";var g,k=0;d!==void 0&&d!==""?g=i.jsx("img",{className:(h||(h=b("stylex")))(j.img),src:d,alt:f}):k=1;k===1&&(g=i.jsx(b("BaseGlimmer.react"),{className:(h||(h=b("stylex")))(j.img),index:1}));return i.jsxs("div",{className:(h||(h=b("stylex")))(j.root),style:{height:String(c)+"px",width:String(c)+"px"},children:[g,b("bs_belt_Option").getWithDefault(a,null),i.jsx("div",{className:h(j.activeNow,e?j.active:!1)})]})}c=a;f.styles=j;f.make=c}),null); __d("MWChatTextTransform.bs",["CometEmojiTransform","CometEmoticonTransform","bs_curry","cr:9156","gkx"],(function(a,b,c,d,e,f){"use strict";c=b("CometEmoticonTransform")();d=b("CometEmojiTransform")();e=b("gkx")("1839834")?[c,d]:[d];if(!(b("cr:9156")==null)){var g=b("bs_curry")._1(b("cr:9156").unvaultTransform,void 0);e.push(g)}function a(a){if(b("gkx")("1839834"))return[b("CometEmoticonTransform")(a),b("CometEmojiTransform")(a)];else return[b("CometEmojiTransform")(a)]}f.emoticonTransform=c;f.emojiTransform=d;f.epdTextTransforms=e;f.$MAWUnvaultTransform$requireCond=b("cr:9156");f.epdTextTransformsWithOptions=a}),null); __d("MWLSThreadImageUrls.bs",["bs_caml"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){if(d!==void 0)return[d];d=a.length;if(d===1)return a.map(function(a){return a.profile_picture_url});d=a.filter(function(a){return b("bs_caml").i64_neq(a.contact_id,c)}).slice();d.sort(function(a,b){return b.rank-a.rank});return d.map(function(a){return a.profile_picture_url})}f.make=a}),null); __d("MWChatContactPresenceHook.bs",["AvailableListConstants","FBID.bs","PresenceStatusContext","bs_caml_option","bs_curry","bs_int64","react","requireDeferred"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i=b("requireDeferred")("MessengerMQTTPresence.bs").__setRef("MWChatContactPresenceHook.bs");function j(a,c){var d=b("bs_curry")._1(a.getStatus,c),e=d==null?void 0:b("bs_caml_option").some(d);a=b("bs_curry")._1(a.getChatVisibility,void 0);if(!(d==null)||!a)return e;else{i.onReady(function(a){return b("bs_curry")._1(a.sendAdditionalBuddyRequest,c)});return}}function k(a){var c=h.useContext(b("PresenceStatusContext")),d=b("FBID.bs").ofStringExn(b("bs_int64").to_string(a));a=h.useState(function(){return j(c,d)});var e=a[1];h.useEffect(function(){return b("bs_curry")._1(c.addListener,function(a){return b("bs_curry")._1(e,function(a){return j(c,d)})})},[c,d,e]);return a[0]}function a(a){a=k(a);if(a===void 0)return!1;a=a.status;if(a==null)return!1;else return a===b("AvailableListConstants").ACTIVE}function c(a){a=k(a);if(a===void 0)return;a=a.last_active_time;if(!(a==null)&&a!==0)return a*1e3}function d(a){var c=h.useContext(b("PresenceStatusContext")),d=h.useMemo(function(){return a.map(function(a){return b("FBID.bs").ofStringExn(b("bs_int64").to_string(a))})},[a]),e=h.useState(function(){return d.some(function(a){a=j(c,a);if(a===void 0)return!1;a=a.status;if(a==null)return!1;else return a===b("AvailableListConstants").ACTIVE})}),f=e[1];h.useEffect(function(){var a=d.map(function(a){return b("bs_curry")._1(c.addListener,function(d){return b("bs_curry")._1(f,function(d){d=j(c,a);if(d===void 0)return!1;d=d.status;if(d==null)return!1;else return d===b("AvailableListConstants").ACTIVE})})});return function(c){a.forEach(function(a){return b("bs_curry")._1(a,void 0)})}},[c,d,f]);return e[0]}f.$MessengerMQTTPresence$Deferred=i;f.useHook=k;f.useIsActive=a;f.useLastActiveTimestampMs=c;f.useHasActiveContact=d}),null); __d("MWLSPresenceIsThreadActive.bs",["MWChatContactPresenceHook.bs","MWLSActor.bs","MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLTable","ReStore.bs","bs_caml","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0),e=b("MWLSActor.bs").useActor(void 0);a=h.useMemo(function(){return b("ReQL.bs").take(b("ReQL.bs").filter(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"participants").asc,{hd:d,tl:0}),function(a){return b("bs_caml").i64_neq(a.b,e)}),1)},[c,d,JSON.stringify(e)]);a=b("ReQLSubscription.bs").useArray(a);return b("MWChatContactPresenceHook.bs").useHasActiveContact(a.map(function(a){return a.b}))}f.useHook=a}),null); __d("LSIterationHelpers",["FBLogger","LSDbKeyComparer","LSDict","bs_caml_int64"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b=[];while(a!==0)b.push(a.hd),a=a.tl;return b}function i(a){return a.reduceRight(function(a,b){return{hd:b,tl:a}},0)}function j(a,b,c){c===void 0&&(c="asc");var e=a.entries(new WeakMap(),c);function f(){var a;return a={},a[typeof Symbol==="function"?Symbol.asyncIterator:"@@asyncIterator"]=f,a.next=async function(){var a=await e.next();outer:while(!a.done){var f=async function(f){var g=b[f]||{},j=g.end;g=g.start;var k=h(a.value[0]),l=k.slice(0,f);if(g){var m=d("LSDbKeyComparer").compareValue(k[f],g[0]);if(m*(c==="asc"?1:-1)=0;i--)h={hd:b.value.item[c[i]],tl:h};if(e!==void 0&&d("LSDbKeyComparer").compareKey(e,h)!==0){for(var i=g.sort(f),j=Array.isArray(i),k=0,i=j?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var l;if(j){if(k>=i.length)break;l=i[k++]}else{k=i.next();if(k.done)break;l=k.value}l=l;yield l}g=[]}b.done||g.push(b.value);e=h;b=(yield babelHelpers.awaitAsyncGenerator(a.next()))}if(g.length)for(var l=g.sort(f),k=Array.isArray(l),j=0,l=k?l:l[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(k){if(j>=l.length)break;i=l[j++]}else{j=l.next();if(j.done)break;i=j.value}h=i;yield h}});return function(){return b.apply(this,arguments)}}();return g()}async function e(a){var b=0,d=await a.next();while(!d.done)b++,d=await a.next();return c("bs_caml_int64").of_int32(b)}function f(a,b){return{forEach:async function(d){var e=await m(a);e=e.reduce(function(a,c){c=c.item[b];var d=(a.get(c)||0)+1;return a.set(c,d)},new(c("LSDict"))());for(var e=e,f=Array.isArray(e),g=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h,i;if(f){if(g>=e.length)break;i=e[g++]}else{g=e.next();if(g.done)break;i=g.value}i=i;var j=i[0];i=i[1];await d((h={},h[b]=j,h.group_count=c("bs_caml_int64").of_int32(i),h))}}}}function n(a,b,c){return{delete:function(){return c.delete(a)},item:b,update:function(d){return c.upsert(a,babelHelpers.extends({},b,d))}}}function o(a,b){return p.apply(this,arguments)}function p(){p=babelHelpers.wrapAsyncGenerator(function*(a,b){var c=(yield babelHelpers.awaitAsyncGenerator(a.next()));while(!c.done)yield c.value,c=(yield babelHelpers.awaitAsyncGenerator(a.next()));c=(yield babelHelpers.awaitAsyncGenerator(b.next()));while(!c.done)yield c.value,c=(yield babelHelpers.awaitAsyncGenerator(b.next()))});return p.apply(this,arguments)}function q(a,b,c){return r.apply(this,arguments)}function r(){r=babelHelpers.wrapAsyncGenerator(function*(a,b,c){var e=(yield babelHelpers.awaitAsyncGenerator(a.next())),f=(yield babelHelpers.awaitAsyncGenerator(b.next()));while(!e.done&&!f.done){var g=d("LSDbKeyComparer").compareKey(e.value[0],f.value[0]);g===0?(yield e.value,e=(yield babelHelpers.awaitAsyncGenerator(a.next())),f=(yield babelHelpers.awaitAsyncGenerator(b.next()))):g*(c==="asc"?1:-1)<0?(yield e.value,e=(yield babelHelpers.awaitAsyncGenerator(a.next()))):(yield f.value,f=(yield babelHelpers.awaitAsyncGenerator(b.next())))}while(!e.done)yield e.value,e=(yield babelHelpers.awaitAsyncGenerator(a.next()));while(!f.done)yield f.value,f=(yield babelHelpers.awaitAsyncGenerator(b.next()))});return r.apply(this,arguments)}function s(a,b,c,d,e,f){var g=new Set(),h=a.length>1,k=a.length===1&&a[0][1]===void 0,l=a.map(function(a){var g=a[0],h=a[1];return g.map(function(a){d.key_lookup===!0&&a.length!==0;d.table_scan===!0&&a.length===0;a=a.map(function(a){return f(a,b)});var g=a.length===(h===void 0?c.primaryKeyIds:c.indexes[h].keyIds).length&&a.every(function(a){var b=a.start;a=a.end;return b&&a&&b[0]===a[0]&&b[1]===0&&a[1]===0});if(g){g=function b(){var c,d=!1;return c={},c[typeof Symbol==="function"?Symbol.asyncIterator:"@@asyncIterator"]=b,c.next=async function(){if(d)return{done:!0};d=!0;var b=i(a.map(function(a){a=a.start;return a[0]})),c=await (h===void 0?e:e.index(h)).get(b);return!c?{done:!0}:{value:[b,c],done:!1}},c};return g()}return j(h===void 0?e:e.index(h),a,b)})}).flat().reduce(function(c,d){return a.length>1?o(c,d):q(c,d,b)});function m(){var a;return a={},a[typeof Symbol==="function"?Symbol.asyncIterator:"@@asyncIterator"]=m,a.next=async function(){var a,b,d,f=await l.next();while(!f.done){var i=f.value;b=i[0];d=i[1];a=k?b:c.primaryKeyIds.reduceRight(function(a,b){return{hd:d[b],tl:a}},0);if(h){i=JSON.stringify(a);if(g.has(i)){f=await l.next();continue}g.add(i)}break}return f.done||a===void 0||d===void 0?{done:!0}:{done:!1,value:n(a,d,e)}},a}return m()}g.filter=k;g.slice=l;g.forEach=a;g.toArray=m;g.sortBy=b;g.count=e;g.groupBy=f;g.fetch=s}),98); __d("LS",["FBLogger","LSDbKeyComparer","LSDict","LSIterationHelpers","LSJson","base64-js","bs_caml","bs_caml_format","bs_caml_int64","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["2"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["0"]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["0"]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["2"]);k=function(){return a};return a}b="LS_WEB";function l(a){return a.name.match(/secure_|inbox(?!_)/i)}var m=babelHelpers.extends({},c("bs_caml_int64"),{eq:function(a,b){return a==null&&b==null||a!=null&&b!=null&&c("bs_caml").i64_eq(a,b)},neq:function(a,b){return a==null&&b!=null||a!=null&&b==null||a!=null&&b!=null&&c("bs_caml").i64_neq(a,b)},lt:c("bs_caml").i64_lt,gt:c("bs_caml").i64_gt,le:c("bs_caml").i64_le,ge:c("bs_caml").i64_ge,min:c("bs_caml").i64_min,max:c("bs_caml").i64_max,to_int32:function(a){return a==null?a:c("bs_caml_int64").to_int32(a)},to_string:function(a){return a==null?a:c("bs_caml_int64").to_string(a)},from_string:function(a){try{return c("bs_caml_format").caml_int64_of_string(a)}catch(b){throw c("unrecoverableViolation")('Unable to cast "'+a+'" to int64',"messenger_comet")}},random:function(){var b=a.crypto||a.msCrypto;b=Array.from(b.getRandomValues(new Uint32Array(2)));b[0]>>>=1;return b}});function n(a){return c("base64-js").toByteArray(a)}var o={to_string:function(a){if(a==null)return void 0;var b=new TextDecoder();return b.decode(a)},of_string:function(a){if(a==null)return void 0;var b=new TextEncoder();return b.encode(a)},eq:function(a,b){if(a==null&&b==null)return!0;if(a==null||b==null)return!1;if(a.length!==b.length)return!1;for(var c=0;c=0},gt:function(a,b){return o.compareTo(a,b)>0}};function p(a){if(a.length!==1)throw c("unrecoverableViolation")("only literal strings supported","messenger_web_product");a=a[0];var b=parseInt(a.substr(-8),16);a=parseInt(a.substr(0,a.length-8),16);return[a>>>1^-(b&1),((b>>>1)+(a&1)*2147483648^-(b&1))>>>0]}function q(a,b){if(typeof a==="object"&&!Array.isArray(a)){var d,e;if(b==="asc"){Object.prototype.hasOwnProperty.call(a,"gt")&&(d=[a.gt,1]);if(Object.prototype.hasOwnProperty.call(a,"gte")){if(d!==void 0)throw c("unrecoverableViolation")("Cannot specify both gt and gte","messenger_web_product");d=[a.gte,0]}Object.prototype.hasOwnProperty.call(a,"lt")&&(e=[a.lt,1]);if(Object.prototype.hasOwnProperty.call(a,"lte")){if(e!==void 0)throw c("unrecoverableViolation")("Cannot specify both lt and lte","messenger_web_product");e=[a.lte,0]}}else{Object.prototype.hasOwnProperty.call(a,"lt")&&(d=[a.lt,1]);if(Object.prototype.hasOwnProperty.call(a,"lte")){if(d!==void 0)throw c("unrecoverableViolation")("Cannot specify both lt and lte","messenger_web_product");d=[a.lte,0]}Object.prototype.hasOwnProperty.call(a,"gt")&&(e=[a.gt,1]);if(Object.prototype.hasOwnProperty.call(a,"gte")){if(e!==void 0)throw c("unrecoverableViolation")("Cannot specify both gt and gte","messenger_web_product");e=[a.gte,0]}}return{start:d,end:e}}return{start:[a,0],end:[a,0]}}function r(a,b,c){var e=a.table(b.name);return{add:function(a){return e.add(a)},fetch:function(){for(var a=arguments.length,f=new Array(a),g=0;g0?a:b}function b(a,b){return d("LSDbKeyComparer").compareValue([a[0],-a[1]],[b[0],-b[1]])<0?a:b}for(var c=arguments.length,e=new Array(c),f=0;f1?g-1:0),i=1;i2?f-2:0),i=2;i1?j-1:0),m=1;m_:;";var g="\\b[A-Z][^\\s"+b+"]",h="\\b[a-z][^\\s"+b+"]";function a(a){var b=a.commonWordsBlocklist,c=a.minMatchLength;a=a.nameCase;var d=a==="capitalized"?g:h,e=new RegExp("(^|[^#])((?:"+d+"{"+1+",})$)");return{findMentionableString:function(a){a=e.exec(a);if(a===null)return null;var d=a[1],f=a[2];if(b.includes(f))return null;return f!=null&&f.length>=c?{leadOffset:a.index+d.length,matchingString:f,replaceableString:f}:null},name:"NameMentionStrategy("+c.toString()+", "+a+")"}}f["default"]=a}),66); __d("DocumentMentionsRegex",[],(function(a,b,c,d,e,f){"use strict";a="\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'\"~=<>_:;";b="\\b[A-Z][^\\s"+a+"]";c={PUNCTUATION:a,NAME:b};d=c;f["default"]=d}),66); __d("createCometMentionMatchStrategy",["DocumentMentionsRegex"],(function(a,b,c,d,e,f,g){"use strict";var h="(?:\\.[ |$]| |["+c("DocumentMentionsRegex").PUNCTUATION+"]|)",i=75;function j(a,b){b="[^"+a+b+"\\s]";var c=new RegExp("(^|\\s|\\()(["+a+"]((?:"+b+h+"){0,"+i+"}))$"),d=50;a=new RegExp("(^|\\s|\\()(["+a+"]((?:"+b+"){0,"+d+"}))$");return{regex:c,regexAlias:a}}function a(a){var b=a.minMatchLength,d=a.name,e=a.triggers;a=a.disallowedChars;a=a===void 0?c("DocumentMentionsRegex").PUNCTUATION:a;e=j(e,a);var f=e.regex,g=e.regexAlias;return{findMentionableString:function(a){var c=f.exec(a);c===null&&(c=g.exec(a));if(c!==null){a=c[1];var d=c[3];if(d.length>=b)return{leadOffset:c.index+a.length,matchingString:d,replaceableString:c[2]}}return null},name:d}}g["default"]=a}),98); __d("createCometAtSignComposerMentionsMatchStrategy",["createCometMentionMatchStrategy"],(function(a,b,c,d,e,f,g){"use strict";var h=["@","\\uff20"].join("");function a(a){a=a.minMatchLength;return c("createCometMentionMatchStrategy")({minMatchLength:a,name:"AtSignComposerMentionStrategy("+a.toString()+")",triggers:h})}g["default"]=a}),98); __d("FeedCometMentionsTypeaheadEntry",["FeedCometMentionsTypeaheadEntryWithTagSuggestion_data.graphql","FeedCometMentionsTypeaheadEntryWithTagTaggedCoworker_data.graphql","FeedCometMentionsTypeaheadEntryWithTagTaggedEntity_data.graphql","FeedCometMentionsTypeaheadEntryWithTag_data.graphql","FeedCometMentionsTypeaheadEntry_data.graphql","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l;h!==void 0?h:h=b("FeedCometMentionsTypeaheadEntry_data.graphql");i!==void 0?i:i=b("FeedCometMentionsTypeaheadEntryWithTag_data.graphql");j!==void 0?j:j=b("FeedCometMentionsTypeaheadEntryWithTagSuggestion_data.graphql");k!==void 0?k:k=b("FeedCometMentionsTypeaheadEntryWithTagTaggedEntity_data.graphql");l!==void 0?l:l=b("FeedCometMentionsTypeaheadEntryWithTagTaggedCoworker_data.graphql");a=function(){a.fromGraphql=function(b){var c;c=b.data.node;if(c==null)return null;c=c;var d=c.id,e=c.name;c=c.photo;c=c==null?void 0:c.uri;if(e==null||d==null||c==null)return null;if(b.type==="MENTION_SEARCH_RESULT"){var f,g=b.data.score;if(g==null)return null;f=Boolean((f=b.data.node)==null?void 0:f.is_verified);return new a({data:{id:d,isVerified:f,mentionDecorType:"regular",name:e,photoURI:c,score:g,subtext:(f=b.data.node)==null?void 0:f.mentions_subtext},type:b.type})}return new a({data:{id:d,name:e,photoURI:c},type:b.type})};function a(a){this.$1=a}var b=a.prototype;b.getIsExternal=function(){return this.$1.type==="MENTION_SEARCH_RESULT"?Boolean(this.$1.data.isExternal):!1};b.getIsVerified=function(){return this.$1.type==="MENTION_SEARCH_RESULT"?this.$1.data.isVerified:!1};b.getKey=function(){return this.$1.type==="METADATA"?this.$1.data.key:this.$1.data.id};b.getLabel=function(){return this.$1.type==="METADATA"?this.$1.data.metadataType:this.$1.data.name};b.getSubtext=function(){return this.$1.type==="MENTION_SEARCH_RESULT"?this.$1.data.subtext:null};b.getRawData=function(){return this.$1};b.getPhotoURI=function(){if(this.$1.type==="METADATA"){c("recoverableViolation")("getPhotoURI should not be called for Metadata entries","search");return null}return this.$1.data.photoURI};b.getScore=function(){switch(this.$1.type){case"MENTION_SEARCH_RESULT":return this.$1.data.score;default:c("recoverableViolation")("Attempting to access score when it doesnt exist","comet_composer");return 0}};b.getType=function(){return this.$1.type};b.getMentionDecorType=function(){return this.$1.type==="MENTION_SEARCH_RESULT"?this.$1.data.mentionDecorType:null};return a}();g["default"]=a}),98); __d("cometTypeaheadContainsMatchBuilder",["escapeRegex"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.query;var b=new RegExp(""+c("escapeRegex")(a),"i");return function(a){return b.test((a=a.getLabel())!=null?a:"")}}g["default"]=a}),98); __d("CometTypeaheadGraphQLBootstrapDataSource",["CometTypeaheadBootstrapDataProvider","CometTypeaheadDataCacheProvider","CometTypeaheadDataProviderQueryVariablesBuilder","CometTypeaheadInMemoryMapDataCache","cometTypeaheadContainsMatchBuilder","cometTypeaheadQueryMatchBuilder","cometTypeaheadStartsWithMatchBuilder","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h={prefix:c("cometTypeaheadStartsWithMatchBuilder"),substring:c("cometTypeaheadContainsMatchBuilder"),token:c("cometTypeaheadQueryMatchBuilder")};a=function(){function a(a){var b=a.fetchPolicy,d=a.gqlQuery,e=a.matchStrategy;e=e===void 0?"prefix":e;var f=a.normalize,g=a.queryVariables,i=a.relayEnvironment;a=a.storageKey;this.$3=!1;this.$1=new(c("CometTypeaheadDataCacheProvider"))({cache:new(c("CometTypeaheadInMemoryMapDataCache"))(),matchBuilder:h[e]});this.$2=d;this.$4=f;this.$5=g;this.$6=i;e=new(c("CometTypeaheadDataProviderQueryVariablesBuilder"))(function(){return function(){return g}});this.$7=new(c("CometTypeaheadBootstrapDataProvider"))({options:{fetchPolicy:b},query:d,queryVariablesBuilder:e,relayEnvironment:i,storageKey:a})}var b=a.prototype;b.isBootstrapped=function(){return this.$3};b.bootstrap=function(){var a=this;c("promiseDone")(this.$7.fetch({query:""}).then(function(b){b=b.response;return a.$4(b)}).then(function(b){a.$1.add(b,null)}).then(function(){return a.$3=!0}))};b.fetchCache=function(a){var b=a.query;b=this.$1.match(b);return{entries:b,params:a}};return a}();g["default"]=a}),98); __d("useCustomEqualityMemo",["react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useEffect,i=b.useRef;function a(a,b){var c=i(a),d=b(c.current,a)?c.current:a;h(function(){c.current=d},[d]);return d}g["default"]=a}),98); __d("useDeepEqualMemo",["areEqual","useCustomEqualityMemo"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("useCustomEqualityMemo")(a,c("areEqual"))}g["default"]=a}),98); __d("useCometTypeaheadCompositeBootstrapDataSource",["CometRelay","CometTypeaheadGraphQLBootstrapDataSource","cometSearchTypeaheadPayloadDecoratorAddLimit","react","useDeepEqualMemo"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo;function a(a){var b=a.fetchPolicy,e=a.gqlQuery,f=a.limit,g=a.matchStrategy,i=a.normalize,j=a.queryVariables,k=a.storageKey,l=h(function(){return c("cometSearchTypeaheadPayloadDecoratorAddLimit")(f)},[f]),m=d("CometRelay").useRelayEnvironment();a=c("useDeepEqualMemo")(j);var n=h(function(){return new(c("CometTypeaheadGraphQLBootstrapDataSource"))({fetchPolicy:b,gqlQuery:e,matchStrategy:g,normalize:i,queryVariables:j,relayEnvironment:m,storageKey:k})},[a,m]);return h(function(){return{bootstrap:function(){return n.bootstrap()},fetchCache:function(a){return l(n.fetchCache(a))}}},[n,l])}g["default"]=a}),98); __d("useFeedComposerCometMentionsBootloadDataSource",["FeedCometMentionsTypeaheadEntry","WebPixelRatio","qex","useCometTypeaheadCompositeBootstrapDataSource","useFeedComposerCometMentionsBootloadDataSourceQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useFeedComposerCometMentionsBootloadDataSourceQuery.graphql");function a(a){var b=a.firstDegreeFinderOptions,e=a.includeViewer,f=a.limit,g=a.matchStrategy;g=g===void 0?"prefix":g;var h=a.storageKey,k=a.typeaheadContext;a=a.types;return c("useCometTypeaheadCompositeBootstrapDataSource")({gqlQuery:i,limit:f,matchStrategy:g,normalize:j,queryVariables:{include_viewer:e,options:b,scale:d("WebPixelRatio").get(),typeahead_context:k,types:a},storageKey:h})}function j(a){a=a==null?void 0:a.comet_composer_typeahead_bootload;if(!c("qex")._("1953917"))return[];return a==null?[]:a.map(function(a){if(a==null)return;return c("FeedCometMentionsTypeaheadEntry").fromGraphql({data:a,type:"MENTION_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("CometTypeaheadGraphQLDataSource",["CometTypeaheadDataProvider","CometTypeaheadDataProviderQueryVariablesBuilder","CometTypeaheadNetworkCacheDataSource","CometTypeaheadQueryDataCacheProvider","cometCacheEntryKeyBuilder","cometTypeaheadDedupEntriesBuilder","cometTypeaheadLabelSuffixBuilder"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.gqlQuery,d=a.normalize,e=a.options,f=a.queryVariablesBuilderFunction;a=a.relayEnvironment;var g=function(){return f};g=new(c("CometTypeaheadDataProviderQueryVariablesBuilder"))(g);e=new(c("CometTypeaheadDataProvider"))({options:e,query:b,queryVariablesBuilder:g,relayEnvironment:a});b=new(c("CometTypeaheadQueryDataCacheProvider"))({dedupe:c("cometTypeaheadDedupEntriesBuilder")(c("cometCacheEntryKeyBuilder")),suffixBuilder:c("cometTypeaheadLabelSuffixBuilder")});this.$1=new(c("CometTypeaheadNetworkCacheDataSource"))(e,b,{normalizeFunc:d})}var b=a.prototype;b.fetchCache=function(a){return this.$1.fetchCache(a)};b.fetchNetwork=function(a){return this.$1.fetchNetwork(a)};return a}();g["default"]=a}),98); __d("useCometTypeaheadGraphQLDataSource",["CometRelay","CometTypeaheadGraphQLDataSource","cometSearchTypeaheadPayloadDecoratorAddLimit","react","useDeepEqualMemo"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo;function a(a){var b=a.gqlQuery,e=a.limit,f=a.normalize,g=a.options,i=a.queryVariablesBuilderFunction,j=h(function(){return c("cometSearchTypeaheadPayloadDecoratorAddLimit")(e)},[e]),k=d("CometRelay").useRelayEnvironment();a=c("useDeepEqualMemo")(i({query:""}));var l=h(function(){return new(c("CometTypeaheadGraphQLDataSource"))({gqlQuery:b,normalize:f,options:g,queryVariablesBuilderFunction:i,relayEnvironment:k})},[a,k]);return h(function(){return{fetchCache:function(a){return j(l.fetchCache(a))},fetchNetwork:function(a){return l.fetchNetwork(a).then(function(a){return j(a)})}}},[l,j])}g["default"]=a}),98); __d("useFeedComposerCometMentionsNetworkDataSource",["FeedCometMentionsTypeaheadEntry","WebPixelRatio","useCometTypeaheadGraphQLDataSource","useFeedComposerCometMentionsNetworkDataSourceQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useFeedComposerCometMentionsNetworkDataSourceQuery.graphql");function a(a){var b=a.includeViewer,e=a.limit,f=a.typeaheadContext,g=a.types;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:e,normalize:j,queryVariablesBuilderFunction:function(a){a=a.query;return{count:e,include_viewer:b,query:a,scale:d("WebPixelRatio").get(),typeahead_context:f,types:g}}})}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("FeedCometMentionsTypeaheadEntry").fromGraphql({data:a,type:"MENTION_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometMentionsNullstateDataSource",["FeedCometMentionsTypeaheadEntry","WebPixelRatio","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("FeedCometMentionsTypeaheadEntry").fromGraphql({data:a,type:"MENTION_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometMentionsNullstateDataSourceNoop",[],(function(a,b,c,d,e,f){"use strict";function a(a){return null}f["default"]=a}),66); __d("cometSearchMentionsPayloadDecoratorAddSeeAll",["cometTypeaheadMemoizeEntryKey","orEmptyArray"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.getSeeAllEntry,d=a.position;return function(a){var e=a.entries,f=a.params.query;e=c("orEmptyArray")(e);f=c("cometTypeaheadMemoizeEntryKey")(f+"-see_all");f=b({data:{key:f,metadataType:"SEE_ALL"},type:"METADATA"});var g=[];switch(d){case"bottom":g=[].concat(e,[f]);break;case"top":g=[f].concat(e);break}return babelHelpers["extends"]({},a,{entries:g})}}g["default"]=a}),98); __d("useCometMentionsDataSourceResolverConfig",["react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useLayoutEffect,j=b.useMemo;function a(a,b){var c=h(function(){a.forEach(function(a){a=a.dataSource;a.bootstrap()})},[a]);i(function(){if(!b)return;c()},[b,c]);return j(function(){var b=new Map();return{bootstrap:c,resolver:function(c){var d={dataSource:null,searchResult:null};if(c==null)return d;var e=b.get(c);if(e!=null)return e;for(var e=0;e=this.$3||this.$4==null)return b;b=this.$4.fetchCache(a);a=b.entries;b=b.params;d=c("cometTypeaheadDedupEntriesBuilder")(c("cometDataEntryKeyBuilder"))(c("orEmptyArray")(d),c("orEmptyArray")(a));return{entries:d,params:b}};d.fetchNetwork=function(a){var d=a.query;if(this.$5!=null&&d==="")return this.$5.fetchNetwork(a);if(d==="")return b("Promise").resolve({entries:[],params:a});d=this.$2;if(d==null&&this.$4==null)return b("Promise").resolve({entries:[],params:a});if(d==null)return this.$4!=null?this.$4.fetchNetwork(a):b("Promise").resolve({entries:[],params:a});var e=d.fetchCache(a);return this.$4==null?b("Promise").resolve(e):this.$4.fetchNetwork(a).then(function(a){var b=e.entries,d=a.entries;a=a.params;b=c("cometTypeaheadDedupEntriesBuilder")(c("cometDataEntryKeyBuilder"))(c("orEmptyArray")(b),c("orEmptyArray")(d));return{entries:b,params:a}})};return a}();function i(a){switch(a.type){case"group_rules_mentions_intentful_datasource_cache_key":case"groups_mentions_intentful_datasource_cache_key":case"groups_mentions_non_intentful_datasource_cache_key":return a.type+"-"+a.groupID;default:return String(a.type)}}g["default"]=a}),98); __d("useCometTypeaheadCompositeDataSource",["CometTypeaheadCompositeDataSource","cometSearchTypeaheadPayloadDecoratorAddLimit","cometTypeaheadFetchPayloadDecorate","orEmptyArray","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useMemo;function a(a){var b=a.bootstrapDataSource,d=a.cacheKey_SEARCH_ONLY,e=a.limit,f=a.networkDataSource,g=a.nullstateDataSource,j=a.payloadDecorators,k=h(function(a){return c("cometTypeaheadFetchPayloadDecorate")(a,[].concat(c("orEmptyArray")(j),[c("cometSearchTypeaheadPayloadDecoratorAddLimit")(e)]))},[e,j]),l=i(function(){return{bootstrapDataSource:b,limit:e,networkDataSource:f,nullstateDataSource:g}},[b,e,f,g]),m=i(function(){return d!=null?c("CometTypeaheadCompositeDataSource").createOrGetCached(babelHelpers["extends"]({},l,{cacheKey_SEARCH_ONLY:d})):new(c("CometTypeaheadCompositeDataSource"))(l)},[d,l]);return i(function(){return{bootstrap:function(){return m.bootstrap()},fetchCache:function(a){return k(m.fetchCache(a))},fetchNetwork:function(a){return m.fetchNetwork(a).then(function(a){return k(a)})}}},[m,k])}g["default"]=a}),98); __d("useFeedComposerCometMentionsDataSourceResolverConfig",["CometTypeaheadBootstrapDataProviderStorageKey","FeedCometMentionsTypeaheadEntry","MentionsCommonWordsBlocklist","cometSearchMentionsPayloadDecoratorAddSeeAll","cr:1916546","createCometAtSignComposerMentionsMatchStrategy","createCometMentionsNameMatchStrategy","gkx","qex","react","useCometMentionsDataSourceResolverConfig","useCometTypeaheadCompositeDataSource","useFeedComposerCometMentionsBootloadDataSource","useFeedComposerCometMentionsNetworkDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo,i=c("qex")._("1916547"),j=c("qex")._("220");function a(a){var b=a.enableMentionsSeeMoreDecorator,e=a.limit;a=a.shouldBootstrapOnLayoutEffect;var f=k({bootstrapOptions:{includeViewer:!0,typeaheadContext:"mentions",types:["USER","GROUP","EVENT","PAGE"]},cacheKey_SEARCH_ONLY:{type:"feed_mentions_intentful_datasource_cache_key"},enableMentionsSeeMoreDecorator:b,limit:e,networkOptions:{includeViewer:!0,typeaheadContext:"mentions",types:["user","group","event","page"]}}),g=c("useCometTypeaheadCompositeDataSource")({bootstrapDataSource:c("useFeedComposerCometMentionsBootloadDataSource")({firstDegreeFinderOptions:["FRIENDS_ONLY"],includeViewer:!0,limit:Math.floor(e/2),matchStrategy:"token",storageKey:c("gkx")("1864085")?d("CometTypeaheadBootstrapDataProviderStorageKey").StorageKey.FeedComposerMentionsNonIntentfulMentionsBootstrap:null,typeaheadContext:"mentions",types:["USER"]}),cacheKey_SEARCH_ONLY:{type:"feed_mentions_non_intentful_datasource_cache_key"},limit:e});b=h(function(){var a=[{dataSource:f,matchStrategy:c("createCometAtSignComposerMentionsMatchStrategy")({minMatchLength:i===!0?0:1})},{dataSource:g,matchStrategy:c("createCometMentionsNameMatchStrategy")({commonWordsBlocklist:c("MentionsCommonWordsBlocklist").wordList,minMatchLength:3,nameCase:"capitalized"})}];j===!0&&a.push({dataSource:g,matchStrategy:c("createCometMentionsNameMatchStrategy")({commonWordsBlocklist:c("MentionsCommonWordsBlocklist").wordList,minMatchLength:4,nameCase:"lower-case"})});return a},[f,g]);return c("useCometMentionsDataSourceResolverConfig")(b,a)}function k(a){var e=a.bootstrapOptions,f=a.cacheKey_SEARCH_ONLY,g=a.enableMentionsSeeMoreDecorator,h=a.limit;a=a.networkOptions;var i=b("cr:1916546")({limit:h});return c("useCometTypeaheadCompositeDataSource")({bootstrapDataSource:c("useFeedComposerCometMentionsBootloadDataSource")(babelHelpers["extends"]({limit:Math.floor(h/2)},e,{storageKey:c("gkx")("1864085")?d("CometTypeaheadBootstrapDataProviderStorageKey").StorageKey.FeedComposerMentionsIntentfulMentionsBootstrap:null})),cacheKey_SEARCH_ONLY:f,limit:h,networkDataSource:c("useFeedComposerCometMentionsNetworkDataSource")(babelHelpers["extends"]({limit:h},a)),nullstateDataSource:i!=null?i:void 0,payloadDecorators:g?[c("cometSearchMentionsPayloadDecoratorAddSeeAll")({getSeeAllEntry:function(a){return new(c("FeedCometMentionsTypeaheadEntry"))(a)},position:"bottom"})]:void 0})}g["default"]=a}),98); __d("CometSearchMentionsBaseViewItem.react",["CometTypeaheadViewItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.onPressEntryIn;a.queryString;a=babelHelpers.objectWithoutPropertiesLoose(a,["onPressEntryIn","queryString"]);var d=function(a,c){c.preventDefault(),b&&b(a,c)};return h.jsx(c("CometTypeaheadViewItem.react"),babelHelpers["extends"]({},a,{onPressEntryIn:d}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerMentionsSeeAllListItem.react",["fbt","CometSearchMentionsBaseViewItem.react","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){return i.jsx(c("CometSearchMentionsBaseViewItem.react"),babelHelpers["extends"]({},a,{children:i.jsx("div",{className:"rbrg37tu bl38xub0 j83agx80 bp9cbjyn",children:i.jsx("div",{className:"g0qnabr5 ltmttdrg stjgntxs ni8dbmo4 ozuftl9m buofh1pr",children:i.jsx("div",{className:"tvmbv18p aahdfvyu j83agx80",children:i.jsx("div",{className:"j83agx80 bp9cbjyn",children:i.jsx(c("TetraText.react"),{color:"blueLink",type:"bodyLink3",children:h._(/*FBT_CALL*/"Mencionar outras pessoas"/*FBT_CALL*/)})})})})})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerMentionsTypeheadListItem.react",["fbt","ix","CometImageIcon_DEPRECATED.react","CometProfileVerificationBadge.react","CometSearchMentionsBaseViewItem.react","TetraIcon.react","TetraText.react","fbicon","react","recoverableViolation","stylex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k={container:{paddingStart:"qnrpqo6b"},invitedName:{alignItems:"bp9cbjyn",maxWidth:"p4dyshbo"},invitedVerifiedName:{alignItems:"bp9cbjyn",maxWidth:"nqmqzb3c"},name:{alignItems:"bp9cbjyn",display:"j83agx80"},nameBadge:{height:"cyypbtt7"},nameDivider:{width:"loos5mxf"},photo:{height:"qypqp5cg",width:"q676j6op"},root:{alignItems:"bp9cbjyn",display:"j83agx80",maxWidth:"bl38xub0",minWidth:"rbrg37tu"},subText:{marginBottom:"tvmbv18p"},text:{flexGrow:"buofh1pr",marginStart:"ozuftl9m",overflowX:"ni8dbmo4",overflowY:"stjgntxs",textOverflow:"ltmttdrg",whiteSpace:"g0qnabr5"},textDivider:{height:"t6na6p9t"},textHeadline:{display:"j83agx80",marginTop:"aahdfvyu",marginBottom:"tvmbv18p"}};function a(a){var b=a.entry;a=babelHelpers.objectWithoutPropertiesLoose(a,["entry"]);var e=b.getRawData();if(e==null)return null;e=b.getLabel();var f=b.getPhotoURI(),g=b.getIsExternal(),l=b.getIsVerified(),m=a.addOn,n=k.name;m!=null&&(n=l?k.invitedVerifiedName:k.invitedName);if(f==null){c("recoverableViolation")("No profile picture found for mentions entry","comet_composer");return null}return j.jsx(c("CometSearchMentionsBaseViewItem.react"),babelHelpers["extends"]({},a,{entry:b,testid:void 0,children:j.jsxs("div",{className:c("stylex")(k.root),children:[j.jsx("div",{className:c("stylex")(k.photo),children:j.jsx(c("CometImageIcon_DEPRECATED.react"),{size:40,src:f,style:"circle"})}),j.jsxs("div",{className:c("stylex")(k.text),children:[j.jsxs("div",{className:c("stylex")(k.textHeadline),children:[j.jsx("div",{className:c("stylex")(n),children:j.jsx(c("TetraText.react"),{numberOfLines:1,type:"headlineEmphasized4",children:e})}),l&&j.jsxs(j.Fragment,{children:[j.jsx("div",{className:c("stylex")(k.nameDivider)}),j.jsx("div",{className:c("stylex")(k.nameBadge),children:j.jsx(c("CometProfileVerificationBadge.react"),{profileID:b.getKey(),size:"small"})}),j.jsx("div",{className:c("stylex")(k.nameDivider)})]}),g?j.jsx("span",{className:c("stylex")(k.container),children:j.jsx(c("TetraIcon.react"),{alt:h._(/*FBT_CALL*/"N\u00e3o faz parte da sua empresa"/*FBT_CALL*/),color:"primary",icon:d("fbicon")._(i("785426"),12)})}):null]}),b.getSubtext()!=null&&j.jsxs("div",{className:c("stylex")(k.subText),children:[j.jsx("div",{className:c("stylex")(k.textDivider)}),j.jsx(c("TetraText.react"),{numberOfLines:1,type:"meta3",children:b.getSubtext()})]})]}),j.jsx("div",{children:m})]})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerMentionsTypeaheadListItemResolver.react",["CometComposerMentionsSeeAllListItem.react","CometComposerMentionsTypeheadListItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.entry;a=babelHelpers.objectWithoutPropertiesLoose(a,["entry"]);if(b.getType()==="METADATA")return h.jsx(c("CometComposerMentionsSeeAllListItem.react"),babelHelpers["extends"]({entry:b},a));else return h.jsx(c("CometComposerMentionsTypeheadListItem.react"),babelHelpers["extends"]({entry:b},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMediaViewerMentionsTypeaheadEmptyState.react",["fbt","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(){return i.jsx("div",{className:"taijpn5t tv7at329 j83agx80 bp9cbjyn",children:i.jsx(c("TetraText.react"),{color:"tertiary",type:"body2",children:h._(/*FBT_CALL*/"Nenhuma pessoa encontrada"/*FBT_CALL*/)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTypeaheadViewListStrategy.react",["CometTypeaheadViewList.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.ariaProps,d=a.entries;a.extraViewProps;var e=a.highlightedEntry;a.isLoading;a.onAbandonTypeahead_DO_NOT_USE;var f=a.viewItemStrategyRenderer,g=babelHelpers.objectWithoutPropertiesLoose(a,["ariaProps","entries","extraViewProps","highlightedEntry","isLoading","onAbandonTypeahead_DO_NOT_USE","viewItemStrategyRenderer"]);return h.jsx(c("CometTypeaheadViewList.react"),{ariaProps:b,entries:d,highlightedEntry:e,testid:void 0,children:function(a){var b=a.entry,c=a.isActive;a=a.itemRole;return h.createElement(f,babelHelpers["extends"]({},g,{entry:b,isActive:c,key:b.getKey(),role:a}))}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometSearchTypeaheadBaseLayoutMentionsStrategy.react",["CometMediaViewerMentionsTypeaheadEmptyState.react","CometTypeaheadViewListStrategy.react","react","useCometTypeaheadLayoutContextualStrategyARIAProps"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useEffect;function a(a){var b=a.isLoading,d=a.onAriaChange;a=babelHelpers.objectWithoutPropertiesLoose(a,["isLoading","onAriaChange"]);var e=c("useCometTypeaheadLayoutContextualStrategyARIAProps")({activeEntries:a.entries,helperText:"",highlightedEntry:a.highlightedEntry,inputLabel:"",isOpened:!0,viewRole:"listbox"}),f=e.ariaInputProps;e=e.ariaViewProps;i(function(){return d(f["aria-activedescendant"],f["aria-controls"])},[f,d]);return h.jsxs("div",{children:[h.jsx(c("CometTypeaheadViewListStrategy.react"),babelHelpers["extends"]({},a,{ariaProps:e,isLoading:!1})),!b&&a.entries.length===0?h.jsx(c("CometMediaViewerMentionsTypeaheadEmptyState.react"),{}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMentions.react",["CometContextualLayer.react","CometPopover.react","CometSearchTypeaheadBaseLayoutMentionsStrategy.react","cometTypeaheadKeyboardNavigationUtils","react","useCometTypeaheadDataSourceFetch"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useEffect,k=b.useImperativeHandle,l=b.useRef,m=b.useState;function a(a,b){var e=a.context,f=a.dataSource,g=a.editorHasFocus,o=a.loggingProvider,p=a.onAriaChange,q=a.onEntriesUpdated,r=a.onHighlightEntry,s=a.onSelectedEntry,t=a.onVisibilityChange,u=a.position;u=u===void 0?"above":u;var v=a.queryString,w=a.viewItemStrategyRenderer;a=babelHelpers.objectWithoutPropertiesLoose(a,["context","dataSource","editorHasFocus","loggingProvider","onAriaChange","onEntriesUpdated","onHighlightEntry","onSelectedEntry","onVisibilityChange","position","queryString","viewItemStrategyRenderer"]);var x=m([]),y=x[0],z=x[1];x=m(null);var A=x[0],B=x[1],C=l(null),D=l(v),E=l(y);j(function(){E.current=y,D.current=v},[y,v]);j(function(){return function(){o.isSessionActive()&&o.maybeEndSession(D.current,E.current)}},[]);var F=i(function(a){r&&r(a),B(a)},[r]);k(b,function(){return{getViewRef:function(){return C},hasSelection:function(){return n(y,A)},moveDown:function(){d("cometTypeaheadKeyboardNavigationUtils").moveDown(y,A!=null?A.getKey():null,F)},moveUp:function(){d("cometTypeaheadKeyboardNavigationUtils").moveUp(y,A!=null?A.getKey():null,F)},select:function(){s&&A!=null&&n(y,A)&&(o.isSessionActive()&&o.maybeEndSession(v,y,A),s(A))}}},[y,A,F,s,o,v]);x=c("useCometTypeaheadDataSourceFetch")({dataSource:f,onResolvePayload:i(function(a){a=a.entries;z(a);q&&q(a.length>0)},[q])});x[0];var G=x[1];j(function(){G({query:v})},[G,v]);b=i(function(a){s&&n(y,a)&&(o.isSessionActive()&&o.maybeEndSession(v,y,a),s(a))},[s,y,o,v]);j(function(){!n(y,A)&&y.length>0&&F(y[0])},[A,F,y]);var H=l(!1);f=i(function(a){var b=H.current;b!==a&&(H.current=a,t(a),a?o.startSession(v):o.isSessionActive()&&o.maybeEndSession(v,y))},[y,t,o,v]);if(!g||y.length===0){f(!1);return null}f(!0);return h.jsx(c("CometContextualLayer.react"),{align:"start",context_DEPRECATED:e,position:u,children:h.jsx(c("CometPopover.react"),{onBlur:a.onBlur,onFocus:a.onFocus,ref:C,children:h.jsx(c("CometSearchTypeaheadBaseLayoutMentionsStrategy.react"),{ariaProps:{role:"listbox"},entries:y,highlightedEntry:A,isLoading:!1,onAriaChange:p,onHighlightEntry:F,onPressEntry:b,onPressEntryIn:b,queryString:v,viewItemStrategyRenderer:w})})})}a.displayName=a.name+" [from "+f.id+"]";function n(a,b){if(b==null)return!1;var c=b.getKey();return a.find(function(a){return a.getKey()===c})!=null}e=h.forwardRef(a);g["default"]=e}),98); __d("MentionsSessionEndWithoutClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("445");c=b("FalcoLoggerInternal").create("mentions_session_end_without_click",a);e.exports=c}),null); __d("MentionsSessionStartFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("446");c=b("FalcoLoggerInternal").create("mentions_session_start",a);e.exports=c}),null); __d("MentionsSuggestionClickedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("447");c=b("FalcoLoggerInternal").create("mentions_suggestion_clicked",a);e.exports=c}),null); __d("CometMentionsLoggingProvider",["MentionsSessionEndWithoutClickFalcoEvent","MentionsSessionStartFalcoEvent","MentionsSuggestionClickedFalcoEvent","guid","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.$2=!1,this.$3=null,this.$1=a}var b=a.prototype;b.getSessionID=function(){this.$3==null&&c("recoverableViolation")("Mentions logging sessionID does not exist.","search");return this.$3};b.isSessionActive=function(){return this.$2};b.startSession=function(a){var b=this;if(a==null)return;var d=c("guid")();this.$3=d;this.$2=!0;c("MentionsSessionStartFalcoEvent").log(function(){return babelHelpers["extends"]({},b.$1,{session_id:d,typed_query:a})})};b.maybeEndSession=function(a,b,d){if(a==null)return;var e=b!=null?JSON.stringify(b.map(function(a){return{id:a.getKey()}})):null,f=babelHelpers["extends"]({},this.$1,{serialized_candidate_suggestions:e,session_id:this.getSessionID(),typed_query:a});if(d!=null){var g=d.getKey(),h=(e=b==null?void 0:b.findIndex(function(a){return a.getKey()===g}))!=null?e:null;c("MentionsSuggestionClickedFalcoEvent").log(function(){return babelHelpers["extends"]({},f,{selected_position:String(h),selected_result_display_text:d.getLabel(),selected_result_id:d.getKey()})})}else c("MentionsSessionEndWithoutClickFalcoEvent").log(function(){return f});this.$3=null;this.$2=!1};return a}();g["default"]=a}),98); __d("useCometMentionsLoggingProvider",["CometMentionsLoggingProvider","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("CometMentionsLoggingProvider"))(a)},[a])}g["default"]=a}),98); __d("CometTypeaheadDataEntry",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=a}var b=a.prototype;b.getKey=function(){return this.$1.key};b.getLabel=function(){return this.$1.label};b.getRawData=function(){return this.$1.rawData};return a}();f["default"]=a}),66); __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); __d("MWChatConfirmTabCloseDialog.bs",["fbt"],(function(a,b,c,d,e,f,g){"use strict";a={body:g._(/*FBT_CALL*/"Tem certeza de que deseja fechar essa janela do bate-papo?"/*FBT_CALL*/),confirm:g._(/*FBT_CALL*/"OK"/*FBT_CALL*/),title:g._(/*FBT_CALL*/"Voc\u00ea n\u00e3o enviou a mensagem."/*FBT_CALL*/)};f.content=a}),null); __d("LSAddParticipantIdToGroupThread",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(d){return b.seq([function(d){return b.sp("162",a[1],a[0]).then(function(a){return a=a,c[0]=a[0],a})},function(d){return b.ftr(b.db.table(14).fetch([[[a[0],a[1]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[1])&&b.i64.gt(c.j,a[9])}).next().then(function(d){var e=d.done;d.value;return e?b.db.table(14).put({a:a[0],b:a[1],c:a[2],k:a[3],d:a[4],e:a[5],h:a[10],f:a[6],l:a[11],g:a[7],j:a[9],i:c[0]}):0})}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSApplyAdminMessageCTA",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(d){return b.seq([function(a){return b.sp("423").then(function(a){return a=a,c[0]=a[0],a})},function(d){return b.db.table(27).put({a:a[0],b:a[2],c:c[0],d:a[1],e:a[5],f:a[6],g:a[7],h:a[8],i:a[3],j:a[9],k:a[10],l:a[11],m:a[12]})},function(d){return b.fe(b.ftr(b.db.table(12).fetch([[[a[0],a[1],a[2]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[1])&&c.e===a[2]}),function(b){var d=b.update;b.item;return d({K:c[0],L:a[3],M:a[4]})})}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSBeginHandlingPendingTasksForQueue",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(f){return b.seq([function(d){return b.ftr(b.db.table(3).fetch([[[a[0]]]]),function(c){return b.i64.neq(c.c,e)&&c.a===a[0]}).next().then(function(a,b){b=a.done;a=a.value;return b?c[0]=!1:(a.item,c[0]=!0)})},function(d){return c[2]=new b.Map(),c[2].set("queue_name",a[0]),c[2].set("next_sync_ms",e),c[2].set("work_item_type",[0,4]),c[2].set("network_payload",e),c[2].set("http_url_override",e),c[2].set("skip_realtime_gateway",!1),c[3]=c[2],c[0]?b.resolve():b.seq([function(d){return b.islc(b.ftr(b.db.table(2).fetch(),function(b){return b.b===a[0]}),0,b.i64.to_float([0,1])).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=["",[-1,4294967295],[0,0],[-1,4294967295],e,e],c[4]=d[0],c[5]=d[1],c[6]=d[2],c[7]=d[3],c[8]=d[4],c[9]=d[5],d):(b=a.item,d=[b.b,b.h,b.k,b.g,b.d,b.i],c[4]=d[0],c[5]=d[1],c[6]=d[2],c[7]=d[3],c[8]=d[4],c[9]=d[5],d)})},function(d){return b.db.table(3).fetch([[[a[0]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[11]=[0,0]:(b=a.item,c[11]=b.g)})},function(d){return c[16]=b.i64.sub(c[5],b.i64.of_float(Date.now())),b.i64.le(c[16],[0,0])?(b.i64.eq(c[7],[0,0])||a[1]?c[18]=[0,0]:(b.i64.gt(c[7],[0,7])?c[21]=b.i64.sub(c[7],[0,7]):c[21]=c[7],c[22]=b.i64.sub(c[21],[0,1]),c[23]=b.i64.mul(b.i64.lsl_([0,1],b.i64.to_int32(b.i64.lt(c[22],[0,7])?c[22]:[0,7])),[0,500]),c[18]=b.i64.lt(c[23],[0,3e4])?c[23]:[0,3e4]),c[19]=b.i64.sub(b.i64.add(c[11],c[18]),b.i64.of_float(Date.now())),c[14]=b.i64.gt(c[19],[0,0])?c[19]:[0,0]):c[14]=c[16],b.i64.neq(c[14],[0,0])?b.resolve((c[17]=new b.Map(),c[17].set("queue_name",a[0]),c[17].set("next_sync_ms",c[14]),c[17].set("work_item_type",[0,3]),c[17].set("network_payload",e),c[17].set("http_url_override",e),c[17].set("skip_realtime_gateway",!1),c[3]=c[17])):b.seq([function(a){return b.i64.neq(c[6],[0,0])||c[8]==="16"||c[8]==="4"?b.resolve((a=[c[4],e,[0,2],e,e,!1],c[18]=a[0],c[19]=a[1],c[20]=a[2],c[21]=a[3],c[22]=a[4],c[23]=a[5],a)):b.seq([function(a){return c[25]=b.createArray(),c[26]=!0,b.islc(b.ftr(b.db.table(2).fetch(),function(a){return a.b===c[4]}),0,b.i64.to_float([0,1])).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=["",[-1,4294967295],[0,0],[-1,4294967295],e,e],c[27]=d[0],c[28]=d[1],c[29]=d[2],c[30]=d[3],c[31]=d[4],c[32]=d[5],d):(b=a.item,d=[b.b,b.h,b.k,b.g,b.d,b.i],c[27]=d[0],c[28]=d[1],c[29]=d[2],c[30]=d[3],c[31]=d[4],c[32]=d[5],d)})},function(a){return b.ftr(b.db.table(2).fetch(),function(a){return a.b===c[4]}).next().then(function(a,b){b=a.done;a=a.value;return b?c[34]=!0:(a.item,c[34]=!0)})},function(a){return b.fe(b.ftr(b.db.table(2).fetch(),function(a){return a.b===c[4]}),function(a){var d=a.item;return c[46]=d.a,c[44]=d.d,c[47]=d.g,c[45]=d.j,c[26]=d.i===c[32]&&!0===c[34]&&c[26],c[26]?b.seq([function(a){return c[44]===e?b.seq([function(a){return b.fe(b.ftr(b.db.table(2).fetch(),function(a){return b.i64.eq(a.a,c[46])}),function(a){return a["delete"]()})},function(a){return c[49]=e}]):b.seq([function(a){return b.i64.neq(c[45],e)?c[56]=b.i64.ge(b.i64.of_float(Date.now()),c[45]):c[56]=!1,c[56]?b.seq([function(a){return b.fe(b.ftr(b.db.table(2).fetch(),function(a){return b.i64.eq(a.a,c[46])}),function(a){return a["delete"]()})},function(a){return c[58]=e}]):b.seq([function(a){return b.seq([function(a){return c[44]==="46"?b.seq([function(a){return b.sp("129",c[46]).then(function(a){return a=a,c[69]=a[0],c[70]=a[1],a})},function(a){return a=[c[69],b.i64.to_string(c[70])],c[64]=a[0],c[65]=a[1],a}]):b.seq([function(a){return c[44]==="144"?b.seq([function(a){return b.sp("164",c[46]).then(function(a){return a=a,c[72]=a[0],c[73]=a[1],a})},function(a){return a=[c[72],b.i64.to_string(c[73])],c[70]=a[0],c[71]=a[1],a}]):b.seq([function(a){return c[44]==="146"?b.seq([function(a){return b.sp("59",c[46]).then(function(a){return a=a,c[75]=a[0],c[76]=a[1],a})},function(a){return a=[c[75],b.i64.to_string(c[76])],c[73]=a[0],c[74]=a[1],a}]):b.seq([function(a){return c[44]==="32"?b.seq([function(a){return b.seq([function(a){return b.db.table(32).fetch([[[c[46]]]]).next().then(function(a,d){var f=a.done;a=a.value;return f?(c[83]=b.createArray(),c[84]=(c[83].push("taskSerializerUpdateThreadName: Task ID not found"),c[83]),c[85]=(c[83].push(c[46]),c[83]),c[86]=b.toJSON(c[83]),b.log(c[86],[0,3]),f=[e,e],c[80]=f[0],c[81]=f[1],f):(d=a.item,b.seq([function(a){return c[86]=d.b,b.db.table(9).fetch([[[c[86]]]]).next().then(function(d,f){var a=d.done;d=d.value;return a?(c[87]=b.createArray(),c[88]=(c[87].push("taskSerializerUpdateThreadName: Thread not found"),c[87]),c[89]=(c[87].push(c[86]),c[87]),c[90]=b.toJSON(c[87]),b.log(c[90],[0,3]),a=[e,e],c[83]=a[0],c[84]=a[1],a):(f=d.item,c[87]=new b.Map(),c[87].set("thread_key",c[86]),c[87].set("thread_name",f.d==null?"":f.d),c[87].set("sync_group",[0,1]),c[88]=b.toJSON(c[87]),a=[c[88],[0,32]],c[83]=a[0],c[84]=a[1],a)})},function(a){return a=[c[83],c[84]],c[80]=a[0],c[81]=a[1],a}]))})},function(a){return a=[c[80],c[81]],c[78]=a[0],c[79]=a[1],a}])},function(a){return a=[c[78],b.i64.to_string(c[79])],c[76]=a[0],c[77]=a[1],a}]):b.resolve((c[44]==="362"?(b.i64.eq(b.rm,[0,1])?0:b["throw"]("LS:assert is failed. "),a=[e,e],c[81]=a[0],c[82]=a[1],a,a=[c[81],b.i64.to_string(c[82])],c[79]=a[0],c[80]=a[1],a):(a=[d.c,c[44]],c[79]=a[0],c[80]=a[1],a),a=[c[79],c[80]],c[76]=a[0],c[77]=a[1],a))},function(a){return a=[c[76],c[77]],c[73]=a[0],c[74]=a[1],a}])},function(a){return a=[c[73],c[74]],c[70]=a[0],c[71]=a[1],a}])},function(a){return a=[c[70],c[71]],c[64]=a[0],c[65]=a[1],a}])},function(a){return c[34]?(a=[c[64],c[65]],c[67]=a[0],c[68]=a[1],a):(b.i64.eq(b.rm,[0,1])?0:b["throw"]("LS:assert is failed. "),a=[e,e],c[69]=a[0],c[70]=a[1],a,a=[c[69],b.i64.to_string(c[70])],c[67]=a[0],c[68]=a[1],a),a=[c[67],c[68]],c[59]=a[0],c[60]=a[1],a}])},function(a){return c[59]!==e?(c[63]=new b.Map(),c[63].set("label",c[60]),c[63].set("payload",c[59]),c[63].set("queue_name",d.b),c[63].set("task_id",c[46]),c[63].set("failure_count",b.i64.eq(c[47],[0,0])?e:c[47]),c[62]=c[63]):c[62]=e,c[58]=c[62]}])},function(a){return c[49]=c[58]}])},function(a){return c[49]?c[51]=!1:c[51]=!0,c[51]?0:(c[25].push(c[49]),c[25]),c[52]=b.i64.of_int32(c[25].length),c[44]!==e?c[54]=["90","130","153"].includes(c[44]):c[54]=!1,c[26]=!(b.i64.ge(c[52],[0,5])||c[54])}]):b.resolve()})},function(a){return c[36]=b.i64.of_int32(c[25].length),b.i64.eq(c[36],[0,0])?b.resolve((a=[c[4],e,[0,4],e,e,!1],c[38]=a[0],c[39]=a[1],c[40]=a[2],c[41]=a[3],c[42]=a[4],c[43]=a[5],a)):b.seq([function(a){return c[44]=b.i64.random(),c[54]=b.i64.and_(b.i64.or_(b.i64.lsl_(b.i64.of_float(Date.now()),b.i64.to_int32([0,22])),b.i64.and_(c[44],[0,4194303])),[2147483647,4294967295]),b.db.table(3).fetch([[[c[4],[-1,4294967295]]]]).next().then(function(a,d){d=a.done;a=a.value;return d?b.db.table(3).add({b:[-1,4294967295],a:c[4],f:[0,0],e:[0,0],g:b.i64.of_float(Date.now()),c:c[54]}):(a.item,b.fe(b.db.table(3).fetch([[[c[4],[-1,4294967295]]]]),function(a){var d=a.update;a.item;return d({c:c[54],g:b.i64.of_float(Date.now())})}))})},function(a){return b.islc(b.ftr(b.db.table(2).fetch(),function(a){return a.b===c[4]}),0,b.i64.to_float([0,1])).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=["",[-1,4294967295],[0,0],[-1,4294967295],e,e],c[46]=d[0],c[47]=d[1],c[48]=d[2],c[49]=d[3],c[50]=d[4],c[51]=d[5],d):(b=a.item,d=[b.b,b.h,b.k,b.g,b.d,b.i],c[46]=d[0],c[47]=d[1],c[48]=d[2],c[49]=d[3],c[50]=d[4],c[51]=d[5],d)})},function(a){return c[53]=new b.Map(),c[53].set("tasks",c[25]),c[53].set("epoch_id",c[54]),a=[c[4],e,[0,1],c[53],c[51],!(c[51]===e)||b.i64.gt(c[49],[0,7])],c[38]=a[0],c[39]=a[1],c[40]=a[2],c[41]=a[3],c[42]=a[4],c[43]=a[5],a}])},function(a){return a=[c[38],c[39],c[40],c[41],c[42],c[43]],c[18]=a[0],c[19]=a[1],c[20]=a[2],c[21]=a[3],c[22]=a[4],c[23]=a[5],a}])},function(a){return c[24]=new b.Map(),c[24].set("queue_name",c[18]),c[24].set("next_sync_ms",c[19]),c[24].set("work_item_type",c[20]),c[24].set("network_payload",c[21]),c[24].set("http_url_override",c[22]),c[24].set("skip_realtime_gateway",c[23]),c[3]=c[24]}])}])},function(a){return d[0]=c[3]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSBeginHandlingSyncForSyncGroup",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(f){return b.seq([function(d){return b.db.table(1).fetch([[[a[0]]]]).next().then(function(a,d){var f=a.done;a=a.value;return f?c[0]=e:(d=a.item,c[11]=new b.Map(),c[11].set("group_id",d.a),c[11].set("current_cursor",d.b),c[11].set("sync_status",d.c),c[11].set("sync_params",d.d),c[11].set("send_sync_params",d.e),c[11].set("min_time_to_sync_timestamp_ms",d.f),c[11].set("can_ignore_timestamp",d.g),c[11].set("sync_channel",d.n),c[11].set("last_sync_request_timestamp_ms",d.i),c[0]=c[11])})},function(d){return c[0]?c[3]=!1:c[3]=!0,c[3]?b.resolve((d=[a[0],e,[0,4],e,!1],c[5]=d[0],c[6]=d[1],c[7]=d[2],c[8]=d[3],c[9]=d[4],d)):b.seq([function(a){return c[11]=c[0].get("group_id"),c[0],b.ftr(b.db.table(3).fetch(),function(a){return b.i64.neq(a.c,e)&&b.i64.eq(a.b,c[11])}).next().then(function(a,b){b=a.done;a=a.value;return b?c[12]=!1:(a.item,c[12]=!0)})},function(d){return c[12]?b.resolve((c[20]=c[0].get("group_id"),c[0],d=[c[20],e,[0,4],e,!1],c[15]=d[0],c[16]=d[1],c[17]=d[2],c[18]=d[3],c[19]=d[4],d)):b.seq([function(d){return c[32]=b.i64.of_float(Date.now()),c[20]=c[0].get("min_time_to_sync_timestamp_ms"),c[0],c[21]=c[0].get("last_sync_request_timestamp_ms"),c[0],c[22]=c[0].get("can_ignore_timestamp"),c[0],!c[22]&&b.i64.lt(c[32],c[20])?b.resolve(c[24]=b.i64.sub(c[20],c[32])):b.seq([function(d){return a[1]?b.resolve(c[34]=[0,0]):b.seq([function(a){return c[35]=c[0].get("group_id"),c[0],b.db.table(3).fetch([[["",c[35]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[36]=[0,0]:(b=a.item,c[36]=b.f)})},function(a){return c[38]=b.i64.mul(b.i64.sub(b.i64.lsl_([0,1],b.i64.to_int32(b.i64.lt([0,15],c[36])?[0,15]:c[36])),[0,1]),[0,500]),c[39]=b.i64.sub(b.i64.add(c[21]==null?[0,0]:c[21],b.i64.lt(c[38],[0,3e4])?c[38]:[0,3e4]),c[32]),c[34]=b.i64.gt(c[39],[0,0])?c[39]:[0,0]}])},function(a){return c[24]=c[34]}])},function(a){return c[25]=c[0].get("group_id"),c[0],b.i64.gt(c[24],[0,0])?b.seq([function(a){return b.fe(b.ftr(b.db.table(3).fetch(),function(a){return b.i64.eq(a.b,c[25])}),function(a){var c=a.update;a.item;return c({h:b.i64.of_float(Date.now())})})},function(a){return a=[c[25],c[24],[0,3],e,!1],c[27]=a[0],c[28]=a[1],c[29]=a[2],c[30]=a[3],c[31]=a[4],a}]):b.seq([function(a){return b.fe(b.db.table(1).fetch([[[c[25]]]]),function(a){var c=a.update;a.item;return c({i:b.i64.of_float(Date.now())})})},function(a){return b.fe(b.ftr(b.db.table(3).fetch(),function(a){return b.i64.eq(a.b,c[25])}),function(a){var c=a.update;a.item;return c({g:b.i64.of_float(Date.now())})})},function(a){return c[33]=c[0].get("group_id"),c[0],c[34]=b.i64.random(),c[48]=b.i64.and_(b.i64.or_(b.i64.lsl_(b.i64.of_float(Date.now()),b.i64.to_int32([0,22])),b.i64.and_(c[34],[0,4194303])),[2147483647,4294967295]),b.db.table(3).fetch([[["",c[33]]]]).next().then(function(a,d){d=a.done;a=a.value;return d?b.db.table(3).add({b:c[33],a:"",f:[0,0],e:[0,0],g:[0,0],c:c[48]}):(a.item,b.fe(b.db.table(3).fetch([[["",c[33]]]]),function(a){var b=a.update;a.item;return b({c:c[48]})}))})},function(a){return c[36]=c[0].get("group_id"),c[0],b.db.table(3).fetch([[["",c[36]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[37]=[0,0]:(b=a.item,c[37]=b.f)})},function(a){return c[39]=c[0].get("send_sync_params"),c[0],c[40]=c[0].get("sync_params"),c[0],c[41]=c[0].get("current_cursor"),c[0],c[42]=new b.Map(),c[42].set("database",c[36]),c[42].set("version",[-1,4294967295]),c[42].set("epoch_id",c[48]),c[42].set("last_applied_cursor",c[41]),c[42].set("sync_params",c[39]?c[40]:e),c[42].set("failure_count",b.i64.gt(c[37],[0,0])?c[37]:e),c[43]=c[0].get("current_cursor"),c[0],e===c[43]?c[45]=[0,1]:c[45]=[0,2],c[46]=new b.Map(),c[46].set("type",c[45]),c[46].set("request_payload",c[42]),c[47]=c[0].get("sync_channel"),c[0],a=[c[33],e,[0,1],c[46],b.i64.eq(c[47],[0,2])],c[27]=a[0],c[28]=a[1],c[29]=a[2],c[30]=a[3],c[31]=a[4],a}])},function(a){return a=[c[27],c[28],c[29],c[30],c[31]],c[15]=a[0],c[16]=a[1],c[17]=a[2],c[18]=a[3],c[19]=a[4],a}])},function(a){return a=[c[15],c[16],c[17],c[18],c[19]],c[5]=a[0],c[6]=a[1],c[7]=a[2],c[8]=a[3],c[9]=a[4],a}])},function(a){return c[10]=new b.Map(),c[10].set("sync_group_id",c[5]),c[10].set("next_sync_ms",c[6]),c[10].set("work_item_type",c[7]),c[10].set("network_payload",c[8]),c[10].set("skip_realtime_gateway",c[9]),d[0]=c[10]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSClearMessagePlaceholderRange",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.ftr(b.db.table(13).fetch([[[a[0],[0,0]]]]),function(c){return b.i64.eq(c.a,a[0])&&c.c===a[1]&&b.i64.eq([0,0],c.b)&&b.i64.eq([0,0],c.d)}),function(a){return a["delete"]()})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSComputeParticipantCapabilities",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(e){return b.seq([function(a){return b.sp("4").then(function(a){return a=a,c[0]=a[0],a})},function(d){return b.ftr(b.db.table(14).fetch([[[a[1],c[0]]]]),function(d){return b.i64.eq(d.a,a[1])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(d.b,c[0])}).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=[!1,!1],c[1]=d[0],c[2]=d[1],d):(b=a.item,d=[b.f==null?!1:b.f,!1],c[1]=d[0],c[2]=d[1],d)})},function(d){return b.ftr(b.db.table(14).fetch([[[a[1],a[0]]]]),function(c){return b.i64.eq(c.a,a[1])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[0])}).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=[!1,!1],c[4]=d[0],c[5]=d[1],d):(b=a.item,d=[b.f==null?!1:b.f,!1],c[4]=d[0],c[5]=d[1],d)})},function(d){return b.ftr(b.db.table(7).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,1],[0,1])}).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=[[0,1073741823],[0,0],!1],c[7]=d[0],c[8]=d[1],c[9]=d[2],d):(b=a.item,d=[b.G==null?[0,1073741823]:b.G,b.r==null?[0,0]:b.r,b.m==null?!1:b.m],c[7]=d[0],c[8]=d[1],c[9]=d[2],d)})},function(a){return c[12]=b.i64.eq(c[8],[0,4])?c[9]?[0,2612119]:b.i64.or_([0,2612119],b.i64.lsl_([0,1],b.i64.to_int32([0,3]))):c[7],b.sp("4").then(function(a){return a=a,c[11]=a[0],a})},function(d){return c[13]=b.i64.lsl_([0,1],b.i64.to_int32([0,20])),c[15]=c[1]&&!c[4]&&b.i64.neq(c[11],a[0])?c[12]:b.i64.eq(b.i64.and_(c[12],c[13]),[0,0])?c[12]:b.i64.sub(c[12],c[13]),b.sp("4").then(function(a){return a=a,c[14]=a[0],a})},function(d){return c[16]=b.i64.lsl_([0,1],b.i64.to_int32([0,22])),c[20]=c[4]&&c[1]&&b.i64.neq(c[14],a[0])?c[15]:b.i64.eq(b.i64.and_(c[15],c[16]),[0,0])?c[15]:b.i64.sub(c[15],c[16]),c[2]?c[18]=!(c[4]||c[5]):c[18]=!0,b.sp("4").then(function(a){return a=a,c[19]=a[0],a})},function(e){return c[21]=b.i64.lsl_([0,1],b.i64.to_int32([0,21])),d[0]=(c[1]||c[2])&&c[18]&&b.i64.neq(a[0],c[19])?c[20]:b.i64.eq(b.i64.and_(c[20],c[21]),[0,0])?c[20]:b.i64.sub(c[20],c[21])}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSDeletePollAttachment",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.ftr(b.db.table(38).fetch([[[a[2]]]]),function(c){return b.i64.eq(c.a,a[2])&&b.i64.eq(c.b,a[0])}).next().then(function(c,e){var f=c.done;c=c.value;return f?b.fe(b.ftr(b.db.table(16).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&c.e===a[1]&&(b.i64.eq(c.f,[0,7])||b.i64.eq(c.f,[0,0]))&&c.j===!1&&c.l===!0&&b.i64.eq(c.bV,d)}),function(a){return a["delete"]()}):(e=c.item,b.fe(b.ftr(b.db.table(16).fetch([[[a[0],e.c,a[1]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&c.c===e.c&&c.e===a[1]&&(b.i64.eq(c.f,[0,7])||b.i64.eq(c.f,[0,0]))&&c.j===!1&&c.l===!0&&b.i64.eq(c.bV,d)}),function(a){return a["delete"]()}))})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSDeleteThenInsertContact",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.seq([function(d){return b.i64.eq(a[23],[0,39423])?c[1]=[0,1]:(b.i64.eq(a[23],[0,14342874])?c[3]=[0,2]:c[3]=e,c[1]=c[3]),b.ftr(b.db.table(7).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,1],[0,1])&&b.i64.gt(c.J,a[21])}).next().then(function(d){var e=d.done;d.value;return e?b.db.table(7).put({a:a[0],b:a[2],c:a[3],d:a[4],e:a[5],f:a[6],g:a[7],h:a[9],K:a[41],i:a[10],j:a[33],k:a[11],l:a[12],m:a[35],n:a[14],o:a[17],p:a[18],q:a[19],r:a[20],J:a[21],s:a[22],t:a[23],u:a[24],v:a[25],w:a[26],z:a[27],x:a[28],y:a[29],A:a[30],B:a[31],C:a[32],E:a[34],F:a[36],G:a[37],Q:a[38],D:c[1],H:a[39],I:a[40],N:a[43],O:[0,0],P:a[44]}):0})},function(c){return b.sp("66",a[0],a[2],a[3],a[4],!1,!0)}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSDeleteThenInsertMessageRequest",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(34).put({a:a[0],b:a[2]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSDeleteThenInsertRankingRequest",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(135).put({a:a[0],b:a[1]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSDeleteThenInsertRankingScore",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(134).put({a:a[0],d:a[1],b:a[2],c:a[3],e:a[4]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSDeleteThenInsertThread",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.db.table(9).fetch([[[a[7]]]]).next().then(function(d,f){var g=d.done;d=d.value;return g?b.db.table(9).put({a:a[7],j:a[1],Z:a[6],b:a[8],c:a[9],e:a[10],u:a[25],A:a[31],i:a[0],m:a[2],d:a[3],f:a[4],t:a[5],g:a[11],h:a[12],k:a[13],l:a[14],bc:a[15],n:a[16],o:a[17],p:a[20],q:a[21],r:a[22],s:a[23],v:a[26],w:a[27],x:a[28],y:a[29],z:a[30],B:a[32],C:a[33],D:a[34],E:a[35],F:a[36],G:a[37],H:a[38],I:a[39],J:a[40],K:a[41],L:a[42],M:a[43],N:a[44],O:a[45],P:a[46],Q:a[47],R:a[48],S:a[49],T:a[50],U:a[51],V:a[52],W:a[53],X:a[54],Y:a[55],ba:a[59]}):(f=d.item,c[1]=f.i,c[3]=f.A,c[2]=f.V,c[4]=f.W,b.i64.le(f.Z,a[6])?b.i64.gt(c[1],a[0])&&b.i64.neq(c[2],e)?(b.i64.eq(a[31],[-1,4294967286])&&b.i64.eq(c[3],[0,0])?(g=[c[3],f.e],c[7]=g[0],c[8]=g[1],g):(d=[a[31],a[10]],c[7]=d[0],c[8]=d[1],d),b.db.table(9).put({a:a[7],j:f.j,Z:a[6],b:a[8],c:a[9],e:c[8],u:a[25],A:c[7],i:c[1],m:a[2],d:a[3],f:a[4],t:a[5],g:a[11],h:a[12],k:a[13],l:a[14],bc:a[15],n:a[16],o:a[17],p:a[20],q:a[21],r:a[22],s:a[23],v:a[26],w:a[27],x:a[28],y:a[29],z:a[30],B:a[32],C:a[33],D:a[34],E:a[35],F:a[36],G:a[37],H:a[38],I:a[39],J:a[40],K:a[41],L:a[42],M:a[43],N:a[44],O:a[45],P:a[46],Q:a[47],R:a[48],S:a[49],T:a[50],U:a[51],V:c[2],W:c[4],X:a[54],Y:a[55],ba:a[59]})):b.db.table(9).put({a:a[7],j:a[1],Z:a[6],b:a[8],c:a[9],e:a[10],u:a[25],A:a[31],i:a[0],m:a[2],d:a[3],f:a[4],t:a[5],g:a[11],h:a[12],k:a[13],l:a[14],bc:a[15],n:a[16],o:a[17],p:a[20],q:a[21],r:a[22],s:a[23],v:a[26],w:a[27],x:a[28],y:a[29],z:a[30],B:a[32],C:a[33],D:a[34],E:a[35],F:a[36],G:a[37],H:a[38],I:a[39],J:a[40],K:a[41],L:a[42],M:a[43],N:a[44],O:a[45],P:a[46],Q:a[47],R:a[48],S:a[49],T:a[50],U:a[51],V:c[2],W:c[4],X:a[54],Y:a[55],ba:a[59]}):b.resolve())})},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSExecuteFinallyBlockForSyncTransaction",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.fe(b.ftr(b.db.table(3).fetch([[["",a[1]]]]),function(c){return c.a===""&&b.i64.eq(c.b,a[1])&&b.i64.eq(c.c,a[2])}),function(c){var e=c.update;c=c.item;return e({c:!a[0]&&b.i64.eq(c.f,[-1,4294967295])?c.c:d,f:b.i64.eq(c.f,[-1,4294967295])?[0,0]:b.i64.add(c.f,[0,1])})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSExecuteFirstBlockForSyncTransaction",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(e){return b.seq([function(d){return b.ftr(b.db.table(3).fetch([[["",a[0]]]]),function(c){return c.a===""&&b.i64.eq(c.b,a[0])&&b.i64.eq(c.c,a[1])}).next().then(function(d,e){e=d.done;d=d.value;return e?(b.log(["epoch mismatch",",",b.i64.to_string(a[0])].join(""),[0,3]),c[0]=!1):(d.item,b.seq([function(d){return b.ftr(b.db.table(1).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&c.b===a[2]}).next().then(function(d,e){e=d.done;d=d.value;return e?(b.log(["cursor mismatch",",",b.i64.to_string(a[0])].join(""),[0,3]),c[2]=!1):(d.item,b.seq([function(c){return b.fe(b.db.table(1).fetch([[[a[0]]]]),function(c){var d=c.update;c.item;return d({b:a[3],c:a[4],e:a[5],f:b.i64.eq(a[6],[0,0])?[0,0]:b.i64.add(b.i64.of_float(Date.now()),a[6]),g:a[7],n:a[8],k:b.i64.of_float(Date.now())})})},function(c){return b.fe(b.db.table(3).fetch([[["",a[0]]]]),function(a){var b=a.update;a.item;return b({f:[-1,4294967295]})})},function(a){return c[2]=!0}]))})},function(a){return c[0]=c[2]}]))})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSFilteredThreadsRangesQuery",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return(a[2]&&b.i64.neq(a[7],e)&&b.i64.neq(a[4],e)||a[3]&&b.i64.neq(a[6],e)&&b.i64.neq(a[5],e))&&!(a[2]&&b.i64.neq(a[7],e)&&b.i64.neq(a[4],e)&&a[3]&&b.i64.neq(a[6],e)&&b.i64.neq(a[5],e))?b.seq([function(d){return c[7]=a[4]==null?[-2147483648,0]:a[4],c[8]=a[7]==null?[0,1]:a[7],c[9]=b.i64.gt(c[8],[0,1])&&b.i64.gt(c[7],[-2147483648,0]),b.sp("16",[0,1]).then(function(a){return a=a,c[0]=a[0],a})},function(d){return c[1]=new b.Map(),c[1].set("cursor",c[0]),c[1].set("filter",a[1]),c[1].set("is_after",a[3]),c[1].set("parent_thread_key",a[0]),c[1].set("reference_activity_timestamp",a[3]?a[6]:a[7]),c[1].set("reference_thread_key",a[3]?a[5]:a[4]),b.i64.gt([0,0],[0,0])?c[3]=b.i64.add(b.i64.of_float(Date.now()),[0,0]):c[3]=[0,0],c[4]=b.toJSON(c[1]),b.sp("2","trq",[0,313],c[4],e,e,[0,0],e).then(function(a){return a=a,c[5]=a[0],a})},function(d){return b.ftr(b.db.table(159).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq(c.j,a[1])}).next().then(function(d,e){e=d.done;d=d.value;return e?b.db.table(159).add({k:"",a:a[0],b:c[7],c:c[8],j:a[1],e:[0,1],d:[-2147483648,0],f:c[9],g:!1,h:c[9],i:!1}):(d.item,b.fe(b.ftr(b.db.table(159).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq(c.j,a[1])}),function(a){var b=a.update;a.item;return b({f:!0,g:!1,h:c[9],i:!1})}))})}]):b.resolve()},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSGetCursor",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(f){return b.seq([function(d){return b.db.table(1).fetch([[[a[0]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[0]=e:(b=a.item,c[0]=b.b)})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSGetFirstAvailableAdminMessageCTAID",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(a){return b.seq([function(a){return b.sb(b.db.table(27).fetch(),[["c","DESC"]]).next().then(function(a,d){var e=a.done;a=a.value;return e?c[0]=[0,1]:(d=a.item,c[0]=b.i64.add(d.c,[0,1]))})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSGetFirstAvailableAttachmentCTAID",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(a){return b.seq([function(a){return b.db.table(19).fetchDesc().next().then(function(a,d){var e=a.done;a=a.value;return e?c[0]=[0,1]:(d=a.item,c[0]=b.i64.add(d.a,[0,1]))})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSGetFirstAvailableQuickReplyCTAID",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(a){return b.seq([function(a){return b.sb(b.db.table(20).fetch(),[["c","DESC"]]).next().then(function(a,d){var e=a.done;a=a.value;return e?c[0]=[0,1]:(d=a.item,c[0]=b.i64.add(d.c,[0,1]))})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSGetViewerFBID",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(a){return b.seq([function(a){return b.db.table(4).fetch([[[[0,1]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[0]=[-1,4294967295]:(b=a.item,c[0]=b.b)})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSHandleFailedTask",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.log(a[2],[0,3]),a[1]!==d?b.sp("23",a[1]):b.resolve()},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSHandlePlaceholderPollData",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(38).fetch([[[a[0]]]]).next().then(function(c,d){var e=c.done;c=c.value;return e?0:(d=c.item,b.ftr(b.db.table(38).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.gt(c.f,[0,80])}).next().then(function(e){var c=e.done;e.value;return c?b.db.table(38).put({a:a[0],f:[0,80],b:d.b,c:d.c,d:d.d,e:d.e}):0}))})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSInsertAttachment",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.seq([function(c){return b.fe(b.ftr(b.db.table(16).fetch([[[a[32],a[37],a[39]]]]),function(c){return b.i64.eq(c.a,a[32])&&b.i64.eq([0,0],a[33])&&c.c===a[37]&&c.e===a[39]&&b.i64.lt(c.bU,a[108])}),function(a){return a["delete"]()})},function(c){return b.db.table(16).add({a:a[32],c:a[37],e:a[39],j:a[3],k:a[4],f:a[34],b:a[36],l:a[40],bU:a[108],h:a[1],i:a[2],A:a[5],B:a[6],C:a[7],D:a[8],E:a[9],F:a[10],G:a[11],H:a[12],I:a[13],J:a[15],K:a[16],L:a[17],P:a[18],X:a[19],Y:a[20],Z:a[21],ba:a[22],bb:a[23],bc:a[24],bd:a[25],be:a[26],bi:a[27],bj:a[28],bk:a[29],bJ:a[30],bT:a[31],d:a[38],m:a[41],n:a[42],o:a[43],p:a[44],q:a[45],r:a[47],s:a[48],t:a[49],u:a[51],v:a[52],w:a[53],x:a[55],y:a[56],z:a[57],M:a[58],N:a[59],O:a[60],Q:a[61],R:a[62],S:a[63],T:a[64],U:a[65],V:a[66],W:a[67],bf:a[68],bg:a[69],bh:a[70],g:a[71],bl:a[73],bm:a[74],bn:a[75],bo:a[76],bp:a[77],bq:a[78],br:a[79],bs:a[80],bt:a[81],bv:a[82],bw:a[83],bx:a[84],by:a[85],bz:a[86],bA:a[87],bC:a[88],bD:a[89],bE:a[90],bF:a[91],bG:a[92],bH:a[93],bK:a[94],bO:a[95],bP:a[96],bL:a[97],bM:a[98],bN:a[99],bQ:a[100],bR:a[101],bS:a[102],bV:a[106],bW:a[107]})}])},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSInsertAttachmentItem",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(18).add({a:a[0],b:a[1],c:a[2],d:a[4],y:a[30],e:a[7],f:a[8],g:a[9],h:a[12],i:a[13],j:a[14],k:a[15],l:a[16],m:a[17],n:a[18],o:a[19],p:a[20],q:a[21],r:a[22],s:a[23],t:a[24],u:a[25],v:a[26],w:a[28],x:a[29],z:a[32],A:a[34],B:a[35],C:a[36],D:a[38],E:a[39],F:a[40],G:a[42],H:a[43],I:a[44],J:a[45],K:a[46],L:a[47],M:a[48]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSInsertBlobAttachment",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.seq([function(c){return b.fe(b.ftr(b.db.table(16).fetch([[[a[27],a[32],a[34]]]]),function(c){return b.i64.eq(c.a,a[27])&&b.i64.eq([0,0],a[28])&&c.c===a[32]&&c.e===a[34]&&b.i64.lt(c.bU,a[48])&&(b.i64.eq(c.f,[0,2])||b.i64.eq(c.f,[0,3])||b.i64.eq(c.f,[0,4])||b.i64.eq(c.f,[0,5])||b.i64.eq(c.f,[0,6])||b.i64.eq(c.f,[0,10]))&&b.i64.eq(c.bV,d)&&c.k===!1}),function(a){return a["delete"]()})},function(c){return b.db.table(16).add({a:a[27],c:a[32],e:a[34],h:a[0],i:a[1],j:a[2],k:!1,A:a[3],B:a[4],C:a[5],D:a[6],E:a[7],F:a[8],G:a[9],H:a[10],I:a[11],J:a[13],K:a[14],L:a[15],X:a[16],Y:a[17],Z:a[18],ba:a[19],bb:a[20],bc:a[21],bd:a[22],be:a[23],bj:a[24],bk:a[25],bJ:a[26],f:a[29],b:a[31],d:a[33],l:a[35],m:a[36],n:a[37],R:a[38],S:a[39],V:a[40],W:a[41],bh:a[42],bK:a[44],bY:a[45],bU:a[48]})}])},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSInsertNewMessageRange",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(d){return b.seq([function(c){return b.sp("47",a[0],a[9])},function(d){return b.ftr(b.db.table(13).fetch([[[a[0],{lte:a[5]}]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.le(c.b,a[5])&&b.i64.ge(c.d,a[5])}).next().then(function(b,d){var e=b.done;b=b.value;return e?(e=[a[1],a[3],a[7]],c[0]=e[0],c[1]=e[1],c[2]=e[2],e):(d=b.item,e=[d.b,d.c,d.h],c[0]=e[0],c[1]=e[1],c[2]=e[2],e)})},function(d){return b.ftr(b.db.table(13).fetch([[[a[0],{lte:a[6]}]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.le(c.b,a[6])&&b.i64.ge(c.d,a[6])}).next().then(function(b,d){var e=b.done;b=b.value;return e?(e=[a[2],a[4],a[8]],c[4]=e[0],c[5]=e[1],c[6]=e[2],e):(d=b.item,e=[d.d,d.e,d.i],c[4]=e[0],c[5]=e[1],c[6]=e[2],e)})},function(c){return b.fe(b.ftr(b.db.table(13).fetch([[[a[0],{lte:a[6]}]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.ge(a[6],c.b)&&b.i64.le(a[5],c.d)}),function(a){return a["delete"]()})},function(d){return b.db.table(13).put({a:a[0],b:c[0],c:c[1],d:c[4],e:c[5],f:!1,g:!1,h:c[2],i:c[6]})}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSInsertXmaAttachment",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.seq([function(c){return b.fe(b.ftr(b.db.table(16).fetch([[[a[25],a[30],a[32]]]]),function(c){return b.i64.eq(c.a,a[25])&&b.i64.eq([0,0],a[26])&&c.c===a[30]&&c.e===a[32]&&b.i64.lt(c.bU,a[106])&&(b.i64.eq(c.f,[0,7])||b.i64.eq(c.f,[0,0]))&&c.j===!1&&c.l===!0&&b.i64.eq(c.bV,d)}),function(a){return a["delete"]()})},function(c){return b.db.table(16).add({a:a[25],c:a[30],e:a[32],h:a[1],i:a[2],j:!1,k:a[3],A:a[4],B:a[5],C:a[6],D:a[7],F:a[8],G:a[9],H:a[10],I:a[11],K:a[13],L:a[14],X:a[15],Y:a[16],Z:a[17],ba:a[18],bb:a[19],be:a[20],bj:a[21],bT:a[22],bX:a[24],f:a[27],b:a[29],d:a[31],l:!0,m:a[33],n:a[34],o:a[35],p:a[36],q:a[37],r:a[39],s:a[40],t:a[41],u:a[43],v:a[44],w:a[45],x:a[47],y:a[48],z:a[49],M:a[50],N:a[51],O:a[52],Q:a[53],R:a[54],S:a[55],T:a[56],U:a[57],V:a[58],W:a[59],bf:a[60],bg:a[61],bh:a[62],bl:a[64],bm:a[65],bn:a[67],bo:a[68],bp:a[69],bq:a[70],br:a[71],bs:a[72],bt:a[73],bu:a[74],bv:a[75],bw:a[76],bx:a[77],by:a[78],bz:a[79],bA:a[80],bB:a[81],bC:a[82],bD:a[83],bE:a[84],bF:a[85],bG:a[86],bH:a[87],bI:a[88],bK:a[92],bO:a[93],bP:a[94],bL:a[95],bM:a[96],bN:a[97],bQ:a[98],bR:a[99],bS:a[100],bY:a[105],bU:a[106]})}])},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSIssueInsertPersistentMenuItemsForThreadTask",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return c[0]=new b.Map(),c[0].set("thread_key",a[0]),c[1]=b.toJSON(c[0]),b.sp("1","insert_persistent_menu_items",[0,117],c[1],e,e,[0,0],e)},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSIssueNewTask",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(2).add({a:void 0,b:a[0],d:b.i64.to_string(a[1]),c:a[2],e:b.i64.of_float(Date.now()),i:a[3],j:a[4],k:a[5],l:[0,0],m:a[6],h:[0,0]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSIssueNewTaskAndGetTaskID",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(e){return b.seq([function(c){return b.sp("1",a[0],a[1],a[2],a[3],a[4],a[5],a[6])},function(d){return b.ftr(b.db.table(2).fetchDesc(),function(c){return c.b===a[0]&&c.d===b.i64.to_string(a[1])&&c.c===a[2]}).next().then(function(a,b){var d=a.done;a=a.value;return d?c[0]=[-1,4294967295]:(b=a.item,c[0]=b.a)})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSMarkThreadRead",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.ftr(b.db.table(9).fetch([[[a[1]]]]),function(c){return b.i64.eq(c.a,a[1])&&b.i64.gt(a[0],c.j)}),function(b){var c=b.update;b.item;return c({j:a[0]})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSOptimisticUpsertReaction",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.seq([function(d){return c[0]=new b.Map(),c[0].set("thread_key",a[0]),c[0].set("timestamp_ms",a[1]),c[0].set("message_id",a[2]),c[0].set("actor_id",a[3]),c[0].set("reaction",a[4]),c[0].set("reaction_style",e),c[0].set("sync_group",[0,1]),c[1]=b.createArray(),c[2]=(c[1].push("reaction"),c[1]),c[3]=c[0].get("message_id"),c[0],c[4]=(c[1].push(c[3]),c[1]),c[5]=b.toJSON(c[1]),b.sp("3",c[5],[0,29])},function(d){return a[4]===""?b.seq([function(c){return b.sp("111",a[0],a[2],a[3])},function(a){return c[7]=e}]):b.seq([function(d){return a[4]==="\u2764\ufe0f"||a[4]==="\u2764\ufe0f"?c[16]="\u2764":c[16]=a[4],b.sp("110",a[0],a[1],a[2],a[3],c[16],[0,20])},function(a){return c[7]=e}])},function(d){return c[8]=new b.Map(),c[8].set("thread_key",a[0]),c[8].set("timestamp_ms",a[1]),c[8].set("message_id",a[2]),c[8].set("actor_id",a[3]),c[8].set("reaction",a[4]),c[8].set("reaction_style",e),c[8].set("sync_group",[0,1]),c[9]=b.createArray(),c[10]=(c[9].push("reaction"),c[9]),c[11]=c[8].get("message_id"),c[8],c[12]=(c[9].push(c[11]),c[9]),c[13]=b.toJSON(c[9]),c[14]=b.toJSON(c[8]),b.sp("1",c[13],[0,29],c[14],e,e,[0,0],e)}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSRemoveTask",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(2).fetch([[[a[0]]]]).next().then(function(c,d){var e=c.done;c=c.value;return e?0:(d=c.item,b.fe(b.ftr(b.db.table(2).fetch([[[{lte:a[0]}]]]),function(c){return b.i64.le(c.a,a[0])&&c.b===d.b}),function(a){return a["delete"]()}))})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSSetMessageDisplayedContentTypes",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.seq([function(d){return b.db.table(16).fetch([[[a[0],a[1]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=[e,e],c[0]=d[0],c[1]=d[1],d):(b=a.item,d=[b.f,b.m],c[0]=d[0],c[1]=d[1],d)})},function(d){return b.ftr(b.db.table(12).fetch([[[a[0],a[2],a[1]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[2])&&c.e===a[1]}).next().then(function(a,b){var d=a.done;a=a.value;return d?(d=[[0,0],e,e],c[3]=d[0],c[4]=d[1],c[5]=d[2],d):(b=a.item,d=[b.t,b.r,b.g],c[3]=d[0],c[4]=d[1],c[5]=d[2],d)})},function(d){return b.db.table(9).fetch([[[a[0]]]]).next().then(function(a,b){var d=a.done;a=a.value;return d?c[7]=e:(b=a.item,c[7]=b.w)})},function(d){return b.i64.eq(c[0],[0,6])?c[10]=[0,64]:(b.i64.eq(c[0],[0,5])?c[17]=[0,4]:(b.i64.eq(c[0],[0,3])?c[19]=[0,16384]:(b.i64.eq(c[0],[0,2])?c[21]=[0,2]:(b.i64.eq(c[0],[0,4])?c[23]=[0,2]:c[23]=a[5]?[0,4096]:[0,0],c[21]=c[23]),c[19]=c[21]),c[17]=c[19]),c[10]=c[17]),c[11]=c[5]!==e&&c[5]!==""&&c[5]!==c[7]?b.i64.or_(c[10],[0,1]):c[10],c[12]=c[7]!==e&&c[7]===c[5]?b.i64.or_(c[11],[0,128]):c[11],c[13]=b.i64.eq(c[0],[0,7])?b.i64.or_(c[12],[0,8]):c[12],c[14]=b.i64.eq(c[1],[0,0])?b.i64.or_(c[13],[0,1024]):b.i64.eq(c[1],[0,1])?b.i64.or_(c[13],[0,2048]):c[13],c[15]=b.i64.eq(c[3],[0,2])&&c[4]!==e?b.i64.or_(c[14],[0,512]):c[14],b.fe(b.ftr(b.db.table(12).fetch([[[a[0],a[2],a[1]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[2])&&c.e===a[1]}),function(d){var e=d.update;d.item;return e({Q:a[4]?[0,32]:b.i64.eq(c[3],[0,3])?b.i64.or_(c[15],[0,8192]):c[15]})})}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSSetMessageTextHasLinks",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.ftr(b.db.table(12).fetch([[[a[0],a[2],a[1]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[2])&&c.e===a[1]}),function(a){var b=a.update;a.item;return b({O:!0})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSSetRegionHint",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.db.table(1).fetch([[[a[0]]]]),function(b){var c=b.update;b.item;return c({j:a[1]})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSSetThreadImageURL",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d;return b.seq([function(c){return b.fe(b.db.table(9).fetch([[[a[0]]]]),function(b){var c=b.update;b.item;return c({f:a[1]===""?d:a[1],g:a[2],h:a[3],R:a[4],Q:a[5]})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSTaskExists",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(e){return b.seq([function(d){return b.db.table(2).fetch([[[a[0]]]]).next().then(function(a,b){b=a.done;a=a.value;return b?c[0]=!1:(a.item,c[0]=!0)})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSThreadsRangesQuery",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return a[1]&&b.i64.eq(a[6],[0,0])?b.fe(b.db.table(10).fetch([[[a[0]]]]),function(a){var b=a.update;a.item;return b({f:!1})}):(a[1]&&b.i64.neq(a[6],e)&&b.i64.neq(a[3],e)||a[2]&&b.i64.neq(a[5],e)&&b.i64.neq(a[4],e))&&!(a[1]&&b.i64.neq(a[6],e)&&b.i64.neq(a[3],e)&&a[2]&&b.i64.neq(a[5],e)&&b.i64.neq(a[4],e))?b.seq([function(d){return c[8]=a[3]==null?[-2147483648,0]:a[3],c[9]=a[6]==null?[0,1]:a[6],c[10]=b.i64.gt(c[9],[0,1])&&b.i64.gt(c[8],[-2147483648,0]),b.sp("16",[0,1]).then(function(a){return a=a,c[1]=a[0],a})},function(d){return c[2]=new b.Map(),c[2].set("is_after",a[2]),c[2].set("parent_thread_key",a[0]),c[2].set("reference_thread_key",a[2]?a[4]:a[3]),c[2].set("reference_activity_timestamp",a[2]?a[5]:a[6]),c[2].set("additional_pages_to_fetch",a[7]),c[2].set("cursor",c[1]),c[2].set("messaging_tag",e),b.i64.gt([0,0],[0,0])?c[4]=b.i64.add(b.i64.of_float(Date.now()),[0,0]):c[4]=[0,0],c[5]=b.toJSON(c[2]),b.sp("2","trq",[0,145],c[5],e,e,[0,0],e).then(function(a){return a=a,c[6]=a[0],a})},function(d){return b.db.table(10).fetch([[[a[0]]]]).next().then(function(d,e){e=d.done;d=d.value;return e?b.db.table(10).add({a:a[0],b:c[8],c:c[9],e:[0,1],d:[-2147483648,0],f:c[10],g:!1,h:c[10],i:!1}):(d.item,b.fe(b.db.table(10).fetch([[[a[0]]]]),function(a){var b=a.update;a.item;return b({f:!0,g:!1,h:c[10],i:!1})}))})}]):b.resolve()},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSUpdateExtraAttachmentColumns",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.ftr(b.db.table(16).fetch([[[a[0],a[2],a[3]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],a[1])&&c.c===a[2]&&c.e===a[3]}),function(b){var c=b.update;b.item;return c({bu:a[4],bB:a[5],bI:a[6],bX:a[10],bY:a[11],bZ:a[12],ca:a[13]})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpdateReadReceipt",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.ftr(b.db.table(14).fetch([[[a[1],{lt:a[0]},a[2]]],"threadKeyReadWatermarkTimestampMs"]),function(c){return b.i64.eq(c.a,a[1])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[2])&&b.i64.lt(c.c,a[0])}),function(c){var d=c.update;c=c.item;return d({c:a[0],k:b.i64.gt(a[3],[0,0])?a[3]:c.k})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpdateThreadsRangesV2",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.seq([function(c){return b.fe(b.db.table(10).fetch([[[a[1]]]]),function(a){return a["delete"]()})},function(c){return b.db.table(10).add({a:a[1],b:a[3],c:a[2],e:[0,1],d:[-2147483648,0],f:!1,g:!1,h:b.i64.gt(a[2],[0,1])&&b.i64.gt(a[3],[-2147483648,0]),i:!1})}])},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertAttachmentRange",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.seq([function(c){return b.fe(b.db.table(17).fetch([[[a[0],a[1]]]]),function(a){return a["delete"]()})},function(c){return b.db.table(17).add({a:a[0],b:a[1],c:a[2],d:[2328,1316134911],g:a[3],h:!1,e:!1,f:!1})}])},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertGradientColor",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(117).put({a:a[0],b:a[1],c:a[2],d:[0,0]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertMessage",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(12).fetch([[[a[9]]],"optimistic"]).next().then(function(c,d){var e=c.done;c=c.value;return e?b.db.table(12).add({a:a[3],b:a[5],e:a[8],f:a[9],V:a[2],c:a[6],h:a[10],j:a[12],k:a[14],l:a[15],g:a[0],W:a[1],d:a[7],i:a[11],m:a[16],X:a[17],n:a[18],o:a[19],p:a[20],q:a[21],r:a[22],s:a[23],t:a[24],u:a[25],v:a[26],w:a[27],x:a[28],y:a[29],z:a[30],A:a[32],B:a[33],C:a[34],D:a[35],E:a[36],F:a[37],G:a[38],H:a[39],I:a[40],Z:a[41],J:a[42],K:a[43],L:a[44],M:a[45],N:a[46],O:a[47],P:a[48],Q:a[49],R:a[50],S:a[51],T:a[52],U:a[53],Y:a[54]}):(d=c.item,b.i64.le(d.V,a[2])?b.db.table(12).put({a:a[3],b:a[5],e:a[8],f:a[9],V:a[2],c:d.c,h:a[10],j:a[12],k:a[14],l:a[15],g:a[0],W:a[1],d:d.d,i:a[11],m:a[16],X:a[17],n:a[18],o:a[19],p:a[20],q:a[21],r:a[22],s:a[23],t:a[24],u:a[25],v:a[26],w:a[27],x:a[28],y:a[29],z:a[30],A:a[32],B:a[33],C:a[34],D:a[35],E:a[36],F:a[37],G:a[38],H:a[39],I:a[40],Z:a[41],J:a[42],K:a[43],L:a[44],M:a[45],N:a[46],O:a[47],P:a[48],Q:a[49],R:a[50],S:a[51],T:a[52],U:a[53],Y:a[54]}):b.resolve())})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertSequenceId",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[];return b.seq([function(d){return b.seq([function(a){return b.sp("4").then(function(a){return a=a,c[0]=a[0],a})},function(d){return b.db.table(25).put({a:c[0],b:a[0]})}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSUpsertSticker",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(121).put({a:a[0],b:a[1],c:a[2],d:a[3],e:a[4],f:a[5],g:a[6],h:a[7],i:a[8],j:a[9],k:a[10],l:a[11],m:a[12],n:a[13],o:a[14],p:a[15]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertStickerPack",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.db.table(122).put({a:a[0],b:a[1],c:a[2],d:a[3],e:a[4],f:a[5],g:a[6],h:a[7],i:a[8]})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("LSUpsertTheme",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.i64.neq(e,e)?c[1]=e:c[1]=a[0],b.db.table(116).put({a:a[0],b:a[1],c:a[2],d:a[3],e:a[4],f:a[10]})},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSVerifyContactRowExists",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.ftr(b.db.table(7).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,1],[0,1])}).next().then(function(d){var f=d.done;d.value;return f?b.seq([function(d){return c[0]=a[3]==null?"":a[3],b.fe(b.ftr(b.db.table(7).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,1],[0,1])&&b.i64.lt(c.J,a[14])}),function(a){return a["delete"]()})},function(d){return b.db.table(7).add({a:a[0],b:a[2]==null?"":a[2],c:a[5],h:c[0],K:a[19],i:c[0],l:a[9],n:a[11],w:a[12],e:"",k:!0,o:0,q:a[4],r:[0,0],u:!1,J:a[14],F:[0,0],G:a[15],H:a[18],I:a[17]})},function(d){return c[1]=new b.Map(),c[1].set("contact_id",a[0]),c[2]=b.toJSON(c[1]),b.sp("1","cpq_v2",[0,207],c[2],e,e,[0,0],e)}]):0})},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSVerifyPollExists",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(f){return b.seq([function(d){return b.db.table(38).fetch([[[a[1]]]]).next().then(function(d,f){var g=d.done;d=d.value;return g?b.seq([function(c){return b.fe(b.ftr(b.db.table(38).fetch([[[a[1]]]]),function(c){return b.i64.eq(c.a,a[1])&&b.i64.lt(c.f,[0,40])}),function(a){return a["delete"]()})},function(c){return b.db.table(38).add({a:a[1],f:[0,40],b:a[0],c:a[2],d:a[3],e:a[4]})},function(d){return c[2]=new b.Map(),c[2].set("thread_key",a[0]),c[2].set("poll_id",a[1]),c[2].set("sync_group",[0,1]),c[3]=b.toJSON(c[2]),b.sp("1","poll_point_query",[0,170],c[3],e,e,[0,0],e)},function(a){return c[0]=!1}]):(f=d.item,b.seq([function(c){return b.i64.gt(a[3],f.d)?b.fe(b.db.table(38).fetch([[[a[1]]]]),function(b){var c=b.update;b.item;return c({c:a[2],d:a[3],e:a[4]})}):b.resolve()},function(a){return b.i64.eq(f.f,[0,80])?c[3]=!0:c[3]=!1,c[0]=c[3]}]))})},function(a){return d[0]=c[0]}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSVerifyThreadExists",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[],d=[],e;return b.seq([function(d){return b.seq([function(d){return[[0,7],[0,8],[0,13],[0,10],[0,11],[0,16]].some(function(c){return b.i64.eq(a[1],c)})?b.resolve((d=[!1,!1,!1],c[1]=d[0],c[2]=d[1],c[3]=d[2],d)):b.seq([function(d){return b.db.table(9).fetch([[[a[0]]]]).next().then(function(d,e){var f=d.done;d=d.value;return f?(f=[!0,!0,!1],c[4]=f[0],c[5]=f[1],c[6]=f[2],f):(e=d.item,c[12]=e.Z,e.e==="other"?(f=[!0,!1,!1],c[9]=f[0],c[10]=f[1],c[11]=f[2],f):(b.i64.ge(c[12],a[4])||b.i64.eq(c[12],[0,20])&&(b.i64.eq(a[1],[0,2])||b.i64.eq(a[1],[0,18]))?(d=[!1,!1,!1],c[14]=d[0],c[15]=d[1],c[16]=d[2],d):(e=[!0,!1,!0],c[14]=e[0],c[15]=e[1],c[16]=e[2],e),f=[c[14],c[15],c[16]],c[9]=f[0],c[10]=f[1],c[11]=f[2],f),d=[c[9],c[10],c[11]],c[4]=d[0],c[5]=d[1],c[6]=d[2],d)})},function(a){return a=[c[4],c[5],c[6]],c[1]=a[0],c[2]=a[1],c[3]=a[2],a}])},function(d){return c[1]?(c[4]=new b.Map(),c[4].set("thread_fbid",a[0]),c[4].set("force_upsert",!1),c[4].set("use_open_messenger_transport",!1),c[4].set("sync_group",[0,1]),c[5]=c[4].get("thread_fbid"),c[4],c[6]=b.toJSON(c[4]),b.sp("1",b.i64.to_string(c[5]),[0,209],c[6],e,e,[0,0],e)):b.resolve()},function(d){return c[2]?b.seq([function(d){return c[4]=[64,1133823263],c[5]=[0,0],b.fe(b.ftr(b.db.table(9).fetch([[[a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.lt(c.Z,a[4])}),function(a){return a["delete"]()})},function(d){return b.db.table(9).add({a:a[0],b:[0,0],c:a[1],e:a[2],j:[0,0],k:[-1,4294967295],u:[0,0],A:a[3],Z:a[4],P:c[4],bb:c[5]})},function(d){return b.i64.eq(a[1],[0,1])?b.seq([function(c){return b.fe(b.ftr(b.db.table(14).fetch([[[a[0],a[0]]]]),function(c){return b.i64.eq(c.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(c.b,a[0])&&b.i64.lt(c.j,a[4])}),function(a){return a["delete"]()})},function(c){return b.db.table(14).add({a:a[0],b:a[0],c:[0,0],d:[0,0],j:a[4]})},function(a){return b.sp("4").then(function(a){return a=a,c[6]=a[0],a})},function(d){return b.fe(b.ftr(b.db.table(14).fetch([[[a[0],c[6]]]]),function(d){return b.i64.eq(d.a,a[0])&&b.i64.eq([0,0],[0,0])&&b.i64.eq(d.b,c[6])&&b.i64.lt(d.j,a[4])}),function(a){return a["delete"]()})},function(d){return b.db.table(14).add({a:a[0],b:c[6],c:[0,0],d:[0,0],j:a[4]})}]):b.resolve()}]):b.resolve()},function(d){return c[3]?b.fe(b.db.table(9).fetch([[[a[0]]]]),function(b){var c=b.update;b.item;return c({Z:a[4]})}):b.resolve()}])},function(a){return b.resolve(d)}])};e.exports=a}),null); __d("LSWriteThreadCapabilities",[],(function(a,b,c,d,e,f){a=function(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.db.table(9).fetch([[[a[0]]]]),function(b){var c=b.update;b.item;return c({P:a[1],bb:a[2]})})},function(a){return b.resolve(c)}])};e.exports=a}),null); __d("MWLSDatabaseLazySync.bs",["LS.bs","LSForceImmediateSync","LSTransaction.bs","Promise","ReQL.bs","ReQLTable","ReStore.bs","bs_caml","bs_curry","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0);return h.useCallback(function(d){return b("LSTransaction.bs").run(c,function(c){return b("ReQL.bs").first(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"sync_groups").asc,{hd:a,tl:0})).then(function(d){if(d!==void 0&&b("bs_caml").i64_eq(d.f,[2328,1316134911]))return b("LSForceImmediateSync")(a,b("bs_curry")._1(b("LS.bs").make,c));else return b("Promise").resolve(void 0)})},"readWrite")},[JSON.stringify(a),c])}f.useSync=a}),null); __d("MDSLockSvgIcon.bs",["MDSSvgIcon.bs","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=a.color;a=a.size;return h.jsx(b("MDSSvgIcon.bs").make,{size:a,color:c,children:h.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.25 15.5a.25.25 0 00.25-.25V12a5.5 5.5 0 1111 0v3.25c0 .138.112.25.25.25h.75a2 2 0 012 2v9a2 2 0 01-2 2h-13a2 2 0 01-2-2v-9a2 2 0 012-2h.75zm3 0h5.5a.25.25 0 00.25-.25V12a3 3 0 10-6 0v3.25c0 .138.112.25.25.25z"})})}c=a;f.make=c}),null); __d("MWPUseUnreadMessageCountForThread.bs",["MWLSActor.bs","MWThreadKey.bs","ReQL.bs","ReQLSubscription.bs","ReQLSuspense.bs","ReQLTable","ReStore.bs","bs_caml","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function a(a){var c=b("ReStore.bs").useHook(void 0),d=b("MWThreadKey.bs").useIdMemoizedExn(void 0),e=b("MWLSActor.bs").useActor(void 0);a=b("ReQLSubscription.bs").useFirst(h.useMemo(function(){return b("ReQL.bs").map(b("ReQL.bs").getKeyRange(b("ReQLTable").table(c,"threads").asc,{hd:d,tl:0}),function(a){var f;return b("ReQLSuspense.bs").toArray((f=b("ReQL.bs")).filter(f.bounds(f.take(f.getKeyRange(b("ReQLTable").table(c,"messages").desc,{hd:d,tl:0}),20),{NAME:"greaterThan",VAL:{hd:a.j,tl:0}}),function(a){return b("bs_caml").i64_neq(a.h,e)})).length})},[c,JSON.stringify(e),d]));if(a!==void 0)return a;else return 0}f.useHook=a}),null); __d("MWV2GetThreadTitle.bs",["fbt","LSMessagingThreadTypeUtil.bs","MWLSActor.bs","bs_caml","bs_caml_option","gkx","intlList","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=b("gkx")("1341692")?g._(/*FBT_CALL*/"Usu\u00e1rio do Workplace"/*FBT_CALL*/).toString():g._(/*FBT_CALL*/"Usu\u00e1rio do Facebook"/*FBT_CALL*/).toString();function i(a,c,d,e){a=a!==void 0?b("bs_caml_option").valFromOption(a):b("intlList").CONJUNCTIONS.AND;if(d.length===0)return;if(b("LSMessagingThreadTypeUtil.bs").isOneToOne(c.c)){if(d.length===1){c=d[0];c=c[1];if(c!==void 0)return c.h;else return h}c=d.filter(function(a){return b("bs_caml").i64_neq(a[0].b,e)});if(c.length===0){b("recoverableViolation")("multiple viewers in 1:1 thread","messenger_comet");return}c=c[0];var f=b("gkx")("1846003"),g=c[0].e;if(g!==void 0&&f)return g;f=c[1];if(f!==void 0)return f.h;else return h}if(d.length===1){g=d[0];c=g[1];if(c!==void 0)return c.h;else return}f=d.filter(function(a){return b("bs_caml").i64_neq(a[0].b,e)}).sort(function(a,b){b=b[1];a=a[1];if(a!==void 0)if(b!==void 0)return b.o-a.o;else return 0;else return 0}).map(function(c){var e=b("gkx")("1846003"),a=c[0].e;if(a!==void 0&&e)return a;e=c[1];if(e===void 0)return h;a=e.p;if(a!==void 0&&d.length>2)return a;else return e.h});return b("intlList")(f,a,b("intlList").DELIMITERS.COMMA).toString()}function a(a,c,d){var e=b("MWLSActor.bs").useActor(void 0),f=c.d;if(f!==void 0)return f;f=i(b("bs_caml_option").some(a),c,d,e);if(f!==void 0)return f;else return""}f.computeThreadTitle=i;f.useThreadTitle=a}),null); __d("LSContactViewerRelationship.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];b=[0,4];f.unknown=a;f.notContact=c;f.contactOfViewer=d;f.facebookFriend=e;f.softContact=b}),null); __d("LSMailboxMessagesRangeQueryDirection.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;f.before=a;f.after=c}),null); __d("deferredLoadComponentForReason",["deferredLoadComponentBase"],(function(a,b,c,d,e,f,g){var h=function(a){return a.make};function a(a){return{make:c("deferredLoadComponentBase")(a,h)}}g["default"]=a}),98);