Module 70433

618 characters · in 2c622a24957d4f22.js, 30a61539e168fa85.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,l){l.d(t,{n:()=>o});var s=l(627968),a=l(64700),n=l(452027),r=l(637141),i=l(87730),d=l(451636),c=l(883296);function o(e){let{label:t,giftCardsEnabled:l,giftCardCheckboxProps:o,paymentSourceDropdownProps:u,currencySelectProps:m,showCheckboxAboveDropdown:x=!1,disabled:h,customSelectorContent:j}=e,v=a.useMemo(()=>l&&null!=o&&(0,s.jsx)(i.o,{...o,className:x?c.r:c.K,disabled:o.disabled||h}),[l,o,x,h]),p=x&&l&&o?.checked===!0,g=null!=j,f=a.useMemo(()=>null!=j?j:(0,s.jsx)(r.Ay,{...u,disabled:h}),[j,h,u]);return(0,s.jsxs)(n.D,{label:t,children:[x&&v,!p&&f,!x&&v,!g&&!p&&void 0!==m&&(0,s.jsx)(d.q,{...m})]})}}