AdsHelpTrayFrictionCardFetchDuplicateCases.react",["AdsHelpTrayFrictionCardFetchDuplicateCasesQuery.graphql","AdsHelpTraySpinner.react","CometPlaceholder.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceErrorBoundary.react","SimpleInterfaceLogger","getJSEnumSafe","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useEffect;function l(a){var e=a.assetID,f=a.onResult;a=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("AdsHelpTrayFrictionCardFetchDuplicateCasesQuery.graphql"),{assetID:e},{fetchPolicy:"network-only"});a=(e=a==null?void 0:a.business_support_cases)!=null?e:[];e=a==null?void 0:a.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),(a=a.additional_details)==null?void 0:a.lbd_submission_activity)!=="Completed"});var g=e.length>0;k(function(){f(g)},[g,f]);return null}l.displayName=l.name+" [from "+f.id+"]";function a(a){var b=a.assetID,e=a.onResult;return j.jsx(c("SimpleInterfaceErrorBoundary.react"),{event:d("SimpleInterfaceLogger").Events.GENERAL_LOAD_FAILURE,fallbackComponent:function(){e(!1);return null},children:j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("AdsHelpTraySpinner.react"),{}),name:f.id,children:j.jsx(l,{assetID:b,onResult:e})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
SimpleInterfaceTreatmentFetchDuplicateCases.react",["GeoSpinner.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceErrorBoundary.react","SimpleInterfaceLogger","SimpleInterfaceTreatmentFetchDuplicateCasesQuery.graphql","getJSEnumSafe","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useEffect;function d(t){var a,i=t.assetID,l=t.caller,s=t.flowJoinID,u=t.onResult,d=t.requestContext,m=t.supportEntryPoint,p=t.userContext,_=o("RelayHooks").useLazyLoadQuery(e!==void 0?e:e=n("SimpleInterfaceTreatmentFetchDuplicateCasesQuery.graphql"),{assetID:i,caller:l,joinID:s,supportEntryPoint:m,requestContext:d,userContext:p},{fetchPolicy:"network-only"}),f=_==null||(a=_.xfb_lbd_v2)==null?void 0:a.cases,g=f==null?void 0:f.filter(function(e){return r("getJSEnumSafe")(r("LBDSubmissionActivity"),e.status)!=="Completed"}),h=g!=null&&g.length>0;return c(function(){u(h)},[h,u]),null}d.displayName=d.name+" [from "+i.id+"]";function m(e){var t=e.assetID,n=e.caller,a=e.flowJoinID,l=e.onResult,s=e.requestContext,c=e.supportEntryPoint,m=e.userContext;return u.jsx(r("SimpleInterfaceErrorBoundary.react"),{event:o("SimpleInterfaceLogger").Events.CASE_LOAD_FAILURE,fallbackComponent:function(){return l(!1),null},children:u.jsx(u.Suspense,{fallback:u.jsx(r("GeoSpinner.react"),{center:!0,loggingName:i.id}),children:u.jsx(d,{assetID:t,caller:n,flowJoinID:a,onResult:l,requestContext:s,supportEntryPoint:c,userContext:m})})})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
-----
SimpleInterfaceTreatmentV2.react",["LBDSubmissionActivity","RelayHooks","SimpleInterfaceContext","SimpleInterfaceHelpCenterGuidanceOrPaymentSelfServeV2.react","SimpleInterfaceLogger","SimpleInterfaceTreatmentContactSupportOrAppealV2.react","SimpleInterfaceTreatmentLoadingUI.react","SimpleInterfaceTreatmentUtils","SimpleInterfaceTreatmentV2_cases.graphql","SimpleInterfaceTreatmentV2_metadata.graphql","SimpleInterfaceTreatmentV2_quidance.graphql","getJSEnumSafe","react"],(function($,l,a,t,K,C,R){"use strict";var o,c,i,d,n=d||(d=t("react")),I=d,q=I.useContext,y=I.useEffect;function m(e){var S=e.conversationFlowID,X=e.flowJoinID,x=e.isAILedResolution,L=e.isRoutedToAILedResolution,E=e.issueInstanceId,_=e.needsContactSupportOrCanAppeal,b=e.predictedSymptoms,Y=e.requestContext,u=e.resolutionRouteInformation,P=e.routeTo,r=e.selectedAsset,f=e.selectedGranularAsset,T=e.selectedGranularPlanID,O=e.selectedPlanID,F=e.selectedSymptomID,G=e.setArticleID,k=e.setIsRoutedToAILedResolution,H=e.setNeedsContactSupportOrCanAppeal,w=e.setRequestContext,M=e.setTreatmentID,p=e.treatmentID,U=e.userQueryData,j=t("RelayHooks").useFragment(o!==void 0?o:o=l("SimpleInterfaceTreatmentV2_metadata.graphql"),u.xfb_business_support_home_resolution_routing),J=t("RelayHooks").useFragment(c!==void 0?c:c=l("SimpleInterfaceTreatmentV2_quidance.graphql"),u.xfb_business_support_home_resolution_routing),h=q(a("SimpleInterfaceContext")),g=h.caller,Q=h.supportEntryPoint,v=t("SimpleInterfaceTreatmentUtils").getSafeAssetID(t("SimpleInterfaceTreatmentUtils").getMostGranularSelectedAsset(r,f)),s=T!=null?T:O,V=t("RelayHooks").useFragment(i!==void 0?i:i=l("SimpleInterfaceTreatmentV2_cases.graphql"),u.xfb_business_support_home_resolution_routing),A=V==null?void 0:V.cases,D=A==null?void 0:A.filter(function(N){return a("getJSEnumSafe")(a("LBDSubmissionActivity"),N.status)!=="Completed"}),B=D!=null&&D.length>0;y(function(){p!=null&&t("SimpleInterfaceLogger").SimpleInterfaceLog(t("SimpleInterfaceLogger").Events.SIMPLE_INTERFACE_TREATMENT_SHOWN,{treatment_id:p,plan_id:s})},[s,p]);var z=_?n.jsx(a("SimpleInterfaceTreatmentContactSupportOrAppealV2.react"),{caller:g,conversationFlowID:S,isAILedResolution:x,isRoutedToAILedResolution:L,treatmentMetadata:j,parentAssetID:v.id===r.id?null:r.id,selectedAsset:v,userQueryData:U,selectedPlanID:s,selectedSymptomID:F,isPositiveFriction:B,routeTo:P,issueInstanceId:E,setIsRoutedToAILedResolution:k,supportEntryPoint:Q,setRequestContext:w,predictedSymptoms:b}):n.jsx(a("SimpleInterfaceHelpCenterGuidanceOrPaymentSelfServeV2.react"),{caller:g,conversationFlowID:S,guidanceData:J,needsContactSupportOrCanAppeal:_,setArticleID:G,setTreatmentID:M,selectedAssetID:r.id,selectedGranularAsset:f,selectedPlanID:s,setNeedsContactSupportOrCanAppeal:H});return n.jsx(n.Suspense,{fallback:n.jsx(a("SimpleInterfaceTreatmentLoadingUI.react"),{isLastStep:!0}),children:z})}m.displayName=m.name+" [from "+C.id+"]",R.default=m}),98);
-----
XMDSSupportHomeCaseTrackingOpenCaseSection",["fbt","CDSIcon.react","CDSList.react","CDSListCell.react","CDSProfilePhoto.react","CDSSection.react","CDSSectionHeader.react","CDSText.react","CometRelay","LBDSubmissionActivity","MetaBrandCaretRightFilled24.svg.react","SupportHomeUtils","SupportHomeWebLogger","XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint","XMDSSupportHomeCaseTrackingOpenCaseSection_content.graphql","getJSEnumSafe","react","react-compiler-runtime","usePushPageDynamic"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l={sectionMargins:{marginTop:"x1sy10c2",marginBottom:"xieb3on",$$css:!0}},m=i!==void 0?i:i=b("XMDSSupportHomeCaseTrackingOpenCaseSection_content.graphql");function a(a){var b=d("react-compiler-runtime").c(6),e=a.content,f=a.onDialogClose,g=d("CometRelay").useFragment(m,e),i=c("usePushPageDynamic")(),j=g.cases.length;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(a=k.jsx(c("CDSSectionHeader.react"),{isSemanticHeading:!0,title:h._(/*BTDS*/"")}),b[0]=a):a=b[0];b[1]!==g||b[2]!==j||b[3]!==f||b[4]!==i?(e=k.jsx(c("CDSSection.react"),{header:a,xstyle:l.sectionMargins,children:k.jsx(c("CDSList.react"),{children:g.cases.map(function(a,b){var e,h;e=(e=a.asset)==null||(e=e.image)==null?void 0:e.uri;h=(h=c("getJSEnumSafe")(c("LBDSubmissionActivity"),a==null?void 0:a.status))!=null?h:"Received";if(h!=="Completed"){if(e!=null){return k.jsx(c("CDSListCell.react"),{addOnEnd:k.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),addOnStart:k.jsx(c("CDSProfilePhoto.react"),{imageUri:e,label:"Profile",shape:"circle",size:40}),hasBottomDivider:!(j<=3&&j-1===b),onPress:function(){var d;c("SupportHomeWebLogger").log("case_tracking_case_view_open",{caseID:(d=a.id)!=null?d:" ",title:(d=a.title)!=null?d:" "});i(c("XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint"),{case_key:b,content:g,onDialogClose:f},{routeProps:{case_key:b,content:g,onClose:f}})},subtitle:k.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 ",k.jsx(c("CDSText.react"),{color:d("SupportHomeUtils").getColorForStatus(h),children:d("SupportHomeUtils").getSubmissionActivityLabel(h)})]}),title:a.title},b)}return k.jsx(c("CDSListCell.react"),{addOnEnd:k.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),hasBottomDivider:!0,onPress:function(){var d;c("SupportHomeWebLogger").log("case_tracking_case_view_open",{caseID:(d=a.id)!=null?d:" ",title:(d=a.title)!=null?d:" "});i(c("XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint"),{case_key:b,content:g,onDialogClose:f},{routeProps:{case_key:b,content:g,onClose:f}})},subtitle:k.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 "]}),title:a.title},b)}})})}),b[1]=g,b[2]=j,b[3]=f,b[4]=i,b[5]=e):e=b[5];return e}g["default"]=a}),226);
-----
XMDSSupportHomeCaseTrackingClosedCaseSection",["fbt","CDSIcon.react","CDSList.react","CDSListCell.react","CDSProfilePhoto.react","CDSSection.react","CDSSectionHeader.react","CDSText.react","CometRelay","LBDSubmissionActivity","MetaBrandCaretRightFilled24.svg.react","SupportHomeUtils","SupportHomeWebLogger","XMDSSupportHomeCaseTrackingClosedCaseSection_content.graphql","XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint","getJSEnumSafe","react","react-compiler-runtime","usePushPageDynamic"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l={sectionMargins:{marginTop:"x1sy10c2",marginBottom:"xieb3on",$$css:!0}},m=i!==void 0?i:i=b("XMDSSupportHomeCaseTrackingClosedCaseSection_content.graphql");function a(a){var b=d("react-compiler-runtime").c(6),e=a.content,f=a.onDialogClose,g=d("CometRelay").useFragment(m,e),i=c("usePushPageDynamic")(),j=g.cases.length;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(a=k.jsx(c("CDSSectionHeader.react"),{isSemanticHeading:!0,title:h._(/*BTDS*/"")}),b[0]=a):a=b[0];b[1]!==g||b[2]!==j||b[3]!==f||b[4]!==i?(e=k.jsx(c("CDSSection.react"),{header:a,xstyle:l.sectionMargins,children:k.jsx(c("CDSList.react"),{children:g.cases.map(function(a,b){var e,h;e=(e=a.asset)==null||(e=e.image)==null?void 0:e.uri;h=(h=c("getJSEnumSafe")(c("LBDSubmissionActivity"),a==null?void 0:a.status))!=null?h:"Received";if(h==="Completed"){if(e!=null){return k.jsx(c("CDSListCell.react"),{addOnEnd:k.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),addOnStart:k.jsx(c("CDSProfilePhoto.react"),{imageUri:e,label:"Profile",shape:"circle",size:40}),hasBottomDivider:!(j<=3&&j-1===b),onPress:function(){var d;c("SupportHomeWebLogger").log("case_tracking_case_view_open",{caseID:(d=a.id)!=null?d:" ",title:(d=a.title)!=null?d:" "});i(c("XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint"),{case_key:b,content:g,onDialogClose:f},{routeProps:{case_key:b,content:g,onClose:f}})},subtitle:k.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 ",k.jsx(c("CDSText.react"),{color:d("SupportHomeUtils").getColorForStatus(h),children:d("SupportHomeUtils").getSubmissionActivityLabel(h)})]}),title:a.title},b)}return k.jsx(c("CDSListCell.react"),{addOnEnd:k.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),hasBottomDivider:!0,onPress:function(){var d;c("SupportHomeWebLogger").log("case_tracking_case_view_open",{caseID:(d=a.id)!=null?d:" ",title:(d=a.title)!=null?d:" "});i(c("XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint"),{case_key:b,content:g,onDialogClose:f},{routeProps:{case_key:b,content:g,onClose:f}})},subtitle:k.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 "]}),title:a.title},b)}})})}),b[1]=g,b[2]=j,b[3]=f,b[4]=i,b[5]=e):e=b[5];return e}g["default"]=a}),226);
-----
XMDSSupportHomeCaseTrackingViewAllDialog.react",["fbt","Box.react","CDSDialogHeader.react","CDSDialogPage.react","CDSTextPairing.react","CometRelay","LBDSubmissionActivity","SupportHomeWebLogger","XMDSSupportHomeCaseTrackingClosedCaseSection","XMDSSupportHomeCaseTrackingOpenCaseSection","XMDSSupportHomeCaseTrackingViewAllDialogNME_content.graphql","XMDSSupportHomeCaseTrackingViewAllDialog_content.graphql","getJSEnumSafe","react","react-compiler-runtime","usePopPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||c("react"),m={dialogContent:{marginInlineStart:"xqsn43r",marginInlineEnd:"x3aesyq",marginLeft:null,marginRight:null,$$css:!0},headingMargins:{marginBottom:"x1hq5gj4",$$css:!0}},n=i!==void 0?i:i=b("XMDSSupportHomeCaseTrackingViewAllDialog_content.graphql"),o=j!==void 0?j:j=b("XMDSSupportHomeCaseTrackingViewAllDialogNME_content.graphql");function a(a){var b=d("react-compiler-runtime").c(24);a=a.props;var e=a.content,f=a.nme_content;a=a.onDialogClose;var g=c("usePopPage")();f=d("CometRelay").useFragment(o,f);e=d("CometRelay").useFragment(n,e);var i=e.cases.length;if(b[0]!==e.cases){var j;j=(j=e.cases.filter(p).length)!=null?j:0;b[0]=e.cases;b[1]=j}else j=b[1];j=j;i=i-j;var k;b[2]!==g?(k=function(){c("SupportHomeWebLogger").log("help_tray_back_button_click"),g&&g()},b[2]=g,b[3]=k):k=b[3];var q;b[4]!==a||b[5]!==k?(q=l.jsx(c("CDSDialogHeader.react"),{onBack:k,onClose:a,titleHidden:!1,withBackButton:!0}),b[4]=a,b[5]=k,b[6]=q):q=b[6];b[7]!==f.management_page_header?(k=l.jsx(c("CDSTextPairing.react"),{contentText:null,headlineText:h._(/*BTDS*/"",[h._param("project name",f.management_page_header)]),isPrimaryHeading:!0,textAlign:"start",textPairingStyle:"headline1Body",xstyle:m.headingMargins}),b[7]=f.management_page_header,b[8]=k):k=b[8];b[9]!==e||b[10]!==a||b[11]!==j?(f=j>0&&l.jsx(c("XMDSSupportHomeCaseTrackingOpenCaseSection"),{content:e,onDialogClose:a}),b[9]=e,b[10]=a,b[11]=j,b[12]=f):f=b[12];b[13]!==i||b[14]!==e||b[15]!==a?(j=i>0&&l.jsx(c("XMDSSupportHomeCaseTrackingClosedCaseSection"),{content:e,onDialogClose:a}),b[13]=i,b[14]=e,b[15]=a,b[16]=j):j=b[16];b[17]!==k||b[18]!==f||b[19]!==j?(i=l.jsxs(c("Box.react"),{xstyle:m.dialogContent,children:[k,f,j]}),b[17]=k,b[18]=f,b[19]=j,b[20]=i):i=b[20];b[21]!==q||b[22]!==i?(e=l.jsx(c("CDSDialogPage.react"),{footer:null,header:q,children:i}),b[21]=q,b[22]=i,b[23]=e):e=b[23];return e}function p(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),a.status)!=="Completed"}g["default"]=a}),226);
-----
XMDSSupportHomeCaseTrackingDetailViewDialog.react",["fbt","Box.react","CDSDialogFooter.react","CDSDialogHeader.react","CDSDialogPage.react","CDSList.react","CDSListCell.react","CDSSection.react","CDSSectionHeader.react","CDSText.react","CDSTextPairing.react","CometRelay","LBDSubmissionActivity","SupportHomeUtils","SupportHomeWebLogger","XMDSSupportHomeCaseTrackingDetailViewDialog_content.graphql","formatDate","getJSEnumSafe","react","usePopPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||c("react"),l={dialogContent:{marginInlineStart:"xqsn43r",marginInlineEnd:"x3aesyq",marginLeft:null,marginRight:null,$$css:!0},headingMargins:{marginBottom:"x1hq5gj4",$$css:!0},listMargins:{marginBottom:"x1yztbdb",$$css:!0},sectionMargins:{marginTop:"x1sy10c2",marginBottom:"xieb3on",$$css:!0}},m=i!==void 0?i:i=b("XMDSSupportHomeCaseTrackingDetailViewDialog_content.graphql");function a(a){var b;a=a.props;var e=a.case_key,f=a.content,g=a.onDialogClose,i=c("usePopPage")(),j=d("CometRelay").useFragment(m,f);a="M j, Y";f="M j, Y g:i A";return k.jsx(c("CDSDialogPage.react"),{footer:k.jsx(c("CDSDialogFooter.react"),{primary:{label:h._(/*BTDS*/""),onPress:function(){var a;c("SupportHomeWebLogger").log("case_tracking_case_view_close",{caseID:(a=(a=j.cases.at(e))==null?void 0:a.id)!=null?a:" ",title:(a=(a=j.cases.at(e))==null?void 0:a.title)!=null?a:" "});g()}}}),header:k.jsx(c("CDSDialogHeader.react"),{onBack:function(){c("SupportHomeWebLogger").log("help_tray_back_button_click"),i&&i()},onClose:g,titleHidden:!1,withBackButton:!0}),children:k.jsxs(c("Box.react"),{xstyle:l.dialogContent,children:[k.jsx(c("CDSTextPairing.react"),{contentText:null,headlineText:(b=(b=j.cases.at(e))==null?void 0:b.title)!=null?b:" ",isPrimaryHeading:!0,textAlign:"start",textPairingStyle:"headline1Body",xstyle:l.headingMargins}),k.jsx(c("CDSSection.react"),{header:k.jsx(c("CDSSectionHeader.react"),{isSemanticHeading:!0,subtitle:null,title:h._(/*BTDS*/"")}),xstyle:l.sectionMargins,children:k.jsxs(c("CDSList.react"),{xstyle:l.listMargins,children:[k.jsx(c("CDSListCell.react"),{hasBottomDivider:!0,meta:k.jsxs(c("CDSText.react"),{children:[h._(/*BTDS*/"")," ",c("formatDate")((b=(b=j.cases.at(e))==null?void 0:b.updated_date)!=null?b:" ",a)]}),subtitle:k.jsx(c("CDSText.react"),{color:d("SupportHomeUtils").getColorForStatus((a=c("getJSEnumSafe")(c("LBDSubmissionActivity"),(b=j.cases.at(e))==null?void 0:b.status))!=null?a:"Received"),children:(a=c("getJSEnumSafe")(c("LBDSubmissionActivity"),(b=j.cases.at(e))==null?void 0:b.status))!=null?a:"Received"}),title:h._(/*BTDS*/"")}),k.jsx(c("CDSListCell.react"),{hasBottomDivider:!0,subtitle:(a=(b=j.cases.at(e))==null?void 0:b.id)!=null?a:" ",title:h._(/*BTDS*/"")}),k.jsx(c("CDSListCell.react"),{hasBottomDivider:!0,subtitle:(a=(b=j.cases.at(e))==null?void 0:b.details)!=null?a:" ",title:h._(/*BTDS*/"")}),k.jsx(c("CDSListCell.react"),{hasBottomDivider:!0,subtitle:c("formatDate")((a=(b=j.cases.at(e))==null?void 0:b.creation_date)!=null?a:" ",f),title:h._(/*BTDS*/"")}),k.jsx(c("CDSListCell.react"),{hasBottomDivider:!0,subtitle:(a=(b=j.cases.at(e))==null||(b=b.asset)==null?void 0:b.name)!=null?a:" ",title:h._(/*BTDS*/"")}),k.jsx(c("CDSListCell.react"),{subtitle:(b=(f=j.cases.at(e))==null?void 0:f.contact)!=null?b:" ",title:h._(/*BTDS*/"")})]})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
XMDSSupportHomeCaseTracking.react",["fbt","CDSIcon.react","CDSList.react","CDSListCell.react","CDSProfilePhoto.react","CDSSection.react","CDSSectionHeader.react","CDSText.react","CometRelay","LBDSubmissionActivity","MetaBrandCaretRightFilled24.svg.react","SupportHomeUtils","SupportHomeWebLogger","XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint","XMDSSupportHomeCaseTrackingNME_content.graphql","XMDSSupportHomeCaseTrackingViewAllDialog.entrypoint","XMDSSupportHomeCaseTracking_content.graphql","getJSEnumSafe","react","usePushPageDynamic"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||c("react"),m={sectionMargins:{marginTop:"x1sy10c2",marginBottom:"xieb3on",$$css:!0}},n=i!==void 0?i:i=b("XMDSSupportHomeCaseTracking_content.graphql"),o=j!==void 0?j:j=b("XMDSSupportHomeCaseTrackingNME_content.graphql");function a(a){var b=a.content,e=a.nme_content,f=a.onDialogClose,g=d("CometRelay").useFragment(n,b),i=g.cases.length,j=d("CometRelay").useFragment(o,e),k=c("usePushPageDynamic")();if(i===0)return l.jsx(l.Fragment,{});else return l.jsx(c("CDSSection.react"),{header:l.jsx(c("CDSSectionHeader.react"),{isSemanticHeading:!0,title:h._(/*BTDS*/"")}),xstyle:m.sectionMargins,children:l.jsxs(c("CDSList.react"),{children:[g.cases.slice(0,3).map(function(a,b){var e,h;e=(e=a.asset)==null||(e=e.image)==null?void 0:e.uri;h=(h=c("getJSEnumSafe")(c("LBDSubmissionActivity"),a==null?void 0:a.status))!=null?h:"Received";if(e!=null){return l.jsx(c("CDSListCell.react"),{addOnEnd:l.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),addOnStart:l.jsx(c("CDSProfilePhoto.react"),{imageUri:e,label:"Profile",shape:"circle",size:40}),hasBottomDivider:!(i<=3&&i-1===b),onPress:function(){var d;c("SupportHomeWebLogger").log("case_tracking_case_view_open",{caseID:(d=a.id)!=null?d:" ",title:(d=a.title)!=null?d:" "});k(c("XMDSSupportHomeCaseTrackingDetailViewDialog.entrypoint"),{case_key:b,content:g,onDialogClose:f},{routeProps:{case_key:b,content:g,onClose:f}})},subtitle:l.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 ",l.jsx(c("CDSText.react"),{color:d("SupportHomeUtils").getColorForStatus(h),children:d("SupportHomeUtils").getSubmissionActivityLabel(h)})]}),title:a.title},b)}return l.jsx(c("CDSListCell.react"),{addOnEnd:l.jsx(c("CDSIcon.react"),{color:"list-cell-chevron",icon:c("MetaBrandCaretRightFilled24.svg.react"),size:16}),hasBottomDivider:!0,subtitle:l.jsxs(c("CDSText.react"),{children:[(e=a.asset)==null?void 0:e.name," \u2022 "]}),title:a.title},b)}),i>3?l.jsx(c("CDSListCell.react"),{onPress:function(){c("SupportHomeWebLogger").log("case_tracking_see_all_cases_open"),k(c("XMDSSupportHomeCaseTrackingViewAllDialog.entrypoint"),{content:g,nme_content:j,onDialogClose:f},{routeProps:{content:g,onClose:f}})},title:l.jsx(c("CDSText.react"),{color:"blueLink",children:h._(/*BTDS*/"")})}):null]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
AdsHelpTraySupportCaseModalsContainerV2.react",["AdsFluxHooks","AdsHelpTrayCaseRequestConfirmationModal.react","AdsHelpTrayCloseCaseModalV2.react","AdsHelpTrayModalTypes","AdsHelpTrayRequestCaseUpdateModalV2.react","AdsHelpTraySpinner.react","AdsHelpTraySupportCaseModalsContainerV2Query.graphql","CometPlaceholder.react","ErrorBoundary.react","FBLogger","LBDSubmissionActivity","RelayFBEnvironment","RelayHooks","adsCreateSelector","adsHelpTrayCurrentContentCaseIDSelector","adsHelpTrayOpenModalTypeSelector","getJSEnumSafe","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useCallback,l=c("adsCreateSelector")([c("adsHelpTrayCurrentContentCaseIDSelector"),c("adsHelpTrayOpenModalTypeSelector")],function(a,b){return{caseID:a,modalType:b}},{name:f.id+".containerSelector"});function m(a){var e=a.caseID;a=a.modalType;e=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("AdsHelpTraySupportCaseModalsContainerV2Query.graphql"),{caller_id:"HELP_TRAY",case_id:e,case_types:["PSO_TIER_1"]});e=e.business_support_cases?e.business_support_cases[0]:null;var f=(e==null?void 0:e.additional_details)!=null?e==null?void 0:e.additional_details.lbd_submission_activity:null;switch(a){case d("AdsHelpTrayModalTypes").Modal.REQUEST_UPDATE:return!c("isTruthy")(e)?null:j.jsx(c("AdsHelpTrayRequestCaseUpdateModalV2.react"),{id:(a=e.case_id)!=null?a:"",status:c("getJSEnumSafe")(c("LBDSubmissionActivity"),f)});case d("AdsHelpTrayModalTypes").Modal.CLOSE_CASE:return!c("isTruthy")(e)?null:j.jsx(c("AdsHelpTrayCloseCaseModalV2.react"),{id:(a=e.case_id)!=null?a:""});case d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REQUEST_UPDATE:return j.jsx(c("AdsHelpTrayCaseRequestConfirmationModal.react"),{confirmationModalType:d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REQUEST_UPDATE});case d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REOPEN_CASE:return j.jsx(c("AdsHelpTrayCaseRequestConfirmationModal.react"),{confirmationModalType:d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REOPEN_CASE});default:return null}}m.displayName=m.name+" [from "+f.id+"]";function a(){var a=d("AdsFluxHooks").useAdsSelector(l),b=a.caseID;a=a.modalType;var e=k(function(a){c("FBLogger")("ads_help_tray").catching(a).warn("Error fetching advertiser support existing cases and chat access info for case modals container")},[]);return j.jsx(d("RelayHooks").RelayEnvironmentProvider,{environment:c("RelayFBEnvironment"),children:j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("AdsHelpTraySpinner.react"),{}),name:f.id,children:j.jsx(c("ErrorBoundary.react"),{onError:e,children:j.jsx(m,{caseID:b,modalType:a})})})})}a.displayName=a.name+" [from "+f.id+"]";e=d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id});g["default"]=e}),98);
-----
AdsHelpTrayFrictionCardWrapperV2.react",["AdsHelpTrayFrictionCardWrapperV2Query.graphql","AdsHelpTraySupportContext","AdsHelpTraySupportFormPendingAQAppealGuidance.react","AdsHelpTraySupportFormPreExistingCaseCardV2.react","LBDSubmissionActivity","RelayHooks","getJSEnumSafe","react","useBusinessSupportPendingAQAppealGuidanceExists"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext;function a(a){var e,f=a.assetID,g=a.planID,i=k(d("AdsHelpTraySupportContext").AdsHelpTraySupportContext);i=i.callerID;e=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("AdsHelpTrayFrictionCardWrapperV2Query.graphql"),{assetID:f,callerID:(e=i)!=null?e:"HELP_TRAY",planID:g});g=((g=e==null?void 0:(g=e.lbd)==null?void 0:(g=g.treatment_v2)==null?void 0:(g=g.treatment)==null?void 0:(g=g.guidance)==null?void 0:(g=g.guidance_strategies)==null?void 0:g.nodes)!=null?g:[]).some(function(a){return a.guidance_engine==="PENDING_AQ_APPEAL"});i=c("useBusinessSupportPendingAQAppealGuidanceExists")((i=i)!=null?i:"HELP_TRAY",f,g);e=(g=e==null?void 0:e.business_support_cases)!=null?g:[];g=e==null?void 0:e.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),(a=a.additional_details)==null?void 0:a.lbd_submission_activity)!=="Completed"});if(i)return j.jsx(c("AdsHelpTraySupportFormPendingAQAppealGuidance.react"),{assetID:f,setBypassGuidance:a.setIsFrictionComponentBypassed});else if(g.length>0)return j.jsx(c("AdsHelpTraySupportFormPreExistingCaseCardV2.react"),{cases:g,setIsFrictionComponentBypassed:a.setIsFrictionComponentBypassed});a.setIsFrictionComponentBypassed(!0);return null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
SimpleInterfaceTreatment.react",["LBDSubmissionActivity","QPLUserFlow","RelayHooks","SimpleInterface.config","SimpleInterfaceContext","SimpleInterfaceGuidance.react","SimpleInterfaceTreatmentContactSupport.react","SimpleInterfaceTreatmentQuery.graphql","getJSEnumSafe","qpl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext,l="REQUEST_SUCCESS";function a(a){var e,f=a.flowJoinID,g=a.issueInstanceId,i=a.needsContactSupport,m=a.requestContext,n=a.routeTo,o=a.selectedAssetID,p=a.selectedGranularAsset,q=a.selectedGranularPlanID,r=a.selectedPlanID,s=a.setArticleID,t=a.setNeedsContactSupport,u=a.setRequestContext;a.setSelectedAsset;a.setSelectedIssue;a=a.setTreatmentID;var v=k(c("SimpleInterfaceContext")),w=v.caller;v=v.supportEntryPoint;var x=p!=null&&!d("SimpleInterface.config").OTHER_GRANULAR_ASSET_KEYS.includes(p.id)?p.id:o;e=d("SimpleInterface.config").isInputFBID(x)?(e=x)!=null?e:"":"";q=(q=q)!=null?q:r;r=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("SimpleInterfaceTreatmentQuery.graphql"),{planID:q,assetID:e,caller:w,joinID:f,supportEntryPoint:v,requestContext:m});m=r==null?void 0:(f=r.lbd)==null?void 0:f.treatment_v2;(m==null?void 0:m.status)!==l?c("QPLUserFlow").endFailure(c("qpl")._(719721983,"973"),"No treatment has been fetched.",{annotations:{string:{planID:q,assetID:e}}}):c("QPLUserFlow").endSuccess(c("qpl")._(719721983,"973"));e=r==null?void 0:(f=r.lbd)==null?void 0:f.cases;f=e==null?void 0:e.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),a.status)!=="Completed"});e=f!=null&&f.length>0;if(s!=null&&!i){s((f=m==null?void 0:(f=m.treatment)==null?void 0:(s=f.guidance)==null?void 0:s.interstitial_cms_id_v2)!=null?f:"")}if(a!=null){a((f=m==null?void 0:(s=m.treatment)==null?void 0:s.id)!=null?f:"")}return i?j.jsx(c("SimpleInterfaceTreatmentContactSupport.react"),{caller:w,treatmentResponse:r,selectedAssetID:x,selectedPlanID:q,isPositiveFriction:e,routeTo:n,issueInstanceId:g,supportEntryPoint:v,setRequestContext:u}):j.jsx(c("SimpleInterfaceGuidance.react"),{caller:w,treatmentResponse:m,interstitialCMSId:m==null?void 0:(a=m.treatment)==null?void 0:(s=a.guidance)==null?void 0:s.interstitial_cms_id_v2,selectedAssetID:o,selectedGranularAsset:p,selectedPlanID:q,setNeedsContactSupport:t})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
SimpleInterfaceCaseDetailsContent.react",["cx","fbt","AgentConnectFileUploadForSimpleInterface.react","FlexLayout.react","GeoAccordionList.react","GeoAccordionListItem.react","GeoDivider.react","GeoHeading.react","GeoListItem.react","GeoTextPairing.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseDetailsClose.react","SimpleInterfaceCaseDetailsContentQuery.graphql","SimpleInterfaceCaseDetailsFollowup.react","SimpleInterfaceCaseError.react","SimpleInterfaceCaseStatusStepper.react","SimpleInterfaceContext","SimpleInterfaceLogger","SimpleInterfaceOpenCases.react","geoMargin","getJSEnumSafe","react","stylex","useResizeObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m=l||(l=d("react"));e=l;var n=e.useContext,o=e.useEffect,p=e.useState;function q(){var a=p(0),b=a[0],d=a[1];a=c("useResizeObserver")(function(a){d(a.width)});return[b,a]}var r={statusTrackerHorizontal:{marginBottom:"x1e56ztr",$$css:!0},statusTracker:{marginTop:"x1gslohp",$$css:!0}};function a(a){var e=a.setCaseStatusForLogging,f=babelHelpers.objectWithoutPropertiesLoose(a,["setCaseStatusForLogging"]);a=q();var g=a[0];a=a[1];g=g>550;var h=p(!1),l=h[0];h=h[1];var s=n(c("SimpleInterfaceContext")),t=s.caller;s=s.supportEntryPoint;t=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("SimpleInterfaceCaseDetailsContentQuery.graphql"),{case_id:f.caseID,caller:t,supportEntryPoint:s});var u=(s=t.lbd)==null?void 0:s.cases[0];t=u==null?void 0:u.id;o(function(){e&&e(c("getJSEnumSafe")(c("LBDSubmissionActivity"),u==null?void 0:u.status))},[u,e]);s=l||(u==null?void 0:u.actions.find(function(a){return a==="CLOSE"}));u==null?d("SimpleInterfaceLogger").SimpleInterfaceLog(d("SimpleInterfaceLogger").Events.CASE_LOAD_FAILURE,{case_id:f.caseID}):d("SimpleInterfaceLogger").SimpleInterfaceLog(d("SimpleInterfaceLogger").Events.CASE_LOAD,{case_id:f.caseID,event_data:u.status});return u!=null?m.jsxs("div",{ref:a,className:"_97_z",style:{paddingBottom:"3%"},children:[m.jsx(c("GeoHeading.react"),{level:1,children:i._("u6848u4ef6u8be6u60c5")}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u4e3bu9898"),description:(l=u.title)!=null?l:"N/A",size:"header3",xstyle:c("geoMargin").top16}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u8be6u7ec6u4fe1u606f"),description:u==null?void 0:u.details,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u63d0u4ea4u65e5u671f"),description:d("SimpleInterfaceOpenCases.react").formattedDateForTimestamp((a=u.creation_date)!=null?a:-1),size:"header3",xstyle:c("geoMargin").top4}),m.jsxs(c("FlexLayout.react"),{direction:"vertical",style:{marginTop:4},children:[m.jsx(c("GeoHeading.react"),{level:3,children:i._("u72b6u6001")}),m.jsx("div",{className:(k||(k=c("stylex")))(g&&r.statusTrackerHorizontal,r.statusTracker),children:m.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:u,isHorizontalLayout:g})})]}),m.jsx(c("GeoTextPairing.react"),{heading:(a=(l=u.asset)==null?void 0:l.description)!=null?a:"N/A",description:(g=u.asset)==null?void 0:g.name,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u6848u4ef6u7f16u53f7"),description:u.id,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u9644u52a0u90aeu7bb1"),description:u==null?void 0:u.contact.join(", "),size:"header3",xstyle:c("geoMargin").top8}),u!=null&&t!=null&&(s||u.actions.length>0)&&m.jsxs(m.Fragment,{children:[m.jsx(c("GeoDivider.react"),{}),m.jsx(c("GeoHeading.react"),{level:1,children:i._("u53efu91c7u53d6u7684u63aau65bd")}),m.jsxs(c("GeoAccordionList.react"),{variant:"flat",children:[u.actions.find(function(a){return a==="FOLLOW_UP"})&&m.jsx(c("GeoAccordionListItem.react"),{item:m.jsx(c("GeoListItem.react"),{label:i._("u8bf7u6c42u83b7u53d6u6700u65b0u60c5u51b5")}),onChange:function(){d("SimpleInterfaceLogger").SimpleInterfaceLog(d("SimpleInterfaceLogger").Events.CASE_FOLLOW_UP_ACCORDION,{case_id:f.caseID,event_data:u.status})},children:m.jsx(c("SimpleInterfaceCaseDetailsFollowup.react"),{caseID:t})}),s?m.jsx(c("GeoAccordionListItem.react"),{item:m.jsx(c("GeoListItem.react"),{label:i._("u5173u95edu6848u4ef6")}),onChange:function(){d("SimpleInterfaceLogger").SimpleInterfaceLog(d("SimpleInterfaceLogger").Events.CASE_CLOSE_ACCORDION,{case_id:f.caseID,event_data:u.status})},children:m.jsx(c("SimpleInterfaceCaseDetailsClose.react"),{caseID:t,onClosedMessageShown:h})}):null]})]}),m.jsx(c("AgentConnectFileUploadForSimpleInterface.react"),{caseID:f.caseID})]}):m.jsx(c("SimpleInterfaceCaseError.react"),{caseID:f.caseID})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
LBDSubmissionActivity",[],(function(a,b,c,d,e,f){a=Object.freeze({RECEIVED:"Received",IN_PROGRESS:"In Progress",NEEDS_MORE_INFORMATION:"Needs more information",ESCALATED:"Escalated",COMPLETED:"Completed"});f["default"]=a}),66);
-----
SimpleInterfaceOpenCases.react",["fbt","ix","FlexLayout.react","GeoHeading.react","GeoIcon.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","GeoText.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusStepper.react","SimpleInterfaceContext","SimpleInterfaceOpenCasesActionableFooter.react","SimpleInterfaceOpenCasesQuery.graphql","fbicon","formatDate","getJSEnumSafe","react","useResizeObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react")),m=k,n=m.useContext,o=m.useState;function a(a){switch(a){case"In Progress":return h._("u5904u7406u4e2d");case"Needs more information":return h._("u9700u8981u66f4u591au4fe1u606f");case"Completed":return h._("u5df2u5b8cu6210");case"Received":default:return h._("u5df2u6536u5230")}}function e(a){switch(a){case"Received":return"warning";case"In Progress":return"success";case"Needs more information":return"error";case"Completed":default:return"info"}}function p(a){return c("formatDate")(a,c("formatDate").DEFAULT_FORMAT,{utc:!1})}function q(){var a=o(0),b=a[0],d=a[1];a=c("useResizeObserver")(function(a){d(a.width)});return[b,a]}function r(a,e,f,g,h){e=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("SimpleInterfaceOpenCasesQuery.graphql"),{caller:a,asset_id:e,cases_limit:((a=f)!=null?a:100)+1,supportEntryPoint:h});h=g===!0?(f=e.lbd)==null?void 0:f.cases.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),a.status)!=="Completed"}):(a=e.lbd)==null?void 0:a.cases;return h}function s(a){var b=a.asset_id,e=a.containerStyle,f=a.limit,g=a.onSelect,h=a.onShowMore,j=a.positiveFriction;a=a.title;var k=j,m=n(c("SimpleInterfaceContext")),o=m.caller;m=m.supportEntryPoint;var p=r(o,b,f,k==null?void 0:k.isPositiveFriction,m);o=p!=null?p.length:0;b=o>0;k=q();m=k[0];k=k[1];if(!b)return null;var s=m>550;b=function(a){g(a[0])};return l.jsx("div",{className:e!=null&&e,children:l.jsxs("div",{className:"x78zum5 xdt5ytf xdj266r xkrivgy xat24cr x1gryazu xq4x0wy x4uap5 xbbp3fn xkhd6sd x76zr16",ref:k,children:[l.jsx(c("GeoHeading.react"),{level:2,children:a}),l.jsx(c("GeoSelectableList.react"),{onSelectionChange:b,selectedItemIDs:[],variant:"divided",children:p==null?void 0:p.slice(0,f).map(function(a){var b;return l.jsx(c("GeoSelectableListGenericItem.react"),{itemID:(b=a.id)!=null?b:"N/A",children:l.jsxs(c("FlexLayout.react"),{justify:"all",align:"center",style:{width:"100%"},children:[l.jsxs(c("FlexLayout.react"),{direction:"vertical",children:[l.jsx(c("GeoHeading.react"),{level:4,overflowWrap:"break-word",children:(b=a.title)!=null?b:"N/A"}),l.jsxs(c("FlexLayout.react"),{children:[l.jsx(c("GeoText.react"),{children:(b=(b=a.asset)==null?void 0:b.name)!=null?b:""}),l.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("505497"),20)}),l.jsx(c("GeoText.react"),{children:(b=(b=a.asset)==null?void 0:b.description)!=null?b:""})]}),l.jsx("div",{style:{marginTop:"4px"},children:l.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:a,isHorizontalLayout:s})})]}),l.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("492536"),20)})]})},(b=a.id)!=null?b:"N/A")})}),l.jsx(d("SimpleInterfaceOpenCasesActionableFooter.react").SimpleInterfaceOpenCasesActionableFooter,{totalCases:o,limit:f,onShowMore:h,onViewExsiting:function(){return g(p==null?void 0:p[0].id)},onCreateCase:function(){return j==null?void 0:j.setBypassPositiveFriction(!0)},positiveFriction:j})]})})}s.displayName=s.name+" [from "+f.id+"]";g.getSubmissionActivityLabel=a;g.getSubmissionActivityPillStatus=e;g.formattedDateForTimestamp=p;g.useCases=r;g.SimpleInterfaceOpenCases=s}),226);
-----
SimpleInterfaceCaseStatusConfig",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";var i=h._("u5df2u6536u5230"),j=h._("u9700u91c7u53d6u64cdu4f5c"),k=h._("u5904u7406u4e2d"),l=h._("u5df2u5b8cu6210"),m=h._("u5ba1u6838u4e2d"),n=h._("u652fu6301u6848u4ef6"),o=h._("u5546u5bb6u53d7u9650u7533u8bc9");function a(a){switch(a){case"Received":return i;case"In Progress":return k;case"Completed":return l;case"Escalated":return m;case"Needs more information":return j;default:return i}}function b(a){switch(a){case"PSO_TIER_1":return n;case"BUSINESS_BANHAMMER_ALE_APPEAL":return o;default:return n}}d=(c={},c.Received=["Received","In Progress","Completed"],c["In Progress"]=["Received","In Progress","Completed"],c.Escalated=["Received","In Progress","Escalated","Completed"],c["Needs more information"]=["Received","In Progress","Needs more information","Completed"],c.Completed=["Completed"],c);g.getStatusLabelFromLBDSubmissionActivity=a;g.getTrackerLabelFromTrackerType=b;g.statusConfig=d}),226);
-----
AccountQualityHubSupportCase.react",["fbt","AccountQualityHubSupportCaseQuery.graphql","AccountQualityLogger","AdsHelpTrayUIActions","AdsHelpTrayUILogger","GeoBaseText.react","GeoDivider.react","GeoFlexbox.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusStepper.react","geoMargin","getJSEnumSafe","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l=1;function a(a){var e=a.assetID;a=a.caseLimit;a=d("RelayHooks").useLazyLoadQuery(i!==void 0?i:i=b("AccountQualityHubSupportCaseQuery.graphql"),{asset_id:e,cases_limit:((e=a)!=null?e:100)+1});a=(e=a==null?void 0:(e=a.lbd)==null?void 0:(a=e.cases)==null?void 0:a.filter(function(a){a=c("getJSEnumSafe")(c("LBDSubmissionActivity"),a==null?void 0:a.status);return a!=="Completed"}))!=null?e:[];e=a.length>0?a==null?void 0:a.slice(0,l).map(function(a){return k.jsx(c("GeoSelectableListGenericItem.react"),{itemID:a.id,children:k.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:a,isHorizontalLayout:!0})},a.id)}):[];return k.jsx(k.Fragment,{children:e.length>0&&k.jsxs(k.Fragment,{children:[k.jsx(c("GeoDivider.react"),{}),k.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[k.jsx(c("GeoBaseText.react"),{color:"value",size:"value",weight:"bold",xstyle:c("geoMargin").bottom16,children:h._("u652fu6301u6848u4ef6u72b6u6001")}),k.jsx(c("GeoSelectableList.react"),{selectedItemIDs:[],selectionType:"single",variant:"divided",onSelectionChange:function(a){d("AdsHelpTrayUIActions").openCaseDetails(a[0],"SUPPORT_HUB"),d("AdsHelpTrayUILogger").logCaseTrackingViewOpen(a[0]),d("AccountQualityLogger").logButtonClickAction("aq.support_entity_open_case_details",{value:a[0].toString()})},children:e})]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
SimpleInterfaceCaseStatusStepper.react",["GeoFlexbox.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusConfig","SimpleInterfaceCaseStatusStepper_caseData.graphql","SimpleInterfaceCaseStep.react","formatDate","getJSEnumSafe","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("SimpleInterfaceCaseStatusStepper_caseData.graphql");function a(a){var b=a.caseData,e=a.isHorizontalLayout;a=a.numStepsAbridged;var f=(e=e)!=null?e:!1;e=d("RelayHooks").useFragment(k,b);b=(b=c("getJSEnumSafe")(c("LBDSubmissionActivity"),e==null?void 0:e.status))!=null?b:"Received";var g=d("SimpleInterfaceCaseStatusConfig").statusConfig[b],h=c("formatDate")(e.creation_date,"M j, Y",{utc:!1}),i=c("formatDate")(e.updated_date,"M j, Y",{utc:!1}),l=g.indexOf(b);a!=null&&(g=g.slice(l,l+a),l=0);e=g.map(function(a,b){var e=b===0,k=b===g.length-1,m=b<=l;return j.jsx(c("SimpleInterfaceCaseStep.react"),{isHorizontalLayout:f,label:d("SimpleInterfaceCaseStatusConfig").getStatusLabelFromLBDSubmissionActivity(a),status:a==="Needs more information"?"error":m?"completed":"pending",isTopConnectorHidden:e,isBottomConnectorHidden:k,additionalInfo:e&&a!=="Completed"?h:m?i:""},b)});return j.jsx("div",{role:"list",children:j.jsx(c("GeoFlexbox.react"),{direction:f?"row":"column",children:e})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
SimpleInterfaceCaseDetailsContent.react",["cx","fbt","AgentConnectCustomFileUploadContainer.react","FlexLayout.react","GeoAccordionList.react","GeoAccordionListItem.react","GeoDivider.react","GeoHeading.react","GeoListItem.react","GeoTextPairing.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseDetailsClose.react","SimpleInterfaceCaseDetailsContentQuery.graphql","SimpleInterfaceCaseDetailsFollowup.react","SimpleInterfaceCaseError.react","SimpleInterfaceCaseStatusStepper.react","SimpleInterfaceContext","SimpleInterfaceLogger","SimpleInterfaceOpenCases.react","geoMargin","getJSEnumSafe","react","stylex","useResizeObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m=l||(l=d("react"));e=l;var n=e.useContext,o=e.useEffect,p=e.useState,q=function(){var a=p(0),b=a[0],d=a[1];a=c("useResizeObserver")(function(a){d(a.width)});return[b,a]},r=new(d("SimpleInterfaceLogger").Logger)(),s={statusTrackerHorizontal:{marginBottom:"x1e56ztr",$$css:!0},statusTracker:{marginTop:"x1gslohp",$$css:!0}};function a(a){var e=a.setCaseStatusForLogging,f=babelHelpers.objectWithoutPropertiesLoose(a,["setCaseStatusForLogging"]);a=q();var g=a[0];a=a[1];g=g>550;var h=p(!1),l=h[0];h=h[1];var t=n(c("SimpleInterfaceContext")),u=t.caller;t=t.supportEntryPoint;u=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("SimpleInterfaceCaseDetailsContentQuery.graphql"),{case_id:f.caseID,caller:u,supportEntryPoint:t});var v=(t=u.lbd)==null?void 0:t.cases[0];u=v==null?void 0:v.id;o(function(){e&&e(c("getJSEnumSafe")(c("LBDSubmissionActivity"),v==null?void 0:v.status))},[v,e]);t=l||(v==null?void 0:v.actions.find(function(a){return a==="CLOSE"}));v==null?r.log(d("SimpleInterfaceLogger").Events.CASE_LOAD_FAILURE,[f.caseID,null,null]):r.log(d("SimpleInterfaceLogger").Events.CASE_LOAD,[f.caseID,null,v.status]);return v!=null?m.jsxs("div",{ref:a,className:"_97_z",style:{paddingBottom:"3%"},children:[m.jsx(c("GeoHeading.react"),{level:1,children:i._("u6848u4ef6u8be6u60c5")}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u4e3bu9898"),description:(l=v.title)!=null?l:"N/A",size:"header3",xstyle:c("geoMargin").top16}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u8be6u7ec6u4fe1u606f"),description:v==null?void 0:v.details,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u63d0u4ea4u65e5u671f"),description:d("SimpleInterfaceOpenCases.react").formattedDateForTimestamp((a=v.creation_date)!=null?a:-1),size:"header3",xstyle:c("geoMargin").top4}),m.jsxs(c("FlexLayout.react"),{direction:"vertical",style:{marginTop:4},children:[m.jsx(c("GeoHeading.react"),{level:3,children:i._("u72b6u6001")}),m.jsx("div",{className:(k||(k=c("stylex")))(g&&s.statusTrackerHorizontal,s.statusTracker),children:m.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:v,isHorizontalLayout:g})})]}),m.jsx(c("GeoTextPairing.react"),{heading:(a=(l=v.asset)==null?void 0:l.description)!=null?a:"N/A",description:(g=v.asset)==null?void 0:g.name,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u6848u4ef6u7f16u53f7"),description:v.id,size:"header3",xstyle:c("geoMargin").top4}),m.jsx(c("GeoTextPairing.react"),{heading:i._("u9644u52a0u90aeu7bb1"),description:v==null?void 0:v.contact.join(", "),size:"header3",xstyle:c("geoMargin").top8}),v!=null&&u!=null&&(t||v.actions.length>0)&&m.jsxs(m.Fragment,{children:[m.jsx(c("GeoDivider.react"),{}),m.jsx(c("GeoHeading.react"),{level:1,children:i._("u53efu91c7u53d6u7684u63aau65bd")}),m.jsxs(c("GeoAccordionList.react"),{variant:"flat",children:[v.actions.find(function(a){return a==="FOLLOW_UP"})&&m.jsx(c("GeoAccordionListItem.react"),{item:m.jsx(c("GeoListItem.react"),{label:i._("u8bf7u6c42u83b7u53d6u6700u65b0u60c5u51b5")}),onChange:function(){r.log(d("SimpleInterfaceLogger").Events.CASE_FOLLOW_UP_ACCORDION,[f.caseID,null,v.status])},children:m.jsx(c("SimpleInterfaceCaseDetailsFollowup.react"),{caseID:u})}),t?m.jsx(c("GeoAccordionListItem.react"),{item:m.jsx(c("GeoListItem.react"),{label:i._("u5173u95edu6848u4ef6")}),onChange:function(){r.log(d("SimpleInterfaceLogger").Events.CASE_CLOSE_ACCORDION,[f.caseID,null,v.status])},children:m.jsx(c("SimpleInterfaceCaseDetailsClose.react"),{caseID:u,onClosedMessageShown:h})}):null]})]}),m.jsx(c("GeoDivider.react"),{}),m.jsx(c("AgentConnectCustomFileUploadContainer.react"),{caseID:f.caseID})]}):m.jsx(c("SimpleInterfaceCaseError.react"),{caseID:f.caseID})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
EscalationsDeskForm.react",["EscalationsDeskCaseForm.react","EscalationsDeskCaseInput.react","EscalationsDeskEEMCard.react","EscalationsDeskFormQuery.graphql","GeoButton.react","GeoLink.react","GeoText.react","GeoToast.react","GeoVStack.react","LBDSubmissionActivity","RelayHooks","SimpleInterface.config","getJSEnumSafe","react","useGeoToaster"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");e=d("react");var j=e.useEffect,k=e.useState,l="https://fburl.com/crm_link";function a(a){var e,f=a.caseID,g=a.setCaseID,m=a.onEscalatedCaseCreated,n=a.isCaseRequired;n=n===void 0?!1:n;var o=a.enableEEM;o=o===void 0?!1:o;var p=a.showCaseSummary;p=p===void 0?!0:p;a=a.xstyle;var q=c("useGeoToaster")(),r=q.add;q=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("EscalationsDeskFormQuery.graphql"),{id:(q=f)!=null?q:"0",has_id:f!=null&&d("SimpleInterface.config").isInputFBID(f)});var s=k(!1),t=s[0],u=s[1];s=q.xfb_escalation_desk_case_details;q=c("getJSEnumSafe")(c("LBDSubmissionActivity"),s==null?void 0:s.status);var v=!((e=s==null?void 0:s.recently_closed)!=null?e:!1)&&q==="Completed";j(function(){v&&r(i.jsx(c("GeoToast.react"),{description:"Escalation not possible, please raise a new Meta Support Pro Case via CRM.",heading:"Meta Support Pro Case was closed more than 14 days ago",status:"error",action:i.jsx(c("GeoButton.react"),{href:l,label:"Open CRM",target:"_blank",variant:"flat"})}),{duration:"sticky"})},[r,v]);return i.jsx(c("GeoVStack.react"),{xstyle:a,children:g!=null&&(!t&&g!=null&&(s==null?void 0:s.id)==null||v)?i.jsxs(i.Fragment,{children:[i.jsx(c("EscalationsDeskCaseInput.react"),{caseID:f,setCaseID:g,errorMessage:f!=null&&!v?"We can"t find a case that matches this ID.":null}),!n&&i.jsx(c("GeoText.react"),{textAlign:"center",display:"block",children:i.jsx(c("GeoLink.react"),{onClick:function(){return u(!0)},children:"No Meta Support Case ID? Create a new escalation"})}),o&&i.jsx(c("EscalationsDeskEEMCard.react"),{})]}):i.jsx(c("EscalationsDeskCaseForm.react"),{showCaseSummary:p,escalateCase:s,onEscalatedCaseCreated:m})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
AdsHelpTrayFrictionCardWrapperV2.react",["AdsHelpTrayFrictionCardWrapperV2Query.graphql","AdsHelpTraySupportContext","AdsHelpTraySupportFormPendingAQAppealGuidance.react","AdsHelpTraySupportFormPreExistingCaseCardV2.react","LBDSubmissionActivity","RelayHooks","getJSEnumSafe","react","useBusinessSupportPendingAQAppealGuidanceExists"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=d("react").useContext;function a(a){var e,f=a.assetID,g=a.planID,k=j(d("AdsHelpTraySupportContext").AdsHelpTraySupportContext);k=k.callerID;g=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("AdsHelpTrayFrictionCardWrapperV2Query.graphql"),{assetID:f,planID:g,callerID:(g=k)!=null?g:"HELP_TRAY"});e=((e=g==null?void 0:(e=g.lbd)==null?void 0:(e=e.treatment_v2)==null?void 0:(e=e.treatment)==null?void 0:(e=e.guidance)==null?void 0:(e=e.guidance_strategies)==null?void 0:e.nodes)!=null?e:[]).some(function(a){return a.guidance_engine==="PENDING_AQ_APPEAL"});k=c("useBusinessSupportPendingAQAppealGuidanceExists")((k=k)!=null?k:"HELP_TRAY",f,e);g=(e=g==null?void 0:g.business_support_cases)!=null?e:[];e=g==null?void 0:g.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),(a=a.additional_details)==null?void 0:a.lbd_submission_activity)!=="Completed"});if(k)return i.jsx(c("AdsHelpTraySupportFormPendingAQAppealGuidance.react"),{assetID:f,setBypassGuidance:a.setIsFrictionComponentBypassed});else if(e.length>0)return i.jsx(c("AdsHelpTraySupportFormPreExistingCaseCardV2.react"),{cases:e,setIsFrictionComponentBypassed:a.setIsFrictionComponentBypassed});a.setIsFrictionComponentBypassed(!0);return null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
AdsHelpTraySupportCaseModalsContainerV2.react",["AdsFluxHooks","AdsHelpTrayCaseRequestConfirmationModal.react","AdsHelpTrayCloseCaseModalV2.react","AdsHelpTrayModalTypes","AdsHelpTrayRequestCaseUpdateModalV2.react","AdsHelpTraySpinner.react","AdsHelpTraySupportCaseModalsContainerV2Query.graphql","CometPlaceholder.react","ErrorBoundary.react","FBLogger","LBDSubmissionActivity","RelayFBEnvironment","RelayHooks","adsCreateSelector","adsHelpTrayCurrentContentCaseIDSelector","adsHelpTrayOpenModalTypeSelector","getJSEnumSafe","isTruthy","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=d("react").useCallback,k=c("adsCreateSelector")([c("adsHelpTrayCurrentContentCaseIDSelector"),c("adsHelpTrayOpenModalTypeSelector")],function(a,b){return{caseID:a,modalType:b}},{name:f.id+".containerSelector"});function l(a){var e=a.caseID;a=a.modalType;e=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("AdsHelpTraySupportCaseModalsContainerV2Query.graphql"),{case_id:e,caller_id:"HELP_TRAY",case_types:["PSO_TIER_1"]});e=e.business_support_cases?e.business_support_cases[0]:null;var f=(e==null?void 0:e.additional_details)!=null?e==null?void 0:e.additional_details.lbd_submission_activity:null;switch(a){case d("AdsHelpTrayModalTypes").Modal.REQUEST_UPDATE:return!c("isTruthy")(e)?null:i.jsx(c("AdsHelpTrayRequestCaseUpdateModalV2.react"),{id:(a=e.case_id)!=null?a:"",status:c("getJSEnumSafe")(c("LBDSubmissionActivity"),f)});case d("AdsHelpTrayModalTypes").Modal.CLOSE_CASE:return!c("isTruthy")(e)?null:i.jsx(c("AdsHelpTrayCloseCaseModalV2.react"),{id:(a=e.case_id)!=null?a:""});case d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REQUEST_UPDATE:return i.jsx(c("AdsHelpTrayCaseRequestConfirmationModal.react"),{confirmationModalType:d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REQUEST_UPDATE});case d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REOPEN_CASE:return i.jsx(c("AdsHelpTrayCaseRequestConfirmationModal.react"),{confirmationModalType:d("AdsHelpTrayModalTypes").Modal.CONFIRMATION_REOPEN_CASE});default:return null}}l.displayName=l.name+" [from "+f.id+"]";function a(){var a=d("AdsFluxHooks").useAdsSelector(k),b=a.caseID;a=a.modalType;var e=j(function(a){c("FBLogger")("ads_help_tray").catching(a).warn("Error fetching advertiser support existing cases and chat access info for case modals container")},[]);return i.jsx(d("RelayHooks").RelayEnvironmentProvider,{environment:c("RelayFBEnvironment"),children:i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("AdsHelpTraySpinner.react"),{}),children:i.jsx(c("ErrorBoundary.react"),{onError:e,children:i.jsx(l,{caseID:b,modalType:a})})})})}a.displayName=a.name+" [from "+f.id+"]";e=d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id});g["default"]=e}),98);
-----
SimpleInterfaceOpenCases.react",["fbt","ix","AdsHelpTrayContent","FlexLayout.react","GeoBaseText.react","GeoButton.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","GeoText.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusStepper.react","SimpleInterfaceOpenCasesQuery.graphql","fbicon","formatDate","getJSEnumSafe","react","useResizeObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=d("react"),l=d("react").useState;function a(a){switch(a){case"In Progress":return h._("u5904u7406u4e2d");case"Needs more information":return h._("u9700u8981u66f4u591au4fe1u606f");case"Completed":return h._("u5df2u5b8cu6210");case"Received":default:return h._("u5df2u6536u5230")}}function e(a){switch(a){case"Received":return"warning";case"In Progress":return"success";case"Needs more information":return"error";case"Completed":default:return"info"}}function m(a){return c("formatDate")(a,c("formatDate").DEFAULT_FORMAT,{utc:!1})}var n=function(){var a=l(0),b=a[0],d=a[1];a=c("useResizeObserver")(function(a){d(a.width)});return[b,a]};function o(a){var e,f;e=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("SimpleInterfaceOpenCasesQuery.graphql"),{caller:a.caller,asset_id:a.asset_id,cases_limit:((e=a.limit)!=null?e:100)+1});var g=n(),l=g[0];g=g[1];var m=l>550;l=function(b){a.onSelect(b[0])};var o=a.positiveFriction,p=(o==null?void 0:o.isPositiveFriction)===!0?(f=e.lbd)==null?void 0:f.cases.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),a.status)!=="Completed"}):(f=e.lbd)==null?void 0:f.cases,q;if(p!=null&&p.length>0){e=k.jsxs(k.Fragment,{children:[k.jsx("div",{className:"x1k70j0n",children:k.jsx(c("GeoBaseText.react"),{color:"value",size:"value",children:d("AdsHelpTrayContent").POSITIVE_FRICTION_DESCRIPTION})}),k.jsxs("div",{className:"x78zum5 x13a6bvl x1gslohp",children:[k.jsx(c("GeoButton.react"),{onClick:function(){return a.onSelect(p[0].id)},variant:"primary",label:d("AdsHelpTrayContent").POSITIVE_FRICTION_VIEW_EXISTING_CASE_BUTTON}),k.jsx("div",{className:"x1iog12x",children:k.jsx(c("GeoButton.react"),{onClick:function(){return o==null?void 0:o.setBypassPositiveFriction(!0)},label:d("AdsHelpTrayContent").POSITIVE_FRICTION_CREATE_CASE_BUTTON_LONG})})]})]});if(o!=null&&o.isPositiveFriction===!0)q=e;else{p.length>((f=a.limit)!=null?f:100)&&(q=k.jsx(c("GeoLink.react"),{onClick:a.onShowMore,children:h._("u67e5u770bu5168u90e8")}))}}return p!=null&&p.length>0?k.jsx("div",{className:a.containerStyle!=null&&a.containerStyle,children:k.jsxs("div",{className:a.isRedesign!==!0?"xw7yly9 x1yztbdb x3xlf8i x1kracf6 xxh8t5i xye8x39 x1lq5wgf xgqcy7u x30kzoy x9jhf4c xyamay9 x1pi30zi x1l90r2v x1swvt13":"x78zum5 xdt5ytf xdj266r xkrivgy xat24cr x1gryazu xq4x0wy x4uap5 xbbp3fn xkhd6sd x76zr16",ref:g,children:[k.jsx(c("GeoHeading.react"),{level:2,children:a.title}),k.jsx(c("GeoSelectableList.react"),{onSelectionChange:l,selectedItemIDs:[],variant:"divided",children:p.slice(0,a.limit).map(function(a){var b;return k.jsx(c("GeoSelectableListGenericItem.react"),{itemID:(b=a.id)!=null?b:"N/A",children:k.jsxs(c("FlexLayout.react"),{justify:"all",align:"center",style:{width:"100%"},children:[k.jsxs(c("FlexLayout.react"),{direction:"vertical",children:[k.jsx(c("GeoHeading.react"),{level:4,children:(b=a.title)!=null?b:"N/A"}),k.jsxs(c("FlexLayout.react"),{children:[k.jsx(c("GeoText.react"),{children:(b=(b=a.asset)==null?void 0:b.name)!=null?b:""}),k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("505497"),20)}),k.jsx(c("GeoText.react"),{children:(b=(b=a.asset)==null?void 0:b.description)!=null?b:""})]}),k.jsx("div",{style:{marginTop:"4px"},children:k.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:a,isHorizontalLayout:m})})]}),k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("492536"),20)})]})},(b=a.id)!=null?b:"N/A")})}),q]})}):null}o.displayName=o.name+" [from "+f.id+"]";g.getSubmissionActivityLabel=a;g.getSubmissionActivityPillStatus=e;g.formattedDateForTimestamp=m;g.SimpleInterfaceOpenCases=o}),98);
-----
SimpleInterfaceTreatment.react",["LBDSubmissionActivity","QPLUserFlow","RelayHooks","SimpleInterface.config","SimpleInterfaceGuidance.react","SimpleInterfaceTreatmentContactSupport.react","SimpleInterfaceTreatmentQuery.graphql","getJSEnumSafe","qpl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j="REQUEST_SUCCESS";function a(a){var e,f;e=d("SimpleInterface.config").isInputFBID(a.selectedAssetID)?(e=a.selectedAssetID)!=null?e:"":"";var g=d("RelayHooks").useLazyLoadQuery(h!==void 0?h:h=b("SimpleInterfaceTreatmentQuery.graphql"),{planID:a.selectedPlanID,assetID:e,caller:a.caller,joinID:a.flowJoinID});f=g==null?void 0:(f=g.lbd)==null?void 0:f.treatment_v2;(f==null?void 0:f.status)!==j?c("QPLUserFlow").endFailure(c("qpl")._(719721983,"973"),"No treatment has been fetched.",{annotations:{string:{planID:a.selectedPlanID,assetID:e}}}):c("QPLUserFlow").endSuccess(c("qpl")._(719721983,"973"));g=g==null?void 0:(e=g.lbd)==null?void 0:e.cases;e=g==null?void 0:g.filter(function(a){return c("getJSEnumSafe")(c("LBDSubmissionActivity"),a.status)!=="Completed"});g=e!=null&&e.length>0;return a.needsContactSupport?i.jsx(c("SimpleInterfaceTreatmentContactSupport.react"),{caller:a.caller,treatmentResponse:f,selectedAssetID:a.selectedAssetID,selectedPlanID:a.selectedPlanID,isPositiveFriction:g,routeTo:a.routeTo,issueInstanceId:a.issueInstanceId,isRedesign:a.isRedesign}):i.jsx(c("SimpleInterfaceGuidance.react"),{caller:a.caller,treatmentResponse:f,selectedAssetID:a.selectedAssetID,selectedPlanID:a.selectedPlanID,setNeedsContactSupport:a.setNeedsContactSupport,isRedesign:a.isRedesign})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
AccountQualityHubSupportCase.react",["fbt","AccountQualityHubSupportCaseQuery.graphql","AccountQualityLogger","AdsHelpTrayUIActions","AdsHelpTrayUILogger","GeoBaseText.react","GeoDivider.react","GeoFlexbox.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusStepper.react","geoMargin","getJSEnumSafe","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=1;function a(a){a=d("RelayHooks").useLazyLoadQuery(i!==void 0?i:i=b("AccountQualityHubSupportCaseQuery.graphql"),{asset_id:a.assetID,cases_limit:((a=a.caseLimit)!=null?a:100)+1});a=(a=a==null?void 0:(a=a.lbd)==null?void 0:(a=a.cases)==null?void 0:a.filter(function(a){a=c("getJSEnumSafe")(c("LBDSubmissionActivity"),a==null?void 0:a.status);return a!=="Completed"}))!=null?a:[];a=a.length>0?a==null?void 0:a.slice(0,k).map(function(a){return j.jsx(c("GeoSelectableListGenericItem.react"),{itemID:a.id,children:j.jsx(c("SimpleInterfaceCaseStatusStepper.react"),{caseData:a,isHorizontalLayout:!0})},a.id)}):[];return j.jsx(j.Fragment,{children:a.length>0&&j.jsxs(j.Fragment,{children:[j.jsx(c("GeoDivider.react"),{}),j.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[j.jsx(c("GeoBaseText.react"),{color:"value",size:"value",weight:"bold",xstyle:c("geoMargin").bottom16,children:h._("u652fu6301u7533u8bf7u5355u72b6u6001")}),j.jsx(c("GeoSelectableList.react"),{selectedItemIDs:[],selectionType:"single",variant:"divided",onSelectionChange:function(a){d("AdsHelpTrayUIActions").openCaseDetails(a[0]),d("AdsHelpTrayUILogger").logCaseTrackingViewOpen(a[0]),d("AccountQualityLogger").logButtonClickAction("aq.support_entity_open_case_details",{value:a[0].toString()})},children:a})]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
LBDSubmissionActivity",[],(function(a,b,c,d,e,f){a=Object.freeze({RECEIVED:"Received",IN_PROGRESS:"In Progress",NEEDS_MORE_INFORMATION:"Needs more information",ESCALATED:"Escalated",COMPLETED:"Completed"});f["default"]=a}),66);
-----
SimpleInterfaceCaseStatusConfig",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";var i=h._("u5df2u6536u5230"),j=h._("u9700u91c7u53d6u64cdu4f5c"),k=h._("u5904u7406u4e2d"),l=h._("u5df2u5b8cu6210"),m=h._("u5ba1u6838u4e2d"),n=h._("u6c42u52a9u95eeu9898"),o=h._("u5546u5bb6u53d7u9650u7533u8bc9");function a(a){switch(a){case"Received":return i;case"In Progress":return k;case"Completed":return l;case"Escalated":return m;case"Needs more information":return j;default:return i}}function b(a){switch(a){case"PSO_TIER_1":return n;case"BUSINESS_BANHAMMER_ALE_APPEAL":return o;default:return n}}d=(c={},c.Received=["Received","In Progress","Completed"],c["In Progress"]=["Received","In Progress","Completed"],c.Escalated=["Received","In Progress","Escalated","Completed"],c["Needs more information"]=["Received","In Progress","Needs more information","Completed"],c.Completed=["Completed"],c);g.getStatusLabelFromLBDSubmissionActivity=a;g.getTrackerLabelFromTrackerType=b;g.statusConfig=d}),98);
-----
SimpleInterfaceCaseStatusStepper.react",["GeoFlexbox.react","LBDSubmissionActivity","RelayHooks","SimpleInterfaceCaseStatusConfig","SimpleInterfaceCaseStatusStepper_caseData.graphql","SimpleInterfaceCaseStep.react","formatDate","getJSEnumSafe","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=h!==void 0?h:h=b("SimpleInterfaceCaseStatusStepper_caseData.graphql");function a(a){var b,e,f=(b=a.isHorizontalLayout)!=null?b:!1;b=d("RelayHooks").useFragment(j,a.caseData);e=(e=c("getJSEnumSafe")(c("LBDSubmissionActivity"),b==null?void 0:b.status))!=null?e:"Received";var g=d("SimpleInterfaceCaseStatusConfig").statusConfig[e],h=c("formatDate")(b.creation_date,"M j, Y",{utc:!1}),k=c("formatDate")(b.updated_date,"M j, Y",{utc:!1}),l=g.indexOf(e);a.numStepsAbridged!=null&&(g=g.slice(l,l+a.numStepsAbridged),l=0);b=g.map(function(a,b){var e=b===0,j=b===g.length-1,m=b<=l;return i.jsx(c("SimpleInterfaceCaseStep.react"),{isHorizontalLayout:f,label:d("SimpleInterfaceCaseStatusConfig").getStatusLabelFromLBDSubmissionActivity(a),status:a==="Needs more information"?"error":m?"completed":"pending",isTopConnectorHidden:e,isBottomConnectorHidden:j,additionalInfo:e&&a!=="Completed"?h:m?k:""},b)});return i.jsx("div",{role:"list",children:i.jsx(c("GeoFlexbox.react"),{direction:f?"row":"column",children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----