@lifesg/react-design-system 2.13.1 → 2.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{e-signature-canvas.a4ae3c4b.js → e-signature-canvas.f9b069ee.js} +2 -2
- package/chunks/{e-signature-canvas.a4ae3c4b.js.map → e-signature-canvas.f9b069ee.js.map} +1 -1
- package/chunks/{index.f952802a.js → index.12a2bdd9.js} +6 -6
- package/chunks/{index.f952802a.js.map → index.12a2bdd9.js.map} +1 -1
- package/chunks/{index.umd.fe44f2ef.js → index.umd.6d284ee7.js} +2 -2
- package/chunks/{index.umd.fe44f2ef.js.map → index.umd.6d284ee7.js.map} +1 -1
- package/chunks/{lottie-animation.936d4b0e.js → lottie-animation.580e4a9a.js} +2 -2
- package/chunks/{lottie-animation.936d4b0e.js.map → lottie-animation.580e4a9a.js.map} +1 -1
- package/chunks/{lottie-animation.b8e74be5.js → lottie-animation.62183e2f.js} +2 -2
- package/chunks/{lottie-animation.b8e74be5.js.map → lottie-animation.62183e2f.js.map} +1 -1
- package/chunks/{lottie-animation.a8fe33ef.js → lottie-animation.ca00c9ef.js} +2 -2
- package/chunks/{lottie-animation.a8fe33ef.js.map → lottie-animation.ca00c9ef.js.map} +1 -1
- package/cjs/chunks/{e-signature-canvas.689dc43d.js → e-signature-canvas.b6b593f8.js} +2 -2
- package/cjs/chunks/{e-signature-canvas.689dc43d.js.map → e-signature-canvas.b6b593f8.js.map} +1 -1
- package/cjs/chunks/{index.496b3d33.js → index.4555bf84.js} +6 -6
- package/cjs/chunks/{index.496b3d33.js.map → index.4555bf84.js.map} +1 -1
- package/cjs/chunks/{index.umd.1dfd66a3.js → index.umd.de52940f.js} +2 -2
- package/cjs/chunks/{index.umd.1dfd66a3.js.map → index.umd.de52940f.js.map} +1 -1
- package/cjs/chunks/{lottie-animation.8ed78534.js → lottie-animation.454bd84c.js} +2 -2
- package/cjs/chunks/{lottie-animation.8ed78534.js.map → lottie-animation.454bd84c.js.map} +1 -1
- package/cjs/chunks/{lottie-animation.4de0319c.js → lottie-animation.6f4de23a.js} +2 -2
- package/cjs/chunks/{lottie-animation.4de0319c.js.map → lottie-animation.6f4de23a.js.map} +1 -1
- package/cjs/chunks/{lottie-animation.8c312ec6.js → lottie-animation.7555cbe1.js} +2 -2
- package/cjs/chunks/{lottie-animation.8c312ec6.js.map → lottie-animation.7555cbe1.js.map} +1 -1
- package/cjs/index.js +1 -1
- package/footer/index.js +1 -1
- package/footer/index.js.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -511,12 +511,12 @@
|
|
|
511
511
|
`,il=q.default(u.ChevronDownIcon)`
|
|
512
512
|
transform: rotate(${e=>e.$expanded?-180:0}deg);
|
|
513
513
|
transition: transform 300ms ease-in-out;
|
|
514
|
-
`,al=n=>{var{type:r,className:i,children:a,actionLink:u,actionLinkIcon:p,sizeType:f="default",showIcon:h=!1,customIcon:m,maxCollapsedHeight:g}=n,v=X(n,["type","className","children","actionLink","actionLinkIcon","sizeType","showIcon","customIcon","maxCollapsedHeight"]);const[b,x]=t.useState(!1),[y,w]=t.useState(!1),{height:$,ref:j}=Ye();t.useEffect((()=>{S()}),[g,$]);const S=()=>{x(!g),w(k())},k=()=>!!g&&$>g;return e.jsxs(Qs,Object.assign({className:i,$type:r,$sizeType:f,"data-testid":v["data-testid"]},{children:[h&&e.jsx(Js,Object.assign({$sizeType:f,$type:r},{children:(()=>{if(r&&m)return m;switch(r){case"success":return e.jsx(d.TickCircleFillIcon,{});case"warning":return e.jsx(l.ExclamationTriangleFillIcon,{});case"error":return e.jsx(s.ExclamationCircleFillIcon,{});case"info":case"description":return e.jsx(c.ICircleFillIcon,{});default:return null}})()})),e.jsxs(tl,{children:[e.jsxs(nl,Object.assign({$maxCollapsedHeight:k()?g:void 0,$showMore:b,$hasActionLink:!!u},{children:[e.jsx("div",Object.assign({ref:j},{children:a})),u&&e.jsxs(el,Object.assign({"data-testid":"action-link",$type:r,$sizeType:f},u,{children:[u.children,p||e.jsx(o.ArrowRightIcon,{})]}))]})),y&&e.jsxs(rl,Object.assign({$sizeType:f,$type:r,type:"button",onClick:()=>x(!b)},{children:["Show ",b?"less":"more",e.jsx(il,{$expanded:b})]}))]})]}))},ol=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.
|
|
514
|
+
`,al=n=>{var{type:r,className:i,children:a,actionLink:u,actionLinkIcon:p,sizeType:f="default",showIcon:h=!1,customIcon:m,maxCollapsedHeight:g}=n,v=X(n,["type","className","children","actionLink","actionLinkIcon","sizeType","showIcon","customIcon","maxCollapsedHeight"]);const[b,x]=t.useState(!1),[y,w]=t.useState(!1),{height:$,ref:j}=Ye();t.useEffect((()=>{S()}),[g,$]);const S=()=>{x(!g),w(k())},k=()=>!!g&&$>g;return e.jsxs(Qs,Object.assign({className:i,$type:r,$sizeType:f,"data-testid":v["data-testid"]},{children:[h&&e.jsx(Js,Object.assign({$sizeType:f,$type:r},{children:(()=>{if(r&&m)return m;switch(r){case"success":return e.jsx(d.TickCircleFillIcon,{});case"warning":return e.jsx(l.ExclamationTriangleFillIcon,{});case"error":return e.jsx(s.ExclamationCircleFillIcon,{});case"info":case"description":return e.jsx(c.ICircleFillIcon,{});default:return null}})()})),e.jsxs(tl,{children:[e.jsxs(nl,Object.assign({$maxCollapsedHeight:k()?g:void 0,$showMore:b,$hasActionLink:!!u},{children:[e.jsx("div",Object.assign({ref:j},{children:a})),u&&e.jsxs(el,Object.assign({"data-testid":"action-link",$type:r,$sizeType:f},u,{children:[u.children,p||e.jsx(o.ArrowRightIcon,{})]}))]})),y&&e.jsxs(rl,Object.assign({$sizeType:f,$type:r,type:"button",onClick:()=>x(!b)},{children:["Show ",b?"less":"more",e.jsx(il,{$expanded:b})]}))]})]}))},ol=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.7555cbe1.js")}))).LottieSpinner}})))),sl=()=>e.jsx("div",{style:{height:"200px",width:"200px"}}),ll=q.default.div`
|
|
515
515
|
margin: 0 auto;
|
|
516
516
|
padding: 2rem 1rem;
|
|
517
|
-
`,cl=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.
|
|
517
|
+
`,cl=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.6f4de23a.js")}))).LottieLoadingDots}})))),dl=n=>e.jsx(pl,Object.assign({},n,{children:e.jsx(t.Suspense,Object.assign({fallback:e.jsx(ul,{})},{children:e.jsx(cl,{})}))})),ul=()=>e.jsx("div",{style:{height:"16px",width:"64px"}}),pl=q.default.div`
|
|
518
518
|
margin: 0 auto;
|
|
519
|
-
`,fl={[exports.ThemeContextKeys.colorScheme]:"base",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},hl={[exports.ThemeContextKeys.colorScheme]:"bookingsg",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"bookingsg"},ml={[exports.ThemeContextKeys.colorScheme]:"rbs",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"rbs",[exports.ThemeContextKeys.resourceScheme]:"rbs"},gl={[exports.ThemeContextKeys.colorScheme]:"mylegacy",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"mylegacy"},vl={[exports.ThemeContextKeys.colorScheme]:"ccube",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"ccube"},bl={[exports.ThemeContextKeys.colorScheme]:"oneservice",[exports.ThemeContextKeys.textStyleScheme]:"oneservice",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},xl=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.
|
|
519
|
+
`,fl={[exports.ThemeContextKeys.colorScheme]:"base",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},hl={[exports.ThemeContextKeys.colorScheme]:"bookingsg",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"bookingsg"},ml={[exports.ThemeContextKeys.colorScheme]:"rbs",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"rbs",[exports.ThemeContextKeys.resourceScheme]:"rbs"},gl={[exports.ThemeContextKeys.colorScheme]:"mylegacy",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"mylegacy"},vl={[exports.ThemeContextKeys.colorScheme]:"ccube",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"ccube"},bl={[exports.ThemeContextKeys.colorScheme]:"oneservice",[exports.ThemeContextKeys.textStyleScheme]:"oneservice",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},xl=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./lottie-animation.454bd84c.js")}))).LottieLoadingDotsSpinner}})))),yl=n=>{var{color:r}=n,a=X(n,["color"]);const o=i.useTheme(),s=r||Qo.Primary({theme:o||fl});return e.jsx($l,Object.assign({},a,{children:e.jsx(t.Suspense,Object.assign({fallback:e.jsx(wl,{})},{children:e.jsx(xl,{color:s})}))}))},wl=()=>e.jsx("div",{style:{height:"200px",width:"200px"}}),$l=q.default.div`
|
|
520
520
|
margin: 0 auto;
|
|
521
521
|
`;var jl,Sl={exports:{}};jl=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":
|
|
522
522
|
/*!**********************************************!*\
|
|
@@ -2270,7 +2270,7 @@ var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.pr
|
|
|
2270
2270
|
overflow: hidden;
|
|
2271
2271
|
`,Pf=q.default.canvas`
|
|
2272
2272
|
cursor: crosshair;
|
|
2273
|
-
`,zf=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./e-signature-canvas.
|
|
2273
|
+
`,zf=t.lazy((()=>G(void 0,void 0,void 0,(function*(){return{default:(yield Promise.resolve().then((function(){return require("./e-signature-canvas.b6b593f8.js")}))).ESignatureCanvas}})))),Hf=n=>{const{description:r,id:i,loadingProgress:a,loadingLabel:o="Uploading...",onChange:s,value:l}=n,c=X(n,["description","id","loadingProgress","loadingLabel","onChange","value"]),[d,p]=t.useState(!1),f=t.useRef(null),[h,m]=t.useState(l),g=kl.useMediaQuery({maxWidth:ns.mobileL}),v=()=>{var e;null===(e=f.current)||void 0===e||e.clear()},b=()=>{var e;if(f.current){const t=null===(e=f.current)||void 0===e?void 0:e.export();m(t),p(!1),null==s||s(t)}};t.useEffect((()=>{m(l)}),[l]);return e.jsxs("div",Object.assign({},c,{children:[e.jsx(Sf,{children:isNaN(a)?h?e.jsxs(e.Fragment,{children:[e.jsx(Of,{src:h,alt:"Signature preview"}),e.jsx(Cf,Object.assign({styleType:"light",onClick:()=>p(!0),id:i,"aria-label":"Edit signature"},{children:e.jsx(u.PencilIcon,{})}))]}):e.jsx(kf,Object.assign({type:"button",styleType:"secondary","aria-label":"Add signature",id:i,onClick:()=>p(!0)},{children:"Add signature"})):e.jsxs(Tf,{children:[o&&e.jsx(exports.Text.BodySmall,{children:o}),e.jsx(pf,{progress:a,"data-testid":`${i||"e-signature"}-progress-bar`})]})}),e.jsx(If,Object.assign({"data-testid":"signature-modal",show:d},{children:e.jsx(Ef,{children:e.jsxs(_f,Object.assign({onClose:()=>p(!1)},{children:[e.jsx(Mf,{children:"Signature"}),e.jsx(Rf,{children:e.jsxs(Af,{children:[e.jsx(Nf,{}),e.jsx(t.Suspense,Object.assign({fallback:null},{children:d&&e.jsx(zf,{ref:f,baseImageDataURL:h})}))]})}),e.jsxs(Bf,{children:[e.jsx(Ff,Object.assign({as:jc.Default,type:"button",styleType:g?"light":"link",icon:e.jsx(u.EraserIcon,{}),onClick:v},{children:"Clear"})),e.jsx(Ff,Object.assign({type:"button",onClick:b},{children:"Save"}))]})]}))})})),r?e.jsx(Df,Object.assign({weight:"regular",as:"p"},{children:r})):null]}))},Wf="https://assets.life.gov.sg/react-design-system/img/feedback-rating/feedback-rating-banner.png",Vf="Submit",Yf="Rate your experience",Uf=5,qf=q.default.input`
|
|
2274
2274
|
position: absolute;
|
|
2275
2275
|
opacity: 0;
|
|
2276
2276
|
width: 0;
|
|
@@ -4690,7 +4690,7 @@ object-assign
|
|
|
4690
4690
|
`,tM=q.default.div`
|
|
4691
4691
|
display: flex;
|
|
4692
4692
|
align-items: flex-start;
|
|
4693
|
-
gap:
|
|
4693
|
+
gap: 2rem;
|
|
4694
4694
|
margin-top: 1rem;
|
|
4695
4695
|
`,nM=()=>{const t=i.useTheme();return e.jsx("div",Object.assign({"data-testid":"resource-addon-section"},{children:"mylegacy"===(null==t?void 0:t.resourceScheme)?e.jsxs(e.Fragment,{children:[e.jsx(exports.Text.XSmall,{children:"My Legacy is a LifeSG initiative, brought to you by the following government agencies:"}),e.jsxs(tM,{children:[e.jsx(eM,{"data-testid":"footer-govtech-logo",src:"https://mylegacy.life.gov.sg/images/agencies/govtech-logo.png",alt:"GovTech Singapore"}),e.jsx(eM,{"data-testid":"footer-psd-logo",src:"https://mylegacy.life.gov.sg/images/agencies/psd-logo.png",alt:"Public Service Division",style:{maxHeight:"3.5rem"}})]})]}):null}))},rM=q.default.footer`
|
|
4696
4696
|
background: ${Qo.Neutral[7]};
|
|
@@ -7568,4 +7568,4 @@ object-assign
|
|
|
7568
7568
|
`,_H=q.default(al)`
|
|
7569
7569
|
margin-top: 0.5rem;
|
|
7570
7570
|
`,MH=({label:n,value:r,displayWidth:i="full",maskState:a,maskLoadingState:o,maskChar:s="•",maskRange:l,unmaskRange:c,maskRegex:d,disableMaskUnmask:u,alert:p,maskTransformer:f,onMask:h,onUnmask:m,onTryAgain:g})=>{const[v,b]=t.useState(a);t.useEffect((()=>{b(a)}),[a]);const x=()=>{switch("fail"===o&&g&&g(),v){case"masked":m&&m(),b("unmasked");break;case"unmasked":h&&h(),b("masked")}},y=()=>"string"!=typeof r?r:"masked"===v?sc.maskValue(r,{maskChar:s,maskRange:l,unmaskRange:c,maskRegex:d,maskTransformer:f}):r,j=()=>{switch(o){case"fail":return e.jsxs(e.Fragment,{children:[e.jsx(DH,{}),e.jsx(IH,{children:"Error"}),e.jsx(EH,{children:"Try again?"})]});case"loading":return e.jsxs(e.Fragment,{children:[e.jsx(TH,{}),e.jsx(OH,{children:"Retrieving..."})]});default:return e.jsxs(e.Fragment,{children:[y(),e.jsx(kH,{children:"masked"===v?e.jsx(w.EyeIcon,{"data-testid":"masked-icon"}):e.jsx($.EyeSlashIcon,{"data-testid":"unmasked-icon"})})]})}};return e.jsxs(SH,Object.assign({$widthStyle:i},{children:[e.jsx(Zb,{children:n}),"string"!=typeof r?r:v?u?e.jsx(exports.Text.Body,{children:y()}):e.jsx(CH,Object.assign({"data-testid":"clickable-label",onClick:x,"aria-busy":"loading"===o,"aria-live":"polite",type:"button"},{children:j()})):e.jsx(exports.Text.Body,{children:r}),p&&e.jsx(_H,Object.assign({sizeType:"small"},p))]}))},RH=Object.assign((t=>{var{items:n,title:r,description:i,topSection:a,bottomSection:o,children:s,background:l=!0,stretch:c,onMask:d,onUnmask:u,onTryAgain:p}=t,f=X(t,["items","title","description","topSection","bottomSection","children","background","stretch","onMask","onUnmask","onTryAgain"]);const h=e=>()=>{d&&d(e)},m=e=>()=>{u&&u(e)},g=e=>()=>{p&&p(e)},v=()=>{if(n&&n.length>0){const t=n.map(((t,n)=>e.jsx(MH,Object.assign({},t,{onMask:h(t),onUnmask:m(t),onTryAgain:g(t)}),n)));return e.jsx($H,Object.assign({$stretch:c},{children:t}))}return null};return e.jsx(bH,Object.assign({$background:l},f,{type:"grid"},{children:s||e.jsxs(e.Fragment,{children:[r&&e.jsx(xH,Object.assign({weight:"semibold",$stretch:c},{children:r})),i&&e.jsx(yH,Object.assign({$stretch:c},{children:i})),a&&e.jsx(wH,Object.assign({"data-id":"top-section",$stretch:c},{children:a})),v(),o&&e.jsx(wH,Object.assign({"data-id":"bottom-section",$stretch:c},{children:o}))]})}))}),{ItemSection:jH,Item:MH});exports.Accordion=Gs,exports.Alert=al,exports.BaseTheme=fl,exports.BookingSGTheme=hl,exports.BoxContainer=n=>{var{children:r,title:i,collapsible:a=!0,expanded:o=!1,callToActionComponent:s,displayState:l="default",subComponentTestIds:c,clickableHeader:d}=n,u=X(n,["children","title","collapsible","expanded","callToActionComponent","displayState","subComponentTestIds","clickableHeader"]);const[p,f]=t.useState(!a||o),h=Ye(),m=h.ref,g=kl.useMediaQuery({maxWidth:ns.mobileL}),v=e=>{e.stopPropagation(),f(!p)},b=oi({height:p?h.height:0}),x=()=>a&&e.jsx(Nl,Object.assign({onClick:v,type:"button","aria-label":p?"Collapse":"Expand","data-testid":(null==c?void 0:c.handle)||"handle"},{children:e.jsx(Bl,Object.assign({$expanded:p},{children:e.jsx(Fl,{"aria-hidden":!0})}))}));return e.jsxs(Cl,Object.assign({},u,{children:[e.jsxs(Il,Object.assign({"data-testid":"header",onClick:d&&a&&v,$interactive:d&&a},{children:[e.jsxs(_l,{children:[e.jsx(El,Object.assign({id:"title","data-testid":(null==c?void 0:c.title)||"title",weight:"semibold"},{children:i})),(()=>{switch(l){case"error":case"warning":return e.jsx(Ml,Object.assign({$displayState:l,"data-testid":(null==c?void 0:c.displayStateIcon)||`${l}-icon`},{children:e.jsx(Rl,{})}));default:return null}})(),g&&x()]}),s&&e.jsx(Al,Object.assign({$collapsible:a,"data-testid":"call-to-action-container"},{children:s})),!g&&x()]})),a?e.jsx(Ol,Object.assign({style:b,"data-testid":"expandable-container"},{children:e.jsx(Dl,Object.assign({ref:m},{children:r}))})):e.jsx(Tl,Object.assign({"data-testid":"non-expandable-container"},{children:e.jsx(Dl,{children:r})}))]}))},exports.Breadcrumb=n=>{var{links:r,fadeColor:i,fadePosition:a="both",itemStyle:o,id:s}=n,l=X(n,["links","fadeColor","fadePosition","itemStyle","id"]);const[c,d]=t.useState(!1),[u,p]=t.useState(!1),[f,h]=t.useState(!1),m="left"===a||"both"===a,g="right"===a||"both"===a,v=t.useRef(null),b=t.useRef(null),x=lc((()=>{const e=b.current,t=v.current;e&&t&&r&&r.length>1&&window.innerWidth<=Jo.tablet&&(e.scrollLeft=e.scrollWidth-t.offsetWidth)})),y=lc((()=>{const e=window.innerWidth<=Jo.tablet;d(e);const t=b.current,n=v.current;if(t&&n&&e&&t.scrollWidth>n.offsetWidth)return p(t.scrollLeft>=1),void h(t.scrollWidth-t.scrollLeft-1>n.offsetWidth);p(!1),h(!1)}));if(cc("resize",y),cc("scroll",y,b.current),dc((()=>{x(),y()}),[x,y]),Ye({onResize:x,targetRef:v,refreshMode:"debounce",refreshRate:50,skipOnMount:!0}),!r)return null;return e.jsxs(mc,Object.assign({ref:v,id:s||"breadcrumb"},l,{children:[e.jsx("nav",{children:e.jsx(gc,Object.assign({ref:b},{children:r.map(((t,n)=>{let i;return t.children?(i=n!==r.length-1&&t.href?e.jsx(wc,Object.assign({},t,{weight:"semibold"})):e.jsx(yc,Object.assign({weight:"semibold"},{children:t.children})),e.jsxs(bc,Object.assign({$styleProps:o},{children:[i,n<r.length-1&&e.jsx(xc,{})]}),n)):null}))}))}),c&&(()=>{let t;return t=Array.isArray(i)&&i.length>0?{left:i,right:i}:i||{left:void 0,right:void 0},e.jsxs(e.Fragment,{children:[u&&m&&e.jsx(vc,{$backgroundColor:t.left,$position:"left"}),f&&g&&e.jsx(vc,{$backgroundColor:t.right,$position:"right"})]})})()]}))},exports.Button=Ys,exports.ButtonWithIcon=jc,exports.CCubeTheme=vl,exports.Calendar=n=>{var{className:r,styleType:i="bordered",value:a,onSelect:o}=n,s=X(n,["className","styleType","value","onSelect"]);const[l,c]=t.useState(a);return t.useEffect((()=>{c(a)}),[a]),e.jsx(Cd,Object.assign({className:r,$hasBorder:"bordered"===i},{children:e.jsx(Sd,Object.assign({type:"standalone",value:l,initialCalendarDate:l,onSelect:e=>{c(e),null==o||o(e)}},s))}))},exports.Card=Td,exports.Checkbox=_d,exports.Color=Qo,exports.Component=KR,exports.CountdownTimer=n=>{var{className:r,align:i="right",timer:a,timestamp:o,notifyTimer:s,offset:l,mobileOffset:c,show:d,fixed:p=!0,"data-testid":f,onFinish:h,onNotify:m,onTick:g}=n,v=X(n,["className","align","timer","timestamp","notifyTimer","offset","mobileOffset","show","fixed","data-testid","onFinish","onNotify","onTick"]);const b=t.useRef(),x=t.useRef(!1),[y,w]=t.useState(0),[$,j]=t.useState(0),[S,k]=t.useState(0),[C,O]=t.useState(!1),[T]=((e,n,r)=>{const[i,a]=t.useState(e);t.useEffect((()=>{if(!n)return;const t=null!=r?r:Date.now()+1e3*e,i=o(t);return()=>clearTimeout(i)}),[r,n,e]);const o=e=>{const t=()=>{const n=e-Date.now(),r=n%1e3,i=Math.max(Math.round(n/1e3),0);if(a(i),0!==i)return setTimeout(t,r>500?r:r+1e3)};return t()};return[i]})(a,C,o),{ref:D,inView:I}=su({threshold:1,rootMargin:-1*y+"px 0px 0px 0px",initialInView:!0}),E=!p||I,_=kl.useMediaQuery({maxWidth:Jo.mobileL});t.useEffect((()=>{O(d)}),[d]),t.useEffect((()=>{0===T?N():T<=s&&(R(),A())}),[T]),t.useEffect((()=>{const e=function(){var e,t;const n=null!==(e=null==l?void 0:l.top)&&void 0!==e?e:168,r=null!==(t=null==c?void 0:c.top)&&void 0!==t?t:80,i=_?r:n;return i}();w(e)}),[_,null==l?void 0:l.top,null==c?void 0:c.top]),t.useEffect((()=>{if(b.current){const e=tu(M,300);return M(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}}),[b.current]),t.useEffect((()=>{x.current=!1}),[a,d]);const M=()=>{var e;const t=null===(e=b.current)||void 0===e?void 0:e.getBoundingClientRect();k(t.x),j(t.right)},R=()=>{g&&g(T)},A=()=>{m&&!x.current&&(x.current=!0,m())},N=()=>{O(!1),h&&h()};const B=()=>{const{minutes:t,seconds:n}=mu.toMinutesSeconds(T),r=1!==t?"mins":"min",i=1!==n?"secs":"sec";return e.jsxs(e.Fragment,{children:[e.jsx(u.ClockIcon,{}),e.jsx(pu,{children:"Time left:"}),e.jsxs(fu,{children:[t," ",r," ",String(n).padStart(2,"0")," ",i]})]})};if(void 0!==typeof window)return C||0===T?e.jsxs(lu,Object.assign({className:r},v,{children:[e.jsx("div",{ref:D}),e.jsx(du,Object.assign({"data-testid":f,"data-id":"countdown-wrapper",ref:b,inert:E?void 0:"",$visible:E,$warn:T<=s},{children:B()})),b.current&&!E&&(()=>{var t,n;const r=null!==(t=null==l?void 0:l.left)&&void 0!==t?t:"left"===i?S:void 0,a=null!==(n=null==l?void 0:l.right)&&void 0!==n?n:"right"===i?Math.floor(document.body.clientWidth-$):void 0;return e.jsx(uu,Object.assign({"data-testid":f,"data-id":"fixed-countdown-wrapper",$warn:T<=s,$top:y,$left:r,$right:a},{children:B()}))})()]})):e.jsx(e.Fragment,{})},exports.DataTable=n=>{var{id:r,headers:i,rows:a,className:o,sortIndicators:s,alternatingRows:l,loadState:c="success",enableMultiSelect:d,selectedIds:p,disabledIds:f,enableActionBar:h,enableSelectAll:m,enableStickyHeader:g,emptyView:v,actionBarContent:b,renderCustomEmptyView:x,onHeaderClick:y,onSelect:w,onSelectAll:$,onClearSelectionClick:j}=n,S=X(n,["id","headers","rows","className","sortIndicators","alternatingRows","loadState","enableMultiSelect","selectedIds","disabledIds","enableActionBar","enableSelectAll","enableStickyHeader","emptyView","actionBarContent","renderCustomEmptyView","onHeaderClick","onSelect","onSelectAll","onClearSelectionClick"]);const k=t.useRef(null),C=t.useRef(null),O=t.useRef(null),T=t.useRef(null),D=t.useRef(null),[I,E]=t.useState(!1),[_,M]=t.useState(!1),[R,A]=t.useState(!1),[N,B]=t.useState(!1),[F,L]=t.useState(!1),{ref:P,inView:z}=su(),H=t.useCallback((()=>{if(!D.current||!T.current)return;const e=D.current.scrollHeight>D.current.clientHeight;E(e),e?T.current.style.transform="translateY(0)":Z()}),[]);t.useEffect((()=>{H()}),[]),Ye({onResize:H});cc("scroll",(()=>{requestAnimationFrame((()=>{I?G():Z()})),D.current&&A(D.current.getBoundingClientRect().bottom<=window.innerHeight)}),"window"),t.useEffect((()=>{Q()}),[a]);const W=()=>(null==p?void 0:p.length)===a.length,V=e=>!!(null==p?void 0:p.includes(e)),Y=e=>!!l&&e%2==1,U=e=>!!(null==f?void 0:f.includes(e)),q=e=>{if(S["data-testid"])return`${S["data-testid"]}-${e}`},K=()=>i.length+(d?1:0),G=()=>{if(!D.current)return;const e=D.current.getBoundingClientRect();B(e.bottom>window.innerHeight+30&&e.top<window.innerHeight-200)},Z=()=>{if(!(k.current&&C.current&&D.current&&T.current&&O.current))return;const e=C.current.getBoundingClientRect();if(e.top>window.innerHeight){const t=e.bottom-window.innerHeight,n=k.current.getBoundingClientRect().height-O.current.clientHeight-32,r=Math.min(t,n);T.current.style.transform=`translateY(-${r}px)`}else T.current.style.transform="translateY(0)"},Q=()=>{k.current&&D.current&&L(k.current.clientHeight+(h?56:0)<D.current.clientHeight)},J=t=>{const{fieldKey:n,label:r,clickable:i=!1,style:a}="string"==typeof t?{fieldKey:t,label:t,style:void 0}:t;return e.jsx(Wu,Object.assign({"data-testid":q(`header-${n}`),$clickable:i,onClick:()=>i&&(null==y?void 0:y(n)),style:a,$isCheckbox:!1},{children:e.jsxs(Vu,{children:["string"==typeof r?e.jsx(exports.Text.H4,Object.assign({weight:"bold"},{children:r})):r,ee(n)]})}),n)},ee=t=>{const n=null==s?void 0:s[t];return n?"asc"===n?e.jsx(u.ArrowUpIcon,{"data-testid":q(`header-${t}-arrowup`)}):e.jsx(u.ArrowDownIcon,{"data-testid":q(`header-${t}-arrowdown`)}):e.jsx(e.Fragment,{})},te=()=>e.jsx(Wu,Object.assign({"data-testid":q("header-selection"),$clickable:!1,$isCheckbox:!0},{children:e.jsx(Ku,{children:m&&e.jsx(_d,{displaySize:"small",checked:W(),indeterminate:p&&0!==p.length&&!W(),onClick:()=>{$&&$(W())}})})})),ne=(t,n)=>{const r="string"!=typeof t?t.style:void 0,i="string"==typeof t?t:t.fieldKey,a=n.id.toString(),o=n[i],s=`${a}-${i}`;return e.jsx(Uu,Object.assign({"data-testid":q(`row-${s}`),style:r,$isCheckbox:!1},{children:"string"==typeof o||"number"==typeof o?e.jsx(qu,{children:o}):"function"==typeof o?o(n,{isSelected:V(a)}):o}),s)},re=t=>e.jsx(Uu,Object.assign({"data-testid":q(`row-${t}-selection`),$isCheckbox:!0},{children:e.jsx(Ku,{children:e.jsx(_d,{displaySize:"small",checked:V(t),onClick:()=>{w&&w(t,!V(t))},disabled:U(t)})})})),ie=()=>e.jsx(Gu,Object.assign({type:"no-item-found"},v,{title:(null==v?void 0:v.title)?"string"==typeof v.title?e.jsx(exports.Text.H3,{children:v.title}):v.title:e.jsx(exports.Text.H3,{children:"No <items> found"}),description:(null==v?void 0:v.description)?v.description:"No matching rows"}));return e.jsxs(Nu,Object.assign({id:r||"table-wrapper","data-testid":S["data-testid"]||"table",className:o,ref:D,onScroll:()=>{I&&D.current&&M(D.current.scrollTop+D.current.clientHeight>=D.current.scrollHeight)}},{children:[e.jsx(Bu,{children:e.jsxs(Fu,Object.assign({$end:R,$scrollable:I,ref:k,$stickyHeader:g},{children:[e.jsx("thead",Object.assign({ref:O},{children:e.jsxs(Hu,{children:[d&&te(),i.map(J)]})})),e.jsx(Lu,Object.assign({$showLastRowBottomBorder:F},{children:"success"===c?!a||a.length<1?e.jsx("tr",{children:e.jsx(Zu,Object.assign({colSpan:K()},{children:x?x():ie()}))}):e.jsx(e.Fragment,{children:null==a?void 0:a.map(((t,n)=>e.jsxs(Yu,Object.assign({"data-testid":q(`row-${t.id.toString()}`),$alternating:Y(n),$isSelectable:d,$isSelected:V(t.id.toString())},{children:[d&&re(t.id.toString()),i.map((e=>ne(e,t)))]}),t.id.toString())))}):e.jsx("tr",{children:e.jsx("td",Object.assign({colSpan:K()},{children:e.jsx(Xu,{children:"loading"===c&&e.jsx(yl,{})})}))})}))]}))}),h&&p&&p.length>0&&(()=>{var t,n,r;return e.jsx(Pu,Object.assign({ref:T,$fixed:N,$left:null===(n=null===(t=null==k?void 0:k.current)||void 0===t?void 0:t.getBoundingClientRect())||void 0===n?void 0:n.left,$width:null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.clientWidth},{children:e.jsxs(zu,Object.assign({$float:(I?!_:!z)||N,$scrollable:I},{children:[e.jsx(exports.Text.H5,Object.assign({weight:"semibold"},{children:`${p.length} item${p.length>1?"s":""} selected`})),e.jsx(Ys.Small,Object.assign({styleType:"link",onClick:j},{children:"Clear selection"})),b]}))}))})(),e.jsx("div",{ref:e=>{C.current=e,P(e)}})]}))},exports.DateInput=Mp,exports.DateNavigator=Bp,exports.DateRangeInput=Kp,exports.DesignToken=Rs,exports.Divider=t=>{var{thickness:n=1,lineStyle:r="solid",layoutType:i="flex",color:a,className:o,mobileCols:s=4,tabletCols:l=8,desktopCols:c=12}=t,d=X(t,["thickness","lineStyle","layoutType","color","className","mobileCols","tabletCols","desktopCols"]);switch(i){case"flex":return e.jsx(Jp,Object.assign({className:o,$thickness:n,$lineStyle:r,$color:a},d));case"grid":return e.jsx(Gp,Object.assign({className:o,mobileCols:s,tabletCols:l,desktopCols:c},d,{children:e.jsx(Jp,{$thickness:n,$lineStyle:r,$color:a})}))}},exports.Drawer=n=>{var{children:r,heading:i,show:a,onClose:o,onOverlayClick:s}=n,l=X(n,["children","heading","show","onClose","onOverlayClick"]);const[c,d]=t.useState(a),[u]=t.useState((()=>oc.generate())),p=t.useRef();t.useEffect((()=>{if(!a){const e=setTimeout((()=>d(!1)),500);return()=>clearTimeout(e)}d(!0)}),[a]);return e.jsx(rf,Object.assign({show:c,enableOverlayClick:!0,onOverlayClick:s},{children:e.jsxs(sf,Object.assign({$show:a,"data-testid":"drawer",onClick:e=>{e.stopPropagation()},role:"dialog","aria-labelledby":u,onTransitionEnd:e=>{"visibility"===e.propertyName&&a&&p.current&&p.current.focus()}},l,{children:[e.jsxs(lf,{children:[e.jsx(df,Object.assign({id:u,ref:p,tabIndex:-1},{children:i})),e.jsx(cf,Object.assign({"aria-label":"Close drawer",onClick:o,focusHighlight:!1},{children:e.jsx(g.CrossIcon,{"aria-hidden":!0})}))]}),e.jsx(uf,{children:r})]}))}))},exports.ESignature=Hf,exports.ErrorDisplay=Mu,exports.FeedbackRating=t=>{const{imgSrc:n,buttonLabel:r,description:i,rating:a,onRatingChange:o,onSubmit:s}=t,l=X(t,["imgSrc","buttonLabel","description","rating","onRatingChange","onSubmit"]),c=null!=n?n:Wf,d=null!=i?i:Yf;return e.jsxs(th,Object.assign({},l,{children:[c&&e.jsx(eh,{"data-testid":"feedback-banner-image",src:c,alt:"",onError:e=>e.currentTarget.style.display="none"}),e.jsxs(nh,{children:[e.jsx(exports.Text.H3,Object.assign({weight:"semibold"},{children:d})),e.jsx(Jf,{description:d,rating:a,onRatingChange:o}),e.jsx(rh,Object.assign({disabled:!a,onClick:s,type:"button"},{children:null!=r?r:Vf}))]})]}))},exports.FileDownload=({id:t,fileItems:n,title:r,description:i,onDownload:a,"data-testid":o,className:s,styleType:l="bordered"})=>{const c=e=>G(void 0,void 0,void 0,(function*(){a&&(yield a(e))}));return e.jsxs(ih,Object.assign({id:t?`${t}-file-download`:"file-download",className:s,"data-testid":o,$border:"bordered"===l},{children:[(r||i)&&e.jsxs(ah,{children:[r?"string"==typeof r?e.jsx(oh,Object.assign({weight:"regular"},{children:r})):e.jsx(sh,{children:r}):null,i?"string"==typeof i?e.jsx(lh,Object.assign({weight:"regular"},{children:i})):e.jsx(ch,{children:i}):null]}),e.jsx(dh,{children:n&&n.length>0&&n.map((t=>e.jsx(Th,{fileItem:t,onDownload:c},t.id)))})]}))},exports.FileUpload=({styleType:n="bordered",fileItems:r,title:i,description:a,maxFiles:o,warning:s,className:l,name:c,id:d,"data-testid":u,accept:p,capture:f,multiple:h,disabled:m,sortable:g=!1,fileDescriptionMaxLength:v,editableFileItems:b=!1,errorMessage:x,readOnly:y,onChange:w,onDelete:$,onEdit:j,onSort:S})=>{const k=t.useRef(),[C,O]=t.useState(),T=()=>!!o&&r.length>=o;return e.jsx(Ih.Provider,Object.assign({value:{activeId:C,setActiveId:O}},{children:e.jsxs(ag,Object.assign({ref:k,onChange:e=>{!m&&w&&w(e)},id:d?`${d}-dropzone`:"dropzone",accept:p,capture:f,border:"bordered"===n,className:l,"data-testid":u,name:c,multiple:h,disabled:m||T()||y},{children:[(i||a)&&e.jsxs(n_,{children:[i?"string"==typeof i?e.jsx(r_,Object.assign({weight:"regular"},{children:i})):e.jsx(i_,{children:i}):null,a?"string"==typeof a?e.jsx(a_,Object.assign({weight:"regular"},{children:a})):e.jsx(o_,{children:a}):null]}),s&&e.jsx(s_,Object.assign({type:"warning"},{children:s})),e.jsx(t_,{fileItems:r,editableFileItems:b,fileDescriptionMaxLength:v,sortable:g,disabled:m,readOnly:y,onItemDelete:e=>{$&&$(e)},onItemUpdate:e=>{j&&j(e)},onSort:e=>{S&&S(e)}}),x&&e.jsx(u_,Object.assign({type:"error"},{children:x})),!y&&e.jsxs(l_,{children:[e.jsx(c_,Object.assign({type:"button",styleType:"secondary",disabled:!!C||m||T(),onClick:e=>{m||(e.preventDefault(),k.current&&k.current.openFileDialog())}},{children:"Upload files"})),e.jsx(d_,{children:"or drop them here"})]})]}))}))},exports.Filter=V_,exports.Footer=t=>{var{children:n,links:r,lastUpdated:a,disclaimerLinks:o,showDownloadAddon:s,showResourceAddon:l,logoSrc:c,copyrightInfo:d,onFooterLinkClick:u,layout:p="default"}=t,f=X(t,["children","links","lastUpdated","disclaimerLinks","showDownloadAddon","showResourceAddon","logoSrc","copyrightInfo","onFooterLinkClick","layout"]);const h="stretch"===p,m=i.useTheme(),g=t=>t.map(((t,n)=>{const r=X(t,["data-options"]);return e.jsx("li",{children:e.jsx(iM,Object.assign({},r,{onClick:e=>((e,t)=>{t.onClick?(e.preventDefault(),t.onClick(e)):u&&(e.preventDefault(),u(t))})(e,t)}))},n)}));return e.jsxs(rM,Object.assign({},f,{children:[(()=>{let t=null;if(n)return n;if(r||s){const n=J_.getFooterLogoAttribute(null==m?void 0:m.resourceScheme),{src:i}=n,a=X(n,["src"]);t=e.jsxs(e.Fragment,{children:[e.jsx(oM,Object.assign({"data-testid":"logo-section"},{children:e.jsx("img",Object.assign({src:c||i,"data-testid":"logo"},a))})),(null==r?void 0:r[0])&&e.jsx(sM,Object.assign({"data-testid":"link-col-1"},{children:g(r[0])}),"link-col-1"),(null==r?void 0:r[1])&&e.jsx(sM,Object.assign({"data-testid":"link-col-2"},{children:g(r[1])}),"link-col-2"),s&&e.jsx(lM,{children:e.jsx(X_,{})}),!s&&l&&e.jsx(lM,{children:e.jsx(nM,{})})]})}return t?e.jsx(aM,Object.assign({type:"grid",stretch:h},{children:t})):null})(),e.jsx(cM,{}),e.jsxs(dM,Object.assign({type:"grid",stretch:h},{children:[e.jsx(uM,{children:(()=>{const t=J_.getDisclaimerLinks(null==m?void 0:m.resourceScheme,o);return Object.keys(t).map((n=>e.jsx(fM,Object.assign({},t[n]),n)))})()},"disclaimer"),e.jsx(pM,{children:e.jsx(exports.Text.XSmall,Object.assign({"data-testid":"copyright-text"},{children:d||e.jsxs(e.Fragment,{children:["©"," ",J_.getCopyrightInfo(a,null==m?void 0:m.resourceScheme)]})}))},"copyright")]}))]}))},exports.Form=jE,exports.FullscreenImageCarousel=XR,exports.HistogramSlider=_x,exports.IconButton=mf,exports.ImageButton=ZR,exports.Input=Bx,exports.InputGroup=Lj,exports.InputMultiSelect=ED,exports.InputNestedMultiSelect=RD,exports.InputNestedSelect=AD,exports.InputRangeSelect=iI,exports.InputRangeSlider=Cx,exports.InputSelect=aI,exports.InputSlider=pI,exports.Layout=ix,exports.LinkList=n=>{var{items:r,maxShown:i,style:a="default",onItemClick:o}=n,s=X(n,["items","maxShown","style","onItemClick"]);const[l,c]=t.useState(!i||i>=r.length),d=i?r.slice(0,i):r,u=i?r.slice(i):[],p=Ye(),f=p.ref,h=(e,t)=>{t.onClick?(e.preventDefault(),t.onClick(e)):o&&(e.preventDefault(),o(t,e))},m=()=>{c(!l)},g=(t,n,r,i)=>{const o="small"===a?tA:eA;return e.jsxs(e.Fragment,{children:[e.jsxs(iA,{children:[e.jsx(o,Object.assign({"data-testid":`link-title-${t}`,weight:"semibold"},{children:n})),r&&e.jsx(aA,Object.assign({"data-testid":`link-description-${t}`},{children:r})),i]}),e.jsx(nA,{})]})},v=oi({height:l?p.height:0});return e.jsxs(JR,Object.assign({},s,{children:[d.map(((t,n)=>{const{title:r,description:i,secondaryDescription:a,onClick:o}=t,s=X(t,["title","description","secondaryDescription","onClick"]);return e.jsx(rA,Object.assign({"data-testid":`list-item-shown-${n}`,onClick:e=>h(e,t)},s,{children:g(n,r,i,a)}),`list-item-shown-${n}`)})),u.length>0&&e.jsx(oA,Object.assign({style:v,"data-testid":"minimised-content"},{children:e.jsx(sA,Object.assign({ref:f},{children:u.map(((t,n)=>{const{title:r,description:i,onClick:a,secondaryDescription:o}=t,s=X(t,["title","description","onClick","secondaryDescription"]);return e.jsx(rA,Object.assign({"data-testid":`list-item-minimised-${n}`,onClick:e=>h(e,t)},s,{children:g(n,r,i,o)}),`list-item-minimised-${n}`)}))}))})),u.length>0&&e.jsxs(uA,Object.assign({type:"button",onClick:m,"data-testid":"toggle-button",$showMinimised:l},{children:[e.jsx(lA,Object.assign({weight:"semibold","data-testid":"toggle-button-label"},{children:l?"View less":"View more"})),l?e.jsx(dA,{}):e.jsx(cA,{})]}))]}))},exports.LoadingDots=dl,exports.LoadingDotsSpinner=yl,exports.LoadingSpinner=n=>e.jsx(ll,Object.assign({},n,{children:e.jsx(t.Suspense,Object.assign({fallback:e.jsx(sl,{})},{children:e.jsx(ol,{})}))})),exports.Markup=fA,exports.MaskedInput=Jj,exports.Masonry=gA,exports.Masthead=bA,exports.MediaQuery=ts,exports.MediaWidths=ns,exports.Modal=wf,exports.MyLegacyTheme=gl,exports.NBComponent=kN,exports.Navbar=fN,exports.NavbarHeight=hN,exports.NavbarMobileHeight=3.5,exports.NotificationBanner=TN,exports.OneServiceTheme=bl,exports.OtpInput=n=>{var{id:r,value:i=[],"data-testid":a,className:o,cooldownDuration:s,actionButtonProps:l,errorMessage:c,numOfInput:d,onChange:u,onCooldownStart:p,onCooldownEnd:f}=n,h=X(n,["id","value","data-testid","className","cooldownDuration","actionButtonProps","errorMessage","numOfInput","onChange","onCooldownStart","onCooldownEnd"]);const m=null!=l?l:{},{disabled:g,onClick:v,styleType:b="secondary"}=m,x=X(m,["disabled","onClick","styleType"]),y=t.useRef([]),w=t.useRef(u),[$,j]=t.useState(new Array(d).fill("")),[S,k]=t.useState(s),[C,O]=t.useState(new Date);t.useEffect((()=>{var e;return null===(e=null==y?void 0:y.current[0])||void 0===e||e.focus(),document.addEventListener("paste",I),()=>document.removeEventListener("paste",I)}),[]),t.useEffect((()=>{if(0!==s){p&&p();const e=M();return()=>e()}}),[C]),t.useEffect((()=>{w.current=u}),[u]),t.useEffect((()=>{i.length===d&&j(i)}),[i]);const T=e=>t=>{var n;const r=t.target.value.replace(/[^0-9]/g,"");if(E(r)){const t=[...$];t[e]=r.substring(r.length-1),null===(n=y.current[e+1])||void 0===n||n.focus(),j(t),u&&u(t)}},D=e=>t=>{var n;const{key:r,code:i}=t;if("Backspace"===r||"Backspace"===i){const t=[...$];""!==t[e]?t[e]="":0!==e&&(t[e-1]="",null===(n=y.current[e-1])||void 0===n||n.focus()),j(t),u&&u(t)}},I=e=>{const t=e.clipboardData.getData("text"),n=t.split("");t&&E(t,d)?(j(n),w.current&&w.current(n)):e.preventDefault()},E=(e,t=1)=>!!e&&RegExp(`^[0-9]{${t}}$`).test(e),_=()=>{const e=Date.now(),t=1e3*s;return e<C.valueOf()+t},M=()=>{const e=setInterval((()=>{const t=Date.now(),n=1e3*s,r=Math.ceil((C.valueOf()+n-t)/1e3);k(r),r<=0&&(f&&f(),clearInterval(e))}),1e3);return()=>{clearInterval(e)}},R=(e,t,n)=>n?`${n}-${t}-${e+1}`:`${t}-${e+1}`;return e.jsxs(RB,Object.assign({id:r,"data-testid":a,className:o},{children:[e.jsx(AB,{children:$.map(((t,n)=>e.jsx(NB,Object.assign({id:R(n,"otp-input",r),"data-testid":R(n,"otp-input",a),"aria-label":`Enter OTP character ${n+1}`,ref:e=>y.current[n]=e,type:"text",inputMode:"numeric",value:t,error:!!c,onChange:T(n),onKeyDown:D(n),autoComplete:"off"},h),n)))}),c&&e.jsx(Qb,{children:c}),e.jsx(BB,Object.assign({styleType:b,type:"button"},x,{onClick:e=>{j(new Array(d).fill("")),_()||(O(new Date),k(s)),v&&v(e)},disabled:g||_()},{children:x.children?x.children:"Resend OTP"+(S?` in ${S} second${S>1?"s":""}`:"")}))]}))},exports.Overlay=rf,exports.Pagination=ZB,exports.PhoneNumberInput=ZD,exports.Pill=tF,exports.Popover=sF,exports.PopoverInline=Yb,exports.PopoverTrigger=zb,exports.PopoverV2=Lb,exports.PredictiveTextInput=eI,exports.ProgressIndicator=t=>{var{steps:n,currentIndex:r,displayExtractor:i,fadeColor:a,fadePosition:o="both"}=t,s=X(t,["steps","currentIndex","displayExtractor","fadeColor","fadePosition"]);const l=kl.useMediaQuery({maxWidth:ns.tablet}),c=e=>i?i(e):e.toString(),d=(e,t)=>JF(`${((e,t)=>e<t?"Completed step":e===t?"Current step":"Uncompleted step")(e,t)} ${e}`);if(!n.length)return null;return e.jsxs(lF,Object.assign({},s,{children:[e.jsx(cF,{children:n.map(((t,n)=>{const i=n<=r;return e.jsx(fF,Object.assign({id:d(n,r)},{children:e.jsx(dF,{highlighted:i})}),n)}))}),e.jsx(cF,{children:l?e.jsxs(fF,Object.assign({id:d(r,r)},{children:[e.jsxs(pF,Object.assign({weight:"semibold",id:`${d(r,r)}-counter`},{children:["Step ",r+1," of ",n.length]})),e.jsx(pF,Object.assign({weight:"regular",id:`${d(r,r)}-title`},{children:c(n[r])}))]}),r):n.map(((t,n)=>{const i=n<=r,a=n===r,o=a?"bold":"regular";return e.jsx(fF,Object.assign({id:`${d(n,r)}-title`},{children:e.jsx(uF,Object.assign({highlighted:i,weight:o,"aria-current":a},{children:c(t)}))}),n)}))})]}))},exports.RBSTheme=ml,exports.RadioButton=t=>{var{className:n,checked:r,disabled:i,onChange:a}=t,o=X(t,["className","checked","disabled","onChange"]);return e.jsxs(eL,Object.assign({$selected:r,$disabled:i,className:n,"data-testid":"radio-button"},{children:[e.jsx(tL,Object.assign({type:"radio","data-testid":"radio-input",onChange:e=>{i||null==a||a(e)},checked:r,disabled:i},o)),e.jsx(nL,{id:"checkmark","data-testid":"checkmark",$disabled:i,$selected:r})]}))},exports.SelectHistogram=uI,exports.Sidenav=SL,exports.SignatureCanvas=Pf,exports.SignatureCanvasContainer=Lf,exports.SmartAppBanner=VL,exports.Tab=aP,exports.Tag=t=>{var{type:n,colorType:r="black",children:i,interactive:a=!1,icon:o,iconPosition:s="left"}=t,l=X(t,["type","colorType","children","interactive","icon","iconPosition"]);return e.jsxs(oP,Object.assign({as:a?"button":"div",$type:n,$color:r,$interactive:a},l,{children:["left"===s&&o,e.jsx(sP,{children:i}),"right"===s&&o]}))},exports.TextList=EI,exports.TextStyle=ds,exports.TextStyleHelper=gs,exports.Textarea=bI,exports.TimeRangePicker=pE,exports.TimeSlotBar=({"data-testid":n,className:r,variant:i="default",startTime:a,endTime:o,slots:s,onSlotClick:l,onClick:c,styleAttributes:d})=>{const u=t.useRef(null),[p,f]=t.useState(0),[h,m]=t.useState(0),g=dP(i),v=2.5*g;t.useEffect((()=>{const e=u.current;return e&&e.addEventListener("scroll",b),()=>{e&&e.removeEventListener("scroll",b)}}),[]);const b=()=>{u.current&&f(u.current.scrollLeft)},x=e=>{u.current&&u.current.scrollBy({left:"left"===e?-v:v,behavior:"smooth"})};Ye({onResize:()=>{u.current&&m(u.current.clientWidth)},targetRef:u,refreshMode:"debounce",refreshRate:50});const y=e=>e<=g/2,w=e=>{if(n)return`${n}-${e}`},$=(e,t,n)=>{const r=0===e.minute();if("default"===n)return r;return r&&(t?e.hour()%2==0:e.hour()%2==1)};return e.jsxs(pP,Object.assign({className:r},{children:[e.jsxs(gP,Object.assign({"data-testid":n,ref:u,$variant:i},{children:[e.jsx(vP,Object.assign({"data-testid":w("time-marker-wrapper"),"data-id":"marker-wrapper"},{children:(()=>{const t=[],n=Pl(a,"HH:mm"),r=Pl(o,"HH:mm"),s=n.hour()%2==0;for(let a=n;a.isBefore(r);a=a.add(30,"minute")){const n=$(a,s,i);t.push(e.jsx(xP,Object.assign({$isLongMarker:n,$variant:i},{children:n&&e.jsx(yP,Object.assign({weight:"semibold"},{children:lP.formatHourlyDisplay(a.format("HH:mm"))}))}),a.format("HH:mm")))}return t})()})),e.jsxs(bP,Object.assign({"data-testid":w("time-slot-wrapper"),"data-id":"slot-wrapper"},{children:[d&&(()=>{const{backgroundColor:t,backgroundColor2:n,styleType:r="default"}=d,s=lP.calculateWidth(a,o,g),l=!!c&&"default"===i;return e.jsxs(e.Fragment,{children:[e.jsx($P,{$variant:i}),e.jsx(wP,{"data-testid":w("default-timeslot"),$width:s,$variant:i,$left:0,$styleType:r,$bgColor:t,$bgColor2:n,$clickable:l,onClick:l?c:void 0},"default-timeslot")]})})(),s.map((t=>{const{id:n,startTime:r,endTime:s,label:c,clickable:d=!0,styleAttributes:u}=t,{color:p,styleType:f="default",backgroundColor:h,backgroundColor2:m}=u,v=lP.calculateWidth(r,s,g),b=lP.calculateWidth(a,r,g),x=d&&"default"===i;return e.jsxs("div",{children:[e.jsx($P,{$variant:i,style:{left:`${b}px`}}),e.jsx(wP,Object.assign({"data-testid":w(`${n}-timeslot`),$width:v,$left:b,$styleType:f,$variant:i,$bgColor:h,$bgColor2:m,$clickable:x,onClick:()=>x&&l(t)},{children:c&&"default"===i&&e.jsx(jP,Object.assign({$slotWidth:v,$color:p,weight:"semibold"},{children:y(v)?"...":c}))})),o!==s&&e.jsx($P,{$variant:i,style:{left:`${b+v}px`}})]},n)}))]}))]})),e.jsx(e.Fragment,{children:p>0&&e.jsx(fP,Object.assign({"data-testid":w("arrow-left"),$direction:"left",$variant:i,focusHighlight:!1,focusOutline:"none",onClick:()=>{x("left")}},{children:e.jsx(mP,{})}))}),p+h<lP.calculateWidth(a,o,g)?e.jsx(fP,Object.assign({"data-testid":w("arrow-right"),$direction:"right",$variant:i,focusHighlight:!1,focusOutline:"none",onClick:()=>{x("right")}},{children:e.jsx(hP,{})})):e.jsx(e.Fragment,{})]}))},exports.TimeSlotBarWeek=n=>{var{disabledDates:r,onWeekDisplayChange:i,onChange:a,value:o,minDate:s,maxDate:l,startTime:c,endTime:d,slots:u,interval:p,variant:f,maxVisibleCellHeight:h,showNavigationHeader:m=!0,enableSelection:g,onSlotClick:v,currentCalendarDate:b}=n,x=X(n,["disabledDates","onWeekDisplayChange","onChange","value","minDate","maxDate","startTime","endTime","slots","interval","variant","maxVisibleCellHeight","showNavigationHeader","enableSelection","onSlotClick","currentCalendarDate"]);const[y,w]=t.useState(o),$=t.useRef(),j=t.useRef(void 0);t.useEffect((()=>{w(o)}),[o]);const S=e=>{const t=e.format(GP);w(t),a&&a(t)},k=(e,t)=>{v&&v(e,t)},C=e=>{if(i){const t={week:{firstDayOfWeek:e.startOf("week").format(GP),lastDayOfWeek:e.endOf("week").format(GP)},month:e.month()+1,year:e.year()};i(t)}};return e.jsx(XP,Object.assign({},x,{children:e.jsx(Xc,Object.assign({ref:$,type:"standalone",dynamicHeight:!0,initialCalendarDate:ic.toDayjs(y||b).endOf("week").format(GP),selectedStartDate:y,getLeftArrowDate:e=>e.subtract(1,"week"),getRightArrowDate:e=>e.add(1,"week"),isLeftArrowDisabled:e=>s&&Pl(e).subtract(1,"week").isBefore(s,"week"),isRightArrowDisabled:e=>l&&Pl(e).add(1,"week").isAfter(l,"week"),onCalendarDateChange:e=>{j.current&&j.current.isSame(e,"week")||C(e),j.current=e},showNavigationHeader:m,minDate:s,maxDate:l,getMonthHeaderLabel:e=>Pl(e).endOf("week").format("MMM"),getYearHeaderLabel:e=>Pl(e).endOf("week").format("YYYY")},{children:({calendarDate:t})=>(t=>e.jsx(KP,{calendarDate:t,disabledDates:r,selectedDate:y,minDate:s,maxDate:l,startTime:c,endTime:d,onSelect:S,slots:u,interval:p,variant:f,maxVisibleCellHeight:h,enableSelection:g,onSlotClick:k}))(t)}))}))},exports.TimeSlotWeekView=n=>{var{disabledDates:r,onWeekDisplayChange:i,onChange:a,value:o,minDate:s,maxDate:l,slots:c,showNavigationHeader:d=!0,enableSelection:u,onSlotClick:p,currentCalendarDate:f}=n,h=X(n,["disabledDates","onWeekDisplayChange","onChange","value","minDate","maxDate","slots","showNavigationHeader","enableSelection","onSlotClick","currentCalendarDate"]);const[m,g]=t.useState(o),v=t.useRef(),b=t.useRef(void 0);t.useEffect((()=>{g(o)}),[o]);const x=e=>{const t=e.format(oz);g(t),a&&a(t)},y=(e,t)=>{p&&p(e,t)},w=e=>{if(i){const t={week:{firstDayOfWeek:e.startOf("week").format(oz),lastDayOfWeek:e.endOf("week").format(oz)},month:e.month()+1,year:e.year()};i(t)}};return e.jsx(az,Object.assign({},h,{children:e.jsx(Xc,Object.assign({ref:v,type:"standalone",dynamicHeight:!0,initialCalendarDate:ic.toDayjs(m||f).endOf("week").format(oz),selectedStartDate:m,getLeftArrowDate:e=>e.subtract(1,"week"),getRightArrowDate:e=>e.add(1,"week"),isLeftArrowDisabled:e=>s&&Pl(e).subtract(1,"week").isBefore(s,"week"),isRightArrowDisabled:e=>l&&Pl(e).add(1,"week").isAfter(l,"week"),onCalendarDateChange:e=>{b.current&&b.current.isSame(e,"week")||w(e),b.current=e},showNavigationHeader:d,minDate:s,maxDate:l,getMonthHeaderLabel:e=>Pl(e).endOf("week").format("MMM"),getYearHeaderLabel:e=>Pl(e).endOf("week").format("YYYY")},{children:({calendarDate:t})=>e.jsx(iz,{calendarDate:t,disabledDates:r,selectedDate:m,minDate:s,maxDate:l,onSelect:x,slots:c,enableSelection:u,onSlotClick:y})}))}))},exports.TimeTable=n=>{var{date:r,emptyContentMessage:i,rowData:a,loading:o,minTime:s="00:00",maxTime:l="23:00",minDate:c,maxDate:d,totalRecords:u,showCurrentDateAsToday:p,showDateAsShortForm:f,onPage:h,onRefresh:m,onNextDayClick:g,onPreviousDayClick:v,onCalendarDateSelect:b}=n,x=X(n,["date","emptyContentMessage","rowData","loading","minTime","maxTime","minDate","maxDate","totalRecords","showCurrentDateAsToday","showDateAsShortForm","onPage","onRefresh","onNextDayClick","onPreviousDayClick","onCalendarDateSelect"]);const y=x["data-testid"]||"timetable",w=mu.roundToNearestInterval(s,60),$=mu.roundToNearestInterval(l,60,!0),j=mu.generateHourlyIntervals(w,$),S=0===u||Qj.isEmpty(a),k=S||a.length===u,C=t.useRef(null),O=t.useRef(null),[T,D]=t.useState(!1),[I,E]=t.useState(!1),[_,M]=t.useState(0),[R,A]=t.useState(!1);t.useEffect((()=>{const e=Qj.throttle((()=>{if(C.current&&(D(C.current.scrollLeft>0),E(C.current.scrollTop>0)),R)return;const{scrollTop:e,clientHeight:t,scrollHeight:n}=C.current;Math.ceil(e+t)>=n-1&&!k&&h&&!o&&(A(!0),h())}),100),t=C.current;return t&&t.addEventListener("scroll",e),()=>{t&&t.removeEventListener("scroll",e)}}),[k,R,o,h]),t.useEffect((()=>{A(!1)}),[a]);Ye({onResize:()=>{if(C.current){const e=Math.ceil(60*j.length/bz),t=(C.current.clientWidth-xz)/e;M(t>21?t:21)}},targetRef:C,refreshMode:"debounce",refreshRate:50});const N=(()=>{let e=0;const t=vz.length;return()=>{const n=vz[e],r=yz[e];return e=(e+1)%t,{mainColor:n,alternateColor:r}}})(),B=({wrapper:e,children:t})=>e(t),F=()=>{if(!o&&R)return e.jsx(Uz,Object.assign({$isScrolled:T},{children:e.jsx(eH,{})}))},L=()=>{if(!o&&R)return e.jsx(Zz,Object.assign({"data-testid":"lazy-loader"},{children:j.map(((t,n)=>e.jsx(Qz,Object.assign({$width:4*_},{children:e.jsx(eH,{})}),`lazy-load-cell-${n}`)))}))};return S?e.jsxs(Bz,Object.assign({},x,{"data-testid":y},{children:[e.jsx(Oz,{selectedDate:r,loading:o||R,tableContainerRef:C,minDate:c,maxDate:d,totalRecords:u,showCurrentDateAsToday:p,showDateAsShortForm:f,onPreviousDayClick:v,onNextDayClick:g,onRefresh:m,onCalendarDateSelect:b}),e.jsx(Fz,Object.assign({className:"empty-container"},{children:o?e.jsx(Xz,{$isEmptyContent:S}):e.jsx(Gz,{type:"no-item-found",description:i})}))]})):e.jsxs(Bz,Object.assign({},x,{"data-testid":y},{children:[e.jsx(Oz,{"data-id":"timetable-date-navigator",selectedDate:r,loading:o||R,tableContainerRef:C,minDate:c,maxDate:d,totalRecords:u,showCurrentDateAsToday:p,showDateAsShortForm:f,onPreviousDayClick:v,onNextDayClick:g,onRefresh:m,onCalendarDateSelect:b}),e.jsxs(Lz,Object.assign({"data-id":"timetable-container","data-testid":"timetable-container",ref:C,$loading:o,$allRecordsLoaded:k||!h},{children:[e.jsx(Pz,{$isScrolledY:I,$isScrolledX:T}),e.jsx(zz,Object.assign({$numOfRows:a.length,$isScrolled:T,"data-testid":"row-header-column-id"},{children:e.jsxs(e.Fragment,{children:[a.map(((n,r)=>e.jsx(B,Object.assign({wrapper:e=>((e,n)=>{if(!e.rowHeaderPopover)return n;const r={position:"bottom-start",rootNode:C,customOffset:e.rowHeaderPopover.offset,children:n,trigger:e.rowHeaderPopover.trigger,delay:e.rowHeaderPopover.delay,popoverContent:e.rowHeaderPopover.content};return t.createElement(tH,Object.assign({},r,{key:`${e.id}-popover-trigger`,zIndex:2}),n)})(n,e)},{children:e.jsxs(Uz,Object.assign({$isScrolled:T},{children:[e.jsx(qz,Object.assign({$isClickable:!!n.onRowNameClick,onClick:e=>((e,t)=>{e.onRowNameClick&&e.onRowNameClick(e,t)})(n,e),weight:"semibold","data-testid":`${n.id}-row-header-title`},{children:n.name})),e.jsx(Kz,Object.assign({weight:"bold",$show:!!n.subtitle,"data-testid":`${n.id}-row-header-subtitle`},{children:n.subtitle}))]}),`${n.id}-row-header`)}),r))),F()]})})),e.jsx(Hz,Object.assign({$numOfColumns:j.length,$isScrolled:I},{children:j.map((t=>e.jsx(Wz,Object.assign({"data-testid":`${t}-column`},{children:e.jsx(Vz,Object.assign({weight:"semibold"},{children:t}))}),`${t}-column-key`)))})),o?e.jsx(Xz,{$isEmptyContent:S}):e.jsxs(Yz,Object.assign({"data-testid":"content-container-id",ref:O,$numOfRows:a.length},{children:[a.map(((t,n)=>e.jsx(Nz,Object.assign({timetableMinTime:w,timetableMaxTime:$,rowBarColor:N(),intervalWidth:_,containerRef:O},t),`${n}-row-bar`))),L()]}))]}))]}))},exports.Timeline=({items:n,className:r,title:i,startCol:a,colSpan:o,"data-base-indicator-testid":s,"data-testid":l="timeline"})=>{const c=t=>"string"==typeof t?e.jsx(exports.Text.Body,Object.assign({className:"timeline-item-content-text"},{children:t})):e.jsx(e.Fragment,{children:t}),d=t=>"string"==typeof t?e.jsx(pz,Object.assign({weight:"semibold",className:"timeline-item-title"},{children:t})):e.jsx(e.Fragment,{children:t}),p=e=>e.slice(0,2).map(((e,n)=>t.createElement(gz,Object.assign({},e,{type:e.type,key:`status-pill-${n}`,"data-testid":"status-pill",className:"timeline-status-pill"}),e.children))),f=t=>{switch(t){case"completed":return e.jsx(u.TickIcon,{});case"error":return e.jsx(u.ExclamationCircleFillIcon,{});default:return null}};return e.jsxs(dz,Object.assign({className:r,"data-testid":l,$startCol:a,$colSpan:o},{children:[e.jsx(uz,Object.assign({id:"timeline-title"},{children:i})),n.map(((t,n)=>{const{title:r,content:i,statuses:a,variant:o}=t,l=s?`circleindicator${n+1}_div_${s}`:"circleindicator",u=o||(0===n?"current":"upcoming-active");return e.jsxs(fz,{children:[e.jsxs(cz,{children:[e.jsx(sz,Object.assign({"data-testid":l,$variant:u},{children:f(u)})),e.jsx(lz,{$variant:u})]}),e.jsxs(hz,Object.assign({className:"timeline-item-content"},{children:[d(r),a&&e.jsx(mz,{children:p(a)}),c(i)]}))]},`timeline-item-${n}`)}))]}))},exports.Timepicker=hE,exports.Toast=n=>{var{type:r="success",title:i,label:a,autoDismiss:o,autoDismissTime:s=uH,onDismiss:l,fixed:c=!0,actionButton:d}=n,p=X(n,["type","title","label","autoDismiss","autoDismissTime","onDismiss","fixed","actionButton"]);const[f,h]=t.useState(!1),m=kl.useMediaQuery({maxWidth:Jo.tablet});t.useEffect((()=>{h(!0)}),[]),t.useEffect((()=>{if(!o)return;const e=setTimeout((()=>{h(!1)}),s);return()=>clearTimeout(e)}),[o]);const g=oi({opacity:f?1:0,transform:f?m?"translateY(0%)":"translateX(0%)":m?"translateY(-1500%)":"translateX(150%)",config:{easing:ln.easeInOutQuart,duration:1e3},onRest:()=>{f||null==l||l()}});return e.jsxs(rH,Object.assign({style:g,$type:r,$fixed:c},p,{children:[e.jsxs(iH,{children:[e.jsxs(aH,Object.assign({$type:r},{children:[(()=>{switch(r){case"success":return e.jsx(u.TickCircleFillIcon,{});case"warning":return e.jsx(u.ExclamationTriangleFillIcon,{});case"error":return e.jsx(u.ExclamationCircleFillIcon,{});case"info":return e.jsx(u.ICircleFillIcon,{});default:return null}})(),e.jsxs(oH,{children:[i&&(Y.default.isValidElement(i)?i:e.jsx(sH,Object.assign({$type:r,weight:"semibold"},{children:i}))),a&&e.jsx(lH,Object.assign({$type:r},{children:Y.default.isValidElement(a)?a:i?e.jsx(exports.Text.BodySmall,{children:a}):e.jsx(exports.Text.Body,{children:a})}))]})]})),d&&e.jsx(cH,Object.assign({styleType:"light",onClick:d.onClick},{children:d.label}))]}),e.jsx(dH,Object.assign({$type:r,onClick:()=>{h(!1)}},{children:e.jsx(u.CrossIcon,{})}))]}))},exports.Toggle=UI,exports.Tooltip=gH,exports.Transition=ws,exports.UneditableSection=RH,exports.UnitNumberInput=wE,exports.__awaiter=G,exports.commonjsGlobal=ki,exports.withNotificationBanner=t=>Y.default.forwardRef(((n,r)=>e.jsx(kN,Object.assign({forwardedRef:r},n,{children:t.length>0?t.map(((t,n)=>{if("text"===t.type){const r=t.otherAttributes,i=MB.sanitize(t.content);return e.jsx("p",Object.assign({},r,{dangerouslySetInnerHTML:{__html:i}}),n)}{const r=t.otherAttributes;return e.jsx(TN.Link,Object.assign({},r,{children:t.content}),n)}})):(console.error("[NotificationBannerHOC] Empty data passed"),null)})))),exports.withPopover=(n,r)=>i=>{const{onPopoverAppear:a,onPopoverDismiss:o}=i,s=X(i,["onPopoverAppear","onPopoverDismiss"]),l=r.trigger||"click",c=s,[d,u]=t.useState(!1),p=t.useRef(),f=kl.useMediaQuery({maxWidth:Jo.mobileL});t.useEffect((()=>{if(!f)return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}}),[d]);const h=e=>{p&&!p.current.contains(e.target)&&(d&&u(!1),o&&o())};return e.jsxs(iF,Object.assign({id:"popover-hoc-wrapper",ref:p},{children:[e.jsx(aF,Object.assign({id:`popover-hoc-trigger${r["data-testid"]&&`-${r["data-testid"]}`}`,type:"button",onClick:e=>{e.preventDefault(),("click"===l||f)&&(u(!d),!d&&a&&a(),d&&o&&o())},onMouseEnter:()=>{"hover"!==l||f||u(!0)},onMouseLeave:()=>{"hover"===l&&d&&!f&&u(!1)},"aria-label":"popover-button"},{children:e.jsx(n,Object.assign({},c))})),e.jsx(sF,Object.assign({visible:d,id:r.id,"data-testid":r["data-testid"],onMobileClose:()=>{u(!1)}},{children:r.content}))]}))},exports.withTooltip=(t,n)=>r=>{const{tooltipVisible:i,position:a}=r,o=X(r,["tooltipVisible","position"]);return e.jsxs(mH,{children:[e.jsx(t,Object.assign({},o)),e.jsx(gH,Object.assign({visible:i,position:a},{children:n.content}))]})};
|
|
7571
|
-
//# sourceMappingURL=index.
|
|
7571
|
+
//# sourceMappingURL=index.4555bf84.js.map
|