Module 477421

558 characters · in 7052e6dfcccc924e.js, 6b9c70f77a5d78bb.js
Dependencies
Required by (4)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>c});var i=n(582128),l=n(17928),s=n(228366),r=n(277984),a=n(280450),o=n(615405),u=n(295405);function c(){let e=(0,l.bG)([u.A],()=>u.A.getDefaultBillingCountryCode()),t=(0,l.bG)([o.A],()=>o.A.ipLocation),n=(0,l.bG)([a.default],()=>a.default.isAuthenticated());return i.useEffect(()=>{s.h.wait(()=>{!n||o.A.isPaymentSourceFetching||u.A.hasFetchedPaymentSources||r.$o()})},[n]),i.useEffect(()=>{n&&!o.A.ipLocationLoaded&&r.jZ()},[t,n]),{defaultBillingCountryCode:e,ipCountryCode:t?.countryCode,ipSubdivisionCode:t?.subdivisionCode}}}