MAIBAThreadsBaseSectionList.react",["CometInfiniteScrollTrigger.react","GeoDivider.react","GeoFlexbox.react","GeoScrollableArea.react","GeoSpinner.react","MAIBAListSection.react","MAIBAThreadsInboxConstants","geoMargin","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(41),n=e["data-testid"],a=e.groupedSections,l=e.hasMore,u=e.header,m=e.isLoading,p=e.keyExtractor,_=e.loadMore,f=e.renderItem,g,h,y,C,b,v,S,R,L,E,k;if(t[0]!==n||t[1]!==a||t[2]!==u||t[3]!==p||t[4]!==f){var I;t[16]!==p||t[17]!==f?(I=function(t){return t.map(function(e,t){return e.items.length>0?s.jsx(r("MAIBAListSection.react"),{label:e.title,testid:void 0,children:e.items.map(function(e,t){var n;return s.jsx(s.Fragment,{children:f(e,t)},(n=p==null?void 0:p(e,t))!=null?n:t)})},t):null}).filter(Boolean)},t[16]=p,t[17]=f,t[18]=I):I=t[18];var T=a.map(I).filter(d);h=r("GeoScrollableArea.react"),L=n,E="vertical",k=!0,g=r("GeoFlexbox.react"),y="stretch",C="column",b=2,v=r("geoMargin").horiz12,S=u,R=T.map(c),t[0]=n,t[1]=a,t[2]=u,t[3]=p,t[4]=f,t[5]=g,t[6]=h,t[7]=y,t[8]=C,t[9]=b,t[10]=v,t[11]=S,t[12]=R,t[13]=L,t[14]=E,t[15]=k}else g=t[5],h=t[6],y=t[7],C=t[8],b=t[9],v=t[10],S=t[11],R=t[12],L=t[13],E=t[14],k=t[15];var D;t[19]!==_?(D=function(){_(o("MAIBAThreadsInboxConstants").INBOX_FETCH_SIZE)},t[19]=_,t[20]=D):D=t[20];var x;t[21]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(r("GeoSpinner.react"),{center:!0,size:"small",loggingName:i.id}),t[21]=x):x=t[21];var $;t[22]!==l||t[23]!==m||t[24]!==D?($=s.jsx(r("CometInfiniteScrollTrigger.react"),{hasMore:l,isLoading:m,onLoadMore:D,children:x}),t[22]=l,t[23]=m,t[24]=D,t[25]=$):$=t[25];var P;t[26]!==g||t[27]!==y||t[28]!==$||t[29]!==C||t[30]!==b||t[31]!==v||t[32]!==S||t[33]!==R?(P=s.jsxs(g,{alignItems:y,direction:C,gap:b,xstyle:v,children:[S,R,$]}),t[26]=g,t[27]=y,t[28]=$,t[29]=C,t[30]=b,t[31]=v,t[32]=S,t[33]=R,t[34]=P):P=t[34];var N;return t[35]!==h||t[36]!==P||t[37]!==L||t[38]!==E||t[39]!==k?(N=s.jsx(h,{dataTestId:L,direction:E,withTopShadow:k,children:P}),t[35]=h,t[36]=P,t[37]=L,t[38]=E,t[39]=k,t[40]=N):N=t[40],N}function c(e,t){return s.jsxs(s.Fragment,{children:[t>0&&s.jsx(r("GeoDivider.react"),{xstyle:r("geoMargin").all8}),e]},t)}c.displayName=c.name+" [from "+i.id+"]";function d(e){return e.length>0}l.default=u}),98);
-----
usePreloadMAIBAChatOnReady",["JSResource","MAIBAChatMessageDebuggingUtils","MAIBAChatThreadQuery.graphql","MAIBAThreadsInboxConstants","MAIBAThreadsList_Query.graphql","MAIBAUGPRecommendationsUtils","MAIBAUgpRecommendationsGraphQLQuery.graphql","RelayHooks","gkx","justknobx","preloadRelayFetchQuery","react","react-compiler-runtime","usePreloadMAIBAChatOnReadyQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;e=i||d("react");e.useCallback;var j=e.useEffect,k=!1;function l(){var a=d("react-compiler-runtime").c(2),b=d("RelayHooks").useRelayEnvironment(),e;a[0]!==b?(e=function(a){c("preloadRelayFetchQuery")(b,c("MAIBAThreadsList_Query.graphql"),{count:d("MAIBAThreadsInboxConstants").INBOX_FETCH_SIZE,currentAdAccountID:a})},a[0]=b,a[1]=e):e=a[1];return e}function m(){var a=d("react-compiler-runtime").c(2),b=d("RelayHooks").useRelayEnvironment(),e;a[0]!==b?(e=function(a){c("preloadRelayFetchQuery")(b,c("MAIBAUgpRecommendationsGraphQLQuery.graphql"),{adAccountID:a,deliveryChannel:d("MAIBAUGPRecommendationsUtils").getUGPDeliveryChannel(),deliverySurface:d("MAIBAUGPRecommendationsUtils").getUGPDeliverySurface()})},a[0]=b,a[1]=e):e=a[1];return e}function n(){var a=d("react-compiler-runtime").c(2),e=d("RelayHooks").useRelayEnvironment(),f=c("justknobx")._("4477"),g;a[0]!==e?(g=function(a){if(f<=0)return;d("RelayHooks").fetchQuery(e,h!==void 0?h:h=b("usePreloadMAIBAChatOnReadyQuery.graphql"),{count:f,current_ad_account_id:a},{fetchPolicy:"store-or-network"}).subscribe({next:function(a){var b;a==null||(b=a.viewer)==null||(b=b.osmip)==null||(b=b.maiba_thread_list)==null||b.nodes.forEach(function(a){c("preloadRelayFetchQuery")(e,c("MAIBAChatThreadQuery.graphql"),{externalConversationId:a.thread_key,shouldFetchMessageDebugInfo:d("MAIBAChatMessageDebuggingUtils").isMAIBAMessageDebuggingAllowed()})})}})},a[0]=e,a[1]=g):g=a[1];return g}function o(){return p}function p(){var a;(a=c("JSResource")).loadAll([a("AdsHelpTrayContentPlugins").__setRef("usePreloadMAIBAChatOnReady"),a("AdsHelpTrayChrome.react").__setRef("usePreloadMAIBAChatOnReady"),a("AdsHelpTray.react").__setRef("usePreloadMAIBAChatOnReady")],q)}function q(){}function a(a){var b=d("react-compiler-runtime").c(7),e=m(),f=l(),g=n(),h=o(),i,p;b[0]!==a||b[1]!==h||b[2]!==g||b[3]!==f||b[4]!==e?(i=function(){if(!c("gkx")("9019")||k)return;e(a);f(a);g(a);h();k=!0},p=[a,e,f,g,h],b[0]=a,b[1]=h,b[2]=g,b[3]=f,b[4]=e,b[5]=i,b[6]=p):(i=b[5],p=b[6]);j(i,p)}g["default"]=a}),98);
-----
MAIBAThreadsInboxConstants",[],(function(a,b,c,d,e,f){"use strict";a=3;b=20;f.COMPACT_INBOX_THREAD_LIMIT=a;f.FULL_INBOX_THREAD_LIMIT=b}),66);
-----