@iqworksai/common-components 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -65,7 +65,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
65
65
  checked:after:text-white checked:after:font-bold
66
66
  checked:after:left-1/2 checked:after:top-1/2
67
67
  checked:after:-translate-x-1/2 checked:after:-translate-y-1/2
68
- checked:after:text-xs`,l_=({type:e,options:t,columns:n,data:i,fetchTableData:r,searchEnabled:o=!1,filtersEnabled:s,filterFields:a,setTableData:l,refreshTable:c,paginationEnabled:u=!0,exportEnabled:d=!0,bulkActions:f={},handleBulkAction:h,onRowClick:g,columnBorders:p,showConnectorsSummary:m=!1,connectorScanObject:b,connectorDetail:y,scanDetails:x,isDeletedItemsList:I=!1,onViewDeletedItemsClick:C,showViewDeleteButton:M=!1,refreshData:R,setRefreshData:w,tableWrapperClass:_,searchColumns:A=[],onExport:k,FilterModal:D,ConnectorSummaryAccordion:B})=>{var Fd,Od,Td,Dd,Nd;const N=Dm(),P=Lm(),O=Nm(L=>!P||!(L!=null&&L.tableData)?null:L.tableData[e]||null),[T,E]=S.useState(""),[F,V]=S.useState(()=>(O==null?void 0:O.sorting)??[]),[j,G]=S.useState(new Set),[$,Y]=S.useState(),[U,re]=S.useState(!0),[ve,Q]=S.useState(!1),[te,ue]=S.useState(0),{filters:J}=jm(),[H,ye]=S.useState({}),[Z,pe]=S.useState(()=>O!=null&&O.pagination?{...O.pagination}:{pageIndex:Ns,pageSize:Ds}),{showToast:ge}=Tm(),{showLoader:st,hideLoader:le}=$m(),[Te,qt]=S.useState(),xn=S.useRef(null),bt=S.useRef(""),Gn=S.useRef(""),Ye=S.useRef(!1),ke=j5({data:i,columns:n,state:{columnVisibility:{actions:U},globalFilter:T,sorting:F,pagination:Z},onColumnVisibilityChange:()=>re(!U),onGlobalFilterChange:E,onSortingChange:V,getCoreRowModel:D5(),manualPagination:!0,manualSorting:!0,manualFiltering:!0,pageCount:Math.ceil(te/Z.pageSize),onPaginationChange:pe,...u&&{getPaginationRowModel:L5()}}),Ge=((Fd=ke.getState().pagination)==null?void 0:Fd.pageIndex)+1||1,[Qe,Tt]=S.useState(!1),[li,$o]=S.useState(!1),[Wt,vt]=S.useState(Ge),Dt=S.useMemo(()=>Math.max(Math.ceil(te/Z.pageSize),1),[te,Z.pageSize,Z.pageIndex,Qe,I]);S.useEffect(()=>{R&&(jo(),w&&w(!1))},[R]),S.useEffect(()=>{if(e&&P&&N)try{const{setPagination:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,pagination:Z}))}catch{}},[Z.pageIndex,Z.pageSize,e]),S.useEffect(()=>{vt(Ge)},[Ge]),S.useEffect(()=>{if(P&&N)try{const{setGlobalSorting:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,sorting:F}))}catch{}},[(Od=F[0])==null?void 0:Od.desc,(Td=F[0])==null?void 0:Td.id]);const ci=S.useMemo(()=>{var Re,je,at;const L={pageNumber:ke.getState().pagination.pageIndex,pageSize:ke.getState().pagination.pageSize},ne={sortBy:F.length&&(Re=F[0])!=null&&Re.id?(je=F[0])==null?void 0:je.id:void 0,order:F.length&&(at=F[0])!=null&&at.desc?"desc":"asc"},X={searchTerm:T,searchColumns:A.length>0?A:void 0};return{options:t,filters:Object.keys(J).length>0?J:H,...X,...L,...ne,fetchDeleted:I}},[T,J,F,ke.getState().pagination.pageIndex,ke.getState().pagination.pageSize,(Dd=F[0])==null?void 0:Dd.id,(Nd=F[0])==null?void 0:Nd.desc,I,Qe,t==null?void 0:t.arg,A]),a1=L=>{if(L){const ne=i.filter(X=>!X.isDisabled).map(X=>X.id);G(new Set(ne))}else G(new Set)};S.useEffect(()=>()=>{var L;Te&&((L=window.api)!=null&&L.deleteExportedFile)&&window.api.deleteExportedFile((Te??"").replace("download:\\",""))},[Te]),S.useEffect(()=>{const L=async()=>{if(r){Ye.current=!0;try{st();let Re=0;if(e===hu.SCANRESULT&&(t!=null&&t.usePermanentCache)){const at=`scandetails_count_${JSON.stringify({...ci,pageNumber:void 0,pageSize:void 0})}`,zn=localStorage.getItem(at)||sessionStorage.getItem(at);if(zn)try{const yn=JSON.parse(zn);yn&&typeof yn.totalRecords=="number"&&(Re=yn.totalRecords)}catch{}Re||(Re=(await r({...ci,usePermanentCache:(t==null?void 0:t.usePermanentCache)||!1})).totalRecords??0)}else Re=(await r({...ci,...t!=null&&t.usePermanentCache?{usePermanentCache:t.usePermanentCache}:{}})).totalRecords??0;const je=Math.max(Math.ceil(Re/Z.pageSize)-1,0);i.length===0&&Z.pageIndex>0?pe(at=>({...at,pageIndex:Math.min(Z.pageIndex,je)})):Z.pageIndex>je&&pe(at=>({...at,pageIndex:je})),ke.setPageCount(Math.ceil(Re/Z.pageSize))}catch(Re){console.error("Failed to update total count",Re)}finally{Ye.current=!1;const Re=JSON.stringify({pagination:Z,searchApplied:li,sorting:F,isDeletedItemsList:I});Re!==bt.current&&(bt.current=Re,jo()),le()}}},ne=JSON.stringify({options:t,filters:J,searchTerm:T,searchColumns:A,sorting:F,isDeletedItemsList:I,pageSize:Z.pageSize});ne!==Gn.current&&(L(),Gn.current=ne)},[t,J,T,e,F,I,Z.pageSize,A]);const l1=L=>{var ne;L.key==="Enter"&&((ne=xn.current)==null||ne.click())},c1=(L,ne)=>{G(X=>{const Re=new Set(X);return ne?Re.add(L):Re.delete(L),Re})},u1=async()=>{var ne;if(!e)return;let L="";try{if(st(),k)L=await k(e,H,t,I);else if((ne=window.api)!=null&&ne.exportTable)L=t?await window.api.exportTable(e,H,t,I):await window.api.exportTable(e,H,{},I);else{ge(Mt.ERROR,"Export functionality is not available. Please provide an onExport handler.");return}qt(L);const X=document.createElement("a");X.href=L,X.download=`export-${e}.csv`,document.body.appendChild(X),X.click(),document.body.removeChild(X),ge(Mt.SUCCESS,"Export initiated successfully")}catch(X){console.error("Export error",X),ge(Mt.ERROR,"Export failed")}finally{le(),L&&L.startsWith("blob:")&&URL.revokeObjectURL(L)}},Ed=()=>{let L=0;return i.forEach(ne=>{ne.isDisabled||L++}),L},d1=async()=>{if(!(!r||!l)){st(),pe(L=>({...L,pageIndex:0}));try{$o(T!==""),await jo()}catch(L){console.error("Search error:",L),ge(Mt.ERROR,"Search operation failed.")}finally{le()}}},jo=async()=>{if(!(!r||!l)){st();try{const L=await r({...ci,...t!=null&&t.usePermanentCache?{usePermanentCache:t.usePermanentCache}:{}}),ne=L.totalRecords;if(ue(ne),l(L.data),P&&N)try{const{setTotalCount:X,setTableData:Re}=require("../../redux/slices/tableDataSlice");N(X({tableType:e,totalCount:ne})),N(Re({tableType:e,data:L.data}))}catch{}}catch(L){console.error("Failed to fetch data",L),ge(Mt.ERROR,"Failed to fetch data!")}finally{le()}}};S.useEffect(()=>{const L=JSON.stringify({pagination:Z,searchApplied:li,sorting:F,isDeletedItemsList:I});L!==bt.current&&!Ye.current&&(bt.current=L,jo())},[Z.pageIndex,Z.pageSize,li,F,I]);const Ad=Object.entries(f).map(([L,ne])=>({value:L,label:ne})),f1=()=>G(new Set),h1=()=>Y(""),Sr=S.useMemo(()=>!!h,[h]),Md=j.size>0,Rd=L=>{let ne=0,X=!1;return Sr&&(ne+=57),ke.getHeaderGroups().forEach(Re=>{Re.headers.forEach(je=>{if(!X&&je.column.columnDef.fixedColumn){if(je.id===L){X=!0;return}je.getSize()?ne+=je.getSize()+16:ne+=150}})}),`${ne}px`},Pd=D,kd=B;return v.jsxs("div",{className:"py-0 px-0 flex flex-col gap-2 mt-2",children:[v.jsxs("div",{className:"main-action-wrapper flex gap-2 relative justify-end",children:[d&&!!e&&v.jsxs("button",{onClick:u1,className:"flex items-center shadow-sm gap-2 px-4 py-2 text-sm border border-transparent bg-brand-primary rounded-md transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-[var(--brand-orange)] focus:ring-offset-2",children:[v.jsx(ca,{className:"h-4 w-4"}),v.jsx("span",{children:"Export"})]}),s&&v.jsxs("button",{onClick:()=>Q(!0),className:"filters flex items-center shadow-sm gap-2 px-4 py-2 text-sm border border-1 border-[var(--border-color)] rounded-md hover:bg-brand-surface-subtle dark:text-gray-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-[var(--brand-orange)]",children:[Qe&&v.jsx("span",{className:"h-2 w-2 bg-brand-primary rounded-full"}),v.jsx(k1,{className:"h-3 w-3 text-brand-primary"}),v.jsx("span",{children:"Filters"})]}),Sr&&Md&&v.jsx("div",{className:"rounded-md text-gray-500 dark:text-gray-400 text-sm appearance-none absolute top-0 left-0 z-30",children:v.jsx(ym,{placeholder:"Bulk Actions",className:"w-[10rem] bulk-actions-select",value:Ad.find(L=>L.value===$)||null,options:Ad,onChange:L=>{L&&(Y(L.value),h&&(h(L.value,j,f1,h1),Y("")))},isClearable:!0,styles:{control:(L,ne)=>({...L,borderColor:ne.isFocused?"var(--brand-orange)":"var(--border-color)",borderRadius:"0.25rem",cursor:"pointer",backgroundColor:"var(--bg-color)",color:"var(--text-color)",boxShadow:ne.isFocused?"0 0 0 1px var(--brand-orange)":"none",":hover":{borderColor:"var(--brand-orange)"}}),input:L=>({...L,color:"var(--text-color)"}),singleValue:L=>({...L,color:"var(--text-color)"}),placeholder:L=>({...L,color:"var(--secondary-text-color)"}),option:(L,ne)=>({...L,backgroundColor:ne.isSelected?"var(--brand-orange)":ne.isFocused?"var(--hover-bg-color)":"var(--bg-color)",color:ne.isSelected?"white":"var(--text-color)",cursor:"pointer",":active":{backgroundColor:"var(--brand-orange)"}}),menu:L=>({...L,backgroundColor:"var(--bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)",zIndex:9999}),dropdownIndicator:L=>({...L,cursor:"pointer",color:"var(--secondary-text-color)",":hover":{color:"var(--brand-orange)"}}),clearIndicator:L=>({...L,cursor:"pointer",color:"var(--secondary-text-color)",":hover":{color:"var(--brand-orange)"}}),indicatorSeparator:L=>({...L,backgroundColor:"var(--border-color)"})}})}),o&&v.jsxs("div",{className:"flex max-w-xs w-full border rounded-md overflow-hidden shadow-sm main-search-input",style:{borderColor:"var(--border-color)"},children:[v.jsx("input",{type:"text","data-testid":"table-search-input",placeholder:"Search...",value:T,onKeyDown:l1,onChange:L=>E(L.target.value),className:"flex-grow px-4 py-2 text-sm placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",style:{backgroundColor:"var(--bg-color)",color:"var(--text-color)"}}),v.jsx("button",{ref:xn,"data-testid":"table-search-button",className:"px-4 py-0 transition-colors",style:{backgroundColor:"var(--brand-light)",color:"var(--brand-dark)"},onMouseEnter:L=>L.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:L=>L.currentTarget.style.backgroundColor="var(--brand-light)",onClick:d1,children:v.jsx(z5,{size:22})})]})]}),m&&kd&&v.jsx(kd,{connectorDetail:y,scanDetails:x,scanObjects:b??[]}),v.jsx("div",{className:"main-table-wrapper flex-grow overflow-hidden rounded-md table-container",children:v.jsx("div",{className:`overflow-auto${_?` ${_}`:""}`,style:_?{}:{maxHeight:"calc(100vh - 21rem)"},children:v.jsxs("table",{className:"table-auto w-full text-left border-collapse border dark:border-gray-700 main-table",children:[v.jsx("thead",{className:"sticky -top-1 z-20 bg-brand-surface-subtle dark:bg-gray-800",children:ke.getHeaderGroups().map((L,ne)=>v.jsxs("tr",{children:[Sr&&v.jsx("th",{className:"sticky -left-1 z-20 table-header checkbox font-bold cursor-pointer",style:{width:"40px"},children:v.jsx("input",{type:"checkbox",className:`${Pc} dark:border-gray-600`,checked:ke.getRowModel().rows.length>0&&j.size===Ed()&&Ed()>0,onChange:X=>{X.stopPropagation(),a1(X.target.checked)}})}),L.headers.map((X,Re)=>{var zn,yn;let je="";const at=["actions"].includes((zn=X==null?void 0:X.column)==null?void 0:zn.id);return X.column.columnDef.fixedColumn&&(je+=" sticky z-10"),X.column.columnDef.centerAlign&&(je+=" text-center"),at&&(je+=" right-fixed"),["#","id"].includes((yn=X==null?void 0:X.column)==null?void 0:yn.id)&&(je+=" id-column"),v.jsxs("th",{className:`table-header ${p?"border dark:border-gray-600":""} font-bold whitespace-nowrap text-ellipsis cursor-pointer dark:text-gray-200 ${je}`,style:{minWidth:X.column.columnDef.minSize||"auto",maxWidth:X.column.columnDef.maxSize||"auto",left:X.column.columnDef.fixedColumn?Rd(X.id):void 0,right:at?0:void 0},onClick:()=>{X.column.getCanSort()&&X.column.toggleSorting()},children:[X.isPlaceholder?null:sh(X.column.columnDef.header,X.getContext()),v.jsxs("span",{className:"ml-0",children:[X.column.getIsSorted()==="asc"&&v.jsx(Y5,{size:24,className:"inline-block pb-1"}),X.column.getIsSorted()==="desc"&&v.jsx(X5,{size:24,className:"inline-block pb-1"})]})]},`${X.id}_${Re}`)})]},`${L.id}_${ne}`))}),v.jsx("tbody",{children:ke.getRowModel().rows.length===0?v.jsx("tr",{children:v.jsx("td",{colSpan:n.length+(Sr?1:0),className:"text-center text-sm py-4 text-gray-600 dark:text-gray-400",children:"No data available"})}):ke.getRowModel().rows.map((L,ne)=>v.jsxs("tr",{className:`table-data${g?" cursor-pointer":""}`,onClick:X=>{g&&!X.target.closest('input[type="checkbox"]')&&g(L.original)},children:[Sr&&v.jsx("td",{className:"table-padding checkbox sticky -left-1 z-10",style:{width:"40px"},onClick:X=>{X.stopPropagation();const Re=X.currentTarget.querySelector('input[type="checkbox"]');Re&&Re.click()},children:v.jsx("input",{type:"checkbox",disabled:L.original.isDisabled,className:`${Pc} dark:border-gray-600`,checked:j.has(L.original.id)&&!L.original.isDisabled,onChange:X=>{L.original.isDisabled||c1(L.original.id,X.target.checked)},onClick:X=>X.stopPropagation()})}),L.getVisibleCells().map((X,Re)=>{var zn;let je="";const at=["actions","startTime","endTime","created_at","updated_at","created","updated"].includes((zn=X==null?void 0:X.column)==null?void 0:zn.id);return X.column.columnDef.preLine&&(je+=" pre-line"),X.column.columnDef.fixedColumn&&(je+=" sticky z-10"),X.column.columnDef.centerAlign&&(je+=" text-center"),at&&(je+=" right-fixed"),v.jsx("td",{className:`table-padding ${je} ${p?"border":""} whitespace-nowrap text-ellipsis`,style:{minWidth:X.column.columnDef.minSize||"auto",maxWidth:X.column.columnDef.maxSize||"auto",left:X.column.columnDef.fixedColumn?Rd(X.column.id):void 0,right:at?0:void 0,backgroundColor:X.column.columnDef.fixedColumn?"var(--bg-color)":void 0,borderColor:p?"var(--border-color)":void 0,color:"var(--text-color)"},onClick:yn=>{X.column.columnDef.disableClick&&yn.stopPropagation()},children:sh(X.column.columnDef.cell,X.getContext())},`${X.id}_${Re}`)})]},`${L.id}_${ne}`))})]})})}),u&&v.jsxs("div",{className:"sticky bottom-0 z-10 bg-brand-surface py-2 flex justify-between items-center pagination-container dark:text-gray-300 main-table-footer",children:[v.jsxs("div",{className:"flex items-center space-x-1",children:[v.jsx("button",{onClick:()=>ke.setPageIndex(0),disabled:Z.pageIndex===0,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(W5,{size:20})}),v.jsx("button",{onClick:()=>ke.previousPage(),disabled:Z.pageIndex===0,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(Z5,{size:20})}),v.jsxs("span",{className:"pagination-content",style:{color:"var(--text-color)"},children:["Page",v.jsx("input",{type:"number",value:Wt,onChange:L=>{const ne=L.target.value.replace(/^0+/,"");vt(ne===""?"":Number(ne))},onBlur:()=>{const L=Math.min(Math.max(Number(Wt),1),Dt);vt(L),ke.setPageIndex(L-1)},onKeyDown:L=>{if(L.key==="Enter"){const ne=Math.min(Math.max(Number(Wt),1),Dt);vt(ne),ke.setPageIndex(ne-1)}},className:"px-2 py-1 rounded text-center mx-2",style:{width:`${String(Wt||Rc).length+Rc}ch`,backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)",color:"var(--text-color)"}}),"of ",v.jsx("span",{className:"mx-1",children:Dt})]}),v.jsx("button",{onClick:()=>ke.nextPage(),disabled:Z.pageIndex+1===Dt,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(J5,{size:20})}),v.jsx("button",{onClick:()=>ke.setPageIndex(Dt),disabled:Z.pageIndex+1===Dt,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(H5,{size:20})})]}),M&&v.jsx("button",{"data-testid":I?"view-active-items-button":"view-deleted-items-button",onClick:()=>{if(G(new Set),Z.pageIndex=Ns,Z.pageSize=Ds,P&&N)try{const{setPagination:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,pagination:{pageIndex:Ns,pageSize:Ds}}));try{const{setFilters:ne}=require("../../redux/slices/filterSlice");N(ne({tableType:e,filters:{}}))}catch{}}catch{}Tt(!1),C==null||C()},className:`toggle-delete text-xs px-2 py-1 min-w-24 rounded flex items-center gap-1 font-semibold justify-center ${I?"bg-gray-600 text-white hover:bg-gray-700 dark:bg-gray-500 dark:text-gray-200 dark:hover:bg-gray-400":"bg-white text-gray-600 hover:bg-gray-100 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600"} border border-gray-300 text-gray-700 dark:border-gray-500 focus:outline-none`,children:I?"View Active Items":"View Deleted Items"}),v.jsxs("div",{className:"flex items-center space-x-2 pagination-content",style:{color:"var(--text-color)"},children:[v.jsx("span",{children:"Rows per page"}),v.jsx("div",{style:{width:"90px"},children:v.jsx(Cm,{placeholder:"",options:[10,25,50,100].map(L=>({label:L.toString(),value:L.toString()})),selectedOptions:[{label:Z.pageSize.toString(),value:Z.pageSize.toString()}],handleChange:L=>{L&&pe(ne=>({...ne,pageSize:+L.value}))},isMulti:!1,closeMenuOnSelect:!0,isClearable:!1,menuPosition:"fixed",customStyles:{control:(L,ne)=>({...L,minHeight:"34px",height:"34px",backgroundColor:"var(--bg-color)",borderColor:ne.isFocused?"var(--brand-orange)":"var(--border-color)",boxShadow:ne.isFocused?"0 0 0 1px var(--brand-orange)":L.boxShadow})}})})]})]}),s&&a&&l&&c&&Pd&&v.jsx(Pd,{type:e,fields:a,inlineRowFields:a==null?void 0:a.filter(L=>L.inline===!0),visible:ve,onClose:()=>Q(!1),title:"Filters",okText:"Apply Filters",cancelText:"Clear",data:i,setFilteredData:l,filtersApplied:Qe,toggleFilterApply:Tt,fetchTableData:r,pageNumber:Z.pageIndex,pageSize:Z.pageSize,setTotalRowCount:ue,setPagination:pe,options:t,sorting:F,setSorting:V,showDeletedItems:I,setExportFilters:ye,searchTerm:T})]})},c_=({isOpen:e,onClose:t,onConfirm:n,title:i,message:r,confirmText:o="Confirm",cancelText:s="Cancel",type:a="warning",isLoading:l=!1})=>{if(!e)return null;const c=()=>{switch(a){case"danger":return"text-red-500";case"warning":return"text-yellow-500";case"info":return"text-brand-primary";default:return"text-yellow-500"}},u=()=>{switch(a){case"danger":return"bg-red-600 hover:bg-red-700 focus:ring-red-500";case"warning":return"bg-yellow-600 hover:bg-yellow-700 focus:ring-yellow-500";case"info":return"bg-brand-primary hover:bg-[var(--brand-orange)]/90 focus:ring-[var(--brand-orange)]";default:return"bg-yellow-600 hover:bg-yellow-700 focus:ring-yellow-500"}};return v.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[v.jsx("div",{className:"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:t}),v.jsxs("div",{className:"relative rounded-lg text-left overflow-hidden shadow-xl transform transition-all max-w-lg w-full mx-4",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[v.jsx("div",{className:"px-4 pt-5 pb-4 sm:p-6 sm:pb-4",style:{backgroundColor:"var(--bg-color)"},children:v.jsxs("div",{className:"sm:flex sm:items-start",children:[v.jsx("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full sm:mx-0 sm:h-10 sm:w-10",style:{backgroundColor:"var(--hover-bg-color)"},children:v.jsx(Ip,{className:`h-6 w-6 ${c()}`})}),v.jsxs("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[v.jsx("h3",{className:"text-lg leading-6 font-medium",style:{color:"var(--text-color)"},children:i}),v.jsx("div",{className:"mt-2",children:v.jsx("p",{className:"text-sm whitespace-pre-line",style:{color:"var(--secondary-text-color)"},children:r})})]})]})}),v.jsxs("div",{className:"px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse",style:{backgroundColor:"var(--hover-bg-color)"},children:[v.jsx("button",{type:"button",className:`w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white ${u()} focus:outline-none focus:ring-2 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm disabled:opacity-50 disabled:cursor-not-allowed`,onClick:n,disabled:l,children:l?"Processing...":o}),v.jsx("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md shadow-sm px-4 py-2 text-base font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",style:{backgroundColor:"var(--bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--bg-color)",onClick:t,disabled:l,children:s})]})]})]})};var Gm={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wu,function(){var n=1e3,i=6e4,r=36e5,o="millisecond",s="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",g="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var P=["th","st","nd","rd"],O=N%100;return"["+N+(P[(O-20)%10]||P[O]||P[0])+"]"}},x=function(N,P,O){var T=String(N);return!T||T.length>=P?N:""+Array(P+1-T.length).join(O)+N},I={s:x,z:function(N){var P=-N.utcOffset(),O=Math.abs(P),T=Math.floor(O/60),E=O%60;return(P<=0?"+":"-")+x(T,2,"0")+":"+x(E,2,"0")},m:function N(P,O){if(P.date()<O.date())return-N(O,P);var T=12*(O.year()-P.year())+(O.month()-P.month()),E=P.clone().add(T,d),F=O-E<0,V=P.clone().add(T+(F?-1:1),d);return+(-(T+(O-E)/(F?E-V:V-E))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:d,y:h,w:u,d:c,D:g,h:l,m:a,s,ms:o,Q:f}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},C="en",M={};M[C]=y;var R="$isDayjsObject",w=function(N){return N instanceof D||!(!N||!N[R])},_=function N(P,O,T){var E;if(!P)return C;if(typeof P=="string"){var F=P.toLowerCase();M[F]&&(E=F),O&&(M[F]=O,E=F);var V=P.split("-");if(!E&&V.length>1)return N(V[0])}else{var j=P.name;M[j]=P,E=j}return!T&&E&&(C=E),E||!T&&C},A=function(N,P){if(w(N))return N.clone();var O=typeof P=="object"?P:{};return O.date=N,O.args=arguments,new D(O)},k=I;k.l=_,k.i=w,k.w=function(N,P){return A(N,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var D=function(){function N(O){this.$L=_(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[R]=!0}var P=N.prototype;return P.parse=function(O){this.$d=function(T){var E=T.date,F=T.utc;if(E===null)return new Date(NaN);if(k.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var V=E.match(m);if(V){var j=V[2]-1||0,G=(V[7]||"0").substring(0,3);return F?new Date(Date.UTC(V[1],j,V[3]||1,V[4]||0,V[5]||0,V[6]||0,G)):new Date(V[1],j,V[3]||1,V[4]||0,V[5]||0,V[6]||0,G)}}return new Date(E)}(O),this.init()},P.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},P.$utils=function(){return k},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(O,T){var E=A(O);return this.startOf(T)<=E&&E<=this.endOf(T)},P.isAfter=function(O,T){return A(O)<this.startOf(T)},P.isBefore=function(O,T){return this.endOf(T)<A(O)},P.$g=function(O,T,E){return k.u(O)?this[T]:this.set(E,O)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(O,T){var E=this,F=!!k.u(T)||T,V=k.p(O),j=function(te,ue){var J=k.w(E.$u?Date.UTC(E.$y,ue,te):new Date(E.$y,ue,te),E);return F?J:J.endOf(c)},G=function(te,ue){return k.w(E.toDate()[te].apply(E.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(ue)),E)},$=this.$W,Y=this.$M,U=this.$D,re="set"+(this.$u?"UTC":"");switch(V){case h:return F?j(1,0):j(31,11);case d:return F?j(1,Y):j(0,Y+1);case u:var ve=this.$locale().weekStart||0,Q=($<ve?$+7:$)-ve;return j(F?U-Q:U+(6-Q),Y);case c:case g:return G(re+"Hours",0);case l:return G(re+"Minutes",1);case a:return G(re+"Seconds",2);case s:return G(re+"Milliseconds",3);default:return this.clone()}},P.endOf=function(O){return this.startOf(O,!1)},P.$set=function(O,T){var E,F=k.p(O),V="set"+(this.$u?"UTC":""),j=(E={},E[c]=V+"Date",E[g]=V+"Date",E[d]=V+"Month",E[h]=V+"FullYear",E[l]=V+"Hours",E[a]=V+"Minutes",E[s]=V+"Seconds",E[o]=V+"Milliseconds",E)[F],G=F===c?this.$D+(T-this.$W):T;if(F===d||F===h){var $=this.clone().set(g,1);$.$d[j](G),$.init(),this.$d=$.set(g,Math.min(this.$D,$.daysInMonth())).$d}else j&&this.$d[j](G);return this.init(),this},P.set=function(O,T){return this.clone().$set(O,T)},P.get=function(O){return this[k.p(O)]()},P.add=function(O,T){var E,F=this;O=Number(O);var V=k.p(T),j=function(Y){var U=A(F);return k.w(U.date(U.date()+Math.round(Y*O)),F)};if(V===d)return this.set(d,this.$M+O);if(V===h)return this.set(h,this.$y+O);if(V===c)return j(1);if(V===u)return j(7);var G=(E={},E[a]=i,E[l]=r,E[s]=n,E)[V]||1,$=this.$d.getTime()+O*G;return k.w($,this)},P.subtract=function(O,T){return this.add(-1*O,T)},P.format=function(O){var T=this,E=this.$locale();if(!this.isValid())return E.invalidDate||p;var F=O||"YYYY-MM-DDTHH:mm:ssZ",V=k.z(this),j=this.$H,G=this.$m,$=this.$M,Y=E.weekdays,U=E.months,re=E.meridiem,ve=function(ue,J,H,ye){return ue&&(ue[J]||ue(T,F))||H[J].slice(0,ye)},Q=function(ue){return k.s(j%12||12,ue,"0")},te=re||function(ue,J,H){var ye=ue<12?"AM":"PM";return H?ye.toLowerCase():ye};return F.replace(b,function(ue,J){return J||function(H){switch(H){case"YY":return String(T.$y).slice(-2);case"YYYY":return k.s(T.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return ve(E.monthsShort,$,U,3);case"MMMM":return ve(U,$);case"D":return T.$D;case"DD":return k.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return ve(E.weekdaysMin,T.$W,Y,2);case"ddd":return ve(E.weekdaysShort,T.$W,Y,3);case"dddd":return Y[T.$W];case"H":return String(j);case"HH":return k.s(j,2,"0");case"h":return Q(1);case"hh":return Q(2);case"a":return te(j,G,!0);case"A":return te(j,G,!1);case"m":return String(G);case"mm":return k.s(G,2,"0");case"s":return String(T.$s);case"ss":return k.s(T.$s,2,"0");case"SSS":return k.s(T.$ms,3,"0");case"Z":return V}return null}(ue)||V.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(O,T,E){var F,V=this,j=k.p(T),G=A(O),$=(G.utcOffset()-this.utcOffset())*i,Y=this-G,U=function(){return k.m(V,G)};switch(j){case h:F=U()/12;break;case d:F=U();break;case f:F=U()/3;break;case u:F=(Y-$)/6048e5;break;case c:F=(Y-$)/864e5;break;case l:F=Y/r;break;case a:F=Y/i;break;case s:F=Y/n;break;default:F=Y}return E?F:k.a(F)},P.daysInMonth=function(){return this.endOf(d).$D},P.$locale=function(){return M[this.$L]},P.locale=function(O,T){if(!O)return this.$L;var E=this.clone(),F=_(O,T,!0);return F&&(E.$L=F),E},P.clone=function(){return k.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},N}(),B=D.prototype;return A.prototype=B,[["$ms",o],["$s",s],["$m",a],["$H",l],["$W",c],["$M",d],["$y",h],["$D",g]].forEach(function(N){B[N[1]]=function(P){return this.$g(P,N[0],N[1])}}),A.extend=function(N,P){return N.$i||(N(P,D,A),N.$i=!0),A},A.locale=_,A.isDayjs=w,A.unix=function(N){return A(1e3*N)},A.en=M[C],A.Ls=M,A.p={},A})})(Gm);var u_=Gm.exports;const kc=Su(u_);var zm={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wu,function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(o,s,a){var l=s.prototype;a.utc=function(p){var m={date:p,utc:!0,args:arguments};return new s(m)},l.utc=function(p){var m=a(this.toDate(),{locale:this.$L,utc:!0});return p?m.add(this.utcOffset(),n):m},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var u=l.init;l.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(p,m){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?d.call(this):this.$offset;if(typeof p=="string"&&(p=function(C){C===void 0&&(C="");var M=C.match(i);if(!M)return null;var R=(""+M[0]).match(r)||["-",0,0],w=R[0],_=60*+R[1]+ +R[2];return _===0?0:w==="+"?_:-_}(p),p===null))return this;var y=Math.abs(p)<=16?60*p:p;if(y===0)return this.utc(m);var x=this.clone();if(m)return x.$offset=y,x.$u=!1,x;var I=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(x=this.local().add(y+I,n)).$offset=y,x.$x.$localOffset=I,x};var f=l.format;l.format=function(p){var m=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,m)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var h=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var g=l.diff;l.diff=function(p,m,b){if(p&&this.$u===p.$u)return g.call(this,p,m,b);var y=this.local(),x=a(p).local();return g.call(y,x,m,b)}}})})(zm);var d_=zm.exports;const f_=Su(d_);kc.extend(f_);const h_=({seconds:e,pauseOnMount:t=!1,startDateTime:n,runningTime:i=!0})=>{const[r,o]=S.useState(e),[s,a]=S.useState(0);S.useEffect(()=>{!n&&typeof e=="number"&&!isNaN(e)&&o(e)},[e,n]),S.useEffect(()=>{let d;if(n){const f=kc.utc(n,"YYYY-MM-DD HH:mm:ss");d=setInterval(()=>{const g=kc.utc().diff(f,"second");a(g)},1e3)}else!t&&typeof r=="number"&&(d=setInterval(()=>{o(f=>typeof f=="number"?f-1:f)},1e3));return()=>{d&&clearInterval(d)}},[n,t,r]);const l=d=>{const f=Math.abs(d),h=Math.floor(f/3600),g=Math.floor(f%3600/60),p=f%60,m=[];return h>0&&m.push(`${h}h`),m.push(`${g}m`),m.push(`${p}s`),m.join(" ")},c=d=>n?"text-green-500 dark:text-green-400 text-[11px]":t?i?"text-[11px] dark:text-gray-300":"text-[12px] dark:text-gray-300":d<0?"text-[10px] text-red-500 dark:text-red-400":d<=60?"text-[10px] text-yellow-500 dark:text-yellow-400":"text-[10px] text-green-500 dark:text-green-400",u=n?s:r;return typeof u!="number"||isNaN(u)?v.jsx("span",{className:"text-gray-400 dark:text-gray-500 text-sm font-mono",children:"-- --"}):v.jsx("span",{className:`font-mono ${c(u)}`,children:l(u)})},g_=({error:e,onRetry:t,fallbackPath:n})=>{const[i,r]=S.useState(!1),[o,s]=S.useState(!1),a=async()=>{s(!0);try{n?window.location.href=n:window.location.reload()}finally{s(!1)}},l=()=>{t()};return S.useEffect(()=>{typeof window<"u"&&window.Sentry&&window.Sentry.captureException(e)},[e]),v.jsx("div",{className:"fixed inset-0 z-[9999] overflow-auto",style:{backgroundColor:"var(--app-bg-color, #ffffff)"},children:v.jsx("div",{className:"flex items-center justify-center min-h-screen w-full p-4 sm:p-8 font-sans",children:v.jsxs("div",{className:"shadow-md dark:shadow-lg rounded-lg p-6 sm:p-10 max-w-xl w-full text-center focus:outline-none my-8",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[v.jsxs("div",{className:"mb-8",children:[v.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full mb-5",style:{backgroundColor:"rgba(255, 101, 3, 0.1)",color:"var(--brand-orange)"},children:v.jsx(Hu,{size:32})}),v.jsx("h2",{className:"text-xl font-semibold mb-3 leading-snug",style:{color:"var(--text-color)"},children:"Something went wrong"}),v.jsx("p",{className:"text-base leading-relaxed max-w-md mx-auto",style:{color:"var(--secondary-text-color)"},children:"An unexpected error occurred. Please try refreshing the page"})]}),v.jsxs("div",{className:"flex flex-wrap justify-center gap-3 mb-8",children:[v.jsxs("button",{className:"bg-brand-primary inline-flex items-center justify-center gap-2 px-5 py-3 rounded-md font-medium text-sm transition-all duration-150 min-w-[120px] focus:outline-none disabled:opacity-65 disabled:cursor-not-allowed disabled:pointer-events-none",onClick:l,disabled:o,children:[v.jsx(K5,{size:16,className:o?"animate-spin ":""}),"Try Again"]}),v.jsxs("button",{className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-md font-medium text-sm transition-all duration-150 min-w-[120px] focus:outline-none disabled:opacity-65 disabled:cursor-not-allowed disabled:pointer-events-none",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)"},onMouseEnter:c=>{c.currentTarget.style.backgroundColor="var(--border-color)"},onMouseLeave:c=>{c.currentTarget.style.backgroundColor="var(--hover-bg-color)"},onClick:a,disabled:o,children:[v.jsx(G5,{size:16}),n?"Go to Home":"Refresh Page"]})]}),process.env.NODE_ENV!=="production"&&v.jsxs("div",{className:"pt-6",style:{borderTop:"1px solid var(--border-color)"},children:[v.jsxs("button",{className:"inline-flex items-center gap-2 text-sm font-medium py-2 px-3 rounded transition-colors",style:{color:"var(--brand-orange)"},onMouseEnter:c=>{c.currentTarget.style.backgroundColor="var(--hover-bg-color)"},onMouseLeave:c=>{c.currentTarget.style.backgroundColor="transparent"},onClick:()=>r(!i),children:[i?v.jsx(U5,{size:16}):v.jsx(Q5,{size:16}),i?"Hide":"Show"," Error Details"]}),i&&v.jsxs("div",{className:"mt-5 text-left p-5 rounded-md max-h-[400px] overflow-auto",style:{backgroundColor:"var(--hover-bg-color)",border:"1px solid var(--border-color)"},children:[v.jsxs("div",{className:"mb-4 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Error Message:"}),v.jsx("code",{className:"text-sm leading-snug break-words p-2 rounded font-mono",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",color:"#dc2626",border:"1px solid rgba(239, 68, 68, 0.3)"},children:e.message})]}),v.jsxs("div",{className:"mb-4 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Timestamp:"}),v.jsx("span",{className:"text-sm leading-snug break-words",style:{color:"var(--text-color)"},children:new Date().toLocaleString()})]}),e.stack&&v.jsxs("div",{className:"mb-0 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Stack Trace:"}),v.jsx("pre",{className:"text-sm leading-snug break-words p-4 rounded font-mono text-xs leading-relaxed overflow-auto whitespace-pre-wrap max-h-[300px]",style:{backgroundColor:"var(--brand-dark)",color:"#f9fafb",border:"1px solid var(--border-color)"},children:e.stack})]})]})]})]})})})};class Hm extends S.Component{constructor(t){super(t),this.handleReset=()=>{this.setState({hasError:!1,error:null,errorInfo:null}),this.props.onReset&&this.props.onReset()},this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){typeof window<"u"&&window.Sentry&&window.Sentry.captureException(t),this.setState({errorInfo:{componentStack:n.componentStack||""}}),this.props.onError&&this.props.onError(t,{componentStack:n.componentStack||""})}render(){return this.state.hasError&&this.state.error?v.jsx(g_,{error:this.state.error,onRetry:this.handleReset,fallbackPath:this.props.fallbackPath}):this.props.children}}class p_ extends S.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){var i,r;console.error("Component error:",t,n),(r=(i=this.props).onError)==null||r.call(i,t,n),typeof window<"u"&&window.Sentry&&window.Sentry.captureException(t,{contexts:{react:{componentStack:n.componentStack}}})}render(){var t;return this.state.hasError?this.props.fallback?this.props.fallback:v.jsxs("div",{className:"p-4 rounded",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)"},children:[v.jsx("p",{className:"text-sm",style:{color:"#dc2626"},children:"Something went wrong displaying this component."}),process.env.NODE_ENV==="development"&&v.jsxs("details",{className:"mt-2",children:[v.jsx("summary",{className:"cursor-pointer text-xs",style:{color:"var(--text-color)"},children:"Error details"}),v.jsx("pre",{className:"mt-1 text-xs overflow-auto",style:{color:"var(--text-color)"},children:(t=this.state.error)==null?void 0:t.toString()})]})]}):this.props.children}}const m_=({used:e,max:t,resourceName:n,warningThreshold:i=5,className:r=""})=>{const o=t-e;if(!t)return null;const a=o<=0?"exhausted":o<=i?"warning":"available",l=()=>{switch(a){case"exhausted":return{backgroundColor:"var(--status-error-bg)",color:"var(--status-error-text)",border:"1px solid var(--status-error-border)"};case"warning":return{backgroundColor:"var(--status-warning-bg)",color:"var(--status-warning-text)",border:"1px solid var(--status-warning-border)"};case"available":default:return{backgroundColor:"var(--status-success-bg)",color:"var(--status-success-text)",border:"1px solid var(--status-success-border)"}}};return v.jsxs("div",{className:`ml-2 px-2 py-1 rounded flex items-center gap-1 text-xs font-semibold ${r}`,style:l(),children:[v.jsxs("span",{children:[e," / ",t," (",o," available)"]}),a==="exhausted"&&v.jsxs("span",{className:"ml-2 font-semibold",children:["No more ",n," can be added."]})]})},b_=({displayText:e,hasMoreData:t,restDataLength:n,onClick:i,isTruncatedData:r,tooltipText:o="",customButtonEl:s})=>v.jsxs("div",{className:"flex gap-2 items-center",children:[v.jsx("div",{children:v.jsx("span",{children:v.jsx(La,{text:o,isVisible:r,children:e})})}),t&&v.jsx("button",{className:"rounded px-[3px] flex items-center justify-center cursor-pointer transition border-brand-primary text-brand-primary hover:bg-brand-surface-subtle",style:{border:"1px solid var(--brand-orange)",color:"var(--brand-orange)"},onMouseEnter:a=>a.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:a=>a.currentTarget.style.backgroundColor="transparent",onClick:a=>{a.stopPropagation(),i()},children:s||v.jsx(v.Fragment,{children:v.jsxs("span",{className:"text-xs",children:["+",n&&Number(n)>0?n:""]})})})]}),Ci={low:{label:"Low"},medium:{min:40,label:"Medium"},high:{min:70,label:"High"},critical:{min:90,label:"Critical"}},v_={low:{level:"low",label:Ci.low.label,color:"text-white",backgroundColor:"bg-green-500"},medium:{level:"medium",label:Ci.medium.label,color:"text-white",backgroundColor:"bg-yellow-500"},high:{level:"high",label:Ci.high.label,color:"text-white",backgroundColor:"bg-orange-500"},critical:{level:"critical",label:Ci.critical.label,color:"text-white",backgroundColor:"bg-red-500"}},Xu=e=>e>=Ci.critical.min?"critical":e>=Ci.high.min?"high":e>=Ci.medium.min?"medium":"low",Wm=e=>{const t=Xu(e);return v_[t]},x_=e=>{const t=Xu(e);return t==="high"||t==="critical"},y_=({score:e,customStyles:t})=>{const{label:n,backgroundColor:i,color:r}=Wm(e);return v.jsx("span",{className:kt("px-2 py-1 rounded text-xs font-semibold",i,r,t),children:n})},Xm=(e={})=>{const{fallbackPath:t="/assets",basePath:n=e.basePath||t}=e;return{getAssetPath:S.useMemo(()=>r=>{if(!r)return n;const o=r.startsWith("/")?r.slice(1):r;return`${n.endsWith("/")?n.slice(0,-1):n}/${o}`},[n]),basePath:n}},Ym=e=>{const{getAssetPath:t}=Xm(),n=S.useMemo(()=>!e||e.trim()===""?t("files/unknown_file.svg"):t(`files/${e.toLowerCase()}.svg`),[e,t]),i=S.useMemo(()=>t("files/unknown_file.svg"),[t]);return{iconPath:n,fallbackPath:i}},C_=({category:e,className:t="w-3 h-4 object-cover"})=>{const{iconPath:n,fallbackPath:i}=Ym(e),[r,o]=S.useState(!1),s=S.useCallback(()=>{o(!0)},[]),a=r?i:n;return v.jsx("img",{src:a,alt:e||"unknown file",className:t,onError:s})},w_=({message:e="No Active Attributes Present!"})=>v.jsxs("div",{className:"flex gap-2 align-center p-2 text-xs font-medium rounded-sm bg-yellow-200 text-yellow-700 w-full",children:[v.jsx(Hu,{role:"img",size:14}),v.jsx("span",{children:e})]}),S_=({icon:e,title:t="Select Country"})=>{const n=S.useRef(null),[i,r]=S.useState(!1);S.useEffect(()=>{const s=n.current;s&&r(s.scrollWidth>s.clientWidth)},[t]);const o=v.jsx("p",{ref:n,className:"overflow-hidden text-ellipsis whitespace-nowrap max-w-36",children:t});return v.jsxs("div",{className:"px-2 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-800 text-gray-400 dark:text-gray-300 text-sm text-center h-[30px] flex items-center justify-center",children:[v.jsx("img",{src:e,alt:t,className:"w-4 h-4 mr-2 rounded-full object-cover"}),i?v.jsx(La,{text:t,children:o}):o]})},I_=({isOpen:e,onDismiss:t,summaryData:n,errors:i=[],onDownload:r,onRetry:o,title:s,dataType:a})=>{if(S.useEffect(()=>{if(!e)return;const d=f=>{f.key==="Escape"&&t()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[e,t]),!e)return null;const l=n.total>0?n.success/n.total*100:0,[c,u]=S.useState(!0);return v.jsx("div",{role:"dialog",className:"fixed inset-0 z-[1000] flex items-center justify-center bg-black/40",onClick:t,children:v.jsxs("div",{className:"relative w-full min-w-[320px] max-w-[600px] rounded-lg shadow-2xl",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},onClick:d=>d.stopPropagation(),children:[v.jsx("button",{onClick:t,"aria-label":"Close",className:"absolute right-4 top-4 text-xl",style:{color:"var(--secondary-text-color)"},onMouseEnter:d=>d.currentTarget.style.color="var(--text-color)",onMouseLeave:d=>d.currentTarget.style.color="var(--secondary-text-color)",children:"×"}),v.jsxs("div",{className:"p-4 border-b",style:{borderColor:"var(--border-color)"},children:[v.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[v.jsx(o_,{className:"text-blue-500",size:20}),v.jsx("h3",{className:"text-lg font-semibold",style:{color:"var(--text-color)"},children:s??"Result"})]}),v.jsxs("div",{className:"grid grid-cols-3 gap-4 mb-4",children:[v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold",style:{color:"var(--text-color)"},children:n.total}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Total"})]}),v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:n.success}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Success"})]}),v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:n.failed}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Failed"})]})]}),v.jsx("div",{className:"w-full rounded-full h-2",style:{backgroundColor:"var(--brand-light)"},children:v.jsx("div",{className:"bg-green-600 dark:bg-green-400 h-2 rounded-full transition-all duration-500",style:{width:`${l}%`}})}),v.jsxs("div",{className:"text-sm font-bold mt-2",style:{color:"var(--secondary-text-color)"},children:[l.toFixed(0),"% successful"]})]}),i.length>0&&v.jsxs("div",{className:"p-4 border-b",style:{borderColor:"var(--border-color)"},children:[v.jsxs("button",{onClick:()=>u(!c),className:"flex items-center justify-between w-full text-left hover:bg-opacity-50 rounded p-2 -m-2 transition-colors",style:{backgroundColor:"transparent"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="transparent",children:[v.jsxs("h4",{className:"text-md font-medium flex items-center gap-2",style:{color:"var(--text-color)"},children:[v.jsx(q5,{className:"text-amber-500"}),"Error Details (",i.length," issues)"]}),c?v.jsx(i_,{style:{color:"var(--secondary-text-color)"}}):v.jsx(n_,{style:{color:"var(--secondary-text-color)"}})]}),c&&v.jsx("div",{className:"mt-4 space-y-2 max-h-60 overflow-y-auto",children:i.map(d=>v.jsxs("div",{className:"p-3 rounded text-sm",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)"},children:[v.jsxs("div",{className:"font-medium",style:{color:"#dc2626"},children:[d.field?`${d.field}: `:"",d.error]}),d.value&&v.jsxs("div",{className:"mt-1 text-xs",style:{color:"var(--secondary-text-color)"},children:["Value: ",d.value]})]},d.id))})]}),v.jsxs("div",{className:"p-4 flex flex-wrap justify-end gap-2",children:[r&&v.jsxs("button",{onClick:r,className:"px-4 py-2 rounded-md flex items-center gap-2 transition-colors",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",children:[v.jsx(ca,{}),"Download Errors"]}),o&&v.jsxs("button",{onClick:o,className:"px-4 py-2 rounded-md flex items-center gap-2 bg-brand-primary text-white hover:bg-opacity-90 transition-colors",children:[v.jsx(s_,{}),"Retry"]}),v.jsx("button",{onClick:t,className:"px-4 py-2 rounded-md transition-colors",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",children:"Close"})]})]})})},__=({isVisible:e,currentStep:t,error:n,onDismiss:i})=>{if(!e)return null;const r=(o,s)=>s?v.jsx(t_,{className:"w-6 h-6 text-green-600 dark:text-green-400"}):o?v.jsx("div",{className:"animate-spin rounded-full h-6 w-6",style:{borderWidth:"2px",borderStyle:"solid",borderColor:"var(--brand-light)",borderTopColor:"var(--brand-orange)"}}):v.jsx("div",{className:"w-6 h-6 border-2 rounded-full",style:{borderColor:"var(--border-color)"}});return v.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm flex items-center justify-center z-50",children:v.jsxs("div",{className:"rounded-lg shadow-2xl p-8 max-w-md w-full mx-4 relative",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[n&&i&&v.jsx("button",{onClick:i,className:"absolute top-4 right-4 p-2 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:o=>o.currentTarget.style.color="var(--text-color)",onMouseLeave:o=>o.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(a_,{className:"w-5 h-5"})}),v.jsxs("div",{className:"text-center mb-8",children:[v.jsx("div",{className:"flex items-center justify-center mb-4",children:v.jsx(ca,{className:"w-12 h-12 text-brand-primary"})}),v.jsx("h2",{className:"text-2xl font-bold mb-2",style:{color:"var(--text-color)"},children:"Installing Update"}),v.jsx("p",{style:{color:"var(--secondary-text-color)"},children:"Please wait while we install the update safely"})]}),n&&v.jsxs("div",{className:"mb-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(ah,{className:"w-5 h-5 text-red-600 dark:text-red-400"}),v.jsx("p",{className:"text-sm text-red-700 dark:text-red-300 font-medium",children:"Installation Failed"})]}),v.jsx("p",{className:"text-sm text-red-600 dark:text-red-400 mt-1",children:n}),v.jsx("div",{className:"mt-3 flex space-x-2",children:v.jsx("button",{onClick:i,className:"px-3 py-1.5 bg-red-600 text-white text-sm rounded hover:bg-red-700 transition-colors",children:"Close"})})]}),v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{className:"flex items-center space-x-3",children:[r(t==="backup",t==="install"||t==="complete"),v.jsxs("div",{className:"flex-1",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(r_,{className:"w-4 h-4",style:{color:"var(--secondary-text-color)"}}),v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--text-color)"},children:"Database Backup"})]}),v.jsx("p",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:t==="backup"?"Creating secure backup...":t==="install"||t==="complete"?"Backup completed":"Pending"})]})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[r(t==="install",t==="complete"),v.jsxs("div",{className:"flex-1",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(ca,{className:"w-4 h-4",style:{color:"var(--secondary-text-color)"}}),v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--text-color)"},children:"Update Installation"})]}),v.jsx("p",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:t==="install"?"Installing update...":t==="complete"?"Installation completed":"Pending"})]})]})]}),v.jsx("div",{className:"mt-6",children:v.jsx("div",{className:"w-full rounded-full h-2",style:{backgroundColor:"var(--brand-light)"},children:v.jsx("div",{className:"h-2 rounded-full transition-all duration-500",style:{width:t==="backup"?"50%":"100%",backgroundColor:"var(--brand-orange)"}})})}),v.jsx("div",{className:"mt-6 p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:v.jsxs("div",{className:"flex items-start space-x-2",children:[v.jsx(ah,{className:"w-4 h-4 text-yellow-600 dark:text-yellow-400 mt-0.5 flex-shrink-0"}),v.jsxs("p",{className:"text-xs text-yellow-700 dark:text-yellow-300",children:[v.jsx("strong",{children:"Important:"})," Do not close the application during this process. The app will restart automatically after installation."]})]})})]})})},E_=({confidenceData:e,children:t,position:n="top"})=>{const[i,r]=S.useState(!1),[o,s]=S.useState({}),[a,l]=S.useState({}),c=S.useRef(null),u=S.useRef(null);S.useEffect(()=>{if(!i||!c.current)return;const p=c.current.getBoundingClientRect(),m=u.current;if(!m)return;const b=m.getBoundingClientRect(),y=window.innerWidth,x=window.innerHeight;let I=n,C=0,M=0,R=0,w=0;switch(n==="top"&&p.top-b.height<10?I="bottom":n==="bottom"&&p.bottom+b.height>x-10?I="top":n==="left"&&p.left-b.width<10?I="right":n==="right"&&p.right+b.width>y-10&&(I="left"),I){case"top":C=p.top-b.height-8,M=p.left+p.width/2-b.width/2,R=b.height-4,w=b.width/2-5;break;case"bottom":C=p.bottom+8,M=p.left+p.width/2-b.width/2,R=-5,w=b.width/2-5;break;case"left":C=p.top+p.height/2-b.height/2,M=p.left-b.width-8,R=b.height/2-5,w=b.width-4;break;case"right":C=p.top+p.height/2-b.height/2,M=p.right+8,R=b.height/2-5,w=-5;break}s({top:`${C}px`,left:`${M}px`,opacity:1,visibility:"visible"}),l({top:`${R}px`,left:`${w}px`,transform:"rotate(45deg)"})},[i,n]);const d=p=>p>=.8?"text-green-600":p>=.6?"text-yellow-600":"text-red-600",f=p=>p>=.8?"High":p>=.6?"Medium":"Low",h=p=>{switch(p){case"column_name":return"Based on column name analysis";case"sample_data":return"Based on sample data analysis";default:return"Confidence score available"}},g=()=>{const{confidence_score:p,classification_reason:m,sample_data_preview:b,confidence_reason:y}=e;return v.jsxs("div",{className:"confidence-tooltip-content",children:[v.jsx("div",{className:"confidence-tooltip-header",children:v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx(km,{className:"h-4 w-4 text-blue-500"}),v.jsx("span",{className:"font-semibold",style:{color:"var(--text-color)"},children:"Classification Details"})]})}),v.jsxs("div",{className:"confidence-tooltip-body",children:[p!==void 0&&v.jsx("div",{className:"confidence-score-section",children:v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--secondary-text-color)"},children:"Confidence Score:"}),v.jsxs("span",{className:`text-sm font-bold ${d(p)}`,children:[f(p)," (",(p*100).toFixed(0),"%)"]})]})}),v.jsx("div",{className:"classification-reason-section",children:v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--secondary-text-color)"},children:"Classification Method:"}),v.jsx("span",{className:"text-sm",style:{color:"var(--text-color)"},children:h(m)})]})}),m==="sample_data"&&b&&v.jsxs("div",{className:"sample-data-section",children:[v.jsx("div",{className:"text-sm font-medium mb-1",style:{color:"var(--text-color)"},children:"Sample Data Preview:"}),v.jsx("div",{className:"text-xs p-2 rounded border max-w-xs",style:{color:"var(--text-color)",backgroundColor:"var(--hover-bg-color)",borderColor:"var(--border-color)"},children:v.jsx("div",{className:"truncate",title:b,children:b})})]}),y&&v.jsxs("div",{className:"confidence-reason-section",children:[v.jsx("div",{className:"text-sm font-medium mb-1",style:{color:"var(--text-color)"},children:"Additional Details:"}),v.jsx("div",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:y})]})]})]})};return v.jsxs("div",{className:"confidence-tooltip-wrapper",ref:c,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[t,i&&fn.createPortal(v.jsxs("div",{ref:u,className:"confidence-tooltip",style:o,children:[g(),v.jsx("span",{className:"confidence-tooltip-arrow",style:a})]}),document.body)]})},A_=({isOpen:e,imagePath:t,imageSrc:n,loadImageFromPath:i,onClose:r})=>{const[o,s]=S.useState(""),[a,l]=S.useState(!1),[c,u]=S.useState("");if(du(e),S.useEffect(()=>{if(!e){s(""),u(""),l(!1);return}if(n){s(n),u(""),l(!1);return}t?(async()=>{l(!0),u(""),s("");try{if(i){const h=await i(t);s(h)}else s(t)}catch(h){const g=h instanceof Error?h.message:"Failed to load image";u(g),console.error("[ImagePreviewModal] Failed to load image:",h)}finally{l(!1)}})():u("No image source provided")},[e,t,n,i]),S.useEffect(()=>{if(!e)return;const f=h=>{h.key==="Escape"&&r()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[e,r]),!e)return null;const d=v.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center z-[40] p-4 overflow-y-auto",onClick:r,children:v.jsxs("div",{className:"relative py-4 rounded-lg shadow-lg w-[95%] sm:w-[90%] md:w-[85%] lg:w-auto max-w-screen-2xl min-w-[320px] sm:min-w-[400px]",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},onClick:f=>f.stopPropagation(),children:[v.jsx("div",{className:"px-4",children:v.jsxs("div",{className:"flex justify-between items-center",children:[v.jsx("h2",{className:"text-lg font-semibold",style:{color:"var(--text-color)"},children:"Image Preview"}),v.jsx("button",{onClick:r,className:"text-brand-primary hover:opacity-80 transition-opacity","aria-label":"Close",children:v.jsx(_p,{size:16})})]})}),v.jsxs("div",{className:"px-4 mt-4 pb-4",children:[a&&v.jsx("div",{className:"flex justify-center items-center py-8",style:{color:"var(--text-color)"},children:v.jsx("span",{children:"Loading image..."})}),c&&v.jsx("div",{className:"flex justify-center items-center py-8",style:{color:"var(--text-color)"},children:v.jsxs("div",{className:"text-center",children:[v.jsx("p",{className:"text-red-500 mb-2",children:"Error loading image"}),v.jsx("p",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:c})]})}),!a&&!c&&o&&v.jsx("div",{className:"flex justify-center items-center max-h-[70vh] overflow-auto",children:v.jsx("img",{src:o,alt:"Preview",className:"max-w-full max-h-[70vh] object-contain rounded",style:{border:"1px solid var(--border-color)"},onError:()=>u("Failed to load image")})})]})]})});return fn.createPortal(d,document.getElementById("modal-root")||document.body)};var Zm={exports:{}};/* @license
68
+ checked:after:text-xs`,l_=({type:e,options:t,columns:n,data:i,fetchTableData:r,searchEnabled:o=!1,filtersEnabled:s,filterFields:a,setTableData:l,refreshTable:c,paginationEnabled:u=!0,exportEnabled:d=!0,bulkActions:f={},handleBulkAction:h,onRowClick:g,columnBorders:p,showConnectorsSummary:m=!1,connectorScanObject:b,connectorDetail:y,scanDetails:x,isDeletedItemsList:I=!1,onViewDeletedItemsClick:C,showViewDeleteButton:M=!1,refreshData:R,setRefreshData:w,tableWrapperClass:_,searchColumns:A=[],onExport:k,FilterModal:D,ConnectorSummaryAccordion:B})=>{var Fd,Od,Td,Dd,Nd;const N=Dm(),P=Lm(),O=Nm(L=>!P||!(L!=null&&L.tableData)?null:L.tableData[e]||null),[T,E]=S.useState(""),[F,V]=S.useState(()=>(O==null?void 0:O.sorting)??[]),[j,G]=S.useState(new Set),[$,Y]=S.useState(),[U,re]=S.useState(!0),[ve,Q]=S.useState(!1),[te,ue]=S.useState(0),{filters:J}=jm(),[H,ye]=S.useState({}),[Z,pe]=S.useState(()=>O!=null&&O.pagination?{...O.pagination}:{pageIndex:Ns,pageSize:Ds}),{showToast:ge}=Tm(),{showLoader:st,hideLoader:le}=$m(),[Te,qt]=S.useState(),xn=S.useRef(null),bt=S.useRef(""),Gn=S.useRef(""),Ye=S.useRef(!1),ke=j5({data:i,columns:n,state:{columnVisibility:{actions:U},globalFilter:T,sorting:F,pagination:Z},onColumnVisibilityChange:()=>re(!U),onGlobalFilterChange:E,onSortingChange:V,getCoreRowModel:D5(),manualPagination:!0,manualSorting:!0,manualFiltering:!0,pageCount:Math.ceil(te/Z.pageSize),onPaginationChange:pe,...u&&{getPaginationRowModel:L5()}}),Ge=((Fd=ke.getState().pagination)==null?void 0:Fd.pageIndex)+1||1,[Qe,Tt]=S.useState(!1),[li,$o]=S.useState(!1),[Wt,vt]=S.useState(Ge),Dt=S.useMemo(()=>Math.max(Math.ceil(te/Z.pageSize),1),[te,Z.pageSize,Z.pageIndex,Qe,I]);S.useEffect(()=>{R&&(jo(),w&&w(!1))},[R]),S.useEffect(()=>{if(e&&P&&N)try{const{setPagination:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,pagination:Z}))}catch{}},[Z.pageIndex,Z.pageSize,e]),S.useEffect(()=>{vt(Ge)},[Ge]),S.useEffect(()=>{if(P&&N)try{const{setGlobalSorting:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,sorting:F}))}catch{}},[(Od=F[0])==null?void 0:Od.desc,(Td=F[0])==null?void 0:Td.id]);const ci=S.useMemo(()=>{var Re,je,at;const L={pageNumber:ke.getState().pagination.pageIndex,pageSize:ke.getState().pagination.pageSize},ne={sortBy:F.length&&(Re=F[0])!=null&&Re.id?(je=F[0])==null?void 0:je.id:void 0,order:F.length&&(at=F[0])!=null&&at.desc?"desc":"asc"},X={searchTerm:T,searchColumns:A.length>0?A:void 0};return{options:t,filters:Object.keys(J).length>0?J:H,...X,...L,...ne,fetchDeleted:I}},[T,J,F,ke.getState().pagination.pageIndex,ke.getState().pagination.pageSize,(Dd=F[0])==null?void 0:Dd.id,(Nd=F[0])==null?void 0:Nd.desc,I,Qe,t==null?void 0:t.arg,A]),a1=L=>{if(L){const ne=i.filter(X=>!X.isDisabled).map(X=>X.id);G(new Set(ne))}else G(new Set)};S.useEffect(()=>()=>{var L;Te&&((L=window.api)!=null&&L.deleteExportedFile)&&window.api.deleteExportedFile((Te??"").replace("download:\\",""))},[Te]),S.useEffect(()=>{const L=async()=>{if(r){Ye.current=!0;try{st();let Re=0;if(e===hu.SCANRESULT&&(t!=null&&t.usePermanentCache)){const at=`scandetails_count_${JSON.stringify({...ci,pageNumber:void 0,pageSize:void 0})}`,zn=localStorage.getItem(at)||sessionStorage.getItem(at);if(zn)try{const yn=JSON.parse(zn);yn&&typeof yn.totalRecords=="number"&&(Re=yn.totalRecords)}catch{}Re||(Re=(await r({...ci,usePermanentCache:(t==null?void 0:t.usePermanentCache)||!1})).totalRecords??0)}else Re=(await r({...ci,...t!=null&&t.usePermanentCache?{usePermanentCache:t.usePermanentCache}:{}})).totalRecords??0;const je=Math.max(Math.ceil(Re/Z.pageSize)-1,0);i.length===0&&Z.pageIndex>0?pe(at=>({...at,pageIndex:Math.min(Z.pageIndex,je)})):Z.pageIndex>je&&pe(at=>({...at,pageIndex:je})),ke.setPageCount(Math.ceil(Re/Z.pageSize))}catch(Re){console.error("Failed to update total count",Re)}finally{Ye.current=!1;const Re=JSON.stringify({pagination:Z,searchApplied:li,sorting:F,isDeletedItemsList:I});Re!==bt.current&&(bt.current=Re,jo()),le()}}},ne=JSON.stringify({options:t,filters:J,searchTerm:T,searchColumns:A,sorting:F,isDeletedItemsList:I,pageSize:Z.pageSize});ne!==Gn.current&&(L(),Gn.current=ne)},[t,J,T,e,F,I,Z.pageSize,A]);const l1=L=>{var ne;L.key==="Enter"&&((ne=xn.current)==null||ne.click())},c1=(L,ne)=>{G(X=>{const Re=new Set(X);return ne?Re.add(L):Re.delete(L),Re})},u1=async()=>{var ne;if(!e)return;let L="";try{if(st(),k)L=await k(e,H,t,I);else if((ne=window.api)!=null&&ne.exportTable)L=t?await window.api.exportTable(e,H,t,I):await window.api.exportTable(e,H,{},I);else{ge(Mt.ERROR,"Export functionality is not available. Please provide an onExport handler.");return}qt(L);const X=document.createElement("a");X.href=L,X.download=`export-${e}.csv`,document.body.appendChild(X),X.click(),document.body.removeChild(X),ge(Mt.SUCCESS,"Export initiated successfully")}catch(X){console.error("Export error",X),ge(Mt.ERROR,"Export failed")}finally{le(),L&&L.startsWith("blob:")&&URL.revokeObjectURL(L)}},Ed=()=>{let L=0;return i.forEach(ne=>{ne.isDisabled||L++}),L},d1=async()=>{if(!(!r||!l)){st(),pe(L=>({...L,pageIndex:0}));try{$o(T!==""),await jo()}catch(L){console.error("Search error:",L),ge(Mt.ERROR,"Search operation failed.")}finally{le()}}},jo=async()=>{if(!(!r||!l)){st();try{const L=await r({...ci,...t!=null&&t.usePermanentCache?{usePermanentCache:t.usePermanentCache}:{}}),ne=L.totalRecords;if(ue(ne),l(L.data),P&&N)try{const{setTotalCount:X,setTableData:Re}=require("../../redux/slices/tableDataSlice");N(X({tableType:e,totalCount:ne})),N(Re({tableType:e,data:L.data}))}catch{}}catch(L){console.error("Failed to fetch data",L),ge(Mt.ERROR,"Failed to fetch data!")}finally{le()}}};S.useEffect(()=>{const L=JSON.stringify({pagination:Z,searchApplied:li,sorting:F,isDeletedItemsList:I});L!==bt.current&&!Ye.current&&(bt.current=L,jo())},[Z.pageIndex,Z.pageSize,li,F,I]);const Ad=Object.entries(f).map(([L,ne])=>({value:L,label:ne})),f1=()=>G(new Set),h1=()=>Y(""),Sr=S.useMemo(()=>!!h,[h]),Md=j.size>0,Rd=L=>{let ne=0,X=!1;return Sr&&(ne+=57),ke.getHeaderGroups().forEach(Re=>{Re.headers.forEach(je=>{if(!X&&je.column.columnDef.fixedColumn){if(je.id===L){X=!0;return}je.getSize()?ne+=je.getSize()+16:ne+=150}})}),`${ne}px`},Pd=D,kd=B;return v.jsxs("div",{className:"py-0 px-0 flex flex-col gap-2 mt-2",children:[v.jsxs("div",{className:"main-action-wrapper flex gap-2 relative justify-end",children:[d&&!!e&&v.jsxs("button",{onClick:u1,className:"flex items-center shadow-sm gap-2 px-4 py-2 text-sm border border-transparent bg-brand-primary rounded-md transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-[var(--brand-orange)] focus:ring-offset-2",children:[v.jsx(ca,{className:"h-4 w-4"}),v.jsx("span",{children:"Export"})]}),s&&v.jsxs("button",{onClick:()=>Q(!0),className:"filters flex items-center shadow-sm gap-2 px-4 py-2 text-sm border border-1 border-[var(--border-color)] rounded-md hover:bg-brand-surface-subtle dark:text-gray-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-[var(--brand-orange)]",children:[Qe&&v.jsx("span",{className:"h-2 w-2 bg-brand-primary rounded-full"}),v.jsx(k1,{className:"h-3 w-3 text-brand-primary"}),v.jsx("span",{children:"Filters"})]}),Sr&&Md&&v.jsx("div",{className:"rounded-md text-gray-500 dark:text-gray-400 text-sm appearance-none absolute top-0 left-0 z-30",children:v.jsx(ym,{placeholder:"Bulk Actions",className:"w-[10rem] bulk-actions-select",value:Ad.find(L=>L.value===$)||null,options:Ad,onChange:L=>{L&&(Y(L.value),h&&(h(L.value,j,f1,h1),Y("")))},isClearable:!0,styles:{control:(L,ne)=>({...L,borderColor:ne.isFocused?"var(--brand-orange)":"var(--border-color)",borderRadius:"0.25rem",cursor:"pointer",backgroundColor:"var(--bg-color)",color:"var(--text-color)",boxShadow:ne.isFocused?"0 0 0 1px var(--brand-orange)":"none",":hover":{borderColor:"var(--brand-orange)"}}),input:L=>({...L,color:"var(--text-color)"}),singleValue:L=>({...L,color:"var(--text-color)"}),placeholder:L=>({...L,color:"var(--secondary-text-color)"}),option:(L,ne)=>({...L,backgroundColor:ne.isSelected?"var(--brand-orange)":ne.isFocused?"var(--hover-bg-color)":"var(--bg-color)",color:ne.isSelected?"white":"var(--text-color)",cursor:"pointer",":active":{backgroundColor:"var(--brand-orange)"}}),menu:L=>({...L,backgroundColor:"var(--bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)",zIndex:9999}),dropdownIndicator:L=>({...L,cursor:"pointer",color:"var(--secondary-text-color)",":hover":{color:"var(--brand-orange)"}}),clearIndicator:L=>({...L,cursor:"pointer",color:"var(--secondary-text-color)",":hover":{color:"var(--brand-orange)"}}),indicatorSeparator:L=>({...L,backgroundColor:"var(--border-color)"})}})}),o&&v.jsxs("div",{className:"flex max-w-xs w-full border rounded-md overflow-hidden shadow-sm main-search-input",style:{borderColor:"var(--border-color)"},children:[v.jsx("input",{type:"text","data-testid":"table-search-input",placeholder:"Search...",value:T,onKeyDown:l1,onChange:L=>E(L.target.value),className:"flex-grow px-4 py-2 text-sm placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",style:{backgroundColor:"var(--bg-color)",color:"var(--text-color)"}}),v.jsx("button",{ref:xn,"data-testid":"table-search-button",className:"px-4 py-0 transition-colors",style:{backgroundColor:"var(--brand-light)",color:"var(--brand-dark)"},onMouseEnter:L=>L.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:L=>L.currentTarget.style.backgroundColor="var(--brand-light)",onClick:d1,children:v.jsx(z5,{size:22})})]})]}),m&&kd&&v.jsx(kd,{connectorDetail:y,scanDetails:x,scanObjects:b??[]}),v.jsx("div",{className:"main-table-wrapper flex-grow overflow-hidden rounded-md table-container",children:v.jsx("div",{className:`overflow-auto${_?` ${_}`:""}`,style:_?{}:{maxHeight:"calc(100vh - 21rem)"},children:v.jsxs("table",{className:"table-auto w-full text-left border-collapse border dark:border-gray-700 main-table",children:[v.jsx("thead",{className:"sticky -top-1 z-20 bg-brand-surface-subtle dark:bg-gray-800",children:ke.getHeaderGroups().map((L,ne)=>v.jsxs("tr",{children:[Sr&&v.jsx("th",{className:"sticky -left-1 z-20 table-header checkbox font-bold cursor-pointer",style:{width:"40px"},children:v.jsx("input",{type:"checkbox",className:`${Pc} dark:border-gray-600`,checked:ke.getRowModel().rows.length>0&&j.size===Ed()&&Ed()>0,onChange:X=>{X.stopPropagation(),a1(X.target.checked)}})}),L.headers.map((X,Re)=>{var zn,yn;let je="";const at=["actions"].includes((zn=X==null?void 0:X.column)==null?void 0:zn.id);return X.column.columnDef.fixedColumn&&(je+=" sticky z-10"),X.column.columnDef.centerAlign&&(je+=" text-center"),at&&(je+=" right-fixed"),["#","id"].includes((yn=X==null?void 0:X.column)==null?void 0:yn.id)&&(je+=" id-column"),v.jsxs("th",{className:`table-header ${p?"border dark:border-gray-600":""} font-bold whitespace-nowrap text-ellipsis cursor-pointer ${je}`,style:{minWidth:X.column.columnDef.minSize||"auto",maxWidth:X.column.columnDef.maxSize||"auto",left:X.column.columnDef.fixedColumn?Rd(X.id):void 0,right:at?0:void 0},onClick:()=>{X.column.getCanSort()&&X.column.toggleSorting()},children:[X.isPlaceholder?null:sh(X.column.columnDef.header,X.getContext()),v.jsxs("span",{className:"ml-0",children:[X.column.getIsSorted()==="asc"&&v.jsx(Y5,{size:24,className:"inline-block pb-1"}),X.column.getIsSorted()==="desc"&&v.jsx(X5,{size:24,className:"inline-block pb-1"})]})]},`${X.id}_${Re}`)})]},`${L.id}_${ne}`))}),v.jsx("tbody",{children:ke.getRowModel().rows.length===0?v.jsx("tr",{children:v.jsx("td",{colSpan:n.length+(Sr?1:0),className:"text-center text-sm py-4 text-gray-600 dark:text-gray-400",children:"No data available"})}):ke.getRowModel().rows.map((L,ne)=>v.jsxs("tr",{className:`table-data${g?" cursor-pointer":""}`,onClick:X=>{g&&!X.target.closest('input[type="checkbox"]')&&g(L.original)},children:[Sr&&v.jsx("td",{className:"table-padding checkbox sticky -left-1 z-10",style:{width:"40px"},onClick:X=>{X.stopPropagation();const Re=X.currentTarget.querySelector('input[type="checkbox"]');Re&&Re.click()},children:v.jsx("input",{type:"checkbox",disabled:L.original.isDisabled,className:`${Pc} dark:border-gray-600`,checked:j.has(L.original.id)&&!L.original.isDisabled,onChange:X=>{L.original.isDisabled||c1(L.original.id,X.target.checked)},onClick:X=>X.stopPropagation()})}),L.getVisibleCells().map((X,Re)=>{var zn;let je="";const at=["actions","startTime","endTime","created_at","updated_at","created","updated"].includes((zn=X==null?void 0:X.column)==null?void 0:zn.id);return X.column.columnDef.preLine&&(je+=" pre-line"),X.column.columnDef.fixedColumn&&(je+=" sticky z-10"),X.column.columnDef.centerAlign&&(je+=" text-center"),at&&(je+=" right-fixed"),v.jsx("td",{className:`table-padding ${je} ${p?"border":""} whitespace-nowrap text-ellipsis`,style:{minWidth:X.column.columnDef.minSize||"auto",maxWidth:X.column.columnDef.maxSize||"auto",left:X.column.columnDef.fixedColumn?Rd(X.column.id):void 0,right:at?0:void 0,backgroundColor:X.column.columnDef.fixedColumn?"var(--bg-color)":void 0,borderColor:p?"var(--border-color)":void 0,color:"var(--text-color)"},onClick:yn=>{X.column.columnDef.disableClick&&yn.stopPropagation()},children:sh(X.column.columnDef.cell,X.getContext())},`${X.id}_${Re}`)})]},`${L.id}_${ne}`))})]})})}),u&&v.jsxs("div",{className:"sticky bottom-0 z-10 bg-brand-surface py-2 flex justify-between items-center pagination-container dark:text-gray-300 main-table-footer",children:[v.jsxs("div",{className:"flex items-center space-x-1",children:[v.jsx("button",{onClick:()=>ke.setPageIndex(0),disabled:Z.pageIndex===0,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(W5,{size:20})}),v.jsx("button",{onClick:()=>ke.previousPage(),disabled:Z.pageIndex===0,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(Z5,{size:20})}),v.jsxs("span",{className:"pagination-content",style:{color:"var(--text-color)"},children:["Page",v.jsx("input",{type:"number",value:Wt,onChange:L=>{const ne=L.target.value.replace(/^0+/,"");vt(ne===""?"":Number(ne))},onBlur:()=>{const L=Math.min(Math.max(Number(Wt),1),Dt);vt(L),ke.setPageIndex(L-1)},onKeyDown:L=>{if(L.key==="Enter"){const ne=Math.min(Math.max(Number(Wt),1),Dt);vt(ne),ke.setPageIndex(ne-1)}},className:"px-2 py-1 rounded text-center mx-2",style:{width:`${String(Wt||Rc).length+Rc}ch`,backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)",color:"var(--text-color)"}}),"of ",v.jsx("span",{className:"mx-1",children:Dt})]}),v.jsx("button",{onClick:()=>ke.nextPage(),disabled:Z.pageIndex+1===Dt,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(J5,{size:20})}),v.jsx("button",{onClick:()=>ke.setPageIndex(Dt),disabled:Z.pageIndex+1===Dt,className:"disabled:opacity-50 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:L=>!L.currentTarget.disabled&&(L.currentTarget.style.color="var(--brand-orange)"),onMouseLeave:L=>L.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(H5,{size:20})})]}),M&&v.jsx("button",{"data-testid":I?"view-active-items-button":"view-deleted-items-button",onClick:()=>{if(G(new Set),Z.pageIndex=Ns,Z.pageSize=Ds,P&&N)try{const{setPagination:L}=require("../../redux/slices/tableDataSlice");N(L({tableType:e,pagination:{pageIndex:Ns,pageSize:Ds}}));try{const{setFilters:ne}=require("../../redux/slices/filterSlice");N(ne({tableType:e,filters:{}}))}catch{}}catch{}Tt(!1),C==null||C()},className:`toggle-delete text-xs px-2 py-1 min-w-24 rounded flex items-center gap-1 font-semibold justify-center ${I?"bg-gray-600 text-white hover:bg-gray-700 dark:bg-gray-500 dark:text-gray-200 dark:hover:bg-gray-400":"bg-white text-gray-600 hover:bg-gray-100 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600"} border border-gray-300 text-gray-700 dark:border-gray-500 focus:outline-none`,children:I?"View Active Items":"View Deleted Items"}),v.jsxs("div",{className:"flex items-center space-x-2 pagination-content",style:{color:"var(--text-color)"},children:[v.jsx("span",{children:"Rows per page"}),v.jsx("div",{style:{width:"90px"},children:v.jsx(Cm,{placeholder:"",options:[10,25,50,100].map(L=>({label:L.toString(),value:L.toString()})),selectedOptions:[{label:Z.pageSize.toString(),value:Z.pageSize.toString()}],handleChange:L=>{L&&pe(ne=>({...ne,pageSize:+L.value}))},isMulti:!1,closeMenuOnSelect:!0,isClearable:!1,menuPosition:"fixed",customStyles:{control:(L,ne)=>({...L,minHeight:"34px",height:"34px",backgroundColor:"var(--bg-color)",borderColor:ne.isFocused?"var(--brand-orange)":"var(--border-color)",boxShadow:ne.isFocused?"0 0 0 1px var(--brand-orange)":L.boxShadow})}})})]})]}),s&&a&&l&&c&&Pd&&v.jsx(Pd,{type:e,fields:a,inlineRowFields:a==null?void 0:a.filter(L=>L.inline===!0),visible:ve,onClose:()=>Q(!1),title:"Filters",okText:"Apply Filters",cancelText:"Clear",data:i,setFilteredData:l,filtersApplied:Qe,toggleFilterApply:Tt,fetchTableData:r,pageNumber:Z.pageIndex,pageSize:Z.pageSize,setTotalRowCount:ue,setPagination:pe,options:t,sorting:F,setSorting:V,showDeletedItems:I,setExportFilters:ye,searchTerm:T})]})},c_=({isOpen:e,onClose:t,onConfirm:n,title:i,message:r,confirmText:o="Confirm",cancelText:s="Cancel",type:a="warning",isLoading:l=!1})=>{if(!e)return null;const c=()=>{switch(a){case"danger":return"text-red-500";case"warning":return"text-yellow-500";case"info":return"text-brand-primary";default:return"text-yellow-500"}},u=()=>{switch(a){case"danger":return"bg-red-600 hover:bg-red-700 focus:ring-red-500";case"warning":return"bg-yellow-600 hover:bg-yellow-700 focus:ring-yellow-500";case"info":return"bg-brand-primary hover:bg-[var(--brand-orange)]/90 focus:ring-[var(--brand-orange)]";default:return"bg-yellow-600 hover:bg-yellow-700 focus:ring-yellow-500"}};return v.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[v.jsx("div",{className:"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:t}),v.jsxs("div",{className:"relative rounded-lg text-left overflow-hidden shadow-xl transform transition-all max-w-lg w-full mx-4",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[v.jsx("div",{className:"px-4 pt-5 pb-4 sm:p-6 sm:pb-4",style:{backgroundColor:"var(--bg-color)"},children:v.jsxs("div",{className:"sm:flex sm:items-start",children:[v.jsx("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full sm:mx-0 sm:h-10 sm:w-10",style:{backgroundColor:"var(--hover-bg-color)"},children:v.jsx(Ip,{className:`h-6 w-6 ${c()}`})}),v.jsxs("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[v.jsx("h3",{className:"text-lg leading-6 font-medium",style:{color:"var(--text-color)"},children:i}),v.jsx("div",{className:"mt-2",children:v.jsx("p",{className:"text-sm whitespace-pre-line",style:{color:"var(--secondary-text-color)"},children:r})})]})]})}),v.jsxs("div",{className:"px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse",style:{backgroundColor:"var(--hover-bg-color)"},children:[v.jsx("button",{type:"button",className:`w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white ${u()} focus:outline-none focus:ring-2 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm disabled:opacity-50 disabled:cursor-not-allowed`,onClick:n,disabled:l,children:l?"Processing...":o}),v.jsx("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md shadow-sm px-4 py-2 text-base font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",style:{backgroundColor:"var(--bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--bg-color)",onClick:t,disabled:l,children:s})]})]})]})};var Gm={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wu,function(){var n=1e3,i=6e4,r=36e5,o="millisecond",s="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",g="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var P=["th","st","nd","rd"],O=N%100;return"["+N+(P[(O-20)%10]||P[O]||P[0])+"]"}},x=function(N,P,O){var T=String(N);return!T||T.length>=P?N:""+Array(P+1-T.length).join(O)+N},I={s:x,z:function(N){var P=-N.utcOffset(),O=Math.abs(P),T=Math.floor(O/60),E=O%60;return(P<=0?"+":"-")+x(T,2,"0")+":"+x(E,2,"0")},m:function N(P,O){if(P.date()<O.date())return-N(O,P);var T=12*(O.year()-P.year())+(O.month()-P.month()),E=P.clone().add(T,d),F=O-E<0,V=P.clone().add(T+(F?-1:1),d);return+(-(T+(O-E)/(F?E-V:V-E))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:d,y:h,w:u,d:c,D:g,h:l,m:a,s,ms:o,Q:f}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},C="en",M={};M[C]=y;var R="$isDayjsObject",w=function(N){return N instanceof D||!(!N||!N[R])},_=function N(P,O,T){var E;if(!P)return C;if(typeof P=="string"){var F=P.toLowerCase();M[F]&&(E=F),O&&(M[F]=O,E=F);var V=P.split("-");if(!E&&V.length>1)return N(V[0])}else{var j=P.name;M[j]=P,E=j}return!T&&E&&(C=E),E||!T&&C},A=function(N,P){if(w(N))return N.clone();var O=typeof P=="object"?P:{};return O.date=N,O.args=arguments,new D(O)},k=I;k.l=_,k.i=w,k.w=function(N,P){return A(N,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var D=function(){function N(O){this.$L=_(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[R]=!0}var P=N.prototype;return P.parse=function(O){this.$d=function(T){var E=T.date,F=T.utc;if(E===null)return new Date(NaN);if(k.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var V=E.match(m);if(V){var j=V[2]-1||0,G=(V[7]||"0").substring(0,3);return F?new Date(Date.UTC(V[1],j,V[3]||1,V[4]||0,V[5]||0,V[6]||0,G)):new Date(V[1],j,V[3]||1,V[4]||0,V[5]||0,V[6]||0,G)}}return new Date(E)}(O),this.init()},P.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},P.$utils=function(){return k},P.isValid=function(){return this.$d.toString()!==p},P.isSame=function(O,T){var E=A(O);return this.startOf(T)<=E&&E<=this.endOf(T)},P.isAfter=function(O,T){return A(O)<this.startOf(T)},P.isBefore=function(O,T){return this.endOf(T)<A(O)},P.$g=function(O,T,E){return k.u(O)?this[T]:this.set(E,O)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(O,T){var E=this,F=!!k.u(T)||T,V=k.p(O),j=function(te,ue){var J=k.w(E.$u?Date.UTC(E.$y,ue,te):new Date(E.$y,ue,te),E);return F?J:J.endOf(c)},G=function(te,ue){return k.w(E.toDate()[te].apply(E.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(ue)),E)},$=this.$W,Y=this.$M,U=this.$D,re="set"+(this.$u?"UTC":"");switch(V){case h:return F?j(1,0):j(31,11);case d:return F?j(1,Y):j(0,Y+1);case u:var ve=this.$locale().weekStart||0,Q=($<ve?$+7:$)-ve;return j(F?U-Q:U+(6-Q),Y);case c:case g:return G(re+"Hours",0);case l:return G(re+"Minutes",1);case a:return G(re+"Seconds",2);case s:return G(re+"Milliseconds",3);default:return this.clone()}},P.endOf=function(O){return this.startOf(O,!1)},P.$set=function(O,T){var E,F=k.p(O),V="set"+(this.$u?"UTC":""),j=(E={},E[c]=V+"Date",E[g]=V+"Date",E[d]=V+"Month",E[h]=V+"FullYear",E[l]=V+"Hours",E[a]=V+"Minutes",E[s]=V+"Seconds",E[o]=V+"Milliseconds",E)[F],G=F===c?this.$D+(T-this.$W):T;if(F===d||F===h){var $=this.clone().set(g,1);$.$d[j](G),$.init(),this.$d=$.set(g,Math.min(this.$D,$.daysInMonth())).$d}else j&&this.$d[j](G);return this.init(),this},P.set=function(O,T){return this.clone().$set(O,T)},P.get=function(O){return this[k.p(O)]()},P.add=function(O,T){var E,F=this;O=Number(O);var V=k.p(T),j=function(Y){var U=A(F);return k.w(U.date(U.date()+Math.round(Y*O)),F)};if(V===d)return this.set(d,this.$M+O);if(V===h)return this.set(h,this.$y+O);if(V===c)return j(1);if(V===u)return j(7);var G=(E={},E[a]=i,E[l]=r,E[s]=n,E)[V]||1,$=this.$d.getTime()+O*G;return k.w($,this)},P.subtract=function(O,T){return this.add(-1*O,T)},P.format=function(O){var T=this,E=this.$locale();if(!this.isValid())return E.invalidDate||p;var F=O||"YYYY-MM-DDTHH:mm:ssZ",V=k.z(this),j=this.$H,G=this.$m,$=this.$M,Y=E.weekdays,U=E.months,re=E.meridiem,ve=function(ue,J,H,ye){return ue&&(ue[J]||ue(T,F))||H[J].slice(0,ye)},Q=function(ue){return k.s(j%12||12,ue,"0")},te=re||function(ue,J,H){var ye=ue<12?"AM":"PM";return H?ye.toLowerCase():ye};return F.replace(b,function(ue,J){return J||function(H){switch(H){case"YY":return String(T.$y).slice(-2);case"YYYY":return k.s(T.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return ve(E.monthsShort,$,U,3);case"MMMM":return ve(U,$);case"D":return T.$D;case"DD":return k.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return ve(E.weekdaysMin,T.$W,Y,2);case"ddd":return ve(E.weekdaysShort,T.$W,Y,3);case"dddd":return Y[T.$W];case"H":return String(j);case"HH":return k.s(j,2,"0");case"h":return Q(1);case"hh":return Q(2);case"a":return te(j,G,!0);case"A":return te(j,G,!1);case"m":return String(G);case"mm":return k.s(G,2,"0");case"s":return String(T.$s);case"ss":return k.s(T.$s,2,"0");case"SSS":return k.s(T.$ms,3,"0");case"Z":return V}return null}(ue)||V.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(O,T,E){var F,V=this,j=k.p(T),G=A(O),$=(G.utcOffset()-this.utcOffset())*i,Y=this-G,U=function(){return k.m(V,G)};switch(j){case h:F=U()/12;break;case d:F=U();break;case f:F=U()/3;break;case u:F=(Y-$)/6048e5;break;case c:F=(Y-$)/864e5;break;case l:F=Y/r;break;case a:F=Y/i;break;case s:F=Y/n;break;default:F=Y}return E?F:k.a(F)},P.daysInMonth=function(){return this.endOf(d).$D},P.$locale=function(){return M[this.$L]},P.locale=function(O,T){if(!O)return this.$L;var E=this.clone(),F=_(O,T,!0);return F&&(E.$L=F),E},P.clone=function(){return k.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},N}(),B=D.prototype;return A.prototype=B,[["$ms",o],["$s",s],["$m",a],["$H",l],["$W",c],["$M",d],["$y",h],["$D",g]].forEach(function(N){B[N[1]]=function(P){return this.$g(P,N[0],N[1])}}),A.extend=function(N,P){return N.$i||(N(P,D,A),N.$i=!0),A},A.locale=_,A.isDayjs=w,A.unix=function(N){return A(1e3*N)},A.en=M[C],A.Ls=M,A.p={},A})})(Gm);var u_=Gm.exports;const kc=Su(u_);var zm={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wu,function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(o,s,a){var l=s.prototype;a.utc=function(p){var m={date:p,utc:!0,args:arguments};return new s(m)},l.utc=function(p){var m=a(this.toDate(),{locale:this.$L,utc:!0});return p?m.add(this.utcOffset(),n):m},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var u=l.init;l.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(p,m){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?d.call(this):this.$offset;if(typeof p=="string"&&(p=function(C){C===void 0&&(C="");var M=C.match(i);if(!M)return null;var R=(""+M[0]).match(r)||["-",0,0],w=R[0],_=60*+R[1]+ +R[2];return _===0?0:w==="+"?_:-_}(p),p===null))return this;var y=Math.abs(p)<=16?60*p:p;if(y===0)return this.utc(m);var x=this.clone();if(m)return x.$offset=y,x.$u=!1,x;var I=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(x=this.local().add(y+I,n)).$offset=y,x.$x.$localOffset=I,x};var f=l.format;l.format=function(p){var m=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,m)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var h=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var g=l.diff;l.diff=function(p,m,b){if(p&&this.$u===p.$u)return g.call(this,p,m,b);var y=this.local(),x=a(p).local();return g.call(y,x,m,b)}}})})(zm);var d_=zm.exports;const f_=Su(d_);kc.extend(f_);const h_=({seconds:e,pauseOnMount:t=!1,startDateTime:n,runningTime:i=!0})=>{const[r,o]=S.useState(e),[s,a]=S.useState(0);S.useEffect(()=>{!n&&typeof e=="number"&&!isNaN(e)&&o(e)},[e,n]),S.useEffect(()=>{let d;if(n){const f=kc.utc(n,"YYYY-MM-DD HH:mm:ss");d=setInterval(()=>{const g=kc.utc().diff(f,"second");a(g)},1e3)}else!t&&typeof r=="number"&&(d=setInterval(()=>{o(f=>typeof f=="number"?f-1:f)},1e3));return()=>{d&&clearInterval(d)}},[n,t,r]);const l=d=>{const f=Math.abs(d),h=Math.floor(f/3600),g=Math.floor(f%3600/60),p=f%60,m=[];return h>0&&m.push(`${h}h`),m.push(`${g}m`),m.push(`${p}s`),m.join(" ")},c=d=>n?"text-green-500 dark:text-green-400 text-[11px]":t?i?"text-[11px] dark:text-gray-300":"text-[12px] dark:text-gray-300":d<0?"text-[10px] text-red-500 dark:text-red-400":d<=60?"text-[10px] text-yellow-500 dark:text-yellow-400":"text-[10px] text-green-500 dark:text-green-400",u=n?s:r;return typeof u!="number"||isNaN(u)?v.jsx("span",{className:"text-gray-400 dark:text-gray-500 text-sm font-mono",children:"-- --"}):v.jsx("span",{className:`font-mono ${c(u)}`,children:l(u)})},g_=({error:e,onRetry:t,fallbackPath:n})=>{const[i,r]=S.useState(!1),[o,s]=S.useState(!1),a=async()=>{s(!0);try{n?window.location.href=n:window.location.reload()}finally{s(!1)}},l=()=>{t()};return S.useEffect(()=>{typeof window<"u"&&window.Sentry&&window.Sentry.captureException(e)},[e]),v.jsx("div",{className:"fixed inset-0 z-[9999] overflow-auto",style:{backgroundColor:"var(--app-bg-color, #ffffff)"},children:v.jsx("div",{className:"flex items-center justify-center min-h-screen w-full p-4 sm:p-8 font-sans",children:v.jsxs("div",{className:"shadow-md dark:shadow-lg rounded-lg p-6 sm:p-10 max-w-xl w-full text-center focus:outline-none my-8",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[v.jsxs("div",{className:"mb-8",children:[v.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full mb-5",style:{backgroundColor:"rgba(255, 101, 3, 0.1)",color:"var(--brand-orange)"},children:v.jsx(Hu,{size:32})}),v.jsx("h2",{className:"text-xl font-semibold mb-3 leading-snug",style:{color:"var(--text-color)"},children:"Something went wrong"}),v.jsx("p",{className:"text-base leading-relaxed max-w-md mx-auto",style:{color:"var(--secondary-text-color)"},children:"An unexpected error occurred. Please try refreshing the page"})]}),v.jsxs("div",{className:"flex flex-wrap justify-center gap-3 mb-8",children:[v.jsxs("button",{className:"bg-brand-primary inline-flex items-center justify-center gap-2 px-5 py-3 rounded-md font-medium text-sm transition-all duration-150 min-w-[120px] focus:outline-none disabled:opacity-65 disabled:cursor-not-allowed disabled:pointer-events-none",onClick:l,disabled:o,children:[v.jsx(K5,{size:16,className:o?"animate-spin ":""}),"Try Again"]}),v.jsxs("button",{className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-md font-medium text-sm transition-all duration-150 min-w-[120px] focus:outline-none disabled:opacity-65 disabled:cursor-not-allowed disabled:pointer-events-none",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)"},onMouseEnter:c=>{c.currentTarget.style.backgroundColor="var(--border-color)"},onMouseLeave:c=>{c.currentTarget.style.backgroundColor="var(--hover-bg-color)"},onClick:a,disabled:o,children:[v.jsx(G5,{size:16}),n?"Go to Home":"Refresh Page"]})]}),process.env.NODE_ENV!=="production"&&v.jsxs("div",{className:"pt-6",style:{borderTop:"1px solid var(--border-color)"},children:[v.jsxs("button",{className:"inline-flex items-center gap-2 text-sm font-medium py-2 px-3 rounded transition-colors",style:{color:"var(--brand-orange)"},onMouseEnter:c=>{c.currentTarget.style.backgroundColor="var(--hover-bg-color)"},onMouseLeave:c=>{c.currentTarget.style.backgroundColor="transparent"},onClick:()=>r(!i),children:[i?v.jsx(U5,{size:16}):v.jsx(Q5,{size:16}),i?"Hide":"Show"," Error Details"]}),i&&v.jsxs("div",{className:"mt-5 text-left p-5 rounded-md max-h-[400px] overflow-auto",style:{backgroundColor:"var(--hover-bg-color)",border:"1px solid var(--border-color)"},children:[v.jsxs("div",{className:"mb-4 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Error Message:"}),v.jsx("code",{className:"text-sm leading-snug break-words p-2 rounded font-mono",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",color:"#dc2626",border:"1px solid rgba(239, 68, 68, 0.3)"},children:e.message})]}),v.jsxs("div",{className:"mb-4 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Timestamp:"}),v.jsx("span",{className:"text-sm leading-snug break-words",style:{color:"var(--text-color)"},children:new Date().toLocaleString()})]}),e.stack&&v.jsxs("div",{className:"mb-0 flex flex-col gap-2",children:[v.jsx("span",{className:"font-semibold text-sm",style:{color:"var(--text-color)"},children:"Stack Trace:"}),v.jsx("pre",{className:"text-sm leading-snug break-words p-4 rounded font-mono text-xs leading-relaxed overflow-auto whitespace-pre-wrap max-h-[300px]",style:{backgroundColor:"var(--brand-dark)",color:"#f9fafb",border:"1px solid var(--border-color)"},children:e.stack})]})]})]})]})})})};class Hm extends S.Component{constructor(t){super(t),this.handleReset=()=>{this.setState({hasError:!1,error:null,errorInfo:null}),this.props.onReset&&this.props.onReset()},this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){typeof window<"u"&&window.Sentry&&window.Sentry.captureException(t),this.setState({errorInfo:{componentStack:n.componentStack||""}}),this.props.onError&&this.props.onError(t,{componentStack:n.componentStack||""})}render(){return this.state.hasError&&this.state.error?v.jsx(g_,{error:this.state.error,onRetry:this.handleReset,fallbackPath:this.props.fallbackPath}):this.props.children}}class p_ extends S.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){var i,r;console.error("Component error:",t,n),(r=(i=this.props).onError)==null||r.call(i,t,n),typeof window<"u"&&window.Sentry&&window.Sentry.captureException(t,{contexts:{react:{componentStack:n.componentStack}}})}render(){var t;return this.state.hasError?this.props.fallback?this.props.fallback:v.jsxs("div",{className:"p-4 rounded",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)"},children:[v.jsx("p",{className:"text-sm",style:{color:"#dc2626"},children:"Something went wrong displaying this component."}),process.env.NODE_ENV==="development"&&v.jsxs("details",{className:"mt-2",children:[v.jsx("summary",{className:"cursor-pointer text-xs",style:{color:"var(--text-color)"},children:"Error details"}),v.jsx("pre",{className:"mt-1 text-xs overflow-auto",style:{color:"var(--text-color)"},children:(t=this.state.error)==null?void 0:t.toString()})]})]}):this.props.children}}const m_=({used:e,max:t,resourceName:n,warningThreshold:i=5,className:r=""})=>{const o=t-e;if(!t)return null;const a=o<=0?"exhausted":o<=i?"warning":"available",l=()=>{switch(a){case"exhausted":return{backgroundColor:"var(--status-error-bg)",color:"var(--status-error-text)",border:"1px solid var(--status-error-border)"};case"warning":return{backgroundColor:"var(--status-warning-bg)",color:"var(--status-warning-text)",border:"1px solid var(--status-warning-border)"};case"available":default:return{backgroundColor:"var(--status-success-bg)",color:"var(--status-success-text)",border:"1px solid var(--status-success-border)"}}};return v.jsxs("div",{className:`ml-2 px-2 py-1 rounded flex items-center gap-1 text-xs font-semibold ${r}`,style:l(),children:[v.jsxs("span",{children:[e," / ",t," (",o," available)"]}),a==="exhausted"&&v.jsxs("span",{className:"ml-2 font-semibold",children:["No more ",n," can be added."]})]})},b_=({displayText:e,hasMoreData:t,restDataLength:n,onClick:i,isTruncatedData:r,tooltipText:o="",customButtonEl:s})=>v.jsxs("div",{className:"flex gap-2 items-center",children:[v.jsx("div",{children:v.jsx("span",{children:v.jsx(La,{text:o,isVisible:r,children:e})})}),t&&v.jsx("button",{className:"rounded px-[3px] flex items-center justify-center cursor-pointer transition border-brand-primary text-brand-primary hover:bg-brand-surface-subtle",style:{border:"1px solid var(--brand-orange)",color:"var(--brand-orange)"},onMouseEnter:a=>a.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:a=>a.currentTarget.style.backgroundColor="transparent",onClick:a=>{a.stopPropagation(),i()},children:s||v.jsx(v.Fragment,{children:v.jsxs("span",{className:"text-xs",children:["+",n&&Number(n)>0?n:""]})})})]}),Ci={low:{label:"Low"},medium:{min:40,label:"Medium"},high:{min:70,label:"High"},critical:{min:90,label:"Critical"}},v_={low:{level:"low",label:Ci.low.label,color:"text-white",backgroundColor:"bg-green-500"},medium:{level:"medium",label:Ci.medium.label,color:"text-white",backgroundColor:"bg-yellow-500"},high:{level:"high",label:Ci.high.label,color:"text-white",backgroundColor:"bg-orange-500"},critical:{level:"critical",label:Ci.critical.label,color:"text-white",backgroundColor:"bg-red-500"}},Xu=e=>e>=Ci.critical.min?"critical":e>=Ci.high.min?"high":e>=Ci.medium.min?"medium":"low",Wm=e=>{const t=Xu(e);return v_[t]},x_=e=>{const t=Xu(e);return t==="high"||t==="critical"},y_=({score:e,customStyles:t})=>{const{label:n,backgroundColor:i,color:r}=Wm(e);return v.jsx("span",{className:kt("px-2 py-1 rounded text-xs font-semibold",i,r,t),children:n})},Xm=(e={})=>{const{fallbackPath:t="/assets",basePath:n=e.basePath||t}=e;return{getAssetPath:S.useMemo(()=>r=>{if(!r)return n;const o=r.startsWith("/")?r.slice(1):r;return`${n.endsWith("/")?n.slice(0,-1):n}/${o}`},[n]),basePath:n}},Ym=e=>{const{getAssetPath:t}=Xm(),n=S.useMemo(()=>!e||e.trim()===""?t("files/unknown_file.svg"):t(`files/${e.toLowerCase()}.svg`),[e,t]),i=S.useMemo(()=>t("files/unknown_file.svg"),[t]);return{iconPath:n,fallbackPath:i}},C_=({category:e,className:t="w-3 h-4 object-cover"})=>{const{iconPath:n,fallbackPath:i}=Ym(e),[r,o]=S.useState(!1),s=S.useCallback(()=>{o(!0)},[]),a=r?i:n;return v.jsx("img",{src:a,alt:e||"unknown file",className:t,onError:s})},w_=({message:e="No Active Attributes Present!"})=>v.jsxs("div",{className:"flex gap-2 align-center p-2 text-xs font-medium rounded-sm bg-yellow-200 text-yellow-700 w-full",children:[v.jsx(Hu,{role:"img",size:14}),v.jsx("span",{children:e})]}),S_=({icon:e,title:t="Select Country"})=>{const n=S.useRef(null),[i,r]=S.useState(!1);S.useEffect(()=>{const s=n.current;s&&r(s.scrollWidth>s.clientWidth)},[t]);const o=v.jsx("p",{ref:n,className:"overflow-hidden text-ellipsis whitespace-nowrap max-w-36",children:t});return v.jsxs("div",{className:"px-2 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-800 text-gray-400 dark:text-gray-300 text-sm text-center h-[30px] flex items-center justify-center",children:[v.jsx("img",{src:e,alt:t,className:"w-4 h-4 mr-2 rounded-full object-cover"}),i?v.jsx(La,{text:t,children:o}):o]})},I_=({isOpen:e,onDismiss:t,summaryData:n,errors:i=[],onDownload:r,onRetry:o,title:s,dataType:a})=>{if(S.useEffect(()=>{if(!e)return;const d=f=>{f.key==="Escape"&&t()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[e,t]),!e)return null;const l=n.total>0?n.success/n.total*100:0,[c,u]=S.useState(!0);return v.jsx("div",{role:"dialog",className:"fixed inset-0 z-[1000] flex items-center justify-center bg-black/40",onClick:t,children:v.jsxs("div",{className:"relative w-full min-w-[320px] max-w-[600px] rounded-lg shadow-2xl",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},onClick:d=>d.stopPropagation(),children:[v.jsx("button",{onClick:t,"aria-label":"Close",className:"absolute right-4 top-4 text-xl",style:{color:"var(--secondary-text-color)"},onMouseEnter:d=>d.currentTarget.style.color="var(--text-color)",onMouseLeave:d=>d.currentTarget.style.color="var(--secondary-text-color)",children:"×"}),v.jsxs("div",{className:"p-4 border-b",style:{borderColor:"var(--border-color)"},children:[v.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[v.jsx(o_,{className:"text-blue-500",size:20}),v.jsx("h3",{className:"text-lg font-semibold",style:{color:"var(--text-color)"},children:s??"Result"})]}),v.jsxs("div",{className:"grid grid-cols-3 gap-4 mb-4",children:[v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold",style:{color:"var(--text-color)"},children:n.total}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Total"})]}),v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:n.success}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Success"})]}),v.jsxs("div",{className:"text-center",children:[v.jsx("div",{className:"text-2xl font-bold text-red-600 dark:text-red-400",children:n.failed}),v.jsx("div",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:"Failed"})]})]}),v.jsx("div",{className:"w-full rounded-full h-2",style:{backgroundColor:"var(--brand-light)"},children:v.jsx("div",{className:"bg-green-600 dark:bg-green-400 h-2 rounded-full transition-all duration-500",style:{width:`${l}%`}})}),v.jsxs("div",{className:"text-sm font-bold mt-2",style:{color:"var(--secondary-text-color)"},children:[l.toFixed(0),"% successful"]})]}),i.length>0&&v.jsxs("div",{className:"p-4 border-b",style:{borderColor:"var(--border-color)"},children:[v.jsxs("button",{onClick:()=>u(!c),className:"flex items-center justify-between w-full text-left hover:bg-opacity-50 rounded p-2 -m-2 transition-colors",style:{backgroundColor:"transparent"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="transparent",children:[v.jsxs("h4",{className:"text-md font-medium flex items-center gap-2",style:{color:"var(--text-color)"},children:[v.jsx(q5,{className:"text-amber-500"}),"Error Details (",i.length," issues)"]}),c?v.jsx(i_,{style:{color:"var(--secondary-text-color)"}}):v.jsx(n_,{style:{color:"var(--secondary-text-color)"}})]}),c&&v.jsx("div",{className:"mt-4 space-y-2 max-h-60 overflow-y-auto",children:i.map(d=>v.jsxs("div",{className:"p-3 rounded text-sm",style:{backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)"},children:[v.jsxs("div",{className:"font-medium",style:{color:"#dc2626"},children:[d.field?`${d.field}: `:"",d.error]}),d.value&&v.jsxs("div",{className:"mt-1 text-xs",style:{color:"var(--secondary-text-color)"},children:["Value: ",d.value]})]},d.id))})]}),v.jsxs("div",{className:"p-4 flex flex-wrap justify-end gap-2",children:[r&&v.jsxs("button",{onClick:r,className:"px-4 py-2 rounded-md flex items-center gap-2 transition-colors",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",children:[v.jsx(ca,{}),"Download Errors"]}),o&&v.jsxs("button",{onClick:o,className:"px-4 py-2 rounded-md flex items-center gap-2 bg-brand-primary text-white hover:bg-opacity-90 transition-colors",children:[v.jsx(s_,{}),"Retry"]}),v.jsx("button",{onClick:t,className:"px-4 py-2 rounded-md transition-colors",style:{backgroundColor:"var(--hover-bg-color)",color:"var(--text-color)",border:"1px solid var(--border-color)"},onMouseEnter:d=>d.currentTarget.style.backgroundColor="var(--brand-light)",onMouseLeave:d=>d.currentTarget.style.backgroundColor="var(--hover-bg-color)",children:"Close"})]})]})})},__=({isVisible:e,currentStep:t,error:n,onDismiss:i})=>{if(!e)return null;const r=(o,s)=>s?v.jsx(t_,{className:"w-6 h-6 text-green-600 dark:text-green-400"}):o?v.jsx("div",{className:"animate-spin rounded-full h-6 w-6",style:{borderWidth:"2px",borderStyle:"solid",borderColor:"var(--brand-light)",borderTopColor:"var(--brand-orange)"}}):v.jsx("div",{className:"w-6 h-6 border-2 rounded-full",style:{borderColor:"var(--border-color)"}});return v.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm flex items-center justify-center z-50",children:v.jsxs("div",{className:"rounded-lg shadow-2xl p-8 max-w-md w-full mx-4 relative",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},children:[n&&i&&v.jsx("button",{onClick:i,className:"absolute top-4 right-4 p-2 transition-colors",style:{color:"var(--secondary-text-color)"},onMouseEnter:o=>o.currentTarget.style.color="var(--text-color)",onMouseLeave:o=>o.currentTarget.style.color="var(--secondary-text-color)",children:v.jsx(a_,{className:"w-5 h-5"})}),v.jsxs("div",{className:"text-center mb-8",children:[v.jsx("div",{className:"flex items-center justify-center mb-4",children:v.jsx(ca,{className:"w-12 h-12 text-brand-primary"})}),v.jsx("h2",{className:"text-2xl font-bold mb-2",style:{color:"var(--text-color)"},children:"Installing Update"}),v.jsx("p",{style:{color:"var(--secondary-text-color)"},children:"Please wait while we install the update safely"})]}),n&&v.jsxs("div",{className:"mb-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(ah,{className:"w-5 h-5 text-red-600 dark:text-red-400"}),v.jsx("p",{className:"text-sm text-red-700 dark:text-red-300 font-medium",children:"Installation Failed"})]}),v.jsx("p",{className:"text-sm text-red-600 dark:text-red-400 mt-1",children:n}),v.jsx("div",{className:"mt-3 flex space-x-2",children:v.jsx("button",{onClick:i,className:"px-3 py-1.5 bg-red-600 text-white text-sm rounded hover:bg-red-700 transition-colors",children:"Close"})})]}),v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{className:"flex items-center space-x-3",children:[r(t==="backup",t==="install"||t==="complete"),v.jsxs("div",{className:"flex-1",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(r_,{className:"w-4 h-4",style:{color:"var(--secondary-text-color)"}}),v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--text-color)"},children:"Database Backup"})]}),v.jsx("p",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:t==="backup"?"Creating secure backup...":t==="install"||t==="complete"?"Backup completed":"Pending"})]})]}),v.jsxs("div",{className:"flex items-center space-x-3",children:[r(t==="install",t==="complete"),v.jsxs("div",{className:"flex-1",children:[v.jsxs("div",{className:"flex items-center space-x-2",children:[v.jsx(ca,{className:"w-4 h-4",style:{color:"var(--secondary-text-color)"}}),v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--text-color)"},children:"Update Installation"})]}),v.jsx("p",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:t==="install"?"Installing update...":t==="complete"?"Installation completed":"Pending"})]})]})]}),v.jsx("div",{className:"mt-6",children:v.jsx("div",{className:"w-full rounded-full h-2",style:{backgroundColor:"var(--brand-light)"},children:v.jsx("div",{className:"h-2 rounded-full transition-all duration-500",style:{width:t==="backup"?"50%":"100%",backgroundColor:"var(--brand-orange)"}})})}),v.jsx("div",{className:"mt-6 p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:v.jsxs("div",{className:"flex items-start space-x-2",children:[v.jsx(ah,{className:"w-4 h-4 text-yellow-600 dark:text-yellow-400 mt-0.5 flex-shrink-0"}),v.jsxs("p",{className:"text-xs text-yellow-700 dark:text-yellow-300",children:[v.jsx("strong",{children:"Important:"})," Do not close the application during this process. The app will restart automatically after installation."]})]})})]})})},E_=({confidenceData:e,children:t,position:n="top"})=>{const[i,r]=S.useState(!1),[o,s]=S.useState({}),[a,l]=S.useState({}),c=S.useRef(null),u=S.useRef(null);S.useEffect(()=>{if(!i||!c.current)return;const p=c.current.getBoundingClientRect(),m=u.current;if(!m)return;const b=m.getBoundingClientRect(),y=window.innerWidth,x=window.innerHeight;let I=n,C=0,M=0,R=0,w=0;switch(n==="top"&&p.top-b.height<10?I="bottom":n==="bottom"&&p.bottom+b.height>x-10?I="top":n==="left"&&p.left-b.width<10?I="right":n==="right"&&p.right+b.width>y-10&&(I="left"),I){case"top":C=p.top-b.height-8,M=p.left+p.width/2-b.width/2,R=b.height-4,w=b.width/2-5;break;case"bottom":C=p.bottom+8,M=p.left+p.width/2-b.width/2,R=-5,w=b.width/2-5;break;case"left":C=p.top+p.height/2-b.height/2,M=p.left-b.width-8,R=b.height/2-5,w=b.width-4;break;case"right":C=p.top+p.height/2-b.height/2,M=p.right+8,R=b.height/2-5,w=-5;break}s({top:`${C}px`,left:`${M}px`,opacity:1,visibility:"visible"}),l({top:`${R}px`,left:`${w}px`,transform:"rotate(45deg)"})},[i,n]);const d=p=>p>=.8?"text-green-600":p>=.6?"text-yellow-600":"text-red-600",f=p=>p>=.8?"High":p>=.6?"Medium":"Low",h=p=>{switch(p){case"column_name":return"Based on column name analysis";case"sample_data":return"Based on sample data analysis";default:return"Confidence score available"}},g=()=>{const{confidence_score:p,classification_reason:m,sample_data_preview:b,confidence_reason:y}=e;return v.jsxs("div",{className:"confidence-tooltip-content",children:[v.jsx("div",{className:"confidence-tooltip-header",children:v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx(km,{className:"h-4 w-4 text-blue-500"}),v.jsx("span",{className:"font-semibold",style:{color:"var(--text-color)"},children:"Classification Details"})]})}),v.jsxs("div",{className:"confidence-tooltip-body",children:[p!==void 0&&v.jsx("div",{className:"confidence-score-section",children:v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--secondary-text-color)"},children:"Confidence Score:"}),v.jsxs("span",{className:`text-sm font-bold ${d(p)}`,children:[f(p)," (",(p*100).toFixed(0),"%)"]})]})}),v.jsx("div",{className:"classification-reason-section",children:v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsx("span",{className:"text-sm font-medium",style:{color:"var(--secondary-text-color)"},children:"Classification Method:"}),v.jsx("span",{className:"text-sm",style:{color:"var(--text-color)"},children:h(m)})]})}),m==="sample_data"&&b&&v.jsxs("div",{className:"sample-data-section",children:[v.jsx("div",{className:"text-sm font-medium mb-1",style:{color:"var(--text-color)"},children:"Sample Data Preview:"}),v.jsx("div",{className:"text-xs p-2 rounded border max-w-xs",style:{color:"var(--text-color)",backgroundColor:"var(--hover-bg-color)",borderColor:"var(--border-color)"},children:v.jsx("div",{className:"truncate",title:b,children:b})})]}),y&&v.jsxs("div",{className:"confidence-reason-section",children:[v.jsx("div",{className:"text-sm font-medium mb-1",style:{color:"var(--text-color)"},children:"Additional Details:"}),v.jsx("div",{className:"text-xs",style:{color:"var(--secondary-text-color)"},children:y})]})]})]})};return v.jsxs("div",{className:"confidence-tooltip-wrapper",ref:c,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[t,i&&fn.createPortal(v.jsxs("div",{ref:u,className:"confidence-tooltip",style:o,children:[g(),v.jsx("span",{className:"confidence-tooltip-arrow",style:a})]}),document.body)]})},A_=({isOpen:e,imagePath:t,imageSrc:n,loadImageFromPath:i,onClose:r})=>{const[o,s]=S.useState(""),[a,l]=S.useState(!1),[c,u]=S.useState("");if(du(e),S.useEffect(()=>{if(!e){s(""),u(""),l(!1);return}if(n){s(n),u(""),l(!1);return}t?(async()=>{l(!0),u(""),s("");try{if(i){const h=await i(t);s(h)}else s(t)}catch(h){const g=h instanceof Error?h.message:"Failed to load image";u(g),console.error("[ImagePreviewModal] Failed to load image:",h)}finally{l(!1)}})():u("No image source provided")},[e,t,n,i]),S.useEffect(()=>{if(!e)return;const f=h=>{h.key==="Escape"&&r()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[e,r]),!e)return null;const d=v.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center z-[40] p-4 overflow-y-auto",onClick:r,children:v.jsxs("div",{className:"relative py-4 rounded-lg shadow-lg w-[95%] sm:w-[90%] md:w-[85%] lg:w-auto max-w-screen-2xl min-w-[320px] sm:min-w-[400px]",style:{backgroundColor:"var(--bg-color)",border:"1px solid var(--border-color)"},onClick:f=>f.stopPropagation(),children:[v.jsx("div",{className:"px-4",children:v.jsxs("div",{className:"flex justify-between items-center",children:[v.jsx("h2",{className:"text-lg font-semibold",style:{color:"var(--text-color)"},children:"Image Preview"}),v.jsx("button",{onClick:r,className:"text-brand-primary hover:opacity-80 transition-opacity","aria-label":"Close",children:v.jsx(_p,{size:16})})]})}),v.jsxs("div",{className:"px-4 mt-4 pb-4",children:[a&&v.jsx("div",{className:"flex justify-center items-center py-8",style:{color:"var(--text-color)"},children:v.jsx("span",{children:"Loading image..."})}),c&&v.jsx("div",{className:"flex justify-center items-center py-8",style:{color:"var(--text-color)"},children:v.jsxs("div",{className:"text-center",children:[v.jsx("p",{className:"text-red-500 mb-2",children:"Error loading image"}),v.jsx("p",{className:"text-sm",style:{color:"var(--secondary-text-color)"},children:c})]})}),!a&&!c&&o&&v.jsx("div",{className:"flex justify-center items-center max-h-[70vh] overflow-auto",children:v.jsx("img",{src:o,alt:"Preview",className:"max-w-full max-h-[70vh] object-contain rounded",style:{border:"1px solid var(--border-color)"},onError:()=>u("Failed to load image")})})]})]})});return fn.createPortal(d,document.getElementById("modal-root")||document.body)};var Zm={exports:{}};/* @license
69
69
  Papa Parse
70
70
  v5.5.3
71
71
  https://github.com/mholt/PapaParse
package/dist/index.mjs CHANGED
@@ -10686,7 +10686,7 @@ const o_ = () => (Ku(), va ? va() : (console.warn("[useAppDispatch] Redux is not
10686
10686
  return Y.column.columnDef.fixedColumn && (Ye += " sticky z-10"), Y.column.columnDef.centerAlign && (Ye += " text-center"), gt && (Ye += " right-fixed"), ["#", "id"].includes((An = Y == null ? void 0 : Y.column) == null ? void 0 : An.id) && (Ye += " id-column"), /* @__PURE__ */ N(
10687
10687
  "th",
10688
10688
  {
10689
- className: `table-header ${p ? "border dark:border-gray-600" : ""} font-bold whitespace-nowrap text-ellipsis cursor-pointer dark:text-gray-200 ${Ye}`,
10689
+ className: `table-header ${p ? "border dark:border-gray-600" : ""} font-bold whitespace-nowrap text-ellipsis cursor-pointer ${Ye}`,
10690
10690
  style: {
10691
10691
  minWidth: Y.column.columnDef.minSize || "auto",
10692
10692
  maxWidth: Y.column.columnDef.maxSize || "auto",
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .loader{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.subtitle{max-width:-moz-fit-content;max-width:fit-content;padding:2px 5px;border-radius:8px;font-size:12px}.footer-button{font-size:14px}.modal-body{overflow-y:auto;overflow-x:hidden;width:100%;word-break:break-word;flex:1 1 auto;min-height:0;scrollbar-width:thin;scrollbar-color:var(--brand-light) var(--hover-bg-color)}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:var(--hover-bg-color);border-radius:4px}.modal-body::-webkit-scrollbar-thumb{background:var(--brand-light);border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:var(--brand-orange)}@media (max-width: 640px){.modal-body{max-height:60vh}}@media (min-width: 641px) and (max-width: 1024px){.modal-body{max-height:65vh}}.modal,.bg-white.rounded-lg{box-shadow:0 2px 8px #00000014;background-color:var(--bg-color);border-radius:.5rem;border:1px solid var(--border-color)}html.dark .modal,html.dark .bg-white.rounded-lg{background-color:var(--bg-color);border:1px solid var(--border-color)}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:9999;display:flex;align-items:center;padding:12px 16px;border-radius:8px;box-shadow:0 4px 12px #0000001a;background:var(--bg-color);min-width:350px;max-width:90vw;width:auto;animation:slideIn .3s ease-out,fadeIn .3s ease-out;transition:all .2s ease;border:1px solid var(--border-color)}html.dark .toast{background:var(--bg-color);box-shadow:0 2px 12px #1e3a8a59,0 1.5px 4px #00000073;border:1px solid var(--border-color)}.toast:hover{box-shadow:0 8px 15px #0000001a,0 6px 10px #00000014;border-color:var(--brand-orange)}html.dark .toast:hover{box-shadow:0 8px 20px #00000073,0 6px 14px #00000040;border-color:var(--brand-orange)}.toast-icon{margin-right:12px;display:flex;align-items:center}.toast-message{flex:1;font-size:14px;line-height:1.4;white-space:nowrap;overflow:visible;min-width:0;color:var(--text-color)}html.dark .toast-message{color:var(--text-color)}.toast-close-button{background:none;border:none;padding:4px;cursor:pointer;opacity:.6;transition:opacity .2s;display:flex;align-items:center;margin-left:12px;color:var(--secondary-text-color)}html.dark .toast-close-button{color:var(--secondary-text-color)}.toast-close-button:hover{opacity:1}.toast-success{border-left:4px solid #10b981}.toast-success .toast-icon{color:#10b981}.toast-info{border-left:4px solid var(--brand-orange)}.toast-info .toast-icon{color:var(--brand-orange)}.toast-error{border-left:4px solid #ef4444}.toast-error .toast-icon{color:#ef4444}.toast-warning{border-left:4px solid #f59e0b}.toast-warning .toast-icon{color:#f59e0b}@keyframes slideIn{0%{transform:translate(-50%,-120%)}to{transform:translate(-50%)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.tooltip-wrapper{display:inline-block;cursor:inherit}.tooltip{position:absolute;background:var(--brand-dark);color:#fff;padding:5px 10px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,transform .2s ease-in-out;z-index:10000;border:1px solid var(--border-color)}html.dark .tooltip{background:var(--hover-bg-color);color:var(--text-color);border:1px solid var(--border-color)}.tooltip.fixed-width{width:300px;white-space:normal;text-align:left}.tooltip-arrow{position:absolute;width:10px;height:10px;background:var(--brand-dark);transform:rotate(45deg)}html.dark .tooltip-arrow{background:var(--hover-bg-color)}.tooltip.show{opacity:1}.toggle-switch{position:relative;display:inline-flex;height:1rem;width:1.75rem;border-radius:9999px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;align-items:center;outline:none}.toggle-on,html.dark .toggle-switch.toggle-on{background-color:var(--brand-orange)}.toggle-off,html.dark .toggle-switch.toggle-off{background-color:var(--border-color)}.toggle-knob{position:absolute;display:inline-block;height:.75rem;width:.75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;top:2px;background-color:#fff}html.dark .toggle-knob{background-color:#fff}.knob-on{transform:translate(12px)}.knob-off{transform:translate(4px)}.table-container{min-height:40px;max-height:660px;overflow-y:auto;overflow-x:auto;background-color:var(--bg-color)}.dark .table-container{background-color:var(--bg-color)}.table-header{padding:8px 10px;font-size:14px;font-weight:600;color:var(--text-color, #3a3a3a)}.dark .table-header{background-color:var(--brand-dark-secondary)}.table-header[data-sortable=true]{cursor:pointer}.table-header.checkbox{text-align:center;vertical-align:middle}tr[data-clickable=true]{cursor:pointer}tr[data-clickable=true] .bulk-actions-select,tr[data-clickable=true] .bulk-actions-select *,.bulk-actions-select,.bulk-actions-select *{cursor:pointer!important}.table-header.checkbox input{display:block;margin:0 auto}.table-padding.checkbox{text-align:center;vertical-align:middle}.table-padding.checkbox input{display:block;margin:0 auto}.table-header,.table-padding{vertical-align:middle}.checkbox{padding:8px 5px 8px 10px!important}.table-padding{padding:8px 10px}.table-data{font-size:14px;font-weight:400;color:var(--secondary-text-color, #67768b);border-bottom:1px solid var(--border-color, rgba(0, 0, 0, .12))}tr:hover{background-color:var(--brand-light)!important}.dark tr:hover{background-color:var(--hover-bg-color)!important}.dark .table-data{color:#d1d5db;border-bottom:1px solid var(--border-color)}.pagination-content{font-size:13px;line-height:20px;color:var(--text-color, #3a3a3a)}.dark .pagination-content{color:var(--text-color, #f3f4f6)}tbody td{vertical-align:top}.table-header:last-child,.table-padding:last-child{right:0;z-index:20;width:40px}.right-fixed{z-index:20;text-align:left;width:50px}.id-column{width:30px}.dark .filters:hover,.dark .toggle-delete:hover{background-color:var(--hover-bg-color)!important}.confidence-tooltip-wrapper{display:inline-block;cursor:inherit}.confidence-tooltip{position:absolute;background:var(--bg-color);color:var(--text-color);padding:12px;border-radius:6px;font-size:12px;white-space:normal;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,transform .2s ease-in-out;z-index:10000;border:1px solid var(--border-color);box-shadow:0 4px 12px #00000026;min-width:250px;max-width:400px}html.dark .confidence-tooltip{background:var(--bg-color);color:var(--text-color);border:1px solid var(--border-color);box-shadow:0 4px 12px #0000004d}.confidence-tooltip-arrow{position:absolute;width:10px;height:10px;background:var(--bg-color);transform:rotate(45deg);border:1px solid var(--border-color)}html.dark .confidence-tooltip-arrow{background:var(--bg-color);border-color:var(--border-color)}.confidence-tooltip-content{display:flex;flex-direction:column;gap:8px}.confidence-tooltip-header{border-bottom:1px solid var(--border-color);padding-bottom:8px;margin-bottom:8px}.confidence-tooltip-body{display:flex;flex-direction:column;gap:8px}.confidence-score-section,.classification-reason-section,.sample-data-section,.confidence-reason-section{padding:4px 0}.confidence-score-section{font-weight:500}.sample-data-section{margin-top:4px}.confidence-reason-section{margin-top:4px;padding-top:8px;border-top:1px solid var(--border-color)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}button:focus-visible{outline:2px solid var(--brand-orange, #ff6503);outline-offset:2px}button:focus:not(:focus-visible){outline:none}input,textarea,select{outline:none!important;--tw-ring-color: transparent !important;--tw-ring-offset-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}input[type=text]:focus:not(.react-select-container input):not(.react-select__input input),input[type=email]:focus,input[type=password]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=url]:focus,input[type=search]:focus,input[type=date]:focus,input[type=time]:focus,input[type=datetime-local]:focus,textarea:focus,select:focus:not(.react-select__control select){outline:none!important;border-color:var(--brand-orange, #ff6503)!important;box-shadow:0 0 0 1px var(--brand-orange, #ff6503)!important;--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}.react-select-container input,.react-select-container input:focus,.react-select__input input,.react-select__input input:focus{outline:none!important;border:none!important;box-shadow:none!important;--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}body,html{margin:0;padding:0;font-family:var(--font-family, "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);height:100%;background-color:var(--app-bg-color, #ffffff);color:var(--text-color, #3a3a3a)}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading, "Afacad", "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);color:var(--text-color, #3a3a3a)}html.dark,html.dark body{background-color:var(--app-bg-color-dark, #111111);color:var(--text-color, #f9fafb)}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:var(--text-color, #f9fafb)}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-left-1{left:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.right-4{right:1rem}.top-0{top:0}.top-4{top:1rem}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[40\]{z-index:40}.z-\[99990\]{z-index:99990}.z-\[9999\]{z-index:9999}.-m-2{margin:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-\[30px\]{height:30px}.h-full{height:100%}.max-h-60{max-height:15rem}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[90vh\]{max-height:90vh}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-\[10rem\]{width:10rem}.w-\[95\%\]{width:95%}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-0{min-width:0px}.min-w-24{min-width:6rem}.min-w-\[120px\]{min-width:120px}.min-w-\[320px\]{min-width:320px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-36{max-width:9rem}.max-w-3xl{max-width:48rem}.max-w-\[600px\]{max-width:600px}.max-w-\[78vw\]{max-width:78vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-screen-2xl{max-width:1536px}.max-w-screen-lg{max-width:1024px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-\[var\(--border-color\)\]{border-color:var(--border-color)}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-brand-primary{border-color:var(--brand-orange, #ff6503)}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-black\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-brand-primary{background-color:var(--brand-orange, #ff6503)}.bg-brand-surface-subtle{background-color:var(--brand-light, #dae0e8)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-0{padding:0!important}.p-0{padding:0}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1\.25rem\]{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[3px\]{padding-left:3px;padding-right:3px}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[18px\]{font-size:18px}.text-\[1rem\]{font-size:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-\[600\]{font-weight:600}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}*:focus{outline-color:var(--brand-orange, #ff6503)}:root{--brand-primary: #0b86cf;--brand-light: #e6f4fa;--brand-orange: #ff6503;--text-color: #1a1a1a}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--hover-bg-color, #f3f4f6);border-radius:5px}::-webkit-scrollbar-thumb{background:var(--brand-light, #dae0e8);border-radius:5px;border:2px solid var(--hover-bg-color, #f3f4f6)}::-webkit-scrollbar-thumb:hover{background:var(--brand-orange, #ff6503)}::-webkit-scrollbar-corner{background:var(--hover-bg-color, #f3f4f6)}*{scrollbar-width:thin;scrollbar-color:var(--brand-light, #dae0e8) var(--hover-bg-color, #f3f4f6)}html.dark ::-webkit-scrollbar-track{background:var(--hover-bg-color, #4b4b4b)}html.dark ::-webkit-scrollbar-thumb{background:var(--border-color, #4b5563);border:2px solid var(--hover-bg-color, #4b4b4b)}html.dark ::-webkit-scrollbar-thumb:hover{background:var(--brand-orange, #ff6503)}.bg-brand-primary{background-color:var(--brand-orange, #ff6503);color:#fff}.bg-brand-primary:hover{background-color:#e65a03!important}.bg-brand-primary:focus{background-color:var(--brand-orange, #ff6503);outline:2px solid var(--brand-orange, #ff6503);outline-offset:2px}.bg-brand-primary:active{background-color:#cc5202}.bg-brand-surface{background-color:var(--bg-color, #ffffff)}.bg-brand-surface-subtle{background-color:var(--brand-light, #dae0e8)!important;color:var(--brand-dark, #3a3a3a)!important}.bg-brand-surface-subtle *{color:var(--brand-dark, #3a3a3a)!important}.border-brand-primary{border-color:var(--brand-orange, #ff6503)!important}.text-brand-primary{color:var(--brand-orange, #ff6503)}.text-secondary{color:var(--secondary-text-color, #6b7280)}.hover-color-brand-orange:hover{color:var(--brand-orange, #ff6503)}.hoverable-bg:hover{background-color:var(--hover-bg-color, #f3f4f6)}.storybook-wrapper{background-color:var(--app-bg-color, #ffffff)}html.dark .storybook-wrapper{background-color:var(--app-bg-color-dark, #111111)}.checked\:relative:checked{position:relative}.checked\:border-\[\#0b86cf\]:checked{--tw-border-opacity: 1;border-color:rgb(11 134 207 / var(--tw-border-opacity, 1))}.checked\:bg-brand-primary:checked{background-color:var(--brand-orange, #ff6503)}.checked\:after\:absolute:checked:after{content:var(--tw-content);position:absolute}.checked\:after\:left-1\/2:checked:after{content:var(--tw-content);left:50%}.checked\:after\:top-1\/2:checked:after{content:var(--tw-content);top:50%}.checked\:after\:-translate-x-1\/2:checked:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:after\:-translate-y-1\/2:checked:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:after\:text-xs:checked:after{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\:after\:font-bold:checked:after{content:var(--tw-content);font-weight:700}.checked\:after\:text-white:checked:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.checked\:after\:content-\[\'✔\'\]:checked:after{--tw-content: "✔";content:var(--tw-content)}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-brand-surface-subtle:hover{background-color:var(--brand-light, #dae0e8)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity, 1))}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:bg-opacity-90:hover{--tw-bg-opacity: .9}.hover\:opacity-80:hover{opacity:.8}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[var\(--brand-orange\)\]:focus{--tw-ring-color: var(--brand-orange)}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-yellow-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(234 179 8 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-65:disabled{opacity:.65}.dark\:border-amber-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-green-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-yellow-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity, 1))}.dark\:border-yellow-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity, 1))}.dark\:bg-\[\#1e293b\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#23272f\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 39 47 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-black\/70:is(.dark *){background-color:#000000b3}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-gray-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-green-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900\/20:is(.dark *){background-color:#14532d33}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7c2d124d}.dark\:bg-purple-900\/30:is(.dark *){background-color:#581c874d}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-yellow-900\/20:is(.dark *){background-color:#713f1233}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#713f124d}.dark\:text-amber-200:is(.dark *){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity, 1))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.dark\:text-yellow-400:is(.dark *){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.dark\:placeholder-gray-500:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-gray-500:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:hover\:bg-gray-400:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\:mx-0{margin-left:0;margin-right:0}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:w-10{width:2.5rem}.sm\:w-\[90\%\]{width:90%}.sm\:w-auto{width:auto}.sm\:min-w-\[400px\]{min-width:400px}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:p-10{padding:2.5rem}.sm\:p-6{padding:1.5rem}.sm\:p-8{padding:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:h-16{height:4rem}.md\:w-16{width:4rem}.md\:w-\[85\%\]{width:85%}.md\:min-w-\[500px\]{min-width:500px}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:h-20{height:5rem}.lg\:w-20{width:5rem}.lg\:w-auto{width:auto}.lg\:min-w-\[600px\]{min-width:600px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width: 1536px){.\32xl\:text-2xl{font-size:1.5rem;line-height:2rem}}
1
+ .loader{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.subtitle{max-width:-moz-fit-content;max-width:fit-content;padding:2px 5px;border-radius:8px;font-size:12px}.footer-button{font-size:14px}.modal-body{overflow-y:auto;overflow-x:hidden;width:100%;word-break:break-word;flex:1 1 auto;min-height:0;scrollbar-width:thin;scrollbar-color:var(--brand-light) var(--hover-bg-color)}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:var(--hover-bg-color);border-radius:4px}.modal-body::-webkit-scrollbar-thumb{background:var(--brand-light);border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:var(--brand-orange)}@media (max-width: 640px){.modal-body{max-height:60vh}}@media (min-width: 641px) and (max-width: 1024px){.modal-body{max-height:65vh}}.modal,.bg-white.rounded-lg{box-shadow:0 2px 8px #00000014;background-color:var(--bg-color);border-radius:.5rem;border:1px solid var(--border-color)}html.dark .modal,html.dark .bg-white.rounded-lg{background-color:var(--bg-color);border:1px solid var(--border-color)}.toast{position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:9999;display:flex;align-items:center;padding:12px 16px;border-radius:8px;box-shadow:0 4px 12px #0000001a;background:var(--bg-color);min-width:350px;max-width:90vw;width:auto;animation:slideIn .3s ease-out,fadeIn .3s ease-out;transition:all .2s ease;border:1px solid var(--border-color)}html.dark .toast{background:var(--bg-color);box-shadow:0 2px 12px #1e3a8a59,0 1.5px 4px #00000073;border:1px solid var(--border-color)}.toast:hover{box-shadow:0 8px 15px #0000001a,0 6px 10px #00000014;border-color:var(--brand-orange)}html.dark .toast:hover{box-shadow:0 8px 20px #00000073,0 6px 14px #00000040;border-color:var(--brand-orange)}.toast-icon{margin-right:12px;display:flex;align-items:center}.toast-message{flex:1;font-size:14px;line-height:1.4;white-space:nowrap;overflow:visible;min-width:0;color:var(--text-color)}html.dark .toast-message{color:var(--text-color)}.toast-close-button{background:none;border:none;padding:4px;cursor:pointer;opacity:.6;transition:opacity .2s;display:flex;align-items:center;margin-left:12px;color:var(--secondary-text-color)}html.dark .toast-close-button{color:var(--secondary-text-color)}.toast-close-button:hover{opacity:1}.toast-success{border-left:4px solid #10b981}.toast-success .toast-icon{color:#10b981}.toast-info{border-left:4px solid var(--brand-orange)}.toast-info .toast-icon{color:var(--brand-orange)}.toast-error{border-left:4px solid #ef4444}.toast-error .toast-icon{color:#ef4444}.toast-warning{border-left:4px solid #f59e0b}.toast-warning .toast-icon{color:#f59e0b}@keyframes slideIn{0%{transform:translate(-50%,-120%)}to{transform:translate(-50%)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.tooltip-wrapper{display:inline-block;cursor:inherit}.tooltip{position:absolute;background:var(--brand-dark);color:#fff;padding:5px 10px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,transform .2s ease-in-out;z-index:10000;border:1px solid var(--border-color)}html.dark .tooltip{background:var(--hover-bg-color);color:var(--text-color);border:1px solid var(--border-color)}.tooltip.fixed-width{width:300px;white-space:normal;text-align:left}.tooltip-arrow{position:absolute;width:10px;height:10px;background:var(--brand-dark);transform:rotate(45deg)}html.dark .tooltip-arrow{background:var(--hover-bg-color)}.tooltip.show{opacity:1}.toggle-switch{position:relative;display:inline-flex;height:1rem;width:1.75rem;border-radius:9999px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;align-items:center;outline:none}.toggle-on,html.dark .toggle-switch.toggle-on{background-color:var(--brand-orange)}.toggle-off,html.dark .toggle-switch.toggle-off{background-color:var(--border-color)}.toggle-knob{position:absolute;display:inline-block;height:.75rem;width:.75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;top:2px;background-color:#fff}html.dark .toggle-knob{background-color:#fff}.knob-on{transform:translate(12px)}.knob-off{transform:translate(4px)}.table-container{min-height:40px;max-height:660px;overflow-y:auto;overflow-x:auto;background-color:var(--bg-color)}.dark .table-container{background-color:var(--bg-color)}.table-header{padding:8px 10px;font-size:14px;font-weight:600;color:var(--text-color, #3a3a3a)}.dark .table-header{background-color:var(--brand-dark-secondary);color:var(--text-color, #e5e7eb)!important}.table-header[data-sortable=true]{cursor:pointer}.table-header.checkbox{text-align:center;vertical-align:middle}tr[data-clickable=true]{cursor:pointer}tr[data-clickable=true] .bulk-actions-select,tr[data-clickable=true] .bulk-actions-select *,.bulk-actions-select,.bulk-actions-select *{cursor:pointer!important}.table-header.checkbox input{display:block;margin:0 auto}.table-padding.checkbox{text-align:center;vertical-align:middle}.table-padding.checkbox input{display:block;margin:0 auto}.table-header,.table-padding{vertical-align:middle}.checkbox{padding:8px 5px 8px 10px!important}.table-padding{padding:8px 10px}.table-data{font-size:14px;font-weight:400;color:var(--secondary-text-color, #67768b);border-bottom:1px solid var(--border-color, rgba(0, 0, 0, .12))}tr:hover{background-color:var(--brand-light)!important}.dark tr:hover{background-color:var(--hover-bg-color)!important}.dark .table-data{color:#d1d5db;border-bottom:1px solid var(--border-color)}.pagination-content{font-size:13px;line-height:20px;color:var(--text-color, #3a3a3a)}.dark .pagination-content{color:var(--text-color, #f3f4f6)}tbody td{vertical-align:top}.table-header:last-child,.table-padding:last-child{right:0;z-index:20;width:40px}.right-fixed{z-index:20;text-align:left;width:50px}.id-column{width:30px}.dark .filters:hover,.dark .toggle-delete:hover{background-color:var(--hover-bg-color)!important}.confidence-tooltip-wrapper{display:inline-block;cursor:inherit}.confidence-tooltip{position:absolute;background:var(--bg-color);color:var(--text-color);padding:12px;border-radius:6px;font-size:12px;white-space:normal;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,transform .2s ease-in-out;z-index:10000;border:1px solid var(--border-color);box-shadow:0 4px 12px #00000026;min-width:250px;max-width:400px}html.dark .confidence-tooltip{background:var(--bg-color);color:var(--text-color);border:1px solid var(--border-color);box-shadow:0 4px 12px #0000004d}.confidence-tooltip-arrow{position:absolute;width:10px;height:10px;background:var(--bg-color);transform:rotate(45deg);border:1px solid var(--border-color)}html.dark .confidence-tooltip-arrow{background:var(--bg-color);border-color:var(--border-color)}.confidence-tooltip-content{display:flex;flex-direction:column;gap:8px}.confidence-tooltip-header{border-bottom:1px solid var(--border-color);padding-bottom:8px;margin-bottom:8px}.confidence-tooltip-body{display:flex;flex-direction:column;gap:8px}.confidence-score-section,.classification-reason-section,.sample-data-section,.confidence-reason-section{padding:4px 0}.confidence-score-section{font-weight:500}.sample-data-section{margin-top:4px}.confidence-reason-section{margin-top:4px;padding-top:8px;border-top:1px solid var(--border-color)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}button:focus-visible{outline:2px solid var(--brand-orange, #ff6503);outline-offset:2px}button:focus:not(:focus-visible){outline:none}input,textarea,select{outline:none!important;--tw-ring-color: transparent !important;--tw-ring-offset-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}input[type=text]:focus:not(.react-select-container input):not(.react-select__input input),input[type=email]:focus,input[type=password]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=url]:focus,input[type=search]:focus,input[type=date]:focus,input[type=time]:focus,input[type=datetime-local]:focus,textarea:focus,select:focus:not(.react-select__control select){outline:none!important;border-color:var(--brand-orange, #ff6503)!important;box-shadow:0 0 0 1px var(--brand-orange, #ff6503)!important;--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}.react-select-container input,.react-select-container input:focus,.react-select__input input,.react-select__input input:focus{outline:none!important;border:none!important;box-shadow:none!important;--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 #0000 !important}body,html{margin:0;padding:0;font-family:var(--font-family, "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);height:100%;background-color:var(--app-bg-color, #ffffff);color:var(--text-color, #3a3a3a)}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading, "Afacad", "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);color:var(--text-color, #3a3a3a)}html.dark,html.dark body{background-color:var(--app-bg-color-dark, #111111);color:var(--text-color, #f9fafb)}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:var(--text-color, #f9fafb)}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-left-1{left:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.right-4{right:1rem}.top-0{top:0}.top-4{top:1rem}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[40\]{z-index:40}.z-\[99990\]{z-index:99990}.z-\[9999\]{z-index:9999}.-m-2{margin:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-\[30px\]{height:30px}.h-full{height:100%}.max-h-60{max-height:15rem}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[90vh\]{max-height:90vh}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-\[10rem\]{width:10rem}.w-\[95\%\]{width:95%}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-0{min-width:0px}.min-w-24{min-width:6rem}.min-w-\[120px\]{min-width:120px}.min-w-\[320px\]{min-width:320px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-36{max-width:9rem}.max-w-3xl{max-width:48rem}.max-w-\[600px\]{max-width:600px}.max-w-\[78vw\]{max-width:78vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-screen-2xl{max-width:1536px}.max-w-screen-lg{max-width:1024px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-\[var\(--border-color\)\]{border-color:var(--border-color)}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-brand-primary{border-color:var(--brand-orange, #ff6503)}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-black\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-brand-primary{background-color:var(--brand-orange, #ff6503)}.bg-brand-surface-subtle{background-color:var(--brand-light, #dae0e8)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-0{padding:0!important}.p-0{padding:0}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1\.25rem\]{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[3px\]{padding-left:3px;padding-right:3px}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[18px\]{font-size:18px}.text-\[1rem\]{font-size:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-\[600\]{font-weight:600}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}*:focus{outline-color:var(--brand-orange, #ff6503)}:root{--brand-primary: #0b86cf;--brand-light: #e6f4fa;--brand-orange: #ff6503;--text-color: #1a1a1a}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--hover-bg-color, #f3f4f6);border-radius:5px}::-webkit-scrollbar-thumb{background:var(--brand-light, #dae0e8);border-radius:5px;border:2px solid var(--hover-bg-color, #f3f4f6)}::-webkit-scrollbar-thumb:hover{background:var(--brand-orange, #ff6503)}::-webkit-scrollbar-corner{background:var(--hover-bg-color, #f3f4f6)}*{scrollbar-width:thin;scrollbar-color:var(--brand-light, #dae0e8) var(--hover-bg-color, #f3f4f6)}html.dark ::-webkit-scrollbar-track{background:var(--hover-bg-color, #4b4b4b)}html.dark ::-webkit-scrollbar-thumb{background:var(--border-color, #4b5563);border:2px solid var(--hover-bg-color, #4b4b4b)}html.dark ::-webkit-scrollbar-thumb:hover{background:var(--brand-orange, #ff6503)}.bg-brand-primary{background-color:var(--brand-orange, #ff6503);color:#fff}.bg-brand-primary:hover{background-color:#e65a03!important}.bg-brand-primary:focus{background-color:var(--brand-orange, #ff6503);outline:2px solid var(--brand-orange, #ff6503);outline-offset:2px}.bg-brand-primary:active{background-color:#cc5202}.bg-brand-surface{background-color:var(--bg-color, #ffffff)}.bg-brand-surface-subtle{background-color:var(--brand-light, #dae0e8)!important;color:var(--brand-dark, #3a3a3a)!important}.bg-brand-surface-subtle *{color:var(--brand-dark, #3a3a3a)!important}.border-brand-primary{border-color:var(--brand-orange, #ff6503)!important}.text-brand-primary{color:var(--brand-orange, #ff6503)}.text-secondary{color:var(--secondary-text-color, #6b7280)}.hover-color-brand-orange:hover{color:var(--brand-orange, #ff6503)}.hoverable-bg:hover{background-color:var(--hover-bg-color, #f3f4f6)}.storybook-wrapper{background-color:var(--app-bg-color, #ffffff)}html.dark .storybook-wrapper{background-color:var(--app-bg-color-dark, #111111)}.checked\:relative:checked{position:relative}.checked\:border-\[\#0b86cf\]:checked{--tw-border-opacity: 1;border-color:rgb(11 134 207 / var(--tw-border-opacity, 1))}.checked\:bg-brand-primary:checked{background-color:var(--brand-orange, #ff6503)}.checked\:after\:absolute:checked:after{content:var(--tw-content);position:absolute}.checked\:after\:left-1\/2:checked:after{content:var(--tw-content);left:50%}.checked\:after\:top-1\/2:checked:after{content:var(--tw-content);top:50%}.checked\:after\:-translate-x-1\/2:checked:after{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:after\:-translate-y-1\/2:checked:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:after\:text-xs:checked:after{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\:after\:font-bold:checked:after{content:var(--tw-content);font-weight:700}.checked\:after\:text-white:checked:after{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.checked\:after\:content-\[\'✔\'\]:checked:after{--tw-content: "✔";content:var(--tw-content)}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-brand-surface-subtle:hover{background-color:var(--brand-light, #dae0e8)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity, 1))}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:bg-opacity-90:hover{--tw-bg-opacity: .9}.hover\:opacity-80:hover{opacity:.8}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[var\(--brand-orange\)\]:focus{--tw-ring-color: var(--brand-orange)}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-yellow-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(234 179 8 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-65:disabled{opacity:.65}.dark\:border-amber-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-green-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-yellow-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity, 1))}.dark\:border-yellow-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity, 1))}.dark\:bg-\[\#1e293b\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#23272f\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 39 47 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-black\/70:is(.dark *){background-color:#000000b3}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-gray-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-green-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900\/20:is(.dark *){background-color:#14532d33}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7c2d124d}.dark\:bg-purple-900\/30:is(.dark *){background-color:#581c874d}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-yellow-900\/20:is(.dark *){background-color:#713f1233}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#713f124d}.dark\:text-amber-200:is(.dark *){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity, 1))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.dark\:text-yellow-400:is(.dark *){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.dark\:placeholder-gray-500:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-gray-500:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:hover\:bg-gray-400:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\:mx-0{margin-left:0;margin-right:0}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:w-10{width:2.5rem}.sm\:w-\[90\%\]{width:90%}.sm\:w-auto{width:auto}.sm\:min-w-\[400px\]{min-width:400px}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:p-10{padding:2.5rem}.sm\:p-6{padding:1.5rem}.sm\:p-8{padding:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:h-16{height:4rem}.md\:w-16{width:4rem}.md\:w-\[85\%\]{width:85%}.md\:min-w-\[500px\]{min-width:500px}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:h-20{height:5rem}.lg\:w-20{width:5rem}.lg\:w-auto{width:auto}.lg\:min-w-\[600px\]{min-width:600px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width: 1536px){.\32xl\:text-2xl{font-size:1.5rem;line-height:2rem}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iqworksai/common-components",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A reusable React component library and utilities package for IQWorks applications. Provides 46+ UI components, custom hooks, context providers, and utility functions extracted from DiscoverIQ Desktop.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",