1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[943],{13223(e,t,r){r.d(t,{n:()=>_});var a,n=r(60034);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,i,_=n.createElement("div",{className:"recipient-overview-tooltip"},n.createElement("div",{className:"tooltip__title"},"Face Value of Loans"),n.createElement("div",{className:"tooltip__text"},n.createElement("p",null,n.createElement("strong",null,"About Face Value of Loans")),n.createElement("p",null,"From a budget perspective, the face value of loans is not considered Federal spending, since it does not in itself represent a long-term cost to the government. Thus, the face value of loans is not included in the Total Awarded Amount figure above or in any other part of this page where dollar amounts appear."),n.createElement("p",null,n.createElement("strong",null,"Whatâs Included in Total Awarded Amount")),n.createElement("p",null,'While the face value of loans amounts are not included in the total award amount, the loan subsidy cost is included. All subsidy costs associated with loans this recipient has received during the filtered time period are captured within the "Total Awarded Amount" number above and anywhere else on this page dollar amounts are mentioned.'),n.createElement("p",null,n.createElement("strong",null,"About Loan Subsidy Cost")),n.createElement("p",null,"Subsidy cost is considered actual budgetary federal spending. The subsidy cost is the calculated net present value of the loan or loan guarantee to the government. It takes into account the size of the loan (face value), the interest rate, and the modeled risk of the recipient failing to pay back the loan in part or full. Subsidy cost can be positive (indicating that the government is likely to lose money on the loan) or negative (indicating that the government is likely to make money on the loan). Subsidy cost should never be larger in absolute value terms than the face value itself. Administrative costs of running the loan or loan guarantee program itself are excluded from subsidy cost calculations.")));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(_,"recipientOverviewLoanInfo","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/InfoTooltipContent.jsx"),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},78447(e,t,r){r.d(t,{A:()=>u});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(56727),s=r(38705),l=r(97999);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var c={recipient:i().object,showChildRecipientModal:i().func,showAlternateNamesRecipientModal:i().func},d=function(e){var t=e.recipient,r=e.showChildRecipientModal,a=e.showAlternateNamesRecipientModal;return n.createElement("div",{className:"recipient-content-wrapper"},n.createElement("div",{className:"recipient-content"},n.createElement(l.A,{showChildRecipientModal:r,showAlternateNamesRecipientModal:a,recipient:t}),n.createElement(_.A,{recipient:t}),n.createElement(s.A,null)))};d.propTypes=c;var p=d;const u=p;var m,E;(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(m.register(c,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientContent.jsx"),m.register(d,"RecipientContent","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientContent.jsx"),m.register(p,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientContent.jsx")),(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&E(e)},77650(e,t,r){r.d(t,{A:()=>m});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(45844),l=r(1192);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},d={parents:_().array},p=function(e){var t=(0,o.useState)(!1),r=(0,n.A)(t,2),a=r[0],i=r[1],_=e.parents.length<2,c=e.parents[0],d="";return c.parent_duns&&(d="(".concat(c.parent_duns,")")),o.createElement("div",{className:"recipient-overview__parent"},_?o.createElement("div",{className:"recipient-overview__parent"},"This recipient is a child of  ",o.createElement(s.N_,{className:"recipient-overview__parent-link",to:"/recipient/".concat(c.parent_id,"/latest")},c.parent_name)):o.createElement("div",{className:"recipient-overview__parent"},"This recipient is associated with multiple parents in the dataset:",o.createElement("span",{className:"tooltip-popover-container"},o.createElement(l.d0,null),o.createElement("span",{className:"tooltip-popover above"},o.createElement("div",null,o.createElement(l.d0,null)),o.createElement("div",null,o.createElement("p",{className:"title"},"Explanation of Multiple Parents"),o.createElement("p",{className:"title"},"This recipient is associated with multiple parents in the dataset. Among other cases, this could result from:"),o.createElement("p",null,"1) A legal entity was bought or sold to another legal entity"),o.createElement("p",null,"2) An internal restructuring of a large company caused a legal entity to list another parent"),o.createElement("p",null,"3) A new entity was created to be used solely as the parent legal entity for a large organization"),o.createElement("p",null,"4) Data entry errors of parent information in SAM.gov or Dun and Bradstreet that were not immediately corrected")))),"  ",o.createElement(s.N_,{key:d,className:"recipient-overview__multiparents",to:"/recipient/".concat(c.parent_id,"/latest")},c.parent_name),o.createElement("div",{className:a?"":"hide"},function(){for(var t=[],r=1;r<e.parents.length;r++){var a=e.parents[r];t.push(o.createElement(s.N_,{className:"recipient-overview__multiparents",key:a.parent_duns,to:"/recipient/".concat(a.parent_id,"/latest")},a.parent_name,a.parent_duns?"(".concat(a.parent_duns,")"):""))}return t}()),o.createElement("button",{className:"usa-button-link",onClick:function(){i(function(e){return!e})}},a?o.createElement("span",null,"Hide ",o.createElement(l.IN,null)):o.createElement("span",null,"Show ",e.parents.length-1," more"))))};c(p,"useState{[open, setOpen](false)}"),p.propTypes=d;var u=p;const m=u;var E,f;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(d,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientMultiParentCollapse.jsx"),E.register(p,"RecipientMultiParentCollapse","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientMultiParentCollapse.jsx"),E.register(u,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientMultiParentCollapse.jsx")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},97999(e,t,r){r.d(t,{A:()=>A});var a=r(27503),n=r(60034),o=r(67202),i=r.n(o),_=r(11346),s=r(61674),l=r(96229),c=r(70099),d=r(56286),p=r(45844),u=r(13223),m=r(12810),E=r(26276),f=r(14463),h=r(77650),b=r(27328),v=r(77267);e=r.hmd(e);var g,M=void 0;function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}(g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&g(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var O={recipient:i().object,showChildRecipientModal:i().func,showAlternateNamesRecipientModal:i().func},L=function(e){var t=e.recipient.overview,r=n.createElement("div",{className:"recipient-overview__label"},"Recipient"),o=null,i=null;"C"===t.level?(r=n.createElement("div",{className:"recipient-overview__label recipient-overview__label_child"},"Child Recipient"),i=n.createElement(h.A,{parents:t.parents})):"P"===t.level&&(r=n.createElement("span",{className:"recipient-overview__label recipient-overview__label_parent"},"Parent Recipient"),o=n.createElement("button",{className:"recipient-overview__children-button",onClick:e.showChildRecipientModal},"View child recipients ",n.createElement(d.gc,{icon:"caret-right"})));var g=t.alternateNames.length,P=g>1?"names":"name",O=g>0?n.createElement("button",{className:"recipient-overview__alternate-names-button",onClick:e.showAlternateNamesRecipientModal},"Also known by ".concat(g," other ").concat(P)," ",n.createElement(d.gc,{icon:"caret-right"})):null,L=n.createElement("td",null,"Address not provided in source system"),D=n.createElement("td",null,"Not provided");t.location.streetAddress&&t.location.regionalAddress&&t.location.fullCongressionalDistrict?(L=n.createElement("td",null,n.createElement("div",null,t.location.streetAddress),n.createElement("div",null,t.location.regionalAddress)),D=n.createElement("td",null,n.createElement("div",null,t.location.congressionalDistrict))):t.location.streetAddress&&t.location.regionalAddress&&(L=n.createElement("td",null,n.createElement("div",null,t.location.streetAddress),n.createElement("div",null,t.location.regionalAddress)));var A=n.createElement("td",null,"Not provided in source system");t.businessTypes.length>0&&(A=n.createElement("td",{className:"recipient-section__details-table-last-td"},t.businessTypes.map(function(e,t){return n.createElement("div",{key:t},e)})));return n.createElement(l.uT,{id:"recipient-overview",className:"recipient-section recipient-overview"},n.createElement("h2",{className:"recipient-overview__title"},t.name,O),n.createElement(l.X3,{icon:n.createElement(d.gc,{icon:"building",size:"2x"}),title:"Overview",titleTooltip:{component:!1},descTooltip:{component:!1}}),n.createElement("hr",{className:"results-divider"}),n.createElement("div",{className:"recipient-overview__content"},i,n.createElement("div",{className:"recipient-overview__children"},r,o),n.createElement("div",{className:"recipient-section__row"},n.createElement(l.Om,{desktop:5,className:"recipient-section__viz totals-container"},n.createElement("div",{className:"recipient-section__viz totals"},n.createElement("h3",{className:"recipient-overview__heading"},"Total Awarded Amount"),n.createElement("div",{className:"totals__amount"},t.totalAmount),n.createElement("div",{className:"totals__awards"},"from ",n.createElement("span",{className:"state-overview__total"},t.totalTransactions)," transactions"),""!==t.uei&&null!==t.uei&&void 0!==t.uei&&n.createElement(p.N_,{className:"recipient-section__award-button",target:"_blank",rel:"noopener noreferrer",to:"/search",onClick:function(e){e.preventDefault(),function(e){var r;if("P"===t.level)r={filters:y(y({},c.ue),{},{keyword:(0,a.A)({},e,e)}),version:b.REQUEST_VERSION};else{var n=(new _.Set).add(e);r={filters:y(y({},c.ue),{},{selectedRecipients:n}
1),version:b.REQUEST_VERSION}}var o=(0,E.jS)(r);o.promise.then(function(e){var t=e.data;window.open("/search/?hash=".concat(t.hash),"_blank"),o=null}).catch(function(e){console.log(e),(0,s.FZ)(e)||(e.response?M.hash=null:(o=null,console.log(e)))})}(t.uei)}},"View awards to this recipient")),n.createElement("div",{className:"recipient-section__viz loan"},n.createElement(f.A,{amount:t.totalLoanFaceValueAmount,transactions:t.totalLoanTransactions,heading:"Face Value of Loans",headingClass:"recipient-overview__heading",tooltipIcon:"info",tooltipClasses:"recipient-section__viz-loan__tt",tooltipComponent:u.n,tooltipPosition:"right"}))),n.createElement(l.Om,{desktop:5,className:"recipient-section__viz details"},n.createElement("h3",{className:"recipient-overview__heading"},"Details"),n.createElement("table",{className:"recipient-section__details-table"},n.createElement("tbody",null,n.createElement("tr",null,n.createElement("th",{className:"recipient-section__details-table-first-th"},"Recipient Identifier"),n.createElement("td",{className:"recipient-section__details-table-first-td"},(0,m.M)(t.duns,t.uei).map(function(e){return e}
1))),n.createElement("tr",null,n.createElement("th",null,"Address"),L),n.createElement("tr",null,n.createElement("th",{className:"details__table-cd-row"},n.createElement("div",{className:"`details__table-cd-text`"},"Congressional District"),n.createElement(l.T_,{className:"congressional-district__tt",icon:"info",tooltipPosition:"left",styles:{position:"relative"},tooltipComponent:n.createElement(v.Qb,{title:"Congressional District"})})),D),n.createElement("tr",null,n.createElement("th",{className:"recipient-section__details-table-last-th"},"Business Types"),A)))))))};L.propTypes=O;var D=L;const A=D;var C,T;(C="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(C.register(O,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientOverview.jsx"),C.register(L,"RecipientOverview","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientOverview.jsx"),C.register(D,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientOverview.jsx")),(T="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&T(e)},44459(e,t,r){r.d(t,{A:()=>w});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(96229),l=r(96453),c=r(45844),d=r(80963),p=r(51820),u=r(41403),m=r(82653),E=r(10177),f=r(3212),h=r(2396),b=r(47770),v=r(12102),g=r(85319),M=r(97251),P=r(33244),y=r(81463),O=r(18903),L=r(79652),D=r(78447);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var A="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},C={loading:_().bool,error:_().bool,id:_().string,recipient:_().object,pickedFy:_().func},T=function(e){var t=e.id,r=e.recipient,a=e.loading,i=e.error,_=e.pickedFy,A=(0,c.Zp)(),C=(0,L.A)(),T=(0,o.useState)(!1),R=(0,n.A)(T,2),w=R[0],B=R[1],k=(0,o.useState)(!1),I=(0,n.A)(k,2),H=I[0],W=I[1],U=(0,o.useState)(C.section||"overview"),K=(0,n.A)(U,2),x=K[0],G=K[1],N=(0,d.wA)(),j=function(e){N((0,O.to)(e))},S="recipient/".concat(encodeURIComponent(t),"/").concat(encodeURIComponent(r.fy)),q={subject:encodeURIComponent("USAspending.gov Recipient Profile: ".concat(r.overview.name)),body:encodeURIComponent("
1View the spending activity for this recipient on USAspending.gov: ".concat((0,f.$_)(S)))},F=[{section:"overview",label:"Overview"},{section:"transactions-over-time",label:"Transactions Over Time"},{section:"top-five",label:"Top 5"}],z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,l.A)(F,["section",e]);if(t){var r=document.querySelector("#recipient-".concat(t.section));if(r){var a=(0,p.ao)(C,{section:"".concat(e)});A({path:"".concat((0,p.JP)(a))},{replace:!0});var n=r.offsetTop-h.e;window.scrollTo({top:n-55,left:0,behavior:"smooth"}),G(e)}}};(0,o.useEffect)(function(){!a&&C.section&&z(C.section)},[C.section,a]);var V=o.createElement(D.A,{id:t,showChildRecipientModal:function(){return B(!0)},showAlternateNamesRecipientModal:function(){return W(!0)},recipient:r,loading:a,error:i});i&&(V=o.createElement(M.A,{title:"Invalid Recipient",message:"The recipient ID provided is invalid. Please check the ID and try again."}));return o.createElement(g.A,{pageName:"recipient",classNames:"usa-da-recipient-page",title:r.overview.name,loading:a,metaTagProps:r.overview.id&&!a?(0,m.bg)(r.overview):{},toolBarComponents:[o.createElement(s.M9,{backgroundColor:"#1a4480",selectedFy:null==r?void 0:r.fy,handleFyChange:_,options:(0,u._7)(u.dT,(0,u.Pp)()),key:"page-wrapper__fiscal-year-picker"}),o.createElement(P.A,{onShareOptionClick:function(e){(0,f.nX)(e,S,q,j)},url:(0,f.$_)(S),key:"page-wrapper__share-icon"})],sections:F,activeSection:x,jumpToSection:z,inPageNav:!0},o.createElement("main",{id:"main-content",className:"main-content"},o.createElement(y.A,{label:"Back to Recipient Profile Page",url:"/recipient"}),o.createElement(E.a,{isLoading:a},V,o.createElement(b.A,{mounted:w,hideModal:function(){return B(!1)},recipient:r}),o.createElement(v.u,{mounted:H,hideModal:function(){return W(!1)},recipient:r}))))};A(T,"useNavigate{history}\nuseQueryParams{query}\nuseState{[isChildModalVisible, showChildModal](false)}\nuseState{[isAlternateModalVisible, showAlternateRecipientModal](false)}\nuseState{[activeSection, setActiveSection](query.section || 'overview')}\nuseDispatch{dispatch}\nuseEffect{}",function(){return[c.Zp,L.A,d.wA]}),T.propTypes=C,T.defaultProps={loading:!0,error:!1,id:"",recipient:{},pickedFy:function(){}};var R=T;const w=R;var B,k;(B="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(B.register(C,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientPage.jsx"),B.register(T,"RecipientPage","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientPage.jsx"),B.register(R,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/RecipientPage.jsx")),(k="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&k(e)},27999(e,t,r){r.d(t,{A:()=>m});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(69662),s=r.n(_),l=r(1192),c=r(8462);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d={mounted:i().bool,hideModal:i().func,recipient:i().object,sortField:i().string,sortDirection:i().string,updateSort:i().func,alternateNames:i().array},p=function(e){var t=n.createElement(c.A,{sortField:e.sortField,hideModal:e.hideModal,sortDirection:e.sortDirection,updateSort:e.updateSort,alternateNames:e.alternateNames}),r=null;0===e.alternateNames.length&&(r="No results found.",t=null);var a=e.alternateNames.length,o=a>1?"results":"result",i=t?"".concat(a," ").concat(o):null;return n.createElement(s(),{mounted:e.mounted,onExit:e.hideModal,titleText:"Other Names for ".concat(e.recipient.overview.name),dialogClass:"recipients-modal",verticallyCenter:!0,escapeExits:!0},n.createElement("div",{className:"recipients-modal__wrapper"},n.createElement("div",{className:"recipients-modal__header"},n.createElement("h1",{className:"recipients-modal__title"},"Other Names for ".concat(e.recipient.overview.name)),n.createElement("button",{className:"recipients-modal__close-button",onClick:e.hideModal,title:"Close","aria-label":"Close"},n.createElement(l.bm,{alt:"Close modal"}))),n.createElement("div",{className:"recipients-modal__body"},i,t,i,n.createElement("div",{className:"recipients-modal__message"},r))))};p.propTypes=d;var u=p;const m=u;var E,f;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(d,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/AlternateNamesRecipientModal.jsx"),E.register(p,"AlternateNamesRecipientModal","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/AlternateNamesRecipientModal.jsx"),E.register(u,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/AlternateNamesRecipientModal.jsx")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},28483(e,t,r){r.d(t,{A:()=>m});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(69662),s=r.n(_),l=r(1192),c=r(99428);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d={mounted:i().bool,error:i().bool,loading:i().bool,hideModal:i().func,recipient:i().object,sortField:i().string,sortDirection:i().string,updateSort:i().func,childRecipients:i().array},p=function(e){var t=n.createElement(c.A,{sortField:e.sortField,hideModal:e.hideModal,sortDirection:e.sortDirection,updateSort:e.updateSort,fy:e.recipient.fy,total:e.recipient.overview._totalAmount,childRecipients:e.childRecipients}),r=null;e.loading?(r="Loading...",t=null):e.error?(r="There was an error loading the results.",t=null):0===e.childRecipients.length&&(r="No results found.",t=null);var a=e.childRecipients.length,o=a>1?"results":"result",i=t?"".concat(a," ").concat(o):null;return n.createElement(s(),{mounted:e.mounted,onExit:e.hideModal,titleText:"Child Recipients",dialogClass:"recipients-modal",verticallyCenter:!0,escapeExits:!0},n.createElement("div",{className:"recipients-modal__wrapper"},n.createElement("div",{className:"recipients-modal__header"},n.createElement("h1",{className:"recipients-modal__title"},"Child Recipients"),n.createElement("button",{className:"recipients-modal__close-button",onClick:e.hideModal,title:"Close","aria-label":"Close"},n.createElement(l.bm,{alt:"Close modal"}))),n.createElement("div",{className:"recipients-modal__body"},i,t,i,n.createElement("div",{className:"recipients-modal__message"},r))))};p.propTypes=d;var u=p;const m=u;var E,f;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(d,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/ChildRecipientModal.jsx"),E.register(p,"ChildRecipientModal","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/ChildRecipientModal.jsx"),E.register(u,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/ChildRecipientModal.jsx")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},8462(e,t,r){r.d(t,{A:()=>p});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(49436),s=r(75658);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l={alternateNames:i().array,updateSort:i().func,sortField:i().string,hideModal:i().func,sortDirection:i().string},c=function(e){var t=e.alternateNames.map(function(e){return n.createElement("tr",{className:"recipients-list__body-row",key:(0,_.A)(e)},n.createElement("td",{className:"recipients-list__body-cell"},e))});return n.createElement("table",{className:"recipients-list"},n.createElement("thead",{className:"recipients-list__head"},n.createElement("tr",{className:"recipients-list__head-row"},n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title"},"Name")),n.createElement(s.A,{field:"alternateName",label:"name",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))))),n.createElement("tbody",{className:"recipients-list__body"},t))};c.propTypes=l;var d=c;const p=d;var u,m;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(l,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/AlternateNamesRecipientModalTable.jsx"),u.register(c,"AlternateNamesRecipientModalTable","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/AlternateNamesRecipientModalTable.jsx"),u.register(d,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/AlternateNamesRecipientModalTable.jsx")),(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&m(e)},99428(e,t,r){r.d(t,{A:()=>m});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(45844),s=r(75658),l=r(27328),c=r.n(l);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d={total:i().number,childRecipients:i().array,fy:i().string,updateSort:i().func,sortField:i().string,hideModal:i().func,sortDirection:i().string},p=function(e){var t=e.childRecipients.map(function(t){return n.createElement("tr",{className:"recipients-list__body-row",key:t.uei},n.createElement("td",{className:"recipients-list__body-cell"},n.createElement(_.N_,{to:"/recipient/".concat(t.id,"/latest"),onClick:e.hideModal},t.name)),n.createElement("td",{className:"recipients-list__body-cell"},t.uei),n.createElement("td",{className:"recipients-list__body-cell"},t.duns),n.createElement("td",{className:"recipients-list__body-cell"},t.stateProvince),n.createElement("td",{className:"recipients-list__body-cell recipients-list__body-cell_right"},t.amount),n.createElement("td",{className:"recipients-list__body-cell recipients-list__body-cell_right"},t.percentage(e.total)))}),r="(FY ".concat(e.fy,")");return"latest"===e.fy?r="(Last 12 Months)":"all"===e.fy&&(r="(All Fiscal Years)"),n.createElement("table",{className:"recipients-list"},n.createElement("thead",{className:"recipients-list__head"},n.createElement("tr",{className:"recipients-list__head-row"},n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title"},"Recipient Name")),n.createElement(s.A,{field:"name",label:"recipient name",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))),n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title"},"UEI")),n.createElement(s.A,{field:"uei",label:"UEI",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))),n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title"},c().DUNS_LABEL,"DUNS")),n.createElement(s.A,{field:"duns",label:"DUNS",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))),n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title"},"State")),n.createElement(s.A,{field:"stateProvince",label:"state",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))),n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell header-cell_right"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title header-cell__title_right header-cell__longer-title"},"Transaction Amount",n.createElement("div",{className:"header-cell__subtitle"},r))),n.createElement(s.A,{field:"_amount",label:"awarded amount",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))),n.createElement("th",{className:"recipients-list__head-cell"},n.createElement("div",{className:"header-cell header-cell_right"},n.createElement("div",{className:"header-cell__text"},n.createElement("div",{className:"header-cell__title header-cell__title_right"},"Percent")),n.createElement(s.A,{field:"_amount",label:"percent of total",active:{field:e.sortField,direction:e.sortDirection},setSort:e.updateSort}))))),n.createElement("tbody",{className:"recipients-list__body"},t))};p.propTypes=d;var u=p;const m=u;var E,f;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(d,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/ChildRecipientModalTable.jsx"),E.register(p,"ChildRecipientModalTable","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/ChildRecipientModalTable.jsx"),E.register(u,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/modal/table/ChildRecipientModalTable.jsx")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},17480(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>TimeVisualizationTooltip});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(63962),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={y:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,x:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,data:prop_types__WEBPACK_IMPORTED_MODULE_6___default().object,barWidth:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,chartWidth:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number},TimeVisualizationTooltip=function(_React$Component){function TimeVisualizationTooltip(){return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,TimeVisualizationTooltip),_callSuper(this,TimeVisualizationTooltip,arguments)}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(TimeVisualizationTooltip,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(TimeVisualizationTooltip,[{key:"componentDidMount",value:function(){this.positionTooltip()}},{key:"positionTooltip",value:function(){var e=this.div.offsetWidth,t="left";e+this.props.x>=this.props.chartWidth-20&&(t="right");var r=27-this.props.barWidth;"right"===t&&(r=-9-e-this.props.barWidth),this.div.style.top="".concat(this.props.y,"px"),this.div.style.left="".concat(this.props.x+r,"px"),this.div.className="tooltip ".concat(t),this.pointerDiv.className="tooltip-pointer ".concat(t)}},{key:"render",value:function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"visualization-tooltip"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip",ref:function(t){e.div=t}},react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-pointer",ref:function(t){e.pointerDiv=t}}),react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-title"},this.props.data.group),react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-body"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-full"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-value"},_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.ZV(this.props.data.zValue)),react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{className:"tooltip-label"},"New Awards")))))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;TimeVisualizationTooltip.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/PointTooltip.jsx"),reactHotLoader.register(TimeVisualizationTooltip,"TimeVisualizationTooltip","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/PointTooltip.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},69717(e,t,r){r.d(t,{A:()=>g});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(16018),l=r(709),c=r(17480),d=r(38396),p=r(33899),u=r(49064),m=r(34035);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},f=[{color:"#141D3B",stroke:"#141D3B",label:"All Transactions",offset:0},{color:"#FFFFFF",stroke:"#F5A623",label:"Count of New Awards",offset:120}],h={width:_().number,height:_().number,data:_().object,loading:_().bool,error:_().bool,visualizationPeriod:_().string},b=function(e){var t=e.width,r=void 0===t?0:t,a=e.height,i=void 0===a?280:a,_=e.data,E=void 0===_?{groups:[],xSeries:[],ySeries:[],zSeries:[],rawLabels:[]}:_,h=e.loading,b=e.error,v=e.visualizationPeriod,g=(0,o.useState)(E),M=(0,n.A)(g,2),P=M[0],y=M[1],O=(0,o.useState)(0),L=(0,n.A)(O,2),D=L[0],A=L[1],C=(0,o.useState)(0),T=(0,n.A)(C,2),R=T[0],w=T[1],B=(0,o.useState)(0),k=(0,n.A)(B,2),I=k[0],H=k[1],W=null;P&&window.innerWidth>720&&("bar"===P.type?W=o.createElement(m.A,{barWidth:I,data:P,x:D,y:R,chartWidth:r}):"point"===P.type&&(W=o.createElement(c.A,{barWidth:I,data:P,x:D,y:R,chartWidth:r})));return o.createElement("div",{className:"recipient-visualization__time-wrapper"},o.createElement(s.F,null,o.createElement(s.B1,{classNames:"visualization-content-fade",timeout:{exit:225,enter:195},exit:!0},o.createElement("div",null,E.groups.length>0&&!h&&!b&&o.createElement(l.A,{height:i,width:r,ySeries:E.ySeries,xSeries:E.xSeries,zSeries:E.zSeries,groups:E.groups,rawLabels:E.rawLabels,legend:f,showTooltip:function(e,t,r,a){y(e),A(t),w(r),H(a)},visualizationPeriod:v,activeLabel:P}),0===E.groups.length&&!h&&!b&&o.createElement(d.A,null),b&&o.createElement(p.A,null),h&&o.createElement(u.A,null)))),W)};E(b,"useState{[tooltipData, setTooltipData](data)}\nuseState{[tooltipX, setTooltipX](0)}\nuseState{[tooltipY, setTooltipY](0)}\nuseState{[barWidth, setBarWidth](0)}"),b.propTypes=h;var v=b;const g=v;var M,P;(M="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(M.register(f,"legend","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualization.jsx"),M.register(h,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualization.jsx"),M.register(b,"RecipientTimeVisualization","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualization.jsx"),M.register(v,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualization.jsx")),(P="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&P(e)},75436(e,t,r){r.d(t,{A:()=>h});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(96229),l=r(79742),c=r(69717),d=r(53475),p=r(17721);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},m={data:_().object,visualizationPeriod:_().string,updateVisualizationPeriod:_().func,loading:_().bool,error:_().bool},E=function(e){var t=e.data,r=e.visualizationPeriod,a=e.updateVisualizationPeriod,i=e.loading,_=e.error,u=(0,o.useState)(0),m=(0,n.A)(u,2),E=m[0],f=m[1],h=(0,l.A)(function(e){return f(e.contentRect.width)});return o.createElement(s.uT,{id:"recipient-transactions-over-time",className:"recipient-section transactions-over-time"},o.createElement(d.A,{sectionHrRef:h}),o.createElement(p.A,{visualizationPeriod:r,updateVisualizationPeriod:a}),o.createElement(c.A,{visualizationPeriod:r,loading:i,error:_,data:t,width:E,color:"#141D3B"}))};
1u(E,"useState{[width, setWidth](0)}\nuseCallbackRef{ref}",function(){return[l.A]}),E.propTypes=m;var f=E;const h=f;var b,v;(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(b.register(m,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSection.jsx"),b.register(E,"RecipientTimeVisualizationSection","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSection.jsx"),b.register(f,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSection.jsx")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},17721(e,t,r){r.d(t,{A:()=>d});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(48161);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var s={visualizationPeriod:i().string,updateVisualizationPeriod:i().func},l=function(e){var t=e.visualizationPeriod,r=e.updateVisualizationPeriod;return n.createElement("div",{className:"recipient-visualization-period"},n.createElement("div",{className:"visualization-period"},n.createElement("div",{className:"content"},n.createElement("ul",null,n.createElement("li",null,n.createElement(_.A,{value:"fiscal_year",label:"Years",active:"fiscal_year"===t,changePeriod:r})),n.createElement("li",null,n.createElement(_.A,{value:"quarter",label:"Quarter",active:"quarter"===t,changePeriod:r})),n.createElement("li",null,n.createElement(_.A,{value:"month",label:"Month",active:"month"===t,changePeriod:r}))))))};l.propTypes=s;var c=l;const d=c;var p,u;(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(p.register(s,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionButtons.jsx"),p.register(l,"RecipientTimeVisualizationSectionButtons","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionButtons.jsx"),p.register(c,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionButtons.jsx")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},53475(e,t,r){r.d(t,{A:()=>p});var a,n=r(60034),o=r(96229),i=r(56286),_=r(67202),s=r.n(_);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l={sectionHrRef:s().object},c=function(e){var t=e.sectionHrRef;return n.createElement(n.Fragment,null,n.createElement(o.X3,{icon:n.createElement(i.gc,{icon:"chart-bar",size:"2x"}),title:"Transactions Over Time",titleTooltip:{component:!1},descTooltip:{component:!1}}),n.createElement("hr",{className:"results-divider",ref:t}),n.createElement("div",{className:"recipient-section__description"},"This graph shows trends over time for all transactions to this recipient. Hover over the bars for more detailed information."))};c.propTypes=l;var d=c;const p=d;var u,m;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(l,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionHeader.jsx"),u.register(c,"RecipientTimeVisualizationSectionHeader","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionHeader.jsx"),u.register(d,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/RecipientTimeVisualizationSectionHeader.jsx")),(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&m(e)},34035(e,t,r){r.d(t,{A:()=>p});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(63962);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},l={y:i().number,x:i().number,data:i().object,barWidth:i().number,chartWidth:i().number},c=function(e){var t=e.y,r=e.x,a=e.data,o=e.barWidth,i=e.chartWidth,s=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useCallback)(function(){var e=s.current.offsetWidth,a="left";e+r>=i-20&&(a="right");var n=9;"right"===a&&(n=-9-e-o),s.current.style.top="".concat(t,"px"),s.current.style.left="".concat(r+n,"px"),s.current.className="tooltip ".concat(a),l.current.className="tooltip-pointer ".concat(a)},[o,i,r,t]);(0,n.useEffect)(function(){c()},[c]);var d=(0,_.TD)(a.yValue);return n.createElement("div",{className:"visualization-tooltip"},n.createElement("div",{className:"tooltip",ref:s},n.createElement("div",{className:"tooltip-pointer",ref:l}),n.createElement("div",{className:"tooltip-title"},a.xValue),n.createElement("div",{className:"tooltip-body"},n.createElement("div",{className:"tooltip-label"},"Obligations"),n.createElement("div",{className:"tooltip-value"},d))))};s(c,"useRef{divRef}\nuseRef{pointerDivRef}\nuseCallback{positionTooltip}\nuseEffect{}"),c.propTypes=l;var d=c;const p=d;var u,m;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(l,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeTooltip.jsx"),u.register(c,"TimeTooltip","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeTooltip.jsx"),u.register(d,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeTooltip.jsx")),(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&m(e)},48161(e,t,r){r.d(t,{A:()=>c});var a,n=r(60034),o=r(67202),i=r.n(o);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var _={active:i().bool,value:i().string,label:i().string,changePeriod:i().func},s=function(e){var t=e.active,r=e.value,a=e.label,o=e.changePeriod,i="";t&&(i=" active");var _="Show results by ".concat(a.toLowerCase());return t&&(_+=" (currently selected)"),n.createElement("button",{className:"period-button".concat(i),value:r,title:_,"aria-label":_,onClick:function(){o(r)}},a)};s.propTypes=_;var l=s;const c=l;var d,p;(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(_,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeVisualizationPeriodButton.jsx"),d.register(s,"TimeVisualizationPeriodButton","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeVisualizationPeriodButton.jsx"),d.register(l,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/TimeVisualizationPeriodButton.jsx")),(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&p(e)},709(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarChartTrendline});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),d3_scale__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(46956),d3_scale__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(67642),lodash_es__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(37404),lodash_es__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(20177),lodash_es__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(68296),lodash_es__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(2229),lodash_es__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(46027),lodash_es__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(38714),lodash_es__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(96099),_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(63962),_sharedComponents_timeChart_chart_BarXAxis__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6944),_sharedComponents_timeChart_chart_BarYAxis__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(16213),_BarChartTrendlineLegend__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(97313),_BarTrendlineAxis__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(44825),_PointItem__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(9397),_BarTrendlineItem__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(19411),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={groups:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,width:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,height:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,xSeries:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,rawLabels:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,ySeries:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,zSeries:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,showTooltip:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,enableHighlight:prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool,padding:prop_types__WEBPACK_IMPORTED_MODULE_6___default().object,legend:prop_types__WEBPACK_IMPORTED_MODULE_6___default().array,activeLabel:prop_types__WEBPACK_IMPORTED_MODULE_6___default().object,visualizationPeriod:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string},defaultProps={padding:{left:70,bottom:50,right:50},enableHighlight:!0,legend:[]},BarChartTrendline=function(_React$Component){function BarChartTrendline(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarChartTrendline),(t=_callSuper(this,BarChartTrendline,[e])).state={xScale:null,yScale:null,yTicks:null,zScale:null,zTicks:null,items:[],trendItems:[],xValues:[],yValues:[],zValues:[],yAverage:0,zAverage:0,xAxisPos:0,graphHeight:0,activeBar:null,activePoint:null,groupWidth:0},t.dataPoints={},t.trendlineData={},t.selectBar=t.selectBar.bind(t),t.deselectBar=t.deselectBar.bind(t),t.deregisterBar=t.deregisterBar.bind(t),t.selectPoint=t.selectPoint.bind(t),t.deselectPoint=t.deselectPoint.bind(t),t.deregisterPoint=t.deregisterPoint.bind(t),t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarChartTrendline,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarChartTrendline,[{key:"c
1omponentDidMount",value:function(){this.generateChart(this.props)}},{key:"componentDidUpdate",value:function(e){(0,lodash_es__WEBPACK_IMPORTED_MODULE_11__.A)(e,this.props)||this.generateChart(this.props)}},{key:"generateChart",value:function(e){var t=this,r=(0,lodash_es__WEBPACK_IMPORTED_MODULE_9__.A)(e.ySeries),a=[],n=(0,lodash_es__WEBPACK_IMPORTED_MODULE_14__.A)(r);if(n>0&&(n=0),r.length>1)a.push(n),a.push((0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.A)(r));else if(r.length>0){var o=r[0];o<0?(a.push(o),a.push(0)):0===o?(a.push(o),a.push(1e3)):(a.push(0),a.push(o))}else a.push(0),a.push(1e4);var i=e.width-e.padding.left-e.padding.right,_=e.height-e.padding.bottom,s=(0,d3_scale__WEBPACK_IMPORTED_MODULE_7__.A)().domain(e.groups).range([0,i]).round(!0),l=(0,d3_scale__WEBPACK_IMPORTED_MODULE_8__.A)().domain(a).range([0,_]).clamp(!0),c=0;0!==n&&(c=l(0));var d=[];e.groups.forEach(function(r,a){var n=e.ySeries[a],o=e.xSeries[a],i=s.bandwidth(),c=(0,lodash_es__WEBPACK_IMPORTED_MODULE_14__.A)([i/(3*o.length+1)*3,120]),p=s(r)+c/6;if(120===c){var u=120*n.length;p=s(r)+s.bandwidth()/2-u/2}n.forEach(function(e,r){var n=p+r*c,i=l(e)-l(0),s=_-l(0)-i;e<0&&(s=_-l(0),i=l(0)-l(e));var u="".concat(a,"-").concat(r),m="Spending in ".concat(o[r],": ").concat(_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_16__.up(e)),E={key:"data-".concat(u),identifier:u,dataY:e,dataX:o[r],graphHeight:_,height:i,width:c,x:n,y:s,color:t.props.legend[0].color,description:m,selectBar:t.selectBar,deselectBar:t.deselectBar,deregisterBar:t.deregisterBar};d.push(E)})}),this.setState({xScale:s,yScale:l,items:d,xAxisPos:c,graphHeight:_,yValues:r,xValues:e.groups,rawLabels:e.rawLabels,yAverage:(0,lodash_es__WEBPACK_IMPORTED_MODULE_13__.A)(r),yTicks:l.ticks(7)},function(){t.generateTrendline(e)})}},{key:"generateTrendline",value:function(e){var t=this;if(this.props.zSeries.length>0){var r=e.zSeries,a=[],n=(0,lodash_es__WEBPACK_IMPORTED_MODULE_14__.A)(r);if(n>0&&(n=0),r.length>1)a.push(n),a.push((0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.A)(r));else if(r.length>0){var o=r[0];o<0?(a.push(o),a.push(0)):0===o?(a.push(o),a.push(100)):(a.push(0),a.push(o))}else a.push(0),a.push(100);var i=(0,d3_scale__WEBPACK_IMPORTED_MODULE_8__.A)().domain(a).range([0,this.state.graphHeight]).clamp(!0),_=e.zSeries;if(e.groups.length<e.zSeries.length)for(var s=e.zSeries.length-e.groups.length,l=0;l<s;l++)_.shift();var c=[];e.groups.forEach(function(e,r){var a=_[r],n=t.state.items[r],o=n.x+n.width/2,s=i(a),l=t.state.graphHeight-s,d="New awards in ".concat(e,": ").concat(a),p={key:"data-".concat(e,"-awards"),identifier:"".concat(r,"-").concat(e,"-awards"),dataZ:a,x:o,y:l,stroke:t.props.legend[1].stroke,color:t.props.legend[1].color,description:d,selectPoint:t.selectPoint,deselectPoint:t.deselectPoint,deregisterPoint:t.deregisterPoint};c.push(p)}),this.setState({zScale:i,trendItems:c,zValues:r,zAverage:(0,lodash_es__WEBPACK_IMPORTED_MODULE_13__.A)(r),zTicks:i.ticks(7)})}}},{key:"selectBar",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.props.enableHighlight&&(r&&this.state.activeBar===e?this.deselectBar():this.setState({activeBar:e},function(){(0,lodash_es__WEBPACK_IMPORTED_MODULE_10__.A)(t.dataPoints,function(e){e.updateActive(t.state.activeBar)}),t.prepareTooltip(e)}))}},{key:"selectPoint",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.props.enableHighlight&&(r&&this.state.activePoint===e?this.deselectPoint():this.setState({activePoint:e},function(){(0,lodash_es__WEBPACK_IMPORTED_MODULE_10__.A)(t.trendlineData,function(e){e.updateActive(t.state.activePoint)}),t.preparePointTooltip(e)}))}},{key:"deselectBar",value:function(){var e=this;this.props.enableHighlight&&this.setState({activeBar:null},function(){(0,lodash_es__WEBPACK_IMPORTED_MODULE_10__.A)(e.dataPoints,function(t){t.updateActive(e.state.activeBar)}),e.props.showTooltip(null,0,0)})}},{key:"deselectPoint",value:function(){var e=this;this.props.enableHighlight&&this.setState({activePoint:null},function(){(0,lodash_es__WEBPACK_IMPORTED_MODULE_10__.A)(e.trendlineData,function(t){t.updateActive(e.state.activePoint)}),e.props.showTooltip(null,0,0)})}},{key:"deregisterBar",value:function(e){delete this.dataPoints[e]}},{key:"deregisterPoint",value:function(e){delete this.trendlineData[e]}},{key:"prepareTooltip",value:function(e){var t=e.split("-")[0],r=this.props.groups[t],a=e.split("-")[1],n=this.props.ySeries[t][a],o=this.divRef.offsetTop,i=this.divRef.offsetLeft,_=o+(this.state.graphHeight-this.state.yScale(0));n>=0?_-=(this.state.yScale(n)-this.state.yScale(0))/2:_+=(this.state.yScale(0)-this.state.yScale(n))/2;var s=i+this.state.items[t].x+this.state.items[t].width+this.props.padding.left,l=n/(0,lodash_es__WEBPACK_IMPORTED_MODULE_15__.A)(this.state.yValues),c="N/A";isNaN(l)||(c=Math.round(1e3*l)/10)%1==0&&(c+=".0"),this.props.showTooltip({type:"bar",xValue:this.state.items[t].dataX,yValue:this.state.items[t].dataY,percentage:c,group:r},s,_,this.state.items[t].width)}},{key:"preparePointTooltip",value:function(e){var t=e.split("-")[0],r=this.props.groups[t],a=this.props.zSeries[t],n=this.divRef.offsetTop,o=this.divRef.offsetLeft,i=this.state.trendItems[t],_=o+(i.x-9)+this.state.items[t].width+this.props.padding.left,s=n+i.y;this.props.showTooltip({type:"point",xValue:this.state.items[t].dataX,zValue:a,group:r},_,s,this.state.items[t].width)}},{key:"render",value:function(){var e=this,t=this.state.items.map(function(t){return react__WEBPACK_IMPORTED_MODULE_5__.createElement(_BarTrendlineItem__WEBPACK_IMPORTED_MODULE_22__.A,{key:t.key,identifier:t.identifier,dataY:t.dataY,dataX:t.dataX,graphHeight:t.graphHeight,height:t.height,width:t.width,x:t.x,y:t.y,color:t.color,description:t.description,selectBar:t.selectBar,deselectBar:t.deselectBar,deregisterBar:t.deregisterBar,ref:function(r){e.dataPoints[t.identifier]=r}})}),r=6,a=3;"quarter"===this.props.visualizationPeriod&&(r=4,a=2),"month"===this.props.visualizationPeriod&&(r=3,a=2);var n=this.state.trendItems.map(function(t){return react__WEBPACK_IMPORTED_MODULE_5__.createElement(_PointItem__WEBPACK_IMPORTED_MODULE_21__.A,{key:t.key,identifier:t.identifier,description:t.description,x:t.x,y:t.y,stroke:t.stroke,color:t.color,radius:r,strokeWidth:a,selectPoint:t.selectPoint,deselectPoint:t.deselectPoint,deregisterPoint:t.deregisterPoint,ref:function(r){e.trendlineData[t.identifier]=r}})}),o=null;if(this.state.trendItems.length>1){var i=3;"quarter"!==this.props.visualizationPeriod&&"month"!==this.props.visualizationPeriod||(i=2);var _={stroke:this.props.legend[1].stroke,strokeWidth:i};o=this.state.trendItems.map(function(t,r){if(r+1<e.state.trendItems.length){var a=e.state.trendItems[r+1],n=-(a.y-t.y)/(a.x-t.x),o="Line with slope ".concat(_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_16__.b$(n,2));return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{"aria-label":o,key:"line-".concat(t.key)},react__WEBPACK_IMPORTED_MODULE_5__.createElement("desc",null,o),react__WEBPACK_IMPORTED_MODULE_5__.createElement("line",{x1:t.x,y1:t.y,x2:a.x,y2:a.y,style:_}))}return null})}return react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",{ref:function(t){e.divRef=t}},react__WEBPACK_IMPORTED_MODULE_5__.createElement("svg",{className:"bar-graph",width:this.props.width,height:this.props.height+20,ref:function(t){e.svgRef=t}},react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"bar-graph-body",transform:"translate(0,20)"},react__WEBPACK_IMPORTED_MODULE_5__.createElement(_sharedComponents_timeChart_chart_BarYAxis__WEBPACK_IMPORTED_MODULE_18__.A,{height:this.props.height-this.props.padding.bottom,width:this.props.width-this.props.padding.left-this.props.padding.right,padding:this.props.padding,data:this.state.yValues,scale:this.state.yScale,ticks:this.state.yTicks,average:this.state.yAverage}),react__WEBPACK_IMPORTED_MODULE_5__.createElement(_sharedComponents_timeChart_chart_BarXAxis__WEBPACK_IMPORTED_MODULE_17__.A,{top:this.props.height-this.props.padding.bottom,width:this.props.width-this.props.padding.left-this.props.padding.right,padding:this.props.padding,data:this.state.xValues,rawLabels:this.state.rawLabels,scale:this.state.xScale,axisPos:this.state.xAxisPos,visualizationPeriod:this.props.visualizationPeriod}),react__WEBPACK_IMPORTED_MODULE_5__.createElement(_BarTrendlineAxis__WEBPACK_IMPORTED_MODULE_20__.A,{height:this.props.height-this.props.padding.bottom,width:this.props.width-this.props.padding.left-this.props.padding.right,padding:this.props.padding,data:this.state.zValues,scale:this.state.zScale,ticks:this.state.zTicks,average:this.state.zAverage}),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"bar-data",transform:"translate(".concat(this.props.padding.left,",0)")},t),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"trendline-data",transform:"translate(".concat(this.props.padding.left,",0)")},o,n),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"legend-container",transform:"translate(\n ".concat(this.props.padding.left,",\n ").concat(this.props.height-20,")")},react__WEBPACK_IMPORTED_MODULE_5__.createElement(_BarChartTrendlineLegend__WEBPACK_IMPORTED_MODULE_19__.A,{legend:this.props.legend})))))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarChartTrendline.propTypes=propTypes,BarChartTrendline.defaultProps=defaultProps,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarChartTrendline.jsx"),reactHotLoader.register(defaultProps,"defaultProps","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarChartTrendline.jsx"),reactHotLoader.register(BarChartTrendline,"BarChartTrendline","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarChartTrendline.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},97313(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarChartTrendlineLegend});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={legend:prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().object)},BarChartTrendlineLegend=function(_React$Component){function BarChartTrendlineLegend(){return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarChartTrendlineLegend),_callSuper(this,BarChartTrendlineLegend,arguments)}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarChartTrendlineLegend,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarChartTrendlineLegend,[{key:"render",value:function(){var e=this.props.legend.map(function(e){return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{key:e.label,className:"chart-legend-item",transform:"translate(".concat(e.offset,", 0)")},react__WEBPACK_IMPORTED_MODULE_5__.createElement("circle",{className:"key-color",stroke:e.stroke,fill:e.color,strokeWidth:"3",cx:"6",cy:"6",r:"6"}),react__WEBPACK_IMPORTED_MODULE_5__.createElement("text",{className:"key-label",x:"20",y:"10"},e.label))});return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"chart-legend"},e)}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarChartTrendlineLegend.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarChartTrendlineLegend.jsx"),reactHotLoader.register(Bar
1ChartTrendlineLegend,"BarChartTrendlineLegend","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarChartTrendlineLegend.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},44825(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarTrendlineAxis});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(63962),lodash_es__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(68296),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={width:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number.isRequired,height:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number.isRequired,padding:prop_types__WEBPACK_IMPORTED_MODULE_6___default().object,scale:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,average:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,color:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string},BarTrendlineAxis=function(_React$Component){function BarTrendlineAxis(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarTrendlineAxis),(t=_callSuper(this,BarTrendlineAxis,[e])).state={description:"",labels:[],gridLines:[]},t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarTrendlineAxis,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarTrendlineAxis,[{key:"componentDidUpdate",value:function(e){(0,lodash_es__WEBPACK_IMPORTED_MODULE_8__.A)(e,this.props)||this.drawAxis(this.props)}},{key:"drawAxis",value:function(e){if(e.scale){var t=e.ticks.map(function(e){if(e>=_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.pS.THOUSAND){var t=_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.V0(e);return"".concat(_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.b$(e/t.unit,1)," ").concat(t.unitLabel)}return _helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.ZV(e)}),r="";t.length>0&&(r="The second Y-axis of the chart, showing a range of new awards from ",r+="".concat(t[0]," to ").concat(t[t.length-1]));var a=e.width+e.padding.left+e.padding.right-10,n=e.ticks.map(function(r,n){var o=e.height-e.scale(r);return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{key:"label-trendline-".concat(r),className:"axis-item y-axis"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("text",{textAnchor:"end",transform:"translate(".concat(a,",").concat(o+6,")")},t[n]))});this.setState({labels:n,description:r})}}},{key:"render",value:function(){return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"bar-axis"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("title",null,"Trendline-Axis"),react__WEBPACK_IMPORTED_MODULE_5__.createElement("desc",null,this.state.description),react__WEBPACK_IMPORTED_MODULE_5__.createElement("line",{className:"y-axis",x1:this.props.width+this.props.padding.left,y1:0,x2:this.props.width+this.props.padding.left,y2:this.props.height}),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"axis-labels"},this.state.labels))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarTrendlineAxis.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarTrendlineAxis.jsx"),reactHotLoader.register(BarTrendlineAxis,"BarTrendlineAxis","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarTrendlineAxis.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},19411(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarTrendlineItem});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},defaultProps={active:!1},propTypes={identifier:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,dataY:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,dataX:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,graphHeight:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,height:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,width:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,x:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,y:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,color:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,description:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,selectBar:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,deselectBar:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,deregisterBar:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func},BarTrendlineItem=function(_React$Component){function BarTrendlineItem(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarTrendlineItem),(t=_callSuper(this,BarTrendlineItem,[e])).state={active:!1},t.mouseEntered=t.mouseEntered.bind(t),t.mouseExited=t.mouseExited.bind(t),t.touchedBar=t.touchedBar.bind(t),t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarTrendlineItem,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarTrendlineItem,[{key:"componentWillUnmount",value:function(){this.props.deregisterBar(this.props.identifier)}},{key:"mouseEntered",value:function(){this.props.selectBar(this.props.identifier)}},{key:"mouseExited",value:function(){this.props.deselectBar()}},{key:"touchedBar",value:function(){this.props.selectBar(this.props.identifier,!0)}},{key:"updateActive",value:function(e){this.setState({active:e===this.props.identifier})}},{key:"render",value:function(){var e="";return this.state.active&&(e=" hover"),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{"aria-label":this.props.description},react__WEBPACK_IMPORTED_MODULE_5__.createElement("desc",null,this.props.description),react__WEBPACK_IMPORTED_MODULE_5__.createElement("rect",{className:"bar-item".concat(e),x:this.props.x,y:this.props.y,width:this.props.width,height:this.props.height,fill:this.props.color,tabIndex:-1,onFocus:this.mouseEntered,onBlur:this.mouseExited,onMouseEnter:this.mouseEntered,onMouseOut:this.mouseExited,onTouchStart:this.touchedBar}))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarTrendlineItem.propTypes=propTypes,BarTrendlineItem.defaultProps=defaultProps,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(defaultProps,"defaultProps","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarTrendlineItem.jsx"),reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarTrendlineItem.jsx"),reactHotLoader.register(BarTrendlineItem,"BarTrendlineItem","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/BarTrendlineItem.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},9397(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>PointItem});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},defaultProps={active:!1},propTypes={identifier:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,x:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,y:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,color:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,stroke:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,radius:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,strokeWidth:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,description:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,selectPoint:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,deselectPoint:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,deregisterPoint:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func},PointItem=function(_React$Component){function PointItem(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,PointItem),(t=_callSuper(this,PointItem,[e])).state={active:!1},t.mouseEntered=t.mouseEntered.bind(t),t.mouseExited=t.mouseExited.bind(t),t.touchedPoint=t.touchedPoint.bind(t),t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(PointItem,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(PointItem,[{key:"componentWillUnmount",value:function(){this.props.deregisterPoint(this.props.identifier)}},{key:"mouseEntered",value:function(){this.props.selectPoint(this.props.identifier)}},{key:"mouseExited",value:function(){this.props.deselectPoint()}},{key:"touchedPoint",value:function(){this.props.selectPoint(this.props.identifier,!0)}},{key:"updateActive",value:function(e){this.setState({active:e===this.props.identifier})}},{key:"render",value:function(){var e="";return this.state.active&&(e=" hover"),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{"aria-label":this.props.description},react__WEBPACK_IMPORTED_MODULE_5__.createElement("desc",null,this.props.description),react__WEBPACK_IMPORTED_MODULE_5__.createElement("circle",{className:"point-item".concat(e),cx:this.props.x,cy:this.props.y,r:this.props.radius,stroke:this.props.stroke,strokeWidth:this.props.strokeWidth,fill:this.props.color,tabIndex:-1,onFocus:this.mouseEntered,onBlur:this.mouseExited,onMouseEnter:this.mouseEntered,onMouseOut:this.mouseExited,onTouchStart:this.touchedPoint}))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;PointItem.propTypes=propTypes,PointItem.defaultProps=defaultProps,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(defaultProps,"defaultProps","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/PointItem.jsx"),reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/PointItem.jsx"),reactHotLoader.register(PointItem,"PointItem","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/spendingOverTime/chart/PointItem.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},38705(e,t,r){r.d(t,{A:()=>m});var a,n=r(17900),o=r(60034),i=r(18662),_=r(4701),s=r(56286),l=r(96229),c=r(93193);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},p=function(){var e=(0,c.A)(),t=(0,n.A)(e,5),r={agencySlugs:t[0],slugsLoading:t[3],slugsError:t[4]},a=i.ov.map(function(e){return o.createElement(_.A,{agencyData:r,key:e,category:e})});return o.createElement(l.uT,{className:"recipient-section topfive",id:"recipient-top-five"},o.createElement(l.X3,{icon:o.createElement(s.gc,{icon:"table",size:"2x"}),title:"Top 5",titleTooltip:{component:!1},descTooltip:{component:!1}}),o.createElement("hr",{className:"results-divider"}),o.createElement("div",{className:"state-section__description"},"The set of tables below provide a summary of awards to this recipient through multiple angles. To see more than the top 5, you can visit our Advanced Search page."),o.createElement("div",{className:"topfive__content"},a))};d(p,"useAgencySlugs{[agencySlugs, , , slugsLoading, slugsError]}",function(){return[c.A]});var u=p;const m=u;var E,f;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(p,"TopFiveSection","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/topFive/TopFiveSection.jsx"),E.register(u,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/recipient/topFive/TopFiveSection.jsx")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},33899(e,t,r){r.d(t,{A:()=>s});var a,n=r(60034),o=r(1192);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var i=function(){return n.createElement("div",{className:"visualization-message-container"},n.createElement("div",{className:"visualization-no-results"},n.createElement("div",{className:"error-icon"},n.createElement(o.Iq,{alt:"An error occurred"})),n.createElement("div",{className:"title"},"An error occurred."),n.createElement("div",{className:"description"},"Something went wrong while gathering your data.")))},_=i;const s=_;var l,c;(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(l.register(i,"ChartError","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartError.jsx"),l.register(_,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartError.jsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},49064(e,t,r){r.d(t,{A:()=>s});var a,n=r(60034),o=r(97990);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var i=function(){return n.createElement("div",{className:"visualization-message-container"},n.createElement("div",{className:"visualization-loading"},n.createElement(o.A,null),n.createElement("div",{className:"message"},"Gathering your data...")))},_=i;const s=_;var l,c;(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(l.register(i,"ChartLoadingMessage","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartLoadingMessage.jsx"),l.register(_,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartLoadingMessage.jsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},38396(e,t,r){r.d(t,{A:()=>_});var a,n=r(60034);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=function(){return n.createElement("div",{className:"visualization-message-container"},n.createElement("div",{className:"visualization-no-results"},n.createElement("div",{className:"no-results-icon"}),n.createElement("div",{className:"title"},"No results found."),n.createElement("div",{className:"description"},"Try again using different filters.")))},i=o;const _=i;var s,l;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(s.register(o,"ChartNoResults","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartNoResults.jsx"),s.register(i,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/ChartNoResults.jsx")),(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(e)},14463(e,t,r){r.d(t,{A:()=>d});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(96229);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var s={amount:i().string.isRequired,heading:i().string.isRequired,headingClass:i().string.isRequired,transactions:i().string.isRequired,tooltipComponent:i().element,tooltipClasses:i().string,tooltipPosition:i().string,tooltipIcon:i().string,primeAwards:i().bool},l=function(e){return n.createElement("div",{className:"totals"},n.createElement("div",{className:"totals__header"},n.createElement("h3",{className:e.headingClass},e.heading),n.createElement(_.T_,{className:e.tooltipClasses,tooltipPosition:e.tooltipPosition,icon:e.tooltipIcon,wide:!0,tooltipComponent:e.tooltipComponent})),n.createElement("div",{className:"totals__amount"},e.amount),n.createElement("div",{className:"totals__awards"},"from ",e.primeAwards?n.createElement(n.Fragment,null,n.createElement("span",{className:"state-overview__total"},e.transactions)," ","1"===e.transactions?"prime award":"prime awards"):n.createElement(n.Fragment,null,n.createElement("span",{className:"state-overview__total"},e.transactions)," ","1"===e.transactions?"transaction":"transactions")))};l.propTypes=s;var c=l;const d=c;var p,u;(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(p.register(s,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/FaceValueOfLoans.jsx"),p.register(l,"FaceValueOfLoans","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/FaceValueOfLoans.jsx"),p.register(c,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/FaceValueOfLoans.jsx")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},6944(e,t,r){r.d(t,{A:()=>u});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(19041);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},c={top:_().number.isRequired,width:_().number.isRequired,padding:_().object,axisPos:_().number,visualizationPeriod:_().string,data:_().array,scale:_().func,rawLabels:_().array},d=function(e){var t=e.top,r=e.width,a=void 0===r?0:r,i=e.padding,_=void 0===i?{left:0,bottom:0,top:0,right:0}:i,l=e.axisPos,c=e.visualizationPeriod,d=e.data,p=e.scale,u=e.rawLabels,m=(0,o.useState)(""),E=(0,n.A)(m,2),f=E[0],h=E[1],b=(0,o.useState)([]),v=(0,n.A)(b,2),g=v[0],M=v[1],P=function(e,t,r){if("fiscal_year"===c)return p(e.year)+p.bandwidth()/2;var a=function(e,t,r){if("quarter"===t){var a=e+3;
1return e<r&&(a=r-1),a>=d.length&&(a=d.length-1),a}var n=e+11;return e<r&&(n=r-1),n>=d.length&&(n=d.length-1),n}(t,d,c);return(p(d[t])+p(d[a])+p.bandwidth())/2},y=function(){if(!d||0===d.length)return d;var e=1,t=0;return"quarter"===c?e=4:"month"===c&&(e=12),"fiscal_year"!==c&&u&&(t=function(e,t){var r=e.period;if("month"===t)return(12-["Oct","Nov","Dec","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"].indexOf(r))%12;return(4-["Q1","Q2","Q3","Q4"].indexOf(r))%4}(u[0],c)),u.map(function(r,a){if((a-t)%e!==0&&0!==a)return null;var n=function(e){if("fiscal_year"===c)return e.year;var t=e.year;if("quarter"===c)return t;var r=-1!==["Oct","Nov","Dec"].indexOf(e.period)?1:0;return(parseInt(t,10)+r).toString()}(r),i=P(r,a);return o.createElement(s.A,{x:i,y:15,label:n,key:"label-x-".concat(r,"-").concat(a)})})};return(0,o.useEffect)(function(){!function(){if(p){var e=y(),t="";d.length>0&&(t="The X-axis of the chart, showing a range of time periods from ".concat(d[0]," to ").concat(d[d.length-1],"\n ")),M(e),h(t)}}()},[t,a,_,l,c,d,p,u]),o.createElement("g",{className:"bar-axis",transform:"translate(".concat(_.left,",").concat(t,")")},o.createElement("title",null,"X-Axis"),o.createElement("desc",null,f),o.createElement("line",{className:"x-axis",x1:0,y1:-1*l,x2:a,y2:-1*l}),o.createElement("g",{className:"axis-labels"},g))};l(d,"useState{[description, setDescription]('')}\nuseState{[labels, setLabels]([])}\nuseEffect{}"),d.propTypes=c;var p=d;const u=p;var m,E;(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(m.register(c,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarXAxis.jsx"),m.register(d,"BarXAxis","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarXAxis.jsx"),m.register(p,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarXAxis.jsx")),(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&E(e)},19041(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarXAxisItem});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={x:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,y:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,label:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string},BarXAxisItem=function(_React$Component){function BarXAxisItem(){return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarXAxisItem),_callSuper(this,BarXAxisItem,arguments)}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarXAxisItem,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarXAxisItem,[{key:"render",value:function(){return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"axis-item x-axis"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("text",{textAnchor:"middle",transform:"translate(".concat(this.props.x,",").concat(this.props.y,")")},this.props.label))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarXAxisItem.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarXAxisItem.jsx"),reactHotLoader.register(BarXAxisItem,"BarXAxisItem","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarXAxisItem.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},16213(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarYAxis});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(63962),lodash_es__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(68296),_BarYAxisItem__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(39108),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={width:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number.isRequired,height:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number.isRequired,padding:prop_types__WEBPACK_IMPORTED_MODULE_6___default().object,scale:prop_types__WEBPACK_IMPORTED_MODULE_6___default().func,average:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number},BarYAxis=function(_React$Component){function BarYAxis(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarYAxis),(t=_callSuper(this,BarYAxis,[e])).state={description:"",labels:[],gridLines:[]},t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarYAxis,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarYAxis,[{key:"shouldComponentUpdate",value:function(e,t){return!(0,lodash_es__WEBPACK_IMPORTED_MODULE_8__.A)(e,this.props)||!(0,lodash_es__WEBPACK_IMPORTED_MODULE_8__.A)(t,this.state)}},{key:"componentDidUpdate",value:function(e){(0,lodash_es__WEBPACK_IMPORTED_MODULE_8__.A)(e,this.props)||this.drawAxis(this.props)}},{key:"drawAxis",value:function(e){if(e.scale){var t=_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.Kh(e.data),r=e.ticks.map(function(e){var r=_helpers_moneyFormatter__WEBPACK_IMPORTED_MODULE_7__.Kx(e/t.unit,t.precision);return 0===e?r="$0":r+=t.unitLabel,r}),a=e.padding.left,n=e.width+e.padding.left,o="";r.length>0&&(o="The Y-axis of the chart, showing a range of spending from ",o+="".concat(r[0]," to ").concat(r[r.length-1]));var i=e.padding.left-10,_=e.ticks.map(function(t,o){var _=e.height-e.scale(t);return react__WEBPACK_IMPORTED_MODULE_5__.createElement(_BarYAxisItem__WEBPACK_IMPORTED_MODULE_9__.A,{x:i,y:_,label:"".concat(r[o]),key:"label-y-".concat(t,"-").concat(o),lineStart:a,lineEnd:n})});this.setState({labels:_,description:o})}}},{key:"render",value:function(){return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"bar-axis"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("title",null,"Y-Axis"),react__WEBPACK_IMPORTED_MODULE_5__.createElement("desc",null,this.state.description),react__WEBPACK_IMPORTED_MODULE_5__.createElement("line",{className:"y-axis",x1:this.props.padding.left,y1:0,x2:this.props.padding.left,y2:this.props.height}),react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"axis-labels"},this.state.labels))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarYAxis.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/
1home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarYAxis.jsx"),reactHotLoader.register(BarYAxis,"BarYAxis","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarYAxis.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},39108(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>BarYAxisItem});var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={x:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,y:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,label:prop_types__WEBPACK_IMPORTED_MODULE_6___default().string,lineStart:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number,lineEnd:prop_types__WEBPACK_IMPORTED_MODULE_6___default().number},BarYAxisItem=function(_React$Component){function BarYAxisItem(){return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.A)(this,BarYAxisItem),_callSuper(this,BarYAxisItem,arguments)}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.A)(BarYAxisItem,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__.A)(BarYAxisItem,[{key:"render",value:function(){return react__WEBPACK_IMPORTED_MODULE_5__.createElement("g",{className:"axis-item y-axis"},react__WEBPACK_IMPORTED_MODULE_5__.createElement("text",{textAnchor:"end",transform:"translate(".concat(this.props.x,",").concat(this.props.y+6,")")},this.props.label),react__WEBPACK_IMPORTED_MODULE_5__.createElement("line",{className:"grid-line",x1:this.props.lineStart,y1:this.props.y,x2:this.props.lineEnd,y2:this.props.y}))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_5__.Component),reactHotLoader,leaveModule;BarYAxisItem.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarYAxisItem.jsx"),reactHotLoader.register(BarYAxisItem,"BarYAxisItem","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/sharedComponents/timeChart/chart/BarYAxisItem.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},75658(e,t,r){r.d(t,{A:()=>d});var a,n=r(60034),o=r(67202),i=r.n(o),_=r(1192);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;
1var s={field:i().string,label:i().string,setSort:i().func,active:i().object},l=function(e){var t=e.active.field===e.field&&"asc"===e.active.direction?"header-sorter__button_active":"",r=e.active.field===e.field&&"desc"===e.active.direction?"header-sorter__button_active":"";return n.createElement("div",{className:"state-list__head-sorter header-sorter"},n.createElement("button",{className:"header-sorter__button ".concat(t),onClick:function(){e.setSort(e.field,"asc")}},n.createElement(_.Do,{alt:"Sort table by ascending ".concat(e.label)})),n.createElement("button",{className:"header-sorter__button ".concat(r),onClick:function(){e.setSort(e.field,"desc")}},n.createElement(_.yd,{alt:"Sort table by descending ".concat(e.label)})))};l.propTypes=s;var c=l;const d=c;var p,u;(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(p.register(s,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/stateLanding/table/StateLandingTableSorter.jsx"),p.register(l,"StateLandingTableSorter","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/stateLanding/table/StateLandingTableSorter.jsx"),p.register(c,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/components/stateLanding/table/StateLandingTableSorter.jsx")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},79493(e,t,r){r.r(t),r.d(t,{default:()=>y});var a=r(17900),n=r(60034),o=r(67202),i=r.n(o),_=r(40180),s=r(80963),l=r(61674),c=r(45844),d=r(17263),p=r(4459),u=r(25605),m=r(41403),E=r(44459);e=r.hmd(e);var f,h={};r.r(h),r.d(h,{resetRecipient:()=>p.zw,setRecipientChildren:()=>p.R,setRecipientFiscalYear:()=>p.dU,setRecipientOverview:()=>p.pu}),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(e);var b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};r(54389);var v="latest",g={setRecipientOverview:i().func,setRecipientFiscalYear:i().func,resetRecipient:i().func,recipient:i().object},M=function(e){var t=(0,c.Zp)(),r=(0,c.RQ)("/recipient/:recipientId/:fy?").params,o=r.recipientId,i=r.fy,_=(0,n.useState)({loading:!0,error:!1}),s=(0,a.A)(_,2),p=s[0],f=s[1],h=(0,n.useCallback)(function(t,r){var a;a&&a.cancel(),(a=u.JM(t,r)).promise.then(function(t){var r,a;f({loading:!1,error:!1}),r=t.data,(a=Object.create(d.A)).populate(r),e.setRecipientOverview(a)}).catch(function(e){(0,l.FZ)(e)||(console.error(e),f({loading:!1,error:!0}))})});return(0,n.useEffect)(function(){i?[v,"all"].includes(i)||(0,m.C$)(i)?(e.setRecipientFiscalYear(i),h(o,e.recipient.fy)):(t("/recipient/".concat(o,"/").concat(v),{replace:!0}),e.setRecipientFiscalYear(v),h(o,v)):t("/recipient/".concat(o,"/").concat(v),{replace:!0})},[]),(0,n.useEffect)(function(){e.setRecipientFiscalYear(v),e.resetRecipient()},[]),(0,n.useEffect)(function(){e.setRecipientFiscalYear(i),h(o,v)},[o]),(0,n.useEffect)(function(){e.setRecipientFiscalYear(i)},[i]),(0,n.useEffect)(function(){h(o,e.recipient.fy)},[e.recipient.fy]),n.createElement(E.A,{loading:p.loading,error:p.error,id:e.recipient.id,recipient:e.recipient,pickedFy:function(r){t("/recipient/".concat(e.recipient.id,"/").concat(r)),e.setRecipientFiscalYear(r)}})};b(M,"useNavigate{history}\nuseMatch{match}\nuseState{[state, setState]({\n loading: true,\n error: false\n })}\nuseCallback{loadRecipientOverview}\nuseEffect{}\nuseEffect{}\nuseEffect{}\nuseEffect{}\nuseEffect{}",function(){return[c.Zp,c.RQ]}),M.propTypes=g;var P=(0,s.Ng)(function(e){return{recipient:e.recipient}},function(e){return(0,_.zH)(h,e)})(M);const y=P;var O,L;(O="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(O.register(v,"defaultFy","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientContainer.jsx"),O.register(g,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientContainer.jsx"),O.register(M,"RecipientContainer","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientContainer.jsx"),O.register(P,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientContainer.jsx")),(L="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&L(e)},56727(e,t,r){r.d(t,{A:()=>M});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(61674),l=r(75436),c=r(55165),d=r(41403),p=r(26276),u=r(25605),m=r(35456);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},f=r(12771),h={recipient:_().object},b=function(e){c.A.event({event:"recipient_profile_viz_time_period",category:"Recipient - Time - Period",action:e})},v=function(e){var t=e.recipient,r=(0,o.useState)("fiscal_year"),a=(0,n.A)(r,2),i=a[0],_=a[1],c=(0,o.useState)(!0),E=(0,n.A)(c,2),h=E[0],v=E[1],g=(0,o.useState)(!1),M=(0,n.A)(g,2),P=M[0],y=M[1],O=(0,o.useState)([]),L=(0,n.A)(O,2),D=L[0],A=L[1],C=(0,o.useState)([]),T=(0,n.A)(C,2),R=T[0],w=T[1],B=(0,o.useState)([]),k=(0,n.A)(B,2),I=k[0],H=k[1],W=(0,o.useState)([]),U=(0,n.A)(W,2),K=U[0],x=U[1],G=(0,o.useState)([]),N=(0,n.A)(G,2),j=N[0],S=N[1],q=(0,o.useRef)(null),F=(0,o.useRef)(null),z=(0,o.useMemo)(function(){var e=d.dT,t=d.Pp(),r=d.B8(e)[0],a=d.B8(t)[1];"fiscal_year"!==i&&(a=f().endOf("month").format("YYYY-MM-DD"));return[{start_date:r,end_date:a}]},[i]),V=function(e,t,r){var a=m.F2(t.month),n=m.cs(t.month,t.fiscal_year);return"fiscal_year"===e?"label"===r?"FY ".concat(t.fiscal_year):{period:null,year:"FY ".concat(t.fiscal_year)}:"quarter"===e?"label"===r?"Q".concat(t.quarter," FY ").concat(t.fiscal_year):{period:"Q".concat(t.quarter),year:"FY ".concat(t.fiscal_year)}:"label"===r?"".concat(a," ").concat(n):{period:"".concat(a),year:"".concat(n)}},Y=(0,o.useCallback)(function(e){var t=[],r=[],a=[],n=[];e.results.forEach(function(e){t.push(V(i,e.time_period,"label")),r.push([V(i,e.time_period,"label")]),a.push([parseFloat(e.aggregated_amount)]),n.push(V(i,e.time_period,"raw"))}),A(t),w(r),H(a),S(n),v(!1),y(!1)},[i]),X=(0,o.useCallback)(function(){v(!0),y(!1),q.current&&q.current.cancel();var e={recipient_id:t.id};e.time_period=z;var r={group:i,filters:e,auditTrail:"Recipient Spending Over Time Visualization"};q.current=p.Mj(r),q.current.promise.then(function(e){Y(e.data),q.current=null}).catch(function(e){(0,s.FZ)(e)||(q.current=null,console.log(e),v(!1),y(!0))})},[Y,t.id,z,i]),$=(0,o.useCallback)(function(){F.current&&F.current.cancel();var e={recipient_id:t.id};e.time_period=z;var r={group:i,filters:e};F.current=u.W2(r),F.current.promise.then(function(e){var t,r;t=e.data.results,r=[],t.forEach(function(e){r.push(parseFloat(e.new_award_count_in_period))}),x(r),F.current=null}).catch(function(e){(0,s.FZ)(e)||(F.current=null,console.log(e))})},[t.id,z,i]);return(0,o.useEffect)(function(){X(),$(),b(i)},[i,t.id,$,X]),o.createElement(l.A,{data:{xSeries:R,ySeries:I,zSeries:K,groups:D,rawLabels:j},loading:h,error:P,visualizationPeriod:i,updateVisualizationPeriod:_})};E(v,"useState{[visualizationPeriod, setVisualizationPeriod]('fiscal_year')}\nuseState{[loading, setLoading](true)}\nuseState{[error, setError](false)}\nuseState{[groups, setGroups]([])}\nuseState{[xSeries, setXSeries]([])}\nuseState{[ySeries, setYSeries]([])}\nuseState{[zSeries, setZSeries]([])}\nuseState{[rawLabels, setRawLabels]([])}\nuseRef{request}\nuseRef{trendLineRequest}\nuseMemo{timePeriod}\nuseCallback{parseData}\nuseCallback{fetchData}\nuseCallback{fetchTrendLineData}\nuseEffect{}"),v.propTypes=h;var g=v;const M=g;var P,y;(P="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(P.register(h,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientTimeVisualizationSectionContainer.jsx"),P.register(b,"logPeriodEvent","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientTimeVisualizationSectionContainer.jsx"),P.register(v,"RecipientTimeVisualizationSectionContainer","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientTimeVisualizationSectionContainer.jsx"),P.register(g,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/RecipientTimeVisualizationSectionContainer.jsx")),(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&y(e)},12102(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{u:()=>AlternateNamesRecipientModalContainer});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(63060),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(68161),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(27503),react__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__),react_redux__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(80963),_components_recipient_modal_AlternateNamesRecipientModal__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(27999),enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}module=__webpack_require__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={recipient:prop_types__WEBPACK_IMPORTED_MODULE_8___default().object,hideModal:prop_types__WEBPACK_IMPORTED_MODULE_8___default().func},AlternateNamesRecipientModalContainer=function(_React$Component){function AlternateNamesRecipientModalContainer(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.A)(this,AlternateNamesRecipientModalContainer),t=_callSuper(this,AlternateNamesRecipientModalContainer,[e]),(0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__.A)(t,"updateSort",function(e,r){return t.setState({sortField:e,sortDirection:r})}),t.state={sortField:"alternateNames",sortDirection:"asc"},t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__.A)(AlternateNamesRecipientModalContainer,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__.A)(AlternateNamesRecipientModalContainer,[{key:"render",value:function(){var e="asc"===this.state.sortDirection?this.props.recipient.overview.alternateNames.sort(function(e,t){return e.localeCompare(t)}):this.props.recipient.overview.alternateNames.sort(function(e,t){return t.localeCompare(e)});return react__WEBPACK_IMPORTED_MODULE_7__.createElement(_components_recipient_modal_AlternateNamesRecipientModal__WEBPACK_IMPORTED_MODULE_10__.A,(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__.A)({},this.props,{sortField:this.state.sortField,sortDirection:this.state.sortDirection,updateSort:this.updateSort,alternateNames:e}))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_7__.Component),_default=(0,react_redux__WEBPACK_IMPORTED_MODULE_9__.Ng)(function(e){return{recipient:e.recipient}})(AlternateNamesRecipientModalContainer),__WEBPACK_DEFAULT_EXPORT__=_default,reactHotLoader,leaveModule;
1AlternateNamesRecipientModalContainer.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/AlternateNamesRecipientModalContainer.jsx"),reactHotLoader.register(AlternateNamesRecipientModalContainer,"AlternateNamesRecipientModalContainer","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/AlternateNamesRecipientModalContainer.jsx"),reactHotLoader.register(_default,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/AlternateNamesRecipientModalContainer.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},47770(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(63060),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(81569),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(76393),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(86514),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(32238),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(68161),react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(60034),prop_types__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(67202),prop_types__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__),redux__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(40180),react_redux__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(80963),axios__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(61674),lodash_es__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(68296),lodash_es__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(87729),_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(4459),_helpers_recipientHelper__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(25605),_components_recipient_modal_ChildRecipientModal__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(28483),_models_v2_recipient_BaseChildRecipient__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(33590);module=__webpack_require__.hmd(module);var _redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13___namespace_object={},enterModule;function _callSuper(e,t,r){return t=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__.A)(t),(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.A)(e,_isNativeReflectConstruct()?Reflect.construct(t,r||[],(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__.A)(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}__webpack_require__.r(_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13___namespace_object),__webpack_require__.d(_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13___namespace_object,{resetRecipient:()=>_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13__.zw,setRecipientChildren:()=>_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13__.R,setRecipientFiscalYear:()=>_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13__.dU,setRecipientOverview:()=>_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13__.pu}),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},propTypes={setRecipientChildren:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func,recipient:prop_types__WEBPACK_IMPORTED_MODULE_7___default().object,mounted:prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool,hideModal:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func},ChildRecipientModalContainer=function(_React$Component){function ChildRecipientModalContainer(e){var t;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.A)(this,ChildRecipientModalContainer),(t=_callSuper(this,ChildRecipientModalContainer,[e])).state={inFlight:!1,error:!1,sortField:"_amount",sortDirection:"desc",childRecipients:[]},t.request=null,t.updateSort=t.updateSort.bind(t),t}return(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__.A)(ChildRecipientModalContainer,_React$Component),(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__.A)(ChildRecipientModalContainer,[{key:"c
1omponentDidUpdate",value:function(e){this.props.mounted&&!e.mounted&&this.loadChildRecipients(),(0,lodash_es__WEBPACK_IMPORTED_MODULE_11__.A)(this.props.recipient.children,e.recipient.children)||this.updateSort("_amount","desc")}},{key:"loadChildRecipients",value:function(){var e=this;this.request&&this.request.cancel(),this.setState({inFlight:!0});var t=this.props.recipient.overview.uei||this.props.recipient.overview.duns,r=this.props.recipient.fy;this.request=_helpers_recipientHelper__WEBPACK_IMPORTED_MODULE_14__.HY(t,r),this.request.promise.then(function(t){e.setState({loading:!1},function(){t.data.length>0&&e.parseChildren(t.data)})}).catch(function(t){(0,axios__WEBPACK_IMPORTED_MODULE_10__.FZ)(t)||(console.log(t),e.setState({inFlight:!1,error:!0}))})}},{key:"parseChildren",value:function(e){this.setState({inFlight:!1,error:!1});var t=e.map(function(e){var t=Object.create(_models_v2_recipient_BaseChildRecipient__WEBPACK_IMPORTED_MODULE_16__.A);return t.populate(e),t});this.props.setRecipientChildren(t)}},{key:"updateSort",value:function(e,t){var r=(0,lodash_es__WEBPACK_IMPORTED_MODULE_12__.A)(this.props.recipient.children,[e],[t]);this.setState({sortField:e,sortDirection:t,childRecipients:r})}},{key:"render",value:function(){return react__WEBPACK_IMPORTED_MODULE_6__.createElement(_components_recipient_modal_ChildRecipientModal__WEBPACK_IMPORTED_MODULE_15__.A,(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__.A)({},this.props,{error:this.state.error,loading:this.state.inFlight,sortField:this.state.sortField,sortDirection:this.state.sortDirection,updateSort:this.updateSort,childRecipients:this.state.childRecipients}))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}])}(react__WEBPACK_IMPORTED_MODULE_6__.Component),_default=(0,react_redux__WEBPACK_IMPORTED_MODULE_9__.Ng)(function(e){return{recipient:e.recipient}},function(e){return(0,redux__WEBPACK_IMPORTED_MODULE_8__.zH)(_redux_actions_recipient_recipientActions__WEBPACK_IMPORTED_MODULE_13___namespace_object,e)})(ChildRecipientModalContainer);const __WEBPACK_DEFAULT_EXPORT__=_default;var reactHotLoader,leaveModule;ChildRecipientModalContainer.propTypes=propTypes,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&(reactHotLoader.register(propTypes,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/ChildRecipientModalContainer.jsx"),reactHotLoader.register(ChildRecipientModalContainer,"ChildRecipientModalContainer","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/ChildRecipientModalContainer.jsx"),reactHotLoader.register(_default,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/modal/ChildRecipientModalContainer.jsx")),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},4701(e,t,r){r.d(t,{A:()=>b});var a,n=r(17900),o=r(60034),i=r(67202),_=r.n(i),s=r(80963),l=r(61674),c=r(41403),d=r(26276),p=r(94411),u=r(52528);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},E={total:_().number,category:_().string,fy:_().string,recipientHash:_().string,recipientName:_().string,agencyData:_().object},f=function(e){var t=e.total,r=e.category,a=e.fy,i=e.recipientHash,_=e.recipientName,s=e.agencyData,m=(0,o.useState)(!0),E=(0,n.A)(m,2),f=E[0],h=E[1],b=(0,o.useState)(!1),v=(0,n.A)(b,2),g=v[0],M=v[1],P=(0,o.useState)([]),y=(0,n.A)(P,2),O=y[0],L=y[1],D=(0,o.useState)(!1),A=(0,n.A)(D,2),C=A[0],T=A[1],R=(0,o.useRef)(null),w=function(){var e=null;if("latest"===a){var t=(0,c.Dt)();e={start_date:t[0],end_date:t[1]}}else if("all"===a){var n=(0,c.Pp)(),o=(0,c.B8)(parseInt(c.dT,10)),s=(0,c.B8)(parseInt(n,10));e={start_date:o[0],end_date:s[1]}}else if("all"!==a&&a){var l=(0,c.B8)(parseInt(a,10));e={start_date:l[0],end_date:l[1]}}var d={recipient_id:i,recipient_name:_};
1return e&&(d.time_period=[e]),{filters:d,category:r,limit:5,page:1}},B=function(){R.current&&R.current.cancel(),h(!0),M(!1),R.current=d.zo(w()),R.current.promise.then(function(e){!function(e,t){if(e.length<1)T(!0);else{var r=e.map(function(e,r){var a=Object.create(p.A);return a.populate(e,r+1),"awarding_agency"===t||"awarding_subagency"===t?a.nameTemplate=function(e,t){return e?"".concat(t," (").concat(e,")"):t}:"country"!==t&&"state_territory"!==t||(a.nameTemplate=function(e){return e}),a});h(!1),M(!1),L(r)}}(e.data.results,e.data.category)}).catch(function(e){(0,l.FZ)(e)||(console.error(e),h(!1),M(!0))})};return(0,o.useEffect)(function(){B()},[i,a]),o.createElement(o.Fragment,null,!C&&o.createElement(u.A,{category:r,total:t,dataParams:w(),loading:f,error:g,results:O,agencyData:s}))};m(f,"useState{[loading, setLoading](true)}\nuseState{[error, setError](false)}\nuseState{[results, setResults]([])}\nuseState{[noResults, setNoResults](false)}\nuseRef{requestRef}\nuseEffect{}"),f.propTypes=E;var h=(0,s.Ng)(function(e){return{total:e.recipient.overview._totalAmount,fy:e.recipient.fy,recipientHash:e.recipient.id,recipientName:e.recipient.overview.name}})(f);const b=h;var v,g;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(E,"propTypes","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/topFive/TopFiveContainer.jsx"),v.register(f,"TopFiveContainer","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/topFive/TopFiveContainer.jsx"),v.register(h,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/containers/recipient/topFive/TopFiveContainer.jsx")),(g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&g(e)},12810(e,t,r){r.d(t,{M:()=>l});var a,n=r(60034),o=r(11405),i=r(27328);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var _,s,l=function(e,t){if(!e&&!t)return["Identifier not provided"];var r=[];return t&&r.push(n.createElement("div",{key:"overview__uei"},t," (UEI ",n.createElement(o.A,{term:"unique-entity-identifier-uei"}),") ",n.createElement("br",null))),e&&r.push(n.createElement("div",{key:"overview__duns"},e," (",i.DUNS_LABEL,"DUNS ",n.createElement(o.A,{term:"duns"}),")",n.createElement("br",null))),r};(_="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&_.register(l,"idList","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/dataMapping/shared/recipientIdentifiers.jsx"),(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(e)},35456(e,t,r){r.d(t,{F2:()=>c,cs:()=>d,sl:()=>p});var a,n=r(41403);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,i,_=r(12771),s=function(e){return _().month(isNaN(parseInt(e,10))?1:parseInt(e,10)).subtract(4,"months")},l=function(e){return s(e).format("MMMM")},c=function(e){return s(e).format("MMM")},d=function(e,t){var r=isNaN(parseInt(e,10))?1:parseInt(e,10),a=isNaN(parseInt(t,10))?n.Pp():parseInt(t,10);return r<=3?a-1:a},p=function(e,t){var r=isNaN(parseInt(e,10))?1:parseInt(e,10),a=isNaN(parseInt(t,10))?n.Pp():parseInt(t,10),o=l(e),i=r<=3?a-1:a;return"".concat(o," ").concat(i)},u=function(e){var t=[];return t.Jan="January",t.Feb="February",t.Mar="March",t.Apr="April",t.May="May",t.Jun="June",t.Jul="July",t.Aug="August",t.Sep="September",t.Oct="October",t.Nov="November",t.Dec="December",t[e]};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(o.register(s,"monthConversion","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js"),o.register(l,"convertNumToMonth","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js"),o.register(c,"convertNumToShortMonth","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js"),o.register(d,"convertMonthToFY","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js"),o.register(p,"convertPeriodToDate","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js"),o.register(u,"fullMonthFromAbbr","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/monthHelper.js")),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},25605(e,t,r){r.d(t,{HY:()=>s,JM:()=>_,W2:()=>l});var a,n=r(38921);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,i,_=function(e,t){return(0,n.A)({url:"v2/recipient/".concat(e,"/"),params:{year:t}})},s=function(e,t){return(0,n.A)({url:"v2/recipient/children/".concat(e,"/"),params:{year:t}})},l=function(e){return(0,n.A)({url:"v2/search/new_awards_over_time/",method:"post",data:e})};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(o.register(_,"fetchRecipientOverview","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/recipientHelper.js"),o.register(s,"fetchChildRecipients","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/recipientHelper.js"),o.register(l,"fetchNewAwardCounts","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/helpers/recipientHelper.js")),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)},79742(e,t,r){r.d(t,{A:()=>l});var a,n=r(17900),o=r(60034);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},_=function(e){return(0,o.useCallback)(function(t){var r=new ResizeObserver(function(t){var r=(0,n.A)(t,1)[0];return e(r)});return r.observe(t),function(){return r.disconnect()}},[e])};i(_,"useCallback{}");var s=_;const l=s;var c,d;(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(_,"useCallbackRef","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useCallbackRef.jsx"),c.register(s,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useCallbackRef.jsx")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)},66721(e,t,r){r.d(t,{Ew:()=>p,ZY:()=>l,ef:()=>u,oJ:()=>c,pm:()=>m,we:()=>d});var a,n=r(13545),o=r(38921);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);var i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},_=function(){return(0,o.A)({url:"v2/references/states/",method:"get"})},s=function(){var e=(0,n.I)({queryKey:["fetchStateList"],queryFn:function(){return _().promise},staleTime:1/0,gcTime:1/0});return{data:e.data,isSuccess:e.isSuccess,isLoading:e.isLoading,error:e.error}};i(s,"useQuery{{ data, isSuccess, isLoading, error }}",function(){return[n.I]});var l=function(){var e=(s().data||{}).data;return(void 0===e?{}:e).results};i(l,"useStateData{{ data }}",function(){return[s]});var c=function(){var e=l();if(e){var t={};return e.forEach(function(e){t[e.code]=e.fips}),t}};i(c,"useStateList{results}",function(){return[l]});var d=function(){var e=l();if(e){var t={};return e.forEach(function(e){t[e.fips]=e.name}),t}};i(d,"useStateList{results}",function(){return[l]});var p=function(){var e=l();if(e){var t={};return e.forEach(function(e){t[e.name.toLowerCase()]=e.fips}),t}};i(p,"useStateList{results}",function(){return[l]});var u=function(){var e=l();if(e){var t={};return e.forEach(function(e){t[e.name]=e.code}),t}};i(u,"useStateList{results}",function(){return[l]});var m=function(){var e=l();if(e){var t={};return e.forEach(function(e){t[e.code]=e.name}),t}};i(m,"useStateList{results}",function(){return[l]});var E=function(e){var t=d();return t&&e&&{}.hasOwnProperty.call(t,e.toLowerCase())?t[e.toLowerCase()]:[]};i(E,"useStateNameByFipsId{stateNameByFipsId}",function(){return[d]});var f,h,b=function(e){var t=c();if(t&&e){var r=Object.values(t).indexOf(e);if(-1!==r)return Object.keys(t)[r]}return null};i(b,"useStateFIPSByAbbreviation{stateFIPSByAbbreviation}",function(){return[c]}),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(_,"fetchStateList","/home/ec2-user/wor
1kspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(s,"useStateData","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(l,"useStateList","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(c,"useStateFIPSByAbbreviation","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(d,"useStateNameByFipsId","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(p,"useFipsIdByStateName","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(u,"useCodeByStateName","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(m,"useStatebyCode","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(E,"useStateNameFromFips","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx"),f.register(b,"useStateAbbreviationFromFips","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/hooks/useStateData.jsx")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},33590(e,t,r){r.d(t,{A:()=>_});var a,n=r(63962);e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o={populate:function(e){this.id=e.recipient_id||null,this.name=e.name||"Name not provided",this.duns=e.duns||"DUNS not provided",this.uei=e.uei||"UEI not provided",this._amount=parseFloat(e.amount)||0,this.stateProvince=e.state_province||"--"},get amount(){return n.Kx(this._amount,0)},percentage:function(e){var t=this._amount/e;if(isNaN(t))return"--%";var r=Math.round(1e4*t)/100;return"".concat(r,"%")}},i=o;const _=i;var s,l;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(s.register(o,"BaseChildRecipient","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/models/v2/recipient/BaseChildRecipient.js"),s.register(i,"default","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/models/v2/recipient/BaseChildRecipient.js")),(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(e)},4459(e,t,r){var a;r.r(t),r.d(t,{R:()=>s,dU:()=>_,pu:()=>i,zw:()=>l}),e=r.hmd(e),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&a(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var n,o,i=function(e){return{type:"SET_RECIPIENT_OVERVIEW",overview:e}},_=function(e){return{type:"SET_RECIPIENT_FY",fy:e}},s=function(e){return{type:"SET_RECIPIENT_CHILDREN",children:e}},l=function(){return{type:"RESET_RECIPIENT"}};(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(n.register(i,"setRecipientOverview","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/redux/actions/recipient/recipientActions.js"),n.register(_,"setRecipientFiscalYear","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/redux/actions/recipient/recipientActions.js"),n.register(s,"setRecipientChildren","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/redux/actions/recipient/recipientActions.js"),n.register(l,"resetRecipient","/home/ec2-user/workspace/usaspending-frontend-prod-deploy/usaspending-website/src/js/redux/actions/recipient/recipientActions.js")),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(e)},54389(e,t,r){r.r(t)},46956(e,t,r){r.d(t,{A:()=>o,z:()=>_});var a=r(70149),n=r(74498);function o(){var e,t,r=(0,n.A)().unknown(void 0),i=r.domain,_=r.range,s=0,l=1,c=!1,d=0,p=0,u=.5;function m(){var r=i().length,a=l<s,n=a?l:s,o=a?s:l;e=(o-n)/Math.max(1,r-d+2*p),c&&(e=Math.floor(e)),n+=(o-n-e*(r-d))*u,t=e*(1-d),c&&(n=Math.round(n),t=Math.round(t));var m=function(e,t,r){e=+e,t=+t,r=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+r;for(var a=-1,n=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(n);++a<n;)o[a]=e+a*r;return o}(r).map(function(t){return n+e*t});return _(a?m.reverse():m)}return delete r.unknown,r.domain=function(e){return arguments.length?(i(e),m()):i()},r.range=function(e){return arguments.length?([s,l]=e,s=+s,l=+l,m()):[s,l]},r.rangeRound=function(e){return[s,l]=e,s=+s,l=+l,c=!0,m()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,m()):c},r.padding=function(e){return arguments.length?(d=Math.min(1,p=+e),m()):d},r.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),m()):d},r.paddingOuter=function(e){return arguments.length?(p=+e,m()):p},r.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),m()):u},r.copy=function(){return o(i(),[s,l]).round(c).paddingInner(d).paddingOuter(p).align(u)},a.C.apply(m(),arguments)}function i(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return i(t())},e}function _(){return i(o.apply(null,arguments).paddingInner(1))}},74498(e,t,r){r.d(t,{A:()=>c,h:()=>l});class a extends Map{constructor(e,t=_){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(n(this,e))}has(e){return super.has(n(this,e))}set(e,t){return super.set(o(this,e),t)}delete(e){return super.delete(i(this,e))}}Set;function n({_intern:e,_key:t},r){const a=t(r);return e.has(a)?e.get(a):r}function o({_intern:e,_key:t},r){const a=t(r);return e.has(a)?e.get(a):(e.set(a,r),r)}function i({_intern:e,_key:t},r){const a=t(r);return e.has(a)&&(r=e.get(a),e.delete(a)),r}function _(e){return null!==e&&"object"==typeof e?e.valueOf():e}var s=r(70149);
1const l=Symbol("implicit");function c(){var e=new a,t=[],r=[],n=l;function o(a){let o=e.get(a);if(void 0===o){if(n!==l)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return o.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new a;for(const a of r)e.has(a)||e.set(a,t.push(a)-1);return o},o.range=function(e){return arguments.length?(r=Array.from(e),o):r.slice()},o.unknown=function(e){return arguments.length?(n=e,o):n},o.copy=function(){return c(t,r).unknown(n)},s.C.apply(o,arguments),o}},37404(e,t,r){var a=r(38323),n=1/0;const o=function(e){return(null==e?0:e.length)?(0,a.A)(e,n):[]};r.d(t,["A",0,o])},87729(e,t,r){var a=r(86676),n=r(48653);const o=function(e,t,r,o){return null==e?[]:((0,n.A)(t)||(t=null==t?[]:[t]),r=o?void 0:r,(0,n.A)(r)||(r=null==r?[]:[r]),(0,a.A)(e,t,r))};r.d(t,["A",0,o])},96099(e,t,r){var a=r(36445),n=r(29423);const o=function(e){return e&&e.length?(0,a.A)(e,n.A):0};r.d(t,["A",0,o])},41347(e,t,r){var a=r(15255);const n=function(e){return e&&e.length?(0,a.A)(e):[]};r.d(t,["A",0,n])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.