IntlTranslationFinancialCost.react",["IntlTranslationFinancialCostQuery.graphql","IntlTranslationFinancialCostSyncMutation.graphql","RelayHooks","SUIBusinessThemeContainer.react","SUIButton.react","SUITable.react","SUITableColumn.react","SUITableGenericCell.react","SUITableHeaderCell.react","SUITableTextCell.react","SUIText.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useMemo,m=e.useTransition,n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=h!==void 0?h:h=b("IntlTranslationFinancialCostQuery.graphql"),p=i!==void 0?i:i=b("IntlTranslationFinancialCostSyncMutation.graphql"),q=function(a){return k.jsx(c("SUITableHeaderCell.react"),{columnKey:a.columnIndex.toString(),height:32,isSortable:!1,label:a.item.labels[a.columnIndex]})},r=function(a){var b,d=Boolean(a.item.product_area!=null&&a.item.product_area!==""&&a.item.product_area.toLowerCase().includes("total"));b=(b=a.item.product_area)!=null?b:"-";return d?k.jsx(c("SUITableGenericCell.react"),{align:"left",content:k.jsx("strong",{children:b}),hasBorders:!0,height:a.rowHeight}):k.jsx(c("SUITableTextCell.react"),{content:b,hasBorders:!0,height:a.rowHeight})},s=function(a){return function(b){var d,e=Boolean(b.item.product_area!=null&&b.item.product_area!==""&&b.item.product_area.toLowerCase().includes("total"));d=(d=b.item.costs)==null?void 0:d[a];d=d!=null&&d!==0?"$"+d.toLocaleString():"-";return e?k.jsx(c("SUITableGenericCell.react"),{align:"left",content:k.jsx("strong",{children:d}),hasBorders:!0,height:b.rowHeight}):k.jsx(c("SUITableTextCell.react"),{content:d,hasBorders:!0,height:b.rowHeight})}};function a(a){var b;a.queries;a=a.extraProps;var e=(b=a==null?void 0:a.year)!=null?b:new Date().getFullYear();a=(b=a==null?void 0:a.currentRealYear)!=null?b:new Date().getFullYear();b=m();var f=b[0],g=b[1];b=d("RelayHooks").useMutation(p);var h=b[0];b=function(){var a=e-1,b=new URL(window.location.href);b.searchParams.set("year",a.toString());window.location.search=b.search};var i=function(){var a=e+1,b=new URL(window.location.href);b.searchParams.set("year",a.toString());window.location.search=b.search},j=d("RelayHooks").useLazyLoadQuery(o,{year:e}),t=l(function(){var a=j.xfb_intl_translation_financial_costs||[];return a.map(function(a){return{product_area:a.product_area,costs:a.costs}})},[j]),u=l(function(){return{labels:["Product Area"].concat(n)}},[]);return k.jsx("div",{children:k.jsx("div",{className:"xvc5jky x11t971q x1ikqzku xx6bls6 x1cnzs8 x1xnnf8n x106a9eq",children:k.jsxs(c("SUIBusinessThemeContainer.react"),{children:[k.jsxs("div",{className:"x6s0dn4 x78zum5 x1qughib xieb3on",children:[k.jsx(c("SUIText.react"),{size:"header3",weight:"bold",children:"I18n Platforms Financial Cost"}),k.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[k.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[e>2025?k.jsx(c("SUIButton.react"),{label:"\u2190",use:"default",onClick:b,"aria-label":"Previous year"}):null,k.jsxs(c("SUIText.react"),{size:"body2",color:"secondary",children:["Year: ",e]}),e-----
IntlTranslationFinancialCostQuery.graphql",["IntlTranslationFinancialCostQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"year"}],c=[{alias:null,args:[{kind:"Variable",name:"year",variableName:"year"}],concreteType:"XFBIntlTranslationFinancialCosts",kind:"LinkedField",name:"xfb_intl_translation_financial_costs",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"product_area",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"costs",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"IntlTranslationFinancialCostQuery",selections:c,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"IntlTranslationFinancialCostQuery",selections:c},params:{id:b("IntlTranslationFinancialCostQuery_facebookRelayOperation"),metadata:{},name:"IntlTranslationFinancialCostQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
IntlTranslationFinancialCostQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24204272502597860"}),null);
-----
IntlTranslationFinancialCostQuery.graphql",["IntlTranslationFinancialCostQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"year"}],c=[{alias:null,args:[{kind:"Variable",name:"year",variableName:"year"}],concreteType:"XFBIntlTranslationFinancialCosts",kind:"LinkedField",name:"xfb_intl_translation_financial_costs",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"product_area",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"costs",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"IntlTranslationFinancialCostQuery",selections:c,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"IntlTranslationFinancialCostQuery",selections:c},params:{id:b("IntlTranslationFinancialCostQuery_facebookRelayOperation"),metadata:{},name:"IntlTranslationFinancialCostQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
IntlTranslationFinancialCostQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24204272502597860"}),null);
-----