Module 725836

484 characters · in 25a52293d401dc9d.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{bx:()=>u,ck:()=>s,e0:()=>o});var l=n(627968),a=n(64700),i=n(340287);let[r,s]=(0,n(786300).A)(),o=e=>{let{children:t}=e,[n,i]=a.useState(null),[s,o]=a.useState({}),u=a.useMemo(()=>({setCheckoutFooterContentNode:i,checkoutFooterContentNode:n,checkoutHeaderConfigs:s,setCheckoutHeaderConfigs:o}),[n,i,s,o]);return(0,l.jsx)(r.Provider,{value:u,children:t})};function u(e){let{children:t}=e,{checkoutFooterContentNode:n}=s();return null==n?null:i.createPortal(t,n)}}