@orfium/ictinus 5.34.0 → 5.35.0

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/dist/index.js CHANGED
@@ -22135,7 +22135,7 @@ const GV = (e = !1) => (t) => /* @__PURE__ */ y("border:none;background:", t.tok
22135
22135
  id: u,
22136
22136
  label: p,
22137
22137
  counter: f = null
22138
- } = c, h = typeof f == "number", m = u === n;
22138
+ } = c, h = f != null && f !== "", m = u === n;
22139
22139
  return /* @__PURE__ */ _(P9, { id: u, "data-testid": `${i}_tab_${u}`, sx: s == null ? void 0 : s.tab, children: [
22140
22140
  /* @__PURE__ */ d("span", { children: p }),
22141
22141
  h && /* @__PURE__ */ d(rl, { css: GV(m), dataTestPrefixId: `${i}_tab_${u}_counter`, children: f })
@@ -166,7 +166,7 @@ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+s+
166
166
  `," ",r,";",""),f9=({hasStickyHeader:e,hasScrollbar:t,sx:r,children:n})=>c.jsx("thead",{css:DR({hasStickyHeader:e,hasScrollbar:t,sx:r}),children:n}),p9={SORT_DESCENDING:"Sort descending (a-z)",SORT_ASCENDING:"Sort ascending (z-a)"};var RR={name:"1d3w5wq",styles:"width:100%"};const g9=({isDescending:e=!1,dataTestId:t})=>{const r=N(),n=`sort${e?"Descending":"Ascending"}`;return c.jsx(ec,{isCompact:!0,rowSize:"compact",id:n,children:c.jsxs(Le,{textValue:n,parentType:"Menu",css:RR,"data-testid":t,children:[c.jsx(xl,{children:c.jsx(H,{name:n,size:r.dimension.sizing.get("icon.md")})}),c.jsx(We,{children:e?p9.SORT_DESCENDING:p9.SORT_ASCENDING})]},n)},n)},NR=()=>e=>m.css("border:",e.globals.borderWidth.get("1")," solid ",e.tokens.colors.get("borderColor.decorative.default"),";",""),FR=({isMultiSortable:e,dataTestPrefixId:t,onSort:r,onButtonClick:n})=>{const[o,a]=v.useState(!1),i=v.useRef(null),l=v.useRef(null),s=d=>{d!=null&&d.preventDefault&&(d==null||d.preventDefault()),a(f=>(n(!f),!f))},u=d=>{const f=Array.from(d).join("");r(f==="sortDescending",e),(f==="sortAscending"||f==="sortDescending")&&(n(!1),a(!1))};return c.jsxs(c.Fragment,{children:[c.jsx(le,{ref:i,iconName:"moreOptions","aria-label":"Menu",onClick:s,"aria-controls":o?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":o?"true":void 0,type:"tertiary",size:"compact",onKeyDown:d=>{d.key==="ArrowDown"&&l.current.focus()},dataTestPrefixId:`${t}_more_options`}),c.jsx(ee.Popover,{triggerRef:i,css:J2,isOpen:o,onOpenChange:()=>{a(d=>(n(!d),!d))},shouldCloseOnInteractOutside:()=>!0,crossOffset:72,children:c.jsxs(tc,{ref:l,"aria-label":"Menu",selectionMode:"multiple",css:[ln({}),NR(),"",""],onSelectionChange:u,disabledKeys:[],children:[c.jsx(g9,{isDescending:!0,dataTestId:`${t}_more_options_desc`}),c.jsx(g9,{dataTestId:`${t}_more_options_asc`})]})})]})},HR=()=>e=>m.css("position:absolute;right:0;font-size:",e.globals.typography.fontSize.get("1"),";line-height:normal;font-weight:",e.globals.typography.fontWeight.get("bold"),";color:",e.tokens.colors.get("textColor.default.primary"),";","");var zR={name:"bjn8wh",styles:"position:relative"};const VR=({id:e,isDesc:t,badge:r,onClick:n,dataTestPrefixId:o})=>{const a=()=>t===!1||t===void 0?"arrowUp":"arrowDown",i=c.jsx(le,{"data-header-role":"sorting-button",iconName:a(),type:"tertiary",size:"compact",onClick:n,dataTestPrefixId:`${o}_sort_${e}_${t?"desc":"asc"}`});return r?c.jsxs("div",{css:zR,"data-header-role":"sorting-button",children:[c.jsx("div",{css:HR(),children:r}),i]}):i},WR=({isCheckbox:e,isExpandedButton:t,rowSize:r,width:n,hasVisibleOptions:o,isSortable:a,sx:i})=>l=>m.css("width:",e||t?O(s9):n?`${n}%`:"100%",";height:",l.dimension.minHeight.get(`tableRow.${r}`),";align-content:center;box-sizing:border-box;padding:",l.dimension.spacing.get("sm")," ",l.dimension.spacing.get("lg"),";color:",l.tokens.colors.get(`textColor.default.${o?"primary":"secondary"}`),";",U(l.tokens.typography.get("normal.body02")),";[data-header-role='options'],[data-header-role='sorting-button']{opacity:",o?1:0,";}&:hover,&:focus-visible{color:",a&&l.tokens.colors.get("textColor.default.primary"),";",a&&U(l.tokens.typography.get("normal.label02")),";[data-header-role='options'],[data-header-role='sorting-button']{opacity:1;}}button:focus-visible{opacity:1;}",i,";",""),jR=({contentAlign:e})=>t=>m.css("display:flex;align-items:center;justify-content:",_R[e],";gap:",t.dimension.spacing.get("sm"),";",hr,";","");var UR={name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"};const ZR=()=>UR;var GR={name:"1rey5vk",styles:"text-wrap:nowrap"};const C9=({width:e,rowSize:t="sm",children:r,onSort:n,isMultiSortable:o,colSortingState:a,resetSorting:i,sx:l,id:s,metaData:u,dataTestPrefixId:d,...f})=>{const p=!!n,h=s==="checkbox_select",y=s==="details_iconButton",[b,S]=v.useState(!1),{desc:C,badge:x}=a??{},{contentAlign:k="left"}=u,P=()=>{const $=()=>C===!0?i():n(C===!1,o);return c.jsx(VR,{id:s,isDesc:C,onClick:$,badge:x,dataTestPrefixId:d})};return c.jsx("th",{css:WR({isCheckbox:h,isExpandedButton:y,rowSize:t,width:e,hasVisibleOptions:b||!!a,isSortable:p,sx:l}),"data-testid":`${d}_table_th_${s}`,...f,children:c.jsxs("div",{css:jR({contentAlign:k}),children:[c.jsx("div",{css:GR,"data-testid":`${d}_table_th_${s}_title`,children:r}),p&&c.jsxs("div",{css:ZR(),"data-header-role":"options","data-testid":`${d}_table_th_${s}_options`,children:[P(),c.jsx(FR,{onSort:n,isMultiSortable:o,onButtonClick:$=>S($),dataTestPrefixId:`${d}_sort_${s}`})]})]})})},KR=()=>e=>m.css("border:",e.globals.borderWidth.get("1")," solid ",e.tokens.colors.get("borderColor.decorative.default"),";",""),v9=e=>e.reduce((t,r)=>r.columns?t.concat(v9(r.columns)):t.concat(r),[]);var YR={name:"1d3w5wq",styles:"width:100%"};const XR=({columns:e,columnsConfig:t,containerRef:r,dataTestPrefixId:n})=>{const[o,a]=v.useState(!1),i=v9(e),l=v.useRef(null),[s,u]=v.useState(new Set(Object.keys(t.columnVisibility).filter(y=>t.columnVisibility[y]===!0))),d=i.filter(y=>y.isAlwaysVisible).map(y=>y.id),f=v.useRef(null),p=y=>{y!=null&&y.preventDefault&&(y==null||y.preventDefault()),a(b=>!b)},h=y=>{const b=Array.from(y);u(y),t.setColumnVisibility(i.reduce((S,C)=>(S[C.id]=b.includes(C.id),S),{}))};return c.jsxs(c.Fragment,{children:[c.jsx(xe,{ref:f,"aria-label":"Menu",onClick:p,"aria-controls":o?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":o?"true":void 0,size:"compact",type:"secondary",onKeyDown:y=>{y.key==="ArrowDown"&&l.current.focus()},dataTestPrefixId:`${n}_column_chooser_`,children:"Edit Columns"}),c.jsx(ee.Popover,{triggerRef:f,css:J2,isOpen:o,onOpenChange:()=>a(y=>!y),shouldCloseOnInteractOutside:()=>!0,boundaryElement:r.current,crossOffset:-31,children:c.jsx(tc,{ref:l,"aria-label":"Menu",selectionMode:"multiple",selectedKeys:s,css:[ln({}),KR(),"",""],onSelectionChange:h,disabledKeys:d,children:i.map((y,b)=>{const S=y.id,C=y.header.toLowerCase().split(" ").join("_");return c.jsxs(c.Fragment,{children:[c.jsx(ec,{isCompact:!0,rowSize:"compact",isDisabled:y.isAlwaysVisible,id:S,children:c.jsxs(Le,{textValue:y.header,parentType:"Menu",css:YR,"data-testid":`${n}_column_chooser_${C}`,children:[c.jsx(We,{children:y.header}),c.jsx(xl,{children:c.jsx(Al,{isDisabled:y.isAlwaysVisible,isSelected:s==null?void 0:s.has(S),dataTestPrefixId:`${n}_column_chooser_${C}`})})]},S)},S),b<i.length-1&&c.jsx(rc,{})]})})})})]})},QR=()=>e=>m.css("padding:",e.dimension.spacing.get("sm")," ",e.dimension.spacing.get("lg"),";border-bottom:",e.globals.borderWidth.get("1")," solid ",e.tokens.colors.get("borderColor.decorative.default"),";display:flex;justify-content:space-between;height:",O(c9),";box-sizing:border-box;",""),JR=()=>e=>m.css("display:flex;align-items:center;gap:",e.dimension.spacing.get("lg"),";",""),eN=()=>e=>m.css("display:flex;gap:",e.dimension.spacing.get("lg"),";",""),tN=({type:e="read-only",columns:t,columnsConfig:r,rowsConfig:n,rowsCount:o,containerRef:a,dataTestPrefixId:i})=>{const{hasRowsCount:l,rowSelection:s,bulkActions:u,defaultAction:d}=n??{},f=e==="interactive"&&s,p=f?Object.keys(s).length:l?o:0,h=f||l,y=f&&p>0,b=v.useMemo(()=>c.jsxs("div",{"data-testid":`${i}_title`,children:[c.jsx(Vt,{type:"active",variant:"label02","data-testid":`${i}_title_items_count`,children:p}),c.jsxs(Vt,{variant:"label02",children:[" items ",f?"selected":""]})]}),[i,f,p]);return c.jsxs("div",{css:QR(),children:[c.jsx("div",{css:JR(),children:h&&c.jsxs(c.Fragment,{children:[b,y&&u]})}),c.jsxs("div",{css:eN(),children:[d,r&&c.jsx(XR,{columns:t,columnsConfig:r,containerRef:a,dataTestPrefixId:i})]})]})},y9=v.memo(tN,Se),rN=({isSticky:e})=>t=>m.css("display:flex;align-items:center;justify-content:space-between;background:",t.tokens.colors.get("backgroundColor.default"),";height:",O(c9),";width:100%;padding:",t.dimension.spacing.get("sm")," ",t.dimension.spacing.get("lg"),";box-sizing:border-box;border-top:",t.dimension.borderWidth.get("default")," solid ",t.tokens.colors.get("borderColor.decorative.default"),";border-bottom-left-radius:",t.dimension.borderRadius.get("md"),";border-bottom-right-radius:",t.dimension.borderRadius.get("md"),";",e&&`
167
167
  box-shadow: ${t.tokens.boxShadow.get("5")},
168
168
  0 ${t.dimension.borderWidth.get("default")} 0 0 ${t.tokens.colors.get("borderColor.decorative.default")};
169
- `,";",""),nN=()=>e=>m.css("display:flex;align-items:center;gap:",e.dimension.spacing.get("sm"),";",""),oN=()=>e=>m.css("display:flex;align-items:center;gap:",e.dimension.spacing.get("3xl"),";",""),aN=()=>e=>m.css("display:flex;gap:",e.globals.spacing.get("3"),";","");var iN={name:"zjik7",styles:"display:flex"};const lN=()=>iN,h9=({pagination:e,isSticky:t,dataTestPrefixId:r})=>{const{page:n,totalPages:o,onChange:a,showItems:i,showItemsOptions:l,onShowItemsChange:s,isEnhancedPaginationVisible:u,isNextPageDisabled:d,isPrevPageDisabled:f}=e,p=N();return c.jsxs("div",{css:rN({isSticky:t}),children:[c.jsx("div",{css:nN(),children:i&&l&&c.jsx(lc,{label:"",size:"compact",options:l,selectedOption:i,isSearchable:!1,onChange:s,dataTestId:`${r}_table_show_items`})}),c.jsxs("div",{css:oN(),children:[c.jsxs("div",{css:aN(),"data-testid":`${r}_table_pages_info`,children:[c.jsx(Vt,{type:"secondary",variant:"body03",children:"page"}),c.jsx(Vt,{variant:"label03","data-testid":`${r}_table_current_page`,children:n}),c.jsx(Vt,{type:"secondary",variant:"body03",children:"of"}),c.jsx(Vt,{variant:"label03","data-testid":`${r}_table_total_pages`,children:o})]}),c.jsxs("div",{css:lN(),children:[u&&c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"pageFirst",size:"compact",type:"tertiary",onClick:()=>a(1),isDisabled:n===1||f,dataTestPrefixId:`${r}_table_go_to_first_page`}),c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"chevronLeft",size:"compact",type:"tertiary",onClick:()=>a(n-1),isDisabled:n===1||f,dataTestPrefixId:`${r}_table_go_to_prev_page`}),c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"chevronRight",size:"compact",type:"tertiary",onClick:()=>a(n+1),isDisabled:n===o||d,dataTestPrefixId:`${r}_table_go_to_next_page`}),u&&c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"pageLast",size:"compact",type:"tertiary",onClick:()=>a(o),isDisabled:n===o||d,dataTestPrefixId:`${r}_table_go_to_last_page`})]})]})]})},b9=e=>()=>m.css(Ut,";display:inline-flex;gap:",O(`${e}px`),";",""),uc=()=>e=>m.css("font-weight:",e.globals.typography.fontWeight.get("medium"),";color:",e.tokens.colors.get("textColor.default.secondary"),";",""),Ye=e=>typeof e=="string",sN=e=>!!(e.isSortable||e.tooltip),Yr=e=>e.tokens.colors.get("borderColor.decorative.default");var cN={name:"18ev9ec",styles:"text-align:start;white-space:pre-wrap;word-break:break-word"};const uN=({isInverted:e=!1,isInteractive:t=!1})=>r=>{const n=r.tokens.colors.get(e?"backgroundColor.alt":"backgroundColor.inverted"),o=cN;return m.css(".tooltip{background-color:",n,";border:",r.dimension.borderWidth.get("default")," solid ",r.tokens.colors.get(e?"borderColor.decorative.default":"borderColor.decorative.transparent"),";box-shadow:",r.tokens.boxShadow.get("2"),";z-index:1000;max-width:",!t&&O(256),";padding:",r.dimension.spacing.get(t?"lg":"sm"),";border-radius:",r.dimension.borderRadius.get("md"),";color:",!t&&r.tokens.colors.get(e?"textColor.default.primary":"textColor.inverted.primary"),";",!t&&U(r.tokens.typography.get("normal.body03")),";",!t&&o,";}","")},sl=v.forwardRef(({id:e=D.uniqueId("tooltip"),children:t,content:r,placement:n="right",isInverted:o=!1,isInteractive:a=!1,delayIn:i=500,delayOut:l=500,isOpen:s,...u},d)=>c.jsxs("div",{css:uN({isInverted:o,isInteractive:a}),children:[c.jsx("span",{...u,"data-tooltip-id":e,ref:d,children:t}),c.jsx(F9.Tooltip,{id:e,place:n,delayShow:i,delayHide:l,clickable:a,className:"tooltip",isOpen:s,opacity:1,role:"tooltip",children:r})]}));sl.displayName="Tooltip";var dN={name:"1tjylrs",styles:"width:fit-content"},fN={name:"1tjylrs",styles:"width:fit-content"};const m9=({item:e,sorting:t,isNumerical:r})=>{const n=N(),o=Ye(e)?e.trim().toLowerCase().replace(/ /g,"_"):e.content.sortingKey.trim().toLowerCase().replace(/ /g,"_"),a=()=>!Ye(e)&&(e==null?void 0:e.isSortable)&&(e.content.sortingKey===(t==null?void 0:t.column)?c.jsx("div",{css:m.css({transition:"0.3s all ease-in-out",transformOrigin:"center",width:"fit-content",transform:`rotate(${t.order==="asc"?"180":"0"}deg)`},"",""),children:c.jsx(H,{name:"triangleDown",dataTestId:`table_icon_sort_${o}_${t.order==="desc"?"desc":"asc"}`,color:n.tokens.colors.get("textColor.default.secondary")})},`table_icon_sort_${o}`):c.jsx("div",{css:dN,children:c.jsx(H,{name:"sort",dataTestId:`table_icon_sort_${o}`,color:n.tokens.colors.get("textColor.default.secondary")})},`table_icon_sort_${o}`)),i=()=>{var s,u;return!Ye(e)&&((s=e==null?void 0:e.tooltip)==null?void 0:s.content)&&c.jsx("div",{css:fN,children:c.jsx(sl,{content:(u=e==null?void 0:e.tooltip)==null?void 0:u.content,placement:e==null?void 0:e.tooltip.placement,children:c.jsx(H,{name:"informational",dataTestId:`table_icon_tooltip_${o}`,color:n.tokens.colors.get("textColor.default.secondary")})})},`table_icon_tooltip_${o}`)},l=()=>r?[a(),i()]:[i(),a()];return Ye(e)?c.jsx("div",{css:uc(),children:e}):sN(e)?c.jsxs("div",{"data-testid":`header_${o}`,css:b9("8"),children:[c.jsx("span",{css:uc(),children:e.content.label}),c.jsx("div",{css:b9("4"),children:l()})]}):c.jsx("div",{css:uc(),children:e.content.label})};var pN={name:"1sdvxj3",styles:"&>div>span{color:black;font-weight:700;}"};const w9=()=>pN,gN=({isActive:e})=>t=>m.css("cursor:pointer;position:relative;height:",O(64),";",e&&w9()," &:hover{",w9(),";background-color:",t.tokens.colors.get("palette.secondary.muted"),";}",""),CN=(e,t,r,n,o)=>{if(e)return t==="th"&&typeof e=="string"?[r,"table_header",e==null?void 0:e.replace(/ /g,"_").toLowerCase()].filter(a=>a).join("_"):[r,n!==void 0?`table_row_${n}`:"",o!==void 0?`cell_${o}`:""].filter(a=>a).join("_")},Pe=g.memo(({textAlign:e="left",component:t="td",width:r,isSticky:n=!1,isPaddedSticky:o=!1,colSpan:a,children:i,isSortable:l=!1,isActive:s=!1,type:u="normal",isPadded:d=!1,dataTestIdPrefix:f,rowIndex:p,onClick:h,index:y})=>{const b=N(),S=t,C=CN(i,t,f,p,y);return c.jsx(S,{colSpan:a,css:[{position:"relative",textAlign:e,padding:`${b.globals.spacing.get("3")} ${d?b.globals.spacing.get("4"):0}`,width:r},t==="th"&&{paddingTop:b.globals.spacing.get("4"),paddingBottom:b.globals.spacing.get("4"),fontWeight:b.globals.typography.fontWeight.get("bold"),fontSize:b.globals.typography.fontSize.get("3")},t==="th"&&l&&{...gN({isActive:s})(b)},n&&{top:o?L.rem(64):0,left:0,zIndex:2,position:"sticky",background:b.globals.oldColors.white,boxShadow:`inset 0px -1px 0px 0px ${Yr(b)}`},u==="financial"&&{borderLeft:`1px solid ${Yr(b)}`},"",""],onClick:h,"data-testid":C,children:i})});Pe.displayName="TableCell";const K1=({isNested:e,isSelected:t,children:r,onClick:n,...o})=>{const a=N();return c.jsx("tr",{onClick:()=>{n&&n()},css:[{backgroundColor:t?a.tokens.colors.get("palette.secondary.muted"):void 0,paddingTop:a.globals.spacing.get("3"),paddingBottom:a.globals.spacing.get("3"),cursor:n&&"pointer","&:hover":{backgroundColor:n&&a.tokens.colors.get("palette.secondary.base")},"> td":{paddingTop:e?0:void 0,paddingBottom:e?0:void 0}},"",""],...o,children:r})},dc=g.createContext({row:{id:0,cells:[]},columnsWithWidth:[],isPadded:!1,hasOnSelectionChange:!1,isRowSelected:!1,columnCount:0,columns:[],hasFixedHeader:!1,tChange:()=>{},type:"normal",isBordered:!1}),vN=(e=!1)=>{const[t,r]=g.useState(e),n=g.useCallback(()=>r(o=>!o),[r]);return[t,n]},yN=()=>e=>m.css({color:e.tokens.colors.get("textColor.default.primary"),fontSize:e.globals.typography.fontSize.get("2"),paddingBottom:e.globals.spacing.get("3"),fontWeight:e.globals.typography.fontWeight.get("bold")},"",""),S9=_e("div",{target:"ep8j7z50"})({name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"}),x9=({children:e,isAlwaysVisible:t=!1,tooltipContent:r,placement:n="bottom"})=>{const[o,a]=v.useState(!1),i=v.useRef(null),l=i.current,s=v.useCallback(()=>{a(!0)},[]),u=v.useCallback(()=>{a(!1)},[]),d=v.useMemo(()=>!!l&&l.scrollWidth>l.offsetWidth,[l]);return v.useCallback((p,h,y,b)=>p===void 0?!1:b?!0:h&&y,[])(r,o,d,t)&&r?c.jsx(sl,{placement:n,content:r,isOpen:o,children:c.jsx(S9,{ref:i,onMouseEnter:s,onMouseLeave:u,children:e})}):c.jsx(S9,{ref:i,onMouseEnter:s,onMouseLeave:u,children:e})},hN=({columns:e,isPadded:t,columnWidth:r,tooltipContent:n,content:o,colSpan:a,rowType:i,cellType:l,align:s,cellCounter:u,dataTestIdPrefix:d,rowIndex:f,index:p})=>{const h=!Number.isNaN(Number(o));return c.jsxs(Pe,{textAlign:s||(h?"right":"left"),colSpan:a,type:l,isPadded:t,width:r?`${r}%`:"initial",dataTestIdPrefix:d,rowIndex:f,index:p,children:[i==="nested-header"&&c.jsx("div",{css:yN(),children:e[u]}),c.jsx(x9,{placement:"bottom",tooltipContent:n,children:Cl(o)?o({content:o,colSpan:a}):c.jsx("span",{"data-column":e[u],children:o})})]})},bN=v.memo(hN),mN=({isExpandedExists:e,isChecked:t,toggleIsChecked:r,actionWidth:n,dataTestIdPrefix:o,rowIndex:a,index:i})=>{const l=N(),s=Qr(),u=n?`${n}%`:s.des1920?"5%":"7%";return e?c.jsx(Pe,{width:u,dataTestIdPrefix:o,rowIndex:a,index:i,children:c.jsx("div",{children:c.jsx("div",{css:m.css({display:"flex",justifyContent:"center",padding:`${l.globals.spacing.get("3")} ${l.globals.spacing.get("4")}`},"",""),children:c.jsx("div",{css:m.css({transition:"0.3s all ease-in-out",transformOrigin:"center",width:"fit-content",transform:`rotate(${t?"180":"0"}deg)`},"",""),onClick:d=>d.stopPropagation(),children:c.jsx(le,{type:"tertiary",iconName:"chevronDown",onClick:r,dataTestId:"expanded-button"})})})})}):null},wN=v.memo(mN),SN=({isBordered:e,isCustomCell:t})=>r=>m.css({borderBottom:e?`${L.rem(1)} solid ${Yr(r)}`:"none","td:first-of-type":{paddingLeft:r.globals.spacing.get("6")},"td:last-child":{paddingRight:t?"inherit":r.globals.spacing.get("6")}},"",""),xN=({isFirstRow:e,hasFixedHeader:t})=>r=>m.css({flex:1,flexDirection:"row",display:"flex",borderTop:e&&!t?`${L.rem(1)} solid ${Yr(r)}`:"none",borderBottom:`${L.rem(1)} solid ${Yr(r)}`},"","");var EN={name:"1hsa9kz",styles:"width:100%;border-collapse:collapse;table-layout:fixed"};const E9=()=>()=>EN,_N=e=>t=>m.css({width:"100%",borderCollapse:"collapse",tableLayout:"fixed",position:e?"sticky":void 0,top:e?0:void 0,background:e?t.tokens.colors.get("backgroundColor.default"):void 0,zIndex:e?3:void 0},"",""),kN=(e,t,r)=>n=>m.css({paddingTop:n.globals.spacing.get("6"),paddingBottom:n.globals.spacing.get("6"),borderBottomWidth:O(e||r?0:1),borderBottomStyle:"solid",borderBottomColor:Yr(n),"th:first-of-type":{paddingLeft:t?void 0:n.globals.spacing.get("6")},"th:last-child":{paddingRight:e?void 0:n.globals.spacing.get("6")}},"",""),fc=g.memo(({isChecked:e=!1,toggleIsChecked:t=()=>{},dataTestIdPrefix:r,rowIndex:n})=>{var C,x;const{columnsWithWidth:o,hasOnSelectionChange:a,isPadded:i,columns:l,tChange:s,row:u,type:d,isRowSelected:f,isBordered:p,actionWidth:h}=g.useContext(dc),{expanded:y}=u,b=!!y,[S]=(u.cells??[]).slice(-1);return c.jsxs(K1,{isSelected:f,onClick:b?t:void 0,css:SN({isBordered:p,isCustomCell:b||Cl(S.content)}),children:[a&&c.jsx(Pe,{component:"th",isSticky:!1,width:50,isPadded:i,dataTestIdPrefix:r,rowIndex:n,index:0,children:c.jsx("div",{onClick:k=>k.stopPropagation(),children:c.jsx(br,{dataTestPrefixId:"row-check",isSelected:f,onChange:s})})}),(C=u.cells)==null?void 0:C.map(({content:k,tooltipContent:P,hasTruncatedTooltip:$=!0,colSpan:w,type:_,align:T},B)=>c.jsx(bN,{cellCounter:B,columnWidth:o[B],columns:l,tooltipContent:$?Cl(k)?P:P??k.toString():void 0,isPadded:i,colSpan:w,content:k,cellType:_,rowType:d,align:T,dataTestIdPrefix:r,rowIndex:n,index:B+1},`${u.id}-${B}`)),c.jsx(wN,{isExpandedExists:b,isChecked:e,toggleIsChecked:t,actionWidth:h,dataTestIdPrefix:r,rowIndex:n,index:((x=u.cells)==null?void 0:x.length)+1})]})});fc.displayName="RenderRowWithCells";const _9=({row:e,dataTestIdPrefix:t,rowIndex:r,isInitiallyExpanded:n})=>{const{isRowSelected:o,columnCount:a,hasFixedHeader:i}=g.useContext(dc),{expanded:l}=e,[s,u]=vN(n),d=l?l({row:e,isSelected:o,isExpanded:s}):null;return c.jsx(g.Fragment,{children:l?c.jsx(K1,{isNested:!0,isSelected:o,children:c.jsx(Pe,{colSpan:a,isPadded:!1,dataTestIdPrefix:t,rowIndex:r,children:c.jsx("div",{css:xN({isFirstRow:r===1,hasFixedHeader:i}),children:c.jsx("table",{css:E9()(),children:c.jsxs("tbody",{children:[c.jsx(fc,{isChecked:s,toggleIsChecked:u,dataTestIdPrefix:t,rowIndex:r}),s&&c.jsx(K1,{isNested:!0,children:c.jsx(Pe,{colSpan:a,dataTestIdPrefix:t,rowIndex:r,index:"expanded",children:d})})]})})})})}):c.jsx(fc,{dataTestIdPrefix:t,rowIndex:r})})};_9.displayName="RenderRowOrNestedRow";const TN=g.memo(_9),$N=e=>{const{row:t,isRowSelected:r,onSelectionAdd:n,isPadded:o,columns:a,hasFixedHeader:i,type:l,columnsWithWidth:s,columnCount:u,hasOnSelectionChange:d,isExpanded:f,actionWidth:p,isInitiallyExpanded:h,dataTestIdPrefix:y,rowIndex:b}=e,S=v.useCallback(()=>{n(t.id)},[n,t.id]);return c.jsx(dc.Provider,{value:{row:t,columnsWithWidth:s,hasOnSelectionChange:d,isPadded:o,columns:a,hasFixedHeader:i,tChange:S,type:l,columnCount:u,isRowSelected:r,isBordered:!f,actionWidth:p},children:c.jsx(TN,{row:t,dataTestIdPrefix:y,rowIndex:b,isInitiallyExpanded:h})})},AN=v.memo($N),PN=(e,t,r)=>!t&&!r?e.length:t&&r?e.length+2:e.length+1;function ON({data:e,columns:t,type:r="normal",hasFixedHeader:n=!1,hasFixedCTA:o=!1,onCheck:a,isPadded:i=!1,onSort:l,initialSort:s={column:"",order:"desc"},sortDir:u,topLeftText:d,topRightArea:f,actionWidth:p,isInitiallyExpanded:h=!1,dataTestIdPrefix:y}){const b=Qr(),S=p?`${p}%`:b.des1920?"5%":"7%",[C,x]=v.useState(void 0),[k,P]=v.useState(s),$=e.some(A=>!!A.expanded),w=PN(t,a,$);v.useEffect(()=>{a&&C&&a(C)},[a,C]),v.useEffect(()=>{x(void 0)},[e]);const _=v.useCallback(A=>{x((I=[])=>I.indexOf(A)===-1?[...I,A]:I.filter(q=>q!==A))},[]),T=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({content:q})=>!Number.isNaN(Number(q))))||[]},[e]),B=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({align:q})=>q))||[]},[e]),W=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({widthPercentage:q})=>q))||[]},[e]),F=A=>{P(I=>u?(l==null||l(A,u),{column:A,order:u}):I.column!==A?(l==null||l(A,"asc"),{column:A,order:"asc"}):(l==null||l(A,I.order==="asc"?"desc":"asc"),{column:A,order:I.order==="asc"?"desc":"asc"}))};return c.jsxs(v.Fragment,{children:[(a||f||d)&&c.jsx("table",{css:_N(o),children:c.jsx("thead",{children:c.jsxs(K1,{children:[a&&c.jsx(Pe,{component:"th",width:50,isPadded:i,dataTestIdPrefix:y,rowIndex:0,index:0,children:c.jsx(br,{isSelected:!!(C&&C.length>0),isIndeterminate:C&&C.length>0&&(C==null?void 0:C.length)!==e.length,onChange:()=>{(C==null?void 0:C.length)===e.length?x([]):x(e.map(({id:A})=>A))}})}),c.jsx(Pe,{isPadded:i,dataTestIdPrefix:y,rowIndex:0,index:1,children:C&&(C==null?void 0:C.length)>0?c.jsxs("span",{children:[c.jsx("b",{children:C.length})," ",V9("item",C.length)," selected"]}):d}),f&&c.jsx(Pe,{textAlign:"right",isPadded:i,colSpan:w-(a?2:1),dataTestIdPrefix:y,rowIndex:0,index:2,children:f(e,C)})]})})}),c.jsxs("table",{css:E9(),children:[(a||f||r==="normal")&&c.jsx("thead",{children:r==="normal"&&c.jsxs(K1,{css:kN($,!!a,n),children:[a&&c.jsx(Pe,{component:"th",isPaddedSticky:o,isSticky:n,width:50,isPadded:i,dataTestIdPrefix:y}),t.map((A,I)=>c.jsx(Pe,{textAlign:B&&B[I]?B[I]:T&&T[I]?"right":"left",component:"th",isSticky:n,isPaddedSticky:o,isPadded:i,width:W[I]?`${W[I]}%`:"initial",isSortable:!Ye(A)&&A.isSortable,isActive:!Ye(A)&&A.content.sortingKey===k.column,onClick:()=>{!Ye(A)&&A.isSortable&&F(A.content.sortingKey)},dataTestIdPrefix:`${y}_${Ye(A)?A.trim().toLowerCase().replace(/ /g,"_"):A.content.sortingKey.trim().toLowerCase().replace(/ /g,"_")}`,children:Ye(A)?c.jsx(m9,{item:A}):c.jsx(m9,{sorting:k,isNumerical:T&&T[I],item:A})},`${Ye(A)?A:A.content.sortingKey}`)),$&&c.jsx(Pe,{component:"th",isSticky:n,isPaddedSticky:o,width:S,dataTestIdPrefix:y})]})}),c.jsx("tbody",{children:e.map((A,I)=>c.jsx(AN,{row:A,isRowSelected:C?C.indexOf(A.id)!==-1:!1,onSelectionAdd:_,isPadded:i,columns:t,hasFixedHeader:n,type:r,columnCount:w,columnsWithWidth:W,hasOnSelectionChange:!!a,isExpanded:!!A.expanded,actionWidth:p,isInitiallyExpanded:h,dataTestIdPrefix:y,rowIndex:I+1},A.id))})]})]})}const MN=v.memo(ON,Se),LN=e=>t=>m.css("cursor:pointer;",Ut,";gap:",t.globals.spacing.get("4"),";padding:",t.globals.spacing.get("4"),";",e,";",""),pc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.Tab,{css:LN(n),...o,ref:t,children:r})});pc.displayName="Tab";const IN=e=>t=>m.css("display:flex;[role='tab']{position:relative;width:fit-content;",t.tokens.typography.get("normal.body01"),";color:",t.tokens.colors.get("textColor.default.primary"),";}[role='tab'][data-selected]{color:",t.tokens.colors.get("textColor.default.active"),";",t.tokens.typography.get("normal.label01"),";}[role='tab'][data-focus-visible]:after{content:'';position:absolute;border-radius:",t.dimension.borderRadius.get("sm"),";border:",t.dimension.borderWidth.get("focused")," solid ",t.tokens.colors.get("borderColor.interactive.focused"),";}&[data-orientation='horizontal']{gap:",t.globals.spacing.get("5"),";[role='tab'][data-focus-visible]:after{inset:-3px -8px;}[role='tab']{border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.transparent"),";transition:color ease-in-out 0.2s;transition:border-bottom 0.2s;}[role='tab']:hover{border-color:",t.tokens.colors.get("borderColor.interactive.default"),";}[role='tab'][data-selected]{color:",t.tokens.colors.get("textColor.default.active"),";",t.tokens.typography.get("normal.label01"),";border-color:",t.tokens.colors.get("borderColor.interactive.active"),";}}&[data-orientation='vertical']{flex-direction:column;gap:",t.globals.spacing.get("4"),";[role='tab'][data-focus-visible]:after{inset:-4px -2px;}[role='tab']{padding:",t.globals.spacing.get("5")," ",t.globals.spacing.get("4"),";box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.decorative.transparent"),";transition:color ease-in-out 0.2s;transition:box-shadow 0.2s;}[role='tab']:hover{box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.interactive.default"),";}[role='tab'][data-selected]{box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.interactive.active"),";}}",e,";",""),gc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabList,{css:IN(n),ref:t,...o,children:r})});gc.displayName="TabList";const BN=(e,t)=>m.css("display:flex;flex-direction:",e==="horizontal"?"column":"row",";",e==="horizontal"&&"width: fit-content;"," ",e==="vertical"&&"height: fit-content;"," ",t,";",""),cl=v.forwardRef((e,t)=>{const{selectedKey:r,onSelectionChange:n,orientation:o="horizontal",sx:a,children:i}=e;return c.jsx(ee.Tabs,{css:BN(o,a),orientation:o,selectedKey:r,onSelectionChange:n,ref:t,children:i})});cl.displayName="TabsContainer";const k9=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabPanel,{...o,ref:t,css:n,children:r})});k9.displayName="TabPanel";const qN=(e=!1)=>t=>m.css("border:none;background:",t.tokens.colors.get(`palette.${e?"primary":"primaryAlt"}.contrast`),";color:",t.tokens.colors.get(`textColor.${e?"inverted":"default"}.primary`),";transition:background 0.2s;transition:color 0.2s;",""),T9=v.forwardRef((e,t)=>{const{orientation:r="horizontal",selectedKey:n,onSelectionChange:o,items:a,dataTestPrefixId:i="ictinus",children:l,sx:s}=e;return c.jsxs(cl,{orientation:r,selectedKey:n,onSelectionChange:o,ref:t,sx:s==null?void 0:s.tabsContainer,children:[c.jsx(gc,{"aria-label":e["aria-label"],sx:s==null?void 0:s.tabList,children:a.map(u=>{const{id:d,label:f,counter:p=null}=u,h=typeof p=="number",y=d===n;return c.jsxs(pc,{id:d,"data-testid":`${i}_tab_${d}`,sx:s==null?void 0:s.tab,children:[c.jsx("span",{children:f}),h&&c.jsx(N1,{css:qN(y),dataTestPrefixId:`${i}_tab_${d}_counter`,children:p})]},d)})}),l]})});T9.displayName="Tabs";const DN=e=>m.css("cursor:pointer;display:flex;flex-direction:column;justify-content:center;",e,";",""),RN=()=>e=>m.css(be,";flex-direction:column;gap:",e.globals.spacing.get("3"),";padding:",e.globals.spacing.get("4"),";",""),NN=()=>e=>m.css(Ut,";justify-content:space-between;gap:",e.globals.spacing.get("7"),";",""),FN=()=>e=>m.css(e.tokens.typography.get("normal.body03")," color:",e.tokens.colors.get("textColor.default.secondary"),";",""),HN={done:{name:"success",color:"indicators.brand"},warning:{name:"warning",color:"indicators.error"}},Cc=v.forwardRef((e,t)=>{const{children:r,id:n,title:o,subtitle:a,status:i="pending",dataTestPrefixId:l,sx:s,...u}=e,d=i!=="pending",f=N(),p=i!=="pending"?HN[i]:null;return c.jsx(ee.Tab,{id:n,...u,ref:t,css:DN(s),"data-status":i,children:r??c.jsxs("div",{css:RN(),children:[o&&c.jsxs("div",{css:NN(),"data-role":"title","data-testid":`${l}_title`,children:[o,d&&c.jsx(H,{name:p.name,color:f.tokens.colors.get(p.color),dataTestPrefixId:`${l}_icon`})]}),a&&c.jsx("div",{css:FN(),"data-role":"subtitle","data-testid":`${l}_subtitle`,children:a})]})})});Cc.displayName="TabStep";const zN=e=>t=>m.css("display:flex;[role='tab']{position:relative;width:fit-content;",t.tokens.typography.get("normal.body01"),";}[role='tab'][data-selected]{",t.tokens.typography.get("normal.title01"),";}[role='tab']:not([data-selected]):hover{background:",t.tokens.colors.get("backgroundColor.alt"),";transition:background ease-in-out 0.2s;}[role='tab'][data-focus-visible]:after{content:'';position:absolute;border-radius:",t.dimension.borderRadius.get("sm"),";border:",t.dimension.borderWidth.get("focused")," solid ",t.tokens.colors.get("borderColor.interactive.focused"),";}[role='tab'][data-status='warning']{[data-role='title']{color:",t.tokens.colors.get("textColor.default.error"),";}}[role='tab'][data-selected]:not([data-status='warning']){[data-role='title']{color:",t.tokens.colors.get("textColor.default.active"),";}}&[data-orientation='horizontal']{gap:",t.globals.spacing.get("7"),";border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.default"),";[role='tab']{padding:",t.globals.spacing.get("3"),";}[role='tab']:after{inset:-3px -8px;}[role='tab'][data-selected]{border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.interactive.active"),";margin-bottom:-",t.globals.borderWidth.get("2"),";&[data-status='warning']{border-color:",t.tokens.colors.get("borderColor.interactive.error"),";}}}&[data-orientation='vertical']{flex-direction:column;gap:",t.globals.spacing.get("6"),";border-left:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.default"),";[role='tab'][data-focus-visible]:after{inset:-4px -2px;}[role='tab']{padding:",t.globals.spacing.get("4")," ",t.globals.spacing.get("5"),";}[role='tab'][data-selected]{border-left:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.interactive.active"),";margin-left:-",t.globals.borderWidth.get("2"),";&[data-status='warning']{border-color:",t.tokens.colors.get("indicators.error"),";}}}",e,";",""),vc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabList,{css:zN(n),ref:t,...o,children:r})});vc.displayName="TabStepList";const $9=v.forwardRef((e,t)=>{const{orientation:r="horizontal",selectedKey:n,onSelectionChange:o,items:a,dataTestPrefixId:i="ictinus",children:l,sx:s}=e;return c.jsxs(cl,{orientation:r,selectedKey:n,onSelectionChange:o,ref:t,sx:s==null?void 0:s.tabsContainer,children:[c.jsx(vc,{"aria-label":e["aria-label"],sx:s==null?void 0:s.tabStepList,children:a.map(u=>c.jsx(Cc,{...u,dataTestPrefixId:`${i}_tabstep_${u.id}`,sx:s==null?void 0:s.tabStep},u.id))}),l]})});$9.displayName="TabStepper";const VN=({isResizeEnabled:e=!1})=>t=>{const r=zt(t);return{wrapper:{width:"auto",height:"auto",minWidth:O(r("minWidth.large.normal"))},textField:{padding:`${r("addOn.padding.textArea")}`},input:{maxWidth:"100%",resize:e?"both":"none","& + label":{alignItems:"flex-start"},"&:focus-within, &:not(:placeholder-shown)":{"& + label":{transform:`translate(${Cr}, -4px) scale(0.8)`,fontWeight:t.globals.typography.fontWeight.get("bold")}}}}},WN=({isDisabled:e})=>t=>m.css({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:`${t.dimension.spacing.get("sm")} 0 0`,color:t.tokens.colors.get("textColor.default.secondary"),span:{alignItems:"stretch",padding:0},opacity:e?t.tokens.disabledState.get("default"):1},t1(t),"","");var jN={name:"1d3w5wq",styles:"width:100%"};const A9=g.forwardRef((e,t)=>{var x;const{id:r=void 0,label:n,placeholder:o,isRequired:a=!1,isReadOnly:i,isDisabled:l,status:s,isResizeEnabled:u=!0,maxCharacters:d,...f}=e,p=(s==null?void 0:s.type)==="read-only",h=N(),y=VN({isResizeEnabled:!l&&!p&&u})(h),b=d&&(s==null?void 0:s.type)!="error",S=b?c.jsxs("div",{css:WN({isDisabled:l}),children:[(x=f.value)==null?void 0:x.length,"/",d]}):void 0,C=s?{...s,hintMessage:b?void 0:s.hintMessage}:void 0;return c.jsxs(g.Fragment,{children:[c.jsx(z1,{...e,status:C,sx:y,children:c.jsxs("div",{css:jN,children:[c.jsx("textarea",{role:"textbox","aria-multiline":!0,readOnly:p||i,css:Gr({placeholder:o,label:n,sx:y,isLocked:p,isDisabled:l}),placeholder:o?`${o} ${a?"*":""}`:n,required:a,id:r,maxLength:d,disabled:l||p,...f,ref:t}),c.jsx(F1,{htmlFor:r,label:n,isRequired:a,isAnimated:!!f.value,hasError:!l&&(s==null?void 0:s.type)==="error"})]})}),S]})});A9.displayName="TextArea";const UN=g.memo(A9,Se),ZN={isDark:!1,toggle:()=>{}},P9=g.createContext(ZN),GN=()=>g.useContext(P9),KN=({children:e})=>{const[t,r]=g.useState({isDark:!1});return c.jsx(P9.Provider,{value:{isDark:t.isDark,toggle:()=>{r(n=>({isDark:!n.isDark}))}},children:e})},YN=[{condition:({colorAfterSplit:e})=>e.length!==2,error:({color:e})=>new Zt(`Error trying to translate your component color: ${e}`)},{condition:({colorAfterSplit:e})=>!qc.includes(e[0]),error:({color:e})=>new Zt(`You passed a wrong color for the first argument: ${e} - try something like red-500`)},{condition:({colorAfterSplit:e})=>!Dc.includes(Number(e[1])),error:({color:e})=>new Zt(`You passed a wrong shade for the second argument: ${e} - try something like red-500`)}],XN=e=>{const t=e.split("-");Q1(YN,{color:e,colorAfterSplit:t});const r=t[0],n=Number(t[1]);return{color:r,shade:n}},QN={typesShadesColor:{},calculateColorBetweenColorAndType:(e,t)=>{}},JN=g.createContext(QN),eF=(e,t)=>vl.reduce((r,n)=>{const o=e[n][Rc],a=D.keys(t);return r[n]=a.reduce((i,l)=>{const u=D.keys(t[l]).find(d=>t[l][d].toLowerCase()===o.toLowerCase());return u?{shade:Number(u),color:l}:i},{}),r},{}),tF=({children:e})=>{const t=N(),r=D.pick(t.globals.oldColors,vl),n=g.useMemo(()=>eF(r,t.globals.oldColors.flat),[r,t]),o=g.useCallback((a,i)=>{const l=a?XN(a):void 0;return l||n[i]},[r,t,n]);return c.jsx(JN.Provider,{value:{typesShadesColor:n,calculateColorBetweenColorAndType:o},children:e})},rF={get:He({none:{value:"{borderRadius.0}",type:"borderRadius"},sm:{value:"{borderRadius.1}",type:"borderRadius"},md:{value:"{borderRadius.2}",type:"borderRadius"},lg:{value:"{borderRadius.3}",type:"borderRadius"},xl:{value:"{borderRadius.4}",type:"borderRadius"},circle:{value:"{borderRadius.7}",type:"borderRadius",description:"Circular border radius (100%)"}})},nF={get:He({default:{value:"{borderWidth.1}",type:"borderWidth",description:"Sets 'default' border width for components"},active:{value:"{borderWidth.2}",type:"borderWidth",description:"Sets 'active' border width for components "},focused:{value:"{borderWidth.3}",type:"borderWidth",description:"Sets focused container borderWidth for component"},innerFocused:{value:"{borderWidth.2}",type:"borderWidth",description:"Alternative borderWidth for nested focused elements"}})},oF={get:He({tableRow:{sm:{value:"{sizing.11}",type:"sizing",description:"Sets min.height for small table row (44px)"},md:{value:"{sizing.13}",type:"sizing",description:"Sets min. height for medium table row (52px)"},lg:{value:"{sizing.15}",type:"sizing",description:"Sets min. height for large table row (60px)"}}})},aF={get:me({disabled:{value:"50%",type:"opacity",description:"'Disabled' state"},enabled:{value:"100%",type:"opacity",description:"'enabled' state"},hidden:{value:"0%",type:"opacity",description:"'hidden' state"}},ye.String)},iF={get:He({icon:{xs:{value:"{sizing.3}",type:"sizing",description:"Sets extra small size for icon"},sm:{value:"{sizing.4}",type:"sizing",description:"Sets small size for icon"},md:{value:"{sizing.5}",type:"sizing",description:"Sets medium size for icon"},lg:{value:"{sizing.6}",type:"sizing",description:"Sets large size for icon"},xl:{value:"{sizing.9}",type:"sizing",description:"Sets extra large size for icon"}}})},lF={get:He({none:{value:"{spacing.0}",type:"spacing"},"2xs":{value:"{spacing.2}",type:"spacing"},xs:{value:"{spacing.3}",type:"spacing"},sm:{value:"{spacing.4}",type:"spacing"},md:{value:"{spacing.5}",type:"spacing"},lg:{value:"{spacing.6}",type:"spacing"},xl:{value:"{spacing.7}",type:"spacing"},"2xl":{value:"{spacing.8}",type:"spacing"},"3xl":{value:"{spacing.9}",type:"spacing"},"4xl":{value:"{spacing.12}",type:"spacing"}})},sF={get:He({hover:{xs:{value:"{sizing.7}",type:"sizing",description:"Sets extra small hover size"},sm:{value:"{sizing.8}",type:"sizing",description:"Sets small hover size"},md:{value:"{sizing.9}",type:"sizing",description:"Sets medium hover size"},lg:{value:"{sizing.10}",type:"sizing",description:"Sets large hover size"}}})},cF={borderRadius:rF,borderWidth:nF,minHeight:oF,opacity:aF,sizing:iF,spacing:lF,state:sF},uF={get:me({0:{value:{x:"0",y:"0",blur:"0",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow",description:"No shadow variant"},1:{value:{x:"0",y:"2",blur:"4",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},2:{value:{x:"0",y:"4",blur:"8",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},3:{value:{x:"0",y:"8",blur:"16",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},4:{value:{x:"0",y:"16",blur:"24",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},5:{value:{x:"0",y:"-2",blur:"4",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow",description:"Used for sticky/fixed components"}},ye.BoxShadow)},dF={get:He({backgroundColor:{default:{value:"{colors.neutral.1}",type:"color",description:"default backgroundColor variant"},transparent:{value:"{colors.transparent.1}",type:"color",description:"transparent backgroundColor variant"},alt:{value:"{colors.neutral.2}",type:"color",description:"alt backgroundColor variant"},inverted:{value:"{colors.neutral.6}",type:"color",description:"invertedBackgroundColor default variant"},invertedAlt:{value:"{colors.neutral.5}",type:"color",description:"invertedBackgroundColor, alt variant"}},backdrop:{default:{value:"{colors.transparent.5}",type:"color",description:"backdrop shade"}},palette:{error:{muted:{type:"color",value:"{colors.red.1}"},base:{type:"color",value:"{colors.red.2}"},contrast:{type:"color",value:"{colors.red.3}"}},warning:{muted:{type:"color",value:"{colors.orange.1}"},base:{type:"color",value:"{colors.orange.2}"},contrast:{type:"color",value:"{colors.orange.3}"}},primary:{muted:{type:"color",value:"{colors.blue.5}"},base:{type:"color",value:"{colors.blue.6}"},contrast:{type:"color",value:"{colors.blue.7}"}},secondary:{muted:{type:"color",value:"{colors.transparent.2}"},base:{type:"color",value:"{colors.transparent.3}"},contrast:{type:"color",value:"{colors.transparent.4}"}},success:{muted:{type:"color",value:"{colors.teal.1}"},base:{type:"color",value:"{colors.teal.2}"},contrast:{type:"color",value:"{colors.teal.3}"}},tertiary:{muted:{value:"{colors.transparent.2}",type:"color"},base:{value:"{colors.transparent.1}",type:"color"},contrast:{value:"{colors.transparent.3}",type:"color"}},upsell:{muted:{value:"{colors.purple.1}",type:"color"},base:{value:"{colors.purple.2}",type:"color"},contrast:{value:"{colors.purple.3}",type:"color"}},primaryAlt:{muted:{value:"{colors.blue.1}",type:"color"},base:{value:"{colors.blue.2}",type:"color"},contrast:{value:"{colors.blue.3}",type:"color"}}},textColor:{default:{primary:{value:"{colors.neutral.6}",type:"color",description:"Sets color for primary text"},secondary:{value:"{colors.neutral.4}",type:"color",description:"Sets color for secondary text"},error:{value:"{colors.red.7}",type:"color",description:"Sets color for error text"},active:{value:"{colors.blue.7}",type:"color",description:"Sets color for active text"},visited:{value:"{colors.purple.7}",type:"color",description:"Sets color for visited text (link)"},warning:{value:"{colors.orange.7}",type:"color",description:"Sets color for warning text"},success:{value:"{colors.teal.7}",type:"color",description:"Sets color for success text"}},inverted:{visited:{value:"{colors.purple.4}",type:"color",description:"Sets color for visited text (link)"},primary:{value:"{colors.neutral.1}",type:"color",description:"Sets color for inverted primary text"},secondary:{value:"{colors.neutral.3}",type:"color",description:"Sets color for inverted secondary text"},error:{value:"{colors.red.4}",type:"color",description:"Sets color for inverted error text"},active:{value:"{colors.blue.4}",type:"color",description:"Sets color for inverted active text"},warning:{value:"{colors.orange.4}",type:"color"},success:{value:"{colors.teal.4}",type:"color",description:"Sets color for inverted success text"}}},borderColor:{decorative:{transparent:{value:"{colors.transparent.1}",type:"color",description:"transparent borderColor variant"},default:{value:"{colors.transparent.5}",type:"color",description:"Default decorative borderColor"},inverted:{value:"{colors.transparent.10}",type:"color",description:"Inverted decorative borderColor"}},interactive:{default:{value:"{colors.blue.4}",type:"color",description:"Used in default component state"},active:{value:"{colors.blue.6}",type:"color",description:"Used in active component state"},error:{value:"{colors.red.5}",type:"color",description:"Sets borderColor for error"},upsell:{value:"{colors.purple.5}",type:"color",description:"Sets borderColor for upsell"},warning:{value:"{colors.orange.5}",type:"color",description:"Sets borderColor for warning"},success:{value:"{colors.teal.5}",type:"color",description:"Sets borderColor for success"},focused:{value:"{colors.purple.5}",type:"color",description:"Sets focused container borderColor for component"}}},indicators:{brand:{value:"{colors.blue.5}",type:"color"},success:{value:"{colors.teal.5}",type:"color"},pending:{value:"{colors.purple.4}",type:"color"},warning:{value:"{colors.orange.4}",type:"color"},error:{value:"{colors.red.5}",type:"color"},inactive:{value:"{colors.neutral.3}",type:"color"}}})},fF={get:He({default:{value:"{opacity.4}",type:"opacity"}})},pF={get:He({borderRadius:{hover:{value:"{borderRadius.7}",type:"borderRadius",description:"Sets border radius for circular hover shape"}},backgroundColor:{hover:{value:"{colors.transparent.2}",type:"color",description:"Sets transparent overlay for interactive icon on hover"}},loading:{gradient:{value:"{colors.gradient.1}",type:"color",description:"Alt loading state gradient"}}})},gF={get:Hc({normal:{headline01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.10}",fontSize:"{fontSize.10}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Largest text on the screen, reserved for the page title. Can only appear once"},headline02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.9}",fontSize:"{fontSize.9}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 2, reserved for important copy that is not a title (e.g. section titles)"},headline03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.8}",fontSize:"{fontSize.8}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 3"},headline04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.7}",fontSize:"{fontSize.6}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 4"},headline05:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.6}",fontSize:"{fontSize.5}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 5"},title01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant"},title02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant"},title03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant"},label01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant"},label02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant"},label03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant"},label04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant"},body01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Large variant"},body02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Medium variant"},body03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Small variant"},body04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Used for text within components. Extra small variant"}},mono:{headline01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.10}",fontSize:"{fontSize.10}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Largest text on the screen, reserved for the page title. Can only appear once"},body04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Used for text within components. Extra small variant"},headline02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.9}",fontSize:"{fontSize.9}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 2, reserved for important copy that is not a title (e.g. section titles)"},headline03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.8}",fontSize:"{fontSize.8}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 3"},headline04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.7}",fontSize:"{fontSize.6}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 4"},headline05:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.6}",fontSize:"{fontSize.5}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 5"},title01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant"},title02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant"},title03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant"},label01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant"},label02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant"},label03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant"},label04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant"},body01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Large variant"},body02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Medium variant"},body03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Small variant"}}})},O9={semantic:{disabledState:fF,colors:dF,state:pF,typography:gF,boxShadow:uF}},yc=e=>({globals:Gt,colorScheme:e,overrides:Ic,dimension:cF,tokens:{...D.get(O9,e||"semantic",O9.semantic)},utils:{getColor:yl(Gt.oldColors),getAAColorFromSwatches:Nc(Gt.oldColors),getAAColor:hl(Gt.oldColors)}}),CF=e=>m.css("::-webkit-scrollbar{width:5px;}::-webkit-scrollbar-track{background:transparent;}::-webkit-scrollbar-thumb{background:",e.tokens.colors.get("palette.primary.muted"),";border-radius:5px;}*{scrollbar-width:thin;scrollbar-color:",e.tokens.colors.get("palette.primary.muted")," transparent;}",""),vF=e=>m.css("@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');{}",N9,";",CF(e)," body,html{font-family:'Roboto',Tahoma,sans-serif;font-size:16px;font-weight:normal;}body{",i3(e),";}#root{}h1{",e3(e),";}h2{",t3(e),";}h3{",r3(e),";}h4{",n3(e),";}h5{",o3(e),";}*:focus{outline:0;}::view-transition-group(*){animation-duration:250ms;animation-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.1);}::view-transition-new(.toast):only-child{animation-name:fade-in-up;}::view-transition-old(.toast):only-child{animation-name:fade-out;}@keyframes fade-out{to{opacity:0;}}@keyframes fade-in-up{from{opacity:0;transform:translateY(24px);}}",""),yF=(e,t)=>D.merge(yc(t),D.pick(e,D.keys(yc(t)))),hF=({theme:e={},children:t})=>c.jsx(KN,{children:c.jsx(bF,{theme:e,children:t})}),bF=({theme:e={},children:t})=>{const n=GN().isDark?"dark":"semantic",o={colorScheme:n,overrides:e==null?void 0:e.overrides};return c.jsx(m.ThemeProvider,{theme:yF(o,n),children:c.jsxs(tF,{children:[c.jsx(m.Global,{styles:vF}),t]})})},M9={notification:`max-height: ${O(294)};`,generic:"max-height: none;"},mF=(e,t,r)=>{const n=Ct(e)?r.tokens.colors.get(`borderColor.interactive.${gt(e)}`):r.utils.getColor(e,500,"normal");return t==="outlined"?`border: ${r.globals.borderWidth.get("2")} solid ${n}`:`box-shadow: ${r.tokens.boxShadow.get("2")}
169
+ `,";",""),nN=()=>e=>m.css("display:flex;align-items:center;gap:",e.dimension.spacing.get("sm"),";",""),oN=()=>e=>m.css("display:flex;align-items:center;gap:",e.dimension.spacing.get("3xl"),";",""),aN=()=>e=>m.css("display:flex;gap:",e.globals.spacing.get("3"),";","");var iN={name:"zjik7",styles:"display:flex"};const lN=()=>iN,h9=({pagination:e,isSticky:t,dataTestPrefixId:r})=>{const{page:n,totalPages:o,onChange:a,showItems:i,showItemsOptions:l,onShowItemsChange:s,isEnhancedPaginationVisible:u,isNextPageDisabled:d,isPrevPageDisabled:f}=e,p=N();return c.jsxs("div",{css:rN({isSticky:t}),children:[c.jsx("div",{css:nN(),children:i&&l&&c.jsx(lc,{label:"",size:"compact",options:l,selectedOption:i,isSearchable:!1,onChange:s,dataTestId:`${r}_table_show_items`})}),c.jsxs("div",{css:oN(),children:[c.jsxs("div",{css:aN(),"data-testid":`${r}_table_pages_info`,children:[c.jsx(Vt,{type:"secondary",variant:"body03",children:"page"}),c.jsx(Vt,{variant:"label03","data-testid":`${r}_table_current_page`,children:n}),c.jsx(Vt,{type:"secondary",variant:"body03",children:"of"}),c.jsx(Vt,{variant:"label03","data-testid":`${r}_table_total_pages`,children:o})]}),c.jsxs("div",{css:lN(),children:[u&&c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"pageFirst",size:"compact",type:"tertiary",onClick:()=>a(1),isDisabled:n===1||f,dataTestPrefixId:`${r}_table_go_to_first_page`}),c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"chevronLeft",size:"compact",type:"tertiary",onClick:()=>a(n-1),isDisabled:n===1||f,dataTestPrefixId:`${r}_table_go_to_prev_page`}),c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"chevronRight",size:"compact",type:"tertiary",onClick:()=>a(n+1),isDisabled:n===o||d,dataTestPrefixId:`${r}_table_go_to_next_page`}),u&&c.jsx(le,{color:p.tokens.colors.get("textColor.default.secondary"),iconName:"pageLast",size:"compact",type:"tertiary",onClick:()=>a(o),isDisabled:n===o||d,dataTestPrefixId:`${r}_table_go_to_last_page`})]})]})]})},b9=e=>()=>m.css(Ut,";display:inline-flex;gap:",O(`${e}px`),";",""),uc=()=>e=>m.css("font-weight:",e.globals.typography.fontWeight.get("medium"),";color:",e.tokens.colors.get("textColor.default.secondary"),";",""),Ye=e=>typeof e=="string",sN=e=>!!(e.isSortable||e.tooltip),Yr=e=>e.tokens.colors.get("borderColor.decorative.default");var cN={name:"18ev9ec",styles:"text-align:start;white-space:pre-wrap;word-break:break-word"};const uN=({isInverted:e=!1,isInteractive:t=!1})=>r=>{const n=r.tokens.colors.get(e?"backgroundColor.alt":"backgroundColor.inverted"),o=cN;return m.css(".tooltip{background-color:",n,";border:",r.dimension.borderWidth.get("default")," solid ",r.tokens.colors.get(e?"borderColor.decorative.default":"borderColor.decorative.transparent"),";box-shadow:",r.tokens.boxShadow.get("2"),";z-index:1000;max-width:",!t&&O(256),";padding:",r.dimension.spacing.get(t?"lg":"sm"),";border-radius:",r.dimension.borderRadius.get("md"),";color:",!t&&r.tokens.colors.get(e?"textColor.default.primary":"textColor.inverted.primary"),";",!t&&U(r.tokens.typography.get("normal.body03")),";",!t&&o,";}","")},sl=v.forwardRef(({id:e=D.uniqueId("tooltip"),children:t,content:r,placement:n="right",isInverted:o=!1,isInteractive:a=!1,delayIn:i=500,delayOut:l=500,isOpen:s,...u},d)=>c.jsxs("div",{css:uN({isInverted:o,isInteractive:a}),children:[c.jsx("span",{...u,"data-tooltip-id":e,ref:d,children:t}),c.jsx(F9.Tooltip,{id:e,place:n,delayShow:i,delayHide:l,clickable:a,className:"tooltip",isOpen:s,opacity:1,role:"tooltip",children:r})]}));sl.displayName="Tooltip";var dN={name:"1tjylrs",styles:"width:fit-content"},fN={name:"1tjylrs",styles:"width:fit-content"};const m9=({item:e,sorting:t,isNumerical:r})=>{const n=N(),o=Ye(e)?e.trim().toLowerCase().replace(/ /g,"_"):e.content.sortingKey.trim().toLowerCase().replace(/ /g,"_"),a=()=>!Ye(e)&&(e==null?void 0:e.isSortable)&&(e.content.sortingKey===(t==null?void 0:t.column)?c.jsx("div",{css:m.css({transition:"0.3s all ease-in-out",transformOrigin:"center",width:"fit-content",transform:`rotate(${t.order==="asc"?"180":"0"}deg)`},"",""),children:c.jsx(H,{name:"triangleDown",dataTestId:`table_icon_sort_${o}_${t.order==="desc"?"desc":"asc"}`,color:n.tokens.colors.get("textColor.default.secondary")})},`table_icon_sort_${o}`):c.jsx("div",{css:dN,children:c.jsx(H,{name:"sort",dataTestId:`table_icon_sort_${o}`,color:n.tokens.colors.get("textColor.default.secondary")})},`table_icon_sort_${o}`)),i=()=>{var s,u;return!Ye(e)&&((s=e==null?void 0:e.tooltip)==null?void 0:s.content)&&c.jsx("div",{css:fN,children:c.jsx(sl,{content:(u=e==null?void 0:e.tooltip)==null?void 0:u.content,placement:e==null?void 0:e.tooltip.placement,children:c.jsx(H,{name:"informational",dataTestId:`table_icon_tooltip_${o}`,color:n.tokens.colors.get("textColor.default.secondary")})})},`table_icon_tooltip_${o}`)},l=()=>r?[a(),i()]:[i(),a()];return Ye(e)?c.jsx("div",{css:uc(),children:e}):sN(e)?c.jsxs("div",{"data-testid":`header_${o}`,css:b9("8"),children:[c.jsx("span",{css:uc(),children:e.content.label}),c.jsx("div",{css:b9("4"),children:l()})]}):c.jsx("div",{css:uc(),children:e.content.label})};var pN={name:"1sdvxj3",styles:"&>div>span{color:black;font-weight:700;}"};const w9=()=>pN,gN=({isActive:e})=>t=>m.css("cursor:pointer;position:relative;height:",O(64),";",e&&w9()," &:hover{",w9(),";background-color:",t.tokens.colors.get("palette.secondary.muted"),";}",""),CN=(e,t,r,n,o)=>{if(e)return t==="th"&&typeof e=="string"?[r,"table_header",e==null?void 0:e.replace(/ /g,"_").toLowerCase()].filter(a=>a).join("_"):[r,n!==void 0?`table_row_${n}`:"",o!==void 0?`cell_${o}`:""].filter(a=>a).join("_")},Pe=g.memo(({textAlign:e="left",component:t="td",width:r,isSticky:n=!1,isPaddedSticky:o=!1,colSpan:a,children:i,isSortable:l=!1,isActive:s=!1,type:u="normal",isPadded:d=!1,dataTestIdPrefix:f,rowIndex:p,onClick:h,index:y})=>{const b=N(),S=t,C=CN(i,t,f,p,y);return c.jsx(S,{colSpan:a,css:[{position:"relative",textAlign:e,padding:`${b.globals.spacing.get("3")} ${d?b.globals.spacing.get("4"):0}`,width:r},t==="th"&&{paddingTop:b.globals.spacing.get("4"),paddingBottom:b.globals.spacing.get("4"),fontWeight:b.globals.typography.fontWeight.get("bold"),fontSize:b.globals.typography.fontSize.get("3")},t==="th"&&l&&{...gN({isActive:s})(b)},n&&{top:o?L.rem(64):0,left:0,zIndex:2,position:"sticky",background:b.globals.oldColors.white,boxShadow:`inset 0px -1px 0px 0px ${Yr(b)}`},u==="financial"&&{borderLeft:`1px solid ${Yr(b)}`},"",""],onClick:h,"data-testid":C,children:i})});Pe.displayName="TableCell";const K1=({isNested:e,isSelected:t,children:r,onClick:n,...o})=>{const a=N();return c.jsx("tr",{onClick:()=>{n&&n()},css:[{backgroundColor:t?a.tokens.colors.get("palette.secondary.muted"):void 0,paddingTop:a.globals.spacing.get("3"),paddingBottom:a.globals.spacing.get("3"),cursor:n&&"pointer","&:hover":{backgroundColor:n&&a.tokens.colors.get("palette.secondary.base")},"> td":{paddingTop:e?0:void 0,paddingBottom:e?0:void 0}},"",""],...o,children:r})},dc=g.createContext({row:{id:0,cells:[]},columnsWithWidth:[],isPadded:!1,hasOnSelectionChange:!1,isRowSelected:!1,columnCount:0,columns:[],hasFixedHeader:!1,tChange:()=>{},type:"normal",isBordered:!1}),vN=(e=!1)=>{const[t,r]=g.useState(e),n=g.useCallback(()=>r(o=>!o),[r]);return[t,n]},yN=()=>e=>m.css({color:e.tokens.colors.get("textColor.default.primary"),fontSize:e.globals.typography.fontSize.get("2"),paddingBottom:e.globals.spacing.get("3"),fontWeight:e.globals.typography.fontWeight.get("bold")},"",""),S9=_e("div",{target:"ep8j7z50"})({name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"}),x9=({children:e,isAlwaysVisible:t=!1,tooltipContent:r,placement:n="bottom"})=>{const[o,a]=v.useState(!1),i=v.useRef(null),l=i.current,s=v.useCallback(()=>{a(!0)},[]),u=v.useCallback(()=>{a(!1)},[]),d=v.useMemo(()=>!!l&&l.scrollWidth>l.offsetWidth,[l]);return v.useCallback((p,h,y,b)=>p===void 0?!1:b?!0:h&&y,[])(r,o,d,t)&&r?c.jsx(sl,{placement:n,content:r,isOpen:o,children:c.jsx(S9,{ref:i,onMouseEnter:s,onMouseLeave:u,children:e})}):c.jsx(S9,{ref:i,onMouseEnter:s,onMouseLeave:u,children:e})},hN=({columns:e,isPadded:t,columnWidth:r,tooltipContent:n,content:o,colSpan:a,rowType:i,cellType:l,align:s,cellCounter:u,dataTestIdPrefix:d,rowIndex:f,index:p})=>{const h=!Number.isNaN(Number(o));return c.jsxs(Pe,{textAlign:s||(h?"right":"left"),colSpan:a,type:l,isPadded:t,width:r?`${r}%`:"initial",dataTestIdPrefix:d,rowIndex:f,index:p,children:[i==="nested-header"&&c.jsx("div",{css:yN(),children:e[u]}),c.jsx(x9,{placement:"bottom",tooltipContent:n,children:Cl(o)?o({content:o,colSpan:a}):c.jsx("span",{"data-column":e[u],children:o})})]})},bN=v.memo(hN),mN=({isExpandedExists:e,isChecked:t,toggleIsChecked:r,actionWidth:n,dataTestIdPrefix:o,rowIndex:a,index:i})=>{const l=N(),s=Qr(),u=n?`${n}%`:s.des1920?"5%":"7%";return e?c.jsx(Pe,{width:u,dataTestIdPrefix:o,rowIndex:a,index:i,children:c.jsx("div",{children:c.jsx("div",{css:m.css({display:"flex",justifyContent:"center",padding:`${l.globals.spacing.get("3")} ${l.globals.spacing.get("4")}`},"",""),children:c.jsx("div",{css:m.css({transition:"0.3s all ease-in-out",transformOrigin:"center",width:"fit-content",transform:`rotate(${t?"180":"0"}deg)`},"",""),onClick:d=>d.stopPropagation(),children:c.jsx(le,{type:"tertiary",iconName:"chevronDown",onClick:r,dataTestId:"expanded-button"})})})})}):null},wN=v.memo(mN),SN=({isBordered:e,isCustomCell:t})=>r=>m.css({borderBottom:e?`${L.rem(1)} solid ${Yr(r)}`:"none","td:first-of-type":{paddingLeft:r.globals.spacing.get("6")},"td:last-child":{paddingRight:t?"inherit":r.globals.spacing.get("6")}},"",""),xN=({isFirstRow:e,hasFixedHeader:t})=>r=>m.css({flex:1,flexDirection:"row",display:"flex",borderTop:e&&!t?`${L.rem(1)} solid ${Yr(r)}`:"none",borderBottom:`${L.rem(1)} solid ${Yr(r)}`},"","");var EN={name:"1hsa9kz",styles:"width:100%;border-collapse:collapse;table-layout:fixed"};const E9=()=>()=>EN,_N=e=>t=>m.css({width:"100%",borderCollapse:"collapse",tableLayout:"fixed",position:e?"sticky":void 0,top:e?0:void 0,background:e?t.tokens.colors.get("backgroundColor.default"):void 0,zIndex:e?3:void 0},"",""),kN=(e,t,r)=>n=>m.css({paddingTop:n.globals.spacing.get("6"),paddingBottom:n.globals.spacing.get("6"),borderBottomWidth:O(e||r?0:1),borderBottomStyle:"solid",borderBottomColor:Yr(n),"th:first-of-type":{paddingLeft:t?void 0:n.globals.spacing.get("6")},"th:last-child":{paddingRight:e?void 0:n.globals.spacing.get("6")}},"",""),fc=g.memo(({isChecked:e=!1,toggleIsChecked:t=()=>{},dataTestIdPrefix:r,rowIndex:n})=>{var C,x;const{columnsWithWidth:o,hasOnSelectionChange:a,isPadded:i,columns:l,tChange:s,row:u,type:d,isRowSelected:f,isBordered:p,actionWidth:h}=g.useContext(dc),{expanded:y}=u,b=!!y,[S]=(u.cells??[]).slice(-1);return c.jsxs(K1,{isSelected:f,onClick:b?t:void 0,css:SN({isBordered:p,isCustomCell:b||Cl(S.content)}),children:[a&&c.jsx(Pe,{component:"th",isSticky:!1,width:50,isPadded:i,dataTestIdPrefix:r,rowIndex:n,index:0,children:c.jsx("div",{onClick:k=>k.stopPropagation(),children:c.jsx(br,{dataTestPrefixId:"row-check",isSelected:f,onChange:s})})}),(C=u.cells)==null?void 0:C.map(({content:k,tooltipContent:P,hasTruncatedTooltip:$=!0,colSpan:w,type:_,align:T},B)=>c.jsx(bN,{cellCounter:B,columnWidth:o[B],columns:l,tooltipContent:$?Cl(k)?P:P??k.toString():void 0,isPadded:i,colSpan:w,content:k,cellType:_,rowType:d,align:T,dataTestIdPrefix:r,rowIndex:n,index:B+1},`${u.id}-${B}`)),c.jsx(wN,{isExpandedExists:b,isChecked:e,toggleIsChecked:t,actionWidth:h,dataTestIdPrefix:r,rowIndex:n,index:((x=u.cells)==null?void 0:x.length)+1})]})});fc.displayName="RenderRowWithCells";const _9=({row:e,dataTestIdPrefix:t,rowIndex:r,isInitiallyExpanded:n})=>{const{isRowSelected:o,columnCount:a,hasFixedHeader:i}=g.useContext(dc),{expanded:l}=e,[s,u]=vN(n),d=l?l({row:e,isSelected:o,isExpanded:s}):null;return c.jsx(g.Fragment,{children:l?c.jsx(K1,{isNested:!0,isSelected:o,children:c.jsx(Pe,{colSpan:a,isPadded:!1,dataTestIdPrefix:t,rowIndex:r,children:c.jsx("div",{css:xN({isFirstRow:r===1,hasFixedHeader:i}),children:c.jsx("table",{css:E9()(),children:c.jsxs("tbody",{children:[c.jsx(fc,{isChecked:s,toggleIsChecked:u,dataTestIdPrefix:t,rowIndex:r}),s&&c.jsx(K1,{isNested:!0,children:c.jsx(Pe,{colSpan:a,dataTestIdPrefix:t,rowIndex:r,index:"expanded",children:d})})]})})})})}):c.jsx(fc,{dataTestIdPrefix:t,rowIndex:r})})};_9.displayName="RenderRowOrNestedRow";const TN=g.memo(_9),$N=e=>{const{row:t,isRowSelected:r,onSelectionAdd:n,isPadded:o,columns:a,hasFixedHeader:i,type:l,columnsWithWidth:s,columnCount:u,hasOnSelectionChange:d,isExpanded:f,actionWidth:p,isInitiallyExpanded:h,dataTestIdPrefix:y,rowIndex:b}=e,S=v.useCallback(()=>{n(t.id)},[n,t.id]);return c.jsx(dc.Provider,{value:{row:t,columnsWithWidth:s,hasOnSelectionChange:d,isPadded:o,columns:a,hasFixedHeader:i,tChange:S,type:l,columnCount:u,isRowSelected:r,isBordered:!f,actionWidth:p},children:c.jsx(TN,{row:t,dataTestIdPrefix:y,rowIndex:b,isInitiallyExpanded:h})})},AN=v.memo($N),PN=(e,t,r)=>!t&&!r?e.length:t&&r?e.length+2:e.length+1;function ON({data:e,columns:t,type:r="normal",hasFixedHeader:n=!1,hasFixedCTA:o=!1,onCheck:a,isPadded:i=!1,onSort:l,initialSort:s={column:"",order:"desc"},sortDir:u,topLeftText:d,topRightArea:f,actionWidth:p,isInitiallyExpanded:h=!1,dataTestIdPrefix:y}){const b=Qr(),S=p?`${p}%`:b.des1920?"5%":"7%",[C,x]=v.useState(void 0),[k,P]=v.useState(s),$=e.some(A=>!!A.expanded),w=PN(t,a,$);v.useEffect(()=>{a&&C&&a(C)},[a,C]),v.useEffect(()=>{x(void 0)},[e]);const _=v.useCallback(A=>{x((I=[])=>I.indexOf(A)===-1?[...I,A]:I.filter(q=>q!==A))},[]),T=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({content:q})=>!Number.isNaN(Number(q))))||[]},[e]),B=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({align:q})=>q))||[]},[e]),W=v.useMemo(()=>{var A,I;return((I=(A=D.head(e))==null?void 0:A.cells)==null?void 0:I.map(({widthPercentage:q})=>q))||[]},[e]),F=A=>{P(I=>u?(l==null||l(A,u),{column:A,order:u}):I.column!==A?(l==null||l(A,"asc"),{column:A,order:"asc"}):(l==null||l(A,I.order==="asc"?"desc":"asc"),{column:A,order:I.order==="asc"?"desc":"asc"}))};return c.jsxs(v.Fragment,{children:[(a||f||d)&&c.jsx("table",{css:_N(o),children:c.jsx("thead",{children:c.jsxs(K1,{children:[a&&c.jsx(Pe,{component:"th",width:50,isPadded:i,dataTestIdPrefix:y,rowIndex:0,index:0,children:c.jsx(br,{isSelected:!!(C&&C.length>0),isIndeterminate:C&&C.length>0&&(C==null?void 0:C.length)!==e.length,onChange:()=>{(C==null?void 0:C.length)===e.length?x([]):x(e.map(({id:A})=>A))}})}),c.jsx(Pe,{isPadded:i,dataTestIdPrefix:y,rowIndex:0,index:1,children:C&&(C==null?void 0:C.length)>0?c.jsxs("span",{children:[c.jsx("b",{children:C.length})," ",V9("item",C.length)," selected"]}):d}),f&&c.jsx(Pe,{textAlign:"right",isPadded:i,colSpan:w-(a?2:1),dataTestIdPrefix:y,rowIndex:0,index:2,children:f(e,C)})]})})}),c.jsxs("table",{css:E9(),children:[(a||f||r==="normal")&&c.jsx("thead",{children:r==="normal"&&c.jsxs(K1,{css:kN($,!!a,n),children:[a&&c.jsx(Pe,{component:"th",isPaddedSticky:o,isSticky:n,width:50,isPadded:i,dataTestIdPrefix:y}),t.map((A,I)=>c.jsx(Pe,{textAlign:B&&B[I]?B[I]:T&&T[I]?"right":"left",component:"th",isSticky:n,isPaddedSticky:o,isPadded:i,width:W[I]?`${W[I]}%`:"initial",isSortable:!Ye(A)&&A.isSortable,isActive:!Ye(A)&&A.content.sortingKey===k.column,onClick:()=>{!Ye(A)&&A.isSortable&&F(A.content.sortingKey)},dataTestIdPrefix:`${y}_${Ye(A)?A.trim().toLowerCase().replace(/ /g,"_"):A.content.sortingKey.trim().toLowerCase().replace(/ /g,"_")}`,children:Ye(A)?c.jsx(m9,{item:A}):c.jsx(m9,{sorting:k,isNumerical:T&&T[I],item:A})},`${Ye(A)?A:A.content.sortingKey}`)),$&&c.jsx(Pe,{component:"th",isSticky:n,isPaddedSticky:o,width:S,dataTestIdPrefix:y})]})}),c.jsx("tbody",{children:e.map((A,I)=>c.jsx(AN,{row:A,isRowSelected:C?C.indexOf(A.id)!==-1:!1,onSelectionAdd:_,isPadded:i,columns:t,hasFixedHeader:n,type:r,columnCount:w,columnsWithWidth:W,hasOnSelectionChange:!!a,isExpanded:!!A.expanded,actionWidth:p,isInitiallyExpanded:h,dataTestIdPrefix:y,rowIndex:I+1},A.id))})]})]})}const MN=v.memo(ON,Se),LN=e=>t=>m.css("cursor:pointer;",Ut,";gap:",t.globals.spacing.get("4"),";padding:",t.globals.spacing.get("4"),";",e,";",""),pc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.Tab,{css:LN(n),...o,ref:t,children:r})});pc.displayName="Tab";const IN=e=>t=>m.css("display:flex;[role='tab']{position:relative;width:fit-content;",t.tokens.typography.get("normal.body01"),";color:",t.tokens.colors.get("textColor.default.primary"),";}[role='tab'][data-selected]{color:",t.tokens.colors.get("textColor.default.active"),";",t.tokens.typography.get("normal.label01"),";}[role='tab'][data-focus-visible]:after{content:'';position:absolute;border-radius:",t.dimension.borderRadius.get("sm"),";border:",t.dimension.borderWidth.get("focused")," solid ",t.tokens.colors.get("borderColor.interactive.focused"),";}&[data-orientation='horizontal']{gap:",t.globals.spacing.get("5"),";[role='tab'][data-focus-visible]:after{inset:-3px -8px;}[role='tab']{border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.transparent"),";transition:color ease-in-out 0.2s;transition:border-bottom 0.2s;}[role='tab']:hover{border-color:",t.tokens.colors.get("borderColor.interactive.default"),";}[role='tab'][data-selected]{color:",t.tokens.colors.get("textColor.default.active"),";",t.tokens.typography.get("normal.label01"),";border-color:",t.tokens.colors.get("borderColor.interactive.active"),";}}&[data-orientation='vertical']{flex-direction:column;gap:",t.globals.spacing.get("4"),";[role='tab'][data-focus-visible]:after{inset:-4px -2px;}[role='tab']{padding:",t.globals.spacing.get("5")," ",t.globals.spacing.get("4"),";box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.decorative.transparent"),";transition:color ease-in-out 0.2s;transition:box-shadow 0.2s;}[role='tab']:hover{box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.interactive.default"),";}[role='tab'][data-selected]{box-shadow:inset ",t.globals.borderWidth.get("2")," 0 0 0 ",t.tokens.colors.get("borderColor.interactive.active"),";}}",e,";",""),gc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabList,{css:IN(n),ref:t,...o,children:r})});gc.displayName="TabList";const BN=(e,t)=>m.css("display:flex;flex-direction:",e==="horizontal"?"column":"row",";",e==="horizontal"&&"width: fit-content;"," ",e==="vertical"&&"height: fit-content;"," ",t,";",""),cl=v.forwardRef((e,t)=>{const{selectedKey:r,onSelectionChange:n,orientation:o="horizontal",sx:a,children:i}=e;return c.jsx(ee.Tabs,{css:BN(o,a),orientation:o,selectedKey:r,onSelectionChange:n,ref:t,children:i})});cl.displayName="TabsContainer";const k9=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabPanel,{...o,ref:t,css:n,children:r})});k9.displayName="TabPanel";const qN=(e=!1)=>t=>m.css("border:none;background:",t.tokens.colors.get(`palette.${e?"primary":"primaryAlt"}.contrast`),";color:",t.tokens.colors.get(`textColor.${e?"inverted":"default"}.primary`),";transition:background 0.2s;transition:color 0.2s;",""),T9=v.forwardRef((e,t)=>{const{orientation:r="horizontal",selectedKey:n,onSelectionChange:o,items:a,dataTestPrefixId:i="ictinus",children:l,sx:s}=e;return c.jsxs(cl,{orientation:r,selectedKey:n,onSelectionChange:o,ref:t,sx:s==null?void 0:s.tabsContainer,children:[c.jsx(gc,{"aria-label":e["aria-label"],sx:s==null?void 0:s.tabList,children:a.map(u=>{const{id:d,label:f,counter:p=null}=u,h=p!=null&&p!=="",y=d===n;return c.jsxs(pc,{id:d,"data-testid":`${i}_tab_${d}`,sx:s==null?void 0:s.tab,children:[c.jsx("span",{children:f}),h&&c.jsx(N1,{css:qN(y),dataTestPrefixId:`${i}_tab_${d}_counter`,children:p})]},d)})}),l]})});T9.displayName="Tabs";const DN=e=>m.css("cursor:pointer;display:flex;flex-direction:column;justify-content:center;",e,";",""),RN=()=>e=>m.css(be,";flex-direction:column;gap:",e.globals.spacing.get("3"),";padding:",e.globals.spacing.get("4"),";",""),NN=()=>e=>m.css(Ut,";justify-content:space-between;gap:",e.globals.spacing.get("7"),";",""),FN=()=>e=>m.css(e.tokens.typography.get("normal.body03")," color:",e.tokens.colors.get("textColor.default.secondary"),";",""),HN={done:{name:"success",color:"indicators.brand"},warning:{name:"warning",color:"indicators.error"}},Cc=v.forwardRef((e,t)=>{const{children:r,id:n,title:o,subtitle:a,status:i="pending",dataTestPrefixId:l,sx:s,...u}=e,d=i!=="pending",f=N(),p=i!=="pending"?HN[i]:null;return c.jsx(ee.Tab,{id:n,...u,ref:t,css:DN(s),"data-status":i,children:r??c.jsxs("div",{css:RN(),children:[o&&c.jsxs("div",{css:NN(),"data-role":"title","data-testid":`${l}_title`,children:[o,d&&c.jsx(H,{name:p.name,color:f.tokens.colors.get(p.color),dataTestPrefixId:`${l}_icon`})]}),a&&c.jsx("div",{css:FN(),"data-role":"subtitle","data-testid":`${l}_subtitle`,children:a})]})})});Cc.displayName="TabStep";const zN=e=>t=>m.css("display:flex;[role='tab']{position:relative;width:fit-content;",t.tokens.typography.get("normal.body01"),";}[role='tab'][data-selected]{",t.tokens.typography.get("normal.title01"),";}[role='tab']:not([data-selected]):hover{background:",t.tokens.colors.get("backgroundColor.alt"),";transition:background ease-in-out 0.2s;}[role='tab'][data-focus-visible]:after{content:'';position:absolute;border-radius:",t.dimension.borderRadius.get("sm"),";border:",t.dimension.borderWidth.get("focused")," solid ",t.tokens.colors.get("borderColor.interactive.focused"),";}[role='tab'][data-status='warning']{[data-role='title']{color:",t.tokens.colors.get("textColor.default.error"),";}}[role='tab'][data-selected]:not([data-status='warning']){[data-role='title']{color:",t.tokens.colors.get("textColor.default.active"),";}}&[data-orientation='horizontal']{gap:",t.globals.spacing.get("7"),";border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.default"),";[role='tab']{padding:",t.globals.spacing.get("3"),";}[role='tab']:after{inset:-3px -8px;}[role='tab'][data-selected]{border-bottom:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.interactive.active"),";margin-bottom:-",t.globals.borderWidth.get("2"),";&[data-status='warning']{border-color:",t.tokens.colors.get("borderColor.interactive.error"),";}}}&[data-orientation='vertical']{flex-direction:column;gap:",t.globals.spacing.get("6"),";border-left:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.decorative.default"),";[role='tab'][data-focus-visible]:after{inset:-4px -2px;}[role='tab']{padding:",t.globals.spacing.get("4")," ",t.globals.spacing.get("5"),";}[role='tab'][data-selected]{border-left:",t.globals.borderWidth.get("2")," solid ",t.tokens.colors.get("borderColor.interactive.active"),";margin-left:-",t.globals.borderWidth.get("2"),";&[data-status='warning']{border-color:",t.tokens.colors.get("indicators.error"),";}}}",e,";",""),vc=v.forwardRef((e,t)=>{const{children:r,sx:n,...o}=e;return c.jsx(ee.TabList,{css:zN(n),ref:t,...o,children:r})});vc.displayName="TabStepList";const $9=v.forwardRef((e,t)=>{const{orientation:r="horizontal",selectedKey:n,onSelectionChange:o,items:a,dataTestPrefixId:i="ictinus",children:l,sx:s}=e;return c.jsxs(cl,{orientation:r,selectedKey:n,onSelectionChange:o,ref:t,sx:s==null?void 0:s.tabsContainer,children:[c.jsx(vc,{"aria-label":e["aria-label"],sx:s==null?void 0:s.tabStepList,children:a.map(u=>c.jsx(Cc,{...u,dataTestPrefixId:`${i}_tabstep_${u.id}`,sx:s==null?void 0:s.tabStep},u.id))}),l]})});$9.displayName="TabStepper";const VN=({isResizeEnabled:e=!1})=>t=>{const r=zt(t);return{wrapper:{width:"auto",height:"auto",minWidth:O(r("minWidth.large.normal"))},textField:{padding:`${r("addOn.padding.textArea")}`},input:{maxWidth:"100%",resize:e?"both":"none","& + label":{alignItems:"flex-start"},"&:focus-within, &:not(:placeholder-shown)":{"& + label":{transform:`translate(${Cr}, -4px) scale(0.8)`,fontWeight:t.globals.typography.fontWeight.get("bold")}}}}},WN=({isDisabled:e})=>t=>m.css({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:`${t.dimension.spacing.get("sm")} 0 0`,color:t.tokens.colors.get("textColor.default.secondary"),span:{alignItems:"stretch",padding:0},opacity:e?t.tokens.disabledState.get("default"):1},t1(t),"","");var jN={name:"1d3w5wq",styles:"width:100%"};const A9=g.forwardRef((e,t)=>{var x;const{id:r=void 0,label:n,placeholder:o,isRequired:a=!1,isReadOnly:i,isDisabled:l,status:s,isResizeEnabled:u=!0,maxCharacters:d,...f}=e,p=(s==null?void 0:s.type)==="read-only",h=N(),y=VN({isResizeEnabled:!l&&!p&&u})(h),b=d&&(s==null?void 0:s.type)!="error",S=b?c.jsxs("div",{css:WN({isDisabled:l}),children:[(x=f.value)==null?void 0:x.length,"/",d]}):void 0,C=s?{...s,hintMessage:b?void 0:s.hintMessage}:void 0;return c.jsxs(g.Fragment,{children:[c.jsx(z1,{...e,status:C,sx:y,children:c.jsxs("div",{css:jN,children:[c.jsx("textarea",{role:"textbox","aria-multiline":!0,readOnly:p||i,css:Gr({placeholder:o,label:n,sx:y,isLocked:p,isDisabled:l}),placeholder:o?`${o} ${a?"*":""}`:n,required:a,id:r,maxLength:d,disabled:l||p,...f,ref:t}),c.jsx(F1,{htmlFor:r,label:n,isRequired:a,isAnimated:!!f.value,hasError:!l&&(s==null?void 0:s.type)==="error"})]})}),S]})});A9.displayName="TextArea";const UN=g.memo(A9,Se),ZN={isDark:!1,toggle:()=>{}},P9=g.createContext(ZN),GN=()=>g.useContext(P9),KN=({children:e})=>{const[t,r]=g.useState({isDark:!1});return c.jsx(P9.Provider,{value:{isDark:t.isDark,toggle:()=>{r(n=>({isDark:!n.isDark}))}},children:e})},YN=[{condition:({colorAfterSplit:e})=>e.length!==2,error:({color:e})=>new Zt(`Error trying to translate your component color: ${e}`)},{condition:({colorAfterSplit:e})=>!qc.includes(e[0]),error:({color:e})=>new Zt(`You passed a wrong color for the first argument: ${e} - try something like red-500`)},{condition:({colorAfterSplit:e})=>!Dc.includes(Number(e[1])),error:({color:e})=>new Zt(`You passed a wrong shade for the second argument: ${e} - try something like red-500`)}],XN=e=>{const t=e.split("-");Q1(YN,{color:e,colorAfterSplit:t});const r=t[0],n=Number(t[1]);return{color:r,shade:n}},QN={typesShadesColor:{},calculateColorBetweenColorAndType:(e,t)=>{}},JN=g.createContext(QN),eF=(e,t)=>vl.reduce((r,n)=>{const o=e[n][Rc],a=D.keys(t);return r[n]=a.reduce((i,l)=>{const u=D.keys(t[l]).find(d=>t[l][d].toLowerCase()===o.toLowerCase());return u?{shade:Number(u),color:l}:i},{}),r},{}),tF=({children:e})=>{const t=N(),r=D.pick(t.globals.oldColors,vl),n=g.useMemo(()=>eF(r,t.globals.oldColors.flat),[r,t]),o=g.useCallback((a,i)=>{const l=a?XN(a):void 0;return l||n[i]},[r,t,n]);return c.jsx(JN.Provider,{value:{typesShadesColor:n,calculateColorBetweenColorAndType:o},children:e})},rF={get:He({none:{value:"{borderRadius.0}",type:"borderRadius"},sm:{value:"{borderRadius.1}",type:"borderRadius"},md:{value:"{borderRadius.2}",type:"borderRadius"},lg:{value:"{borderRadius.3}",type:"borderRadius"},xl:{value:"{borderRadius.4}",type:"borderRadius"},circle:{value:"{borderRadius.7}",type:"borderRadius",description:"Circular border radius (100%)"}})},nF={get:He({default:{value:"{borderWidth.1}",type:"borderWidth",description:"Sets 'default' border width for components"},active:{value:"{borderWidth.2}",type:"borderWidth",description:"Sets 'active' border width for components "},focused:{value:"{borderWidth.3}",type:"borderWidth",description:"Sets focused container borderWidth for component"},innerFocused:{value:"{borderWidth.2}",type:"borderWidth",description:"Alternative borderWidth for nested focused elements"}})},oF={get:He({tableRow:{sm:{value:"{sizing.11}",type:"sizing",description:"Sets min.height for small table row (44px)"},md:{value:"{sizing.13}",type:"sizing",description:"Sets min. height for medium table row (52px)"},lg:{value:"{sizing.15}",type:"sizing",description:"Sets min. height for large table row (60px)"}}})},aF={get:me({disabled:{value:"50%",type:"opacity",description:"'Disabled' state"},enabled:{value:"100%",type:"opacity",description:"'enabled' state"},hidden:{value:"0%",type:"opacity",description:"'hidden' state"}},ye.String)},iF={get:He({icon:{xs:{value:"{sizing.3}",type:"sizing",description:"Sets extra small size for icon"},sm:{value:"{sizing.4}",type:"sizing",description:"Sets small size for icon"},md:{value:"{sizing.5}",type:"sizing",description:"Sets medium size for icon"},lg:{value:"{sizing.6}",type:"sizing",description:"Sets large size for icon"},xl:{value:"{sizing.9}",type:"sizing",description:"Sets extra large size for icon"}}})},lF={get:He({none:{value:"{spacing.0}",type:"spacing"},"2xs":{value:"{spacing.2}",type:"spacing"},xs:{value:"{spacing.3}",type:"spacing"},sm:{value:"{spacing.4}",type:"spacing"},md:{value:"{spacing.5}",type:"spacing"},lg:{value:"{spacing.6}",type:"spacing"},xl:{value:"{spacing.7}",type:"spacing"},"2xl":{value:"{spacing.8}",type:"spacing"},"3xl":{value:"{spacing.9}",type:"spacing"},"4xl":{value:"{spacing.12}",type:"spacing"}})},sF={get:He({hover:{xs:{value:"{sizing.7}",type:"sizing",description:"Sets extra small hover size"},sm:{value:"{sizing.8}",type:"sizing",description:"Sets small hover size"},md:{value:"{sizing.9}",type:"sizing",description:"Sets medium hover size"},lg:{value:"{sizing.10}",type:"sizing",description:"Sets large hover size"}}})},cF={borderRadius:rF,borderWidth:nF,minHeight:oF,opacity:aF,sizing:iF,spacing:lF,state:sF},uF={get:me({0:{value:{x:"0",y:"0",blur:"0",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow",description:"No shadow variant"},1:{value:{x:"0",y:"2",blur:"4",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},2:{value:{x:"0",y:"4",blur:"8",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},3:{value:{x:"0",y:"8",blur:"16",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},4:{value:{x:"0",y:"16",blur:"24",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow"},5:{value:{x:"0",y:"-2",blur:"4",spread:"0",color:"rgba(200,206,255,0.45)",type:"dropShadow"},type:"boxShadow",description:"Used for sticky/fixed components"}},ye.BoxShadow)},dF={get:He({backgroundColor:{default:{value:"{colors.neutral.1}",type:"color",description:"default backgroundColor variant"},transparent:{value:"{colors.transparent.1}",type:"color",description:"transparent backgroundColor variant"},alt:{value:"{colors.neutral.2}",type:"color",description:"alt backgroundColor variant"},inverted:{value:"{colors.neutral.6}",type:"color",description:"invertedBackgroundColor default variant"},invertedAlt:{value:"{colors.neutral.5}",type:"color",description:"invertedBackgroundColor, alt variant"}},backdrop:{default:{value:"{colors.transparent.5}",type:"color",description:"backdrop shade"}},palette:{error:{muted:{type:"color",value:"{colors.red.1}"},base:{type:"color",value:"{colors.red.2}"},contrast:{type:"color",value:"{colors.red.3}"}},warning:{muted:{type:"color",value:"{colors.orange.1}"},base:{type:"color",value:"{colors.orange.2}"},contrast:{type:"color",value:"{colors.orange.3}"}},primary:{muted:{type:"color",value:"{colors.blue.5}"},base:{type:"color",value:"{colors.blue.6}"},contrast:{type:"color",value:"{colors.blue.7}"}},secondary:{muted:{type:"color",value:"{colors.transparent.2}"},base:{type:"color",value:"{colors.transparent.3}"},contrast:{type:"color",value:"{colors.transparent.4}"}},success:{muted:{type:"color",value:"{colors.teal.1}"},base:{type:"color",value:"{colors.teal.2}"},contrast:{type:"color",value:"{colors.teal.3}"}},tertiary:{muted:{value:"{colors.transparent.2}",type:"color"},base:{value:"{colors.transparent.1}",type:"color"},contrast:{value:"{colors.transparent.3}",type:"color"}},upsell:{muted:{value:"{colors.purple.1}",type:"color"},base:{value:"{colors.purple.2}",type:"color"},contrast:{value:"{colors.purple.3}",type:"color"}},primaryAlt:{muted:{value:"{colors.blue.1}",type:"color"},base:{value:"{colors.blue.2}",type:"color"},contrast:{value:"{colors.blue.3}",type:"color"}}},textColor:{default:{primary:{value:"{colors.neutral.6}",type:"color",description:"Sets color for primary text"},secondary:{value:"{colors.neutral.4}",type:"color",description:"Sets color for secondary text"},error:{value:"{colors.red.7}",type:"color",description:"Sets color for error text"},active:{value:"{colors.blue.7}",type:"color",description:"Sets color for active text"},visited:{value:"{colors.purple.7}",type:"color",description:"Sets color for visited text (link)"},warning:{value:"{colors.orange.7}",type:"color",description:"Sets color for warning text"},success:{value:"{colors.teal.7}",type:"color",description:"Sets color for success text"}},inverted:{visited:{value:"{colors.purple.4}",type:"color",description:"Sets color for visited text (link)"},primary:{value:"{colors.neutral.1}",type:"color",description:"Sets color for inverted primary text"},secondary:{value:"{colors.neutral.3}",type:"color",description:"Sets color for inverted secondary text"},error:{value:"{colors.red.4}",type:"color",description:"Sets color for inverted error text"},active:{value:"{colors.blue.4}",type:"color",description:"Sets color for inverted active text"},warning:{value:"{colors.orange.4}",type:"color"},success:{value:"{colors.teal.4}",type:"color",description:"Sets color for inverted success text"}}},borderColor:{decorative:{transparent:{value:"{colors.transparent.1}",type:"color",description:"transparent borderColor variant"},default:{value:"{colors.transparent.5}",type:"color",description:"Default decorative borderColor"},inverted:{value:"{colors.transparent.10}",type:"color",description:"Inverted decorative borderColor"}},interactive:{default:{value:"{colors.blue.4}",type:"color",description:"Used in default component state"},active:{value:"{colors.blue.6}",type:"color",description:"Used in active component state"},error:{value:"{colors.red.5}",type:"color",description:"Sets borderColor for error"},upsell:{value:"{colors.purple.5}",type:"color",description:"Sets borderColor for upsell"},warning:{value:"{colors.orange.5}",type:"color",description:"Sets borderColor for warning"},success:{value:"{colors.teal.5}",type:"color",description:"Sets borderColor for success"},focused:{value:"{colors.purple.5}",type:"color",description:"Sets focused container borderColor for component"}}},indicators:{brand:{value:"{colors.blue.5}",type:"color"},success:{value:"{colors.teal.5}",type:"color"},pending:{value:"{colors.purple.4}",type:"color"},warning:{value:"{colors.orange.4}",type:"color"},error:{value:"{colors.red.5}",type:"color"},inactive:{value:"{colors.neutral.3}",type:"color"}}})},fF={get:He({default:{value:"{opacity.4}",type:"opacity"}})},pF={get:He({borderRadius:{hover:{value:"{borderRadius.7}",type:"borderRadius",description:"Sets border radius for circular hover shape"}},backgroundColor:{hover:{value:"{colors.transparent.2}",type:"color",description:"Sets transparent overlay for interactive icon on hover"}},loading:{gradient:{value:"{colors.gradient.1}",type:"color",description:"Alt loading state gradient"}}})},gF={get:Hc({normal:{headline01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.10}",fontSize:"{fontSize.10}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Largest text on the screen, reserved for the page title. Can only appear once"},headline02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.9}",fontSize:"{fontSize.9}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 2, reserved for important copy that is not a title (e.g. section titles)"},headline03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.8}",fontSize:"{fontSize.8}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 3"},headline04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.7}",fontSize:"{fontSize.6}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 4"},headline05:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.6}",fontSize:"{fontSize.5}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 5"},title01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant"},title02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant"},title03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant"},label01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant"},label02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant"},label03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant"},label04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant"},body01:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Large variant"},body02:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Medium variant"},body03:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Small variant"},body04:{value:{fontFamily:"{fontFamily.roboto}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Used for text within components. Extra small variant"}},mono:{headline01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.10}",fontSize:"{fontSize.10}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Largest text on the screen, reserved for the page title. Can only appear once"},body04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Used for text within components. Extra small variant"},headline02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.9}",fontSize:"{fontSize.9}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 2, reserved for important copy that is not a title (e.g. section titles)"},headline03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.8}",fontSize:"{fontSize.8}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 3"},headline04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.7}",fontSize:"{fontSize.6}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 4"},headline05:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.6}",fontSize:"{fontSize.5}",letterSpacing:"{letterSpacing.0}"},type:"typography",description:"Headline variant 5"},title01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Large variant"},title02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Medium variant"},title03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.bold}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, reserved for short, medium emphasis text or text within components. Small variant"},label01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Large variant"},label02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Medium variant"},label03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Smaller than headline, resrved for short to medium, medium emphasis text (less than titles) or text within components. Small variant"},label04:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.medium}",lineHeight:"{lineHeight.1}",fontSize:"{fontSize.1}",letterSpacing:"{letterSpacing.1}"},type:"typography",description:"Resrved for short to medium, medium emphasis text (less than titles) or text within components. Extra small variant"},body01:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.5}",fontSize:"{fontSize.4}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Large variant"},body02:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.4}",fontSize:"{fontSize.3}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Medium variant"},body03:{value:{fontFamily:"{fontFamily.robotoMono}",fontWeight:"{fontWeight.regular}",lineHeight:"{lineHeight.2}",fontSize:"{fontSize.2}",letterSpacing:"{letterSpacing.2}"},type:"typography",description:"Used for longer text string of regular emphasis or text within components. Small variant"}}})},O9={semantic:{disabledState:fF,colors:dF,state:pF,typography:gF,boxShadow:uF}},yc=e=>({globals:Gt,colorScheme:e,overrides:Ic,dimension:cF,tokens:{...D.get(O9,e||"semantic",O9.semantic)},utils:{getColor:yl(Gt.oldColors),getAAColorFromSwatches:Nc(Gt.oldColors),getAAColor:hl(Gt.oldColors)}}),CF=e=>m.css("::-webkit-scrollbar{width:5px;}::-webkit-scrollbar-track{background:transparent;}::-webkit-scrollbar-thumb{background:",e.tokens.colors.get("palette.primary.muted"),";border-radius:5px;}*{scrollbar-width:thin;scrollbar-color:",e.tokens.colors.get("palette.primary.muted")," transparent;}",""),vF=e=>m.css("@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');{}",N9,";",CF(e)," body,html{font-family:'Roboto',Tahoma,sans-serif;font-size:16px;font-weight:normal;}body{",i3(e),";}#root{}h1{",e3(e),";}h2{",t3(e),";}h3{",r3(e),";}h4{",n3(e),";}h5{",o3(e),";}*:focus{outline:0;}::view-transition-group(*){animation-duration:250ms;animation-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.1);}::view-transition-new(.toast):only-child{animation-name:fade-in-up;}::view-transition-old(.toast):only-child{animation-name:fade-out;}@keyframes fade-out{to{opacity:0;}}@keyframes fade-in-up{from{opacity:0;transform:translateY(24px);}}",""),yF=(e,t)=>D.merge(yc(t),D.pick(e,D.keys(yc(t)))),hF=({theme:e={},children:t})=>c.jsx(KN,{children:c.jsx(bF,{theme:e,children:t})}),bF=({theme:e={},children:t})=>{const n=GN().isDark?"dark":"semantic",o={colorScheme:n,overrides:e==null?void 0:e.overrides};return c.jsx(m.ThemeProvider,{theme:yF(o,n),children:c.jsxs(tF,{children:[c.jsx(m.Global,{styles:vF}),t]})})},M9={notification:`max-height: ${O(294)};`,generic:"max-height: none;"},mF=(e,t,r)=>{const n=Ct(e)?r.tokens.colors.get(`borderColor.interactive.${gt(e)}`):r.utils.getColor(e,500,"normal");return t==="outlined"?`border: ${r.globals.borderWidth.get("2")} solid ${n}`:`box-shadow: ${r.tokens.boxShadow.get("2")}
170
170
  `},wF=(e,t)=>r=>m.css("display:flex;flex-direction:column;overflow:hidden;border-radius:",O(8),";",mF(e,t,r),";",""),SF=e=>t=>m.css(a3(t),";color:",Ct(e)?t.tokens.colors.get(`textColor.default.${gt(e)}`):t.globals.oldColors.white,";display:flex;justify-content:space-between;overflow:hidden;height:",O(58),";background:",Ct(e)?t.tokens.colors.get(`palette.${Ld(e)}.muted`):t.utils.getColor(e,500,"normal"),";",""),xF=()=>e=>m.css(et,";padding:0 ",e.globals.spacing.get("6"),";",""),EF=()=>e=>m.css("padding-right:",e.globals.spacing.get("4"),";",""),_F=()=>e=>m.css("display:flex;align-items:center;padding-right:",e.globals.spacing.get("6"),";",""),kF=e=>()=>m.css("cursor:pointer;transform:rotate(",e?"180":"0","deg);",de(.2),";",""),TF=(e,t,r)=>n=>m.css(de(.1),";min-height:",O(r&&t?146:0),";",Ct(e)?M9.notification:M9.generic," height:",t?"inherit":O(0),";font-size:",n.globals.typography.fontSize.get("3"),";position:relative;background:",n.globals.oldColors.white,";",""),Ct=e=>["success","error","warning","info"].includes(e),$F=({message:e,type:t="primary",styleType:r="elevated",closeCTA:n,isExpanded:o=!1,hasMinimumHeight:a=!0,children:i,dataTestId:l})=>{const[s,u]=v.useState(o),d=N();return c.jsxs("div",{css:wF(t,r),...Ct(t)&&{"notification-type":"toast"},children:[c.jsxs("div",{css:SF(t),children:[c.jsxs("div",{css:xF(),children:[Ct(t)&&c.jsx("div",{css:EF(),children:c.jsx(H,{name:nc(t),color:d.tokens.colors.get(`textColor.default.${gt(t)}`),size:24})}),c.jsx("div",{children:e})]}),c.jsxs("div",{css:_F(),children:[c.jsx("span",{css:kF(s),onClick:()=>u(!s),"data-testid":K("toast-expand",l),children:c.jsx(H,{name:"chevronDown",color:Ct(t)?d.tokens.colors.get("textColor.default.secondary"):"#ffffff",size:24})}),c.jsx("span",{css:W1(),onClick:n,"data-testid":K("toast-close",l),children:c.jsx(H,{name:"close",color:Ct(t)?d.tokens.colors.get("textColor.default.secondary"):"#ffffff",size:24})})]})]}),c.jsx("div",{css:TF(t,s,a),"data-testid":K("expanded-container",l),children:i})]})},L9={wrapper:e=>m.css(et,";background-color:transparent;margin:",e.globals.spacing.get("6")," ",e.globals.spacing.get("8")," ",e.globals.spacing.get("6")," ",e.globals.spacing.get("6"),";border-radius:",e.globals.spacing.get("3"),";max-width:",O(400),";",""),placeholderWrapper:{name:"179mfwc",styles:"margin:auto;height:100%;display:flex;justify-content:center;align-items:center;cursor:default"}},AF=()=>c.jsxs("div",{css:L9.placeholderWrapper,children:[c.jsx("strong",{children:"LOGO"}),"PLACEHOLDER"]}),PF=({logoIcon:e})=>c.jsx("div",{css:L9.wrapper,children:e||c.jsx(AF,{})}),OF={iconWrapper:e=>m.css("cursor:pointer;margin:",e.globals.spacing.get("8")," 0px ",e.globals.spacing.get("8")," ",e.globals.spacing.get("3"),";","")},MF=({onMenuIconClick:e})=>{const t=N();return c.jsx("div",{css:OF.iconWrapper,onClick:e,"data-testid":"menu-handler",children:c.jsx(H,{color:t.globals.oldColors.primary[500],name:"menu",size:24})})},LF=({items:e,userAvatar:t,userName:r,onSelect:n})=>{const[o,a]=v.useState(!1),i=v.useRef(null),l=()=>{a(d=>!d)},[s,u]=v.useState(new Set([]));return c.jsxs(c.Fragment,{children:[c.jsx(xe,{avatar:t,iconRightName:"chevronDown",ref:i,"aria-label":"Menu",dataTestId:"userMenu",type:"tertiary",onClick:l,"aria-controls":o?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":o?"true":void 0,children:r}),c.jsx(Td,{triggerRef:i,isOpen:o,onClose:l,selectedKeys:s,rowSize:"normal",onSelectionChange:u,onAction:n,children:e.map(d=>c.jsx(Le,{parentType:"Menu",children:c.jsx(We,{children:d})},d))})]})},IF=(e,t)=>e?t.tokens.colors.get("backgroundColor.invertedAlt"):t.tokens.colors.get("backgroundColor.alt"),BF=e=>t=>{const r=IF(e,t);return m.css("flex-grow:1;max-width:",O(520),";",be," ",Ut," height:",O(36),";background-color:",r,";padding-left:",t.globals.spacing.get("6"),";border-radius:",t.globals.spacing.get("3"),";&[aria-disabled='true']{opacity:0.5;pointer-events:none;}&:hover{background:",e?L.lighten(.03,r):L.darken(.03,r),";}&:focus-within{background:",r,";}","")},qF=(e,t)=>r=>{const n=Gr({placeholder:e})(r),o=`
171
171
  border-radius: ${O(4)};
172
172
  color: ${t?r.tokens.colors.get("textColor.inverted.secondary"):void 0};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,14 @@
1
1
  import { TabOrientation } from './types';
2
2
 
3
- export declare const getItems: (hasCounter?: boolean) => {
3
+ export declare const getItems: (hasCounter?: boolean) => ({
4
4
  counter?: number;
5
5
  id: string;
6
6
  label: string;
7
- }[];
7
+ } | {
8
+ counter?: string;
9
+ id: string;
10
+ label: string;
11
+ })[];
8
12
  export declare const getContent: (orientation: TabOrientation) => {
9
13
  geller: import("@emotion/react/jsx-runtime").JSX.Element;
10
14
  bing: import("@emotion/react/jsx-runtime").JSX.Element;
@@ -12,7 +12,7 @@ export type TabItem = {
12
12
  /** The label of the tab */
13
13
  label: string;
14
14
  /** Optional counter */
15
- counter?: number;
15
+ counter?: number | string;
16
16
  };
17
17
  export type TabsStylesOverrides = {
18
18
  tabsContainer?: CSSObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orfium/ictinus",
3
- "version": "5.34.0",
3
+ "version": "5.35.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",