BizWebCometOmniAiNewCustomSkillAssetsInputEditor.react",["BizWebCometOmniAiRemoveMentionPillPlugin.react","BizWebCometOmniAiReplaceTextPlugin.react","BizWebCometOmniAiUpdateMentionPillPlugin.react","BusinessAILexicalConsts","BusinessAILexicalEditorTheme","BusinessAILexicalMarkdownTransformers","LexicalAutoFocusPlugin","LexicalClearEditorPlugin","LexicalEditorRefPlugin","LexicalErrorBoundary","LexicalHistoryPlugin","LexicalListPlugin","LexicalMarkdownShortcutPlugin","LexicalOnChangePlugin","LexicalRichTextPlugin","LexicalTabIndentationPlugin","MLCComposer.react","MLCContentEditable.react","MLCPlaceholder.react","react","react-compiler-runtime","useBizWebCometOmniAiInitialInstructionEditorState.react","useBoolean"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useMemo,c=1.4,d={inputContainer:{color:"x1ijq8u",lineHeight:"x1xuplte",marginTop:"x1rdy4ex",minHeight:"xz1e3nn",$$css:!0},placeholder:{top:"xfyf068",$$css:!0}};function m(e){var t=o("react-compiler-runtime").c(46),n=e.actionMapData,a=e.editorRef,i=e.initialText,l=e.isDisabled,u=e.onChange,c=e.partnerMapData,m=e.placeholder,_=e.setSelectedActionsWithPlugin,f=l===void 0?!1:l,g=r("useBizWebCometOmniAiInitialInstructionEditorState.react")(i,n,c,_),h=r("useBoolean")(f),y=h.setFalse,C=h.setTrue,b;t[0]===Symbol.for("react.memo_cache_sentinel")?(b={editable:!0,nodes:o("BusinessAILexicalConsts").BUSINESS_AI_SUPPORTED_LEXICAL_NODES,onError:p,theme:r("BusinessAILexicalEditorTheme")},t[0]=b):b=t[0];var v;t[1]!==g?(v={editor:b,editorState:g,policyProduct:"bizapp",surface:"UNKNOWN"},t[1]=g,t[2]=v):v=t[2];var S=v,R;t[3]!==u?(R=function(t){t.read(function(){u()})},t[3]=u,t[4]=R):R=t[4];var L=R,E;t[5]!==f?(E={0:{className:"x78zum5 xdt5ytf x1iyjqo2 xwib8y2"},1:{className:"x78zum5 xdt5ytf x1iyjqo2 xwib8y2 x1dr8pv1"}}[!!f<<0],t[5]=f,t[6]=E):E=t[6];var k;t[7]===Symbol.for("react.memo_cache_sentinel")?(k={className:"x78zum5 x1q0g3np x1iyjqo2 x1qughib"},t[7]=k):k=t[7];var I;t[8]!==f?(I={0:{className:"x1iyjqo2 x1b6ykf0 x1mzt3pk xf159sx xmzvs34 x1n2onr6 x1hx0egp x126k92a xnq0rdo"},1:{className:"x1iyjqo2 x1b6ykf0 x1mzt3pk xf159sx xmzvs34 x1n2onr6 x126k92a xnq0rdo x1hc1fzr x47corl x87ps6o"}}[!!f<<0],t[8]=f,t[9]=I):I=t[9];var T;t[10]!==m?(T=s.jsx(o("LexicalRichTextPlugin").RichTextPlugin,{ErrorBoundary:o("LexicalErrorBoundary").LexicalErrorBoundary,contentEditable:s.jsx(r("MLCContentEditable.react"),babelHelpers.extends({"data-testid":void 0},m==null?{}:{"aria-placeholder":m.toString(),placeholder:s.jsx(r("MLCPlaceholder.react"),{xstyle:d.placeholder,children:m.toString()})},{xstyle:d.inputContainer}))}),t[10]=m,t[11]=T):T=t[11];var D;t[12]!==I||t[13]!==T?(D=s.jsx("div",babelHelpers.extends({},k,{children:s.jsx("div",babelHelpers.extends({},I,{children:T}))})),t[12]=I,t[13]=T,t[14]=D):D=t[14];var x;t[15]!==f?(x=!f&&s.jsx(o("LexicalAutoFocusPlugin").AutoFocusPlugin,{}),t[15]=f,t[16]=x):x=t[16];var $,P,N,M;t[17]===Symbol.for("react.memo_cache_sentinel")?($=s.jsx(o("LexicalListPlugin").ListPlugin,{}),P=s.jsx(o("LexicalHistoryPlugin").HistoryPlugin,{}),N=s.jsx(o("LexicalMarkdownShortcutPlugin").MarkdownShortcutPlugin,{transformers:o("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS}),M=s.jsx(o("LexicalClearEditorPlugin").ClearEditorPlugin,{}),t[17]=$,t[18]=P,t[19]=N,t[20]=M):($=t[17],P=t[18],N=t[19],M=t[20]);var w;t[21]!==n||t[22]!==c||t[23]!==_?(w=s.jsx(o("BizWebCometOmniAiReplaceTextPlugin.react").BizWebCometOmniAiReplaceTextPlugin,{actionMapData:n,partnerMapData:c,setSelectedActionsWithPlugin:_}),t[21]=n,t[22]=c,t[23]=_,t[24]=w):w=t[24];var A;t[25]===Symbol.for("react.memo_cache_sentinel")?(A=s.jsx(o("LexicalTabIndentationPlugin").TabIndentationPlugin,{}),t[25]=A):A=t[25];var F;t[26]!==L?(F=s.jsx(o("LexicalOnChangePlugin").OnChangePlugin,{ignoreHistoryMergeTagChange:!0,ignoreSelectionChange:!0,onChange:L}),t[26]=L,t[27]=F):F=t[27];var O;t[28]===Symbol.for("react.memo_cache_sentinel")?(O=s.jsx(o("BizWebCometOmniAiUpdateMentionPillPlugin.react").BizWebCometOmniAiUpdateMentionPillPlugin,{}),t[28]=O):O=t[28];var B;t[29]!==_?(B=s.jsx(o("BizWebCometOmniAiRemoveMentionPillPlugin.react").BizWebCometOmniAiRemoveMentionPillPlugin,{setSelectedActionsWithPlugin:_}),t[29]=_,t[30]=B):B=t[30];var W;t[31]!==a?(W=a!=null&&s.jsx(o("LexicalEditorRefPlugin").EditorRefPlugin,{editorRef:a}),t[31]=a,t[32]=W):W=t[32];var q;t[33]!==y||t[34]!==C||t[35]!==x||t[36]!==w||t[37]!==F||t[38]!==B||t[39]!==W||t[40]!==E||t[41]!==D?(q=s.jsxs("div",babelHelpers.extends({},E,{onBlur:y,onFocus:C,children:[D,x,$,P,N,M,w,A,F,O,B,W]})),t[33]=y,t[34]=C,t[35]=x,t[36]=w,t[37]=F,t[38]=B,t[39]=W,t[40]=E,t[41]=D,t[42]=q):q=t[42];var U;return t[43]!==S||t[44]!==q?(U=s.jsx(r("MLCComposer.react"),{initialConfig:S,children:q}),t[43]=S,t[44]=q,t[45]=U):U=t[45],U}function p(){}l.BizWebCometOmniAiNewCustomSkillAssetsInputEditor=m}),98);
-----
BizWebCometOmniAiSkillsAssetsInputEditor.react",["BizWebCometOmniAiActionSection.react","BizWebCometOmniAiRemoveMentionPillPlugin.react","BizWebCometOmniAiReplaceTextPlugin.react","BizWebCometOmniAiUpdateMentionPillPlugin.react","BusinessAILexicalConsts","BusinessAILexicalEditorTheme","BusinessAILexicalMarkdownTransformers","BusinessAIMentionsPlugin.react","GeoDivider.react","GeoIcon.react","GeoMediaItem.react","LexicalAutoFocusPlugin","LexicalClearEditorPlugin","LexicalErrorBoundary","LexicalHistoryPlugin","LexicalListPlugin","LexicalMarkdown","LexicalMarkdownShortcutPlugin","LexicalOnChangePlugin","LexicalRichTextPlugin","LexicalTabIndentationPlugin","MLCComposer.react","MLCContentEditable.react","MLCPlaceholder.react","meta-brand-exclamation-triangle-outline-16","react","react-compiler-runtime","stylex","useBizWebCometOmniAiInitialInstructionEditorState.react","useBoolean","useGeoTheme"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useMemo,d=1.4,m={container:{display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",paddingBottom:"xwib8y2",$$css:!0},disableBackGround:{backgroundColor:"x1dr8pv1",$$css:!0},inputContainer:{color:"x1ijq8u",lineHeight:"x1xuplte",marginTop:"x1rdy4ex",minHeight:"x1l1xkqo",$$css:!0},placeholder:{top:"xfyf068",$$css:!0}};function p(t){var n=o("react-compiler-runtime").c(84),a=t.actionMapData,i=t.bottomInstruction,l=t.businessID,s=t.connectedPluginsID,c=t.errorMessage,d=t.initialText,p=t.isBizAIAppInstalledInShopify,f=t.isDisabled,g=t.isError,h=t.isWarning,y=t.onAddActionToInstruction,C=t.onChange,b=t.pageID,v=t.partnerMapData,S=t.placeholder,R=t.selectedActionsWithPlugin,L=t.setSelectedActionsWithPlugin,E=t.warningMessage,k=t.workflowID,I=f===void 0?!1:f,T=g===void 0?!1:g,D=h===void 0?!1:h,x=r("useBizWebCometOmniAiInitialInstructionEditorState.react")(d,a,v,L),$=r("useBoolean")(I),P=$.setFalse,N=$.setTrue,M=$.value,w=r("useGeoTheme")(),A,F,O,B,W;if(n[0]!==x||n[1]!==w||n[2]!==I||n[3]!==T||n[4]!==M||n[5]!==D||n[6]!==C){var q=w.selectBorderColor({color:"element"}),U;n[12]!==w?(U=w.selectBorderColor({color:"selected"}),n[12]=w,n[13]=U):U=n[13];var V=U,H;n[14]!==w?(H=w.selectBorderColor({color:"warning"}),n[14]=w,n[15]=H):H=n[15];var G=H,z;n[16]!==w?(z=w.selectBorderColor({color:"error"}),n[16]=w,n[17]=z):z=n[17];var j=z,K=w.selectBorderRadius({context:"container"}),Q=w.selectBorderWidth({context:"input"}),X;n[18]===Symbol.for("react.memo_cache_sentinel")?(X={editable:!0,nodes:o("BusinessAILexicalConsts").BUSINESS_AI_SUPPORTED_LEXICAL_NODES,onError:_,theme:r("BusinessAILexicalEditorTheme")},n[18]=X):X=n[18];var Y;n[19]!==x?(Y={editor:X,editorState:x,policyProduct:"bizapp",surface:"UNKNOWN"},n[19]=x,n[20]=Y):Y=n[20];var J=Y,Z;n[21]!==C?(Z=function(t){t.read(function(){C(o("LexicalMarkdown").$convertToMarkdownString(o("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS,void 0,!0))})},n[21]=C,n[22]=Z):Z=n[22],F=Z;var ee;n[23]===Symbol.for("react.memo_cache_sentinel")?(ee=u.jsx(r("GeoMediaItem.react"),{hasMediaBackground:!1,media:u.jsx(r("GeoIcon.react"),{color:"warning",icon:o("meta-brand-exclamation-triangle-outline-16").metaBrandExclamationTriangleCautionTriangleOutline16}),size:24}),n[23]=ee):ee=n[23],W=ee,A=r("MLCComposer.react"),B=J,O=(e||(e=r("stylex"))).props(m.container,q,K,Q,M&&V,D&&G,T&&j,I&&m.disableBackGround),n[0]=x,n[1]=w,n[2]=I,n[3]=T,n[4]=M,n[5]=D,n[6]=C,n[7]=A,n[8]=F,n[9]=O,n[10]=B,n[11]=W}else A=n[7],F=n[8],O=n[9],B=n[10],W=n[11];var te;n[24]===Symbol.for("react.memo_cache_sentinel")?(te={className:"x78zum5 x1q0g3np x1iyjqo2 x1qughib"},n[24]=te):te=n[24];var ne;n[25]!==I?(ne={0:{className:"x1iyjqo2 x1b6ykf0 x1mzt3pk xf159sx xmzvs34 x1n2onr6 x1hx0egp x126k92a xnq0rdo"},1:{className:"x1iyjqo2 x1b6ykf0 x1mzt3pk xf159sx xmzvs34 x1n2onr6 x126k92a xnq0rdo x1hc1fzr x47corl x87ps6o"}}[!!I<<0],n[25]=I,n[26]=ne):ne=n[26];var re;n[27]!==S?(re=u.jsx(o("LexicalRichTextPlugin").RichTextPlugin,{ErrorBoundary:o("LexicalErrorBoundary").LexicalErrorBoundary,contentEditable:u.jsx(r("MLCContentEditable.react"),babelHelpers.extends({"data-testid":void 0},S==null?{}:{"aria-placeholder":S.toString(),placeholder:u.jsx(r("MLCPlaceholder.react"),{xstyle:m.placeholder,children:S.toString()})},{xstyle:m.inputContainer}))}),n[27]=S,n[28]=re):re=n[28];var oe;n[29]!==ne||n[30]!==re?(oe=u.jsx("div",babelHelpers.extends({},ne,{children:re})),n[29]=ne,n[30]=re,n[31]=oe):oe=n[31];var ae=D&&W,ie;n[32]!==ae||n[33]!==oe?(ie=u.jsxs("div",babelHelpers.extends({},te,{children:[oe,ae]})),n[32]=ae,n[33]=oe,n[34]=ie):ie=n[34];var le;n[35]!==I?(le=!I&&u.jsx(o("LexicalAutoFocusPlugin").AutoFocusPlugin,{}),n[35]=I,n[36]=le):le=n[36];var se;n[37]===Symbol.for("react.memo_cache_sentinel")?(se=u.jsx(o("LexicalListPlugin").ListPlugin,{}),n[37]=se):se=n[37];var ue;n[38]!==l||n[39]!==s||n[40]!==p||n[41]!==y||n[42]!==b||n[43]!==k?(ue=p&&u.jsx(r("BusinessAIMentionsPlugin.react"),{businessID:l,connectedPluginsID:s,onAddActionToInstruction:y,pageID:b,workflowID:k}),n[38]=l,n[39]=s,n[40]=p,n[41]=y,n[42]=b,n[43]=k,n[44]=ue):ue=n[44];var ce,de,me;n[45]===Symbol.for("react.memo_cache_sentinel")?(ce=u.jsx(o("LexicalHistoryPlugin").HistoryPlugin,{}),de=u.jsx(o("LexicalMarkdownShortcutPlugin").MarkdownShortcutPlugin,{transformers:o("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS}),me=u.jsx(o("LexicalClearEditorPlugin").ClearEditorPlugin,{}),n[45]=ce,n[46]=de,n[47]=me):(ce=n[45],de=n[46],me=n[47]);var pe;n[48]!==a||n[49]!==v||n[50]!==L?(pe=u.jsx(o("BizWebCometOmniAiReplaceTextPlugin.react").BizWebCometOmniAiReplaceTextPlugin,{actionMapData:a,partnerMapData:v,setSelectedActionsWithPlugin:L}),n[48]=a,n[49]=v,n[50]=L,n[51]=pe):pe=n[51];var _e;n[52]===Symbol.for("react.memo_cache_sentinel")?(_e=u.jsx(o("LexicalTabIndentationPlugin").TabIndentationPlugin,{}),n[52]=_e):_e=n[52];var fe;n[53]!==F?(fe=u.jsx(o("LexicalOnChangePlugin").OnChangePlugin,{ignoreHistoryMergeTagChange:!0,ignoreSelectionChange:!0,onChange:F}),n[53]=F,n[54]=fe):fe=n[54];var ge;n[55]===Symbol.for("react.memo_cache_sentinel")?(ge=u.jsx(o("BizWebCometOmniAiUpdateMentionPillPlugin.react").BizWebCometOmniAiUpdateMentionPillPlugin,{}),n[55]=ge):ge=n[55];var he;n[56]!==L?(he=u.jsx(o("BizWebCometOmniAiRemoveMentionPillPlugin.react").BizWebCometOmniAiRemoveMentionPillPlugin,{setSelectedActionsWithPlugin:L}),n[56]=L,n[57]=he):he=n[57];var ye;n[58]===Symbol.for("react.memo_cache_sentinel")?(ye=u.jsx(r("GeoDivider.react"),{direction:"horizontal"}),n[58]=ye):ye=n[58];var Ce;n[59]!==i||n[60]!==P||n[61]!==N||n[62]!==ie||n[63]!==le||n[64]!==ue||n[65]!==pe||n[66]!==fe||n[67]!==he||n[68]!==O?(Ce=u.jsxs("div",babelHelpers.extends({},O,{onBlur:P,onFocus:N,children:[ie,le,se,ue,ce,de,me,pe,_e,fe,ge,he,ye,i]})),n[59]=i,n[60]=P,n[61]=N,n[62]=ie,n[63]=le,n[64]=ue,n[65]=pe,n[66]=fe,n[67]=he,n[68]=O,n[69]=Ce):Ce=n[69];var be=D&&E,ve=T&&c,Se;n[70]!==l||n[71]!==s||n[72]!==b||n[73]!==R||n[74]!==L||n[75]!==k?(Se=R.size>0&&u.jsx(r("BizWebCometOmniAiActionSection.react"),{businessID:l,connectedPluginsID:s,pageID:b,selectedActionsWithPlugin:R,setSelectedActionsWithPlugin:L,workflowID:k}),n[70]=l,n[71]=s,n[72]=b,n[73]=R,n[74]=L,n[75]=k,n[76]=Se):Se=n[76];var Re;return n[77]!==A||n[78]!==Ce||n[79]!==be||n[80]!==ve||n[81]!==Se||n[82]!==B?(Re=u.jsxs(A,{initialConfig:B,children:[Ce,be,ve,Se]}),n[77]=A,n[78]=Ce,n[79]=be,n[80]=ve,n[81]=Se,n[82]=B,n[83]=Re):Re=n[83],Re}function _(){}l.BizWebCometOmniAiSkillsAssetsInputEditor=p}),98);
-----
AdsALPageInsights.react",["fbt","AdsALChannel","AdsALConsts","AdsALEAUtils","AdsALRankingTable.react","AsyncRequest","URI","XAdsALFunnelCombinedMetricsControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useEffect,m=b.useState;function a(){l(function(){var a=d("AdsALChannel").AdsALChannel.addListener("al_ui_event",function(a){if(a.event!=="click")return;a={page:d("AdsALEAUtils").getCurrentPage(a.pageURI),data_section:"p2ui",surface:d("AdsALConsts").LASER_NULL_VALUE,html:d("AdsALConsts").LASER_NULL_VALUE,component:d("AdsALConsts").LASER_NULL_VALUE,is_visit_success:0};a=c("XAdsALFunnelCombinedMetricsControllerRouteBuilder").buildUri(a);new(c("AsyncRequest"))().setURI(new(i||(i=c("URI")))(a.toStringPreserveQuery())).setMethod("GET").setReadOnly(!0).setHandler(function(a){a&&e(a.payload.data)}).setErrorHandler(function(a){}).send()});return function(){d("AdsALChannel").AdsALChannel.removeListener("al_ui_event",a)}},[]);var a=m([{order_on_page:"1",surface:"",html_element_name:"",react_component_name:"",short_text:"",medium_text:"",long_text:"",clicks:"",sessions:"",users:""}]),b=a[0],e=a[1];return k.jsx("div",babelHelpers["extends"]({className:"x1gslohp xw3qccf x12nagc xsgj6o6 x1rxj1xn"},{children:k.jsx("div",babelHelpers["extends"]({className:"x1yc453h xh8yej3"},{children:k.jsxs("div",babelHelpers["extends"]({className:"x1e56ztr xh8yej3"},{children:[k.jsxs("div",babelHelpers["extends"]({className:"xyamay9 x1pi30zi x1l90r2v x1swvt13 xdj266r x11i5rnm xat24cr x1mh8g0r"},{children:[k.jsx("div",babelHelpers["extends"]({className:"x1jchvi3 x1xlr1w8"},{children:"Page Click Insights"})),"Daily metrics averaged over last 7 days",k.jsx("br",{}),k.jsx("i",{children:h._(/*BTDS*/"")})]})),k.jsx("div",babelHelpers["extends"]({className:"x1swvt13 x1pi30zi"},{children:k.jsxs("div",babelHelpers["extends"]({className:"x15zctf7 x78zum5 x1t2a60a"},{children:[k.jsx("div",babelHelpers["extends"]({className:"x1h275di x1xlr1w8"},{children:"Users"})),k.jsx("div",babelHelpers["extends"]({className:"x1h275di x1xlr1w8"},{children:"Sessions"})),k.jsx("div",babelHelpers["extends"]({className:"x1h275di x1xlr1w8"},{children:"Clicks"})),k.jsx("div",babelHelpers["extends"]({className:"x5sxuk9 x1xlr1w8"},{children:"Component Short Name"}))]}))})),k.jsx(c("AdsALRankingTable.react"),{allRows:!1,data:b,lastRow:!1}),k.jsx(c("AdsALRankingTable.react"),{allRows:!1,data:b,lastRow:!0})]}))}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
AdsALLoggingInspector.react",["fbt","ix","$InternalEnum","AdsALChannel","AdsALConsts","AdsALDebugTable.react","AdsALEADictionary","AdsALEAElementDetails","AdsALEAUtils","AdsALExploreTable.react","AdsALLoggingInspectorNormalizeTupleQuery.graphql","AdsALPageInsights.react","AdsALRankingTable.react","AdsALStats","AdsALToolTip.react","AdsALUserActionConsts","AdsALUserActionStats","AsyncRequest","FBLogger","GeoButton.react","GeoCard.react","GeoCardHeader.react","GeoFlexbox.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoSection.react","GeoSelectableToken.react","GeoSelectableTokenGroup.react","GeoText.react","MainPageUrl","RelayHooks","ScubaFunnelLink.react","URI","XAdsALFunnelCombinedMetricsControllerRouteBuilder","fbicon","hyperionAutoLogging","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=l||(l=d("react"));e=l;var o=e.useEffect,p=e.useLayoutEffect,q=e.useRef,r=e.useState;function s(a){var b=a.lastClick;a=r(!1);var e=a[0],f=a[1];o(function(){function a(a){a.key==="\\"?(e&&(d("AdsALStats").clearHeatmap(),d("AdsALStats").generateHeatmap(b.component,b.surface)),e||f(!0)):a.key==="|"&&(d("AdsALStats").clearHeatmap(),f(!1))}window.addEventListener("keyup",a,!1);return function(){window.removeEventListener("keyup",a,!1)}},[e,b]);o(function(){e&&(d("AdsALStats").clearHeatmap(),d("AdsALStats").generateHeatmap(b.component,b.surface))},[e,b]);return n.jsx("div",babelHelpers["extends"]({className:"x1y1aw1k x1sxyh0 xwib8y2 xurb0ha x1yc453h"},{children:n.jsx(c("GeoFlexbox.react"),{alignItems:"start",defaultMinSize:"auto",direction:"row",justifyContent:"start",wrap:"nowrap",children:n.jsx(c("GeoCard.react"),{header:n.jsx(c("GeoCardHeader.react"),{heading:h._(/*BTDS*/"")}),children:n.jsxs("div",babelHelpers["extends"]({className:"x1swvt13 x1pi30zi"},{children:[h._(/*BTDS*/"",[h._param("component",b.component)]),n.jsx("br",{}),n.jsx(c("GeoFlexbox.react"),{alignItems:"start",defaultMinSize:"auto",direction:"row",justifyContent:"start",wrap:"nowrap",children:n.jsx(c("GeoButton.react"),{icon:e?d("fbicon")._(i("657222"),16):d("fbicon")._(i("485310"),16),label:e?"Hide Heatmap [Shift + \\]":"Generate Heatmap [\\]",variant:"primary",onClick:function(){e&&d("AdsALStats").clearHeatmap(),f(!e)}})})]}))})})}))}s.displayName=s.name+" [from "+f.id+"]";function t(){var a=r(!0),b=a[0],d=a[1];a=function(){d(!b)};var e="We are planning to rework this tab, please treat the current data with caution!",f="For feedback, feature requests, or help, please visit our Q&A group!",g="Q&A";return n.jsx(n.Fragment,{children:b?n.jsx(c("GeoGuidanceCard.react"),{header:n.jsx(c("GeoGuidanceCardHeader.react"),{heading:"Embedded Analytics is in Beta Testing!",onClose:a}),status:"warning",children:n.jsxs(c("GeoGuidanceCardContent.react"),{children:[n.jsx("b",{children:e}),n.jsx(c("GeoText.react"),{children:f}),n.jsx(c("GeoLink.react"),{href:"https://fb.workplace.com/groups/750896772858430",children:g})]})}):null})}t.displayName=t.name+" [from "+f.id+"]";function u(a){a=a.tooltipState;a=n.jsxs("span",{style:{fontSize:"14px"},children:["Inspector is ",n.jsx("span",{style:{color:a===z.RUNNING?"green":"red"},children:String(a)}),". Use the arrow keys to control the hover tooltip."]});return n.jsx("div",babelHelpers["extends"]({className:"x78zum5 xdt5ytf x1iyjqo2 xh8yej3 x1yc453h"},{children:n.jsx(c("GeoCard.react"),{children:n.jsxs(c("GeoSection.react"),{children:[a,n.jsx("br",{}),n.jsxs(c("GeoText.react"),{children:["[\u2190] "," ","= pause/run"]}),n.jsx("br",{}),n.jsx(c("GeoText.react"),{children:"[\u2192] = collapse pane"}),n.jsx("br",{}),n.jsx(c("GeoText.react"),{children:"[\u2191]/[\u2193] = show/hide tooltip"}),n.jsx("br",{}),n.jsx(c("GeoText.react"),{children:"Alt (Option/\u2325 on Mac) = highlight current component"}),n.jsx("br",{}),n.jsx(c("GeoText.react"),{children:"Ctrl = highlight current surface"})]})})}))}u.displayName=u.name+" [from "+f.id+"]";function v(a){var b=a.clearHistory;a=a.history;var e=q(null);return n.jsx("div",babelHelpers["extends"]({className:"x1y1aw1k x1sxyh0 xwib8y2 xurb0ha x1m3v4wt x1yc453h"},{children:n.jsx(c("GeoCard.react"),{header:n.jsx(c("GeoCardHeader.react"),{action:n.jsx(c("GeoButton.react"),{icon:d("fbicon")._(i("657222"),16),isLabelHidden:!0,label:"Clear click history",tooltip:"Clear click history",variant:"flat",onClick:b}),heading:"Click History"}),children:n.jsx(c("GeoSection.react"),{children:n.jsx("ol",babelHelpers["extends"]({className:"xmn8rco xexx8yu x4uap5 x18d9i69 xkhd6sd"},{ref:e,children:a.map(function(a,b){return n.jsxs("li",{children:[n.jsx("b",{children:a.component})," (surface: "+a.surface+", page: "+a.page+", html: "+a.htmlElementName+")"]},b)})}))})})}))}v.displayName=v.name+" [from "+f.id+"]";var w={component:"",element:window.document.documentElement,htmlElementName:"",htmlElementOriginal:"",page:"",surface:"",isFbtTranslated:!0},x=b("$InternalEnum")({SURFACE:"Surface",COMPONENT:"Component"}),y=b("$InternalEnum")({SURFACE_KEY:"c2c.surface",COMPONENT_KEY:"c2c.actions"}),z=b("$InternalEnum").Mirrored(["PAUSED","RUNNING"]),A=b("$InternalEnum").Mirrored(["HOVER","DEBUGGER"]),B=j!==void 0?j:j=b("AdsALLoggingInspectorNormalizeTupleQuery.graphql");function a(){var a=r([{surface:"",html_element_name:"",react_component_name:"",order_on_page:"1",short_text:"Click a component to load metrics.",medium_text:"",long_text:"",clicks:"1",sessions:"1",users:"1"}]),b=a[0],e=a[1],f="hsla(220,100%,80%,.75)";a=r(w);var g=a[0],i=a[1];a=r("");var j=a[0],l=a[1];a=r("");var q=a[0],C=a[1];a=r(null);var D=a[0],E=a[1];a=r(!0);var F=a[0],G=a[1];a=r(z.RUNNING);var H=a[0],I=a[1];a=r(A.HOVER);var J=a[0],K=a[1];a=r(!1);var L=a[0],M=a[1];a=r(!1);var N=a[0],O=a[1];a=r(d("AdsALUserActionConsts").ADVERTISER_SEGMENTS.map(function(a){return{segment:a,stats:null,enhanced_html_element_name:null}}));var P=a[0],Q=a[1],R=d("RelayHooks").useRelayEnvironment();o(function(){if(L){d("AdsALStats").setupOverlay();var a=d("AdsALEAUtils").buildSurfaceMap();a=a.get(g.surface);if(a){var b=a.map(function(a){return d("AdsALStats").overlayColorOnElement(f,a)});return function(){b.map(function(a){return a.remove()})}}}},[L,g.surface]);o(function(){if(N){d("AdsALStats").setupOverlay();var a=d("AdsALEAUtils").buildComponentMap();a=a.get(g.component);if(a){var b=a.map(function(a){if(a.matches(":hover"))return d("AdsALStats").overlayColorOnElement(f,a)});return function(){b.forEach(function(a){a==null?void 0:a.remove()})}}}},[N,g.component]);a={component:"START",element:window.document.documentElement,htmlElementName:"",htmlElementOriginal:"",page:"",surface:"START",isFbtTranslated:!0};a=r(a);var S=a[0],T=a[1];a=r("START");var U=a[0],V=a[1];a=r("START");var W=a[0],X=a[1];o(function(){function a(a){a.key==="ArrowLeft"&&(H===z.RUNNING?(I(z.PAUSED),G(!1)):H===z.PAUSED&&(I(z.RUNNING),G(!0))),a.key==="ArrowDown"&&K(A.DEBUGGER),a.key==="ArrowUp"&&K(A.HOVER),a.key==="Control"&&M(!1),a.key==="Alt"&&O(!1)}function b(a){a.key==="Control"&&M(!0),a.key==="Alt"&&O(!0)}window.addEventListener("keyup",a,!1);window.addEventListener("keydown",b,!1);return function(){window.removeEventListener("keyup",a,!1),window.removeEventListener("keydown",b,!1)}},[H]);p(function(){var a=d("AdsALChannel").AdsALChannel.addListener("al_ui_event",function(a){var b,e=(m||(m=d("hyperionAutoLogging"))).ALInteractableDOMElement.getInteractable(a.element,"click");b=(b=a.reactComponentName)!=null?b:"START";if(F&&e!=null&&!d("AdsALUserActionConsts").shouldIgnoreEvent(b,a.surface)&&g.element!==e&&(a.event==="mouseenter"||a.event==="mouseover")&&b!=="START"){var f,h=(f=a.surface)!=null?f:"",j=a.elementName,k=d("AdsALEAUtils").getCurrentPage(a.pageURI);d("RelayHooks").fetchQuery(R,B,{surface:h,page:k,react_component_name:b,html_element_texts:(f=(f=a.elementText)==null?void 0:(b=f.sourceTexts)==null?void 0:b.map(function(a){return{text:a.text,source:a.source,is_fbt_translated:a.isFbtTranslated}}))!=null?f:[]}).toPromise().then(function(b){if(b){var d=b.xfb_ads_al_tuple_enriched;c("FBLogger")("ads_manager_auto_logging").debug("[ReadableLogging] Get tuple response: %s",JSON.stringify(b));if(d){E({name:(b=(b=d.readable_logging)==null?void 0:(b=b.named_element)==null?void 0:b.name)!=null?b:"",description:(b=(b=d.readable_logging)==null?void 0:(b=b.named_element)==null?void 0:b.description)!=null?b:""});C((b=(b=d.ownership)==null?void 0:b.surface_oncall)!=null?b:"");l((b=(b=d.ownership)==null?void 0:b.component_oncall)!=null?b:"");i({component:(b=d.react_component)!=null?b:"",element:e,htmlElementName:(b=d.html_element)!=null?b:"",htmlElementOriginal:(d=j)!=null?d:"",page:k,surface:h,isFbtTranslated:(d=(b=a.elementText)==null?void 0:b.isFbtTranslated)!=null?d:!1})}else E(null),l(""),C(""),i(w)}})["catch"](function(a){c("FBLogger")("ads_manager_auto_logging").debug("[EA][Error] Get details response: %s",JSON.stringify(a.getPayload()))})}});return function(){d("AdsALChannel").AdsALChannel.removeListener("al_ui_event",a)}},[F]);p(function(){var a;d("AdsALUserActionStats").getALUserActionStats(g.component,(a=g.htmlElementOriginal)!=null?a:"",g.page,d("AdsALUserActionConsts").ADVERTISER_SEGMENTS,Q)},[g]);a={react_component_name:g.component,html_element_name:g.htmlElementName,page:g.page,surface:(a=g.surface)!=null?a:"",segment_stats:P};P=r({DPNumClicks:0,DPDeltaClicks:0,DPLineChartSeries:[],avg_click_ts:[],click_ts:[],wau_ts:[],dau_ts:[]});var Y=P[0],aa=P[1];P=r([]);var ba=P[0],Z=P[1];function ca(){Z([]),T({component:"START",element:window.document.documentElement,htmlElementName:"",page:d("AdsALEAUtils").getCurrentPage(d("MainPageUrl").mainPageUrl),surface:"START",isFbtTranslated:!0}),X("START")}o(function(){d("AdsALStats").getALClickMetricsForElement(g.component,g.surface,g.isFbtTranslated&&g.htmlElementName!==""?g.htmlElementName.toLowerCase().trim().slice(-1)==="s"?g.htmlElementName.toLowerCase().trim().slice(0,-1):g.htmlElementName.toLowerCase().trim():d("AdsALConsts").LASER_NULL_VALUE,aa)},[g.htmlElementName,g.component,g.surface,g.isFbtTranslated]);o(function(){d("AdsALStats").resetCache(),Z(function(a){return[].concat(a,[S])})},[S]);P=r(x.SURFACE);var $=P[0],da=P[1];o(function(){var a=d("AdsALChannel").AdsALChannel.addListener("al_ui_event",function(a){var b,c=a.element;if(c==null||a.event!=="click")return;c=a.reactComponentName;b=a.surface===""?"START":(b=a.surface)!=null?b:"START";var e=a.elementName;e!=null&&V(e);if(c!=null&&!d("AdsALUserActionConsts").shouldIgnoreEvent(c,b)){T({component:c,element:window.document.documentElement,htmlElementName:(c=e)!=null?c:"",page:d("AdsALEAUtils").getCurrentPage(a.pageURI),surface:b,isFbtTranslated:(c=(e=a.elementText)==null?void 0:e.isFbtTranslated)!=null?c:!1})}X(b)});return function(){d("AdsALChannel").AdsALChannel.removeListener("al_ui_event",a)}},[F,$,U,W,X]);o(function(){var a=d("AdsALChannel").AdsALChannel.addListener("al_ui_event",function(a){var b,f=a.element;if(f==null||a.event!=="click")return;f=a.reactComponentName;a={page:g.page,surface:$===x.SURFACE?(b=a.surface)!=null?b:"":d("AdsALConsts").LASER_NULL_VALUE,data_section:$===x.SURFACE?y.SURFACE_KEY:y.COMPONENT_KEY,component:$===x.SURFACE?d("AdsALConsts").LASER_NULL_VALUE:(b=f)!=null?b:"",html:$===x.SURFACE?d("AdsALConsts").LASER_NULL_VALUE:((f=a.elementName)==null?void 0:f.slice(-1))==="s"?(f=(b=a.elementName)==null?void 0:b.slice(0,-1).toLowerCase())!=null?f:"":(f=(b=a.elementName)==null?void 0:b.toLowerCase())!=null?f:"",is_visit_success:0};b=c("XAdsALFunnelCombinedMetricsControllerRouteBuilder").buildUri(a);new(c("AsyncRequest"))().setURI(new(k||(k=c("URI")))(b.toStringPreserveQuery())).setMethod("GET").setReadOnly(!0).setHandler(function(a){a&&e(a.payload.data.map(function(a){var b=a.users,c=a.component,d=a.html,e=a.ranking,f=a.sessions,g=a.surface;a=a.clicks;return{surface:g,html_element_name:d,react_component_name:c,order_on_page:e,short_text:$===x.SURFACE?g:d,medium_text:d+" "+c,long_text:d+" ["+c+"] ("+g+")",clicks:a,sessions:f,users:b}}))}).setErrorHandler(function(a){}).send()});return function(){d("AdsALChannel").AdsALChannel.removeListener("al_ui_event",a)}},[$,g.page]);P=[{name:"Clicks",labels:["Date","Number of clicks"],value:Y.DPLineChartSeries},{name:"Average Clicks",labels:["Date","Number of clicks"],value:Y.avg_click_ts}];U=[{name:"DAU",labels:["Date","DAU"],value:Y.dau_ts},{name:"WAU",labels:["Date","WAU"],value:Y.wau_ts}];return n.jsx("div",babelHelpers["extends"]({className:"x1xmf6yo x1emribx x1e56ztr x1i64zmx"},{children:n.jsxs(c("GeoFlexbox.react"),{alignItems:"start",defaultMinSize:"auto",direction:"column",justifyContent:"start",wrap:"nowrap",children:[n.jsx("div",babelHelpers["extends"]({className:"x9f619 x1y1aw1k x1sxyh0 xwib8y2 xurb0ha xh8yej3"},{children:n.jsx(t,{})})),n.jsx(u,{tooltipState:H}),n.jsx(c("AdsALEADictionary"),{}),n.jsxs(c("GeoCard.react"),{children:[J===A.DEBUGGER?n.jsx(c("AdsALEAElementDetails"),{clickData:P,component:g.component,componentOwner:j,html:g.htmlElementName,id:"inspector",page:g.page,readableLogging:D,surface:g.surface,surfaceOwner:q,userData:U}):null,n.jsxs(c("GeoSection.react"),{children:[n.jsx(c("AdsALExploreTable.react"),{tableData:a}),n.jsx(c("ScubaFunnelLink.react"),{react_component_name:g.component})]})]}),n.jsx(c("GeoCard.react"),{children:n.jsxs("div",babelHelpers["extends"]({className:"xh8yej3"},{children:[n.jsx(s,{lastClick:S}),n.jsx(v,{clearHistory:ca,history:ba}),J===A.HOVER?n.jsx(c("AdsALToolTip.react"),{active:H===z.RUNNING||H===z.PAUSED,clickData:P,component:g.component,componentOwner:j,html:g.htmlElementName,mouseTracking:F,page:g.page,readableLogging:D,surface:g.surface,surfaceOwner:q,userData:U}):null]}))}),n.jsxs(c("GeoCard.react"),{header:n.jsx(c("GeoCardHeader.react"),{heading:h._(/*BTDS*/"")}),children:[n.jsx(c("GeoSection.react"),{children:n.jsxs(c("GeoSection.react"),{children:["Daily metrics averaged over last 7 days",n.jsx("br",{}),n.jsx("br",{}),n.jsxs("div",babelHelpers["extends"]({className:"x78zum5 x1q0g3np x6s0dn4 xl56j7k xr1yuqi xkrivgy x4ii5y1 x1gryazu x1f6kntn"},{children:["Drilldown by:","\xa0",n.jsxs(c("GeoSelectableTokenGroup.react"),{selectionType:"single",value:[$],onChange:function(a){da(a[0])},children:[n.jsx(c("GeoSelectableToken.react"),{isDisabled:$===x.SURFACE,label:h._(/*BTDS*/""),value:x.SURFACE}),n.jsx(c("GeoSelectableToken.react"),{isDisabled:$===x.COMPONENT,label:h._(/*BTDS*/""),value:x.COMPONENT})]})]}))]})}),n.jsxs(c("GeoSection.react"),{children:[n.jsx("div",babelHelpers["extends"]({className:"x1swvt13 x1pi30zi"},{children:n.jsxs("div",babelHelpers["extends"]({className:"x15zctf7 x78zum5 x1t2a60a"},{children:[n.jsx("div",babelHelpers["extends"]({className:"x1h275di"},{children:"Users"})),n.jsx("div",babelHelpers["extends"]({className:"x1h275di"},{children:"Sessions"})),n.jsx("div",babelHelpers["extends"]({className:"x1h275di"},{children:"Clicks"})),n.jsx("div",babelHelpers["extends"]({className:"x5sxuk9"},{children:"Short Name"}))]}))})),n.jsx(c("AdsALRankingTable.react"),{allRows:!0,data:b,lastRow:!1})]}),n.jsx(c("GeoSection.react"),{children:n.jsx(c("AdsALPageInsights.react"),{})}),n.jsx(c("GeoSection.react"),{children:n.jsx(d("AdsALDebugTable.react").AdsALDebugTable,{})})]})]})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessAILexicalConsts",["BizWebCometOmniAiMentionChipNode.react","Lexical","LexicalCode","LexicalLink","LexicalList","LexicalRichText"],(function(a,b,c,d,e,f,g){"use strict";a=[d("BizWebCometOmniAiMentionChipNode.react").BizWebCometOmniAiMentionChipNode,d("LexicalList").ListNode,d("LexicalList").ListItemNode,d("Lexical").TextNode,d("Lexical").ParagraphNode,d("LexicalRichText").HeadingNode,d("LexicalRichText").QuoteNode,d("LexicalCode").CodeNode,d("LexicalLink").LinkNode];g.BUSINESS_AI_SUPPORTED_LEXICAL_NODES=a}),98);
-----
BizWebCometOmniAiAssetsInputEditor.react",["ix","BizGenAIGatingContext","BizWebCometOmniAiReplaceTextPlugin.react","BizWebCometOmniAiTopicSuggestedInstructions.react","BusinessAILexicalConsts","BusinessAILexicalEditorTheme","BusinessAILexicalMarkdownTransformers","BusinssAIMentionsPlugin.react","GeoIcon.react","GeoMediaItem.react","Lexical","LexicalClearEditorPlugin","LexicalErrorBoundary","LexicalHistoryPlugin","LexicalListPlugin","LexicalMarkdown","LexicalMarkdownShortcutPlugin","LexicalOnChangePlugin","LexicalRichTextPlugin","LexicalTabIndentationPlugin","MLCComposer.react","MLCContentEditable.react","MLCPlaceholder.react","emptyFunction","fbicon","isStringNullOrWhitespaceOnly","mlcFromMarkdown","react","stylex","useBoolean","useGeoTheme"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useContext,n=b.useMemo,o={container:{display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",paddingBottom:"xwib8y2",$$css:!0},disabled:{opacity:"xbyyjgo",pointerEvents:"x47corl",userSelect:"x87ps6o",$$css:!0},inputContainer:{color:"x1ijq8u",lineHeight:"x1xuplte",marginTop:"x1rdy4ex",minHeight:"x1l1xkqo",$$css:!0},placeholder:{top:"xfyf068",$$css:!0},textArea:{flexGrow:"x1iyjqo2",outline:"x1b6ykf0",overflowWrap:"x1mzt3pk",paddingEnd:"x1sxyh0",paddingStart:"xurb0ha",position:"x1n2onr6",userSelect:"x1hx0egp",whiteSpace:"x126k92a",width:"xnq0rdo",$$css:!0}};function a(a){var b=a._isDisabled;b===void 0?!1:b;b=a.bottomInstruction;var e=a.businessID,f=a.errorMessage,g=a.initialText,j=a.isDisabled;j=j===void 0?!1:j;var p=a.isError;p=p===void 0?!1:p;var q=a.isGeneratedSuggestedInstructionsMutationInFlight,r=a.isWarning;r=r===void 0?!1:r;var s=a.onChange,t=a.placeholder,u=a.setInstructionsSource,v=a.setSuggestedInstructionStatus,w=a.suggestedInstructions,x=a.suggestedInstructionStatus;a=a.warningMessage;var y=m(c("BizGenAIGatingContext"));y=y.isBetaBuild;var z=l(function(){var a=d("Lexical").$getRoot();a.clear();if(c("isStringNullOrWhitespaceOnly")(g)){var b=d("Lexical").$createParagraphNode();b.append(d("Lexical").$createTextNode(g));a.append(b)}else d("mlcFromMarkdown").$mlcConvertFromMarkdownString(g,d("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS)},[g]),A=c("useBoolean")(!1),B=A.setFalse,C=A.setTrue;A=A.value;var D=c("useGeoTheme")(),E=D.selectBorderColor({color:"element"}),F=D.selectBorderColor({color:"selected"}),G=D.selectBorderColor({color:"warning"}),H=D.selectBorderColor({color:"error"}),I=D.selectBorderRadius({context:"container"});D=D.selectBorderWidth({context:"input"});var J=n(function(){return{editor:{editable:!0,nodes:d("BusinessAILexicalConsts").BUSINESS_AI_SUPPORTED_LEXICAL_NODES,onError:function(){},theme:c("BusinessAILexicalEditorTheme")},editorState:z,policyProduct:"bizapp",surface:"UNKNOWN"}},[z]),K=function(a){a.read(function(){s(d("LexicalMarkdown").$convertToMarkdownString(d("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS,void 0,!0))})},L=k.jsx(c("GeoMediaItem.react"),{hasMediaBackground:!1,media:k.jsx(c("GeoIcon.react"),{color:"warning",icon:d("fbicon")._(h("502064"),16)}),size:24});return k.jsxs(c("MLCComposer.react"),{initialConfig:J,children:[k.jsxs("div",{className:(i||(i=c("stylex")))(o.container,E,I,D,A&&F,r&&G,p&&H),onBlur:B,onFocus:C,children:[k.jsxs("div",{className:"x78zum5 x1q0g3np x1iyjqo2 x1qughib",children:[k.jsx("div",babelHelpers["extends"]({},i.props(o.textArea,j&&o.disabled),{children:k.jsx(d("LexicalRichTextPlugin").RichTextPlugin,{ErrorBoundary:d("LexicalErrorBoundary").LexicalErrorBoundary,contentEditable:k.jsx(c("MLCContentEditable.react"),babelHelpers["extends"]({},t==null?{}:{"aria-placeholder":t.toString(),placeholder:k.jsx(c("MLCPlaceholder.react"),{xstyle:o.placeholder,children:t.toString()})},{xstyle:o.inputContainer}))})})),r&&L]}),k.jsx(d("LexicalListPlugin").ListPlugin,{}),y&&k.jsx(c("BusinssAIMentionsPlugin.react"),{businessID:e}),k.jsx(d("LexicalHistoryPlugin").HistoryPlugin,{}),k.jsx(d("LexicalMarkdownShortcutPlugin").MarkdownShortcutPlugin,{transformers:d("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS}),k.jsx(d("LexicalClearEditorPlugin").ClearEditorPlugin,{}),k.jsx(d("BizWebCometOmniAiReplaceTextPlugin.react").BizWebCometOmniAiReplaceTextPlugin,{}),k.jsx(d("LexicalTabIndentationPlugin").TabIndentationPlugin,{}),k.jsx(d("LexicalOnChangePlugin").OnChangePlugin,{ignoreHistoryMergeTagChange:!0,ignoreSelectionChange:!0,onChange:K}),b]}),r&&a,p&&f,k.jsx(d("BizWebCometOmniAiTopicSuggestedInstructions.react").BizWebCometOmniAiTopicSuggestedInstructions,{isGeneratedSuggestedInstructionsMutationInFlight:(J=q)!=null?J:!1,setInstructionsSource:(E=u)!=null?E:c("emptyFunction"),setSuggestedInstructionStatus:(I=v)!=null?I:c("emptyFunction"),suggestedInstructionStatus:(D=x)!=null?D:[],suggestedInstructions:(A=w)!=null?A:""})]})}a.displayName=a.name+" [from "+f.id+"]";g.BizWebCometOmniAiAssetsInputEditor=a}),98);
-----
BizWebCometOmniAiAssetsInputPreview.react",["BusinessAILexicalConsts","BusinessAILexicalEditorTheme","BusinessAILexicalMarkdownTransformers","GeoTextSelectors","Lexical","LexicalErrorBoundary","LexicalPlainTextPlugin","MLCComposer.react","MLCContentEditable.react","isStringNullOrWhitespaceOnly","mlcFromMarkdown","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useMemo,m={background:{backgroundColor:"x9zvrcx",$$css:!0},backgroundOnHover:{backgroundColor:"x1x23s0y",$$css:!0},inputContainer:{WebkitBoxOrient:"x1ua5tub",WebkitLineClamp:"xnajbk2",color:"xoyztfc",display:"x104kibb",lineHeight:"x1xuplte",overflowX:"x6ikm8r",overflowY:"x10wlt62",textOverflow:"xlyipyv",$$css:!0},inputContainerWithoutClamp:{color:"xswm258",lineHeight:"x1xuplte",textOverflow:"xlyipyv",$$css:!0},textArea:{flexGrow:"x1iyjqo2",outline:"x1b6ykf0",overflowWrap:"x1mzt3pk",position:"x1n2onr6",userSelect:"x1hx0egp",whiteSpace:"x126k92a",$$css:!0},textOnHover:{color:"x1i6nvna",$$css:!0}};function a(a){var b=a.initialText,e=a.isOnHover;e=e===void 0?!1:e;a=a.isPreview;a=a===void 0?!0:a;var f=k(function(){var a=d("Lexical").$getRoot();a.clear();if(c("isStringNullOrWhitespaceOnly")(b)){var e=d("Lexical").$createParagraphNode();e.append(d("Lexical").$createTextNode(b));a.append(e)}else d("mlcFromMarkdown").$mlcConvertFromMarkdownString(b,d("BusinessAILexicalMarkdownTransformers").BUSSINESS_AI_LEXICAL_MARKDOWN_TRANSFORMERS)},[b]),g=l(function(){return{editor:{editable:!1,nodes:d("BusinessAILexicalConsts").BUSINESS_AI_SUPPORTED_LEXICAL_NODES,onError:function(){},theme:c("BusinessAILexicalEditorTheme")},editorState:f,policyProduct:"bizapp",surface:"UNKNOWN"}},[f]);return j.jsx(c("MLCComposer.react"),{initialConfig:g,children:j.jsx("div",babelHelpers["extends"]({className:"x78zum5 x1q0g3np x1iyjqo2 x1qughib xwya9rg"},{children:j.jsx("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(m.textArea,d("GeoTextSelectors").selectFont({size:"value"}),!a&&m.background,!a&&e&&m.backgroundOnHover),{children:j.jsx(d("LexicalPlainTextPlugin").PlainTextPlugin,{ErrorBoundary:d("LexicalErrorBoundary").LexicalErrorBoundary,contentEditable:j.jsx(c("MLCContentEditable.react"),{xstyle:[a?m.inputContainer:m.inputContainerWithoutClamp,e&&a&&m.textOnHover]})})}))}))})}a.displayName=a.name+" [from "+f.id+"]";g.BizWebCometOmniAiAssetsInputPreview=a}),98);
-----
MAWWAComms",["MAWClearSignalAndTempStores","MAWCommsConfig","MAWCreateGroupApi","MAWCurrentUser","MAWEphemeralConsts","MAWHandleReachabilityErrorAdminMsgApi","MAWLoadRecentParticipantsApi","WAResolvable","WAService","WATagsLogger","gkx","isUseridAnnotationEnabled","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to init WA service: ",""]);h=function(){return a};return a}var i=new(d("WAResolvable").Resolvable)();function a(a,b,e,f){i=new(d("WAResolvable").Resolvable)();return d("WAService").makeWAService({config:a,dependencies:{clearSignalAndTempStores:d("MAWClearSignalAndTempStores").clearSignalAndTempStores,createGroups:d("MAWCreateGroupApi").createGroups,ephemeralMaxDeletionWindowForUnseenMessage:function(){return d("MAWEphemeralConsts").ephemeralMaxDelectionWindowForUnseenMessage},handleReachabilityErrorAdminMsg:d("MAWHandleReachabilityErrorAdminMsgApi").handleReachabilityErrorAdminMsg,isEmployee:d("MAWCurrentUser").isEmployee,isUseridAnnotationEnabled:c("isUseridAnnotationEnabled"),loadRecentParticipants:d("MAWLoadRecentParticipantsApi").loadRecentParticipants,mediaUploadRoot:function(){return"/wa-msgr/mms"}},getCommsConfig:d("MAWCommsConfig").getCommsConfig,hmacKey:e,regData:b,serverRPC:f}).then(function(a){var b=a.oneQueue,d=a.protocolQueue,e=a.startComms;return{oneQueue:b,protocolQueue:d,startComms:function(){if(c("gkx")("8455")){c("promiseDone")(e().then(function(){i.resolve()},function(a){i.reject(a)}));return i.promise}else return e()}}},function(a){d("WATagsLogger").TAGS(["backend"]).ERROR(h(),a);throw a})}function b(a){i.reject(a)}g.initWAService=a;g.rejectCommsSetup=b}),98);
-----
IGDDisappearingMessagesPanel.react",["fbt","CometLink.react","DisappearingMessagesMode","IGDDMModeContextProvider","IGDDisappearingMessagesStrings","IGDDisappearingMessagesToggleSubHeader.react","IGDEncryptionKeysSection.react","IGDSBox.react","IGDSLockFilledIcon.react","IGDSRadioButton.react","IGDSRadioButtonGroup.react","IGDSSwitch.react","IGDSText.react","IGDThreadDetailRow.react","JSResourceForInteraction","MAWEphemeralConsts","PolarisDismissEntry","PolarisUA","gkx","react","useDebouncedComet","useIGDSLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext,l={actions:{flexShrink:"x2lah0s",paddingBottom:"x1g2khh7",paddingStart:"xbbxn1n",paddingLeft:null,paddingRight:null,paddingEnd:"xxbr6pl",paddingTop:"x1p5oq8j",$$css:!0},actionsMobile:{paddingStart:"x1swvt13",paddingLeft:null,paddingRight:null,paddingEnd:"x1pi30zi",$$css:!0},infoSection:{borderTopColor:"x5ur3kl",borderTopStyle:"x13fuv20",borderTopWidth:"x178xt8z",$$css:!0},keysSubHeaderContainer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",marginEnd:"xqmxbcd",marginLeft:null,marginRight:null,marginStart:"xmupa6y",paddingStart:"x1swvt13",paddingLeft:null,paddingRight:null,paddingEnd:"x1pi30zi",paddingTop:"xz9dl7a",paddingBottom:"xsag5q8",$$css:!0},keysSubHeaderContainerMobile:{marginEnd:"xktsk01",marginLeft:null,marginRight:null,marginStart:"x1d52u69",paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,paddingEnd:"xn6708d",$$css:!0},keysSubHeaderLink:{marginStart:"xsgj6o6",marginLeft:null,marginRight:null,$$css:!0}};function m(){var a=d("PolarisUA").isMobile();return j.jsx(c("IGDSBox.react"),{color:"secondaryBackground",xstyle:[l.keysSubHeaderContainer,a&&l.keysSubHeaderContainerMobile],children:j.jsxs(c("IGDSText.react"),{color:"primaryText",maxLines:3,size:"footnote",textAlign:"center",children:[j.jsx(c("IGDSBox.react"),{display:"inlineBlock",marginEnd:2,children:j.jsx(c("IGDSLockFilledIcon.react"),{alt:"lock-icon",color:"ig-secondary-icon",size:8})}),d("IGDDisappearingMessagesStrings").DM_SECURITY_NOTICE,j.jsx(c("CometLink.react"),{color:"primary",href:d("IGDDisappearingMessagesStrings").LEARN_MORE_LINK,target:"_blank",weight:"bold",xstyle:l.keysSubHeaderLink,children:h._("u8be6u7ec6u4e86u89e3")})]})})}m.displayName=m.name+" [from "+f.id+"]";function n(){var a=k(d("IGDDMModeContextProvider").IGDDMModeContext),b=a.dmMode;a=a.toggleDMMode;var e=c("useDebouncedComet")(a);a=h._("u5373u9605u6d88u606f");var f=c("useIGDSLazyDialog")(c("JSResourceForInteraction")("IGDDisappearingMessagesNUXModal.react").__setRef("IGDDisappearingMessagesPanel.react")),g=f[0];f=function(){b===c("DisappearingMessagesMode").OFF&&!i()?g({}):e(),d("PolarisDismissEntry").setInstamadilloNuxSessionTimes(d("PolarisDismissEntry").IGD_INSTAMADILLO_TYPE)};function i(){return d("PolarisDismissEntry").isInstamadilloNuxDismissed(d("PolarisDismissEntry").IGD_INSTAMADILLO_TYPE)}return j.jsx(c("IGDThreadDetailRow.react"),{addOnEnd:j.jsx(c("IGDSSwitch.react"),{"aria-label":a,onValueChange:f,testid:void 0,value:b===c("DisappearingMessagesMode").ON}),text:a})}n.displayName=n.name+" [from "+f.id+"]";function a(){var a=k(d("IGDDMModeContextProvider").IGDDMModeContext),b=a.dmMode,e=a.lastSetTtlSec,f=a.setLastSetTtlSec;a=[{label:h._("24 u5c0fu65f6"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds)},{label:h._("7 u5929"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds*7)},{label:h._("30 u5929"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds*30)}];e===d("MAWEphemeralConsts").oneHourInSeconds&&a.unshift({label:h._("1 u5c0fu65f6"),ttl:String(d("MAWEphemeralConsts").oneHourInSeconds)});c("gkx")("24015")&&a.unshift({label:h._("[Internal] 15 seconds"),ttl:String(15)});var g=d("PolarisUA").isMobile(),i=h._("u4fddu62a4u6d88u606fu5b89u5168");return j.jsxs(j.Fragment,{children:[j.jsx(m,{}),j.jsx(n,{}),j.jsx(c("IGDSBox.react"),{paddingX:6,paddingY:3,children:j.jsx(c("IGDSRadioButtonGroup.react"),{label:h._("u9009u62e9u8ba1u65f6u5668"),onChange:function(a){f(Number(a))},selectedValue:String(e),showBorder:!0,children:a.map(function(a,d){return j.jsx(c("IGDSRadioButton.react"),{isDisabled:b===c("DisappearingMessagesMode").OFF,label:a.label,radioAlignment:"end",testid:void 0,value:String(a.ttl)},d)})})}),j.jsx(c("IGDDisappearingMessagesToggleSubHeader.react"),{}),j.jsx(c("IGDSBox.react"),{direction:"column",xstyle:[l.actions,l.infoSection,g&&l.actionsMobile],children:j.jsx(c("IGDSText.react"),{size:"label",weight:"semibold",children:i})}),j.jsx(c("IGDEncryptionKeysSection.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MessageMarketingTryMeModal.react",["fbt","ix","CurrentLocale","GeoButton.react","GeoHStack.react","GeoIcon.react","GeoIllustrationModal.react","GeoModalFooter.react","GeoSection.react","GeoText.react","GeoVStack.react","Image.react","MessageMarketingTryMeModalConsts","MessageMarketingTryMeModalStepComponent.react","fbicon","geoMargin","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react");function a(a){var b=a.experienceLanguage,e=a.isShown;a=a.onHide;b=(b=b)!=null?b:c("CurrentLocale").get().split("_")[0];return k.jsx(c("GeoIllustrationModal.react"),{"data-testid":void 0,footer:k.jsx(c("GeoModalFooter.react"),{primaryButton:k.jsx(c("GeoButton.react"),{label:h._("__JHASH__SJEFHwGRgSa__JHASH__"),variant:"primary",onClick:a})}),heading:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_TITLE,image:k.jsx(c("Image.react"),{src:i("423299"),width:339}),isShown:e,orientation:"vertical",onHide:a,children:k.jsxs(c("GeoSection.react"),{children:[k.jsx(c("GeoText.react"),{children:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_DESCRIPTION}),k.jsxs(c("GeoHStack.react"),{xstyle:c("geoMargin").top24,children:[k.jsxs(c("GeoVStack.react"),{alignItems:"start",justifyContent:"center",children:[k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{icon:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("550100"),24)}),title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_FIRST_STEP}),k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{icon:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("1663260"),24)}),title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_SECOND_STEP}),k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{icon:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("664859"),24)}),title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_THIRD_STEP})]}),k.jsx(c("Image.react"),{src:d("MessageMarketingTryMeModalConsts").getTryMeQRCodeForLanguage(b),width:120})]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MessageMarketingTryMeModalConsts",["fbt","ix"],(function(a,b,c,d,e,f,g,h,i){"use strict";b=h._("__JHASH__XZzTjP0a2lB__JHASH__");c=h._("__JHASH__gUsTlbaTK_k__JHASH__");d=h._("__JHASH__4rjCZIEXI1C__JHASH__");e=h._("__JHASH__eDNs1VeJUiu__JHASH__");f=h._("__JHASH__HyLMSUPvHPO__JHASH__");h=h._("__JHASH__jTjQjBCLWbP__JHASH__");function a(a){switch(a){case"en":return i("425123");case"es":return i("425882");case"pt":return i("425884");case"id":return i("425883");default:return i("425123")}}g.TRY_ME_BUTTON_LABEL=b;g.TRY_ME_MODAL_TITLE=c;g.TRY_ME_MODAL_DESCRIPTION=d;g.TRY_ME_MODAL_GUIDANCE_FIRST_STEP=e;g.TRY_ME_MODAL_GUIDANCE_SECOND_STEP=f;g.TRY_ME_MODAL_GUIDANCE_THIRD_STEP=h;g.getTryMeQRCodeForLanguage=a}),226);
-----
MessageMarketingTryMeExperience.react",["AdsInterfacesLogger","GeoButton.react","MessageMarketingTryMeModal.react","MessageMarketingTryMeModalConsts","react","useBoolean"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.experienceLanguage;var b=c("useBoolean")(!1),e=b.value,f=b.setTrue;b=b.setFalse;var g=function(){c("AdsInterfacesLogger").log({eventCategory:"user_action",eventName:"marketing_message_try_me_button_click"}),f()};return i.jsxs(i.Fragment,{children:[i.jsx(c("GeoButton.react"),{label:d("MessageMarketingTryMeModalConsts").TRY_ME_BUTTON_LABEL,onClick:g}),i.jsx(c("MessageMarketingTryMeModal.react"),{experienceLanguage:a,isShown:e,onHide:b})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
AdsALConsts",["ALConsts"],(function(a,b,c,d,e,f,g){"use strict";a="data-auto-logging-id";b="data-auto-logging-dependent-region";c="["+d("ALConsts").AUTO_LOGGING_COMPONENT_TYPE+"]";e="\N";g.AUTO_LOGGING_ID=a;g.AUTO_LOGGING_DEPENDENT_REGION=b;g.LoggableElementsSelector=c;g.LASER_NULL_VALUE=e}),98);
-----
AdsALFDSLoggingRegionProvider.react",["ALConsts","AdsALConsts","AdsALSubsurface","AdsALSurface","AdsALSurfaceFDSPlugin","BUIPrivateLoggingRegionContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.name;a=a.children;return c("AdsALSurface")({surface:c("AdsALSurfaceFDSPlugin"),subsurface:d("AdsALSubsurface").getDynamicSubsurface(b)})(a)}var j=c("gkx")("21234")?{renderer:a,setupElement:e}:{setupElement:e};function b(a){a=a.children;return i.jsx(c("BUIPrivateLoggingRegionContext").Provider,{value:j,children:a})}b.displayName=b.name+" [from "+f.id+"]";function e(a,b,c){a.setAttribute(d("ALConsts").AUTO_LOGGING_COMPONENT_TYPE,b),c&&a.setAttribute(d("AdsALConsts").AUTO_LOGGING_DEPENDENT_REGION,"")}g["default"]=b}),98);
-----
AdsALGeoLoggingRegionProvider.react",["ALConsts","AdsALConsts","AdsALSubsurface","AdsALSurface","AdsALSurfaceGeoPlugin","GeoPrivateLoggingRegionContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.name;a=a.children;var e=/^Geo(?:Banner|(?:Collapsible)?GuidanceCard|Notice|OnboardingModal|Tour|TourFeatureStep|TourWorkflowStep)/.test(b),f=e?{trackVisibilityThreshold:.5}:{nonInteractive:!0};return e||c("gkx")("21235")?c("AdsALSurface")({surface:c("AdsALSurfaceGeoPlugin"),subsurface:d("AdsALSubsurface").getDynamicSubsurface(b),capability:f})(a):a}var j={renderer:a,setupElement:e};function b(a){a=a.children;return i.jsx(c("GeoPrivateLoggingRegionContext").Provider,{value:j,children:a})}b.displayName=b.name+" [from "+f.id+"]";function e(a,b,c){a.setAttribute(d("ALConsts").AUTO_LOGGING_COMPONENT_TYPE,b),c&&a.setAttribute(d("AdsALConsts").AUTO_LOGGING_DEPENDENT_REGION,"")}g["default"]=b}),98);
-----
ALConsts",[],(function(a,b,c,d,e,f){a="data-auto-logging-component-type";f.AUTO_LOGGING_COMPONENT_TYPE=a}),66);
-----
BizWebALConsts",[],(function(a,b,c,d,e,f){"use strict";a=["Biz","^Business.*"].join("|");b=["ErrorBoundary","LayoutComponentsFactory","Provider","Wrapper","deferredLoadComponent","EmptyWrapper","HeroPlaceholder","CometPlaceholder","Surface","Comet","FDS","Geo","SUI","Decorator","BizInboxButton","BizWebALSurface","BizWebPrivate","BizKitSuspense"].join("|");f.COMPONENT_NAME_ALLOWLIST=a;f.COMPONENT_NAME_BLOCKLIST=b}),66);
-----
BizWebALSurfaceUtils",["BizWebALConsts"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return a.match(d("BizWebALConsts").COMPONENT_NAME_ALLOWLIST)!=null&&a.match(d("BizWebALConsts").COMPONENT_NAME_BLOCKLIST)==null}g.componentNameValidator=a}),98);
-----
IGDDMModeContextProvider",["DisappearingMessagesMode","FBLogger","I64","IGDAWAdminWriteMsgTxn","IGDDisappearingMessagesStrings","Int64Hooks","MAWEphemeralConsts","MWLSThread","MWPActor.react","MessengerWebUXLogger","PolarisDirectAPI","PolarisDismissEntry","ReQL","ReQLSuspense","asyncToGeneratorRuntime","getInstamadilloLoggingExtraData","isE2EEAttributedInstamadillo","promiseDone","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.createContext;e.useCallback;var m=e.useEffect,n=e.useMemo,o=e.useState,p=e.c,q=l({dmMode:c("DisappearingMessagesMode").OFF,lastSetTtlSec:d("MAWEphemeralConsts").oneDayInSeconds,setLastSetTtlSec:function(){},toggleDMMode:function(){}});function r(a){var b=p(6),c=o(a),d=c[0],e=c[1];c=o(a);var f=c[0];c=c[1];f!==a&&(c(a),e(a));b[0]!==d||b[1]!==a?(f=function(){d!==a&&e(a)},b[0]=d,b[1]=a,b[2]=f):f=b[2];c=f;b[3]!==d||b[4]!==c?(f=[d,e,c],b[3]=d,b[4]=c,b[5]=f):f=b[5];return f}function a(a){var e=a.children,g=a.threadKey,j=(h||(h=c("useReStore")))(),l=d("ReQLSuspense").useFirst(function(){return d("ReQL").fromTableAscending(j.tables.ig_thread_info,["igDmSettingsMode","igThreadId","igDmSettingsLastSetActorId","igDmSettingsLastSetTimestampMs","igDmSettingsTtlSec"]).getKeyRange(g).map(function(a){var b=a.igDmSettingsLastSetActorId,c=a.igDmSettingsLastSetTimestampMs,d=a.igDmSettingsMode,e=a.igDmSettingsTtlSec;a=a.igThreadId;return{authoritativeDMMode:d,igDmSettingsLastSetActorId:b,igDmSettingsLastSetTimestampMs:c,igDmSettingsTtlSec:e,igThreadId:a}})},[j,g],f.id+":87"),o=n(function(){return(l==null?void 0:l.authoritativeDMMode)!=null&&(i||(i=d("I64"))).to_int32(l==null?void 0:l.authoritativeDMMode)===c("DisappearingMessagesMode").ON?c("DisappearingMessagesMode").ON:c("DisappearingMessagesMode").OFF},[l]),p=n(function(){if((l==null?void 0:l.igDmSettingsTtlSec)==null)return d("MAWEphemeralConsts").oneDayInSeconds;var a=(i||(i=d("I64"))).to_float(l==null?void 0:l.igDmSettingsTtlSec);return a>0?a:d("MAWEphemeralConsts").oneDayInSeconds},[l]);a=n(function(){return(l==null?void 0:l.igDmSettingsLastSetTimestampMs)!=null?(i||(i=d("I64"))).to_float(l==null?void 0:l.igDmSettingsLastSetTimestampMs):void 0},[l]);var s=r(o),t=s[0],u=s[1],v=s[2];s=r(p);var w=s[0],x=s[1],y=s[2];s=r(a);var z=s[0],A=s[1],B=s[2];a=r(l==null?void 0:l.igDmSettingsLastSetActorId);var C=a[0],D=a[1],E=a[2],F=d("MWPActor.react").useActor(),G=c("MessengerWebUXLogger").useInteractionLogger(),H=d("Int64Hooks").useCallbackInt64(function(){var a=t===c("DisappearingMessagesMode").ON?c("DisappearingMessagesMode").OFF:c("DisappearingMessagesMode").ON;u(a);A(new Date().getTime());D(F);(l==null?void 0:l.igThreadId)!=null&&c("promiseDone")(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){try{var b=(yield d("PolarisDirectAPI").setDisappearingMessagesSettings(l==null?void 0:l.igThreadId,a,w));b.statusCode!==200&&(c("FBLogger")("igd_web_on_msgr").warn("Toggle DM Network Request failed",b.toString()),v(),B(),E())}catch(a){c("FBLogger")("igd_web_on_msgr").warn("Toggle DM Network Request failed",a.toString()),v(),B(),E()}return})());c("promiseDone")(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield d("MWLSThread").getThreadAsync(j,g));a&&(G==null?void 0:G({eventName:t===c("DisappearingMessagesMode").ON?"direct_disappearing_messages_toggle_off":"direct_disappearing_messages_toggle_on",extraData:babelHelpers["extends"]({},c("getInstamadilloLoggingExtraData")(a),{dm_duration:String(w)})}))})())},[F,j,t,w,G,v,E,B,u,D,A,l==null?void 0:l.igThreadId,g]),I=d("Int64Hooks").useCallbackInt64(function(a){var e;if(a===p)return;x(a);A(new Date().getTime());D(F);e=(e=l)!=null?e:{};var f=e.authoritativeDMMode,h=e.igThreadId;h!=null&&f!=null&&c("promiseDone")(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){try{var b=(yield d("PolarisDirectAPI").setDisappearingMessagesSettings(h,t,a));b.statusCode!==200&&(c("FBLogger")("ig_web").warn("DM TTL Network Request failed",b.toString()),y(),B(),E())}catch(a){c("FBLogger")("ig_web").warn("DM TTL Network Request failed",a.toString()),y(),B(),E()}return})());c("promiseDone")(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var b=(yield d("MWLSThread").getThreadAsync(j,g));b&&(G==null?void 0:G({eventName:"direct_disappearing_messages_ttl_changed",extraData:babelHelpers["extends"]({},c("getInstamadilloLoggingExtraData")(b),{new_dm_duration:String(a),old_dm_duration:String(w)})}))})())},[j,w,G,F,t,E,B,y,D,A,x,l,g,p]);m(function(){o===c("DisappearingMessagesMode").ON&&!d("PolarisDismissEntry").isInstamadilloNuxDismissed(d("PolarisDismissEntry").IGD_INSTAMADILLO_DM_FIRST_TIME_ADMIN_MESSAGE_TYPE)&&c("isE2EEAttributedInstamadillo")()&&(d("PolarisDismissEntry").setInstamadilloNuxSessionTimes(d("PolarisDismissEntry").IGD_INSTAMADILLO_DM_FIRST_TIME_ADMIN_MESSAGE_TYPE),c("promiseDone")(j.runInTransaction(function(a){return d("IGDAWAdminWriteMsgTxn").writeAdminMessageTxn(a,{ctaType:"admin_msg_ig_dm_learn_more",senderId:F,text:d("IGDDisappearingMessagesStrings").DM_SECURITY_NOTICE.toString(),threadKey:g,timestampMs:l==null?void 0:l.igDmSettingsLastSetTimestampMs})},"readwrite",void 0,void 0,f.id+":317")))},[o,F,j,l==null?void 0:l.igDmSettingsLastSetTimestampMs,g]);s=n(function(){return{dmMode:t,lastSetActorId:C,lastSetTimestampMs:z,lastSetTtlSec:w,setLastSetTtlSec:I,toggleDMMode:H}},[t,C,z,w,I,H]);return k.jsx(q.Provider,{value:s,children:e})}a.displayName=a.name+" [from "+f.id+"]";g.IGDDMModeContext=q;g.IGDDMModeContextProvider=a}),98);
-----
MAWEphemeralMsgTxns",["MAWBridgeMsgCountdown","MAWBridgeTypesCreators","MAWDbMsg","MAWDbMsgTxns","MAWDbThreadTxns","MAWDbXMATxns","MAWDexieTable","MAWEphemeralCleaner","MAWEphemeralConsts","MAWEphemeralMsgUtils","MAWEphemeralSettingsTxns","MAWIndexedDb","MAWLocalizationType","MAWLoggerUtils","MAWThreadSnippetBuildTxns","MAWThreadSnippetUtils","WAJids","WATagsLogger","WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is not out of sync"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is out of sync: correct duration ",", correct timestamp ",""]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is ephemeral: duration ",", timestamp ",""]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is non-ephemeral"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["maybeUpdateEphemeralSettingOrCheckOutOfSyncAfterWritingIncomingMsg: Message from ",", chat ",", type ",""]);l=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["updating ephemeral timestamp msg ",", existing expiration ",", existing deletion ",", updated expiration ",", updated deletion ",""]);m=function(){return a};return a}function n(){var a=babelHelpers.taggedTemplateLiteralLoose(["markEphemeralMessageAsSent EphemeralCounter: Showing UI counter for ",""]);n=function(){return a};return a}var o=d("WATagsLogger").TAGS([(e=d("MAWLoggerUtils")).Tag.Ephemeral,e.Tag.SettingSync,e.Tag.Incoming]),p=d("WATagsLogger").TAGS([e.Tag.Ephemeral,e.Tag.OnRead,e.Tag.Countdown]);function q(a,b,c){c===void 0&&(c=function(){return!0});return d("MAWDbMsgTxns").getThreadMessagesBySortOrder(a,b,!1,!0).filter(c).limit(1).toArray().then(function(a){return{needsUpdate:!0,value:(a=a[0])!=null?a:null}})}function r(a,b,c){return c.size===0?d("MAWDexieTable").dexieResolve():d("MAWDbThreadTxns").getThread(a,b).then(function(b){if(!b.success)return;var e=b.value;return d("MAWDexieTable").dexieAll([d("MAWDbMsgTxns").getThreadOldestMessageId(a,e.jid),d("MAWDbMsgTxns").getThreadNewestMessageId(a,e)]).then(function(b){var f=b[0],g=b[1];if(f==null||g==null)return;b=d("MAWEphemeralMsgUtils").filterNonExpiredMsg(c);var h=c.has(f)?q(a,e.jid,b):d("MAWDexieTable").dexieResolve({needsUpdate:!1});b=c.has(g)?d("MAWDbMsgTxns").getThreadMessagesBySortOrder(a,e.jid,!0,!1).filter(b).reverse().limit(1).toArray().then(function(b){b=b[0];return b!=null&&d("MAWThreadSnippetUtils").isDbMsgDisabledForThreadSnippet(b)?d("MAWThreadSnippetUtils").findMostRecentSnippetMsgFromThread(a,e,c).then(function(a){return{needsUpdate:!0,value:(a=a)!=null?a:null}}):{needsUpdate:!0,value:(b=b)!=null?b:null}}):d("MAWDexieTable").dexieResolve({needsUpdate:!1});return d("MAWDexieTable").dexieAll([h,b]).then(function(b){var c=b[0],h=b[1];if(!c.needsUpdate&&!h.needsUpdate)return;b=h.needsUpdate?(b=(b=h.value)==null?void 0:b.msgId)!=null?b:void 0:g;var i=h.needsUpdate?h.value!=null?d("WATimeUtils").castUnixTimeToMillisTime(d("MAWDbMsg").getCanonicalTsFromMsg(h.value)):void 0:e.snippetMsgTs,j=babelHelpers["extends"]({},e,{newestMsg:b,oldestMsg:c.needsUpdate?(c=(c=c.value)==null?void 0:c.msgId)!=null?c:null:f,snippetMsg:b,snippetMsgTs:i});return a.threads.put(j).then(function(){if(h.needsUpdate){var b=h.value;if(b==null)d("MAWIndexedDb").afterTransaction({tag:"ThreadUpdated",value:d("MAWBridgeTypesCreators").createBridgeUpdatedThread({snippetParams:{contactIDs:[],strings:[]},snippetSenderContactId:"0",snippetType:d("MAWLocalizationType").LOCALIZATION_TYPE.EMPTY_SNIPPET,threadJid:j.jid})});else return d("MAWThreadSnippetBuildTxns").buildThreadSnippet(a,b).then(function(a){var b=a.snippetParams,c=a.snippetSenderContactId;a=a.snippetType;d("MAWIndexedDb").afterTransaction({tag:"ThreadUpdated",value:d("MAWBridgeTypesCreators").createBridgeUpdatedThread({snippetParams:b,snippetSenderContactId:c,snippetType:a,threadJid:j.jid})})})}})})})})}function a(a,b){if(b==null||b.ephemeralSetting==null||b.ephemeralSetting.ephemeralExpirationInSec===0)return d("MAWDexieTable").dexieResolve(b);var c=d("WATimeUtils").castToUnixTime(b.ts+b.ephemeralSetting.ephemeralExpirationInSec),e=d("WATimeUtils").castToUnixTime(c+d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds);return s(a,[{messageDeleteTs:e,messageExpirationTs:c,msgId:b.msgId,readTsForLogging:b.ts}]).then(function(a){var b=a[0],c=a[1];a=a[2];a.length>0&&(p.LOG(n(),a.map(function(a){return a.msgId})),d("MAWIndexedDb").afterTransaction({tag:"MsgsStartCountdown",value:d("MAWBridgeMsgCountdown").createBridgeMsgsStartCountdown(a)}));b!=null&&c!=null&&d("MAWEphemeralCleaner").addNewEphemeralTimestamp(b,c);return a[0]})}function s(a,b){var c=b.map(function(a){return a.msgId});return d("MAWDbXMATxns").getXMAMsgIdsFromAssociatedMsgIds(a,c).then(function(d){var e=new Map();b.forEach(function(a){e.set(a.msgId,{messageDeleteTs:a.messageDeleteTs,messageExpirationTs:a.messageExpirationTs,readTsForLogging:a.readTsForLogging});var b=d.get(a.msgId);b!=null&&e.set(b,{messageDeleteTs:a.messageDeleteTs,messageExpirationTs:a.messageExpirationTs,readTsForLogging:a.readTsForLogging})});var f=null,g=null,h=[],i=Array.from(new Set(c.concat(Array.from(d.values()))));return a.messages.where("msgId").anyOf(i).toArray().then(function(b){if(b.length===0)return;b.forEach(function(a){var b=a.messageExpirationTs,c=a.messageDeleteTs,d=e.get(a.msgId),i=d==null?void 0:d.messageExpirationTs;d=d==null?void 0:d.messageDeleteTs;p.LOG(m(),a.msgId,b,c,i,d);if(i==null||d==null)return;if(a.ephemeralCounterStarted===!0)return;f==null?f=i:i-----
MAWEphemeralConsts",["WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";a=300;b=600;c=900;e=1800;d=Math.imul((f=d("WATimeUtils")).HOUR_SECONDS,6);var h=Math.imul(f.HOUR_SECONDS,12),i=Math.imul(f.DAY_SECONDS,14),j=1e3,k=5,l=10,m=30,n=60,o=d;g.fiveMinutesInSeconds=a;g.tenMinutesInSeconds=b;g.fifteenMinutesInSeconds=c;g.thirtyMinutesInSeconds=e;g.oneHourInSeconds=f.HOUR_SECONDS;g.sixHoursInSeconds=d;g.twelveHoursInSeconds=h;g.oneDayInSeconds=f.DAY_SECONDS;g.ephemeralMaxDelectionWindowForUnseenMessage=i;g.msPerSec=j;g.fiveSeconds=k;g.tenSeconds=l;g.thirtySeconds=m;g.oneMinuteInSeconds=n;g.ephemeralReportingWindowInSeconds=o}),98);
-----
MAWBackend",["ACTSanitizerApiLazyLoader","EBBridgedAPIHandler","JSResourceForInteraction","MAWBackendHandlers","MAWClearSignalAndTempStores","MAWCommsConfig","MAWCreateGroupApi","MAWCurrentUser","MAWDefinePersistedJob","MAWDeleteExpiredMsgsApi","MAWDeleteForMeMsgContentCleaner","MAWDyiBatchRestoreDataSync","MAWEbRestoreQueue","MAWEbUploadQueue","MAWEphemeralCleaner","MAWEphemeralConsts","MAWExpiredXMACleaner","MAWFTSDataSync","MAWFbCat","MAWGetNextDeleteDFMContentTs","MAWGetNextDeletePendingStanzaTs","MAWGetNextDeleteUnsendContentTs","MAWGetNextDeletionTsApi","MAWGetNextExpirationTsApi","MAWGetNextExpiredXMATs","MAWGetWorkerStatusApi","MAWHandleReachabilityErrorAdminMsgApi","MAWJobManager","MAWLoadRecentParticipantsApi","MAWMessageReceiveReliabilityLogger","MAWPREListeners","MAWPendingStanzaCleaner","MAWPreloadJobs","MAWProtocolQueueProcess","MAWQplProxy","MAWRemoveExpiredDFMMsgsContent","MAWRemoveExpiredMsgsFromUIApi","MAWRemoveExpiredPendingStanzas","MAWRemoveExpiredUnsendMsgsContent","MAWRemoveExpiredXMAMsgsContentApi","MAWSharedCOP","MAWSharedEbUploadQueue","MAWSharedOfflineQueueMetric","MAWSharedOfflineResumeUINotifier","MAWTaskDefinitions","MAWUnsendMsgContentCleaner","Promise","WAArrayBufferUtils","WABridgedAPIHandler","WADeleteReceiptsApi","WAErr","WAMessageLoggingPublisher","WAMockServerShell","WAPassiveMode","WAServerRemoteProceduresHandlers","WAService","WATagsLogger","WAWaitForComms","WAWaitForUser","asyncToGeneratorRuntime","cr:5475","gkx","isUseridAnnotationEnabled","promiseDone","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to init worker (post-startup): ",""]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["Worker inited"]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["handle with type "," not found"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["handle with type "," not found"]);l=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to init worker (post-startup): ",""]);m=function(){return a};return a}function n(){var a=babelHelpers.taggedTemplateLiteralLoose(["deviceJid: ",""]);n=function(){return a};return a}function o(){var a=babelHelpers.taggedTemplateLiteralLoose(["initWAInfra"]);o=function(){return a};return a}var p=c("gkx")("23903")&&c("JSResourceForInteraction")("MAWDebugDefineFunctions").__setRef("MAWBackend"),q=c("gkx")("23903")&&c("JSResourceForInteraction")("WADebugTools").__setRef("MAWBackend"),r=d("WATagsLogger").TAGS(["backend"]);function a(a,b,c,d,e){return s.apply(this,arguments)}function s(){s=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,f,g,s){r.LOG(o());r.LOG(n(),a.deviceJid);d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(1056839232,"112"),"maw_backend_setup_start");d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(25310776,"6155"),"maw_backend_setup_start");var t=d("MAWSharedCOP").makeCOP(d("MAWProtocolQueueProcess").processProtocolQueueEntries);c("promiseDone")(d("ACTSanitizerApiLazyLoader").loadACTSanitizerApi());d("MAWMessageReceiveReliabilityLogger").subscribeToIncomingMessageEvents(d("WAMessageLoggingPublisher").messageLoggingPublisher);d("MAWFbCat").setFbCat(d("WAArrayBufferUtils").stringToArrayBuffer(a.fbCat));var u=d("WAServerRemoteProceduresHandlers").makeServerRemoteProcedureHandlers(d("MAWBackendHandlers").serverRpcHandlers),v=(yield d("WAService").makeWAService({config:s,dependencies:{clearSignalAndTempStores:d("MAWClearSignalAndTempStores").clearSignalAndTempStores,createGroups:d("MAWCreateGroupApi").createGroups,ephemeralMaxDeletionWindowForUnseenMessage:function(){return d("MAWEphemeralConsts").ephemeralMaxDelectionWindowForUnseenMessage},handleReachabilityErrorAdminMsg:d("MAWHandleReachabilityErrorAdminMsgApi").handleReachabilityErrorAdminMsg,isEmployee:d("MAWCurrentUser").isEmployee,isUseridAnnotationEnabled:c("isUseridAnnotationEnabled"),loadRecentParticipants:d("MAWLoadRecentParticipantsApi").loadRecentParticipants,mediaUploadRoot:function(){return"/wa-msgr/mms"}},getCommsConfig:d("MAWCommsConfig").getCommsConfig,hmacKey:e,regData:a,serverRPC:u})["catch"](function(a){r.ERROR(m(),a);throw a}));d("MAWEbRestoreQueue").initEbRestoreQueue();d("MAWSharedEbUploadQueue").initEbUploadQueue();d("MAWSharedOfflineQueueMetric").makeOfflineQueueMetric(v.oneQueue,d("WAPassiveMode").passiveModeNotifier,t,d("WAMessageLoggingPublisher").messageLoggingPublisher);t.subscribeToOfflineQueue(v.oneQueue,v.protocolQueue);d("MAWSharedOfflineResumeUINotifier").offlineResumeUINotifier.subscribeToWAEvents(v.oneQueue);d("MAWSharedOfflineResumeUINotifier").offlineResumeUINotifier.subscribeToMawEvents(t);d("MAWSharedOfflineResumeUINotifier").offlineResumeUINotifier.subscribeToMessageEvents(d("WAMessageLoggingPublisher").messageLoggingPublisher);d("MAWEphemeralCleaner").startEphemeralCleaner({backendFns:{getNextTs:d("MAWGetNextDeletionTsApi").getNextDeletionTs,purgeEnabled:function(){return!0},removeExpired:function(){return d("MAWDeleteExpiredMsgsApi").deleteExpiredMsgs().then(function(a){return a.length>0?d("WADeleteReceiptsApi").deleteReceipts(a).then(function(){return a.length}):a.length})}},uiFns:{getNextTs:d("MAWGetNextExpirationTsApi").getNextExpirationTs,purgeEnabled:function(){return!0},removeExpired:d("MAWRemoveExpiredMsgsFromUIApi").removeExpiredMsgsFromUI}});d("MAWUnsendMsgContentCleaner").startUnsendMsgContentCleaner({getNextTs:d("MAWGetNextDeleteUnsendContentTs").getNextDeleteUnsendContentTs,purgeEnabled:function(){return!0},removeExpired:d("MAWRemoveExpiredUnsendMsgsContent").removeExpiredUnsendMsgsContent});d("MAWDeleteForMeMsgContentCleaner").startDeleteForMeMsgContentCleaner({getNextTs:d("MAWGetNextDeleteDFMContentTs").getNextDeleteDFMContentTs,purgeEnabled:function(){return!0},removeExpired:d("MAWRemoveExpiredDFMMsgsContent").removeExpiredDFMMsgsContent});d("MAWPendingStanzaCleaner").startPendingStanzaCleaner({getNextTs:d("MAWGetNextDeletePendingStanzaTs").getNextDeletePendingStanzaTs,purgeEnabled:function(){return!0},removeExpired:d("MAWRemoveExpiredPendingStanzas").removeExpiredPendingStanzas});d("MAWExpiredXMACleaner").startExpiredXMACleaner({getNextTs:d("MAWGetNextExpiredXMATs").getNextExpiredXMATs,purgeEnabled:function(){return!0},removeExpired:d("MAWRemoveExpiredXMAMsgsContentApi").removeExpiredXMAMsgsContent});b("cr:5475").getDeferredJobHandlers!=null?d("MAWDefinePersistedJob").setMsgrDeferredJobImplementations(b("cr:5475").getDeferredJobHandlers()):b("cr:5475").getJobHandlers!=null&&d("MAWDefinePersistedJob").setMsgrJobImplementations(b("cr:5475").getJobHandlers());d("WAMockServerShell").isMockServerMode||c("promiseDone")(d("WAWaitForComms").waitForComms().then(function(){return d("MAWTaskDefinitions").registerTasks(d("WAWaitForUser").waitForUserUnblocked())}));f.setHandlers("backend",babelHelpers["extends"]({},g.bridgeHandlers,{ebapi:function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){yield d("WAWaitForComms").waitForComms();var b=d("EBBridgedAPIHandler").ebapi[a.type];b==null&&r.TAGS(["EBBridgedAPI"]).ERROR(l(),a.type);return b.apply(void 0,a.args)});function c(b){return a.apply(this,arguments)}return c}(),igdapi:function(){return(h||(h=b("Promise"))).resolve()},initMockServer:function(a){return d("WAMockServerShell").getMockServer==null?(h||(h=b("Promise"))).reject("Mock server is not available. Make sure you use worker v2"):d("WAMockServerShell").getMockServer().init(a)},runJobFireAndForget:function(a){return d("WAWaitForComms").waitForComms().then(function(){return d("MAWJobManager").getJobManager().fireAndForget(a)})},runJobWaitUntilCompleted:function(a){var b;b=(b=a.args)==null?void 0:(b=b.args)==null?void 0:b.s2sInstanceKey;b!=null&&a.type==="sendMsg"&&d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(25313175,"1551"),"backend_reached",{annotations:{bool:{backendSetupReadyFromWorker:!d("WAWaitForComms").isStillWaitingForComms()}},instanceKey:b});return d("WAWaitForComms").waitForComms().then(function(){return d("MAWJobManager").getJobManager().waitUntilCompleted(a)})},runJobWaitUntilPersisted:function(a){return d("WAWaitForComms").waitForComms().then(function(){return d("MAWJobManager").getJobManager().waitUntilPersisted(a)})},runMock:function(a){return d("WAMockServerShell").getMockServer==null?(h||(h=b("Promise"))).reject("Mock server is not available. Make sure you use worker v2"):d("WAMockServerShell").getMockServer().runMock(a)},setMockVariables:function(a){if(d("WAMockServerShell").getMockServer==null)throw c("WAErr")("Mock server is not available. Make sure you use worker v2");d("WAMockServerShell").getMockServer().setVariables(a.variables)},waapi:function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){yield d("WAWaitForComms").waitForComms();var b=d("WABridgedAPIHandler").waapi[a.type];b==null&&r.TAGS(["WABridgedAPI"]).ERROR(k(),a.type);return b.apply(void 0,a.args)});function c(b){return a.apply(this,arguments)}return c}()}));d("MAWPREListeners").initializeWAPREMetrics();c("promiseDone")(d("MAWFTSDataSync").initFTS());d("MAWDyiBatchRestoreDataSync").initDyiBatchUpload();q&&q!=null&&p&&p!=null&&c("promiseDone")((h||(h=b("Promise"))).all([p.load(),q.load()]).then(function(a){var b=a[0].getAllDebugFunctions;a=a[1].initDebugFunctions;a(b())}));s=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){try{yield v.startComms(),r.LOG(j()),d("MAWGetWorkerStatusApi").updateWorkerStatus("success"),d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(1056839232,"112"),"maw_backend_setup_end"),d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(25310776,"6155"),"maw_backend_setup_end")}catch(a){r.ERROR(i(),a);d("MAWGetWorkerStatusApi").updateWorkerStatus("failed");throw a}});return function(){return a.apply(this,arguments)}}();return s().then(function(){d("MAWEbUploadQueue").listenForEbUploadQueueFlush(),void d("MAWEbRestoreQueue").listenForEbRestoreQueueFlush(),c("MAWPreloadJobs")()})});return s.apply(this,arguments)}g.startMAWBackend=a}),98);
-----
IGDBackend",["IGDAWDebug","IGDAWMainWebWorkerConfig","IGDBackendBridgeHandlers","IGDCOP","IGDJobHandlers","IGDLoadRecentParticipantsApi","InstamadilloBackend","MAWClearSignalAndTempStores","MAWCommsConfig","MAWConfig","MAWCreateGroupApi","MAWCurrentUser","MAWDebugDefineFunctions","MAWDefinePersistedJob","MAWDyiBatchRestoreDataSync","MAWEphemeralConsts","MAWFbCat","MAWGetWorkerStatusApi","MAWHandleReachabilityErrorAdminMsgApi","MAWMessageReceiveReliabilityLogger","MAWPREListeners","MAWQplProxy","MAWServerRPC","MAWSharedOfflineQueueMetric","MAWSharedOfflineResumeUINotifier","MAWTaskDefinitions","WAArrayBufferUtils","WADebugTools","WAMessageLoggingPublisher","WAMockServerShell","WAPassiveMode","WAService","WATagsLogger","WAWaitForComms","WAWaitForUser","asyncToGeneratorRuntime","isUseridAnnotationEnabled","promiseDone","qpl"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Worker inited"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to init worker (post-startup): ",""]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["deviceJid: ",""]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["initWAInfra"]);k=function(){return a};return a}var l=d("WATagsLogger").TAGS(["backend"]);function a(a,b,c,d,e){return m.apply(this,arguments)}function m(){m=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,e,f,g){l.LOG(k());l.LOG(j(),a.deviceJid);d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(25310776,"6155"),"igd_backend_setup_start");d("MAWFbCat").setFbCat(d("WAArrayBufferUtils").stringToArrayBuffer(a.fbCat));f=d("MAWServerRPC").makeServerRPC();g=(yield d("WAService").makeWAService({config:g,dependencies:{clearSignalAndTempStores:d("MAWClearSignalAndTempStores").clearSignalAndTempStores,createGroups:d("MAWCreateGroupApi").createGroups,ephemeralMaxDeletionWindowForUnseenMessage:function(){return d("MAWEphemeralConsts").ephemeralMaxDelectionWindowForUnseenMessage},handleReachabilityErrorAdminMsg:d("MAWHandleReachabilityErrorAdminMsgApi").handleReachabilityErrorAdminMsg,isEmployee:d("MAWCurrentUser").isEmployee,isUseridAnnotationEnabled:c("isUseridAnnotationEnabled"),loadRecentParticipants:d("IGDLoadRecentParticipantsApi").loadRecentParticipants,mediaUploadRoot:function(){return"/wa-igd/mms"}},getCommsConfig:d("MAWCommsConfig").getCommsConfig,hmacKey:b,regData:a,serverRPC:f})["catch"](function(a){l.ERROR(i(),a);throw a}));d("MAWMessageReceiveReliabilityLogger").subscribeToIncomingMessageEvents(d("WAMessageLoggingPublisher").messageLoggingPublisher);d("MAWSharedOfflineQueueMetric").makeOfflineQueueMetric(g.oneQueue,d("WAPassiveMode").passiveModeNotifier,d("IGDCOP").cop,d("WAMessageLoggingPublisher").messageLoggingPublisher);d("MAWConfig").setConfig(d("IGDAWMainWebWorkerConfig").mawConfig);d("IGDCOP").cop.subscribeToOfflineQueue(g.oneQueue,g.protocolQueue);d("MAWSharedOfflineResumeUINotifier").offlineResumeUINotifier.subscribeToWAEvents(g.oneQueue);d("MAWSharedOfflineResumeUINotifier").offlineResumeUINotifier.subscribeToMawEvents(d("IGDCOP").cop);d("WAMockServerShell").isMockServerMode||c("promiseDone")(d("WAWaitForComms").waitForComms().then(function(){return d("MAWTaskDefinitions").registerTasks(d("WAWaitForUser").waitForUserUnblocked())}));e.setHandlers("backend",d("IGDBackendBridgeHandlers").getIGDBridgeHandlers(l));d("MAWPREListeners").initializeWAPREMetrics();d("MAWDyiBatchRestoreDataSync").initDyiBatchUpload();d("InstamadilloBackend").init(a);d("MAWDefinePersistedJob").setMsgrJobImplementations(d("IGDJobHandlers").getJobHandlers());yield g.startComms();l.LOG(h());d("MAWGetWorkerStatusApi").updateWorkerStatus("success");d("WAWaitForComms").unblockComms();d("MAWQplProxy").sendQplPointThroughBridge(c("qpl")._(25310776,"6155"),"igd_backend_setup_end")});return m.apply(this,arguments)}g.startIGDBackend=a}),98);
-----
MAWEphemeralMessageTimer.react",["fbt","CometScreenReaderText.react","I64","MAWEphemeralConsts","MWXText.react","WATimeUtils","react","setTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=i||(i=d("react"));b=i;var l=b.useEffect,m=b.useState;function n(a){if(a(j||(j=d("I64"))).to_int32(b)?(j||(j=d("I64"))).to_int32(b):a}function a(a){var b=a.ephemeralDurationInSec,e=a.expirationTimestamp,f=a.handleMessageExpired;a=m(function(){return o(e,b)});var g=a[0],i=a[1];a=n(g);var j=h._("u6d88u606fu5c06u5728{time}u540eu6d88u5931",[h._param("time",a)]);l(function(){g>0&&c("setTimeout")(function(){return i(g-1)},d("MAWEphemeralConsts").msPerSec),g===0&&(f==null?void 0:f())},[g,e,f]);return g>0?k.jsxs("div",{className:"x2b8uid xbkr7qi",children:[k.jsx(c("CometScreenReaderText.react"),{text:j}),k.jsx("div",{"aria-hidden":!0,children:k.jsx(c("MWXText.react"),{testid:void 0,type:"meta1",children:a})})]}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MessageMarketingTryMeExperience.react",["AdsInterfacesLogger","GeoButton.react","MessageMarketingTryMeModal.react","MessageMarketingTryMeModalConsts","gkx","react","useBoolean"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(){var a=c("useBoolean")(!1),b=a.value,e=a.setTrue;a=a.setFalse;var f=function(){c("AdsInterfacesLogger").log({eventCategory:"user_action",eventName:"marketing_message_try_me_button_click"}),e()};return!c("gkx")("471")?null:i.jsxs(i.Fragment,{children:[i.jsx(c("GeoButton.react"),{label:d("MessageMarketingTryMeModalConsts").TRY_ME_BUTTON_LABEL,onClick:f}),i.jsx(c("MessageMarketingTryMeModal.react"),{isShown:b,onHide:a})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MessageMarketingTryMeModal.react",["fbt","ix","GeoButton.react","GeoHStack.react","GeoIllustrationModal.react","GeoModalFooter.react","GeoSection.react","GeoText.react","GeoVStack.react","Image.react","MessageMarketingTryMeModalConsts","MessageMarketingTryMeModalStepComponent.react","geoMargin","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react");function a(a){var b=a.isShown;a=a.onHide;return k.jsx(c("GeoIllustrationModal.react"),{"data-testid":void 0,footer:k.jsx(c("GeoModalFooter.react"),{primaryButton:k.jsx(c("GeoButton.react"),{label:h._("__JHASH__SJEFHwGRgSa__JHASH__"),variant:"primary",onClick:a})}),heading:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_TITLE,image:k.jsx(c("Image.react"),{src:i("423299"),width:339}),isShown:b,orientation:"vertical",onHide:a,children:k.jsxs(c("GeoSection.react"),{children:[k.jsx(c("GeoText.react"),{children:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_DESCRIPTION}),k.jsxs(c("GeoHStack.react"),{xstyle:c("geoMargin").top16,children:[k.jsxs(c("GeoVStack.react"),{alignItems:"start",justifyContent:"center",children:[k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{imageSource:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_FIRST_STEP_IMAGE_SOURCE,title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_FIRST_STEP}),k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{imageSource:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_SECOND_STEP_IMAGE_SOURCE,title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_SECOND_STEP}),k.jsx(c("MessageMarketingTryMeModalStepComponent.react"),{imageSource:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_THIRD_STEP_IMAGE_SOURCE,title:d("MessageMarketingTryMeModalConsts").TRY_ME_MODAL_GUIDANCE_THIRD_STEP})]}),k.jsx(c("Image.react"),{src:i("423300"),width:120})]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MessageMarketingTryMeModalConsts",["fbt","ix"],(function(a,b,c,d,e,f,g,h,i){"use strict";a=h._("__JHASH__QpD6WTjr4Qk__JHASH__");b=h._("__JHASH__b7bWyttmQBs__JHASH__");c=h._("__JHASH___ORwzKTNWcE__JHASH__");d=h._("__JHASH__eDNs1VeJUiu__JHASH__");e=i("1568854");f=h._("__JHASH__HyLMSUPvHPO__JHASH__");var j=i("175010");h=h._("__JHASH__jTjQjBCLWbP__JHASH__");i=i("1666706");g.TRY_ME_BUTTON_LABEL=a;g.TRY_ME_MODAL_TITLE=b;g.TRY_ME_MODAL_DESCRIPTION=c;g.TRY_ME_MODAL_GUIDANCE_FIRST_STEP=d;g.TRY_ME_MODAL_GUIDANCE_FIRST_STEP_IMAGE_SOURCE=e;g.TRY_ME_MODAL_GUIDANCE_SECOND_STEP=f;g.TRY_ME_MODAL_GUIDANCE_SECOND_STEP_IMAGE_SOURCE=j;g.TRY_ME_MODAL_GUIDANCE_THIRD_STEP=h;g.TRY_ME_MODAL_GUIDANCE_THIRD_STEP_IMAGE_SOURCE=i}),226);
-----
IGDDisappearingMessagesPanel.react",["fbt","CometLink.react","DisappearingMessagesMode","IGDDMModeContextProvider","IGDDisappearingMessagesToggleSubHeader.react","IGDEncryptionKeysSection.react","IGDSBox.react","IGDSLockFilledIcon.react","IGDSRadioButton.react","IGDSRadioButtonGroup.react","IGDSSwitch.react","IGDSText.react","IGDThreadDetailRow.react","JSResourceForInteraction","MAWEphemeralConsts","PolarisDismissEntry","PolarisUA","XInstagramHelpDotComContentControllerRouteBuilder","react","useDebouncedComet","useIGDSLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useContext,l=b.unstable_useMemoCache,m={actions:{flexShrink:"x2lah0s",paddingBottom:"x1g2khh7",paddingStart:"xbbxn1n",paddingLeft:null,paddingRight:null,paddingEnd:"xxbr6pl",paddingTop:"x1p5oq8j",$$css:!0},actionsMobile:{paddingStart:"x1swvt13",paddingLeft:null,paddingRight:null,paddingEnd:"x1pi30zi",$$css:!0},infoSection:{borderTopColor:"x5ur3kl",borderTopStyle:"x13fuv20",borderTopWidth:"x178xt8z",$$css:!0},keysSubHeaderContainer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",marginEnd:"xqmxbcd",marginLeft:null,marginRight:null,marginStart:"xmupa6y",paddingStart:"x1swvt13",paddingLeft:null,paddingRight:null,paddingEnd:"x1pi30zi",paddingTop:"xz9dl7a",paddingBottom:"xsag5q8",$$css:!0},keysSubHeaderContainerMobile:{marginEnd:"xktsk01",marginLeft:null,marginRight:null,marginStart:"x1d52u69",paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,paddingEnd:"xn6708d",$$css:!0},keysSubHeaderLink:{marginStart:"xsgj6o6",marginLeft:null,marginRight:null,$$css:!0}};function n(){var a=l(6),b;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=d("PolarisUA").isMobile(),a[0]=b):b=a[0];b=b;if(a[1]===Symbol["for"]("react.memo_cache_sentinel")){var e;e=(e=c("XInstagramHelpDotComContentControllerRouteBuilder").buildUri({cms_id:"491565145294150"}).setDomain("help.instagram.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString();a[1]=e}else e=a[1];e=e;a[2]===Symbol["for"]("react.memo_cache_sentinel")?(b=[m.keysSubHeaderContainer,b&&m.keysSubHeaderContainerMobile],a[2]=b):b=a[2];var f,g;a[3]===Symbol["for"]("react.memo_cache_sentinel")?(f=j.jsx(c("IGDSBox.react"),{display:"inlineBlock",marginEnd:2,children:j.jsx(c("IGDSLockFilledIcon.react"),{alt:"lock-icon",color:"ig-secondary-icon",size:8})}),g=h._("__JHASH__Bk1YA9Kz9oa__JHASH__"),a[3]=f,a[4]=g):(f=a[3],g=a[4]);a[5]===Symbol["for"]("react.memo_cache_sentinel")?(b=j.jsx(c("IGDSBox.react"),{color:"secondaryBackground",xstyle:b,children:j.jsxs(c("IGDSText.react"),{color:"primaryText",maxLines:3,size:"footnote",textAlign:"center",children:[f,g,j.jsx(c("CometLink.react"),{color:"primary",href:e,target:"_blank",weight:"bold",xstyle:m.keysSubHeaderLink,children:h._("__JHASH__tAm34XgWzqf__JHASH__")})]})}),a[5]=b):b=a[5];return b}function o(){var a=k(d("IGDDMModeContextProvider").IGDDMModeContext),b=a.dmMode;a=a.toggleDMMode;var e=c("useDebouncedComet")(a);a=h._("__JHASH__icWikK5NnUs__JHASH__");var f=c("useIGDSLazyDialog")(c("JSResourceForInteraction")("IGDDisappearingMessagesNUXModal.react").__setRef("IGDDisappearingMessagesPanel.react")),g=f[0];f=function(){b===c("DisappearingMessagesMode").OFF&&!i()?g({}):e(),d("PolarisDismissEntry").setInstamadilloDMNuxSessionTimes(d("PolarisDismissEntry").IGD_INSTAMADILLO_TYPE)};function i(){return d("PolarisDismissEntry").isInstamadilloDMNuxDismissed(d("PolarisDismissEntry").IGD_INSTAMADILLO_TYPE)}return j.jsx(c("IGDThreadDetailRow.react"),{addOnEnd:j.jsx(c("IGDSSwitch.react"),{"aria-label":a,onValueChange:f,testid:void 0,value:b===c("DisappearingMessagesMode").ON}),text:a})}o.displayName=o.name+" [from "+f.id+"]";function a(){var a=l(22),b=k(d("IGDDMModeContextProvider").IGDDMModeContext),e=b.dmMode,f=b.lastSetTtlSec,g=b.setLastSetTtlSec;a[0]!==f?(b=[{label:h._("__JHASH__9D3JK8ihWKv__JHASH__"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds)},{label:h._("__JHASH__3FRSY4g_r68__JHASH__"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds*7)},{label:h._("__JHASH__cXf4zf2aDl0__JHASH__"),ttl:String(d("MAWEphemeralConsts").oneDayInSeconds*30)}],f===d("MAWEphemeralConsts").oneHourInSeconds&&b.unshift({label:h._("__JHASH__T1xknM1ZKLY__JHASH__"),ttl:String(d("MAWEphemeralConsts").oneHourInSeconds)}),a[0]=f,a[1]=b):b=a[1];var i;a[2]===Symbol["for"]("react.memo_cache_sentinel")?(i=d("PolarisUA").isMobile(),a[2]=i):i=a[2];i=i;var p;a[3]===Symbol["for"]("react.memo_cache_sentinel")?(p=h._("__JHASH__mlxaLdpJ7S6__JHASH__"),a[3]=p):p=a[3];p=p;var q;a[4]===Symbol["for"]("react.memo_cache_sentinel")?(q=j.jsx(n,{}),a[4]=q):q=a[4];var r;a[5]===Symbol["for"]("react.memo_cache_sentinel")?(r=j.jsx(o,{}),a[5]=r):r=a[5];var s;a[6]===Symbol["for"]("react.memo_cache_sentinel")?(s=j.jsx(c("IGDDisappearingMessagesToggleSubHeader.react"),{}),a[6]=s):s=a[6];var t;a[7]===Symbol["for"]("react.memo_cache_sentinel")?(t=h._("__JHASH__Weo_Ov8W_bn__JHASH__"),a[7]=t):t=a[7];var u;a[8]!==g?(u=function(a){g(Number(a))},a[8]=g,a[9]=u):u=a[9];f=String(f);var v;a[10]!==e||a[11]!==b?(v=b.map(function(a,b){return j.jsx(c("IGDSRadioButton.react"),{isDisabled:e===c("DisappearingMessagesMode").OFF,label:a.label,radioAlignment:"end",value:String(a.ttl)},b)}),a[10]=e,a[11]=b,a[12]=v):v=a[12];a[13]!==u||a[14]!==f||a[15]!==v?(b=j.jsx(c("IGDSBox.react"),{paddingX:6,paddingY:3,children:j.jsx(c("IGDSRadioButtonGroup.react"),{label:t,onChange:u,selectedValue:f,showBorder:!0,children:v})}),a[13]=u,a[14]=f,a[15]=v,a[16]=b):b=a[16];a[17]===Symbol["for"]("react.memo_cache_sentinel")?(t=[m.actions,m.infoSection,i&&m.actionsMobile],a[17]=t):t=a[17];a[18]===Symbol["for"]("react.memo_cache_sentinel")?(u=j.jsx(c("IGDSBox.react"),{direction:"column",xstyle:t,children:j.jsx(c("IGDSText.react"),{size:"label",weight:"semibold",children:p})}),a[18]=u):u=a[18];a[19]===Symbol["for"]("react.memo_cache_sentinel")?(f=j.jsx(c("IGDEncryptionKeysSection.react"),{}),a[19]=f):f=a[19];a[20]!==b?(v=j.jsxs(j.Fragment,{children:[q,r,s,b,u,f]}),a[20]=b,a[21]=v):v=a[21];return v}g["default"]=a}),98);
-----
sendInstamadilloMessage",["FBLogger","I64","IGDDisappearingMsgCleaner","IGDLoadMessageBytesForSending","InstamadilloMessageIdUtils","LSAuthorityLevel","LSBumpThreadForServerStoredProcedure","LSFactory","LSIntEnum","LSMessageSendStatus","LSPendingTasksPluginType","MAWEphemeralConsts","MAWMsgReceiptPreparationTxns","MAWReStoreDb","MAWSharedEbUploadQueue","WAMsg","WAMsgApplication.pb","WASendMsgUtilV2","WATimeUtils","asyncToGeneratorRuntime","decodeProtobuf"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function j(a,b,c,d){return k.apply(this,arguments)}function k(){k=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,f,g){var j=(yield d("MAWReStoreDb").getDB());a=(yield j.table("pending_tasks").get((h||(h=d("I64"))).of_float(a)));var k=g===!0||(a==null?void 0:a.pluginType)!=null&&(h||(h=d("I64"))).to_int32(a==null?void 0:a.pluginType)===c("LSPendingTasksPluginType").EPHEMERAL_MESSAGING,l=d("MAWEphemeralConsts").oneDayInSeconds;g=d("WATimeUtils").futureUnixTime(l,d("WATimeUtils").castMilliSecondsToUnixTime(h.to_float(e.timestampMs)));k&&d("IGDDisappearingMsgCleaner").addNewDisappearingTimestamp(d("WATimeUtils").futureUnixTime(d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds,g));var m=babelHelpers["extends"]({},e,{authorityLevel:(i||(i=d("LSIntEnum"))).ofNumber(c("LSAuthorityLevel").AUTHORITATIVE),ephemeralDurationInSec:k?(h||(h=d("I64"))).of_int32(l):void 0,ephemeralExpirationTs:k?(h||(h=d("I64"))).of_int32(g):void 0,messageId:d("InstamadilloMessageIdUtils").toInstamadilloMessageId(e.threadKey,f),sendStatus:h.of_int32(c("LSMessageSendStatus").SERVER_RECEIVED),sendStatusV2:h.of_int32(2),transportKey:"Instamadillo"});return j.runInTransaction(function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){yield a.messages.put(m),yield c("LSBumpThreadForServerStoredProcedure")(c("LSFactory")(a),{bumpTimestampMs:m.timestampMs,ephemeralityDurationSec:k?(h||(h=d("I64"))).of_int32(l):void 0,ephemeralityProductType:m.ephemeralExpirationTs!=null?"":void 0,isMessageDeletion:!1,offlineThreadingId:(h||(h=d("I64"))).of_string(m.offlineThreadingId),threadKey:m.threadKey})});return function(b){return a.apply(this,arguments)}}(),"readwrite")});return k.apply(this,arguments)}function a(a,b,c,d,e,f){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,e,f,g,h){a=(yield d("MAWMsgReceiptPreparationTxns").prepareReceiptForUsersTxn(d("WAMsg").craftWAMsgIdString(e),a));if(a.success!==!0)throw c("FBLogger")("igd_web_on_msgr").mustfixThrow("Failed to prepare receipt for message");a=(yield d("IGDLoadMessageBytesForSending").loadMessageBytesForSending(e,b));if(a.success!==!0)throw c("FBLogger")("igd_web_on_msgr").mustfixThrow("Failed to load message bytes for sending");var i=a.value,k=(yield d("WASendMsgUtilV2").sendChatMessage({isInstamadillo:!0,messagePayload:i},null));if(k.success)yield j(g,f,e.externalId,h).then(function(){return d("MAWSharedEbUploadQueue").putMsgsToEbUpload([{backupDirective:{actionType:1,offlineThreadingId:e.externalId},messageApplication:d("decodeProtobuf").decodeProtobuf(d("WAMsgApplication.pb").MessageApplicationSpec,i.messageBytes.bytes),msgId:e,reportingMeta:k.value.reportingMeta,serverTs:k.value.serverTs,topLevelOfflineThreadingId:null}])});else throw c("FBLogger")("igd_web_on_msgr").mustfixThrow("Error sending Instamadillo message with error: %s",k.error)});return l.apply(this,arguments)}g.sendInstamadilloMessage=a}),98);
-----
IGDMsgCleanerTxn",["FBLogger","I64","MAWEphemeralConsts","MAWReStoreDb","Promise","ReQL","WATimeUtils","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;a=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield d("MAWReStoreDb").getDB()),e=d("WATimeUtils").unixTime();e=(i||(i=d("I64"))).of_int32(d("WATimeUtils").pastUnixTime(d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds,e));var f=(yield d("ReQL").toArrayAsync(d("ReQL").fromTableAscending(a.table("messages").index("ephemeralExpirationTs"),["messageId","ephemeralExpirationTs","timestampMs","threadKey"]).bounds({lte:[e]})));return f.length===0?0:a.runInTransaction(function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){try{yield (h||(h=b("Promise"))).all(f.map(function(){var c=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b){yield a.table("messages")["delete"](b.threadKey,b.timestampMs,b.messageId)});return function(a){return c.apply(this,arguments)}}()))}catch(a){throw c("FBLogger")("igd_web_on_msgr").catching(a).mustfixThrow("Failed to delete messages in DM cleaner")}return f.length});return function(b){return a.apply(this,arguments)}}(),"readwrite","background")});return function(){return a.apply(this,arguments)}}();e=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield d("MAWReStoreDb").getDB()),b=d("WATimeUtils").unixTime();b=(i||(i=d("I64"))).of_int32(d("WATimeUtils").pastUnixTime(d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds,b));a=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("messages").index("ephemeralExpirationTs"),["ephemeralExpirationTs"]).bounds({gte:[b]}).map(function(a){a=a.ephemeralExpirationTs;return a?d("WATimeUtils").futureUnixTime(d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds,d("WATimeUtils").castToUnixTime((i||(i=d("I64"))).to_int32(a))):void 0})));return a});return function(){return a.apply(this,arguments)}}();g.deleteExpiredMsgs=a;g.getNextMsgToDeleteTs=e}),98);
-----
MAWEphemeralMessageTimer.react",["fbt","CometScreenReaderText.react","I64","MAWEphemeralConsts","MWXText.react","WATimeUtils","react","setTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useEffect,k=b.useState;function l(a){if(ad("I64").to_int32(b)?d("I64").to_int32(b):a}function a(a){var b=a.ephemeralDurationInSec,e=a.expirationTimestamp;a=k(function(){return m(e,b)});var f=a[0],g=a[1];a=l(f);var n=h._("u6d88u606fu5c06u5728{time}u540eu6d88u5931",[h._param("time",a)]);j(function(){f>0&&c("setTimeout")(function(){return g(f-1)},d("MAWEphemeralConsts").msPerSec)},[f,e]);return f>0?i.jsxs("div",{className:"x2b8uid xbkr7qi",children:[i.jsx(c("CometScreenReaderText.react"),{text:n}),i.jsx("div",{"aria-hidden":!0,children:i.jsx(c("MWXText.react"),{type:"meta1",children:a})})]}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MAWMainWebWorkerConfig",["MAWAbProps","MAWBaseConfig","MAWConstants","MAWCurrentUser","MAWDeviceRegistrationTypes","MAWDualSendSimplePermissionsManager","MAWEphemeralConsts","MAWGK","MAWGating","MAWParseXMAProtocol","MAWTransactionsConfig","WorkerUtils","gkx","justknobx","qex"],(function(a,b,c,d,e,f,g){"use strict";var h=1;a=babelHelpers["extends"]({},c("MAWBaseConfig"),{armadilloWebProcessFutureproof:function(){return c("MAWGK").armadillo_web_process_futureproof},batchSize:function(){var a;return(a=c("qex")._("606"))!=null?a:500},consumerOrientedProtocolQueue:function(){return c("gkx")("3880")},defaultUnknownContactText:function(){return d("MAWConstants").FB_UNKNOWN_USER},delayReceiptProcessing:function(){return c("gkx")("8812")},doNotClearSignalAfterBulkSaveTrxn:function(){return c("gkx")("8829")},ephemeralMaxDeletionWindowForUnseenMessage:function(){return d("MAWEphemeralConsts").ephemeralMaxDelectionWindowForUnseenMessage},getDevicesBeforeSend:function(){return c("gkx")("5467")},handleDeviceNotificationInWa:function(){return c("gkx")("4464")},icdcAlertTriggerFailureCounter:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_alert_trigger_failure_count")},icdcCooldownIntervalInMinutes:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_cooldown_interval_in_minutes")},icdcIntervalInMinutes:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_interval_in_minutes")},isBulkifyHIMEnabled:d("MAWGating").isBulkifyHIMEnabled,isDeviceRegistrationDomainUniquenessEnabled:function(){return c("gkx")("7858")},isDocumentReceiveEnabled:function(){return!c("gkx")("8459")},isDownloadablePreviewsEnabled:d("MAWGating").isDownloadablePreviewsEnabled,isDualSendCrossApp:function(){return!1},isDualSendWebOrCrossApp:d("MAWDualSendSimplePermissionsManager").isDualSendUser,isEmployee:d("MAWCurrentUser").isEmployee,isEphemeralMessagesEnabled:d("MAWGating").isEphemeralMessagesEnabled,isErrDuplicateMsgDetectEnabled:d("MAWGating").isErrDuplicateMsgDetectEnabled,isFrankingEnabled:d("MAWGating").isFrankingEnabled,isGifEnabled:function(){return c("justknobx")._("1147")},isICDCEnabled:function(){return c("gkx")("8973")},isICDCErrorEnabled:function(){return c("gkx")("8975")},isICDCHTTPRegEnabled:function(){return c("gkx")("8974")},isMediaDownloadRevokeEnabled:function(){return c("gkx")("4141")},isMediaLoggingEnabled:function(){return c("gkx")("8694")},isPreEstablishSessionEnabled:d("MAWGating").isPreEstablishSessionEnabled,isPullMode:function(){return c("gkx")("7348")},isRavenMessagesEnabled:function(){return c("qex")._("237")===!0},isSenderKeyPredistributionEnabled:d("MAWGating").isSenderKeyPredistributionEnabled,isSharedWorkerContext:function(){return d("WorkerUtils").isSharedWorkerContext()},isSmartSenderKeyRotationEnabled:d("MAWGating").isSmartSenderKeyRotationEnabled,isStickerEnabled:d("MAWGating").isStickerEnabled,isUseridAnnotationEnabled:d("MAWGating").isUseridAnnotationEnabled,maxAppDataRecipients:function(){return d("MAWConstants").MAX_APPDATA_RECIPIENTS},maxUsersForNotifyDeviceChange:function(){return d("MAWDeviceRegistrationTypes").MAX_USERS_FOR_NOTIFY_DEVICE_CHANGE},mediaUploadRoot:function(){return"/wa-msgr/mms"},messageRetryCountLimit:function(){return d("MAWConstants").MESSAGE_RETRY_COUNT_LIMIT},orchestratorVersion:function(){var a;return(a=d("MAWGating").getOrchestratorVersion())!=null?a:"default"},productTypeForEBAttachments:"msgr",removeStanzasWithTooManyFailures:function(){return c("gkx")("2966")},shouldPreloadSessions:d("MAWGating").shouldPreloadSessions,supportedTypesVersion:function(){return c("MAWGK").armadillo_web_process_futureproof?h+1:h},supportedXMATargetTypes:function(){return d("MAWParseXMAProtocol").FB_SUPPORTED_TARGET_TYPES},transactions:d("MAWTransactionsConfig").transactions,useAppDataDecisionTree:function(){return c("gkx")("6538")},useCryptoManagerV2:function(){return!0},useMessageDecisionTree:function(){return c("gkx")("6638")},useNotificationDecisionTree:function(){return c("gkx")("8489")},useReceiptDecisionTree:function(){return c("gkx")("6657")},wellBeingFeaturesEnabled:d("MAWGating").wellBeingFeaturesEnabled});b=a;g["default"]=b}),98);
-----
MAWEphemeralMsgTxns",["MAWBridgeMsgCountdown","MAWBridgeTypesCreators","MAWDbMsg","MAWDbMsgTxns","MAWDbThreadTxns","MAWDbXMATxns","MAWDexieTable","MAWEphemeralCleaner","MAWEphemeralConsts","MAWEphemeralMsgUtils","MAWEphemeralSettingsTxns","MAWIndexedDb","MAWLocalizationType","MAWLoggerUtils","MAWThreadSnippetBuildTxns","MAWThreadSnippetUtils","MAWXMAUtils","WADualSendMsgUtils","WAGetHashFromProtocolMsgId","WAJids","WATagsLogger","WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is not out of sync"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is out of sync: correct duration ",", correct timestamp ",""]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is ephemeral: duration ",", timestamp ",""]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is not out of sync"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is out of sync: correct duration ",", correct timestamp ",""]);l=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming msg is non-ephemeral"]);m=function(){return a};return a}function n(){var a=babelHelpers.taggedTemplateLiteralLoose(["incoming ephemeral setting is out of sync: correct duration ",", correct timestamp ",""]);n=function(){return a};return a}function o(){var a=babelHelpers.taggedTemplateLiteralLoose(["maybeUpdateEphemeralSettingOrCheckOutOfSyncAfterWritingIncomingMsg: Message from ",", chat ",", type ",""]);o=function(){return a};return a}function p(){var a=babelHelpers.taggedTemplateLiteralLoose(["trying to update ephemeral timestamp to a later ts then previously set - expiration: "," ",", deletion: "," ",", storedTs: ",", readTs: ",", ephemeralDuration "," - ",""]);p=function(){return a};return a}function q(){var a=babelHelpers.taggedTemplateLiteralLoose(["updating ephemeral timestamp msg ",", existing expiration ",", existing deletion ",", updated expiration ",", updated deletion ",""]);q=function(){return a};return a}function r(){var a=babelHelpers.taggedTemplateLiteralLoose(["bulkMarkEphemeralMessageAsRead EphemeralCounter: Showing UI counter for ",""]);r=function(){return a};return a}var s=d("WATagsLogger").TAGS([d("MAWLoggerUtils").Tag.Ephemeral,d("MAWLoggerUtils").Tag.SettingSync,d("MAWLoggerUtils").Tag.Incoming]),t=d("WATagsLogger").TAGS([d("MAWLoggerUtils").Tag.Ephemeral,d("MAWLoggerUtils").Tag.OnRead,d("MAWLoggerUtils").Tag.Countdown]);function u(a,b,c,d){d===void 0&&(d=function(){return!0});return a.messages.where("msgId").between(b,c,!1,!0).filter(d).limit(1).toArray().then(function(a){return{needsUpdate:!0,value:(a=a[0])!=null?a:null}})}function v(a,b,c){return c.size===0?d("MAWDexieTable").dexieResolve():d("MAWDbThreadTxns").getThread(a,b).then(function(e){if(!e.success)return;var f=e.value,g=f.oldestMsg,h=f.newestMsg;if(g==null||h==null)return;e=d("MAWEphemeralMsgUtils").filterNonExpiredMsg(c);var i=c.has(g)?u(a,g,h,e):d("MAWDexieTable").dexieResolve({needsUpdate:!1});e=c.has(h)?a.messages.where("msgId").between(g,h,!0,!1).filter(e).reverse().limit(1).toArray().then(function(b){b=b[0];return d("MAWThreadSnippetUtils").isDbMsgDisabledForThreadSnippet(b)?d("MAWThreadSnippetUtils").findMostRecentSnippetMsgFromThread(a,f,c).then(function(a){return{needsUpdate:!0,value:(a=a)!=null?a:null}}):{needsUpdate:!0,value:(b=b)!=null?b:null}}):d("MAWDexieTable").dexieResolve({needsUpdate:!1});return d("MAWDexieTable").dexieAll([i,e]).then(function(c){var e=c[0],i=c[1];if(!e.needsUpdate&&!i.needsUpdate)return;c=i.needsUpdate?(c=(c=i.value)==null?void 0:c.msgId)!=null?c:void 0:h;var j=babelHelpers["extends"]({},f,{newestMsg:c,oldestMsg:e.needsUpdate?(e=(e=e.value)==null?void 0:e.msgId)!=null?e:null:g,snippetMsg:c});return a.threads.put(j).then(function(){if(i.needsUpdate){var c=i.value;if(c==null)d("MAWIndexedDb").afterTransaction({tag:"ThreadUpdated",value:d("MAWBridgeTypesCreators").createBridgeUpdatedThread({isDualSend:d("WADualSendMsgUtils").isDualSendJid(j.jid),snippetParams:{contactIDs:[],strings:[]},snippetSenderContactId:"0",snippetType:d("MAWLocalizationType").LOCALIZATION_TYPE.EMPTY_SNIPPET,threadId:b})});else return d("MAWThreadSnippetBuildTxns").buildThreadSnippet(a,c,j).then(function(a){var c=a.snippetParams,e=a.snippetSenderContactId;a=a.snippetType;d("MAWIndexedDb").afterTransaction({tag:"ThreadUpdated",value:d("MAWBridgeTypesCreators").createBridgeUpdatedThread({isDualSend:d("WADualSendMsgUtils").isDualSendJid(j.jid),snippetParams:c,snippetSenderContactId:e,snippetType:a,threadId:b})})})}})})})}function a(a,b){var c={};b.map(function(a){var b=a.msgId;a=a.ts;b=d("WAGetHashFromProtocolMsgId").getHashFromProtocolMsgId(b);c[b]=a});return d("MAWDbMsgTxns").getMsgsByProtocolMsgId(a,b.map(function(a){return babelHelpers["extends"]({},a.msgId)})).then(function(b){var e=b.msgs,f=b.threadIdToJid;b=e.map(function(a){var b=f.get(a.thread),e=a.author;if(b==null||d("WAJids").isAuthorSystem(e))return null;e=d("WAGetHashFromProtocolMsgId").getHashFromProtocolMsgId({author:e,chat:b,externalId:a.externalId});b=c[e];e=(e=a.ephemeralSetting)==null?void 0:e.ephemeralExpirationInSec;if(e==null||e===0)return null;e=d("WATimeUtils").castToUnixTime(b+e);var g=d("WATimeUtils").castToUnixTime(e+d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds);return{messageDeleteTs:g,messageExpirationTs:e,msgId:a.msgId,readTsForLogging:b}}).filter(Boolean);return w(a,b,"bulkMarkEphemeralMessageAsRead")}).then(function(a){var b=a[0],c=a[1];a=a[2];a.length>0&&(t.LOG(r(),a.map(function(a){return a.msgId})),d("MAWIndexedDb").afterTransaction({tag:"MsgsStartCountdown",value:d("MAWBridgeMsgCountdown").createBridgeMsgsStartCountdown(a)}));b!=null&&c!=null&&d("MAWEphemeralCleaner").addNewEphemeralTimestamp(b,c)})}function w(a,b,c){var e=b.map(function(a){return a.msgId});return d("MAWDbXMATxns").getXMAMsgIdsFromAssociatedMsgIds(a,e).then(function(d){var f=new Map();b.forEach(function(a){f.set(a.msgId,{messageDeleteTs:a.messageDeleteTs,messageExpirationTs:a.messageExpirationTs,readTsForLogging:a.readTsForLogging});var b=d.get(a.msgId);b!=null&&f.set(b,{messageDeleteTs:a.messageDeleteTs,messageExpirationTs:a.messageExpirationTs,readTsForLogging:a.readTsForLogging})});var g=null,h=null,i=[],j=Array.from(new Set(e.concat(Array.from(d.values()))));return a.messages.where("msgId").anyOf(j).toArray().then(function(b){if(b.length===0)return;b.forEach(function(a){var b=a.messageExpirationTs,d=a.messageDeleteTs,e=f.get(a.msgId),j=e==null?void 0:e.messageExpirationTs,k=e==null?void 0:e.messageDeleteTs;e=e==null?void 0:e.readTsForLogging;t.LOG(q(),a.msgId,b,d,j,k);if(j==null||k==null)return;if(b!=null&&j>b||d!=null&&j>d){t.ERROR(p(),j,b,k,d,a.ts,e,(b=a.ephemeralSetting)==null?void 0:b.ephemeralExpirationInSec,c);return}if(a.ephemeralCounterStarted===!0)return;g==null?g=j:j-----
MAWIncomingReceiptTxns",["MAWAckAndTimestampUpdatesForReceiptsTxns","MAWDbPendingReceiptTxns","MAWDbReceiptTxns","MAWDexieTable","MAWEphemeralConsts","MAWGlobals","MAWIncomingReceiptDataFormatTxns","MAWIncomingReceiptDataFormatUtils","MAWLoggerUtils","MAWReceiptTrace","WAJids","WATagsLogger","WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Message "," sent to "," has been read, countdown started"]);h=function(){return a};return a}function a(a,b){return b.length===0?d("MAWDexieTable").dexieResolve():d("MAWIncomingReceiptDataFormatTxns").prepareDataForReceiptsToWrite(a,b).then(function(b){var c=b.msgIdToDbMsgMap,e=b.pendingReceiptsToWrite,f=b.receiptsToWriteMap,g=[];f.forEach(function(a){g.push(a)});return d("MAWDexieTable").dexieAll([d("MAWDbReceiptTxns").bulkWriteReceiptsForDevices(a,g),d("MAWDbPendingReceiptTxns").bulkAddPendingReceipts(a,e)]).then(function(b){b=b[0];var e=d("MAWIncomingReceiptDataFormatUtils").createUpdateSystemAckParams(b,c),g=i(b,c);b=d("MAWIncomingReceiptDataFormatUtils").formatWriteReceiptResultsWithExtras(b,c,f);var h=b.filter(function(a){a=((a=f.get(a.receipt.msgId))==null?void 0:a.deliveryReceipts)||[];return a.length>0});h.length>0&&d("MAWReceiptTrace").flushTrace("delivered",h);return d("MAWAckAndTimestampUpdatesForReceiptsTxns").handleAckAndTimestampUpdatesForReceipts(a,b,e,g)})})}function i(a,b){var c=[];a.forEach(function(a){if(a.type!=="updated")return;var e=a.receipt.msgId,f=a.receipt.statusTsPerUser,g=b.get(e);if(g==null)return;if(g.renderType==="unrendered")return;g=g.msg;var i=g.author;g=g.ephemeralSetting;var j=g==null?void 0:g.ephemeralExpirationInSec;if(j==null||j===0)return;if(i!==d("WAJids").AUTHOR_ME)return;a.affectedUserJids.forEach(function(a){if(a!==d("MAWGlobals").getMyUserJid()){var b;b=(b=f.get(a))==null?void 0:b.readTs;if(b!=null){var g=d("WATimeUtils").castToUnixTime(b+j),i=d("WATimeUtils").castToUnixTime(g+d("MAWEphemeralConsts").ephemeralReportingWindowInSeconds);d("WATagsLogger").TAGS([d("MAWLoggerUtils").Tag.Ephemeral,d("MAWLoggerUtils").Tag.PeerReceipt,d("MAWLoggerUtils").Tag.Countdown]).LOG(h(),e,a);c.push({messageDeleteTs:i,messageExpirationTs:g,msgId:e,readTsForLogging:b})}}})});return c}g.bulkHandleIncomingReceipts=a;g.createUpdateEphemeralTimestampsParams=i}),98);
-----
IGDAWMainWebWorkerConfig",["MAWAbProps","MAWBaseConfig","MAWConstants","MAWCurrentUser","MAWDeviceRegistrationTypes","MAWDualSendSimplePermissionsManager","MAWEphemeralConsts","MAWGK","MAWGating","MAWParseXMAProtocol","MAWTransactionsConfig","WorkerUtils","gkx","justknobx","qex"],(function(a,b,c,d,e,f,g){"use strict";var h=1;a=babelHelpers["extends"]({},c("MAWBaseConfig"),{armadilloWebProcessFutureproof:function(){return c("MAWGK").armadillo_web_process_futureproof},batchSize:function(){return 500},defaultUnknownContactText:function(){return d("MAWConstants").INS_UNKNOWN_USER},delayReceiptProcessing:function(){return!1},doNotClearSignalAfterBulkSaveTrxn:function(){return!1},ephemeralMaxDeletionWindowForUnseenMessage:function(){return d("MAWEphemeralConsts").ephemeralMaxDelectionWindowForUnseenMessage},icdcAlertTriggerFailureCounter:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_alert_trigger_failure_count")},icdcCooldownIntervalInMinutes:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_cooldown_interval_in_minutes")},icdcIntervalInMinutes:function(){return d("MAWAbProps").getAbProp("msgrw_icdc_interval_in_minutes")},ignoreDeviceNotification:function(){return c("gkx")("8014")},ignoreForceNonPersistedJobList:function(){return[]},isBulkifyHIMEnabled:d("MAWGating").isBulkifyHIMEnabled,isDeviceRegistrationDomainUniquenessEnabled:function(){return c("gkx")("7858")},isDocumentReceiveEnabled:function(){return!1},isDownloadablePreviewsEnabled:d("MAWGating").isDownloadablePreviewsEnabled,isDualSendCrossApp:function(){return!1},isDualSendWebOrCrossApp:d("MAWDualSendSimplePermissionsManager").isDualSendUser,isEmployee:d("MAWCurrentUser").isEmployee,isEphemeralMessagesEnabled:d("MAWGating").isEphemeralMessagesEnabled,isErrDuplicateMsgDetectEnabled:d("MAWGating").isErrDuplicateMsgDetectEnabled,isFrankingEnabled:d("MAWGating").isFrankingEnabled,isGifEnabled:function(){return c("justknobx")._("1147")},isICDCEnabled:d("MAWGating").isICDCEnabled,isICDCErrorEnabled:d("MAWGating").isICDCErrorEnabled,isMediaDownloadRevokeEnabled:function(){return c("gkx")("4141")},isMediaLoggingEnabled:function(){return c("gkx")("8694")},isPreEstablishSessionEnabled:d("MAWGating").isPreEstablishSessionEnabled,isPullMode:function(){return c("gkx")("7348")},isRavenMessagesEnabled:function(){return c("qex")._("237")===!0},isSenderKeyPredistributionEnabled:d("MAWGating").isSenderKeyPredistributionEnabled,isSharedWorkerContext:function(){return d("WorkerUtils").isSharedWorkerContext()},isSmartSenderKeyRotationEnabled:d("MAWGating").isSmartSenderKeyRotationEnabled,isStickerEnabled:d("MAWGating").isStickerEnabled,isUseridAnnotationEnabled:d("MAWGating").isUseridAnnotationEnabled,maxAppDataRecipients:function(){return d("MAWConstants").MAX_APPDATA_RECIPIENTS},maxUsersForNotifyDeviceChange:function(){return d("MAWDeviceRegistrationTypes").MAX_USERS_FOR_NOTIFY_DEVICE_CHANGE},mediaImagePreviewHkdfInfo:function(){return"IG Direct Image Preview Keys"},mediaUploadRoot:function(){return"/wa-igd/mms"},mediaVideoPreviewHkdfInfo:function(){return"IG Direct Video Preview Keys"},messageRetryCountLimit:function(){return d("MAWConstants").MESSAGE_RETRY_COUNT_LIMIT},orchestratorVersion:function(){var a;return(a=d("MAWGating").getOrchestratorVersion())!=null?a:"default"},productTypeForEBAttachments:"igd",removeStanzasWithTooManyFailures:function(){return c("gkx")("2977")},shouldPreloadSessions:d("MAWGating").shouldPreloadSessions,supportedTypesVersion:function(){return c("MAWGK").armadillo_web_process_futureproof?h+1:h},supportedXMATargetTypes:function(){return d("MAWParseXMAProtocol").IGD_SUPPORTED_TARGET_TYPES},transactions:d("MAWTransactionsConfig").transactions,useCryptoManagerV2:function(){return!0},useDeviceNotificationHandling:function(){return c("gkx")("3911")},useInMemoryUpdateDevices:function(){return c("gkx")("8760")&&c("gkx")("8761")},wellBeingFeaturesEnabled:d("MAWGating").wellBeingFeaturesEnabled});b=a;g["default"]=b}),98);
-----
MAWEphemeralConsts",["WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";a=300;b=600;c=900;e=1800;f=Math.imul(d("WATimeUtils").HOUR_SECONDS,6);var h=Math.imul(d("WATimeUtils").HOUR_SECONDS,12),i=Math.imul(d("WATimeUtils").DAY_SECONDS,14),j=60,k=1e3,l=5,m=10,n=30,o=60,p=f;g.fiveMinutesInSeconds=a;g.tenMinutesInSeconds=b;g.fifteenMinutesInSeconds=c;g.thirtyMinutesInSeconds=e;g.oneHourInSeconds=d("WATimeUtils").HOUR_SECONDS;g.sixHoursInSeconds=f;g.twelveHoursInSeconds=h;g.oneDayInSeconds=d("WATimeUtils").DAY_SECONDS;g.ephemeralMaxDelectionWindowForUnseenMessage=i;g.minuteSeconds=j;g.msPerSec=k;g.fiveSeconds=l;g.tenSeconds=m;g.thirtySeconds=n;g.oneMinuteInSeconds=o;g.ephemeralReportingWindowInSeconds=p}),98);
-----
BizWebALSurfaceUtils",["AutoLoggingConsts","BizWebALConsts"],(function(a,b,c,d,e,f,g){"use strict";var h="["+d("AutoLoggingConsts").AUTO_LOGGING_SURFACE+"]";function a(a){return a.match(d("BizWebALConsts").COMPONENT_NAME_ALLOWLIST)!=null&&a.match(d("BizWebALConsts").COMPONENT_NAME_BLOCKLIST)==null}function b(a){return(a=i(a))==null?void 0:a.getAttribute(d("AutoLoggingConsts").AUTO_LOGGING_SURFACE)}function i(a){return a==null?void 0:a.closest(h)}g.componentNameValidator=a;g.getSurfacePath=b;g.getAncestralSurfaceNode=i}),98);
-----
BizWebALConsts",[],(function(a,b,c,d,e,f){"use strict";a=["Biz"].join("|");b=["ErrorBoundary","LayoutComponentsFactory","Provider","Wrapper","BizInboxButton","Comet","FDS","Geo","SUI","Decorator"].join("|");f.COMPONENT_NAME_ALLOWLIST=a;f.COMPONENT_NAME_BLOCKLIST=b}),66);
-----
ALConsts",[],(function(a,b,c,d,e,f){a="/";b="data-surfaceid";f.SURFACE_SEPARATOR=a;f.AUTO_LOGGING_SURFACE=b}),66);
-----
ALRuntimeSurfaceMap",["ALConsts"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1=new Map()}var b=a.prototype;b.get=function(a){return this.$1.get(a)};b.getFromHierarchy=function(a){a=a.split(d("ALConsts").SURFACE_SEPARATOR);for(var b=a.length-1;b>=0;b--){var c=this.get(a[b]);if(c!=null)return c}return null};b.set=function(a,b){this.$1.set(a,b)};return a}();g.ALRuntimeSurfaceMap=a}),98);
-----
AdsALLogger",["AdsALAppData","AdsALConsts","AdsALDOMUtils","AdsALLoggerUtils","AdsALRuntimeSurfaceMap","AdsALSurfaceTracker","AdsALUIState","AdsManagerAutoLoggingFalcoEvent","AdsManagerAutoLoggingSessionsFalcoEvent","SiteData","URI","feature","getAdsPerfInteractionConfigForInteraction","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){"use strict";var h=/(!|"|#|$|\%|&|"|(|)|*|+|,|-|.|/|:|;|<|=|>|?|@|[|\|]|^|`|{|||}|~)/g;function i(a){return a.replace(h,"\$1")}function j(a){if(!a)return null;a=a;var b=[];while(a&&a.nodeType===Node.ELEMENT_NODE){var c=a.nodeName.toLowerCase();if(a.id&&!/^(?:js_|u_)/.test(a.id)){c+="#"+i(a.id);b.unshift(c);break}else{var d=a,e=1;while(d=d.previousElementSibling)d.nodeName.toLowerCase()===c&&e++;e>1&&(c+=":nth-of-type("+e+")")}b.unshift(c);a=a.parentElement}return b.join(" > ")}function k(a){return babelHelpers["extends"]({active_flow_instance_ids:d("AdsALLoggerUtils").getQPLUserFlowInstanceIDs(),html_element_selector:j(a)},d("AdsALSurfaceTracker").getDataContext())}function l(a){var b,e=a.element;return{html_element_name:(b=a.elementName)!=null?b:(b=d("AdsALDOMUtils").getElementName(e))==null?void 0:b.name,wrapping_element_name:a.wrappingElementName,react_component_name:c("AdsALUIState").getReactComponentName(e),react_component_type:(b=a.componentType)!=null?b:e.getAttribute(d("AdsALConsts").AUTO_LOGGING_COMPONENT_TYPE),react_component_stack:(a=c("AdsALUIState").getReactComponentData(e))==null?void 0:a.stack}}function m(){return{client_revision:c("SiteData").client_revision,page_uri:c("URI").normalize(window.location.href),server_revision:c("SiteData").server_revision}}function n(a,b){var e,f=d("AdsALLoggerUtils").stringifyData(babelHelpers["extends"]({},k(a.element),{auto_logging_id:a.autoLoggingID}));(b==null?void 0:b.metadata)&&(f=babelHelpers["extends"]({},f,b.metadata));e=(e=(e=a.surface)!=null?e:a.element.getAttribute(d("AdsALConsts").AUTO_LOGGING_SURFACE))!=null?e:d("AdsALSurfaceTracker").getProductSurface(a.element);var g=e!=null?c("AdsALRuntimeSurfaceMap").getFromHierarchy(e):null;g=(g==null?void 0:g.feature)?d("feature").toString(g==null?void 0:g.feature):null;return babelHelpers["extends"]({},d("AdsALAppData").getAppData(),m(),d("AdsALSurfaceTracker").getNavigationContext(),{surface:e,event:a.event,event_index:a.eventIndex,event_unix_time_ms:a.eventTimestamp,flowlet:(e=a.flowlet)==null?void 0:e.getFullName()},l(a),b,{metadata:f,feature:g})}function a(a){c("AdsManagerAutoLoggingFalcoEvent").log(function(){var b;return babelHelpers["extends"]({},d("AdsALAppData").getAppData(),m(),d("AdsALSurfaceTracker").getNavigationContext(),{event:a.event,event_index:a.eventIndex,event_unix_time_ms:a.eventTimestamp,flowlet:(b=a.flowlet)==null?void 0:b.getFullName(),metadata:d("AdsALLoggerUtils").stringifyData({type:a.heartbeatType.toLowerCase()})})})}function b(a,b){c("AdsManagerAutoLoggingFalcoEvent").log(function(){var e;return n(a,babelHelpers["extends"]({metadata:d("AdsALLoggerUtils").stringifyData({translated_by_google:p(),has_network_request:a.hasNetworkRequest,interaction_components:(e=a.interactionData)==null?void 0:e.map(function(a){return(a=c("getAdsPerfInteractionConfigForInteraction")(a.interaction))==null?void 0:a.component}).filter(Boolean).join(":"),interaction_ids:(e=a.interactionData)==null?void 0:e.map(function(a){return a.interactionID}).join(":"),interactions_started:(e=a.interactionData)==null?void 0:e.map(function(a){return a.interaction}).join(":"),is_trusted:a.isTrusted,is_fbt:a.isFbtTranslated,timed_out_before_bubble:a.timerFired})},b))})}function e(a,b){c("AdsManagerAutoLoggingFalcoEvent").log(function(){return n(a,babelHelpers["extends"]({mounted_duration_sec:a.mountedDuration},b,{metadata:{mutation_impl:a.mutationImpl}}))})}var o=!1;function p(){if(!o){var a;o=(a=(a=document.documentElement)==null?void 0:a.className.includes("translated"))!=null?a:!1}return o}function f(a){c("AdsManagerAutoLoggingFalcoEvent").log(function(){var b;return babelHelpers["extends"]({},d("AdsALAppData").getAppData(),m(),{event:a.event,event_index:a.eventIndex,event_unix_time_ms:a.eventTimestamp,flowlet:(b=a.flowlet)==null?void 0:b.getFullName(),metadata:d("AdsALLoggerUtils").stringifyData(babelHelpers["extends"]({},d("AdsALLoggerUtils").parseRequestBody(a.body),d("AdsALLoggerUtils").parseRequestURL(a.url),{method:a.method}))})})}function q(a){c("AdsManagerAutoLoggingFalcoEvent").log(function(){var b;return babelHelpers["extends"]({},d("AdsALAppData").getAppData(),m(),{event:a.event,event_index:a.eventIndex,event_unix_time_ms:a.eventTimestamp,flowlet:(b=a.flowlet)==null?void 0:b.getFullName(),metadata:d("AdsALLoggerUtils").stringifyData({action_type:a.actionType,changed_ids:JSON.stringify(a.changedIDs),spec_diff:JSON.stringify(a.specDiff)})})})}function r(a){var b=a==="init"?c("AdsManagerAutoLoggingSessionsFalcoEvent").logImmediately:c("AdsManagerAutoLoggingSessionsFalcoEvent").log,e=d("AdsALAppData").getAppData(),f=m();b(function(){return{ad_account_id:e.ad_account_id,am_session_id:e.am_session_id,business_id:e.business_id,client_revision:f.client_revision,server_revision:f.server_revision,event:a,event_unix_time_ms:c("performanceAbsoluteNow")(),http_referrer:document.referrer}})}var s=!1;function t(){s||(r("init"),s=!0)}t();t={init:t,logAdObjectSpecChange:q,logClick:b,logHeartbeat:a,logMutation:e,logNetwork:f};g["default"]=t}),98);
-----
AdsALSurfaceTracker",["ALSurfaceUtils","AdsALConsts"],(function(a,b,c,d,e,f,g){"use strict";var h={navState:{route:null,prevRoute:null}};function i(a){var b,c;b=(b=a==null?void 0:a.tool)!=null?b:"";a=(a==null?void 0:a.section)!=null?((c=a==null?void 0:a.section)!=null?c:"")+((a==null?void 0:a.name)!=null?"_"+((c=a==null?void 0:a.name)!=null?c:""):""):"";return b!==""&&a!==""?b+"_"+a:b+a}function a(a){var b;a=(a=a)!=null?a:(a=h.navState)==null?void 0:a.route;a=(a=a==null?void 0:a.uri.getQueryData())!=null?a:{};"act"in a&&delete a.act;return{ad_ids:(b=a.selected_ad_ids)!=null?b:null,adset_ids:(b=a.selected_adset_ids)!=null?b:null,campaign_ids:(b=a.selected_campaign_ids)!=null?b:null}}function b(a){a=(a=a)!=null?a:h.navState;var b=i(a==null?void 0:a.route);a=i(a==null?void 0:a.prevRoute);return{navigation_context:b?b.toLowerCase():null,previous_navigation_context:a?a.toLowerCase():null}}function c(a,b){a==="navigation"&&b!==null&&(h.navState.prevRoute=h.navState.route,h.navState.route=b)}function e(a){var b=[];a=a;while(a&&a.nodeType===Node.ELEMENT_NODE){var c=a.getAttribute(d("AdsALConsts").AUTO_LOGGING_SURFACE);if(c!=null){b.push(c);if(c==null?void 0:c.includes(d("AdsALConsts").SURFACE_SEPARATOR))break}a=d("ALSurfaceUtils").getAncestralSurfaceNode(a.parentElement)}c=b.reverse().join("/");return c.includes(d("AdsALConsts").SURFACE_SEPARATOR)||!c?c:d("AdsALConsts").SURFACE_SEPARATOR+c}g.getDataContext=a;g.getNavigationContext=b;g.trackNavigationContext=c;g.getProductSurface=e}),98);
-----
AdsALFDSLoggingRegionProvider.react",["AdsALConsts","AdsALSubsurface","AdsALSurface.react","AdsALSurfaceFDSPlugin","BUIPrivateLoggingRegionContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.name;a=a.children;return c("AdsALSurface.react")({surface:c("AdsALSurfaceFDSPlugin"),subsurface:d("AdsALSubsurface").getDynamicSubsurface(b)})(a)}var i=c("gkx")("189")?{renderer:a,setupElement:e}:{setupElement:e};function b(a){a=a.children;return h.jsx(c("BUIPrivateLoggingRegionContext").Provider,{value:i,children:a})}b.displayName=b.name+" [from "+f.id+"]";function e(a,b,c){a.setAttribute(d("AdsALConsts").AUTO_LOGGING_COMPONENT_TYPE,b),c&&a.setAttribute(d("AdsALConsts").AUTO_LOGGING_DEPENDENT_REGION,"")}g["default"]=b}),98);
-----
AdsALGeoLoggingRegionProvider.react",["AdsALConsts","AdsALSubsurface","AdsALSurface.react","AdsALSurfaceGeoPlugin","GeoPrivateLoggingRegionContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.name;a=a.children;return c("AdsALSurface.react")({surface:c("AdsALSurfaceGeoPlugin"),subsurface:d("AdsALSubsurface").getDynamicSubsurface(b)})(a)}var i=c("gkx")("189")?{renderer:a,setupElement:e}:{setupElement:e};function b(a){a=a.children;return h.jsx(c("GeoPrivateLoggingRegionContext").Provider,{value:i,children:a})}b.displayName=b.name+" [from "+f.id+"]";function e(a,b,c){a.setAttribute(d("AdsALConsts").AUTO_LOGGING_COMPONENT_TYPE,b),c&&a.setAttribute(d("AdsALConsts").AUTO_LOGGING_DEPENDENT_REGION,"")}g["default"]=b}),98);
-----
ALUIState",["ALReactUtils","AdsALConsts","FBLogger","hyperionCore"],(function(a,b,c,d,e,f,g){"use strict";var h="__alInfo",i={getReactComponentData:function(a){return d("ALReactUtils").getReactComponentData_THIS_CAN_BREAK(a)},getReactComponentName:function(a){return d("ALReactUtils").getReactComponentName_THIS_CAN_BREAK(a)}},j=function(){function a(a,b,c){this.mountTimestamp=0,this.unmountTimestamp=0,this.children=new Set(),this.element=a,this.setParent(c),d("hyperionCore").setVirtualPropertyValue(a,h,this),this.$2=b,this.getReactComponentData(),this.getReactComponentName()}a.get=function(a){return d("hyperionCore").getVirtualPropertyValue(a,h)};var b=a.prototype;b.getParentElement=function(){var a;return(a=this.$1)==null?void 0:a.element};b.setParent=function(a){if(a===this.$1){a&&!a.children.has(this.element)&&c("FBLogger")("ads_manager_auto_logging").mustfix("Unexpected situation, element should be in parent"s children");return!1}else{var b;(b=this.$1)==null?void 0:b.children["delete"](this.element);this.$1=a;a==null?void 0:a.children.add(this.element);return!0}};b.getReactComponentData=function(){this.$3||(this.$3=this.$2.getReactComponentData(this.element));return this.$3};b.getReactComponentName=function(){if(this.$4==null){var a=this.$3;this.$4=a?a.name:this.$2.getReactComponentName(this.element)}return this.$4};b.getComponentType=function(){return this.element.getAttribute(d("AdsALConsts").AUTO_LOGGING_COMPONENT_TYPE)};return a}();a=function(){function a(a){this.$1=new WeakMap(),this.$2=new Set(),this.$3=new Map(),a!=null?this.$4=a:this.$4=i}var b=a.prototype;b.getElementInfo=function(a){return j.get(a)};b.addElement=function(a){var b,e=this.$1.get(a);if(e!=null)return e;d("AdsALConsts").AUTO_LOGGING_DEBUG&&!a.matches(d("AdsALConsts").LoggableElementsSelector)&&c("FBLogger")("ads_manager_auto_logging").debug("Unloggable element added to UI %s",a.toString());b=(b=a.parentElement)==null?void 0:b.closest("["+d("AdsALConsts").AUTO_LOGGING_ID+"]");var f;if(b){var g;f=(g=this.getElementInfo(b))!=null?g:this.addElement(b)}else this.$2.add(a);e=(g=this.getElementInfo(a))!=null?g:new j(a,this.$4,f);this.$1.set(a,e);this.$3.clear();return e};b.removeElement=function(a){var b;(b=this.getElementInfo(a))==null?void 0:b.setParent(null);this.$1["delete"](a);this.$2["delete"](a);this.$3.clear()};b.getOrCreateCachedInfo=function(a){var b;return(b=this.getElementInfo(a))!=null?b:new j(a,this.$4)};b.getReactComponentData=function(a){return this.getOrCreateCachedInfo(a).getReactComponentData()};b.getReactComponentName=function(a){return this.getOrCreateCachedInfo(a).getReactComponentName()};return a}();g["default"]=a}),98);
-----
AdsALFlowletTracker",["AdsALConsts","AdsALFlowlet","AdsALFlowletManager","AdsInteractionTrigger","FBLogger","gkx","hyperionFlowlet"],(function(a,b,c,d,e,f,g){"use strict";function a(){h(),c("gkx")("6686")&&d("hyperionFlowlet").initFlowletTrackers(c("AdsALFlowletManager"))}function h(){var a=new(c("AdsALFlowlet"))("AdsManager");d("AdsALConsts").AUTO_LOGGING_DEBUG&&(c("AdsALFlowletManager").onPush.add(function(a){c("AdsALFlowletManager").top()||c("FBLogger")("ads_manager_auto_logging").debug("[Flowlet] Pushed first flow %s",a.getFullName())}),c("AdsALFlowletManager").onPop.add(function(a){c("AdsALFlowletManager").top()||c("FBLogger")("ads_manager_auto_logging").debug("[Flowlet] Popped and drained %s",a==null?void 0:a.getFullName())}));var b=new Map();function e(a){return a.triggerContext.objectType?a.key+"/"+a.triggerContext.objectType:a.key}var f=null;d("AdsInteractionTrigger").onInteractionStart.add(function(d){var g;d=e(d);var h=c("AdsALFlowletManager").top();if(((g=h)==null?void 0:g.name)===d)return;f&&f.name!==d&&(b["delete"](f.name),c("AdsALFlowletManager").pop(f),h=c("AdsALFlowletManager").top());((g=h)==null?void 0:g.data.surface)==null&&(h=a);g=b.get(d);g||(g=h.fork(d),b.set(d,g));f=g;c("AdsALFlowletManager").push(g)});d("AdsInteractionTrigger").onInteractionEnd.add(function(a){a=e(a);var d=b.get(a);c("AdsALFlowletManager").pop(d);b["delete"](a);d===f&&(f=null)})}g.init=a}),98);
-----
AdsALClickSubscriber",["ALSurfaceUtils","AdsALChannel","AdsALConsts","AdsALDOMUtils","AdsALIDUtils","AdsALLoggerUtils","AdsALUIState","FBLogger","TimedOnceFunc","hyperionOnNetworkRequest"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a;c("AdsALChannel").addListener("al_click_capture",function(b){var e=b.clickCaptureTimestamp,f=b.element,g=b.flowlet;b=b.isTrusted;if(a!=null){var h=a,i=h.data;h=h.timedEmitter;c("FBLogger")("ads_manager_auto_logging").warn("[AL] Captured click (element %s, timestamp %s) before the previous click (element %s, timestamp %s) finished processing",f.toString(),e.toString(),i.element.toString(),i.eventTimestamp.toString());h.run()}c("AdsALUIState").getOrCreateCachedInfo(f);i=f instanceof HTMLElement?d("ALSurfaceUtils").getSurfacePath(f):null;h=d("AdsALDOMUtils").getElementName(f,!0);var j={event:"click",element:f,eventIndex:d("AdsALLoggerUtils").getEventIndex(),eventTimestamp:e,autoLoggingID:d("AdsALIDUtils").getOrSetAutoLoggingID(f),flowlet:g,isTrusted:b,surface:i,elementName:h==null?void 0:h.name,wrappingElementName:i!=null&&(i.includes("editor")||i.includes("help_center"))?d("AdsALDOMUtils").getInteractiveAncestorName(f):"",isFbtTranslated:h==null?void 0:h.isFbtTranslated};d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").info("[AL] Click started for id %s",j.autoLoggingID);a={data:j,timedEmitter:new(d("TimedOnceFunc").TimedOnceFunc)(function(b){d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").info("[AL] Click ended for id %s",j.autoLoggingID),c("AdsALChannel").emit("al_click_event",babelHelpers["extends"]({},j,{timerFired:b})),a=null},500)}});c("AdsALChannel").addListener("al_click_component_type",function(b){var c=b.componentType;b=b.element;if(a!=null){var d=a;d=d.data;d.element===b&&(d.componentType=c)}});c("AdsALChannel").addListener("al_perf_interaction_start",function(b){if(a!=null){var c=a;c=c.data;c.interactionData=[].concat((c=c.interactionData)!=null?c:[],[b])}});c("AdsALChannel").addListener("al_click_bubble",function(b){b=b.element;if(a!=null){var c=a,d=c.data;c=c.timedEmitter;d.element===b&&c.run()}});d("hyperionOnNetworkRequest").onNetworkRequest.add(function(b){a!=null&&(a.data.hasNetworkRequest=!0,d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").debug("[AL] tracking network request during click %s:%s",b.method,b.url.toString()))})}g.subscribe=a}),98);
-----
AdsALPerfInteractionPublisher",["AdsALChannel","AdsALConsts","AdsPerfInteractions","AdsPerfInteractionsController","FBLogger","objectValues"],(function(a,b,c,d,e,f,g){"use strict";function a(){for(var a=c("objectValues")(c("AdsPerfInteractions")),b=Array.isArray(a),e=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(b){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c("AdsPerfInteractionsController").addEventListener(f,"start",function(a){d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").info("[AL] Perf interaction started %s",a.interaction),c("AdsALChannel").emit("al_perf_interaction_start",a)})}}g.publish=a}),98);
-----
AdsALIDUtils",["AdsALConsts","guid"],(function(a,b,c,d,e,f,g){"use strict";function h(a){return a?a.getAttribute(d("AdsALConsts").AUTO_LOGGING_ID):null}function i(a){var b=c("guid")();a.setAttribute(d("AdsALConsts").AUTO_LOGGING_ID,b);return b}function a(a){var b;return(b=h(a))!=null?b:i(a)}g.setAutoLoggingID=i;g.getOrSetAutoLoggingID=a}),98);
-----
ALSurfaceUtils",["AdsALConsts"],(function(a,b,c,d,e,f,g){"use strict";var h="["+d("AdsALConsts").AUTO_LOGGING_SURFACE+"]";function a(a){return(a=i(a))==null?void 0:a.getAttribute(d("AdsALConsts").AUTO_LOGGING_SURFACE)}function i(a){return a==null?void 0:a.closest(h)}g.getSurfacePath=a;g.getAncestralSurfaceNode=i}),98);
-----
AdsALReactUtils",["ALReactUtils","AdsALConsts"],(function(a,b,c,d,e,f,g){"use strict";var h=function(a){return a.match(d("AdsALConsts").COMPONENT_NAME_ALLOWLIST)!=null&&a.match(d("AdsALConsts").COMPONENT_NAME_BLOCKLIST)==null};function a(a){return d("ALReactUtils").getReactComponentData_THIS_CAN_BREAK(a,h)}function b(a){return d("ALReactUtils").getReactComponentName_THIS_CAN_BREAK(a,h)}g.getReactComponentIsFbtTranslated_THIS_CAN_BREAK=d("ALReactUtils").getReactComponentIsFbtTranslated_THIS_CAN_BREAK;g.getReactComponentData_THIS_CAN_BREAK=a;g.getReactComponentName_THIS_CAN_BREAK=b}),98);
-----
ALUIEventPublisher",["ALGenericUIState","ALInteractableDOMElement","ALSurfaceUtils","AdsALConsts","AdsALDOMUtils","AdsALIDUtils","AdsALLoggerEventIndex","ExecutionEnvironment","FBLogger","SimpleHook","TimedOnceFunc","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){"use strict";var h=new(d("SimpleHook").SimpleHook)(),i=new(d("SimpleHook").SimpleHook)(),j=new(d("SimpleHook").SimpleHook)(),k=500;function a(a,b,e,f){if(!c("ExecutionEnvironment").canUseEventListeners)return;d("ALInteractableDOMElement").trackInteractable(a);var g,l;a.forEach(function(a){window.document.addEventListener(a,function(f){var g=d("ALInteractableDOMElement").getInteractableElement(f.target);if(g==null)return;c("ALGenericUIState").getOrCreateCachedInfo(g);var i=e==null?void 0:e().startFromTime();i==null?void 0:i.annotate({string:{event:a}});var j=i==null?void 0:i.range(a+"_capture_pub");j==null?void 0:j.start();var k=c("performanceAbsoluteNow")(),n=b.flowletCtor;l=new n(a,b.top());l=new n("ts"+k,l);l=b.push(l);k={event:a,element:g,captureTimestamp:k,flowlet:l,qplEvent:i,isTrusted:f.isTrusted,surface:d("ALSurfaceUtils").getSurfacePath(g),elementName:(n=d("AdsALDOMUtils").getElementName(g))==null?void 0:n.name};h.call(k);j==null?void 0:j.stop();m(k)},!0),window.document.addEventListener(a,function(e){var f=d("ALInteractableDOMElement").getInteractableElement(e.target);if(f!=null){i.call({event:a,element:f,bubbleTimestamp:c("performanceAbsoluteNow")(),isTrusted:e.isTrusted});if(g!=null){e=g;var h=e.data;e=e.timedEmitter;h.event===a&&h.element===f&&e.run()}}b.pop(l)},!1)});function m(a){var b=a.event,e=a.captureTimestamp,f=a.element,h=a.qplEvent;a=a.isTrusted;h==null?void 0:h.range(b).start();if(g!=null){var i=g,m=i.data;i=i.timedEmitter;c("FBLogger")("ads_manager_auto_logging").warn("[AL] Captured %s (element %s, timestamp %s) before the previous %s (element %s, timestamp %s) finished processing",b,f.toString(),e,m.event,m.element.toString(),m.eventTimestamp.toString());i.run();h==null?void 0:h.annotate({"int":(i={},i["unfinished_"+m.event+"_bubble"]=1,i)})}var n={event:b,element:f,eventIndex:d("AdsALLoggerEventIndex").getEventIndex(),eventTimestamp:e,autoLoggingID:d("AdsALIDUtils").getOrSetAutoLoggingID(f),flowlet:l,qplEvent:h,isTrusted:a};d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").info("[AL] %s started for id %s",b,n.autoLoggingID);g={data:n,timedEmitter:new(d("TimedOnceFunc").TimedOnceFunc)(function(a){if(a){(a=n.qplEvent)==null?void 0:a.annotate({bool:{bubble_timeout:!0}})}(a=n.qplEvent)==null?void 0:a.range(b).stop();d("AdsALConsts").AUTO_LOGGING_DEBUG&&c("FBLogger")("ads_manager_auto_logging").info("[AL] %s ended for id %s",n.event,n.autoLoggingID);j.call(n);g=null},k)}}f&&(h.add(function(a){return f.emit("al_ui_event_capture",a)}),i.add(function(a){return f.emit("al_ui_event_bubble",a)}),j.add(function(a){return f.emit("al_ui_event",a)}))}g.onALUIEventCapture=h;g.onALUIEventBubble=i;g.onALUIEvent=j;g.publish=a}),98);
-----
MAWEphemeralSettingsDuration.bs",["fbt","MAWEphemeralConsts.bs"],(function(a,b,c,d,e,f,g,h){"use strict";a=[{timeInSeconds:0,title:h._("u5173")},{timeInSeconds:d("MAWEphemeralConsts.bs").fiveSeconds,title:h._("5 u79d2")},{timeInSeconds:d("MAWEphemeralConsts.bs").tenSeconds,title:h._("10 u79d2")},{timeInSeconds:d("MAWEphemeralConsts.bs").thirtySeconds,title:h._("30 u79d2")},{timeInSeconds:d("MAWEphemeralConsts.bs").oneMinuteInSeconds,title:h._("1 u5206u949f")},{timeInSeconds:d("MAWEphemeralConsts.bs").fiveMinutesInSeconds,title:h._("5 u5206u949f")},{timeInSeconds:d("MAWEphemeralConsts.bs").tenMinutesInSeconds,title:h._("10 u5206u949f")},{timeInSeconds:d("MAWEphemeralConsts.bs").fifteenMinutesInSeconds,title:h._("15 u5206u949f")},{timeInSeconds:d("MAWEphemeralConsts.bs").thirtyMinutesInSeconds,title:h._("30 u5206u949f")},{timeInSeconds:d("MAWEphemeralConsts.bs").oneHourInSeconds,title:h._("1 u5c0fu65f6")},{timeInSeconds:d("MAWEphemeralConsts.bs").sixHoursInSeconds,title:h._("6 u5c0fu65f6")},{timeInSeconds:d("MAWEphemeralConsts.bs").twelveHoursInSeconds,title:h._("12 u5c0fu65f6")},{timeInSeconds:d("MAWEphemeralConsts.bs").oneDayInSeconds,title:h._("1 u5929")}];g.options=a}),98);
-----
MAWEphemeralConsts.bs",["WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";a=300;b=600;c=900;e=1800;f=Math.imul(d("WATimeUtils").HOUR_SECONDS,6);var h=Math.imul(d("WATimeUtils").HOUR_SECONDS,12),i=Math.imul(d("WATimeUtils").DAY_SECONDS,14),j=60,k=1e3,l=5,m=10,n=30,o=60,p=f;g.fiveMinutesInSeconds=a;g.tenMinutesInSeconds=b;g.fifteenMinutesInSeconds=c;g.thirtyMinutesInSeconds=e;g.oneHourInSeconds=d("WATimeUtils").HOUR_SECONDS;g.sixHoursInSeconds=f;g.twelveHoursInSeconds=h;g.oneDayInSeconds=d("WATimeUtils").DAY_SECONDS;g.ephemeralMaxDelectionWindowForUnseenMessage=i;g.minuteSeconds=j;g.msPerSec=k;g.fiveSeconds=l;g.tenSeconds=m;g.thirtySeconds=n;g.oneMinuteInSeconds=o;g.ephemeralReportingWindowInSeconds=p}),98);
-----
MAWEphemeralMessageTimer.bs",["fbt","CometScreenReaderText.react","MAWEphemeralConsts.bs","MWText.react","WATimeUtils","bs_caml_int32","bs_caml_int64","bs_curry","react","setTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function j(a){if(ac("bs_caml_int64").to_int32(b))return c("bs_caml_int64").to_int32(b);else return a}function a(a){var b=a.ephemeralDurationInSec,e=a.expirationTimestamp;a=i.useState(function(){return l(e,b)});var f=a[0],g=a[1];a=j(f);var h=k(a);i.useEffect(function(){f>0&&c("setTimeout")(function(a){return c("bs_curry")._1(g,function(a){return f-1|0})},d("MAWEphemeralConsts.bs").msPerSec)},[f,e]);return f>0?i.jsxs("div",{className:"x2b8uid xbkr7qi",children:[i.jsx(c("CometScreenReaderText.react"),{text:h}),i.jsx("div",{"aria-hidden":!0,children:i.jsx(c("MWText.react"),{type:"meta1",children:a})})]}):null}b=a;g.getScreenReaderText=k;g.getRemainingTimeInSec=l;g.make=b}),98);
-----
ALSurface",["invariant","ALIReact","ALIReactDOM","ALReactComponent","ALReactConsts","ALReactElementVisitor","AdsALConsts","ErrorGuard","FBLogger","gkx","hyperionCore","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useContext,k=b.useLayoutEffect,l={surface:""},m=i.createContext(l);function n(){var a=j(m);if(!a){c("FBLogger")("ads_manager_auto_logging").mustfix("useALSurfaceContext must be used within an ALSurface");return l}return a}function a(a,b){a.flowletCtor!=null||h(0,62558);var e=a.flowletCtor,g=c("gkx")("7630"),j=g&&c("gkx")("7633"),l=j&&c("gkx")("7631"),o=0,p=function(){function a(a){this.id=o++,this.$1=a}var b=a.prototype;b.getFlowlet=function(){return this.$1};b.setFlowlet=function(a){this.$1=a};b.getSurface=function(){return null};return a}(),q=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}var c=a.prototype;c.getSurface=function(){return this.surface};c.toString=function(){var a;return(a=this.getSurface())!=null?a:""};return a}(p),r=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}var d=a.prototype;d.setFlowlet=function(a){c("FBLogger")("ads_manager_auto_logging").warn("Should not change Surface"s flowlet")};d.getSurface=function(){return this.getFlowlet().data.surface};return a}(p);function s(e){var f=e.__ext,g=e.flowlet,a=e.flowletManager;f.getFlowlet()!==g&&f.setFlowlet(g);f=g.name;var h=n();h=h.surface;var j=((h=h)!=null?h:"")+d("AdsALConsts").SURFACE_SEPARATOR+f;k(function(){if(c("gkx")("3174")){b==null?void 0:b.emit("al_surface_mount",{surface:j});return function(){return b==null?void 0:b.emit("al_surface_unmount",{surface:j})}}},[j]);g.data.surface=j;h=e.children;if(l){f=u(e.children,g);f!==!0&&(h=i.jsx("span",{style:{display:"contents"},children:e.children}),u(h,g))}else{h=i.jsx("span",babelHelpers["extends"]({style:{display:"contents"}},(f={},f[d("AdsALConsts").AUTO_LOGGING_SURFACE]=j,f),{children:e.children}))}a.push(g);f=i.jsx(m.Provider,{value:{surface:j},children:h});a.pop(g);return f}s.displayName=s.name+" [from "+f.id+"]";function t(a,b,c,d){if(!a||!(a instanceof p))return;var e=a.getFlowlet();if(!e)return;e.data.surface!==b.data.surface&&a.setFlowlet(b);if(d)return u(c,b)}var u=d("ALReactElementVisitor").createReactNodeVisitor({domElement:function(a,b,c,e){a=b[d("AdsALConsts").AUTO_LOGGING_SURFACE];a instanceof q&&(a.surface=c.data.surface);t(a,c,b.children,!1);return!0},component:function(a,b,c,d){if(a!==s)return t(b.__ext,c,b.children,!0)},memo:function(a,b,c,d){var e;for(a=d==null?void 0:d._owner;a;a=a.sibling){b=a.memoizedProps;d=a.pendingProps;b&&(e=t(b.__ext,c,b.children,!0)||e);b!==d&&d&&(e=t(d.__ext,c,d.children,!0)||e)}return e},__default:function(a,b,c,d){return t(b.__ext,c,b.children,!0)}});function v(a,b,c){var d=b.__ext;!d?d=b.__ext=new p(c):a===s||(d=b.__ext=new p(c));return d}g&&d("ALReactComponent").init();if(j){var w=function(b){b=b==null?void 0:(b=b.__ext)==null?void 0:b.getFlowlet();b&&a.push(b);return b},x="isFlowletSetup";d("ALReactComponent").onReactClassComponentIntercept.add(function(b){b=[b.render,b.componentWillMount,b.componentDidMount,b.componentWillReceiveProps,b.shouldComponentUpdate,b.componentWillUpdate,b.componentDidUpdate,b.componentWillUnmount,b.componentDidCatch];b.forEach(function(b){if(b.getData(x))return;b.setData(x,!0);var c;b.onArgsObserverAdd(function(){c=w(this.props)});b.onValueObserverAdd(function(){c&&a.pop(c)})})});d("ALReactComponent").onReactFunctionComponentIntercept.add(function(b){if(!b.getData(x)){b.setData(x,!0);var c;b.onArgsObserverAdd(function(a){c=w(a)});b.onValueObserverAdd(function(){c&&a.pop(c)})}})}if(l){var y=function(b){var c;c=(c=a.top())!=null?c:B;if(!c)return;b=b&&typeof b==="object";if(!b)return;return c},z=new Set(["div","span","li","button"]),A=function(a,b,c){z.has(a)&&(b[d("AdsALConsts").AUTO_LOGGING_SURFACE]=new q(c)),delete b.__ext};d("hyperionCore").setAttribute.onArgsObserverAdd(function(a,b){if(a===d("AdsALConsts").AUTO_LOGGING_SURFACE&&(b===""||b==="null"||b instanceof q&&b.toString()===""))return!0});var B=j?null:new e("UNKNOWN");d("ALReactComponent").onReactDOMElement.add(function(a,b){var c=y(b);c!=null&&A(a,b,c)});g=function(a,b){var c=y(b);c!=null&&v(a,b,c)};d("ALReactComponent").onReactClassComponentElement.add(g);d("ALReactComponent").onReactFunctionComponentElement.add(g);d("ALReactComponent").onReactSpecialObjectElement.add(g)}function C(a){var b=a.container,c=n();c=c.surface;c!=null&&b.setAttribute(d("AdsALConsts").AUTO_LOGGING_SURFACE,c);return a.children}C.displayName=C.name+" [from "+f.id+"]";c("ALIReactDOM").createPortal.onArgsMapperAdd(function(a){var b=a[0],c=a[1];c instanceof HTMLElement&&(a[0]=i.jsx(C,{container:c,children:b}));return a});return function(b,c){b=b.surface;var f=a.top(),g;if(f==null||(f==null?void 0:f.name)!==b){var h;g=a.push(new e(b,f));g.data.surface=((h=(h=g.parent)==null?void 0:(h=h.data)==null?void 0:h.surface)!=null?h:"")+d("AdsALConsts").SURFACE_SEPARATOR+b}else g=f;return function(b){b=i.jsx(s,{__ext:new r(g),flowlet:g,flowletManager:a,children:c?c(b):b});a.pop(g);return b}}}g.useALSurfaceContext=n;g.init=a}),98);
-----
AdsALConsts",["MainPageUrl"],(function(a,b,c,d,e,f,g){"use strict";a="data-auto-logging-id";b="data-surfaceid";c="data-flowlet";e="data-auto-logging-component-type";f="data-auto-logging-dependent-region";var h="__AUTO_LOGGING_META__",i=["Ads.*","Business.*","^BizNotif(ication)?Jewel.*","^AudienceManager.*"].join("|"),j=["AdsAL","AdsCard","^AdsEditorCard$","AdsEditorCardHeader","AdsEditorCardWithFloatingTip","AdsHero","AdsIntelligentEditorCard","AdsInteractionTrigger","AdsPath","AdsText(?!Suggestions.*)","ErrorBoundary","LayoutComponentsFactory","Provider","Wrapper","FDS","Geo","SUI"].join("|");d=d("MainPageUrl").mainPageUrl.searchParams.get("allog")==="debug";var k="["+e+"]",l="data-testid",m="/",n="\N";g.AUTO_LOGGING_ID=a;g.AUTO_LOGGING_SURFACE=b;g.AUTO_LOGGING_FLOWLET=c;g.AUTO_LOGGING_COMPONENT_TYPE=e;g.AUTO_LOGGING_DEPENDENT_REGION=f;g.AUTO_LOGGING_META_KEY=h;g.COMPONENT_NAME_ALLOWLIST=i;g.COMPONENT_NAME_BLOCKLIST=j;g.AUTO_LOGGING_DEBUG=d;g.LoggableElementsSelector=k;g.DATA_TEST_ID=l;g.SURFACE_SEPARATOR=m;g.LASER_NULL_VALUE=n}),98);
-----
AdsALRuntimeSurfaceMap",["AdsALConsts"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1=new Map()}var b=a.prototype;b.get=function(a){return this.$1.get(a)};b.getFromHierarchy=function(a){a=a.split(d("AdsALConsts").SURFACE_SEPARATOR);for(var b=a.length-1;b>=0;b--){var c=this.get(a[b]);if(c!=null)return c}return null};b.set=function(a,b){this.$1.set(a,b)};return a}();b=new a();c=b;g["default"]=c}),98);
-----