@codezee/sixtify-brahma 0.2.210 → 0.2.211
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/package.json +1 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts +1 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/packages/shared-components/dist/index.cjs.js +1 -1
- package/packages/shared-components/dist/index.cjs.js.map +1 -1
- package/packages/shared-components/dist/index.esm.js +1 -1
- package/packages/shared-components/dist/index.esm.js.map +1 -1
- package/packages/shared-components/dist/utils/hooks/useFormFieldFocus.d.ts.map +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material/Button"),r=require("@mui/material/IconButton"),l=require("@mui/material/Menu"),n=require("@mui/material/MenuItem"),i=require("@mui/material/Stack"),o=require("lodash/noop"),a=require("react"),s=require("@mui/icons-material/CheckBoxRounded"),d=require("@mui/material/Box"),c=require("@mui/material/Checkbox"),u=require("@mui/material/styles"),p=require("luxon"),h=require("file-saver"),C=require("html2canvas"),x=require("@mui/material/useMediaQuery"),f=require("lodash/castArray"),g=require("lodash/every"),m=require("@mui/material/Tooltip"),b=require("@mui/material/Typography"),j=require("@mui/material"),y=require("lodash/isEmpty"),w=require("@mui/icons-material/ExpandMoreRounded"),v=require("@mui/material/CircularProgress"),M=require("@mui/material/Divider"),L=require("lodash/isFunction"),k=require("@mui/material/ButtonGroup"),S=require("@mui/icons-material/ArrowDropDown"),H=require("@mui/material/ClickAwayListener"),Z=require("@mui/material/Grow"),V=require("@mui/material/ListItemButton"),D=require("@mui/material/MenuList"),A=require("@mui/material/Paper"),B=require("@mui/material/Popper"),I=require("lodash/map"),R=require("@mui/icons-material/MoreVert"),T=require("@mui/material/Popover"),E=require("ag-grid-react"),F=require("@mui/material/CircularProgress/circularProgressClasses"),P=require("ag-grid-community"),_=require("lodash/flattenDeep"),O=require("lodash/get"),z=require("lodash/isNaN"),W=require("lodash/isNumber"),$=require("lodash/isString"),q=require("lodash/sumBy"),K=require("@mui/material/Skeleton"),N=require("@mui/material/Avatar"),G=require("@mui/material/AppBar"),U=require("@mui/material/Badge"),Y=require("@mui/material/Breadcrumbs"),X=require("uuid"),J=require("@mui/material/Chip"),Q=require("@mui/icons-material/Clear"),ee=require("@mui/icons-material/ArrowDownward"),te=require("@mui/icons-material/ArrowUpward"),re=require("@mui/icons-material/KeyboardArrowDown"),le=require("@mui/icons-material/KeyboardArrowUp"),ne=require("@mui/material/Table"),ie=require("@mui/material/TableBody"),oe=require("@mui/material/TableCell"),ae=require("@mui/material/TableHead"),se=require("@mui/material/TableRow"),de=require("@tanstack/react-virtual"),ce=require("lodash/keyBy"),ue=require("lodash/omit"),pe=require("lodash/range"),he=require("lodash/some"),Ce=require("lodash/uniqBy"),xe=require("lodash/values"),fe=require("@mui/x-charts/BarChart"),ge=require("@mui/x-charts/LineChart"),me=require("@mui/x-charts/hooks"),be=require("@mui/x-charts/PieChart"),je=require("@mui/icons-material/Check"),ye=require("@mui/icons-material/ContentCopy"),we=require("react-syntax-highlighter"),ve=require("@mui/material/Autocomplete"),Me=require("@mui/material/InputAdornment"),Le=require("@mui/material/InputLabel"),ke=require("@mui/material/TextField"),Se=require("lodash/filter"),He=require("lodash/find"),Ze=require("lodash/isArray"),Ve=require("lodash/isObject"),De=require("react-hook-form"),Ae=require("react-i18next"),Be=require("react-toastify"),Ie=require("@mui/icons-material/AddCircleOutline"),Re=require("@mui/icons-material/CheckCircleOutline"),Te=require("@mui/icons-material/Close"),Ee=require("@mui/icons-material/ErrorOutline"),Fe=require("@mui/icons-material/HighlightOff"),Pe=require("@mui/material/Link"),_e=require("@mui/material/Chip/chipClasses"),Oe=require("@mui/material/Checkbox/Checkbox"),ze=require("@mui/icons-material/ChevronLeft"),We=require("@mui/icons-material/ChevronRight"),$e=require("@mui/x-date-pickers/DatePicker"),qe=require("react-date-range"),Ke=require("@mui/x-date-pickers/DateTimePicker"),Ne=require("@mui/icons-material/InfoOutlined"),Ge=require("react-number-format"),Ue=require("@mui/icons-material/ZoomInOutlined"),Ye=require("@mui/icons-material/ZoomOutOutlined"),Xe=require("@mui/material/Grid"),Je=require("@mui/icons-material/Add"),Qe=require("@mui/icons-material/RotateLeftOutlined"),et=require("@mui/material/Dialog"),tt=require("@mui/material/DialogActions"),rt=require("@mui/material/DialogContent"),lt=require("@mui/material/DialogTitle"),nt=require("@mui/icons-material/InfoTwoTone"),it=require("@mui/icons-material/AttachFile"),ot=require("@mui/icons-material/DeleteOutlineOutlined"),at=require("@mui/icons-material/VisibilityOutlined"),st=require("lodash/drop"),dt=require("lodash/join"),ct=require("lodash/last"),ut=require("lodash/split"),pt=require("lodash/isNull"),ht=require("@mui/icons-material/CameraAltOutlined"),Ct=require("@mui/icons-material/Delete"),xt=require("@mui/icons-material/Edit"),ft=require("@mui/icons-material/PersonAddAlt"),gt=require("@mui/material/Fade"),mt=require("file64"),bt=require("react-webcam"),jt=require("@mui/icons-material/LockOutlined"),yt=require("@mui/icons-material/VisibilityOffOutlined"),wt=require("react-phone-input-2"),vt=require("@mui/material/FormControlLabel"),Mt=require("@mui/material/Radio"),Lt=require("@mui/material/RadioGroup"),kt=require("@mui/material/FormHelperText"),St=require("@mui/material/Rating"),Ht=require("@mui/icons-material/SearchOutlined"),Zt=require("@mui/material/ListItemText"),Vt=require("@mui/material/Select"),Dt=require("@mui/x-date-pickers"),At=require("@mui/material/FormControl"),Bt=require("@mui/material/Switch"),It=require("@mui/x-date-pickers/TimeField"),Rt=require("@mui/x-date-pickers/TimePicker"),Tt=require("@mui/icons-material/Lock"),Et=require("lodash/fromPairs"),Ft=require("@mui/material/List"),Pt=require("@mui/icons-material/Circle"),_t=require("@mui/material/Drawer"),Ot=require("@mui/material/Collapse"),zt=require("@mui/icons-material/ExpandLess"),Wt=require("@mui/icons-material/ExpandMore"),$t=require("@hookform/resolvers/zod"),qt=require("@mui/material/Accordion"),Kt=require("@mui/material/AccordionDetails"),Nt=require("@mui/material/AccordionSummary"),Gt=require("lodash/isEqual"),Ut=require("lodash/isNil"),Yt=require("lodash/omitBy"),Xt=require("zod"),Jt=require("lodash/sortBy"),Qt=require("@mui/material/TablePagination"),er=require("@dnd-kit/core"),tr=require("@dnd-kit/sortable"),rr=require("iconoir-react"),lr=require("usehooks-ts"),nr=require("@mui/icons-material"),ir=require("@dnd-kit/utilities"),or=require("@tanstack/react-table"),ar=require("date-fns"),sr=require("exceljs"),dr=require("react-dom"),cr=require("@mui/material/Step"),ur=require("@mui/material/StepLabel"),pr=require("@mui/material/Stepper"),hr=require("@mui/material/StepConnector"),Cr=require("@mui/material/Tab"),xr=require("@mui/material/Tabs"),fr=require("@mui/material/Tabs/tabsClasses"),gr=require("@mui/material/TabScrollButton"),mr=require("@mui/material/Tab/tabClasses"),br=require("lodash/truncate"),jr=require("@mui/material/Slider"),yr=require("lodash/forEach"),wr=require("@mui/material/ListItemIcon"),vr=require("@mui/material/Menu/menuClasses");function Mr(e){return e&&e.__esModule?e:{default:e}}var Lr=Mr(t),kr=Mr(r),Sr=Mr(l),Hr=Mr(n),Zr=Mr(i),Vr=Mr(o),Dr=Mr(a),Ar=Mr(s),Br=Mr(d),Ir=Mr(c),Rr=Mr(C),Tr=Mr(x),Er=Mr(f),Fr=Mr(g),Pr=Mr(m),_r=Mr(b),Or=Mr(y),zr=Mr(w),Wr=Mr(v),$r=Mr(M),qr=Mr(L),Kr=Mr(k),Nr=Mr(S),Gr=Mr(H),Ur=Mr(Z),Yr=Mr(V),Xr=Mr(D),Jr=Mr(A),Qr=Mr(B),el=Mr(I),tl=Mr(R),rl=Mr(T),ll=Mr(F),nl=Mr(_),il=Mr(O),ol=Mr(z),al=Mr(W),sl=Mr($),dl=Mr(q),cl=Mr(K),ul=Mr(N),pl=Mr(G),hl=Mr(U),Cl=Mr(Y),xl=Mr(J),fl=Mr(Q),gl=Mr(ee),ml=Mr(te),bl=Mr(re),jl=Mr(le),yl=Mr(ne),wl=Mr(ie),vl=Mr(oe),Ml=Mr(ae),Ll=Mr(se),kl=Mr(ce),Sl=Mr(ue),Hl=Mr(pe),Zl=Mr(he),Vl=Mr(Ce),Dl=Mr(xe),Al=Mr(je),Bl=Mr(ye),Il=Mr(ve),Rl=Mr(Me),Tl=Mr(Le),El=Mr(ke),Fl=Mr(Se),Pl=Mr(He),_l=Mr(Ze),Ol=Mr(Ve),zl=Mr(Ie),Wl=Mr(Re),$l=Mr(Te),ql=Mr(Ee),Kl=Mr(Fe),Nl=Mr(Pe),Gl=Mr(_e),Ul=Mr(Oe),Yl=Mr(ze),Xl=Mr(We),Jl=Mr(Ne),Ql=Mr(Ue),en=Mr(Ye),tn=Mr(Xe),rn=Mr(Je),ln=Mr(Qe),nn=Mr(et),on=Mr(tt),an=Mr(rt),sn=Mr(lt),dn=Mr(nt),cn=Mr(it),un=Mr(ot),pn=Mr(at),hn=Mr(st),Cn=Mr(dt),xn=Mr(ct),fn=Mr(ut),gn=Mr(pt),mn=Mr(ht),bn=Mr(Ct),jn=Mr(xt),yn=Mr(ft),wn=Mr(gt),vn=Mr(bt),Mn=Mr(jt),Ln=Mr(yt),kn=Mr(wt),Sn=Mr(vt),Hn=Mr(Mt),Zn=Mr(Lt),Vn=Mr(kt),Dn=Mr(St),An=Mr(Ht),Bn=Mr(Zt),In=Mr(Vt),Rn=Mr(At),Tn=Mr(Bt),En=Mr(Tt),Fn=Mr(Et),Pn=Mr(Ft),_n=Mr(Pt),On=Mr(_t),zn=Mr(Ot),Wn=Mr(zt),$n=Mr(Wt),qn=Mr(qt),Kn=Mr(Kt),Nn=Mr(Nt),Gn=Mr(Gt),Un=Mr(Ut),Yn=Mr(Yt),Xn=Mr(Jt),Jn=Mr(Qt),Qn=Mr(sr),ei=Mr(cr),ti=Mr(ur),ri=Mr(pr),li=Mr(hr),ni=Mr(Cr),ii=Mr(xr),oi=Mr(fr),ai=Mr(gr),si=Mr(mr),di=Mr(br),ci=Mr(jr),ui=Mr(yr),pi=Mr(wr),hi=Mr(vr);const Ci=(e,t="dark")=>{const r=u.useTheme(),{darkMint:l,sapphireBlue:n,darkOrange:i,orchid:o,lipstickRed:a,deepAqua:s,slate:d}=r.palette.app.color,c="dark"===t?"penalty"===e?800:900:600;switch(e){case"present":case"working":return l[c];case"holiday":return n[c];case"weekly_off":case"full_day_weekly_off":case"first_half_weekly_off":case"second_half_weekly_off":return i[c];case"paid_leave":case"first_half_paid_leave":case"second_half_paid_leave":case"full_day_paid_leave":return o[c];case"absent":case"first_half_off":case"second_half_off":case"penalty":default:return a[c];case"unpaid_leave":case"first_half_unpaid_leave":case"second_half_unpaid_leave":case"full_day_unpaid_leave":return s[c];case"late_in_early_out":case"loss_of_pay":return a[800];case"overtime":return d[c]}},xi=e=>{switch(e){case"present":return"Present";case"absent":default:return"Absent";case"weekly_off":case"full_day_weekly_off":return"Weekly Off";case"working":return"Working";case"holiday":return"Holiday";case"paid_leave":return"Paid Leave";case"unpaid_leave":return"Unpaid Leave";case"first_half_weekly_off":return"First Half Weekly Off";case"second_half_weekly_off":return"Second Half Weekly Off";case"first_half_off":return"First Half Off";case"second_half_off":return"Second Half Off";case"late_in_early_out":return"Late In/Early Out";case"loss_of_pay":return"Loss of Pay";case"penalty":return"Penalty";case"first_half_paid_leave":return"First Half Paid Leave";case"second_half_paid_leave":return"Second Half Paid Leave";case"full_day_paid_leave":return"Full Day Paid Leave";case"first_half_unpaid_leave":return"First Half Unpaid Leave";case"second_half_unpaid_leave":return"Second Half Unpaid Leave";case"full_day_unpaid_leave":return"Full Day Unpaid Leave";case"leave":return"Leave";case"overtime":return"Overtime"}},fi=a.createContext({navigationKey:"tab"});function gi(){return a.useContext(fi)}const mi=(e,t="dd-MM-yyyy")=>p.DateTime.fromISO(e).toFormat(t),bi=(e,t="HH:mm")=>{const r=p.DateTime.fromISO(e);return r.isValid?r.toFormat(t):""},ji=e=>{if(!e)return"0h 0m";if("number"==typeof e){const t=p.Duration.fromObject({hours:e});if(!t.isValid)return"0h 0m";return`${Math.floor(t.as("hours"))}h ${Math.floor(t.as("minutes"))%60}m`}if("string"!=typeof e)return"0h 0m";const t=e.trim();if(!t)return"0h 0m";const r=t.split(":");if(!Array.isArray(r)||r.length<2)return"0h 0m";const l=r[0]?parseInt(r[0],10):0,n=r[1]?parseInt(r[1],10):0;return Number.isNaN(l)||Number.isNaN(n)?"0h 0m":`${l}h ${n}m`},yi=async(e,t)=>{const r=await fetch(e);if(!r.ok)return;const l=await r.blob();h.saveAs(l,t)};let wi=!1;const vi=["image/png","image/jpeg","image/jpg","application/pdf","application/zip","application/msword","application/x-zip-compressed","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-excel"],Mi=(e,t)=>{const r=1024*t*1024;return e.size<=r},Li=(e,t)=>t.includes(e.type),ki=(e,t,r)=>{const l=(1-Math.abs(2*r-1))*t,n=l*(1-Math.abs(e/60%2-1)),i=r-l/2;let o=0,a=0,s=0;return[o,a,s]=e<60?[l,n,0]:e<120?[n,l,0]:e<180?[0,l,n]:e<240?[0,n,l]:e<300?[n,0,l]:[l,0,n],[Math.round(255*(o+i)),Math.round(255*(a+i)),Math.round(255*(s+i))]},Si=({data:e,fieldsToSearch:t,term:r})=>{const l=[...e];if(!r)return l;const n=r.toLowerCase();return l.filter((e=>t.some((t=>{const r=e[t];return r&&String(r).toLowerCase().includes(n)}))))};function Hi(){const[e,t]=a.useState();return{onDialogClose:()=>t(void 0),onDialogOpen:e=>t(e),openedDialog:e}}function Zi({isOpen:e,navigationKey:t}){const{navigationKey:r}=gi(),l=t??r,n=a.useRef(null),i=a.useRef(!1),o=a.useRef(!1),s=a.useRef(null),[d,c]=a.useState(!1);a.useEffect((()=>{const e=n.current instanceof HTMLInputElement?n.current:null;if(!e)return;const t=()=>{s.current&&(clearTimeout(s.current),s.current=null),o.current=!0},r=()=>{s.current&&clearTimeout(s.current),s.current=setTimeout((()=>{document.activeElement!==n.current&&(o.current=!1),s.current=null}),200)};return e.addEventListener("focus",t),e.addEventListener("blur",r),()=>{e.removeEventListener("focus",t),e.removeEventListener("blur",r),s.current&&(clearTimeout(s.current),s.current=null)}}),[d]),a.useEffect((()=>{o.current&&n.current&&requestAnimationFrame((()=>{n.current&&document.activeElement!==n.current&&o.current&&n.current.focus()}))})),a.useEffect((()=>{!e&&i.current&&n.current&&(i.current=!1,setTimeout((()=>{requestAnimationFrame((()=>{n.current&&n.current.focus()}))}),10))}),[e]);const u=a.useCallback((()=>{n.current&&requestAnimationFrame((()=>{n.current?.focus()}))}),[]),p=a.useCallback((()=>{i.current=!0}),[]),h=a.useCallback((()=>{const e=["a[href]","button:not([disabled])","textarea:not([disabled])","input:not([disabled])","select:not([disabled])","[tabindex]:not([tabindex='-1'])"].join(", ");return Array.from(document.querySelectorAll(e)).filter((e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&!e.hasAttribute("disabled")&&(null===e.getAttribute("tabindex")||"-1"!==e.getAttribute("tabindex"))}))}),[]),C=a.useCallback((e=>{if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName)return e;return e.querySelector("input, textarea, select")||e}),[]),x=a.useCallback(((e,t=!1)=>{const r=e.target,l=document.activeElement??n.current??r;if(!l)return;if(("TEXTAREA"===l.tagName||"TEXTAREA"===r.tagName||l instanceof HTMLElement&&l.querySelector("textarea"))&&!t)return;if(e.ctrlKey||e.metaKey||e.altKey)return;e.preventDefault(),e.stopPropagation();const i=h(),o=(e=>{if(i.includes(e))return e;for(const t of i)if(t===e||t.contains(e))return t;return null})(l);if(!o)return;const a=i.indexOf(o);if(-1===a)return;let s=null;if(e.shiftKey?a>0&&(s=i[a-1]||null):a<i.length-1&&(s=i[a+1]||null),s){const e=C(s);e?setTimeout((()=>{e.focus()}),0):s.focus()}else l.blur()}),[h,C]),f=a.useCallback(((e,t,r)=>{if(r&&("Tab"===e.key||"Escape"===e.key))return e.preventDefault(),e.stopPropagation(),t?.(),void p();if("enter"===l&&"Enter"===e.key&&!r){const t=document.activeElement??n.current??e.target,r=Boolean("TEXTAREA"===t?.tagName||"TEXTAREA"===e.target?.tagName||t instanceof HTMLElement&&t.querySelector("textarea")),l=Boolean("BUTTON"===t?.tagName||"BUTTON"===e.target?.tagName);x(e,r||l)}}),[p,l,x,n]),g=a.useCallback((e=>{if(e){(document.activeElement===e||e instanceof HTMLElement&&document.activeElement instanceof Node&&e.contains(document.activeElement)||o.current)&&!o.current&&(o.current=!0),n.current=e,c(!0),o.current&&requestAnimationFrame((()=>{n.current&&document.activeElement!==n.current&&n.current.focus()}))}else n.current=null,c(!1)}),[]);return{inputRef:n,setInputRef:g,maintainFocus:u,maintainFocusAfterClose:p,handleKeyDown:f,handleEnterNavigation:x}}function Vi(){const e=u.useTheme(),t=Tr.default(e.breakpoints.down("sm")),r=Tr.default(e.breakpoints.between("sm","md")),l=Tr.default(e.breakpoints.up("md"));return{layout:t?"mobile":r?"tablet":"desktop",isMobile:t,isTablet:r,isDesktop:l}}const Di=({key:e,onTrigger:t,modifierKeys:r="ctrl",withoutModifiers:l=!1,enabled:n=!0})=>{const i=a.useMemo((()=>JSON.stringify(Er.default(r).sort(((e,t)=>e.localeCompare(t))))),[r]);a.useEffect((()=>{if(!n)return;const i=n=>{const i=n.target,o=i?.closest(".MuiAutocomplete-root");if(o){const e=o.querySelector(".MuiAutocomplete-inputRoot");if("true"===e?.getAttribute("aria-expanded")||document.querySelector('[role="listbox"][aria-expanded="true"]')||document.querySelector(".MuiAutocomplete-popper[data-popper-placement]")||document.querySelector(".MuiAutocomplete-paper"))return}const a=document.activeElement,s=a?.closest(".MuiAutocomplete-root");if(s){const e=s.querySelector(".MuiAutocomplete-inputRoot");if("true"===e?.getAttribute("aria-expanded")||document.querySelector('[role="listbox"][aria-expanded="true"]'))return}const d=1===e.length?`Key${e.toUpperCase()}`:e,c=n.code?.toLowerCase()===d?.toLowerCase();if(l){const e=!n.ctrlKey&&!n.shiftKey&&!n.altKey;return void(c&&e&&!n.repeat&&(n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),t()))}const u=Er.default(r),p=Fr.default(u,(e=>{switch(e){case"ctrl":return n.ctrlKey;case"shift":return n.shiftKey;case"alt":return n.altKey;default:return!0}})),h=u;let C=0;h.includes("ctrl")&&n.ctrlKey&&C++,h.includes("shift")&&n.shiftKey&&C++,h.includes("alt")&&n.altKey&&C++;const x=n.ctrlKey&&!h.includes("ctrl")||n.shiftKey&&!h.includes("shift")||n.altKey&&!h.includes("alt");c&&p&&C===u.length&&!x&&!n.repeat&&(n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),t())};return window.addEventListener("keydown",i,!0),()=>window.removeEventListener("keydown",i,!0)}),[e,i,t,l,n])},Ai=/^\d{4}-\d{2}$/,Bi=/^\d{4}-\d{2}-\d{2}$/,Ii=/^\d{1,3}:\d{2}(:\d{2})?$/,Ri=/hsla?\((\d+),\s*(\d+)%,\s*(\d+)%,?\s*([\d.]+)?\)/,Ti=/[.*+?^${}()|[\]\\]/g,Ei={iron:{900:"hsla(0, 0%, 49%, 1)",800:"hsla(0, 0%, 67%, 1)",700:"hsla(0, 0%, 85%, 1)",600:"hsla(0, 0%, 100%, 1)",500:"hsla(218, 15%, 59%, 1)",400:"hsla(0, 0%, 18%, 1)",300:"hsla(0, 0%, 0%, 0.35)",50:"hsla(0, 0%, 0%, 0.02)",100:"hsla(0, 0%, 0%, 0.50)",200:"hsla(0, 0.00%, 38.00%, 0.95)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},slate:{900:"hsla(212, 19%, 37%, 1)",800:"hsl(210, 20%, 96%)",700:"hsl(193, 22%, 92%)",600:"\thsl(0, 0%, 98%)",500:"hsl(0, 0%, 49%)",50:"hsla(0, 0.00%, 31.40%, 1)",100:"hsla(0, 0.00%, 79.20%, 1)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0.00%, 94.50%, 1)",400:"hsla(212, 18%, 47%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},mirage:{900:"hsla(224, 35%, 12%, 1)",800:"hsla(230, 90%, 3%, 0.08)",700:"hsla(226, 34%, 15%, 1)",600:"hsla(0, 0%, 22%, 0.7)",500:"hsla(0, 0%, 18%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lightSlateBlue:{900:"hsla(234, 99%, 68%, 1)",800:"hsla(234, 98%, 81%, 1)",700:"hsla(233, 100%, 94%, 1)",600:"hsla(236, 100%, 97%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(240, 11.10%, 98.20%, 1)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(197, 70%, 85%, 1)",400:"hsla(197, 92%, 66%, 1)",500:"hsla(196, 73%, 51%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lipstickRed:{900:"hsla(349, 90%, 41%, 1)",800:"hsla(350, 63%, 64%, 1)",700:"hsla(349, 66%, 87%, 1)",600:"hsla(348, 100%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},darkOrange:{900:"hsla(32, 100%, 52%, 1)",800:"hsla(32, 100%, 71%, 1)",700:"hsla(33, 100%, 90%, 1)",600:"hsla(33, 100%, 95%, 1)",50:"hsla(18, 92%, 76%, 1)",100:"hsla(15, 70%, 60%, 1)",200:"hsla(15, 70%, 70%, 1)",300:"hsla(15, 70%, 80%, 1)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},deepAqua:{900:"hsla(183, 87%, 27%, 1)",800:"hsla(184, 50%, 68%, 1)",700:"hsla(183, 68%, 79%, 1)",600:"hsla(183, 85%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},sapphireBlue:{900:"hsla(223, 59%, 49%, 1)",800:"hsla(223, 56%, 69%, 1)",700:"hsla(222, 58%, 90%, 1)",600:"hsla(223, 54%, 95%, 1)",500:"hsl(216, 100%, 91%)",400:"\thsl(217, 100%, 95%)",300:"\thsl(193, 22%, 92%)",50:"hsla(223, 56%, 35%, 1)",100:"hsla(223, 61.2%, 59.6%, 1)",200:"hsla(222, 96%, 79%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},darkMint:{900:"hsla(136, 59%, 49%, 1)",800:"hsla(136, 56%, 69%, 1)",700:"hsla(136, 58%, 90%, 1)",600:"hsla(133, 54%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},butterflyBlue:{900:"hsla(203, 79%, 57%, 1)",800:"hsla(204, 79%, 74%, 1)",700:"hsl(204, 16%, 88%)",600:"hsla(209, 83%, 91%, 1)",500:"hsla(203, 82%, 96%, 1)",400:"hsla(208, 25%, 66%, 1)",300:"hsla(207, 17%, 88%, 1)",50:"hsla(209, 83%, 53%, 1)",100:"hsla(209, 24%, 83%, 1)",200:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},orchid:{900:"hsla(295, 60%, 66%, 1)",800:"hsla(295, 61%, 80%, 1)",700:"hsla(297, 60%, 93%, 1)",600:"hsla(295, 65%, 97%, 1)",50:"rgb(78, 72, 158)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(244, 57%, 75%, 1)",300:"hsla(242, 48%, 66%, 1)",400:"hsla(241, 29%, 54%, 1)",500:"hsla(242, 65%, 64%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},red:{900:"hsla(0, 90%, 47%, 1)",800:"hsla(0, 73%, 59%, 1)",700:"hsla(0, 81%, 37%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lightBlue:{100:"hsla(193, 4%, 92%)",50:"hsla(193, 0%, 100%)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",700:"hsla(0, 0%, 0%, 0)",800:"hsla(0, 0%, 0%, 0)",900:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},black:{900:"hsl(0, 0%, 0%)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",700:"hsla(0, 0%, 0%, 0)",800:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},violet:{900:"hsla(244, 58%, 25%, 1)",800:"hsla(244, 58%, 35%, 1)",700:"hsla(244, 58%, 50%, 1)",600:"hsla(244, 58%, 65%, 1)",500:"hsla(244, 58%, 59%, 1)",400:"hsla(244, 58%, 59%, 0.85)",300:"hsla(244, 58%, 59%, 0.35)",200:"hsla(244, 58%, 59%, 0.2)",100:"hsla(244, 58%, 59%, 0.1)",50:"hsla(244, 58%, 59%, 0.05)",A100:"hsla(244, 58%, 59%, 0.1)",A200:"hsla(244, 58%, 59%, 0.2)",A400:"hsla(244, 58%, 59%, 0.4)",A700:"hsla(244, 58%, 59%, 0.7)"},purple:{900:"rgb(128, 0, 128)",800:"rgb(128, 0, 128)",700:"rgb(128, 0, 128)",600:"rgb(128, 0, 128)",500:"rgb(128, 0, 128)",400:"rgb(128, 0, 128)",300:"rgb(128, 0, 128)",200:"rgb(128, 0, 128)",100:"rgb(128, 0, 128)",50:"rgb(128, 0, 128)",A100:"rgb(128, 0, 128)",A200:"rgb(128, 0, 128)",A400:"rgb(128, 0, 128)",A700:"rgb(128, 0, 128)"},brown:{900:"rgb(185, 120, 1)",800:"rgb(185, 120, 1)",700:"rgb(185, 120, 1)",600:"rgb(185, 120, 1)",500:"rgb(185, 120, 1)",400:"rgb(185, 120, 1)",300:"rgb(185, 120, 1)",200:"rgb(185, 120, 1)",100:"rgb(185, 120, 1)",50:"rgb(185, 120, 1)",A100:"rgb(185, 120, 1)",A200:"rgb(185, 120, 1)",A400:"rgb(185, 120, 1)",A700:"rgb(185, 120, 1)"},darkOrchid:{900:"hsla(244, 38%, 38%, 1)",800:"hsla(242, 65%, 64%, 1)",700:"hsla(241, 29%, 54%, 1)",600:"hsla(242, 48%, 66%, 1)",500:"hsla(244, 57%, 75%, 1)",400:"hsla(245, 57%, 77%, 1)",300:"hsla(241, 100%, 85%, 1)",200:"hsla(240, 100%, 90%, 1)",100:"hsla(240, 100%, 91%, 1)",50:"hsla(240, 100%, 95%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},claude:{50:"",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 22%, 97%, 1.00)",400:"hsla(0, 0%, 92%, 0.82)",500:"hsla(0, 13%, 97%, 0.87)",600:"hsla(0, 2%, 90%, 1.00)",700:"hsla(0, 10%, 96%, 1.00)",800:"hsla(0, 0%, 75%, 1.00)",900:"hsla(0, 0%, 49%, 1.00)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"}},Fi=({color:t,shade:r})=>e.jsx(Pr.default,{title:t,children:e.jsx(Br.default,{sx:{width:80,height:40,backgroundColor:t,display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #e0e0e0",color:"black",fontSize:"12px"},children:r})}),Pi={app:{color:Ei,paperBoxShadow:"rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"},divider:Ei.butterflyBlue[700]},_i={common:{black:"hsla(0, 100%, 0%, 1)",white:"hsla(0, 100%, 100%, 1)"},primary:{main:Ei.mirage[900],light:Ei.butterflyBlue[400]},secondary:{main:Ei.butterflyBlue[900]},info:{main:Ei.slate[900]},error:{main:Ei.red[900]},warning:{main:Ei.darkOrange[900]},app:{color:Ei,paperBoxShadow:"rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"},divider:Ei.butterflyBlue[700]},Oi={subHeader1:"p",subHeader2:"p",body:"p",subText:"p",smallText:"p",tinyText:"p"},zi={fontSize:14,fontFamily:"Poppins",h1:{fontSize:"clamp(1.625rem, 4vw, 2.375rem)",lineHeight:"clamp(2.125rem, 5vw, 2.875rem)"},h2:{fontSize:"clamp(1.375rem, 3.5vw, 1.875rem)",lineHeight:"clamp(1.75rem, 4.5vw, 2.375rem)"},h3:{fontSize:"clamp(1.125rem, 3vw, 1.625rem)",lineHeight:"clamp(1.5rem, 3.75vw, 2rem)"},h4:{fontSize:"clamp(1rem, 2.5vw, 1.375rem)",lineHeight:"clamp(1.375rem, 3vw, 1.75rem)"},h5:{fontSize:"clamp(0.875rem, 2vw, 1.125rem)",lineHeight:"clamp(1.25rem, 2.5vw, 1.5rem)"},h6:{fontSize:"clamp(0.8125rem, 1.75vw, 1rem)",lineHeight:"clamp(1.25rem, 2.25vw, 1.375rem)"},subtitle1:{fontSize:"clamp(0.75rem, 1.3vw, 0.875rem)",lineHeight:"clamp(1.1875rem, 1.8vw, 1.3125rem)"},subtitle2:{fontSize:"clamp(0.6875rem, 1.1vw, 0.75rem)",lineHeight:"clamp(1.0625rem, 1.6vw, 1.1875rem)"},body1:{fontSize:"clamp(0.8125rem, 1.2vw, 0.8125rem)",lineHeight:"clamp(1.3125rem, 1.8vw, 1.3125rem)"},body2:{fontSize:"clamp(0.6875rem, 1vw, 0.75rem)",lineHeight:"clamp(1.0625rem, 1.5vw, 1.1875rem)"},caption:{fontSize:"clamp(0.5625rem, 0.85vw, 0.625rem)",lineHeight:"clamp(0.8125rem, 1.1vw, 0.9375rem)"}},Wi={light:"light",dark:"dark"},$i=e=>({palette:{mode:e,...e===Wi.light?_i:Pi}}),qi={height:{small:"32px",medium:"36px",large:"40px"},padding:{small:"6px 12px",medium:"8px 16px",large:"10px 20px"},fontSize:"13px",fontWeight:500,borderRadius:"6px",minWidth:"80px"};function Ki(e){return e.split("/").filter((e=>""!==e)).reduceRight(((e,t)=>({[t]:!!Or.default(e)||e})),{})}const Ni=({loading:t=!1,children:r,disabled:l=!1,enableKeyboardShortcut:n=!0,shortcutKey:i,modifierKeys:o=["ctrl","shift"],onClick:a,size:s="medium",...d})=>{Di({key:i??"",modifierKeys:o,onTrigger:()=>{!l&&!t&&n&&qr.default(a)&&a()}});return e.jsx(Lr.default,{disabled:t||l,size:s,onClick:a,...d,children:t?e.jsx(Wr.default,{size:{small:18,medium:22,large:26}[s]}):r})},Gi=t=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M6.41406 15.5837L15.5807 6.41699M15.5807 6.41699H6.41406M15.5807 6.41699V15.5837",stroke:t.disabled?"#DBE1E6":"#4C5D70",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),Ui=()=>e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5 0L10 8.75H0L5 0Z",fill:"#D9D9D9"})}),Yi=t=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M21 14C20.7348 14 20.4804 14.1054 20.2929 14.2929C20.1054 14.4804 20 14.7348 20 15V19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H5C4.73478 20 4.48043 19.8946 4.29289 19.7071C4.10536 19.5196 4 19.2652 4 19V15C4 14.7348 3.89464 14.4804 3.70711 14.2929C3.51957 14.1054 3.26522 14 3 14C2.73478 14 2.48043 14.1054 2.29289 14.2929C2.10536 14.4804 2 14.7348 2 15V19C2 19.7956 2.31607 20.5587 2.87868 21.1213C3.44129 21.6839 4.20435 22 5 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V15C22 14.7348 21.8946 14.4804 21.7071 14.2929C21.5196 14.1054 21.2652 14 21 14ZM11.29 15.71C11.3851 15.801 11.4972 15.8724 11.62 15.92C11.7397 15.9729 11.8691 16.0002 12 16.0002C12.1309 16.0002 12.2603 15.9729 12.38 15.92C12.5028 15.8724 12.6149 15.801 12.71 15.71L16.71 11.71C16.8983 11.5217 17.0041 11.2663 17.0041 11C17.0041 10.7337 16.8983 10.4783 16.71 10.29C16.5217 10.1017 16.2663 9.99591 16 9.99591C15.7337 9.99591 15.4783 10.1017 15.29 10.29L13 12.59V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V12.59L8.71 10.29C8.61676 10.1968 8.50607 10.1228 8.38425 10.0723C8.26243 10.0219 8.13186 9.99591 8 9.99591C7.86814 9.99591 7.73757 10.0219 7.61575 10.0723C7.49393 10.1228 7.38324 10.1968 7.29 10.29C7.19676 10.3832 7.1228 10.4939 7.07234 10.6158C7.02188 10.7376 6.99591 10.8681 6.99591 11C6.99591 11.1319 7.02188 11.2624 7.07234 11.3842C7.1228 11.5061 7.19676 11.6168 7.29 11.71L11.29 15.71Z",fill:t.disabled?"#afafafff":"#3BA6E8"})});const Xi=t=>{const r=t.disabled?"#DBE1E6":"#4C5D70";return e.jsxs("svg",{width:"23",height:"23",viewBox:"0 0 18 18",fill:"none",...t,style:{color:"inherit"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{strokeWidth:"1.2",d:"M4.16019 0.312313C3.50003 0.488094 2.98441 1.01544 2.80863 1.68341C2.76175 1.85919 2.75003 2.1795 2.75003 3.1795V4.44903L1.77738 4.97247C0.363314 5.73028 0.410189 5.69903 0.324251 5.88653C0.253939 6.04669 0.250033 6.22247 0.250033 11.0701C0.250033 16.5389 0.24222 16.2928 0.468783 16.742C0.609408 17.0193 0.949251 17.3631 1.22269 17.5115C1.70316 17.7654 1.19144 17.7498 9.00003 17.7498C16.8086 17.7498 16.2969 17.7654 16.7774 17.5115C17.0508 17.3631 17.3907 17.0193 17.5313 16.742C17.7578 16.2928 17.75 16.5389 17.75 11.0701C17.75 6.23809 17.7461 6.04278 17.6758 5.89044C17.5899 5.69903 17.5743 5.69122 16.1993 4.95294L15.25 4.44903V3.1795C15.25 2.1795 15.2383 1.85919 15.1914 1.68341C15.0157 1.00763 14.4961 0.484188 13.8243 0.308407C13.4883 0.222469 4.48441 0.222469 4.16019 0.312313ZM13.711 1.60138C13.7696 1.64434 13.8555 1.73028 13.8985 1.78887C13.9805 1.89434 13.9805 1.92169 13.9805 5.31622V8.73419L11.8907 9.86309C10.7422 10.4842 9.68753 11.0272 9.55081 11.0701C9.20706 11.1795 8.75003 11.1756 8.41409 11.0584C8.27347 11.0076 7.2305 10.4647 6.08988 9.85137L4.01956 8.73028L4.00784 5.41778C4.00394 3.59747 4.00784 2.05059 4.01956 1.98028C4.04691 1.82403 4.21097 1.62481 4.37113 1.5545C4.46488 1.51153 5.31644 1.50372 9.04691 1.51153C13.5821 1.51934 13.6055 1.51934 13.711 1.60138ZM2.74222 7.50762L2.7305 8.05059L2.11331 7.71466L1.50003 7.37872L1.50785 6.94903L1.51956 6.52325L2.12503 6.20294L2.7305 5.88653L2.74222 6.42559C2.74613 6.72637 2.74613 7.21075 2.74222 7.50762ZM16.4141 6.48809C16.4961 6.53887 16.5 6.56622 16.5 6.96075V7.37872L15.8985 7.69903C15.5664 7.87872 15.2891 8.02325 15.2735 8.02325C15.2618 8.02325 15.25 7.53887 15.25 6.94903V5.87481L15.7891 6.15216C16.0821 6.30841 16.3633 6.45684 16.4141 6.48809ZM3.75003 10.0037C8.12503 12.3631 7.86331 12.2342 8.39456 12.3475C8.83597 12.4412 9.51566 12.4022 9.95706 12.2498C10.2071 12.1678 11.2071 11.6482 13.3946 10.4686L16.4805 8.8045L16.4922 12.3514C16.4961 14.3006 16.4922 15.9529 16.4805 16.0232C16.4493 16.1951 16.25 16.41 16.0782 16.4607C15.9766 16.492 13.7618 16.4998 8.91409 16.492L1.89456 16.4803L1.7891 16.3982C1.7305 16.3553 1.64456 16.2693 1.6016 16.2107C1.51956 16.1053 1.51956 16.0701 1.50785 12.449C1.50394 10.4412 1.51175 8.8045 1.53128 8.81231C1.54691 8.81622 2.54691 9.35528 3.75003 10.0037Z",fill:r}),e.jsx("path",{strokeWidth:"1.2",d:"M6.24614 4.0548C5.98442 4.16808 5.83598 4.46886 5.89067 4.76183C5.92582 4.94542 6.12114 5.16027 6.29692 5.21105C6.39457 5.2423 7.30082 5.25011 9.08598 5.2423C11.6836 5.23058 11.7305 5.23058 11.836 5.14855C12.043 4.99621 12.1055 4.87121 12.1055 4.62511C12.1055 4.37902 12.043 4.25402 11.836 4.10167C11.7305 4.01964 11.6875 4.01964 9.04692 4.01183C6.87504 4.00402 6.33989 4.01183 6.24614 4.0548Z",fill:r}),e.jsx("path",{strokeWidth:"1.2",d:"M6.24614 6.5548C5.98442 6.66808 5.83598 6.96886 5.89067 7.26183C5.92582 7.44542 6.12114 7.66027 6.29692 7.71105C6.39457 7.7423 7.20707 7.75011 8.77348 7.7423C11.0586 7.73058 11.1055 7.73058 11.211 7.64855C11.418 7.49621 11.4805 7.37121 11.4805 7.12511C11.4805 6.87902 11.418 6.75402 11.211 6.60167C11.1055 6.51964 11.0586 6.51964 8.73442 6.51183C6.82426 6.50402 6.33989 6.51183 6.24614 6.5548Z",fill:r})]})},Ji=t=>{const r=t.disabled?"#afafafff":"#3BA6E8";return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("circle",{cx:"19",cy:"19",r:"17",stroke:r,strokeWidth:"2.5"}),e.jsx("path",{d:"M10 18.6538H28",stroke:r,strokeWidth:"2.5",strokeLinecap:"round"}),e.jsx("path",{d:"M19.3462 10L19.3462 28",stroke:r,strokeWidth:"2.5",strokeLinecap:"round"})]})},Qi=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",strokeWidth:1.565,d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("circle",{cx:"15",cy:"15",r:"8.35",stroke:r,strokeWidth:"1.2"}),e.jsx("path",{d:"M15 10.455v9.091",stroke:r,strokeWidth:1.565,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10.455 15h9.091",stroke:r,strokeWidth:1.565,strokeLinecap:"round",strokeLinejoin:"round"})]})},eo=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 29 24",...t,children:e.jsx("path",{stroke:t.disabled?"#afafafff":"currentColor",strokeWidth:1.5,d:"M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5ZM15.694 13.7h.009M15.694 16.7h.009M11.995 13.7h.009M11.995 16.7h.009M8.295 13.7h.01M8.295 16.7h.01"})}),to=t=>e.jsxs("svg",{width:36,height:36,viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:.5,y:1,width:41,height:41,rx:3.5,fill:"white"}),e.jsx("rect",{x:.5,y:1,width:41,height:41,rx:3.5,stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("g",{clipPath:"url(#clip0_38460_84386)",children:e.jsx("path",{d:"M18 12.5V30.5M24 12.5V30.5M16.8 12.5H25.2C26.8802 12.5 27.7202 12.5 28.362 12.827C28.9265 13.1146 29.3854 13.5735 29.673 14.138C30 14.7798 30 15.6198 30 17.3V25.7C30 27.3802 30 28.2202 29.673 28.862C29.3854 29.4265 28.9265 29.8854 28.362 30.173C27.7202 30.5 26.8802 30.5 25.2 30.5H16.8C15.1198 30.5 14.2798 30.5 13.638 30.173C13.0735 29.8854 12.6146 29.4265 12.327 28.862C12 28.2202 12 27.3802 12 25.7V17.3C12 15.6198 12 14.7798 12.327 14.138C12.6146 13.5735 13.0735 13.1146 13.638 12.827C14.2798 12.5 15.1198 12.5 16.8 12.5Z",stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_38460_84386",children:e.jsx("rect",{width:20,height:20,fill:"white",transform:"translate(11 11.5)"})})})]}),ro=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",viewBox:"0 0 400 350",...t,children:[e.jsx("path",{fill:"white",stroke:r,strokeWidth:"18",strokeMiterlimit:"10",strokeLinecap:"round",d:"M147.33 110.248c-23.301 0-42.191 18.86-42.191 42.125 0 23.264 18.89 42.124 42.191 42.124 23.3 0 42.19-18.86 42.19-42.124 0-23.265-18.89-42.125-42.19-42.125Zm118.42 12.065-11.423 9.389c-13.031 10.71-13.031 30.631 0 41.341l11.423 9.39a10.698 10.698 0 0 1 2.471 13.623l-22.555 39.007a10.737 10.737 0 0 1-13.053 4.674l-13.856-5.183c-15.804-5.911-33.084 4.049-35.859 20.671l-2.432 14.572a10.721 10.721 0 0 1-10.58 8.949h-45.113a10.721 10.721 0 0 1-10.58-8.949l-2.433-14.572c-2.774-16.622-20.054-26.582-35.858-20.671l-13.856 5.183a10.737 10.737 0 0 1-13.053-4.674l-22.555-39.007a10.698 10.698 0 0 1 2.472-13.623l11.423-9.39c13.03-10.71 13.03-30.631 0-41.341l-11.423-9.389a10.698 10.698 0 0 1-2.472-13.623l22.555-39.007a10.735 10.735 0 0 1 13.053-4.674l13.856 5.182c15.804 5.912 33.084-4.049 35.858-20.67l2.433-14.573A10.721 10.721 0 0 1 124.773 26h45.113c5.243 0 9.718 3.785 10.58 8.948l2.432 14.572c2.775 16.622 20.055 26.583 35.859 20.67l13.856-5.181c4.91-1.837 10.43.14 13.053 4.674l22.555 39.007a10.698 10.698 0 0 1-2.471 13.623Z"}),e.jsx("rect",{width:186.127,height:183.396,x:164.209,y:180.029,fill:"#fff",rx:50,stroke:r,strokeWidth:"18"}),e.jsx("path",{fill:r,strokeWidth:"18",d:"M312.062 248.395h-50.969c-3.98 0-7.281-3.3-7.281-7.281 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.281-7.281 7.281ZM210.119 255.774a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.282c-2.816-2.815-2.816-7.475 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.698c2.815-2.816 7.475-2.816 10.29 0 2.816 2.815 2.816 7.475 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136ZM312.062 316.354h-50.969c-3.98 0-7.281-3.301-7.281-7.282 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.282-7.281 7.282ZM210.119 323.732a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.281c-2.816-2.816-2.816-7.476 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.699c2.815-2.815 7.475-2.815 10.29 0 2.816 2.816 2.816 7.476 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136Z"}),e.jsx("path",{fill:r,d:"M286.625 375.865h-58.25c-52.716 0-75.24-22.524-75.24-75.24v-58.25c0-52.716 22.524-75.24 75.24-75.24h58.25c52.716 0 75.239 22.524 75.239 75.24v58.25c0 52.716-22.523 75.24-75.239 75.24Zm-58.25-194.167c-44.756 0-60.677 15.922-60.677 60.677v58.25c0 44.755 15.921 60.677 60.677 60.677h58.25c44.755 0 60.677-15.922 60.677-60.677v-58.25c0-44.755-15.922-60.677-60.677-60.677h-58.25Z"})]})},lo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",strokeWidth:1.565,d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("path",{stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:1.565,d:"M21.75 10.484a76.276 76.276 0 0 0-7.515-.375c-1.485 0-2.97.075-4.455.225l-1.53.15M12.375 9.727l.165-.982c.12-.712.21-1.245 1.478-1.245h1.964c1.268 0 1.366.563 1.478 1.252l.165.975M20.138 12.855l-.487 7.553c-.083 1.177-.15 2.092-2.243 2.092h-4.815c-2.092 0-2.16-.915-2.242-2.092l-.488-7.553M13.746 18.375h2.498M13.125 15.375h3.75"})]}),no=({fill:t="#4C5D70",fontColor:r="white",...l})=>{const{disabled:n}=l;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none",style:{color:n?"#afafafff":"inherit"},...l,children:[e.jsx("rect",{width:"42",height:"42",rx:"5",fill:n?"#afafafff":t}),e.jsx("path",{d:"M26.75 21.5C26.5511 21.5 26.3603 21.579 26.2197 21.7197C26.079 21.8603 26 22.0511 26 22.25V25.25C26 25.4489 25.921 25.6397 25.7803 25.7803C25.6397 25.921 25.4489 26 25.25 26H14.75C14.5511 26 14.3603 25.921 14.2197 25.7803C14.079 25.6397 14 25.4489 14 25.25V22.25C14 22.0511 13.921 21.8603 13.7803 21.7197C13.6397 21.579 13.4489 21.5 13.25 21.5C13.0511 21.5 12.8603 21.579 12.7197 21.7197C12.579 21.8603 12.5 22.0511 12.5 22.25V25.25C12.5 25.8467 12.7371 26.419 13.159 26.841C13.581 27.2629 14.1533 27.5 14.75 27.5H25.25C25.8467 27.5 26.419 27.2629 26.841 26.841C27.2629 26.419 27.5 25.8467 27.5 25.25V22.25C27.5 22.0511 27.421 21.8603 27.2803 21.7197C27.1397 21.579 26.9489 21.5 26.75 21.5ZM19.4675 22.7825C19.5388 22.8508 19.6229 22.9043 19.715 22.94C19.8048 22.9797 19.9018 23.0002 20 23.0002C20.0982 23.0002 20.1952 22.9797 20.285 22.94C20.3771 22.9043 20.4612 22.8508 20.5325 22.7825L23.5325 19.7825C23.6737 19.6413 23.7531 19.4497 23.7531 19.25C23.7531 19.0503 23.6737 18.8587 23.5325 18.7175C23.3913 18.5763 23.1997 18.4969 23 18.4969C22.8003 18.4969 22.6087 18.5763 22.4675 18.7175L20.75 20.4425V13.25C20.75 13.0511 20.671 12.8603 20.5303 12.7197C20.3897 12.579 20.1989 12.5 20 12.5C19.8011 12.5 19.6103 12.579 19.4697 12.7197C19.329 12.8603 19.25 13.0511 19.25 13.25V20.4425L17.5325 18.7175C17.4626 18.6476 17.3796 18.5921 17.2882 18.5543C17.1968 18.5164 17.0989 18.4969 17 18.4969C16.9011 18.4969 16.8032 18.5164 16.7118 18.5543C16.6204 18.5921 16.5374 18.6476 16.4675 18.7175C16.3976 18.7874 16.3421 18.8704 16.3043 18.9618C16.2664 19.0532 16.2469 19.1511 16.2469 19.25C16.2469 19.3489 16.2664 19.4468 16.3043 19.5382C16.3421 19.6296 16.3976 19.7126 16.4675 19.7825L19.4675 22.7825Z",fill:r})]})},io=t=>{const r=u.useTheme(),{butterflyBlue:l,iron:n}=r.palette.app.color,i=t.disabled?n[800]:l[900],o=t.fill??i;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:57,height:49,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{fill:o??"currentColor",d:"M29.399 12.005a.602.602 0 0 1-.401-.748c1.096-3.718 4.511-6.448 8.575-6.448a.6.6 0 0 1 .596.602.6.6 0 0 1-.596.602c-3.406 0-6.462 2.297-7.432 5.587a.595.595 0 0 1-.742.405Z"}),e.jsx("path",{fill:o??"currentColor",d:"M45.923 34.898h-3.578a.6.6 0 0 1-.597-.602.6.6 0 0 1 .597-.602h3.578c4.932 0 8.946-4.049 8.946-9.025 0-4.977-4.014-9.026-8.946-9.026h-.086a.594.594 0 0 1-.45-.208.605.605 0 0 1-.14-.48c.053-.374.08-.75.08-1.117 0-4.313-3.479-7.823-7.754-7.823-1.663 0-3.249.525-4.586 1.517a.594.594 0 0 1-.882-.205C28.317.05 18.422-.928 13.292 5.403a11.475 11.475 0 0 0-2.33 9.519.6.6 0 0 1-.584.721h-.24c-4.932 0-8.945 4.05-8.945 9.026 0 4.977 4.013 9.026 8.946 9.026h3.578a.6.6 0 0 1 .596.601.6.6 0 0 1-.596.602H10.14C4.549 34.898 0 30.31 0 24.67c0-5.482 4.297-9.97 9.67-10.218a12.672 12.672 0 0 1 2.698-9.81c5.493-6.779 16.019-6.019 20.468 1.54a8.81 8.81 0 0 1 4.737-1.368c5.18 0 9.283 4.447 8.924 9.643 5.325.302 9.565 4.767 9.565 10.213 0 5.64-4.549 10.229-10.14 10.229h.001Z"}),e.jsx("path",{fill:o??"currentColor",d:"M27.95 49c-8.222 0-14.91-6.748-14.91-15.043 0-8.295 6.688-15.043 14.91-15.043 8.22 0 14.91 6.748 14.91 15.043C42.86 42.252 36.17 49 27.95 49Zm0-28.882c-7.564 0-13.718 6.208-13.718 13.839s6.154 13.84 13.717 13.84c7.564 0 13.717-6.21 13.717-13.84s-6.153-13.84-13.717-13.84Z"}),e.jsx("path",{fill:o??"currentColor",stroke:o??"currentColor",d:"M27.29 40.013c0 .516.414.94.936.94a.938.938 0 0 0 .936-.94V28.56a.939.939 0 0 0-.936-.94.939.939 0 0 0-.937.94v11.453Z"}),e.jsx("path",{fill:o??"currentColor",stroke:o??"currentColor",d:"m32.028 31.772.355-.352a.943.943 0 0 1 0 1.327.933.933 0 0 1-.663.277l.308-1.252Zm0 0 .355-.352-3.493-3.524a.934.934 0 0 0-1.328 0l.356.352-.356-.351 4.466 3.875Zm-3.801-1.879-2.83 2.854 2.83-2.854Zm0 0 2.829 2.854a.934.934 0 0 0 .664.277l-3.493-3.131Z"})]})},oo=t=>e.jsx("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsxs("g",{id:"Communication / Share_iOS_Export",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"3.5",stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("path",{id:"Vector",d:"M14 11L17 8M17 8L20 11M17 8V18M12.0002 15C11.0683 15 10.6024 15 10.2349 15.1522C9.74481 15.3552 9.35523 15.7448 9.15224 16.2349C9 16.6024 9 17.0681 9 18V22.8C9 23.9201 9 24.4798 9.21799 24.9076C9.40973 25.2839 9.71547 25.5905 10.0918 25.7822C10.5192 26 11.079 26 12.1969 26H21.8036C22.9215 26 23.4805 26 23.9079 25.7822C24.2842 25.5905 24.5905 25.2839 24.7822 24.9076C25 24.4802 25 23.921 25 22.8031V18C25 17.0681 24.9999 16.6024 24.8477 16.2349C24.6447 15.7448 24.2554 15.3552 23.7654 15.1522C23.3978 15 22.9319 15 22 15",stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),ao=t=>e.jsxs("svg",{width:35,height:35,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M35.0026 0.583008H4.66927C2.41411 0.583008 0.585938 2.41118 0.585938 4.66634V34.9997C0.585938 37.2548 2.41411 39.083 4.66927 39.083H35.0026C37.2578 39.083 39.0859 37.2548 39.0859 34.9997V4.66634C39.0859 2.41118 37.2578 0.583008 35.0026 0.583008Z",fill:"#BDE5FF",stroke:"#3BA4E8",strokeWidth:"1.4"}),e.jsx("path",{d:"M11.25 16.1388V13.4167C11.25 12.7723 11.7724 12.25 12.4167 12.25H27.5834C28.2278 12.25 28.7501 12.7723 28.7501 13.4165L28.7505 16.1388M11.25 16.1388L17.6482 21.623C17.9068 21.8447 18.0556 22.1682 18.0556 22.5089V28.2557C18.0556 29.0148 18.7689 29.5717 19.5052 29.3876L21.0607 28.9987C21.5801 28.8688 21.9445 28.4023 21.9445 27.8669V22.5089C21.9445 22.1683 22.0933 21.8447 22.3519 21.623L28.7505 16.1388M11.25 16.1388H28.7505",stroke:"#3BA4E8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"27.5",cy:"12.5",r:"4.25",fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:"1.5"})]}),so=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"3.5",stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("path",{d:"M10.5 13.8333V11.5C10.5 10.9477 10.9478 10.5 11.5 10.5H24.5001C25.0524 10.5 25.5001 10.9477 25.5001 11.4999L25.5004 13.8333M10.5 13.8333L15.9842 18.534C16.2058 18.724 16.3334 19.0013 16.3334 19.2933V24.2192C16.3334 24.8698 16.9448 25.3472 17.5759 25.1894L18.9092 24.856C19.3544 24.7447 19.6667 24.3448 19.6667 23.8859V19.2933C19.6667 19.0014 19.7943 18.724 20.0159 18.534L25.5004 13.8333M10.5 13.8333H25.5004",stroke:r,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]})},co=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M0.5 4C0.5 2.067 2.067 0.5 4 0.5H26C27.933 0.5 29.5 2.067 29.5 4V26C29.5 27.933 27.933 29.5 26 29.5H4C2.067 29.5 0.5 27.933 0.5 26V4Z",fill:"white",stroke:"#DBE1E6",strokeWidth:1.565}),e.jsxs("g",{clipPath:"url(#clip0_22174_76909)",children:[e.jsx("path",{d:"M15.687 8.125C14.1756 8.13236 12.7094 8.64089 11.5179 9.57092C10.3265 10.501 9.4773 11.7999 9.1033 13.2644L8.6458 12.5725C8.60248 12.5001 8.54495 12.4372 8.47667 12.3876C8.40838 12.338 8.33076 12.3027 8.24848 12.2839C8.1662 12.2651 8.08097 12.2632 7.99792 12.2783C7.91488 12.2933 7.83575 12.325 7.76529 12.3715C7.69484 12.418 7.63452 12.4782 7.58798 12.5486C7.54144 12.619 7.50965 12.6981 7.49451 12.7811C7.47937 12.8642 7.48121 12.9494 7.4999 13.0317C7.5186 13.114 7.55377 13.1917 7.6033 13.26L8.9783 15.3438C9.07381 15.4774 9.21463 15.5718 9.37455 15.6094C9.53784 15.6418 9.70733 15.6093 9.84705 15.5188L11.9095 14.1294C11.9807 14.085 12.0421 14.0267 12.0902 13.9581C12.1384 13.8894 12.1722 13.8118 12.1897 13.7298C12.2072 13.6478 12.2081 13.5631 12.1922 13.4808C12.1763 13.3985 12.144 13.3202 12.0972 13.2506C12.0505 13.181 11.9902 13.1216 11.9199 13.0758C11.8497 13.03 11.771 12.9988 11.6885 12.984C11.6059 12.9693 11.5213 12.9713 11.4395 12.9899C11.3578 13.0085 11.2806 13.0434 11.2127 13.0925L10.2745 13.725C10.5242 12.7115 11.0538 11.7886 11.8027 11.0615C12.5517 10.3345 13.4899 9.83264 14.5104 9.6132C15.5309 9.39375 16.5925 9.46557 17.5741 9.82045C18.5558 10.1753 19.4179 10.799 20.0621 11.6203C20.7063 12.4416 21.1067 13.4274 21.2176 14.4653C21.3285 15.5032 21.1455 16.5514 20.6893 17.4902C20.2332 18.4291 19.5223 19.2208 18.6378 19.7751C17.7533 20.3294 16.7309 20.6239 15.687 20.625C14.7923 20.6226 13.9113 20.4042 13.119 19.9883C12.3267 19.5724 11.6466 18.9713 11.1364 18.2363C11.0907 18.1661 11.0314 18.1058 10.962 18.059C10.8925 18.0122 10.8144 17.9799 10.7322 17.9639C10.65 17.9478 10.5655 17.9485 10.4836 17.9658C10.4016 17.9831 10.324 18.0167 10.2553 18.0646C10.1866 18.1124 10.1283 18.1736 10.0837 18.2445C10.0391 18.3154 10.0092 18.3945 9.99577 18.4771C9.98235 18.5598 9.98567 18.6443 10.0055 18.7256C10.0254 18.807 10.0614 18.8835 10.1114 18.9506C10.9408 20.1464 12.1319 21.0445 13.5097 21.513C14.8874 21.9816 16.3791 21.9959 17.7656 21.5537C19.152 21.1116 20.36 20.2364 21.2122 19.0567C22.0643 17.877 22.5155 16.4551 22.4995 15C22.5057 13.1856 21.7919 11.4428 20.5148 10.1539C19.2377 8.86508 17.5015 8.13542 15.687 8.125Z",fill:r}),e.jsx("path",{d:"M15.625 11.2188C15.4592 11.2188 15.3003 11.2846 15.1831 11.4018C15.0658 11.519 15 11.678 15 11.8438V15C15.0027 15.1652 15.0681 15.3232 15.1831 15.4419L17.0581 17.3338C17.1758 17.4496 17.334 17.5148 17.4991 17.5156C17.6642 17.5165 17.8231 17.4528 17.9419 17.3381C18.0595 17.2214 18.126 17.0628 18.1267 16.897C18.1274 16.7313 18.0623 16.5721 17.9456 16.4544L16.25 14.7431V11.8438C16.25 11.678 16.1842 11.519 16.0669 11.4018C15.9497 11.2846 15.7908 11.2188 15.625 11.2188Z",fill:r})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_22174_76909",children:e.jsx("rect",{width:"15",height:"15",fill:"white",transform:"translate(7.5 7.5)"})})})]})},uo=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.565,d:"M14.457 8.836h-1.25c-3.125 0-4.375 1.25-4.375 4.375v3.75c0 3.125 1.25 4.375 4.375 4.375h3.75c3.125 0 4.375-1.25 4.375-4.375v-1.25"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.565,d:"M17.608 9.474 12.683 14.4a1.695 1.695 0 0 0-.413.825l-.269 1.881c-.1.682.382 1.157 1.063 1.063l1.881-.269a1.75 1.75 0 0 0 .825-.412l4.925-4.925c.85-.85 1.25-1.838 0-3.088s-2.237-.85-3.087 0Z"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.565,d:"M16.898 10.18a4.465 4.465 0 0 0 3.088 3.087"})]})},po=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:36,height:36,fill:"none",viewBox:"0 0 36 36",...t,children:[e.jsx("rect",{strokeWidth:"1.4",width:33,height:33,x:.5,y:.5,stroke:"#dbe1e6",rx:3.5}),e.jsx("g",{stroke:t.disabled?"#afafafff":"#4C5D70",children:e.jsx("path",{strokeWidth:"1.5",d:"M12 12.75c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C9 14.352 9 14.818 9 15.75v5.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218.376-.192.682-.498.874-.874.218-.428.218-.987.218-2.105V15.75c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083c-.367-.152-.833-.152-1.765-.152M20 16.25l-3 3m0 0-3-3m3 3v-10"})})]}),ho=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,style:{color:"inherit"},fill:"none",...t,children:e.jsx("path",{stroke:"#4C5D70",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 14.5h10M6 10h.01M10 10h.01M14 10h.01M18 10h.01M5.2 18h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 16.48 22 15.92 22 14.8V9.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 6 19.92 6 18.8 6H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 7.52 2 8.08 2 9.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 18 4.08 18 5.2 18Z"})}),Co=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M12.0002 6.7728C14.7546 6.7728 17.0888 8.029 18.5584 9.0828C20.3008 10.3324 21.1984 11.538 21.4316 12C21.1984 12.4598 20.303 13.6676 18.5584 14.9172C17.0866 15.971 14.7546 17.2272 12.0002 17.2272C9.24582 17.2272 6.91381 15.971 5.44201 14.9172C3.69741 13.6676 2.80201 12.4598 2.56881 12C2.80201 11.5402 3.69741 10.3324 5.44201 9.0828C6.91161 8.029 9.24582 6.7728 12.0002 6.7728ZM12.0002 5.466C6.04701 5.466 1.22021 10.6932 1.22021 12C1.22021 13.3068 6.04701 18.534 12.0002 18.534C17.9534 18.534 22.7802 13.3068 22.7802 12C22.7802 10.6932 17.9534 5.466 12.0002 5.466ZM12.0002 8.0796C9.83541 8.0796 8.07981 9.8352 8.07981 12C8.07981 14.1648 9.83541 15.9204 12.0002 15.9204C14.165 15.9204 15.9206 14.1648 15.9206 12C15.9206 9.8352 14.165 8.0796 12.0002 8.0796ZM10.9442 12C10.029 12 9.28541 11.2564 9.28541 10.3412C9.28541 9.426 10.029 8.6824 10.9442 8.6824C11.8594 8.6824 12.603 9.426 12.603 10.3412C12.603 11.2564 11.8616 12 10.9442 12Z",fill:t.disabled?"#afafafff":"#4C5D70"})}),xo=a.forwardRef((({paths:t,strokeColor:r},l)=>{const n=u.useTheme(),{butterflyBlue:i}=n.palette.app.color,o=r??i[900];return e.jsx("svg",{ref:l,style:{position:"absolute",left:0,top:0,pointerEvents:"none",overflow:"visible"},children:el.default(t,(({definition:t})=>e.jsx("path",{d:t,stroke:o,strokeWidth:2,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",opacity:.95},t)))})}));xo.displayName="SvgBranches";const fo=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M3.33073 3.33594H16.6641C17.5807 3.33594 18.3307 4.08594 18.3307 5.0026V15.0026C18.3307 15.9193 17.5807 16.6693 16.6641 16.6693H3.33073C2.41406 16.6693 1.66406 15.9193 1.66406 15.0026V5.0026C1.66406 4.08594 2.41406 3.33594 3.33073 3.33594Z",stroke:"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.3307 5L9.9974 10.8333L1.66406 5",stroke:"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),go=({variant:t,colourCode:r})=>{const l=t?Ci(t):r;return e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("circle",{cx:"5",cy:"5",r:"5",fill:l})})},mo=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M4.75697 1.70342C4.4802 1.77517 4.19659 1.93235 3.90615 2.18179C3.58496 2.45856 2.43346 3.63056 2.24553 3.87316C1.48356 4.84698 1.46989 6.36068 2.20794 8.31516C3.10659 10.7036 4.79114 13.1228 6.9233 15.0875C9.86185 17.7971 13.7981 19.55 15.8244 19.058C16.1251 18.9862 16.6239 18.7539 16.8529 18.5796C17.0852 18.4053 18.6297 16.8199 18.7732 16.6114C19.0397 16.2253 19.1422 15.7094 19.0397 15.272C18.9235 14.7834 18.8859 14.739 17.3996 13.2492C15.8995 11.7492 15.8517 11.7116 15.3563 11.6091C14.9633 11.5271 14.5635 11.5988 14.1774 11.8209C14.0886 11.8756 13.6649 12.2617 13.2378 12.6854L12.4621 13.4508L12.2127 13.321C11.6011 13.0032 11.15 12.6991 10.4769 12.1455C9.78668 11.5783 8.8231 10.584 8.29007 9.88694C7.90395 9.38124 7.33674 8.44842 7.33333 8.32199C7.33333 8.29808 7.59985 8.01789 7.92445 7.70011C8.60784 7.03381 8.87778 6.72287 9.03154 6.42902C9.22288 6.05658 9.26047 5.58504 9.12721 5.19551C8.99395 4.79915 8.86411 4.6488 7.55884 3.34012C6.26725 2.04853 6.06907 1.87768 5.70004 1.75126C5.44377 1.659 5.02007 1.6385 4.75697 1.70342ZM5.54969 2.66357C5.64537 2.71824 6.19208 3.2342 6.92671 3.97225C8.2559 5.30485 8.30715 5.36636 8.30373 5.7183C8.30373 6.02924 8.22173 6.13858 7.32991 7.0304C6.87888 7.47801 6.48593 7.89146 6.4586 7.94955C6.41759 8.02131 6.40734 8.1204 6.41759 8.28782C6.42784 8.49284 6.45518 8.57143 6.66361 8.98488C7.13515 9.92111 7.75703 10.7446 8.78552 11.797C9.80718 12.8426 10.8254 13.6216 11.8744 14.1615C12.2469 14.3529 12.3186 14.3802 12.4895 14.3768C12.6056 14.3768 12.7286 14.3529 12.8004 14.3153C12.8653 14.2811 13.289 13.8847 13.7401 13.4371C14.3209 12.8597 14.6045 12.6034 14.7139 12.5556C14.9189 12.4633 15.1854 12.4633 15.3733 12.5556C15.5784 12.6581 17.9941 15.0704 18.1 15.2823C18.1581 15.395 18.1821 15.4975 18.1821 15.6445C18.1821 15.9964 18.1103 16.0921 17.1399 17.0659C16.1797 18.0295 16.0909 18.0944 15.5784 18.2106C15.0829 18.3199 14.2526 18.2311 13.412 17.9816C12.1307 17.6024 10.4086 16.6935 8.99053 15.6479C6.26041 13.6387 3.91641 10.5669 2.94258 7.72745C2.47788 6.37777 2.42663 5.41078 2.78199 4.69322C2.89133 4.46429 2.99384 4.34811 3.70456 3.62714C4.14192 3.18294 4.5622 2.77975 4.63396 2.72849C4.94148 2.51665 5.25584 2.49273 5.54969 2.66357Z",fill:"#4C5D70",stroke:"#4C5D70",strokeWidth:"0.4"})}),bo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:117,height:42,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{fill:"#fff",d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{fill:"#fff",d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{fill:"#fff",d:"M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"}),e.jsx("path",{fill:"#fff",stroke:"#fff",strokeWidth:.353,d:"M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"}),e.jsx("path",{fill:"#3BA4E8",d:"M117 27v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12H117Zm-10.288 0v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12h8.373Zm-10.254 0v-2.509h-5.966l5.847-7.169V15h-9.204v2.457h5.577L87 24.491V27h9.458Z"})]}),jo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:42,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{fill:"#fff",d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{fill:"#fff",d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"})]}),yo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",width:24,height:24,fill:t.disabled?"#afafafff":"#4C5D70",...t,children:[e.jsx("path",{d:"M117.4 23.8c0 10.7-.1 13.9-.6 14-.3.1-2.9.6-5.7 1.2-19 3.5-38.3 14.9-50.9 29.9C48.9 82.5 42.7 96 39.2 115l-.2 1H10v24h29l.2 1c3.2 17.7 8.8 30.5 18.6 43.1 13.5 17.3 34.8 30.1 56 33.4l3.6.6v28H141v-13.8c0-10.7.1-13.9.6-14 .3-.1 2.9-.6 5.9-1.2 33.6-6.4 61.9-33.4 70-66.7.7-3 1.5-6.5 1.7-7.9l.3-2.4H246v-24h-26.6l-.3-2.4c-.6-4.5-3.4-14.6-5.5-19.8-4.6-11.2-10.6-20.2-19-29C181.7 51.5 165 42.4 147.4 39c-2.9-.6-5.6-1.1-5.9-1.2-.5-.1-.6-3.3-.6-14V10h-23.6l.1 13.8zm21.3 33C156 59 172.6 68 183.6 81c21.3 25.2 23.5 59.6 5.3 86.8-16.6 25-47.3 37-76.6 30-27-6.5-47.6-27.9-53.6-55.7-.9-4-1-6.1-1-14.1 0-10.6.6-14.8 3.7-23.6 11.2-32.2 43.5-52.1 77.3-47.6z"}),e.jsx("path",{d:"M120 75.7c-21.8 3.9-38.8 20.8-42.9 42.6-.9 4.8-.9 14.4 0 19.3 4.8 25.2 26.6 43.4 52.1 43.4 26.3 0 48.7-19.2 52.5-45 3.9-25.6-11.3-50.2-35.9-58.4-7.6-2.5-18-3.3-25.8-1.9z"})]}),wo=({toolTipLabel:t,children:r,placement:l="top-start",hidden:n=!1,checkOverflow:i=!1,...o})=>{const s=a.useRef(null),[d,c]=a.useState(!1);return a.useEffect((()=>{if(i&&s.current){const e=s.current;c(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)}}),[r]),e.jsx(Pr.default,{arrow:!0,placement:l,title:t,disableHoverListener:i&&!d||n,...o,children:e.jsx(Br.default,{ref:s,sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"inline-flex"},children:"string"==typeof r?e.jsx(_r.default,{variant:"body2",fontWeight:500,children:r}):r})})},vo=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Add",children:e.jsx(Ji,{disabled:t.disabled})})}),Mo=({showTooltip:t=!0,...r})=>e.jsx(kr.default,{sx:{color:"#4C5D70"},...r,children:e.jsx(wo,{hidden:!t,toolTipLabel:"Calendar",children:e.jsx(eo,{disabled:r.disabled})})}),Lo=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Delete",children:e.jsx(lo,{disabled:t.disabled})})}),ko=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Download Print",children:e.jsx(Yi,{disabled:t.disabled})})}),So=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Edit",children:e.jsx(uo,{disabled:t.disabled})})}),Ho=({isFiltered:t=!1,...r})=>e.jsx(kr.default,{...r,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Filter",children:t?e.jsx(ao,{}):e.jsx(so,{disabled:r.disabled})})}),Zo=({children:t,padding:r})=>e.jsx(Br.default,{sx:{...r,height:"inherit",boxSizing:"border-box",width:"100%"},id:"pad-box",children:t});function Vo({buttonRef:e,disabled:t,popoverOpen:r,onPressEnter:l}){a.useEffect((()=>{const n=e.current;if(!n)return;const i=e=>{if(document.querySelector('.MuiDialog-root, [role="dialog"], .MuiPopover-root, .MuiModal-root'))return;if(!("Enter"===e.key||" "===e.key)||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey||t||r)return;if(n.closest('[data-action-buttons-wrapper="true"]'))return;const i=n.closest(".ag-cell");if(!i)return;if(i.classList.contains("ag-cell-inline-editing"))return;const o=document.activeElement;if(!o)return;if(!(o===i||i.contains(o)))return;const a=e.target,s=a&&(a===i||i.contains(a)||a.closest(".ag-cell")===i);a&&!s||i.contains(n)&&(e.preventDefault(),e.stopPropagation(),l?l(e):n.click())};return document.addEventListener("keydown",i,!0),()=>document.removeEventListener("keydown",i,!0)}),[e,t,r,l])}const Do=({open:t,anchorEl:r,children:l,onClose:n})=>e.jsx(rl.default,{open:t,anchorEl:r,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{"& .MuiPaper-root":{width:"auto"}},children:l}),Ao=({items:t,disabled:r})=>{const[l,n]=a.useState(null),i=a.useRef(null),o=()=>n(null);return Vo({buttonRef:i,disabled:r,popoverOpen:!!l}),t&&0!==t.length?e.jsxs(Br.default,{sx:{width:"100%"},children:[e.jsx(kr.default,{ref:i,component:"div",sx:{width:"100%",cursor:"pointer",alignItems:"center"},onClick:e=>{r||n(e.currentTarget)},disabled:r,"data-clickable":"true",children:e.jsx(tl.default,{})}),l&&e.jsx(Do,{open:!0,anchorEl:l,onClose:o,children:e.jsx(Zo,{padding:{padding:"2px"},children:t.map((({title:t,onClick:r})=>e.jsx(Br.default,{children:e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start",padding:"5px 16px 5px 10px"},onClick:()=>{r(),o()},children:e.jsx(_r.default,{variant:"body1",children:t})})},t)))})})]}):null};const Bo=u.styled(Br.default)((()=>({width:"100%",height:"100%",position:"relative","& .ag-paging-panel":{display:"flex",gap:"8px",padding:"8px",width:"100%",justifyContent:"flex-end",alignItems:"center"},"& .ag-paging-panel > .ag-paging-page-size .ag-wrapper":{minWidth:"unset",maxWidth:"80px",width:"100%"},"& .ag-paging-page-size":{width:"100%"},"& .ag-paging-page-summary-panel":{fontSize:"13px",whiteSpace:"nowrap"},"& .ag-picker-field-display":{fontSize:"13px"},"& .ag-picker-field":{width:"100%",justifyContent:"flex-end"},"& .ag-paging-button":{minWidth:"15px"},"& .ag-paging-row-summary-panel":{whiteSpace:"nowrap",fontSize:"13px"},".ag-ltr .ag-label":{fontSize:"13px"},"@media (max-width: 768px)":{"& .ag-paging-panel":{flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"5px",height:"60px",margin:0},"& .ag-paging-button, & .ag-paging-page-summary-panel":{fontSize:"12px"},"& .ag-paging-page-size":{display:"none"},"& .ag-paging-row-summary-panel":{margin:0}}})));function Io(t){return e.jsxs(Br.default,{sx:{position:"relative"},children:[e.jsx(Wr.default,{variant:"determinate",sx:{color:e=>e.palette.grey[200]},size:40,thickness:4,...t,value:100}),e.jsx(Wr.default,{variant:"indeterminate",disableShrink:!0,sx:{color:e=>e.palette.app?.color.butterflyBlue[900],animationDuration:"400ms",position:"absolute",left:0,[`& .${ll.default.circle}`]:{strokeLinecap:"round"}},size:40,thickness:4,...t})]})}const Ro=()=>e.jsx("div",{className:"ag-overlay-loading-wrapper",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},children:e.jsx(Io,{})}),To=()=>e.jsx("div",{className:"ag-overlay-no-rows-wrapper",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},children:e.jsx("span",{className:"ag-overlay-no-rows-center",children:"No Data Found"})});P.ModuleRegistry.registerModules([P.AllCommunityModule]);const Eo=e=>{e&&e.hideOverlay()},Fo=e=>{if(!e)return;e.getDisplayedRowCount()>0?Eo(e):(e.setGridOption("suppressNoRowsOverlay",!1),e.showNoRowsOverlay())},Po=[20,50,100,200],_o=a.forwardRef(((t,r)=>{const{layout:l}=Vi(),{height:n="597px",rowHeight:i=30,rowModelType:o="infinite",defaultColDef:s,rowBuffer:d=5,overlayNoRowsTemplate:c='<span class="ag-overlay-no-rows-center">No Data Found</span>',pagination:u=!1,enableSecondRowFilter:p,isSelectAllVisible:h=!1,onSelectAllClick:C,selectAllMessage:x,onModelUpdated:f,onFirstDataRendered:g,onViewportChanged:m,onFilterChanged:b,paginationPageSize:j,cacheBlockSize:y,infiniteInitialRowCount:w,loading:v=!1,filterButtons:M=["reset"],...L}=t,k=j??100,S=y??k,H=w??k,Z={flex:1,floatingFilter:!1,filter:!0,filterParams:{closeOnApply:!0,contains:!1,debounceMs:500},lockPosition:!0,minWidth:"desktop"===l?void 0:200,wrapHeaderText:!0,...s},V=a.useCallback(((e,t)=>{if(!e)return;const r=e;t&&!v?Fo(r):Eo(r)}),[v]),D=a.useCallback((e=>{f?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[f,o,V]),A=a.useCallback((e=>{g?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),0)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),0)}),[g,o,V]),B=a.useCallback((e=>{m?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[m,o,V]),I=a.useCallback((e=>{b?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[b,o,V]);return requestAnimationFrame((()=>{requestAnimationFrame((()=>{const e=r?.current?.api?.getDisplayedRowCount();V(r?.current?.api,0===e)}))})),e.jsxs(Bo,{className:"ag-theme-quartz ",style:{width:"100%",height:n,position:"relative"},children:[e.jsx(E.AgGridReact,{ref:r,theme:"legacy",cacheBlockSize:S,defaultColDef:{...Z,floatingFilter:p,suppressFloatingFilterButton:p,filterParams:{...Z.filterParams,buttons:M}},rowHeight:i,rowModelType:o,rowBuffer:d,infiniteInitialRowCount:H,overlayNoRowsTemplate:c,loadingOverlayComponent:Ro,loading:v,noRowsOverlayComponent:To,suppressNoRowsOverlay:"infinite"===o||v,pagination:u,onModelUpdated:D,onFirstDataRendered:A,onViewportChanged:B,onFilterChanged:I,...u?{paginationPageSize:k}:{},paginationPageSizeSelector:!!u&&Po,...L}),h&&(C||x)&&e.jsx(Br.default,{position:"absolute",bottom:x?.show?"10px":"15px",children:e.jsx(Zo,{padding:{paddingLeft:x?.text?"20px":"0px"},children:e.jsx(Zr.default,{direction:"row",spacing:1,alignItems:"center",children:x?.show?e.jsxs(Zr.default,{direction:"row",spacing:.5,alignItems:"center",children:[e.jsx(_r.default,{variant:"body2",children:x.text}),e.jsx(Ni,{variant:"text",size:"small",onClick:x.onButtonClick,children:e.jsx(_r.default,{variant:"body2",children:x.buttonText})})]}):!!t.selectedItems&&u&&e.jsxs(_r.default,{variant:"body2",children:["Selected Rows ",t.selectedItems]})})})})]})}));_o.displayName="AgGrid";const Oo=()=>{if(document.querySelector('.MuiBackdrop-root:not([style*="display: none"])'))return!0;const e=document.querySelectorAll('[role="dialog"], .MuiDialog-root, .MuiModal-root');if(0===e.length)return!1;for(const t of Array.from(e)){const e=t,r=window.getComputedStyle(e);if("none"!==r.display&&"hidden"!==r.visibility&&parseFloat(r.opacity)>0)return!0}return!1},zo=()=>{if(document.querySelector(".MuiBackdrop-root:not([style*='display: none'])"))return!0;const e=document.querySelectorAll("[role='dialog'], .MuiDialog-root, .MuiModal-root");return 0===e.length||Array.from(e).forEach((e=>{const t=window.getComputedStyle(e);if("none"!==t.display&&"hidden"!==t.visibility&&parseFloat(t.opacity)>0)return!0})),!1},Wo=()=>{const e=document.activeElement;if(!e)return!1;return!!["INPUT","TEXTAREA","SELECT"].includes(e.tagName)||(!(!e.classList.contains("ag-text-field-input")&&!e.classList.contains("ag-input-field-input"))||"true"===e.getAttribute("contenteditable"))},$o=(e,t)=>({data:e,node:null,api:void 0,columnApi:void 0,context:void 0,getValue:()=>{},colDef:t,column:void 0}),qo=(e,t,r)=>({value:e,data:t??{},colDef:r??{}});function Ko(e){return nl.default(e.map((e=>"children"in e&&e.children?Ko(e.children):e))).filter((e=>"field"in e||"colId"in e))}function No(e){return sl.default(e)&&Ii.test(e.trim())}function Go(e){if(al.default(e)&&!ol.default(e))return e;if(!sl.default(e))return 0;if(No(e))return Number(ji(e)??"0h 0m");const t=String(e).replace(/,/g,"").trim(),r=parseFloat(t);return ol.default(r)?0:r}function Uo(e,t,r){const{valueGetter:l}=t;if("function"==typeof l){return l($o(e,t))??void 0}return il.default(e,r)}function Yo(e,t,r){for(const n of e)if(l=Uo(n,t,r),al.default(l)&&!ol.default(l)||No(l))return!0;var l;return!1}function Xo(e,t,r){const{valueGetter:l}=t;return"function"==typeof l?dl.default(e,(e=>{const r=$o(e,t);return Go(l(r)??void 0)})):dl.default(e,(e=>Go(il.default(e,r))))}function Jo({data:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){if(Or.default(e))return null;const n=Ko(t),i=function(e,t,r,l){const n={};for(const l of t){const{colId:t,field:i}=l,o=t??i;if(!o)continue;const a=String(o);if(r.has(a)||!Yo(e,l,a)){n[a]=null;continue}const s=Xo(e,l,a);t&&(n[t]=s),i&&i!==t&&(n[i]=s)}const i=t[0]?.field??t[0]?.colId;return i&&(n[String(i)]=l),n}(e,n,new Set(r.map(String)),l),o=function(e,t){const r={};for(const l of t){const{field:t,colId:n,hide:i,valueFormatter:o}=l,a=n??t;if(!a||!0===i)continue;const s=e[a];if(o&&"function"==typeof o){const t=qo(s,e,l);r[a]=o(t)??"-"}else r[a]=null!=s?String(s):"-"}return r}(i,n);return{rawSummary:i,formattedSummary:o}}const Qo=u.styled(pl.default,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>{const r=t?80:0,l=t?300:80;return{background:e.palette.app.color.iron[600],boxShadow:"unset",zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.standard}),width:"100%",[e.breakpoints.down("md")]:{paddingLeft:"0px",paddingRight:"0px",marginLeft:`${r}px`,width:`calc(100% - ${r}px)`},[e.breakpoints.up("md")]:{paddingLeft:"0px",paddingRight:"0px",marginLeft:`${l}px`,width:`calc(100% - ${l}px)`},...t&&{marginLeft:"300px",width:"calc(100% - 300px)",transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}})),ea=u.styled(Cl.default)({display:"flex",flexWrap:"nowrap",overflowX:"auto",whiteSpace:"nowrap","& .MuiBreadcrumbs-ol":{display:"flex",flexWrap:"nowrap"},"& .MuiBreadcrumbs-li":{whiteSpace:"nowrap"},"&::-webkit-scrollbar":{display:"none"}}),ta=u.styled(Cl.default)((({theme:e})=>{const{black:t,butterflyBlue:r}=e.palette.app.color;return{display:"flex",alignItems:"center",gap:"4px",color:t[900],"& .MuiTypography-root":{color:t[900],position:"relative",display:"inline-flex",alignItems:"center","&::after":{content:'""',position:"absolute",left:0,bottom:-2,width:"0%",height:2,backgroundColor:r[900],transition:"width 200ms ease"}},"& .MuiIconButton-root":{color:r[900]}}})),ra=u.styled(Cl.default)((({theme:e})=>{const{black:t,butterflyBlue:r}=e.palette.app.color;return{background:"none",border:"none",padding:0,cursor:"pointer",display:"flex",alignItems:"center",transition:"color 180ms ease, filter 180ms ease",color:t[900],"& .MuiTypography-root":{position:"relative",display:"inline-flex",alignItems:"center",color:t[900],"&::after":{content:'""',position:"absolute",left:0,bottom:0,width:"0%",height:2,backgroundColor:r[900],transition:"width 400ms ease"}},"& .MuiIconButton-root":{transition:"color 180ms ease",color:r[900]},"&:hover":{"& .MuiTypography-root":{color:r[900],"&::after":{width:"100%"}}}}}));function la({label:t,value:r,...l}){return e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:{xs:"0px",md:"10px"},...l,children:["string"==typeof t?e.jsx(Zr.default,{gap:"10px",width:"40%",children:e.jsxs(_r.default,{variant:"body1",sx:{fontWeight:500},flex:1,noWrap:!0,children:[t," :"]})}):e.jsxs(e.Fragment,{children:[" ",t," :"]}),r]})}const na=a.forwardRef((({title:t,subTitle:r,avatar:l,loading:n=!1,showAvatar:i=!1,isHideTitle:o=!1,variant:a="circular",sx:s,containerSx:d},c)=>{const p=u.useTheme(),{slate:h,iron:C}=p.palette.app.color;return n?e.jsxs(Zr.default,{gap:"10px ",flex:"1",children:[e.jsxs(Zr.default,{direction:"row",gap:"10px",alignItems:"center",children:[l&&e.jsx(cl.default,{variant:"circular",height:"30px",animation:"wave",width:"30px"}),e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"150px"})]}),r&&e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"200px"})]}):e.jsxs(Zr.default,{width:"50%",sx:d,gap:"10px",flex:1,children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",flex:1,children:[i&&e.jsx(ul.default,{alt:t,src:l,variant:a,sx:{width:28,height:28}}),!o&&e.jsx(_r.default,{ref:c,variant:"body1",sx:{width:"100%",fontWeight:400,color:h[900],...s},noWrap:!0,children:t||"-"})]}),r&&e.jsx(_r.default,{variant:"body1",sx:{color:C[500]},noWrap:!0,children:r})]})}));na.displayName="CardItemValue";const ia=({label:t,variant:r="outlined",imgURL:l,avatar:n,...i})=>e.jsx(xl.default,{avatar:n&&e.jsx(ul.default,{alt:"Natacha",src:l}),label:t,variant:r,...i}),oa=a.forwardRef((({onDelete:t,label:r,onClick:l,isFocused:n=!1,onKeyDown:i,onFocus:o,onBlur:a,tabIndex:s=0},d)=>{const c=u.useTheme(),{black:p,butterflyBlue:h,iron:C}=c.palette.app.color;return e.jsx(ia,{ref:d,label:r,variant:"filled",deleteIcon:t&&e.jsx(fl.default,{}),tabIndex:s,onKeyDown:i,onFocus:o,onBlur:a,sx:{maxWidth:"200px",borderRadius:"20px",color:p[900],backgroundColor:`${h[600]} !important`,"&:hover":{backgroundColor:u.darken(h[600],.1)},"&:focus-visible":{outline:`1px solid ${h[600]}`,outlineOffset:"2px",backgroundColor:`${u.darken(h[600],.1)} !important`},...n&&{outline:`2px solid ${h[600]}`,outlineOffset:"2px",backgroundColor:`${u.darken(h[600],.1)} !important`},"& .MuiChip-deleteIcon":{color:C[800],"&:hover":{color:C[900],backgroundColor:h[600]}}},onDelete:t,onClick:l})}));oa.displayName="FilterPill";const aa=new Set(["dialog","alertdialog","menu","listbox","tooltip","combobox"]);function sa(e,t){a.useEffect((()=>{const r=r=>{if(function(e){const t=e.composedPath?e.composedPath():[];for(const e of t){if(!(e instanceof Element))continue;if("true"===e.getAttribute("aria-modal"))return!0;const t=e.getAttribute("role");if(t&&aa.has(t))return!0}return"hidden"===getComputedStyle(document.body).overflow}(r))return;const l=r.target,n=e.current;n&&n.contains(l)||t()};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}}),[e,t])}function da(e){const t=new Map;return e.forEach(((e,r)=>{const l="string"==typeof e?.id?e.id:`row-${r}`;t.set(l,r)})),t}function ca(e){if("string"==typeof e){if(""===e.trim())return"";const t=parseFloat(e);return!isNaN(t)&&isFinite(t)?String(t):e.toLowerCase()}if("boolean"==typeof e)return e?"1":"0";if(e&&"object"==typeof e&&"cellLabel"in e){const t=e.cellLabel;if("string"==typeof t){if(""===t.trim())return"";const e=parseFloat(t);return!isNaN(e)&&isFinite(e)?String(e):t.toLowerCase()}}return""}function ua(e,t,r){return r?[...e].sort(((e,l)=>{const n=ca(e[t]),i=ca(l[t]);if(""===n&&""===i)return 0;if(""===n)return"asc"===r?1:-1;if(""===i)return"asc"===r?-1:1;const o=parseFloat(n),a=parseFloat(i);if(!isNaN(o)&&!isNaN(a)&&isFinite(o)&&isFinite(a))return"asc"===r?o-a:a-o;const s=String(n),d=String(i);return"asc"===r?s.localeCompare(d):d.localeCompare(s)})):e}function pa(e){switch(e){case null:default:return"asc";case"asc":return"desc";case"desc":return null}}function ha(e,t){return Boolean(e||t)}function Ca({data:e,columns:t}){const[r,l]=a.useState(null),n=a.useCallback((e=>{const r=t.find((t=>t.key===e));r&&r.disableSelection&&r.sorting&&l((t=>{const r=pa(t?.columnKey===e?t.direction:null);return null===r?null:{columnKey:e,direction:r}}))}),[t]),i=a.useMemo((()=>r?ua(e,r.columnKey,r.direction):e),[e,r]),o=a.useMemo((()=>{if(!r){const t=new Map;return e.forEach(((e,r)=>t.set(r,r))),t}return function(e,t){const r=new Map,l=da(e);return t.forEach(((e,t)=>{const n="string"==typeof e?.id?e.id:`row-${t}`,i=l.get(n);void 0!==i&&r.set(t,i)})),r}(e,i)}),[e,i,r]),s=a.useCallback((e=>r?.columnKey===e),[r]),d=a.useCallback((e=>r?.columnKey===e?r.direction:null),[r]),c=a.useCallback(((e,t,r)=>function(e,t,r){const l=da(r);return e.map((e=>e.map((e=>{const r=t[e.row],n="string"==typeof r?.id?r.id:`row-${e.row}`,i=l.get(n);return void 0===i?null:{row:i,col:e.col}})).filter((e=>null!==e))))}(e,t,r)),[]),u=a.useCallback((e=>function(e,t){return e.map((e=>{const r=t.get(e.row);return void 0===r?null:{row:r,col:e.col}})).filter((e=>null!==e))}(e,o)),[o]);return{sortedData:i,sortConfig:r,handleSort:n,isColumnSorted:s,getSortDirection:d,updateSelectedRangesForSorting:c,sortedToOriginalMapping:o,convertSortedCoordsToOriginal:u}}const xa=e=>a.useMemo((()=>{const t=new Map,r=[];let l=0;return e.forEach(((e,n)=>{const i=(e=>{if("number"==typeof e)return e;const t=parseInt((e??"36").replace("px",""),10);return isNaN(t)?36:t})(e.minWidth),o={...e,idx:n,parsedMinWidth:i};r.push(o),e.lockPinned&&(t.set(n,l),l+=i)})),{parsedColumns:r,stickyMap:t}}),[e]),fa=({row:e,col:t})=>`${e}:${t}`;function ga(e,t){return Hl.default(Math.min(e,t),Math.max(e,t)+1)}function ma(e,t){const r=ga(e.row,t.row),l=ga(e.col,t.col);return r.flatMap((e=>l.map((t=>({row:e,col:t})))))}function ba({e:e,ri:t,ci:r,selectingRef:l,anchorRef:n,selectedRanges:i,selectionModeRef:o}){if(2===e.button)return;const a={row:t,col:r},s=e.ctrlKey||e.metaKey;l.current=!0,n.current=a;const d=fa(a),c=Zl.default(i.flat(),(e=>fa(e)===d));o.current=s?c?"remove":"add":"replace"}function ja({anchorRef:e,hoveringRef:t,ri:r,ci:l,setSelectedRanges:n,selectionModeRef:i,setCurrentSelectedRanges:o,columns:a,data:s}){if(null===e.current)return;const d={row:r,col:l};t.current=d;const c=ma(e.current,d),u=s.some((e=>e?.rowDisabled))||a.some((e=>e?.disableSelection))?c.filter((e=>!s[e.row]?.rowDisabled&&!a[e.col]?.disableSelection)):c;if(!u.length)return void o([]);const p=i.current;if("replace"!==p)if("remove"!==p)"add"===p&&o([u]);else{const e=new Set(u.map(fa));n((t=>t.map((t=>t.filter((t=>!e.has(fa(t)))))).filter((e=>e.length))))}else n([u])}function ya({e:e,ri:t,ci:r,setSelectedRanges:l,onCellSelection:n,selectedRanges:i}){e.preventDefault();const o={row:t,col:r},a=fa(o),s=2===e.button,d=e.ctrlKey||e.metaKey,c=i.flat(),u=Zl.default(c,(e=>fa(e)===a)),p=(h=c,kl.default(h,fa));var h;const C=(()=>{if(d||s){if(!s&&u)return Sl.default(p,a);if(o&&u)return{...p,[a]:o}}return{[a]:o}})(),x=(f=C,Dl.default(f));var f;if(x.length>0){l([x]);const t=Vl.default(x,fa);n&&n({selectedCells:t},e)}}const wa=(e,t)=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){const r=e[t];if("string"==typeof r)return r;if("number"==typeof r)return r.toString();if(!0===r)return"active"}return""},va=({row:t,minWidth:r,maxWidth:l})=>{const n=wa(t.avatar,"avatar"),i=wa(t.name,"name"),o=wa(t.employee_code,"employee_code"),a="auto"===r?l:r,s="auto"===l?r:l;return e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"10px",sx:{minWidth:a,maxWidth:s},children:[e.jsx(ul.default,{src:n,alt:i,sx:{width:28,height:28}}),e.jsxs(Br.default,{sx:{maxWidth:"calc(100% - 28px - 10px)",minWidth:0},children:[e.jsx(_r.default,{variant:"body2",noWrap:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",display:"block",lineHeight:"16px"},children:i}),e.jsx(_r.default,{variant:"caption",sx:{lineHeight:"15px"},children:o})]})]})},Ma=({columns:t,rowCount:r=25})=>e.jsx(wl.default,{children:Array.from({length:r}).map((()=>e.jsx(Ll.default,{children:t.map((()=>e.jsx(vl.default,{sx:{padding:"5px 10px"},children:e.jsx(cl.default,{width:"100%",height:"100%"})},X.v4())))},X.v4())))}),La=a.forwardRef((({columns:t,data:r,onCellSelection:l,cellColors:n,height:i,loading:o=!1,getCellTextColor:s=()=>"",onDataUpdate:d},c)=>{const p=u.useTheme(),{slate:h,iron:C,butterflyBlue:x}=p.palette.app.color,f=a.useRef(!1),g=a.useRef(null),m=a.useRef(null),b=a.useRef(null),[j,y]=a.useState([]),w=a.useRef("add"),v=a.useRef(null),M=a.useRef(null),[L,k]=a.useState([]),[S,H]=a.useState([]);sa(g,(()=>{k([]),H([])})),a.useMemo((()=>{o&&L.length>0&&(k([]),H([]))}),[o]);const Z=a.useMemo((()=>{const e=new Set;return 0===L.length&&0===S.length||[...L,...S].forEach((t=>{t.forEach((t=>{e.add(`${t.row}-${t.col}`)}))})),e}),[L,S]),V=a.useCallback(((e,t)=>Z.has(`${e}-${t}`)),[Z]),{stickyMap:D}=xa(t);sa(g,(()=>{k([]),H([])})),a.useMemo((()=>{o&&L.length>0&&(k([]),H([]))}),[o]);const A=a.useMemo((()=>r.map((e=>{const t={};for(const r in e){const l=e[r];"string"==typeof l?"true"===l.toLowerCase()?t[r]=!0:"false"===l.toLowerCase()?t[r]=!1:t[r]=l:"boolean"!=typeof l&&"object"!=typeof l||(t[r]=l)}return t}))),[r]),{sortedData:B,handleSort:I,getSortDirection:R,updateSelectedRangesForSorting:T,sortedToOriginalMapping:E,convertSortedCoordsToOriginal:F}=Ca({data:A,columns:t}),P=a.useCallback((()=>40),[]),_=a.useCallback((()=>m.current),[]),O=de.useVirtualizer({count:B.length,estimateSize:P,getScrollElement:_,overscan:5,scrollPaddingStart:0,scrollPaddingEnd:0}),z=O.getVirtualItems(),W=a.useRef([]),$=a.useRef([]),q=a.useRef(A);a.useEffect((()=>{q.current=A}),[A]);const K=a.useCallback(((e,r)=>{const l=F(e),n=[...q.current];return l.forEach(((l,i)=>{if(e[i]&&l){const e=t[l.col]?.key;e&&void 0!==r[e]&&(n[l.row]={...n[l.row],[e]:r[e]})}})),n}),[F,t]),N=a.useCallback((e=>{if(!d)return;const t=F(e);d(e,t,B,A)}),[d,F,B,A]);a.useImperativeHandle(c,(()=>({updateData:N,getSortedToOriginalMapping:()=>E,convertSortedCoordsToOriginal:F,getUpdatedTableData:K})),[N,E,F,K]),a.useEffect((()=>{if($.current.length>0&&W.current.length>0){if(W.current.length!==B.length||W.current.some(((e,t)=>{const r=B[t],l="string"==typeof e?.id?e.id:`row-${t}`,n="string"==typeof r?.id?r.id:`row-${t}`;return!r||l!==n})))try{const e=T($.current,W.current,B),r=e.length!==$.current.length||e.some(((e,t)=>{const r=$.current[t];return!r||e.length!==r.length||e.some(((e,t)=>e.row!==r[t]?.row||e.col!==r[t]?.col))})),l=e.every((e=>e.every((e=>e.row>=0&&e.row<B.length&&e.col>=0&&e.col<t.length))));r&&l&&(k(e),$.current=e)}catch(e){k([]),$.current=[]}}W.current=B}),[B,T,t.length]),a.useEffect((()=>{$.current=L}),[L]),a.useEffect((()=>{if(b.current&&!o){const e=()=>{const e=b.current?.querySelector("tr");if(e){const t=e.querySelectorAll("th"),r=Array.from(t).map((e=>e.getBoundingClientRect().width));r.length>0&&y(r)}},t=requestAnimationFrame((()=>{e()}));return()=>{cancelAnimationFrame(t)}}}),[t,o]);const G=a.useCallback((({cellKey:e,isSelected:t=!1})=>t?x[800]:!t&&e&&n?n(e):C[600]),[x,n,C]),U=a.useCallback(((e,r)=>l=>{if(l.preventDefault(),ha(t[r]?.disableSelection,t[r]?.sorting)&&r>0){const n=t.findIndex(((e,t)=>!ha(e.disableSelection,e.sorting)&&t>r));if(-1!==n)return ba({e:l,ri:e,ci:n,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w});const i=[...t].reverse().findIndex(((e,l)=>!ha(e.disableSelection,e.sorting)&&t.length-1-l<r));if(-1!==i){const r=t.length-1-i;return ba({e:l,ri:e,ci:r,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w})}}else ba({e:l,ri:e,ci:r,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w})}),[L]),Y=a.useCallback(((e,r)=>l=>{ja({anchorRef:v,hoveringRef:M,ri:e,ci:r,setSelectedRanges:k,selectionModeRef:w,setCurrentSelectedRanges:H,columns:t,data:B})}),[ja,f,v,M,k,w,B,t]),X=a.useCallback(((e,r)=>l=>{!function({e:e,ri:t,ci:r,selectingRef:l,anchorRef:n,hoveringRef:i,setSelectedRanges:o,selectionModeRef:a,setCurrentSelectedRanges:s,columns:d,data:c}){if(!a.current||!n.current)return;const u={row:t,col:r},p=e.ctrlKey||e.metaKey,h=a.current,C=ma(n.current,u),x=c.some((e=>e?.rowDisabled))||d.some((e=>e?.disableSelection))?C.filter((e=>!c[e.row]?.rowDisabled&&!d[e.col]?.disableSelection)):C;l.current=!1,n.current=null,i.current=null,o((e=>{if("replace"===h)return[x];if("remove"===h){const t=new Set(x.map(fa));return e.map((e=>e.filter((e=>!t.has(fa(e)))))).filter((e=>e.length))}return"add"===h?p?[...e,x]:[x]:e})),s([])}({e:l,selectingRef:f,anchorRef:v,hoveringRef:M,ri:e,ci:r,setSelectedRanges:k,selectionModeRef:w,setCurrentSelectedRanges:H,data:B,columns:t})}),[B,t]),J=a.useCallback(((e,t)=>r=>{ya({e:r,ri:e,ci:t,selectedRanges:L,setSelectedRanges:k,onCellSelection:l})}),[l,L]);return e.jsx(Br.default,{ref:m,position:"relative",overflow:"auto",height:i,bgcolor:C[600],sx:{WebkitOverflowScrolling:"touch",scrollBehavior:"auto"},children:e.jsxs(yl.default,{ref:g,stickyHeader:!0,sx:{userSelect:"none",borderCollapse:"separate",borderSpacing:0,tableLayout:"fixed",width:"100%","& th, & td":{borderRight:`1px solid ${h[700]}`,borderBottom:`1px solid ${h[700]}`,height:"40px"},"& th":{padding:"2px 5px"},"& td":{padding:"0px 5px"}},children:[e.jsx(Ml.default,{ref:b,children:e.jsx(Ll.default,{children:t.map((({key:r,label:l,minWidth:n="auto",lockPinned:i=!1,align:o="left",disableSelection:a,sorting:s},d)=>{const c=D.has(d)?D.get(d):0,u=R(r),p=Boolean(a&&s);let C="flex-start";"center"===o?C="center":"right"===o&&(C="flex-end");return e.jsx(vl.default,{align:o,sx:{...i&&{top:0,left:c,zIndex:10,position:"sticky"},backgroundColor:h[700],minWidth:n,maxWidth:t[d]?.maxWidth??"auto",width:"auto"!==n?n:void 0,padding:"5px 10px",cursor:p?"pointer":"default",boxSizing:"border-box"},onClick:p?()=>I(r):void 0,children:e.jsxs(Br.default,{display:"flex",alignItems:"center",justifyContent:C,gap:1,children:[e.jsx(_r.default,{variant:"subtitle2",lineHeight:"18px",children:l}),p&&e.jsx(Br.default,{display:"flex",flexDirection:"column",alignItems:"center",children:"asc"===u?e.jsx(ml.default,{sx:{fontSize:16,color:x[400]}}):"desc"===u?e.jsx(gl.default,{sx:{fontSize:16,color:x[400]}}):e.jsxs(Br.default,{display:"flex",flexDirection:"column",alignItems:"center",sx:{opacity:.5},children:[e.jsx(jl.default,{sx:{fontSize:14,marginBottom:-.5}}),e.jsx(bl.default,{sx:{fontSize:14}})]})})]})},r)}))})}),o?e.jsx(Ma,{columns:t,rowCount:25}):e.jsx(wl.default,{style:{height:`${O.getTotalSize()}px`,position:"relative"},children:z.map((r=>{const l=B[r.index];if(!l)return null;const n=r.index;return e.jsx(Ll.default,{sx:{backgroundColor:C[600],position:"absolute",top:0,left:0,width:"100%",height:`${r.size}px`,transform:`translateY(${r.start}px) translateZ(0)`,display:"table-row",willChange:"transform",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},children:t.map((({key:r,maxWidth:i="auto",minWidth:o="auto",isEmployee:a,align:d="center",lockPinned:c=!1},p)=>{const h=l[r],C=wa(h,"cellLabel"),x="object"==typeof h&&null!=h&&"object"==typeof h?.cellTooltip?h.cellTooltip:wa(h,"cellTooltip"),f=wa(h,"cellBackgroundConditionKey"),g=wa(h,"cellActive"),m=D.has(p)?D.get(p):0,b=a?e.jsx(va,{row:l,maxWidth:i,minWidth:o}):e.jsx(_r.default,{variant:"body2",children:C}),y=!(ha(t[p]?.disableSelection,t[p]?.sorting)||l?.rowDisabled);let w;return w=void 0!==j[p]?`${j[p]}px`:"auto"!==o?o:void 0,e.jsx(vl.default,{align:d,sx:{...c&&{top:0,left:m,zIndex:5,position:"sticky"},...y?{}:{cursor:"not-allowed"},userSelect:"none",overflow:"hidden",bgcolor:u.lighten(G({cellKey:f,isSelected:V(n,p)}),.8),...g&&p>0&&{color:s(g)},padding:"5px 10px",cursor:"pointer",maxWidth:i,minWidth:o,width:w,boxSizing:"border-box"},onMouseDown:e=>U(n,p)(e),onMouseEnter:y?Y(n,p):void 0,onMouseUp:e=>X(n,p)(e),onContextMenu:y?J(n,p):void 0,children:x?e.jsx(wo,{toolTipLabel:x,children:b}):b},r)}))},"string"==typeof l.id?l.id:`row-${n}`)}))})]})})}));La.displayName="CellSelectionTable";const ka=u.styled(fe.BarChart)((({theme:e})=>({"& .MuiChartsAxis-tick":{stroke:e.palette.text.secondary},"& .MuiChartsAxis-line":{stroke:e.palette.divider},"& .MuiChartsAxis-tickLabel":{fill:e.palette.text.secondary,fontSize:12},"& .MuiChartsLegend-mark":{rx:4}}))),Sa=u.styled(ge.LineChart)((({theme:e})=>({"& .MuiChartsAxis-tick":{stroke:e.palette.text.secondary},"& .MuiChartsAxis-line":{stroke:e.palette.divider},"& .MuiChartsAxis-tickLabel":{fill:e.palette.text.secondary,fontSize:12},"& .MuiChartsLegend-mark":{rx:4}}))),Ha=({height:t=235,radius:r=18})=>e.jsxs(Br.default,{position:"relative",display:"flex",justifyContent:"center",children:[e.jsx(cl.default,{sx:{transform:"unset",width:"162px",height:{height:t},borderRadius:"50%",border:`${r}px solid #e0e0e0`,background:"transparent",boxSizing:"border-box"}}),e.jsx(cl.default,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80px",height:"25px"}})]});var Za={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}};const Va=u.styled(Br.default)((({theme:e})=>{const{app:{color:t}}=e.palette,{slate:r,iron:l}=t;return{backgroundColor:r[900],borderRadius:"4px",boxShadow:`0 4px 16px ${r[800]}40`,color:l[600],padding:e.spacing(2),fontSize:"0.85rem",overflow:"auto",fontFamily:"SFMono-Regular, Menlo, Monaco, Consolas, monospace",lineHeight:1.5,"& .react-syntax-highlighter-code-element":{fontSize:"inherit",fontFamily:"inherit"}}})),Da=u.styled(Be.ToastContainer)((({theme:{palette:{app:{color:e}}}})=>({...{"& .Toastify__toast-container":{padding:"0px"},"& .Toastify__toast":{padding:"0px",inlineSize:"400px",right:"80px",borderRadius:"8px",border:`2px solid ${e.iron[700]}`},"& .Toastify__toast-body":{padding:"0px"},"@media (min-width: 480px)":{"& .Toastify__toast":{top:"-10px"}}},...{"& .Toastify__toast-theme--light.Toastify__toast--success":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.darkMint[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--error":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.red[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--warning":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.darkOrange[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--info":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.slate[900]}`}}}}))),Aa=u.styled(Br.default)((({theme:e})=>({color:e.palette.app.color.slate[900],"&:hover":{color:e.palette.app.color.butterflyBlue[900]}})));function Ba({title:t,description:r}){const{palette:{app:{color:l}}}=u.useTheme();return e.jsxs(Zr.default,{gap:"4px",children:[e.jsx(_r.default,{fontWeight:500,color:"black",variant:"body1",children:t}),r&&e.jsx(_r.default,{color:l.slate[900],variant:"body2",children:r})]})}function Ia({href:t,linkText:r}){return e.jsx(Nl.default,{href:t,underline:"none",target:t?.startsWith("http")?"_blank":"_self",children:e.jsx(Aa,{children:e.jsx(_r.default,{children:r??t})})})}const Ra=({closeToast:t,type:r,title:l,description:n,href:i,linkText:o})=>{const a={info:e.jsx(zl.default,{color:"info",fontSize:"large"}),success:e.jsx(Wl.default,{color:"success",fontSize:"large"}),warning:e.jsx(ql.default,{color:"warning",fontSize:"large"}),error:e.jsx(Kl.default,{color:"error",fontSize:"large"})};return e.jsx(Zo,{padding:{p:"20px",pl:"16px"},children:e.jsxs(Zr.default,{direction:"row",gap:"16px",alignItems:"center",children:[a[r],e.jsxs(Zr.default,{alignItems:"flex-start",gap:"1.2rem",flexGrow:1,children:[e.jsx(Ba,{title:l,description:n}),i&&e.jsx(Ia,{href:i,linkText:o})]}),e.jsx(kr.default,{onClick:t,disableRipple:!0,children:e.jsx($l.default,{})})]})})};function Ta({title:t,description:r,href:l,linkText:n},i,o){const a=`${i}-${t}`;return Be.toast.isActive(a)?a:Be.toast(e.jsx(Ra,{title:t,description:r,href:l,linkText:n,type:i}),{...o,icon:!1,type:i,toastId:a})}const Ea={info:(e,t)=>Ta(e,"info",t),success:(e,t)=>Ta(e,"success",t),warning:(e,t)=>Ta(e,"warning",t),error:(e,t)=>Ta(e,"error",t)};const Fa=u.styled(Br.default)((({theme:e,size:t})=>{const{color:r}=e.palette.app;return{..."small"===t?{width:"14px",height:"14px"}:{width:"20px",height:"20px"},borderRadius:"4px",border:`2px solid ${r.iron[900]}`,"input:hover ~ &":{borderColor:r.butterflyBlue[900]},"input:disabled ~ &":{borderColor:r.iron[800]}}})),Pa=u.styled(Al.default)((({theme:e,size:t})=>{const{color:r}=e.palette.app;return{..."small"===t?{width:"14px",height:"14px"}:{width:"20px",height:"20px"},border:`2px solid ${r.butterflyBlue[900]}`,borderRadius:"4px",color:r.iron[600],backgroundColor:r.butterflyBlue[900],"input:disabled ~ &":{borderColor:r.iron[800],backgroundColor:r.iron[800]}}})),_a=e=>{if("default"===e)return{sx:{opacity:.8,"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"calc(var(--input-base-height, 56px) / 2)",transform:"translate(14px, -90%)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}}},Oa=e=>{if("default"===e)return{"& .MuiInputBase-root":{"--input-base-height":"100%"},"&.MuiTextField-sizeSmall .MuiInputBase-root":{"--input-base-height-small":"40px"}}},za=e=>{if("default"===e)return{"& .MuiInputBase-root":{"--input-base-height":"100%"}}},Wa=e=>{if("default"===e)return{opacity:.8,"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"calc(var(--input-base-height, 56px) / 2)",transform:"translate(14px, -90%)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}},$a=u.styled(xl.default,{shouldForwardProp:e=>"disabled"!==e})((({theme:e})=>{const{slate:t,iron:r}=e.palette.app.color;return{"& .MuiChip-label":{padding:0},backgroundColor:r[700],color:t[900],fontWeight:500,borderRadius:"100%",minWidth:"30px"}})),qa=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),Ka=({isShowAvatar:t,option:r,label:l})=>{const{avatar:n=""}=r;if(t)return e.jsx(ul.default,{sx:{width:25,height:25},src:n,alt:l})},Na=u.styled(xl.default,{shouldForwardProp:e=>"disabled"!==e})((({theme:e,disabled:t})=>{const{lightBlue:r,iron:l}=e.palette.app.color;return{backgroundColor:"transparent",color:t?l[700]:r[100],borderRadius:"50px",padding:0,[`& .${Gl.default.deleteIcon}`]:{color:u.alpha(l[800],.7),borderRadius:"50%",transition:"color 100ms ease","&:hover":{color:l[800]},cursor:t?"auto":"pointer"},opacity:t?.6:1,"&.Mui-disabled":{pointerEvents:"none",cursor:"auto"}}})),Ga=({tags:t,getTagProps:r,isShowAvatar:l,disabled:n,startIndex:i})=>t.map(((t,o)=>{const a=i+o,{key:s,onDelete:d,...c}=r({index:a}),u="string"==typeof t?t:t.label,p=t.disabled||n;return e.jsx(Na,{avatar:e.jsx(Ka,{isShowAvatar:l,option:t,label:u}),label:u,...c,disabled:p,onDelete:p?void 0:d},s)}));function Ua({control:t,defaultValue:r,name:l,required:n=!1,label:i,multiple:o=!1,disabled:s=!1,options:d=[],rules:c,loading:p=!1,helperText:h,error:C,withLabel:x=!1,placeholder:f="",freeSolo:g,isShowOptionsOnType:m=!1,isShowSelectAll:b=!0,isShowAvatar:j=!1,isShowEmployeeData:y=!1,shouldCloseOnSelect:w=!1,actionInsideAutocomplete:v=!1,actionIcon:M,onActionClick:L,onAction:k,renderOption:S,getOptionLabel:H,maxLimit:Z,autoFocus:V=!1,defaultOption:D,disableClearable:A=!!n,containerProps:B,setValue:I,limitTags:R=0,styling:T="custom",navigationKey:E,customOnChange:F,disabledAction:P=!1,..._}){const{field:{onChange:O,value:z,...W}}=De.useController({name:l,control:t,defaultValue:r,rules:c}),{navigationKey:$}=gi(),q=E??$,{t:K}=Ae.useTranslation(),[N,G]=a.useState(!1),{open:U,onOpen:Y,onClose:X,...J}=_,Q=void 0!==U,ee=Q?U:N,{inputRef:te,setInputRef:re,maintainFocus:le,maintainFocusAfterClose:ne,handleKeyDown:ie,handleEnterNavigation:oe}=Zi({isOpen:ee,navigationKey:q}),ae=a.useCallback((e=>{Q||G(!0),Y?.(e),te.current&&te.current.blur()}),[Q,Y,te]),se=a.useCallback(((e,t)=>{Q||G(!1),X?.(e,t),"toggleInput"!==t&&ne()}),[Q,X,ne]),de=e=>Pl.default(d,(t=>t.value===e))||{label:String(e),value:e},ce=e=>sl.default(e)?{label:e,value:e}:e,ue=(e,t,r)=>{if(F)if(t&&_l.default(r)){const e=Fl.default(el.default(r,de),(e=>"select-all"!==e.value));F(e)}else if(t&&_l.default(e)){const t=el.default(Fl.default(e,(e=>sl.default(e)||Ol.default(e)&&"select-all"!==e?.value)),ce);F(t)}else t||(sl.default(e)?F({label:e,value:e}):Ol.default(e)&&!_l.default(e)?F(e):F(null))},pe=a.useRef(null),{setLastSelectedValue:he}=function(e,t,r=300){const l=a.useRef(null);return a.useEffect((()=>{if(null===l.current||!e.current)return;const t=setTimeout((()=>{const t=e.current;if(!t)return void(l.current=null);const r=`[data-option-value="${l.current}"]`,n=t.querySelector(r);n&&requestAnimationFrame((()=>{n.scrollIntoView({block:"nearest",behavior:"smooth"})})),l.current=null}),r);return()=>{clearTimeout(t)}}),[t,r,e]),{lastSelectedValueRef:l,setLastSelectedValue:e=>{l.current=e}}}(pe,z),Ce=a.useMemo((()=>o&&b&&d.length>0&&z?.length===d.length),[o,b,d,z]),xe=a.useMemo((()=>[...o&&b&&d.length?[{label:"Select All",value:"select-all"}]:[],...d]),[o,b,d]);a.useMemo((()=>{qr.default(I)&&n&&1===d.length&&!z&&I(l,d[0]?.value,{shouldDirty:!0})}),[n,d,z]);const fe=a.useMemo((()=>o&&g?z?.map((e=>{const t=d.find((t=>t.value===e));return t?t.label:e.toString()}))||[]:x?d.find((e=>e.value===z?.value))??null:o?d.filter((e=>z?.includes(e.value))):!d.find((e=>e.value===z))&&g?z:D||(d.find((e=>e.value===z))||null)),[o,d,z,D]),ge=u.useTheme(),{palette:{app:{color:me}}}=ge,be=u.styled(Jr.default)((({theme:e})=>({"& .MuiAutocomplete-listbox":{maxHeight:250,overflowY:"auto",marginTop:"0px","&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.palette.secondary.main,borderRadius:"4px"},"&::-webkit-scrollbar-track":{backgroundColor:me.lightBlue[100]},"& .MuiAutocomplete-option":{fontSize:"14px"}}}))),je=a.useCallback((t=>e.jsx(be,{...t,ref:e=>{e&&setTimeout((()=>{const t=e.querySelector(".MuiAutocomplete-listbox");t&&(pe.current=t)}),0)},children:t.children})),[]),ye=u.styled("div")((({theme:e})=>({position:"sticky",padding:"4px 10px",fontSize:"16px",fontWeight:500,color:e.palette.app.color.butterflyBlue[900],backgroundColor:e.palette.app.color.butterflyBlue[500]}))),we=u.styled("ul")({padding:0});return p?e.jsx(qa,{label:i,styling:T}):e.jsxs(Zr.default,{gap:"5px",...B,children:[i&&"custom"===T&&e.jsx(Tl.default,{required:n,disabled:s,children:i}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",gap:"10px",alignItems:"start",children:[e.jsx(Il.default,{PopperComponent:Qr.default,PaperComponent:je,sx:{alignSelf:"center","& .MuiAutocomplete-tag":{backgroundColor:u.alpha(me.iron[700],.6),color:me.black[900],borderRadius:"50px"},"& .MuiChip-deleteIcon":{color:u.alpha(me.iron[800],.7),"&:hover":{color:me.iron[800],transition:"100ms ease"},borderRadius:"50%"},width:"100%"},open:ee,onOpen:ae,onClose:se,disableCloseOnSelect:o&&!w,disabled:s,freeSolo:g,filterOptions:(e,t)=>{const{inputValue:r}=t;if(!r&&m)return[];const l=r.toLowerCase();return Si({data:e,fieldsToSearch:m||y?["label","punch_code","employee_code"]:["label"],term:l})},...J,...W,disableClearable:A,slotProps:{clearIndicator:{tabIndex:!A&&(o?Array.isArray(z)&&0!==z.length:z&&""!==z)?0:-1,onKeyDown:e=>{"enter"===q&&"Enter"===e.key&&oe(e)},onMouseDown:e=>{e.stopPropagation()}},popupIndicator:{tabIndex:s?-1:0,onClick:e=>{e.preventDefault(),e.stopPropagation(),ee?(se(e,"toggleInput"),se(e,"blur")):ae(e)},onKeyDown:e=>{"enter"===q&&"Enter"===e.key&&oe(e)}}},renderTags:(t,r)=>{const l=R?t.slice(0,R):t,n=t.length-l.length,i=R?t.slice(R):t;return e.jsxs(Zr.default,{flexWrap:"wrap",flexDirection:"row",gap:.2,maxHeight:150,alignItems:"center",sx:{overflowY:"auto"},children:[e.jsx(Ga,{disabled:s,getTagProps:r,isShowAvatar:j,tags:l,startIndex:0}),n>0&&e.jsx(wo,{toolTipLabel:e.jsx(Zr.default,{maxHeight:"200px",alignItems:"start",overflow:"auto",children:e.jsx(Ga,{disabled:s,getTagProps:r,isShowAvatar:j,tags:i,startIndex:R})}),children:e.jsx($a,{label:`+${n}`})})]})},renderOption:(t,r,{selected:l})=>{if(S)return S(t,r,{selected:l});const{label:n,avatar:i,employee_code:a,punch_code:s,value:d}=r,{key:c,...u}=t,p="select-all"===d;return e.jsx("li",{...u,"data-option-value":d,style:{padding:"5px 16px 5px 16px"},tabIndex:-1,children:e.jsxs(Zr.default,{gap:"5px",children:[e.jsxs(Zr.default,{direction:"row",gap:"10px",alignItems:"center",children:[o&&e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),indeterminate:!(Ce||!fe?.length||!p),checked:!!Ce||l,sx:{marginRight:"8px",".MuiCheckbox-indeterminate":{borderColor:me.butterflyBlue[900]}}}),!p&&y?e.jsxs(e.Fragment,{children:[e.jsx(ul.default,{sx:{width:25,height:25},src:i,alt:n}),e.jsxs(Br.default,{children:[e.jsx(_r.default,{children:`${n} (${s??"-"})`}),a&&e.jsx(_r.default,{variant:"body2",color:me.iron[800],children:a})]})]}):e.jsx(_r.default,{children:n})]}),p&&e.jsx($r.default,{sx:{width:"280px"}})]})},c)},renderInput:t=>{let r=t.InputProps.startAdornment;const l=P||s;!o&&fe?.avatar&&H&&(r=e.jsx(Br.default,{width:"20px",marginLeft:"10px",children:e.jsx(ul.default,{src:fe.avatar,alt:fe.label,sx:{width:24,height:24}})}));let a=t.InputProps.endAdornment;if(v&&(L||k)){const t=e=>{e.stopPropagation(),L?.(),k?.()},r=e=>{e.stopPropagation()},n=e=>{["Enter"," ","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.key)&&(te.current?.focus(),"enter"===q?" "===e.key?(e.stopPropagation(),e.preventDefault(),L?.(),k?.()):"Enter"===e.key&&oe(e):"Enter"!==e.key&&" "!==e.key||(e.stopPropagation(),e.preventDefault(),L?.(),k?.()))},i=M?e.jsx(kr.default,{tabIndex:l?-1:0,onClick:t,disabled:l,onMouseDown:r,onKeyDown:n,sx:{width:"28px",height:"28px",margin:"0px",padding:"0px"},children:M}):e.jsx(vo,{disabled:l,onClick:t,onMouseDown:r,onKeyDown:n,tabIndex:l?-1:0,"aria-label":"Add",sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"28px",width:"28px"}}),o=e.jsx(Rl.default,{position:"end",sx:{maxWidth:"25px",maxHeight:"25px",margin:"0px",padding:"0px"},children:i});a=a?e.jsxs(e.Fragment,{children:[a,o]}):o}return e.jsx(El.default,{...t,placeholder:o&&fe?.length?"":"default"===T?f:f||`Select ${i}`,label:"default"===T?i:void 0,required:"default"===T?n:void 0,error:C,autoFocus:!o&&V,helperText:h,sx:{...Oa(T),"& .MuiAutocomplete-clearIndicator":{visibility:"visible !important"},..._.sx},InputLabelProps:_a(T),inputRef:re,InputProps:{...t.InputProps,startAdornment:r,endAdornment:a},onBlur:e=>{const t=e.relatedTarget;t&&(t.closest(".MuiAutocomplete-clearIndicator")||t.closest(".MuiAutocomplete-popupIndicator")||v&&(t.closest('[role="button"]')||t.closest(".MuiIconButton-root")))&&e.preventDefault()},onKeyDown:e=>{if(ee&&"Tab"===e.key){const t=e.currentTarget.querySelector("input");t&&t.blur()}if("enter"===q&&"Enter"===e.key&&!ee)return e.preventDefault(),e.stopPropagation(),void oe(e);ie(e,(()=>{Q||G(!1),X?.(e,"escape")}),ee)}})},blurOnSelect:!o,multiple:o,options:xe,isOptionEqualToValue:(e,t)=>!g&&e.value===t.value,getOptionLabel:e=>H?H(e):"string"==typeof e?e:e.label,value:fe,onChange:(e,t)=>{if(x)return O(t),ue(t,!1),void(!w&&o||ee||le());if(o&&Array.isArray(t)){const e=d.filter((({disabled:e,value:t})=>e&&z?.includes(t)));if(t.some((e=>"string"!=typeof e&&"select-all"===e?.value)))return void(e=>{const t=d.filter((e=>e.disabled)),r=t.map((e=>e.value));if(e){const e=d.map((e=>e.value));O(e),F&&F([...d])}else O(r),F&&F([...t])})(!Ce);const r=t.map((e=>"string"==typeof e?e:e.value)).filter((t=>!e.some((e=>e.value===t)))),l=r[r.length-1];he(l??null);const n=[...e.map((({value:e})=>e)),...r];return Z&&n.length>Z?void Ea.error({title:K("common.autocomplete.limitExceed",{maxLimit:Z})}):(O(n),ue(t,!0,n),void(w&&!ee&&le()))}if("string"==typeof t)return O(t??null),ue(t,!1),void(!w&&o||ee||le());const r=t&&!Array.isArray(t)?t.value:null;O(r),ue(t,!1),he(r),!w&&o||ee||le()},groupBy:e=>e.heading??"",renderGroup:t=>t.group?e.jsxs("li",{children:[e.jsx(ye,{children:t.group}),e.jsx(we,{children:t.children})]},t.key):e.jsx(Br.default,{children:t.children}),getOptionDisabled:e=>!!e.disabled,autoHighlight:!0}),k&&!v&&(L?e.jsx(So,{disabled:s,onClick:()=>{L(),k()}}):e.jsx(So,{disabled:s,onClick:k}))]})]})}const Ya=()=>e.jsx(cl.default,{width:30,height:30,sx:{borderRadius:"4px"},variant:"rectangular"});const Xa=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),Ja={dateWithISO8601:"yyyy-MM-dd",dateWithEuropean:"dd-MM-yyyy"},Qa=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Yl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})},es=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Xl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})};function ts({setError:t,control:r,defaultValue:l,disabled:n=!1,label:i,readOnly:o=!1,name:s,error:d=!1,helperText:c,loading:h=!1,required:C=!1,clearable:x=!C,rules:f,disableKeyboardInput:g=!1,setOnFinalChange:m=!1,views:b=["year","month","day"],format:j=Ja.dateWithEuropean,containerProps:y,styling:w="custom",navigationKey:v,...M}){const[L,k]=a.useState(),{navigationKey:S}=gi(),H=v??S,{field:{value:Z,onChange:V,...D}}=De.useController({name:s,control:r,defaultValue:l,rules:f}),[A,B]=a.useState(!1),{setInputRef:I,maintainFocus:R,maintainFocusAfterClose:T,handleKeyDown:E,handleEnterNavigation:F}=Zi({isOpen:A,navigationKey:H}),P=u.useTheme(),{iron:_,butterflyBlue:O,mirage:z}=P.palette.app.color,W=a.useMemo((()=>(g||m)&&A?Z?p.DateTime.fromISO(Z):void 0:p.DateTime.fromISO(Z)),[Z,g,m,A]);return a.useMemo((()=>{if(!d&&L){const e=setTimeout((()=>{k(void 0)}),100);return()=>clearTimeout(e)}}),[d]),h?e.jsx(Xa,{label:i,styling:w}):e.jsxs(Zr.default,{gap:"5px",...y,children:[i&&"custom"===w&&e.jsx(Tl.default,{required:C,disabled:n,children:i}),e.jsx($e.DatePicker,{...D,...M,disabled:n,views:b,format:j,value:W,readOnly:o,open:A&&!o,onOpen:()=>B(!0),onClose:()=>{B(!1),T()},slotProps:{field:{clearable:x,onClear:()=>V(null),readOnly:g,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&e.preventDefault(),"enter"!==H||" "!==e.key||A||o||n||(e.preventDefault(),e.stopPropagation(),B(!0))}},clearButton:{tabIndex:x?0:-1,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&F(e)}},textField:{disabled:n,error:!!L||d,helperText:L??c,label:"default"===w?i:void 0,required:"default"===w?C:void 0,sx:Oa(w),InputLabelProps:_a(w),inputRef:I,InputProps:{endAdornment:e.jsx(Mo,{disabled:n,onClick:()=>B(!0),showTooltip:!1,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&F(e)}}),sx:{"& .MuiInputAdornment-root":{width:"30px"}}},onKeyDown:e=>{if("enter"===H){if(" "===e.key&&!A&&!o&&!n)return e.preventDefault(),e.stopPropagation(),void B(!0);if("Enter"===e.key)return A&&B(!1),void F(e,!0)}E(e,(()=>B(!1)),A),"Backspace"===e.key&&x?(V(null),k(void 0)):"Backspace"!==e.key||x||e.preventDefault()}},day:{sx:{"&.MuiPickersDay-root":{borderRadius:"5px",borderColor:O[900],fontWeight:500,color:z[900]},"&.MuiPickersDay-root.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersDay-today":{color:O[900],backgroundColor:_[600]},"&.MuiPickersDay-root:not(.Mui-selected):hover":{color:O[900]}}},calendarHeader:{sx:{"& .MuiPickersCalendarHeader-label":{fontWeight:"500","&:hover":{color:O[900]}}}},yearButton:{sx:{"&.MuiPickersYear-yearButton.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersYear-yearButton:not(.Mui-selected):hover":{color:O[900]}}},monthButton:{sx:{"&.MuiPickersMonth-monthButton.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersMonth-monthButton:not(.Mui-selected):hover":{color:O[900]}}}},slots:{leftArrowIcon:Qa,rightArrowIcon:es},dayOfWeekFormatter:e=>`${e.toFormat("ccc")}`,onAccept:(e,t)=>{m&&e?.isValid&&(V(e.toISODate()),k(void 0),R()),M?.onAccept?.(e,t)},onChange:(e,r)=>{if((g||m)&&A)return;if(!e)return V(null),k(void 0),void R();const l=!0===e?.isValid,n=Boolean(r.validationError??!l);V(l?e.toISODate():null);const i=n?"Please enter a valid date":void 0;k(i),requestAnimationFrame((()=>{qr.default(t)&&n&&t(s,{type:"manual",message:i}),R()})),M?.onChange?.(e,r)}})]})}const rs=()=>e.jsxs(Zr.default,{direction:"row",gap:"10px",children:[e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]})]});function ls({control:t,defaultValue:r,disabled:l=!1,label:n,name:i,error:o=!1,helperText:s,loading:d=!1,required:c=!1,months:u=1,rules:h,minDate:C,maxDate:x}){const{field:{onChange:f}}=De.useController({name:i,control:t,defaultValue:r,rules:h}),[g,m]=a.useState([{startDate:r?.[0]?new Date(r[0]):new Date,endDate:r?.[1]?new Date(r[1]):new Date,key:"selection"}]);return d?e.jsx(rs,{}):e.jsxs(Zr.default,{gap:"5px",children:[n&&e.jsx(Tl.default,{required:c,disabled:l,children:n}),e.jsx(qe.DateRangePicker,{ranges:g,onChange:e=>{const t=e.selection;if(t?.endDate&&t?.startDate&&t?.key){m([{startDate:t.startDate,endDate:t.endDate,key:t.key}]);const e=p.DateTime.fromJSDate(t.startDate).toISODate(),r=p.DateTime.fromJSDate(t.endDate).toISODate();f([e,r])}},months:u,direction:"horizontal",calendarFocus:"backwards",staticRanges:[],inputRanges:[],moveRangeOnFirstSelection:!1,preventSnapRefocus:!0,minDate:C,maxDate:x}),o&&e.jsx(_r.default,{color:"red",children:s})]})}const ns=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]}),is=e=>({"&:hover":{color:e}}),os=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Yl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})},as=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Xl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})};const ss=({rows:t,label:r,styling:l})=>{const n=void 0===t?35.69:26.5*t;return e.jsxs(Zr.default,{gap:"10px",children:[r&&"custom"===l&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:`${n}px`,sx:{transform:"scale(1)"}})]})};const ds=({children:t,columns:r=3,columnsOnMobile:l=1})=>{const n=r||3,i=l||1;return e.jsx(tn.default,{container:!0,spacing:2,rowSpacing:1,children:a.Children.map(t,((t,r)=>t&&e.jsx(tn.default,{sx:{"& > *":{width:{xs:"100%",sm:"auto"}}},item:!0,xs:12/i,sm:12/Math.min(n,2),md:12/Math.min(n,3),lg:12/n,children:t},r)))})};const cs=u.styled(Zr.default,{shouldForwardProp:e=>"fullWidth"!==e&&"maxColumn"!==e})((({theme:e,children:t,fullWidth:r,maxColumn:l})=>{const n=function(e,t,r){return r<=2&&e<=2&&!t?"calc(50% - 10px)":e<=3&&!t?"calc(33% - 20px)":"100%"}(a.Children.toArray(t).length,r,l);return{"& > *":{flexBasis:n,[e.breakpoints.down("sm")]:{flexBasis:"100%"}}}}));function us({children:t,height:r=630}){return e.jsx(Br.default,{sx:{display:"flex",justifyContent:"center",height:"100%"},children:e.jsx(Br.default,{sx:{width:"100%",height:r},children:t})})}const ps=({columns:t=2,columnsOnMobile:r=2,children:l,sx:n})=>{const{layout:i}=Vi();return"mobile"===i?e.jsx(ds,{columnsOnMobile:r,columns:t,children:l}):e.jsx(Zr.default,{sx:n,direction:"row",gap:"5px",children:l})},hs=({children:t})=>{const r=u.useTheme(),{iron:l,butterflyBlue:n}=r.palette.app.color;return e.jsx(Br.default,{sx:{background:l[600],border:`1px solid ${n[300]}`,borderRadius:"6px",height:"100%",width:"100%"},children:t})},Cs=[".png",".jpg",".jpeg"],xs=[".pdf"],fs=[".doc",".docx"],gs=[".xls",".xlsx"],ms={min:.5,max:2,step:2,sensitivity:.1};function bs(e,t){return t.some((t=>e.toLowerCase().endsWith(t)))}const js=a.forwardRef((({fileName:t,resetTrigger:r,showActions:l=!0,onZoomChange:n},i)=>{const[o,s]=a.useState(!1),[d,c]=a.useState({x:0,y:0}),[p,h]=a.useState({x:0,y:0}),[C,x]=a.useState(1),f=a.useRef(null),{isDesktop:g}=Vi(),m=u.useTheme(),{slate:b}=m.palette.app.color,{sensitivity:j,min:y,max:w,step:v}=ms,{x:M,y:L}=d,k=({clientX:e,clientY:t})=>{s(!0),h({x:e-M,y:t-L})},S=({clientX:e,clientY:t})=>{if(o){const r=e-p.x,l=t-p.y;c({x:r,y:l})}},H=({clientX:e,clientY:t},r)=>{const{left:l,top:n,height:i,width:o}=r.getBoundingClientRect();return{offsetX:e-l-o/2,offsetY:t-n-i/2}},Z=e=>{const t=f.current;if(!t)return;const{offsetX:r,offsetY:l}=H(e,t),n=e.deltaY>0?-j:j,i=Math.min(Math.max(C+n,y),w);if(i!==C){const e=i/C;c({x:M-r*(e-1),y:L-l*(e-1)}),x(i)}},V=()=>{x(1),c({x:0,y:0})};a.useMemo((()=>{V()}),[r]);const D=e=>{x((t=>Math.min(2,Math.max(.5,t+e))))},A=e=>{e.preventDefault();const t=f.current;if(!t)return;const{offsetX:r,offsetY:l}=H(e,t),n=C>1?1:Math.min(C+v,w);if(C>1)return V(),void x(n);const i=n/C;c({x:M-r*(i-1),y:L-l*(i-1)}),x(n)},B=()=>{s(!1)},I=()=>{D(-.3)},R=()=>{D(.3)};a.useMemo((()=>{qr.default(n)&&n(C)}),[C]),a.useEffect((()=>{const e=e=>{"Escape"===e.key&&V(),"ArrowUp"===e.key&&R(),"ArrowDown"===e.key&&I()};return window.addEventListener("keyup",e),()=>window.removeEventListener("keyup",e)}),[]),a.useImperativeHandle(i,(()=>({resetZoom:V,zoomIn:R,zoomOut:I})),[C,V,R,I]);const T=g?"auto":"none";return bs(t,xs)?e.jsx(Br.default,{onClick:()=>window.open(t,"_blank"),height:"100%",children:e.jsx("iframe",{src:`${t}#toolbar=0`,style:{width:"100%",height:"100%",pointerEvents:T}})}):bs(t,Cs)?e.jsxs(us,{height:"100%",children:[l&&e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"10px",sx:{position:"absolute",top:10,right:66,zIndex:10},children:[1!==C&&e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:()=>V(),children:"Reset"}),e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:I,children:e.jsx(en.default,{})}),e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:R,children:e.jsx(Ql.default,{})})]}),e.jsx(Br.default,{ref:f,style:{position:"relative",width:"100%",height:"100%",cursor:o?"grabbing":"grab",transform:`scale(${C}) translate(${M/C}px, ${L/C}px)`,transformOrigin:"center center",transition:o?"none":"transform 0.2s ease-in-out"},onMouseDown:k,onMouseMove:S,onMouseUp:B,onMouseLeave:B,onWheel:Z,onDoubleClick:A,children:e.jsx("img",{src:t,alt:"Attachment",style:{position:"absolute",width:"100%",height:"100%",objectFit:"contain",userSelect:"none",pointerEvents:"none"}})})]}):bs(t,fs)||bs(t,gs)?e.jsx(Br.default,{onClick:()=>window.open(t,"_blank"),height:"100%",children:e.jsx("iframe",{src:`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(t)}`,style:{width:"100%",height:"100%",pointerEvents:T}})}):e.jsx(us,{children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsx(_r.default,{variant:"body1",sx:{textAlign:"center"},children:"File Preview Not Supported"})})})}));js.displayName="FilePreview";const ys=({title:t,isHideCloseIcon:r=!1,isHideDividers:l=!1,children:n,onClose:i,isDeleteDialog:o=!1,actions:a,...s})=>{const d={padding:o?{xs:"10px",sm:"16px 20px"}:{xs:"10px",sm:"5px 15px"}};return e.jsxs(nn.default,{fullWidth:!0,onKeyDown:e=>{e.defaultPrevented||"Escape"===e.key&&i&&i(e,"escapeKeyDown")},...s,children:[e.jsx(sn.default,{padding:{xs:"10px",sm:o?"16px 20px":"5px 15px"},textAlign:"center",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",children:[e.jsx(_r.default,{variant:"h6",fontWeight:500,flex:1,children:t}),!r&&e.jsx(kr.default,{onClick:e=>i&&i(e,"escapeKeyDown"),color:"secondary",size:"small",children:e.jsx(Kl.default,{fontSize:"medium"})})]})}),e.jsx(an.default,{sx:{padding:{xs:"10px",sm:"15px"}},dividers:!l,children:n}),a&&e.jsx(on.default,{sx:d,children:a})]})},ws=u.styled(ys)({height:"85%",top:"auto","& .MuiDialogContent-root":{display:"grid",padding:"unset"},"& .MuiDialog-paper":{borderTopLeftRadius:"12px",borderTopRightRadius:"12px"}}),vs=u.styled(Zr.default)((()=>({"& > *":{flex:"1 1 auto"}})));const Ms=t=>e.jsx(kr.default,{sx:{height:"30px",width:"50px"},...t,children:e.jsx(wo,{toolTipLabel:"Download",children:e.jsx(no,{fontColor:"black",fill:"none"})})}),Ls=({open:t,onClose:r,fileName:l})=>{const n=u.useTheme(),[i,o]=a.useState(0),s=a.useRef(null),{butterflyBlue:d,slate:c}=n.palette.app.color;return e.jsx(ys,{maxWidth:"lg",onClose:r,open:t,title:"View File Preview",actions:e.jsxs(Zr.default,{height:30,minHeight:30,maxHeight:30,direction:"row",children:[bs(l,Cs)&&e.jsxs(Zr.default,{direction:"row",alignContent:"center",justifyContent:"end",children:[1!==i&&e.jsx(kr.default,{onClick:()=>s.current?.resetZoom(),children:e.jsx(ln.default,{})}),e.jsx(kr.default,{onClick:()=>s.current?.zoomIn(),children:e.jsx(Ql.default,{})}),e.jsx(kr.default,{onClick:()=>s.current?.zoomOut(),children:e.jsx(en.default,{})})]}),e.jsx(Ms,{onClick:()=>{yi(l,l)}})]}),children:e.jsx(Zr.default,{bgcolor:d[700],position:"relative",borderRadius:"5px",children:e.jsx(Zo,{padding:{padding:{sm:"20px 50px 20px 50px",xs:"0"}},children:e.jsx(Br.default,{bgcolor:c[600],borderRadius:1,overflow:"hidden",height:"calc(100vh - 335px)",sx:{userSelect:"none"},children:e.jsx(js,{ref:s,fileName:l,resetTrigger:1,showActions:!1,onZoomChange:e=>{o(e)}})})})})})},ks=u.styled(Br.default)((({theme:e,error:t,disabled:r})=>({border:t?`2px dashed ${e.palette.app.color.red[900]}`:`2px dashed ${e.palette.app.color.iron[800]}`,borderRadius:"8px",cursor:r?"not-allowed":"pointer","&:hover":{borderColor:r?e.palette.app.color.iron[800]:e.palette.app.color.butterflyBlue[900]}}))),Ss=u.styled("input")({display:"none"}),Hs=()=>e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"136px",sx:{transform:"scale(1)"}})]}),Zs="error_with_transaltion";const Vs=u.styled(Br.default)((({theme:e})=>({position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:u.alpha(e.palette.app.color.mirage[600],.2),display:"flex",justifyContent:"center",alignItems:"center",backdropFilter:"blur(3px)",transition:"1s"}))),Ds=({open:t,isUploading:r,onClose:l,onChange:n})=>{const i=a.useRef(null),o=a.useCallback((async()=>{if(i.current){const e=i.current.getScreenshot();if(e)try{const t=await mt.base64ToFile(e,"image/jpeg");n([t]),l()}catch(e){Ea.error({title:`Failed to convert base64 to file:${e}`})}}}),[i]);return e.jsx(ys,{onClose:l,open:t,title:"Photo Capture",maxWidth:"md",actions:e.jsxs(Zr.default,{direction:"row",gap:"5px",children:[e.jsx(Ni,{onClick:l,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:()=>{o()},loading:r,children:"Save"})]}),children:e.jsx(vn.default,{mirrored:!0,ref:i,screenshotFormat:"image/jpeg",width:"100%",height:"600"})})},As=()=>e.jsxs(Zr.default,{gap:"20px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{width:"120px",height:"120px",sx:{transform:"scale(1)"}}),e.jsxs(Zr.default,{gap:"8px",children:[e.jsx(cl.default,{width:129,height:"24px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{width:129,height:"16px",sx:{transform:"scale(1)"}})]})]}),Bs=["image/png","image/jpeg","image/jpg"];const Is=u.styled(Yr.default,{shouldForwardProp:e=>"selected"!==e})((({theme:e,selected:t})=>({background:e.palette.app.color.iron[600],color:e.palette.app.color.mirage[900],borderRadius:"4px",border:`1px solid ${e.palette.app.color.butterflyBlue[300]}`,...t?{background:e.palette.app.color.deepAqua[500],color:e.palette.app.color.mirage[900],borderLeft:`6px solid ${e.palette.app.color.butterflyBlue[900]}`}:{}})));const Rs={string:"Only alphabetic characters are allowed.","string-number":"Only letters and numbers are allowed.","string-number-special":"Special characters are allowed.","string-special":"Only letters, accents, apostrophes, and hyphens are allowed.","string-special-all":"Only letters and Special characters are allowed",custom:"Please enter a valid input"};function Ts({control:t,name:r,defaultValue:l,label:n="",rules:i,type:o,required:a,disabled:s,loading:d=!1,placeholder:c="",isCapitalize:u=!1,isTrimStartDisabled:p=!1,rows:h,characterType:C="string-number-special",letterCase:x="mixed",setError:f,containerProps:g,styling:m="custom",infoMessage:b,regexExpression:j={message:null,regex:/^[\s\S]*$/},navigationKey:y,customOnChange:w,...v}){const{field:{value:M,onChange:L,...k},fieldState:{error:S}}=De.useController({name:r,control:t,defaultValue:l,rules:i}),{navigationKey:H}=gi(),Z=y??H,{inputRef:V,maintainFocus:D,handleKeyDown:A,handleEnterNavigation:B}=Zi({navigationKey:Z}),I=e=>{let t=e;const r=(e=>{switch(e){case"string":return/^[A-Za-z\s]*$/;case"string-number":return/^[A-Za-z0-9\s]*$/;case"string-number-special":default:return/^[\s\S]*$/;case"string-special":return/^[\p{L}’'\-\s]+$/u;case"string-special-all":return/^[^\d]+$/;case"custom":return j.regex}})(C);return r.test(t)||(t=t.split("").filter((e=>r.test(e))).join("")),"uppercase"===x?t=t.toUpperCase():"lowercase"===x&&(t=t.toLowerCase()),t},{message:R}=j,T=R||Rs[C];return d?e.jsx(ss,{label:n,rows:h,styling:m}):e.jsxs(Zr.default,{...g,gap:"5px",children:[n&&"custom"===m&&e.jsxs(Zr.default,{direction:"row",children:[e.jsx(Tl.default,{required:a,disabled:s,children:n}),b&&e.jsx(wo,{toolTipLabel:b,children:e.jsx(Jl.default,{sx:{fontSize:13}})})]}),e.jsx(El.default,{disabled:s,required:a,fullWidth:!0,inputRef:V,onKeyDown:e=>{"-"===e.key&&"number"===o&&e.preventDefault();!Boolean(h??v.multiline)||"Enter"!==e.key||"enter"!==Z||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey?A(e,void 0,!1):B(e,!0)},placeholder:"default"===m?c:c||n,type:o,label:"default"===m?n:void 0,sx:Oa(m),InputLabelProps:_a(m),inputProps:{min:0},error:Boolean(S),helperText:S?.message,onChange:e=>{const t=e.target,{selectionStart:l,selectionEnd:n}=t;let i=e.target.value??null;"string"==typeof i&&""===i.trim()?i="":p||"string"!=typeof i||(i=i.trimStart());const a=i&&I(i);if(i!==a&&f)return void f(r,{type:"manual",message:T});let s=a;i&&"number"===o?s=Number(i):u&&a&&(s=a?a.toUpperCase():null),L(s),w&&w(i),requestAnimationFrame((()=>{"text"==o&&t.setSelectionRange(l,n),D()}))},value:"string"==typeof M?M.trimStart():M??"",...k,...v})]})}const Es=u.styled(Br.default)((({styling:e,theme:t,error:r})=>{const l={position:"relative"},{red:n,butterflyBlue:i,iron:o,slate:a,black:s}=t.palette.app.color;return"custom"===e?{...l,"&.custom_phone_input":{"& .phone-input-container":{"&:focus-within":{border:`2px solid ${i[900]} !important`}},"& .phone-input-field":{padding:"8.5px 50px 8.5px 30px","&:focus":{"& ~ .flag-dropdown":{borderColor:r?n[900]:i[900]}}},"& .flag-dropdown":{"&.open":{borderColor:r?n[900]:i[900]}}}}:{"&.default_phone_input":{"& .react-tel-input":{"& .form-control":{fontSize:"16px",background:o[600],border:`1px solid ${a[100]}`,borderRadius:"5px",width:"300px",outline:"none",padding:"18.5px 14px 18.5px 58px",transition:"box-shadow ease .25s, border-color ease .25s","&:focus":{borderColor:i[900],boxShadow:`0 0 0 2px ${i[900]}`},"&.invalid-number":{border:`1px solid ${n[900]}`,"&:focus":{boxShadow:`0 0 0 2px ${n[900]}`},"&+div:before":{content:"'Error'",display:"none",color:`${n[900]}`,width:"27px"}}},"& .flag-dropdown":{position:"absolute",top:"0",bottom:"0",padding:"0",backgroundColor:o[600],borderRadius:"3px 0 0 3px","&:hover, &:focus":{cursor:"pointer"}},"& input[disabled]":{"&+.flag-dropdown":{"&:hover":{cursor:"default",borderColor:a[100],"& .selected-flag":{backgroundColor:"transparent"}}}},"& .selected-flag":{outline:"none",position:"relative",height:"100%",padding:"0 0 0 8px",borderRadius:"3px 0 0 3px","&:focus":{"& .arrow":{borderLeftWidth:"4px",borderRightWidth:"4px",borderTop:`5px solid ${i[900]}`}},"& .flag":{position:"absolute",top:"50%",marginTop:"-6px"},"& .arrow":{position:"relative",top:"50%",marginTop:"-1px",width:"0",height:"0",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderTop:"4px solid #555","&.up":{borderTop:"none",borderBottom:"4px solid #555"}}},"& .country-list":{outline:"none",zIndex:1,listStyle:"none",position:"absolute",padding:"0",margin:"10px 0 10px -1px",boxShadow:`1px 2px 18px ${s[900]}`,backgroundColor:"white",width:"300px",maxHeight:"220px",overflowY:"scroll",borderRadius:"7px","& .flag":{display:"inline-block",position:"absolute",left:"13px",top:"8px",marginRight:"7px",marginTop:"2px"},"& .divider":{paddingBottom:"5px",marginBottom:"5px",borderBottom:"1px solid #ccc"},"& .country":{position:"relative",padding:"12px 9px 13px 46px","& .dial-code":{color:"#6b6b6b"},"&:hover":{backgroundColor:"hsl(0, 0.00%, 94.50%)"},"&.highlight":{backgroundColor:a[300]}},"& .country-name":{marginRight:"6px"},"& .search":{zIndex:2,position:"sticky",top:"0",backgroundColor:"#fff",padding:"10px 0 6px 10px"},"& .search-emoji":{display:"none",fontSize:"15px"},"& .search-box":{border:`1px solid ${a[100]}`,borderRadius:"3px",fontSize:"15px",lineHeight:"15px",marginLeft:"6px",padding:"3px 8px 5px",outline:"none","&:hover":{borderColor:a[50]}},"& .no-entries-message":{padding:"7px 10px 11px",opacity:".7"}},"& .invalid-number-message":{position:"absolute",zIndex:1,fontSize:"13px",left:"25px",top:"-7px",background:"#fff",padding:"0 5px",color:n[900]},"& .special-label":{position:"absolute",zIndex:5,top:"-7px",left:"10px",display:"block",color:s[900],background:o[600],opacity:"1",fontSize:"10.5px",whiteSpace:"nowrap",lineHeight:"1.1"}}}}})),Fs=({rows:t,label:r,styling:l})=>{const n=void 0===t?35.69:26.5*t;return e.jsxs(Zr.default,{gap:"10px",children:[r&&"custom"===l&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:`${n}px`,sx:{transform:"scale(1)"}})]})};const Ps=()=>e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{height:"18.69px",width:"70px",sx:{transform:"scale(1)"}}),e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"50px",children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{variant:"circular",height:"25px",width:"25px"}),e.jsx(cl.default,{height:"21px",width:"45px",sx:{transform:"scale(1)"}})]}),e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{variant:"circular",height:"25px",width:"25px"}),e.jsx(cl.default,{height:"21px",width:"45px",sx:{transform:"scale(1)"}})]})]})]});const _s=["star-1","star-2","star-3","star-4","star-5"],Os=({label:t})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(Zr.default,{direction:"row",gap:"5px",children:_s.map((t=>e.jsx(cl.default,{width:25,height:25,sx:{transform:"scale(1)"}},t)))})]});function zs(t){const{styling:r="custom"}=t;return e.jsx(Ts,{placeholder:"Search",InputProps:{startAdornment:e.jsx(Rl.default,{position:"start",children:e.jsx(An.default,{fontSize:"small"})})},InputLabelProps:"default"===r?{sx:{"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"50%",transform:"translate(14px, -50%)"}}}:void 0,...t,containerProps:{width:{sm:"auto",xs:"100%"},...t.containerProps}})}const Ws=u.styled(Rn.default)((({theme:e,disabled:t})=>{const{lightBlue:r,iron:l}=e.palette.app.color;return{"& .MuiInputBase-root":{backgroundColor:t?u.alpha(r[100],.3):l[600]},"& .MuiSelect-select":{display:"flex",alignItems:"center",gap:"8px",flexWrap:"nowrap",overflow:"hidden"},"& .MuiList-root":{maxHeight:300,overflowY:"auto","&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{backgroundColor:r[100]}}}})),$s=u.styled(_r.default)((({theme:e})=>{const{butterflyBlue:t}=e.palette.app.color;return{position:"sticky",top:0,padding:"8px 16px",fontSize:"13px",fontWeight:600,color:t[900],backgroundColor:t[500],zIndex:1}}));const qs=()=>e.jsx(cl.default,{width:50,height:20,sx:{borderRadius:"4px"},variant:"rectangular"});function Ks({name:t,rules:r,control:l,defaultValue:n,loading:i=!1,navigationKey:o,...a}){const s=u.useTheme(),{butterflyBlue:d,iron:c}=s.palette.app.color,{field:{value:p=!1,...h}}=De.useController({name:t,control:l,defaultValue:n,rules:r}),{navigationKey:C}=gi(),x=o??C,{setInputRef:f,maintainFocus:g,handleKeyDown:m}=Zi({navigationKey:x});if(i)return e.jsx(qs,{});return e.jsx(Tn.default,{checked:p,...h,...a,inputRef:f,onKeyDown:e=>{m(e,void 0,!1),a.onKeyDown&&a.onKeyDown(e)},onChange:e=>{h.onChange(e),g()},sx:{padding:1,"& .MuiSwitch-track":{borderRadius:11,backgroundColor:c[900],position:"relative","&::before":{content:"unset",position:"absolute",top:"50%",transform:"translateY(-50%)",width:16,height:16,left:12},[Bt.switchClasses.input]:{width:"80px !important"},"&::after":{content:"unset",position:"absolute",top:"50%",transform:"translateY(-50%)",width:16,height:16,right:12}},"& .MuiSwitch-thumb":{boxShadow:"none",width:16,height:16,margin:.15,color:"white"},"& .Mui-checked + .MuiSwitch-track":{backgroundColor:`${d[900]} !important`,opacity:"1 !important"}}})}const Ns=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]});const Gs=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]});function Us({field:t,control:r,index:l}){const n=u.useTheme(),{iron:i}=n.palette.app.color;return e.jsx(Zr.default,{direction:"row",component:"li",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",border:"1px solid",flexGrow:1,borderColor:i[700],children:[e.jsx(Zo,{padding:{paddingLeft:"24px"},children:e.jsx(_r.default,{sx:{flexGrow:1},children:t.headerName})}),e.jsx(Ks,{control:r,name:`columns.${l}.hide`})]})})}function Ys({column:t}){const r=u.useTheme(),{lightBlue:l,iron:n}=r.palette.app.color;return e.jsx(Zr.default,{border:"1px solid",bgcolor:l[100],borderColor:n[700],children:e.jsx(Zo,{padding:{padding:"0px 24px"},children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",justifyContent:"space-between",minHeight:"38px",children:[e.jsx(_r.default,{children:t.headerName}),e.jsx(En.default,{htmlColor:n[800]})]})})})}function Xs({lockedColumns:t,fields:r,control:l}){return e.jsxs(e.Fragment,{children:[t.map((t=>e.jsx(Ys,{column:t},t.field))),e.jsx(Zr.default,{component:"ul",sx:{m:0,p:0},children:r.map(((t,r)=>e.jsx(Us,{field:t,control:l,index:r},t.id)))})]})}function Js({columns:t,children:r}){const l=a.useMemo((()=>t.filter((e=>!("hide"in e)))),[t]),n=a.useMemo((()=>t.filter((e=>"hide"in e)).map((e=>({...e,hide:!e.hide})))),[t]),i=a.useRef(n),{control:o,reset:s,getValues:d,setValue:c}=De.useForm({defaultValues:{columns:i.current}}),{fields:u}=De.useFieldArray({name:"columns",control:o});return a.useMemo((()=>{c("columns",n)}),[t]),r({reset:e=>{s({columns:e?Array.isArray(e)?e:[e]:i.current})},getValues:d,columnList:e.jsx(Xs,{fields:u,lockedColumns:l,control:o})})}const Qs=()=>e.jsx(_n.default,{className:"bullet-hover",sx:{fontSize:"6px",borderRadius:"50%"}}),ed=({selected:t=!1,icon:r=e.jsx(Qs,{}),title:l,endAdornment:n,sx:i,onClick:o,...a})=>{const s=u.useTheme(),{butterflyBlue:d,iron:c}=s.palette.app.color;return e.jsxs(Yr.default,{...a,onClick:e=>o(e.ctrlKey?"_blank":"_self"),onMouseDown:e=>{e.preventDefault(),1===e.button&&o("_blank")},sx:{...i,color:t?c[600]:s.palette.primary.light,":hover":{color:c[600],".bullet-hover":{color:t?"":d[900]}}},children:[e.jsxs(Zr.default,{alignItems:"center",direction:"row",flex:1,gap:"10px",justifyContent:"center",children:[r,l&&e.jsx(Bn.default,{primary:l,disableTypography:!0,sx:{...i,padding:"0"}})]}),n]})},td=({icon:t=e.jsx(Qs,{}),title:r,isShowEndAdornment:l=!1,onClick:n,selected:i=!1,onMouseEnter:o})=>{const a=u.useTheme(),{butterflyBlue:s,slate:d}=a.palette.app.color;return e.jsx(Br.default,{component:"li",sx:{bgcolor:i&&!l?s[900]:"",padding:r?"0px":"2.5px 0",wordBreak:"break-word"},children:e.jsx(ed,{sx:{fontSize:"13px",padding:"9.5px 16px",":focus-visible":{border:`1px solid ${s[900]}`,backgroundColor:d[900]},margin:"0"},selected:i,title:r,icon:t,onClick:n,onMouseEnter:o,endAdornment:l&&e.jsx(Xl.default,{sx:{fontSize:"16px"}})})})},rd=({open:t,anchorEl:r,children:l,currentMenuIndex:n})=>{const i=u.useTheme(),{mirage:o}=i.palette.app.color;return e.jsx(Qr.default,{open:t,anchorEl:r,placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[n?79:203,n?43.5*n+37:-40]}}],sx:{background:o[900],width:"203px",zIndex:1300,inset:n?"0px auto auto 0px !important":"1px 0px auto auto !important"},children:l})},ld=({item:t,parentPath:r,currentPathMenuOpen:l,onCloseMenuPopover:n,level:i=0})=>{const[o,s]=a.useState(null),d=Boolean(o);if(!1===t?.isView)return;const c=()=>{s(null)},u=Boolean(l[t.key]),p=`${r}/${t.key}`;return e.jsxs(Br.default,{onMouseLeave:c,children:[e.jsx(td,{onClick:(e="_self")=>{const l=`${r}/${t.key}`;t.onClick&&(t.onClick(l,e),"_blank"!==e&&(c(),n()))},title:t.title,icon:t.icon,isShowEndAdornment:Boolean(t.menuItems?.length),selected:u,onMouseEnter:e=>{t.menuItems?.length&&s(e.currentTarget)}}),t.menuItems?.length&&d&&e.jsx(rd,{open:!0,anchorEl:o,currentMenuIndex:i,children:e.jsx(Pn.default,{disablePadding:!0,children:t.menuItems.map((r=>e.jsx(ld,{item:r,parentPath:p,currentPathMenuOpen:l[t.key]??{},onCloseMenuPopover:n,level:i+1},r.key)))})})]})},nd=({currentPathMenuOpen:t,currentMenuItem:r,onCloseMenuPopover:l})=>r?e.jsx(Pn.default,{disablePadding:!0,children:r.menuItems?.filter((e=>!1!==e.isView)).map((n=>e.jsx(ld,{item:n,parentPath:`/${r.key}`,currentPathMenuOpen:t[r.key]??{},onCloseMenuPopover:l},n.key)))}):e.jsx(e.Fragment,{children:"Loading..."}),id=({menuItems:t,currentPathname:r,anchorEl:l,setAnchorEl:n})=>{const[i,o]=a.useState(),[s,d]=a.useState(0),[c,u]=a.useState({});a.useMemo((()=>{const e=Ki(r);if(Or.default(e))return u({home:!0});u(e)}),[r]);const p=()=>{n(null)};return e.jsxs(e.Fragment,{children:[t.filter((e=>!1!==e.isView)).map(((t,r)=>{const{onClick:l,key:i,icon:a,menuItems:s=[]}=t,u=!!c?.[i];return e.jsx(td,{onClick:e=>{if(l){if(""===i)return void l("/",e);l(`/${i}`,e)}},onMouseEnter:e=>{s.length>0?(n(e.currentTarget),o(t),d(r+1)):p()},icon:a,selected:u},X.v4())})),!!l&&e.jsx(Br.default,{onMouseLeave:p,children:e.jsx(rd,{open:!0,anchorEl:l,currentMenuIndex:s,children:e.jsx(nd,{currentMenuItem:i,currentPathMenuOpen:c,onCloseMenuPopover:p})})})]})};u.styled(Br.default)((({theme:e})=>({width:7,height:7,borderRadius:"50%",background:e.palette.app.color.butterflyBlue[400]})));const od=u.styled(On.default,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>{const r=e=>({width:300,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",backgroundColor:e.palette.app.color.mirage[900],[e.breakpoints.down("md")]:{width:"80px"}}),l=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"0px",[e.breakpoints.up("md")]:{width:"80px"},backgroundColor:e.palette.app.color.mirage[900]});return{width:300,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...r(e),"& .MuiDrawer-paper":r(e)},...!t&&{...l(e),"& .MuiDrawer-paper":l(e)}}})),ad=({children:t,...r})=>e.jsx(zn.default,{timeout:"auto",unmountOnExit:!0,...r,children:t}),sd=({icon:t=e.jsx(Qs,{}),title:r,isShowEndAdornment:l=!1,selected:n=!1,onClick:i,isExpanded:o,sx:a})=>{const s=u.useTheme(),{butterflyBlue:d}=s.palette.app.color;return e.jsx(Br.default,{sx:{bgcolor:n&&!l?d[900]:""},children:e.jsx(ed,{sx:a,title:r,icon:t,onClick:i,selected:n,endAdornment:l&&(o?e.jsx(Wn.default,{}):e.jsx($n.default,{}))})})},dd=(e,t)=>{if(0===t.length)return!1;if("object"!=typeof e)return!1;const[r,...l]=t;if(!r)return!1;const n=e[r];return 0===l.length?Boolean(n):dd(n,l)},cd=e=>!0===e||"object"==typeof e&&null!==e&&Object.values(e).every(cd),ud=({menuItem:t,level:r=0,parentPath:l="",subMenusOpen:n,setSubMenusOpen:i,currentPathMenuOpen:o})=>{const a=u.useTheme();if(3===r)return;const{butterflyBlue:s,slate:d}=a.palette.app.color,{key:c,icon:p,title:h,isView:C,onClick:x,menuItems:f=[]}=t;if(!1===C)return;const g=l?`${l}/${c}`:c,m=g.split("/"),b=((e,t)=>{const r=dd(e,t);return Boolean(r)})(n,m),j=((e,t)=>{const r=t.reduce(((e,t)=>{if("object"==typeof e&&null!==e&&t in e)return e[t]}),e);return cd(r)})(o,m),y=3*r+1.5;return e.jsxs(Br.default,{children:[e.jsx(sd,{sx:{paddingLeft:y,fontSize:"13px",":focus-visible":{border:`1px solid ${s[900]}`,backgroundColor:d[900]}},onClick:e=>{if(f.length>0){if(j)return;i((e=>{const t={...e};let r=t;for(let e=0;e<m.length-1;e++){const t=m[e];t&&(r[t]="object"==typeof r[t]?r[t]:{},r=r[t])}const l=m[m.length-1];return l&&(r[l]=!b),t}))}else if(x&&!j){x(""===c?"/":`/${g}`,e)}},icon:0===r?p:void 0,title:h,isShowEndAdornment:f.length>0&&r<2,selected:j,isExpanded:b}),f.length>0&&e.jsx(ad,{in:b,children:e.jsx(Pn.default,{component:"div",disablePadding:!0,children:f.map((t=>e.jsx(ud,{menuItem:t,level:r+1,parentPath:g,subMenusOpen:n,setSubMenusOpen:i,currentPathMenuOpen:o},t.key)))})})]},c)},pd=({menuItems:t,currentPathname:r})=>{const[l,n]=a.useState({}),[i,o]=a.useState({});return a.useEffect((()=>{const e=Ki(r);if(Or.default(e))return n({home:!0}),void o({home:!0});const t=JSON.parse(JSON.stringify(e)),l=JSON.parse(JSON.stringify(e));n(t),o(l)}),[r]),t.map((t=>e.jsx(ud,{menuItem:t,subMenusOpen:l,setSubMenusOpen:n,currentPathMenuOpen:i},t.key)))},hd=({open:t=!1,anchorEl:r,onClose:l,children:n,onApply:i,showDivider:o=!1,title:a,required:s})=>{const d=u.useTheme(),{slate:c}=d.palette.app.color,p=()=>{qr.default(i)&&i(),qr.default(l)&&l({},"backdropClick")};return e.jsxs(rl.default,{open:t,anchorEl:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},onClose:()=>{p()},onKeyDown:e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),p())},sx:{"& .MuiPaper-root":{minWidth:"300px"}},children:[o&&e.jsxs(Zr.default,{alignItems:"flex-end",children:[e.jsx(Zo,{padding:{padding:"8px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsxs(_r.default,{variant:"h6",children:[a," "]}),s&&e.jsx(_r.default,{variant:"h6",color:"error",children:"*"})]}),e.jsx(kr.default,{onClick:p,children:e.jsx(Dt.ClearIcon,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Br.default,{sx:{background:c[600],borderRadius:"5px"},children:n})]})},Cd=({open:t,anchorEl:r,onClose:l,children:n,onApply:i,showDivider:o=!1,showFooter:s=!0,title:d,required:c,filterItem:p,reset:h,background:C=!1,currentFilterValue:x})=>{const f=u.useTheme(),{slate:g}=f.palette.app.color,[m,b]=a.useState(null),[j,y]=a.useState(!0);a.useEffect((()=>{if(t){if(!m&&x){const e=p?.multiSelect?Xn.default(x):x;b(e)}}else b(null);if(x&&m){const e=p?.multiSelect?JSON.stringify(Xn.default(x))!==JSON.stringify(m):x!==m;y(!e)}}),[t,x,m,p?.multiSelect]);const w=()=>{b(null),qr.default(h)&&h(),qr.default(l)&&l({},"backdropClick")};return e.jsxs(rl.default,{open:t,anchorEl:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},onClose:(e,t)=>{"backdropClick"!==t&&w()},sx:{"& .MuiPaper-root":{minWidth:"300px"}},children:[o&&e.jsxs(Zr.default,{alignItems:"flex-end",children:[e.jsx(Zo,{padding:{padding:"8px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsx(_r.default,{variant:"h6",children:d}),c&&e.jsx(_r.default,{variant:"h6",color:"error",children:"*"})]}),e.jsx(kr.default,{onClick:w,children:e.jsx(fl.default,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Br.default,{sx:{background:C?g[600]:"transparent",borderRadius:"5px",maxWidth:"300px"},children:n}),s&&e.jsx(Zo,{padding:{padding:"10px"},children:e.jsx(Br.default,{display:"flex",justifyContent:"flex-end",children:e.jsx(Ni,{onClick:()=>{b(null),qr.default(i)&&i()},disabled:j,variant:"text",sx:{maxWidth:"40px"},children:"Apply"})})})]})};function xd({selectedFilter:t,control:r,errors:l,setIsPopupOpen:n,autoFocus:i=!1}){const o=u.useTheme(),{sapphireBlue:a,black:s}=o.palette.app.color,d=l[t.key],{placeholder:c,label:p}=t,h=c??`Select ${p}`,C=c??p;return{autoComplete:t.options&&e.jsx(Ua,{disableClearable:!0,multiple:t.multiSelect??!1,placeholder:h,name:`${t.key}`,disabled:t.isDisabled,shouldCloseOnSelect:t.multiSelect??!1,control:r,options:t.options??[],onOpen:()=>n?.(!0),onClose:()=>n?.(!1),autoFocus:i,sx:{maxHeight:"250px",overflowY:"auto",width:"100%","& .MuiAutocomplete-tag":{backgroundColor:a[300],color:s[900]}},...t.employeeAutocomplete&&{isShowEmployeeData:!0,isShowOptionsOnType:!0,getOptionLabel:e=>"string"==typeof e?e:`${e.label} (${e.employee_code}) - ${e.punch_code}`},error:!!d,helperText:d?.message}),text:e.jsx(Ts,{name:t.key,control:r,disabled:t.isDisabled,placeholder:C,error:!!d,helperText:d?.message,autoFocus:i}),date:e.jsx(ts,{name:t.key,control:r,disabled:t.isDisabled,error:!!d,helperText:d?.message,autoFocus:i,...t.monthYearFormat&&{format:"MMM yyyy",views:["year","month"]}}),dateRange:e.jsx(ls,{name:t.key,control:r,disabled:t.isDisabled,error:!!d,helperText:d?.message})}}const fd=({open:t,anchorEl:r,filterItem:l,onClose:n,control:i,errors:o,onApply:a,currentFilterValue:s,reset:d})=>e.jsx(Cd,{title:l.label,required:l.required,filterItem:l,open:t,onClose:n,anchorEl:r,onApply:a,currentFilterValue:s,reset:d,showFooter:!0,showDivider:!0,background:!0,children:e.jsxs(Zo,{padding:{padding:"10px"},children:[xd({selectedFilter:l,control:i,errors:o})[l.type],"switch"===l.type&&e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{padding:"10px 5px 10px 20px",margin:"auto"},children:[e.jsx(_r.default,{variant:"body2",children:l.label}),e.jsx(Ks,{control:i,name:l.key})]},l.key)]})}),gd=({open:t,anchorEl:r,filterItem:l,onClose:n,control:i,errors:o,onApply:a})=>e.jsx(hd,{title:l.label,required:l.required,open:t,onClose:n,anchorEl:r,onApply:a,showDivider:!0,background:!0,children:e.jsx(Zo,{padding:{padding:"10px"},children:xd({selectedFilter:l,control:i,errors:o})[l.type]})}),md=(e,t)=>{let r=e;if(t&&"autoComplete"===t.type&&(r=t.multiSelect&&Array.isArray(e)?t.options?.filter((t=>e.includes(t.value))).map((e=>e.label)).join(", "):t.options?.filter((t=>t.value===e)).map((e=>e.label)).join(", ")),"dateRange"===t.type&&Array.isArray(e)&&2===e.length){r=`${e[0]} <= Start Date <= ${e[1]}`}return r};function bd(e,t){return Object.fromEntries(Object.entries(e).flatMap((([e,r])=>{if(r){const l=t.find((t=>t.key===e)),n=l?.monthYearFormat&&"string"==typeof r?p.DateTime.fromISO(r).toFormat("yyyy-MM"):r;return[[e,n]]}return[]})))}const jd=({filter:t,control:r})=>{return e.jsx(Yr.default,{children:(l=t.type,e.jsxs(Zr.default,{direction:"row",width:"100%",justifyContent:"space-between",alignItems:"center",children:[e.jsx(_r.default,{variant:"body2",children:t.label}),"switch"===l?e.jsx(Ks,{control:r,name:t.key}):e.jsx(_r.default,{variant:"body2",children:t.menuInfo})]}))});var l},yd=()=>e.jsx(j.Box,{sx:{alignItems:"center",display:"flex",height:"100%",justifyContent:"center",left:0,position:"absolute",top:0,width:"100%"},children:e.jsx(Io,{})}),wd=({debounce:t=500,inputFontSize:r="14px",inputHeight:l="10px",onChange:n,type:i="text",value:o,...s})=>{const[d,c]=a.useState(o),[u]=lr.useDebounceValue(d,t);return a.useEffect((()=>{c(o)}),[o]),a.useEffect((()=>{u!==o&&n(u)}),[u,o]),e.jsx(j.TextField,{...s,type:i,value:d,onChange:e=>c(e.target.value),placeholder:"Search..",sx:{"& .MuiInputAdornment-root":{margin:0},"& .MuiInputBase-input":{fontSize:r,height:l,padding:"4px 8px"},"& input[type='date']::-webkit-calendar-picker-indicator":{position:"absolute",right:8,zIndex:2},width:s?.style?.width}})},vd=({children:t,style:r,...l})=>e.jsx("button",{...l,style:{flex:1,cursor:"pointer",padding:"8px",backgroundColor:"white",color:"#333",border:"1px solid #ddd",borderRadius:"4px",fontSize:"14px",fontWeight:500,transition:"all 0.2s",maxWidth:"80px",...r},children:t});function Md({open:t,onClose:r,children:l,width:n=420,actions:i}){const o=a.useRef(null);return a.useEffect((()=>{const e=o.current;e&&(t&&!e.open&&e.showModal(),!t&&e.open&&e.close())}),[t]),e.jsx("dialog",{ref:o,onCancel:e=>{e.preventDefault(),r()},onClick:e=>{e.target==o.current&&r()},style:{border:"none",background:"transparent",outline:"none",width:n,padding:0,borderRadius:2,backgroundColor:"white",boxShadow:"0 0 10px 0 rgba(0, 0, 0, 0.1)"},children:e.jsxs("div",{style:{padding:0},children:[l,i]})})}const Ld=({name:t,control:r,defaultValue:l,rules:n,label:i})=>{const{field:{value:o=!1,onChange:a}}=De.useController({name:t,control:r,defaultValue:l,rules:n}),s={position:"absolute",top:"0",left:"0",width:"100%",height:"100%",borderRadius:"11px",backgroundColor:o?"#38bdf8":"#e5e7eb",transition:"background-color 0.25s ease"},d={position:"absolute",top:"2px",left:o?"23px":"3px",width:"18px",height:"16px",borderRadius:"50%",backgroundColor:"#ffffff",transition:"left 0.25s ease",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.2)"};return e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[i&&e.jsx("span",{style:{color:"#374151",fontWeight:"500"},children:i}),e.jsxs("button",{onClick:()=>{a(!o)},style:{position:"relative",width:"42px",height:"20px",background:"transparent",border:"none",cursor:"pointer",outline:"none",padding:"0"},role:"switch","aria-checked":o,type:"button",children:[e.jsx("span",{style:s}),e.jsx("span",{style:d})]})]})},kd=({name:t,control:r,defaultValue:l,rules:n,disabled:i=!1})=>{const{field:{value:o=l??"left",onChange:a}}=De.useController({name:t,control:r,rules:n}),s=[{value:"left",icon:e.jsx(rr.AlignLeft,{width:18,height:18}),label:"Left"},{value:"center",icon:e.jsx(rr.AlignCenter,{width:18,height:18}),label:"Center"},{value:"right",icon:e.jsx(rr.AlignRight,{width:18,height:18}),label:"Right"}];return e.jsx("div",{style:{display:"inline-flex",backgroundColor:" #FFFFFF",borderRadius:"6px",border:"1px solid #E1E3E5"},children:s.map((({value:t,icon:r})=>{const l=r,n=o===t;return e.jsx("button",{onClick:()=>{i||a(t)},disabled:i,style:{padding:"4.5px 10px",backgroundColor:"transparent",border:"none",borderRadius:"4px",cursor:i?"not-allowed":"pointer",transition:"background-color 0.15s",color:i?"rgb(0, 0, 0, 0.5)":"rgb(0, 0, 0)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0px",opacity:i?.5:1,...n?{backgroundColor:"rgb(229, 231, 231)"}:{}},"aria-label":`Align ${t}`,type:"button",children:l},t)}))})};function Sd({field:t,control:r,index:l,setValue:n}){const i=u.useTheme(),{iron:o}=i.palette.app.color,[s,d]=a.useState(!1),[c,p]=a.useState(""),[h,C]=a.useState(""),x=a.useRef(null),f=De.useWatch({control:r,name:`columns.${l}.header`}),g=De.useWatch({control:r,name:`columns.${l}.hide`}),m=Boolean(!g),b="string"==typeof f?f:"string"==typeof t.header?t.header:t.header?.toString()??"";a.useEffect((()=>{if(s){const e=b;p(e),C(e),setTimeout((()=>{const e=x.current?.querySelector("input");e&&(e.focus(),e.select())}),0)}}),[s,b]),a.useEffect((()=>{m&&s&&(d(!1),p(h))}),[m,s,h]);const j=e=>{e.stopPropagation(),m||d(!0)},y=e=>{const t=e.trim();if(""===t)return p(h),void d(!1);n(`columns.${l}.header`,t,{shouldValidate:!0,shouldDirty:!0}),C(t),d(!1)};return e.jsx("div",{style:{padding:"0px 20px",border:`1px solid ${o[700]}`},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:"45px"},children:[s?e.jsx("div",{ref:x,style:{flex:1,minWidth:0},children:e.jsx(wd,{value:c,onChange:e=>p(e),onKeyDown:e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),y(c)):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),p(h),d(!1))},onBlur:()=>{y(c)},debounce:0,inputFontSize:"12px",inputHeight:"14px",style:{width:"200px"},onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),placeholder:"Enter header name"})}):e.jsx("p",{style:{fontSize:"13px",fontWeight:500,cursor:"pointer"},onDoubleClick:j,children:b}),e.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"center"},children:[!s&&e.jsx(rr.EditPencil,{width:18,height:18,onClick:j,style:{border:`1px solid ${o[700]}`,borderRadius:"4px",padding:"4px",cursor:m?"not-allowed":"pointer",opacity:m?.5:1}}),e.jsx(kd,{control:r,name:`columns.${l}.align`,defaultValue:t.align??"left",disabled:m}),e.jsx(Ld,{control:r,name:`columns.${l}.hide`})]})]})})}function Hd({column:t}){const r=j.useTheme(),{iron:l}=r.palette.app.color;return e.jsx("div",{style:{padding:"0px 20px",border:`1px solid ${l[700]}`},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:"38px"},children:[e.jsx("p",{style:{fontSize:"14px"},children:t.header?.toString()}),e.jsx(rr.Lock,{color:l[800]})]})})}const Zd=({lockedColumns:t,fields:r,control:l,setValue:n,filterVisibleOnly:i=!1,searchTerm:o="",grouping:s})=>{const d=De.useWatch({control:l,name:"columns",defaultValue:[]}),c=a.useMemo((()=>{let e=r;if(i&&(e=e.filter(((e,t)=>{const r=d[t];return r&&r.hide}))),o.trim()){const t=o.toLowerCase();e=e.filter(((e,r)=>{const l=d[r],n=l?.header??e.header??"";return"string"==typeof n&&n.toLowerCase().includes(t)}))}return e}),[r,i,o,d]);return e.jsxs(e.Fragment,{children:[t.map((t=>e.jsx(Hd,{column:t},t.accessorKey))),e.jsxs("div",{style:{margin:0,padding:0},children:[!c.length&&e.jsx("p",{style:{textAlign:"center",fontSize:"13px",color:"gray"},children:"No columns to show"}),c.filter((e=>!s?.includes(e.accessorKey??""))).map((t=>{const i=r.findIndex((({id:e})=>e===t.id));return e.jsx(Sd,{field:t,control:l,index:i,setValue:n},t.id)}))]})]})},Vd=({columns:t,filterVisibleOnly:r=!1,searchTerm:l="",children:n,grouping:i})=>{const o=a.useMemo((()=>t.filter((e=>!("hide"in e)))),[t]),s=a.useMemo((()=>t.filter((e=>"hide"in e)).map((e=>({...e,hide:!e.hide,align:e.align??"left"})))),[t]),{control:d,reset:c,getValues:u,setValue:p}=De.useForm({defaultValues:{columns:s}}),{fields:h}=De.useFieldArray({name:"columns",control:d});return a.useEffect((()=>{c({columns:s},{keepDefaultValues:!1})}),[s,c]),n({reset:e=>{c({columns:e?Array.isArray(e)?e:[e]:s})},getValues:u,columnList:e.jsx(Zd,{fields:h,lockedColumns:o,control:d,setValue:p,filterVisibleOnly:r,searchTerm:l,grouping:i})})},Dd=({open:t,onClose:r,title:l="Column Chooser",columns:n=[],grouping:i=[],onSave:o})=>{const s=j.useTheme(),d=(({columns:e})=>a.useMemo((()=>e.filter((e=>!!e.accessorKey)).map((({accessorKey:e,hide:t,header:r,align:l})=>{const n={accessorKey:e??"",header:r};return void 0!==t&&(n.hide=t),void 0!==l&&(n.align=l),n}))),[e]))({columns:n}),{butterflyBlue:c,iron:u}=s.palette.app.color,[p,h]=a.useState(""),{control:C}=De.useForm({defaultValues:{column_list:!1}}),x=De.useWatch({control:C,name:"column_list",defaultValue:!1});return a.useEffect((()=>{t||h("")}),[t]),e.jsx(Vd,{columns:d,filterVisibleOnly:x,searchTerm:p,grouping:i,children:({columnList:n,reset:i,getValues:a})=>e.jsx(Md,{open:t,onClose:()=>{h(""),i(),r()},width:450,actions:e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 24px",borderTop:`1px solid ${u[300]}`,gap:2},children:[e.jsx(vd,{onClick:()=>{i(),h("")},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#f5f5f5"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="white"},children:"Reset"}),e.jsx(vd,{onClick:()=>{const e=a();h("");const t=Fn.default(e.columns.map((e=>[e.accessorKey,{hide:e.hide,align:e.align??"left",header:e.header}])));o(t),r()},onMouseEnter:e=>{e.currentTarget.style.opacity="0.9"},onMouseLeave:e=>{e.currentTarget.style.opacity="1"},style:{backgroundColor:c[900],color:"white"},children:"Save"})]}),children:e.jsxs("div",{children:[e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"5px 24px",borderBottom:`1px solid ${u[300]}`},children:[e.jsx("p",{style:{fontWeight:500,fontSize:"18px",color:u[900],lineHeight:"1px"},children:l}),e.jsx(rr.Xmark,{width:20,height:20,strokeWidth:2,onClick:()=>{h(""),r(),i()},style:{border:`1px solid ${u[700]}`,borderRadius:"5px",color:u[900]}})]}),e.jsx("div",{style:{padding:"8px 24px",display:"flex",flexDirection:"column",gap:"12px"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},children:[e.jsx(wd,{value:p,onChange:e=>h(e),placeholder:"Search by label...",debounce:300,inputFontSize:"13px",inputHeight:"14px",style:{width:"80%"}},t?"dialog-open":"dialog-closed"),e.jsx(Ld,{name:"column_list",control:C})]})}),e.jsx("div",{style:{maxHeight:"600px",minHeight:"500px",overflowY:"auto",outline:"none"},children:n})]})})})},Ad=({message:t="No data found"})=>{const r=j.useTheme(),{slate:l}=r.palette.app.color;return e.jsx(j.Stack,{alignItems:"center",justifyContent:"center",position:"absolute",top:0,left:0,width:"100%",height:"100%",sx:{background:"transparent",pointerEvents:"none"},children:e.jsx(j.Typography,{variant:"subtitle1",color:l[500],textAlign:"center",children:t})})};Dr.default.memo(Ad);const Bd=e=>{const t=p.DateTime.fromISO(e);return t.isValid?t.toFormat("dd-MM-yyyy"):e},Id=e=>/^\d{4}-\d{2}-\d{2}/.test(e),Rd=({clearAllFilters:t,table:r})=>{const l=j.useTheme(),{brown:n,butterflyBlue:i,iron:o,slate:s}=l.palette.app.color,{getHeaderGroups:d}=r;return e.jsx("div",{style:{backgroundColor:s[600],borderTop:`1px solid ${o[700]}`,display:"flex",overflow:"auto",width:"100%"},children:(()=>{const r=d().flatMap((e=>e.headers)).map((t=>{const r=t.column.getFilterValue(),{facets:l,search:o}=(e=>{if(!e)return{facets:[],search:[]};const{facets:t,search:r}=e;if(Array.isArray(e))return{facets:e.map(String),search:[]};if("string"==typeof e||"number"==typeof e)return{facets:""!==e?[String(e)]:[],search:[]};if("object"==typeof e&&null!=e)return{facets:Array.isArray(t)?t:[],search:null!=r&&""!==r?[String(r)]:[]};return{facets:[],search:[]}})(r);return l.length>0||o.length>0?e.jsxs(j.Stack,{flexDirection:"row",gap:"3px",children:[e.jsxs(j.Typography,{variant:"caption",fontWeight:600,children:[t.column.columnDef.header,":"]}),l.length>0&&e.jsx(j.Typography,{variant:"caption",sx:{color:i[900]},children:l.map((e=>{if("string"==typeof e){if(!Id(e))return e;return p.DateTime.fromISO(e,{zone:"utc"}).isValid?Bd(e):e}return String(e)})).join(", ")}),l.length>0&&o.length>0&&e.jsx(j.Typography,{variant:"caption",children:","}),o.length>0&&e.jsx(j.Typography,{variant:"caption",sx:{color:n[900]},children:o.join(", ")})]},t.id):null})).filter(Boolean);return r.length?e.jsxs("div",{style:{alignItems:"center",display:"flex",gap:"5px",padding:"5px 0px"},children:[e.jsx(j.IconButton,{sx:{borderRight:`2px solid ${o[700]}`,padding:"0px 5px"},onClick:t,children:e.jsx(nr.HighlightOffRounded,{fontSize:"small"})}),e.jsx("div",{style:{alignItems:"center",display:"flex",gap:"3px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r.map(((t,r)=>e.jsxs(a.Fragment,{children:[r>0&&e.jsx(j.Typography,{variant:"caption",children:","}),t]},r)))})]}):null})()})},Td=t=>e.jsxs("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 36 36",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...t,children:[e.jsx("title",{children:"eye-hide-line"}),e.jsx("path",{d:"M25.19,20.4A6.78,6.78,0,0,0,25.62,18a6.86,6.86,0,0,0-6.86-6.86,6.79,6.79,0,0,0-2.37.43L18,13.23a4.78,4.78,0,0,1,.74-.06A4.87,4.87,0,0,1,23.62,18a4.79,4.79,0,0,1-.06.74Z",className:"clr-i-outline clr-i-outline-path-1"}),e.jsx("path",{d:"M34.29,17.53c-3.37-6.23-9.28-10-15.82-10a16.82,16.82,0,0,0-5.24.85L14.84,10a14.78,14.78,0,0,1,3.63-.47c5.63,0,10.75,3.14,13.8,8.43a17.75,17.75,0,0,1-4.37,5.1l1.42,1.42a19.93,19.93,0,0,0,5-6l.26-.48Z",className:"clr-i-outline clr-i-outline-path-2"}),e.jsx("path",{d:"M4.87,5.78l4.46,4.46a19.52,19.52,0,0,0-6.69,7.29L2.38,18l.26.48c3.37,6.23,9.28,10,15.82,10a16.93,16.93,0,0,0,7.37-1.69l5,5,1.75-1.5-26-26Zm9.75,9.75,6.65,6.65a4.81,4.81,0,0,1-2.5.72A4.87,4.87,0,0,1,13.9,18,4.81,4.81,0,0,1,14.62,15.53Zm-1.45-1.45a6.85,6.85,0,0,0,9.55,9.55l1.6,1.6a14.91,14.91,0,0,1-5.86,1.2c-5.63,0-10.75-3.14-13.8-8.43a17.29,17.29,0,0,1,6.12-6.3Z",className:"clr-i-outline clr-i-outline-path-3"}),e.jsx("rect",{x:0,y:0,width:36,height:36,fillOpacity:0})]}),Ed=({activeDragId:t,activeDragOver:r,table:l,defaultGrouping:n=[],isOutsideGrid:i=!1,currentGrouping:o=[]})=>{const a=j.useTheme(),{iron:s,lipstickRed:d,slate:c}=a.palette.app.color,{getColumn:u,getHeaderGroups:p}=l;return e.jsx(er.DragOverlay,{style:{zIndex:9999},children:t?(()=>{const l=u(t);if(!l)return null;const{header:a,id:h,enableGrouping:C}=l.columnDef,x="string"==typeof a?a:h??t,f=p().flatMap((({headers:e})=>e)).find((({column:e})=>e.id===t));if(!f)return null;const g=f.column.getSize(),m=!0===C,b="grouping-panel"===r,j=o.includes(t),y=i&&!j,w=!j&&m&&o.length>=4&&b,v=n.length>0&&m&&b||w,M=y?d[700]:v||b&&!m?d[900]:s[700];return e.jsxs("div",{style:{alignItems:"center",backgroundColor:c[800],border:`1px solid ${M}`,borderRadius:"4px",display:"flex",gap:"8px",height:"40px",minWidth:`${g}px`,padding:"0px 8px",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)",cursor:"grabbing"},children:[y?e.jsx(Td,{width:20,height:20}):v||b&&!m?e.jsx(rr.Prohibition,{width:18,height:18}):b&&m?e.jsx(rr.KeyframesPlus,{width:18,height:18}):e.jsx(rr.Drag,{width:18,height:18}),e.jsx("div",{style:{color:s[400],fontFamily:"Poppins",fontSize:"14px",fontWeight:600,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:x})]})})():null})},Fd=({columnId:t,onRemove:r,table:l,defaultGrouping:n=[]})=>{const i=j.useTheme(),{butterflyBlue:o,iron:a,slate:s}=i.palette.app.color,{attributes:d,listeners:c,setNodeRef:u,transform:p,transition:h,isDragging:C}=tr.useSortable({id:t}),x=l.getColumn(t);if(!x)return null;const f={transform:ir.CSS.Transform.toString(p),transition:h,opacity:C?.5:1},{header:g,id:m}=x.columnDef,b="string"==typeof g?g:m??t;return e.jsxs("div",{ref:u,style:{...f,display:"inline-flex",alignItems:"center",backgroundColor:s[800],border:`1px solid ${a[700]}`,borderRadius:"16px",height:"28px",padding:"0 8px",cursor:"default"},children:[!n.length&&e.jsx("div",{...d,...c,style:{display:"flex",alignItems:"center",cursor:C?"grabbing":"grab",touchAction:"none",padding:"2px",marginRight:"4px"},children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{color:a[400]},children:e.jsx("path",{d:"M9 5h2v2H9V5zm0 6h2v2H9v-2zm0 6h2v2H9v-2zm4-8h2v2h-2v-2zm0 4h2v2h-2v-2zm0 4h2v2h-2v-2z",fill:"currentColor"})})}),e.jsx("span",{style:{fontSize:"12px",fontWeight:500,color:o[900],overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"150px"},children:b}),!n.length&&e.jsx("button",{onClick:e=>{e.stopPropagation(),r(t)},type:"button",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",padding:"2px",marginLeft:"4px",background:"none",border:"none",borderRadius:"50%",width:"18px",height:"18px",transition:"background-color 0.2s"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=s[700]},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",style:{color:a[400]},children:e.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"currentColor"})})})]})},Pd=({groupedColumns:t,onRemoveGroup:r,table:l,defaultGrouping:n=[]})=>{const i=j.useTheme(),{iron:o,butterflyBlue:s}=i.palette.app.color,{setNodeRef:d,isOver:c}=er.useDroppable({id:"grouping-panel"});return e.jsx("div",{ref:d,style:{alignItems:"center",backgroundColor:o[600],border:"2px solid transparent",boxSizing:"border-box",display:"flex",flexWrap:"wrap",gap:8,marginBottom:1,minHeight:"44px",padding:"8px 12px",position:"relative",transition:"all 0.15s ease",width:"100%",zIndex:5},children:t.length?e.jsxs(e.Fragment,{children:[e.jsx("p",{style:{color:o[300],fontSize:13,fontWeight:500,lineHeight:1.5,margin:0,padding:0},children:"Grouped By:"}),e.jsxs(tr.SortableContext,{items:t,strategy:tr.horizontalListSortingStrategy,children:[t.map(((i,s)=>e.jsxs(a.Fragment,{children:[e.jsx(Fd,{columnId:i,onRemove:r,table:l,defaultGrouping:n}),s<t.length-1&&e.jsx("span",{style:{color:o[400],fontSize:"12px",fontWeight:600},children:">"})]},i))),t.length>=4&&e.jsx("p",{style:{color:o[400],fontSize:12,fontWeight:400,lineHeight:1.5,margin:0,marginLeft:"auto",padding:0,fontStyle:"italic"},children:"(Maximum 4 columns)"})]})]}):e.jsx("p",{style:{color:c?s[900]:o[300],fontSize:13,fontWeight:400,lineHeight:1.5,margin:0,padding:0},children:c?"↓ Drop here to group by this column":"Drag column headers here to group..."})})},_d={asc:e.jsx(nr.ArrowUpward,{sx:{fontSize:16}}),desc:e.jsx(nr.ArrowDownward,{sx:{fontSize:16}})},Od=a.memo((({checkedMap:t,onToggle:r,options:l})=>{const n=j.useTheme(),{butterflyBlue:i,sapphireBlue:o}=n.palette.app.color,s=a.useRef(null),[d,c]=a.useState({end:20,start:0}),[u,h]=a.useState(!1),[C,x]=a.useState(null),f=a.useCallback((()=>{if(!s.current)return;const e=s.current.scrollTop,t=Math.max(0,Math.floor(e/25)-5),r=Math.min(l.length,Math.ceil((e+200)/25)+5);t===d.start&&r===d.end||c({end:r,start:t})}),[l.length,d.start,d.end]),g=a.useMemo((()=>l.slice(d.start,d.end)),[l,d.start,d.end]),m=a.useCallback((e=>{h(!0);const l=t[e];x(l?"unCheck":"check"),r(e)}),[r,t]),b=a.useCallback((e=>{if(u&&C){const l=t[e];("check"===C&&!l||"unCheck"===C&&l)&&r(e)}}),[u,C,t,r]),y=a.useCallback((()=>{h(!1),x(null)}),[]);return a.useMemo((()=>(document.addEventListener("mouseup",y),()=>document.removeEventListener("mouseup",y))),[y]),e.jsx("div",{ref:s,role:"presentation",onScroll:f,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:{display:"flex",flexDirection:"column",height:"300px",maxHeight:"200px",overflowY:"auto",position:"relative",userSelect:"none"},children:e.jsx("div",{style:{height:25*l.length+"px",position:"relative"},children:e.jsx("div",{style:{position:"absolute",top:25*d.start+"px",width:"100%"},children:g.map((l=>{const n=t[l]||!1;return e.jsxs(j.Stack,{onMouseDown:e=>{e.stopPropagation(),m(l)},onMouseUp:e=>e.stopPropagation(),onMouseEnter:e=>{e.stopPropagation(),b(l)},onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),style:{backgroundColor:n?o[400]:"transparent",cursor:"pointer"},flexDirection:"row",alignItems:"center",gap:"5px",height:"25px",children:[e.jsx(j.Checkbox,{checked:n,onChange:e=>{e.stopPropagation(),r(l)},onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),size:"small",style:{color:n?i[900]:"",padding:"4px"}}),e.jsx(j.Typography,{variant:"caption",color:"black",sx:{WebkitBoxOrient:"vertical",WebkitLineClamp:"1",display:"-webkit-box",overflow:"hidden",textOverflow:"ellipsis"},children:(()=>{if("string"==typeof l){if(!Id(l))return l;return p.DateTime.fromISO(l,{zone:"utc"}).isValid?Bd(l):l}return String(l)})()})]},l)}))})})})}));Od.displayName="VirtualCheckboxList";const zd=({header:t,resetAllFilters:r})=>{const l=j.useTheme(),{butterflyBlue:n,iron:i,mirage:o}=l.palette.app.color,[s,d]=a.useState(!1),[c,u]=a.useState(""),[p,h]=a.useState(void 0),C=a.useRef(null),x=a.useRef(null),f=a.useCallback((()=>{d(!1),u("")}),[]),g=t.column.columnDef,{facetedFilter:m,filterVariant:b}=g,{getFilterValue:y,setFilterValue:w}=t.column,v=m&&b,M=v?y()?.facets??[]:y()??[],{filteredOptions:L}=(({header:e,isOpen:t,searchValue:r})=>{const{getFacetedUniqueValues:l}=e.column,n=a.useMemo((()=>qr.default(l)?l()??new Map:new Map),[e.column,t]),i=a.useMemo((()=>{if(Or.default(n))return[];const e=Array.from(n.keys());return Xn.default(Fl.default(e,(e=>!Un.default(e))),(e=>String(e).toLowerCase()))}),[n]);return{filteredOptions:a.useMemo((()=>Or.default(r)?i:Fl.default(i,(e=>String(e).toLowerCase().includes(r.toLowerCase())))),[i,r])}})({header:t,isOpen:s,searchValue:c}),k=!L.length,S=1===M.length&&"allData"===M[0],H=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];if(k||t)return!1;if(0===e.length)return!1;const r=new Set(e);return L.every((e=>r.has(String(e))))}),[M,p,L,k]),Z=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];if(k||t||H)return!1;const r=new Set(e),l=L.filter((e=>r.has(String(e)))).length;return l>0&&l<L.length}),[M,p,L,k,H,c]),V=S?0:M.length,D=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];return k||t?{}:Object.fromEntries(e.map((e=>[e,!0])))}),[M,p,L,k]),A=()=>{const e=L.map(String),t=p??M,r=new Set(t),l=t.length>0&&e.every((e=>r.has(e)));h(l?[]:e)},B=a.useCallback((()=>{if(void 0!==p)if(v){const e={...y()??{facets:[],search:""},facets:p};w(e)}else w(p);d(!1),u("")}),[p,t.column,v]),I=a.useCallback((()=>{if(v){const e={...y()??{facets:[],search:""},facets:[]};w(e)}else w(void 0);h(void 0),u(""),d(!1)}),[t.column,v]);return a.useMemo((()=>{r&&I()}),[r]),e.jsxs("div",{style:{position:"relative"},children:[e.jsxs(j.IconButton,{ref:x,onClick:e=>{e.stopPropagation(),d(!s)},sx:{padding:0,position:"relative"},children:[e.jsx(wo,{toolTipLabel:"Faceted Filter",children:e.jsx(nr.FilterListRounded,{sx:{fontSize:"20px"}})}),V>0&&e.jsx("span",{style:{backgroundColor:n[900],border:`2px solid ${i[600]}`,borderRadius:"50%",color:i[600],fontSize:"10px",fontWeight:"bold",height:"6px",position:"absolute",right:0,top:1,width:"6px"}})]}),s&&e.jsx(j.ClickAwayListener,{onClickAway:f,children:e.jsxs("div",{ref:C,role:"presentation","data-faceted-filter-popover":"true",onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:{backgroundColor:i[600],borderRadius:"6px",boxShadow:`0 0 20px ${o[50]}`,display:"flex",flexDirection:"column",height:"290px",left:0,padding:"8px",position:"absolute",top:"40px",width:"206px",zIndex:50},children:[e.jsx(wd,{onChange:e=>u(String(e)),value:c,inputHeight:"10px",style:{width:"100%"}}),e.jsxs(j.Typography,{onClick:A,sx:{alignItems:"center",cursor:"pointer",display:"flex",fontSize:"12px",fontWeight:"600",gap:"4px"},children:[e.jsx(j.Checkbox,{checked:H,indeterminate:Z,onChange:A,size:"small",style:{color:H&&!k?n[900]:"",padding:"4px"},disabled:k}),"Select All"]}),k?e.jsx("div",{style:{fontSize:"12px",padding:"8px",textAlign:"center"},children:"No options found"}):e.jsx(Od,{options:L,checkedMap:D,onToggle:e=>{const t=String(e),r=p??M,l=r.includes(t)?r.filter((e=>e!==t)):[...r,t];h(l)}}),e.jsxs("div",{style:{borderTop:`1px solid ${i[700]}`,display:"flex",justifyContent:"space-between",paddingTop:"8px"},children:[e.jsx(j.Button,{variant:"text",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},onClick:I,children:"Reset"}),e.jsx(j.Button,{variant:"contained",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},onClick:B,disableElevation:!0,children:"Apply"})]})]})})]})},Wd=({dragAttributes:t,dragListeners:r,dragRef:l,dragTransform:n,dragTransition:i,header:o,isDragOver:s=!1,isDragging:d=!1,isReorderable:c=!1,loading:u=!1,resetAllFilters:p})=>{const h=j.useTheme(),{butterflyBlue:C,iron:x,slate:f}=h.palette.app.color,{isSortable:g,mutipleSortCounts:m,sortableIcon:b}=(({header:e})=>{const{getCanSort:t,getIsSorted:r,getSortIndex:l}=e.column,n=t(),i=a.useMemo((()=>{const e=r();return e&&e in _d?_d[e]:null}),[r()]);return{isSortable:n,mutipleSortCounts:l(),sortableIcon:i}})({header:o}),{columnDef:y,getAfter:w,getCanResize:v,getIsPinned:M,getSize:L,getStart:k,getToggleSortingHandler:S}=o.column,H=y?.facetedFilter,Z="smartSelectFilter"===y?.filterVariant,V=M()?L()-8:L(),D=n?ir.CSS.Transform.toString(n):void 0,A=c&&s?f[700]:"#fafafb",B=t??{},I=r??{};return e.jsxs("th",{colSpan:o.colSpan,"data-column-id":o.id,ref:l,style:{backgroundColor:A,borderBottom:`1px solid ${x[700]}`,height:"40px",left:"left"===M()?`${k("left")}px`:void 0,maxWidth:V,minWidth:V,opacity:d?.85:1,padding:"0px 0px 0px 8px",position:M()?"sticky":"relative",right:"right"===M()?`${w("right")}px`:void 0,textAlign:"left",transform:D,transition:i,width:V,zIndex:d?20:M()?3:1},onClick:e=>{if(d)return;const t=e.target;t&&"col-resize"===t.style.cursor||t?.closest("[data-faceted-filter-popover='true']")||g&&!u&&S()?.(e)},children:[e.jsxs("div",{...c&&!u&&"grouped_by"!==o.id?B:{},...c&&!u&&"grouped_by"!==o.id?I:{},style:{alignItems:"center",borderRight:`2px solid ${x[700]}`,display:"flex",flexGrow:1,gap:"8px",cursor:c&&!u&&"grouped_by"!==o.id?d?"grabbing":"grab":g?"pointer":"default",touchAction:c&&!u&&"grouped_by"!==o.id?"none":"auto"},children:[e.jsx("div",{children:e.jsx("div",{style:{color:x[400],fontFamily:"Poppins",fontSize:"13px",fontWeight:600,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",textWrap:"nowrap"},children:!o.isPlaceholder&&or.flexRender(y.header,o.getContext())})}),H&&!u&&!Z&&e.jsx(zd,{header:o,resetAllFilters:p}),g&&!u&&e.jsxs(j.Stack,{flexDirection:"row",alignItems:"center",children:[b,g&&m>0&&e.jsxs(j.Typography,{color:x[400],variant:"caption",children:["(",m+1,")"]})]})]}),v()&&!u&&e.jsx("div",{style:{background:"transparent",cursor:"col-resize",height:"100%",position:"absolute",right:0,top:0,width:"3px",zIndex:1},onMouseDown:o.getResizeHandler(),onMouseEnter:e=>{e.currentTarget.style.backgroundColor=C[900]},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"}})]})},$d=({defaultGrouping:t,header:r,isReorderable:l=!0,loading:n,resetAllFilters:i})=>{const{attributes:o,isDragging:a,isOver:s,listeners:d,setNodeRef:c,transform:u,transition:p}=tr.useSortable({id:r.column.id});return e.jsx(Wd,{defaultGrouping:t,header:r,loading:n,resetAllFilters:i,dragAttributes:o,dragListeners:d||void 0,dragRef:c,dragTransform:u,dragTransition:p,isDragging:a,isDragOver:s,isReorderable:l})},qd=({children:t})=>e.jsxs("div",{className:"inline-date-range",children:[e.jsx("style",{children:"\n .inline-date-range .rdrCalendarWrapper {\n font-size: 12px;\n width: auto;\n }\n .inline-date-range .rdrDateDisplayWrapper {\n display: none;\n }\n .inline-date-range .rdrMonthAndYearWrapper {\n padding: 10px 12px;\n background: white;\n height: auto;\n }\n .inline-date-range .rdrMonthAndYearPickers {\n display: flex;\n gap: 6px;\n justify-content: center;\n align-items: center;\n }\n .inline-date-range .rdrMonthPicker,\n .inline-date-range .rdrYearPicker {\n margin: 0;\n }\n .inline-date-range .rdrMonthPicker select,\n .inline-date-range .rdrYearPicker select {\n padding: 0px 5px;\n font-size: 12px;\n border: 0px;\n background: white;\n cursor: pointer;\n font-weight: 500;\n }\n .inline-date-range .rdrMonthPicker select:hover,\n .inline-date-range .rdrYearPicker select:hover {\n color: #3b82f6 !important;\n }\n .inline-date-range .rdrMonth {\n padding: 0px 12px;\n width: 200px;\n }\n .inline-date-range .rdrMonthName {\n display: none;\n }\n .inline-date-range .rdrWeekDays {\n margin-bottom: 2px;\n }\n .inline-date-range .rdrWeekDay {\n font-size: 11px;\n font-weight: 600;\n color: #333;\n line-height: 2.2em;\n }\n .inline-date-range .rdrDay {\n font-size: 12px;\n height: 30px;\n line-height: 30px;\n }\n .inline-date-range .rdrDayNumber span {\n font-weight: 400;\n color: #333;\n }\n .inline-date-range .rdrDayToday .rdrDayNumber span:after {\n background: #3b82f6;\n bottom: 2px;\n }\n .inline-date-range .rdrDayPassive .rdrDayNumber span {\n color: #bbb;\n }\n .inline-date-range .rdrStartEdge,\n .inline-date-range .rdrEndEdge {\n background: #3b82f6 !important;\n color: white !important;\n }\n .inline-date-range .rdrInRange {\n background: rgba(59, 131, 246, 0.77) !important;\n }\n .inline-date-range .rdrNextPrevButton {\n background: white;\n border: none;\n width: 20px;\n height: 20px;\n border-radius: 3px;\n margin: 0 2px;\n }\n .inline-date-range .rdrNextPrevButton:hover {\n background: #f5f5f5;\n }\n .inline-date-range .rdrPprevButton i,\n .inline-date-range .rdrNextButton i {\n display: none;\n }\n .inline-date-range .rdrPprevButton::before {\n content: '‹';\n font-size: 18px;\n font-weight: bold;\n color: #666;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .inline-date-range .rdrNextButton::before {\n content: '›';\n font-size: 18px;\n font-weight: bold;\n color: #666;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .inline-date-range .rdrDefinedRangesWrapper {\n display: none;\n }\n "}),t]}),Kd=e=>{if(!e)return null;const t=ar.parseISO(e);return ar.isValid(t)?t:null},Nd=({initialValue:t,onApply:r,width:l})=>{const n=a.useRef(null),[i,o]=a.useState(!1),s=a.useMemo((()=>new Date),[]),[d,c]=a.useState((()=>[{endDate:s,key:"selection",startDate:s}])),[u,p]=a.useState({firstDate:null,lastDate:null}),h=u.firstDate&&ar.format(u.firstDate,"dd/MM/yyyy"),C=u.lastDate&&ar.format(u.lastDate,"dd/MM/yyyy"),x=h&&C?h===C?h:`${h} - ${C}`:"";a.useEffect((()=>{if(t&&t.length>0){const[e,r=t[0]]=t,l=Kd(e),n=Kd(r);if(l&&n)return p({firstDate:l,lastDate:n}),void c([{endDate:n,key:"selection",startDate:l}])}p({firstDate:null,lastDate:null}),c([{endDate:s,key:"selection",startDate:s}])}),[s,t]);return e.jsxs("div",{children:[e.jsx(j.TextField,{inputRef:n,value:x,placeholder:"dd/mm/yyyy",onClick:()=>o(!0),fullWidth:!0,InputProps:{endAdornment:x&&e.jsx(j.InputAdornment,{position:"end",style:{padding:"0px"},children:e.jsx(j.IconButton,{size:"small",onClick:e=>{e.stopPropagation(),o(!1),p({firstDate:null,lastDate:null}),c([{endDate:s,key:"selection",startDate:s}]),r([])},sx:{p:.5},children:e.jsx(Dt.ClearIcon,{fontSize:"small"})})}),readOnly:!0},sx:{"& .MuiInputAdornment-root":{margin:0},"& .MuiInputBase-input":{fontSize:"14px",height:"10px",padding:"4px 4px"},"& input[type='date']::-webkit-calendar-picker-indicator":{position:"absolute",right:8,zIndex:2},width:l}}),e.jsxs(j.Popover,{open:i,anchorEl:n.current,onClose:()=>o(!1),anchorOrigin:{horizontal:"left",vertical:"bottom"},children:[e.jsx(qd,{children:e.jsx(qe.DateRange,{ranges:d,onChange:e=>{const t=e.selection;c([{endDate:t?.endDate??s,key:"selection",startDate:t?.startDate??s}])},moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1})}),e.jsx(j.Box,{sx:{display:"flex",justifyContent:"flex-end",margin:"10px"},children:e.jsx(j.Button,{variant:"contained",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},disableElevation:!0,onClick:()=>{const e=d[0],t=e?.startDate??null,l=e?.endDate??null;if(!t||!l)return r([]),p({firstDate:null,lastDate:null}),void o(!1);p({firstDate:t,lastDate:l}),o(!1);const n=ar.format(t,"yyyy-MM-dd"),i=ar.format(l,"yyyy-MM-dd");r([n,i])},children:"Apply"})})]})]})},Gd=({filterVariant:t,header:r,resetAllFilters:l})=>{const{columnDef:n,getFilterValue:i,setFilterValue:o}=r.column,{facetedFilter:a,filterParams:s,filterVariant:d}=n,c=a&&d,u=i(),p=c?u??{facets:[],search:""}:void 0,h=e=>{return c?(t={search:e.toString()},void(c&&o({...p,...t}))):o(e);var t},C=t=>e.jsx(wd,{onChange:e=>h(l?"":e),type:t,value:l?"":(c?p?.search??"":"string"==typeof u||"boolean"==typeof u||"number"==typeof u?u:"").toString(),style:{width:"100%"}});switch(t){case"smartTextFilter":return C("text");case"smartNumberFilter":return C("number");case"smartDateFilter":return e.jsx(Nd,{width:"100%",initialValue:Array.isArray(u)?u:void 0,onApply:e=>o(e)});case"smartSelectFilter":return(()=>{const t=s?.filterOptions??[],r=c?p?.search??"":"string"==typeof u||"boolean"==typeof u||"number"==typeof u?u:"",l=t.find((e=>e.value===r))||null;return e.jsx(j.Autocomplete,{options:t,getOptionLabel:e=>e.label||"",value:l,onChange:(e,t)=>h(t?t.value:""),renderInput:t=>e.jsx(j.TextField,{...t,variant:"outlined",placeholder:"All",sx:{"& .MuiInputBase-root":{height:28}}}),size:"small",sx:{width:"100%"},slotProps:{paper:{sx:{"& .MuiAutocomplete-option":{fontSize:12}}}}})})();default:return null}},Ud=({header:t,resetAllFilters:r})=>{const l=j.useTheme(),{iron:n}=l.palette.app.color,i=t.column.getIsPinned()?t.getSize()-8:t.getSize(),o=t.column.columnDef.filterVariant;return e.jsx("th",{style:{backgroundColor:"#fafafb",borderBottom:`1px solid ${n[700]}`,height:"40px",left:"left"===t.column.getIsPinned()?`${t.column.getStart("left")}px`:void 0,maxWidth:i,minWidth:i,padding:"0px 8px 0px 8px",position:t.column.getIsPinned()?"sticky":"relative",right:"right"===t.column.getIsPinned()?`${t.column.getAfter("right")}px`:void 0,textAlign:"left",width:i,zIndex:t.column.getIsPinned()?3:0},children:o?e.jsx(Gd,{filterVariant:o,header:t,resetAllFilters:r}):"-"})},Yd=({defaultGrouping:t,enableSecondRowFilter:r,headerGroup:l,isHeaderReorderable:n,loading:i,resetAllFilters:o,swipeableColumns:a})=>{const{depth:s,headers:d}=l,c=s??0,u=d.filter((e=>"left"===e.column.getIsPinned())),p=d.filter((e=>!e.column.getIsPinned())),h=d.filter((e=>"right"===e.column.getIsPinned())),C=s===c;return e.jsxs(e.Fragment,{children:[e.jsxs("tr",{children:[u.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id))),p.map((r=>{const l=(e=>{const t=e.column.columnDef,r=n(e,C),l=!!t.enableGrouping;return r||l})(r),s=a&&n(r,C);return l?e.jsx($d,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o,isReorderable:s},r.id):e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id)})),h.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id)))]},`${l.id}-row`),r&&!i&&e.jsx("tr",{children:l.headers.map((t=>e.jsx(Ud,{header:t,resetAllFilters:o},t.id)))})]})};function Xd({col:t,colIndex:r,orderedColumns:l,summaryValue:n}){const i=j.useTheme(),{iron:o,slate:a}=i.palette.app.color,s=t.getIsPinned(),d={};if("left"===s){const e=l[r+1],n=!e||"left"!==e.getIsPinned();d.position="sticky",d.left=t.getStart("left"),d.zIndex=2,d.background=a[600],n&&(d.borderRight=`1px solid ${o[700]}`)}if("right"===s){const e=l[r-1],n=!e||"right"!==e.getIsPinned();d.position="sticky",d.right=t.getAfter("right"),d.zIndex=2,d.background=a[600],n&&(d.borderLeft=`1px solid ${o[700]}`)}return e.jsx("td",{style:{background:"#F8F9FA",borderTop:`1px solid ${o[700]}`,fontWeight:500,padding:"8px",...d,...n?.style},children:n?.value??null},`footer-${t.id}`)}function Jd({summary:t,table:r}){const l=j.useTheme(),n=r.getVisibleLeafColumns(),i=[...n.filter((e=>"left"===e.getIsPinned())),...n.filter((e=>!e.getIsPinned())),...n.filter((e=>"right"===e.getIsPinned()))];return e.jsx("tfoot",{style:{background:l.palette.background.paper,bottom:0,position:"sticky",zIndex:2},children:e.jsx("tr",{children:i.map(((r,l)=>{const n=r.columnDef?.accessorKey,o=void 0!==n?t?.[n]:void 0;return e.jsx(Xd,{col:r,colIndex:l,orderedColumns:i,summaryValue:o},`footer-${r.id}`)}))})})}const Qd=a.createContext(void 0),ec=({children:t,value:r})=>e.jsx(Qd.Provider,{value:r,children:t}),tc=({row:t,isSummaryRow:r})=>{const{groupingColumnId:l,getIsGrouped:n,getGroupingValue:i}=t;if(r)return e.jsx("span",{children:"Total"});const o=j.useTheme(),{butterflyBlue:a}=o.palette.app.color;if(!n())return null;if(!l)return null;const s=i(l);if(null==s)return null;const d=t.getIsExpanded();return e.jsx("div",{style:{display:"flex",alignItems:"center",paddingLeft:15*t.depth+"px",width:"100%"},children:e.jsxs("div",{role:"button",tabIndex:0,onClick:t.getToggleExpandedHandler(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t.toggleExpanded())},style:{display:"inline-flex",alignItems:"center",cursor:"pointer",padding:"4px 4px",userSelect:"none"},children:[d?e.jsx(nr.ExpandMore,{color:"primary",fontSize:"small"}):e.jsx(nr.ChevronRight,{color:"primary",fontSize:"small"}),e.jsx("p",{style:{fontSize:"14px",marginLeft:"4px",color:a[900]},children:(()=>{if("string"==typeof s){if(!Id(s))return s;return p.DateTime.fromISO(s,{zone:"utc"}).isValid?Bd(s):s}return String(s)})()}),e.jsxs("p",{style:{fontSize:"14px",marginLeft:"4px",opacity:.7,color:a[900]},children:["(",t.subRows.length,")"]})]})})},rc=({cell:t,isSummaryRow:r,row:l,summaryData:n,isGroupColumn:i=!1})=>r?i?"Total":(t=>{const r=t.column.id,l=n?.[r];return l?e.jsx("div",{style:l.style,children:l.value}):t.getIsGrouped()?"Total":null})(t):i?e.jsx(tc,{row:l,isSummaryRow:r}):l.getIsGrouped()&&!t.getIsGrouped()?null:t.getIsGrouped()?e.jsx(tc,{row:l,isSummaryRow:r}):t.getIsAggregated()?t.column.columnDef.aggregatedCell?or.flexRender(t.column.columnDef.aggregatedCell,t.getContext()):null:t.getIsPlaceholder()?null:or.flexRender(t.column.columnDef.cell,t.getContext()),lc=({columnWidths:t,exportActions:r,exportData:l,grouping:n=[],index:i,isSummaryRow:o=!1,row:s,rowHeight:d,summaryData:c,virtualRow:u})=>{const p=j.useTheme(),{butterflyBlue:h,iron:C,mirage:x,slate:f}=p.palette.app.color,g=(()=>{const e=a.useContext(Qd);if(!e)throw new Error("useCellSelectionContext must be used within CellSelectionProvider");return e})(),[m,b]=a.useState(!1),[y,w]=a.useState(null),[v,M]=a.useState({left:0,top:0}),L=a.useRef(null),k=a.useRef(null),{enabled:S,isCellSelected:H,isCopyFlashing:Z,startCellSelection:V,updateCellSelection:D}=g,A=(()=>{const e=j.useTheme(),{iron:t}=e.palette.app.color;return a.useCallback(((e,r,l)=>{const n=e.column.getIsPinned();if("left"===n){const n=l[r+1],i=!n||"left"!==n.column.getIsPinned();return{left:e.column.getStart("left"),position:"sticky",zIndex:2,...i?{borderRight:`1px solid ${t[700]}`}:{}}}if("right"===n){const n=l[r-1],i=!n||"right"!==n.column.getIsPinned();return{position:"sticky",right:e.column.getAfter("right"),zIndex:2,...i?{borderLeft:`1px solid ${t[700]}`}:{}}}return{}}),[t])})(),B=s.getIsSelected(),I=()=>o?f[600]:m&&!o||B?h[600]:C[600];a.useMemo((()=>{const e=e=>{k.current&&!k.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&w(null)};if(y)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[y]);const R=y===s.id;return e.jsxs(e.Fragment,{children:[e.jsx("tr",{ref:L,style:{backgroundColor:I(),borderTop:`1px solid ${C[700]}`,display:"flex",position:u?"absolute":"relative",transform:u?`translateY(${u.start}px)`:void 0,width:"100%"},onMouseEnter:()=>{o||b(!0)},onMouseLeave:()=>{o||b(!1)},onContextMenu:e=>{if(o)return;e.preventDefault();const t=L.current?.getBoundingClientRect();t&&(M({left:e.clientX,top:e.clientY}),w(s.id))},children:(()=>{const r=s.getVisibleCells(),l=n.length>0?r.filter((e=>{if("grouped_by"===e.column.id)return!0;if(e.getIsGrouped())return!0;const t=e.column.id,r=e.column.columnDef?.accessorKey;return!(n.includes(t)||r&&n.includes(r))})):r;if(s.getIsGrouped()&&l.length>0){const t=l.find((e=>e.getIsGrouped()));if(t)return e.jsx("td",{colSpan:l.length,style:{boxSizing:"border-box",lineHeight:"21px",overflow:"hidden",padding:"0px 8px",position:"relative",textAlign:"left",width:"100%"},children:e.jsx("div",{style:{alignItems:"center",color:C[400],display:"flex",fontFamily:"Poppins",fontSize:"13px",height:d,justifyContent:"flex-start"},children:e.jsx(rc,{cell:t,row:s,isSummaryRow:o,summaryData:c,isGroupColumn:!1})})},t.id)}return l.map(((r,l,n)=>{const i=t[l]??r.column.getSize(),a=A(r,l,n),u=H(s.id,r.column.id),p=u&&!Z?h[600]:void 0,x=u&&Z?"copyFlash 0.5s ease-in-out":void 0,f=r.column.getIsPinned()?u&&!Z?h[600]:I():p,g=r.column.columnDef.align??"left";let m;return m="right"===g?"flex-end":"center"===g?"center":"flex-start",e.jsx("td",{onMouseDown:e=>{if(S&&!o){const t=e.shiftKey;V(s.id,r.column.id,t)}},onMouseEnter:()=>{S&&!o&&D(s.id,r.column.id)},style:{animation:x,backgroundColor:f,boxSizing:"border-box",cursor:S?"cell":"default",lineHeight:"21px",maxWidth:i,minWidth:i,overflow:"hidden",padding:"0px 8px",position:"relative",textAlign:g,textOverflow:"ellipsis",textWrap:"nowrap",userSelect:S?"none":"auto",width:i,...a},children:e.jsx("div",{style:{alignItems:"center",color:C[400],display:"flex",fontFamily:"Poppins",fontSize:"13px",fontWeight:o?"500":400,height:d,justifyContent:m,overflow:"hidden",textOverflow:"ellipsis"},children:e.jsx(rc,{cell:r,row:s,isSummaryRow:o,summaryData:c,isGroupColumn:"grouped_by"===r.column.id})})},r.id)}))})()},`table-row-${i}${o?"-summary":""}`),R&&l&&e.jsx("div",{ref:k,style:{backgroundColor:C[600],borderRadius:"6px",boxShadow:`0 0 20px ${x[50]}`,display:"flex",flexDirection:"column",left:`${v.left}px`,minWidth:"120px",padding:"8px",position:"fixed",top:`${v.top}px`,width:"120px",zIndex:99},children:r?.map((t=>e.jsx(Ni,{onClick:t.onClick,variant:"text",style:{borderBottom:`1px solid ${C[700]}`,fontSize:"13px",padding:0},disableRipple:!0,children:t.label},t.label)))})]})},nc=({checked:t,disabled:r,indeterminate:l,onChange:n,...i})=>{const o=j.useTheme(),{butterflyBlue:a,iron:s}=o.palette.app.color;return e.jsx(j.Checkbox,{checked:t,disabled:r,indeterminate:l,onChange:n,disableRipple:!0,checkedIcon:e.jsx(Ar.default,{fontSize:"medium",htmlColor:a[900],sx:{borderRadius:"4px",fontSize:"20px",marginLeft:"-2px"}}),icon:e.jsx(j.Box,{sx:{border:"1px solid",borderColor:s[800],borderRadius:"2px",height:13,width:13}}),...i})},ic=e=>{const{columns:t,data:r}=e,[l,n]=a.useState([]),[i,o]=a.useState(e.defaultGrouping??[]),{combinedFilter:s,dateRangeFilter:d,includesSome:c,processedColumns:u}=(({columns:e})=>{const t=e=>{if(e instanceof Date)return e;if("string"==typeof e){const t=ar.parseISO(e);if(ar.isValid(t))return t}return null};return{combinedFilter:(e,t,r)=>{if(!r)return!0;const l=e.getValue(t),n=null!=l?String(l):"";if("object"==typeof r&&!Array.isArray(r)){const e=r,{facets:t,search:l}=e;let i=!0;return l&&""!==l.trim()&&(i=i&&n.toLowerCase().includes(l.toLowerCase())),t&&t.length>0&&(i=i&&t.some((e=>String(e)===n))),i}return Array.isArray(r)?r.some((e=>String(e)===n)):String(r)===n},dateRangeFilter:(e,r,l)=>{if(!Array.isArray(l)||0===l.length)return!0;const[n,i]=l,o=t(n),a=t(i??n);if(!o||!a)return!0;const s=new Date(o);s.setHours(0,0,0,0);const d=new Date(a);d.setHours(23,59,59,999);const c=e.getValue(r),u=t(c);if(!u){const e=null!=c?String(c):"",t=String(n??"");return e>=t&&e<=("string"==typeof i&&i?i:t)}const p=new Date(u).getTime();return p>=s.getTime()&&p<=d.getTime()},includesSome:(e,t,r)=>{if(!r||Array.isArray(r)&&0===r.length)return!0;const l=e.getValue(t),n=null!=l?String(l):"";return Array.isArray(r)?r.some((e=>String(e)===n)):String(r)===n},processedColumns:a.useMemo((()=>e.map((e=>{const t=e,{facetedFilter:r,filterVariant:l}=t;return r&&l?{...e,filterFn:"combinedFilter"}:"smartDateFilter"===l?{...e,filterFn:"dateRangeFilter"}:r?{...e,filterFn:"includesSome"}:e}))),[e])}})({columns:t}),[p,h]=a.useState(!0),[C,x]=a.useState({}),{hasPinnedColumns:f,initialPinning:g}=(({columns:e})=>{const t=a.useMemo((()=>{const t=[],r=[];return e.forEach((({accessorKey:e,id:l,pinned:n})=>{"left"===n&&t.push(l??e),"right"===n&&r.push(l??e)})),{left:t,right:r}}),[e]);return{hasPinnedColumns:a.useMemo((()=>e.some((({pinned:e})=>"left"===e||"right"===e))),[e]),initialPinning:t}})({columns:t}),[m,b]=a.useState(g),[j,y]=a.useState([]),[w,v]=a.useState([]),{enableExpanding:M=!0,enableGrouping:L=!0,enablePinning:k=f,enableRowSelection:S=!0,enableSorting:H=!0}=e,Z=or.useReactTable({autoResetExpanded:!1,columnResizeDirection:"ltr",columnResizeMode:"onChange",columns:u,data:r,defaultColumn:{maxSize:500,minSize:100,size:150},enableExpanding:M,enableGrouping:L,enablePinning:k,enableRowSelection:S,enableSorting:H,filterFns:{combinedFilter:s,dateRangeFilter:d,includesSome:c},getCoreRowModel:or.getCoreRowModel(),getExpandedRowModel:or.getExpandedRowModel(),getFacetedMinMaxValues:or.getFacetedMinMaxValues(),getFacetedRowModel:or.getFacetedRowModel(),getFacetedUniqueValues:or.getFacetedUniqueValues(),getFilteredRowModel:or.getFilteredRowModel(),getGroupedRowModel:or.getGroupedRowModel(),getSortedRowModel:or.getSortedRowModel(),onColumnFiltersChange:y,onColumnOrderChange:e=>{v((t=>{const r="function"==typeof e?e(t):e,l=i.length>0,n="grouped_by";if(l&&r.includes(n)){const e=r.filter((e=>e!==n));return[n,...e]}return r}))},onColumnPinningChange:b,onExpandedChange:h,onGroupingChange:o,onRowSelectionChange:x,onSortingChange:n,state:{columnFilters:j,columnOrder:w,columnPinning:m,expanded:p,grouping:i,rowSelection:C,sorting:l}});return a.useEffect((()=>{h(!0)}),[i,r.length]),a.useEffect((()=>{const e=i.length>0,t="grouped_by";if(e){const e=Z.getState().columnOrder,r=Z.getAllLeafColumns().map((e=>e.id));if(r.includes(t))if(e.length)if(e.includes(t)&&e[0]!==t){const r=e.filter((e=>e!==t));v([t,...r])}else e.includes(t)||v([t,...e]);else{const e=r.filter((e=>e!==t));v([t,...e])}}}),[i,Z]),{table:Z}};const oc=a.forwardRef((({defaultGrouping:t=[],dynamicRowSelection:r=()=>!0,emptyMessage:l="No data found",enableCellSelection:n=!1,exportActions:i=[],exportData:o=!1,height:s="calc(100vh - 130px)",loading:d=!1,rowHeight:c=38,rowSelection:u=!1,swipeableColumns:p=!1,columnArranger:h=!1,totalCount:C=0,onApplyColumnArranger:x,...f},g)=>{const m=j.useTheme(),{butterflyBlue:b}=m.palette.app.color,[y,w]=a.useState(!1),[v,M]=a.useState(null),[L,k]=a.useState(null),[S,H]=a.useState(!1),Z=a.useRef(null),[V,D]=a.useState(!1),A=a.useRef(null),B=a.useRef(null),{columns:I,data:R,dynamicSummaryConfig:T,summary:E}=f,[F,P]=a.useState(new Set),_=a.useMemo((()=>I.filter((e=>{const t=e,r=t.id??t.accessorKey;return!0!==t.hide&&!F.has(r)}))),[I,F]),O=a.useMemo((()=>I.map((e=>{const t=e,r=t.id??t.accessorKey;return F.has(r)?{...t,hide:!0}:t}))),[I,F]),{columns:z}=(({defaultColumn:t,dynamicRowSelection:r,rowSelection:l})=>{const n=a.useCallback((t=>!r||r(t.row.original)?e.jsx(nc,{checked:t.row.getIsSelected(),disabled:!t.row.getCanSelect(),indeterminate:t.row.getIsSomeSelected(),onChange:t.row.getToggleSelectedHandler()}):null),[]),i=a.useCallback((t=>{if(!r)return e.jsx(nc,{checked:t.table.getIsAllRowsSelected(),indeterminate:t.table.getIsSomeRowsSelected(),onChange:t.table.getToggleAllRowsSelectedHandler()});const l=t.table.getRowModel().rows,n=t.table.getState().rowSelection;let i=0,o=0;for(const e of l)r(e.original)&&(i++,n[e.id]&&o++);const a=i>0&&o===i,s=o>0&&o<i;return e.jsx(nc,{checked:a,indeterminate:s,disabled:0===i,onChange:e=>{const{checked:l}=e.target,n=t.table.getRowModel().rows;t.table.setRowSelection((e=>{const t={...e};return n.forEach((e=>{r(e.original)&&(l?t[e.id]=!0:delete t[e.id])})),t}))}})}),[]),o=a.useMemo((()=>t.map((e=>"smartNumberFilter"!==e.filterVariant||e.filterFn?e:{...e,filterFn:"includesString"}))),[t]);return{columns:a.useMemo((()=>l?[{cell:n,enableSorting:!1,header:i,id:"select",maxSize:30,minSize:30},...o]:o),[o,l,n,i])}})({defaultColumn:_,dynamicRowSelection:r,rowSelection:u}),{table:W}=ic({...f,columns:z,data:R,defaultGrouping:t}),{getHeaderGroups:$,getRowModel:q,getSelectedRowModel:K,getState:N}=W,G=q().rows,U=N().grouping,Y=a.useRef(null),{handleDragEnd:X,isHeaderReorderable:J,sensors:Q}=(({swipeableColumns:e,table:t})=>{const r=a.useMemo((()=>new Set(["select","action"])),[]),l=er.useSensors(er.useSensor(er.PointerSensor,{activationConstraint:{distance:5}})),n=a.useCallback(((t,l)=>{if(!e||!l||t.isPlaceholder)return!1;const n=t.column.id,i=t.column.columnDef,o=i?.accessorKey,{enableColumnOrdering:a}=i;return!1!==a&&"action"!==o&&!r.has(n)}),[e,r]);return{handleDragEnd:a.useCallback((r=>{if(!e)return;const{active:l,over:n}=r;if(!n||l.id===n.id)return;const i=String(l.id),o=String(n.id),a=t.getColumn(i),s=t.getColumn(o);if(!a||!s)return;if(a.getIsPinned()||s.getIsPinned())return;const d=t.getAllLeafColumns(),c=t.getState().columnOrder.length>0?t.getState().columnOrder:d.map((e=>e.id)),{center:u,left:p,right:h}=c.reduce(((e,r)=>{const l=t.getColumn(r);if(!l)return e;const n=l.getIsPinned();return"left"===n?e.left.push(r):"right"===n?e.right.push(r):e.center.push(r),e}),{center:[],left:[],right:[]}),C=u.indexOf(i),x=u.indexOf(o);if(-1===C||-1===x)return;const f=[...p,...tr.arrayMove(u,C,x),...h];t.setColumnOrder(f)}),[e,t]),isHeaderReorderable:n,sensors:l}})({swipeableColumns:p,table:W}),ee=(({enabled:e,table:t})=>{const[r,l]=a.useState({activeCell:null,isSelecting:!1,selectedCells:new Set,selectionRange:null}),[n,i]=a.useState(!1),o=a.useRef(!1),s=a.useRef(null),d=a.useCallback(((e,t)=>`${e}-${t}`),[]),c=a.useCallback(((e,r)=>{const l=new Set,{getRowModel:n,getVisibleFlatColumns:i}=t,o=n().rows,a=i(),s=o.findIndex((({id:t})=>t===e.rowId)),c=o.findIndex((({id:e})=>e===r.rowId)),u=a.findIndex((({id:t})=>t===e.columnId)),p=a.findIndex((({id:e})=>e===r.columnId));if(-1===s||-1===c||-1===u||-1===p)return l;const h=Math.min(s,c),C=Math.max(s,c),x=Math.min(u,p),f=Math.max(u,p);for(let e=h;e<=C;e++){const t=o[e];if(t)for(let e=x;e<=f;e++){const r=a[e];r&&l.add(d(t.id,r.id))}}return l}),[t,d]),u=a.useCallback(((t,r,n=!1)=>{if(!e)return;const i={columnId:r,rowId:t};if(n&&s.current){const e=c(s.current,i);l({activeCell:i,isSelecting:!1,selectedCells:e,selectionRange:{end:i,start:s.current}})}else o.current=!0,s.current=i,l({activeCell:i,isSelecting:!0,selectedCells:new Set([d(t,r)]),selectionRange:{end:i,start:i}})}),[e,d,c]),p=a.useCallback(((t,r)=>{e&&o.current&&l((e=>{if(!e.selectionRange)return e;const l={end:{columnId:r,rowId:t},start:e.selectionRange.start},n=c(l.start,l.end);return{...e,isSelecting:!0,selectedCells:n,selectionRange:l}}))}),[e,c]),h=a.useCallback((()=>{e&&(o.current=!1,l((e=>({...e,isSelecting:!1}))))}),[e]),C=a.useCallback((()=>{o.current=!1,s.current=null,l({activeCell:null,isSelecting:!1,selectedCells:new Set,selectionRange:null})}),[]),x=a.useCallback(((e,t)=>r.selectedCells.has(d(e,t))),[r.selectedCells,d]),f=a.useCallback((()=>{i(!0),setTimeout((()=>{i(!1)}),500)}),[]);return{clearCellSelection:C,endCellSelection:h,getCellSelectionData:a.useCallback((()=>{if(!r.selectionRange)return[];const{end:e,start:l}=r.selectionRange,{getRowModel:n,getVisibleFlatColumns:i}=t,o=n().rows,a=i(),s=o.findIndex((({id:e})=>e===l.rowId)),d=o.findIndex((({id:t})=>t===e.rowId)),c=a.findIndex((({id:e})=>e===l.columnId)),u=a.findIndex((({id:t})=>t===e.columnId));if(-1===s||-1===d||-1===c||-1===u)return[];const p=Math.min(s,d),h=Math.max(s,d),C=Math.min(c,u),x=Math.max(c,u),f=[];for(let e=p;e<=h;e++){const t=o[e];if(!t)continue;const r=[];for(let e=C;e<=x;e++){const l=a[e];if(!l)continue;const n=t.getVisibleCells().find((e=>e.column.id===l.id));if(!n){r.push("");continue}let i="";const o=n.getValue();i="object"==typeof o?JSON.stringify(o):String(o),r.push(i)}f.push(r)}return f}),[r.selectionRange,t]),isCellSelected:x,isCopyFlashing:n,selectionState:r,startCellSelection:u,triggerCopyFlash:f,updateCellSelection:p}})({enabled:n,table:W}),{clearCellSelection:te,endCellSelection:re,getCellSelectionData:le,selectionState:ne,triggerCopyFlash:ie}=ee;(({enabled:e,getCellSelectionData:t,hasSelection:r,triggerCopyFlash:l})=>{const n=a.useCallback((async e=>{if(e&&0!==e.length)try{const t=e.map((e=>e.map((e=>{const t=String(e??"");return t.includes("\t")||t.includes("\n")||t.includes('"')?`"${t.replace(/"/g,'""')}"`:t})).join("\t"))).join("\n");if(navigator.clipboard?.writeText)await navigator.clipboard.writeText(t),l();else{const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select(),document.execCommand("copy"),l(),document.body.removeChild(e)}}catch{}}),[l]),i=a.useCallback((l=>{if(e&&r&&(l.ctrlKey||l.metaKey)&&"c"===l.key){const e=t();e.length>0&&(l.preventDefault(),n(e))}}),[e,r,t,n]);a.useEffect((()=>{if(e)return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}}),[e,i])})({enabled:n,getCellSelectionData:le,hasSelection:ne.selectedCells.size>0,triggerCopyFlash:ie});const oe=a.useMemo((()=>{const e=[],t=r=>{e.push({groupId:r.id,row:r});const{getIsExpanded:l,getIsGrouped:n,subRows:i}=r;if(n()&&(l()&&i&&i.length>0&&i.forEach((e=>t(e))),(E||T)&&l())){const t=((e,t,r)=>{const{subRows:l}=e;if(r&&l){const e=function(e,t){const r={},l=e.flatMap((e=>{const{getIsGrouped:t,subRows:r}=e;return t()?r.flatMap((e=>e.getIsGrouped()?e.subRows:[e])):[e]})).map((e=>e.original));return t.forEach((e=>{const t=e.calculation(l),n="number"==typeof t&&e.formatter?e.formatter(t):t;r[e.field]={value:n}})),r}(l,r);return e}return t||{}})(r,E,T);Object.keys(t).length>0&&e.push({groupId:`${r.id}-summary`,isSummary:!0,row:r,summaryData:t})}};return G.filter((e=>0===e.depth)).forEach((e=>t(e))),e}),[G,E,T]),ae=de.useVirtualizer({count:oe.length,estimateSize:()=>c,getScrollElement:()=>A.current,overscan:20}),{columnWidths:se}=(({columns:e,headerRef:t,table:r})=>{const[l,n]=a.useState([]),{getColumn:i,getRowModel:o,getState:s}=r,d=s().columnSizing,c=s().columnOrder,u=o().rows.length,p=a.useCallback((()=>{if(t.current){const e=t.current.querySelectorAll("tr"),r=e[e.length-1];if(r){const e=r.querySelectorAll("th"),t=Array.from(e).map((e=>{const t=e.getAttribute("data-column-id"),r=t?i(t)?.columnDef:null;return e.getBoundingClientRect().width??r?.size??50}));n(t)}}else{const t=[],r=e=>{e.forEach((e=>{"columns"in e&&e.columns?r(e.columns):t.push(e)}))};r(e),n(t.map((e=>e.size??150)))}}),[t,r,e]);return a.useEffect((()=>{p(),window.addEventListener("resize",p);const e=new ResizeObserver((()=>{p()}));return t.current?.parentElement&&e.observe(t.current.parentElement),()=>{window.removeEventListener("resize",p),e.disconnect()}}),[d,c,e.length,u,p]),{columnWidths:l}})({columns:_,headerRef:B,table:W});a.useImperativeHandle(g,(()=>({clearCellSelection:te,getCellSelectionData:le,getSelectedRows:()=>K().rows.map((e=>e.original)),getTable:()=>W,setNotifyCallback:e=>{Y.current=e}})),[W,ee]),a.useEffect((()=>{Y.current&&Y.current()}),[W.getSelectedRowModel().rows]),a.useEffect((()=>{if(!v||!A.current)return;const e=A.current,t=e.scrollTop,r=e.scrollLeft,l=l=>{l.preventDefault(),l.stopPropagation(),e.scrollTop=t,e.scrollLeft=r},n=e=>{e.preventDefault(),e.stopPropagation()};return e.addEventListener("scroll",l,{passive:!1,capture:!0}),e.addEventListener("wheel",n,{passive:!1,capture:!0}),e.addEventListener("touchmove",l,{passive:!1,capture:!0}),()=>{e.removeEventListener("scroll",l,{capture:!0}),e.removeEventListener("wheel",n,{capture:!0}),e.removeEventListener("touchmove",l,{capture:!0})}}),[v]);const ce=a.useMemo((()=>$().some((e=>e.headers.some((e=>{const t=e.column.columnDef,r=!!t.filterVariant,l=!!t.facetedFilter;return r||l&&!(l&&r)}))))),[z]),ue=$(),pe=(e,t)=>0===t.length?e:e.filter((e=>{if("grouped_by"===e.column.id)return!0;const r=e.column.id,l=e.column.columnDef?.accessorKey;return!(t.includes(r)||l&&t.includes(l))})),{handleDragEnd:he,handleDragStart:Ce,handleRemoveGroup:xe,allDraggableIds:fe,customCollisionDetection:ge,hasGroupableColumns:me}=(({table:e,swipeableColumns:t,setActiveDragId:r,currentGrouping:l,handleColumnReorder:n,filterHeaders:i,isHeaderReorderable:o,propsColumns:s,defaultGrouping:d})=>{const{getColumn:c,getHeaderGroups:u,setGrouping:p}=e,h=u(),C=a.useCallback((e=>{const t=l.filter((t=>t!==e));p(t)}),[l,e]),x=a.useCallback(((e,t,r)=>{const l=r.indexOf(e),n=r.indexOf(t),i=tr.arrayMove(r,l,n);p(i)}),[e]),f=a.useCallback(((e,t)=>{const r=c(e);if(!r)return!1;const l=r.columnDef;if(d.length>0&&!0===l.enableGrouping)return!1;if(!0!==l.enableGrouping)return!1;const n=l.accessorKey;if(t.includes(e)||n&&t.includes(n))return!1;if(t.length>=4)return!1;const i=n??e;return p([...t,i]),!0}),[e,d]),g=a.useCallback((e=>{r(String(e.active.id))}),[]),m=a.useCallback((e=>{r(null);const{active:i,over:o}=e;if(!o)return;const a=String(i.id),s=String(o.id),d=l,c=d.includes(a);c&&d.includes(s)?x(a,s,d):c&&"grouping-panel"===s||("grouping-panel"!==s?t&&n(e):f(a,d))}),[l,t,n,x,f]),b=a.useMemo((()=>{const e=new Set;return h.forEach((r=>{i(r.headers,l).forEach((r=>{if(r.column.getIsPinned()||"grouped_by"===r.column.id)return;const l=!0===r.column.columnDef.enableGrouping,n=t&&o(r,!0);(l||n)&&e.add(r.column.id)}))})),l.forEach((t=>{e.add(t)})),Array.from(e)}),[h,l,i,t,o]),j=a.useCallback((e=>{const{active:t}=e,r=String(t.id),n=l,i=n.includes(r),o=er.rectIntersection(e);if(i){const e=o.filter((e=>n.includes(String(e.id))&&String(e.id)!==r));if(e.length>0)return e;const t=o.find((e=>"grouping-panel"===e.id));return t?[t]:o}const a=er.pointerWithin(e).find((e=>"grouping-panel"===e.id));return a?[a]:o}),[l]);return{handleDragEnd:m,handleDragStart:g,handleRemoveGroup:C,allDraggableIds:b,hasGroupableColumns:a.useMemo((()=>s.some((e=>!0===e.enableGrouping||!!d.length))),[s,d]),customCollisionDetection:j}})({table:W,swipeableColumns:p,setActiveDragId:M,currentGrouping:U,handleColumnReorder:X,filterHeaders:pe,isHeaderReorderable:J,propsColumns:I,defaultGrouping:t});return e.jsxs(e.Fragment,{children:[e.jsxs(ec,{value:{...ee,enabled:n},children:[e.jsx("style",{children:`\n @keyframes copyFlash {\n 0% {\n background-color: ${b[700]};\n }\n 50% {\n background-color: ${b[900]};\n }\n 100% {\n background-color: ${b[700]};\n }\n }\n `}),e.jsxs(er.DndContext,{sensors:Q,collisionDetection:ge,onDragStart:e=>{Ce(e),H(!1)},onDragEnd:e=>{if(S&&v){U.includes(v)||(t=v,P((e=>{const r=new Set(e);return r.add(t),r})))}var t;he(e),H(!1)},onDragMove:e=>{if(Z.current&&e.active){const t=Z.current.getBoundingClientRect(),r=e.activatorEvent.clientX+(e.delta?.x??0),l=e.activatorEvent.clientY+(e.delta?.y??0),n=r<t.left||r>t.right||l<t.top||l>t.bottom,i="grouping-panel"===e.over?.id;H(n&&!i)}},onDragOver:e=>{k(e.over?String(e.over.id):null)},onDragCancel:()=>{k(null),M(null),H(!1)},children:[e.jsx(tr.SortableContext,{items:fe,children:e.jsxs("div",{ref:Z,style:{display:"flex",flexDirection:"column",height:s||"calc(100vh - 100px)",position:"relative"},onMouseUp:re,children:[e.jsxs("div",{style:{display:"flex",gap:10,justifyContent:"center",alignItems:"center",backgroundColor:"white"},children:[me&&e.jsx(Pd,{groupedColumns:U,onRemoveGroup:xe,table:W,defaultGrouping:t}),h&&e.jsx("div",{style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"5px",border:"1px solid",width:"25px",height:"25px",marginRight:"10px"},children:e.jsx(rr.ReportColumns,{width:20,height:20,onClick:()=>{D(!0)}})})]}),e.jsx("div",{ref:A,style:{border:`1px solid ${m.palette.divider}`,flexGrow:1,height:"100%",overflow:v?"hidden":"auto",position:"relative",pointerEvents:v?"none":"auto",touchAction:v?"none":"auto"},children:e.jsxs("table",{style:{borderCollapse:"separate",borderSpacing:0,fontFamily:"arial, sans-serif",minHeight:"100%",tableLayout:"fixed",width:"100%"},children:[e.jsx("thead",{ref:B,style:{position:"sticky",top:0,zIndex:10},children:p?e.jsx(e.Fragment,{children:ue.map((r=>{const l={...r,headers:pe(r.headers,U)};return e.jsx(Yd,{defaultGrouping:t,enableSecondRowFilter:ce,headerGroup:l,isHeaderReorderable:J,loading:d,resetAllFilters:y,swipeableColumns:p},r.id)}))}):ue.map((r=>{const l=pe(r.headers,U),n=l.filter((e=>"left"===e.column.getIsPinned())),i=l.filter((e=>!e.column.getIsPinned())),o=l.filter((e=>"right"===e.column.getIsPinned())),s=e.jsxs("tr",{children:[n.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id))),i.map((r=>{const l=(e=>!0===e.column.columnDef.enableGrouping)(r);return l?e.jsx($d,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id):e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id)})),o.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id)))]},`${r.id}-row`);return e.jsxs(a.Fragment,{children:[s,ce&&!d&&e.jsx("tr",{children:l.map((t=>e.jsx(Ud,{header:t,resetAllFilters:y},t.id)))})]},r.id)}))}),e.jsx("tbody",{style:{filter:d?"blur(2px)":"none",height:`${ae.getTotalSize()}px`,position:"relative",transition:"filter 0.2s ease-in-out"},children:ae.getVirtualItems().map((t=>{const r=oe[t.index];if(!r)return null;const{groupId:l,isSummary:n,row:a,summaryData:s}=r;return e.jsx(lc,{columnWidths:se,row:a,index:t.index,virtualRow:t,rowHeight:c,isSummaryRow:n,summaryData:s,exportData:o,exportActions:i,grouping:U},`table-row-${t.index}-${n?"summary":"normal"}-${l}`)}))}),!d&&E&&e.jsx(Jd,{table:W,summary:E})]})}),u&&K().rows.length>0&&e.jsxs("div",{style:{fontSize:"14px"},children:["Selected Rows: ",K().rows.length]}),e.jsx(Rd,{table:W,clearAllFilters:()=>{W.setColumnFilters([]),W.resetColumnFilters(),$().flatMap((e=>e.headers)).forEach((e=>e.column.setFilterValue(void 0))),w(!0),setTimeout((()=>{w(!1)}),100)}}),d&&e.jsx(yd,{}),!G.length&&!d&&e.jsx(Ad,{message:l})]})}),e.jsx(Ed,{activeDragId:v,activeDragOver:L,table:W,defaultGrouping:t,isOutsideGrid:S,currentGrouping:U})]})]}),h&&e.jsx(Dd,{open:V,onClose:()=>{D(!1)},columns:O,grouping:U,onSave:e=>{P((()=>{const t=new Set;return Object.entries(e).forEach((([e,r])=>{r.hide||t.add(e)})),t})),x?.(e),D(!1)}})]})}));function ac(e){return"string"==typeof e.columnDef.header?e.columnDef.header:String(e.id)}function sc(e){return Object.fromEntries(e.map((e=>[e,""])))}function dc(e){return Object.fromEntries(Array.from(e).map((e=>[e,0])))}oc.displayName="SmartGrid";const cc=e=>{if(!e)return null;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||e instanceof Date?e:"object"==typeof e&&null!=e&&Object.keys(e).length>0?String(e):""};const uc=e=>{const t=Ri.exec(e);if(!t)return"FF000000";const r=Number(t[1]),l=Number(t[2])/100,n=Number(t[3])/100,i=Number(t[4])??1,o=ki(r,l,n);return`${Math.round(255*i).toString(16).padStart(2,"0").toUpperCase()}${o[0].toString(16).padStart(2,"0").toUpperCase()}${o[1].toString(16).padStart(2,"0").toUpperCase()}${o[2].toString(16).padStart(2,"0").toUpperCase()}`},pc=["select","srNo","action","actionBy"],hc=(e,t,r,l)=>{const n=sc(t),{id:i,totals:o}=e,a=r[i];return a&&(n[a]="Total"),l.forEach((e=>{const t=r[e];t&&(n[t]=String(o[e]??0))})),n},Cc=(e,t)=>{const{groupStack:r,numericColumns:l,builtRows:n,headers:i,colIdToHeader:o}=e,a=r[t];a&&l.size&&n.push({data:hc(a,i,o,l),type:"total"})},xc=(e,t)=>{const{headers:r,filteredVisibleCols:l,lastSeenGrouped:n}=t,{getValue:i,subRows:o,groupingColumnId:a}=e,s=sc(r);if(!a)return s;const d=l.find((({id:e})=>e===a));if(!d)return s;const c=ac(d),u=cc(i(a)),p=o?.length;return s[c]=p&&p>0?`${String(u)} (${p})`:String(u),n[c]=u,s},fc=(e,t)=>{const{depth:r,groupingColumnId:l,subRows:n}=e,{groupStack:i,numericColumns:o,builtRows:a}=t,s="number"==typeof r&&r>=0?r:0;for(;i.length>s;)Cc(t,i.length-1),i.pop();((e,t,r)=>{for(;e.length<t;)e.push({count:0,id:"",totals:dc(r)})})(i,s+1,o),i[s]={count:n?.length??0,id:l??"",totals:dc(o)},a.push({data:xc(e,t),type:"group"})},gc=(e,t)=>{const{groupStack:r}=t;for(e.forEach((e=>{e.getIsGrouped?.()?fc(e,t):((e,t)=>{const{filteredVisibleCols:r,hasGrouping:l,groupingColumnNames:n,lastSeenGrouped:i,numericColumns:o,groupStack:a,builtRows:s}=t,{getValue:d}=e,c={};r.forEach((e=>{const{id:t}=e,r=ac(e),s=cc(d(t));let u=s;if(l&&n.includes(t)&&(u=i[r]===s?"":s,i[r]=s),c[r]=u,o.has(t)){const e="number"==typeof s?s:0;a.forEach((({totals:r})=>{r[t]=(r[t]??0)+e}))}})),s.push({data:c,type:"data"})})(e,t)}));r.length>0;)Cc(t,r.length-1),r.pop()},mc=async(e,t,r,l,n,i)=>{const o=new Qn.default.Workbook,a=o.addWorksheet("Sheet1"),s=new Set(r.map((e=>l[e])).filter(Boolean));a.addRow(t).eachCell((e=>i(e,"header"))),e.forEach((e=>{const r=t.map((t=>{return r=e.data[t]??"",l=e.type,n=s.has(t),"data"!==l&&""===r?"":null===r||null==r||""===r?n?"":"-":"boolean"==typeof r?r?"Yes":"No":r;var r,l,n}));a.addRow(r).eachCell((t=>i(t,"total"===e.type?"total":void 0)))})),a.columns.forEach((e=>{let t=12;e.eachCell?.({includeEmpty:!0},(({value:e})=>{var r;t=Math.max(t,(r=e,r instanceof Date?r.toLocaleDateString():"object"==typeof r&&null!=r?"text"in r&&"string"==typeof r.text?r.text:String(r):String(r??"")).length+2)})),e.width=Math.min(t,60)}));const d=await o.xlsx.writeBuffer();h.saveAs(new Blob([d]),`${n}.xlsx`)};async function bc(e,t,r){try{const l=e.current?.getTable(),n=[...pc,...t.excludedColumns??[]],i=l?.getVisibleLeafColumns(),{colIdToHeader:o,filteredVisibleCols:a,headers:s}=((e,t)=>{const r=e.filter((({id:e})=>!t.includes(e))),l=[],n={};return r.forEach((e=>{const t=ac(e);l.push(t),n[e.id]=t})),{colIdToHeader:n,filteredVisibleCols:r,headers:l}})(i,n),d=l?.getRowModel().rows,c=l?.getState().grouping??[],u={builtRows:[],colIdToHeader:o,filteredVisibleCols:a,groupStack:[],groupingColumnNames:c,hasGrouping:c.length>0,headers:s,lastSeenGrouped:{},numericColumns:new Set(t.numericColumns??[])};gc(d,u),await mc(u.builtRows,s,c,o,t.fileName,r)}catch(e){Ea.error({title:`Failed to export to Excel: ${e}`})}}const jc=({wrapper:t,title:r,position:l})=>{const n=j.useTheme(),{iron:i}=n.palette.app.color,o=t.getBoundingClientRect(),a={position:"absolute",zIndex:999999,background:i[200],color:i[600],padding:"4px 8px",borderRadius:4,fontSize:12,pointerEvents:"none",whiteSpace:"nowrap",transition:"opacity 0.2s ease, transform 0.2s ease",opacity:1},s={position:"absolute",width:0,height:0,borderStyle:"solid"};switch(l){case"top":a.top=o.top-28,a.left=o.left+o.width/2,a.transform="translateX(-50%)",Object.assign(s,{borderWidth:"6px 6px 0 6px",borderColor:`${i[200]} transparent transparent transparent`,bottom:-6,left:"50%",transform:"translateX(-50%)"});break;case"bottom":a.top=o.bottom+4,a.left=o.left+o.width/2,a.transform="translateX(-50%)",Object.assign(s,{borderWidth:"0 6px 6px 6px",borderColor:`transparent transparent ${i[200]} transparent`,top:-6,left:"50%",transform:"translateX(-50%)"});break;case"left":a.top=o.top+o.height/2,a.left=o.left-8,a.transform="translateY(-50%)",Object.assign(s,{borderWidth:"6px 0 6px 6px",borderColor:`transparent transparent transparent ${i[200]}`,right:-6,top:"50%",transform:"translateY(-50%)"});break;case"right":a.top=o.top+o.height/2,a.left=o.right+8,a.transform="translateY(-50%)",Object.assign(s,{borderWidth:"6px 6px 6px 0",borderColor:`transparent ${i[200]} transparent transparent`,left:-6,top:"50%",transform:"translateY(-50%)"})}return e.jsxs("div",{style:a,children:[r,e.jsx("div",{style:s})]})},yc=({children:t,title:r,position:l="top",delay:n=50})=>{const[i,o]=a.useState(!1),s=a.useRef(null),d=a.useRef(null);a.useEffect((()=>()=>{d.current&&clearTimeout(d.current)}),[]);const c=i&&r&&s.current?dr.createPortal(e.jsx(jc,{wrapper:s.current,title:r,position:l}),document.body):null;return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:s,style:{display:"inline-block",width:"100%"},onMouseEnter:()=>{d.current&&clearTimeout(d.current),d.current=setTimeout((()=>o(!0)),n)},onMouseLeave:()=>{d.current&&clearTimeout(d.current),o(!1)},children:t}),c]})},wc=a.forwardRef((({errorMessage:t,options:r,...l},n)=>{const i=j.useTheme(),{butterflyBlue:o,lipstickRed:s,iron:d}=i.palette.app.color,[c,u]=a.useState(!1);return e.jsx(yc,{title:t??"",position:"top",delay:50,children:e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:e.jsx("div",{style:{display:"flex",alignItems:"center",border:`2px solid ${t&&!c?s[900]:c?o[900]:d[800]}`,borderRadius:"4px",padding:"4px 8px",background:"white",minHeight:"20px"},children:e.jsx("select",{ref:n,...l,style:{width:"100%",border:"none",background:"transparent",padding:"0",fontSize:"13px",outline:"none",cursor:"pointer"},onClick:e=>e.stopPropagation(),onFocus:e=>{e.stopPropagation(),u(!0)},onBlur:e=>{e.stopPropagation(),u(!1)},children:0===r.length?e.jsx("option",{value:"",disabled:!0,children:"No Options"}):e.jsxs(e.Fragment,{children:[e.jsx("option",{value:"",children:"Select Option"}),r.map((t=>e.jsx("option",{value:String(t.value),children:t.label},t.value)))]})})})})})}));wc.displayName="SmartSelectFieldComponent";const vc=a.memo(wc,((e,t)=>e.name===t.name&&e.value===t.value&&e.disabled===t.disabled&&e.options===t.options&&e.errorMessage===t.errorMessage));vc.displayName="SmartSelectField";const Mc=a.forwardRef((({errorMessage:t,...r},l)=>{const n=j.useTheme(),{butterflyBlue:i,lipstickRed:o,iron:s}=n.palette.app.color,[d,c]=a.useState(!1);return e.jsx(yc,{title:t??"",position:"top",delay:50,children:e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:e.jsx("div",{style:{display:"flex",alignItems:"center",border:`2px solid ${t&&!d?o[900]:d?i[900]:s[800]}`,borderRadius:"4px",padding:"4px 8px",background:"white",minHeight:"20px"},children:e.jsx("input",{ref:l,...r,style:{width:"100%",border:"none",background:"transparent",padding:"0",fontSize:"13px",outline:"none"},onClick:e=>e.stopPropagation(),onFocus:e=>{e.stopPropagation(),c(!0)},onBlur:e=>{e.stopPropagation(),c(!1)}})})})})}));Mc.displayName="SmartTextFieldComponent";const Lc=a.memo(Mc,((e,t)=>e.name===t.name&&e.value===t.value&&e.disabled===t.disabled&&e.type===t.type&&e.errorMessage===t.errorMessage));Lc.displayName="SmartTextField";const kc=u.styled(li.default)((({theme:e})=>({[`&.${hr.stepConnectorClasses.alternativeLabel}`]:{top:10,left:"calc(-50% + 16px)",right:"calc(50% + 16px)"},[`&.${hr.stepConnectorClasses.active}`]:{[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#784af4"}},[`&.${hr.stepConnectorClasses.completed}`]:{[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#784af4"}},[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#eaeaf0",borderTopWidth:3,borderRadius:1,...e.applyStyles("dark",{borderColor:e.palette.grey[800]})}}))),Sc=u.styled("div")((({theme:e})=>({color:"#eaeaf0",display:"flex",height:22,alignItems:"center","& .QontoStepIcon-completedIcon":{color:"#784af4",zIndex:1,fontSize:18},"& .QontoStepIcon-circle":{width:8,height:8,borderRadius:"50%",backgroundColor:"currentColor"},...e.applyStyles("dark",{color:e.palette.grey[700]}),variants:[{props:({ownerState:e})=>e.active,style:{color:"#784af4"}}]})));function Hc(t){const{active:r,completed:l,className:n}=t;return e.jsx(Sc,{ownerState:{active:r},className:n,children:l?e.jsx(Al.default,{className:"QontoStepIcon-completedIcon"}):e.jsx("div",{className:"QontoStepIcon-circle"})})}const Zc=()=>e.jsx(Br.default,{flex:1,children:e.jsx(cl.default,{height:"30px",sx:{maxWidth:"200px",transform:"scale(1)"}})});function Vc({id:t,label:r,value:l,menu:n,trimLabel:i=!0,activeTab:o,index:a,onArrowClick:s,menuAnchor:d,onAction:c,...p}){const h=u.useTheme(),{butterflyBlue:C}=h.palette.app.color,x=l===o.value,f=r.toLowerCase().replaceAll(/[ _]/g,"-"),g=di.default(r,{length:i?15:r.length,omission:i?"...":""}),m=x?r:g,b={title:"Edit",onClick:()=>c&&c("editTemplate",o)},j={title:"Delete",onClick:()=>c&&c("deleteTemplate",o)},y={key:t,iconPosition:"end","data-cy":f,"data-ptag":f,value:l??a,label:e.jsxs(Zr.default,{direction:"row",gap:"6px",alignItems:"center",children:[e.jsx(_r.default,{variant:"body1",sx:{whiteSpace:"nowrap"},children:m}),x&&a>0&&e.jsx(Ao,{items:[b,j]})]})};return r.length>15&&!x&&(y.title=r),l===o.value&&n?.length&&(y.icon=e.jsx(Nr.default,{onClick:s,id:`tabDropDown-${l}`,"aria-controls":null!==d?`dropDownMenu-${l}`:void 0,"aria-expanded":null!==d?"true":void 0,"aria-haspopup":"true","data-cy":`${f}-arrowicon`,"data-ptag":`${f}-arrowicon`})),e.jsx(ni.default,{sx:{borderBottom:"2px solid",borderBottomColor:x?C[900]:"white",overflow:"visible",[`&.${si.default.root}`]:{minHeight:"40px",height:"40px",paddingLeft:x&&a>0?"15px":"10px"},"&:hover":{backgroundColor:C[500]}},...y,...p})}function Dc({tabs:t,activeTab:r,menuAnchor:l,onClose:n,onMenuItemClick:i}){return e.jsx(e.Fragment,{children:t.filter((e=>!!e.menu)).map((t=>e.jsx(Sr.default,{anchorEl:l,open:t.value===r.value&&!!l,onClose:n,id:`dropDownMenu-${t.value}`,MenuListProps:{"aria-labelledby":`tabDropDown-${t.value}`},children:t.menu?.map((t=>e.jsx(Hr.default,{onClick:()=>{i(),t.onClick(r)},disabled:t.disabled,children:t.label},t.label)))},t.value)))})}const Ac=({totalDots:t,intervals:r,startTimeline:l})=>e.jsx(Br.default,{sx:{position:"relative",width:"100%",height:4},children:r?.map(((r,n)=>{const i=bi(r.in_time),o=bi(r.out_time),a=p.DateTime.fromISO(r.in_time),s=p.DateTime.fromISO(r.out_time).diff(a,["hours","minutes"]).toFormat("hh:mm");let d=Bc(i),c=Bc(o);const u=!isNaN(d),h=!isNaN(c);u&&d<l&&(d+=t),h&&(c<l&&(c+=t),u&&c<d&&(c+=t));let C="",x="";u&&(C=`In time : ${i} ${h?"":" / Missing punch"}`),h&&(x=`Out time : ${o} ${u?"":"/ Missing punch"}`);const f=r?.name??`In/Out: ${bi(r.in_time)} - ${bi(r.out_time)} (${s})`,g=r?.color??Ci(r.status_type),m=u?(d-l)/t*100:0,b=h?(c-l)/t*100:0,j=u&&h?Math.max(b-m,0):0;return e.jsxs(Zr.default,{direction:"row",children:[u&&e.jsx(Pr.default,{arrow:!0,title:C,placement:"top",children:e.jsx(Br.default,{sx:{height:8,width:8,position:"absolute",left:`${m}%`,boxShadow:"none",backgroundColor:g,borderRadius:"50%",top:"15px",zIndex:3,"&:focus, &:hover, &:active":{boxShadow:"none"}}})}),u&&h&&e.jsx(Pr.default,{arrow:!0,title:f,placement:"top",children:e.jsx(Br.default,{sx:{position:"absolute",left:`${m}%`,width:`${j}%`,height:3.5,top:"17.5px",backgroundColor:g,zIndex:2}})}),h&&e.jsx(Pr.default,{arrow:!0,title:x,placement:"top",children:e.jsx(Br.default,{sx:{height:8,width:8,position:"absolute",left:`${b}%`,boxShadow:"none",backgroundColor:g,borderRadius:"50%",top:"15px",zIndex:3,"&:focus, &:hover, &:active":{boxShadow:"none"}}})})]},n)}))}),Bc=e=>{const t=p.DateTime.fromFormat(e,"HH:mm");return t.hour+t.minute/60},Ic=u.styled(Jr.default,{shouldForwardProp:e=>"$isParent"!==e&&"$borderColor"!==e&&"$backgroundColor"!==e&&"$baseColor"!==e})((({theme:e,isParent:t,borderColor:r,backgroundColor:l,baseColor:n})=>({width:"auto",minWidth:0,padding:e.spacing(1),borderRadius:12,border:`1px solid ${r}`,boxShadow:t?`0 6px 18px ${u.alpha(n,.2)}`:"none",backgroundColor:l,display:"flex",alignItems:"center",gap:e.spacing(1),minHeight:40,overflow:"hidden",flex:"1 1 auto",[e.breakpoints.down("sm")]:{flex:"1 1 100%"}}))),Rc=({node:t,innerRef:r,isParent:l=!1,themeColor:n})=>{const{id:i,title:o,subtitle:a,value:s}=t,d=u.useTheme(),{butterflyBlue:c,slate:p}=d.palette.app.color,h=n??c[900],C=l?h:u.alpha(h,.7),x=l?u.alpha(h,.1):"none",f=p[900];return e.jsxs(Ic,{elevation:l?3:0,ref:r,isParent:l,borderColor:C,backgroundColor:x,baseColor:h,children:[e.jsxs(Br.default,{children:[e.jsx(_r.default,{variant:"subtitle2",noWrap:!0,children:o}),e.jsx(_r.default,{variant:"subtitle2",color:f,noWrap:!0,children:a})]}),e.jsx(Zo,{padding:{paddingLeft:1},children:e.jsx(Br.default,{sx:{ml:"auto",textAlign:"right"},children:e.jsx(_r.default,{noWrap:!0,variant:"body2",children:s})})})]},i)},Tc=({node:t,setRef:r,themeColor:l,itemWidth:n})=>{const{id:i,children:o}=t,a=!!o?.length;return e.jsxs(Br.default,{sx:{display:"flex",gap:3,alignItems:"flex-start",flex:`1 0 ${n}`},children:[e.jsx(Rc,{node:t,isParent:a,innerRef:e=>r(i,e),themeColor:l}),a&&e.jsx(Zr.default,{spacing:1,sx:{mt:.5},children:el.default(o,(t=>e.jsx(Tc,{node:t,setRef:r,themeColor:l,itemWidth:n},t.id)))})]},i)},Ec=({node:t,setRef:r,themeColor:l})=>{const{id:n,children:i}=t,o=!!i?.length;return e.jsxs(Zr.default,{gap:1,children:[e.jsx(Rc,{node:t,isParent:o,innerRef:e=>r(n,e),themeColor:l}),o&&e.jsx(Zo,{padding:{paddingLeft:3,paddingTop:1},children:e.jsx(Zr.default,{spacing:1,children:el.default(i,(t=>e.jsx(Ec,{node:t,setRef:r,themeColor:l},t.id)))})})]},n)};u.styled(Sr.default)((({theme:e})=>({[`& .${hi.default.paper}`]:{boxShadow:e.palette.app.paperBoxShadow,minWidth:"29rem",width:"auto",margin:"0 0.5rem",borderRadius:"8px",overflow:"visible","& .MuiList-root":{padding:"0",overflow:"visible"}}})));const Fc=u.styled(kr.default,{shouldForwardProp:e=>"isOpened"!==e})((({theme:e})=>({paddingInline:"0.3rem",paddingBlock:"0.2rem",borderRadius:"8px",color:e.palette.app.color.black[900]})));exports.ActionButton=({loading:t=!1,children:r,...l})=>{const n=u.useTheme(),{lightBlue:i}=n.palette.app.color;return e.jsx(Lr.default,{...l,children:e.jsxs(Zr.default,{gap:"10px",flexDirection:"row",alignItems:"center",children:[t?e.jsx(Wr.default,{size:28}):r,e.jsx($r.default,{orientation:"vertical",sx:{borderColor:i[100],height:"22px"}}),e.jsx(zr.default,{fontSize:"small"})]})})},exports.ActionButtons=({buttons:t,justifyContent:r="end",sx:l,buttonSx:n,shouldOpenMenuOnShortcut:i=!1,disable:o=!1,shortcutKey:s="a"})=>{const[d,c]=a.useState(null),[u,p]=a.useState(null),h=a.useRef({}),C=a.useId(),x=(e,t)=>{const r=e instanceof HTMLElement?e:e.currentTarget;c(r),p(t)},f=()=>{c(null),p(null)},g=t.some((e=>{const t=e.menuItems?.some((e=>!e.hidden));return!!e.menuItems?.length&&!e.hidden&&!e.disabled&&t})),m=i&&g&&!o;return Di({key:m?s:`disabled-${C}`,modifierKeys:["ctrl","shift"],onTrigger:()=>{if(!m)return!1;const e=t.find((e=>{const t=e.menuItems?.some((e=>!e.hidden));return!!e.menuItems?.length&&!e.hidden&&!e.disabled&&t}));if(e){const t=h.current[e.key];if(t&&document.contains(t))return x(t,e.key),!0}return!1}}),e.jsx(Zr.default,{direction:"row",sx:l,gap:"1.6rem",justifyContent:r,children:t.filter((e=>!e.hidden)).map((({menuItems:t,key:r,menuPlacement:l,...i})=>{const s=t?.filter((e=>!e.hidden)),c=u===r,p=s&&s.length>0?e=>x(e,r):i.onClick??Vr.default,C={...i,onClick:p};return e.jsxs(a.Fragment,{children:[i.label?e.jsx(Lr.default,{sx:n,...C,disabled:o||i.disabled,ref:e=>{h.current[r]=e},children:i.label},r):e.jsx(kr.default,{ref:e=>{h.current[r]=e},...C,children:i.icon},r),c&&s&&e.jsx(Sr.default,{anchorEl:d,open:Boolean(d&&c),onClose:f,anchorOrigin:{vertical:"bottom",horizontal:"left"===l?"left":"right"},sx:{top:"3px"},children:s.map((t=>t.subMenuItems&&t.subMenuItems.length>0?t.subMenuItems.map((t=>e.jsxs(Hr.default,{onClick:()=>{f(),t.onClick?.()},children:[t.icon,t.label]},t.key))):e.jsxs(Hr.default,{onClick:()=>{f(),t.onClick?.()},children:[t.icon,t.label]},t.key)))})]},r)}))})},exports.ActionButtonsWrapper=function({children:t,disabled:r}){const l=a.useRef(null);return a.useEffect((()=>{const e=l.current;if(!e||r)return;const t=t=>{if("Enter"!==t.key||t.shiftKey||t.ctrlKey||t.metaKey||t.altKey||r)return;if(document.querySelector('.MuiDialog-root, [role="dialog"], .MuiPopover-root, .MuiModal-root'))return;const l=document.activeElement,n=l?.closest(".ag-cell");if(!n||!e||!n.contains(e))return;if(n.classList.contains("ag-cell-inline-editing"))return;if(!l)return;if(!(l===n||n.contains(l)))return;const i=e.querySelector("button:focus, [role='button']:focus, [tabindex='0']:focus");if(i)return t.preventDefault(),t.stopPropagation(),void i.click();const o=e.querySelector("button, [role='button'], [tabindex='0']");o&&(t.preventDefault(),t.stopPropagation(),o.focus())},n=t=>{const r=t.target;if(!e?.contains(r))return;const l=Array.from(e.querySelectorAll("button, [role='button'], [tabindex='0']")),n=l.indexOf(r);((e,t)=>{"Enter"!==e.key&&" "!==e.key||!("BUTTON"===t.tagName||t.hasAttribute("role")&&"button"===t.getAttribute("role"))||(e.preventDefault(),e.stopPropagation(),t.click())})(t,r),"Tab"!==t.key||t.shiftKey||-1===n||((t,r,l,n)=>{if(n===l.length-1){t.preventDefault(),t.stopPropagation(),r.blur();const l=e.closest(".ag-cell");return void(l&&l.focus())}const i=l[n+1];i&&(t.preventDefault(),t.stopPropagation(),i.focus())})(t,r,l,n),"Tab"===t.key&&t.shiftKey&&-1!==n&&((t,r,l,n)=>{if(0===n){t.preventDefault(),t.stopPropagation(),r.blur();const l=e.closest(".ag-cell");return void(l&&l.focus())}const i=l[n-1];i&&(t.preventDefault(),t.stopPropagation(),i.focus())})(t,r,l,n)},i=e.closest(".ag-cell");return i?(i.addEventListener("keydown",t,!0),e.addEventListener("keydown",n),()=>{i.removeEventListener("keydown",t,!0),e.removeEventListener("keydown",n)}):void 0}),[r]),e.jsx("div",{ref:l,style:{display:"contents"},"data-action-buttons-wrapper":"true",children:t})},exports.ActionCell=Ao,exports.AddIconAction=vo,exports.AgGrid=_o,exports.AppBar=({drawerOpen:t,children:r,...l})=>e.jsx(Qo,{position:"fixed",open:t,...l,children:e.jsx(Zr.default,{direction:"row",alignItems:"center",minHeight:{xs:"58px",lg:"64px"},children:e.jsx(Zo,{padding:{padding:{lg:"0 20px",xs:"0px 5px"}},children:r})})}),exports.AppLogoMedium=bo,exports.AppLogoSmall=jo,exports.ArrowUp=Ui,exports.ArrowUpRight=Gi,exports.AttendanceCard=({variant:t,label:r,value:l,isLoading:n=!1})=>e.jsx(Br.default,{sx:{height:"93px",borderRadius:"8px",border:`1px solid ${Ci(t)}`,backgroundColor:`${Ci(t,"light")}`,position:"relative"},children:e.jsxs(Zo,{padding:{padding:"15px"},children:[e.jsxs(Zr.default,{gap:"15px",children:[e.jsx(_r.default,{noWrap:!0,children:r}),n?e.jsx(cl.default,{width:80,height:25,sx:{transform:"scale(1)",borderRadius:"4px"}}):e.jsx(_r.default,{noWrap:!0,variant:"h6",children:l})]}),e.jsx(Br.default,{sx:{position:"absolute",top:"0px",right:"5px"},children:e.jsx(go,{variant:t})})]})}),exports.AttendanceManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80622)"}),e.jsxs("g",{clipPath:"url(#clip0_42245_80622)",children:[e.jsx("path",{d:"M5 17.6636C5.00106 18.5473 5.35259 19.3944 5.97748 20.0193C6.60237 20.6441 7.4496 20.9956 8.33333 20.9967H17.6667C18.5504 20.9956 19.3976 20.6441 20.0225 20.0193C20.6474 19.3944 20.9989 18.5473 21 17.6636V11.6641H5V17.6636ZM16.3333 14.6638C16.5311 14.6638 16.7244 14.7225 16.8889 14.8323C17.0533 14.9422 17.1815 15.0984 17.2572 15.2811C17.3329 15.4638 17.3527 15.6649 17.3141 15.8588C17.2755 16.0528 17.1803 16.231 17.0404 16.3708C16.9006 16.5106 16.7224 16.6059 16.5284 16.6445C16.3344 16.683 16.1334 16.6632 15.9506 16.5876C15.7679 16.5119 15.6117 16.3837 15.5018 16.2193C15.392 16.0548 15.3333 15.8615 15.3333 15.6638C15.3333 15.3986 15.4387 15.1442 15.6262 14.9567C15.8137 14.7692 16.0681 14.6638 16.3333 14.6638ZM13 14.6638C13.1978 14.6638 13.3911 14.7225 13.5556 14.8323C13.72 14.9422 13.8482 15.0984 13.9239 15.2811C13.9996 15.4638 14.0194 15.6649 13.9808 15.8588C13.9422 16.0528 13.8469 16.231 13.7071 16.3708C13.5672 16.5106 13.3891 16.6059 13.1951 16.6445C13.0011 16.683 12.8 16.6632 12.6173 16.5876C12.4346 16.5119 12.2784 16.3837 12.1685 16.2193C12.0586 16.0548 12 15.8615 12 15.6638C12 15.3986 12.1053 15.1442 12.2929 14.9567C12.4804 14.7692 12.7348 14.6638 13 14.6638ZM9.66666 14.6638C9.86444 14.6638 10.0578 14.7225 10.2222 14.8323C10.3867 14.9422 10.5149 15.0984 10.5905 15.2811C10.6662 15.4638 10.686 15.6649 10.6474 15.8588C10.6089 16.0528 10.5136 16.231 10.3738 16.3708C10.2339 16.5106 10.0557 16.6059 9.86175 16.6445C9.66777 16.683 9.4667 16.6632 9.28398 16.5876C9.10125 16.5119 8.94507 16.3837 8.83519 16.2193C8.72531 16.0548 8.66666 15.8615 8.66666 15.6638C8.66666 15.3986 8.77202 15.1442 8.95955 14.9567C9.14709 14.7692 9.40144 14.6638 9.66666 14.6638Z",fill:"white"}),e.jsx("path",{d:"M17.6667 6.33323H17V5.66661C17 5.48982 16.9297 5.32026 16.8047 5.19525C16.6797 5.07023 16.5101 5 16.3333 5C16.1565 5 15.9869 5.07023 15.8619 5.19525C15.7369 5.32026 15.6667 5.48982 15.6667 5.66661V6.33323H10.3333V5.66661C10.3333 5.48982 10.2631 5.32026 10.1381 5.19525C10.013 5.07023 9.84347 5 9.66666 5C9.48985 5 9.32028 5.07023 9.19526 5.19525C9.07023 5.32026 8.99999 5.48982 8.99999 5.66661V6.33323H8.33333C7.4496 6.33429 6.60237 6.68579 5.97748 7.31063C5.35259 7.93548 5.00106 8.78264 5 9.6663L5 10.3329H21V9.6663C20.9989 8.78264 20.6474 7.93548 20.0225 7.31063C19.3976 6.68579 18.5504 6.33429 17.6667 6.33323Z",fill:"white"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80622",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80622",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.AttendanceReportDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78172)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78172)",children:e.jsx("path",{d:"M5.33594 10.3333V9.66667C5.33594 7.82867 6.83127 6.33333 8.66927 6.33333H9.33594V5.66667C9.33594 5.29867 9.63394 5 10.0026 5C10.3713 5 10.6693 5.29867 10.6693 5.66667V6.33333H16.0026V5.66667C16.0026 5.29867 16.3006 5 16.6693 5C17.0379 5 17.3359 5.29867 17.3359 5.66667V6.33333H18.0026C19.8406 6.33333 21.3359 7.82867 21.3359 9.66667V10.3333H5.33594ZM21.3359 11.6667V17.6667C21.3359 19.5047 19.8406 21 18.0026 21H8.66927C6.83127 21 5.33594 19.5047 5.33594 17.6667V11.6667H21.3359ZM13.3359 17.6667C13.3359 17.2987 13.0379 17 12.6693 17H9.33594C8.96727 17 8.66927 17.2987 8.66927 17.6667C8.66927 18.0347 8.96727 18.3333 9.33594 18.3333H12.6693C13.0379 18.3333 13.3359 18.0347 13.3359 17.6667ZM18.0026 15C18.0026 14.632 17.7046 14.3333 17.3359 14.3333H9.33594C8.96727 14.3333 8.66927 14.632 8.66927 15C8.66927 15.368 8.96727 15.6667 9.33594 15.6667H17.3359C17.7046 15.6667 18.0026 15.368 18.0026 15Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78172",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78172",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5.33594 5)"})})]})]}),exports.AttendanceStatus=({variant:t,leaveColor:r,toolTipLabel:l})=>{const n=Ci(t);return e.jsxs(Zr.default,{sx:{position:"relative",width:"100%",alignItems:"center"},children:[e.jsx(Br.default,{sx:{position:"absolute",backgroundColor:"#ffffff",border:`1px solid ${r??n}`,borderRadius:"7px",padding:"0px 5px",zIndex:1,color:`${r??n}`,height:"28px",display:"flex",alignItems:"center",cursor:"pointer"},children:e.jsx(wo,{toolTipLabel:l,children:xi(t)})}),e.jsx(ci.default,{valueLabelDisplay:"off",value:[0,2],max:2,step:1,sx:{"& .MuiSlider-track":{background:`${r??n}`,height:"2px",border:"none"},"& .MuiSlider-thumb":{backgroundColor:`${r??n}`,height:8,width:8},"& .MuiSlider-rail":{backgroundColor:"transparent"}}})]})},exports.Autocomplete=Ua,exports.Badge=({children:t,sx:r,color:l="error",...n})=>e.jsx(hl.default,{color:l,sx:{padding:"0px",zIndex:1,"& .MuiBadge-badge":{right:5},...r},...n,children:t}),exports.BarChart=({height:t=300,width:r,skipAnimation:l=!1,loading:n=!1,tooltip:i="item",series:o,layout:a="vertical",...s})=>n?e.jsx(cl.default,{height:t,width:r,variant:"rectangular"}):e.jsx(ka,{height:t,width:r,series:o,layout:a,skipAnimation:l,slotProps:{tooltip:{trigger:i}},...s}),exports.BookMarkSvg=t=>e.jsxs("svg",{width:37,height:37,viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:.5,y:.5,width:37,height:37,rx:5.5,fill:"white"}),e.jsx("rect",{x:.5,y:.5,width:35,height:35,rx:5.5,stroke:"#bebfbf"}),e.jsx("path",{d:"M26.5 13.5833H20.6666M23.5833 10.6666V16.5",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M11.5 15.6666H17.75",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.75 11.5H13.1667C12.2462 11.5 11.5 12.2462 11.5 13.1667V27.3333L17.75 24L24 27.3333V19.4167",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.BottomDialog=function({children:t,title:r,open:l=!1,onClose:n,...i}){return e.jsx(ws,{fullScreen:!0,title:r,...i,open:l,onClose:n,PaperProps:{sx:{animation:l?"slideUp 0.2s cubic-bezier(0.25, 0.8, 0.5, 1)":""}},children:e.jsx(vs,{direction:"row",overflow:"hidden",children:e.jsx(Zo,{padding:{padding:"0.3rem"},children:t})})})},exports.Breadcrumbs=({items:t})=>{const r=u.useTheme(),{butterflyBlue:l}=r.palette.app.color;return e.jsx(ea,{children:e.jsx(Cl.default,{children:t.map((t=>{const{icon:r,text:n,onClick:i}=t;return i?e.jsx(ra,{children:e.jsxs(Br.default,{onClick:i,children:[r&&e.jsx(kr.default,{sx:{color:l[900]},children:r}),n&&e.jsx(_r.default,{children:n})]})},X.v4()):e.jsx(ta,{children:e.jsxs(Br.default,{children:[r&&e.jsx(kr.default,{sx:{color:l[900]},children:r}),n&&e.jsx(_r.default,{children:n})]})},X.v4())}))})})},exports.BriefcaseSvg=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14.6667 4.66667H13.9333C13.7786 3.91428 13.3692 3.23823 12.7742 2.75248C12.1791 2.26673 11.4348 2.00097 10.6667 2L9.33333 2C8.5652 2.00097 7.82088 2.26673 7.22583 2.75248C6.63079 3.23823 6.2214 3.91428 6.06667 4.66667H5.33333C4.4496 4.66773 3.60237 5.01925 2.97748 5.64415C2.35259 6.26904 2.00106 7.11627 2 8L2 14.6667C2.00106 15.5504 2.35259 16.3976 2.97748 17.0225C3.60237 17.6474 4.4496 17.9989 5.33333 18H14.6667C15.5504 17.9989 16.3976 17.6474 17.0225 17.0225C17.6474 16.3976 17.9989 15.5504 18 14.6667V8C17.9989 7.11627 17.6474 6.26904 17.0225 5.64415C16.3976 5.01925 15.5504 4.66773 14.6667 4.66667ZM9.33333 3.33333H10.6667C11.0788 3.33504 11.4804 3.46406 11.8165 3.70273C12.1525 3.94139 12.4066 4.27806 12.544 4.66667H7.456C7.59339 4.27806 7.84749 3.94139 8.18353 3.70273C8.51958 3.46406 8.92116 3.33504 9.33333 3.33333ZM5.33333 6H14.6667C15.1971 6 15.7058 6.21071 16.0809 6.58579C16.456 6.96086 16.6667 7.46957 16.6667 8V10H3.33333V8C3.33333 7.46957 3.54405 6.96086 3.91912 6.58579C4.29419 6.21071 4.8029 6 5.33333 6ZM14.6667 16.6667H5.33333C4.8029 16.6667 4.29419 16.456 3.91912 16.0809C3.54405 15.7058 3.33333 15.1971 3.33333 14.6667V11.3333H9.33333V12C9.33333 12.1768 9.40357 12.3464 9.5286 12.4714C9.65362 12.5964 9.82319 12.6667 10 12.6667C10.1768 12.6667 10.3464 12.5964 10.4714 12.4714C10.5964 12.3464 10.6667 12.1768 10.6667 12V11.3333H16.6667V14.6667C16.6667 15.1971 16.456 15.7058 16.0809 16.0809C15.7058 16.456 15.1971 16.6667 14.6667 16.6667Z",fill:"black"})}),exports.BulkOperationsDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80536)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80536)",children:e.jsx("path",{d:"M9 11.6667H7V7.66667C7 6.194 8.194 5 9.66667 5H15C16.4727 5 17.6667 6.194 17.6667 7.66667H13C10.7907 7.66667 9 9.45733 9 11.6667ZM21 11.6667V15C21 16.4727 19.806 17.6667 18.3333 17.6667H17V15C17 13.1593 15.5073 11.6667 13.6667 11.6667H10.3333C10.3333 10.194 11.5273 9 13 9H18.3333C19.806 9 21 10.194 21 11.6667ZM19 11.6667C18.996 10.7947 17.6707 10.7947 17.6667 11.6667C17.6707 12.5387 18.996 12.5387 19 11.6667ZM10.9973 17.394L14.936 13.4553C14.5907 13.1707 14.148 13 13.6667 13H7C6.52133 13 6.08133 13.1693 5.73733 13.4507L9.68067 17.394C10.0327 17.7453 10.6453 17.7453 10.9973 17.394ZM11.9407 18.3367C11.414 18.8633 10.6727 19.0993 9.91467 18.9613C9.44267 18.876 9.018 18.616 8.67867 18.2767L5 14.5987V18.3333C5 19.806 6.194 21 7.66667 21H13C14.4727 21 15.6667 19.806 15.6667 18.3333V14.656L15.634 14.6427L11.94 18.3367H11.9407Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80536",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80536",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.Button=Ni,exports.ButtonContainer=ps,exports.ButtonGroup=({renderButtons:t,sx:r,containerSx:l})=>e.jsx(Kr.default,{sx:{boxShadow:"none",...l},"aria-label":"Basic button group",children:t?.map((({icon:t,value:l,label:n,selected:i,onClick:o,size:a="medium"})=>e.jsx(Ni,{variant:i?"contained":"text",onClick:()=>{qr.default(o)&&o(l)},startIcon:t,size:a,sx:r,children:n},l)))}),exports.CalendarIconAction=Mo,exports.CalendarSvg=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14.6667 4.66667H13.9333C13.7786 3.91428 13.3692 3.23823 12.7742 2.75248C12.1791 2.26673 11.4348 2.00097 10.6667 2L9.33333 2C8.5652 2.00097 7.82088 2.26673 7.22583 2.75248C6.63079 3.23823 6.2214 3.91428 6.06667 4.66667H5.33333C4.4496 4.66773 3.60237 5.01925 2.97748 5.64415C2.35259 6.26904 2.00106 7.11627 2 8L2 14.6667C2.00106 15.5504 2.35259 16.3976 2.97748 17.0225C3.60237 17.6474 4.4496 17.9989 5.33333 18H14.6667C15.5504 17.9989 16.3976 17.6474 17.0225 17.0225C17.6474 16.3976 17.9989 15.5504 18 14.6667V8C17.9989 7.11627 17.6474 6.26904 17.0225 5.64415C16.3976 5.01925 15.5504 4.66773 14.6667 4.66667ZM9.33333 3.33333H10.6667C11.0788 3.33504 11.4804 3.46406 11.8165 3.70273C12.1525 3.94139 12.4066 4.27806 12.544 4.66667H7.456C7.59339 4.27806 7.84749 3.94139 8.18353 3.70273C8.51958 3.46406 8.92116 3.33504 9.33333 3.33333ZM5.33333 6H14.6667C15.1971 6 15.7058 6.21071 16.0809 6.58579C16.456 6.96086 16.6667 7.46957 16.6667 8V10H3.33333V8C3.33333 7.46957 3.54405 6.96086 3.91912 6.58579C4.29419 6.21071 4.8029 6 5.33333 6ZM14.6667 16.6667H5.33333C4.8029 16.6667 4.29419 16.456 3.91912 16.0809C3.54405 15.7058 3.33333 15.1971 3.33333 14.6667V11.3333H9.33333V12C9.33333 12.1768 9.40357 12.3464 9.5286 12.4714C9.65362 12.5964 9.82319 12.6667 10 12.6667C10.1768 12.6667 10.3464 12.5964 10.4714 12.4714C10.5964 12.3464 10.6667 12.1768 10.6667 12V11.3333H16.6667V14.6667C16.6667 15.1971 16.456 15.7058 16.0809 16.0809C15.7058 16.456 15.1971 16.6667 14.6667 16.6667Z",fill:"black"})}),exports.Card=function({heading:t,children:r,action:l}){const n=u.useTheme(),{lightBlue:i}=n.palette.app.color;return e.jsx(Br.default,{bgcolor:i[50],flex:1,sx:{borderRadius:"5px"},children:e.jsx(Zo,{padding:{padding:1.5},children:e.jsxs(Zr.default,{gap:"10px",children:[(t||l)&&e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:[t&&e.jsx(_r.default,{variant:"h6",children:t}),l&&e.jsx(Br.default,{children:l})]}),r]})})})},exports.CardItem=la,exports.CardItemValue=na,exports.CellSelectionTable=La,exports.ChartIconSvg=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M2.83301 1.90039C3.08054 1.90039 3.31813 1.99879 3.49316 2.17383C3.66802 2.34877 3.76652 2.58567 3.7666 2.83301V17.833C3.7666 18.4695 4.01964 19.0802 4.46973 19.5303C4.91981 19.9804 5.53047 20.2334 6.16699 20.2334H21.167C21.4143 20.2335 21.6512 20.332 21.8262 20.5068C22.0012 20.6819 22.0996 20.9195 22.0996 21.167C22.0995 21.4144 22.0011 21.6512 21.8262 21.8262C21.6512 22.0011 21.4144 22.0995 21.167 22.0996H6.16699C5.03585 22.0983 3.95121 21.6485 3.15137 20.8486C2.35153 20.0488 1.90175 18.9642 1.90039 17.833V2.83301C1.90048 2.58559 1.99887 2.34879 2.17383 2.17383C2.34879 1.99887 2.58559 1.90048 2.83301 1.90039Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M6.98926 10.041C7.23679 10.041 7.47438 10.1394 7.64941 10.3145C7.82427 10.4894 7.92277 10.7263 7.92285 10.9736V16.8076C7.92277 17.055 7.82427 17.2919 7.64941 17.4668C7.47438 17.6418 7.23679 17.7402 6.98926 17.7402C6.74184 17.7401 6.50504 17.6418 6.33008 17.4668C6.15512 17.2918 6.05673 17.055 6.05664 16.8076V10.9736C6.05673 10.7262 6.15512 10.4894 6.33008 10.3145C6.50504 10.1395 6.74184 10.0411 6.98926 10.041Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M11.1768 8.38477C11.4243 8.38477 11.6619 8.48317 11.8369 8.6582C12.0118 8.83314 12.1103 9.07004 12.1104 9.31738V16.8174C12.1104 17.0649 12.0119 17.3025 11.8369 17.4775C11.6619 17.6526 11.4243 17.751 11.1768 17.751C10.9294 17.7509 10.6925 17.6524 10.5176 17.4775C10.3425 17.3025 10.2441 17.0649 10.2441 16.8174V9.31738C10.2442 9.06996 10.3426 8.83316 10.5176 8.6582C10.6925 8.48325 10.9293 8.38485 11.1768 8.38477Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M15.333 10.8848C15.5805 10.8848 15.8181 10.9832 15.9932 11.1582C16.168 11.3331 16.2665 11.57 16.2666 11.8174V16.8174C16.2666 17.0649 16.1682 17.3025 15.9932 17.4775C15.8181 17.6526 15.5805 17.751 15.333 17.751C15.0857 17.7509 14.8488 17.6524 14.6738 17.4775C14.4988 17.3025 14.4004 17.0649 14.4004 16.8174V11.8174C14.4005 11.57 14.4989 11.3332 14.6738 11.1582C14.8488 10.9832 15.0856 10.8849 15.333 10.8848Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M19.4893 7.54102C19.7368 7.54102 19.9744 7.63942 20.1494 7.81445C20.3243 7.98939 20.4228 8.22629 20.4229 8.47363V16.8076C20.4228 17.055 20.3243 17.2919 20.1494 17.4668C19.9744 17.6418 19.7368 17.7402 19.4893 17.7402C19.2418 17.7401 19.005 17.6418 18.8301 17.4668C18.6551 17.2918 18.5567 17.055 18.5566 16.8076V8.47363C18.5567 8.22622 18.6551 7.98941 18.8301 7.81445C19.005 7.6395 19.2418 7.5411 19.4893 7.54102Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M21.1543 0.900391C21.3989 0.90261 21.6327 1.00086 21.8057 1.17383C21.9786 1.34685 22.077 1.58056 22.0791 1.8252C22.0812 2.06979 21.9872 2.30544 21.8174 2.48145L21.8164 2.4834L17.1611 7.1377C16.6736 7.62512 16.0117 7.89941 15.3223 7.89941C14.633 7.89929 13.9718 7.62501 13.4844 7.1377L11.6758 5.3291C11.5356 5.19586 11.3496 5.12114 11.1562 5.12109C10.9626 5.12109 10.776 5.19648 10.6357 5.33008L7.64941 8.31641C7.47442 8.49145 7.23677 8.58979 6.98926 8.58984C6.80474 8.58978 6.62412 8.53515 6.4707 8.43262C6.31729 8.33006 6.19757 8.18416 6.12695 8.01367C6.05636 7.84322 6.03828 7.65556 6.07422 7.47461C6.11022 7.29359 6.19861 7.12662 6.3291 6.99609L9.31738 4.00781H9.31836C9.80589 3.52066 10.467 3.24707 11.1562 3.24707C11.8455 3.24712 12.5066 3.52059 12.9941 4.00781L14.8047 5.81738C14.9421 5.95462 15.1281 6.0321 15.3223 6.03223C15.5166 6.03223 15.7033 5.95474 15.8408 5.81738L20.4961 1.16309L20.4971 1.16211C20.6731 0.992095 20.9096 0.898264 21.1543 0.900391Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"})]}),exports.CheckBox=function({name:t,rules:r,control:l,defaultValue:n,size:i,loading:o=!1,navigationKey:a,...s}){const{field:{value:d=!1,onChange:c,ref:u,...p}}=De.useController({name:t,control:l,defaultValue:n,rules:r}),{navigationKey:h}=gi(),C=a??h,{inputRef:x,maintainFocus:f,handleKeyDown:g}=Zi({navigationKey:C});return o?e.jsx(Ya,{}):e.jsx(Ul.default,{icon:e.jsx(Fa,{size:i}),checkedIcon:e.jsx(Pa,{size:i}),checked:d,inputRef:e=>{x.current=e,u&&("function"==typeof u?u(e):u.current=e)},onChange:e=>{c(e.target.checked),f()},onKeyDown:e=>{g(e,void 0,!1),s.onKeyDown&&s.onKeyDown(e)},...p,...s})},exports.CheckboxInput=({...t})=>{const r=u.useTheme(),{butterflyBlue:l,iron:n}=r.palette.app.color;return e.jsx(Ir.default,{checkedIcon:e.jsx(Ar.default,{fontSize:"small",htmlColor:l[900],sx:{borderRadius:100,marginLeft:"-1px"}}),icon:e.jsx(Br.default,{sx:{width:14,height:14,border:"1px solid",borderColor:n[800],borderRadius:"4px"}}),sx:{"&:hover":{backgroundColor:"action.hover"},"&.Mui-checked:hover":{backgroundColor:"action.hover"},"& .MuiTouchRipple-root":{color:l[900]}},...t})},exports.Chip=ia,exports.ChipWithBorder=({label:t,color:r="green",toolTipLabel:l,...n})=>e.jsx(Pr.default,{title:l,arrow:!0,placement:"top",children:e.jsx(xl.default,{label:t,...n,sx:{border:`1px solid ${r}`,borderColor:r,backgroundColor:u.alpha(r,.2),borderRadius:"3px",height:"20px",width:"auto",padding:"0px",".MuiChip-label":{color:r,fontSize:"12px",fontWeight:600,padding:"5px"}}})}),exports.ClockSvg=t=>e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M11 2.5C9.21997 2.5 7.47991 3.02784 5.99987 4.01677C4.51983 5.00571 3.36628 6.41131 2.68509 8.05585C2.0039 9.70038 1.82567 11.51 2.17294 13.2558C2.5202 15.0016 3.37737 16.6053 4.63604 17.864C5.89471 19.1226 7.49836 19.9798 9.24419 20.3271C10.99 20.6743 12.7996 20.4961 14.4442 19.8149C16.0887 19.1337 17.4943 17.9802 18.4832 16.5001C19.4722 15.0201 20 13.28 20 11.5C19.9974 9.11384 19.0484 6.82616 17.3611 5.13889C15.6738 3.45162 13.3862 2.50258 11 2.5ZM11 19C9.51664 19 8.06659 18.5601 6.83323 17.736C5.59986 16.9119 4.63856 15.7406 4.07091 14.3701C3.50325 12.9997 3.35473 11.4917 3.64411 10.0368C3.9335 8.58196 4.64781 7.24559 5.6967 6.1967C6.7456 5.1478 8.08197 4.4335 9.53683 4.14411C10.9917 3.85472 12.4997 4.00325 13.8701 4.5709C15.2406 5.13856 16.4119 6.09985 17.236 7.33322C18.0601 8.56659 18.5 10.0166 18.5 11.5C18.4978 13.4885 17.7069 15.3948 16.3009 16.8009C14.8948 18.2069 12.9885 18.9978 11 19Z",fill:"black"}),e.jsx("path",{d:"M10.9989 7C10.7999 7 10.6092 7.07902 10.4685 7.21967C10.3279 7.36032 10.2489 7.55109 10.2489 7.75V10.9937L7.72061 12.5777C7.55154 12.6834 7.43134 12.8518 7.38648 13.0461C7.34161 13.2403 7.37574 13.4444 7.48136 13.6135C7.58698 13.7826 7.75545 13.9028 7.94969 13.9476C8.14393 13.9925 8.34804 13.9584 8.51711 13.8527L11.3971 12.0528C11.5059 11.9846 11.5954 11.8896 11.657 11.7769C11.7186 11.6643 11.7502 11.5377 11.7489 11.4092V7.75C11.7489 7.55109 11.6698 7.36032 11.5292 7.21967C11.3885 7.07902 11.1978 7 10.9989 7Z",fill:"black"})]}),exports.CodeSnippetBox=({children:t,language:r="typescript",isCopyable:l=!0})=>{const n=u.useTheme(),{mirage:i,iron:o}=n.palette.app.color,[s,d]=a.useState(!1);return e.jsx(Br.default,{sx:{position:"relative"},children:"string"==typeof t?e.jsxs(e.Fragment,{children:[l&&e.jsx(Br.default,{sx:{position:"absolute",top:n.spacing(1),right:n.spacing(1),zIndex:1},children:e.jsx(Pr.default,{title:s?"Copied!":"Copy code",children:e.jsx(Ni,{size:"small",onClick:()=>{"string"==typeof t&&l&&navigator.clipboard.writeText(t).then((()=>{d(!0),setTimeout((()=>{d(!1)}),2e3)})).catch((()=>{}))},variant:"text",sx:{color:o[600],fontSize:"10px"},startIcon:s?e.jsx(Al.default,{sx:{fontSize:"10px"}}):e.jsx(Bl.default,{sx:{fontSize:"10px"}}),children:s?"Copied!":"Copy code"})})}),e.jsx(we.Prism,{language:r,style:Za,customStyle:{margin:0,borderRadius:"5px",padding:n.spacing(2),background:i[900]},PreTag:"div",children:t})]}):e.jsx(Va,{children:t})})},exports.ColumnArranger=Xs,exports.ColumnArrangerDialog=function({columns:t,open:r,onClose:l,onSave:n,title:i="Column Chooser"}){const o=(e=>a.useMemo((()=>e.filter((e=>!!e.field)).map((({field:e,hide:t,headerName:r})=>{const l={field:e,headerName:r};return void 0!==t&&(l.hide=t),l}))),[e]))(t);return e.jsx(Js,{columns:o,children:({columnList:t,reset:o,getValues:a})=>e.jsx(ys,{title:i,open:r,onClose:()=>{l(),o()},maxWidth:"xs",actions:e.jsxs(ps,{sx:{justifyContent:"space-between",flex:1},children:[e.jsx(Ni,{variant:"outlined",onClick:()=>o(),children:"Reset"}),e.jsx(Ni,{"data-ptag":"submit","data-cy":"submit",onClick:()=>{const e=a(),t=Fn.default(e.columns.map((e=>[e.field,e.hide])));n(t),l()},children:"Save"})]}),children:t})})},exports.ColumnArrangerForm=Js,exports.ColumnIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0,height:"36px"},children:e.jsx(wo,{toolTipLabel:"Column Chooser",children:e.jsx(to,{disabled:t.disabled})})}),exports.CompanyBanner=t=>e.jsxs("svg",{width:"337",height:"363",viewBox:"0 0 337 363",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{clipPath:"url(#clip0_41078_85488)",children:[e.jsx("path",{d:"M169.306 56.0102C169.626 56.0102 169.946 55.7672 169.946 55.3622V1.39019C169.946 1.06619 169.706 0.742188 169.306 0.742188C168.976 0.742188 168.656 0.985186 168.656 1.39019V55.4432C168.656 55.7672 168.896 56.0102 169.306 56.0102Z",fill:"#2D3962"}),e.jsx("path",{d:"M137.562 77.6459C137.562 60.0609 151.782 45.8789 169.232 45.8789C186.762 45.8789 200.902 60.1419 200.902 77.6459H137.562Z",fill:"#F4B04E"}),e.jsx("path",{opacity:"0.47",d:"M146.367 48.0702C151.457 52.1222 158.647 53.3382 164.787 51.3122C166.397 50.7452 167.937 50.0152 169.547 49.9342C173.507 49.6912 176.817 52.8522 180.697 53.5002C185.137 54.1482 189.337 51.3122 192.897 48.5572C192.897 48.5572 180.617 36.8072 168.257 39.2372C155.897 41.6692 146.367 48.0702 146.367 48.0702Z",fill:"white"}),e.jsx("path",{opacity:"0.52",d:"M205.58 66.7878C198.47 63.6278 190.23 63.3038 182.96 66.0578C179 67.5178 175.12 69.9478 170.84 69.8678C167.05 69.8678 163.49 67.9228 159.78 67.1928C156.54 66.5448 153.07 66.8688 150 68.0848C148.63 68.6518 147.41 69.2998 145.96 69.5438C143.7 69.9488 141.44 69.2998 139.17 69.2188C135.54 69.0568 131.9 70.5158 129.32 73.0288L130.29 86.5608L206.23 82.0228L205.58 66.7878Z",fill:"#D89741"}),e.jsx("path",{opacity:"0.15",d:"M201.218 77.8906L297.438 362.903H36.2578L137.888 77.8916L201.218 77.8906Z",fill:"#F4CE2C"}),e.jsx("path",{d:"M227.321 287.536C224.731 287.536 222.472 285.672 222.152 283.078C220.862 274.164 221.341 242.316 228.691 238.183C242.511 230.323 252.442 236.076 260.922 229.998C269.412 223.921 266.342 195.719 280.802 192.316C304.872 186.643 327.012 194.342 327.012 194.342L328.461 230.647L310.201 287.13L227.321 287.536Z",fill:"#56B2A1"}),e.jsx("path",{d:"M268.189 212.816C268.189 212.816 271.749 250.661 262.619 253.66C252.929 256.82 224.249 251.147 221.899 265.653C221.899 265.653 219.239 246.447 224.889 240.531C235.719 229.186 254.619 234.778 258.979 230.726C263.429 226.674 268.189 212.816 268.189 212.816ZM225.779 361.686L272.639 335.916V293.128H240.809C237.089 293.128 234.019 290.048 234.019 286.32H309.799C309.799 290.048 306.729 293.128 303.009 293.128H276.509V336.24L322.799 361.686L314.889 361.524L276.599 349.449V361.605H272.719V349.206L233.859 361.443L225.779 361.686Z",fill:"#2D3962"}),e.jsx("path",{d:"M259.712 236.235C243.882 250.903 226.592 260.223 211.722 278.375C196.782 296.528 190.403 312.898 180.062 331.05C184.503 334.373 193.222 341.504 196.542 340.613C198.722 340.045 223.202 309.575 238.222 293.854C246.222 285.507 269.082 282.751 281.852 276.43C292.352 271.325 298.082 261.844 294.042 232.184",fill:"#AACBF2"}),e.jsx("path",{d:"M176.578 249.767L183.528 247.66L201.698 362.329L196.608 362.491L176.578 249.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M173.102 248.473H187.562V254.307H173.102V248.473Z",fill:"#468E80"}),e.jsx("path",{d:"M56.8622 249.767L49.9922 247.66L31.7422 362.329L36.8221 362.491L56.8622 249.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M60.3116 254.292H45.8516V248.457H60.3116V254.292Z",fill:"#468E80"}),e.jsx("path",{d:"M43.8516 243.449H190.072V251.229H43.8516V243.449Z",fill:"#56B2A1"}),e.jsx("path",{d:"M177.392 229.678C177.392 229.678 172.302 222.06 173.752 215.901C174.482 212.66 177.072 210.472 179.332 208.284C182.162 205.528 183.042 203.989 183.212 199.937C183.292 198.154 183.372 196.371 184.262 194.831C185.062 193.292 186.842 192.157 188.542 192.481C190.072 192.805 191.202 194.264 191.452 195.885C191.772 197.425 191.372 199.045 190.882 200.585C189.832 203.827 188.302 206.906 186.032 209.499C184.012 211.768 180.542 213.47 179.092 216.225C175.772 222.465 177.392 229.678 177.392 229.678Z",fill:"white"}),e.jsx("path",{d:"M186.519 215.092C185.219 214.606 183.689 215.416 182.639 216.227C181.589 217.118 181.099 218.901 182.149 219.792C182.879 220.522 184.089 220.441 185.059 220.035C186.189 219.549 187.159 218.577 187.319 217.442C187.489 216.227 187.079 215.335 186.519 215.092ZM178.359 201.797C177.069 201.149 174.479 201.959 174.719 203.661C174.799 204.309 175.369 204.957 176.019 205.12C176.659 205.363 177.389 205.201 177.949 204.876C178.519 204.552 178.919 203.985 178.999 203.418C179.249 202.607 178.919 202.04 178.359 201.797Z",fill:"white"}),e.jsx("path",{d:"M167.214 229.999C167.534 229.999 167.774 229.999 168.014 230.08L167.694 227.082L185.384 227.163L183.614 243.29C181.104 244.424 169.714 243.695 169.714 243.695L168.984 237.941C168.424 238.184 167.854 238.346 167.214 238.346C166.084 238.346 165.024 237.86 164.304 237.131C163.494 236.32 163.094 235.267 163.094 234.132C163.094 231.863 164.944 229.999 167.214 229.999ZM165.514 235.834C165.994 236.32 166.564 236.563 167.214 236.563C167.774 236.563 168.344 236.32 168.744 235.996L168.264 232.106C167.938 231.942 167.578 231.858 167.214 231.863C166.59 231.863 165.993 232.111 165.552 232.551C165.111 232.992 164.864 233.59 164.864 234.213C164.864 234.781 165.114 235.429 165.514 235.834Z",fill:"#F4B04E"}),e.jsx("path",{opacity:"0.52",d:"M164.703 235.908C166.563 235.098 168.743 235.665 170.683 236.313C172.623 236.962 174.563 237.853 176.583 237.691C177.793 237.61 179.003 237.205 180.213 237.205C182.563 237.205 184.583 238.744 186.433 240.203C186.603 240.365 186.273 240.608 186.523 240.527L186.113 246.524L165.353 244.174L164.703 235.908Z",fill:"#D89741"}),e.jsx("path",{opacity:"0.47",d:"M188.128 230.157C186.598 230.481 185.218 231.291 183.688 231.94C182.238 232.507 180.538 232.912 179.078 232.345C177.548 231.778 176.338 230.319 174.718 230.076C173.998 229.995 173.348 230.076 172.618 230.157C170.198 230.4 167.688 229.59 165.758 227.969L166.478 223.512L187.568 224.079L188.128 230.157Z",fill:"white"}),e.jsx("path",{d:"M92.239 227.078L87.7891 243.367H129.639L114.289 239.234L118.489 227.402L92.239 227.078Z",fill:"#2D3962"}),e.jsx("path",{d:"M146.929 229.347H58.7994C53.5394 229.347 49.0994 224.808 48.2894 218.65L42.2293 172.134C41.2693 164.435 46.1894 157.547 52.7394 157.547H140.869C146.119 157.547 150.569 162.085 151.379 168.244L157.429 214.76C158.399 222.458 153.389 229.347 146.929 229.347Z",fill:"#56B2A1"}),e.jsx("path",{d:"M157.432 214.758C158.402 222.456 153.472 229.345 146.932 229.345H58.7925C53.5425 229.345 49.1025 224.807 48.2925 218.648L47.8125 215.244L157.432 214.758Z",fill:"#2D3962"}),e.jsx("path",{d:"M126.334 206.085H80.9338C78.2638 206.085 75.9238 203.735 75.5238 200.575L72.3737 176.587C71.8837 172.616 74.3938 169.051 77.7838 169.051H123.264C125.934 169.051 128.274 171.401 128.674 174.561L131.824 198.549C132.314 202.438 129.724 206.085 126.334 206.085Z",fill:"white"}),e.jsx("path",{d:"M116.802 198.714H89.2615C87.6415 198.714 86.2715 197.255 85.9415 195.392L84.0915 180.886C83.7615 178.455 85.3016 176.348 87.4016 176.348H114.951C116.561 176.348 117.932 177.806 118.262 179.67L120.122 194.176C120.362 196.607 118.822 198.714 116.802 198.714Z",fill:"#E8E8E8"}),e.jsx("path",{d:"M84.1619 180.481C83.8319 178.049 85.3719 176.348 87.3918 176.348H114.942C116.552 176.348 117.922 177.563 118.332 180.4L84.1619 180.481Z",fill:"#56B2A1"}),e.jsx("path",{d:"M103.713 186.556C102.013 185.017 99.4335 185.26 97.8935 186.962C96.3635 188.663 96.6035 191.257 98.3035 192.796C99.9935 194.336 102.583 194.093 104.113 192.391C105.573 190.689 105.413 188.015 103.713 186.556Z",fill:"#F4B04E"}),e.jsx("path",{d:"M87.7188 199.767C88.5987 195.634 92.8088 185.909 93.5288 184.937C96.3588 187.692 98.2987 189.718 100.959 192.474C102.419 190.772 107.749 182.668 107.909 182.668C108.149 182.668 118.329 198.551 118.659 199.524L87.7188 199.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M123.341 171.568C123.267 171.567 123.194 171.552 123.126 171.523C123.058 171.495 122.996 171.453 122.944 171.4C122.892 171.348 122.851 171.285 122.823 171.217C122.795 171.148 122.781 171.075 122.781 171.001C122.781 170.688 123.031 170.434 123.341 170.434C123.651 170.434 123.911 170.688 123.911 171.001C123.911 171.314 123.651 171.568 123.341 171.568Z",fill:"#F4B04E"}),e.jsx("path",{d:"M120.672 171.001C120.672 171.325 120.922 171.568 121.242 171.568C121.316 171.569 121.39 171.555 121.459 171.527C121.528 171.499 121.591 171.457 121.643 171.404C121.696 171.351 121.737 171.288 121.764 171.219C121.791 171.149 121.804 171.075 121.802 171.001C121.804 170.926 121.791 170.852 121.764 170.783C121.737 170.713 121.696 170.65 121.643 170.597C121.591 170.544 121.528 170.502 121.459 170.474C121.39 170.446 121.316 170.432 121.242 170.434C120.922 170.434 120.672 170.677 120.672 171.001Z",fill:"#56B2A1"}),e.jsx("path",{d:"M114.453 177.806C114.453 178.13 114.703 178.373 115.023 178.373C115.343 178.373 115.593 178.13 115.593 177.806C115.594 177.731 115.58 177.657 115.552 177.587C115.524 177.518 115.482 177.454 115.429 177.401C115.376 177.348 115.312 177.307 115.243 177.279C115.173 177.251 115.098 177.237 115.023 177.238C114.703 177.238 114.453 177.481 114.453 177.806Z",fill:"#F4B04E"}),e.jsx("path",{d:"M112.274 177.807C112.274 178.131 112.514 178.374 112.834 178.374C113.164 178.374 113.404 178.131 113.404 177.807C113.406 177.731 113.392 177.656 113.365 177.586C113.337 177.516 113.295 177.453 113.241 177.4C113.188 177.346 113.124 177.305 113.054 177.277C112.984 177.249 112.909 177.236 112.834 177.239C112.759 177.237 112.685 177.251 112.616 177.279C112.547 177.307 112.484 177.349 112.432 177.402C112.379 177.455 112.338 177.519 112.311 177.588C112.284 177.658 112.271 177.732 112.274 177.807Z",fill:"white"}),e.jsx("path",{d:"M100.319 223.513H110.739C111.389 223.513 111.949 222.946 111.949 222.298C111.949 221.649 111.389 221.082 110.739 221.082H100.319C99.6693 221.082 99.1094 221.649 99.1094 222.298C99.1094 223.027 99.6693 223.513 100.319 223.513Z",fill:"#56B2A1"}),e.jsx("path",{d:"M326.519 194.02C326.519 194.02 328.369 226.759 314.879 229.919C301.389 233.08 281.759 229.595 276.269 241.994C270.769 254.474 271.499 287.537 271.499 287.537L309.389 287.213C309.389 287.213 335.319 288.672 335.639 259.498C335.889 237.375 341.139 202.934 326.519 194.02ZM104.199 66.0613C104.449 66.0613 104.689 65.8183 104.689 65.5753V60.3893C104.689 60.1453 104.449 59.9023 104.199 59.9023C103.959 59.9023 103.719 60.1453 103.719 60.3893V65.5753C103.719 65.8183 103.959 66.0613 104.199 66.0613Z",fill:"#2D3962"}),e.jsx("path",{d:"M101.701 63.4691H106.871C107.111 63.4691 107.351 63.2251 107.351 62.9821C107.351 62.7391 107.111 62.4961 106.871 62.4961H101.701C101.451 62.4961 101.211 62.7391 101.211 62.9821C101.211 63.2251 101.371 63.4691 101.701 63.4691ZM249.291 95.4781C250.341 95.4781 251.151 94.6681 251.151 93.6141C251.151 92.5601 250.341 91.7501 249.291 91.7501C248.241 91.7501 247.431 92.5601 247.431 93.6141C247.431 94.6671 248.241 95.4781 249.291 95.4781ZM249.291 92.8041C249.781 92.8041 250.181 93.2091 250.181 93.6941C250.181 94.1811 249.781 94.5861 249.291 94.5861C249.056 94.583 248.831 94.4881 248.665 94.3216C248.499 94.1552 248.404 93.9303 248.401 93.6951C248.401 93.2091 248.811 92.8041 249.291 92.8041ZM173.111 101.065C173.351 101.065 173.591 100.822 173.591 100.579V95.3931C173.591 95.1491 173.351 94.9061 173.111 94.9061C172.871 94.9061 172.621 95.1491 172.621 95.3921V100.579C172.621 100.822 172.871 101.065 173.111 101.065Z",fill:"#2D3962"}),e.jsx("path",{d:"M170.522 98.472H175.692C175.942 98.472 176.182 98.229 176.182 97.986C176.182 97.743 175.942 97.5 175.692 97.5H170.522C170.282 97.5 170.042 97.743 170.042 97.986C170.042 98.229 170.282 98.472 170.522 98.472ZM162.522 143.857C163.572 143.857 164.382 143.046 164.382 141.993C164.382 140.939 163.572 140.129 162.522 140.129C161.472 140.129 160.672 140.939 160.672 141.993C160.672 143.046 161.472 143.857 162.522 143.857ZM162.522 141.101C163.012 141.101 163.412 141.507 163.412 141.993C163.412 142.479 163.012 142.884 162.522 142.884C162.288 142.881 162.064 142.785 161.899 142.619C161.735 142.452 161.642 142.227 161.642 141.993C161.642 141.507 162.042 141.101 162.522 141.101ZM203.982 150.014C204.222 150.014 204.462 149.771 204.462 149.528V144.342C204.462 144.099 204.222 143.855 203.982 143.855C203.732 143.855 203.492 144.099 203.492 144.342V149.528C203.492 149.771 203.732 150.014 203.982 150.014Z",fill:"#2D3962"}),e.jsx("path",{d:"M201.472 147.422H206.642C206.882 147.422 207.122 147.179 207.122 146.935C207.122 146.692 206.882 146.449 206.642 146.449H201.472C201.232 146.449 200.992 146.692 200.992 146.935C200.992 147.179 201.152 147.422 201.472 147.422ZM214.392 206.739C215.442 206.739 216.252 205.929 216.252 204.876C216.252 203.822 215.442 203.012 214.392 203.012C213.342 203.012 212.532 203.822 212.532 204.876C212.532 205.929 213.342 206.739 214.392 206.739ZM214.392 204.065C214.882 204.065 215.282 204.47 215.282 204.957C215.282 205.443 214.882 205.848 214.392 205.848C214.157 205.845 213.932 205.75 213.766 205.583C213.6 205.417 213.505 205.192 213.502 204.957C213.502 204.389 213.912 204.065 214.392 204.065ZM229.412 59.0887C229.662 59.0887 229.902 58.8457 229.902 58.6017V53.4157C229.902 53.1727 229.662 52.9297 229.412 52.9297C229.172 52.9297 228.932 53.1727 228.932 53.4157V58.6017C228.932 58.9267 229.172 59.0887 229.412 59.0887Z",fill:"#2D3962"}),e.jsx("path",{d:"M226.828 56.5775H231.998C232.238 56.5775 232.478 56.3345 232.478 56.0915C232.478 55.8485 232.238 55.6055 231.998 55.6055H226.828C226.588 55.6055 226.338 55.8485 226.338 56.0915C226.338 56.3345 226.588 56.5775 226.828 56.5775ZM43.9381 100.258C44.9881 100.258 45.7982 99.4485 45.7982 98.3945C45.7982 97.3415 44.9881 96.5305 43.9381 96.5305C42.8881 96.5305 42.0781 97.3405 42.0781 98.3945C42.0781 99.4485 42.8881 100.258 43.9381 100.258ZM43.9381 97.5845C44.4181 97.5845 44.8281 97.9895 44.8281 98.4755C44.8281 98.9615 44.4181 99.3675 43.9381 99.3675C43.7022 99.3659 43.4766 99.2713 43.3099 99.1043C43.1433 98.9373 43.0493 98.7114 43.0482 98.4755C43.0482 97.9895 43.4481 97.5845 43.9381 97.5845Z",fill:"#2D3962"}),e.jsx("path",{d:"M259.31 237.133C257.94 238.024 244.77 239.321 226.19 242.886C208.42 246.29 198.24 247.344 190.32 255.691C185.31 261.039 189.59 304.556 194.93 321.737C203.73 320.683 204.46 321.007 213.35 321.088C213.26 305.853 212.13 276.517 213.75 274.41C215.37 272.303 214.8 273.438 217.22 272.465L259.31 237.133Z",fill:"#9BBBEA"}),e.jsx("path",{d:"M212.697 288.022C212.937 288.022 213.097 287.86 213.097 287.617L213.267 269.546C213.267 269.303 213.097 269.141 212.857 269.141C212.617 269.141 212.457 269.303 212.457 269.546L212.297 287.617C212.297 287.779 212.457 288.022 212.697 288.022Z",fill:"#2D3962"}),e.jsx("path",{d:"M28.5795 321.41C32.3795 322.544 36.8196 322.382 40.5396 320.924C55.4796 315.251 56.7696 298.719 54.2696 286.077C52.5696 277.568 49.6595 269.302 48.9395 260.712C47.8895 247.584 52.0895 233.24 44.9795 221.814C43.5195 219.383 41.4196 217.114 38.5196 216.222C34.3096 214.926 29.5495 217.114 26.9595 220.436C24.4595 223.759 23.7295 228.054 23.5695 232.106C23.1695 241.263 25.1896 250.42 24.5396 259.578C23.6496 271.328 17.5096 282.349 16.7796 294.1C16.2996 302.042 16.5395 312.901 23.4895 318.654C25.1095 319.951 26.7995 320.843 28.5795 321.41Z",fill:"#97DDCF"}),e.jsx("path",{d:"M36.0132 327.165C36.3432 327.165 36.5831 326.922 36.5831 326.598L37.3032 247.829C37.3055 247.754 37.2926 247.68 37.2654 247.611C37.2381 247.541 37.1971 247.478 37.1448 247.425C37.0924 247.372 37.0297 247.33 36.9607 247.302C36.8917 247.274 36.8177 247.26 36.7432 247.262C36.4232 247.262 36.1732 247.505 36.1732 247.829L35.4531 326.598C35.4531 326.922 35.6932 327.165 36.0132 327.165Z",fill:"#2D3962"}),e.jsx("path",{d:"M25.8276 323.194C29.2276 323.356 32.6976 322.465 35.4476 320.763C46.3476 313.956 43.5276 301.557 38.5976 292.724C35.2876 286.808 30.9976 281.217 28.4976 274.977C24.6176 265.495 24.7776 254.231 16.3776 247.019C14.5976 245.479 12.4176 244.182 9.83758 244.02C6.11758 243.777 2.72756 246.289 1.43756 249.207C0.137556 252.124 0.5476 255.366 1.3576 258.364C3.1276 265.171 6.84762 271.573 8.37762 278.461C10.3176 287.295 7.89761 296.452 9.99761 305.204C11.3676 311.12 14.1176 319.061 21.0676 322.141C22.5976 322.708 24.2176 323.113 25.8276 323.194Z",fill:"#56B2A1"}),e.jsx("path",{d:"M32.0523 328.299C32.3723 328.299 32.6223 327.975 32.6223 327.651C31.0823 309.58 14.0423 259.741 13.7923 259.255C13.7123 258.931 13.3922 258.769 13.0722 258.931C12.7422 259.012 12.5823 259.336 12.7423 259.66C12.9123 260.146 29.9523 309.823 31.4923 327.813C31.4923 328.056 31.7323 328.299 32.0523 328.299Z",fill:"#2D3962"}),e.jsx("path",{d:"M99.6663 350.423C99.6663 350.423 107.826 332.352 84.3963 323.924L80.0363 302.205C79.8763 301.314 78.8263 301.233 78.1763 301.881C76.7263 303.178 73.0962 307.797 73.0962 307.797L65.6563 307.554C65.6563 307.554 61.8663 302.854 60.2463 301.638C59.8463 301.314 58.2262 301.071 57.9862 302.854C56.6962 311.606 52.8963 359.094 54.9163 361.12C57.0963 363.308 101.286 361.12 101.286 361.12L99.6663 350.423Z",fill:"#FFD194"}),e.jsx("path",{d:"M70.5928 314.602C70.5928 315.251 71.1629 315.818 71.8029 315.818C72.4529 315.818 73.0228 315.251 73.0228 314.602C73.0228 313.954 72.4529 313.387 71.8029 313.387C71.0829 313.387 70.5928 313.873 70.5928 314.602ZM66.4828 315.818C66.1599 315.818 65.8503 315.69 65.6216 315.462C65.3929 315.234 65.2639 314.925 65.2628 314.602C65.2628 313.931 65.8128 313.387 66.4828 313.387C67.1428 313.387 67.6927 313.931 67.6927 314.602C67.6927 315.274 67.1428 315.818 66.4828 315.818ZM74.1428 308.443C74.3928 308.443 74.5529 308.281 74.5529 308.038C74.5529 307.795 74.3928 307.633 74.1428 307.552C73.8228 307.552 66.3128 306.984 64.2928 307.146C64.0428 307.146 63.8828 307.389 63.8828 307.633C63.8828 307.876 64.1328 308.038 64.3728 308.038C66.3128 307.957 74.0628 308.443 74.1428 308.443Z",fill:"#2D3962"}),e.jsx("path",{opacity:"0.47",d:"M79.8 301.393C81.25 301.961 81.25 308.12 81.25 308.12C81.25 308.12 76.4 308.444 76.24 306.904C76.16 306.418 76.89 305.364 77.53 304.149C78.18 302.69 78.99 301.069 79.8 301.393ZM58.95 301.393C57.5 301.961 57.5 308.12 57.5 308.12C57.5 308.12 62.35 308.444 62.51 306.904C62.59 306.418 61.86 305.364 61.22 304.149C60.57 302.69 59.84 301.069 58.95 301.393Z",fill:"white"}),e.jsx("path",{d:"M39.4104 125.133H75.2003C76.4903 125.133 77.5404 126.186 77.5404 127.483V146.77C77.5404 148.067 76.4903 149.12 75.2003 149.12H72.8503V153.01C72.8503 153.577 72.2104 153.82 71.8004 153.415L67.9304 149.12H39.4104C38.7886 149.118 38.193 148.869 37.7543 148.429C37.3156 147.988 37.0695 147.392 37.0703 146.77V127.483C37.0703 126.186 38.1204 125.133 39.4104 125.133Z",fill:"#F4B04E"}),e.jsx("path",{d:"M43.1987 131.461H71.4788C71.7188 131.461 71.9587 131.218 71.9587 130.975C71.9587 130.731 71.7188 130.488 71.4788 130.488H43.1987C42.9587 130.488 42.7188 130.731 42.7188 130.975C42.7188 131.218 42.9587 131.461 43.1987 131.461ZM43.1987 137.695H71.4788C71.7188 137.695 71.9587 137.452 71.9587 137.209C71.9587 136.966 71.7188 136.723 71.4788 136.723H43.1987C42.9587 136.723 42.7188 136.966 42.7188 137.209C42.7188 137.533 42.9587 137.695 43.1987 137.695ZM49.1788 143.937H71.4788C71.7188 143.937 71.9587 143.694 71.9587 143.451C71.9587 143.208 71.7188 142.965 71.4788 142.965H49.1788C48.9388 142.965 48.6887 143.208 48.6887 143.451C48.6887 143.694 48.8588 143.937 49.1788 143.937Z",fill:"white"}),e.jsx("path",{d:"M73.75 111.516C73.75 112.489 74.48 113.218 75.45 113.218H98.39C99.36 113.218 100.09 112.488 100.09 111.516V97.3348C100.09 96.3618 99.36 95.6328 98.39 95.6328H75.45C74.48 95.6328 73.75 96.3628 73.75 97.3348V111.516Z",fill:"#FFD194"}),e.jsx("path",{d:"M74.5625 114.525L84.0125 104.152L74.5625 94.6697L75.2825 93.8597L87.1625 105.773L98.7925 92.9688L99.4424 93.7787L90.0724 104.152L99.4424 113.633L98.7925 114.443L89.3424 104.963L87.1625 107.313L84.7324 104.881L75.2825 115.335L74.5625 114.525Z",fill:"white"}),e.jsx("path",{d:"M76.3296 101.714C73.0696 101.714 70.4297 99.0658 70.4297 95.7988C70.4297 92.5308 73.0696 89.8828 76.3296 89.8828C79.5896 89.8828 82.2296 92.5308 82.2296 95.7988C82.2296 99.0658 79.5896 101.714 76.3296 101.714Z",fill:"#56B2A1"}),e.jsx("path",{d:"M80.209 96.9325H79.399V94.8255H80.209V94.4205C80.049 94.4205 79.889 94.3395 79.639 94.2585C79.399 94.1775 79.239 94.0965 79.079 94.0155H78.749V96.9325H78.0291V97.4995H80.2891V96.9325H80.209ZM77.0591 97.4195C77.2191 97.3375 77.379 97.0945 77.459 96.8515C77.539 96.6085 77.619 96.2035 77.619 95.7985C77.619 95.3115 77.539 94.9885 77.459 94.7445C77.379 94.5015 77.2191 94.2585 77.0591 94.1775C76.8574 94.0752 76.6352 94.0198 76.4091 94.0155C76.1691 94.0155 75.929 94.0955 75.769 94.1775C75.609 94.2575 75.439 94.5015 75.359 94.7445C75.2542 95.086 75.2003 95.4412 75.199 95.7985C75.199 96.2845 75.279 96.6085 75.359 96.8515C75.439 97.0945 75.609 97.3375 75.769 97.4185C75.929 97.4995 76.1691 97.5805 76.4091 97.5805C76.6591 97.5805 76.8991 97.5015 77.0591 97.4195ZM76.089 96.9325C76.009 96.8515 76.0091 96.7705 75.9291 96.6085V94.9065C75.9291 94.7445 76.009 94.6635 76.089 94.5825C76.169 94.5015 76.2491 94.5015 76.4091 94.5015C76.5691 94.5015 76.659 94.5015 76.739 94.5815C76.819 94.6635 76.819 94.7445 76.899 94.9065V96.5275C76.899 96.6895 76.819 96.7705 76.739 96.8515C76.659 96.9325 76.5691 96.9325 76.4091 96.9325C76.2491 97.0135 76.169 97.0135 76.089 96.9325ZM74.7991 97.3395C74.7991 97.1775 74.719 96.9345 74.639 96.8535C74.549 96.6915 74.4691 96.5295 74.3091 96.4485C74.1491 96.3675 73.989 96.2055 73.829 96.0425C73.669 95.8805 73.4991 95.7995 73.4191 95.7185C73.3201 95.6259 73.2387 95.5161 73.1791 95.3945C73.0991 95.2325 73.019 95.1515 73.019 94.9085C73.019 94.8275 73.019 94.6655 73.099 94.5845C73.179 94.5035 73.2591 94.4225 73.4191 94.4225C73.7491 94.4225 73.9091 94.5845 73.9091 94.9085V95.1515H74.639V94.9085C74.639 94.5845 74.5491 94.2605 74.3091 94.0985C74.0691 93.9365 73.7491 93.8555 73.4191 93.8555C73.0991 93.8555 72.859 93.9355 72.699 94.0165C72.529 94.1795 72.449 94.2605 72.369 94.4225C72.289 94.5845 72.2891 94.7465 72.2891 94.8275C72.2891 95.0705 72.369 95.2325 72.449 95.4755C72.529 95.6375 72.699 95.7995 72.859 95.9625C73.019 96.1245 73.1791 96.2055 73.4191 96.3675C73.5891 96.4475 73.749 96.6105 73.829 96.6105L73.989 96.7725H72.369V97.4205H74.7991V97.3405V97.3395Z",fill:"white"}),e.jsx("path",{d:"M119.698 150.825H141.428C142.318 150.825 143.048 150.095 143.048 149.204V130.241C143.048 129.349 142.318 128.621 141.428 128.621H119.698C118.808 128.621 118.078 129.349 118.078 130.241V149.204C118.078 150.095 118.808 150.825 119.698 150.825Z",fill:"#FFD194"}),e.jsx("path",{d:"M122.927 134.783H135.367C135.697 134.783 135.937 134.54 135.937 134.216C135.939 134.141 135.925 134.066 135.897 133.996C135.869 133.926 135.828 133.862 135.774 133.809C135.721 133.756 135.657 133.714 135.587 133.686C135.517 133.659 135.442 133.646 135.367 133.648H122.927C122.607 133.648 122.367 133.892 122.367 134.216C122.277 134.54 122.607 134.783 122.927 134.783ZM137.797 134.215C137.797 134.702 138.197 135.026 138.607 135.026C139.087 135.026 139.407 134.62 139.407 134.215C139.407 133.729 139.007 133.405 138.607 133.405C138.197 133.324 137.797 133.729 137.797 134.215ZM122.927 140.533H135.367C135.697 140.533 135.937 140.29 135.937 139.966C135.939 139.891 135.925 139.816 135.897 139.746C135.869 139.676 135.828 139.612 135.774 139.559C135.721 139.506 135.657 139.464 135.587 139.436C135.517 139.409 135.442 139.396 135.367 139.398H122.927C122.607 139.398 122.367 139.642 122.367 139.966C122.277 140.29 122.607 140.533 122.927 140.533ZM137.797 139.969C137.797 140.455 138.197 140.78 138.607 140.78C139.087 140.78 139.407 140.374 139.407 139.969C139.407 139.483 139.007 139.159 138.607 139.159C138.197 139.078 137.797 139.483 137.797 139.969ZM122.927 146.287H135.367C135.697 146.287 135.937 146.044 135.937 145.72C135.939 145.645 135.925 145.57 135.897 145.5C135.869 145.43 135.828 145.366 135.774 145.313C135.721 145.26 135.657 145.218 135.587 145.19C135.517 145.163 135.442 145.15 135.367 145.152H122.927C122.852 145.151 122.778 145.164 122.709 145.192C122.64 145.221 122.577 145.263 122.525 145.316C122.472 145.369 122.431 145.432 122.404 145.502C122.377 145.571 122.364 145.645 122.367 145.72C122.277 146.044 122.607 146.287 122.927 146.287ZM137.797 145.727C137.797 146.213 138.197 146.537 138.607 146.537C139.087 146.537 139.407 146.132 139.407 145.727C139.407 145.241 139.007 144.917 138.607 144.917C138.197 144.836 137.797 145.241 137.797 145.727Z",fill:"white"}),e.jsx("path",{d:"M84.4069 143.365H111.227C112.277 143.365 113.087 142.555 113.087 141.501V119.864C113.087 118.81 112.277 118 111.227 118H84.4069C83.3569 118 82.5469 118.81 82.5469 119.864V141.5C82.5469 142.554 83.3569 143.365 84.4069 143.365Z",fill:"#97DDCF"}),e.jsx("path",{d:"M82.5469 125.212V119.864C82.5469 118.81 83.3569 118 84.4069 118H111.227C112.277 118 113.087 118.81 113.087 119.864V125.294C113.087 125.212 83.0269 125.212 82.5469 125.212Z",fill:"#56B2A1"}),e.jsx("path",{d:"M103.308 135.828H101.448V131.046H103.308V130.074C102.988 130.074 102.498 129.912 102.018 129.75C101.539 129.583 101.08 129.366 100.648 129.102H99.8378V135.747H98.1378V137.043H103.308V135.828ZM96.6877 136.557C97.1677 136.071 97.4078 135.423 97.4078 134.612H95.7979C95.7979 135.017 95.7178 135.341 95.4778 135.585C95.2278 135.828 94.9878 135.909 94.5878 135.909C94.2578 135.909 93.9378 135.747 93.7778 135.504C93.5378 135.26 93.4578 134.936 93.4578 134.45C93.4578 134.045 93.5378 133.721 93.7778 133.478C94.0178 133.235 94.2578 133.153 94.5878 133.153C94.8278 133.153 94.9878 133.235 95.1478 133.316C95.3078 133.397 95.4779 133.559 95.5579 133.721L97.0878 133.559L96.7678 129.102H92.1578V130.56H95.3878L95.4778 132.343C95.3078 132.262 95.0678 132.1 94.9078 132.019C94.6678 131.938 94.4278 131.938 94.0978 131.938C93.4578 131.938 92.8878 132.181 92.4078 132.586C91.9978 132.991 91.7578 133.64 91.7578 134.531C91.7578 135.423 91.9978 136.071 92.4878 136.557C92.9678 137.043 93.6978 137.286 94.5078 137.286C95.4778 137.205 96.1177 136.962 96.6877 136.557Z",fill:"white"}),e.jsx("path",{d:"M105.412 120.512C105.662 120.512 105.902 120.269 105.902 120.026V117.514C105.902 117.271 105.662 117.027 105.412 117.027C105.172 117.027 104.932 117.27 104.932 117.514V120.026C104.932 120.269 105.172 120.512 105.412 120.512ZM97.8221 120.512C98.0621 120.512 98.3022 120.269 98.3022 120.026V117.514C98.3022 117.271 98.0621 117.027 97.8221 117.027C97.5821 117.027 97.3422 117.27 97.3422 117.514V120.026C97.3422 120.269 97.5821 120.512 97.8221 120.512ZM90.2322 120.512C90.4722 120.512 90.7122 120.269 90.7122 120.026V117.514C90.7122 117.271 90.4722 117.027 90.2322 117.027C89.9822 117.027 89.7422 117.27 89.7422 117.514V120.026C89.7422 120.269 89.9822 120.512 90.2322 120.512Z",fill:"#2D3962"}),e.jsx("path",{d:"M117.387 112.988C113.807 105.478 116.977 96.4776 124.467 92.8876C131.947 89.2976 140.917 92.4746 144.497 99.9856C148.077 107.496 144.907 116.496 137.427 120.086C129.937 123.676 120.967 120.498 117.387 112.988Z",fill:"white"}),e.jsx("path",{d:"M130.929 122.624C139.739 122.624 147.009 115.412 147.009 106.498C147.009 97.5831 139.819 90.3711 130.929 90.3711C122.049 90.3711 114.859 97.5831 114.859 106.498C114.939 115.412 122.129 122.624 130.929 122.624ZM130.929 92.4781C138.609 92.4781 144.909 98.7181 144.909 106.498C144.909 114.196 138.689 120.518 130.929 120.518C123.259 120.518 116.959 114.278 116.959 106.498C116.959 98.7991 123.259 92.4781 130.929 92.4781Z",fill:"#56B2A1"}),e.jsx("path",{d:"M124.478 108.034H131.418C131.748 108.034 132.068 107.71 132.068 107.385V97.0943C132.068 96.7693 131.748 96.4453 131.418 96.4453C131.098 96.4453 130.778 96.7703 130.778 97.0943V106.737H124.478C124.148 106.737 123.828 107.061 123.828 107.385C123.828 107.71 124.148 108.034 124.478 108.034Z",fill:"#2D3962"}),e.jsx("path",{d:"M311.173 236.566C311.173 236.566 322.323 169.709 310.693 153.259C306.323 147.019 286.453 151.476 286.453 151.476C276.923 161.119 272.073 171.168 268.523 184.296C265.043 197.424 258.663 225.869 257.453 239.402C268.433 239.483 311.173 236.566 311.173 236.566Z",fill:"#F4B04E"}),e.jsx("path",{d:"M271.497 228.867C271.497 228.867 260.597 233.081 260.347 237.295C260.107 240.942 272.627 237.862 272.627 237.862L271.497 228.867Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M260.51 237.862C260.59 237.862 260.75 237.862 260.83 237.781C261.97 236.727 264.71 235.755 264.71 235.755C264.95 235.674 265.03 235.431 264.95 235.188C264.87 234.944 264.63 234.863 264.39 234.944C264.31 235.025 261.48 235.998 260.19 237.132C260.152 237.169 260.122 237.213 260.102 237.262C260.081 237.311 260.07 237.363 260.07 237.416C260.07 237.469 260.081 237.522 260.102 237.571C260.122 237.619 260.152 237.664 260.19 237.7C260.27 237.862 260.35 237.862 260.51 237.862ZM262.46 239.16C262.54 239.16 262.62 239.16 262.7 239.079C263.67 238.268 265.85 237.458 265.93 237.458C266.17 237.377 266.25 237.134 266.17 236.891C266.09 236.648 265.85 236.567 265.61 236.648C265.53 236.648 263.26 237.458 262.13 238.349C261.97 238.511 261.89 238.755 262.05 238.917C262.21 239.16 262.3 239.16 262.46 239.16Z",fill:"#2D3962"}),e.jsx("path",{d:"M298.33 180.654C303.74 200.185 301.88 200.185 307.62 219.066C296.22 222.713 279.34 223.118 269 229.277C269.24 231.384 269.97 237.3 270.54 237.867C271.42 238.759 316.1 242.892 327.08 231.303C335.97 221.984 329.51 166.635 309.96 152.372C303.74 147.834 298.33 180.654 298.33 180.654Z",fill:"#F4B04E"}),e.jsx("path",{d:"M284.349 239.89C284.589 239.89 284.749 239.728 284.749 239.485C284.749 239.242 284.589 239.08 284.349 239.08C282.089 239.08 272.959 238.269 271.179 238.107L269.479 229.598C276.189 226.762 284.349 224.979 292.269 223.277C297.839 222.062 303.089 220.927 307.699 219.469C307.939 219.387 308.019 219.144 307.939 218.982C304.869 209.015 303.979 204.233 303.009 199.209C302.119 194.59 301.229 189.809 298.649 180.57C298.569 180.327 298.329 180.246 298.159 180.246C297.919 180.327 297.839 180.57 297.839 180.732C300.339 189.89 301.309 194.671 302.199 199.29C303.169 204.314 304.059 209.015 307.049 218.739C302.529 220.117 297.439 221.251 292.099 222.386C284.029 224.088 275.709 225.952 268.839 228.869C268.679 228.95 268.519 229.112 268.599 229.355L270.449 238.512C270.449 238.675 270.619 238.837 270.859 238.837C271.259 238.918 281.839 239.89 284.349 239.89Z",fill:"#2D3962"}),e.jsx("path",{d:"M235.8 140.376C237.9 140.214 238.55 142.402 238.63 137.621C238.63 135.109 239.839 132.191 240.079 130.003C240.169 128.95 239.68 128.383 239.36 128.221C238.79 127.896 238.23 128.221 238.23 128.221C238.07 127.329 236.77 127.491 236.53 127.491C236.05 127.572 235.72 128.058 235.72 128.058C235.72 128.058 235.48 127.41 234.35 127.41C233.62 127.41 233.3 127.653 233.06 128.058C233.06 128.058 231.76 127.734 231.36 128.707C231.12 129.193 230.07 132.272 229.91 137.783C229.83 141.187 231.2 140.619 233.22 140.538L235.8 140.376Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M232.488 134.3C232.728 134.3 232.978 134.057 232.978 133.814C233.058 131.464 233.458 128.547 233.458 128.466C233.457 128.342 233.418 128.221 233.347 128.119C233.275 128.018 233.174 127.941 233.058 127.898C232.808 127.898 232.568 128.061 232.488 128.304C232.488 128.304 232.088 131.302 232.008 133.733C232.008 134.057 232.168 134.3 232.488 134.3ZM234.828 134.219C235.078 134.219 235.318 133.975 235.318 133.732C235.398 131.382 235.958 128.302 235.958 128.302C236.038 128.06 235.878 127.816 235.558 127.735C235.318 127.655 235.078 127.817 234.988 128.141C234.988 128.141 234.348 131.301 234.268 133.732C234.348 133.975 234.588 134.138 234.828 134.219ZM237.258 134.217C237.498 134.217 237.738 133.974 237.738 133.731C237.818 131.381 238.388 128.301 238.468 128.139C238.548 127.896 238.388 127.653 238.148 127.572C237.908 127.491 237.658 127.652 237.578 127.896V127.977C237.578 128.139 236.938 131.219 236.858 133.731C236.768 133.974 236.938 134.217 237.258 134.217Z",fill:"#2D3962"}),e.jsx("path",{d:"M242.114 133.166C243.084 133.895 241.784 135.759 240.574 137.217C240.014 137.947 239.284 138.919 238.714 139.162C237.824 139.568 238.154 136.002 238.154 136.002C238.154 136.002 240.174 131.707 242.114 133.166Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M238.953 135.593C239.123 135.593 239.283 135.512 239.363 135.35C239.363 135.35 240.003 134.053 240.893 133.405C240.945 133.371 240.988 133.325 241.021 133.272C241.053 133.22 241.074 133.16 241.081 133.099C241.089 133.037 241.083 132.975 241.065 132.916C241.046 132.857 241.015 132.802 240.973 132.756C240.94 132.704 240.896 132.66 240.844 132.627C240.792 132.595 240.733 132.574 240.672 132.566C240.611 132.558 240.549 132.564 240.491 132.583C240.432 132.602 240.378 132.633 240.333 132.675C239.283 133.486 238.553 134.863 238.553 134.945C238.473 135.188 238.553 135.431 238.793 135.593H238.953Z",fill:"#2D3962"}),e.jsx("path",{d:"M240.886 139.965C240.646 145.881 244.767 172.867 247.667 172.867C254.377 172.867 272.716 159.496 284.586 153.58L279.746 184.293C274.006 186.724 249.446 198.961 239.836 194.747C221.816 186.886 228.287 138.102 228.287 138.102L240.886 139.965Z",fill:"#F4B04E"}),e.jsx("path",{d:"M265.453 200.098C265.693 200.098 265.853 199.936 265.853 199.693C269.083 170.438 284.763 153.988 284.923 153.826C284.961 153.789 284.991 153.745 285.012 153.696C285.032 153.648 285.043 153.595 285.043 153.542C285.043 153.489 285.032 153.437 285.012 153.388C284.991 153.339 284.961 153.295 284.923 153.258C284.886 153.22 284.842 153.189 284.793 153.168C284.744 153.148 284.691 153.137 284.638 153.137C284.585 153.137 284.532 153.148 284.483 153.168C284.434 153.189 284.39 153.22 284.353 153.258C284.193 153.42 268.363 170.033 265.043 199.612C264.963 199.855 265.133 200.098 265.453 200.098C265.373 200.098 265.373 200.098 265.453 200.098ZM307.613 137.702C307.613 137.702 312.623 137.54 312.783 130.57C312.783 130.57 309.313 131.705 307.853 131.705C307.853 131.705 307.693 137.945 307.613 137.702Z",fill:"#2D3962"}),e.jsx("path",{d:"M272.87 106.906C272.14 109.824 270.85 115.01 270.45 117.927C269.64 123.519 269.07 127.247 269.72 132.838C270.04 135.999 271.09 139.159 273.11 141.753C276.99 146.777 287.66 146.048 287.66 146.048L287.25 152.369C287.25 152.369 297.03 156.421 306.64 152.044L308.01 132.838C308.01 132.838 312.05 132.838 314.56 130.975C316.98 129.192 316.41 121.979 310.76 121.979C305.51 121.979 304.86 122.628 304.86 122.628L299.53 108.446L272.87 106.906Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M311.977 127.409C312.057 127.409 312.217 127.328 312.297 127.247C312.335 127.21 312.366 127.166 312.386 127.117C312.407 127.068 312.418 127.016 312.418 126.963C312.418 126.91 312.407 126.857 312.386 126.808C312.366 126.76 312.335 126.715 312.297 126.679C310.927 125.383 308.177 125.059 308.097 125.059C307.857 125.059 307.697 125.221 307.617 125.383C307.617 125.626 307.777 125.788 307.937 125.869C307.937 125.869 310.517 126.193 311.647 127.328C311.737 127.328 311.897 127.409 311.977 127.409Z",fill:"#2D3962"}),e.jsx("path",{d:"M309.309 129.191C309.469 129.191 309.629 129.111 309.719 128.948C310.039 128.138 310.359 127.165 310.599 126.031C310.679 125.788 310.519 125.544 310.279 125.544C310.039 125.464 309.799 125.626 309.799 125.869C309.549 127.246 309.229 128.138 308.989 128.624C308.909 128.867 308.989 129.11 309.229 129.191H309.309ZM285.559 122.709C285.479 123.438 284.839 124.005 284.029 123.924C283.219 123.844 282.649 123.194 282.739 122.465C282.819 121.736 283.459 121.169 284.269 121.25C285.079 121.33 285.639 121.98 285.559 122.709ZM276.269 122.873C275.709 123.359 274.819 123.278 274.339 122.71C273.849 122.143 273.929 121.333 274.499 120.847C275.059 120.36 275.949 120.441 276.439 121.009C276.919 121.576 276.919 122.467 276.269 122.873ZM280.549 131.625C280.949 131.625 281.439 131.544 281.839 131.463C282.729 131.22 283.539 130.815 284.109 130.247C284.147 130.21 284.177 130.166 284.198 130.117C284.218 130.069 284.229 130.016 284.229 129.964C284.229 129.911 284.218 129.858 284.198 129.81C284.177 129.761 284.147 129.717 284.109 129.68C283.939 129.518 283.699 129.518 283.539 129.68C283.059 130.166 282.409 130.49 281.679 130.734C280.869 130.977 280.069 130.896 279.339 130.653C279.099 130.572 278.849 130.733 278.769 130.896C278.689 131.139 278.849 131.382 279.019 131.463C279.499 131.544 279.989 131.625 280.549 131.625ZM287.579 148.395L297.029 146.045C297.029 146.045 296.869 144.829 296.629 144.91C293.879 145.964 287.739 146.045 287.739 146.045L287.579 148.395ZM282.809 117.12C283.779 116.39 286.289 117.12 286.929 117.525C286.929 117.525 287.419 118.254 286.769 118.902C286.049 119.632 283.699 118.983 282.899 118.902C282.809 118.902 282.729 118.902 282.649 118.822C282.569 118.74 282.569 118.659 282.489 118.578C282.409 118.254 282.329 117.93 282.409 117.687C282.489 117.363 282.649 117.201 282.809 117.12ZM273.439 116.47C274.409 115.742 276.919 116.39 277.559 116.795C277.559 116.795 278.049 117.525 277.479 118.173C276.759 118.902 274.409 118.335 273.609 118.253C273.529 118.253 273.439 118.253 273.359 118.173C273.279 118.092 273.279 118.011 273.199 117.93C273.119 117.605 273.039 117.281 273.039 117.038C273.199 116.795 273.279 116.551 273.439 116.47Z",fill:"#2D3962"}),e.jsx("path",{d:"M313.186 103.099C317.146 109.419 316.337 118.496 314.557 123.439C314.557 123.439 308.826 120.765 304.376 123.52C302.926 124.412 303.486 128.788 299.286 128.382C295.416 127.977 296.946 118.82 297.346 111.445C297.346 111.445 276.996 112.255 273.036 106.907C271.656 105.043 271.496 101.477 275.696 98.1549C281.916 93.3739 310.036 98.0749 313.186 103.099ZM297.026 155.043C298.966 155.043 300.666 154.8 302.036 154.475C305.596 153.584 307.616 152.044 307.696 151.963C307.856 151.801 307.936 151.558 307.776 151.396C307.616 151.234 307.376 151.153 307.206 151.315C307.126 151.396 299.376 157.312 287.256 152.125C287.016 152.044 286.766 152.125 286.686 152.368C286.606 152.612 286.686 152.855 286.936 152.936C290.726 154.475 294.126 155.043 297.026 155.043Z",fill:"#2D3962"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_41078_85488",children:e.jsx("rect",{width:"337",height:"363",fill:"white"})})})]}),exports.ConfigureIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Configure",children:e.jsx(ro,{disabled:t.disabled})})}),exports.ContentBox=hs,exports.CurrentLocationAction=({toolTipLabel:t="Current Location",...r})=>e.jsx(kr.default,{...r,children:e.jsx(wo,{toolTipLabel:t,children:e.jsx(yo,{disabled:r.disabled})})}),exports.CustomEnumFilter=class{filterParams;selectedValue;filterType;type;gui;filterOptions;eFilterType;defaultFilterOptions=[{value:"all",label:"All",filterFunction:()=>!0}];constructor(){this.filterOptions=this.defaultFilterOptions,this.selectedValue="all",this.type="equals"}init(e){this.filterParams=e,e.filterOptions&&e.filterOptions.length>0&&(this.filterOptions=[{value:"all",label:"All",filterFunction:()=>!0},...e.filterOptions]),this.filterType="text",this.selectedValue=this.filterOptions[0]?.value??"all",this.setupGui(),this.setupListeners(e)}setupGui(){this.gui=document.createElement("div"),this.gui.innerHTML=`\n <div class="ag-filter-body-wrapper ag-simple-filter-body-wrapper">\n <div class="ag-picker-field ag-labeled ag-label-align-left ag-select ag-filter-select">\n <select id="filterType" class="ag-wrapper ag-picker-field-wrapper ag-picker-collapsed">\n ${this.filterOptions.map((e=>`<option class="ag-picker-field-display" value="${e.value}">${e.label}</option>`)).join("")}\n </select>\n </div>\n </div>\n `,this.eFilterType=this.gui.querySelector("#filterType"),this.eFilterType.value=this.selectedValue}setupListeners(e){this.eFilterType.addEventListener("change",(t=>{const r=t.target;this.selectedValue=r.value,e.filterChangedCallback()}))}getGui(){return this.gui}doesFilterPass(e){const{node:t}=e,r=this.filterParams.getValue(t),l=r?r.toString().toLowerCase():"";if("all"===this.selectedValue)return!0;const n=this.filterOptions.find((e=>e.value===this.selectedValue));return n?.filterFunction?n.filterFunction(l):l===this.selectedValue.toLowerCase()}isFilterActive(){return"all"!==this.selectedValue}getModel(){return"all"===this.selectedValue?null:{filterType:"client"===this.filterParams.source?"customEnum":"text",filter:this.selectedValue,type:this.type}}setModel(e){e?.filter?(this.selectedValue=e.filter,this.eFilterType&&(this.eFilterType.value=e.filter)):(this.selectedValue="all",this.eFilterType&&(this.eFilterType.value="all"))}},exports.DashboardIconSvg=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M19 1H5C2.243 1 0 3.243 0 6V18C0 20.757 2.243 23 5 23H19C21.757 23 24 20.757 24 18V6C24 3.243 21.757 1 19 1ZM5 3H19C20.654 3 22 4.346 22 6V8H2V6C2 4.346 3.346 3 5 3ZM19 21H5C3.346 21 2 19.654 2 18V10H22V18C22 19.654 20.654 21 19 21ZM3 5.5C3 4.672 3.672 4 4.5 4C5.328 4 6 4.672 6 5.5C6 6.328 5.328 7 4.5 7C3.672 7 3 6.328 3 5.5ZM7 5.5C7 4.672 7.672 4 8.5 4C9.328 4 10 4.672 10 5.5C10 6.328 9.328 7 8.5 7C7.672 7 7 6.328 7 5.5ZM9 16V18C9 18.553 8.552 19 8 19C7.448 19 7 18.553 7 18V16C7 15.447 7.448 15 8 15C8.552 15 9 15.447 9 16ZM13 13V18C13 18.553 12.552 19 12 19C11.448 19 11 18.553 11 18V13C11 12.447 11.448 12 12 12C12.552 12 13 12.447 13 13ZM17 15V18C17 18.553 16.552 19 16 19C15.448 19 15 18.553 15 18V15C15 14.447 15.448 14 16 14C16.552 14 17 14.447 17 15Z",fill:"#5B5B5B"})}),exports.DatePicker=ts,exports.DateRangePicker=ls,exports.DateRangePickerPopUp=hd,exports.DateRangeSelector=function({name:t,watch:r,control:l,setValue:n}){const[i,o]=a.useState(null),[s,d]=a.useState(!1),c=r(t);function u(e){if(!s){const r=p.DateTime.now().minus({days:1+e}).toISODate(),l=p.DateTime.now().minus({days:1}).toISODate();n(t,[r,l]),o(null)}}const h=[{title:"Last 7 days",onClick:()=>u(7)},{title:"Last 14 days",onClick:()=>u(14)},{title:"Last 30 days",onClick:()=>u(30)},{title:"Custom",onClick:()=>d(!0)}];return a.useMemo((()=>{s&&Array.isArray(c)&&n(t,c)}),[s,t]),e.jsxs(Zr.default,{direction:"row",alignItems:"center",children:[e.jsxs(_r.default,{variant:"body2",children:[mi(c[0]??"","dd MMM yyyy")," -",mi(c[1]??"","dd MMM yyyy")]}),e.jsx(kr.default,{component:"div",onClick:function(e){o(e.currentTarget)},children:e.jsx(tl.default,{fontSize:"small"})}),!!i&&e.jsx(rl.default,{open:!0,anchorEl:i,onClose:function(){o(null),d(!1)},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:e.jsx(Zo,{padding:{padding:"2px"},children:s?e.jsx(ls,{name:t,control:l}):h.map((t=>e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start",padding:"5px 16px 5px 10px"},onClick:t.onClick,children:e.jsx(_r.default,{variant:"body1",children:t.title})},t.title)))})})]})},exports.DateTimePicker=function({control:t,defaultValue:r,disabled:l=!1,label:n,readOnly:i=!1,name:o,error:s=!1,helperText:d,loading:c=!1,required:h=!1,clearable:C=!h,rules:x,format:f="dd-MM-yyyy HH:mm",helperIcon:g,toolTipText:m,timeStepsMinutes:b=1,styling:j="custom",navigationKey:y,...w}){const{field:{value:v,onChange:M,...L}}=De.useController({name:o,control:t,defaultValue:r,rules:x}),[k,S]=a.useState(!1),{navigationKey:H}=gi(),Z=y??H,{setInputRef:V,maintainFocus:D,maintainFocusAfterClose:A,handleKeyDown:B,handleEnterNavigation:I}=Zi({isOpen:k,navigationKey:Z});s&&v&&"object"==typeof v&&(d="Invalid time");const R=u.useTheme(),{iron:T,butterflyBlue:E,mirage:F}=R.palette.app.color,P=v?p.DateTime.fromISO(v):null;return c?e.jsx(Br.default,{sx:{width:"350px"},children:e.jsx(ns,{label:n,styling:j})}):e.jsxs(Zr.default,{gap:"5px",children:[n&&"custom"===j&&e.jsxs(Zr.default,{alignItems:"center",flexDirection:"row",gap:"5px",children:[n&&e.jsx(Tl.default,{required:h,disabled:l,children:n}),g&&m&&e.jsx(Pr.default,{title:m,placement:"bottom",children:g})]}),e.jsx(Ke.DateTimePicker,{...L,...w,disabled:l,readOnly:i,open:k,ampm:!1,value:P,timeSteps:{minutes:b},format:f,onOpen:()=>{S(!0)},onClose:()=>{S(!1),A()},slotProps:{field:{inputRef:V,clearable:C,onClear:()=>{M(null)}},clearButton:{tabIndex:C?0:-1,onKeyDown:e=>{"enter"===Z&&"Enter"===e.key&&I(e)}},textField:{disabled:l,helperText:d,error:s,label:"default"===j?n:void 0,required:"default"===j?h:void 0,inputRef:V,InputProps:{endAdornment:e.jsx(Mo,{showTooltip:!1,disabled:l,onClick:()=>S(!0),onKeyDown:e=>{"enter"===Z&&"Enter"===e.key&&I(e)}}),sx:{"& .MuiInputAdornment-root":{width:"30px"}}},sx:Oa(j),InputLabelProps:_a(j),onKeyDown:e=>{B(e,(()=>{S(!1)}),k),"Backspace"===e.key&&C&&M(null)}},popper:{sx:{"& .MuiMultiSectionDigitalClockSection-root::after":{display:"unset"},"& .MuiList-padding":{padding:"10px"},"& .MuiMultiSectionDigitalClockSection-item:not(.Mui-selected)":{padding:"4px",...is(E[900])},"& .MuiMultiSectionDigitalClockSection-item":{padding:"4px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected":{backgroundColor:E[900],borderRadius:"5px","&:hover":{backgroundColor:E[900],color:T[600]}},"& .Mui-selected:hover":{backgroundColor:E[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:focus-visible":{backgroundColor:`${E[900]} !important`,borderRadius:"5px"},"& .Mui-selected:focus-visible":{backgroundColor:E[900],borderRadius:"5px"}}},day:{sx:{"&.MuiPickersDay-root":{borderRadius:"5px",borderColor:E[900],fontWeight:500,color:F[900]},"&.MuiPickersDay-root.Mui-selected":{backgroundColor:E[900],color:T[600]},"&.MuiPickersDay-root:not(.Mui-selected)":{...is(E[900])},"&.MuiPickersDay-today":{color:E[900],backgroundColor:T[600]},":focus":{backgroundColor:"transparent"}}},calendarHeader:{sx:{"& .MuiPickersCalendarHeader-label":{fontWeight:"500",...is(E[900])}}},yearButton:{sx:{"&.MuiPickersYear-yearButton.Mui-selected":{backgroundColor:E[900],borderRadius:"25px"},"&.MuiPickersYear-yearButton:not(.Mui-selected)":{...is(E[900]),borderRadius:"25px"}}}},slots:{leftArrowIcon:os,rightArrowIcon:as,switchViewIcon:()=>null},shouldDisableTime:()=>!P,onChange:e=>{if(e?.isValid)return M(e.toUTC().toISO()),void D();M(e),D()}})]})},exports.DecimalTextField=function({control:t,name:r,decimalScale:l,returnDecimalScale:n,defaultFallbackValue:i,min:o,max:s,defaultValue:d,label:c="",required:u,disabled:p,loading:h=!1,placeholder:C="",containerProps:x,styling:f="custom",infoMessage:g,customOnChange:m,navigationKey:b,rules:j,...y}){const w=a.useMemo((()=>{const e={...j};return e.validate=e=>{const t=void 0===e||null==e;return u&&t?"This field is required":!!t||(isNaN(e)?"Please enter a valid number":void 0!==o&&e<o?`Value must be at least ${o}`:!(void 0!==s&&e>s)||`Value must be at most ${s}`)},e}),[u,o,s,j]),{field:{value:v,onChange:M,onBlur:L,ref:k},fieldState:{error:S}}=De.useController({name:r,control:t,rules:w,defaultValue:d}),{navigationKey:H}=gi(),Z=b??H,{inputRef:V,maintainFocus:D,handleKeyDown:A}=Zi({navigationKey:Z}),B=a.useRef(null),I=a.useRef(""),R=e=>{if(""===e)return;const t=Number(e);return isNaN(t)?void 0:t},T=void 0===n,E=a.useCallback((e=>{if(T||""===e)return e;const t=e.indexOf(".");if(-1===t)return e;const r=e.substring(0,t),l=e.substring(t+1);if(l.length<=n)return e;return`${r}.${l.substring(0,n)}`}),[n]),F=a.useCallback((e=>{if(void 0===e||null==e||""===e)return;if(T)return"string"==typeof e?R(e):e;const t="string"==typeof e?e:e.toString(),r=E(t);return R(r)}),[n,E]),P=a.useCallback((e=>{const t=e.value;I.current=t;const r=R(t);M(r);const l=T?r:F(t);m?.(l),D()}),[M,m,D,F,n]),_=a.useCallback((e=>void 0!==e&&!isNaN(e)&&((void 0===o||e>=o)&&(void 0===s||e<=s))),[o,s]),O=a.useCallback((e=>{const t=I.current||"";let r;if(r=t?R(t):"number"==typeof v?v:void 0,S&&void 0!==r&&!_(r)){let e;e=void 0!==i&&_(i)?i:void 0!==o?o:void 0!==s&&r>s?s:i??0,M(e)}I.current="",L(),y.onBlur?.(e)}),[v,S,o,s,i,_,M,L,y,n,F]),z=a.useCallback((e=>{A(e,void 0,!1),y.onKeyDown?.(e)}),[A,y]),W=a.useCallback((e=>{B.current=e,V.current=e,"function"==typeof k?k(e):k&&(k.current=e)}),[k,V]),$=a.useMemo((()=>"number"!=typeof v?"":v),[v]);return h?e.jsx(ss,{label:c,styling:f}):e.jsxs(Zr.default,{...x,gap:"5px",children:[c&&"custom"===f&&e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"4px",children:[e.jsx(Tl.default,{required:u,disabled:p,children:c}),g&&e.jsx(wo,{toolTipLabel:g,children:e.jsx(Jl.default,{sx:{fontSize:13}})})]}),e.jsx(Ge.NumericFormat,{customInput:El.default,...y,value:$,decimalScale:l,fixedDecimalScale:void 0===n||n===l,allowNegative:!1,thousandSeparator:!1,disabled:p,required:u,fullWidth:!0,name:r,error:Boolean(S),helperText:S?.message,placeholder:"default"===f?C:C||c,label:"default"===f?c:void 0,sx:Oa(f),InputLabelProps:_a(f),onValueChange:P,onBlur:O,onKeyDown:z,inputMode:"decimal",getInputRef:W})]})},exports.DeleteDialog=({title:t,open:r,isDeleteLoading:l,onDelete:n,onClose:i})=>(Di({key:"escape",withoutModifiers:!0,onTrigger:()=>{i()}}),e.jsx(ys,{isDeleteDialog:!0,maxWidth:"xs",isHideCloseIcon:!0,isHideDividers:!0,open:r,actions:e.jsxs(ps,{children:[e.jsx(Ni,{disabled:l,onClick:i,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:n,color:"error",loading:l,children:"Delete"})]}),children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(dn.default,{color:"error",sx:{mt:"1px"}}),e.jsx(_r.default,{variant:"subtitle1",fontWeight:700,children:t})]})})),exports.DeleteIconAction=Lo,exports.Dialog=ys,exports.DownloadAction=Ms,exports.DownloadIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Download",children:e.jsx(no,{disabled:t.disabled})})}),exports.DownloadPrintAction=ko,exports.DownloadSvg=Yi,exports.Drawer=({menuItems:t=[],open:r,currentPathname:l})=>{const[n,i]=a.useState(null),o=()=>{i(null)},{layout:s}=Vi(),d="desktop"===s;return e.jsxs(od,{variant:"permanent",open:r,children:[e.jsxs(Br.default,{textAlign:"center",children:[d&&e.jsx(Zo,{padding:{paddingTop:"1.5rem"},children:r?e.jsx(bo,{}):e.jsx(jo,{})}),!d&&e.jsx(Zo,{padding:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},children:e.jsx(jo,{})})]}),d&&e.jsx(Pn.default,{component:"nav",onMouseLeave:o,children:r?e.jsx(pd,{menuItems:t,currentPathname:l}):e.jsx(id,{menuItems:t,currentPathname:l,anchorEl:n,setAnchorEl:i})}),!d&&e.jsx(Gr.default,{onClickAway:o,children:e.jsx(Pn.default,{component:"nav",onMouseLeave:o,children:e.jsx(id,{menuItems:t,currentPathname:l,anchorEl:n,setAnchorEl:i})})})]})},exports.EditIconAction=So,exports.EmployeeManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78107)"}),e.jsxs("g",{clipPath:"url(#clip0_42040_78107)",children:[e.jsx("path",{d:"M13 13C15.2091 13 17 11.2091 17 9C17 6.79086 15.2091 5 13 5C10.7909 5 9 6.79086 9 9C9 11.2091 10.7909 13 13 13Z",fill:"white"}),e.jsx("path",{d:"M13 14.3359C9.68781 14.3396 7.00369 17.0238 7 20.3359C7 20.7041 7.29847 21.0026 7.66666 21.0026H18.3333C18.7015 21.0026 19 20.7041 19 20.3359C18.9963 17.0238 16.3122 14.3396 13 14.3359Z",fill:"white"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78107",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78107",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.EmployeeReportsDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78156)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78156)",children:e.jsx("path",{d:"M15.0006 20.9983C15.0006 21.0043 15.0006 21.0096 15.0006 21.0156H10.9999C10.9999 21.0096 10.9999 21.0043 10.9999 20.9983C10.9999 19.8956 11.8972 18.9983 12.9999 18.9983C14.1026 18.9983 14.9999 19.8956 14.9999 20.9983H15.0006ZM14.9493 10.349H19.3092C19.0779 9.74029 18.7226 9.18029 18.2486 8.70629L15.9259 6.38229C15.4513 5.90829 14.8913 5.55296 14.2826 5.32229V9.68229C14.2826 10.0496 14.5813 10.349 14.9493 10.349ZM19.6159 12.0056V17.6823C19.6159 19.503 18.1479 20.9876 16.3333 21.015C16.3333 21.0096 16.3333 21.0043 16.3333 20.9983C16.3333 19.1603 14.8379 17.665 12.9999 17.665C11.1619 17.665 9.66658 19.1603 9.66658 20.9983C9.66658 21.0043 9.66658 21.0096 9.66658 21.0156H9.61458C7.77658 21.0156 6.28125 19.5203 6.28125 17.6823V8.34896C6.28258 6.51096 7.77792 5.01562 9.61592 5.01562H12.6259C12.7346 5.01562 12.8419 5.02429 12.9493 5.03163V9.68229C12.9493 10.785 13.8466 11.6823 14.9493 11.6823H19.5999C19.6073 11.7896 19.6159 11.897 19.6159 12.0056ZM15.3339 14.665C15.3339 13.3783 14.2873 12.3316 13.0006 12.3316C11.7139 12.3316 10.6673 13.3783 10.6673 14.665C10.6673 15.9516 11.7139 16.9983 13.0006 16.9983C14.2873 16.9983 15.3339 15.9516 15.3339 14.665ZM13.0006 13.665C12.4493 13.665 12.0006 14.1136 12.0006 14.665C12.0006 15.2163 12.4493 15.665 13.0006 15.665C13.5519 15.665 14.0006 15.2163 14.0006 14.665C14.0006 14.1136 13.5519 13.665 13.0006 13.665Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78156",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78156",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.ExitIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M7.65019 3.95834H6.86686C5.02053 3.95834 4.09736 3.95834 3.52378 4.53193C2.9502 5.10551 2.9502 6.02868 2.9502 7.87501V11.7917C2.9502 13.638 2.9502 14.5612 3.52378 15.1348C4.09736 15.7083 5.02053 15.7083 6.86686 15.7083H7.65019",stroke:"#141A2A",strokeWidth:"1.175"}),e.jsx("path",{d:"M7.65039 5.50652C7.65039 3.7097 7.65039 2.81129 8.2044 2.32015C8.75842 1.829 9.60522 1.9767 11.2988 2.27209L13.1231 2.59027C14.9987 2.91742 15.9366 3.081 16.4935 3.76897C17.0504 4.45694 17.0504 5.45193 17.0504 7.4419V12.2248C17.0504 14.2147 17.0504 15.2097 16.4935 15.8977C15.9366 16.5857 14.9987 16.7492 13.1231 17.0764L11.2988 17.3946C9.60522 17.69 8.75842 17.8377 8.2044 17.3465C7.65039 16.8554 7.65039 15.957 7.65039 14.1601V5.50652Z",stroke:"#141A2A",strokeWidth:"1.175"}),e.jsx("path",{d:"M10 9.04999V10.6167",stroke:"#141A2A",strokeWidth:"1.175",strokeLinecap:"round"})]}),exports.ExportIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Export",children:e.jsx(oo,{disabled:t.disabled})})}),exports.FacebookCircularProgress=Io,exports.FileNames=({fileNames:t,previewEnabled:r=!1,onDelete:l})=>{const[n,i]=a.useState(),{openedDialog:o,onDialogClose:s,onDialogOpen:d}=Hi(),c=a.useMemo((()=>t&&Array.isArray(t)?t.map((e=>Cn.default(hn.default(fn.default(xn.default(fn.default(e,"/")),"_")),"_"))):[]),[t]),u={viewAttachment:n&&e.jsx(Ls,{open:"viewAttachment"===o,onClose:s,fileName:n})};return e.jsxs(Zr.default,{gap:"5px",maxHeight:"120px",overflow:"auto",children:[c.map(((n,o)=>e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",gap:"5x",alignItems:"center",maxWidth:"80%",overflow:"hidden",children:[e.jsx(cn.default,{}),e.jsx(_r.default,{maxWidth:"100%",textOverflow:"clip",children:n})]}),e.jsxs(Zr.default,{direction:"row",children:[r&&e.jsx(kr.default,{onClick:()=>t[o]&&(e=>{i(e),d("viewAttachment")})(t[o]),children:e.jsx(wo,{toolTipLabel:"Preview",children:e.jsx(pn.default,{})})}),e.jsx(kr.default,{onClick:()=>l(o),children:e.jsx(wo,{toolTipLabel:"Delete",children:e.jsx(un.default,{})})})]})]},X.v4()))),o&&u[o]]})},exports.FilePreview=js,exports.FilePreviewContainer=us,exports.FileUpload=function({loading:t=!1,onChange:r,isDisabled:l,multiple:n=!1,required:i=!1,error:o,helperText:s,label:d,fileNames:c,size:p=10,name:h,setError:C,accept:x=vi,acceptTitle:f="Only JPG, PNG, PDF files are accepted.",...g}){const m=u.useTheme(),{red:b,iron:j,black:y,butterflyBlue:w}=m.palette.app.color,{t:v}=Ae.useTranslation(),{inputRef:M,setInputRef:L}=Zi({navigationKey:"tab"}),k=a.useRef(0),S=a.useRef(null),H=a.useRef(null),Z=a.useRef(0),V=a.useRef(0),[D,A]=a.useState(0),B=e=>{const t=e.reduce(((e,t)=>{const{name:r}=t;return Mi(t,p)?x.length&&!Li(t,x)?(e.errors.push(v("fileUpload.fileType.error.message",{fileName:r})),e):(e.validFiles.push(t),e):(e.errors.push(v("fileUpload.fileSize.error.message",{fileName:r,fileSize:p})),e)}),{validFiles:[],errors:[]}),{errors:l,validFiles:n}=t;l.length&&qr.default(C)?C(h,{type:Zs,message:l.join("\n")}):n.length&&r(n)},I=e=>{gn.default(H.current)&&(H.current=e);const t=Math.min(e-H.current,220),r=(l=t/220,1-Math.pow(1-l,3));var l;const n=Z.current+(V.current-Z.current)*r;A(Number(n.toFixed(3))),t<220?S.current=requestAnimationFrame(I):(A(V.current),H.current=null,S.current=null)},R=e=>{const t=Math.max(0,Math.min(1,e));S.current&&(cancelAnimationFrame(S.current),S.current=null),Z.current=D,V.current=t,H.current=null,S.current=requestAnimationFrame(I)};if(a.useEffect((()=>()=>{S.current&&(cancelAnimationFrame(S.current),S.current=null)}),[]),t)return e.jsx(Hs,{});const T=.08+.12*D,E=1+.02*D;return e.jsxs(Zr.default,{gap:"5px",children:[e.jsx(Tl.default,{disabled:l,required:i,children:d}),e.jsx(ks,{onClick:()=>M.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),M.current?.click())},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),l||(k.current+=1,k.current&&R(1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation(),l||e.dataTransfer&&(e.dataTransfer.dropEffect="copy")},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),l||(k.current-=1,k.current<=0&&(k.current=0,R(0)))},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),l)return;k.current=0,R(0);const t=e.dataTransfer;if(!t)return;const{files:r}=t;if(!r?.length)return;const n=Array.from(r);B(n)},error:o,disabled:l,tabIndex:l?-1:0,role:"button","aria-label":d??"Upload files",sx:{transform:`scale(${E})`,transition:"transform 30ms linear",boxShadow:`0 0px ${12*D}px ${u.alpha(y[900],T)}`,cursor:l?"not-allowed":"pointer","&:focus-visible":{outline:`2px solid ${w[900]}`,outlineOffset:"2px"}},...g,children:e.jsx(Zo,{padding:{padding:"20px"},children:e.jsxs(Zr.default,{gap:"4px",alignItems:"center",justifyContent:"center",children:[e.jsx(Ss,{disabled:l,type:"file",accept:x.toString(),ref:L,onChange:e=>{const t=e.target.files;t&&(B(Array.from(t)),e.target.value="")},multiple:n}),e.jsx(io,{disabled:l}),e.jsx(_r.default,{color:l?j[800]:"revert-layer",children:"Drag & drop files or Browse"}),e.jsx(_r.default,{variant:"caption",color:l?j[800]:"revert-layer",children:f})]})})}),o&&e.jsx(_r.default,{variant:"caption",sx:{color:`${b[900]}`,whiteSpace:"pre",textWrap:"wrap"},children:s}),c]})},exports.FilterIconAction=Ho,exports.FilterList=({filterListItems:t})=>{const[r,l]=a.useState(null),n=a.useRef(null),[i,o]=a.useState(!1),[s,d]=a.useState(),[c,u]=a.useState(null),{control:p,handleSubmit:h,setValue:C,reset:x,formState:{errors:f},watch:g}=De.useForm(),m=()=>{l(null)},b=e=>{o(!1),u(null),m();const r=bd(e,t);d(r)},j=e=>{o(!0),l(null),u(e)},y=e=>t.find((t=>t.key===e)),w=c?.key?g(c.key):null,v=Boolean(r);return e.jsxs(Zr.default,{children:[e.jsxs(Zr.default,{direction:"row",spacing:1,alignItems:"center",children:[s&&(M=s,Object.entries(M).map((([t,r])=>{if(!r)return;const l=y(t),i=l&&md(r,l);return e.jsx(oa,{ref:n,label:e.jsx(wo,{toolTipLabel:`${i}`,children:`${l?.label}: ${i}`}),onDelete:()=>(e=>{C(`${e}`,null),d((t=>{const r={...t};return delete r[e],r}))})(t),onClick:e=>{o(!0),n.current=e.currentTarget;const r=y(t);r&&(u(r),j(r))}},t)}))),e.jsx(kr.default,{ref:n,onClick:e=>{l(e.currentTarget)},sx:{height:"40px"},children:e.jsx(so,{})}),e.jsx(Ni,{onClick:()=>(x(),void d(void 0)),variant:"text",children:"Clear Filter"})]}),e.jsx(Cd,{open:v,anchorEl:r,onClose:m,onApply:()=>{h(b)()},children:t.map((t=>e.jsx(Br.default,{onClick:()=>"switch"!==t.type&&j(t),children:e.jsx(jd,{filter:t,control:p})},t.key)))}),c&&"switch"!==c.type&&e.jsx(fd,{open:i,onClose:()=>{o(!1)},onApply:()=>{h(b)()},control:p,currentFilterValue:w,anchorEl:n.current,filterItem:c,errors:f})]});var M},exports.FilterListV2=({filterListItems:t,isDisabled:r=!1,filterListData:l,onApply:n,onClear:i,onChange:o})=>{const s=u.useTheme(),{iron:d,slate:c}=s.palette.app.color,{layout:h}=Vi(),C="desktop"===h,x="mobile"===h,[f,g]=a.useState(null),m=a.useRef(null),b=a.useRef(null),[j,y]=a.useState(!1),[w,v]=a.useState(!1),[M,L]=a.useState(null),k=a.useRef(null),[S,H]=a.useState(!1),[Z,V]=a.useState(null),D=a.useRef({}),A=a.useMemo((()=>t.reduce(((e,t)=>("autoComplete"===t.type&&t.required&&1===t.options?.length?e[t.key]=t.options[0]?.value:t.multiSelect||"dateRange"===t.type?e[t.key]=t.value||null:"switch"===t.type?e[t.key]=t.value||!1:t.isDefaultCurrentDate&&"date"===t.type?e[t.key]=t.value||p.DateTime.now().toISODate():e[t.key]=t.value||null,e)),{})),[l]),B=Xt.z.object((()=>{const e={};return t.forEach((t=>{t.multiSelect||"dateRange"===t.type?e[t.key]=Xt.z.array(Xt.z.string()).nullable().optional():"switch"===t.type?e[t.key]=Xt.z.boolean().nullable().optional():e[t.key]=Xt.z.string().nullable().optional()})),e})()).superRefine(((e,r)=>{t.forEach((t=>{t.required&&!e[t.key]?.length&&r.addIssue({path:[t.key],message:`${t.label} is required`,code:Xt.z.ZodIssueCode.custom})}))})),{control:I,handleSubmit:R,setValue:T,reset:E,getValues:F,formState:{errors:P,dirtyFields:_},watch:O}=De.useForm({values:A,resolver:$t.zodResolver(B),mode:"all"});a.useMemo((()=>{t&&0!==t.length&&t.forEach((e=>{if(e.required&&1===e.options?.length){F(e.key)||T(e.key,e.options[0]?.value)}}))}),[t]);const z=O("company_id"),W=O("business_unit_id"),$=O("department_id"),q=()=>{g(null)},K=()=>{E(),i(),q()},N=e=>{const t=e instanceof HTMLElement?e:e.currentTarget;g(t)},G=e=>{y(!1),L(null);const r=Yn.default(bd(e,t),(e=>Un.default(e)||Or.default(e)));n(r,j,M?.key),q()},U=e=>t.find((t=>t.key===e)),Y=De.useWatch({control:I}),X=M?.key?"switch"===M.key?O(M.key)?"true":"false":O(M.key):null;a.useEffect((()=>{o(Y,j)}),[Y,o]),a.useEffect((()=>{E(A)}),[A,E]),a.useMemo((()=>{z===l?.company_id||j||(t.forEach((e=>{e.isDefaultCurrentDate&&"date"===e.type||T(`${e.key}`,null)})),T("company_id",z))}),[z]),a.useMemo((()=>{Gn.default(W,l?.business_unit_id)||j||T("business_unit_location_id",null)}),[W]),a.useMemo((()=>{Gn.default($,l?.department_id)||j||T("sub_department_id",null)}),[$]);const J=Boolean(f),Q=a.useMemo((()=>0===Object.keys(_).length&&Object.keys(Y).every((e=>Un.default(Y[e])||Or.default(Y[e])))),[Y,_]);const ee=(e,r)=>{if("company_id"===e&&t?.some((({required:e})=>e)))return;y(!0),m.current=r.currentTarget;const l=U(e);l&&L(l)};Di({key:"f",modifierKeys:["ctrl","shift"],onTrigger:()=>{if(r)return;const e=k.current??document.createElement("button");N(e)}});const te=t.findIndex((({type:e})=>"switch"!==e&&"dateRange"!==e));return e.jsxs(Br.default,{sx:{flexGrow:1},children:[e.jsxs(Zr.default,{direction:"row",justifyContent:{xs:"end",md:"space-between"},spacing:1,children:[C&&e.jsx(Zr.default,{direction:"row",alignItems:"center",sx:{maxWidth:{xs:"40vw",md:"45vw",lg:"57vw"}},children:l&&Object.values(l).some((e=>e))&&e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"body1",sx:{minWidth:"50px",marginRight:"5px"},children:"Filters:"}),e.jsx(Zr.default,{direction:"row",gap:"5px",alignItems:"center",sx:{flexWrap:"wrap",maxWidth:"100%"},children:(re=l,Object.entries(re).map((([t,r],i)=>{if("boolean"!=typeof r&&!r)return;const o=U(t),a=o&&md(r,o),s=function(e){return Array.isArray(e)?e.join(", "):Ai.test(e)?p.DateTime.fromFormat(e,"yyyy-MM").toFormat("MMM yyyy"):Bi.test(e)?p.DateTime.fromFormat(e,"yyyy-MM-dd").toFormat("dd-MM-yyyy"):e}("object"==typeof a?JSON.stringify(a):String(a));if("boolean"!=typeof r&&!s)return;const d=Z===t;return e.jsx(oa,{ref:e=>{D.current[t]=e,0!==i||Z||(m.current=e)},label:e.jsx(wo,{toolTipLabel:`${s}`,children:`${o?.label}: ${s}`}),onDelete:()=>(e=>{const t=U(e);if(t?.required)return Ea.error({title:"This is a required custom filter field and cannot be removed."});T(`${e}`,null);const r={...l};delete r[e],n(r,!0,e)})(t),onClick:e=>{ee(t,e)},isFocused:d,onKeyDown:e=>((e,t)=>{if("Enter"===t.key||" "===t.key){t.preventDefault();const r=D.current[e];r&&ee(e,{currentTarget:r})}else if("ArrowRight"===t.key||"ArrowLeft"===t.key){t.preventDefault();const r=Object.keys(l||{}).filter((e=>l?.[e])),n=r.indexOf(e),i=r["ArrowRight"===t.key?(n+1)%r.length:(n-1+r.length)%r.length];i&&D.current[i]&&(D.current[i]?.focus(),V(i))}})(t,e),onFocus:()=>V(t),onBlur:()=>{setTimeout((()=>{Object.values(D.current).some((e=>e===document.activeElement))||V(null)}),0)},tabIndex:0},t)})))})]})}),e.jsxs(Zr.default,{direction:"row",alignItems:"flex-start",children:[l&&Object.values(l).some((e=>e))&&e.jsx(Ni,{onClick:()=>K(),variant:"text",sx:{minWidth:{xs:"60px",sm:"100px"}},children:x?"Clear":"Clear Filter"}),!r&&e.jsx(Ho,{isFiltered:!Or.default(l),onClick:N,ref:k})]})]}),e.jsx("form",{onSubmit:e=>{e.preventDefault(),Q||R((e=>{G(e)}))()},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),S||Q||R((e=>{G(e)}))())},children:e.jsxs(On.default,{open:J,onClose:(e,t)=>{"backdropClick"!==t&&q()},anchor:"right",sx:{zIndex:s.zIndex.drawer+2,"& .MuiPaper-root":{width:"100%",maxWidth:{xs:"270px",sm:"350px"}}},children:[e.jsxs(Zr.default,{sx:{background:d[600]},children:[e.jsx(Zo,{padding:{padding:"10px 30px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsx(_r.default,{variant:"h6",children:"Filter"}),e.jsx(kr.default,{onClick:()=>{E(),q()},children:e.jsx(fl.default,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Zr.default,{flexGrow:1,sx:{overflowX:"hidden"},children:t.map(((t,r)=>"switch"===t.type?e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"80%",sx:{padding:"10px 5px 10px 20px ",margin:"auto"},children:[e.jsx(_r.default,{variant:"body2",children:t.label}),e.jsx(Ks,{control:I,name:t.key})]},t.key):e.jsxs(qn.default,{defaultExpanded:r===te||!!l?.[t.key]||!!A?.[t.key]||t.required,disabled:t.isDisabled,sx:{boxShadow:"none","&.MuiAccordion-root.Mui-expanded":{margin:"0 !important"},"&.MuiAccordion-root.Mui-disabled":{backgroundColor:"transparent"}},children:[e.jsx(Nn.default,{expandIcon:e.jsx($n.default,{}),"aria-controls":"panel1a-content",id:"panel1a-header",sx:{flexDirection:"row-reverse","& MuiAccordionSummary-root.Mui-expanded":{marginRight:"10px",transform:"rotate(-90deg)"},"&.Mui-expanded":{minHeight:"40px",paddingY:"5px"},"& .MuiAccordionSummary-content.Mui-expanded":{margin:"0px"}},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"90%",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsx(_r.default,{variant:"body2",children:t.label}),t.required&&e.jsx(_r.default,{color:"error",children:"*"})]}),e.jsx(_r.default,{variant:"body2",children:t.menuInfo})]})}),e.jsx(Kn.default,{sx:{background:c[600],borderRadius:"5px",padding:"0px"},children:e.jsx(Zo,{padding:{paddingLeft:"15px",paddingY:"5px",paddingRight:"15px"},children:"dateRange"===t.type?e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"10px",onClick:e=>{(e=>{L(e),v(!0)})(t),b.current=e.currentTarget},children:[e.jsx(Br.default,{sx:{border:"1px solid black",borderRadius:"5px",width:"150px",p:1},children:e.jsx(_r.default,{variant:"body2",children:Array.isArray(O(t.key))&&O(t.key)[0]?p.DateTime.fromISO(O(t.key)[0]).toFormat(Ja.dateWithEuropean):"Start Date"})}),e.jsx(_r.default,{children:"~"}),e.jsx(Br.default,{sx:{border:"1px solid black",borderRadius:"5px",width:"150px",p:1},children:e.jsx(_r.default,{variant:"body2",children:Array.isArray(O(t.key))&&O(t.key)[1]?p.DateTime.fromISO(O(t.key)[1]).toFormat(Ja.dateWithEuropean):"End Date"})})]}):e.jsx(Br.default,{children:xd({selectedFilter:t,control:I,errors:P,setIsPopupOpen:H,autoFocus:r===te})[t.type]})})})]},t.key)))}),e.jsx($r.default,{}),e.jsx(Zr.default,{children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsxs(ps,{children:[e.jsx(Ni,{type:"submit",disabled:Q,variant:"contained",onClick:()=>{R(G)()},children:"Apply"}),e.jsx(Ni,{type:"button",onClick:()=>K(),disabled:Object.keys(Y).every((e=>!Y[e])),variant:"outlined",children:"Reset"})]})})})]})}),M&&e.jsx(fd,{open:j,onClose:()=>{M?.key&&T(`${M?.key}`,l?.[M.key]),y(!1)},onApply:()=>{R(G)()},control:I,errors:P,reset:E,anchorEl:m.current,filterItem:M,currentFilterValue:X}),M&&e.jsx(gd,{open:w,onClose:()=>{M?.key&&T(`${M?.key}`,l?.[M.key]),v(!1)},onApply:()=>{v(!1)},control:I,errors:P,anchorEl:b.current,filterItem:M})]});var re},exports.FilterPill=oa,exports.FilterPopUpDateRangeWrapper=gd,exports.FilterPopup=Cd,exports.FilterPopupWrapper=fd,exports.FilterTypeWrapper=jd,exports.FormAction=function(t){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:109,height:112,fill:"none",...t,children:[e.jsx("path",{fill:"#FAFAFA",d:"M54.398 109.217c29.943 0 54.216-24.274 54.216-54.217 0-29.943-24.273-54.217-54.217-54.217C24.454.783.181 25.057.181 55c0 29.943 24.273 54.217 54.217 54.217Z"}),e.jsxs("g",{filter:"url(#a)",children:[e.jsx("mask",{id:"c",width:109,height:110,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:e.jsx("path",{fill:"url(#b)",d:"M54.398 109.217c29.943 0 54.216-24.274 54.216-54.217 0-29.943-24.273-54.217-54.217-54.217C24.454.783.181 25.057.181 55c0 29.943 24.273 54.217 54.217 54.217Z"})}),e.jsx("g",{mask:"url(#c)",children:e.jsx("path",{fill:"#fff",d:"M85.481 31.867H23.313a3.615 3.615 0 0 0-3.615 3.615v75.904A3.614 3.614 0 0 0 23.313 115H85.48a3.614 3.614 0 0 0 3.615-3.614V35.482a3.614 3.614 0 0 0-3.615-3.615Z"})})]}),e.jsx("path",{fill:"#D4F6CF",d:"M47.892 39.096H29.096a2.169 2.169 0 0 0 0 4.338h18.796a2.169 2.169 0 0 0 0-4.338ZM47.892 69.458H29.096a2.169 2.169 0 0 0 0 4.337h18.796a2.169 2.169 0 0 0 0-4.337Z"}),e.jsx("path",{stroke:"#40A230",strokeWidth:1.446,d:"M78.253 49.94H30.542a2.892 2.892 0 0 0-2.892 2.892v7.228a2.892 2.892 0 0 0 2.892 2.892h47.71a2.892 2.892 0 0 0 2.892-2.892v-7.229a2.892 2.892 0 0 0-2.891-2.891Z"}),e.jsx("path",{fill:"#89D07E",d:"M78.253 79.578h-47.71a3.614 3.614 0 0 0-3.615 3.615v5.783a3.614 3.614 0 0 0 3.614 3.614h47.711a3.614 3.614 0 0 0 3.615-3.614v-5.783a3.614 3.614 0 0 0-3.615-3.615Z"}),e.jsx("path",{fill:"#F1FDEF",d:"M38.494 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#40A230",d:"M54.397 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#F1FDEF",d:"M70.302 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#89D07E",d:"M62.35 64.398a3.614 3.614 0 1 0 0-7.23 3.614 3.614 0 0 0 0 7.23Z"}),e.jsx("path",{fill:"#40A230",stroke:"#fff",strokeWidth:.723,d:"M65.174 76.231c-.578 0-1.118 0-1.61-.03a3.3 3.3 0 0 1-2.807-1.988l-3.05-6.027a1.302 1.302 0 0 1 .131-1.829c.212-.17.477-.262.748-.26a1.385 1.385 0 0 1 1.04.517l1.384 1.89.021.025v-7.182a1.343 1.343 0 1 1 2.687 0v4.699a1.25 1.25 0 1 1 2.49 0v.98a1.25 1.25 0 1 1 2.49 0v.754a1.25 1.25 0 1 1 2.49 0v4.58c-.025 1.41-.662 3.785-2.903 3.785-.162.008-1.54.087-3.108.087h-.003Z"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"b",x1:54.398,x2:54.398,y1:.783,y2:109.217,gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#E3ECFA"}),e.jsx("stop",{offset:1,stopColor:"#DAE7FF"})]}),e.jsxs("filter",{id:"a",width:78.072,height:86.024,x:15.361,y:25.361,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[e.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),e.jsx("feOffset",{dy:-2.169}),e.jsx("feGaussianBlur",{stdDeviation:2.169}),e.jsx("feColorMatrix",{values:"0 0 0 0 0.788235 0 0 0 0 0.803922 0 0 0 0 0.85098 0 0 0 0.349 0"}),e.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_6149_10054"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_6149_10054",result:"shape"})]})]})]})},exports.FormActionButton=({actionType:t,onClick:r,shortcutKey:l,label:n,withoutModifiers:i=!1,loading:o=!1,disabled:a=!1,disableKeyboardShortcut:s=!1,variant:d="contained",...c})=>(Di({key:"cancel"==t?"Escape":l||"s",enabled:!s&&!o&&!a,withoutModifiers:"cancel"==t||i,modifierKeys:"cancel"!=t?["ctrl","shift"]:void 0,onTrigger:()=>{a||o||r()}}),e.jsx(Ni,{onClick:r,variant:"cancel"==t?"outlined":d,loading:o,disabled:a,...c,children:n||("cancel"==t?"Cancel":"update"==t?"Update":"Save")})),exports.FormContainer=({children:t})=>e.jsx(Zr.default,{gap:"15px",children:t}),exports.FormGridLayout=ds,exports.FormRow=({children:t,fullWidth:r=!1,maxColumn:l=3})=>e.jsx(cs,{direction:"row",flexWrap:"wrap",gap:"20px",fullWidth:r,maxColumn:l,children:t}),exports.FormSection=({title:t,children:r})=>{const{layout:l}=Vi();return e.jsxs(Zr.default,{gap:"15px",children:[t&&e.jsx(_r.default,{fontWeight:700,variant:"h5",children:t}),e.jsx(Zo,{padding:{padding:"mobile"===l?"10px":"15px"},children:e.jsx(Zr.default,{gap:"15px",children:r})})]})},exports.GridProvider=({children:t,gap:r,columns:l=3,columnsOnMobile:n=1,columnsOnSmallDevice:i=2,columnsOnTablet:o=3,...a})=>e.jsx(Zr.default,{...a,display:"grid",gap:r,gridTemplateColumns:{xs:`repeat(${n}, minmax(0, 1fr))`,sm:`repeat(${Math.min(l,i)}, minmax(0, 1fr))`,md:`repeat(${Math.min(l,o)}, minmax(0, 1fr))`,lg:`repeat(${l}, minmax(0, 1fr))`},children:t}),exports.HighlightedText=({text:t,highlightWords:r})=>{const l=u.useTheme(),{slate:n}=l.palette.app.color;if(!r?.length)return e.jsx(Br.default,{component:"span",children:t});const i=r.map((e=>e.replace(Ti,"\\$&"))),o=new RegExp(`(${i.join("|")})`,"gi"),a=t.split(o);return e.jsx(Br.default,{component:"span",children:a.map(((t,r)=>o.test(t)?e.jsx(Br.default,{component:"span",sx:{padding:"2px 4px",backgroundColor:n[800],border:`1px solid ${n[700]}`,borderRadius:"5px",fontFamily:"monospace",fontSize:"0.9em"},children:t},`highlight-${r}-${t}`):e.jsx(Br.default,{component:"span",children:t},`text-${r}-${t}`)))})},exports.HistoryIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"History",children:e.jsx(co,{disabled:t.disabled})})}),exports.HolidayCalendarSvg=({color:t,...r})=>e.jsxs("svg",{width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[e.jsx("mask",{id:"mask0_11_286",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"58",height:"58",children:e.jsx("path",{d:"M58 0H0V58H58V0Z",fill:"white"})}),e.jsxs("g",{mask:"url(#mask0_11_286)",children:[e.jsx("g",{opacity:"0.08",children:e.jsx("path",{d:"M14.6181 58.0021C6.17867 58.0021 0.507812 52.3314 0.507812 43.8918V17.165C0.507812 8.72555 6.17856 3.05469 14.6181 3.05469H43.38C51.8195 3.05469 57.4903 8.72543 57.4903 17.165V43.8918C57.4903 52.3312 51.8196 58.0021 43.38 58.0021H14.6181Z",fill:"black"})}),e.jsx("path",{d:"M14.6181 56.9787C6.17867 56.9787 0.507812 51.3079 0.507812 42.8683V16.1416C0.507812 7.70211 6.17856 2.03125 14.6181 2.03125H43.38C51.8195 2.03125 57.4903 7.702 57.4903 16.1416V42.8683C57.4903 51.3078 51.8196 56.9787 43.38 56.9787H14.6181Z",fill:"url(#paint0_linear_11_286)"}),e.jsx("path",{d:"M0.507812 16.2769V16.1416C0.507812 7.70211 6.17856 2.03125 14.6181 2.03125H43.38C51.8195 2.03125 57.4903 7.702 57.4903 16.1416V16.2769H0.507812Z",fill:t??"#007BFF"}),e.jsx("g",{opacity:"0.16",children:e.jsx("path",{d:"M43.38 2.03125H14.6181C6.17867 2.03125 0.507812 7.702 0.507812 16.1416V42.8683C0.507812 51.3078 6.17856 56.9787 14.6181 56.9787H43.38C51.8195 56.9787 57.4903 51.3079 57.4903 42.8683V16.1416C57.4903 7.702 51.8196 2.03125 43.38 2.03125ZM55.4552 42.8683C55.4552 50.2039 50.7155 54.9436 43.38 54.9436H14.6181C7.2826 54.9436 2.54291 50.2039 2.54291 42.8683V16.1416C2.54291 8.80604 7.2826 4.06635 14.6181 4.06635H43.38C50.7155 4.06635 55.4552 8.80604 55.4552 16.1416V42.8683Z",fill:"url(#paint1_linear_11_286)"})}),e.jsx("path",{opacity:"0.24",d:"M13.7401 12.2067C15.426 12.2067 16.7927 10.8401 16.7927 9.15415C16.7927 7.46825 15.426 6.10156 13.7401 6.10156C12.0542 6.10156 10.6875 7.46825 10.6875 9.15415C10.6875 10.8401 12.0542 12.2067 13.7401 12.2067Z",fill:"black"}),e.jsx("path",{opacity:"0.24",d:"M44.2635 12.2067C45.9494 12.2067 47.3161 10.8401 47.3161 9.15415C47.3161 7.46825 45.9494 6.10156 44.2635 6.10156C42.5776 6.10156 41.2109 7.46825 41.2109 9.15415C41.2109 10.8401 42.5776 12.2067 44.2635 12.2067Z",fill:"black"}),e.jsx("g",{opacity:"0.16",children:e.jsx("path",{d:"M43.38 2.03125H14.6181C6.17867 2.03125 0.507812 7.702 0.507812 16.1416V42.8683C0.507812 51.3078 6.17856 56.9787 14.6181 56.9787H43.38C51.8195 56.9787 57.4903 51.3079 57.4903 42.8683V16.1416C57.4903 7.702 51.8196 2.03125 43.38 2.03125ZM56.4727 42.8683C56.4727 50.6994 51.211 55.9611 43.38 55.9611H14.6181C6.78711 55.9611 1.52542 50.6994 1.52542 42.8683V16.1416C1.52542 8.31054 6.78711 3.04886 14.6181 3.04886H43.38C51.211 3.04886 56.4727 8.31054 56.4727 16.1416V42.8683Z",fill:"black"})}),e.jsx("path",{d:"M13.7362 10.1755C13.1746 10.1755 12.7188 9.71964 12.7188 9.158V1.01749C12.7188 0.455844 13.1746 0 13.7362 0C14.2979 0 14.7537 0.455844 14.7537 1.01749V9.15788C14.7538 9.71953 14.2979 10.1755 13.7362 10.1755Z",fill:"url(#paint2_linear_11_286)"}),e.jsx("path",{d:"M44.2597 10.1755C43.698 10.1755 43.2422 9.71964 43.2422 9.158V1.01749C43.2422 0.455844 43.698 0 44.2597 0C44.8213 0 45.2772 0.455844 45.2772 1.01749V9.15788C45.2772 9.71953 44.8213 10.1755 44.2597 10.1755Z",fill:"url(#paint3_linear_11_286)"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_11_286",x1:"28.999",y1:"56.9757",x2:"28.999",y2:"2.02808",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#ECECEC"}),e.jsx("stop",{offset:"1",stopColor:"white"})]}),e.jsxs("linearGradient",{id:"paint1_linear_11_286",x1:"28.999",y1:"56.9757",x2:"28.999",y2:"2.02808",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{}),e.jsx("stop",{offset:"0.06",stopOpacity:"0"})]}),e.jsxs("linearGradient",{id:"paint2_linear_11_286",x1:"13.7361",y1:"10.1723",x2:"13.7361",y2:"-0.00317263",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#DCDCDC"})]}),e.jsxs("linearGradient",{id:"paint3_linear_11_286",x1:"44.2597",y1:"10.1723",x2:"44.2597",y2:"-0.00317263",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#DCDCDC"})]})]})]}),exports.HomePageBanner=t=>e.jsxs("svg",{width:"442",height:"419",viewBox:"0 0 442 419",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{opacity:"0.5",children:[e.jsxs("g",{opacity:"0.6",children:[e.jsx("rect",{x:"95.3125",y:"41.2422",width:"29",height:"29",rx:"6.69231",transform:"rotate(14.6047 95.3125 41.2422)",fill:"url(#paint0_linear_42040_78200)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78200)",children:e.jsx("path",{d:"M112.609 53.0234L102.535 50.3984C100.551 49.8815 98.5169 51.0749 98 53.0588L96.1251 60.2544C95.6081 62.2382 96.8016 64.2728 98.7854 64.7897L108.859 67.4146C110.843 67.9315 112.878 66.7381 113.395 64.7543L115.27 57.5586C115.786 55.5748 114.593 53.5403 112.609 53.0234ZM103.314 62.1567L98.9962 61.0317C98.5983 60.928 98.3606 60.5219 98.4641 60.1247C98.5676 59.7275 98.9733 59.4889 99.3712 59.5926L103.689 60.7176C104.086 60.8212 104.324 61.2274 104.221 61.6246C104.117 62.0218 103.711 62.2604 103.314 62.1567ZM104.064 59.2784L99.7462 58.1535C99.3483 58.0498 99.1106 57.6436 99.2141 57.2464C99.3176 56.8492 99.7232 56.6106 100.121 56.7143L104.439 57.8393C104.836 57.943 105.074 58.3492 104.971 58.7464C104.867 59.1436 104.461 59.3821 104.064 59.2784ZM104.814 56.4002L100.496 55.2752C100.098 55.1715 99.8606 54.7653 99.9641 54.3681C100.068 53.9709 100.473 53.7324 100.871 53.8361L105.189 54.9611C105.586 55.0647 105.824 55.4709 105.721 55.8681C105.617 56.2653 105.211 56.5039 104.814 56.4002ZM109.07 63.6566C108.967 64.0538 108.561 64.2924 108.163 64.1887C107.765 64.085 107.527 63.6789 107.631 63.2817L107.438 63.2314C106.67 63.0314 106.061 62.4316 105.85 61.6657C105.74 61.2698 105.973 60.8609 106.368 60.751C106.764 60.6415 107.173 60.8741 107.282 61.2698C107.353 61.5249 107.556 61.7253 107.812 61.7921L109.444 62.2173C109.842 62.3208 110.248 62.0817 110.351 61.6853C110.422 61.4133 110.287 61.1322 110.031 61.0177L107.937 60.0827C107.014 59.6706 106.529 58.6606 106.784 57.682C107.094 56.4919 108.315 55.7757 109.505 56.0858C109.609 55.6886 110.014 55.4501 110.412 55.5538C110.81 55.6575 111.048 56.0636 110.944 56.4608L111.137 56.5111C111.905 56.7111 112.514 57.3109 112.726 58.0768C112.835 58.4727 112.603 58.8816 112.207 58.9915C111.81 59.0999 111.401 58.8673 111.293 58.4727C111.222 58.2175 111.019 58.0171 110.763 57.9504L109.131 57.5252C108.734 57.4217 108.327 57.66 108.224 58.0572C108.153 58.3292 108.288 58.6103 108.545 58.7248L110.638 59.6598C111.562 60.0719 112.046 61.0818 111.791 62.0604C111.481 63.2506 110.26 63.9668 109.07 63.6566Z",fill:"white"})})]}),e.jsxs("g",{opacity:"0.4",children:[e.jsx("path",{d:"M367.084 155.905C407.328 149.5 436.654 172.736 440.682 245.576C443.681 299.786 415.442 353.29 370.315 378.298C310.356 411.527 220.97 401.199 191.527 347.203C173.959 314.984 176.37 264.712 200.808 244.515C225.307 224.271 252.641 258.812 297.292 239.582C346.938 218.201 334.628 161.07 367.084 155.905Z",fill:"white"}),e.jsx("path",{d:"M293.891 397.897C279.271 397.897 264.759 395.958 251.12 391.99C223.276 383.891 202.5 368.498 191.037 347.474C182.414 331.66 178.339 311.188 179.86 291.312C181.426 270.822 188.931 253.609 200.454 244.089C212.5 234.135 225.266 237.2 240.051 240.752C256.038 244.592 274.159 248.944 297.074 239.075C323.548 227.674 332.133 206.349 339.706 187.536C346.13 171.578 351.679 157.799 367 155.36C385.247 152.457 400.437 155.782 412.149 165.241C429.272 179.071 439.06 206.092 441.241 245.551C444.26 300.153 415.867 353.699 370.586 378.794C347.928 391.351 320.743 397.897 293.896 397.9L293.891 397.897ZM219.473 238.487C213.052 238.487 206.994 240.128 201.161 244.948C189.872 254.276 182.513 271.206 180.969 291.395C179.466 311.062 183.491 331.306 192.016 346.936C203.335 367.693 223.879 382.901 251.43 390.914C289.846 402.088 335.295 397.067 370.041 377.812C414.954 352.919 443.118 299.792 440.121 245.609C437.958 206.478 428.308 179.73 411.443 166.107C399.986 156.855 385.088 153.608 367.171 156.461C352.473 158.801 347.035 172.308 340.738 187.95C333.084 206.965 324.408 228.515 297.51 240.1C274.252 250.118 255.939 245.718 239.786 241.837C232.57 240.105 225.844 238.49 219.476 238.49L219.473 238.487Z",fill:"black"}),e.jsx("path",{d:"M366.252 310.695C366.03 310.695 365.821 310.561 365.733 310.341C359.917 295.744 340.351 292.892 340.154 292.864C339.849 292.821 339.634 292.541 339.677 292.233C339.718 291.927 340 291.713 340.305 291.755C340.51 291.783 360.714 294.719 366.769 309.927C366.883 310.215 366.744 310.538 366.456 310.655C366.388 310.682 366.318 310.695 366.25 310.695H366.252Z",fill:"black"}),e.jsx("path",{d:"M338.753 320.039C338.733 320.039 338.716 320.039 338.695 320.037C338.388 320.006 338.166 319.731 338.196 319.423C339.646 305.245 331.649 295.929 331.568 295.836C331.364 295.604 331.389 295.25 331.621 295.046C331.853 294.841 332.206 294.864 332.411 295.099C332.494 295.195 340.809 304.879 339.308 319.537C339.278 319.825 339.036 320.039 338.753 320.039Z",fill:"black"}),e.jsx("path",{d:"M256.613 373.612C255.349 372.332 248.043 349.586 248.043 349.586L233.609 359.896L249.435 381.186L256.613 373.615V373.612Z",fill:"white"}),e.jsx("path",{d:"M249.431 381.742C249.431 381.742 249.409 381.742 249.399 381.742C249.235 381.732 249.083 381.652 248.983 381.518L233.157 360.228C233.068 360.107 233.031 359.955 233.053 359.806C233.076 359.657 233.159 359.526 233.28 359.438L247.714 349.127C247.86 349.024 248.044 348.996 248.213 349.051C248.382 349.107 248.516 349.241 248.569 349.41C251.361 358.102 256.12 372.25 257.005 373.217C257.204 373.434 257.214 373.78 257.013 373.994L249.835 381.566C249.729 381.677 249.583 381.74 249.429 381.74L249.431 381.742ZM234.395 360.018L249.484 380.316L255.908 373.54C254.249 370.488 249.265 355.201 247.744 350.483L234.395 360.016V360.018Z",fill:"black"}),e.jsx("path",{d:"M230.593 402.373L240.192 402.315C246.542 402.277 252.449 399.048 255.914 393.719L265.405 378.675C268.027 374.517 266.56 369.01 262.222 366.703C258.26 364.595 254.108 362.542 253.137 362.636C251.163 362.825 250.366 372.176 250.366 372.176L241.813 372.507C241.813 372.507 237.589 390.093 233.871 392.093C231.163 393.55 229.271 395.688 228 397.639C226.669 399.684 228.154 402.388 230.593 402.375V402.373Z",fill:"black"}),e.jsx("path",{d:"M231.559 399.179C231.286 399.179 231.049 398.98 231.006 398.702C230.961 398.397 231.17 398.112 231.475 398.066L244.605 396.087C247.394 395.665 249.828 394.034 251.276 391.611L262.877 372.209C263.036 371.944 263.379 371.858 263.644 372.017C263.909 372.176 263.994 372.52 263.836 372.785L252.234 392.186C250.613 394.898 247.891 396.723 244.769 397.193L231.639 399.172C231.611 399.177 231.581 399.179 231.556 399.179H231.559Z",fill:"white"}),e.jsx("path",{d:"M247.766 384.591C247.718 384.591 247.668 384.584 247.62 384.571L240.304 382.577C240.006 382.496 239.829 382.188 239.91 381.89C239.991 381.592 240.299 381.415 240.596 381.496L247.913 383.491C248.21 383.571 248.387 383.879 248.306 384.177C248.238 384.427 248.013 384.589 247.766 384.589V384.591Z",fill:"white"}),e.jsx("path",{d:"M243.958 388.351C243.913 388.351 243.87 388.346 243.825 388.336L238.919 387.135C238.619 387.061 238.435 386.758 238.508 386.458C238.581 386.158 238.889 385.976 239.184 386.046L244.089 387.248C244.39 387.321 244.574 387.624 244.501 387.925C244.438 388.18 244.211 388.351 243.958 388.351Z",fill:"white"}),e.jsx("path",{d:"M207.355 369.272L190.596 386.129L181.711 382.862L197.161 361.297L207.355 369.272Z",fill:"white"}),e.jsx("path",{d:"M190.598 386.686C190.532 386.686 190.469 386.675 190.406 386.65L181.521 383.383C181.357 383.323 181.231 383.189 181.181 383.022C181.13 382.856 181.158 382.674 181.261 382.533L196.711 360.968C196.8 360.844 196.936 360.761 197.085 360.74C197.239 360.718 197.387 360.761 197.508 360.854L207.703 368.829C207.829 368.928 207.907 369.077 207.917 369.236C207.927 369.395 207.869 369.551 207.755 369.665L190.997 386.519C190.891 386.628 190.747 386.683 190.601 386.683L190.598 386.686ZM182.596 382.588L190.454 385.476L206.517 369.321L197.279 362.094L182.598 382.586L182.596 382.588Z",fill:"black"}),e.jsx("path",{d:"M195.89 383.484C195.89 383.484 196.7 390.654 195.325 396.991C194.594 400.369 191.553 402.742 188.102 402.742H146.973C144.032 402.742 142.701 399.068 144.953 397.177C152.267 391.045 165.719 381.679 182.259 378.93L186.872 385.393L195.888 383.482L195.89 383.484Z",fill:"black"}),e.jsx("path",{d:"M191.552 397.644H148.927C148.619 397.644 148.367 397.394 148.367 397.084C148.367 396.773 148.617 396.523 148.927 396.523H191.552C191.86 396.523 192.112 396.773 192.112 397.084C192.112 397.394 191.862 397.644 191.552 397.644Z",fill:"white"}),e.jsx("path",{d:"M172.715 390.064C172.496 390.064 172.287 389.933 172.198 389.719L169.941 384.24C169.823 383.955 169.959 383.627 170.244 383.511C170.529 383.394 170.857 383.528 170.973 383.814L173.23 389.292C173.349 389.577 173.212 389.905 172.927 390.021C172.859 390.049 172.786 390.064 172.715 390.064Z",fill:"white"}),e.jsx("path",{d:"M165.292 391.5C165.057 391.5 164.838 391.351 164.762 391.116L163.13 386.173C163.032 385.88 163.193 385.565 163.486 385.466C163.779 385.368 164.094 385.53 164.192 385.822L165.824 390.766C165.92 391.058 165.761 391.374 165.468 391.472C165.41 391.493 165.35 391.5 165.294 391.5H165.292Z",fill:"white"}),e.jsx("path",{d:"M296.067 251.325C296.067 251.325 219.475 242.401 196.701 262.136C173.927 281.87 232.653 366.734 232.653 366.734L251.225 352.948L233.608 292.966L304.41 272.84L296.067 251.325Z",fill:"#191F33"}),e.jsx("path",{d:"M338.214 290.382C327.089 293.916 307.183 298.486 279.36 298.107C271.455 297.999 264.157 302.371 260.565 309.422C252.323 325.6 234.487 354.729 205.431 373.61L191.555 366.125L226.972 286.317C230.205 279.031 236.253 273.366 243.731 270.622L313.924 244.856C313.924 244.856 335.689 238.767 346.36 258.216C348.267 261.69 351.805 255.479 352.647 258.282C355.538 267.89 347.767 287.347 338.211 290.382H338.214Z",fill:"#191F33"}),e.jsx("path",{d:"M210.965 322.935C210.889 322.935 210.811 322.92 210.738 322.887C210.455 322.761 210.329 322.43 210.455 322.15L226.46 286.086C229.736 278.704 235.961 272.875 243.537 270.093L277.153 257.753C277.446 257.647 277.763 257.796 277.869 258.086C277.975 258.377 277.826 258.697 277.536 258.803L243.92 271.143C236.626 273.822 230.634 279.432 227.479 286.541L211.474 322.605C211.381 322.814 211.176 322.938 210.962 322.938L210.965 322.935Z",fill:"white"}),e.jsx("path",{d:"M229.653 353.944C229.515 353.944 229.373 353.891 229.265 353.788C229.043 353.573 229.036 353.22 229.25 352.998C232.448 349.67 235.593 346.093 238.602 342.372C238.796 342.132 239.146 342.094 239.386 342.288C239.626 342.483 239.663 342.834 239.469 343.076C236.44 346.823 233.273 350.423 230.054 353.775C229.946 353.889 229.8 353.947 229.651 353.947L229.653 353.944Z",fill:"white"}),e.jsx("path",{d:"M239.035 343.284C238.911 343.284 238.787 343.244 238.684 343.161C238.444 342.966 238.407 342.615 238.601 342.373C240.086 340.535 241.559 338.637 242.979 336.726C243.163 336.478 243.514 336.425 243.761 336.612C244.008 336.796 244.058 337.147 243.874 337.395C242.444 339.316 240.964 341.229 239.468 343.077C239.357 343.214 239.196 343.284 239.035 343.284Z",fill:"white"}),e.jsx("path",{d:"M278.659 189.392C278.659 189.392 271.923 250.623 226.688 254.63L278.659 255.37C278.659 255.37 297.902 216.334 298.684 201.136C299.466 185.938 278.659 189.392 278.659 189.392Z",fill:"white"}),e.jsx("path",{d:"M278.662 255.926H278.655L226.683 255.186C226.385 255.181 226.143 254.947 226.133 254.649C226.123 254.351 226.345 254.098 226.643 254.07C249.744 252.026 262.501 234.56 269.134 220.271C276.349 204.725 278.092 189.481 278.107 189.33C278.135 189.08 278.324 188.881 278.571 188.84C279.041 188.762 290.143 186.99 295.923 192.155C298.324 194.301 299.441 197.333 299.245 201.163C298.465 216.303 279.951 254.015 279.162 255.613C279.068 255.805 278.874 255.924 278.66 255.924L278.662 255.926ZM233.248 254.161L278.314 254.803C280.143 251.051 297.398 215.295 298.127 201.105C298.306 197.628 297.313 194.899 295.179 192.988C290.395 188.709 281.209 189.618 279.162 189.883C278.821 192.496 276.753 206.502 270.143 220.741C261.603 239.135 248.935 250.569 233.245 254.161H233.248Z",fill:"black"}),e.jsx("path",{d:"M343.04 150.477C334.263 148.412 330.604 148.384 298.705 149.541C290.909 149.823 282.234 162.04 281.318 169.795C283.797 177.235 294.632 211.539 274.667 240.236C271.835 244.309 267.984 248.775 262.695 253.054C265.666 255.46 270.282 258.588 276.481 260.431C286.773 263.49 291.948 260.183 300.241 260.431C322.18 261.085 330.225 285.545 344.394 282.473C348.177 281.652 353.194 278.699 357.895 268.79C360.561 260.572 362.931 250.923 364.25 240.019C367.829 210.459 361.973 185.847 356.742 170.399C355.189 165.521 353.385 152.911 343.04 150.477Z",fill:"white"}),e.jsx("path",{d:"M341.918 283.305C336.094 283.305 331.257 278.983 325.767 274.075C319.081 268.099 311.505 261.328 300.228 260.992C297.288 260.904 294.693 261.278 292.186 261.641C287.681 262.29 283.023 262.962 276.325 260.97C271.356 259.493 266.653 256.976 262.347 253.492C262.216 253.386 262.141 253.227 262.141 253.058C262.141 252.889 262.216 252.729 262.347 252.623C266.948 248.9 270.937 244.626 274.211 239.92C292.448 213.707 284.887 182.273 280.789 169.976C280.763 169.898 280.753 169.814 280.763 169.734C281.661 162.129 290.41 149.284 298.685 148.986C331.108 147.81 334.435 147.881 343.169 149.936C352.404 152.109 355.03 161.948 356.599 167.825C356.848 168.759 357.063 169.567 357.274 170.231C365.09 193.303 367.625 216.81 364.805 240.089C363.625 249.834 361.479 259.548 358.425 268.965C358.417 268.988 358.409 269.011 358.397 269.033C354.543 277.155 349.872 281.861 344.51 283.025C343.62 283.216 342.755 283.307 341.91 283.307L341.918 283.305ZM299.348 259.861C299.648 259.861 299.954 259.866 300.261 259.874C311.943 260.222 319.681 267.14 326.511 273.242C332.571 278.657 337.802 283.333 344.281 281.929C349.28 280.846 353.686 276.355 357.378 268.584C360.404 259.248 362.53 249.614 363.701 239.953C366.5 216.84 363.981 193.5 356.218 170.579C355.996 169.88 355.776 169.062 355.524 168.113C354.019 162.475 351.499 153.043 342.917 151.021C334.319 148.999 331.015 148.928 298.73 150.1C291.01 150.38 282.826 162.478 281.893 169.739C286.052 182.278 293.598 214.012 275.132 240.556C271.926 245.163 268.047 249.362 263.591 253.048C267.634 256.218 272.025 258.521 276.645 259.894C283.111 261.815 287.442 261.192 292.029 260.53C294.324 260.2 296.693 259.859 299.353 259.859L299.348 259.861Z",fill:"black"}),e.jsx("path",{d:"M272.719 196.253C272.719 196.253 281.332 153.613 296.196 150.078L289.329 205.778L272.719 196.253Z",fill:"white"}),e.jsx("path",{d:"M289.325 206.335C289.229 206.335 289.133 206.31 289.047 206.262L272.437 196.736C272.228 196.618 272.12 196.375 272.167 196.141C272.523 194.386 281.025 153.109 296.064 149.532C296.366 149.458 296.664 149.645 296.737 149.946C296.808 150.246 296.624 150.546 296.324 150.62C282.722 153.854 274.263 191.669 273.345 195.969L288.876 204.873L290.006 195.706C290.044 195.401 290.326 195.184 290.629 195.219C290.936 195.257 291.153 195.537 291.116 195.843L289.882 205.842C289.86 206.029 289.746 206.191 289.577 206.274C289.499 206.315 289.413 206.332 289.327 206.332L289.325 206.335Z",fill:"black"}),e.jsx("path",{d:"M316.866 130.077L315.807 144.823C315.572 146.742 314.193 148.322 312.324 148.809L307.148 150.16L310.505 152.72C317.948 158.392 328.258 159.556 335.713 153.896L341.027 150.031L334.598 148.423C332.752 148.009 331.332 145.376 330.994 143.513L328.155 124L316.863 130.079L316.866 130.077Z",fill:"white"}),e.jsx("path",{d:"M324.4 158.192C319.568 158.192 314.552 156.503 310.171 153.163L306.814 150.603C306.645 150.474 306.562 150.257 306.605 150.047C306.648 149.838 306.804 149.671 307.011 149.616L312.186 148.265C313.843 147.833 315.049 146.455 315.255 144.753L316.312 130.035C316.325 129.843 316.436 129.674 316.605 129.583L327.896 123.504C328.057 123.418 328.249 123.415 328.41 123.496C328.574 123.577 328.685 123.734 328.713 123.915L331.553 143.428C331.845 145.049 333.112 147.513 334.726 147.874L341.167 149.484C341.376 149.537 341.538 149.707 341.581 149.921C341.623 150.136 341.535 150.353 341.361 150.479L336.05 154.344C332.663 156.917 328.605 158.189 324.405 158.189L324.4 158.192ZM308.403 150.408L310.847 152.272C318.633 158.204 328.491 158.676 335.379 153.445L339.732 150.277L334.466 148.959C332.277 148.469 330.796 145.533 330.448 143.605L327.719 124.865L317.402 130.419L316.365 144.859C316.1 147.048 314.569 148.798 312.466 149.346L308.403 150.406V150.408Z",fill:"black"}),e.jsx("path",{d:"M300.13 109.55C303.671 107.674 300.821 113.516 312.467 103.425C317.105 99.4062 317.272 106.909 318.48 105.869C322.934 102.032 322.778 102.158 325.59 101.668C327.451 101.345 329.94 103.915 330.679 106.346C331.655 109.558 329.524 111.479 330.25 118.873C330.762 124.066 332.394 126.619 330.899 128.093C329.388 129.585 326.926 127.76 325.151 129.265C322.856 131.211 325.476 135.543 323.779 138.613C322.709 140.549 319.199 142.827 311.814 142.65C310.616 142.622 309.605 141.739 309.408 140.552C309.159 139.032 308.853 137.108 308.715 135.248C308.054 126.381 309.961 123.435 308.082 121.921C305.204 119.598 300.314 123.923 298.238 121.885C296.082 119.767 295.277 112.115 300.125 109.547L300.13 109.55Z",fill:"black"}),e.jsx("path",{d:"M317.752 114.527L317.606 116.948C317.538 118.089 317.546 119.233 317.634 120.374C317.8 122.513 318.058 126.193 318.045 128.264C318.027 131.306 308.63 131.901 308.63 131.901L307.437 130.574L306.335 130.619C306.121 130.629 305.904 130.594 305.715 130.493C305.241 130.245 305.003 129.735 305.087 129.246C305.531 126.557 306.31 120.624 305.447 116.012C305.447 116.012 310.673 111.765 317.752 114.527Z",fill:"white"}),e.jsx("path",{d:"M308.629 132.456C308.47 132.456 308.319 132.388 308.213 132.271L307.196 131.14L306.357 131.176C306.029 131.191 305.716 131.125 305.454 130.989C304.778 130.636 304.41 129.898 304.531 129.154C304.927 126.765 305.751 120.711 304.894 116.114C304.856 115.912 304.932 115.708 305.091 115.576C305.312 115.395 310.652 111.158 317.95 114.004C318.177 114.092 318.319 114.317 318.306 114.559L318.16 116.98C318.092 118.093 318.102 119.219 318.187 120.328C318.346 122.39 318.611 126.162 318.599 128.265C318.578 131.658 310.316 132.352 308.662 132.456C308.649 132.456 308.637 132.456 308.626 132.456H308.629ZM307.436 130.009C307.595 130.009 307.746 130.078 307.852 130.194L308.861 131.32C312.526 131.05 317.471 129.951 317.484 128.255C317.496 126.192 317.234 122.456 317.075 120.411C316.984 119.25 316.974 118.073 317.048 116.909L317.169 114.9C311.459 112.86 307.143 115.483 306.056 116.248C306.818 120.79 306.125 126.366 305.635 129.33C305.59 129.598 305.726 129.863 305.971 129.992C306.059 130.037 306.175 130.06 306.309 130.055L307.411 130.009C307.411 130.009 307.426 130.009 307.434 130.009H307.436Z",fill:"black"}),e.jsx("path",{d:"M319.398 121.99C319.398 121.99 319.744 116.165 322.354 116.9C324.962 117.637 324.42 124.037 319.398 121.99Z",fill:"white"}),e.jsx("path",{d:"M293.827 260.477H191.137C188.683 260.477 186.691 258.482 186.691 256.026V254.481H298.273V256.026C298.273 258.482 296.281 260.477 293.827 260.477Z",fill:"white"}),e.jsx("path",{d:"M293.826 261.031H191.137C188.377 261.031 186.133 258.784 186.133 256.02V254.475C186.133 254.167 186.382 253.914 186.693 253.914H298.275C298.583 253.914 298.833 254.164 298.833 254.475V256.02C298.833 258.781 296.588 261.031 293.826 261.031ZM187.25 255.035V256.022C187.25 258.168 188.995 259.915 191.137 259.915H293.826C295.97 259.915 297.715 258.168 297.715 256.022V255.035H187.25Z",fill:"black"}),e.jsx("path",{d:"M186.695 254.581H250.543L230.258 194.809C229.045 192.938 226.929 191.805 224.657 191.805H170.685C168.236 191.805 166.66 194.183 167.46 196.283C167.777 197.119 168.12 197.944 168.398 198.793L186.698 254.581H186.695Z",fill:"white"}),e.jsx("path",{d:"M250.54 255.145H186.692C186.449 255.145 186.235 254.991 186.162 254.761L167.862 198.97C167.668 198.377 167.433 197.779 167.209 197.2C167.115 196.963 167.022 196.723 166.931 196.486C166.49 195.325 166.654 194.009 167.373 192.967C168.124 191.876 169.33 191.25 170.679 191.25H224.651C227.127 191.25 229.397 192.469 230.721 194.509C230.747 194.547 230.767 194.59 230.782 194.633L251.067 254.405C251.125 254.577 251.097 254.764 250.991 254.91C250.885 255.056 250.716 255.145 250.537 255.145H250.54ZM187.095 254.026H249.758L229.745 195.06C228.623 193.373 226.721 192.366 224.648 192.366H170.677C169.698 192.366 168.828 192.815 168.291 193.598C167.781 194.338 167.663 195.269 167.973 196.085C168.061 196.319 168.155 196.554 168.245 196.791C168.477 197.385 168.717 197.998 168.921 198.619L187.095 254.024V254.026Z",fill:"black"}),e.jsx("path",{d:"M210.386 222.391C211.148 224.918 209.985 227.503 207.788 228.167C205.594 228.831 203.198 227.319 202.437 224.792C201.675 222.265 202.838 219.68 205.034 219.016C207.229 218.352 209.624 219.864 210.386 222.391Z",fill:"black"}),e.jsx("path",{d:"M363.532 207.225C363.532 207.225 360.4 246.934 351.537 261.971C340.952 279.926 287.556 255.743 287.556 255.743L281.346 252.224C277.145 249.843 272.141 249.333 267.546 250.817L257.516 254.056C257.516 254.056 265.801 244.112 272.845 240.31C276.148 238.528 280.431 240.214 284.047 242.506C290.272 246.452 297.591 248.303 304.955 248.083L326.196 247.452C329.762 247.346 332.685 244.584 332.995 241.024L336.196 196.359L363.532 207.225Z",fill:"white"}),e.jsx("path",{d:"M335.353 269.194C316.198 269.194 288.91 256.973 287.326 256.256L281.071 252.714C277.018 250.416 272.151 249.919 267.717 251.353L257.684 254.592C257.45 254.668 257.19 254.579 257.049 254.372C256.91 254.165 256.923 253.893 257.084 253.701C257.425 253.292 265.518 243.63 272.577 239.821C275.543 238.22 279.502 238.967 284.345 242.037C290.36 245.852 297.475 247.745 304.937 247.528L326.178 246.897C329.462 246.798 332.15 244.256 332.438 240.982L335.638 196.324C335.651 196.148 335.746 195.986 335.898 195.89C336.049 195.794 336.236 195.779 336.4 195.845L363.736 206.711C363.963 206.801 364.107 207.029 364.087 207.274C363.958 208.899 360.843 247.286 352.016 262.259C349.017 267.346 342.798 269.194 335.351 269.194H335.353ZM272.832 249.429C275.883 249.429 278.92 250.209 281.618 251.739L287.828 255.258C288.312 255.476 340.841 279.01 351.053 261.689C359.27 247.75 362.571 211.848 362.937 207.594L336.692 197.163L333.547 241.068C333.212 244.918 330.057 247.899 326.208 248.013L304.967 248.644C297.278 248.874 289.949 246.915 283.745 242.981C280.668 241.03 276.322 239.068 273.107 240.805C267.873 243.628 261.858 249.992 259.256 252.908L267.371 250.287C269.149 249.712 270.993 249.429 272.832 249.429Z",fill:"black"}),e.jsx("path",{d:"M368.502 210.03C368.502 210.03 371.846 184.441 368.159 175.43C359.556 154.411 346.407 151.465 344.303 150.836L332.18 202.795L368.502 210.027V210.03Z",fill:"white"}),e.jsx("path",{d:"M368.497 210.595C368.462 210.595 368.424 210.592 368.388 210.585L332.066 203.352C331.917 203.321 331.789 203.233 331.705 203.107C331.625 202.981 331.597 202.824 331.632 202.678L334.106 192.069C334.177 191.769 334.477 191.582 334.777 191.653C335.077 191.723 335.264 192.024 335.193 192.324L332.85 202.37L368.018 209.373C368.484 205.49 370.921 183.667 367.637 175.652C363.917 166.558 356.873 154.983 344.447 151.471L344.137 151.383C343.841 151.295 343.672 150.984 343.761 150.689C343.849 150.393 344.157 150.224 344.457 150.313L344.752 150.396C354.928 153.271 363.201 161.857 368.671 175.228C372.373 184.273 369.188 209.062 369.052 210.112C369.032 210.266 368.948 210.405 368.825 210.494C368.729 210.562 368.615 210.597 368.499 210.597L368.497 210.595Z",fill:"black"}),e.jsx("path",{d:"M4.65569 266.61C2.08825 266.61 0 264.52 0 261.949C0 259.379 2.08825 257.289 4.65569 257.289C7.22312 257.289 9.31137 259.379 9.31137 261.949C9.31137 264.52 7.22312 266.61 4.65569 266.61ZM4.65569 258.41C2.70363 258.41 1.11726 259.998 1.11726 261.952C1.11726 263.906 2.70363 265.494 4.65569 265.494C6.60774 265.494 8.19411 263.906 8.19411 261.952C8.19411 259.998 6.60774 258.41 4.65569 258.41Z",fill:"black"}),e.jsx("path",{d:"M9.59114 241.596C9.28345 241.596 9.03125 241.346 9.03125 241.036V236.699C9.03125 236.391 9.28093 236.141 9.59114 236.141C9.90135 236.141 10.151 236.391 10.151 236.699V241.036C10.151 241.344 9.90135 241.596 9.59114 241.596Z",fill:"black"}),e.jsx("path",{d:"M9.59114 251.7C9.28345 251.7 9.03125 251.45 9.03125 251.14V246.803C9.03125 246.495 9.28093 246.242 9.59114 246.242C9.90135 246.242 10.151 246.492 10.151 246.803V251.14C10.151 251.448 9.90135 251.7 9.59114 251.7Z",fill:"black"}),e.jsx("path",{d:"M6.71307 244.478H2.38021C2.07252 244.478 1.82031 244.228 1.82031 243.92C1.82031 243.612 2.06999 243.359 2.38021 243.359H6.71307C7.02076 243.359 7.27296 243.609 7.27296 243.92C7.27296 244.23 7.02328 244.478 6.71307 244.478Z",fill:"black"}),e.jsx("path",{d:"M16.8068 244.478H12.474C12.1663 244.478 11.9141 244.228 11.9141 243.92C11.9141 243.612 12.1637 243.359 12.474 243.359H16.8068C17.1145 243.359 17.3667 243.609 17.3667 243.92C17.3667 244.23 17.117 244.478 16.8068 244.478Z",fill:"black"}),e.jsx("path",{d:"M389.532 81.2927C389.295 81.2927 389.076 81.1412 389 80.9039L388.191 78.3793C388.097 78.0864 388.259 77.7709 388.551 77.6749C388.844 77.5815 389.159 77.7431 389.255 78.0359L390.064 80.5605C390.158 80.8534 389.996 81.1689 389.704 81.2649C389.646 81.2826 389.59 81.2927 389.532 81.2927Z",fill:"black"}),e.jsx("path",{d:"M392.368 90.1286C392.131 90.1286 391.912 89.9771 391.836 89.7398L391.026 87.2152C390.933 86.9224 391.095 86.6068 391.387 86.5109C391.68 86.4174 391.995 86.579 392.091 86.8719L392.9 89.3965C392.994 89.6893 392.832 90.0049 392.54 90.1008C392.482 90.1185 392.426 90.1286 392.368 90.1286Z",fill:"black"}),e.jsx("path",{d:"M384.871 86.2775C384.634 86.2775 384.415 86.126 384.339 85.8887C384.246 85.5958 384.407 85.2803 384.7 85.1843L387.222 84.3714C387.514 84.2755 387.829 84.4371 387.925 84.7324C388.019 85.0253 387.857 85.3409 387.565 85.4368L385.043 86.2497C384.985 86.2674 384.929 86.2775 384.871 86.2775Z",fill:"black"}),e.jsx("path",{d:"M393.699 83.4337C393.462 83.4337 393.243 83.2822 393.167 83.0449C393.074 82.7521 393.235 82.4365 393.528 82.3406L396.05 81.5277C396.342 81.4317 396.658 81.5933 396.753 81.8887C396.847 82.1815 396.685 82.4971 396.393 82.593L393.871 83.406C393.815 83.4236 393.757 83.4337 393.699 83.4337Z",fill:"black"}),e.jsx("path",{d:"M360.468 56.527C360.342 56.527 360.214 56.484 360.108 56.3957C357.558 54.2372 354.933 52.1064 352.302 50.064C352.057 49.8747 352.015 49.5237 352.204 49.2789C352.393 49.034 352.743 48.9911 352.988 49.1804C355.629 51.2329 358.267 53.3737 360.829 55.5424C361.064 55.7418 361.094 56.0953 360.895 56.33C360.784 56.4613 360.627 56.527 360.468 56.527Z",fill:"black"}),e.jsx("path",{d:"M352.642 50.1772C352.523 50.1772 352.402 50.1394 352.299 50.0586C315.651 21.5888 271.954 5.33292 229.256 4.29027C228.948 4.28269 228.704 4.02519 228.711 3.71719C228.719 3.41424 228.968 3.17188 229.271 3.17188C229.276 3.17188 229.279 3.17188 229.284 3.17188C250.86 3.69951 272.514 7.96355 293.639 15.8453C314.632 23.6766 334.599 34.8908 352.985 49.175C353.229 49.3643 353.272 49.7152 353.083 49.9601C352.972 50.1015 352.808 50.1772 352.642 50.1772Z",fill:"black"}),e.jsx("path",{d:"M335.177 51.5472C335.071 51.5472 334.963 51.5169 334.867 51.4512C307.031 32.7491 275.818 21.3455 244.6 18.475C244.293 18.4473 244.068 18.1746 244.096 17.8666C244.124 17.5586 244.399 17.3339 244.704 17.3617C276.108 20.2498 307.5 31.7165 335.49 50.5222C335.744 50.6939 335.813 51.0422 335.641 51.2972C335.533 51.4588 335.356 51.5446 335.177 51.5446V51.5472Z",fill:"black"}),e.jsx("path",{d:"M368.544 67.5863C368.065 67.5863 367.583 67.5055 367.116 67.344C364.852 66.5563 363.651 64.0746 364.435 61.8075C365.22 59.543 367.699 58.3362 369.966 59.1239C372.229 59.9116 373.432 62.3932 372.647 64.6603C372.266 65.7585 371.482 66.6421 370.438 67.1496C369.838 67.4399 369.192 67.5863 368.546 67.5863H368.544ZM368.544 59.9999C367.207 59.9999 365.954 60.8381 365.49 62.1736C364.907 63.8575 365.8 65.703 367.482 66.2861C368.297 66.5689 369.172 66.5184 369.949 66.1423C370.725 65.7661 371.308 65.1097 371.59 64.2943C372.173 62.6104 371.28 60.7649 369.598 60.1817C369.25 60.0605 368.892 60.0024 368.541 60.0024L368.544 59.9999Z",fill:"black"}),e.jsx("path",{d:"M222.409 8.13149C222.369 8.13149 222.329 8.12644 222.291 8.11886L214.8 6.48293C214.611 6.44254 214.457 6.30621 214.392 6.12444C214.326 5.94267 214.362 5.7407 214.483 5.58922C216.702 2.80713 219.171 0.199224 219.196 0.173978C219.328 0.0351254 219.522 -0.0254647 219.706 0.00987956C219.892 0.0452238 220.049 0.173978 220.119 0.350699L222.929 7.36654C223.007 7.5584 222.972 7.77804 222.838 7.93457C222.73 8.0608 222.573 8.13149 222.412 8.13149H222.409ZM215.92 5.58417L221.496 6.80103L219.408 1.5827C218.652 2.40319 217.282 3.92299 215.92 5.58165V5.58417Z",fill:"black"}),e.jsx("path",{d:"M411.745 392.571H349.725C346.001 392.571 343.216 389.151 343.966 385.501L353.376 339.715C354.166 335.865 357.552 333.102 361.48 333.102H414.678L411.744 392.573L411.745 392.571Z",fill:"white"}),e.jsx("path",{d:"M411.745 392.894H349.724C347.853 392.894 346.102 392.062 344.919 390.61C343.736 389.157 343.275 387.273 343.652 385.437L353.061 339.651C353.879 335.671 357.42 332.781 361.48 332.781H414.678C414.766 332.781 414.85 332.818 414.911 332.881C414.972 332.945 415.003 333.031 414.999 333.119L412.065 392.59C412.056 392.761 411.916 392.896 411.745 392.896V392.894ZM361.48 333.423C357.723 333.423 354.447 336.097 353.69 339.78L344.28 385.566C343.943 387.212 344.357 388.902 345.417 390.202C346.477 391.504 348.047 392.251 349.726 392.251H411.441L414.343 333.422H361.481L361.48 333.423Z",fill:"black"}),e.jsx("path",{d:"M419.683 392.573H407.647C403.923 392.573 401.138 389.153 401.888 385.502L412.252 335.072C412.488 333.925 413.496 333.102 414.665 333.102H417.76C419.043 333.102 420.111 334.087 420.216 335.367L424.455 387.388C424.682 390.181 422.479 392.573 419.681 392.573H419.683Z",fill:"white"}),e.jsx("path",{d:"M419.682 392.894H407.646C405.775 392.894 404.024 392.062 402.841 390.61C401.659 389.157 401.197 387.273 401.574 385.437L411.937 335.007C412.202 333.716 413.349 332.781 414.664 332.781H417.759C419.199 332.781 420.418 333.906 420.535 335.343L424.774 387.364C424.89 388.783 424.403 390.199 423.439 391.246C422.474 392.294 421.104 392.894 419.681 392.894H419.682ZM414.664 333.423C413.652 333.423 412.768 334.144 412.566 335.137L402.202 385.568C401.865 387.213 402.279 388.902 403.339 390.204C404.399 391.506 405.969 392.252 407.646 392.252H419.682C420.945 392.252 422.112 391.741 422.968 390.811C423.824 389.882 424.238 388.676 424.136 387.416L419.897 335.395C419.807 334.29 418.868 333.423 417.76 333.423H414.666H414.664Z",fill:"black"}),e.jsx("path",{d:"M403.296 357.461H354.736C354.559 357.461 354.414 357.317 354.414 357.139C354.414 356.961 354.557 356.817 354.736 356.817H403.296C404.592 356.817 405.708 355.936 406.006 354.672L410.287 336.584C410.327 336.411 410.501 336.304 410.672 336.345C410.845 336.385 410.952 336.559 410.91 336.732L406.629 354.819C406.261 356.374 404.889 357.458 403.295 357.458L403.296 357.461Z",fill:"black"}),e.jsx("path",{d:"M384.549 357.141L383.189 362.634C382.969 363.563 382.14 364.22 381.186 364.22H371.568C370.521 364.22 369.762 363.221 370.043 362.21L371.452 357.142H384.55L384.549 357.141Z",fill:"white"}),e.jsx("path",{d:"M381.188 364.539H371.57C370.969 364.539 370.417 364.265 370.053 363.786C369.69 363.308 369.574 362.702 369.735 362.123L371.144 357.055C371.183 356.916 371.309 356.82 371.452 356.82H384.55C384.649 356.82 384.741 356.865 384.804 356.944C384.865 357.022 384.886 357.123 384.862 357.219L383.502 362.712C383.247 363.788 382.295 364.541 381.188 364.541V364.539ZM371.697 357.461L370.353 362.294C370.246 362.679 370.323 363.08 370.565 363.398C370.805 363.715 371.172 363.896 371.57 363.896H381.188C381.997 363.896 382.692 363.345 382.878 362.558L384.14 357.461H371.697Z",fill:"black"}),e.jsx("path",{d:"M398.862 388.292H347.275C347.098 388.292 346.953 388.149 346.953 387.97C346.953 387.792 347.096 387.648 347.275 387.648H398.862C399.039 387.648 399.184 387.792 399.184 387.97C399.184 388.149 399.04 388.292 398.862 388.292Z",fill:"black"}),e.jsx("path",{d:"M373.73 331.023H369.704C368.616 331.023 367.734 331.906 367.734 332.995H375.701C375.701 331.906 374.819 331.023 373.732 331.023H373.73Z",fill:"black"}),e.jsx("path",{d:"M375.702 333.317H367.736C367.559 333.317 367.414 333.173 367.414 332.997C367.414 331.732 368.442 330.703 369.705 330.703H373.731C374.994 330.703 376.022 331.732 376.022 332.997C376.022 333.173 375.879 333.317 375.702 333.317ZM368.089 332.675H375.352C375.203 331.918 374.534 331.345 373.734 331.345H369.708C368.909 331.345 368.24 331.918 368.09 332.675H368.089Z",fill:"black"}),e.jsx("path",{d:"M406.004 331.023H401.977C400.89 331.023 400.008 331.906 400.008 332.995H407.975C407.975 331.906 407.093 331.023 406.005 331.023H406.004Z",fill:"black"}),e.jsx("path",{d:"M407.974 333.317H400.008C399.831 333.317 399.688 333.173 399.688 332.997C399.688 331.732 400.716 330.703 401.979 330.703H406.005C407.268 330.703 408.296 331.732 408.296 332.997C408.296 333.173 408.152 333.317 407.976 333.317H407.974ZM400.359 332.675H407.622C407.473 331.918 406.804 331.345 406.005 331.345H401.979C401.179 331.345 400.51 331.918 400.361 332.675H400.359Z",fill:"black"}),e.jsx("path",{d:"M404.959 330.922L405.608 327.064C406.069 324.329 404.225 322.109 401.492 322.109H377.346C374.613 322.109 372.023 324.327 371.563 327.064L370.914 330.922H372.762L373.267 327.92C373.625 325.79 375.641 324.064 377.769 324.064H400.415C402.542 324.064 403.976 325.79 403.618 327.92L403.113 330.922H404.961H404.959Z",fill:"white"}),e.jsx("path",{d:"M404.958 331.241H403.11C403.016 331.241 402.926 331.199 402.865 331.128C402.804 331.056 402.778 330.96 402.794 330.867L403.299 327.865C403.459 326.92 403.24 326.037 402.685 325.38C402.142 324.738 401.336 324.384 400.413 324.384H377.767C375.793 324.384 373.916 325.993 373.583 327.972L373.078 330.974C373.052 331.129 372.918 331.243 372.762 331.243H370.914C370.82 331.243 370.73 331.201 370.669 331.129C370.608 331.057 370.582 330.961 370.598 330.869L371.247 327.011C371.731 324.132 374.468 321.789 377.346 321.789H401.494C402.898 321.789 404.135 322.336 404.974 323.33C405.828 324.342 406.167 325.687 405.927 327.118L405.278 330.976C405.252 331.131 405.118 331.244 404.962 331.244L404.958 331.241ZM403.489 330.599H404.687L405.291 327.008C405.499 325.766 405.213 324.606 404.481 323.74C403.766 322.894 402.704 322.427 401.491 322.427H377.343C374.763 322.427 372.312 324.529 371.877 327.114L371.291 330.597H372.488L372.949 327.862C373.331 325.587 375.492 323.737 377.766 323.737H400.412C401.527 323.737 402.507 324.172 403.175 324.961C403.854 325.764 404.124 326.833 403.932 327.968L403.491 330.596L403.489 330.599Z",fill:"black"}),e.jsx("path",{d:"M400.283 320.508H379.072C378.217 320.508 377.408 321.201 377.263 322.058L376.952 323.912C376.808 324.767 377.385 325.461 378.239 325.461H399.45C400.304 325.461 401.114 324.767 401.259 323.912L401.57 322.058C401.713 321.202 401.137 320.508 400.283 320.508Z",fill:"black"}),e.jsx("path",{d:"M399.451 325.782H378.24C377.735 325.782 377.289 325.583 376.983 325.222C376.673 324.856 376.55 324.371 376.636 323.858L376.947 322.004C377.115 321.002 378.068 320.188 379.072 320.188H400.283C400.788 320.188 401.234 320.386 401.54 320.747C401.85 321.114 401.973 321.598 401.886 322.111L401.574 323.965C401.405 324.967 400.452 325.782 399.45 325.782H399.451ZM379.073 320.828C378.369 320.828 377.7 321.404 377.582 322.11L377.27 323.964C377.215 324.287 377.289 324.586 377.474 324.806C377.655 325.021 377.928 325.138 378.24 325.138H399.451C400.155 325.138 400.824 324.563 400.943 323.857L401.254 322.003C401.309 321.679 401.237 321.381 401.05 321.16C400.869 320.946 400.597 320.828 400.283 320.828H379.072H379.073Z",fill:"black"}),e.jsx("path",{d:"M407.533 388.296C407.421 388.296 407.313 388.238 407.253 388.134C407.165 387.98 407.22 387.783 407.373 387.696L415.525 383.047V336.658C415.525 336.481 415.669 336.336 415.847 336.336C416.025 336.336 416.169 336.479 416.169 336.658V383.232C416.169 383.348 416.106 383.454 416.006 383.511L407.692 388.253C407.641 388.282 407.588 388.295 407.534 388.295L407.533 388.296Z",fill:"black"}),e.jsx("path",{d:"M76.1645 150.243C86.6824 139.715 86.6824 122.645 76.1645 112.116C65.6465 101.587 48.5936 101.587 38.0757 112.116C27.5577 122.645 27.5577 139.715 38.0757 150.243C48.5936 160.772 65.6466 160.772 76.1645 150.243Z",fill:"white"}),e.jsx("path",{d:"M57.165 158.693C47.6821 158.693 38.4464 153.788 33.3494 145.005C25.7328 131.884 30.1994 115.008 43.3064 107.386C49.6544 103.692 57.0591 102.695 64.1586 104.578C71.2557 106.462 77.1976 110.999 80.8873 117.353C88.5039 130.473 84.0374 147.35 70.9303 154.972C66.5975 157.494 61.8484 158.693 57.165 158.693ZM57.0767 104.768C52.4816 104.768 47.947 105.98 43.8688 108.353C31.2939 115.666 27.009 131.857 34.3153 144.444C41.6217 157.032 57.7955 161.321 70.3704 154.007C82.9453 146.694 87.2303 130.504 79.9239 117.916C76.3855 111.819 70.6857 107.467 63.8736 105.659C61.624 105.063 59.3415 104.768 57.0767 104.768Z",fill:"black"}),e.jsx("path",{d:"M53.3198 147.279L72.8495 135.92C74.8872 134.734 75.5792 132.12 74.3951 130.08L67.1067 117.524C65.9226 115.485 63.3108 114.792 61.2731 115.977L41.7435 127.337C39.7057 128.522 39.0137 131.137 40.1978 133.176L47.4862 145.732C48.6703 147.772 51.2821 148.465 53.3198 147.279Z",fill:"white"}),e.jsx("path",{d:"M51.1801 148.413C49.5156 148.413 47.8939 147.552 46.9986 146.01L39.7099 133.455C39.0617 132.339 38.8877 131.036 39.2181 129.789C39.5485 128.542 40.3429 127.497 41.4576 126.848L60.9858 115.49C63.2884 114.149 66.2468 114.937 67.5835 117.239L74.8722 129.794C75.5203 130.91 75.6943 132.213 75.3639 133.46C75.0336 134.707 74.2391 135.752 73.1219 136.401L53.5937 147.759C52.832 148.201 51.9998 148.413 51.1776 148.413H51.1801ZM63.407 115.957C62.7739 115.957 62.1333 116.118 61.5482 116.459L42.0201 127.817C41.1626 128.315 40.5522 129.118 40.2975 130.077C40.0428 131.036 40.179 132.036 40.6758 132.894L47.9645 145.449C48.4613 146.308 49.2634 146.918 50.2217 147.173C51.1801 147.428 52.1788 147.292 53.0363 146.795L72.5645 135.437C73.422 134.939 74.0323 134.136 74.287 133.177C74.5418 132.218 74.4056 131.218 73.9087 130.36L66.62 117.805C65.9315 116.621 64.6856 115.957 63.407 115.957Z",fill:"black"}),e.jsx("path",{d:"M57.7071 133.134C57.6238 133.134 57.5381 133.114 57.4574 133.076C57.1825 132.937 57.069 132.601 57.2077 132.326L62.5569 121.63C62.6957 121.354 63.0311 121.241 63.306 121.38C63.5809 121.518 63.6944 121.854 63.5557 122.129L58.2064 132.826C58.1081 133.023 57.9113 133.134 57.7071 133.134Z",fill:"black"}),e.jsx("path",{d:"M57.6488 133.167C57.6488 133.167 57.6287 133.167 57.6186 133.167L45.6843 132.523C45.3766 132.505 45.1395 132.243 45.1572 131.935C45.1748 131.627 45.4472 131.39 45.7448 131.407L57.6791 132.051C57.9868 132.069 58.2239 132.331 58.2062 132.639C58.1911 132.937 57.9439 133.169 57.6488 133.169V133.167Z",fill:"black"}),e.jsx("path",{d:"M76.1552 302.306C75.903 302.306 75.6533 302.306 75.4036 302.298C75.0959 302.293 74.8488 302.038 74.8564 301.728C74.8614 301.422 75.1111 301.18 75.4163 301.18C75.4188 301.18 75.4238 301.18 75.4263 301.18C77.5827 301.22 79.8046 301.081 82.0215 300.771C82.3266 300.728 82.6091 300.94 82.652 301.248C82.6949 301.553 82.483 301.836 82.1753 301.879C80.1552 302.162 78.13 302.306 76.1552 302.306ZM68.7581 301.586C68.7202 301.586 68.6849 301.584 68.6471 301.576C66.3596 301.114 64.173 300.43 62.1453 299.541C61.8628 299.418 61.7342 299.087 61.8578 298.804C61.9813 298.521 62.3092 298.393 62.5942 298.516C64.5463 299.372 66.6572 300.031 68.869 300.478C69.1717 300.539 69.3659 300.834 69.3053 301.137C69.2524 301.402 69.0178 301.586 68.7581 301.586ZM88.6469 300.468C88.4048 300.468 88.1828 300.309 88.1097 300.066C88.0239 299.771 88.1929 299.461 88.4905 299.372C90.604 298.754 92.6922 297.979 94.6972 297.07C94.9772 296.941 95.3101 297.07 95.4362 297.347C95.5623 297.628 95.4362 297.961 95.1563 298.087C93.1033 299.019 90.9646 299.812 88.8007 300.443C88.7477 300.458 88.6948 300.465 88.6443 300.465L88.6469 300.468ZM56.617 296.186C56.4984 296.186 56.3774 296.148 56.274 296.068C54.4657 294.664 52.8541 293.028 51.4796 291.205C51.2929 290.958 51.3434 290.607 51.588 290.423C51.8352 290.236 52.1832 290.286 52.3698 290.531C53.6864 292.276 55.2298 293.841 56.96 295.184C57.2046 295.373 57.2475 295.724 57.0583 295.969C56.9474 296.11 56.7834 296.186 56.617 296.186ZM100.818 294.947C100.634 294.947 100.455 294.856 100.347 294.689C100.18 294.429 100.256 294.083 100.516 293.917C102.395 292.715 104.173 291.377 105.802 289.943C106.031 289.738 106.384 289.761 106.591 289.993C106.795 290.226 106.773 290.579 106.541 290.784C104.869 292.255 103.045 293.629 101.116 294.861C101.023 294.921 100.919 294.949 100.816 294.949L100.818 294.947ZM110.876 286.146C110.742 286.146 110.611 286.1 110.505 286.004C110.276 285.8 110.253 285.447 110.46 285.214C111.915 283.578 113.333 281.844 114.672 280.057C114.858 279.809 115.206 279.759 115.454 279.945C115.701 280.13 115.749 280.481 115.565 280.728C114.205 282.541 112.768 284.3 111.295 285.959C111.184 286.083 111.033 286.146 110.879 286.146H110.876ZM48.607 285.623C48.3901 285.623 48.1833 285.495 48.0925 285.28C47.2451 283.26 46.5893 281.066 46.1429 278.756C46.0849 278.453 46.2842 278.161 46.5868 278.103C46.892 278.044 47.182 278.244 47.2425 278.547C47.6713 280.781 48.3043 282.902 49.124 284.848C49.2425 285.134 49.1089 285.462 48.8264 285.58C48.7558 285.611 48.6826 285.623 48.6095 285.623H48.607ZM45.9866 272.548C45.6864 272.548 45.4368 272.309 45.4292 272.003C45.4191 271.635 45.4141 271.268 45.4141 270.902C45.4141 268.958 45.5578 267.045 45.8403 265.217C45.8882 264.912 46.1732 264.702 46.4784 264.75C46.7835 264.798 46.9929 265.083 46.9449 265.389C46.67 267.161 46.5313 269.017 46.5313 270.902C46.5313 271.256 46.5364 271.612 46.5465 271.973C46.554 272.281 46.3119 272.538 46.0042 272.546C45.9992 272.546 45.9941 272.546 45.9891 272.546L45.9866 272.548ZM48.095 259.39C48.0294 259.39 47.9613 259.378 47.8957 259.352C47.6082 259.241 47.4645 258.918 47.5754 258.63C48.4002 256.482 49.4645 254.45 50.7381 252.589C50.9121 252.334 51.2602 252.268 51.5149 252.445C51.7696 252.619 51.8352 252.968 51.6612 253.223C50.4354 255.013 49.4115 256.967 48.6196 259.034C48.5338 259.256 48.322 259.393 48.0975 259.393L48.095 259.39ZM55.6132 248.436C55.4593 248.436 55.308 248.373 55.1971 248.249C54.9902 248.02 55.0104 247.666 55.2399 247.459C56.9171 245.954 58.791 244.632 60.8061 243.526C61.0785 243.377 61.4164 243.478 61.5652 243.748C61.714 244.018 61.6131 244.359 61.3433 244.508C59.4013 245.573 57.598 246.846 55.9839 248.292C55.878 248.388 55.7443 248.436 55.6107 248.436H55.6132ZM99.0452 247.969C98.9292 247.969 98.8157 247.934 98.7149 247.86C96.9368 246.55 95.0428 245.394 93.0831 244.422C92.8057 244.286 92.6922 243.95 92.8309 243.672C92.9671 243.394 93.3026 243.281 93.58 243.42C95.5976 244.419 97.5471 245.611 99.3782 246.959C99.6278 247.143 99.6808 247.492 99.4967 247.742C99.3882 247.891 99.2167 247.969 99.0452 247.969ZM87.0908 242.054C87.0403 242.054 86.9874 242.046 86.9369 242.031C84.8184 241.42 82.6419 241.001 80.4654 240.787C80.1577 240.756 79.9332 240.484 79.9635 240.176C79.9938 239.868 80.2611 239.643 80.5738 239.673C82.8184 239.895 85.0631 240.327 87.2471 240.956C87.5422 241.042 87.7137 241.352 87.628 241.647C87.5574 241.892 87.3329 242.051 87.0908 242.051V242.054ZM67.2524 242.014C67.0103 242.014 66.7883 241.857 66.7177 241.612C66.6295 241.317 66.7984 241.004 67.0935 240.918C69.2448 240.279 71.4945 239.85 73.7769 239.643C74.0796 239.615 74.357 239.842 74.3847 240.15C74.4125 240.458 74.1855 240.731 73.8778 240.759C71.6685 240.958 69.4945 241.372 67.4113 241.991C67.3583 242.006 67.3054 242.014 67.2524 242.014Z",fill:"black"}),e.jsx("path",{d:"M124.855 264.447C124.78 264.447 124.701 264.432 124.628 264.399C124.346 264.273 124.22 263.942 124.346 263.659C125.241 261.652 126.068 259.572 126.802 257.472C126.903 257.181 127.223 257.025 127.513 257.128C127.803 257.229 127.957 257.55 127.856 257.84C127.112 259.968 126.273 262.082 125.365 264.114C125.271 264.321 125.067 264.445 124.855 264.445V264.447ZM129.294 251.804C129.246 251.804 129.198 251.799 129.15 251.786C128.853 251.708 128.674 251.402 128.754 251.102C129.312 248.989 129.803 246.8 130.215 244.599C130.27 244.296 130.558 244.094 130.865 244.152C131.168 244.207 131.367 244.5 131.312 244.803C130.896 247.032 130.399 249.249 129.834 251.387C129.768 251.637 129.541 251.804 129.294 251.804ZM131.766 238.626C131.743 238.626 131.723 238.626 131.7 238.62C131.392 238.585 131.173 238.307 131.211 237.999C131.465 235.836 131.657 233.597 131.781 231.35C131.798 231.042 132.071 230.807 132.368 230.822C132.676 230.84 132.913 231.102 132.895 231.41C132.769 233.682 132.578 235.942 132.32 238.131C132.288 238.416 132.046 238.626 131.766 238.626ZM132.52 225.233C132.212 225.233 131.962 224.983 131.962 224.675C131.962 222.496 131.904 220.249 131.791 217.995C131.776 217.687 132.013 217.424 132.32 217.409C132.628 217.396 132.89 217.631 132.906 217.939C133.019 220.211 133.077 222.478 133.077 224.675C133.077 224.983 132.827 225.235 132.52 225.235V225.233ZM131.861 211.832C131.576 211.832 131.332 211.615 131.307 211.325C131.102 209.164 130.848 206.927 130.55 204.68C130.51 204.374 130.724 204.092 131.029 204.051C131.334 204.008 131.617 204.225 131.657 204.531C131.957 206.793 132.215 209.045 132.419 211.219C132.449 211.527 132.222 211.799 131.914 211.827C131.897 211.827 131.879 211.827 131.861 211.827V211.832ZM130.101 198.53C129.834 198.53 129.597 198.336 129.551 198.063C129.193 195.932 128.787 193.716 128.343 191.479C128.283 191.176 128.479 190.88 128.782 190.822C129.09 190.762 129.38 190.959 129.438 191.262C129.884 193.509 130.293 195.735 130.653 197.879C130.704 198.184 130.5 198.472 130.194 198.522C130.162 198.527 130.131 198.53 130.101 198.53ZM127.498 185.367C127.244 185.367 127.012 185.19 126.954 184.93C126.484 182.842 125.965 180.648 125.413 178.412C125.339 178.111 125.521 177.808 125.821 177.735C126.119 177.662 126.424 177.844 126.497 178.144C127.052 180.388 127.571 182.587 128.043 184.685C128.111 184.986 127.922 185.286 127.622 185.354C127.582 185.364 127.539 185.367 127.498 185.367Z",fill:"black"}),e.jsx("path",{d:"M114.719 150.108C114.509 150.108 114.308 149.989 114.212 149.787C113.299 147.854 112.282 145.849 111.19 143.829C111.044 143.557 111.145 143.218 111.417 143.072C111.69 142.926 112.028 143.027 112.174 143.299C113.273 145.337 114.3 147.361 115.221 149.31C115.352 149.591 115.233 149.924 114.953 150.055C114.875 150.09 114.794 150.108 114.714 150.108H114.719ZM108.366 138.29C108.176 138.29 107.99 138.195 107.886 138.018C106.769 136.152 105.579 134.244 104.343 132.345C104.174 132.085 104.247 131.739 104.507 131.573C104.767 131.403 105.112 131.477 105.281 131.737C106.525 133.648 107.725 135.569 108.847 137.445C109.006 137.71 108.92 138.053 108.656 138.212C108.565 138.265 108.466 138.293 108.368 138.293L108.366 138.29ZM101.054 127.036C100.878 127.036 100.704 126.953 100.595 126.796C99.3417 125.001 98.0227 123.176 96.6734 121.366C96.4893 121.118 96.5398 120.767 96.7869 120.583C97.0341 120.399 97.3846 120.449 97.5687 120.697C98.9231 122.514 100.25 124.35 101.511 126.155C101.687 126.407 101.627 126.756 101.372 126.932C101.274 127.001 101.163 127.033 101.052 127.033L101.054 127.036ZM93.0366 116.268C92.8702 116.268 92.7088 116.195 92.5978 116.056C91.2283 114.322 89.8084 112.578 88.3759 110.866C88.1767 110.629 88.2095 110.275 88.4465 110.078C88.6836 109.879 89.0367 109.912 89.2334 110.149C90.671 111.868 92.0984 113.623 93.4755 115.365C93.6672 115.607 93.6268 115.958 93.3847 116.15C93.2813 116.231 93.1602 116.271 93.0392 116.271L93.0366 116.268ZM84.4289 105.978C84.2751 105.978 84.1212 105.915 84.0103 105.789C82.5248 104.11 81.009 102.444 79.5034 100.841C79.2915 100.616 79.3041 100.263 79.5286 100.051C79.7556 99.8384 80.1087 99.8511 80.318 100.076C81.8287 101.689 83.3545 103.36 84.8476 105.049C85.0519 105.281 85.0292 105.635 84.7997 105.839C84.6937 105.933 84.5601 105.981 84.4289 105.981V105.978ZM75.2462 96.1955C75.1024 96.1955 74.9612 96.1399 74.8502 96.0314C73.2285 94.408 71.6094 92.8453 70.0382 91.3836C69.8112 91.174 69.7986 90.8206 70.0104 90.5934C70.2197 90.3662 70.5728 90.3536 70.7998 90.5631C72.3811 92.0324 74.0104 93.6078 75.6421 95.2386C75.8615 95.4583 75.8615 95.8117 75.6421 96.0288C75.5337 96.1374 75.3899 96.1929 75.2462 96.1929V96.1955Z",fill:"black"}),e.jsx("path",{d:"M77.9099 248.43H73.9402L72.9869 252.663C72.0689 252.828 71.1735 253.065 70.3135 253.375L67.3754 250.189L63.9378 252.176L65.2266 256.322C64.5229 256.917 63.8697 257.571 63.2745 258.278L59.1333 256.988L57.1485 260.429L60.3313 263.37C60.0211 264.231 59.784 265.125 59.6201 266.046L55.3906 267.001V270.974L59.6201 271.929C59.784 272.848 60.0211 273.744 60.3313 274.605L57.1485 277.546L59.1333 280.987L63.2745 279.697C63.8697 280.401 64.5229 281.055 65.2266 281.653L63.9378 285.799L67.3754 287.786L70.3135 284.599C71.1735 284.91 72.0664 285.147 72.9869 285.311L73.9402 289.545H77.9099L78.8633 285.311C79.7813 285.147 80.6766 284.91 81.5366 284.599L84.4748 287.786L87.9123 285.799L86.6236 281.653C87.3272 281.057 87.9804 280.404 88.5781 279.699L92.7193 280.989L94.7042 277.548L91.5214 274.607C91.8316 273.746 92.0686 272.853 92.2326 271.931L96.462 270.977V267.003L92.2326 266.049C92.0686 265.13 91.8316 264.234 91.5214 263.373L94.7042 260.432L92.7193 256.991L88.5781 258.281C87.9829 257.576 87.3297 256.922 86.6236 256.324L87.9123 252.179L84.4748 250.192L81.5366 253.378C80.6766 253.067 79.7838 252.83 78.8633 252.666L77.9099 248.432V248.43ZM86.1444 268.987C86.1444 274.637 81.5694 279.217 75.9251 279.217C70.2807 279.217 65.7058 274.637 65.7058 268.987C65.7058 263.337 70.2807 258.758 75.9251 258.758C81.5694 258.758 86.1444 263.337 86.1444 268.987Z",fill:"white"}),e.jsx("path",{d:"M77.9126 290.101H73.9429C73.6806 290.101 73.4562 289.92 73.3981 289.665L72.5255 285.789C71.8269 285.648 71.1409 285.466 70.4802 285.244L67.7917 288.16C67.6151 288.352 67.3276 288.395 67.1031 288.266L63.6656 286.279C63.4386 286.148 63.3327 285.878 63.4109 285.628L64.5912 281.833C64.0641 281.366 63.5622 280.864 63.0981 280.339L59.305 281.52C59.0578 281.598 58.7855 281.492 58.6543 281.265L56.6695 277.824C56.5383 277.597 56.5837 277.312 56.7754 277.135L59.6883 274.444C59.4664 273.78 59.2848 273.093 59.1436 272.396L55.2722 271.523C55.0175 271.465 54.8359 271.238 54.8359 270.978V267.004C54.8359 266.741 55.0175 266.517 55.2722 266.459L59.1436 265.585C59.2848 264.886 59.4664 264.199 59.6883 263.538L56.7754 260.846C56.5837 260.67 56.5408 260.382 56.6695 260.157L58.6543 256.716C58.7855 256.489 59.0553 256.383 59.305 256.461L63.0981 257.643C63.5647 257.115 64.0641 256.615 64.5912 256.146L63.4109 252.349C63.3327 252.099 63.4386 251.828 63.6656 251.697L67.1031 249.71C67.3276 249.579 67.6151 249.622 67.7917 249.816L70.4802 252.732C71.1409 252.51 71.8269 252.328 72.5255 252.187L73.3981 248.312C73.4562 248.057 73.6806 247.875 73.9429 247.875H77.9126C78.1749 247.875 78.3994 248.057 78.4574 248.312L79.33 252.187C80.0286 252.328 80.7146 252.51 81.3754 252.732L84.0664 249.816C84.2429 249.625 84.5304 249.582 84.7549 249.71L88.1924 251.697C88.4194 251.828 88.5253 252.099 88.4472 252.349L87.2669 256.143C87.794 256.61 88.2933 257.11 88.7624 257.64L92.553 256.459C92.8002 256.38 93.0726 256.486 93.2037 256.714L95.1886 260.155C95.3197 260.382 95.2743 260.667 95.0827 260.846L92.1697 263.538C92.3916 264.199 92.5732 264.886 92.7145 265.585L96.5858 266.459C96.8405 266.517 97.0221 266.744 97.0221 267.004V270.978C97.0221 271.24 96.8405 271.465 96.5858 271.523L92.7145 272.396C92.5732 273.096 92.3916 273.782 92.1697 274.444L95.0827 277.135C95.2743 277.312 95.3172 277.6 95.1886 277.827L93.2037 281.268C93.0726 281.495 92.8002 281.598 92.553 281.523L88.7624 280.341C88.2958 280.869 87.794 281.371 87.2669 281.838L88.4472 285.635C88.5253 285.885 88.4194 286.155 88.1924 286.287L84.7549 288.273C84.5279 288.405 84.2429 288.359 84.0664 288.167L81.3754 285.252C80.7146 285.474 80.0286 285.655 79.33 285.797L78.4574 289.672C78.3994 289.927 78.1749 290.109 77.9126 290.109V290.101ZM74.3893 288.983H77.4662L78.3212 285.186C78.3716 284.966 78.5456 284.797 78.7676 284.759C79.6579 284.6 80.5254 284.368 81.3501 284.073C81.562 283.997 81.7991 284.055 81.9504 284.219L84.5859 287.077L87.2492 285.537L86.0916 281.818C86.026 281.604 86.0916 281.371 86.2656 281.225C86.9415 280.652 87.5771 280.016 88.1546 279.336C88.3009 279.165 88.5329 279.097 88.7473 279.165L92.4623 280.321L94.0007 277.655L91.1458 275.017C90.9818 274.865 90.9238 274.628 90.9995 274.416C91.2971 273.59 91.5266 272.719 91.688 271.831C91.7283 271.609 91.8948 271.434 92.1142 271.384L95.9074 270.528V267.448L92.1142 266.592C91.8948 266.542 91.7258 266.368 91.688 266.145C91.5291 265.257 91.2971 264.386 90.9995 263.56C90.9238 263.348 90.9818 263.113 91.1458 262.959L94.0007 260.321L92.4623 257.655L88.7473 258.812C88.5354 258.877 88.3009 258.812 88.1546 258.64C87.5796 257.958 86.944 257.325 86.2656 256.749C86.0941 256.605 86.026 256.37 86.0916 256.156L87.2492 252.437L84.5859 250.897L81.9504 253.755C81.7991 253.919 81.5645 253.977 81.3501 253.901C80.5254 253.603 79.6579 253.374 78.7676 253.214C78.5456 253.174 78.3716 253.007 78.3212 252.788L77.4662 248.991H74.3893L73.5343 252.788C73.4839 253.007 73.3099 253.177 73.0879 253.214C72.1977 253.374 71.3301 253.606 70.5054 253.901C70.296 253.977 70.0565 253.919 69.9051 253.755L67.2696 250.897L64.6063 252.437L65.7614 256.156C65.827 256.37 65.7614 256.602 65.5899 256.749C64.9115 257.325 64.2759 257.961 63.7034 258.64C63.5572 258.812 63.3251 258.88 63.1108 258.812L59.3958 257.655L57.8573 260.321L60.7123 262.959C60.8762 263.111 60.9342 263.348 60.8586 263.56C60.561 264.386 60.3315 265.257 60.1726 266.145C60.1322 266.368 59.9658 266.544 59.7463 266.592L55.9532 267.448V270.528L59.7463 271.384C59.9658 271.434 60.1347 271.609 60.1726 271.831C60.3315 272.719 60.561 273.588 60.8586 274.416C60.9342 274.628 60.8762 274.863 60.7123 275.017L57.8573 277.655L59.3958 280.321L63.1108 279.165C63.3251 279.099 63.5572 279.165 63.7034 279.336C64.2759 280.016 64.9115 280.652 65.5899 281.227C65.7614 281.371 65.8295 281.606 65.7614 281.821L64.6063 285.539L67.2696 287.079L69.9051 284.222C70.0565 284.057 70.2935 283.999 70.5054 284.075C71.3301 284.373 72.1977 284.603 73.0879 284.762C73.3099 284.802 73.4839 284.969 73.5343 285.188L74.3893 288.985V288.983ZM75.9278 279.776C69.9858 279.776 65.1486 274.936 65.1486 268.986C65.1486 263.035 69.9833 258.196 75.9278 258.196C81.8722 258.196 86.7044 263.035 86.7044 268.986C86.7044 274.936 81.8697 279.776 75.9278 279.776ZM75.9278 259.314C70.6012 259.314 66.2658 263.651 66.2658 268.986C66.2658 274.32 70.5987 278.657 75.9278 278.657C81.2568 278.657 85.5872 274.32 85.5872 268.986C85.5872 263.651 81.2543 259.314 75.9278 259.314Z",fill:"black"}),e.jsx("path",{d:"M56.4272 176.656H49.6328L48.001 183.902C46.4273 184.185 44.8989 184.591 43.426 185.121L38.3996 179.671L32.5157 183.071L34.7199 190.165C33.5144 191.185 32.3972 192.306 31.3782 193.51L24.2913 191.301L20.8941 197.191L26.3392 202.223C25.8096 203.695 25.4035 205.227 25.1211 206.802L17.8828 208.436V215.237L25.1211 216.87C25.4035 218.446 25.8096 219.976 26.3392 221.448L20.8941 226.479L24.2913 232.369L31.3782 230.162C32.3972 231.369 33.5169 232.488 34.7199 233.507L32.5157 240.602L38.3996 244.002L43.426 238.552C44.8964 239.082 46.4273 239.488 48.001 239.771L49.6328 247.017H56.4272L58.0589 239.771C59.6327 239.488 61.161 239.082 62.6314 238.552L67.6578 244.002L73.5417 240.602L71.3374 233.507C72.543 232.488 73.6602 231.367 74.6792 230.162L81.7661 232.369L85.1633 226.479L79.7182 221.448C80.2478 219.976 80.6539 218.443 80.9363 216.87L88.1746 215.237V208.436L80.9363 206.802C80.6539 205.227 80.2478 203.697 79.7182 202.223L85.1633 197.191L81.7661 191.301L74.6792 193.51C73.6602 192.304 72.5405 191.185 71.3374 190.165L73.5417 183.071L67.6578 179.671L62.6314 185.121C61.161 184.591 59.6301 184.185 58.0564 183.902L56.4246 176.656H56.4272ZM70.5178 211.834C70.5178 221.501 62.6894 229.339 53.03 229.339C43.3731 229.339 35.5421 221.503 35.5421 211.834C35.5421 202.167 43.3705 194.328 53.03 194.328C62.6869 194.328 70.5178 202.165 70.5178 211.834Z",fill:"white"}),e.jsx("path",{d:"M56.4273 247.567H49.6329C49.3706 247.567 49.1462 247.385 49.0882 247.13L47.5371 240.246C46.1853 239.986 44.8587 239.632 43.5876 239.196L38.8109 244.376C38.6343 244.568 38.3468 244.611 38.1223 244.482L32.2384 241.082C32.0114 240.95 31.9055 240.68 31.9837 240.43L34.0795 233.687C33.0556 232.796 32.0871 231.826 31.1943 230.799L24.4579 232.897C24.2082 232.975 23.9384 232.869 23.8072 232.642L20.4101 226.752C20.2789 226.525 20.3243 226.239 20.516 226.06L25.6912 221.279C25.2524 220.006 24.9018 218.681 24.642 217.325L17.7644 215.772C17.5097 215.714 17.3281 215.487 17.3281 215.227V208.426C17.3281 208.163 17.5097 207.939 17.7644 207.881L24.642 206.328C24.9018 204.975 25.2549 203.647 25.6912 202.374L20.516 197.593C20.3243 197.416 20.2814 197.128 20.4101 196.901L23.8072 191.011C23.9384 190.784 24.2082 190.678 24.4579 190.756L31.1943 192.854C32.0846 191.827 33.053 190.86 34.0795 189.966L31.9837 183.223C31.9055 182.973 32.0114 182.703 32.2384 182.572L38.1223 179.171C38.3468 179.04 38.6343 179.083 38.8109 179.277L43.5876 184.457C44.8587 184.018 46.1853 183.667 47.5371 183.407L49.0882 176.523C49.1462 176.268 49.3706 176.086 49.6329 176.086H56.4273C56.6896 176.086 56.9141 176.268 56.9721 176.523L58.5231 183.407C59.8749 183.667 61.2015 184.021 62.4726 184.457L67.2494 179.277C67.4259 179.085 67.7134 179.042 67.9379 179.171L73.8218 182.572C74.0488 182.703 74.1547 182.973 74.0765 183.223L71.9807 189.966C73.0072 190.86 73.9757 191.827 74.8659 192.854L81.6023 190.756C81.8495 190.678 82.1219 190.784 82.253 191.011L85.6502 196.901C85.7813 197.128 85.7359 197.414 85.5443 197.593L80.369 202.374C80.8079 203.647 81.1584 204.972 81.4182 206.328L88.2958 207.881C88.5505 207.939 88.7321 208.166 88.7321 208.426V215.227C88.7321 215.49 88.5505 215.714 88.2958 215.772L81.4182 217.325C81.1584 218.678 80.8053 220.006 80.369 221.279L85.5443 226.06C85.7359 226.237 85.7788 226.525 85.6502 226.752L82.253 232.642C82.1219 232.869 81.8495 232.973 81.6023 232.897L74.8659 230.799C73.9731 231.826 73.0047 232.796 71.9807 233.687L74.0765 240.43C74.1547 240.68 74.0488 240.95 73.8218 241.082L67.9379 244.482C67.7109 244.613 67.4259 244.57 67.2494 244.376L62.4726 239.196C61.2015 239.635 59.8775 239.986 58.5231 240.246L56.9721 247.13C56.9141 247.385 56.6896 247.567 56.4273 247.567ZM50.0819 246.449H55.9809L57.5143 239.64C57.5648 239.42 57.7388 239.251 57.9607 239.213C59.5042 238.936 61.0124 238.534 62.4424 238.019C62.6542 237.943 62.8913 238.002 63.0426 238.166L67.7664 243.288L72.8761 240.334L70.8029 233.667C70.7374 233.452 70.8029 233.22 70.977 233.074C72.1522 232.076 73.2569 230.973 74.2531 229.794C74.3994 229.622 74.6339 229.554 74.8458 229.622L81.5065 231.698L84.4573 226.583L79.34 221.854C79.1761 221.703 79.1181 221.465 79.1938 221.253C79.7083 219.819 80.1093 218.31 80.3867 216.767C80.427 216.545 80.5935 216.371 80.8129 216.32L87.6149 214.785V208.88L80.8129 207.345C80.5935 207.295 80.4245 207.121 80.3867 206.899C80.1118 205.354 79.7083 203.844 79.1938 202.41C79.1181 202.198 79.1761 201.963 79.34 201.809L84.4573 197.08L81.5065 191.966L74.8458 194.041C74.6339 194.106 74.3994 194.041 74.2531 193.869C73.2569 192.693 72.1548 191.587 70.977 190.59C70.8055 190.446 70.7374 190.211 70.8055 189.996L72.8786 183.329L67.7689 180.375L63.0451 185.498C62.8938 185.662 62.6593 185.72 62.4449 185.644C61.0124 185.129 59.5042 184.728 57.9632 184.45C57.7413 184.41 57.5673 184.243 57.5168 184.023L55.9834 177.214H50.0844L48.551 184.023C48.5005 184.243 48.3265 184.412 48.1046 184.45C46.5611 184.725 45.0529 185.129 43.6229 185.644C43.4085 185.72 43.174 185.662 43.0227 185.498L38.2989 180.375L33.1892 183.329L35.2624 189.996C35.3279 190.211 35.2624 190.443 35.0909 190.59C33.9131 191.587 32.8109 192.69 31.8147 193.869C31.6684 194.041 31.4364 194.109 31.222 194.041L24.5613 191.966L21.6105 197.08L26.7278 201.809C26.8917 201.96 26.9497 202.198 26.874 202.41C26.3595 203.841 25.9585 205.351 25.6811 206.896C25.6408 207.118 25.4743 207.292 25.2549 207.343L18.453 208.878V214.783L25.2549 216.318C25.4743 216.368 25.6433 216.542 25.6811 216.765C25.956 218.31 26.3595 219.819 26.874 221.251C26.9497 221.463 26.8917 221.698 26.7278 221.852L21.6105 226.58L24.5613 231.695L31.222 229.62C31.4364 229.554 31.6684 229.62 31.8147 229.792C32.8109 230.971 33.9156 232.074 35.0909 233.071C35.2624 233.215 35.3304 233.45 35.2624 233.664L33.1892 240.332L38.2989 243.285L43.0227 238.163C43.174 237.999 43.4085 237.941 43.6229 238.017C45.0554 238.532 46.5636 238.933 48.1046 239.211C48.3265 239.251 48.5005 239.418 48.551 239.637L50.0844 246.446L50.0819 246.449ZM53.0301 229.895C43.0782 229.895 34.9849 221.791 34.9849 211.832C34.9849 207.007 36.8613 202.47 40.2711 199.057C43.6809 195.646 48.2105 193.766 53.0326 193.766C62.9846 193.766 71.0778 201.87 71.0778 211.829C71.0778 221.789 62.9821 229.893 53.0326 229.893L53.0301 229.895ZM53.0301 194.887C48.5081 194.887 44.2559 196.649 41.0605 199.85C37.8626 203.051 36.1022 207.305 36.1022 211.832C36.1022 221.175 43.6961 228.777 53.0301 228.777C62.3642 228.777 69.9581 221.175 69.9581 211.832C69.9581 202.488 62.3642 194.887 53.0301 194.887Z",fill:"black"}),e.jsx("path",{d:"M151.307 158.572H240.915C243.624 158.572 245.18 156.373 244.391 153.661L227.137 94.3713C226.348 91.6599 223.513 89.4609 220.804 89.4609H131.196C128.488 89.4609 126.932 91.6599 127.721 94.3713L144.974 153.661C145.764 156.373 148.598 158.572 151.307 158.572Z",fill:"white"}),e.jsx("path",{d:"M240.915 159.133H151.307C148.371 159.133 145.289 156.75 144.437 153.821L127.184 94.531C126.74 93.0087 126.941 91.5747 127.751 90.4967C128.52 89.4718 129.743 88.9062 131.196 88.9062H220.804C223.74 88.9062 226.822 91.2895 227.674 94.218L244.928 153.508C245.371 155.03 245.17 156.462 244.36 157.542C243.591 158.567 242.368 159.133 240.915 159.133ZM131.196 90.0246C130.104 90.0246 129.199 90.4311 128.646 91.1683C128.054 91.9585 127.915 93.0415 128.258 94.218L145.511 153.508C146.235 155.992 148.835 158.014 151.307 158.014H240.915C242.007 158.014 242.912 157.608 243.465 156.871C244.057 156.081 244.196 154.997 243.853 153.821L226.6 94.531C225.876 92.0468 223.276 90.0246 220.804 90.0246H131.196Z",fill:"black"}),e.jsx("path",{d:"M155.682 105.999H150.739C149.626 105.999 148.504 105.136 148.184 104.033L146.744 99.0844C146.57 98.4911 146.658 97.9004 146.986 97.4636C147.301 97.0445 147.811 96.8047 148.388 96.8047H153.331C154.443 96.8047 155.566 97.6681 155.886 98.7713L157.326 103.72C157.5 104.313 157.412 104.906 157.084 105.34C156.769 105.759 156.259 105.999 155.682 105.999ZM148.391 97.9206C148.232 97.9206 148.012 97.9584 147.881 98.1326C147.765 98.2866 147.742 98.5113 147.818 98.7688L149.258 103.717C149.442 104.348 150.121 104.878 150.741 104.878H155.684C155.843 104.878 156.063 104.84 156.194 104.666C156.31 104.512 156.332 104.288 156.257 104.03L154.817 99.0819C154.633 98.4532 153.954 97.9206 153.334 97.9206H148.391Z",fill:"black"}),e.jsx("path",{d:"M145.369 105.999H140.426C139.314 105.999 138.192 105.136 137.871 104.033L136.431 99.0844C136.257 98.4911 136.345 97.9004 136.673 97.4636C136.989 97.0445 137.498 96.8047 138.076 96.8047H143.019C144.131 96.8047 145.253 97.6681 145.574 98.7713L147.014 103.72C147.188 104.313 147.099 104.904 146.772 105.34C146.456 105.759 145.947 105.999 145.369 105.999ZM138.076 97.9206C137.917 97.9206 137.697 97.9584 137.566 98.1326C137.45 98.2866 137.427 98.5113 137.503 98.7688L138.943 103.717C139.127 104.348 139.806 104.878 140.426 104.878H145.369C145.528 104.878 145.745 104.84 145.879 104.666C145.995 104.512 146.017 104.288 145.942 104.03L144.502 99.0819C144.318 98.4507 143.639 97.9206 143.019 97.9206H138.076Z",fill:"black"}),e.jsx("path",{d:"M158.979 117.304H154.035C152.923 117.304 151.801 116.441 151.481 115.337L150.041 110.389C149.867 109.796 149.955 109.205 150.283 108.768C150.598 108.349 151.107 108.109 151.685 108.109H156.628C157.74 108.109 158.863 108.973 159.183 110.076L160.623 115.024C160.797 115.618 160.709 116.208 160.381 116.645C160.066 117.064 159.556 117.304 158.979 117.304ZM151.687 109.228C151.529 109.228 151.309 109.266 151.178 109.44C151.062 109.594 151.039 109.819 151.115 110.076L152.555 115.024C152.739 115.655 153.418 116.186 154.038 116.186H158.981C159.14 116.186 159.359 116.148 159.491 115.973C159.607 115.819 159.629 115.592 159.554 115.337L158.114 110.389C157.93 109.76 157.251 109.228 156.631 109.228H151.687Z",fill:"black"}),e.jsx("path",{d:"M148.658 117.304H143.715C142.603 117.304 141.481 116.441 141.16 115.337L139.72 110.389C139.546 109.796 139.635 109.205 139.962 108.768C140.278 108.349 140.787 108.109 141.365 108.109H146.308C147.42 108.109 148.542 108.973 148.863 110.076L150.303 115.024C150.477 115.618 150.388 116.208 150.061 116.645C149.745 117.064 149.236 117.304 148.658 117.304ZM141.365 109.228C141.206 109.228 140.986 109.266 140.855 109.44C140.739 109.594 140.716 109.821 140.792 110.076L142.232 115.024C142.416 115.655 143.095 116.186 143.715 116.186H148.658C148.817 116.186 149.034 116.148 149.168 115.973C149.284 115.819 149.307 115.592 149.231 115.337L147.791 110.389C147.607 109.758 146.928 109.228 146.308 109.228H141.365Z",fill:"black"}),e.jsx("path",{d:"M154.977 119.977H159.921C160.783 119.977 161.689 120.678 161.938 121.542L163.378 126.49C163.631 127.353 163.134 128.055 162.271 128.055H157.328C156.466 128.055 155.56 127.356 155.31 126.49L153.87 121.542C153.618 120.678 154.115 119.977 154.977 119.977Z",fill:"white"}),e.jsx("path",{d:"M144.657 119.977H149.6C150.463 119.977 151.368 120.678 151.618 121.542L153.058 126.49C153.31 127.353 152.813 128.055 151.951 128.055H147.008C146.145 128.055 145.24 127.356 144.99 126.49L143.55 121.542C143.298 120.678 143.795 119.977 144.657 119.977Z",fill:"white"}),e.jsx("path",{d:"M158.267 131.289H163.21C164.072 131.289 164.978 131.988 165.227 132.854L166.667 137.803C166.92 138.666 166.423 139.368 165.56 139.368H160.617C159.755 139.368 158.849 138.666 158.599 137.803L157.159 132.854C156.907 131.991 157.404 131.289 158.267 131.289Z",fill:"white"}),e.jsx("path",{d:"M147.946 131.289H152.889C153.752 131.289 154.657 131.988 154.907 132.854L156.347 137.803C156.599 138.666 156.103 139.368 155.24 139.368H150.297C149.434 139.368 148.529 138.666 148.279 137.803L146.839 132.854C146.587 131.991 147.084 131.289 147.946 131.289Z",fill:"white"}),e.jsx("path",{d:"M161.556 142.602H166.499C167.361 142.602 168.267 143.303 168.516 144.167L169.957 149.115C170.209 149.978 169.712 150.68 168.849 150.68H163.906C163.044 150.68 162.138 149.978 161.889 149.115L160.448 144.167C160.196 143.303 160.693 142.602 161.556 142.602Z",fill:"white"}),e.jsx("path",{d:"M151.243 142.602H156.186C157.049 142.602 157.954 143.303 158.204 144.167L159.644 149.115C159.896 149.978 159.399 150.68 158.537 150.68H153.594C152.731 150.68 151.826 149.978 151.576 149.115L150.136 144.167C149.884 143.303 150.381 142.602 151.243 142.602Z",fill:"white"}),e.jsx("path",{d:"M234.626 151.235H176.481C176.233 151.235 176.014 151.071 175.943 150.831L160.428 97.5139C160.38 97.3447 160.413 97.1629 160.516 97.0216C160.62 96.8802 160.789 96.7969 160.963 96.7969H219.108C219.355 96.7969 219.575 96.961 219.645 97.2008L235.161 150.518C235.209 150.687 235.176 150.869 235.073 151.01C234.967 151.151 234.803 151.235 234.626 151.235ZM176.899 150.116H233.88L218.69 97.9178H161.709L176.899 150.116Z",fill:"black"}),e.jsx("path",{d:"M224.375 137.019C224.256 137.019 224.135 136.982 224.032 136.903L211.152 126.906C210.16 126.136 208.95 125.788 207.835 125.954C206.95 126.085 206.196 126.535 205.709 127.221L202.405 131.877C201.969 132.49 201.301 132.892 200.526 133.008C199.618 133.142 198.64 132.869 197.85 132.255L183.061 120.776C182.07 120.006 180.862 119.658 179.745 119.824C178.862 119.956 178.105 120.405 177.619 121.092L176.741 122.329C176.562 122.581 176.214 122.639 175.962 122.46C175.709 122.281 175.651 121.932 175.83 121.68L176.708 120.443C177.374 119.506 178.395 118.893 179.583 118.716C180.998 118.507 182.516 118.936 183.747 119.893L198.536 131.372C199.086 131.799 199.752 131.99 200.365 131.902C200.698 131.852 201.167 131.695 201.497 131.231L204.801 126.575C205.467 125.639 206.488 125.025 207.676 124.848C209.091 124.639 210.609 125.068 211.84 126.025L224.72 136.022C224.962 136.212 225.008 136.562 224.819 136.807C224.708 136.949 224.544 137.024 224.377 137.024L224.375 137.019Z",fill:"black"}),e.jsx("path",{d:"M208.027 118.97C204.181 118.97 200.144 115.845 199.026 112.005C198.451 110.028 198.709 108.173 199.755 106.779C200.746 105.456 202.328 104.727 204.209 104.727C208.055 104.727 212.093 107.852 213.21 111.692C213.785 113.669 213.526 115.524 212.481 116.918C211.49 118.241 209.909 118.97 208.027 118.97ZM204.207 105.847C202.686 105.847 201.422 106.418 200.645 107.451C199.818 108.556 199.622 110.064 200.096 111.692C201.084 115.087 204.64 117.852 208.025 117.852C209.546 117.852 210.809 117.281 211.586 116.249C212.413 115.143 212.61 113.636 212.136 112.007C211.147 108.612 207.591 105.847 204.207 105.847Z",fill:"black"}),e.jsx("path",{d:"M116.062 113.758H185.938C188.525 113.758 191.234 115.858 191.988 118.446L205.678 165.489C206.432 168.079 204.944 170.177 202.359 170.177H132.483C129.895 170.177 127.187 168.077 126.433 165.489L112.743 118.446C111.989 115.856 113.477 113.758 116.062 113.758Z",fill:"white"}),e.jsx("path",{d:"M202.356 170.736H132.48C129.666 170.736 126.712 168.451 125.895 165.644L112.206 118.6C111.779 117.139 111.974 115.763 112.75 114.725C113.489 113.738 114.665 113.195 116.062 113.195H185.937C188.752 113.195 191.705 115.48 192.522 118.287L206.212 165.331C206.638 166.792 206.444 168.168 205.667 169.206C204.928 170.193 203.753 170.736 202.356 170.736ZM116.059 114.314C115.023 114.314 114.165 114.697 113.643 115.397C113.081 116.147 112.952 117.172 113.277 118.287L126.967 165.331C127.656 167.694 130.127 169.617 132.48 169.617H202.356C203.392 169.617 204.25 169.234 204.772 168.534C205.334 167.785 205.463 166.76 205.138 165.644L191.448 118.6C190.76 116.237 188.288 114.314 185.935 114.314H116.059Z",fill:"black"}),e.jsx("path",{d:"M192.505 167.399C192.263 167.399 192.038 167.24 191.968 166.995L177.491 117.248C177.405 116.952 177.574 116.642 177.872 116.554C178.167 116.468 178.477 116.637 178.565 116.935L193.042 166.682C193.128 166.977 192.959 167.288 192.661 167.376C192.608 167.391 192.555 167.399 192.505 167.399Z",fill:"black"}),e.jsx("path",{d:"M133.583 161.912H185.567C186.405 161.912 186.886 161.233 186.642 160.395L175.918 123.541C175.673 122.703 174.798 122.023 173.958 122.023H121.974C121.137 122.023 120.655 122.703 120.9 123.541L131.623 160.395C131.868 161.233 132.743 161.912 133.583 161.912Z",fill:"#C4C4C4"}),e.jsx("path",{d:"M193.272 146.231C190.962 146.231 188.626 144.426 187.955 142.124C187.615 140.95 187.779 139.796 188.404 138.958C189.012 138.147 189.973 137.703 191.113 137.703C193.423 137.703 195.759 139.508 196.429 141.811C196.772 142.985 196.608 144.138 195.98 144.976C195.373 145.787 194.412 146.231 193.269 146.231H193.272ZM189.027 141.808C189.557 143.628 191.461 145.11 193.272 145.11C194.054 145.11 194.697 144.822 195.088 144.302C195.509 143.742 195.605 142.967 195.357 142.121C194.828 140.301 192.924 138.819 191.113 138.819C190.334 138.819 189.688 139.107 189.297 139.627C188.876 140.187 188.78 140.962 189.025 141.808H189.027Z",fill:"black"}),e.jsx("path",{d:"M189.96 126.118C189.718 126.118 189.493 125.959 189.423 125.714L188.406 122.217C188.253 121.687 187.66 121.222 187.138 121.222H184.409C184.101 121.222 183.852 120.973 183.852 120.662C183.852 120.351 184.101 120.102 184.409 120.102H187.138C188.157 120.102 189.183 120.892 189.478 121.904L190.495 125.401C190.58 125.696 190.411 126.007 190.114 126.095C190.061 126.11 190.008 126.118 189.957 126.118H189.96Z",fill:"black"}),e.jsx("path",{d:"M191.186 135.141H188.457C187.438 135.141 186.412 134.351 186.117 133.341L183.897 125.717C183.812 125.421 183.981 125.111 184.278 125.022C184.573 124.936 184.886 125.106 184.972 125.404L187.191 133.028C187.345 133.558 187.938 134.022 188.46 134.022H191.189C191.317 134.022 191.494 133.995 191.595 133.856C191.685 133.735 191.703 133.55 191.642 133.338C191.557 133.043 191.726 132.732 192.023 132.644C192.321 132.558 192.631 132.727 192.717 133.025C192.876 133.576 192.795 134.121 192.492 134.525C192.2 134.914 191.726 135.138 191.191 135.138L191.186 135.141Z",fill:"black"}),e.jsx("path",{d:"M188.562 126.121H185.833C185.526 126.121 185.273 125.871 185.273 125.56C185.273 125.25 185.523 125 185.833 125H188.562C188.87 125 189.122 125.25 189.122 125.56C189.122 125.871 188.872 126.121 188.562 126.121Z",fill:"black"}),e.jsx("path",{d:"M189.328 128.751H186.599C186.291 128.751 186.039 128.501 186.039 128.191C186.039 127.88 186.289 127.633 186.599 127.633H189.328C189.635 127.633 189.888 127.883 189.888 128.191C189.888 128.499 189.638 128.751 189.328 128.751Z",fill:"black"}),e.jsx("path",{d:"M199.538 163.831H196.809C195.79 163.831 194.764 163.041 194.469 162.031L193.858 159.935C193.772 159.64 193.941 159.329 194.239 159.241C194.534 159.155 194.844 159.324 194.933 159.622L195.543 161.718C195.697 162.248 196.289 162.712 196.809 162.712H199.538C199.846 162.712 200.098 162.962 200.098 163.273C200.098 163.583 199.848 163.833 199.538 163.833V163.831Z",fill:"black"}),e.jsx("path",{d:"M199.763 159.809C199.521 159.809 199.296 159.65 199.226 159.405L196.751 150.907C196.598 150.377 196.005 149.913 195.485 149.913H192.756C192.628 149.913 192.451 149.941 192.35 150.079C192.26 150.201 192.242 150.385 192.303 150.597L192.784 152.253C192.87 152.548 192.701 152.859 192.403 152.947C192.106 153.036 191.796 152.864 191.71 152.566L191.228 150.91C191.069 150.36 191.15 149.814 191.453 149.41C191.745 149.022 192.219 148.797 192.754 148.797H195.483C196.502 148.797 197.528 149.587 197.823 150.597L200.297 159.095C200.383 159.39 200.214 159.701 199.917 159.789C199.864 159.804 199.811 159.812 199.76 159.812L199.763 159.809Z",fill:"black"}),e.jsx("path",{d:"M196.224 152.441H192.56C192.252 152.441 192 152.191 192 151.881C192 151.57 192.25 151.32 192.56 151.32H196.224C196.532 151.32 196.782 151.57 196.782 151.881C196.782 152.191 196.532 152.441 196.224 152.441Z",fill:"black"}),e.jsx("path",{d:"M197.214 155.861H193.55C193.242 155.861 192.992 155.611 192.992 155.3C192.992 154.99 193.242 154.742 193.55 154.742H197.214C197.522 154.742 197.774 154.992 197.774 155.3C197.774 155.608 197.524 155.861 197.214 155.861Z",fill:"black"}),e.jsx("path",{d:"M211.92 79.8359H238.475C240.054 79.8359 241.708 81.1184 242.167 82.6988L247.045 99.4596C247.504 101.04 246.599 102.322 245.017 102.322H218.463C216.884 102.322 215.229 101.04 214.77 99.4596L209.893 82.6988C209.434 81.1184 210.339 79.8359 211.92 79.8359Z",fill:"white"}),e.jsx("path",{d:"M245.02 102.886H218.466C216.627 102.886 214.769 101.452 214.236 99.6193L209.359 82.8586C209.084 81.9119 209.218 80.9803 209.727 80.3012C210.221 79.6423 211.001 79.2812 211.921 79.2812H238.476C240.314 79.2812 242.173 80.7152 242.705 82.5481L247.583 99.3088C247.858 100.256 247.724 101.187 247.215 101.866C246.72 102.525 245.941 102.886 245.02 102.886ZM211.921 80.3996C211.359 80.3996 210.897 80.6041 210.62 80.9727C210.32 81.3741 210.252 81.9321 210.431 82.5456L215.308 99.3063C215.697 100.639 217.142 101.765 218.466 101.765H245.02C245.583 101.765 246.044 101.561 246.322 101.192C246.622 100.791 246.69 100.233 246.511 99.6193L241.633 82.8586C241.245 81.5256 239.8 80.3996 238.476 80.3996H211.921Z",fill:"black"}),e.jsx("path",{d:"M245.833 86.9932C245.591 86.9932 245.366 86.8341 245.296 86.5892L244.889 85.1931C244.804 84.8978 244.973 84.5872 245.27 84.4989C245.568 84.413 245.876 84.5822 245.964 84.8801L246.37 86.2762C246.456 86.5716 246.287 86.8821 245.989 86.9705C245.936 86.9856 245.883 86.9932 245.833 86.9932Z",fill:"black"}),e.jsx("path",{d:"M212.947 84.8775C212.705 84.8775 212.481 84.7185 212.41 84.4736L211.187 80.2727C210.912 79.3259 211.046 78.3944 211.555 77.7152C212.049 77.0563 212.829 76.6953 213.749 76.6953H240.304C242.142 76.6953 244.001 78.1293 244.533 79.9621L245.403 82.9563C245.489 83.2517 245.32 83.5622 245.023 83.6506C244.727 83.7389 244.415 83.5672 244.329 83.2693L243.459 80.2752C243.071 78.9422 241.625 77.8162 240.301 77.8162H213.747C213.184 77.8162 212.723 78.0207 212.445 78.3893C212.145 78.7907 212.077 79.3487 212.256 79.9621L213.479 84.163C213.565 84.4584 213.396 84.7689 213.099 84.8573C213.046 84.8725 212.993 84.88 212.942 84.88L212.947 84.8775Z",fill:"black"}),e.jsx("path",{d:"M214.918 91.6446C214.676 91.6446 214.451 91.4855 214.381 91.2406L213.233 87.2947C213.147 86.9993 213.316 86.6888 213.614 86.6004C213.909 86.5146 214.219 86.6837 214.305 86.9816L215.453 90.9276C215.538 91.223 215.369 91.5335 215.072 91.6218C215.019 91.637 214.966 91.6446 214.915 91.6446H214.918Z",fill:"black"}),e.jsx("path",{d:"M180.154 154.86C180.01 154.86 179.869 154.805 179.758 154.696L154.633 129.549C154.414 129.332 154.414 128.976 154.633 128.758C154.853 128.539 155.206 128.539 155.423 128.758L180.547 153.906C180.767 154.123 180.767 154.479 180.547 154.696C180.439 154.805 180.295 154.86 180.151 154.86H180.154Z",fill:"white"}),e.jsx("path",{d:"M161.559 143.163C161.415 143.163 161.274 143.107 161.163 142.999L146.626 128.447C146.406 128.23 146.406 127.874 146.626 127.657C146.845 127.437 147.198 127.437 147.415 127.657L161.952 142.209C162.171 142.426 162.171 142.782 161.952 142.999C161.843 143.107 161.7 143.163 161.556 143.163H161.559Z",fill:"white"}),e.jsx("path",{d:"M265.804 111.643C265.57 111.643 265.353 111.494 265.275 111.259C262.738 103.632 254.485 97.427 246.879 97.427H237.573C229.52 97.427 220.791 90.8782 218.115 82.8298C218.017 82.537 218.176 82.2214 218.468 82.1229C218.761 82.0245 219.078 82.1835 219.174 82.4764C221.712 90.1031 229.964 96.3086 237.57 96.3086H246.876C254.929 96.3086 263.658 102.857 266.334 110.906C266.43 111.199 266.273 111.517 265.981 111.613C265.923 111.633 265.862 111.64 265.804 111.64V111.643Z",fill:"black"}),e.jsx("path",{d:"M217.875 83.383C218.761 84.047 219.837 84.047 220.281 83.383C220.725 82.719 220.367 81.641 219.479 80.9745C218.594 80.3106 217.517 80.3106 217.073 80.9745C216.629 81.6385 216.988 82.7165 217.875 83.383Z",fill:"white"}),e.jsx("path",{d:"M219.243 84.4459C218.673 84.4459 218.073 84.2313 217.543 83.8349C216.408 82.9816 216 81.5906 216.612 80.6691C216.865 80.2879 217.271 80.0329 217.755 79.9521C218.423 79.8385 219.175 80.048 219.82 80.5327C220.958 81.3861 221.366 82.7771 220.751 83.6986C220.499 84.0773 220.093 84.3323 219.609 84.4156C219.49 84.4358 219.369 84.4459 219.245 84.4459H219.243ZM218.118 81.0377C218.058 81.0377 218 81.0427 217.942 81.0528C217.76 81.0831 217.624 81.1639 217.541 81.2876C217.301 81.6486 217.515 82.4161 218.211 82.9387C218.605 83.2341 219.059 83.3729 219.417 83.3123C219.599 83.282 219.735 83.2012 219.818 83.0775C220.06 82.7165 219.843 81.949 219.147 81.4265C218.814 81.1765 218.443 81.0402 218.118 81.0402V81.0377Z",fill:"black"}),e.jsx("path",{d:"M265.078 112.235C265.964 112.899 267.041 112.899 267.484 112.235C267.928 111.571 267.57 110.493 266.682 109.826C265.797 109.162 264.72 109.162 264.276 109.826C263.833 110.49 264.191 111.568 265.078 112.235Z",fill:"white"}),e.jsx("path",{d:"M266.446 113.29C265.876 113.29 265.276 113.075 264.746 112.679C263.611 111.825 263.203 110.434 263.816 109.513C264.068 109.132 264.474 108.877 264.958 108.796C265.624 108.682 266.378 108.892 267.021 109.376C268.159 110.23 268.567 111.621 267.952 112.542C267.699 112.921 267.293 113.176 266.809 113.259C266.691 113.28 266.57 113.29 266.446 113.29ZM265.321 109.884C265.261 109.884 265.203 109.889 265.145 109.899C264.963 109.929 264.827 110.01 264.744 110.134C264.504 110.495 264.718 111.262 265.415 111.785C265.808 112.08 266.262 112.219 266.62 112.159C266.802 112.128 266.938 112.048 267.021 111.924C267.263 111.563 267.046 110.795 266.35 110.273C266.017 110.023 265.647 109.886 265.321 109.886V109.884Z",fill:"black"}),e.jsx("path",{d:"M238.615 96.0425L240.547 93.2073C240.885 92.71 241.675 92.6898 242.31 93.1594L245.942 95.8405C246.577 96.3101 246.819 97.0927 246.479 97.59L244.547 100.425C244.209 100.922 243.42 100.943 242.784 100.473L239.152 97.792C238.517 97.3224 238.275 96.5398 238.615 96.0425Z",fill:"white"}),e.jsx("path",{d:"M243.74 101.373C243.301 101.373 242.845 101.217 242.451 100.927L238.819 98.2455C237.932 97.5891 237.637 96.4859 238.151 95.731L240.083 92.8959C240.302 92.5728 240.648 92.3582 241.056 92.29C241.579 92.2017 242.156 92.3557 242.64 92.7142L246.272 95.3953C247.16 96.0517 247.455 97.1549 246.94 97.9098L245.009 100.745C244.789 101.068 244.444 101.283 244.038 101.351C243.939 101.368 243.841 101.376 243.742 101.376L243.74 101.373ZM239.077 96.3597C238.93 96.5743 239.077 97.0413 239.485 97.3443L243.117 100.025C243.354 100.202 243.629 100.285 243.851 100.245C243.959 100.227 244.04 100.182 244.088 100.111L246.02 97.2761C246.166 97.0615 246.02 96.5944 245.611 96.2915L241.98 93.6104C241.742 93.4362 241.47 93.3529 241.246 93.3907C241.137 93.4084 241.056 93.4539 241.009 93.5245L239.077 96.3597Z",fill:"black"}),e.jsx("path",{d:"M247.247 123.507H255.214C255.59 123.507 255.857 123.285 255.895 122.942L257.718 116.905C257.746 116.65 257.645 116.358 257.438 116.105L243.363 97.2818C242.778 96.5623 241.756 96.5623 241.648 97.2818L240.094 116.105C240.056 116.358 240.15 116.65 240.346 116.905L246.185 122.942C246.452 123.285 246.868 123.507 247.244 123.507H247.247ZM245.108 114.487C244.533 112.76 245.466 111.359 247.191 111.359C248.916 111.359 250.78 112.76 251.355 114.487C251.93 116.214 250.997 117.615 249.272 117.615C247.547 117.615 245.683 116.214 245.108 114.487Z",fill:"white"}),e.jsx("path",{d:"M255.215 124.066H247.248C246.708 124.066 246.143 123.775 245.768 123.308L239.949 117.292C239.934 117.277 239.921 117.262 239.909 117.247C239.616 116.871 239.485 116.424 239.546 116.02L241.094 97.2319C241.17 96.7169 241.49 96.3559 241.954 96.2297C242.58 96.058 243.321 96.3382 243.8 96.9239L257.889 115.767C258.173 116.116 258.32 116.56 258.277 116.964C258.272 116.999 258.267 117.032 258.257 117.065L256.446 123.058C256.353 123.654 255.856 124.063 255.215 124.066ZM240.776 116.54L246.59 122.551C246.605 122.566 246.618 122.581 246.63 122.596C246.789 122.803 247.044 122.947 247.248 122.947H255.215C255.334 122.947 255.339 122.91 255.341 122.879C255.346 122.846 255.351 122.811 255.361 122.778L257.165 116.808C257.16 116.724 257.119 116.596 257.006 116.457L242.918 97.6131C242.698 97.343 242.393 97.2698 242.249 97.3076C242.212 97.3177 242.209 97.3203 242.204 97.3607L240.655 116.149C240.64 116.255 240.668 116.389 240.776 116.54ZM249.271 118.171C247.293 118.171 245.23 116.628 244.577 114.662C244.237 113.634 244.345 112.624 244.875 111.89C245.382 111.185 246.204 110.799 247.193 110.799C249.17 110.799 251.233 112.342 251.886 114.308C252.227 115.336 252.118 116.346 251.588 117.08C251.082 117.785 250.259 118.171 249.271 118.171ZM245.639 114.308C246.133 115.795 247.798 117.052 249.273 117.052C249.894 117.052 250.393 116.83 250.686 116.426C251.008 115.98 251.059 115.353 250.827 114.662C250.332 113.175 248.668 111.917 247.193 111.917C246.572 111.917 246.073 112.14 245.783 112.544C245.46 112.99 245.409 113.617 245.641 114.308H245.639Z",fill:"black"}),e.jsx("path",{d:"M250.251 130.084H256.594C257.757 130.084 258.385 129.139 257.999 127.976L257.754 127.241C257.368 126.077 256.11 125.133 254.947 125.133H248.604C247.442 125.133 246.814 126.077 247.2 127.241L247.444 127.976C247.83 129.139 249.089 130.084 250.251 130.084Z",fill:"black"}),e.jsx("path",{d:"M246.353 109.392C246.121 109.392 245.904 109.245 245.823 109.013C243.256 101.455 242.045 97.5725 242.192 97.3672L242.645 97.6929L243.195 97.5995C243.296 98.0463 245.455 104.456 246.88 108.652C246.981 108.945 246.825 109.263 246.532 109.362C246.471 109.382 246.411 109.392 246.353 109.392Z",fill:"black"})]}),e.jsxs("g",{opacity:"0.6",children:[e.jsx("rect",{x:"154.039",y:"13.8672",width:"33",height:"33",rx:"7.61538",transform:"rotate(-11.516 154.039 13.8672)",fill:"url(#paint1_linear_42040_78200)"}),e.jsxs("g",{clipPath:"url(#clip1_42040_78200)",children:[e.jsx("path",{d:"M166.035 34.5816C166.246 35.6118 166.857 36.5161 167.734 37.0962C168.611 37.6764 169.682 37.885 170.713 37.6763L181.595 35.4591C182.625 35.248 183.53 34.6368 184.11 33.7598C184.69 32.8828 184.899 31.8114 184.69 30.7808L183.265 23.7851L164.609 27.5859L166.035 34.5816ZM178.536 28.3915C178.767 28.3445 179.006 28.367 179.224 28.456C179.442 28.5451 179.628 28.6967 179.76 28.8918C179.892 29.0869 179.962 29.3166 179.964 29.5519C179.965 29.7873 179.896 30.0177 179.766 30.2139C179.636 30.4102 179.451 30.5636 179.234 30.6547C179.017 30.7457 178.778 30.7704 178.547 30.7256C178.316 30.6807 178.103 30.5684 177.936 30.4027C177.769 30.2371 177.655 30.0256 177.608 29.795C177.545 29.4858 177.607 29.1642 177.781 28.901C177.955 28.6378 178.227 28.4545 178.536 28.3915ZM174.65 29.1834C174.88 29.1364 175.12 29.1588 175.337 29.2479C175.555 29.3369 175.742 29.4886 175.873 29.6836C176.005 29.8787 176.076 30.1084 176.077 30.3438C176.078 30.5791 176.009 30.8095 175.88 31.0058C175.75 31.2021 175.565 31.3554 175.348 31.4465C175.131 31.5376 174.891 31.5623 174.66 31.5174C174.429 31.4726 174.217 31.3602 174.05 31.1946C173.883 31.029 173.768 30.8175 173.721 30.5869C173.658 30.2776 173.721 29.956 173.895 29.6928C174.069 29.4296 174.34 29.2464 174.65 29.1834ZM170.763 29.9752C170.994 29.9282 171.233 29.9507 171.451 30.0397C171.669 30.1288 171.855 30.2804 171.987 30.4755C172.119 30.6706 172.189 30.9003 172.191 31.1356C172.192 31.371 172.123 31.6013 171.993 31.7976C171.863 31.9939 171.678 32.1473 171.461 32.2384C171.244 32.3294 171.005 32.3541 170.774 32.3093C170.543 32.2644 170.33 32.1521 170.163 31.9864C169.996 31.8208 169.882 31.6093 169.835 31.3787C169.772 31.0695 169.834 30.7479 170.008 30.4847C170.182 30.2215 170.454 30.0382 170.763 29.9752Z",fill:"white"}),e.jsx("path",{d:"M178.109 18.3581L177.332 18.5165L177.173 17.7392C177.131 17.533 177.009 17.352 176.834 17.2359C176.658 17.1198 176.444 17.0782 176.238 17.1202C176.031 17.1622 175.85 17.2844 175.734 17.4599C175.618 17.6354 175.577 17.8497 175.619 18.0559L175.777 18.8332L169.559 20.1001L169.4 19.3228C169.358 19.1167 169.236 18.9357 169.061 18.8196C168.885 18.7035 168.671 18.6619 168.465 18.7039C168.258 18.7459 168.077 18.8681 167.961 19.0436C167.845 19.219 167.804 19.4334 167.846 19.6396L168.004 20.4169L167.227 20.5753C166.197 20.7864 165.292 21.3976 164.712 22.2746C164.132 23.1516 163.923 24.223 164.132 25.2536L164.29 26.0309L182.946 22.23L182.787 21.4527C182.576 20.4226 181.965 19.5183 181.088 18.9381C180.211 18.358 179.139 18.1494 178.109 18.3581Z",fill:"white"})]})]})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78200",x1:"95.3125",y1:"55.7422",x2:"124.312",y2:"55.7422",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsxs("linearGradient",{id:"paint1_linear_42040_78200",x1:"154.039",y1:"30.3672",x2:"187.039",y2:"30.3672",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78200",children:e.jsx("rect",{width:"17.8462",height:"17.8462",fill:"white",transform:"translate(99.3047 48.0469) rotate(14.6047)"})}),e.jsx("clipPath",{id:"clip1_42040_78200",children:e.jsx("rect",{width:"20.3077",height:"20.3077",fill:"white",transform:"translate(161.523 18.8203) rotate(-11.516)"})})]})]}),exports.ImageUpload=function({variant:t="square",isUploading:r=!1,defaultValue:l="",onDelete:n,onChange:i,label:o,isCapture:s=!1,loading:d=!1,size:c=5,subTitle:p="PNG, JPEG under 5 MB"}){const{t:h}=Ae.useTranslation(),[C,x]=a.useState(!1),[f,g]=a.useState(!1),{inputRef:m,setInputRef:b,maintainFocusAfterClose:j}=Zi({isOpen:f}),y=u.useTheme(),{butterflyBlue:w,iron:v,lightBlue:M}=y.palette.app.color,{layout:L}=Vi();return d?e.jsx(As,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Zr.default,{flexWrap:s?"wrap":"nowrap",gap:"20px",direction:"row",alignItems:"center",children:[e.jsxs(Br.default,{onClick:()=>!l&&m.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l||m.current?.click())},onMouseEnter:()=>x(!0),onFocus:()=>x(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||x(!1)},onMouseLeave:()=>x(!1),tabIndex:0,role:"button","aria-label":o??"Upload image",sx:{height:"120px",width:"120px",position:"relative",overflow:"hidden",border:l?`1px solid ${w[900]}`:`1px solid ${y.palette.grey[400]}`,cursor:"pointer",borderRadius:"10px","& img":{borderRadius:"10px"},":hover":{border:`1px solid ${w[900]}`},":focus-visible":{outline:`2px solid ${w[900]}`,outlineOffset:"2px"},..."circle"===t?{borderRadius:"50%","& img":{borderRadius:"50%"}}:{}},children:[e.jsx("input",{type:"file",ref:b,accept:Bs.join(","),onChange:e=>{if(e.target.files){const t=Array.from(e.target.files);for(const e of t){if(!Mi(e,c))return void Ea.error({title:h("imageUpload.fileSize.error.message",{fileSize:c})});if(!Li(e,Bs))return void Ea.error({title:h("fileUpload.fileType.error.message",{fileName:e.name})})}i(t)}},style:{display:"none"}}),e.jsx(wn.default,{in:C&&!!l,timeout:{enter:300,exit:1e3},children:e.jsxs(Vs,{onFocus:()=>x(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||x(!1)},children:[e.jsx(kr.default,{tabIndex:0,onClick:()=>m.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),m.current?.click())},children:e.jsx(jn.default,{sx:{color:M[50]}})}),e.jsx(kr.default,{onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n())},tabIndex:0,onClick:e=>{e.stopPropagation(),n()},children:e.jsx(bn.default,{sx:{color:M[50]}})})]})}),r&&e.jsx(Vs,{children:e.jsx(_r.default,{color:v[600],children:"Processing..."})}),l?e.jsx(Zo,{padding:{padding:"2px"},children:e.jsx("img",{alt:"",src:l,style:{width:"100%",height:"100%",objectFit:"cover"}})}):e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx(yn.default,{})})]}),e.jsxs(Zr.default,{children:[e.jsx(_r.default,{noWrap:!0,variant:"subtitle1",fontWeight:500,children:o}),e.jsx(_r.default,{variant:"caption",color:v[800],children:p})]}),s&&e.jsx(Ni,{onClick:()=>g(!0),variant:"outlined",fullWidth:"mobile"===L,children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(mn.default,{}),e.jsx(_r.default,{variant:"body1",children:"Capture photo"})]})})]}),f&&e.jsx(Ds,{onChange:i,isUploading:r,open:f,onClose:()=>{g(!1),j()}})]})},exports.ImageUploadView=function({defaultValue:t,variant:r,sx:l,borderProgress:n,borderSide:i="right",width:o,height:s}){const d=u.useTheme(),{butterflyBlue:c}=d.palette.app.color,[p,h]=a.useState(!1),C={xs:"100px",md:"120px"},x=o??C,f=s??C,g="circle"===r,m=g?"50%":"10px",b=(()=>{if(void 0===n)return;const e=Math.max(0,Math.min(180,n))/180*100;if(g)return"right"===i?`inset(0 ${100-e}% 0 50%)`:`inset(0 50% 0 ${100-e}%)`;const t=50+e/2;if("right"===i)return`polygon(50% 0%, ${t}% 0%, ${t}% 100%, 50% 100%)`;const r=50-e/2;return`polygon(${r}% 0%, 50% 0%, 50% 100%, ${r}% 100%)`})();return e.jsx(Br.default,{sx:{width:"100%",minWidth:x,maxWidth:x,height:f,overflow:"hidden",position:"relative",borderRadius:m,border:"none",padding:"4px",boxSizing:"border-box","&::before":{content:'""',position:"absolute",inset:0,borderRadius:m,border:`2.5px solid ${c[900]}`,clipPath:b,pointerEvents:"none"},"& img":{borderRadius:m},...l},children:t&&!p?e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx("img",{alt:"",src:t,onError:()=>h(!0),style:{width:"100%",height:"100%",objectFit:"cover"}})}):e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx(ul.default,{sx:{width:"100%",height:"100%"}})})})},exports.ImportExcelSuccessIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:124,height:145,fill:"none",...t,children:[e.jsx("path",{fill:"#3BA4E8",d:"M59.048 25.164C26.57 25.164 0 52.127 0 85.082S26.571 145 59.048 145c32.476 0 59.047-26.963 59.047-59.918S91.524 25.164 59.048 25.164Zm0 110.848c-27.753 0-50.19-22.768-50.19-50.93 0-28.161 22.437-50.93 50.19-50.93 27.752 0 50.19 22.769 50.19 50.93 0 28.162-22.438 50.93-50.19 50.93Zm30.704-67.707c0 1.198-.59 2.397-1.18 2.996l-33.067 33.554c-.59.599-1.772 1.198-2.953 1.198-1.18 0-2.361-.599-2.952-1.198L30.705 85.681c-1.772-.599-2.362-1.797-2.362-2.996 0-2.396 1.771-4.793 4.724-4.793 1.18.6 2.362 1.198 2.952 1.797l15.943 16.178L82.076 65.31c.59-.599 1.772-1.198 2.953-1.198 2.361-.6 4.723 1.797 4.723 4.194Z"}),e.jsx("path",{fill:"#fff",stroke:"#3BA4E8",d:"M42.014 8.389c0 4.363-3.484 7.888-7.767 7.888-4.282 0-7.767-3.525-7.767-7.888C26.48 4.025 29.965.5 34.248.5c4.283 0 7.767 3.525 7.767 7.889ZM123.501 133.015c0 3.04-2.427 5.492-5.405 5.492s-5.405-2.452-5.405-5.492 2.427-5.492 5.405-5.492 5.405 2.452 5.405 5.492Z"}),e.jsx("path",{fill:"#3BA4E8",d:"M115.734 13.184h2.362v11.984h-2.362z"}),e.jsx("path",{fill:"#3BA4E8",d:"M122.816 17.977v2.398h-11.81v-2.398z"})]}),exports.ImportIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Import",children:e.jsx(po,{disabled:t.disabled})})}),exports.InboxIcon=Xi,exports.InboxIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:"10px"},children:e.jsx(wo,{toolTipLabel:"Inbox",children:e.jsx(Xi,{disabled:t.disabled})})}),exports.Indicator=({label:t,variant:r,colourCode:l})=>e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(go,{variant:r,colourCode:l}),t]}),exports.KeyBoardIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:"10px"},children:e.jsx(wo,{toolTipLabel:"Keyboard Shortcuts",children:e.jsx(ho,{})})}),exports.LeaveIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M6.58262 2.18779C5.70311 2.42409 5.15732 3.33802 5.37981 4.19982C5.61272 5.08943 6.52352 5.64195 7.39608 5.41608C8.28602 5.18325 8.83876 4.2728 8.6128 3.40752C8.37988 2.50749 7.45518 1.95149 6.58262 2.18779ZM7.52123 2.83067C7.75414 2.95577 7.86191 3.06697 7.99748 3.32759C8.07396 3.47702 8.08787 3.54999 8.08787 3.8002C8.09135 4.07125 8.08092 4.11295 7.97315 4.3145C7.84105 4.55775 7.72981 4.662 7.46908 4.801C7.3196 4.87745 7.2466 4.89135 6.9963 4.89135C6.74601 4.89135 6.673 4.87745 6.52352 4.801C6.2628 4.662 6.15155 4.55775 6.01945 4.3145C5.91169 4.11295 5.90126 4.07125 5.90473 3.8002C5.90473 3.45269 5.98817 3.24419 6.21413 3.01832C6.56176 2.67082 7.07973 2.59784 7.52123 2.83067Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M8.83604 2.08333C8.77992 2.13333 8.74835 2.20333 8.74835 2.26667C8.74835 2.33 8.77992 2.4 8.83604 2.45L8.92023 2.53333H13.1855H17.4472V10V17.4667H13.5398H9.62876L9.61123 17.3233C9.6007 17.2467 9.53406 16.4033 9.46391 15.45C9.35166 13.91 9.33062 13.69 9.25696 13.4833C9.21136 13.3533 8.88866 12.7467 8.5414 12.13L7.91003 11.0067L8.02929 9.27C8.18363 7.08 8.18012 7.11333 8.08892 7.02333C7.98369 6.92667 7.78025 6.92667 7.69256 7.02667C7.60838 7.12667 7.61188 7.10667 7.46456 9.25333L7.3418 11.1267L8.00824 12.31C8.37654 12.9633 8.69925 13.57 8.73081 13.6567C8.79395 13.8467 9.07456 17.47 9.03948 17.69C9.02195 17.81 9.03247 17.84 9.10964 17.9133L9.20083 18H13.5187H17.8366L17.9208 17.9167L18.0085 17.8367V10V2.16333L17.9208 2.08333L17.8366 2H13.3784H8.92023L8.83604 2.08333Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M13.825 3.41667C13.7716 3.46667 13.7416 3.53333 13.7416 3.60333C13.7416 3.69333 13.795 3.76333 14.0816 4.05333L14.4216 4.4H12.295H10.1716L10.0916 4.48333C10.0383 4.53333 10.0083 4.60333 10.0083 4.66667C10.0083 4.73 10.0383 4.8 10.0916 4.85L10.1716 4.93333H12.295H14.4216L14.0816 5.28C13.795 5.57 13.7416 5.64 13.7416 5.73C13.7416 5.87333 13.8683 6 14.015 6C14.1116 6 14.1916 5.93333 14.7316 5.39C15.285 4.83667 15.3416 4.77 15.3416 4.66667C15.3416 4.56333 15.285 4.49667 14.7316 3.94333C14.1916 3.4 14.1116 3.33333 14.015 3.33333C13.9416 3.33333 13.8783 3.36333 13.825 3.41667Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M5.40452 6.01592C5.16966 6.09895 2.92072 7.108 2.84029 7.16547C2.60864 7.33471 2.58612 7.389 2.27725 8.60242C1.95874 9.86373 1.9523 9.93079 2.10673 10.1926C2.31586 10.5503 2.74699 10.6652 3.12342 10.4704C3.41298 10.3204 3.45159 10.2373 3.71219 9.23147L3.94384 8.34377L4.48758 8.17772C4.78679 8.08512 5.03774 8.01487 5.04418 8.02125C5.05061 8.02764 5.012 8.66947 4.95731 9.44861C4.87044 10.7291 4.86401 10.8856 4.90261 11.1027C4.98627 11.5561 5.11496 11.7669 5.67478 12.3576C5.87104 12.5652 6.02869 12.7504 6.02225 12.7727C6.01582 12.7951 5.61365 13.9191 5.12783 15.2762C4.18514 17.9138 4.20767 17.8308 4.3814 17.9489C4.42001 17.9776 4.48436 18 4.52618 18C4.69992 18 4.72244 17.9489 5.58148 15.5412C6.03834 14.2672 6.41799 13.2134 6.43408 13.2006C6.47268 13.1559 7.38641 14.1522 7.4765 14.3406C7.53119 14.4587 7.63093 14.8834 7.80145 15.736C7.93658 16.4098 8.0878 17.1698 8.13606 17.4252C8.23901 17.9266 8.28084 18 8.46744 18C8.58005 18 8.7184 17.8755 8.7184 17.7701C8.7184 17.7286 8.5704 16.9494 8.38701 16.0362C8.03632 14.2799 7.98806 14.1139 7.75641 13.8233C7.70493 13.7562 7.20624 13.223 6.64642 12.6354C5.55896 11.4923 5.46565 11.3709 5.40774 11.0069C5.38522 10.8792 5.40774 10.3906 5.48817 9.25063C5.5493 8.38208 5.59756 7.64445 5.59756 7.61252C5.59756 7.52631 5.45278 7.39858 5.35304 7.39858C5.27583 7.39858 4.03393 7.76899 3.68324 7.89352C3.61246 7.91907 3.53846 7.96697 3.51915 7.99571C3.49985 8.02764 3.37759 8.4683 3.24889 8.97283C3.10733 9.52844 2.98829 9.92759 2.94968 9.9723C2.86281 10.0841 2.66655 10.0809 2.57647 9.96591C2.53786 9.91801 2.5089 9.85734 2.5089 9.8286C2.5089 9.71365 3.05585 7.64126 3.09446 7.60294C3.11698 7.58059 3.68002 7.32514 4.34923 7.03136L5.55896 6.4981L6.81372 6.61305C7.78536 6.70246 8.1071 6.74078 8.24223 6.79187C8.5704 6.91321 8.68944 7.03775 9.33613 7.94142C9.67073 8.40763 9.97638 8.80359 10.015 8.82594C10.0697 8.85468 10.2852 8.83871 11.0317 8.7493L11.9744 8.63754L12.058 8.69821C12.1288 8.7493 12.1449 8.78762 12.1449 8.89938C12.1449 9.00795 12.1288 9.04627 12.0644 9.09417C12.0098 9.13249 11.6687 9.20912 11.0027 9.33046C10.4622 9.42626 9.98603 9.50609 9.94421 9.50609C9.8863 9.50609 9.76082 9.40391 9.49056 9.13887C9.09483 8.75249 9.0337 8.72056 8.8857 8.82275C8.78596 8.893 8.74414 9.00795 8.78274 9.11013C8.80205 9.15484 8.96292 9.34324 9.14309 9.52844C9.50665 9.89885 9.69647 10.017 9.93777 10.017C10.015 10.017 10.5491 9.93079 11.1282 9.82541C12.013 9.66256 12.1996 9.61785 12.3218 9.54441C12.65 9.34643 12.769 8.91216 12.5953 8.5609C12.4956 8.36292 12.3251 8.21923 12.1159 8.16175C12.0065 8.12982 11.836 8.14259 11.1185 8.22562C10.6424 8.2831 10.2434 8.31822 10.2306 8.30225C10.2177 8.28948 9.97317 7.9542 9.69004 7.55824C9.17204 6.83338 8.95005 6.58431 8.68622 6.43423C8.37736 6.25541 8.21327 6.22348 6.90059 6.10533C5.65226 5.99357 5.49461 5.98399 5.40452 6.01592Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.4"}),e.jsx("path",{d:"M15.7859 8.70115C15.6501 8.74551 15.4172 8.98393 15.3756 9.12532C15.2979 9.38592 15.3534 9.59385 15.5502 9.78792C15.8303 10.0707 16.1852 10.0707 16.4653 9.78792C16.737 9.519 16.7453 9.17245 16.4875 8.8869C16.3072 8.68729 16.0494 8.61798 15.7859 8.70115ZM16.1603 9.178C16.2046 9.21958 16.2296 9.2778 16.2296 9.33048C16.2296 9.38315 16.2046 9.44137 16.1603 9.48296C16.1187 9.52731 16.0604 9.55227 16.0078 9.55227C15.9551 9.55227 15.8968 9.52731 15.8553 9.48296C15.8109 9.44137 15.7859 9.38315 15.7859 9.33048C15.7859 9.2778 15.8109 9.21958 15.8553 9.178C15.8968 9.13364 15.9551 9.10869 16.0078 9.10869C16.0604 9.10869 16.1187 9.13364 16.1603 9.178Z",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M4.90941 11.0684C4.82389 11.1339 4.60155 11.9142 3.85519 14.249C3.38483 15.7225 2.89893 17.2642 2.89893 17.3232C2.89893 17.4018 2.92614 17.4509 3 17.5C3.13217 17.5884 3.26045 17.5884 3.38095 17.4935C3.46647 17.4312 3.68804 16.7999 4.43828 14.4553C4.90864 12.9817 5.40698 11.5498 5.40698 11.4875C5.40698 11.4089 5.23206 11.3271 5.1582 11.278C5.02603 11.1895 5.1582 10.8588 4.90941 11.0684Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"})]}),exports.LeftArrowIcon=Qa,exports.LineChart=({height:t=300,width:r,skipAnimation:l=!1,loading:n=!1,tooltip:i="item",series:o,xAxisData:a,yAxisLabel:s,xAxisLabel:d,grid:c={horizontal:!1,vertical:!1},...u})=>{if(n)return e.jsx(cl.default,{height:t,width:r,variant:"rectangular"});const p=a?[{data:a,scaleType:"point",label:d}]:void 0,h=s?[{label:s,width:50}]:void 0;return e.jsx(Sa,{height:t,width:r,series:o,xAxis:p,yAxis:h,skipAnimation:l,grid:c,slotProps:{tooltip:{trigger:i}},...u})},exports.ListItemButton=function({label:t,selected:r,actions:l,companyName:n,...i}){const o=u.useTheme(),{iron:s}=o.palette.app.color,d=a.useRef(null),[c,p]=a.useState(!1);return a.useEffect((()=>{const e=d.current;if(!e)return;const t=()=>p(e.scrollWidth>e.clientWidth);return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[t,n]),e.jsx(Is,{selected:r,alignItems:"flex-start",...i,children:e.jsxs(Zr.default,{width:"100%",flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:[e.jsxs(Zr.default,{gap:"5px",direction:"column",flex:1,display:"grid",children:[e.jsx(wo,{toolTipLabel:t,checkOverflow:!c,children:e.jsx(_r.default,{variant:"body2",fontWeight:500,ref:d,sx:{width:"auto",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:t})}),e.jsx(_r.default,{variant:"caption",color:s[800],children:n})]}),l]})})},exports.LoadingCell=()=>e.jsx(cl.default,{animation:"pulse",width:"100%"}),exports.LoadingOverlay=Ro,exports.LoanIcon=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11.2353 8.73684V9.23684V8.73684ZM11.2353 2V2.5V2ZM5.12947 2.49329L4.772 2.14371L4.772 2.14371L5.12947 2.49329ZM7.94118 2V1.5V2ZM5.12947 8.24355L4.772 8.59314L5.12947 8.24355ZM7.94118 8.73684V8.23684V8.73684ZM14.5294 5.02632C14.8056 5.02632 15.0294 4.80246 15.0294 4.52632C15.0294 4.25017 14.8056 4.02632 14.5294 4.02632V4.52632V5.02632ZM12.5588 2C12.5588 1.72386 12.335 1.5 12.0588 1.5C11.7827 1.5 11.5588 1.72386 11.5588 2H12.0588H12.5588ZM14.5294 6.71053C14.8056 6.71053 15.0294 6.48667 15.0294 6.21053C15.0294 5.93438 14.8056 5.71053 14.5294 5.71053V6.21053V6.71053ZM11.5588 8.73684C11.5588 9.01299 11.7827 9.23684 12.0588 9.23684C12.335 9.23684 12.5588 9.01299 12.5588 8.73684H12.0588H11.5588ZM4.64706 4.02632C4.37092 4.02632 4.14706 4.25017 4.14706 4.52632C4.14706 4.80246 4.37092 5.02632 4.64706 5.02632V4.52632V4.02632ZM7.61765 2C7.61765 1.72386 7.39379 1.5 7.11765 1.5C6.8415 1.5 6.61765 1.72386 6.61765 2H7.11765H7.61765ZM4.64706 5.71053C4.37092 5.71053 4.14706 5.93438 4.14706 6.21053C4.14706 6.48667 4.37092 6.71053 4.64706 6.71053V6.21053V5.71053ZM6.61765 8.73684C6.61765 9.01299 6.8415 9.23684 7.11765 9.23684C7.39379 9.23684 7.61765 9.01299 7.61765 8.73684H7.11765H6.61765ZM3 16.985C2.72386 16.985 2.5 17.2088 2.5 17.485C2.5 17.7611 2.72386 17.985 3 17.985V17.485V16.985ZM14.6979 12.8996L15.0036 13.2953H15.0036L14.6979 12.8996ZM13.2096 14.0492L12.904 13.6535H12.904L13.2096 14.0492ZM11.0533 12.7587L10.793 13.1855H10.793L11.0533 12.7587ZM11.4235 13.0679L11.0464 13.3962L11.4235 13.0679ZM11.2522 15.0273L11.1718 14.5338L11.2522 15.0273ZM10.8786 15.0772L10.8263 14.5799H10.8263L10.8786 15.0772ZM9.43186 14.5824C9.157 14.5559 8.91266 14.7572 8.88612 15.0321C8.85958 15.3069 9.06089 15.5513 9.33575 15.5778L9.38381 15.0801L9.43186 14.5824ZM13.7862 17.2308L14.0075 17.6791L13.7862 17.2308ZM15.5341 16.1018L15.8779 16.4649L15.5341 16.1018ZM16.8443 14.3543L16.4175 14.0939H16.4175L16.8443 14.3543ZM11.3199 14.8653L11.6528 15.2383H11.6528L11.3199 14.8653ZM2.70647 13.5893C2.48292 13.7514 2.43312 14.064 2.59523 14.2876C2.75734 14.5111 3.06998 14.5609 3.29353 14.3988L3 13.994L2.70647 13.5893ZM16.5261 12.8994L16.8316 12.5036V12.5036L16.5261 12.8994ZM11.7351 17.8432L11.6535 17.3499L11.7351 17.8432ZM7.34521 17.7443L7.44828 17.2551H7.44828L7.34521 17.7443ZM7.94118 2V2.5L11.2353 2.5V2V1.5L7.94118 1.5V2ZM11.2353 8.73684V8.23684H7.94118V8.73684V9.23684H11.2353V8.73684ZM14.5294 5.36842H14.0294C14.0294 6.1762 14.0284 6.73282 13.9734 7.15128C13.9201 7.55647 13.8243 7.7561 13.6895 7.89396L14.047 8.24355L14.4045 8.59314C14.7521 8.2377 14.8975 7.79371 14.9648 7.28164C15.0304 6.78282 15.0294 6.14853 15.0294 5.36842H14.5294ZM11.2353 8.73684V9.23684C11.9973 9.23684 12.6202 9.23795 13.1107 9.17052C13.6167 9.10095 14.0554 8.95012 14.4045 8.59314L14.047 8.24355L13.6895 7.89396C13.5562 8.03027 13.3655 8.12608 12.9745 8.17984C12.5679 8.23573 12.0262 8.23684 11.2353 8.23684V8.73684ZM11.2353 2V2.5C12.0262 2.5 12.5679 2.50111 12.9745 2.557C13.3655 2.61076 13.5562 2.70657 13.6895 2.84288L14.047 2.49329L14.4045 2.1437C14.0554 1.78672 13.6167 1.63589 13.1107 1.56632C12.6202 1.49889 11.9973 1.5 11.2353 1.5V2ZM14.5294 5.36842H15.0294C15.0294 4.58831 15.0304 3.95402 14.9648 3.4552C14.8975 2.94313 14.7521 2.49914 14.4045 2.1437L14.047 2.49329L13.6895 2.84288C13.8243 2.98074 13.9201 3.18037 13.9734 3.58556C14.0284 4.00402 14.0294 4.56065 14.0294 5.36842H14.5294ZM4.64706 5.36842H5.14706C5.14706 4.56065 5.14808 4.00402 5.20309 3.58556C5.25637 3.18037 5.35212 2.98074 5.48695 2.84288L5.12947 2.49329L4.772 2.14371C4.42441 2.49914 4.27895 2.94313 4.21163 3.45521C4.14604 3.95402 4.14706 4.58831 4.14706 5.36842H4.64706ZM7.94118 2V1.5C7.17919 1.5 6.55628 1.49889 6.06581 1.56632C5.55978 1.63589 5.12111 1.78672 4.772 2.14371L5.12947 2.49329L5.48695 2.84288C5.62025 2.70657 5.811 2.61076 6.202 2.557C6.60856 2.50111 7.1503 2.5 7.94118 2.5V2ZM4.64706 5.36842H4.14706C4.14706 6.14853 4.14604 6.78282 4.21163 7.28164C4.27896 7.79371 4.42441 8.23771 4.772 8.59314L5.12947 8.24355L5.48695 7.89396C5.35212 7.7561 5.25637 7.55647 5.20309 7.15128C5.14808 6.73282 5.14706 6.1762 5.14706 5.36842H4.64706ZM7.94118 8.73684V8.23684C7.1503 8.23684 6.60856 8.23573 6.202 8.17984C5.811 8.12608 5.62025 8.03027 5.48695 7.89396L5.12947 8.24355L4.772 8.59314C5.12111 8.95012 5.55978 9.10095 6.06581 9.17052C6.55628 9.23795 7.17919 9.23684 7.94118 9.23684V8.73684ZM10.4118 5.36842H9.91176C9.91176 5.56793 9.75646 5.71053 9.58823 5.71053V6.21053V6.71053C10.3297 6.71053 10.9118 6.09907 10.9118 5.36842H10.4118ZM9.58823 6.21053V5.71053C9.42001 5.71053 9.26471 5.56793 9.26471 5.36842H8.76471H8.26471C8.26471 6.09907 8.84681 6.71053 9.58823 6.71053V6.21053ZM8.76471 5.36842H9.26471C9.26471 5.16891 9.42001 5.02632 9.58823 5.02632V4.52632V4.02632C8.84681 4.02632 8.26471 4.63777 8.26471 5.36842H8.76471ZM9.58823 4.52632V5.02632C9.75646 5.02632 9.91176 5.16891 9.91176 5.36842H10.4118H10.9118C10.9118 4.63777 10.3297 4.02632 9.58823 4.02632V4.52632ZM14.5294 4.52632V4.02632C13.4515 4.02632 12.5588 3.12968 12.5588 2H12.0588H11.5588C11.5588 3.66082 12.8783 5.02632 14.5294 5.02632V4.52632ZM14.5294 6.21053V5.71053C12.8783 5.71053 11.5588 7.07603 11.5588 8.73684H12.0588H12.5588C12.5588 7.60717 13.4515 6.71053 14.5294 6.71053V6.21053ZM4.64706 4.52632V5.02632C6.29812 5.02632 7.61765 3.66082 7.61765 2H7.11765H6.61765C6.61765 3.12968 5.72493 4.02632 4.64706 4.02632V4.52632ZM4.64706 6.21053V6.71053C5.72493 6.71053 6.61765 7.60717 6.61765 8.73684H7.11765H7.61765C7.61765 7.07603 6.29812 5.71053 4.64706 5.71053V6.21053ZM3 17.485V17.985H4.86112V17.485V16.985H3V17.485ZM14.6979 12.8996L14.3923 12.5039L12.904 13.6535L13.2096 14.0492L13.5153 14.4449L15.0036 13.2953L14.6979 12.8996ZM11.0533 12.7587L10.793 13.1855C10.8925 13.2462 10.9767 13.3161 11.0464 13.3962L11.4235 13.0679L11.8006 12.7396C11.6571 12.5747 11.4917 12.4403 11.3137 12.3318L11.0533 12.7587ZM11.2522 15.0273L11.1718 14.5338C11.0887 14.5474 11.0013 14.5598 10.9099 14.5706L10.9688 15.0671L11.0276 15.5636C11.1336 15.5511 11.2353 15.5367 11.3327 15.5208L11.2522 15.0273ZM10.9688 15.0671L10.9099 14.5706C10.8824 14.5738 10.8546 14.577 10.8263 14.5799L10.8786 15.0772L10.9308 15.5745C10.9634 15.571 10.9957 15.5674 11.0276 15.5636L10.9688 15.0671ZM10.8786 15.0772L10.8263 14.5799C10.4265 14.6219 9.95595 14.633 9.43186 14.5824L9.38381 15.0801L9.33575 15.5778C9.93067 15.6352 10.4686 15.623 10.9308 15.5745L10.8786 15.0772ZM13.7862 17.2308L14.0075 17.6791C14.59 17.3916 15.349 16.9658 15.8779 16.4649L15.5341 16.1018L15.1902 15.7388C14.7754 16.1317 14.1294 16.5038 13.5649 16.7824L13.7862 17.2308ZM15.5341 16.1018L15.8779 16.4649C16.4015 15.9689 16.9214 15.1879 17.2711 14.6147L16.8443 14.3543L16.4175 14.0939C16.0706 14.6625 15.609 15.3422 15.1902 15.7388L15.5341 16.1018ZM11.3199 14.8653L10.987 14.4922C10.9492 14.526 10.9177 14.5488 10.8933 14.5631C10.8687 14.5776 10.8585 14.5794 10.8617 14.5787L10.9688 15.0671L11.0758 15.5555C11.316 15.5029 11.5118 15.3642 11.6528 15.2383L11.3199 14.8653ZM10.9688 15.0671L10.8617 14.5787C10.8639 14.5782 10.8697 14.5772 10.8786 14.5772V15.0772V15.5772C10.9475 15.5772 11.0135 15.5692 11.0758 15.5555L10.9688 15.0671ZM11.4235 13.0679L11.0464 13.3962C11.3325 13.7248 11.3054 14.208 10.987 14.4922L11.3199 14.8653L11.6528 15.2383C12.3938 14.577 12.4337 13.4668 11.8006 12.7396L11.4235 13.0679ZM11.0533 12.7587L11.3137 12.3318C10.0152 11.5398 8.40045 11.4685 6.87765 11.7701C5.34884 12.073 3.84493 12.7637 2.70647 13.5893L3 13.994L3.29353 14.3988C4.32047 13.6541 5.69139 13.0246 7.07198 12.7511C8.45859 12.4764 9.78784 12.5725 10.793 13.1855L11.0533 12.7587ZM13.2096 14.0492L12.904 13.6535C12.3406 14.0887 11.7934 14.4324 11.1718 14.5338L11.2522 15.0273L11.3327 15.5208C12.2122 15.3773 12.9251 14.9008 13.5153 14.4449L13.2096 14.0492ZM16.5261 12.8994L16.8316 12.5036C16.1268 11.9595 15.097 11.9596 14.3923 12.5039L14.6979 12.8996L15.0036 13.2953C15.3482 13.0291 15.8758 13.029 16.2205 13.2952L16.5261 12.8994ZM16.5261 12.8994L16.2205 13.2952C16.5191 13.5257 16.5657 13.8509 16.4175 14.0939L16.8443 14.3543L17.2711 14.6147C17.7202 13.8786 17.4779 13.0026 16.8316 12.5036L16.5261 12.8994ZM11.7351 17.8432L11.8168 18.3364C12.5566 18.214 13.3114 18.0227 14.0075 17.6791L13.7862 17.2308L13.5649 16.7824C12.9903 17.066 12.3414 17.236 11.6535 17.3499L11.7351 17.8432ZM7.34521 17.7443L7.24214 18.2336C8.7353 18.5481 10.3069 18.5864 11.8168 18.3364L11.7351 17.8432L11.6535 17.3499C10.2677 17.5793 8.8214 17.5443 7.44828 17.2551L7.34521 17.7443ZM4.86112 17.485V17.985C5.65865 17.985 6.46554 18.07 7.24214 18.2336L7.34521 17.7443L7.44828 17.2551C6.60451 17.0773 5.72854 16.985 4.86112 16.985V17.485Z",fill:"#141A2A"})}),exports.LogoIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:272,height:97,fill:"none",...t,children:[e.jsx("path",{fill:"#1B95E3",d:"m67.726 51.484-9.306.028s-3.032-.034-4.584 1.605c-1.66 1.754-4.984 6.072-4.984 6.072S47.1 61.09 47.096 62.62l-.04 12.746c-.007.316.006.633.04.948.161 1.555.945 4.062 4.586-.282 4.88-5.824 18.225-21.571 18.225-21.571s2.496-2.918-2.18-2.977h-.001Z"}),e.jsx("path",{stroke:"#1B95E3",d:"m67.726 51.484-9.306.028s-3.032-.034-4.584 1.605c-1.66 1.754-4.984 6.072-4.984 6.072S47.1 61.09 47.096 62.62l-.04 12.746c-.007.316.006.633.04.948.161 1.555.945 4.062 4.586-.282 4.88-5.824 18.225-21.571 18.225-21.571s2.496-2.918-2.18-2.977h-.001Z"}),e.jsx("path",{fill:"#1B95E3",d:"m67.702 44.92-9.306-.027s-3.032.034-4.584-1.605c-1.659-1.755-4.984-6.072-4.984-6.072s-1.751-1.902-1.756-3.432l-.039-12.746a7.423 7.423 0 0 1 .039-.949c.161-1.554.945-4.061 4.587.283 4.88 5.823 18.224 21.57 18.224 21.57s2.497 2.919-2.18 2.978Z"}),e.jsx("path",{stroke:"#1B95E3",d:"m67.702 44.92-9.306-.027s-3.032.034-4.584-1.605c-1.659-1.755-4.984-6.072-4.984-6.072s-1.751-1.902-1.756-3.432l-.039-12.746a7.423 7.423 0 0 1 .039-.949c.161-1.554.945-4.061 4.587.283 4.88 5.823 18.224 21.57 18.224 21.57s2.497 2.919-2.18 2.978Z"}),e.jsx("path",{fill:"#1F3445",d:"M1.798 55.69 32.82 92.991s5.653 7.535 5.544-.185c-.109-7.719 0-20.72 0-20.72s.33-2.733-2.607-6.093C32.82 62.632 25.57 54.128 25.57 54.128s-1.917-2.624-7.009-2.612c-4.85.012-14.421-.026-14.525 0 0 0-.524-.002-1.011.029-1.467.094-3.796.853-1.227 4.143h-.001Z"}),e.jsx("path",{stroke:"#fff",d:"M1.798 55.69 32.82 92.991s5.653 7.535 5.544-.185c-.109-7.719 0-20.72 0-20.72s.33-2.733-2.607-6.093C32.82 62.632 25.57 54.128 25.57 54.128s-1.917-2.624-7.009-2.612c-4.85.012-14.421-.026-14.525 0 0 0-.524-.002-1.011.029-1.467.094-3.796.853-1.227 4.143h-.001Z"}),e.jsx("path",{fill:"#1F3445",d:"M1.337 40.707 32.36 3.404s5.653-7.534 5.544.184c-.109 7.72 0 20.72 0 20.72s.33 2.733-2.606 6.094C32.36 33.763 25.11 42.267 25.11 42.267s-1.918 2.624-7.009 2.611c-4.85-.012-14.421.027-14.525 0 0 0-.524.003-1.011-.028-1.467-.094-3.796-.853-1.227-4.143h-.001Z"}),e.jsx("path",{stroke:"#fff",d:"M1.337 40.707 32.36 3.404s5.653-7.534 5.544.184c-.109 7.72 0 20.72 0 20.72s.33 2.733-2.606 6.094C32.36 33.763 25.11 42.267 25.11 42.267s-1.918 2.624-7.009 2.611c-4.85-.012-14.421.027-14.525 0 0 0-.524.003-1.011-.028-1.467-.094-3.796-.853-1.227-4.143h-.001Z"}),e.jsx("path",{fill:"#fff",d:"M198.215 61.352v-5.857h-13.121v-5.897h11.725v-5.496h-11.725v-5.335h12.403V32.95h-18.983v28.402h19.701Zm-31.309-14.281c0 6.338-4.506 8.344-9.372 8.344h-3.23V38.807h3.39c4.707 0 9.214 1.885 9.214 8.264h-.002Zm7.099 0c0-10.752-8.136-14.121-16.152-14.121h-10.208v28.402h10.53c7.776 0 15.832-4.292 15.832-14.281h-.002Zm-38.167-.04c0 5.133-3.35 8.825-8.096 8.825s-8.056-3.69-8.056-8.825c0-4.975 3.27-8.666 8.056-8.666s8.098 3.691 8.098 8.666h-.002Zm7.3 0c0-9.107-6.541-14.843-15.394-14.843-8.814 0-15.355 5.736-15.355 14.843 0 8.986 6.541 15.083 15.355 15.083 8.853 0 15.394-6.097 15.394-15.083Zm-31.866 10.39-4.746-4.493c-1.195 1.685-3.31 2.888-5.982 2.888-4.706 0-8.018-3.529-8.018-8.705 0-5.015 3.39-8.705 8.136-8.705 2.154 0 4.427.842 5.703 2.607l4.628-4.653c-2.353-2.73-6.622-4.172-10.569-4.172-8.615 0-15.315 5.815-15.315 14.923 0 8.906 6.501 15.003 15.196 15.003 4.746 0 8.495-1.805 10.967-4.693Z"}),e.jsx("path",{fill:"#1F3445",stroke:"#fff",d:"M198.215 61.352v-5.857h-13.121v-5.897h11.725v-5.496h-11.725v-5.335h12.403V32.95h-18.983v28.402h19.701Zm-31.309-14.281c0 6.338-4.506 8.344-9.372 8.344h-3.23V38.807h3.39c4.707 0 9.214 1.885 9.214 8.264h-.002Zm7.099 0c0-10.752-8.136-14.121-16.152-14.121h-10.208v28.402h10.53c7.776 0 15.832-4.292 15.832-14.281h-.002Zm-38.167-.04c0 5.133-3.35 8.825-8.096 8.825s-8.056-3.69-8.056-8.825c0-4.975 3.27-8.666 8.056-8.666s8.098 3.691 8.098 8.666h-.002Zm7.3 0c0-9.107-6.541-14.843-15.394-14.843-8.814 0-15.355 5.736-15.355 14.843 0 8.986 6.541 15.083 15.355 15.083 8.853 0 15.394-6.097 15.394-15.083Zm-31.866 10.39-4.746-4.493c-1.195 1.685-3.31 2.888-5.982 2.888-4.706 0-8.018-3.529-8.018-8.705 0-5.015 3.39-8.705 8.136-8.705 2.154 0 4.427.842 5.703 2.607l4.628-4.653c-2.353-2.73-6.622-4.172-10.569-4.172-8.615 0-15.315 5.815-15.315 14.923 0 8.906 6.501 15.003 15.196 15.003 4.746 0 8.495-1.805 10.967-4.693Z"}),e.jsx("path",{fill:"#1B95E3",d:"M271.944 61.356V55.5h-13.121v-5.9h11.725v-5.495h-11.725V38.77h12.403v-5.816h-18.983v28.402h19.701Zm-24.208 0V55.5h-13.121v-5.9h11.726v-5.495h-11.726V38.77h12.404v-5.816h-18.986v28.402h19.703Zm-24.129 0v-5.938h-14.039l13.76-16.968v-5.497h-21.657v5.816h13.123l-13.442 16.65v5.937h22.255Z"}),e.jsx("path",{stroke:"#1B95E3",d:"M271.944 61.356V55.5h-13.121v-5.9h11.725v-5.495h-11.725V38.77h12.403v-5.816h-18.983v28.402h19.701Zm-24.208 0V55.5h-13.121v-5.9h11.726v-5.495h-11.726V38.77h12.404v-5.816h-18.986v28.402h19.703Zm-24.129 0v-5.938h-14.039l13.76-16.968v-5.497h-21.657v5.816h13.123l-13.442 16.65v5.937h22.255Z"})]}),exports.MasterIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("g",{clipPath:"url(#clip0_2088_3743)",children:e.jsx("path",{d:"M20 15.4167V17.0833C20 18.6917 18.6917 20 17.0833 20H2.91667C1.30833 20 0 18.6917 0 17.0833V15.4167C0 13.8083 1.30833 12.5 2.91667 12.5H4.58333C5.04417 12.5 5.41667 12.8725 5.41667 13.3333C5.41667 13.7942 5.04417 14.1667 4.58333 14.1667H2.91667C2.2275 14.1667 1.66667 14.7275 1.66667 15.4167V17.0833C1.66667 17.7725 2.2275 18.3333 2.91667 18.3333H17.0833C17.7725 18.3333 18.3333 17.7725 18.3333 17.0833V15.4167C18.3333 14.7275 17.7725 14.1667 17.0833 14.1667H15.4167C14.9558 14.1667 14.5833 13.7942 14.5833 13.3333C14.5833 12.8725 14.9558 12.5 15.4167 12.5H17.0833C18.6917 12.5 20 13.8083 20 15.4167ZM20 2.91667V3.75C20 5.35833 18.6917 6.66667 17.0833 6.66667H16.6667V7.5C16.6667 8.87833 15.545 10 14.1667 10H10.8333V12.8292L11.9125 11.7508C12.2383 11.425 12.765 11.425 13.0908 11.7508C13.4167 12.0767 13.4167 12.6033 13.0908 12.9292L11.0283 14.9925C10.4617 15.5583 9.54167 15.5592 8.975 14.9925L6.91167 12.9292C6.58583 12.6033 6.58583 12.0767 6.91167 11.7508C7.2375 11.425 7.76417 11.425 8.09 11.7508L9.16667 12.8275V9.99917H5.83333C4.455 9.99917 3.33333 8.8775 3.33333 7.49917V6.66583H2.91667C1.30833 6.66583 0 5.3575 0 3.74917V2.91583C0 1.30833 1.30833 0 2.91667 0H5.41667C7.025 0 8.33333 1.30833 8.33333 2.91667V3.75C8.33333 5.35833 7.025 6.66667 5.41667 6.66667H5V7.5C5 7.95917 5.37333 8.33333 5.83333 8.33333H14.1667C14.6267 8.33333 15 7.95917 15 7.5V6.66667H14.5833C12.975 6.66667 11.6667 5.35833 11.6667 3.75V2.91667C11.6667 1.30833 12.975 0 14.5833 0H17.0833C18.6917 0 20 1.30833 20 2.91667ZM5.41667 5C6.10583 5 6.66667 4.43917 6.66667 3.75V2.91667C6.66667 2.2275 6.10583 1.66667 5.41667 1.66667H2.91667C2.2275 1.66667 1.66667 2.2275 1.66667 2.91667V3.75C1.66667 4.43917 2.2275 5 2.91667 5H5.41667ZM18.3333 2.91667C18.3333 2.2275 17.7725 1.66667 17.0833 1.66667H14.5833C13.8942 1.66667 13.3333 2.2275 13.3333 2.91667V3.75C13.3333 4.43917 13.8942 5 14.5833 5H17.0833C17.7725 5 18.3333 4.43917 18.3333 3.75V2.91667Z",fill:t.fill??"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_2088_3743",children:e.jsx("rect",{width:"20",height:"20",fill:t.fill??"currentColor"})})})]}),exports.MasterPageLayout=({breadcrumbs:t,btnLabel:r,dialogKey:l="add",dialogRenderer:n,list:i,onDialogOpen:o,openedDialog:a,title:s})=>{const{layout:d}=Vi(),c="mobile"===d;return e.jsxs(Zr.default,{gap:c?"6px":"10px",children:[t,e.jsxs(hs,{children:[e.jsx(Zo,{padding:{padding:c?"6px":"10px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsx(_r.default,{variant:"subtitle1",children:s}),c?e.jsx(Ni,{variant:"outlined",onClick:()=>{o(l)},sx:{borderRadius:"6px",height:"36px",minWidth:"36px",padding:0,width:"36px"},children:e.jsx(rn.default,{fontSize:"small"})}):e.jsx(Ni,{variant:"outlined",onClick:()=>{o(l)},startIcon:e.jsx(rn.default,{}),children:r})]})}),i]}),n&&a&&n[a]]})},exports.MiscellaneousManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80498)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80498)",children:e.jsx("path",{d:"M20.5 7.37508V8.62513C20.5 9.6608 19.6606 10.5002 18.625 10.5002H18V11.1252C18 12.1609 17.1606 13.0003 16.125 13.0003H13.625V15.1223L14.4344 14.3135C14.6788 14.0691 15.0737 14.0691 15.3181 14.3135C15.5625 14.5579 15.5625 14.9529 15.3181 15.1973L13.7713 16.7448C13.5588 16.9574 13.28 17.0636 13.0012 17.0636C12.7225 17.0636 12.4437 16.9574 12.2319 16.7448L10.6844 15.1973C10.44 14.9529 10.44 14.5579 10.6844 14.3135C10.9288 14.0691 11.3237 14.0691 11.5681 14.3135L12.3756 15.121V12.9997H9.875C8.83938 12.9997 8 12.1603 8 11.1246V10.4996H7.375C6.33938 10.4996 5.5 9.66017 5.5 8.62451V7.37508C5.5 6.33941 6.33938 5.5 7.375 5.5H9.875C10.9106 5.5 11.75 6.33941 11.75 7.37508V8.62513C11.75 9.6608 10.9106 10.5002 9.875 10.5002H9.25V11.1252C9.25 11.4702 9.53 11.7503 9.875 11.7503H16.125C16.47 11.7503 16.75 11.4702 16.75 11.1252V10.5002H16.125C15.0894 10.5002 14.25 9.6608 14.25 8.62513V7.37508C14.25 6.33941 15.0894 5.5 16.125 5.5H18.625C19.6606 5.5 20.5 6.33941 20.5 7.37508ZM18.625 14.8754H16.7388C16.7106 15.3148 16.5369 15.7467 16.2019 16.0817L14.7144 17.5699C14.3644 17.9199 13.9256 18.1868 13.4381 18.2743C12.6544 18.4149 11.8906 18.1724 11.3475 17.6286L9.8 16.0811C9.465 15.7461 9.29125 15.3142 9.26312 14.8748H7.375C6.33938 14.8748 5.5 15.7142 5.5 16.7498V18.6249C5.5 19.6606 6.33938 20.5 7.375 20.5H18.625C19.6606 20.5 20.5 19.6606 20.5 18.6249V16.7498C20.5 15.7142 19.6606 14.8748 18.625 14.8748V14.8754Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80498",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80498",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.NavigationKeyProvider=function({children:t,navigationKey:r}){return e.jsx(fi.Provider,{value:a.useMemo((()=>({navigationKey:r})),[r]),children:t})},exports.NoDataFoundSvg=()=>e.jsxs("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{opacity:"0.7",children:[e.jsx("path",{d:"M38 80C48.0782 80 57.7437 75.9438 64.8701 68.7236C71.9964 61.5035 76 51.7108 76 41.5C76 31.2892 71.9964 21.4965 64.8701 14.2764C57.7437 7.05624 48.0782 3 38 3C17.0206 3 0 20.2231 0 41.4786C0 62.734 17.0206 80 38 80Z",fill:"url(#paint0_linear_111_1229)"}),e.jsx("path",{d:"M59.201 12H16.7777C15.5111 12.0018 14.2968 12.5291 13.4012 13.4664C12.5056 14.4037 12.0017 15.6745 12 17H64C63.9938 15.6721 63.4855 14.4007 62.5863 13.4638C61.687 12.5268 60.4699 12.0006 59.201 12Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M12 16H64V56.2578C64.0008 57.1435 63.8298 58.0206 63.4968 58.839C63.1637 59.6573 62.6751 60.4009 62.059 61.0272C61.4429 61.6534 60.7113 62.15 59.9061 62.4885C59.101 62.827 58.238 63.0009 57.3667 63H18.6333C17.762 63.0009 16.899 62.827 16.0939 62.4885C15.2887 62.15 14.5571 61.6534 13.941 61.0272C13.3248 60.4009 12.8363 59.6573 12.5032 58.839C12.1702 58.0206 11.9992 57.1435 12 56.2578V16Z",fill:"url(#paint1_linear_111_1229)"}),e.jsx("path",{d:"M55.7083 21.0003H21.2914C20.9489 21.0003 20.6204 21.1583 20.3783 21.4396C20.1361 21.7208 20 22.1023 20 22.5001C20 22.8979 20.1361 23.2794 20.3783 23.5607C20.6204 23.842 20.9489 24 21.2914 24H55.7083C56.0508 24 56.3793 23.842 56.6215 23.5607C56.8637 23.2794 56.9998 22.8979 56.9998 22.5001C57.003 22.3021 56.9718 22.1054 56.908 21.9218C56.8442 21.7381 56.7492 21.5713 56.6287 21.4312C56.5081 21.2912 56.3645 21.1809 56.2063 21.1068C56.0482 21.0328 55.8788 20.9965 55.7083 21.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7083 32.0003H21.2914C20.9489 32.0003 20.6204 32.1583 20.3783 32.4396C20.1361 32.7208 20 33.1023 20 33.5001C20 33.8979 20.1361 34.2794 20.3783 34.5607C20.6204 34.842 20.9489 35 21.2914 35H55.7083C56.0508 35 56.3793 34.842 56.6215 34.5607C56.8637 34.2794 56.9998 33.8979 56.9998 33.5001C57.003 33.3021 56.9718 33.1054 56.908 32.9218C56.8442 32.7381 56.7492 32.5713 56.6287 32.4312C56.5081 32.2912 56.3645 32.1809 56.2063 32.1068C56.0482 32.0328 55.8788 31.9965 55.7083 32.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7083 43.0003H21.2914C20.9489 43.0003 20.6204 43.1583 20.3783 43.4396C20.1361 43.7208 20 44.1023 20 44.5001C20 44.8979 20.1361 45.2794 20.3783 45.5607C20.6204 45.842 20.9489 46 21.2914 46H55.7083C56.0508 46 56.3793 45.842 56.6215 45.5607C56.8637 45.2794 56.9998 44.8979 56.9998 44.5001C57.003 44.3021 56.9718 44.1054 56.908 43.9218C56.8442 43.7381 56.7492 43.5713 56.6287 43.4312C56.5081 43.2912 56.3645 43.1809 56.2063 43.1068C56.0482 43.0328 55.8788 42.9965 55.7083 43.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7086 54H21.2914C20.9489 54 20.6204 54.158 20.3783 54.4393C20.1361 54.7207 20 55.1022 20 55.5C20 55.8978 20.1361 56.2794 20.3783 56.5607C20.6204 56.842 20.9489 57 21.2914 57H55.7086C56.0511 57 56.3795 56.842 56.6217 56.5607C56.8639 56.2794 57 55.8978 57 55.5C57 55.1022 56.8639 54.7207 56.6217 54.4393C56.3795 54.158 56.0511 54 55.7086 54Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M20.4049 41H2.59509C1.90683 41 1.24675 41.2854 0.760081 41.7933C0.273408 42.3013 0 42.9902 0 43.7085V70.2915C0 71.0098 0.273408 71.6987 0.760081 72.2067C1.24675 72.7146 1.90683 73 2.59509 73H20.4049C21.0932 73 21.7532 72.7146 22.2399 72.2067C22.7266 71.6987 23 71.0098 23 70.2915V43.7085C22.9929 42.9925 22.7172 42.3078 22.2321 41.8015C21.7469 41.2951 21.091 41.0074 20.4049 41Z",fill:"url(#paint2_linear_111_1229)"}),e.jsx("path",{d:"M72.345 6.01375e-06H52.6548C52.2163 0.00115006 51.796 0.181853 51.4859 0.502605C51.1758 0.823357 51.0011 1.25806 51 1.71167V11.2883C51.0011 11.7419 51.1758 12.1766 51.4859 12.4974C51.796 12.8182 52.2163 12.9989 52.6548 13H72.345C72.7835 12.9989 73.2038 12.8182 73.5139 12.4974C73.824 12.1766 73.9987 11.7419 73.9998 11.2883V1.73334C74.0031 1.50658 73.9628 1.28142 73.8811 1.07098C73.7993 0.860538 73.6779 0.669046 73.5239 0.507683C73.3698 0.34632 73.1862 0.21832 72.9838 0.131154C72.7814 0.0439889 72.5642 -0.000595879 72.345 6.01375e-06Z",fill:"url(#paint3_linear_111_1229)"}),e.jsx("path",{d:"M19.1363 54H4.8637C4.63463 54 4.41495 54.1054 4.25297 54.2929C4.091 54.4804 4 54.7348 4 55C4 55.2652 4.091 55.5196 4.25297 55.7071C4.41495 55.8946 4.63463 56 4.8637 56H19.1363C19.3654 56 19.5851 55.8946 19.747 55.7071C19.909 55.5196 20 55.2652 20 55C20 54.7348 19.909 54.4804 19.747 54.2929C19.5851 54.1054 19.3654 54 19.1363 54Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M19.1304 66.0002H4.86957C4.75664 65.9978 4.64444 66.0218 4.53945 66.0709C4.43446 66.12 4.33877 66.1932 4.25791 66.2861C4.17704 66.3791 4.11261 66.4901 4.06834 66.6126C4.02407 66.7352 4.00084 66.8668 4 67C4.00084 67.1332 4.02407 67.2648 4.06834 67.3874C4.11261 67.5099 4.17704 67.6209 4.25791 67.7139C4.33877 67.8068 4.43446 67.88 4.53945 67.9291C4.64444 67.9782 4.75664 68.0022 4.86957 67.9998H19.1304C19.2434 68.0022 19.3556 67.9782 19.4605 67.9291C19.5655 67.88 19.6612 67.8068 19.7421 67.7139C19.823 67.6209 19.8874 67.5099 19.9317 67.3874C19.9759 67.2648 19.9992 67.1332 20 67C19.9943 66.7325 19.9002 66.4782 19.7377 66.2914C19.5753 66.1046 19.3573 66.0001 19.1304 66.0002Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M19.1304 60.0002H4.86957C4.75664 59.9978 4.64444 60.0218 4.53945 60.0709C4.43446 60.12 4.33877 60.1932 4.25791 60.2861C4.17704 60.3791 4.11261 60.4901 4.06834 60.6126C4.02407 60.7351 4.00084 60.8668 4 61C4.00084 61.1332 4.02407 61.2649 4.06834 61.3874C4.11261 61.5099 4.17704 61.6209 4.25791 61.7139C4.33877 61.8068 4.43446 61.88 4.53945 61.9291C4.64444 61.9782 4.75664 62.0022 4.86957 61.9998H19.1304C19.2434 62.0022 19.3556 61.9782 19.4605 61.9291C19.5655 61.88 19.6612 61.8068 19.7421 61.7139C19.823 61.6209 19.8874 61.5099 19.9317 61.3874C19.9759 61.2649 19.9992 61.1332 20 61C19.9943 60.7325 19.9002 60.4782 19.7377 60.2914C19.5753 60.1046 19.3573 60.0001 19.1304 60.0002Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M9.43553 45H5.56447C5.14971 45.0006 4.75209 45.1965 4.45881 45.5446C4.16553 45.8928 4.00053 46.3648 4 46.8571V48.1429C4.00053 48.6352 4.16553 49.1072 4.45881 49.4554C4.75209 49.8035 5.14971 49.9994 5.56447 50H9.43553C9.85029 49.9994 10.2479 49.8035 10.5412 49.4554C10.8345 49.1072 10.9995 48.6352 11 48.1429V46.8571C10.9995 46.3648 10.8345 45.8928 10.5412 45.5446C10.2479 45.1965 9.85029 45.0006 9.43553 45Z",fill:"url(#paint4_linear_111_1229)"}),e.jsx("path",{d:"M56 9C56.3956 9 56.7822 8.8827 57.1111 8.66294C57.44 8.44318 57.6964 8.13082 57.8478 7.76537C57.9991 7.39991 58.0387 6.99778 57.9616 6.60982C57.8844 6.22186 57.6939 5.86549 57.4142 5.58579C57.1345 5.30608 56.7781 5.1156 56.3902 5.03843C56.0022 4.96126 55.6001 5.00087 55.2346 5.15224C54.8692 5.30362 54.5568 5.55996 54.3371 5.88886C54.1173 6.21776 54 6.60444 54 7C54.0017 7.5299 54.213 8.0376 54.5877 8.4123C54.9624 8.78699 55.4701 8.99826 56 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M63 9C63.3956 9 63.7822 8.8827 64.1111 8.66294C64.44 8.44318 64.6964 8.13082 64.8478 7.76537C64.9991 7.39991 65.0387 6.99778 64.9616 6.60982C64.8844 6.22186 64.6939 5.86549 64.4142 5.58579C64.1345 5.30608 63.7782 5.1156 63.3902 5.03843C63.0022 4.96126 62.6001 5.00087 62.2346 5.15224C61.8692 5.30362 61.5568 5.55996 61.3371 5.88886C61.1173 6.21776 61 6.60444 61 7C61.0017 7.5299 61.213 8.0376 61.5877 8.4123C61.9624 8.78699 62.4701 8.99826 63 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M70 9C70.3956 9 70.7822 8.8827 71.1111 8.66294C71.44 8.44318 71.6964 8.13082 71.8478 7.76537C71.9991 7.39991 72.0387 6.99778 71.9616 6.60982C71.8844 6.22186 71.6939 5.86549 71.4142 5.58579C71.1345 5.30608 70.7781 5.1156 70.3902 5.03843C70.0022 4.96126 69.6001 5.00087 69.2346 5.15224C68.8692 5.30362 68.5568 5.55996 68.3371 5.88886C68.1173 6.21776 68 6.60444 68 7C68.0017 7.5299 68.213 8.0376 68.5877 8.4123C68.9624 8.78699 69.4701 8.99826 70 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M63.9762 55L59 60.4255L73.0238 73L78 67.5745L63.9762 55Z",fill:"url(#paint5_linear_111_1229)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M69 46C69 50.1534 67.7977 54.2135 65.5451 57.667C63.2926 61.1204 60.0909 63.812 56.345 65.4015C52.5991 66.9909 48.4773 67.4068 44.5007 66.5965C40.524 65.7862 36.8713 63.7861 34.0043 60.8492C31.1373 57.9123 29.1849 54.1705 28.3939 50.0969C27.6029 46.0233 28.0089 41.8009 29.5605 37.9636C31.1121 34.1264 33.7396 30.8466 37.1108 28.5391C40.482 26.2316 44.4455 25 48.5 25C51.1922 24.9997 53.858 25.5427 56.3453 26.5979C58.8326 27.6532 61.0927 29.2 62.9963 31.1501C64.9 33.1002 66.41 35.4153 67.4401 37.9633C68.4702 40.5113 69.0003 43.2422 69 46ZM65.8559 46C65.8559 49.5164 64.838 52.9538 62.9309 55.8776C61.0238 58.8014 58.3132 61.0802 55.1418 62.4259C51.9704 63.7716 48.4807 64.1237 45.114 63.4376C41.7473 62.7516 38.6548 61.0583 36.2275 58.5718C33.8002 56.0854 32.1472 52.9174 31.4775 49.4686C30.8079 46.0197 31.1516 42.4449 32.4652 39.1962C33.7788 35.9474 36.0034 33.1707 38.8576 31.2171C41.7117 29.2635 45.0673 28.2207 48.5 28.2207C53.1026 28.2225 57.5161 30.0962 60.7707 33.4301C64.0252 36.7639 65.8543 41.2852 65.8559 46Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M48.5 64C51.9612 64 55.3446 62.9736 58.2225 61.0507C61.1003 59.1278 63.3434 56.3947 64.6679 53.197C65.9924 49.9993 66.339 46.4806 65.6637 43.0859C64.9885 39.6913 63.3218 36.5731 60.8744 34.1256C58.427 31.6782 55.3088 30.0115 51.9141 29.3363C48.5194 28.661 45.0007 29.0076 41.803 30.3321C38.6053 31.6566 35.8722 33.8997 33.9493 36.7775C32.0264 39.6554 31 43.0388 31 46.5C31.0017 51.1408 32.846 55.591 36.1275 58.8725C39.409 62.154 43.8592 63.9983 48.5 64Z",fill:"url(#paint6_linear_111_1229)",fillOpacity:"0.2"}),e.jsx("path",{d:"M49 58C55.6274 58 61 57.1046 61 56C61 54.8954 55.6274 54 49 54C42.3726 54 37 54.8954 37 56C37 57.1046 42.3726 58 49 58Z",fill:"#A1CFE2",fillOpacity:"0.56"}),e.jsx("path",{d:"M34.8502 68.5776C34.8834 68.4137 34.9658 68.2672 35.0839 68.1622C35.202 68.0572 35.3488 68 35.5 68C35.6512 68 35.798 68.0572 35.9161 68.1622C36.0342 68.2672 36.1166 68.4137 36.1498 68.5776L36.6981 71.1273C36.7268 71.2585 36.7874 71.3785 36.8734 71.474C36.9593 71.5696 37.0673 71.6369 37.1855 71.6688L39.4801 72.278C39.6277 72.3149 39.7596 72.4065 39.854 72.5377C39.9485 72.6689 40 72.832 40 73C40 73.1681 39.9485 73.3311 39.854 73.4623C39.7596 73.5935 39.6277 73.6851 39.4801 73.722L37.1855 74.3312C37.0673 74.3631 36.9593 74.4304 36.8734 74.526C36.7874 74.6215 36.7268 74.7415 36.6981 74.8727L36.1498 77.4224C36.1166 77.5863 36.0342 77.7328 35.9161 77.8378C35.798 77.9428 35.6512 78 35.5 78C35.3488 78 35.202 77.9428 35.0839 77.8378C34.9658 77.7328 34.8834 77.5863 34.8502 77.4224L34.3019 74.8727C34.2732 74.7415 34.2126 74.6215 34.1266 74.526C34.0407 74.4304 33.9327 74.3631 33.8145 74.3312L31.5199 73.722C31.3723 73.6851 31.2404 73.5935 31.146 73.4623C31.0515 73.3311 31 73.1681 31 73C31 72.832 31.0515 72.6689 31.146 72.5377C31.2404 72.4065 31.3723 72.3149 31.5199 72.278L33.8145 71.6688C33.9327 71.6369 34.0407 71.5696 34.1266 71.474C34.2126 71.3785 34.2732 71.2585 34.3019 71.1273L34.8502 68.5776Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M7.85018 3.57762C7.88338 3.41367 7.96581 3.26715 8.08391 3.16217C8.20201 3.05719 8.34876 3 8.5 3C8.65124 3 8.79798 3.05719 8.91608 3.16217C9.03419 3.26715 9.11662 3.41367 9.14982 3.57762L9.6981 6.12726C9.72675 6.25854 9.78739 6.37852 9.87336 6.47405C9.95933 6.56957 10.0673 6.63694 10.1855 6.66877L12.4801 7.27798C12.6277 7.31487 12.7596 7.40646 12.854 7.53768C12.9485 7.6689 13 7.83195 13 8C13 8.16805 12.9485 8.3311 12.854 8.46232C12.7596 8.59354 12.6277 8.68513 12.4801 8.72202L10.1855 9.33123C10.0673 9.36306 9.95933 9.43043 9.87336 9.52595C9.78739 9.62148 9.72675 9.74146 9.6981 9.87274L9.14982 12.4224C9.11662 12.5863 9.03419 12.7328 8.91608 12.8378C8.79798 12.9428 8.65124 13 8.5 13C8.34876 13 8.20201 12.9428 8.08391 12.8378C7.96581 12.7328 7.88338 12.5863 7.85018 12.4224L7.3019 9.87274C7.27325 9.74146 7.21261 9.62148 7.12664 9.52595C7.04067 9.43043 6.93268 9.36306 6.81453 9.33123L4.51986 8.72202C4.3723 8.68513 4.24044 8.59354 4.14596 8.46232C4.05147 8.3311 4 8.16805 4 8C4 7.83195 4.05147 7.6689 4.14596 7.53768C4.24044 7.40646 4.3723 7.31487 4.51986 7.27798L6.81453 6.66877C6.93268 6.63694 7.04067 6.56957 7.12664 6.47405C7.21261 6.37852 7.27325 6.25854 7.3019 6.12726L7.85018 3.57762Z",fill:"#D1EAF9"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37 3.14583C37.2266 3.14583 37.4482 3.07863 37.6366 2.95273C37.825 2.82682 37.9719 2.64787 38.0586 2.43849C38.1453 2.22912 38.168 1.99873 38.1238 1.77646C38.0796 1.55419 37.9705 1.35002 37.8102 1.18977C37.65 1.02953 37.4458 0.920395 37.2235 0.876182C37.0013 0.83197 36.7709 0.854663 36.5615 0.941388C36.3521 1.02811 36.1732 1.17498 36.0473 1.36341C35.9214 1.55184 35.8542 1.77337 35.8542 2C35.8536 2.15063 35.8829 2.29988 35.9403 2.43914C35.9977 2.57841 36.082 2.70494 36.1885 2.81145C36.2951 2.91796 36.4216 3.00235 36.5609 3.05973C36.7001 3.11712 36.8494 3.14638 37 3.14583ZM37 4C37.3956 4 37.7822 3.8827 38.1111 3.66294C38.44 3.44318 38.6964 3.13082 38.8478 2.76537C38.9991 2.39991 39.0387 1.99778 38.9616 1.60982C38.8844 1.22186 38.6939 0.86549 38.4142 0.585785C38.1345 0.30608 37.7781 0.115601 37.3902 0.0384303C37.0022 -0.0387401 36.6001 0.000866565 36.2346 0.152242C35.8692 0.303617 35.5568 0.559962 35.3371 0.88886C35.1173 1.21776 35 1.60444 35 2C35 2.53043 35.2107 3.03914 35.5858 3.41422C35.9609 3.78929 36.4696 4 37 4Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M73.0161 36.7046C72.9926 36.6082 72.9948 36.5073 73.0225 36.412C73.0502 36.3167 73.1025 36.2302 73.1741 36.1611C73.2457 36.0919 73.3342 36.0426 73.4308 36.0179C73.5275 35.9932 73.629 35.9941 73.7252 36.0203L76.5823 36.8291C76.6786 36.8564 76.766 36.9082 76.836 36.9794C76.906 37.0505 76.9561 37.1386 76.9814 37.235C77.0066 37.3313 77.0062 37.4325 76.9801 37.5286C76.954 37.6247 76.9032 37.7124 76.8326 37.783L74.7054 39.8359C74.6333 39.9066 74.5436 39.957 74.4455 39.9821C74.3474 40.0071 74.2444 40.0059 74.1469 39.9785C74.0494 39.9511 73.961 39.8986 73.8906 39.8262C73.8202 39.7538 73.7703 39.6641 73.7461 39.5664L73.0161 36.7046Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M5.29536 31.0161C5.3918 30.9926 5.49267 30.9948 5.588 31.0225C5.68334 31.0502 5.76983 31.1025 5.83895 31.1741C5.90806 31.2457 5.95739 31.3342 5.98208 31.4309C6.00676 31.5275 6.00593 31.629 5.97969 31.7252L5.17094 34.5823C5.14363 34.6786 5.09182 34.766 5.02064 34.836C4.94945 34.906 4.86135 34.9561 4.76503 34.9814C4.66871 35.0066 4.56751 35.0062 4.4714 34.9801C4.3753 34.954 4.28762 34.9032 4.21703 34.8326L2.16405 32.7054C2.09337 32.6333 2.04295 32.5436 2.01791 32.4455C1.99287 32.3474 1.99411 32.2444 2.02149 32.1469C2.04888 32.0494 2.10145 31.961 2.17384 31.8906C2.24623 31.8202 2.33587 31.7703 2.43364 31.7461L5.29536 31.0161Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M60.2954 72.0161C60.3918 71.9926 60.4927 71.9948 60.588 72.0225C60.6833 72.0502 60.7698 72.1025 60.8389 72.1741C60.9081 72.2457 60.9574 72.3342 60.9821 72.4309C61.0068 72.5275 61.0059 72.629 60.9797 72.7252L60.1709 75.5823C60.1436 75.6786 60.0918 75.766 60.0206 75.836C59.9494 75.906 59.8613 75.9561 59.765 75.9814C59.6687 76.0066 59.5675 76.0062 59.4714 75.9801C59.3753 75.954 59.2876 75.9032 59.217 75.8326L57.164 73.7054C57.0934 73.6332 57.043 73.5436 57.0179 73.4455C56.9929 73.3474 56.9941 73.2444 57.0215 73.1469C57.0489 73.0494 57.1014 72.961 57.1738 72.8906C57.2462 72.8202 57.3359 72.7703 57.4336 72.7461L60.2954 72.0161Z",fill:"#D1EAF9"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76 21.1458C76.2266 21.1458 76.4482 21.0786 76.6366 20.9527C76.825 20.8268 76.9719 20.6479 77.0586 20.4385C77.1453 20.2291 77.168 19.9987 77.1238 19.7765C77.0796 19.5542 76.9705 19.35 76.8102 19.1898C76.65 19.0295 76.4458 18.9204 76.2235 18.8762C76.0013 18.832 75.7709 18.8547 75.5615 18.9414C75.3521 19.0281 75.1732 19.175 75.0473 19.3634C74.9214 19.5518 74.8542 19.7734 74.8542 20C74.8569 20.3031 74.9785 20.5929 75.1928 20.8072C75.4071 21.0215 75.6969 21.1431 76 21.1458ZM76 22C76.3956 22 76.7822 21.8827 77.1111 21.6629C77.44 21.4432 77.6964 21.1308 77.8478 20.7654C77.9991 20.3999 78.0387 19.9978 77.9616 19.6098C77.8844 19.2219 77.6939 18.8655 77.4142 18.5858C77.1345 18.3061 76.7781 18.1156 76.3902 18.0384C76.0022 17.9613 75.6001 18.0009 75.2346 18.1522C74.8692 18.3036 74.5568 18.56 74.3371 18.8889C74.1173 19.2178 74 19.6044 74 20C74 20.2626 74.0517 20.5227 74.1522 20.7654C74.2527 21.008 74.4001 21.2285 74.5858 21.4142C74.7715 21.5999 74.992 21.7472 75.2346 21.8478C75.4773 21.9483 75.7374 22 76 22Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M73 73.39L78.0191 68L78.7796 68.6764C79.144 68.996 79.4392 69.3831 79.6481 69.815C79.8571 70.2468 79.9754 70.7149 79.9964 71.1917C80.0396 72.153 79.6967 73.093 79.0403 73.8128C78.7118 74.1672 78.3139 74.4545 77.87 74.6577C77.426 74.8609 76.9449 74.9761 76.4547 74.9965C75.4666 75.0385 74.5004 74.705 73.7605 74.0664L73 73.39Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M53.2859 46.4895L58.2921 41.5109C58.7571 41.0141 59.0102 40.3574 58.9983 39.6789C58.9863 39.0003 58.7101 38.3528 58.2279 37.8726C57.7435 37.3941 57.0921 37.1197 56.4094 37.1067C55.7298 37.106 55.0742 37.3562 54.5695 37.8088L49.5633 42.7874L44.557 37.8088C44.3137 37.5565 44.023 37.3541 43.7013 37.2131C43.379 37.0674 43.0283 36.9947 42.6743 37.0003C42.323 37 41.9748 37.0649 41.6474 37.1918C41.3189 37.3221 41.0204 37.5175 40.7703 37.7662C40.5156 38.0113 40.3184 38.3091 40.1926 38.6386C40.0631 38.9635 39.9977 39.3103 40.0001 39.6598C40.0071 40.0105 40.0797 40.3568 40.214 40.6811C40.3611 40.998 40.564 41.2862 40.813 41.5321L45.8193 46.5108L40.8772 51.4681C40.6235 51.7101 40.42 51.9992 40.2782 52.3192C40.1317 52.6396 40.0586 52.9884 40.0642 53.3404C40.0639 53.6898 40.1292 54.0361 40.2568 54.3617C40.3878 54.6884 40.5843 54.9852 40.8344 55.234C41.0809 55.4872 41.3803 55.6833 41.7116 55.8085C42.0384 55.9372 42.387 56.0022 42.7385 55.9999C43.0911 55.9929 43.4393 55.9208 43.7654 55.7872C44.0871 55.6462 44.3779 55.4438 44.6212 55.1914L49.6275 50.2128L54.6337 55.1914C54.8785 55.4133 55.1656 55.5841 55.478 55.6938C55.7903 55.8034 56.1216 55.8496 56.4522 55.8297C56.9515 55.8159 57.4363 55.6605 57.8497 55.3818C58.2631 55.1031 58.5878 54.7128 58.7856 54.2568C58.9835 53.8007 59.0461 53.298 58.9663 52.8077C58.8864 52.3174 58.6674 51.86 58.3349 51.4894L53.2859 46.4895Z",fill:"#7DBBD3"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_111_1229",x1:"37.7057",y1:"-9.56237",x2:"38.5054",y2:"125.668",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint1_linear_111_1229",x1:"38.546",y1:"5.28409",x2:"37.4575",y2:"64.8117",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint2_linear_111_1229",x1:"6.20309",y1:"34.2156",x2:"20.2953",y2:"89.9099",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint3_linear_111_1229",x1:"57.9418",y1:"-0.920827",x2:"71.7428",y2:"20.068",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint4_linear_111_1229",x1:"15.8358",y1:"47.5",x2:"3.11948",y2:"47.5",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.24",stopColor:"#D1EAF9"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint5_linear_111_1229",x1:"65.999",y1:"66.7106",x2:"70.9525",y2:"61.2091",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#D1EAF9"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint6_linear_111_1229",x1:"42.6267",y1:"31.2662",x2:"60.2573",y2:"77.0125",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D2F7FF"})]})]})]}),exports.NoDataOverlay=To,exports.Node=Rc,exports.OvertimeIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M17.9492 15.0335H17.259V7.8139C17.2583 7.54629 17.1515 7.2899 16.962 7.10096C16.7725 6.91202 16.5158 6.80598 16.2482 6.80608H6.54688C6.37698 6.44093 6.28293 6.0451 6.27044 5.64255C6.25795 5.23999 6.32727 4.83909 6.4742 4.46411C6.62113 4.08912 6.84263 3.74784 7.12528 3.46094C7.40792 3.17403 7.74585 2.94746 8.1186 2.79494C8.17253 2.77313 8.21853 2.73539 8.25046 2.68676C8.28238 2.63812 8.29871 2.58091 8.29727 2.52275C8.29582 2.46459 8.27667 2.40826 8.24237 2.36127C8.20807 2.31428 8.16026 2.27887 8.10531 2.25976C7.60777 2.08736 7.08485 1.99955 6.55829 2C1.81329 2.03796 -0.00590527 8.13041 3.86374 10.7685L3.86367 15.0335H3.11425C3.07672 15.0335 3.03956 15.0409 3.0049 15.0552C2.97023 15.0696 2.93873 15.0906 2.91219 15.1171C2.88566 15.1437 2.86461 15.1752 2.85026 15.2098C2.8359 15.2445 2.82852 15.2817 2.82853 15.3192V16.2757C2.82904 16.7328 3.01087 17.1711 3.33413 17.4944C3.65739 17.8177 4.09568 17.9995 4.55285 18H16.5106C16.9677 17.9995 17.406 17.8177 17.7293 17.4944C18.0526 17.1711 18.2344 16.7328 18.2349 16.2757V15.3192C18.2349 15.2817 18.2275 15.2445 18.2132 15.2098C18.1988 15.1752 18.1778 15.1437 18.1513 15.1171C18.1247 15.0906 18.0932 15.0696 18.0586 15.0552C18.0239 15.0409 17.9867 15.0335 17.9492 15.0335ZM2.32531 6.79829C2.32739 5.67683 2.77422 4.602 3.56779 3.80958C4.36135 3.01716 5.43683 2.57189 6.55829 2.57143C6.78297 2.57136 7.00728 2.58946 7.22905 2.62556C6.53935 3.10181 6.04031 3.80664 5.82021 4.61538C5.60011 5.42412 5.67313 6.28464 6.02636 7.04472C6.37959 7.80481 6.99025 8.41548 7.75034 8.76871C8.51042 9.12193 9.37094 9.19496 10.1797 8.97486C7.95601 12.6082 2.36652 11.0803 2.32531 6.79829ZM4.4351 11.0963C6.84362 12.3673 10.1004 11.1049 11.0263 8.53733C11.0461 8.48291 11.0491 8.42377 11.0347 8.36765C11.0204 8.31153 10.9895 8.26105 10.9459 8.22282C10.9024 8.18459 10.8484 8.1604 10.7909 8.1534C10.7334 8.1464 10.6751 8.15693 10.6237 8.18361C10.0061 8.50488 9.29555 8.60016 8.61509 8.45295C7.93463 8.30574 7.32702 7.92531 6.8974 7.37748L16.2482 7.37752C16.3643 7.37726 16.4757 7.42306 16.5581 7.50486C16.6405 7.58667 16.6871 7.6978 16.6876 7.8139V15.0335H4.4351V11.0963ZM17.6635 16.2757C17.6631 16.5813 17.5415 16.8744 17.3254 17.0905C17.1093 17.3066 16.8162 17.4282 16.5106 17.4286H4.55285C4.24719 17.4282 3.95415 17.3066 3.73802 17.0905C3.52189 16.8744 3.40031 16.5813 3.39995 16.2757V15.6049H4.14386C4.14145 15.6076 16.9729 15.6053 16.9733 15.606C16.978 15.6028 17.6579 15.606 17.6635 15.6049L17.6635 16.2757Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.457143"}),e.jsx("path",{d:"M11.3113 16.8152H9.85205C9.76917 16.8152 9.68968 16.8481 9.63108 16.9067C9.57247 16.9653 9.53955 17.0448 9.53955 17.1277C9.53955 17.2106 9.57247 17.2901 9.63108 17.3487C9.68968 17.4073 9.76917 17.4402 9.85205 17.4402H11.3113C11.3931 17.4386 11.471 17.405 11.5283 17.3465C11.5856 17.2881 11.6177 17.2095 11.6177 17.1277C11.6177 17.0458 11.5856 16.9673 11.5283 16.9088C11.471 16.8504 11.3931 16.8168 11.3113 16.8152Z",fill:"#141A2A"})]}),exports.PadBox=Zo,exports.Pagination=({count:t,page:r,onPageChange:l,rowsPerPage:n,onRowsPerPageChange:i,sx:o,...a})=>{const s=u.useTheme(),{grey:d}=s.palette,{layout:c}=Vi(),p="mobile"===c;return e.jsx(Jn.default,{sx:{"& .MuiInputBase-root":{height:"30px"},"& .MuiToolbar-root":{paddingLeft:0},"& .MuiTablePagination-select":{backgroundColor:"transparent !important"},"& .MuiTablePagination-input":{border:`1.5px solid ${d[400]}`,borderRadius:"5px",fontSize:"13px",padding:p?"2px 10px":"4px 8px"},...o},component:"div",count:t,page:r,onPageChange:l,rowsPerPage:n,onRowsPerPageChange:i,rowsPerPageOptions:[20,50,100,200],defaultValue:100,labelRowsPerPage:p?"":"Rows per page",...a})},exports.PasswordField=function(t){const[r,l]=a.useState(!1);return e.jsx(Ts,{type:r?"text":"password",InputProps:{startAdornment:e.jsx(Rl.default,{position:"start",children:e.jsx(Mn.default,{fontSize:"small"})}),endAdornment:e.jsx(Rl.default,{position:"end",children:e.jsx(kr.default,{"aria-label":"toggle password visibility",onClick:()=>{l((e=>!e))},edge:"end",children:r?e.jsx(Ln.default,{fontSize:"small"}):e.jsx(pn.default,{fontSize:"small"})})})},...t})},exports.PayrollManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80618)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80618)",children:e.jsx("path",{d:"M17.6667 6.30469H8.33333C6.49533 6.30469 5 7.80002 5 9.63802V16.3047C5 18.1427 6.49533 19.638 8.33333 19.638H17.6667C19.5047 19.638 21 18.1427 21 16.3047V9.63802C21 7.80002 19.5047 6.30469 17.6667 6.30469ZM11.6667 16.33H7.66667C7.298 16.33 7 16.0314 7 15.6634C7 15.2954 7.298 14.9967 7.66667 14.9967H11.6667C12.0353 14.9967 12.3333 15.2954 12.3333 15.6634C12.3333 16.0314 12.0353 16.33 11.6667 16.33ZM11.6667 13.6634H7.66667C7.298 13.6634 7 13.3647 7 12.9967C7 12.6287 7.298 12.33 7.66667 12.33H11.6667C12.0353 12.33 12.3333 12.6287 12.3333 12.9967C12.3333 13.3647 12.0353 13.6634 11.6667 13.6634ZM11.6667 10.9967H7.66667C7.298 10.9967 7 10.698 7 10.33C7 9.96202 7.298 9.66335 7.66667 9.66335H11.6667C12.0353 9.66335 12.3333 9.96202 12.3333 10.33C12.3333 10.698 12.0353 10.9967 11.6667 10.9967ZM17 16.33C17 16.698 16.702 16.9967 16.3333 16.9967C15.9647 16.9967 15.6667 16.698 15.6667 16.33H15.488C14.7767 16.33 14.1127 15.9474 13.756 15.3307C13.5713 15.012 13.6807 14.6047 13.9987 14.42C14.318 14.2354 14.7253 14.3447 14.9093 14.6634C15.0287 14.8687 15.25 14.9967 15.4873 14.9967H16.9993C17.3673 14.9967 17.666 14.6974 17.666 14.33C17.666 14.078 17.4853 13.8647 17.2367 13.8234L15.2093 13.4854C14.3147 13.3367 13.666 12.57 13.666 11.6634C13.666 10.5607 14.5633 9.66335 15.666 9.66335C15.666 9.29535 15.964 8.99669 16.3327 8.99669C16.7013 8.99669 16.9993 9.29535 16.9993 9.66335H17.178C17.8893 9.66335 18.5533 10.046 18.91 10.6627C19.0947 10.9814 18.9853 11.3887 18.6673 11.5734C18.3467 11.7574 17.9393 11.648 17.7567 11.33C17.6373 11.1247 17.416 10.9967 17.1787 10.9967H15.6667C15.2987 10.9967 15 11.2954 15 11.6634C15 11.9154 15.1807 12.1287 15.4293 12.17L17.4567 12.508C18.3513 12.6567 19 13.4234 19 14.33C19 15.4327 18.1027 16.33 17 16.33Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80618",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80618",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.PayrollReportDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78186)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78186)",children:e.jsx("path",{d:"M8 9C8 6.794 9.794 5 12 5C14.206 5 16 6.794 16 9C16 11.206 14.206 13 12 13C9.794 13 8 11.206 8 9ZM19.1233 15.8447L17.096 15.5067C16.8473 15.4653 16.6667 15.252 16.6667 15C16.6667 14.6327 16.9653 14.3333 17.3333 14.3333H18.6667C19.0347 14.3333 19.3333 14.6327 19.3333 15H20.6667C20.6667 13.8973 19.7693 13 18.6667 13V11.6667H17.3333V13C16.2307 13 15.3333 13.8973 15.3333 15C15.3333 15.9067 15.9827 16.6733 16.8767 16.822L18.904 17.16C19.1527 17.2013 19.3333 17.4147 19.3333 17.6667C19.3333 18.034 19.0347 18.3333 18.6667 18.3333H17.3333C16.9653 18.3333 16.6667 18.034 16.6667 17.6667H15.3333C15.3333 18.7693 16.2307 19.6667 17.3333 19.6667V21H18.6667V19.6667C19.7693 19.6667 20.6667 18.7693 20.6667 17.6667C20.6667 16.76 20.0173 15.9933 19.1233 15.8447ZM14 17.6667V15C14 14.8093 14.0253 14.626 14.056 14.444L14 14.3333H9C7.346 14.3333 6 15.6793 6 17.3333V21H16V20.7173C14.8247 20.2013 14 19.03 14 17.6667Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78186",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78186",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(4.66406 5)"})})]})]}),exports.PhoneInputField=function({control:t,name:r,defaultValue:l,rules:n,label:i,disabled:o=!1,required:s,rows:d,loading:c=!1,placeholder:p="",error:h,helperText:C,navigationKey:x,styling:f="custom",...g}){const m=u.useTheme(),{iron:b,red:j,slate:y}=m.palette.app.color,{navigationKey:w}=gi(),v=x??w,{field:{value:M,onChange:L,...k}}=De.useController({name:r,control:t,defaultValue:l,rules:n}),[S,H]=a.useState(!1),{setInputRef:Z,maintainFocusAfterClose:V,handleKeyDown:D}=Zi({isOpen:S,navigationKey:v}),A=a.useRef(null);return a.useEffect((()=>{const e=A.current;if(!e||o)return;const t=e.querySelector("input[type='tel']");t&&(Z(t),k.ref(t));const r=()=>{const t=e.querySelector(".selected-flag");t&&(t.setAttribute("tabindex","-1"),t.addEventListener("focus",(()=>{t.blur()})));const r=!!e.querySelector(".flag-dropdown.open");H(r),r&&setTimeout((()=>{const t=e.querySelector(".country-list .search-box input");t&&t.focus()}),0)},l=new MutationObserver(r);l.observe(e,{attributes:!0,attributeFilter:["class"],subtree:!0,childList:!0});const n=e=>{const t=e.target;(t.closest(".flag-dropdown")||t.closest(".country-list"))&&setTimeout(r,0)},i=e=>{const t=e.target;t.closest(".flag-dropdown")||t.closest(".country-list")||setTimeout(r,0)};return e.addEventListener("click",n),document.addEventListener("click",i),r(),()=>{l.disconnect(),e.removeEventListener("click",n),document.removeEventListener("click",i)}}),[Z,k,o]),c?e.jsx(Fs,{label:i,rows:d,styling:f}):e.jsxs(Zr.default,{gap:"4px",children:[e.jsxs(Zr.default,{gap:"5px",children:[i&&"custom"===f&&e.jsx(Tl.default,{required:s,disabled:o,children:i}),e.jsx(Es,{ref:A,styling:f,error:h,className:"custom"===f?"custom_phone_input":"default_phone_input",children:e.jsx(kn.default,{country:"in",enableSearch:!0,disabled:o,specialLabel:i??"",placeholder:p||i,onChange:e=>{L(e)},value:M,onBlur:()=>{k.onBlur(),S||V()},onKeyDown:e=>{S||D(e,void 0,!1)},containerStyle:{width:"100%",border:h?`1px solid ${j[900]}`:o?`1px solid ${b[700]}`:`1px solid ${b[800]}`,borderRadius:"4px",transition:"all 0.2s ease"},inputStyle:{width:"100%",padding:"8.5px 40px",fontSize:"13px",border:"none",outline:"none",transition:"all 0.2s ease",color:o?b[100]:y[900]},containerClass:"phone-input-container",inputClass:"phone-input-field",buttonStyle:{border:"none"},...g})})]}),h&&e.jsx(_r.default,{variant:"caption",sx:{color:"red",whiteSpace:"pre",textWrap:"wrap"},children:C})]})},exports.PieChart=({height:t=235,skipAnimation:r=!1,loading:l=!1,valueFormatter:n=e=>`${e.value}%`,tooltip:i="item",label:o,series:a,...s})=>{const d=u.styled("text")((({theme:e})=>({fill:e.palette.text.primary,textAnchor:"middle",dominantBaseline:"central",fontSize:20}))),c=Number(a.outerRadius??0)-Number(a.innerRadius??0);return l?e.jsx(Ha,{height:t,radius:c}):e.jsx(be.PieChart,{height:t,sx:{transform:"translate(0px, 0px)",overflow:"visible","& .MuiPieArcLabel-root":{display:"none"}},series:[{type:"pie",data:a.data,arcLabel:e=>e.label??"",arcLabelMinAngle:20,valueFormatter:n,innerRadius:a.innerRadius,outerRadius:a.outerRadius}],slotProps:{tooltip:{trigger:i}},...s,skipAnimation:r,children:e.jsx((({children:t})=>{const{width:r,height:l,left:n,top:i}=me.useDrawingArea();return e.jsx(d,{x:n+r/2,y:i+l/2,children:t})}),{children:o})})},exports.PrintDownloadActions=({items:t,disabled:r,sx:l})=>{const[n,i]=a.useState(null);return e.jsxs(Br.default,{sx:{width:"100%",...l},children:[e.jsx(ko,{onClick:e=>{i(e.currentTarget)},disabled:r}),!!n&&e.jsx(Do,{open:!0,anchorEl:n,onClose:()=>{i(null)},children:e.jsx(Zo,{padding:{padding:"2px"},children:t.map((t=>e.jsx(Br.default,{children:e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start"},onClick:()=>{t?.onClick(),i(null)},children:e.jsx(_r.default,{variant:"body1",children:t.title})})},t.title)))})})]})},exports.ProcessIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Add",children:e.jsx(Qi,{disabled:t.disabled})})}),exports.ProfileCard=function({onClick:t,header:r,body:l}){const n=u.useTheme(),{lightBlue:i,butterflyBlue:o}=n.palette.app.color;return e.jsx(Br.default,{bgcolor:i[50],flex:1,sx:{borderRadius:"10px",cursor:"pointer",":hover":{background:o[600]}},height:"400px",onClick:t,children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsxs(Zr.default,{height:"100%",justifyContent:"space-between",children:[r,l]})})})},exports.ProfileCardBody=function({joiningDate:t,department:r,subDepartment:l,email:n,phone:i,loading:o}){return e.jsx(Br.default,{bgcolor:"#F3F5F7",sx:{borderRadius:"10px"},children:e.jsx(Zo,{padding:{padding:"12px"},children:e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(la,{label:"Date of Joining",value:e.jsx(na,{title:t,loading:o})}),e.jsx(la,{label:"Department",value:e.jsx(na,{title:r,loading:o})}),e.jsx(la,{label:"Sub Department",value:e.jsx(na,{title:l,loading:o})}),e.jsx(la,{label:e.jsx(fo,{}),value:e.jsx(na,{containerSx:{width:"80%"},title:n,loading:o}),sx:{justifyContent:"start",gap:"10px"}}),e.jsx(la,{label:e.jsx(mo,{}),value:e.jsx(na,{containerSx:{width:"80%"},title:i,loading:o}),sx:{justifyContent:"start",gap:"10px"}})]})})})},exports.ProfileCardHeader=function({avatar:t,employeeName:r,designation:l,employeeCode:n,loading:i,isDraft:o=!1,onDeleteClick:a}){const s=u.useTheme(),{slate:d}=s.palette.app.color;return e.jsxs(Br.default,{children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",justifyContent:"space-between",children:[i?e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"100px"}):o?e.jsx(ia,{label:"Draft",size:"small",color:"error",variant:"outlined"}):e.jsx(na,{title:n,loading:i}),o&&(i?e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"50px"}):e.jsx(Lo,{onClick:a}))]}),e.jsxs(Zr.default,{alignItems:"center",gap:"8px",children:[t,i?e.jsx(cl.default,{variant:"rounded",height:30,animation:"wave",width:"300px"}):e.jsx(_r.default,{variant:"h6",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical"},maxWidth:"330px",fontWeight:"500",textAlign:"center",children:r??"-"}),i?e.jsx(cl.default,{variant:"rounded",height:30,animation:"wave",width:"200px"}):e.jsx(_r.default,{variant:"body1",fontWeight:400,color:d[900],noWrap:!0,children:l||"-"})]})]})},exports.RadioGroupField=function({name:t,rules:r,label:l,control:n,options:i,defaultValue:o,size:s="small",color:d="secondary",loading:c=!1,required:u=!1,direction:p="row",sx:h={},containerProps:C,isHorizontal:x=!1,navigationKey:f,customOnChange:g,...m}){const{field:{value:b,onChange:j,ref:y,...w}}=De.useController({name:t,control:n,defaultValue:o,rules:r}),{navigationKey:v}=gi(),M=f??v,{inputRef:L,handleKeyDown:k,maintainFocus:S}=Zi({navigationKey:M}),H=a.useRef(null);return c?e.jsx(Ps,{}):e.jsxs(Zr.default,{direction:x?"row":"column",alignItems:x?"center":void 0,gap:x?1:"5px",children:[l&&e.jsx(Tl.default,{sx:{whiteSpace:"normal",overflow:"visible",textOverflow:"unset"},required:u,disabled:m.disabled,children:l}),e.jsx(Zn.default,{name:t,value:b,onKeyDown:e=>{k(e,void 0,!1)},onChange:(e,t)=>{let r;if("true"===t?(r=!0,j(!0)):"false"===t?(r=!1,j(!1)):(r=t,j(t)),g){const e=i.find((({values:e})=>e===r));e&&g(e)}const l=e.target;l?L.current=l:!L.current&&H.current&&(L.current=H.current),S()},children:e.jsx(Zr.default,{gap:"column"===p?"5px":"10px",direction:p,...C,children:i?.map((({label:t,values:r,disabled:l},n)=>e.jsx(Br.default,{children:e.jsx(Sn.default,{value:r,control:e.jsx(Hn.default,{...w,...m,color:d,size:s,inputRef:e=>{if(!e)return;b===r||!L.current&&0===n?(L.current=e,H.current=e):H.current||0!==n||(H.current=e),y&&("function"==typeof y?y(e):y.current=e)}}),disabled:l,label:t,sx:h})},n)))})})]})},exports.Rating=function({control:t,name:r,defaultValue:l,label:n="",rules:i,disabled:o,loading:a=!1,direction:s="column",required:d=!1,navigationKey:c,...u}){const{field:{value:p,onChange:h,...C},fieldState:{error:x}}=De.useController({name:r,control:t,defaultValue:l,rules:i}),{navigationKey:f}=gi(),g=c??f,{maintainFocus:m,handleKeyDown:b}=Zi({navigationKey:g});return a?e.jsx(Os,{label:n}):e.jsxs(e.Fragment,{children:[e.jsxs(Zr.default,{gap:"5px",direction:s,alignItems:"row"===s?"center":"flex-start",children:[n&&e.jsx(Tl.default,{sx:{minWidth:"row"===s?"120px":"auto",marginBottom:"row"===s?0:"auto"},required:d,children:n}),e.jsx("div",{onKeyDown:e=>{b(e,void 0,!1)},children:e.jsx(Dn.default,{disabled:o,value:p??null,onChange:(e,t)=>{h(t),m()},...C,...u})})]}),x&&e.jsx(Vn.default,{error:!0,children:x?.message})]})},exports.RedirectionCell=({mainLabel:t,onClick:r,includeSubLabel:l=!1,isSubLabelClickable:n=!1,subLabel:i,avatar:o,includeAvatar:s=!1,disabled:d=!1,includeIcon:c=!1,icon:p})=>{const h=u.useTheme(),{butterflyBlue:C,black:x}=h.palette.app.color,f=a.useRef(null),g=a.useRef(null),m=a.useRef(null),b=a.useRef(null),j="string"==typeof i||"number"==typeof i||"bigint"==typeof i||"boolean"==typeof i||null==i;return Vo({buttonRef:a.useMemo((()=>l&&n?j?m:b:"string"==typeof t?f:g),[l,n,j,t]),disabled:d,onPressEnter:e=>{!d&&qr.default(r)&&r(e)}}),e.jsx(Br.default,{component:"div",sx:{width:"100%"},children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%"},children:[e.jsxs(Zr.default,{direction:"row",gap:"5px",alignItems:"center",children:[s&&e.jsx(ul.default,{src:o??"",alt:"Photo",sx:{width:24,height:24}}),e.jsxs(Zr.default,{children:["string"==typeof t?e.jsx(_r.default,{variant:"body1",sx:{width:"100%",color:d||n?x[900]:C[900],cursor:d||n?"default":"pointer"},ref:f,tabIndex:d||n?-1:0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||n||(e.preventDefault(),qr.default(r)&&r(e))},onClick:e=>{d||n||!qr.default(r)||r(e)},children:t}):e.jsx(Zr.default,{ref:g,tabIndex:d||n?-1:0,sx:{cursor:d&&n?"pointer":"default"},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||n||qr.default(r)&&r(e)},onClick:e=>{d||n||!qr.default(r)||r(e)},children:e.jsx(_r.default,{variant:"body1",children:t})}),l&&(j?e.jsx(_r.default,{variant:"body2",color:n?C[900]:C[400],sx:{cursor:!d&&n?"pointer":"default",lineHeight:"18px"},tabIndex:!d&&n?0:-1,ref:m,onKeyDown:e=>{!d&&n&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),qr.default(r)&&r(e)))},onClick:e=>{!d&&n&&qr.default(r)&&r(e)},children:i??"-"}):e.jsx(Zr.default,{ref:b,sx:{cursor:!d&&n?"pointer":"default"},tabIndex:!d&&n?0:-1,onKeyDown:e=>{!d&&n&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),qr.default(r)&&r(e)))},onClick:e=>{!d&&n&&qr.default(r)&&r(e)},children:e.jsx(_r.default,{variant:"body2",children:i??"-"})}))]})]}),c&&p&&e.jsx(Br.default,{children:p})]})})},exports.RightArrowIcon=es,exports.SUPPORTED_DOC_FORMATS=fs,exports.SUPPORTED_EXCEL_FORMATS=gs,exports.SUPPORTED_FILE_TYPES=vi,exports.SUPPORTED_IMAGE_FORMATS=Cs,exports.SUPPORTED_PDF_FORMATS=xs,exports.SalaryIcon=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4.66391 15.2631L4.30794 15.6142L4.30794 15.6142L4.66391 15.2631ZM17.2731 15.2631L17.6291 15.6142V15.6142L17.2731 15.2631ZM17.2731 6.67307L16.9172 7.02419L17.2731 6.67307ZM16.0224 5.50247C15.7476 5.47507 15.5026 5.67561 15.4752 5.95039C15.4478 6.22517 15.6484 6.47013 15.9232 6.49753L15.9728 6L16.0224 5.50247ZM4.49766 13.4357C4.471 13.1609 4.22657 12.9597 3.95172 12.9863C3.67687 13.013 3.47567 13.2574 3.50234 13.5323L4 13.484L4.49766 13.4357ZM12.4997 10C12.4997 10.2761 12.7236 10.5 12.9997 10.5C13.2759 10.5 13.4997 10.2761 13.4997 10H12.9997H12.4997ZM13.4997 6C13.4997 5.72386 13.2759 5.5 12.9997 5.5C12.7236 5.5 12.4997 5.72386 12.4997 6H12.9997H13.4997ZM3.5 10C3.5 10.2761 3.72386 10.5 4 10.5C4.27614 10.5 4.5 10.2761 4.5 10H4H3.5ZM4.5 6C4.5 5.72386 4.27614 5.5 4 5.5C3.72386 5.5 3.5 5.72386 3.5 6H4H4.5ZM6.94118 3V3.5H11.0588V3V2.5H6.94118V3ZM11.0588 13V12.5H6.94118V13V13.5H11.0588V13ZM6.94118 13V12.5C5.76223 12.5 4.92891 12.4989 4.29767 12.413C3.68143 12.3292 3.33293 12.173 3.07926 11.9163L2.72362 12.2678L2.36798 12.6192C2.83793 13.0948 3.43356 13.3047 4.16287 13.4039C4.87718 13.5011 5.79083 13.5 6.94118 13.5V13ZM2 8H1.5C1.5 9.16454 1.49896 10.0877 1.59481 10.809C1.69248 11.5442 1.89884 12.1445 2.36798 12.6192L2.72362 12.2678L3.07926 11.9163C2.82478 11.6588 2.66932 11.3037 2.5861 10.6773C2.50104 10.0371 2.5 9.19248 2.5 8H2ZM16 8H15.5C15.5 9.19248 15.499 10.0371 15.4139 10.6773C15.3307 11.3037 15.1752 11.6588 14.9207 11.9163L15.2764 12.2678L15.632 12.6192C16.1012 12.1445 16.3075 11.5442 16.4052 10.809C16.501 10.0877 16.5 9.16454 16.5 8H16ZM11.0588 13V13.5C12.2092 13.5 13.1228 13.5011 13.8371 13.4039C14.5664 13.3047 15.1621 13.0948 15.632 12.6192L15.2764 12.2678L14.9207 11.9163C14.6671 12.173 14.3186 12.3292 13.7023 12.413C13.0711 12.4989 12.2378 12.5 11.0588 12.5V13ZM11.0588 3V3.5C12.2378 3.5 13.0711 3.50109 13.7023 3.58697C14.3186 3.6708 14.6671 3.827 14.9207 4.08369L15.2764 3.73223L15.632 3.38078C15.1621 2.90523 14.5664 2.69531 13.8371 2.59609C13.1228 2.49891 12.2092 2.5 11.0588 2.5V3ZM16 8H16.5C16.5 6.83546 16.501 5.91234 16.4052 5.19097C16.3075 4.45581 16.1012 3.8555 15.632 3.38078L15.2764 3.73223L14.9207 4.08369C15.1752 4.3412 15.3307 4.69626 15.4139 5.32267C15.499 5.96287 15.5 6.80752 15.5 8H16ZM6.94118 3V2.5C5.79083 2.5 4.87718 2.49891 4.16287 2.59609C3.43356 2.69531 2.83793 2.90523 2.36798 3.38078L2.72362 3.73223L3.07926 4.08369C3.33293 3.827 3.68143 3.6708 4.29767 3.58697C4.92891 3.50109 5.76223 3.5 6.94118 3.5V3ZM2 8H2.5C2.5 6.80752 2.50104 5.96287 2.5861 5.32267C2.66932 4.69626 2.82478 4.3412 3.07926 4.08369L2.72362 3.73223L2.36798 3.38078C1.89884 3.8555 1.69248 4.45581 1.59481 5.19097C1.49896 5.91234 1.5 6.83546 1.5 8H2ZM13.0366 16V15.5H8.90043V16V16.5H13.0366V16ZM8.90043 16V15.5C7.71623 15.5 6.87905 15.4989 6.24486 15.4125C5.62577 15.3281 5.27521 15.1708 5.01988 14.912L4.66391 15.2631L4.30794 15.6142C4.77948 16.0923 5.3773 16.3035 6.10981 16.4033C6.82722 16.5011 7.74487 16.5 8.90043 16.5V16ZM18 10.9681H17.5C17.5 12.1681 17.499 13.0184 17.4135 13.663C17.3298 14.294 17.1734 14.6522 16.9172 14.912L17.2731 15.2631L17.6291 15.6142C18.0997 15.1371 18.3068 14.5338 18.4048 13.7945C18.501 13.0689 18.5 12.1402 18.5 10.9681H18ZM13.0366 16V16.5C14.1922 16.5 15.1098 16.5011 15.8272 16.4033C16.5597 16.3035 17.1576 16.0923 17.6291 15.6142L17.2731 15.2631L16.9172 14.912C16.6618 15.1708 16.3113 15.3281 15.6922 15.4125C15.058 15.4989 14.2208 15.5 13.0366 15.5V16ZM18 10.9681H18.5C18.5 9.79599 18.501 8.86731 18.4048 8.14166C18.3068 7.40232 18.0997 6.79904 17.6291 6.32195L17.2731 6.67307L16.9172 7.02419C17.1734 7.284 17.3298 7.6422 17.4135 8.27312C17.499 8.91774 17.5 9.7681 17.5 10.9681H18ZM15.9728 6L15.9232 6.49753C16.2976 6.53488 16.4328 6.59008 16.5114 6.63843C16.6172 6.70358 16.6747 6.77843 16.9172 7.02419L17.2731 6.67307L17.6291 6.32195C17.4663 6.15687 17.2769 5.9354 17.0356 5.78683C16.7669 5.62147 16.4545 5.54556 16.0224 5.50247L15.9728 6ZM4 13.484L3.50234 13.5323C3.58581 14.3927 3.783 15.082 4.30794 15.6142L4.66391 15.2631L5.01988 14.912C4.73431 14.6225 4.57287 14.2109 4.49766 13.4357L4 13.484ZM11.0002 8H10.5002C10.5002 8.82843 9.82868 9.5 9.00025 9.5V10V10.5C10.381 10.5 11.5002 9.38071 11.5002 8H11.0002ZM9.00025 10V9.5C8.17182 9.5 7.50025 8.82843 7.50025 8H7.00025H6.50025C6.50025 9.38071 7.61954 10.5 9.00025 10.5V10ZM7.00025 8H7.50025C7.50025 7.17157 8.17182 6.5 9.00025 6.5V6V5.5C7.61954 5.5 6.50025 6.61929 6.50025 8H7.00025ZM9.00025 6V6.5C9.82868 6.5 10.5002 7.17157 10.5002 8H11.0002H11.5002C11.5002 6.61929 10.381 5.5 9.00025 5.5V6ZM12.9997 10H13.4997V6H12.9997H12.4997V10H12.9997ZM4 10H4.5L4.5 6H4H3.5L3.5 10H4Z",fill:t.fill??"currentColor"})}),exports.SaveDialog=({title:t,open:r,isSaveLoading:l=!1,onSave:n,onClose:i})=>{const o=u.useTheme(),{butterflyBlue:a}=o.palette.app.color;return e.jsx(ys,{maxWidth:"xs",isHideCloseIcon:!0,isHideDividers:!0,open:r,onClose:i,actions:e.jsxs(ps,{children:[e.jsx(Ni,{onClick:i,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:n,loading:l,children:"Save"})]}),children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(dn.default,{htmlColor:a[900],sx:{mt:"1px"}}),e.jsx(_r.default,{variant:"subtitle1",children:t})]})})},exports.SearchField=zs,exports.Select=function({control:t,defaultValue:r,name:l,required:n=!1,label:i,multiple:o=!1,disabled:s=!1,options:d=[],rules:c,loading:p=!1,helperText:h,error:C,placeholder:x="",isShowSelectAll:f=!0,isShowAvatar:g=!1,onAction:m,renderOption:b,maxLimit:j,maxDisplayItems:y=2,disableClearable:w=!!n,setOnFinalChange:v=!1,styling:M="custom",navigationKey:L,...k}){const{field:{onChange:S,value:H,...Z}}=De.useController({name:l,control:t,defaultValue:r,rules:c}),{navigationKey:V}=gi(),D=L??V,{t:A}=Ae.useTranslation(),B=u.useTheme(),{slate:I,iron:R}=B.palette.app.color,T=s?R[900]:"revert-layer",[E,F]=a.useState(null),P=a.useRef(!1),[_,O]=a.useState(!1),{setInputRef:z,maintainFocusAfterClose:W,handleKeyDown:$,handleEnterNavigation:q}=Zi({isOpen:_,navigationKey:D}),K=a.useMemo((()=>{if(!o||!f||!Array.isArray(H))return!1;const e=d.filter((e=>!e.disabled));return H.length===e.length}),[o,f,d,H]),N=a.useMemo((()=>o&&Array.isArray(H)?d.filter((e=>H.includes(e.value))):[]),[o,d,H]),G=a.useMemo((()=>{const e={};return d.forEach((t=>{const r=t.heading??"";e[r]||(e[r]=[]),e[r].push(t)})),e}),[d]);if(p)return e.jsxs(Zr.default,{gap:"10px",children:[i&&"custom"===M&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]});const U=()=>v&&P.current?E:H;return e.jsxs(Zr.default,{gap:"5px",children:[i&&"custom"===M&&e.jsx(Tl.default,{required:n,disabled:s,children:i}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",gap:"10px",alignItems:"start",children:[e.jsxs(Ws,{fullWidth:!0,error:C,disabled:s,required:n,sx:"default"===M?{...za(M),"& .MuiOutlinedInput-notchedOutline":{"& legend":{maxWidth:0,"& span":{padding:"0 5px"}}},"& .MuiInputLabel-root.MuiInputLabel-shrink + .MuiInputBase-root .MuiOutlinedInput-notchedOutline legend":{maxWidth:"100%"}}:void 0,children:[i&&"default"===M&&e.jsx(Tl.default,{id:`${l}-label`,sx:Wa(M),children:i}),e.jsx(In.default,{...Z,...k,multiple:o,value:U()??(o?[]:""),label:"default"===M?i:void 0,labelId:"default"===M&&i?`${l}-label`:void 0,inputProps:{"aria-label":"custom"===M&&i?i:void 0},onChange:e=>{const t=e.target.value;if(v)P.current=!0,o&&Array.isArray(t)&&t.includes("select-all")?F(Array.isArray(E)&&E.length===d.filter((({disabled:e})=>!e)).length?[]:d.filter((({disabled:e})=>!e)).map((({value:e})=>e))):F(t);else{if(o&&Array.isArray(t)){if(t.includes("select-all"))return void(e=>{if(e){const e=d.filter((e=>!e.disabled)).map((e=>e.value));S(e)}else S([])})(!K);if(j&&t.length>j)return void Ea.error({title:A("common.select.limitExceed",{maxLimit:j})})}S(t)}},open:_,onOpen:()=>{O(!0)},onClose:()=>{O(!1),W(),v&&P.current&&(S(E),P.current=!1,F(null))},inputRef:e=>z(e),onKeyDown:e=>{$(e,(()=>{O(!1)}),_)},renderValue:k.renderValue??(t=>{if(!o){const r=d.find((e=>e.value===t)),l=()=>r?r.label:"default"===M&&i?"":x;return e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[g&&r?.avatar&&e.jsx(ul.default,{src:r.avatar??"",sx:{width:20,height:20}}),e.jsx(_r.default,{variant:"body2",color:T,sx:{WebkitTextFillColor:T},noWrap:!0,children:l()})]})}if(!Array.isArray(t)||0===t.length){const t="default"!==M||!i||x;return e.jsx(_r.default,{sx:{WebkitTextFillColor:T},color:T,variant:"body2",noWrap:!0,children:t?x:""})}const r=N.slice(0,y),l=N.length-y;return e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:.5,overflow:"hidden"},children:[r.map((t=>e.jsx(_r.default,{variant:"body2",noWrap:!0,color:T,sx:{WebkitTextFillColor:T,backgroundColor:I[800],padding:"2px 5px",borderRadius:"12px",fontSize:"12px",maxWidth:"120px"},children:t.label},t.value))),l>0&&e.jsxs(_r.default,{variant:"body2",color:T,sx:{WebkitTextFillColor:T,backgroundColor:I[300],padding:"2px 5px",borderRadius:"12px",fontSize:"12px",fontWeight:500},children:["+",l]})]})}),IconComponent:t=>e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:.5,pr:2.5},children:[H&&(Array.isArray(H)&&H.length>0||!Array.isArray(H)&&""!==H)&&!w&&e.jsx(kr.default,{size:"small",onClick:e=>{e.stopPropagation(),S(o?[]:"")},onKeyDown:e=>{"enter"===D&&"Enter"===e.key&&(e.stopPropagation(),q(e))},children:e.jsx(Dt.ClearIcon,{sx:{fontSize:"14px"}})}),e.jsx(Dt.ArrowDropDownIcon,{...t})]}),displayEmpty:!0,MenuProps:{PaperProps:{sx:{width:"inherit",maxHeight:300,"& .MuiList-root":{paddingTop:0,paddingBottom:0}}}},children:Object.entries(G).length?(()=>{const t=[],r=U();return o&&f&&d.length>0&&(t.push(e.jsxs(Hr.default,{value:"select-all",children:[e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),indeterminate:Array.isArray(r)&&r.length>0&&r.length<d.filter((({disabled:e})=>!e)).length,checked:Array.isArray(r)&&r.length===d.filter((e=>!e.disabled)).length,sx:{marginRight:1}}),e.jsx(Bn.default,{primary:"Select All"})]},"select-all")),t.push(e.jsx($r.default,{sx:{margin:"0px !important"}},"divider-select-all"))),Object.entries(G).forEach((([l,n])=>{l&&t.push(e.jsx($s,{children:l},`group-${l}`)),n.forEach((l=>{const n=o?Array.isArray(r)&&r.includes(l.value):r===l.value;t.push(e.jsx(Hr.default,{value:l.value,disabled:l.disabled,children:b?b(l,n):e.jsxs(e.Fragment,{children:[o&&e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),checked:n,sx:{marginRight:1}}),e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[g&&l.avatar&&e.jsx(ul.default,{src:l.avatar,alt:l.label,sx:{width:24,height:24}}),e.jsx(Bn.default,{primary:l.label})]})]})},l.value))}))})),t})():e.jsx(Hr.default,{disabled:!0,children:e.jsx(Bn.default,{primary:"No options"})})}),h&&e.jsx(Vn.default,{children:h})]}),m&&e.jsx(So,{disabled:s,onClick:m})]})]})},exports.SettingIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.41701 6.46265L3.15034 5.19248C3.58368 4.44192 4.55545 4.17544 5.31322 4.61294C6.61947 5.36711 7.68685 4.75168 7.68429 3.23946C7.68401 2.37328 8.39523 1.65807 9.26863 1.66196L10.9297 1.66832C11.6956 1.65829 12.3151 2.28537 12.3251 3.05133L12.3253 3.23429C12.3207 4.74234 13.3888 5.359 14.6997 4.60512L14.8582 4.51383C15.5266 4.13953 16.3794 4.36246 16.7537 5.03082L17.5897 6.46613C18.0298 7.22057 17.766 8.19411 17.0157 8.62696C15.7048 9.38085 15.7055 10.6129 17.0118 11.3671C17.7623 11.8004 18.0288 12.7722 17.5913 13.53L16.858 14.8002C16.4247 15.5507 15.4529 15.8172 14.6951 15.3797C13.3889 14.6255 12.3215 15.241 12.324 16.7532C12.3202 17.6266 11.6131 18.3346 10.7397 18.3307L9.07868 18.3243C8.31271 18.3343 7.69325 17.7073 7.68323 16.9413L7.68301 16.7583C7.68765 15.2503 6.61956 14.6336 5.30865 15.3875L5.1501 15.4788C4.48174 15.8531 3.62895 15.6302 3.25465 14.9618L2.41863 13.5265C1.97856 12.7721 2.24234 11.7985 2.99262 11.3657C4.30352 10.6118 4.30281 9.37969 2.99655 8.62552C2.23878 8.18802 1.98368 7.21321 2.41701 6.46265Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SeverityIndicator=({color:t,label:r,isBackground:l=!1})=>e.jsx(Br.default,{sx:{backgroundColor:`${l?u.alpha(t,.2):""}`,width:"max-content",borderRadius:"6px"},children:e.jsx(Zo,{padding:{padding:l?"5px 8px":"0"},children:e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",gap:"8px",children:[e.jsx(_n.default,{sx:{color:t,fontSize:"12px"}}),e.jsx(_r.default,{variant:"body2",sx:{fontWeight:500},children:r})]})})}),exports.SmartGrid=oc,exports.SmartSelectField=vc,exports.SmartTextField=Lc,exports.SmartTooltip=yc,exports.SplitButton=({icon:t,label:r,size:l="medium",onClick:n,menuItems:i=[],sx:o,containerSx:s,variant:d="contained",disabled:c=!1,mainDisabled:u=!1,arrowDisabled:p=!1,hidden:h=!1,mainHidden:C=!1,loading:x=!1})=>{const[f,g]=a.useState(!1),m=a.useRef(null),b=a.useMemo((()=>i.filter((e=>!e.hidden))),[i]),{effectiveMain:j,filteredMenuItems:y}=a.useMemo((()=>{if(!C)return{effectiveMain:{label:r,icon:t,onClick:n,disabled:u||c},filteredMenuItems:b};if(0===b.length)return{effectiveMain:null,filteredMenuItems:[]};const[e,...l]=b;return{effectiveMain:{label:e?.label??"",icon:null,onClick:e?.onClick,disabled:e?.disabled||c},filteredMenuItems:l}}),[C,r,t,n,u,c,b]);if(h||!j)return null;const w=e=>{m.current?.contains(e.target)||e.target?.closest('[role="menu"]')||g(!1)},v=e=>{"Escape"===e.key&&(e.preventDefault(),g(!1),m.current?.querySelector("button[aria-expanded]")?.focus())};return e.jsxs(e.Fragment,{children:[e.jsxs(Kr.default,{ref:m,id:"split-button",sx:{boxShadow:"none",border:"none !important",position:"relative",minWidth:"60px",...s},children:[e.jsx(Lr.default,{variant:d,size:l,startIcon:x?null:j.icon,disabled:c||j.disabled,onClick:()=>{c||j.disabled||x||qr.default(j.onClick)&&j.onClick()},sx:o,children:x?e.jsx(Wr.default,{size:18}):j.label}),y.length>0&&e.jsx(Lr.default,{size:l,variant:d,disabled:c||p||x,"aria-controls":f?"split-button-menu":void 0,"aria-expanded":f?"true":void 0,"aria-haspopup":"true",onClick:()=>{c||p||g((e=>!e))},onKeyDown:e=>{"ArrowDown"!==e.key||f||(e.preventDefault(),g(!0))},sx:{width:"32px",minWidth:"32px",...o},children:e.jsx(Nr.default,{})})]}),e.jsx(Qr.default,{open:f,anchorEl:m.current,role:void 0,transition:!0,disablePortal:!0,placement:"bottom-end",sx:{zIndex:1300},children:({TransitionProps:t,placement:r})=>e.jsx(Ur.default,{...t,style:{transformOrigin:"bottom"===r?"center top":"center bottom"},children:e.jsx(Jr.default,{elevation:3,children:e.jsx(Gr.default,{onClickAway:w,children:e.jsx(Xr.default,{sx:{padding:"2px"},id:"split-button-menu",autoFocusItem:f,onKeyDown:v,role:"menu","aria-labelledby":"split-button",children:y.map((t=>e.jsxs(a.Fragment,{children:[e.jsx(Yr.default,{disabled:t.disabled,sx:{padding:"5px 16px 5px 10px"},onClick:()=>(e=>{e.disabled||(qr.default(e.onClick)&&e.onClick(),g(!1))})(t),children:e.jsx(_r.default,{children:t.label})}),t.divider&&e.jsx($r.default,{sx:{border:"none",borderTop:"1px solid #eee",margin:0,marginTop:"0 !important",marginBottom:"0 !important"}})]},t.key)))})})})})})]})},exports.Stepper=({orientation:t="horizontal",activeStep:r=0,stepLabelProps:l={},steps:n,errorSteps:i=[],onStepClick:o,showActiveStepIcon:a,showTooltips:s=!1,showStepLabels:d=!0,...c})=>{const p=u.useTheme(),{butterflyBlue:h,red:C}=p.palette.app.color;return e.jsx(Br.default,{children:e.jsx(ri.default,{activeStep:r,orientation:t,...c,children:n.map(((t,r)=>{const n=i.includes(r),a=e.jsx(ti.default,{...l,error:n,sx:{cursor:o?"pointer":"default",".Mui-active .MuiStepIcon-root":{color:`${h[900]} !important`},".Mui-completed .MuiStepIcon-root":{color:`${h[900]} !important`},...n&&{".MuiStepIcon-root":{color:`${C[900]} !important`},".MuiStepLabel-label":{color:`${C[900]} !important`}},...l.sx},onClick:()=>(e=>{o&&o(e)})(r),children:d&&e.jsx(_r.default,{variant:"body2",children:t})});return e.jsx(ei.default,{children:s?e.jsx(Pr.default,{title:t,placement:"top",children:a}):a},t)}))})})},exports.StepperV2=({steps:t,alternativeLabel:r=!0,stepLabelProps:l={},...n})=>e.jsx(Zr.default,{sx:{width:"100%"},spacing:4,children:e.jsx(ri.default,{alternativeLabel:r,activeStep:1,connector:e.jsx(kc,{}),...n,children:t.map((t=>e.jsx(ei.default,{children:e.jsx(ti.default,{StepIconComponent:Hc,...l,children:t})},t)))})}),exports.StepperV3=({orientation:t="horizontal",activeStep:r=0,stepLabelProps:l={},steps:n,...i})=>{const o=u.useTheme(),{butterflyBlue:a}=o.palette.app.color;return e.jsx(Br.default,{children:e.jsx(ri.default,{activeStep:r,orientation:t,...i,children:n.map(((t,r)=>e.jsx(ei.default,{children:e.jsx(ti.default,{...l,sx:{".Mui-active .css-18pqgpd-MuiSvgIcon-root-MuiStepIcon-root":{color:`${a[900]} !important`},".Mui-completed .MuiStepIcon-root":{color:`${a[900]} !important`},".MuiStepIcon-text":{color:"transparent !important",display:"none"}},children:e.jsx(Zr.default,{children:t?.in_time?e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"caption",children:"In at"}),e.jsx(_r.default,{variant:"caption",children:t?.in_time})]}):e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"caption",children:"Out at"}),e.jsx(_r.default,{variant:"caption",children:t?.out_time})]})})})},r)))})})},exports.StickySearchField=({top:t="0px",paperSx:r,boxSx:l,...n})=>e.jsx(Jr.default,{variant:"outlined",sx:{position:"sticky",top:t,zIndex:100,...r},children:e.jsx(Zo,{padding:{padding:"5px"},children:e.jsx(Br.default,{sx:{display:"flex",justifyContent:"flex-end",...l},children:e.jsx(zs,{...n})})})}),exports.SvgAccessDenied=t=>e.jsxs("svg",{width:350,height:254.069,viewBox:"0 0 350 254.069",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M179.309 191.863c1.437 1.843 3.685 3.06 6.183 3.06 4.309 0 7.807 -3.497 7.807 -7.806 0 -1.78 -0.594 -3.436 -1.593 -4.747",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M156.826 202.105c-1.905 -2.373 -2.561 -6.152 -2.561 -11.866V183.994c0 -12.491 3.123 -15.614 15.614 -15.614h31.228c1.124 0 2.155 0.031 3.123 0.094 9.899 0.562 12.491 4.153 12.491 15.52v6.245c0 12.491 -3.122 15.614 -15.614 15.614h-31.228c-1.124 0 -2.155 -0.031 -3.122 -0.094",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M166.756 168.38v-6.246c0 -10.336 3.123 -18.737 18.737 -18.737 12.96 0 17.3 4.309 18.424 11.118",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"m216.72 143.397 -62.455 62.456",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"m176.061 118.103 -31.165 11.742c-7.183 2.685 -13.053 11.18 -13.053 18.799v46.405c0 7.369 4.872 17.05 10.805 21.485l26.856 20.048c8.806 6.62 23.296 6.62 32.102 0l26.856 -20.048c5.933 -4.435 10.804 -14.115 10.804 -21.485v-46.405c0 -7.682 -5.871 -16.176 -13.053 -18.861l-31.166 -11.68c-5.308 -1.936 -13.802 -1.936 -18.986 0",stroke:"#4C5D70",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("g",{clipPath:"url(#clip0_40160_95457)",children:e.jsx("path",{d:"M266.962 40.973c-4.599 4.21 -5.003 11.334 -0.794 15.934 4.209 4.599 11.293 4.94 15.933 0.794 3.923 -3.597 4.784 -9.321 2.277 -13.768l2.299 -2.106 -0.48 -3.791 3.517 1.034 2.912 -2.677 -0.417 -3.832 3.517 1.034 2.489 -2.227 -0.254 -2.332 2.194 0.637 1.476 -1.306 0.223 -3.531 -5.278 -1.414 -17.276 15.67c-3.941 -1.829 -8.899 -1.222 -12.337 1.883m1.482 13.933c-1.225 -1.351 -1.11 -3.386 0.24 -4.612 1.35 -1.225 3.385 -1.109 4.611 0.24 1.226 1.351 1.11 3.386 -0.24 4.611 -1.39 1.163 -3.426 1.048 -4.611 -0.24",fill:"#EBEBEB"})}),e.jsxs("g",{clipPath:"url(#clip1_40160_95457)",children:[e.jsx("path",{d:"m309.356 155.738 1.058 19.155c0.055 0.674 0.612 1.236 1.281 1.236l34.198 0.225c0.724 0 1.281 -0.562 1.281 -1.292l0.112 -14.886c0 -0.73 -0.557 -1.292 -1.282 -1.292h-21.109c-0.334 0 -0.669 -0.112 -0.891 -0.393l-3.621 -3.651c-0.223 -0.225 -0.557 -0.393 -0.891 -0.393L310.637 154.39c-0.779 0 -1.337 0.618 -1.281 1.348",fill:"#EBEBEB"}),e.jsx("path",{d:"m347.2 156.606 -37.317 -0.276 -0.164 22.526 37.317 0.276z",fill:"#F5F5F5"}),e.jsx("path",{d:"m306.905 158.378 2.673 23.48a0.847 0.847 0 0 0 0.836 0.73l36.37 0.281c0.446 0 0.78 -0.337 0.836 -0.786l2.005 -23.425c0.056 -0.505 -0.334 -0.899 -0.835 -0.899l-41.049 -0.337c-0.501 0 -0.891 0.45 -0.836 0.956",fill:"#EBEBEB"})]}),e.jsxs("g",{clipPath:"url(#clip2_40160_95457)",children:[e.jsx("path",{d:"M285.811 71.309c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 79.167c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 87.025c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 94.884c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 102.742c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 110.601c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 118.459c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 126.317c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 134.176c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.865 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 142.035c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M284.833 149.185c0 0.079 0.435 0.157 0.979 0.157h0.218v-0.157c0 -0.314 0.109 -0.785 0.109 -1.257 0 -1.1 -0.109 -1.965 -0.327 -1.965 -0.109 0 -0.326 0.865 -0.326 1.965 0 0.471 0 0.864 0.109 1.257l0.217 -0.157c-0.544 0 -0.979 0.078 -0.979 0.157",fill:"#B6B3B3"}),e.jsx("path",{d:"M273.954 149.265c0 0.079 1.197 0.157 2.72 0.157s2.72 -0.078 2.72 -0.235c0 -0.079 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.236",fill:"#B6B3B3"}),e.jsx("path",{d:"M263.074 149.343c0 0.079 1.196 0.157 2.72 0.157s2.72 -0.078 2.72 -0.235c0 -0.079 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.236",fill:"#B6B3B3"}),e.jsx("path",{d:"M252.195 149.421c0 0.079 1.197 0.157 2.72 0.157s2.72 -0.079 2.72 -0.236c0 -0.157 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.235",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip3_40160_95457)",children:[e.jsx("path",{d:"M79.969 45.645c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 55.395c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 65.145c-0.15 0 -0.45 -1.072 -0.45 -2.437s0.15 -2.437 0.45 -2.437c0.15 0 0.45 1.072 0.45 2.437 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 74.896c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 84.646c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 94.396c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 104.146c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 113.897c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 123.647c-0.15 0 -0.45 -1.072 -0.45 -2.437s0.15 -2.437 0.45 -2.437c0.15 0 0.45 1.072 0.45 2.437 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 133.397c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M81.317 142.27c0 0.097 -0.6 0.195 -1.349 0.195h-0.3v-0.195c0 -0.39 -0.15 -0.975 -0.15 -1.56 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 0 0.585 0 1.072 -0.15 1.56l-0.3 -0.195c0.749 0 1.349 0.097 1.349 0.195",fill:"#B6B3B3"}),e.jsx("path",{d:"M96.306 142.368c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292c0 -0.098 1.649 -0.196 3.747 -0.196s3.747 0.097 3.747 0.293",fill:"#B6B3B3"}),e.jsx("path",{d:"M111.296 142.465c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292c0 -0.097 1.649 -0.195 3.747 -0.195s3.747 0.097 3.747 0.292",fill:"#B6B3B3"}),e.jsx("path",{d:"M126.285 142.562c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292 1.649 -0.195 3.747 -0.195 3.747 0.097 3.747 0.292",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip4_40160_95457)",children:[e.jsx("path",{d:"M36.303 209.85H7.637v39.279h28.666z",fill:"#F5F5F5"}),e.jsx("path",{d:"M29.04 214.79H0.375V254.069h28.666z",fill:"#E0E0E0"})]}),e.jsx("path",{d:"M105.42 27.652h-3.762c-2.427 0 -5.946 0 -10.375 0.061 -8.858 0 -21.295 0.061 -35.734 0.061h-0.122v-0.123c-0.728 -2.577 -0.304 -5.521 1.396 -7.852 1.638 -2.271 4.489 -3.743 7.402 -3.681l-0.121 0.184c-0.242 -0.737 -0.303 -1.596 -0.303 -2.454 0.121 -2.822 1.698 -5.521 4.064 -6.748 2.367 -1.289 5.339 -1.227 7.584 0.061l-0.181 0.061c1.274 -3.19 4.004 -5.461 6.916 -6.503 2.973 -1.105 6.249 -0.92 8.797 0.429 2.609 1.349 4.429 3.62 5.461 6.012s1.213 4.969 0.667 7.239l-0.121 -0.123a7.719 7.719 0 0 1 4.125 0.614 8.769 8.769 0 0 1 3.095 2.147c0.425 0.429 0.728 0.92 0.971 1.411s0.425 0.982 0.486 1.472c0.243 0.982 0.304 1.902 0.363 2.7 0.061 1.656 -0.121 2.945 -0.303 3.742 -0.121 0.429 -0.182 0.737 -0.243 0.92 -0.061 0.246 -0.061 0.368 -0.061 0.368",fill:"#EBEBEB"}),e.jsxs("g",{clipPath:"url(#clip5_40160_95457)",children:[e.jsx("path",{d:"M229.966 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.193 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M240.808 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M251.649 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M262.492 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M273.333 222.482c0 0.109 -1.193 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M284.175 222.482c0 0.109 -1.193 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M295.017 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.193 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M305.858 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M316.701 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M327.542 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.408 221.503c0.108 0 0.217 0.435 0.217 0.98v0.217h-0.217c-0.434 0 -1.084 0.109 -1.735 0.109 -1.518 0 -2.71 -0.109 -2.71 -0.326 0 -0.109 1.192 -0.327 2.71 -0.327 0.651 0 1.192 0 1.735 0.109l-0.217 0.218c0 -0.544 0.109 -0.98 0.217 -0.98",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.517 210.624c0.109 0 0.217 1.197 0.217 2.72s-0.108 2.72 -0.325 2.72c-0.108 0 -0.217 -1.196 -0.217 -2.72s0.109 -2.72 0.325 -2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.626 199.744c0.108 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.325 2.72c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.108 -2.72 0.325 -2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.732 188.865c0.109 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.325 2.72 -0.217 -1.197 -0.217 -2.72 0.109 -2.72 0.325 -2.72",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip6_40160_95457)",children:[e.jsx("path",{d:"M126.03 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.193 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M115.187 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M104.346 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M93.504 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M82.663 167.99c0 -0.109 1.193 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M71.821 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M60.979 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.193 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M50.138 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M39.295 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M28.454 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.587 168.968c-0.108 0 -0.217 -0.435 -0.217 -0.98v-0.217h0.217c0.433 0 1.084 -0.109 1.734 -0.109 1.518 0 2.71 0.109 2.71 0.326 0 0.109 -1.192 0.327 -2.71 0.327 -0.651 0 -1.192 0 -1.735 -0.109l0.217 -0.218c0 0.544 -0.109 0.98 -0.217 0.98",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.479 179.848c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72c0.109 0 0.217 1.196 0.217 2.72s-0.109 2.72 -0.325 2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.37 190.727c-0.108 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72c0.109 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.326 2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.264 201.606c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72 0.217 1.197 0.217 2.72 -0.109 2.72 -0.325 2.72",fill:"#B6B3B3"})]}),e.jsxs("defs",{children:[e.jsx("clipPath",{id:"clip0_40160_95457",children:e.jsx("path",{width:63.4,height:30.1,fill:"white",transform:"rotate(-32.778 277.005 -556.71)",d:"M0 0H47.516V22.559H0V0z"})}),e.jsx("clipPath",{id:"clip1_40160_95457",children:e.jsx("path",{width:57,height:38,fill:"white",transform:"translate(409.5 206)",d:"M0 0H42.719V28.48H0V0z"})}),e.jsx("clipPath",{id:"clip2_40160_95457",children:e.jsx("path",{width:108,height:45,fill:"white",transform:"matrix(0 1 1 0 336.5 92)",d:"M0 0H80.942V33.726H0V0z"})}),e.jsx("clipPath",{id:"clip3_40160_95457",children:e.jsx("path",{width:134,height:62,fill:"white",transform:"rotate(90 55.75 112.75)",d:"M0 0H100.428V46.467H0V0z"})}),e.jsx("clipPath",{id:"clip4_40160_95457",children:e.jsx("path",{width:48,height:59,fill:"white",transform:"translate(.5 280)",d:"M0 0H35.974V44.218H0V0z"})}),e.jsx("clipPath",{id:"clip5_40160_95457",children:e.jsx("path",{width:149,height:45,fill:"white",transform:"translate(302.5 252)",d:"M0 0H111.67V33.726H0V0z"})}),e.jsx("clipPath",{id:"clip6_40160_95457",children:e.jsx("path",{width:149,height:45,fill:"white",transform:"rotate(180 86.25 134.5)",d:"M0 0H111.67V33.726H0V0z"})})]})]}),exports.SvgAdd=Ji,exports.SvgAddRounded=Qi,exports.SvgArrival=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M30.2249 16.7285C26.4199 16.7285 23.0479 18.6182 21.0078 21.5132L22.5342 22.5992C24.233 20.1849 27.04 18.6071 30.2249 18.6071C35.4241 18.6071 39.618 22.8011 39.618 28.0003C39.618 33.1996 35.4241 37.3935 30.2249 37.3935C27.04 37.3935 24.2367 35.8157 22.5342 33.4014L21.0078 34.4875C23.0479 37.3825 26.4199 39.2721 30.2249 39.2721C36.4405 39.2721 41.4967 34.216 41.4967 28.0003C41.4967 21.7847 36.4405 16.7285 30.2249 16.7285Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M26.1554 23.792L24.8051 25.1423L26.9479 27.2851H15.5V29.1637H26.9479L24.8051 31.3065L26.1554 32.6568L29.9126 28.8995L30.5584 28.2244L29.9126 27.5493L26.1554 23.792Z",fill:t.fill??"currentColor"})]}),exports.SvgBankConfig=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,style:{color:"inherit"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M16.2215 6.56614L16.2214 6.56609L11.2214 3.1926L11.2214 3.19257C10.4794 2.69157 9.52056 2.69157 8.77861 3.19257L8.77856 3.1926L3.77856 6.56609L3.77849 6.56614C3.17595 6.97214 2.81667 7.64869 2.81667 8.37545V15.0005C2.81667 16.2041 3.79615 17.1834 5 17.1834H9.66667C9.93349 17.1834 10.15 17.3999 10.15 17.6667C10.15 17.9336 9.93349 18.15 9.66667 18.15H5C3.26318 18.15 1.85 16.7371 1.85 15.0005V8.37545C1.85 7.32647 2.36873 6.35065 3.2381 5.76482L16.2215 6.56614ZM16.2215 6.56614C16.8241 6.97215 17.1833 7.64805 17.1833 8.37545V9.00136C17.1833 9.2682 17.3998 9.48464 17.6667 9.48464C17.9335 9.48464 18.15 9.2682 18.15 9.00136V8.37545C18.15 7.32705 17.6305 6.35056 16.7612 5.76477L11.7612 2.39134C10.6912 1.66922 9.3068 1.6699 8.2381 2.39133C8.23809 2.39133 8.23808 2.39134 8.23807 2.39135L3.23818 5.76477L16.2215 6.56614Z",fill:t.fill??"currentColor",stroke:t.fill??"currentColor",strokeWidth:"0.3"}),e.jsx("path",{d:"M14.0964 15.1683C14.7275 15.1683 15.2391 14.6567 15.2391 14.0256C15.2391 13.3944 14.7275 12.8828 14.0964 12.8828C13.4652 12.8828 12.9536 13.3944 12.9536 14.0256C12.9536 14.6567 13.4652 15.1683 14.0964 15.1683Z",stroke:t.fill??"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10.3399 12.267L10.7032 11.6378C10.9178 11.2661 11.3992 11.1341 11.7746 11.3508C12.4216 11.7243 12.9504 11.4195 12.9491 10.6704C12.949 10.2413 13.3013 9.88707 13.7339 9.88899L14.5567 9.89214C14.9361 9.88718 15.243 10.1978 15.2479 10.5772L15.248 10.6679C15.2457 11.4149 15.7748 11.7203 16.4242 11.3469L16.5027 11.3017C16.8338 11.1163 17.2562 11.2267 17.4416 11.5578L17.8558 12.2688C18.0738 12.6425 17.9431 13.1247 17.5714 13.3391C16.9221 13.7126 16.9224 14.3229 17.5695 14.6965C17.9413 14.9111 18.0733 15.3925 17.8566 15.7679L17.4933 16.397C17.2787 16.7688 16.7973 16.9008 16.4219 16.6841C15.7749 16.3105 15.2461 16.6154 15.2474 17.3645C15.2455 17.7971 14.8952 18.1478 14.4626 18.1459L13.6398 18.1427C13.2604 18.1477 12.9535 17.8371 12.9486 17.4577L12.9485 17.367C12.9508 16.62 12.4217 16.3145 11.7723 16.688L11.6938 16.7332C11.3627 16.9186 10.9403 16.8082 10.7549 16.4771L10.3407 15.7661C10.1228 15.3924 10.2534 14.9102 10.6251 14.6958C11.2744 14.3223 11.2741 13.712 10.627 13.3384C10.2516 13.1217 10.1253 12.6388 10.3399 12.267Z",stroke:t.fill??"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgBranches=xo,exports.SvgCalendar=eo,exports.SvgColumn=to,exports.SvgConfiguration=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,children:e.jsx("path",{d:"M17.8051 14.4925V12.8196C17.8051 12.496 17.5427 12.2336 17.2191 12.2336H10.5859V11.2089H13.4015C14.1978 11.2089 14.8456 10.5611 14.8456 9.76469V3.54105C14.8456 3.38566 14.7839 3.23668 14.674 3.12684L11.7201 0.171719C11.6102 0.0617578 11.4611 0 11.3057 0H6.50227C5.70602 0 5.0582 0.647852 5.0582 1.44422V9.76469C5.0582 10.5611 5.70602 11.2089 6.50227 11.2089H9.41406V12.2336H2.78086C2.45727 12.2336 2.19492 12.496 2.19492 12.8196V14.4925C0.941953 14.7626 0 15.8807 0 17.2151C0 18.7507 1.2475 20 2.78086 20C4.31422 20 5.56168 18.7507 5.56168 17.2151C5.56168 15.8807 4.61973 14.7626 3.3668 14.4925V13.4055H9.41406V14.4925C8.16109 14.7626 7.21914 15.8808 7.21914 17.2151C7.21914 18.7507 8.4666 20 10 20C11.5334 20 12.7809 18.7507 12.7809 17.2151C12.7809 15.8807 11.8389 14.7626 10.5859 14.4925V13.4055H16.6332V14.4925C15.3802 14.7626 14.4383 15.8808 14.4383 17.2151C14.4383 18.7507 15.6858 20 17.2191 20C18.7525 20 20 18.7507 20 17.2151C20 15.8807 19.058 14.7626 17.8051 14.4925ZM11.8916 2.00094L12.8455 2.95516H11.8916V2.00094ZM6.23008 9.76469V1.44422C6.23008 1.29406 6.35219 1.17188 6.50227 1.17188H10.7198V3.54105C10.7198 3.86465 10.9821 4.12699 11.3057 4.12699H13.6737V9.76465C13.6737 9.9148 13.5516 10.037 13.4015 10.037H6.50227C6.35219 10.037 6.23008 9.9148 6.23008 9.76469ZM4.38984 17.2151C4.38984 18.1045 3.66805 18.8281 2.78086 18.8281C1.89367 18.8281 1.17188 18.1045 1.17188 17.2151C1.17188 16.3257 1.89367 15.6021 2.78086 15.6021C3.66805 15.6021 4.38984 16.3257 4.38984 17.2151ZM11.609 17.2151C11.609 18.1045 10.8872 18.8281 10 18.8281C9.11277 18.8281 8.39102 18.1045 8.39102 17.2151C8.39102 16.3257 9.11281 15.6021 10 15.6021C10.8872 15.6021 11.609 16.3257 11.609 17.2151ZM17.2191 18.8281C16.332 18.8281 15.6102 18.1045 15.6102 17.2151C15.6102 16.3257 16.332 15.6021 17.2191 15.6021C18.1064 15.6021 18.8281 16.3257 18.8281 17.2151C18.8281 18.1045 18.1063 18.8281 17.2191 18.8281Z",fill:t.fill??"currentColor"})}),exports.SvgConfigure=ro,exports.SvgCurrentLocation=yo,exports.SvgDelete=lo,exports.SvgDeparture=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.25",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M25.7517 39.2725C29.5567 39.2725 32.9287 37.3828 34.9687 34.4878L33.4424 33.4017C31.7435 35.8161 28.9366 37.3938 25.7517 37.3938C20.5524 37.3938 16.3585 33.1999 16.3585 28.0007C16.3585 22.8014 20.5524 18.6075 25.7517 18.6075C28.9366 18.6075 31.7398 20.1852 33.4424 22.5996L34.9687 21.5135C32.9287 18.6185 29.5567 16.7289 25.7517 16.7289C19.5361 16.7289 14.4799 21.785 14.4799 28.0007C14.4799 34.2163 19.5361 39.2725 25.7517 39.2725Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M37.6163 23.7949L36.266 25.1452L38.4089 27.288H26.9609V29.1666H38.4089L36.266 31.3095L37.6163 32.6597L41.3736 28.9025L42.0194 28.2273L41.3736 27.5522L37.6163 23.7949Z",fill:t.fill??"currentColor"})]}),exports.SvgDownload=no,exports.SvgDrop=io,exports.SvgEdit=uo,exports.SvgEmail=fo,exports.SvgEmployees=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{fill:t.fill??"currentColor",d:"M15.09 6.991H14.973C13.27 6.937 12 5.621 12 4c0-1.658 1.351-3 3-3s3 1.351 3 3a2.997 2.997 0 0 1-2.9 3c0-.009 0-.009-.01-.009ZM15 2.342a1.65 1.65 0 0 0-.063 3.298.437.437 0 0 1 .162 0A1.65 1.65 0 0 0 15 2.342Z"}),e.jsx("path",{fill:t.fill??"currentColor",d:"M15.394 12c-.298 0-.597-.023-.896-.077a.575.575 0 1 1 .2-1.133c.941.16 1.936-.016 2.602-.46.36-.238.552-.536.552-.835 0-.299-.2-.59-.552-.827-.666-.445-1.676-.621-2.626-.452a.569.569 0 0 1-.665-.468.575.575 0 0 1 .466-.666c1.248-.222 2.542.015 3.46.628C18.61 8.162 19 8.805 19 9.495c0 .682-.383 1.333-1.064 1.793-.697.46-1.6.712-2.542.712ZM4.919 7H4.9A2.995 2.995 0 0 1 2 4.009 3.012 3.012 0 0 1 5 1c1.649 0 3 1.351 3 3 0 1.63-1.27 2.946-2.892 3l-.19-.676.064.676h-.063Zm.09-1.351c.054 0 .1 0 .153.009.802-.036 1.505-.757 1.505-1.649a1.65 1.65 0 1 0-1.74 1.649c.01-.01.046-.01.082-.01Z"}),e.jsx("path",{fill:t.fill??"currentColor",d:"M4.606 12c-.942 0-1.845-.253-2.542-.712C1.39 10.836 1 10.184 1 9.495c0-.682.39-1.333 1.064-1.785.919-.613 2.213-.85 3.46-.628.314.053.521.352.468.666a.569.569 0 0 1-.667.468c-.949-.169-1.952.007-2.625.452-.36.237-.552.528-.552.827 0 .299.2.598.552.835.666.444 1.66.62 2.603.46a.575.575 0 1 1 .199 1.134 5.054 5.054 0 0 1-.896.076ZM10.09 12.991H9.973C8.27 12.937 7 11.621 7 10c0-1.658 1.351-3 3-3s3 1.351 3 3a2.997 2.997 0 0 1-2.9 3c0-.009 0-.009-.01-.009ZM10 8.342a1.65 1.65 0 0 0-.063 3.298.437.437 0 0 1 .162 0 1.65 1.65 0 0 0 1.559-1.649c0-.9-.74-1.649-1.658-1.649ZM10 19c-1.017 0-2.034-.237-2.822-.719C6.432 17.831 6 17.188 6 16.5c0-.68.424-1.338 1.178-1.789 1.585-.948 4.068-.948 5.644 0 .746.451 1.178 1.093 1.178 1.781 0 .68-.424 1.338-1.178 1.79-.788.473-1.805.718-2.822.718Zm-2.119-3.326c-.398.237-.61.535-.61.834 0 .298.22.588.61.825 1.144.696 3.085.696 4.23 0 .397-.237.61-.535.61-.833 0-.298-.221-.589-.61-.826-1.136-.695-3.077-.688-4.23 0Z"})]}),exports.SvgExport=oo,exports.SvgFilterList=so,exports.SvgFilteredList=ao,exports.SvgHistory=co,exports.SvgHoliday=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M26.8073 14.3195C26.5423 14.3236 26.2898 14.4327 26.1052 14.6229C25.9207 14.8131 25.8191 15.0688 25.8229 15.3338V15.714C22.691 15.9858 20.5257 17.5023 19.2018 19.0057C17.7411 20.6646 17.2031 22.365 17.2031 22.365C17.1557 22.5149 17.1442 22.6738 17.1696 22.8289C17.1951 22.984 17.2567 23.1309 17.3495 23.2577C17.4424 23.3846 17.5638 23.4877 17.704 23.5588C17.8441 23.63 17.9991 23.6671 18.1562 23.6671H25.8229V33.0004H17.4896C16.2129 33.0004 15.1562 34.0571 15.1562 35.3338V36.6671C15.1562 37.9437 16.2129 39.0004 17.4896 39.0004H17.8229V40.6671C17.821 40.7996 17.8455 40.9312 17.8949 41.0542C17.9444 41.1771 18.0177 41.289 18.1108 41.3834C18.2038 41.4778 18.3147 41.5527 18.4369 41.6039C18.5592 41.655 18.6904 41.6814 18.8229 41.6814C18.9554 41.6814 19.0866 41.655 19.2089 41.6039C19.3312 41.5527 19.442 41.4778 19.5351 41.3834C19.6281 41.289 19.7015 41.1771 19.7509 41.0542C19.8003 40.9312 19.8248 40.7996 19.8229 40.6671V39.0004H37.1562V40.6671C37.1544 40.7996 37.1789 40.9312 37.2283 41.0542C37.2777 41.1771 37.351 41.289 37.4441 41.3834C37.5371 41.4778 37.648 41.5527 37.7703 41.6039C37.8925 41.655 38.0237 41.6814 38.1562 41.6814C38.2888 41.6814 38.42 41.655 38.5422 41.6039C38.6645 41.5527 38.7754 41.4778 38.8684 41.3834C38.9615 41.289 39.0348 41.1771 39.0842 41.0542C39.1336 40.9312 39.1581 40.7996 39.1562 40.6671V39.0004H39.4896C40.7662 39.0004 41.8229 37.9437 41.8229 36.6671V35.3338C41.8229 34.0571 40.7662 33.0004 39.4896 33.0004H33.1094L41.2109 29.589C41.4301 29.5009 41.611 29.3382 41.7216 29.1295C41.8323 28.9209 41.8655 28.6798 41.8155 28.449C41.7654 28.2182 41.6353 28.0126 41.4481 27.8685C41.261 27.7244 41.0289 27.6512 40.793 27.6619C40.6695 27.6673 40.5481 27.6956 40.4349 27.7452L27.9531 33.0004H27.8229V23.6671H35.4896C35.6468 23.6671 35.8017 23.63 35.9419 23.5588C36.082 23.4877 36.2035 23.3846 36.2963 23.2577C36.3891 23.1309 36.4508 22.984 36.4762 22.8289C36.5016 22.6738 36.4902 22.5149 36.4427 22.365C36.4427 22.365 35.9048 20.6646 34.444 19.0057C33.1202 17.5023 30.9549 15.9858 27.8229 15.714V15.3338C27.8248 15.1999 27.7999 15.0671 27.7495 14.9431C27.6991 14.819 27.6244 14.7064 27.5296 14.6118C27.4349 14.5172 27.3222 14.4426 27.1981 14.3924C27.074 14.3422 26.9411 14.3174 26.8073 14.3195ZM26.8229 17.6671C29.9107 17.6671 31.7618 18.9875 32.9427 20.3286C33.3763 20.8209 33.6089 21.2481 33.8529 21.6671H26.987C26.9276 21.6569 26.8675 21.6521 26.8073 21.6528C26.7584 21.654 26.7097 21.6588 26.6615 21.6671H19.793C20.0369 21.2481 20.2696 20.8209 20.7031 20.3286C21.884 18.9875 23.7352 17.6671 26.8229 17.6671ZM17.4896 35.0004H26.6589C26.7662 35.0181 26.8757 35.0181 26.9831 35.0004H39.4896C39.6863 35.0004 39.8229 35.1371 39.8229 35.3338V36.6671C39.8229 36.8638 39.6863 37.0004 39.4896 37.0004H38.3203C38.261 36.9903 38.2008 36.9855 38.1406 36.9861C38.0917 36.9873 38.043 36.9921 37.9948 37.0004H18.987C18.9276 36.9903 18.8675 36.9855 18.8073 36.9861C18.7584 36.9873 18.7097 36.9921 18.6615 37.0004H17.4896C17.2929 37.0004 17.1562 36.8638 17.1562 36.6671V35.3338C17.1562 35.1371 17.2929 35.0004 17.4896 35.0004Z",fill:t.fill??"currentColor"})]}),exports.SvgHome=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,children:e.jsx("path",{d:"M7.5 17.5016V11.3349C7.5 10.8682 7.5 10.6348 7.59083 10.4566C7.67072 10.2998 7.79821 10.1723 7.95501 10.0924C8.13327 10.0016 8.36662 10.0016 8.83333 10.0016H11.1667C11.6334 10.0016 11.8667 10.0016 12.045 10.0924C12.2018 10.1723 12.3293 10.2998 12.4092 10.4566C12.5 10.6348 12.5 10.8682 12.5 11.3349V17.5016M9.18141 2.30492L3.52949 6.70086C3.15168 6.99471 2.96278 7.14163 2.82669 7.32563C2.70614 7.48862 2.61633 7.67224 2.56169 7.86746C2.5 8.08785 2.5 8.32717 2.5 8.8058V14.8349C2.5 15.7683 2.5 16.235 2.68166 16.5916C2.84144 16.9052 3.09641 17.1601 3.41002 17.3199C3.76654 17.5016 4.23325 17.5016 5.16667 17.5016H14.8333C15.7668 17.5016 16.2335 17.5016 16.59 17.3199C16.9036 17.1601 17.1586 16.9052 17.3183 16.5916C17.5 16.235 17.5 15.7683 17.5 14.8349V8.8058C17.5 8.32717 17.5 8.08785 17.4383 7.86746C17.3837 7.67224 17.2939 7.48862 17.1733 7.32563C17.0372 7.14163 16.8483 6.99471 16.4705 6.70086L10.8186 2.30492C10.5258 2.07721 10.3794 1.96335 10.2178 1.91959C10.0752 1.88097 9.92484 1.88097 9.78221 1.91959C9.62057 1.96335 9.47418 2.07721 9.18141 2.30492Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),exports.SvgImport=po,exports.SvgIndicator=go,exports.SvgKeyBoard=ho,exports.SvgLeaveCalendar=t=>e.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M21 16.5V17.5H17V39.5H39V17.5H35V16.5H33V17.5H23V16.5H21ZM19 19.5H21V20.5H23V19.5H33V20.5H35V19.5H37V21.5H19V19.5ZM19 23.5H37V37.5H19V23.5ZM27 25.5V31.5H29V25.5H27ZM27 33.5V35.5H29V33.5H27Z",fill:t.fill??"currentColor"})]}),exports.SvgLetteremplate=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M18.2 6.45149V15.3501C18.2 18.0881 16.3876 19.0008 14.15 19.0008H6.05C3.81238 19.0008 2 18.0881 2 15.3501V6.45149C2 3.48529 3.81238 2.80078 6.05 2.80078C6.05 3.36664 6.3031 3.87774 6.71822 4.25193C7.13335 4.62613 7.70038 4.8543 8.32813 4.8543H11.8719C13.1274 4.8543 14.15 3.9325 14.15 2.80078C16.3876 2.80078 18.2 3.48529 18.2 6.45149Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.7001 2.8C13.7001 3.792 12.6775 4.6 11.422 4.6H7.87822C7.25047 4.6 6.68345 4.4 6.26832 4.072C5.8532 3.744 5.6001 3.296 5.6001 2.8C5.6001 1.808 6.62272 1 7.87822 1H11.422C12.0497 1 12.6168 1.2 13.0319 1.528C13.447 1.856 13.7001 2.304 13.7001 2.8Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.5 10.8984H11",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.5 14.5H14.6",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgNoLogo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:50,height:50,fill:"none",...t,children:[e.jsx("path",{stroke:"#000",d:"M1.09 1.082 48.91 48.917M1.09 6.71v36.797h37.908M6.754 6.602H48.91V43.29h-5.883M1.416 33.333l13.726-12.662"}),e.jsx("path",{fill:"#000",d:"M36.167 20.779c1.985 0 3.595-1.6 3.595-3.572s-1.61-3.571-3.595-3.571-3.595 1.599-3.595 3.571c0 1.973 1.61 3.572 3.595 3.572Z"}),e.jsx("path",{stroke:"#000",d:"m25.273 35.497 3.05-2.922M30.176 30.519l3.812-3.788c.436-.433 1.09-.433 1.416 0l13.29 12.77"})]}),exports.SvgNoSign=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M3.80046 33.943C3.80046 33.943 16.7005 24.343 16.3005 14.543C15.8005 4.74296 6.30046 2.94296 4.00046 18.543C1.70046 34.143 17.6005 30.043 22.3005 26.043C27.0005 22.043 29.5005 16.443 25.1005 15.543C20.9005 14.743 19.6005 28.343 23.9005 30.443C23.9005 30.443 26.0005 32.743 33.6005 22.243C33.8005 22.043 34.1005 22.043 34.2005 22.243L36.6005 27.143C36.7005 27.443 37.1005 27.443 37.3005 27.243L42.7005 21.143",stroke:"black",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),e.jsx("path",{d:"M3 39.543H43.1",stroke:"black",strokeWidth:"2",strokeMiterlimit:"10"})]}),exports.SvgOrganization=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsxs("g",{stroke:t.fill??"currentColor",clipPath:"url(#a)",children:[e.jsx("path",{strokeWidth:1.5,d:"M1.085 3.272c.686-3.03 5.153-3.03 5.83 0 .403 1.777-.703 3.282-1.663 4.22a1.804 1.804 0 0 1-2.512 0c-.952-.938-2.058-2.443-1.655-4.22ZM13.085 14.272c.682-3.03 5.148-3.03 5.83 0 .401 1.777-.699 3.283-1.662 4.22a1.798 1.798 0 0 1-2.506 0c-.963-.938-2.063-2.443-1.662-4.22Z"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.996 4h2.29c1.58 0 2.315 2.126 1.127 3.26l-6.826 6.49C5.4 14.874 6.135 17 7.707 17h2.289"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.495 4.5h.01M15.495 14.5h.01"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:t.fill??"currentColor",d:"M0 0h20v20H0z"})})})]}),exports.SvgPageNotFound=t=>e.jsxs("svg",{width:800,height:300,viewBox:"0 0 1309 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{clipPath:"url(#clip0_40160_95666)",children:[e.jsx("g",{clipPath:"url(#clip1_40160_95666)",children:e.jsx("path",{d:"M280.658 168.377C280.454 166.899 279.089 165.844 277.656 166.126C276.154 166.337 275.131 167.743 275.404 169.221C275.813 171.753 276.291 179.772 273.629 182.938C273.083 183.641 272.333 184.063 271.446 184.204L271.719 169.01C271.719 166.829 269.944 165 267.829 165C265.645 165 263.939 166.829 264.007 169.08L264.69 197.921C263.803 197.781 263.052 197.359 262.438 196.655C259.776 193.419 260.254 185.4 260.664 182.868C260.868 181.39 259.845 179.983 258.412 179.772C256.978 179.561 255.614 180.546 255.409 182.023C255.204 183.29 253.635 194.474 258.412 200.172C260.049 202.142 262.233 203.268 264.826 203.408L265.099 216H270.9L271.309 189.761C273.834 189.55 276.018 188.425 277.587 186.526C282.364 180.828 280.795 169.643 280.658 168.377Z",fill:"#BDBDBD"})}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"ellipseGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[e.jsx("stop",{offset:"0%",stopColor:"rgba(225, 225, 225, 0.5)"}),e.jsx("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0)"})]})}),e.jsx("ellipse",{cx:654.423,cy:355.015,rx:652.181,ry:171.27,transform:"rotate(0.769672 654.423 355.015)",fill:"url(#ellipseGradient)",fillOpacity:.9}),e.jsx("g",{clipPath:"url(#clip2_40160_95666)",children:e.jsx("path",{d:"M1080.33 146.422C1079.93 143.612 1077.25 141.606 1074.44 142.141C1071.5 142.542 1069.49 145.218 1070.02 148.028C1070.83 152.844 1071.76 168.097 1066.54 174.117C1065.47 175.455 1064 176.258 1062.26 176.526L1062.8 147.626C1062.8 143.479 1059.32 140 1055.17 140C1050.88 140 1047.54 143.479 1047.67 147.76L1049.01 202.615C1047.27 202.348 1045.8 201.545 1044.59 200.207C1039.37 194.052 1040.31 178.8 1041.11 173.983C1041.51 171.174 1039.5 168.498 1036.69 168.097C1033.88 167.695 1031.21 169.568 1030.8 172.378C1030.4 174.786 1027.32 196.059 1036.69 206.897C1039.91 210.643 1044.19 212.783 1049.28 213.051L1049.81 237H1061.19L1061.99 187.095C1066.95 186.694 1071.23 184.553 1074.31 180.941C1083.68 170.103 1080.6 148.83 1080.33 146.422Z",fill:"#BDBDBD"})}),e.jsx("path",{d:"M539.6 153.4H554.6V170.8C554.6 172.333 554.067 173.667 553 174.8C552 175.933 550.533 176.5 548.6 176.5H539.6V210H512.6V176.5H454C452.067 176.5 450.3 175.9 448.7 174.7C447.167 173.5 446.2 172 445.8 170.2L442.6 154.9L510 64.3H539.6V153.4ZM512.6 115.4C512.6 113.067 512.667 110.567 512.8 107.9C513 105.167 513.267 102.367 513.6 99.5L475.1 153.4H512.6V115.4Z",fill:"#7B7B7B"}),e.jsx("path",{d:"M810.594 153.4H825.594V170.8C825.594 172.333 825.061 173.667 823.994 174.8C822.994 175.933 821.527 176.5 819.594 176.5H810.594V210H783.594V176.5H724.994C723.061 176.5 721.294 175.9 719.694 174.7C718.161 173.5 717.194 172 716.794 170.2L713.594 154.9L780.994 64.3H810.594V153.4ZM783.594 115.4C783.594 113.067 783.661 110.567 783.794 107.9C783.994 105.167 784.261 102.367 784.594 99.5L746.094 153.4H783.594V115.4Z",fill:"#7B7B7B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M693.038 61.1668H691.677C691.641 60.7145 691.605 60.2622 691.564 59.8047H692.926L693.038 61.1668Z",fill:"white"}),e.jsx("path",{d:"M691 137.1C691 149.833 689.633 160.867 686.9 170.2C684.167 179.533 680.367 187.267 675.5 193.4C670.7 199.533 664.967 204.1 658.3 207.1C651.7 210.1 644.533 211.6 636.8 211.6C629.067 211.6 621.9 210.1 615.3 207.1C608.767 204.1 603.1 199.533 598.3 193.4C593.5 187.267 589.733 179.533 587 170.2C584.333 160.867 583 149.833 583 137.1C583 124.367 584.333 113.333 587 104C589.733 94.6667 593.5 86.9333 598.3 80.8C603.1 74.6667 608.767 70.1333 615.3 67.2C621.9 64.2 629.067 62.7 636.8 62.7C644.533 62.7 651.7 64.2 658.3 67.2C664.967 70.1333 670.7 74.6667 675.5 80.8C680.367 86.9333 684.167 94.6667 686.9 104C689.633 113.333 691 124.367 691 137.1ZM659 137.1C659 127.033 658.367 118.8 657.1 112.4C655.833 105.933 654.133 100.867 652 97.2C649.933 93.5333 647.567 91.0333 644.9 89.7C642.233 88.3 639.533 87.6 636.8 87.6C634.067 87.6 631.367 88.3 628.7 89.7C626.1 91.0333 623.767 93.5333 621.7 97.2C619.7 100.867 618.067 105.933 616.8 112.4C615.6 118.8 615 127.033 615 137.1C615 147.233 615.6 155.5 616.8 161.9C618.067 168.3 619.7 173.367 621.7 177.1C623.767 180.767 626.1 183.3 628.7 184.7C631.367 186.033 634.067 186.7 636.8 186.7C639.533 186.7 642.233 186.033 644.9 184.7C647.567 183.3 649.933 180.767 652 177.1C654.133 173.367 655.833 168.3 657.1 161.9C658.367 155.5 659 147.233 659 137.1Z",fill:"#3BA4E8"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_40160_95666",x1:654.423,y1:183.745,x2:654.423,y2:526.284,gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#F4F4F4"}),e.jsx("stop",{offset:1,stopColor:"white",stopOpacity:0})]}),e.jsx("clipPath",{id:"clip0_40160_95666",children:e.jsx("rect",{width:1309,height:435,fill:"white"})}),e.jsx("clipPath",{id:"clip1_40160_95666",children:e.jsx("rect",{width:26,height:51,fill:"white",transform:"translate(255 165)"})}),e.jsx("clipPath",{id:"clip2_40160_95666",children:e.jsx("rect",{width:51,height:97,fill:"white",transform:"translate(1030 140)"})})]})]}),exports.SvgPayroll=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M17.418 2H2.58203C1.7097 2 1 2.7242 1 3.61435V14.0897C1 14.9798 1.7097 15.704 2.58203 15.704H8.19958L7.90075 16.9238H7.1875C6.89627 16.9238 6.66016 17.1647 6.66016 17.4619C6.66016 17.7591 6.89627 18 7.1875 18H12.8125C13.1037 18 13.3398 17.7591 13.3398 17.4619C13.3398 17.1647 13.1037 16.9238 12.8125 16.9238H12.0993L11.8004 15.704H17.418C18.2903 15.704 19 14.9798 19 14.0897V3.61435C19 2.7242 18.2903 2 17.418 2ZM2.58203 3.07623H17.418C17.7087 3.07623 17.9453 3.31763 17.9453 3.61435V12.3318H2.05469V3.61435C2.05469 3.31763 2.29125 3.07623 2.58203 3.07623ZM11.0121 16.9238H8.98792L9.28675 15.704H10.7133L11.0121 16.9238ZM17.418 14.6278C12.311 14.6278 8.00446 14.6278 2.58203 14.6278C2.29125 14.6278 2.05469 14.3864 2.05469 14.0897V13.4081H17.9453V14.0897C17.9453 14.3864 17.7087 14.6278 17.418 14.6278Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M5.9375 10.8984C7.81141 10.8984 9.33594 9.37391 9.33594 7.5C9.33594 5.62609 7.81141 4.10156 5.9375 4.10156C4.06359 4.10156 2.53906 5.62609 2.53906 7.5C2.53906 9.37477 4.06066 10.8984 5.9375 10.8984ZM8.16406 7.5C8.16406 9.21152 6.30613 10.2768 4.83367 9.43246L6.3518 7.91434C6.46168 7.80445 6.52344 7.65543 6.52344 7.5V5.35227C7.46773 5.61016 8.16406 6.47508 8.16406 7.5ZM5.35156 5.35227V7.25734L4.00504 8.60387C3.28062 7.34063 3.95363 5.73406 5.35156 5.35227Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M11.25 8.08594H16.875C17.1986 8.08594 17.4609 7.82359 17.4609 7.5C17.4609 7.17641 17.1986 6.91406 16.875 6.91406H16.8359V4.375C16.8359 4.05141 16.5736 3.78906 16.25 3.78906C15.9264 3.78906 15.6641 4.05141 15.6641 4.375V6.91406H14.6484V5C14.6484 4.67641 14.3861 4.41406 14.0625 4.41406C13.7389 4.41406 13.4766 4.67641 13.4766 5V6.91406H12.4609V5.625C12.4609 5.30141 12.1986 5.03906 11.875 5.03906C11.5514 5.03906 11.2891 5.30141 11.2891 5.625V6.91406H11.25C10.9264 6.91406 10.6641 7.17641 10.6641 7.5C10.6641 7.82359 10.9264 8.08594 11.25 8.08594Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M11.25 10.5859H13.75C14.0736 10.5859 14.3359 10.3236 14.3359 10C14.3359 9.67641 14.0736 9.41406 13.75 9.41406H11.25C10.9264 9.41406 10.6641 9.67641 10.6641 10C10.6641 10.3236 10.9264 10.5859 11.25 10.5859Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M16.875 9.41406H16.25C15.9264 9.41406 15.6641 9.67641 15.6641 10C15.6641 10.3236 15.9264 10.5859 16.25 10.5859H16.875C17.1986 10.5859 17.4609 10.3236 17.4609 10C17.4609 9.67641 17.1986 9.41406 16.875 9.41406Z",fill:t.fill??"currentColor"})]}),exports.SvgPhone=mo,exports.SvgProfile=t=>{const{fill:r="currentColor"}=t;return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,style:{color:"inherit"},children:[e.jsxs("g",{clipPath:"url(#clip0_8728_7975)",children:[e.jsx("path",{d:"M10.7224 0.0587158C11.281 0.136841 11.7302 0.277466 12.2536 0.543091C13.9919 1.41809 15.0114 3.37122 14.8122 5.4259C14.6911 6.64856 14.2888 7.6134 13.5153 8.53528C13.0778 9.05871 12.4021 9.55871 11.7731 9.82043C9.6794 10.6954 7.38643 9.96106 6.06612 7.9884C5.02315 6.43372 4.87471 4.29309 5.69112 2.64075C6.61299 0.77356 8.58565 -0.238159 10.7224 0.0587158ZM9.10909 1.58606C8.22237 1.80872 7.42159 2.44934 7.01534 3.26965C6.73018 3.84778 6.63252 4.28918 6.63643 4.98059C6.64424 6.05871 7.03096 7.03137 7.73409 7.7384C8.06221 8.07043 8.26534 8.21887 8.65596 8.41418C9.4958 8.82825 10.5036 8.82825 11.3435 8.41418C11.7341 8.21887 11.9372 8.07043 12.2653 7.7384C13.7419 6.25012 13.738 3.59778 12.2575 2.28528C11.4333 1.55872 10.2614 1.297 9.10909 1.58606Z",fill:r}),e.jsx("path",{d:"M10.7811 11.293C13.7655 11.418 16.121 12.3438 17.5272 13.9453C18.6093 15.1758 19.1913 16.7305 19.2929 18.6562C19.3397 19.5352 19.2694 19.75 18.8866 19.9258C18.7343 19.9961 18.4061 20 9.9999 20C1.59365 20 1.26553 19.9961 1.11318 19.9258C0.73037 19.75 0.660057 19.5352 0.706932 18.6562C0.933495 14.3594 3.61318 11.8086 8.37881 11.3516C9.16787 11.2773 9.95693 11.2578 10.7811 11.293ZM8.7499 12.7734C5.96474 13.0234 4.16787 13.8945 3.11709 15.5039C2.64053 16.2344 2.28506 17.3008 2.20303 18.2305L2.17568 18.5547H9.9999H17.8241L17.7968 18.2344C17.7811 18.0547 17.7265 17.7148 17.6757 17.4805C17.2851 15.668 16.2929 14.3867 14.6718 13.6094C13.7694 13.1758 12.7851 12.9258 11.4452 12.793C10.8358 12.7305 9.34756 12.7227 8.7499 12.7734Z",fill:r})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_8728_7975",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"matrix(-1 0 0 1 20 0)"})})})]})},exports.SvgReGenerate=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t.color??"currentColor",viewBox:"0 0 32 32",...t,children:[e.jsx("path",{d:"m21.697 14.924-1.396-.501a4.515 4.515 0 0 1-2.724-2.725l-.502-1.396-.002-.004c-.163-.448-.594-.751-1.073-.751s-.91.303-1.076.756l-.501 1.396a4.515 4.515 0 0 1-2.725 2.724l-1.399.504c-.449.163-.752.595-.752 1.073s.303.91.756 1.076l1.396.501a4.515 4.515 0 0 1 2.724 2.725l.504 1.399c.164.449.596.752 1.074.752s.91-.303 1.076-.756l.501-1.396a4.515 4.515 0 0 1 2.725-2.724l1.399-.504c.449-.164.752-.596.752-1.074s-.304-.909-.757-1.075zM16 18.914A6.501 6.501 0 0 0 13.086 16 6.501 6.501 0 0 0 16 13.086 6.501 6.501 0 0 0 18.914 16 6.501 6.501 0 0 0 16 18.914z"}),e.jsx("path",{d:"M27.401 9.132a1 1 0 0 0-1.711 1.037 11.247 11.247 0 0 1 1.623 5.832c0 6.237-5.075 11.313-11.313 11.313a11.27 11.27 0 0 1-3.118-.445l.993-.477a1.001 1.001 0 0 0-.867-1.803l-3.125 1.503a1.002 1.002 0 0 0-.433 1.398l1.728 3.008a.997.997 0 0 0 1.365.369.999.999 0 0 0 .369-1.365l-.38-.662c1.123.304 2.282.473 3.469.473 7.341 0 13.313-5.972 13.313-13.313a13.259 13.259 0 0 0-1.913-6.868zM15.999 4.687c1.069 0 2.112.156 3.118.445l-.993.477a1.001 1.001 0 0 0 .434 1.901.985.985 0 0 0 .433-.099l3.125-1.503a1.002 1.002 0 0 0 .433-1.399l-1.728-3.008a1 1 0 1 0-1.734.996l.38.662a13.244 13.244 0 0 0-3.469-.473c-7.341 0-13.313 5.972-13.313 13.313 0 2.429.661 4.805 1.912 6.869a1 1 0 0 0 1.711-1.038 11.247 11.247 0 0 1-1.623-5.832C4.687 9.762 9.762 4.687 15.999 4.687z"})]}),exports.SvgStock=t=>e.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M16.8284 7.06234C18 8.12469 18 9.83451 18 13.2541V14.7459C18 18.1655 18 19.8753 16.8284 20.9377C15.6569 22 13.7712 22 10 22C6.22876 22 4.34315 22 3.17157 20.9377C2 19.8753 2 18.1655 2 14.7459V13.2541C2 9.83451 2 8.12469 3.17157 7.06234C4.34315 6 6.22876 6 10 6C13.7712 6 15.6569 6 16.8284 7.06234Z",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.07031 6C6.17734 4.61213 6.4549 3.71504 7.1747 3.06234C8.34627 2 10.2319 2 14.0031 2C17.7744 2 19.66 2 20.8316 3.06234C22.0031 4.12469 22.0031 5.83451 22.0031 9.25414V10.7459C22.0031 14.1655 22.0031 15.8753 20.8316 16.9377C20.1784 17.5299 19.3032 17.792 18.0031 17.908",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12.0001 11C12.1243 11 12.2468 11.0266 12.3579 11.0778C12.4689 11.1289 12.5656 11.2032 12.6401 11.2947L13.8401 12.7684C13.943 12.8949 13.9991 13.0484 14 13.2064C14.0009 13.3644 13.9467 13.5185 13.8453 13.646L10.6493 17.6935C10.5752 17.7883 10.4777 17.8656 10.3648 17.9189C10.2518 17.9722 10.1268 18 9.9999 18C9.87302 18 9.74796 17.9722 9.63505 17.9189C9.52214 17.8656 9.4246 17.7883 9.35051 17.6935L6.15453 13.646C6.05318 13.5185 5.99901 13.3644 6.00001 13.2064C6.00102 13.0483 6.05716 12.8948 6.16013 12.7684L7.35932 11.2958C7.43379 11.204 7.53049 11.1295 7.64173 11.0781C7.75297 11.0268 7.87569 11 8.00012 11H12.0001Z",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgTransaction=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,children:[e.jsx("path",{stroke:t.fill??"currentColor",d:"M6.667 1.664v2.5M13.333 1.664v2.5M2.917 7.578h14.166M15 19.167a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667ZM15 14.656v2.492"}),e.jsx("path",{stroke:t.fill??"currentColor",d:"M17.5 7.08v6.55a3.332 3.332 0 0 0-5.833 2.2c0 .626.175 1.217.483 1.717.175.3.4.567.658.784H6.667c-2.917 0-4.167-1.667-4.167-4.167V7.081c0-2.5 1.25-4.167 4.167-4.167h6.666c2.917 0 4.167 1.667 4.167 4.167ZM9.996 11.417h.008M6.912 11.417h.007M6.912 13.917h.007"})]}),exports.SvgUnverifieduser=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.75",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M24.75 14C20.85 14 17.75 17.1 17.75 21C17.75 23.4 18.9496 25.6008 20.8496 26.8008C17.2496 28.3008 14.75 31.9 14.75 36H16.75C16.75 31.6 20.35 28 24.75 28C26.15 28 27.4508 28.4 28.5508 29C27.4508 30.4 26.75 32.1 26.75 34C26.75 38.4 30.35 42 34.75 42C39.15 42 42.75 38.4 42.75 34C42.75 29.6 39.15 26 34.75 26C33.05 26 31.3508 26.6 30.0508 27.5C29.6508 27.2 29.1504 27.0008 28.6504 26.8008C30.5504 25.5008 31.75 23.4 31.75 21C31.75 17.1 28.65 14 24.75 14ZM24.75 16C27.55 16 29.75 18.2 29.75 21C29.75 23.8 27.55 26 24.75 26C21.95 26 19.75 23.8 19.75 21C19.75 18.2 21.95 16 24.75 16ZM34.75 28C38.05 28 40.75 30.7 40.75 34C40.75 37.3 38.05 40 34.75 40C31.45 40 28.75 37.3 28.75 34C28.75 30.7 31.45 28 34.75 28ZM30.75 33V35H38.75V33H30.75Z",fill:t.fill??"currentColor"})]}),exports.SvgUser=t=>e.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M28 16.5C23.9518 16.5 20.65 19.7875 20.65 23.8182C20.65 26.3379 21.942 28.5758 23.8984 29.8949C20.1537 31.4957 17.5 35.1957 17.5 39.5H19.6C19.6 36.478 21.2037 33.848 23.6031 32.3778C24.3086 34.1012 26.0271 35.3182 28 35.3182C29.9729 35.3182 31.6914 34.1012 32.3969 32.3778C34.7963 33.848 36.4 36.478 36.4 39.5H38.5C38.5 35.1957 35.8463 31.4957 32.1016 29.8949C34.058 28.5758 35.35 26.3379 35.35 23.8182C35.35 19.7875 32.0482 16.5 28 16.5ZM28 18.5909C30.9121 18.5909 33.25 20.9187 33.25 23.8182C33.25 26.7177 30.9121 29.0455 28 29.0455C25.0879 29.0455 22.75 26.7177 22.75 23.8182C22.75 20.9187 25.0879 18.5909 28 18.5909ZM28 31.1364C28.8613 31.1364 29.6816 31.2589 30.4609 31.4957C30.0959 32.5044 29.1443 33.2273 28 33.2273C26.8557 33.2273 25.9041 32.5044 25.5391 31.4957C26.3184 31.2589 27.1387 31.1364 28 31.1364Z",fill:t.fill??"currentColor"})]}),exports.SvgVerifiedUser=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.25",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M24.25 14C20.3945 14 17.25 17.1445 17.25 21C17.25 23.4102 18.4805 25.5508 20.3438 26.8125C16.7773 28.3438 14.25 31.8828 14.25 36H16.25C16.25 31.5703 19.8203 28 24.25 28C25.625 28 26.9062 28.3594 28.0312 28.9688C26.9219 30.3438 26.25 32.1016 26.25 34C26.25 38.4062 29.8438 42 34.25 42C38.6562 42 42.25 38.4062 42.25 34C42.25 29.5938 38.6562 26 34.25 26C32.5039 26 30.8789 26.5742 29.5625 27.5312C29.1211 27.2539 28.6406 27.0195 28.1562 26.8125C30.0195 25.5508 31.25 23.4102 31.25 21C31.25 17.1445 28.1055 14 24.25 14ZM24.25 16C27.0234 16 29.25 18.2266 29.25 21C29.25 23.7734 27.0234 26 24.25 26C21.4766 26 19.25 23.7734 19.25 21C19.25 18.2266 21.4766 16 24.25 16ZM34.25 28C37.5742 28 40.25 30.6758 40.25 34C40.25 37.3242 37.5742 40 34.25 40C30.9258 40 28.25 37.3242 28.25 34C28.25 30.6758 30.9258 28 34.25 28ZM37.5312 31.2812L34.25 34.5625L31.9688 32.2812L30.5312 33.7188L33.5312 36.7188L34.25 37.4062L34.9688 36.7188L38.9688 32.7188L37.5312 31.2812Z",fill:t.fill??"currentColor"})]}),exports.SvgView=Co,exports.SvgWeekoffCalendar=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{x:"0.75",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M21.75 16.5V17.5H17.75V39.5H39.75V17.5H35.75V16.5H33.75V17.5H23.75V16.5H21.75ZM19.75 19.5H21.75V20.5H23.75V19.5H33.75V20.5H35.75V19.5H37.75V21.5H19.75V19.5ZM19.75 23.5H37.75V37.5H19.75V23.5ZM25.75 25.5V27.5H27.75V25.5H25.75ZM29.75 25.5V27.5H31.75V25.5H29.75ZM33.75 25.5V27.5H35.75V25.5H33.75ZM21.75 29.5V31.5H23.75V29.5H21.75ZM25.75 29.5V31.5H27.75V29.5H25.75ZM29.75 29.5V31.5H31.75V29.5H29.75ZM33.75 29.5V31.5H35.75V29.5H33.75ZM21.75 33.5V35.5H35.75V33.5H21.75Z",fill:t.fill??"currentColor"})]}),exports.SwitchField=Ks,exports.Tab=Vc,exports.TabBar=function({tabs:t,onChange:r,addButton:l,actionButton:n,ariaLabel:i,activeIndex:o=0,onAction:s}){const d=u.useTheme(),[c,p]=a.useState(t[o]),[h,C]=a.useState(null);return a.useEffect((()=>{-1===t.findIndex((e=>e.value===c.value))&&(r&&t[0]&&r(t[0]),p(t[0]))}),[t,c,r]),a.useEffect((()=>{p(t[o])}),[o]),e.jsxs(Br.default,{children:[e.jsx(Dc,{activeTab:c,tabs:t,onClose:()=>C(null),onMenuItemClick:()=>C(null),menuAnchor:h}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",sx:{borderBlockEnd:"solid 1px",borderColor:d.palette.app.color.iron[700]},children:[e.jsxs(Zr.default,{direction:"row",gap:"5px",alignItems:"center",overflow:"hidden",children:[e.jsx(Zr.default,{direction:"row",overflow:"hidden",children:e.jsx(ii.default,{value:c.value,onChange:(e,l)=>{const n=t.find((e=>e.value===l));n&&(p(n),r&&n&&r(n))},TabIndicatorProps:{sx:{display:"none"}},sx:{[`&.${oi.default.root}`]:{minHeight:"40px",height:"40px"}},variant:"scrollable",scrollButtons:"auto",ScrollButtonComponent:ai.default,"aria-label":i??"Tabs",children:t.map(((t,r)=>e.jsx(Vc,{index:r,activeTab:c,onArrowClick:e=>{C(e.target)},onAction:s,menuAnchor:h,...t},t.value)))})}),l]}),e.jsx(Zr.default,{direction:"row",gap:"10px",alignItems:"center",justifyContent:"space-between",children:n})]})]})},exports.Tabs=({tabs:t,value:r,loading:l})=>l?e.jsx(Zr.default,{gap:"10px",direction:"row",children:t.map((()=>e.jsx(Zc,{},X.v4())))}):e.jsx(Zr.default,{children:e.jsx(ii.default,{value:r,children:t.filter((({isView:e})=>!1!==e)).map((({iconPosition:t="end",toolTipLabel:r="",icon:n,...i},o)=>e.jsx(ni.default,{icon:r?e.jsx(wo,{toolTipLabel:r,placement:"bottom",children:n}):n,disabled:l,iconPosition:t,...i},o)))})}),exports.TabsMenus=Dc,exports.TextField=Ts,exports.Theme=Wi,exports.TimeField=function({control:t,defaultValue:r,disabled:l=!1,label:n,name:i,error:o,helperText:a,loading:s=!1,required:d=!1,rules:c,format:h="HH:mm",isReturnLocalTime:C=!1,isReturnDateWithTime:x=!1,styling:f="custom",navigationKey:g,...m}){const{field:{value:b,onChange:j,...y}}=De.useController({name:i,control:t,defaultValue:r,rules:c}),{navigationKey:w}=gi(),v=g??w,{inputRef:M,maintainFocus:L,handleKeyDown:k}=Zi({navigationKey:v}),S=u.useTheme(),{butterflyBlue:H}=S.palette.app.color;o&&b&&"object"==typeof b&&(a="Invalid time");const Z=b?p.DateTime.fromISO(b):null;return s?e.jsx(Ns,{label:n,styling:f}):e.jsxs(Zr.default,{gap:"5px",children:[n&&"custom"===f&&e.jsx(Tl.default,{required:d,disabled:l,children:n}),e.jsx(It.TimeField,{...y,...m,disabled:l,value:Z,onChange:e=>{if(e?.isValid){if(C)return j(e.toFormat(h)),void L();if(x)return j(e.toUTC().toISO()),void L();j(e.toUTC().toISOTime()),L()}else j(e),L()},slotProps:{textField:{disabled:l,helperText:a,error:o,label:"default"===f?n:void 0,required:"default"===f?d:void 0,inputRef:M,InputLabelProps:_a(f),onKeyDown:e=>{k(e,void 0,!1)},sx:{...Oa(f),backgroundColor:"white","& .Mui-selected":{backgroundColor:H[900],borderRadius:"5px"}}}},format:h,helperText:a,sx:{backgroundColor:"white","& .Mui-selected":{backgroundColor:H[900],borderRadius:"5px"}}})]})},exports.TimePicker=function({control:t,defaultValue:r,disabled:l=!1,label:n,readOnly:i=!1,name:o,error:s=!1,helperText:d,loading:c=!1,required:h=!1,rules:C,format:x="HH:mm",isReturnLocalTime:f=!1,isReturnDateWithTime:g=!1,timeStepsMinutes:m=1,helperIcon:b,toolTipText:j,containerProps:y,styling:w="custom",navigationKey:v,...M}){const{field:{value:L,onChange:k,...S}}=De.useController({name:o,control:t,defaultValue:r,rules:C}),[H,Z]=a.useState(!1),{navigationKey:V}=gi(),D=v??V,{setInputRef:A,maintainFocus:B,maintainFocusAfterClose:I,handleKeyDown:R,handleEnterNavigation:T}=Zi({isOpen:H,navigationKey:D});s&&L&&"object"==typeof L&&(d="Invalid time");const E=u.useTheme(),{butterflyBlue:F}=E.palette.app.color,P=L?p.DateTime.fromISO(L):null;return c?e.jsx(Gs,{label:n,styling:w}):e.jsxs(Zr.default,{gap:"5px",...y,children:[n&&"custom"===w&&e.jsxs(Zr.default,{alignItems:"center",flexDirection:"row",gap:"5px",children:[e.jsx(Tl.default,{required:h,disabled:l,children:n}),b&&j&&e.jsx(Pr.default,{title:j,placement:"bottom",children:b})]}),e.jsx(Rt.TimePicker,{...S,...M,disabled:l,readOnly:i,open:H,ampm:!1,value:P,format:x,onOpen:()=>Z(!0),onClose:()=>{Z(!1),I()},timeSteps:{minutes:m},slotProps:{textField:{disabled:l,helperText:d,error:s,label:"default"===w?n:void 0,required:"default"===w?h:void 0,inputRef:A,InputLabelProps:_a(w),sx:{...Oa(w),backgroundColor:"white","& .Mui-selected":{backgroundColor:F[900],borderRadius:"5px"}},onKeyDown:e=>{if("enter"===D){if(" "===e.key&&!H&&!l&&!i)return e.preventDefault(),e.stopPropagation(),void Z(!0);if("Enter"===e.key&&!H)return e.preventDefault(),e.stopPropagation(),void T(e);if("Enter"===e.key&&H)return e.preventDefault(),e.stopPropagation(),Z(!1),I(),void requestAnimationFrame((()=>{T(e)}))}R(e,(()=>Z(!1)),H)}},openPickerButton:{..."enter"===D?{onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),T(e))}}:{}},popper:{sx:{"& .MuiMultiSectionDigitalClockSection-root::after":{display:"unset"},"& .MuiList-padding":{padding:"10px"},"& .MuiMultiSectionDigitalClockSection-item":{padding:"4px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected":{backgroundColor:F[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:hover":{backgroundColor:F[900],borderRadius:"5px"},"& .Mui-selected:hover":{backgroundColor:F[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:focus-visible":{backgroundColor:F[900],borderRadius:"5px"},"& .Mui-selected:focus-visible":{backgroundColor:F[900],borderRadius:"5px"}},onKeyDown:e=>{"enter"===D&&"Enter"===e.key&&H&&(e.preventDefault(),e.stopPropagation(),Z(!1),I(),requestAnimationFrame((()=>{T(e)})))}}},onChange:e=>{if(e?.isValid){if(f)return k(e.toFormat(x)),void B();if(g)return k(e.toUTC().toISO()),void B();k(e.toUTC().toISOTime()),B()}else k(e),B()}})]})},exports.Timeline=({totalDots:t,highlightedIntervals:r,shiftStartTime:l,shiftEndTime:n,startTimeline:i="2024-11-17T18:30:04.000Z"})=>{const o=parseFloat(bi(i)),a=(e,r,l)=>{const n=bi(e),i=bi(r);let a=Bc(n),s=Bc(i);return a=a<o?a+t:a,s=s<a?s+t:s,"END"===l?s:a},s=e=>{const l=(e+o)%t;return r.some((e=>l>=parseFloat(bi(e.in_time))&&l<=parseFloat(bi(e.out_time))))},d=Array.from({length:t},((e,r)=>({value:(r+o)%t,label:"",highlighted:s((r+o)%t)})));return e.jsxs(Zr.default,{sx:{position:"relative",width:"100%"},children:[e.jsx(Ac,{totalDots:t,intervals:r,startTimeline:o}),e.jsx(Pr.default,{title:`Shift Start: ${bi(l)}`,arrow:!0,placement:"top",children:e.jsx(Br.default,{sx:{cursor:"pointer",position:"absolute",top:"12px",zIndex:2,left:(a(l,n,"START")-o)%t/t*100+"%"},children:e.jsx(Ui,{})})}),e.jsx(Pr.default,{title:`Shift End: ${bi(n)}`,arrow:!0,placement:"top",children:e.jsx(Br.default,{sx:{cursor:"pointer",position:"absolute",top:"12px",zIndex:2,left:(a(l,n,"END")-o)%t/(t-.6)*100+"%"},children:e.jsx(Ui,{})})}),e.jsx(ci.default,{disabled:!0,valueLabelDisplay:"off",marks:d,max:t-1,step:1,value:[],sx:{zIndex:1,"& .MuiSlider-track":{background:"transparent",height:1,border:"none"},"& .MuiSlider-mark":{backgroundColor:"gray",height:4,width:4,borderRadius:"50%"},"& .MuiSlider-markActive":{backgroundColor:"transparent",height:5,width:5},"& .MuiSlider-rail":{height:2,backgroundColor:"#929292"},"& .MuiSlider-thumb":{display:"none"}}})]})},exports.Toaster=()=>e.jsx(Da,{position:"top-right",autoClose:5e3,hideProgressBar:!0,newestOnTop:!0,closeButton:!1,closeOnClick:!1,rtl:!1,draggable:!0,pauseOnHover:!0,transition:Be.Slide,limit:5}),exports.Tooltip=wo,exports.Tree=({nodes:t,direction:r="horizontal",columns:l=3,color:n})=>{const{isMobile:i}=Vi(),o=a.useRef({}),s=a.useRef(null),d=a.useRef(null),c=a.useRef(null),[u,p]=a.useState([]),h=(e,t)=>{if(t)return o.current[e]=t,void(c.current&&c.current.observe(t));o.current=Sl.default(o.current,e)},C=e=>e?e.getBoundingClientRect():null,x=(e,t,l)=>{ui.default(e,(e=>{const{id:n,children:a}=e;if(!a?.length)return;const s=o.current[n];if(!s)return;const d=C(s);d&&ui.default(a,(e=>{const{id:n,children:a}=e,s=o.current[n];if(!s)return;const c=C(s);if(!c)return;const u=i||"vertical"===r?((e,t,r)=>{const{left:l,width:n,bottom:i}=e,{left:o,width:a,top:s}=t,{left:d,top:c}=r,u=l+n/2-d,p=i-c,h=o+a/2-d,C=s-c,x=p+Math.max(12,(C-p)/2);return`M ${u} ${p} C ${u} ${x} ${h} ${x} ${h} ${C}`})(d,c,t):((e,t,r)=>{const{right:l,top:n,height:i}=e,{left:o,top:a,height:s}=t,{left:d,top:c}=r,u=l-d,p=n+i/2-c,h=o-d,C=a+s/2-c,x=h-u,f=Math.abs(x),g=Math.min(120,Math.max(24,f/2)),m=x>=0?1:-1;return`M ${u} ${p} C ${u+g*m} ${p} ${h-g*m} ${C} ${h} ${C}`})(d,c,t);l.push({definition:u}),a?.length&&x([e],t,l)}))}))};a.useEffect((()=>{const e=()=>requestAnimationFrame((()=>{(()=>{const e=d.current,r=s.current;if(!e||!r)return;const l=r.clientWidth;e.setAttribute("width",String(l)),e.setAttribute("height","auto");const n=r.getBoundingClientRect(),i=[];x(t,n,i),p(i)})()})),r=e(),l=new ResizeObserver(e);c.current=l,s.current&&l.observe(s.current),Dl.default(o.current).forEach((e=>l.observe(e)));const n=e;return window.addEventListener("resize",n),()=>{cancelAnimationFrame(r),l.disconnect(),c.current=null,window.removeEventListener("resize",n)}}),[t,i,r]);const f=`calc(${100/l}% - 24px)`;return e.jsxs(Br.default,{ref:s,variant:"outlined",component:Jr.default,position:"relative",sx:{overflowX:"hidden",overflowY:"visible"},children:[e.jsx(xo,{ref:d,paths:u,strokeColor:n}),i||"vertical"===r?e.jsx(Zo,{padding:{padding:2},children:e.jsx(Zr.default,{spacing:3,children:el.default(t,(t=>e.jsx(Ec,{node:t,setRef:h,themeColor:n},t.id)))})}):e.jsx(Zo,{padding:{padding:2},children:e.jsx(Zr.default,{direction:"row",alignItems:"flex-start",justifyContent:"flex-start",flexWrap:"wrap",gap:3,children:el.default(t,(t=>e.jsx(Tc,{node:t,setRef:h,themeColor:n,itemWidth:f},t.id)))})})]})},exports.UserProfileMenu=function({userDetails:t,menuItems:r,shouldCloseOnClick:l=!0}){const[n,i]=a.useState(null),o=a.useRef(null),{layout:s}=Vi(),d="desktop"===s,c=u.useTheme(),{iron:p}=c.palette.app.color,h=Boolean(n),C=()=>i(null),{name:x}=t;return e.jsxs(Br.default,{position:"relative",children:[e.jsx(Br.default,{sx:{display:"flex",alignItems:"center"},children:e.jsx(Fc,{ref:o,onClick:e=>{i(e.currentTarget)},size:"small","aria-haspopup":"true",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:1,color:"black",children:[e.jsx(ul.default,{src:t.avatar,sx:{border:`1px solid ${p[700]}`,width:28,height:28}}),d&&e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{maxWidth:150,noWrap:!0,children:x}),h?e.jsx(jl.default,{}):e.jsx(bl.default,{})]})]})})}),h&&e.jsx(rl.default,{open:!0,anchorEl:n,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{elevation:0,sx:{width:220,overflow:"visible",mt:1.5,px:0,py:0,filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))","& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1},"&:before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}}},children:e.jsx(Br.default,{sx:{padding:"4px 0"},children:r.map((({key:t,divider:r,label:n,icon:i,sx:o,onClick:a})=>e.jsxs(Br.default,{children:[r&&e.jsx($r.default,{}),e.jsx(Yr.default,{onClick:()=>{qr.default(a)&&(a(),l&&C())},children:(i||n)&&e.jsxs(Zr.default,{gap:"16px",alignItems:"center",width:"100%",flexDirection:"row",sx:{...o},children:[e.jsx(pi.default,{sx:{minWidth:"20px",alignItems:"center",...o},children:i}),n&&e.jsx(_r.default,{sx:{fontSize:"13px"},children:n})]})})]},`${t}_container`)))})})]})},exports.ViewDetailsIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"View Details",children:e.jsx(Gi,{disabled:t.disabled})})}),exports.ViewFilePreviewDialog=Ls,exports.ViewIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"View",children:e.jsx(Co,{disabled:t.disabled})})}),exports.accessorFnRegex=/([a-zA-Z0-9_$.\[\]]+)\s*!==\s*null\s*&&\s*\1\s*!==\s*void 0\s*\?\s*\1\s*:\s*/g,exports.appTheme=function(e){const{palette:t}=$i(e),{borderRadius:r,fontSize:l,fontWeight:n,minWidth:i,padding:o,height:a}=qi;return{palette:t,typography:zi,components:{MuiInputBase:{styleOverrides:{input:{padding:"8.5px 14px !important",color:t.app.color.slate[900],"::placeholder":{color:t.app.color.iron[800],opacity:1},"&:disabled":{background:t.app.color.iron[50],WebkitTextFillColor:t.app.color.iron[100]}}}},MuiCssBaseline:{styleOverrides:{":root":{fontSize:"62.5%"}}},MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:r,fontSize:l,fontWeight:n,minWidth:i,padding:o.medium,lineHeight:1.5,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0 2px 4px ${t.app.color.mirage[800]}`},"&:active":{transform:"scale(0.98)"}},sizeSmall:{height:a.small,padding:o.small},sizeMedium:{height:a.medium,padding:o.medium},sizeLarge:{height:a.large,padding:o.large}},defaultProps:{variant:"contained",color:"secondary",size:"medium"},variants:[{props:{variant:"contained"},style:{color:t.app.color.iron[600],boxShadow:"none","&:hover":{boxShadow:`0 2px 6px ${t.app.color.mirage[800]}`}}},{props:{variant:"outlined"},style:{borderWidth:"1px","&:hover":{borderWidth:"1px"}}},{props:{variant:"text"},style:{padding:o.medium,"&:hover":{backgroundColor:t.app.color.butterflyBlue[500]}}}]},MuiButtonGroup:{styleOverrides:{root:{textTransform:"none",borderRadius:"5px",border:`1px solid ${t.app.color.butterflyBlue[900]}`},firstButton:{border:"unset"},middleButton:{border:"unset"},lastButton:{border:"unset"}},defaultProps:{variant:"contained",color:"secondary"}},MuiCheckbox:{styleOverrides:{indeterminate:{"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900],borderRadius:"4px",width:"19px",height:"19px"}},root:{padding:"unset"}}},MuiBreadcrumbs:{styleOverrides:{root:{color:"unset"}}},MuiFormHelperText:{styleOverrides:{root:{marginLeft:"unset"}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:"unset",color:t.app.color.iron[400],fontWeight:500,fontSize:"13px"}}},MuiFormLabel:{styleOverrides:{root:{fontSize:"13px","&.Mui-disabled":{"& .MuiFormLabel-asterisk":{color:t.app.color.iron[800]}}},asterisk:{color:t.app.color.red[900]}}},MuiIconButton:{styleOverrides:{root:{borderRadius:"4px"}},defaultProps:{size:"small",color:"inherit"}},MuiAutocomplete:{styleOverrides:{paper:{fontSize:"1.4rem"},root:{"& .MuiInputBase-root":{padding:"unset"}}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:t.app.color.butterflyBlue[900],height:"3px"},root:{"& .MuiButtonBase-root":{minHeight:"48px",fontSize:"13px"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900]}}},defaultProps:{variant:"scrollable",scrollButtons:"auto",allowScrollButtonsMobile:!0}},MuiTab:{styleOverrides:{root:{textTransform:"none",fontWeight:500,fontSize:"13px",color:"black","&.Mui-selected":{color:"black"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900]}}}},MuiTypography:{defaultProps:{variantMapping:{...Oi}}},MuiLink:{styleOverrides:{root:{":hover":{color:t.app.color.butterflyBlue[900]}}}},MuiOutlinedInput:{styleOverrides:{root:{padding:"unset",":hover":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[900]}},"&.Mui-focused":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[900]}},"&.Mui-disabled":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[300]}}},notchedOutline:{borderColor:t.app.color.iron[800]}}},MuiInputAdornment:{styleOverrides:{root:{marginRight:"unset",paddingLeft:"14px"},positionEnd:{paddingRight:"10px"}}},MuiChip:{styleOverrides:{root:{padding:"0px 5px 0px 5px",border:0,borderRadius:"6px"}},defaultProps:{color:"success"},variants:[{props:{color:"success"},style:{background:t.app.color.darkMint[700],color:t.app.color.darkMint[900]}},{props:{color:"error"},style:{background:t.app.color.lipstickRed[600],color:t.app.color.red[800]}},{props:{color:"info"},style:{background:t.app.color.butterflyBlue[600],color:t.app.color.butterflyBlue[900]}}]},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${t.app.color.butterflyBlue[700]}`,padding:"10px 16px"}}}},spacing:10}},exports.calculateSummaryRow=Jo,exports.colorPaletteUI=()=>e.jsx(Zr.default,{spacing:4,sx:{padding:4},children:Object.entries(Ei).map((([t,r])=>e.jsxs(Zr.default,{spacing:2,children:[e.jsx(_r.default,{variant:"h6",sx:{textTransform:"capitalize"},children:t.replace(/([A-Z])/g," $1")}),e.jsx(Zr.default,{direction:"row",spacing:0,children:Object.entries(r).map((([t,r])=>e.jsx(Fi,{shade:t,color:r},t)))})]},t)))}),exports.dateFormats=Ja,exports.defaultPageSize=100,exports.downloadFile=yi,exports.downloadPrintHtml=async(e,t,r="section")=>{if(!e)return;const l=(await Rr.default(e,{scale:2})).toDataURL("image/png");if("image"===t){const e=document.createElement("a");e.href=l,e.download=`${r}.png`,e.click()}else{if(wi)return;wi=!0;const e=document.createElement("iframe");e.style.position="absolute",e.style.width="0",e.style.height="0",e.style.border="0",document.body.appendChild(e);const t=e.contentWindow?.document;if(!t)return void(wi=!1);t.body.innerHTML="",t.body.style.margin="0",t.body.style.display="flex",t.body.style.justifyContent="center",t.body.style.alignItems="center";const r=document.createElement("style");r.innerHTML="@page { margin: 0; }",t.head.appendChild(r);const n=new Image;n.src=l,n.style.maxWidth="100%",n.style.maxHeight="100%",n.onload=()=>{t.body.appendChild(n);const r=e.contentWindow;if(!r)return;const l=()=>{e.parentNode&&document.body.removeChild(e),wi=!1,r.removeEventListener("afterprint",l)};r.addEventListener("afterprint",l),r.focus(),r.print()}}},exports.emailRegex=/^(((?!.*[^\x00-\x7F])[^<>()[\]\\.,;:\s@"](\.[^<>()[\]\\.,;:\s@"])*){1,64}|(".{1,64}"))@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-zA-Z\-0-9]+(?:-[a-zA-Z\-0-9]+)*([.]{1,1}))){1,4}([a-zA-Z][a-zA-Z0-9]{1,}))|(?:\[(?:(?:(i|I)(p|P)(v)6:(?:(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){7})|(?:(?!(?:.*[a-zA-Z\-0-9][:\]]){7,})(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,5})?::(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,5})?)))|(?:(?:(i|I)(p|P)(v)6:(?:(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){5}:)|(?:(?!(?:.*[a-zA-Z\-0-9]:){5,})(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,3})?::(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/,exports.error_with_transaltion=Zs,exports.extractPrefixedValue=e=>{if(!e)return"-";const t=String(e),r=t.split("."),l=r.length>1?r[r.length-1]??t??"":t??"";return"null"===l||""===l?"-":l},exports.extractSortValue=ca,exports.filterByFields=Si,exports.flattenColumns=Ko,exports.formatDate=mi,exports.formatFilterData=bd,exports.formatHours=ji,exports.getArrowValue=Bc,exports.getColorByVariant=Ci,exports.getDifferenceInHHmmss=(e,t)=>{const r=p.DateTime.fromISO(e),l=p.DateTime.fromISO(t),n=(l<r?l.plus({days:1}):l).diff(r,["hours","minutes","seconds"]);return p.Duration.fromObject(n.toObject()).toFormat("hh:mm:ss")},exports.getFormValue=md,exports.getNextSortDirection=pa,exports.getPaletteByTheme=$i,exports.getStatusLabel=xi,exports.getTimeInHHmm=bi,exports.getZIndex=e=>{const t=parseInt(window.getComputedStyle(e).zIndex??"",10);return isNaN(t)?0:t},exports.highlightWordsRegex=Ti,exports.hslToRgb=ki,exports.hslaRegex=Ri,exports.isFileSizeValid=Mi,exports.isFileType=bs,exports.isFileTypeValid=Li,exports.isSelectionDisabled=ha,exports.isSortingEnabled=function(e,t){return Boolean(e&&t)},exports.isoDateRegex=Bi,exports.monthYearRegex=Ai,exports.noSpecialCharacterRegex=/^[a-zA-Z0-9 ]*$/,exports.numericRegex=/^-?\d*\.?\d*$/,exports.pageSizeOptions=Po,exports.serverityOptions={present:"P",holiday:"H",weekly_off:"WO",working:"P",first_half_off:"HO",second_half_off:"HO",full_day_weekly_off:"WO",first_half_weekly_off:"WO",second_half_weekly_off:"WO",paid_leave:"PL",absent:"A",unpaid_leave:"UPL",late_in_early_out:"LIEO",loss_of_pay:"LOP",penalty:"PEN",first_half_paid_leave:"L",second_half_paid_leave:"L",full_day_paid_leave:"L",first_half_unpaid_leave:"L",second_half_unpaid_leave:"L",full_day_unpaid_leave:"L",leave:"L",overtime:"OT"},exports.showNoRowsOverlay=Fo,exports.sortTableData=ua,exports.timeRegex=Ii,exports.toasts=Ea,exports.urlToNestedObject=Ki,exports.useAgGridCheckBoxSelection=({gridRef:e,setSelectedEmployee:t,currentPageItems:r,selectedEmployee:l})=>{const[n,i]=a.useState(!1),o=t=>{if(!e.current)return;const l=e.current.api;return r.forEach((({id:e})=>{l.getRowNode(e)?.setSelected(t)}))},s=()=>{const e=r.map((({id:e})=>e));return n?(i(!1),o(!1),t((t=>t.filter((t=>!e.includes(t)))))):(o(!0),i(!0),t((t=>[...t,...e])))};a.useEffect((()=>{const n=n=>{if("a"!==n.key.toLowerCase()||!n.ctrlKey&&!n.metaKey)return;if(Oo())return;const o=document.activeElement;if("INPUT"===o?.tagName||"TEXTAREA"===o?.tagName||"true"===o?.contentEditable)return;if(!r.length||!e.current)return;n.preventDefault(),n.stopPropagation();const a=e.current.api,s=r.map((({id:e})=>e));r.forEach((({id:e})=>{a.getRowNode(e)?.setSelected(!0)})),i(!0);const d=new Set(l),c=s.filter((e=>!d.has(e)));t([...l,...c])};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[r,e,t]),Di({key:"a",modifierKeys:"alt",onTrigger:()=>{if(Oo())return;const l=document.activeElement;if("INPUT"===l?.tagName||"TEXTAREA"===l?.tagName||"true"===l?.contentEditable)return;if(!r.length)return;const n=r.map((({id:e})=>e));if(!e.current)return;const o=e.current.api;r.forEach((({id:e})=>{o.getRowNode(e)?.setSelected(!1)})),i(!1),t((e=>e.filter((e=>!n.includes(e)))))}}),a.useEffect((()=>{const e=r.length>0&&r.every((({id:e})=>l.includes(e)));i(e);const t=e=>{if("Space"!==e.code)return;const t=e.target;t.classList.contains("ag-floating-filter")||t.classList.contains("ag-text-field-input")||(e.preventDefault(),s())},n=document.querySelector(".ag-header");return n?.addEventListener("keydown",t),()=>{n?.removeEventListener("keydown",t)}}),[r,l]);const d=r.filter((({id:e})=>l.includes(e))).length,c=d&&d<r.length||!1;return{isChecked:n,handleSelectAll:e=>{i(e.target.checked),s()},indeterminate:c,setIsChecked:i}},exports.useAgGridFilteredData=({gridRef:e})=>({getFilteredData:a.useCallback((()=>{const t=e.current?.api;if(!t)return[];const r=[];return t.forEachNodeAfterFilter((e=>{const t=e.data;t&&r.push(t)})),r}),[e])}),exports.useAgGridKeyboardShortcuts=({gridRef:e,isClientSide:t=!1})=>{a.useEffect((()=>{const e=e=>{"a"===e.key.toLowerCase()&&(e.ctrlKey||e.metaKey)&&Wo()&&(e.stopPropagation(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation())};return window.addEventListener("keydown",e,!0),()=>{window.removeEventListener("keydown",e,!0)}}),[]),Di({key:"a",modifierKeys:"ctrl",onTrigger:()=>{const t=e.current?.api;!t||zo()||Wo()||t.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&e.setSelected(!0)}))}}),Di({key:"a",modifierKeys:"alt",onTrigger:()=>{const t=e.current?.api;!t||zo()||Wo()||t.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&e.setSelected(!1)}))}}),a.useEffect((()=>{if(!t)return;const r=t=>{if("Space"!==t.code)return;const r=e.current?.api;if(!r)return;if(zo()||Wo())return;const l=t.target;if(l.classList.contains("ag-floating-filter")||l.classList.contains("ag-text-field-input"))return;const n=l.closest(".ag-header"),i=null!==l.closest(".ag-header-cell")||l.classList.contains("ag-header-cell"),o=r.getFocusedCell();if(n&&i&&!o?.rowIndex){t.preventDefault(),t.stopPropagation();const e=r.paginationGetPageSize?.(),l=r.paginationGetCurrentPage?.(),n=null!=e&&null!=l?e*l:null,i=null!=n&&null!=e?n+e:null;let o=0,a=0;if(r.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&!1!==e.selectable&&(null!=n&&null!=i&&((e.rowIndex??-1)<n||(e.rowIndex??-1)>=i)||(o++,e.isSelected()&&a++))})),0===o)return;const s=a===o;return void r.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&!1!==e.selectable&&(null!=n&&null!=i&&((e.rowIndex??-1)<n||(e.rowIndex??-1)>=i)||e.setSelected(!s,!1))}))}t.preventDefault();const a=r.getFocusedCell();if(!a)return;const s=r.getDisplayedRowAtIndex(a.rowIndex);s&&s.setSelected(!s.isSelected())};return window.addEventListener("keydown",r,!0),()=>window.removeEventListener("keydown",r,!0)}),[e,t])},exports.useAgGridRowSelectionConfig=({columnDefs:e,enableClickSelection:t=!1,isRowSelectable:r})=>{const l=a.useMemo((()=>e.some((e=>{const t=!!e.checkboxSelection,r=null!=e.field&&"id"===String(e.field)&&null!=e.headerComponent;return t||r}))),[e]);return{rowSelection:a.useMemo((()=>{if(!l)return;const e=Boolean(r);return{mode:"multiRow",enableClickSelection:t,checkboxes:e,...r&&{isRowSelectable:r,hideDisabledCheckboxes:!0}}}),[l,t,r]),selectionColumnDef:a.useMemo((()=>{if(l)return{headerName:"",colId:"id",width:1,minWidth:1,maxWidth:1,pinned:"left",lockPinned:!0,lockPosition:!0,suppressMovable:!0,suppressHeaderMenuButton:!0,suppressHeaderContextMenu:!0,suppressSizeToFit:!0,resizable:!1,sortable:!1,hide:!0,filter:!1,suppressHeaderKeyboardEvent:()=>!0,suppressKeyboardEvent:()=>!0,headerComponent:()=>null,cellRenderer:()=>null}}),[l])}},exports.useAgGridSelection=({gridRef:e,currentPageItems:t,totalRecords:r,selectedEmployee:l,fetchAll:n,getExtraParams:i,isRowSelectable:o})=>{const[s,d]=a.useState([]),[c,u]=a.useState(null),p=a.useRef(null),h=a.useRef(null),C=a.useRef(r),x=a.useRef(""),f=a.useMemo((()=>{try{return JSON.stringify(i())}catch{return""}}),[i]);a.useEffect((()=>{const e=x.current;""!==e&&f!==e&&(u(null),p.current=null),x.current=f}),[f]),a.useEffect((()=>{(null===p.current&&r>0||null!==p.current&&r>p.current)&&(p.current=r);C.current!==r&&c&&u(null),C.current=r}),[r,c,s.length]);const g=a.useMemo((()=>{if(!t.length)return{selected:0,checked:!1,indeterminate:!1};const e=o?t.filter((e=>o({data:e}))):t;if(!e.length)return{selected:0,checked:!1,indeterminate:!1};const r=e.filter((({id:e})=>s.includes(e))).length;return{selected:r,checked:r===e.length,indeterminate:r>0&&r<e.length}}),[t,s,o]),m=a.useCallback((()=>{if(!e.current)return;const r=e.current.api;t.forEach((e=>{const t=r.getRowNode(e.id);if(o&&!o({data:e}))return;const l=s.includes(e.id);t&&t.isSelected()!==l&&t.setSelected(l,void 0,"api")}))}),[e,t,s,o]);a.useEffect((()=>{m()}),[m]);const b=a.useCallback((()=>{const e=(o?t.filter((e=>o({data:e}))):t).map((({id:e})=>e));d((t=>{const r=new Set([...t,...e]);return Array.from(r)}))}),[t,o]),j=a.useCallback((()=>{const e=o?t.filter((e=>o({data:e}))):t,r=new Set(e.map((({id:e})=>e)));d((e=>e.filter((e=>!r.has(e)))))}),[t,o]),y=a.useCallback((async t=>{const l=i(),a=t??h.current??{startRow:0,endRow:r||0},{list:s,totalCount:c,selectableCount:C}=await n({...a,startRow:0,endRow:r??0,...l}),x=o?s.filter((e=>o({data:e}))):s,f=Array.from(new Set(x.map((({id:e})=>e))));u(s);const g=o?s.filter((e=>o({data:e}))).length:s.length;void 0!==C?null===p.current&&(p.current=C):null===p.current&&(p.current=g),d((e=>{const t=new Set([...e,...f]);return Array.from(t)})),0===r&&c&&e.current?.api?.setRowCount(c,!1)}),[n,r,e,o,i]),w=a.useCallback((()=>{d([]),u(null),e.current&&e.current.api.deselectAll()}),[e]),v=a.useCallback((()=>{if(!e.current)return;const r=e.current.api.getSelectedRows(),l=(o?r.filter((e=>o({data:e}))):r).map((({id:e})=>e)),n=t.map((({id:e})=>e));d((e=>{const t=e.filter((e=>!n.includes(e))),r=new Set([...t,...l]);return Array.from(r)}))}),[e,t,o]),M=a.useCallback((e=>{h.current=e}),[]),L=l.length,k=(()=>{if(c?.length){return o?c.filter((e=>o({data:e}))).length:c.length}return r})(),S=a.useMemo((()=>{if(!L)return null;const e=p.current;return null!==e&&L===e?{show:!0,text:`All ${e} rows are selected.`,buttonText:"Clear selection",onButtonClick:w}:k===L?{show:!0,text:`All ${k} rows are selected.`,buttonText:"Clear selection",onButtonClick:w}:{show:!0,text:`${L} rows selected.`,buttonText:`Select all ${k} rows`,onButtonClick:()=>{y()}}}),[L,k,w,y]),H=a.useCallback((()=>{if(document.querySelector('.MuiBackdrop-root:not([style*="display: none"])'))return!0;const e=document.querySelectorAll('[role="dialog"], .MuiDialog-root, .MuiModal-root');if(0===e.length)return!1;for(const t of Array.from(e)){const e=t,r=window.getComputedStyle(e);if("none"!==r.display&&"hidden"!==r.visibility&&parseFloat(r.opacity)>0)return!0}return!1}),[]),Z=a.useCallback((()=>{const e=document.activeElement;return"INPUT"===e?.tagName||"TEXTAREA"===e?.tagName||"true"===e?.contentEditable}),[]),V=a.useCallback((e=>!!e&&(e.classList.contains("ag-floating-filter")||e.classList.contains("ag-text-field-input")||null!==e.closest(".ag-floating-filter")||null!==e.closest(".ag-text-field-input"))),[]),D=a.useCallback((e=>{const t=e||document.activeElement;return null!==t?.closest(".ag-header-cell")||null!==t?.closest(".ag-selection-checkbox")||"columnheader"===t?.getAttribute("role")}),[]),A=a.useCallback((e=>{H()||(e.preventDefault(),b())}),[b,H]),B=a.useCallback((e=>{if(H())return;const t=document.activeElement;"INPUT"===t?.tagName||"TEXTAREA"===t?.tagName||"true"===t?.contentEditable||(e.preventDefault(),j())}),[j,V,H]),I=a.useCallback((e=>{const t=e.target;V(t)||(e.preventDefault(),g.checked?j():b())}),[g.checked,j,b,V]);return a.useEffect((()=>{const r=r=>{if(Z()||!t.length)return;if("a"!==r.key.toLowerCase()||!r.ctrlKey&&!r.metaKey){if("KeyA"===r.code&&r.altKey)B(r);else if(("Space"===r.code||" "===r.key)&&e.current){const e=r.target;D(e)&&!V(e)&&I(r)}}else A(r)};return document.addEventListener("keydown",r,!0),()=>document.removeEventListener("keydown",r,!0)}),[t.length,A,B,I,Z,D,e]),{selectedIds:s,allDataCache:c,setLastQueryParams:M,selectCurrentPage:b,deselectCurrentPage:j,clearSelection:w,onSelectionChanged:v,checkboxState:{checked:g.checked,indeterminate:g.indeterminate},message:S}},exports.useAgGridSummaryRow=function({data:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){const n=a.useMemo((()=>Jo({data:"function"==typeof e?e():e,columns:t,exemptFields:r,summaryLabel:l})),[e,t,r,l]),{rawSummary:i,formattedSummary:o}=n??{};return{summaryRow:i,pinnedBottomRowData:i&&[i],formattedSummary:o}},exports.useAgGridSummaryRowUpdate=function({gridRef:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){return{updateSummaryRow:a.useCallback((()=>{const n=e.current?.api;if(!n)return;const i=[];n.forEachNodeAfterFilter((e=>{const t=e.data;t&&i.push(t)}));const o=Jo({data:i,columns:t,exemptFields:r,summaryLabel:l});o?.rawSummary?n.setGridOption("pinnedBottomRowData",[o.rawSummary]):n.setGridOption("pinnedBottomRowData",[])}),[e,t,r,l])}},exports.useDialogActions=Hi,exports.useExportToExcel=function(){const{styleCell:e}=(()=>{const e=j.useTheme(),{iron:t,black:r}=e.palette.app.color,l=uc(t[700]),n=uc(r[900]),i=uc(t[800]),o={bottom:{color:{argb:i},style:"thin"},left:{color:{argb:i},style:"thin"},right:{color:{argb:i},style:"thin"},top:{color:{argb:i},style:"thin"}},a={fgColor:{argb:l},pattern:"solid",type:"pattern"};return{styleCell:(e,t)=>{e.border=o,"header"===t?(e.font={bold:!0,color:{argb:n},size:14},e.fill=a):"total"===t&&(e.font={bold:!0,size:12},e.fill=a)}}})();return{exportToExcel:(t,r,l,n)=>bc(t,{fileName:r,numericColumns:l,excludedColumns:n},e)}},exports.useFormFieldFocus=Zi,exports.useGetDeviceType=Vi,exports.useGlobalKeyboardShortcut=Di,exports.useNavigationKeyContext=gi,exports.useSorting=Ca;
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material/Button"),r=require("@mui/material/IconButton"),l=require("@mui/material/Menu"),n=require("@mui/material/MenuItem"),i=require("@mui/material/Stack"),o=require("lodash/noop"),a=require("react"),s=require("@mui/icons-material/CheckBoxRounded"),d=require("@mui/material/Box"),c=require("@mui/material/Checkbox"),u=require("@mui/material/styles"),p=require("luxon"),h=require("file-saver"),C=require("html2canvas"),x=require("@mui/material/useMediaQuery"),f=require("lodash/castArray"),g=require("lodash/every"),m=require("@mui/material/Tooltip"),b=require("@mui/material/Typography"),j=require("@mui/material"),y=require("lodash/isEmpty"),w=require("@mui/icons-material/ExpandMoreRounded"),v=require("@mui/material/CircularProgress"),M=require("@mui/material/Divider"),L=require("lodash/isFunction"),k=require("@mui/material/ButtonGroup"),S=require("@mui/icons-material/ArrowDropDown"),H=require("@mui/material/ClickAwayListener"),Z=require("@mui/material/Grow"),V=require("@mui/material/ListItemButton"),A=require("@mui/material/MenuList"),D=require("@mui/material/Paper"),B=require("@mui/material/Popper"),I=require("lodash/map"),R=require("@mui/icons-material/MoreVert"),T=require("@mui/material/Popover"),E=require("ag-grid-react"),F=require("@mui/material/CircularProgress/circularProgressClasses"),P=require("ag-grid-community"),_=require("lodash/flattenDeep"),O=require("lodash/get"),z=require("lodash/isNaN"),W=require("lodash/isNumber"),$=require("lodash/isString"),q=require("lodash/sumBy"),K=require("@mui/material/Skeleton"),N=require("@mui/material/Avatar"),G=require("@mui/material/AppBar"),U=require("@mui/material/Badge"),Y=require("@mui/material/Breadcrumbs"),X=require("uuid"),J=require("@mui/material/Chip"),Q=require("@mui/icons-material/Clear"),ee=require("@mui/icons-material/ArrowDownward"),te=require("@mui/icons-material/ArrowUpward"),re=require("@mui/icons-material/KeyboardArrowDown"),le=require("@mui/icons-material/KeyboardArrowUp"),ne=require("@mui/material/Table"),ie=require("@mui/material/TableBody"),oe=require("@mui/material/TableCell"),ae=require("@mui/material/TableHead"),se=require("@mui/material/TableRow"),de=require("@tanstack/react-virtual"),ce=require("lodash/keyBy"),ue=require("lodash/omit"),pe=require("lodash/range"),he=require("lodash/some"),Ce=require("lodash/uniqBy"),xe=require("lodash/values"),fe=require("@mui/x-charts/BarChart"),ge=require("@mui/x-charts/LineChart"),me=require("@mui/x-charts/hooks"),be=require("@mui/x-charts/PieChart"),je=require("@mui/icons-material/Check"),ye=require("@mui/icons-material/ContentCopy"),we=require("react-syntax-highlighter"),ve=require("@mui/material/Autocomplete"),Me=require("@mui/material/InputAdornment"),Le=require("@mui/material/InputLabel"),ke=require("@mui/material/TextField"),Se=require("lodash/filter"),He=require("lodash/find"),Ze=require("lodash/isArray"),Ve=require("lodash/isObject"),Ae=require("react-hook-form"),De=require("react-i18next"),Be=require("react-toastify"),Ie=require("@mui/icons-material/AddCircleOutline"),Re=require("@mui/icons-material/CheckCircleOutline"),Te=require("@mui/icons-material/Close"),Ee=require("@mui/icons-material/ErrorOutline"),Fe=require("@mui/icons-material/HighlightOff"),Pe=require("@mui/material/Link"),_e=require("@mui/material/Chip/chipClasses"),Oe=require("@mui/material/Checkbox/Checkbox"),ze=require("@mui/icons-material/ChevronLeft"),We=require("@mui/icons-material/ChevronRight"),$e=require("@mui/x-date-pickers/DatePicker"),qe=require("react-date-range"),Ke=require("@mui/x-date-pickers/DateTimePicker"),Ne=require("@mui/icons-material/InfoOutlined"),Ge=require("react-number-format"),Ue=require("@mui/icons-material/ZoomInOutlined"),Ye=require("@mui/icons-material/ZoomOutOutlined"),Xe=require("@mui/material/Grid"),Je=require("@mui/icons-material/Add"),Qe=require("@mui/icons-material/RotateLeftOutlined"),et=require("@mui/material/Dialog"),tt=require("@mui/material/DialogActions"),rt=require("@mui/material/DialogContent"),lt=require("@mui/material/DialogTitle"),nt=require("@mui/icons-material/InfoTwoTone"),it=require("@mui/icons-material/AttachFile"),ot=require("@mui/icons-material/DeleteOutlineOutlined"),at=require("@mui/icons-material/VisibilityOutlined"),st=require("lodash/drop"),dt=require("lodash/join"),ct=require("lodash/last"),ut=require("lodash/split"),pt=require("lodash/isNull"),ht=require("@mui/icons-material/CameraAltOutlined"),Ct=require("@mui/icons-material/Delete"),xt=require("@mui/icons-material/Edit"),ft=require("@mui/icons-material/PersonAddAlt"),gt=require("@mui/material/Fade"),mt=require("file64"),bt=require("react-webcam"),jt=require("@mui/icons-material/LockOutlined"),yt=require("@mui/icons-material/VisibilityOffOutlined"),wt=require("react-phone-input-2"),vt=require("@mui/material/FormControlLabel"),Mt=require("@mui/material/Radio"),Lt=require("@mui/material/RadioGroup"),kt=require("@mui/material/FormHelperText"),St=require("@mui/material/Rating"),Ht=require("@mui/icons-material/SearchOutlined"),Zt=require("@mui/material/ListItemText"),Vt=require("@mui/material/Select"),At=require("@mui/x-date-pickers"),Dt=require("@mui/material/FormControl"),Bt=require("@mui/material/Switch"),It=require("@mui/x-date-pickers/TimeField"),Rt=require("@mui/x-date-pickers/TimePicker"),Tt=require("@mui/icons-material/Lock"),Et=require("lodash/fromPairs"),Ft=require("@mui/material/List"),Pt=require("@mui/icons-material/Circle"),_t=require("@mui/material/Drawer"),Ot=require("@mui/material/Collapse"),zt=require("@mui/icons-material/ExpandLess"),Wt=require("@mui/icons-material/ExpandMore"),$t=require("@hookform/resolvers/zod"),qt=require("@mui/material/Accordion"),Kt=require("@mui/material/AccordionDetails"),Nt=require("@mui/material/AccordionSummary"),Gt=require("lodash/isEqual"),Ut=require("lodash/isNil"),Yt=require("lodash/omitBy"),Xt=require("zod"),Jt=require("lodash/sortBy"),Qt=require("@mui/material/TablePagination"),er=require("@dnd-kit/core"),tr=require("@dnd-kit/sortable"),rr=require("iconoir-react"),lr=require("usehooks-ts"),nr=require("@mui/icons-material"),ir=require("@dnd-kit/utilities"),or=require("@tanstack/react-table"),ar=require("date-fns"),sr=require("exceljs"),dr=require("react-dom"),cr=require("@mui/material/Step"),ur=require("@mui/material/StepLabel"),pr=require("@mui/material/Stepper"),hr=require("@mui/material/StepConnector"),Cr=require("@mui/material/Tab"),xr=require("@mui/material/Tabs"),fr=require("@mui/material/Tabs/tabsClasses"),gr=require("@mui/material/TabScrollButton"),mr=require("@mui/material/Tab/tabClasses"),br=require("lodash/truncate"),jr=require("@mui/material/Slider"),yr=require("lodash/forEach"),wr=require("@mui/material/ListItemIcon"),vr=require("@mui/material/Menu/menuClasses");function Mr(e){return e&&e.__esModule?e:{default:e}}var Lr=Mr(t),kr=Mr(r),Sr=Mr(l),Hr=Mr(n),Zr=Mr(i),Vr=Mr(o),Ar=Mr(a),Dr=Mr(s),Br=Mr(d),Ir=Mr(c),Rr=Mr(C),Tr=Mr(x),Er=Mr(f),Fr=Mr(g),Pr=Mr(m),_r=Mr(b),Or=Mr(y),zr=Mr(w),Wr=Mr(v),$r=Mr(M),qr=Mr(L),Kr=Mr(k),Nr=Mr(S),Gr=Mr(H),Ur=Mr(Z),Yr=Mr(V),Xr=Mr(A),Jr=Mr(D),Qr=Mr(B),el=Mr(I),tl=Mr(R),rl=Mr(T),ll=Mr(F),nl=Mr(_),il=Mr(O),ol=Mr(z),al=Mr(W),sl=Mr($),dl=Mr(q),cl=Mr(K),ul=Mr(N),pl=Mr(G),hl=Mr(U),Cl=Mr(Y),xl=Mr(J),fl=Mr(Q),gl=Mr(ee),ml=Mr(te),bl=Mr(re),jl=Mr(le),yl=Mr(ne),wl=Mr(ie),vl=Mr(oe),Ml=Mr(ae),Ll=Mr(se),kl=Mr(ce),Sl=Mr(ue),Hl=Mr(pe),Zl=Mr(he),Vl=Mr(Ce),Al=Mr(xe),Dl=Mr(je),Bl=Mr(ye),Il=Mr(ve),Rl=Mr(Me),Tl=Mr(Le),El=Mr(ke),Fl=Mr(Se),Pl=Mr(He),_l=Mr(Ze),Ol=Mr(Ve),zl=Mr(Ie),Wl=Mr(Re),$l=Mr(Te),ql=Mr(Ee),Kl=Mr(Fe),Nl=Mr(Pe),Gl=Mr(_e),Ul=Mr(Oe),Yl=Mr(ze),Xl=Mr(We),Jl=Mr(Ne),Ql=Mr(Ue),en=Mr(Ye),tn=Mr(Xe),rn=Mr(Je),ln=Mr(Qe),nn=Mr(et),on=Mr(tt),an=Mr(rt),sn=Mr(lt),dn=Mr(nt),cn=Mr(it),un=Mr(ot),pn=Mr(at),hn=Mr(st),Cn=Mr(dt),xn=Mr(ct),fn=Mr(ut),gn=Mr(pt),mn=Mr(ht),bn=Mr(Ct),jn=Mr(xt),yn=Mr(ft),wn=Mr(gt),vn=Mr(bt),Mn=Mr(jt),Ln=Mr(yt),kn=Mr(wt),Sn=Mr(vt),Hn=Mr(Mt),Zn=Mr(Lt),Vn=Mr(kt),An=Mr(St),Dn=Mr(Ht),Bn=Mr(Zt),In=Mr(Vt),Rn=Mr(Dt),Tn=Mr(Bt),En=Mr(Tt),Fn=Mr(Et),Pn=Mr(Ft),_n=Mr(Pt),On=Mr(_t),zn=Mr(Ot),Wn=Mr(zt),$n=Mr(Wt),qn=Mr(qt),Kn=Mr(Kt),Nn=Mr(Nt),Gn=Mr(Gt),Un=Mr(Ut),Yn=Mr(Yt),Xn=Mr(Jt),Jn=Mr(Qt),Qn=Mr(sr),ei=Mr(cr),ti=Mr(ur),ri=Mr(pr),li=Mr(hr),ni=Mr(Cr),ii=Mr(xr),oi=Mr(fr),ai=Mr(gr),si=Mr(mr),di=Mr(br),ci=Mr(jr),ui=Mr(yr),pi=Mr(wr),hi=Mr(vr);const Ci=(e,t="dark")=>{const r=u.useTheme(),{darkMint:l,sapphireBlue:n,darkOrange:i,orchid:o,lipstickRed:a,deepAqua:s,slate:d}=r.palette.app.color,c="dark"===t?"penalty"===e?800:900:600;switch(e){case"present":case"working":return l[c];case"holiday":return n[c];case"weekly_off":case"full_day_weekly_off":case"first_half_weekly_off":case"second_half_weekly_off":return i[c];case"paid_leave":case"first_half_paid_leave":case"second_half_paid_leave":case"full_day_paid_leave":return o[c];case"absent":case"first_half_off":case"second_half_off":case"penalty":default:return a[c];case"unpaid_leave":case"first_half_unpaid_leave":case"second_half_unpaid_leave":case"full_day_unpaid_leave":return s[c];case"late_in_early_out":case"loss_of_pay":return a[800];case"overtime":return d[c]}},xi=e=>{switch(e){case"present":return"Present";case"absent":default:return"Absent";case"weekly_off":case"full_day_weekly_off":return"Weekly Off";case"working":return"Working";case"holiday":return"Holiday";case"paid_leave":return"Paid Leave";case"unpaid_leave":return"Unpaid Leave";case"first_half_weekly_off":return"First Half Weekly Off";case"second_half_weekly_off":return"Second Half Weekly Off";case"first_half_off":return"First Half Off";case"second_half_off":return"Second Half Off";case"late_in_early_out":return"Late In/Early Out";case"loss_of_pay":return"Loss of Pay";case"penalty":return"Penalty";case"first_half_paid_leave":return"First Half Paid Leave";case"second_half_paid_leave":return"Second Half Paid Leave";case"full_day_paid_leave":return"Full Day Paid Leave";case"first_half_unpaid_leave":return"First Half Unpaid Leave";case"second_half_unpaid_leave":return"Second Half Unpaid Leave";case"full_day_unpaid_leave":return"Full Day Unpaid Leave";case"leave":return"Leave";case"overtime":return"Overtime"}},fi=a.createContext({navigationKey:"tab"});function gi(){return a.useContext(fi)}const mi=(e,t="dd-MM-yyyy")=>p.DateTime.fromISO(e).toFormat(t),bi=(e,t="HH:mm")=>{const r=p.DateTime.fromISO(e);return r.isValid?r.toFormat(t):""},ji=e=>{if(!e)return"0h 0m";if("number"==typeof e){const t=p.Duration.fromObject({hours:e});if(!t.isValid)return"0h 0m";return`${Math.floor(t.as("hours"))}h ${Math.floor(t.as("minutes"))%60}m`}if("string"!=typeof e)return"0h 0m";const t=e.trim();if(!t)return"0h 0m";const r=t.split(":");if(!Array.isArray(r)||r.length<2)return"0h 0m";const l=r[0]?parseInt(r[0],10):0,n=r[1]?parseInt(r[1],10):0;return Number.isNaN(l)||Number.isNaN(n)?"0h 0m":`${l}h ${n}m`},yi=async(e,t)=>{const r=await fetch(e);if(!r.ok)return;const l=await r.blob();h.saveAs(l,t)};let wi=!1;const vi=["image/png","image/jpeg","image/jpg","application/pdf","application/zip","application/msword","application/x-zip-compressed","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-excel"],Mi=(e,t)=>{const r=1024*t*1024;return e.size<=r},Li=(e,t)=>t.includes(e.type),ki=(e,t,r)=>{const l=(1-Math.abs(2*r-1))*t,n=l*(1-Math.abs(e/60%2-1)),i=r-l/2;let o=0,a=0,s=0;return[o,a,s]=e<60?[l,n,0]:e<120?[n,l,0]:e<180?[0,l,n]:e<240?[0,n,l]:e<300?[n,0,l]:[l,0,n],[Math.round(255*(o+i)),Math.round(255*(a+i)),Math.round(255*(s+i))]},Si=({data:e,fieldsToSearch:t,term:r})=>{const l=[...e];if(!r)return l;const n=r.toLowerCase();return l.filter((e=>t.some((t=>{const r=e[t];return r&&String(r).toLowerCase().includes(n)}))))};function Hi(){const[e,t]=a.useState();return{onDialogClose:()=>t(void 0),onDialogOpen:e=>t(e),openedDialog:e}}function Zi({isOpen:e,navigationKey:t}){const{navigationKey:r}=gi(),l=t??r,n=a.useRef(null),i=a.useRef(!1),o=a.useRef(!1),s=a.useRef(null),[d,c]=a.useState(!1);a.useEffect((()=>{const e=n.current instanceof HTMLInputElement?n.current:null;if(!e)return;const t=()=>{s.current&&(clearTimeout(s.current),s.current=null),o.current=!0},r=()=>{s.current&&clearTimeout(s.current),s.current=setTimeout((()=>{document.activeElement!==n.current&&(o.current=!1),s.current=null}),200)};return e.addEventListener("focus",t),e.addEventListener("blur",r),()=>{e.removeEventListener("focus",t),e.removeEventListener("blur",r),s.current&&(clearTimeout(s.current),s.current=null)}}),[d]),a.useEffect((()=>{o.current&&n.current&&requestAnimationFrame((()=>{n.current&&document.activeElement!==n.current&&o.current&&n.current.focus()}))})),a.useEffect((()=>{!e&&i.current&&n.current&&(i.current=!1,setTimeout((()=>{requestAnimationFrame((()=>{n.current&&n.current.focus()}))}),10))}),[e]);const u=a.useCallback((()=>{n.current&&requestAnimationFrame((()=>{n.current?.focus()}))}),[]),p=a.useCallback((()=>{i.current=!0}),[]),h=a.useCallback((()=>{const e=["a[href]","button:not([disabled])","textarea:not([disabled])","input:not([disabled])","select:not([disabled])","[tabindex]:not([tabindex='-1'])"].join(", ");return Array.from(document.querySelectorAll(e)).filter((e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&!e.hasAttribute("disabled")&&(null===e.getAttribute("tabindex")||"-1"!==e.getAttribute("tabindex"))}))}),[]),C=a.useCallback((e=>{if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName)return e;return e.querySelector("input, textarea, select")||e}),[]),x=a.useCallback(((e,t=!1)=>{const r=e.target,l=document.activeElement??n.current??r;if(!l)return;if(("TEXTAREA"===l.tagName||"TEXTAREA"===r.tagName||l instanceof HTMLElement&&l.querySelector("textarea"))&&!t)return;if(e.ctrlKey||e.metaKey||e.altKey)return;e.preventDefault(),e.stopPropagation();const i=h(),o=(e=>{if(i.includes(e))return e;for(const t of i)if(t===e||t.contains(e))return t;return null})(l);if(!o)return;const a=i.indexOf(o);if(-1===a)return;let s=null;if(e.shiftKey?a>0&&(s=i[a-1]||null):a<i.length-1&&(s=i[a+1]||null),s){const e=C(s);e?setTimeout((()=>{e.focus(),(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&e.select()}),0):s.focus()}else l.blur()}),[h,C]),f=a.useCallback(((e,t,r)=>{if(r&&("Tab"===e.key||"Escape"===e.key))return e.preventDefault(),e.stopPropagation(),t?.(),void p();if("enter"===l&&"Enter"===e.key&&!r){const t=document.activeElement??n.current??e.target,r=Boolean("TEXTAREA"===t?.tagName||"TEXTAREA"===e.target?.tagName||t instanceof HTMLElement&&t.querySelector("textarea")),l=Boolean("BUTTON"===t?.tagName||"BUTTON"===e.target?.tagName);x(e,r||l)}}),[p,l,x,n]),g=a.useCallback((e=>{if(e){(document.activeElement===e||e instanceof HTMLElement&&document.activeElement instanceof Node&&e.contains(document.activeElement)||o.current)&&!o.current&&(o.current=!0),n.current=e,c(!0),o.current&&requestAnimationFrame((()=>{n.current&&document.activeElement!==n.current&&n.current.focus()}))}else n.current=null,c(!1)}),[]);return{inputRef:n,setInputRef:g,maintainFocus:u,maintainFocusAfterClose:p,handleKeyDown:f,handleEnterNavigation:x}}function Vi(){const e=u.useTheme(),t=Tr.default(e.breakpoints.down("sm")),r=Tr.default(e.breakpoints.between("sm","md")),l=Tr.default(e.breakpoints.up("md"));return{layout:t?"mobile":r?"tablet":"desktop",isMobile:t,isTablet:r,isDesktop:l}}const Ai=({key:e,onTrigger:t,modifierKeys:r="ctrl",withoutModifiers:l=!1,enabled:n=!0})=>{const i=a.useMemo((()=>JSON.stringify(Er.default(r).sort(((e,t)=>e.localeCompare(t))))),[r]);a.useEffect((()=>{if(!n)return;const i=n=>{const i=n.target,o=i?.closest(".MuiAutocomplete-root");if(o){const e=o.querySelector(".MuiAutocomplete-inputRoot");if("true"===e?.getAttribute("aria-expanded")||document.querySelector('[role="listbox"][aria-expanded="true"]')||document.querySelector(".MuiAutocomplete-popper[data-popper-placement]")||document.querySelector(".MuiAutocomplete-paper"))return}const a=document.activeElement,s=a?.closest(".MuiAutocomplete-root");if(s){const e=s.querySelector(".MuiAutocomplete-inputRoot");if("true"===e?.getAttribute("aria-expanded")||document.querySelector('[role="listbox"][aria-expanded="true"]'))return}const d=1===e.length?`Key${e.toUpperCase()}`:e,c=n.code?.toLowerCase()===d?.toLowerCase();if(l){const e=!n.ctrlKey&&!n.shiftKey&&!n.altKey;return void(c&&e&&!n.repeat&&(n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),t()))}const u=Er.default(r),p=Fr.default(u,(e=>{switch(e){case"ctrl":return n.ctrlKey;case"shift":return n.shiftKey;case"alt":return n.altKey;default:return!0}})),h=u;let C=0;h.includes("ctrl")&&n.ctrlKey&&C++,h.includes("shift")&&n.shiftKey&&C++,h.includes("alt")&&n.altKey&&C++;const x=n.ctrlKey&&!h.includes("ctrl")||n.shiftKey&&!h.includes("shift")||n.altKey&&!h.includes("alt");c&&p&&C===u.length&&!x&&!n.repeat&&(n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),t())};return window.addEventListener("keydown",i,!0),()=>window.removeEventListener("keydown",i,!0)}),[e,i,t,l,n])},Di=/^\d{4}-\d{2}$/,Bi=/^\d{4}-\d{2}-\d{2}$/,Ii=/^\d{1,3}:\d{2}(:\d{2})?$/,Ri=/hsla?\((\d+),\s*(\d+)%,\s*(\d+)%,?\s*([\d.]+)?\)/,Ti=/[.*+?^${}()|[\]\\]/g,Ei={iron:{900:"hsla(0, 0%, 49%, 1)",800:"hsla(0, 0%, 67%, 1)",700:"hsla(0, 0%, 85%, 1)",600:"hsla(0, 0%, 100%, 1)",500:"hsla(218, 15%, 59%, 1)",400:"hsla(0, 0%, 18%, 1)",300:"hsla(0, 0%, 0%, 0.35)",50:"hsla(0, 0%, 0%, 0.02)",100:"hsla(0, 0%, 0%, 0.50)",200:"hsla(0, 0.00%, 38.00%, 0.95)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},slate:{900:"hsla(212, 19%, 37%, 1)",800:"hsl(210, 20%, 96%)",700:"hsl(193, 22%, 92%)",600:"\thsl(0, 0%, 98%)",500:"hsl(0, 0%, 49%)",50:"hsla(0, 0.00%, 31.40%, 1)",100:"hsla(0, 0.00%, 79.20%, 1)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0.00%, 94.50%, 1)",400:"hsla(212, 18%, 47%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},mirage:{900:"hsla(224, 35%, 12%, 1)",800:"hsla(230, 90%, 3%, 0.08)",700:"hsla(226, 34%, 15%, 1)",600:"hsla(0, 0%, 22%, 0.7)",500:"hsla(0, 0%, 18%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lightSlateBlue:{900:"hsla(234, 99%, 68%, 1)",800:"hsla(234, 98%, 81%, 1)",700:"hsla(233, 100%, 94%, 1)",600:"hsla(236, 100%, 97%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(240, 11.10%, 98.20%, 1)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(197, 70%, 85%, 1)",400:"hsla(197, 92%, 66%, 1)",500:"hsla(196, 73%, 51%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lipstickRed:{900:"hsla(349, 90%, 41%, 1)",800:"hsla(350, 63%, 64%, 1)",700:"hsla(349, 66%, 87%, 1)",600:"hsla(348, 100%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},darkOrange:{900:"hsla(32, 100%, 52%, 1)",800:"hsla(32, 100%, 71%, 1)",700:"hsla(33, 100%, 90%, 1)",600:"hsla(33, 100%, 95%, 1)",50:"hsla(18, 92%, 76%, 1)",100:"hsla(15, 70%, 60%, 1)",200:"hsla(15, 70%, 70%, 1)",300:"hsla(15, 70%, 80%, 1)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},deepAqua:{900:"hsla(183, 87%, 27%, 1)",800:"hsla(184, 50%, 68%, 1)",700:"hsla(183, 68%, 79%, 1)",600:"hsla(183, 85%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},sapphireBlue:{900:"hsla(223, 59%, 49%, 1)",800:"hsla(223, 56%, 69%, 1)",700:"hsla(222, 58%, 90%, 1)",600:"hsla(223, 54%, 95%, 1)",500:"hsl(216, 100%, 91%)",400:"\thsl(217, 100%, 95%)",300:"\thsl(193, 22%, 92%)",50:"hsla(223, 56%, 35%, 1)",100:"hsla(223, 61.2%, 59.6%, 1)",200:"hsla(222, 96%, 79%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},darkMint:{900:"hsla(136, 59%, 49%, 1)",800:"hsla(136, 56%, 69%, 1)",700:"hsla(136, 58%, 90%, 1)",600:"hsla(133, 54%, 95%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},butterflyBlue:{900:"hsla(203, 79%, 57%, 1)",800:"hsla(204, 79%, 74%, 1)",700:"hsl(204, 16%, 88%)",600:"hsla(209, 83%, 91%, 1)",500:"hsla(203, 82%, 96%, 1)",400:"hsla(208, 25%, 66%, 1)",300:"hsla(207, 17%, 88%, 1)",50:"hsla(209, 83%, 53%, 1)",100:"hsla(209, 24%, 83%, 1)",200:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},orchid:{900:"hsla(295, 60%, 66%, 1)",800:"hsla(295, 61%, 80%, 1)",700:"hsla(297, 60%, 93%, 1)",600:"hsla(295, 65%, 97%, 1)",50:"rgb(78, 72, 158)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(244, 57%, 75%, 1)",300:"hsla(242, 48%, 66%, 1)",400:"hsla(241, 29%, 54%, 1)",500:"hsla(242, 65%, 64%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},red:{900:"hsla(0, 90%, 47%, 1)",800:"hsla(0, 73%, 59%, 1)",700:"hsla(0, 81%, 37%, 1)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},lightBlue:{100:"hsla(193, 4%, 92%)",50:"hsla(193, 0%, 100%)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",700:"hsla(0, 0%, 0%, 0)",800:"hsla(0, 0%, 0%, 0)",900:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},black:{900:"hsl(0, 0%, 0%)",50:"hsla(0, 0%, 0%, 0)",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 0%, 0%, 0)",400:"hsla(0, 0%, 0%, 0)",500:"hsla(0, 0%, 0%, 0)",600:"hsla(0, 0%, 0%, 0)",700:"hsla(0, 0%, 0%, 0)",800:"hsla(0, 0%, 0%, 0)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},violet:{900:"hsla(244, 58%, 25%, 1)",800:"hsla(244, 58%, 35%, 1)",700:"hsla(244, 58%, 50%, 1)",600:"hsla(244, 58%, 65%, 1)",500:"hsla(244, 58%, 59%, 1)",400:"hsla(244, 58%, 59%, 0.85)",300:"hsla(244, 58%, 59%, 0.35)",200:"hsla(244, 58%, 59%, 0.2)",100:"hsla(244, 58%, 59%, 0.1)",50:"hsla(244, 58%, 59%, 0.05)",A100:"hsla(244, 58%, 59%, 0.1)",A200:"hsla(244, 58%, 59%, 0.2)",A400:"hsla(244, 58%, 59%, 0.4)",A700:"hsla(244, 58%, 59%, 0.7)"},purple:{900:"rgb(128, 0, 128)",800:"rgb(128, 0, 128)",700:"rgb(128, 0, 128)",600:"rgb(128, 0, 128)",500:"rgb(128, 0, 128)",400:"rgb(128, 0, 128)",300:"rgb(128, 0, 128)",200:"rgb(128, 0, 128)",100:"rgb(128, 0, 128)",50:"rgb(128, 0, 128)",A100:"rgb(128, 0, 128)",A200:"rgb(128, 0, 128)",A400:"rgb(128, 0, 128)",A700:"rgb(128, 0, 128)"},brown:{900:"rgb(185, 120, 1)",800:"rgb(185, 120, 1)",700:"rgb(185, 120, 1)",600:"rgb(185, 120, 1)",500:"rgb(185, 120, 1)",400:"rgb(185, 120, 1)",300:"rgb(185, 120, 1)",200:"rgb(185, 120, 1)",100:"rgb(185, 120, 1)",50:"rgb(185, 120, 1)",A100:"rgb(185, 120, 1)",A200:"rgb(185, 120, 1)",A400:"rgb(185, 120, 1)",A700:"rgb(185, 120, 1)"},darkOrchid:{900:"hsla(244, 38%, 38%, 1)",800:"hsla(242, 65%, 64%, 1)",700:"hsla(241, 29%, 54%, 1)",600:"hsla(242, 48%, 66%, 1)",500:"hsla(244, 57%, 75%, 1)",400:"hsla(245, 57%, 77%, 1)",300:"hsla(241, 100%, 85%, 1)",200:"hsla(240, 100%, 90%, 1)",100:"hsla(240, 100%, 91%, 1)",50:"hsla(240, 100%, 95%, 1)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"},claude:{50:"",100:"hsla(0, 0%, 0%, 0)",200:"hsla(0, 0%, 0%, 0)",300:"hsla(0, 22%, 97%, 1.00)",400:"hsla(0, 0%, 92%, 0.82)",500:"hsla(0, 13%, 97%, 0.87)",600:"hsla(0, 2%, 90%, 1.00)",700:"hsla(0, 10%, 96%, 1.00)",800:"hsla(0, 0%, 75%, 1.00)",900:"hsla(0, 0%, 49%, 1.00)",A100:"hsla(0, 0%, 0%, 0)",A200:"hsla(0, 0%, 0%, 0)",A400:"hsla(0, 0%, 0%, 0)",A700:"hsla(0, 0%, 0%, 0)"}},Fi=({color:t,shade:r})=>e.jsx(Pr.default,{title:t,children:e.jsx(Br.default,{sx:{width:80,height:40,backgroundColor:t,display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #e0e0e0",color:"black",fontSize:"12px"},children:r})}),Pi={app:{color:Ei,paperBoxShadow:"rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"},divider:Ei.butterflyBlue[700]},_i={common:{black:"hsla(0, 100%, 0%, 1)",white:"hsla(0, 100%, 100%, 1)"},primary:{main:Ei.mirage[900],light:Ei.butterflyBlue[400]},secondary:{main:Ei.butterflyBlue[900]},info:{main:Ei.slate[900]},error:{main:Ei.red[900]},warning:{main:Ei.darkOrange[900]},app:{color:Ei,paperBoxShadow:"rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px"},divider:Ei.butterflyBlue[700]},Oi={subHeader1:"p",subHeader2:"p",body:"p",subText:"p",smallText:"p",tinyText:"p"},zi={fontSize:14,fontFamily:"Poppins",h1:{fontSize:"clamp(1.625rem, 4vw, 2.375rem)",lineHeight:"clamp(2.125rem, 5vw, 2.875rem)"},h2:{fontSize:"clamp(1.375rem, 3.5vw, 1.875rem)",lineHeight:"clamp(1.75rem, 4.5vw, 2.375rem)"},h3:{fontSize:"clamp(1.125rem, 3vw, 1.625rem)",lineHeight:"clamp(1.5rem, 3.75vw, 2rem)"},h4:{fontSize:"clamp(1rem, 2.5vw, 1.375rem)",lineHeight:"clamp(1.375rem, 3vw, 1.75rem)"},h5:{fontSize:"clamp(0.875rem, 2vw, 1.125rem)",lineHeight:"clamp(1.25rem, 2.5vw, 1.5rem)"},h6:{fontSize:"clamp(0.8125rem, 1.75vw, 1rem)",lineHeight:"clamp(1.25rem, 2.25vw, 1.375rem)"},subtitle1:{fontSize:"clamp(0.75rem, 1.3vw, 0.875rem)",lineHeight:"clamp(1.1875rem, 1.8vw, 1.3125rem)"},subtitle2:{fontSize:"clamp(0.6875rem, 1.1vw, 0.75rem)",lineHeight:"clamp(1.0625rem, 1.6vw, 1.1875rem)"},body1:{fontSize:"clamp(0.8125rem, 1.2vw, 0.8125rem)",lineHeight:"clamp(1.3125rem, 1.8vw, 1.3125rem)"},body2:{fontSize:"clamp(0.6875rem, 1vw, 0.75rem)",lineHeight:"clamp(1.0625rem, 1.5vw, 1.1875rem)"},caption:{fontSize:"clamp(0.5625rem, 0.85vw, 0.625rem)",lineHeight:"clamp(0.8125rem, 1.1vw, 0.9375rem)"}},Wi={light:"light",dark:"dark"},$i=e=>({palette:{mode:e,...e===Wi.light?_i:Pi}}),qi={height:{small:"32px",medium:"36px",large:"40px"},padding:{small:"6px 12px",medium:"8px 16px",large:"10px 20px"},fontSize:"13px",fontWeight:500,borderRadius:"6px",minWidth:"80px"};function Ki(e){return e.split("/").filter((e=>""!==e)).reduceRight(((e,t)=>({[t]:!!Or.default(e)||e})),{})}const Ni=({loading:t=!1,children:r,disabled:l=!1,enableKeyboardShortcut:n=!0,shortcutKey:i,modifierKeys:o=["ctrl","shift"],onClick:a,size:s="medium",...d})=>{Ai({key:i??"",modifierKeys:o,onTrigger:()=>{!l&&!t&&n&&qr.default(a)&&a()}});return e.jsx(Lr.default,{disabled:t||l,size:s,onClick:a,...d,children:t?e.jsx(Wr.default,{size:{small:18,medium:22,large:26}[s]}):r})},Gi=t=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M6.41406 15.5837L15.5807 6.41699M15.5807 6.41699H6.41406M15.5807 6.41699V15.5837",stroke:t.disabled?"#DBE1E6":"#4C5D70",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),Ui=()=>e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5 0L10 8.75H0L5 0Z",fill:"#D9D9D9"})}),Yi=t=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M21 14C20.7348 14 20.4804 14.1054 20.2929 14.2929C20.1054 14.4804 20 14.7348 20 15V19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H5C4.73478 20 4.48043 19.8946 4.29289 19.7071C4.10536 19.5196 4 19.2652 4 19V15C4 14.7348 3.89464 14.4804 3.70711 14.2929C3.51957 14.1054 3.26522 14 3 14C2.73478 14 2.48043 14.1054 2.29289 14.2929C2.10536 14.4804 2 14.7348 2 15V19C2 19.7956 2.31607 20.5587 2.87868 21.1213C3.44129 21.6839 4.20435 22 5 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V15C22 14.7348 21.8946 14.4804 21.7071 14.2929C21.5196 14.1054 21.2652 14 21 14ZM11.29 15.71C11.3851 15.801 11.4972 15.8724 11.62 15.92C11.7397 15.9729 11.8691 16.0002 12 16.0002C12.1309 16.0002 12.2603 15.9729 12.38 15.92C12.5028 15.8724 12.6149 15.801 12.71 15.71L16.71 11.71C16.8983 11.5217 17.0041 11.2663 17.0041 11C17.0041 10.7337 16.8983 10.4783 16.71 10.29C16.5217 10.1017 16.2663 9.99591 16 9.99591C15.7337 9.99591 15.4783 10.1017 15.29 10.29L13 12.59V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V12.59L8.71 10.29C8.61676 10.1968 8.50607 10.1228 8.38425 10.0723C8.26243 10.0219 8.13186 9.99591 8 9.99591C7.86814 9.99591 7.73757 10.0219 7.61575 10.0723C7.49393 10.1228 7.38324 10.1968 7.29 10.29C7.19676 10.3832 7.1228 10.4939 7.07234 10.6158C7.02188 10.7376 6.99591 10.8681 6.99591 11C6.99591 11.1319 7.02188 11.2624 7.07234 11.3842C7.1228 11.5061 7.19676 11.6168 7.29 11.71L11.29 15.71Z",fill:t.disabled?"#afafafff":"#3BA6E8"})});const Xi=t=>{const r=t.disabled?"#DBE1E6":"#4C5D70";return e.jsxs("svg",{width:"23",height:"23",viewBox:"0 0 18 18",fill:"none",...t,style:{color:"inherit"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{strokeWidth:"1.2",d:"M4.16019 0.312313C3.50003 0.488094 2.98441 1.01544 2.80863 1.68341C2.76175 1.85919 2.75003 2.1795 2.75003 3.1795V4.44903L1.77738 4.97247C0.363314 5.73028 0.410189 5.69903 0.324251 5.88653C0.253939 6.04669 0.250033 6.22247 0.250033 11.0701C0.250033 16.5389 0.24222 16.2928 0.468783 16.742C0.609408 17.0193 0.949251 17.3631 1.22269 17.5115C1.70316 17.7654 1.19144 17.7498 9.00003 17.7498C16.8086 17.7498 16.2969 17.7654 16.7774 17.5115C17.0508 17.3631 17.3907 17.0193 17.5313 16.742C17.7578 16.2928 17.75 16.5389 17.75 11.0701C17.75 6.23809 17.7461 6.04278 17.6758 5.89044C17.5899 5.69903 17.5743 5.69122 16.1993 4.95294L15.25 4.44903V3.1795C15.25 2.1795 15.2383 1.85919 15.1914 1.68341C15.0157 1.00763 14.4961 0.484188 13.8243 0.308407C13.4883 0.222469 4.48441 0.222469 4.16019 0.312313ZM13.711 1.60138C13.7696 1.64434 13.8555 1.73028 13.8985 1.78887C13.9805 1.89434 13.9805 1.92169 13.9805 5.31622V8.73419L11.8907 9.86309C10.7422 10.4842 9.68753 11.0272 9.55081 11.0701C9.20706 11.1795 8.75003 11.1756 8.41409 11.0584C8.27347 11.0076 7.2305 10.4647 6.08988 9.85137L4.01956 8.73028L4.00784 5.41778C4.00394 3.59747 4.00784 2.05059 4.01956 1.98028C4.04691 1.82403 4.21097 1.62481 4.37113 1.5545C4.46488 1.51153 5.31644 1.50372 9.04691 1.51153C13.5821 1.51934 13.6055 1.51934 13.711 1.60138ZM2.74222 7.50762L2.7305 8.05059L2.11331 7.71466L1.50003 7.37872L1.50785 6.94903L1.51956 6.52325L2.12503 6.20294L2.7305 5.88653L2.74222 6.42559C2.74613 6.72637 2.74613 7.21075 2.74222 7.50762ZM16.4141 6.48809C16.4961 6.53887 16.5 6.56622 16.5 6.96075V7.37872L15.8985 7.69903C15.5664 7.87872 15.2891 8.02325 15.2735 8.02325C15.2618 8.02325 15.25 7.53887 15.25 6.94903V5.87481L15.7891 6.15216C16.0821 6.30841 16.3633 6.45684 16.4141 6.48809ZM3.75003 10.0037C8.12503 12.3631 7.86331 12.2342 8.39456 12.3475C8.83597 12.4412 9.51566 12.4022 9.95706 12.2498C10.2071 12.1678 11.2071 11.6482 13.3946 10.4686L16.4805 8.8045L16.4922 12.3514C16.4961 14.3006 16.4922 15.9529 16.4805 16.0232C16.4493 16.1951 16.25 16.41 16.0782 16.4607C15.9766 16.492 13.7618 16.4998 8.91409 16.492L1.89456 16.4803L1.7891 16.3982C1.7305 16.3553 1.64456 16.2693 1.6016 16.2107C1.51956 16.1053 1.51956 16.0701 1.50785 12.449C1.50394 10.4412 1.51175 8.8045 1.53128 8.81231C1.54691 8.81622 2.54691 9.35528 3.75003 10.0037Z",fill:r}),e.jsx("path",{strokeWidth:"1.2",d:"M6.24614 4.0548C5.98442 4.16808 5.83598 4.46886 5.89067 4.76183C5.92582 4.94542 6.12114 5.16027 6.29692 5.21105C6.39457 5.2423 7.30082 5.25011 9.08598 5.2423C11.6836 5.23058 11.7305 5.23058 11.836 5.14855C12.043 4.99621 12.1055 4.87121 12.1055 4.62511C12.1055 4.37902 12.043 4.25402 11.836 4.10167C11.7305 4.01964 11.6875 4.01964 9.04692 4.01183C6.87504 4.00402 6.33989 4.01183 6.24614 4.0548Z",fill:r}),e.jsx("path",{strokeWidth:"1.2",d:"M6.24614 6.5548C5.98442 6.66808 5.83598 6.96886 5.89067 7.26183C5.92582 7.44542 6.12114 7.66027 6.29692 7.71105C6.39457 7.7423 7.20707 7.75011 8.77348 7.7423C11.0586 7.73058 11.1055 7.73058 11.211 7.64855C11.418 7.49621 11.4805 7.37121 11.4805 7.12511C11.4805 6.87902 11.418 6.75402 11.211 6.60167C11.1055 6.51964 11.0586 6.51964 8.73442 6.51183C6.82426 6.50402 6.33989 6.51183 6.24614 6.5548Z",fill:r})]})},Ji=t=>{const r=t.disabled?"#afafafff":"#3BA6E8";return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("circle",{cx:"19",cy:"19",r:"17",stroke:r,strokeWidth:"2.5"}),e.jsx("path",{d:"M10 18.6538H28",stroke:r,strokeWidth:"2.5",strokeLinecap:"round"}),e.jsx("path",{d:"M19.3462 10L19.3462 28",stroke:r,strokeWidth:"2.5",strokeLinecap:"round"})]})},Qi=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",strokeWidth:1.565,d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("circle",{cx:"15",cy:"15",r:"8.35",stroke:r,strokeWidth:"1.2"}),e.jsx("path",{d:"M15 10.455v9.091",stroke:r,strokeWidth:1.565,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10.455 15h9.091",stroke:r,strokeWidth:1.565,strokeLinecap:"round",strokeLinejoin:"round"})]})},eo=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 29 24",...t,children:e.jsx("path",{stroke:t.disabled?"#afafafff":"currentColor",strokeWidth:1.5,d:"M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5ZM15.694 13.7h.009M15.694 16.7h.009M11.995 13.7h.009M11.995 16.7h.009M8.295 13.7h.01M8.295 16.7h.01"})}),to=t=>e.jsxs("svg",{width:36,height:36,viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:.5,y:1,width:41,height:41,rx:3.5,fill:"white"}),e.jsx("rect",{x:.5,y:1,width:41,height:41,rx:3.5,stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("g",{clipPath:"url(#clip0_38460_84386)",children:e.jsx("path",{d:"M18 12.5V30.5M24 12.5V30.5M16.8 12.5H25.2C26.8802 12.5 27.7202 12.5 28.362 12.827C28.9265 13.1146 29.3854 13.5735 29.673 14.138C30 14.7798 30 15.6198 30 17.3V25.7C30 27.3802 30 28.2202 29.673 28.862C29.3854 29.4265 28.9265 29.8854 28.362 30.173C27.7202 30.5 26.8802 30.5 25.2 30.5H16.8C15.1198 30.5 14.2798 30.5 13.638 30.173C13.0735 29.8854 12.6146 29.4265 12.327 28.862C12 28.2202 12 27.3802 12 25.7V17.3C12 15.6198 12 14.7798 12.327 14.138C12.6146 13.5735 13.0735 13.1146 13.638 12.827C14.2798 12.5 15.1198 12.5 16.8 12.5Z",stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_38460_84386",children:e.jsx("rect",{width:20,height:20,fill:"white",transform:"translate(11 11.5)"})})})]}),ro=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",viewBox:"0 0 400 350",...t,children:[e.jsx("path",{fill:"white",stroke:r,strokeWidth:"18",strokeMiterlimit:"10",strokeLinecap:"round",d:"M147.33 110.248c-23.301 0-42.191 18.86-42.191 42.125 0 23.264 18.89 42.124 42.191 42.124 23.3 0 42.19-18.86 42.19-42.124 0-23.265-18.89-42.125-42.19-42.125Zm118.42 12.065-11.423 9.389c-13.031 10.71-13.031 30.631 0 41.341l11.423 9.39a10.698 10.698 0 0 1 2.471 13.623l-22.555 39.007a10.737 10.737 0 0 1-13.053 4.674l-13.856-5.183c-15.804-5.911-33.084 4.049-35.859 20.671l-2.432 14.572a10.721 10.721 0 0 1-10.58 8.949h-45.113a10.721 10.721 0 0 1-10.58-8.949l-2.433-14.572c-2.774-16.622-20.054-26.582-35.858-20.671l-13.856 5.183a10.737 10.737 0 0 1-13.053-4.674l-22.555-39.007a10.698 10.698 0 0 1 2.472-13.623l11.423-9.39c13.03-10.71 13.03-30.631 0-41.341l-11.423-9.389a10.698 10.698 0 0 1-2.472-13.623l22.555-39.007a10.735 10.735 0 0 1 13.053-4.674l13.856 5.182c15.804 5.912 33.084-4.049 35.858-20.67l2.433-14.573A10.721 10.721 0 0 1 124.773 26h45.113c5.243 0 9.718 3.785 10.58 8.948l2.432 14.572c2.775 16.622 20.055 26.583 35.859 20.67l13.856-5.181c4.91-1.837 10.43.14 13.053 4.674l22.555 39.007a10.698 10.698 0 0 1-2.471 13.623Z"}),e.jsx("rect",{width:186.127,height:183.396,x:164.209,y:180.029,fill:"#fff",rx:50,stroke:r,strokeWidth:"18"}),e.jsx("path",{fill:r,strokeWidth:"18",d:"M312.062 248.395h-50.969c-3.98 0-7.281-3.3-7.281-7.281 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.281-7.281 7.281ZM210.119 255.774a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.282c-2.816-2.815-2.816-7.475 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.698c2.815-2.816 7.475-2.816 10.29 0 2.816 2.815 2.816 7.475 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136ZM312.062 316.354h-50.969c-3.98 0-7.281-3.301-7.281-7.282 0-3.98 3.301-7.281 7.281-7.281h50.969c3.98 0 7.281 3.301 7.281 7.281 0 3.981-3.203 7.282-7.281 7.282ZM210.119 323.732a7.202 7.202 0 0 1-5.145-2.136l-7.281-7.281c-2.816-2.816-2.816-7.476 0-10.291 2.815-2.815 7.475-2.815 10.29 0l2.136 2.136 16.699-16.699c2.815-2.815 7.475-2.815 10.29 0 2.816 2.816 2.816 7.476 0 10.291l-21.843 21.844a7.275 7.275 0 0 1-5.146 2.136Z"}),e.jsx("path",{fill:r,d:"M286.625 375.865h-58.25c-52.716 0-75.24-22.524-75.24-75.24v-58.25c0-52.716 22.524-75.24 75.24-75.24h58.25c52.716 0 75.239 22.524 75.239 75.24v58.25c0 52.716-22.523 75.24-75.239 75.24Zm-58.25-194.167c-44.756 0-60.677 15.922-60.677 60.677v58.25c0 44.755 15.921 60.677 60.677 60.677h58.25c44.755 0 60.677-15.922 60.677-60.677v-58.25c0-44.755-15.922-60.677-60.677-60.677h-58.25Z"})]})},lo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",strokeWidth:1.565,d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("path",{stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:1.565,d:"M21.75 10.484a76.276 76.276 0 0 0-7.515-.375c-1.485 0-2.97.075-4.455.225l-1.53.15M12.375 9.727l.165-.982c.12-.712.21-1.245 1.478-1.245h1.964c1.268 0 1.366.563 1.478 1.252l.165.975M20.138 12.855l-.487 7.553c-.083 1.177-.15 2.092-2.243 2.092h-4.815c-2.092 0-2.16-.915-2.242-2.092l-.488-7.553M13.746 18.375h2.498M13.125 15.375h3.75"})]}),no=({fill:t="#4C5D70",fontColor:r="white",...l})=>{const{disabled:n}=l;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none",style:{color:n?"#afafafff":"inherit"},...l,children:[e.jsx("rect",{width:"42",height:"42",rx:"5",fill:n?"#afafafff":t}),e.jsx("path",{d:"M26.75 21.5C26.5511 21.5 26.3603 21.579 26.2197 21.7197C26.079 21.8603 26 22.0511 26 22.25V25.25C26 25.4489 25.921 25.6397 25.7803 25.7803C25.6397 25.921 25.4489 26 25.25 26H14.75C14.5511 26 14.3603 25.921 14.2197 25.7803C14.079 25.6397 14 25.4489 14 25.25V22.25C14 22.0511 13.921 21.8603 13.7803 21.7197C13.6397 21.579 13.4489 21.5 13.25 21.5C13.0511 21.5 12.8603 21.579 12.7197 21.7197C12.579 21.8603 12.5 22.0511 12.5 22.25V25.25C12.5 25.8467 12.7371 26.419 13.159 26.841C13.581 27.2629 14.1533 27.5 14.75 27.5H25.25C25.8467 27.5 26.419 27.2629 26.841 26.841C27.2629 26.419 27.5 25.8467 27.5 25.25V22.25C27.5 22.0511 27.421 21.8603 27.2803 21.7197C27.1397 21.579 26.9489 21.5 26.75 21.5ZM19.4675 22.7825C19.5388 22.8508 19.6229 22.9043 19.715 22.94C19.8048 22.9797 19.9018 23.0002 20 23.0002C20.0982 23.0002 20.1952 22.9797 20.285 22.94C20.3771 22.9043 20.4612 22.8508 20.5325 22.7825L23.5325 19.7825C23.6737 19.6413 23.7531 19.4497 23.7531 19.25C23.7531 19.0503 23.6737 18.8587 23.5325 18.7175C23.3913 18.5763 23.1997 18.4969 23 18.4969C22.8003 18.4969 22.6087 18.5763 22.4675 18.7175L20.75 20.4425V13.25C20.75 13.0511 20.671 12.8603 20.5303 12.7197C20.3897 12.579 20.1989 12.5 20 12.5C19.8011 12.5 19.6103 12.579 19.4697 12.7197C19.329 12.8603 19.25 13.0511 19.25 13.25V20.4425L17.5325 18.7175C17.4626 18.6476 17.3796 18.5921 17.2882 18.5543C17.1968 18.5164 17.0989 18.4969 17 18.4969C16.9011 18.4969 16.8032 18.5164 16.7118 18.5543C16.6204 18.5921 16.5374 18.6476 16.4675 18.7175C16.3976 18.7874 16.3421 18.8704 16.3043 18.9618C16.2664 19.0532 16.2469 19.1511 16.2469 19.25C16.2469 19.3489 16.2664 19.4468 16.3043 19.5382C16.3421 19.6296 16.3976 19.7126 16.4675 19.7825L19.4675 22.7825Z",fill:r})]})},io=t=>{const r=u.useTheme(),{butterflyBlue:l,iron:n}=r.palette.app.color,i=t.disabled?n[800]:l[900],o=t.fill??i;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:57,height:49,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{fill:o??"currentColor",d:"M29.399 12.005a.602.602 0 0 1-.401-.748c1.096-3.718 4.511-6.448 8.575-6.448a.6.6 0 0 1 .596.602.6.6 0 0 1-.596.602c-3.406 0-6.462 2.297-7.432 5.587a.595.595 0 0 1-.742.405Z"}),e.jsx("path",{fill:o??"currentColor",d:"M45.923 34.898h-3.578a.6.6 0 0 1-.597-.602.6.6 0 0 1 .597-.602h3.578c4.932 0 8.946-4.049 8.946-9.025 0-4.977-4.014-9.026-8.946-9.026h-.086a.594.594 0 0 1-.45-.208.605.605 0 0 1-.14-.48c.053-.374.08-.75.08-1.117 0-4.313-3.479-7.823-7.754-7.823-1.663 0-3.249.525-4.586 1.517a.594.594 0 0 1-.882-.205C28.317.05 18.422-.928 13.292 5.403a11.475 11.475 0 0 0-2.33 9.519.6.6 0 0 1-.584.721h-.24c-4.932 0-8.945 4.05-8.945 9.026 0 4.977 4.013 9.026 8.946 9.026h3.578a.6.6 0 0 1 .596.601.6.6 0 0 1-.596.602H10.14C4.549 34.898 0 30.31 0 24.67c0-5.482 4.297-9.97 9.67-10.218a12.672 12.672 0 0 1 2.698-9.81c5.493-6.779 16.019-6.019 20.468 1.54a8.81 8.81 0 0 1 4.737-1.368c5.18 0 9.283 4.447 8.924 9.643 5.325.302 9.565 4.767 9.565 10.213 0 5.64-4.549 10.229-10.14 10.229h.001Z"}),e.jsx("path",{fill:o??"currentColor",d:"M27.95 49c-8.222 0-14.91-6.748-14.91-15.043 0-8.295 6.688-15.043 14.91-15.043 8.22 0 14.91 6.748 14.91 15.043C42.86 42.252 36.17 49 27.95 49Zm0-28.882c-7.564 0-13.718 6.208-13.718 13.839s6.154 13.84 13.717 13.84c7.564 0 13.717-6.21 13.717-13.84s-6.153-13.84-13.717-13.84Z"}),e.jsx("path",{fill:o??"currentColor",stroke:o??"currentColor",d:"M27.29 40.013c0 .516.414.94.936.94a.938.938 0 0 0 .936-.94V28.56a.939.939 0 0 0-.936-.94.939.939 0 0 0-.937.94v11.453Z"}),e.jsx("path",{fill:o??"currentColor",stroke:o??"currentColor",d:"m32.028 31.772.355-.352a.943.943 0 0 1 0 1.327.933.933 0 0 1-.663.277l.308-1.252Zm0 0 .355-.352-3.493-3.524a.934.934 0 0 0-1.328 0l.356.352-.356-.351 4.466 3.875Zm-3.801-1.879-2.83 2.854 2.83-2.854Zm0 0 2.829 2.854a.934.934 0 0 0 .664.277l-3.493-3.131Z"})]})},oo=t=>e.jsx("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsxs("g",{id:"Communication / Share_iOS_Export",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"3.5",stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("path",{id:"Vector",d:"M14 11L17 8M17 8L20 11M17 8V18M12.0002 15C11.0683 15 10.6024 15 10.2349 15.1522C9.74481 15.3552 9.35523 15.7448 9.15224 16.2349C9 16.6024 9 17.0681 9 18V22.8C9 23.9201 9 24.4798 9.21799 24.9076C9.40973 25.2839 9.71547 25.5905 10.0918 25.7822C10.5192 26 11.079 26 12.1969 26H21.8036C22.9215 26 23.4805 26 23.9079 25.7822C24.2842 25.5905 24.5905 25.2839 24.7822 24.9076C25 24.4802 25 23.921 25 22.8031V18C25 17.0681 24.9999 16.6024 24.8477 16.2349C24.6447 15.7448 24.2554 15.3552 23.7654 15.1522C23.3978 15 22.9319 15 22 15",stroke:t.disabled?"#afafafff":"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),ao=t=>e.jsxs("svg",{width:35,height:35,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M35.0026 0.583008H4.66927C2.41411 0.583008 0.585938 2.41118 0.585938 4.66634V34.9997C0.585938 37.2548 2.41411 39.083 4.66927 39.083H35.0026C37.2578 39.083 39.0859 37.2548 39.0859 34.9997V4.66634C39.0859 2.41118 37.2578 0.583008 35.0026 0.583008Z",fill:"#BDE5FF",stroke:"#3BA4E8",strokeWidth:"1.4"}),e.jsx("path",{d:"M11.25 16.1388V13.4167C11.25 12.7723 11.7724 12.25 12.4167 12.25H27.5834C28.2278 12.25 28.7501 12.7723 28.7501 13.4165L28.7505 16.1388M11.25 16.1388L17.6482 21.623C17.9068 21.8447 18.0556 22.1682 18.0556 22.5089V28.2557C18.0556 29.0148 18.7689 29.5717 19.5052 29.3876L21.0607 28.9987C21.5801 28.8688 21.9445 28.4023 21.9445 27.8669V22.5089C21.9445 22.1683 22.0933 21.8447 22.3519 21.623L28.7505 16.1388M11.25 16.1388H28.7505",stroke:"#3BA4E8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"27.5",cy:"12.5",r:"4.25",fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:"1.5"})]}),so=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{width:36,height:36,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"3.5",stroke:"#dbe1e6",strokeWidth:"1.4"}),e.jsx("path",{d:"M10.5 13.8333V11.5C10.5 10.9477 10.9478 10.5 11.5 10.5H24.5001C25.0524 10.5 25.5001 10.9477 25.5001 11.4999L25.5004 13.8333M10.5 13.8333L15.9842 18.534C16.2058 18.724 16.3334 19.0013 16.3334 19.2933V24.2192C16.3334 24.8698 16.9448 25.3472 17.5759 25.1894L18.9092 24.856C19.3544 24.7447 19.6667 24.3448 19.6667 23.8859V19.2933C19.6667 19.0014 19.7943 18.724 20.0159 18.534L25.5004 13.8333M10.5 13.8333H25.5004",stroke:r,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]})},co=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M0.5 4C0.5 2.067 2.067 0.5 4 0.5H26C27.933 0.5 29.5 2.067 29.5 4V26C29.5 27.933 27.933 29.5 26 29.5H4C2.067 29.5 0.5 27.933 0.5 26V4Z",fill:"white",stroke:"#DBE1E6",strokeWidth:1.565}),e.jsxs("g",{clipPath:"url(#clip0_22174_76909)",children:[e.jsx("path",{d:"M15.687 8.125C14.1756 8.13236 12.7094 8.64089 11.5179 9.57092C10.3265 10.501 9.4773 11.7999 9.1033 13.2644L8.6458 12.5725C8.60248 12.5001 8.54495 12.4372 8.47667 12.3876C8.40838 12.338 8.33076 12.3027 8.24848 12.2839C8.1662 12.2651 8.08097 12.2632 7.99792 12.2783C7.91488 12.2933 7.83575 12.325 7.76529 12.3715C7.69484 12.418 7.63452 12.4782 7.58798 12.5486C7.54144 12.619 7.50965 12.6981 7.49451 12.7811C7.47937 12.8642 7.48121 12.9494 7.4999 13.0317C7.5186 13.114 7.55377 13.1917 7.6033 13.26L8.9783 15.3438C9.07381 15.4774 9.21463 15.5718 9.37455 15.6094C9.53784 15.6418 9.70733 15.6093 9.84705 15.5188L11.9095 14.1294C11.9807 14.085 12.0421 14.0267 12.0902 13.9581C12.1384 13.8894 12.1722 13.8118 12.1897 13.7298C12.2072 13.6478 12.2081 13.5631 12.1922 13.4808C12.1763 13.3985 12.144 13.3202 12.0972 13.2506C12.0505 13.181 11.9902 13.1216 11.9199 13.0758C11.8497 13.03 11.771 12.9988 11.6885 12.984C11.6059 12.9693 11.5213 12.9713 11.4395 12.9899C11.3578 13.0085 11.2806 13.0434 11.2127 13.0925L10.2745 13.725C10.5242 12.7115 11.0538 11.7886 11.8027 11.0615C12.5517 10.3345 13.4899 9.83264 14.5104 9.6132C15.5309 9.39375 16.5925 9.46557 17.5741 9.82045C18.5558 10.1753 19.4179 10.799 20.0621 11.6203C20.7063 12.4416 21.1067 13.4274 21.2176 14.4653C21.3285 15.5032 21.1455 16.5514 20.6893 17.4902C20.2332 18.4291 19.5223 19.2208 18.6378 19.7751C17.7533 20.3294 16.7309 20.6239 15.687 20.625C14.7923 20.6226 13.9113 20.4042 13.119 19.9883C12.3267 19.5724 11.6466 18.9713 11.1364 18.2363C11.0907 18.1661 11.0314 18.1058 10.962 18.059C10.8925 18.0122 10.8144 17.9799 10.7322 17.9639C10.65 17.9478 10.5655 17.9485 10.4836 17.9658C10.4016 17.9831 10.324 18.0167 10.2553 18.0646C10.1866 18.1124 10.1283 18.1736 10.0837 18.2445C10.0391 18.3154 10.0092 18.3945 9.99577 18.4771C9.98235 18.5598 9.98567 18.6443 10.0055 18.7256C10.0254 18.807 10.0614 18.8835 10.1114 18.9506C10.9408 20.1464 12.1319 21.0445 13.5097 21.513C14.8874 21.9816 16.3791 21.9959 17.7656 21.5537C19.152 21.1116 20.36 20.2364 21.2122 19.0567C22.0643 17.877 22.5155 16.4551 22.4995 15C22.5057 13.1856 21.7919 11.4428 20.5148 10.1539C19.2377 8.86508 17.5015 8.13542 15.687 8.125Z",fill:r}),e.jsx("path",{d:"M15.625 11.2188C15.4592 11.2188 15.3003 11.2846 15.1831 11.4018C15.0658 11.519 15 11.678 15 11.8438V15C15.0027 15.1652 15.0681 15.3232 15.1831 15.4419L17.0581 17.3338C17.1758 17.4496 17.334 17.5148 17.4991 17.5156C17.6642 17.5165 17.8231 17.4528 17.9419 17.3381C18.0595 17.2214 18.126 17.0628 18.1267 16.897C18.1274 16.7313 18.0623 16.5721 17.9456 16.4544L16.25 14.7431V11.8438C16.25 11.678 16.1842 11.519 16.0669 11.4018C15.9497 11.2846 15.7908 11.2188 15.625 11.2188Z",fill:r})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_22174_76909",children:e.jsx("rect",{width:"15",height:"15",fill:"white",transform:"translate(7.5 7.5)"})})})]})},uo=t=>{const r=t.disabled?"#afafafff":"#4C5D70";return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",stroke:"#DBE1E6",d:"M.5 4A3.5 3.5 0 0 1 4 .5h22A3.5 3.5 0 0 1 29.5 4v22a3.5 3.5 0 0 1-3.5 3.5H4A3.5 3.5 0 0 1 .5 26V4Z"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.565,d:"M14.457 8.836h-1.25c-3.125 0-4.375 1.25-4.375 4.375v3.75c0 3.125 1.25 4.375 4.375 4.375h3.75c3.125 0 4.375-1.25 4.375-4.375v-1.25"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.565,d:"M17.608 9.474 12.683 14.4a1.695 1.695 0 0 0-.413.825l-.269 1.881c-.1.682.382 1.157 1.063 1.063l1.881-.269a1.75 1.75 0 0 0 .825-.412l4.925-4.925c.85-.85 1.25-1.838 0-3.088s-2.237-.85-3.087 0Z"}),e.jsx("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.565,d:"M16.898 10.18a4.465 4.465 0 0 0 3.088 3.087"})]})},po=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:36,height:36,fill:"none",viewBox:"0 0 36 36",...t,children:[e.jsx("rect",{strokeWidth:"1.4",width:33,height:33,x:.5,y:.5,stroke:"#dbe1e6",rx:3.5}),e.jsx("g",{stroke:t.disabled?"#afafafff":"#4C5D70",children:e.jsx("path",{strokeWidth:"1.5",d:"M12 12.75c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C9 14.352 9 14.818 9 15.75v5.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218.376-.192.682-.498.874-.874.218-.428.218-.987.218-2.105V15.75c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083c-.367-.152-.833-.152-1.765-.152M20 16.25l-3 3m0 0-3-3m3 3v-10"})})]}),ho=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,style:{color:"inherit"},fill:"none",...t,children:e.jsx("path",{stroke:"#4C5D70",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 14.5h10M6 10h.01M10 10h.01M14 10h.01M18 10h.01M5.2 18h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 16.48 22 15.92 22 14.8V9.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 6 19.92 6 18.8 6H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 7.52 2 8.08 2 9.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 18 4.08 18 5.2 18Z"})}),Co=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M12.0002 6.7728C14.7546 6.7728 17.0888 8.029 18.5584 9.0828C20.3008 10.3324 21.1984 11.538 21.4316 12C21.1984 12.4598 20.303 13.6676 18.5584 14.9172C17.0866 15.971 14.7546 17.2272 12.0002 17.2272C9.24582 17.2272 6.91381 15.971 5.44201 14.9172C3.69741 13.6676 2.80201 12.4598 2.56881 12C2.80201 11.5402 3.69741 10.3324 5.44201 9.0828C6.91161 8.029 9.24582 6.7728 12.0002 6.7728ZM12.0002 5.466C6.04701 5.466 1.22021 10.6932 1.22021 12C1.22021 13.3068 6.04701 18.534 12.0002 18.534C17.9534 18.534 22.7802 13.3068 22.7802 12C22.7802 10.6932 17.9534 5.466 12.0002 5.466ZM12.0002 8.0796C9.83541 8.0796 8.07981 9.8352 8.07981 12C8.07981 14.1648 9.83541 15.9204 12.0002 15.9204C14.165 15.9204 15.9206 14.1648 15.9206 12C15.9206 9.8352 14.165 8.0796 12.0002 8.0796ZM10.9442 12C10.029 12 9.28541 11.2564 9.28541 10.3412C9.28541 9.426 10.029 8.6824 10.9442 8.6824C11.8594 8.6824 12.603 9.426 12.603 10.3412C12.603 11.2564 11.8616 12 10.9442 12Z",fill:t.disabled?"#afafafff":"#4C5D70"})}),xo=a.forwardRef((({paths:t,strokeColor:r},l)=>{const n=u.useTheme(),{butterflyBlue:i}=n.palette.app.color,o=r??i[900];return e.jsx("svg",{ref:l,style:{position:"absolute",left:0,top:0,pointerEvents:"none",overflow:"visible"},children:el.default(t,(({definition:t})=>e.jsx("path",{d:t,stroke:o,strokeWidth:2,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",opacity:.95},t)))})}));xo.displayName="SvgBranches";const fo=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M3.33073 3.33594H16.6641C17.5807 3.33594 18.3307 4.08594 18.3307 5.0026V15.0026C18.3307 15.9193 17.5807 16.6693 16.6641 16.6693H3.33073C2.41406 16.6693 1.66406 15.9193 1.66406 15.0026V5.0026C1.66406 4.08594 2.41406 3.33594 3.33073 3.33594Z",stroke:"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18.3307 5L9.9974 10.8333L1.66406 5",stroke:"#4C5D70",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),go=({variant:t,colourCode:r})=>{const l=t?Ci(t):r;return e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("circle",{cx:"5",cy:"5",r:"5",fill:l})})},mo=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M4.75697 1.70342C4.4802 1.77517 4.19659 1.93235 3.90615 2.18179C3.58496 2.45856 2.43346 3.63056 2.24553 3.87316C1.48356 4.84698 1.46989 6.36068 2.20794 8.31516C3.10659 10.7036 4.79114 13.1228 6.9233 15.0875C9.86185 17.7971 13.7981 19.55 15.8244 19.058C16.1251 18.9862 16.6239 18.7539 16.8529 18.5796C17.0852 18.4053 18.6297 16.8199 18.7732 16.6114C19.0397 16.2253 19.1422 15.7094 19.0397 15.272C18.9235 14.7834 18.8859 14.739 17.3996 13.2492C15.8995 11.7492 15.8517 11.7116 15.3563 11.6091C14.9633 11.5271 14.5635 11.5988 14.1774 11.8209C14.0886 11.8756 13.6649 12.2617 13.2378 12.6854L12.4621 13.4508L12.2127 13.321C11.6011 13.0032 11.15 12.6991 10.4769 12.1455C9.78668 11.5783 8.8231 10.584 8.29007 9.88694C7.90395 9.38124 7.33674 8.44842 7.33333 8.32199C7.33333 8.29808 7.59985 8.01789 7.92445 7.70011C8.60784 7.03381 8.87778 6.72287 9.03154 6.42902C9.22288 6.05658 9.26047 5.58504 9.12721 5.19551C8.99395 4.79915 8.86411 4.6488 7.55884 3.34012C6.26725 2.04853 6.06907 1.87768 5.70004 1.75126C5.44377 1.659 5.02007 1.6385 4.75697 1.70342ZM5.54969 2.66357C5.64537 2.71824 6.19208 3.2342 6.92671 3.97225C8.2559 5.30485 8.30715 5.36636 8.30373 5.7183C8.30373 6.02924 8.22173 6.13858 7.32991 7.0304C6.87888 7.47801 6.48593 7.89146 6.4586 7.94955C6.41759 8.02131 6.40734 8.1204 6.41759 8.28782C6.42784 8.49284 6.45518 8.57143 6.66361 8.98488C7.13515 9.92111 7.75703 10.7446 8.78552 11.797C9.80718 12.8426 10.8254 13.6216 11.8744 14.1615C12.2469 14.3529 12.3186 14.3802 12.4895 14.3768C12.6056 14.3768 12.7286 14.3529 12.8004 14.3153C12.8653 14.2811 13.289 13.8847 13.7401 13.4371C14.3209 12.8597 14.6045 12.6034 14.7139 12.5556C14.9189 12.4633 15.1854 12.4633 15.3733 12.5556C15.5784 12.6581 17.9941 15.0704 18.1 15.2823C18.1581 15.395 18.1821 15.4975 18.1821 15.6445C18.1821 15.9964 18.1103 16.0921 17.1399 17.0659C16.1797 18.0295 16.0909 18.0944 15.5784 18.2106C15.0829 18.3199 14.2526 18.2311 13.412 17.9816C12.1307 17.6024 10.4086 16.6935 8.99053 15.6479C6.26041 13.6387 3.91641 10.5669 2.94258 7.72745C2.47788 6.37777 2.42663 5.41078 2.78199 4.69322C2.89133 4.46429 2.99384 4.34811 3.70456 3.62714C4.14192 3.18294 4.5622 2.77975 4.63396 2.72849C4.94148 2.51665 5.25584 2.49273 5.54969 2.66357Z",fill:"#4C5D70",stroke:"#4C5D70",strokeWidth:"0.4"})}),bo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:117,height:42,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{fill:"#fff",d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{fill:"#fff",d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{fill:"#fff",d:"M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"}),e.jsx("path",{fill:"#fff",stroke:"#fff",strokeWidth:.353,d:"M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"}),e.jsx("path",{fill:"#3BA4E8",d:"M117 27v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12H117Zm-10.288 0v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12h8.373Zm-10.254 0v-2.509h-5.966l5.847-7.169V15h-9.204v2.457h5.577L87 24.491V27h9.458Z"})]}),jo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:42,fill:"none",...t,children:[e.jsx("path",{fill:"#fff",d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"}),e.jsx("path",{fill:"#3BA4E8",d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{stroke:"#3BA4E8",strokeWidth:.353,d:"m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"}),e.jsx("path",{fill:"#fff",d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"}),e.jsx("path",{fill:"#fff",d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"}),e.jsx("path",{stroke:"#fff",strokeWidth:.353,d:"M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"})]}),yo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",width:24,height:24,fill:t.disabled?"#afafafff":"#4C5D70",...t,children:[e.jsx("path",{d:"M117.4 23.8c0 10.7-.1 13.9-.6 14-.3.1-2.9.6-5.7 1.2-19 3.5-38.3 14.9-50.9 29.9C48.9 82.5 42.7 96 39.2 115l-.2 1H10v24h29l.2 1c3.2 17.7 8.8 30.5 18.6 43.1 13.5 17.3 34.8 30.1 56 33.4l3.6.6v28H141v-13.8c0-10.7.1-13.9.6-14 .3-.1 2.9-.6 5.9-1.2 33.6-6.4 61.9-33.4 70-66.7.7-3 1.5-6.5 1.7-7.9l.3-2.4H246v-24h-26.6l-.3-2.4c-.6-4.5-3.4-14.6-5.5-19.8-4.6-11.2-10.6-20.2-19-29C181.7 51.5 165 42.4 147.4 39c-2.9-.6-5.6-1.1-5.9-1.2-.5-.1-.6-3.3-.6-14V10h-23.6l.1 13.8zm21.3 33C156 59 172.6 68 183.6 81c21.3 25.2 23.5 59.6 5.3 86.8-16.6 25-47.3 37-76.6 30-27-6.5-47.6-27.9-53.6-55.7-.9-4-1-6.1-1-14.1 0-10.6.6-14.8 3.7-23.6 11.2-32.2 43.5-52.1 77.3-47.6z"}),e.jsx("path",{d:"M120 75.7c-21.8 3.9-38.8 20.8-42.9 42.6-.9 4.8-.9 14.4 0 19.3 4.8 25.2 26.6 43.4 52.1 43.4 26.3 0 48.7-19.2 52.5-45 3.9-25.6-11.3-50.2-35.9-58.4-7.6-2.5-18-3.3-25.8-1.9z"})]}),wo=({toolTipLabel:t,children:r,placement:l="top-start",hidden:n=!1,checkOverflow:i=!1,...o})=>{const s=a.useRef(null),[d,c]=a.useState(!1);return a.useEffect((()=>{if(i&&s.current){const e=s.current;c(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)}}),[r]),e.jsx(Pr.default,{arrow:!0,placement:l,title:t,disableHoverListener:i&&!d||n,...o,children:e.jsx(Br.default,{ref:s,sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"inline-flex"},children:"string"==typeof r?e.jsx(_r.default,{variant:"body2",fontWeight:500,children:r}):r})})},vo=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Add",children:e.jsx(Ji,{disabled:t.disabled})})}),Mo=({showTooltip:t=!0,...r})=>e.jsx(kr.default,{sx:{color:"#4C5D70"},...r,children:e.jsx(wo,{hidden:!t,toolTipLabel:"Calendar",children:e.jsx(eo,{disabled:r.disabled})})}),Lo=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Delete",children:e.jsx(lo,{disabled:t.disabled})})}),ko=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Download Print",children:e.jsx(Yi,{disabled:t.disabled})})}),So=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Edit",children:e.jsx(uo,{disabled:t.disabled})})}),Ho=({isFiltered:t=!1,...r})=>e.jsx(kr.default,{...r,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Filter",children:t?e.jsx(ao,{}):e.jsx(so,{disabled:r.disabled})})}),Zo=({children:t,padding:r})=>e.jsx(Br.default,{sx:{...r,height:"inherit",boxSizing:"border-box",width:"100%"},id:"pad-box",children:t});function Vo({buttonRef:e,disabled:t,popoverOpen:r,onPressEnter:l}){a.useEffect((()=>{const n=e.current;if(!n)return;const i=e=>{if(document.querySelector('.MuiDialog-root, [role="dialog"], .MuiPopover-root, .MuiModal-root'))return;if(!("Enter"===e.key||" "===e.key)||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey||t||r)return;if(n.closest('[data-action-buttons-wrapper="true"]'))return;const i=n.closest(".ag-cell");if(!i)return;if(i.classList.contains("ag-cell-inline-editing"))return;const o=document.activeElement;if(!o)return;if(!(o===i||i.contains(o)))return;const a=e.target,s=a&&(a===i||i.contains(a)||a.closest(".ag-cell")===i);a&&!s||i.contains(n)&&(e.preventDefault(),e.stopPropagation(),l?l(e):n.click())};return document.addEventListener("keydown",i,!0),()=>document.removeEventListener("keydown",i,!0)}),[e,t,r,l])}const Ao=({open:t,anchorEl:r,children:l,onClose:n})=>e.jsx(rl.default,{open:t,anchorEl:r,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{"& .MuiPaper-root":{width:"auto"}},children:l}),Do=({items:t,disabled:r})=>{const[l,n]=a.useState(null),i=a.useRef(null),o=()=>n(null);return Vo({buttonRef:i,disabled:r,popoverOpen:!!l}),t&&0!==t.length?e.jsxs(Br.default,{sx:{width:"100%"},children:[e.jsx(kr.default,{ref:i,component:"div",sx:{width:"100%",cursor:"pointer",alignItems:"center"},onClick:e=>{r||n(e.currentTarget)},disabled:r,"data-clickable":"true",children:e.jsx(tl.default,{})}),l&&e.jsx(Ao,{open:!0,anchorEl:l,onClose:o,children:e.jsx(Zo,{padding:{padding:"2px"},children:t.map((({title:t,onClick:r})=>e.jsx(Br.default,{children:e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start",padding:"5px 16px 5px 10px"},onClick:()=>{r(),o()},children:e.jsx(_r.default,{variant:"body1",children:t})})},t)))})})]}):null};const Bo=u.styled(Br.default)((()=>({width:"100%",height:"100%",position:"relative","& .ag-paging-panel":{display:"flex",gap:"8px",padding:"8px",width:"100%",justifyContent:"flex-end",alignItems:"center"},"& .ag-paging-panel > .ag-paging-page-size .ag-wrapper":{minWidth:"unset",maxWidth:"80px",width:"100%"},"& .ag-paging-page-size":{width:"100%"},"& .ag-paging-page-summary-panel":{fontSize:"13px",whiteSpace:"nowrap"},"& .ag-picker-field-display":{fontSize:"13px"},"& .ag-picker-field":{width:"100%",justifyContent:"flex-end"},"& .ag-paging-button":{minWidth:"15px"},"& .ag-paging-row-summary-panel":{whiteSpace:"nowrap",fontSize:"13px"},".ag-ltr .ag-label":{fontSize:"13px"},"@media (max-width: 768px)":{"& .ag-paging-panel":{flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"5px",height:"60px",margin:0},"& .ag-paging-button, & .ag-paging-page-summary-panel":{fontSize:"12px"},"& .ag-paging-page-size":{display:"none"},"& .ag-paging-row-summary-panel":{margin:0}}})));function Io(t){return e.jsxs(Br.default,{sx:{position:"relative"},children:[e.jsx(Wr.default,{variant:"determinate",sx:{color:e=>e.palette.grey[200]},size:40,thickness:4,...t,value:100}),e.jsx(Wr.default,{variant:"indeterminate",disableShrink:!0,sx:{color:e=>e.palette.app?.color.butterflyBlue[900],animationDuration:"400ms",position:"absolute",left:0,[`& .${ll.default.circle}`]:{strokeLinecap:"round"}},size:40,thickness:4,...t})]})}const Ro=()=>e.jsx("div",{className:"ag-overlay-loading-wrapper",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},children:e.jsx(Io,{})}),To=()=>e.jsx("div",{className:"ag-overlay-no-rows-wrapper",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},children:e.jsx("span",{className:"ag-overlay-no-rows-center",children:"No Data Found"})});P.ModuleRegistry.registerModules([P.AllCommunityModule]);const Eo=e=>{e&&e.hideOverlay()},Fo=e=>{if(!e)return;e.getDisplayedRowCount()>0?Eo(e):(e.setGridOption("suppressNoRowsOverlay",!1),e.showNoRowsOverlay())},Po=[20,50,100,200],_o=a.forwardRef(((t,r)=>{const{layout:l}=Vi(),{height:n="597px",rowHeight:i=30,rowModelType:o="infinite",defaultColDef:s,rowBuffer:d=5,overlayNoRowsTemplate:c='<span class="ag-overlay-no-rows-center">No Data Found</span>',pagination:u=!1,enableSecondRowFilter:p,isSelectAllVisible:h=!1,onSelectAllClick:C,selectAllMessage:x,onModelUpdated:f,onFirstDataRendered:g,onViewportChanged:m,onFilterChanged:b,paginationPageSize:j,cacheBlockSize:y,infiniteInitialRowCount:w,loading:v=!1,filterButtons:M=["reset"],...L}=t,k=j??100,S=y??k,H=w??k,Z={flex:1,floatingFilter:!1,filter:!0,filterParams:{closeOnApply:!0,contains:!1,debounceMs:500},lockPosition:!0,minWidth:"desktop"===l?void 0:200,wrapHeaderText:!0,...s},V=a.useCallback(((e,t)=>{if(!e)return;const r=e;t&&!v?Fo(r):Eo(r)}),[v]),A=a.useCallback((e=>{f?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[f,o,V]),D=a.useCallback((e=>{g?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),0)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),0)}),[g,o,V]),B=a.useCallback((e=>{m?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[m,o,V]),I=a.useCallback((e=>{b?.(e);const t=e.api;if(t)if("infinite"===o){t.getGridOption("datasource")&&setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}else setTimeout((()=>{const e=t.getDisplayedRowCount();V(t,0===e)}),50)}),[b,o,V]);return requestAnimationFrame((()=>{requestAnimationFrame((()=>{const e=r?.current?.api?.getDisplayedRowCount();V(r?.current?.api,0===e)}))})),e.jsxs(Bo,{className:"ag-theme-quartz ",style:{width:"100%",height:n,position:"relative"},children:[e.jsx(E.AgGridReact,{ref:r,theme:"legacy",cacheBlockSize:S,defaultColDef:{...Z,floatingFilter:p,suppressFloatingFilterButton:p,filterParams:{...Z.filterParams,buttons:M}},rowHeight:i,rowModelType:o,rowBuffer:d,infiniteInitialRowCount:H,overlayNoRowsTemplate:c,loadingOverlayComponent:Ro,loading:v,noRowsOverlayComponent:To,suppressNoRowsOverlay:"infinite"===o||v,pagination:u,onModelUpdated:A,onFirstDataRendered:D,onViewportChanged:B,onFilterChanged:I,...u?{paginationPageSize:k}:{},paginationPageSizeSelector:!!u&&Po,...L}),h&&(C||x)&&e.jsx(Br.default,{position:"absolute",bottom:x?.show?"10px":"15px",children:e.jsx(Zo,{padding:{paddingLeft:x?.text?"20px":"0px"},children:e.jsx(Zr.default,{direction:"row",spacing:1,alignItems:"center",children:x?.show?e.jsxs(Zr.default,{direction:"row",spacing:.5,alignItems:"center",children:[e.jsx(_r.default,{variant:"body2",children:x.text}),e.jsx(Ni,{variant:"text",size:"small",onClick:x.onButtonClick,children:e.jsx(_r.default,{variant:"body2",children:x.buttonText})})]}):!!t.selectedItems&&u&&e.jsxs(_r.default,{variant:"body2",children:["Selected Rows ",t.selectedItems]})})})})]})}));_o.displayName="AgGrid";const Oo=()=>{if(document.querySelector('.MuiBackdrop-root:not([style*="display: none"])'))return!0;const e=document.querySelectorAll('[role="dialog"], .MuiDialog-root, .MuiModal-root');if(0===e.length)return!1;for(const t of Array.from(e)){const e=t,r=window.getComputedStyle(e);if("none"!==r.display&&"hidden"!==r.visibility&&parseFloat(r.opacity)>0)return!0}return!1},zo=()=>{if(document.querySelector(".MuiBackdrop-root:not([style*='display: none'])"))return!0;const e=document.querySelectorAll("[role='dialog'], .MuiDialog-root, .MuiModal-root");return 0===e.length||Array.from(e).forEach((e=>{const t=window.getComputedStyle(e);if("none"!==t.display&&"hidden"!==t.visibility&&parseFloat(t.opacity)>0)return!0})),!1},Wo=()=>{const e=document.activeElement;if(!e)return!1;return!!["INPUT","TEXTAREA","SELECT"].includes(e.tagName)||(!(!e.classList.contains("ag-text-field-input")&&!e.classList.contains("ag-input-field-input"))||"true"===e.getAttribute("contenteditable"))},$o=(e,t)=>({data:e,node:null,api:void 0,columnApi:void 0,context:void 0,getValue:()=>{},colDef:t,column:void 0}),qo=(e,t,r)=>({value:e,data:t??{},colDef:r??{}});function Ko(e){return nl.default(e.map((e=>"children"in e&&e.children?Ko(e.children):e))).filter((e=>"field"in e||"colId"in e))}function No(e){return sl.default(e)&&Ii.test(e.trim())}function Go(e){if(al.default(e)&&!ol.default(e))return e;if(!sl.default(e))return 0;if(No(e))return Number(ji(e)??"0h 0m");const t=String(e).replace(/,/g,"").trim(),r=parseFloat(t);return ol.default(r)?0:r}function Uo(e,t,r){const{valueGetter:l}=t;if("function"==typeof l){return l($o(e,t))??void 0}return il.default(e,r)}function Yo(e,t,r){for(const n of e)if(l=Uo(n,t,r),al.default(l)&&!ol.default(l)||No(l))return!0;var l;return!1}function Xo(e,t,r){const{valueGetter:l}=t;return"function"==typeof l?dl.default(e,(e=>{const r=$o(e,t);return Go(l(r)??void 0)})):dl.default(e,(e=>Go(il.default(e,r))))}function Jo({data:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){if(Or.default(e))return null;const n=Ko(t),i=function(e,t,r,l){const n={};for(const l of t){const{colId:t,field:i}=l,o=t??i;if(!o)continue;const a=String(o);if(r.has(a)||!Yo(e,l,a)){n[a]=null;continue}const s=Xo(e,l,a);t&&(n[t]=s),i&&i!==t&&(n[i]=s)}const i=t[0]?.field??t[0]?.colId;return i&&(n[String(i)]=l),n}(e,n,new Set(r.map(String)),l),o=function(e,t){const r={};for(const l of t){const{field:t,colId:n,hide:i,valueFormatter:o}=l,a=n??t;if(!a||!0===i)continue;const s=e[a];if(o&&"function"==typeof o){const t=qo(s,e,l);r[a]=o(t)??"-"}else r[a]=null!=s?String(s):"-"}return r}(i,n);return{rawSummary:i,formattedSummary:o}}const Qo=u.styled(pl.default,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>{const r=t?80:0,l=t?300:80;return{background:e.palette.app.color.iron[600],boxShadow:"unset",zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.standard}),width:"100%",[e.breakpoints.down("md")]:{paddingLeft:"0px",paddingRight:"0px",marginLeft:`${r}px`,width:`calc(100% - ${r}px)`},[e.breakpoints.up("md")]:{paddingLeft:"0px",paddingRight:"0px",marginLeft:`${l}px`,width:`calc(100% - ${l}px)`},...t&&{marginLeft:"300px",width:"calc(100% - 300px)",transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}})),ea=u.styled(Cl.default)({display:"flex",flexWrap:"nowrap",overflowX:"auto",whiteSpace:"nowrap","& .MuiBreadcrumbs-ol":{display:"flex",flexWrap:"nowrap"},"& .MuiBreadcrumbs-li":{whiteSpace:"nowrap"},"&::-webkit-scrollbar":{display:"none"}}),ta=u.styled(Cl.default)((({theme:e})=>{const{black:t,butterflyBlue:r}=e.palette.app.color;return{display:"flex",alignItems:"center",gap:"4px",color:t[900],"& .MuiTypography-root":{color:t[900],position:"relative",display:"inline-flex",alignItems:"center","&::after":{content:'""',position:"absolute",left:0,bottom:-2,width:"0%",height:2,backgroundColor:r[900],transition:"width 200ms ease"}},"& .MuiIconButton-root":{color:r[900]}}})),ra=u.styled(Cl.default)((({theme:e})=>{const{black:t,butterflyBlue:r}=e.palette.app.color;return{background:"none",border:"none",padding:0,cursor:"pointer",display:"flex",alignItems:"center",transition:"color 180ms ease, filter 180ms ease",color:t[900],"& .MuiTypography-root":{position:"relative",display:"inline-flex",alignItems:"center",color:t[900],"&::after":{content:'""',position:"absolute",left:0,bottom:0,width:"0%",height:2,backgroundColor:r[900],transition:"width 400ms ease"}},"& .MuiIconButton-root":{transition:"color 180ms ease",color:r[900]},"&:hover":{"& .MuiTypography-root":{color:r[900],"&::after":{width:"100%"}}}}}));function la({label:t,value:r,...l}){return e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:{xs:"0px",md:"10px"},...l,children:["string"==typeof t?e.jsx(Zr.default,{gap:"10px",width:"40%",children:e.jsxs(_r.default,{variant:"body1",sx:{fontWeight:500},flex:1,noWrap:!0,children:[t," :"]})}):e.jsxs(e.Fragment,{children:[" ",t," :"]}),r]})}const na=a.forwardRef((({title:t,subTitle:r,avatar:l,loading:n=!1,showAvatar:i=!1,isHideTitle:o=!1,variant:a="circular",sx:s,containerSx:d},c)=>{const p=u.useTheme(),{slate:h,iron:C}=p.palette.app.color;return n?e.jsxs(Zr.default,{gap:"10px ",flex:"1",children:[e.jsxs(Zr.default,{direction:"row",gap:"10px",alignItems:"center",children:[l&&e.jsx(cl.default,{variant:"circular",height:"30px",animation:"wave",width:"30px"}),e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"150px"})]}),r&&e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"200px"})]}):e.jsxs(Zr.default,{width:"50%",sx:d,gap:"10px",flex:1,children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",flex:1,children:[i&&e.jsx(ul.default,{alt:t,src:l,variant:a,sx:{width:28,height:28}}),!o&&e.jsx(_r.default,{ref:c,variant:"body1",sx:{width:"100%",fontWeight:400,color:h[900],...s},noWrap:!0,children:t||"-"})]}),r&&e.jsx(_r.default,{variant:"body1",sx:{color:C[500]},noWrap:!0,children:r})]})}));na.displayName="CardItemValue";const ia=({label:t,variant:r="outlined",imgURL:l,avatar:n,...i})=>e.jsx(xl.default,{avatar:n&&e.jsx(ul.default,{alt:"Natacha",src:l}),label:t,variant:r,...i}),oa=a.forwardRef((({onDelete:t,label:r,onClick:l,isFocused:n=!1,onKeyDown:i,onFocus:o,onBlur:a,tabIndex:s=0},d)=>{const c=u.useTheme(),{black:p,butterflyBlue:h,iron:C}=c.palette.app.color;return e.jsx(ia,{ref:d,label:r,variant:"filled",deleteIcon:t&&e.jsx(fl.default,{}),tabIndex:s,onKeyDown:i,onFocus:o,onBlur:a,sx:{maxWidth:"200px",borderRadius:"20px",color:p[900],backgroundColor:`${h[600]} !important`,"&:hover":{backgroundColor:u.darken(h[600],.1)},"&:focus-visible":{outline:`1px solid ${h[600]}`,outlineOffset:"2px",backgroundColor:`${u.darken(h[600],.1)} !important`},...n&&{outline:`2px solid ${h[600]}`,outlineOffset:"2px",backgroundColor:`${u.darken(h[600],.1)} !important`},"& .MuiChip-deleteIcon":{color:C[800],"&:hover":{color:C[900],backgroundColor:h[600]}}},onDelete:t,onClick:l})}));oa.displayName="FilterPill";const aa=new Set(["dialog","alertdialog","menu","listbox","tooltip","combobox"]);function sa(e,t){a.useEffect((()=>{const r=r=>{if(function(e){const t=e.composedPath?e.composedPath():[];for(const e of t){if(!(e instanceof Element))continue;if("true"===e.getAttribute("aria-modal"))return!0;const t=e.getAttribute("role");if(t&&aa.has(t))return!0}return"hidden"===getComputedStyle(document.body).overflow}(r))return;const l=r.target,n=e.current;n&&n.contains(l)||t()};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}}),[e,t])}function da(e){const t=new Map;return e.forEach(((e,r)=>{const l="string"==typeof e?.id?e.id:`row-${r}`;t.set(l,r)})),t}function ca(e){if("string"==typeof e){if(""===e.trim())return"";const t=parseFloat(e);return!isNaN(t)&&isFinite(t)?String(t):e.toLowerCase()}if("boolean"==typeof e)return e?"1":"0";if(e&&"object"==typeof e&&"cellLabel"in e){const t=e.cellLabel;if("string"==typeof t){if(""===t.trim())return"";const e=parseFloat(t);return!isNaN(e)&&isFinite(e)?String(e):t.toLowerCase()}}return""}function ua(e,t,r){return r?[...e].sort(((e,l)=>{const n=ca(e[t]),i=ca(l[t]);if(""===n&&""===i)return 0;if(""===n)return"asc"===r?1:-1;if(""===i)return"asc"===r?-1:1;const o=parseFloat(n),a=parseFloat(i);if(!isNaN(o)&&!isNaN(a)&&isFinite(o)&&isFinite(a))return"asc"===r?o-a:a-o;const s=String(n),d=String(i);return"asc"===r?s.localeCompare(d):d.localeCompare(s)})):e}function pa(e){switch(e){case null:default:return"asc";case"asc":return"desc";case"desc":return null}}function ha(e,t){return Boolean(e||t)}function Ca({data:e,columns:t}){const[r,l]=a.useState(null),n=a.useCallback((e=>{const r=t.find((t=>t.key===e));r&&r.disableSelection&&r.sorting&&l((t=>{const r=pa(t?.columnKey===e?t.direction:null);return null===r?null:{columnKey:e,direction:r}}))}),[t]),i=a.useMemo((()=>r?ua(e,r.columnKey,r.direction):e),[e,r]),o=a.useMemo((()=>{if(!r){const t=new Map;return e.forEach(((e,r)=>t.set(r,r))),t}return function(e,t){const r=new Map,l=da(e);return t.forEach(((e,t)=>{const n="string"==typeof e?.id?e.id:`row-${t}`,i=l.get(n);void 0!==i&&r.set(t,i)})),r}(e,i)}),[e,i,r]),s=a.useCallback((e=>r?.columnKey===e),[r]),d=a.useCallback((e=>r?.columnKey===e?r.direction:null),[r]),c=a.useCallback(((e,t,r)=>function(e,t,r){const l=da(r);return e.map((e=>e.map((e=>{const r=t[e.row],n="string"==typeof r?.id?r.id:`row-${e.row}`,i=l.get(n);return void 0===i?null:{row:i,col:e.col}})).filter((e=>null!==e))))}(e,t,r)),[]),u=a.useCallback((e=>function(e,t){return e.map((e=>{const r=t.get(e.row);return void 0===r?null:{row:r,col:e.col}})).filter((e=>null!==e))}(e,o)),[o]);return{sortedData:i,sortConfig:r,handleSort:n,isColumnSorted:s,getSortDirection:d,updateSelectedRangesForSorting:c,sortedToOriginalMapping:o,convertSortedCoordsToOriginal:u}}const xa=e=>a.useMemo((()=>{const t=new Map,r=[];let l=0;return e.forEach(((e,n)=>{const i=(e=>{if("number"==typeof e)return e;const t=parseInt((e??"36").replace("px",""),10);return isNaN(t)?36:t})(e.minWidth),o={...e,idx:n,parsedMinWidth:i};r.push(o),e.lockPinned&&(t.set(n,l),l+=i)})),{parsedColumns:r,stickyMap:t}}),[e]),fa=({row:e,col:t})=>`${e}:${t}`;function ga(e,t){return Hl.default(Math.min(e,t),Math.max(e,t)+1)}function ma(e,t){const r=ga(e.row,t.row),l=ga(e.col,t.col);return r.flatMap((e=>l.map((t=>({row:e,col:t})))))}function ba({e:e,ri:t,ci:r,selectingRef:l,anchorRef:n,selectedRanges:i,selectionModeRef:o}){if(2===e.button)return;const a={row:t,col:r},s=e.ctrlKey||e.metaKey;l.current=!0,n.current=a;const d=fa(a),c=Zl.default(i.flat(),(e=>fa(e)===d));o.current=s?c?"remove":"add":"replace"}function ja({anchorRef:e,hoveringRef:t,ri:r,ci:l,setSelectedRanges:n,selectionModeRef:i,setCurrentSelectedRanges:o,columns:a,data:s}){if(null===e.current)return;const d={row:r,col:l};t.current=d;const c=ma(e.current,d),u=s.some((e=>e?.rowDisabled))||a.some((e=>e?.disableSelection))?c.filter((e=>!s[e.row]?.rowDisabled&&!a[e.col]?.disableSelection)):c;if(!u.length)return void o([]);const p=i.current;if("replace"!==p)if("remove"!==p)"add"===p&&o([u]);else{const e=new Set(u.map(fa));n((t=>t.map((t=>t.filter((t=>!e.has(fa(t)))))).filter((e=>e.length))))}else n([u])}function ya({e:e,ri:t,ci:r,setSelectedRanges:l,onCellSelection:n,selectedRanges:i}){e.preventDefault();const o={row:t,col:r},a=fa(o),s=2===e.button,d=e.ctrlKey||e.metaKey,c=i.flat(),u=Zl.default(c,(e=>fa(e)===a)),p=(h=c,kl.default(h,fa));var h;const C=(()=>{if(d||s){if(!s&&u)return Sl.default(p,a);if(o&&u)return{...p,[a]:o}}return{[a]:o}})(),x=(f=C,Al.default(f));var f;if(x.length>0){l([x]);const t=Vl.default(x,fa);n&&n({selectedCells:t},e)}}const wa=(e,t)=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){const r=e[t];if("string"==typeof r)return r;if("number"==typeof r)return r.toString();if(!0===r)return"active"}return""},va=({row:t,minWidth:r,maxWidth:l})=>{const n=wa(t.avatar,"avatar"),i=wa(t.name,"name"),o=wa(t.employee_code,"employee_code"),a="auto"===r?l:r,s="auto"===l?r:l;return e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"10px",sx:{minWidth:a,maxWidth:s},children:[e.jsx(ul.default,{src:n,alt:i,sx:{width:28,height:28}}),e.jsxs(Br.default,{sx:{maxWidth:"calc(100% - 28px - 10px)",minWidth:0},children:[e.jsx(_r.default,{variant:"body2",noWrap:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",display:"block",lineHeight:"16px"},children:i}),e.jsx(_r.default,{variant:"caption",sx:{lineHeight:"15px"},children:o})]})]})},Ma=({columns:t,rowCount:r=25})=>e.jsx(wl.default,{children:Array.from({length:r}).map((()=>e.jsx(Ll.default,{children:t.map((()=>e.jsx(vl.default,{sx:{padding:"5px 10px"},children:e.jsx(cl.default,{width:"100%",height:"100%"})},X.v4())))},X.v4())))}),La=a.forwardRef((({columns:t,data:r,onCellSelection:l,cellColors:n,height:i,loading:o=!1,getCellTextColor:s=()=>"",onDataUpdate:d},c)=>{const p=u.useTheme(),{slate:h,iron:C,butterflyBlue:x}=p.palette.app.color,f=a.useRef(!1),g=a.useRef(null),m=a.useRef(null),b=a.useRef(null),[j,y]=a.useState([]),w=a.useRef("add"),v=a.useRef(null),M=a.useRef(null),[L,k]=a.useState([]),[S,H]=a.useState([]);sa(g,(()=>{k([]),H([])})),a.useMemo((()=>{o&&L.length>0&&(k([]),H([]))}),[o]);const Z=a.useMemo((()=>{const e=new Set;return 0===L.length&&0===S.length||[...L,...S].forEach((t=>{t.forEach((t=>{e.add(`${t.row}-${t.col}`)}))})),e}),[L,S]),V=a.useCallback(((e,t)=>Z.has(`${e}-${t}`)),[Z]),{stickyMap:A}=xa(t);sa(g,(()=>{k([]),H([])})),a.useMemo((()=>{o&&L.length>0&&(k([]),H([]))}),[o]);const D=a.useMemo((()=>r.map((e=>{const t={};for(const r in e){const l=e[r];"string"==typeof l?"true"===l.toLowerCase()?t[r]=!0:"false"===l.toLowerCase()?t[r]=!1:t[r]=l:"boolean"!=typeof l&&"object"!=typeof l||(t[r]=l)}return t}))),[r]),{sortedData:B,handleSort:I,getSortDirection:R,updateSelectedRangesForSorting:T,sortedToOriginalMapping:E,convertSortedCoordsToOriginal:F}=Ca({data:D,columns:t}),P=a.useCallback((()=>40),[]),_=a.useCallback((()=>m.current),[]),O=de.useVirtualizer({count:B.length,estimateSize:P,getScrollElement:_,overscan:5,scrollPaddingStart:0,scrollPaddingEnd:0}),z=O.getVirtualItems(),W=a.useRef([]),$=a.useRef([]),q=a.useRef(D);a.useEffect((()=>{q.current=D}),[D]);const K=a.useCallback(((e,r)=>{const l=F(e),n=[...q.current];return l.forEach(((l,i)=>{if(e[i]&&l){const e=t[l.col]?.key;e&&void 0!==r[e]&&(n[l.row]={...n[l.row],[e]:r[e]})}})),n}),[F,t]),N=a.useCallback((e=>{if(!d)return;const t=F(e);d(e,t,B,D)}),[d,F,B,D]);a.useImperativeHandle(c,(()=>({updateData:N,getSortedToOriginalMapping:()=>E,convertSortedCoordsToOriginal:F,getUpdatedTableData:K})),[N,E,F,K]),a.useEffect((()=>{if($.current.length>0&&W.current.length>0){if(W.current.length!==B.length||W.current.some(((e,t)=>{const r=B[t],l="string"==typeof e?.id?e.id:`row-${t}`,n="string"==typeof r?.id?r.id:`row-${t}`;return!r||l!==n})))try{const e=T($.current,W.current,B),r=e.length!==$.current.length||e.some(((e,t)=>{const r=$.current[t];return!r||e.length!==r.length||e.some(((e,t)=>e.row!==r[t]?.row||e.col!==r[t]?.col))})),l=e.every((e=>e.every((e=>e.row>=0&&e.row<B.length&&e.col>=0&&e.col<t.length))));r&&l&&(k(e),$.current=e)}catch(e){k([]),$.current=[]}}W.current=B}),[B,T,t.length]),a.useEffect((()=>{$.current=L}),[L]),a.useEffect((()=>{if(b.current&&!o){const e=()=>{const e=b.current?.querySelector("tr");if(e){const t=e.querySelectorAll("th"),r=Array.from(t).map((e=>e.getBoundingClientRect().width));r.length>0&&y(r)}},t=requestAnimationFrame((()=>{e()}));return()=>{cancelAnimationFrame(t)}}}),[t,o]);const G=a.useCallback((({cellKey:e,isSelected:t=!1})=>t?x[800]:!t&&e&&n?n(e):C[600]),[x,n,C]),U=a.useCallback(((e,r)=>l=>{if(l.preventDefault(),ha(t[r]?.disableSelection,t[r]?.sorting)&&r>0){const n=t.findIndex(((e,t)=>!ha(e.disableSelection,e.sorting)&&t>r));if(-1!==n)return ba({e:l,ri:e,ci:n,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w});const i=[...t].reverse().findIndex(((e,l)=>!ha(e.disableSelection,e.sorting)&&t.length-1-l<r));if(-1!==i){const r=t.length-1-i;return ba({e:l,ri:e,ci:r,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w})}}else ba({e:l,ri:e,ci:r,selectingRef:f,anchorRef:v,selectedRanges:L,selectionModeRef:w})}),[L]),Y=a.useCallback(((e,r)=>l=>{ja({anchorRef:v,hoveringRef:M,ri:e,ci:r,setSelectedRanges:k,selectionModeRef:w,setCurrentSelectedRanges:H,columns:t,data:B})}),[ja,f,v,M,k,w,B,t]),X=a.useCallback(((e,r)=>l=>{!function({e:e,ri:t,ci:r,selectingRef:l,anchorRef:n,hoveringRef:i,setSelectedRanges:o,selectionModeRef:a,setCurrentSelectedRanges:s,columns:d,data:c}){if(!a.current||!n.current)return;const u={row:t,col:r},p=e.ctrlKey||e.metaKey,h=a.current,C=ma(n.current,u),x=c.some((e=>e?.rowDisabled))||d.some((e=>e?.disableSelection))?C.filter((e=>!c[e.row]?.rowDisabled&&!d[e.col]?.disableSelection)):C;l.current=!1,n.current=null,i.current=null,o((e=>{if("replace"===h)return[x];if("remove"===h){const t=new Set(x.map(fa));return e.map((e=>e.filter((e=>!t.has(fa(e)))))).filter((e=>e.length))}return"add"===h?p?[...e,x]:[x]:e})),s([])}({e:l,selectingRef:f,anchorRef:v,hoveringRef:M,ri:e,ci:r,setSelectedRanges:k,selectionModeRef:w,setCurrentSelectedRanges:H,data:B,columns:t})}),[B,t]),J=a.useCallback(((e,t)=>r=>{ya({e:r,ri:e,ci:t,selectedRanges:L,setSelectedRanges:k,onCellSelection:l})}),[l,L]);return e.jsx(Br.default,{ref:m,position:"relative",overflow:"auto",height:i,bgcolor:C[600],sx:{WebkitOverflowScrolling:"touch",scrollBehavior:"auto"},children:e.jsxs(yl.default,{ref:g,stickyHeader:!0,sx:{userSelect:"none",borderCollapse:"separate",borderSpacing:0,tableLayout:"fixed",width:"100%","& th, & td":{borderRight:`1px solid ${h[700]}`,borderBottom:`1px solid ${h[700]}`,height:"40px"},"& th":{padding:"2px 5px"},"& td":{padding:"0px 5px"}},children:[e.jsx(Ml.default,{ref:b,children:e.jsx(Ll.default,{children:t.map((({key:r,label:l,minWidth:n="auto",lockPinned:i=!1,align:o="left",disableSelection:a,sorting:s},d)=>{const c=A.has(d)?A.get(d):0,u=R(r),p=Boolean(a&&s);let C="flex-start";"center"===o?C="center":"right"===o&&(C="flex-end");return e.jsx(vl.default,{align:o,sx:{...i&&{top:0,left:c,zIndex:10,position:"sticky"},backgroundColor:h[700],minWidth:n,maxWidth:t[d]?.maxWidth??"auto",width:"auto"!==n?n:void 0,padding:"5px 10px",cursor:p?"pointer":"default",boxSizing:"border-box"},onClick:p?()=>I(r):void 0,children:e.jsxs(Br.default,{display:"flex",alignItems:"center",justifyContent:C,gap:1,children:[e.jsx(_r.default,{variant:"subtitle2",lineHeight:"18px",children:l}),p&&e.jsx(Br.default,{display:"flex",flexDirection:"column",alignItems:"center",children:"asc"===u?e.jsx(ml.default,{sx:{fontSize:16,color:x[400]}}):"desc"===u?e.jsx(gl.default,{sx:{fontSize:16,color:x[400]}}):e.jsxs(Br.default,{display:"flex",flexDirection:"column",alignItems:"center",sx:{opacity:.5},children:[e.jsx(jl.default,{sx:{fontSize:14,marginBottom:-.5}}),e.jsx(bl.default,{sx:{fontSize:14}})]})})]})},r)}))})}),o?e.jsx(Ma,{columns:t,rowCount:25}):e.jsx(wl.default,{style:{height:`${O.getTotalSize()}px`,position:"relative"},children:z.map((r=>{const l=B[r.index];if(!l)return null;const n=r.index;return e.jsx(Ll.default,{sx:{backgroundColor:C[600],position:"absolute",top:0,left:0,width:"100%",height:`${r.size}px`,transform:`translateY(${r.start}px) translateZ(0)`,display:"table-row",willChange:"transform",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},children:t.map((({key:r,maxWidth:i="auto",minWidth:o="auto",isEmployee:a,align:d="center",lockPinned:c=!1},p)=>{const h=l[r],C=wa(h,"cellLabel"),x="object"==typeof h&&null!=h&&"object"==typeof h?.cellTooltip?h.cellTooltip:wa(h,"cellTooltip"),f=wa(h,"cellBackgroundConditionKey"),g=wa(h,"cellActive"),m=A.has(p)?A.get(p):0,b=a?e.jsx(va,{row:l,maxWidth:i,minWidth:o}):e.jsx(_r.default,{variant:"body2",children:C}),y=!(ha(t[p]?.disableSelection,t[p]?.sorting)||l?.rowDisabled);let w;return w=void 0!==j[p]?`${j[p]}px`:"auto"!==o?o:void 0,e.jsx(vl.default,{align:d,sx:{...c&&{top:0,left:m,zIndex:5,position:"sticky"},...y?{}:{cursor:"not-allowed"},userSelect:"none",overflow:"hidden",bgcolor:u.lighten(G({cellKey:f,isSelected:V(n,p)}),.8),...g&&p>0&&{color:s(g)},padding:"5px 10px",cursor:"pointer",maxWidth:i,minWidth:o,width:w,boxSizing:"border-box"},onMouseDown:e=>U(n,p)(e),onMouseEnter:y?Y(n,p):void 0,onMouseUp:e=>X(n,p)(e),onContextMenu:y?J(n,p):void 0,children:x?e.jsx(wo,{toolTipLabel:x,children:b}):b},r)}))},"string"==typeof l.id?l.id:`row-${n}`)}))})]})})}));La.displayName="CellSelectionTable";const ka=u.styled(fe.BarChart)((({theme:e})=>({"& .MuiChartsAxis-tick":{stroke:e.palette.text.secondary},"& .MuiChartsAxis-line":{stroke:e.palette.divider},"& .MuiChartsAxis-tickLabel":{fill:e.palette.text.secondary,fontSize:12},"& .MuiChartsLegend-mark":{rx:4}}))),Sa=u.styled(ge.LineChart)((({theme:e})=>({"& .MuiChartsAxis-tick":{stroke:e.palette.text.secondary},"& .MuiChartsAxis-line":{stroke:e.palette.divider},"& .MuiChartsAxis-tickLabel":{fill:e.palette.text.secondary,fontSize:12},"& .MuiChartsLegend-mark":{rx:4}}))),Ha=({height:t=235,radius:r=18})=>e.jsxs(Br.default,{position:"relative",display:"flex",justifyContent:"center",children:[e.jsx(cl.default,{sx:{transform:"unset",width:"162px",height:{height:t},borderRadius:"50%",border:`${r}px solid #e0e0e0`,background:"transparent",boxSizing:"border-box"}}),e.jsx(cl.default,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80px",height:"25px"}})]});var Za={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}};const Va=u.styled(Br.default)((({theme:e})=>{const{app:{color:t}}=e.palette,{slate:r,iron:l}=t;return{backgroundColor:r[900],borderRadius:"4px",boxShadow:`0 4px 16px ${r[800]}40`,color:l[600],padding:e.spacing(2),fontSize:"0.85rem",overflow:"auto",fontFamily:"SFMono-Regular, Menlo, Monaco, Consolas, monospace",lineHeight:1.5,"& .react-syntax-highlighter-code-element":{fontSize:"inherit",fontFamily:"inherit"}}})),Aa=u.styled(Be.ToastContainer)((({theme:{palette:{app:{color:e}}}})=>({...{"& .Toastify__toast-container":{padding:"0px"},"& .Toastify__toast":{padding:"0px",inlineSize:"400px",right:"80px",borderRadius:"8px",border:`2px solid ${e.iron[700]}`},"& .Toastify__toast-body":{padding:"0px"},"@media (min-width: 480px)":{"& .Toastify__toast":{top:"-10px"}}},...{"& .Toastify__toast-theme--light.Toastify__toast--success":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.darkMint[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--error":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.red[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--warning":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.darkOrange[900]}`}}},...{"& .Toastify__toast-theme--light.Toastify__toast--info":{"& .Toastify__toast-body":{borderInlineStart:`6px solid ${e.slate[900]}`}}}}))),Da=u.styled(Br.default)((({theme:e})=>({color:e.palette.app.color.slate[900],"&:hover":{color:e.palette.app.color.butterflyBlue[900]}})));function Ba({title:t,description:r}){const{palette:{app:{color:l}}}=u.useTheme();return e.jsxs(Zr.default,{gap:"4px",children:[e.jsx(_r.default,{fontWeight:500,color:"black",variant:"body1",children:t}),r&&e.jsx(_r.default,{color:l.slate[900],variant:"body2",children:r})]})}function Ia({href:t,linkText:r}){return e.jsx(Nl.default,{href:t,underline:"none",target:t?.startsWith("http")?"_blank":"_self",children:e.jsx(Da,{children:e.jsx(_r.default,{children:r??t})})})}const Ra=({closeToast:t,type:r,title:l,description:n,href:i,linkText:o})=>{const a={info:e.jsx(zl.default,{color:"info",fontSize:"large"}),success:e.jsx(Wl.default,{color:"success",fontSize:"large"}),warning:e.jsx(ql.default,{color:"warning",fontSize:"large"}),error:e.jsx(Kl.default,{color:"error",fontSize:"large"})};return e.jsx(Zo,{padding:{p:"20px",pl:"16px"},children:e.jsxs(Zr.default,{direction:"row",gap:"16px",alignItems:"center",children:[a[r],e.jsxs(Zr.default,{alignItems:"flex-start",gap:"1.2rem",flexGrow:1,children:[e.jsx(Ba,{title:l,description:n}),i&&e.jsx(Ia,{href:i,linkText:o})]}),e.jsx(kr.default,{onClick:t,disableRipple:!0,children:e.jsx($l.default,{})})]})})};function Ta({title:t,description:r,href:l,linkText:n},i,o){const a=`${i}-${t}`;return Be.toast.isActive(a)?a:Be.toast(e.jsx(Ra,{title:t,description:r,href:l,linkText:n,type:i}),{...o,icon:!1,type:i,toastId:a})}const Ea={info:(e,t)=>Ta(e,"info",t),success:(e,t)=>Ta(e,"success",t),warning:(e,t)=>Ta(e,"warning",t),error:(e,t)=>Ta(e,"error",t)};const Fa=u.styled(Br.default)((({theme:e,size:t})=>{const{color:r}=e.palette.app;return{..."small"===t?{width:"14px",height:"14px"}:{width:"20px",height:"20px"},borderRadius:"4px",border:`2px solid ${r.iron[900]}`,"input:hover ~ &":{borderColor:r.butterflyBlue[900]},"input:disabled ~ &":{borderColor:r.iron[800]}}})),Pa=u.styled(Dl.default)((({theme:e,size:t})=>{const{color:r}=e.palette.app;return{..."small"===t?{width:"14px",height:"14px"}:{width:"20px",height:"20px"},border:`2px solid ${r.butterflyBlue[900]}`,borderRadius:"4px",color:r.iron[600],backgroundColor:r.butterflyBlue[900],"input:disabled ~ &":{borderColor:r.iron[800],backgroundColor:r.iron[800]}}})),_a=e=>{if("default"===e)return{sx:{opacity:.8,"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"calc(var(--input-base-height, 56px) / 2)",transform:"translate(14px, -90%)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}}},Oa=e=>{if("default"===e)return{"& .MuiInputBase-root":{"--input-base-height":"100%"},"&.MuiTextField-sizeSmall .MuiInputBase-root":{"--input-base-height-small":"40px"}}},za=e=>{if("default"===e)return{"& .MuiInputBase-root":{"--input-base-height":"100%"}}},Wa=e=>{if("default"===e)return{opacity:.8,"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"calc(var(--input-base-height, 56px) / 2)",transform:"translate(14px, -90%)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}},$a=u.styled(xl.default,{shouldForwardProp:e=>"disabled"!==e})((({theme:e})=>{const{slate:t,iron:r}=e.palette.app.color;return{"& .MuiChip-label":{padding:0},backgroundColor:r[700],color:t[900],fontWeight:500,borderRadius:"100%",minWidth:"30px"}})),qa=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),Ka=({isShowAvatar:t,option:r,label:l})=>{const{avatar:n=""}=r;if(t)return e.jsx(ul.default,{sx:{width:25,height:25},src:n,alt:l})},Na=u.styled(xl.default,{shouldForwardProp:e=>"disabled"!==e})((({theme:e,disabled:t})=>{const{lightBlue:r,iron:l}=e.palette.app.color;return{backgroundColor:"transparent",color:t?l[700]:r[100],borderRadius:"50px",padding:0,[`& .${Gl.default.deleteIcon}`]:{color:u.alpha(l[800],.7),borderRadius:"50%",transition:"color 100ms ease","&:hover":{color:l[800]},cursor:t?"auto":"pointer"},opacity:t?.6:1,"&.Mui-disabled":{pointerEvents:"none",cursor:"auto"}}})),Ga=({tags:t,getTagProps:r,isShowAvatar:l,disabled:n,startIndex:i})=>t.map(((t,o)=>{const a=i+o,{key:s,onDelete:d,...c}=r({index:a}),u="string"==typeof t?t:t.label,p=t.disabled||n;return e.jsx(Na,{avatar:e.jsx(Ka,{isShowAvatar:l,option:t,label:u}),label:u,...c,disabled:p,onDelete:p?void 0:d},s)}));function Ua({control:t,defaultValue:r,name:l,required:n=!1,label:i,multiple:o=!1,disabled:s=!1,options:d=[],rules:c,loading:p=!1,helperText:h,error:C,withLabel:x=!1,placeholder:f="",freeSolo:g,isShowOptionsOnType:m=!1,isShowSelectAll:b=!0,isShowAvatar:j=!1,isShowEmployeeData:y=!1,shouldCloseOnSelect:w=!1,actionInsideAutocomplete:v=!1,actionIcon:M,onActionClick:L,onAction:k,renderOption:S,getOptionLabel:H,maxLimit:Z,autoFocus:V=!1,defaultOption:A,disableClearable:D=!!n,containerProps:B,setValue:I,limitTags:R=0,styling:T="custom",navigationKey:E,customOnChange:F,disabledAction:P=!1,..._}){const{field:{onChange:O,value:z,...W}}=Ae.useController({name:l,control:t,defaultValue:r,rules:c}),{navigationKey:$}=gi(),q=E??$,{t:K}=De.useTranslation(),[N,G]=a.useState(!1),{open:U,onOpen:Y,onClose:X,...J}=_,Q=void 0!==U,ee=Q?U:N,{inputRef:te,setInputRef:re,maintainFocus:le,maintainFocusAfterClose:ne,handleKeyDown:ie,handleEnterNavigation:oe}=Zi({isOpen:ee,navigationKey:q}),ae=a.useCallback((e=>{Q||G(!0),Y?.(e),te.current&&te.current.blur()}),[Q,Y,te]),se=a.useCallback(((e,t)=>{Q||G(!1),X?.(e,t),"toggleInput"!==t&&ne()}),[Q,X,ne]),de=e=>Pl.default(d,(t=>t.value===e))||{label:String(e),value:e},ce=e=>sl.default(e)?{label:e,value:e}:e,ue=(e,t,r)=>{if(F)if(t&&_l.default(r)){const e=Fl.default(el.default(r,de),(e=>"select-all"!==e.value));F(e)}else if(t&&_l.default(e)){const t=el.default(Fl.default(e,(e=>sl.default(e)||Ol.default(e)&&"select-all"!==e?.value)),ce);F(t)}else t||(sl.default(e)?F({label:e,value:e}):Ol.default(e)&&!_l.default(e)?F(e):F(null))},pe=a.useRef(null),{setLastSelectedValue:he}=function(e,t,r=300){const l=a.useRef(null);return a.useEffect((()=>{if(null===l.current||!e.current)return;const t=setTimeout((()=>{const t=e.current;if(!t)return void(l.current=null);const r=`[data-option-value="${l.current}"]`,n=t.querySelector(r);n&&requestAnimationFrame((()=>{n.scrollIntoView({block:"nearest",behavior:"smooth"})})),l.current=null}),r);return()=>{clearTimeout(t)}}),[t,r,e]),{lastSelectedValueRef:l,setLastSelectedValue:e=>{l.current=e}}}(pe,z),Ce=a.useMemo((()=>o&&b&&d.length>0&&z?.length===d.length),[o,b,d,z]),xe=a.useMemo((()=>[...o&&b&&d.length?[{label:"Select All",value:"select-all"}]:[],...d]),[o,b,d]);a.useMemo((()=>{qr.default(I)&&n&&1===d.length&&!z&&I(l,d[0]?.value,{shouldDirty:!0})}),[n,d,z]);const fe=a.useMemo((()=>o&&g?z?.map((e=>{const t=d.find((t=>t.value===e));return t?t.label:e.toString()}))||[]:x?d.find((e=>e.value===z?.value))??null:o?d.filter((e=>z?.includes(e.value))):!d.find((e=>e.value===z))&&g?z:A||(d.find((e=>e.value===z))||null)),[o,d,z,A]),ge=u.useTheme(),{palette:{app:{color:me}}}=ge,be=u.styled(Jr.default)((({theme:e})=>({"& .MuiAutocomplete-listbox":{maxHeight:250,overflowY:"auto",marginTop:"0px","&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.palette.secondary.main,borderRadius:"4px"},"&::-webkit-scrollbar-track":{backgroundColor:me.lightBlue[100]},"& .MuiAutocomplete-option":{fontSize:"14px"}}}))),je=a.useCallback((t=>e.jsx(be,{...t,ref:e=>{e&&setTimeout((()=>{const t=e.querySelector(".MuiAutocomplete-listbox");t&&(pe.current=t)}),0)},children:t.children})),[]),ye=u.styled("div")((({theme:e})=>({position:"sticky",padding:"4px 10px",fontSize:"16px",fontWeight:500,color:e.palette.app.color.butterflyBlue[900],backgroundColor:e.palette.app.color.butterflyBlue[500]}))),we=u.styled("ul")({padding:0});return p?e.jsx(qa,{label:i,styling:T}):e.jsxs(Zr.default,{gap:"5px",...B,children:[i&&"custom"===T&&e.jsx(Tl.default,{required:n,disabled:s,children:i}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",gap:"10px",alignItems:"start",children:[e.jsx(Il.default,{PopperComponent:Qr.default,PaperComponent:je,sx:{alignSelf:"center","& .MuiAutocomplete-tag":{backgroundColor:u.alpha(me.iron[700],.6),color:me.black[900],borderRadius:"50px"},"& .MuiChip-deleteIcon":{color:u.alpha(me.iron[800],.7),"&:hover":{color:me.iron[800],transition:"100ms ease"},borderRadius:"50%"},width:"100%"},open:ee,onOpen:ae,onClose:se,disableCloseOnSelect:o&&!w,disabled:s,freeSolo:g,filterOptions:(e,t)=>{const{inputValue:r}=t;if(!r&&m)return[];const l=r.toLowerCase();return Si({data:e,fieldsToSearch:m||y?["label","punch_code","employee_code"]:["label"],term:l})},...J,...W,disableClearable:D,slotProps:{clearIndicator:{tabIndex:!D&&(o?Array.isArray(z)&&0!==z.length:z&&""!==z)?0:-1,onKeyDown:e=>{"enter"===q&&"Enter"===e.key&&oe(e)},onMouseDown:e=>{e.stopPropagation()}},popupIndicator:{tabIndex:s?-1:0,onClick:e=>{e.preventDefault(),e.stopPropagation(),ee?(se(e,"toggleInput"),se(e,"blur")):ae(e)},onKeyDown:e=>{if("enter"===q&&"Enter"===e.key){if(ee)return;oe(e)}}}},renderTags:(t,r)=>{const l=R?t.slice(0,R):t,n=t.length-l.length,i=R?t.slice(R):t;return e.jsxs(Zr.default,{flexWrap:"wrap",flexDirection:"row",gap:.2,maxHeight:150,alignItems:"center",sx:{overflowY:"auto"},children:[e.jsx(Ga,{disabled:s,getTagProps:r,isShowAvatar:j,tags:l,startIndex:0}),n>0&&e.jsx(wo,{toolTipLabel:e.jsx(Zr.default,{maxHeight:"200px",alignItems:"start",overflow:"auto",children:e.jsx(Ga,{disabled:s,getTagProps:r,isShowAvatar:j,tags:i,startIndex:R})}),children:e.jsx($a,{label:`+${n}`})})]})},renderOption:(t,r,{selected:l})=>{if(S)return S(t,r,{selected:l});const{label:n,avatar:i,employee_code:a,punch_code:s,value:d}=r,{key:c,...u}=t,p="select-all"===d;return e.jsx("li",{...u,"data-option-value":d,style:{padding:"5px 16px 5px 16px"},tabIndex:-1,children:e.jsxs(Zr.default,{gap:"5px",children:[e.jsxs(Zr.default,{direction:"row",gap:"10px",alignItems:"center",children:[o&&e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),indeterminate:!(Ce||!fe?.length||!p),checked:!!Ce||l,sx:{marginRight:"8px",".MuiCheckbox-indeterminate":{borderColor:me.butterflyBlue[900]}}}),!p&&y?e.jsxs(e.Fragment,{children:[e.jsx(ul.default,{sx:{width:25,height:25},src:i,alt:n}),e.jsxs(Br.default,{children:[e.jsx(_r.default,{children:`${n} (${s??"-"})`}),a&&e.jsx(_r.default,{variant:"body2",color:me.iron[800],children:a})]})]}):e.jsx(_r.default,{children:n})]}),p&&e.jsx($r.default,{sx:{width:"280px"}})]})},c)},renderInput:t=>{let r=t.InputProps.startAdornment;const l=P||s;!o&&fe?.avatar&&H&&(r=e.jsx(Br.default,{width:"20px",marginLeft:"10px",children:e.jsx(ul.default,{src:fe.avatar,alt:fe.label,sx:{width:24,height:24}})}));let a=t.InputProps.endAdornment;if(v&&(L||k)){const t=e=>{e.stopPropagation(),L?.(),k?.()},r=e=>{e.stopPropagation()},n=e=>{["Enter"," ","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.key)&&(te.current?.focus(),"enter"===q?" "===e.key?(e.stopPropagation(),e.preventDefault(),L?.(),k?.()):"Enter"===e.key&&oe(e):"Enter"!==e.key&&" "!==e.key||(e.stopPropagation(),e.preventDefault(),L?.(),k?.()))},i=M?e.jsx(kr.default,{tabIndex:l?-1:0,onClick:t,disabled:l,onMouseDown:r,onKeyDown:n,sx:{width:"28px",height:"28px",margin:"0px",padding:"0px"},children:M}):e.jsx(vo,{disabled:l,onClick:t,onMouseDown:r,onKeyDown:n,tabIndex:l?-1:0,"aria-label":"Add",sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"28px",width:"28px"}}),o=e.jsx(Rl.default,{position:"end",sx:{maxWidth:"25px",maxHeight:"25px",margin:"0px",padding:"0px"},children:i});a=a?e.jsxs(e.Fragment,{children:[a,o]}):o}return e.jsx(El.default,{...t,placeholder:o&&fe?.length?"":"default"===T?f:f||`Select ${i}`,label:"default"===T?i:void 0,required:"default"===T?n:void 0,error:C,autoFocus:!o&&V,helperText:h,sx:{...Oa(T),"& .MuiAutocomplete-clearIndicator":{visibility:"visible !important"},..._.sx},InputLabelProps:_a(T),inputRef:re,InputProps:{...t.InputProps,startAdornment:r,endAdornment:a},onBlur:e=>{const t=e.relatedTarget;t&&(t.closest(".MuiAutocomplete-clearIndicator")||t.closest(".MuiAutocomplete-popupIndicator")||v&&(t.closest('[role="button"]')||t.closest(".MuiIconButton-root")))&&e.preventDefault()},onKeyDown:e=>{if(ee&&"Tab"===e.key){const t=e.currentTarget.querySelector("input");t&&t.blur()}if("enter"===q&&"Enter"===e.key&&!ee)return e.preventDefault(),e.stopPropagation(),void oe(e);ie(e,(()=>{Q||G(!1),X?.(e,"escape")}),ee)}})},blurOnSelect:!o,multiple:o,options:xe,isOptionEqualToValue:(e,t)=>!g&&e.value===t.value,getOptionLabel:e=>H?H(e):"string"==typeof e?e:e.label,value:fe,onChange:(e,t)=>{if(x)return O(t),ue(t,!1),void(!w&&o||ee||le());if(o&&Array.isArray(t)){const e=d.filter((({disabled:e,value:t})=>e&&z?.includes(t)));if(t.some((e=>"string"!=typeof e&&"select-all"===e?.value)))return void(e=>{const t=d.filter((e=>e.disabled)),r=t.map((e=>e.value));if(e){const e=d.map((e=>e.value));O(e),F&&F([...d])}else O(r),F&&F([...t])})(!Ce);const r=t.map((e=>"string"==typeof e?e:e.value)).filter((t=>!e.some((e=>e.value===t)))),l=r[r.length-1];he(l??null);const n=[...e.map((({value:e})=>e)),...r];return Z&&n.length>Z?void Ea.error({title:K("common.autocomplete.limitExceed",{maxLimit:Z})}):(O(n),ue(t,!0,n),void(w&&!ee&&le()))}if("string"==typeof t)return O(t??null),ue(t,!1),void(!w&&o||ee||le());const r=t&&!Array.isArray(t)?t.value:null;O(r),ue(t,!1),he(r),!w&&o||ee||le()},groupBy:e=>e.heading??"",renderGroup:t=>t.group?e.jsxs("li",{children:[e.jsx(ye,{children:t.group}),e.jsx(we,{children:t.children})]},t.key):e.jsx(Br.default,{children:t.children}),getOptionDisabled:e=>!!e.disabled,autoHighlight:!0}),k&&!v&&(L?e.jsx(So,{disabled:s,onClick:()=>{L(),k()}}):e.jsx(So,{disabled:s,onClick:k}))]})]})}const Ya=()=>e.jsx(cl.default,{width:30,height:30,sx:{borderRadius:"4px"},variant:"rectangular"});const Xa=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),Ja={dateWithISO8601:"yyyy-MM-dd",dateWithEuropean:"dd-MM-yyyy"},Qa=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Yl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})},es=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Xl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})};function ts({setError:t,control:r,defaultValue:l,disabled:n=!1,label:i,readOnly:o=!1,name:s,error:d=!1,helperText:c,loading:h=!1,required:C=!1,clearable:x=!C,rules:f,disableKeyboardInput:g=!1,setOnFinalChange:m=!1,views:b=["year","month","day"],format:j=Ja.dateWithEuropean,containerProps:y,styling:w="custom",navigationKey:v,...M}){const[L,k]=a.useState(),{navigationKey:S}=gi(),H=v??S,{field:{value:Z,onChange:V,...A}}=Ae.useController({name:s,control:r,defaultValue:l,rules:f}),[D,B]=a.useState(!1),{setInputRef:I,maintainFocus:R,maintainFocusAfterClose:T,handleKeyDown:E,handleEnterNavigation:F}=Zi({isOpen:D,navigationKey:H}),P=u.useTheme(),{iron:_,butterflyBlue:O,mirage:z}=P.palette.app.color,W=a.useMemo((()=>(g||m)&&D?Z?p.DateTime.fromISO(Z):void 0:p.DateTime.fromISO(Z)),[Z,g,m,D]);return a.useMemo((()=>{if(!d&&L){const e=setTimeout((()=>{k(void 0)}),100);return()=>clearTimeout(e)}}),[d]),h?e.jsx(Xa,{label:i,styling:w}):e.jsxs(Zr.default,{gap:"5px",...y,children:[i&&"custom"===w&&e.jsx(Tl.default,{required:C,disabled:n,children:i}),e.jsx($e.DatePicker,{...A,...M,disabled:n,views:b,format:j,value:W,readOnly:o,open:D&&!o,onOpen:()=>B(!0),onClose:()=>{B(!1),T()},slotProps:{field:{clearable:x,onClear:()=>V(null),readOnly:g,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&e.preventDefault(),"enter"!==H||" "!==e.key||D||o||n||(e.preventDefault(),e.stopPropagation(),B(!0))}},clearButton:{tabIndex:x?0:-1,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&F(e)}},textField:{disabled:n,error:!!L||d,helperText:L??c,label:"default"===w?i:void 0,required:"default"===w?C:void 0,sx:Oa(w),InputLabelProps:_a(w),inputRef:I,InputProps:{endAdornment:e.jsx(Mo,{disabled:n,onClick:()=>B(!0),showTooltip:!1,onKeyDown:e=>{"enter"===H&&"Enter"===e.key&&F(e)}}),sx:{"& .MuiInputAdornment-root":{width:"30px"}}},onKeyDown:e=>{if("enter"===H){if(" "===e.key&&!D&&!o&&!n)return e.preventDefault(),e.stopPropagation(),void B(!0);if("Enter"===e.key)return D&&B(!1),void F(e,!0)}E(e,(()=>B(!1)),D),"Backspace"===e.key&&x?(V(null),k(void 0)):"Backspace"!==e.key||x||e.preventDefault()}},day:{sx:{"&.MuiPickersDay-root":{borderRadius:"5px",borderColor:O[900],fontWeight:500,color:z[900]},"&.MuiPickersDay-root.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersDay-today":{color:O[900],backgroundColor:_[600]},"&.MuiPickersDay-root:not(.Mui-selected):hover":{color:O[900]}}},calendarHeader:{sx:{"& .MuiPickersCalendarHeader-label":{fontWeight:"500","&:hover":{color:O[900]}}}},yearButton:{sx:{"&.MuiPickersYear-yearButton.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersYear-yearButton:not(.Mui-selected):hover":{color:O[900]}}},monthButton:{sx:{"&.MuiPickersMonth-monthButton.Mui-selected":{backgroundColor:O[900],color:_[600]},"&.MuiPickersMonth-monthButton:not(.Mui-selected):hover":{color:O[900]}}}},slots:{leftArrowIcon:Qa,rightArrowIcon:es},dayOfWeekFormatter:e=>`${e.toFormat("ccc")}`,onAccept:(e,t)=>{m&&e?.isValid&&(V(e.toISODate()),k(void 0),R()),M?.onAccept?.(e,t)},onChange:(e,r)=>{if((g||m)&&D)return;if(!e)return V(null),k(void 0),void R();const l=!0===e?.isValid,n=Boolean(r.validationError??!l);V(l?e.toISODate():null);const i=n?"Please enter a valid date":void 0;k(i),requestAnimationFrame((()=>{qr.default(t)&&n&&t(s,{type:"manual",message:i}),R()})),M?.onChange?.(e,r)}})]})}const rs=()=>e.jsxs(Zr.default,{direction:"row",gap:"10px",children:[e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]}),e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]})]});function ls({control:t,defaultValue:r,disabled:l=!1,label:n,name:i,error:o=!1,helperText:s,loading:d=!1,required:c=!1,months:u=1,rules:h,minDate:C,maxDate:x}){const{field:{onChange:f}}=Ae.useController({name:i,control:t,defaultValue:r,rules:h}),[g,m]=a.useState([{startDate:r?.[0]?new Date(r[0]):new Date,endDate:r?.[1]?new Date(r[1]):new Date,key:"selection"}]);return d?e.jsx(rs,{}):e.jsxs(Zr.default,{gap:"5px",children:[n&&e.jsx(Tl.default,{required:c,disabled:l,children:n}),e.jsx(qe.DateRangePicker,{ranges:g,onChange:e=>{const t=e.selection;if(t?.endDate&&t?.startDate&&t?.key){m([{startDate:t.startDate,endDate:t.endDate,key:t.key}]);const e=p.DateTime.fromJSDate(t.startDate).toISODate(),r=p.DateTime.fromJSDate(t.endDate).toISODate();f([e,r])}},months:u,direction:"horizontal",calendarFocus:"backwards",staticRanges:[],inputRanges:[],moveRangeOnFirstSelection:!1,preventSnapRefocus:!0,minDate:C,maxDate:x}),o&&e.jsx(_r.default,{color:"red",children:s})]})}const ns=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]}),is=e=>({"&:hover":{color:e}}),os=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Yl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})},as=()=>{const t=u.useTheme(),{iron:r}=t.palette.app.color;return e.jsx(Xl.default,{sx:{border:`1px solid ${r[800]}`,borderRadius:"5px",p:"4px"}})};const ss=({rows:t,label:r,styling:l})=>{const n=void 0===t?35.69:26.5*t;return e.jsxs(Zr.default,{gap:"10px",children:[r&&"custom"===l&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:`${n}px`,sx:{transform:"scale(1)"}})]})};const ds=({children:t,columns:r=3,columnsOnMobile:l=1})=>{const n=r||3,i=l||1;return e.jsx(tn.default,{container:!0,spacing:2,rowSpacing:1,children:a.Children.map(t,((t,r)=>t&&e.jsx(tn.default,{sx:{"& > *":{width:{xs:"100%",sm:"auto"}}},item:!0,xs:12/i,sm:12/Math.min(n,2),md:12/Math.min(n,3),lg:12/n,children:t},r)))})};const cs=u.styled(Zr.default,{shouldForwardProp:e=>"fullWidth"!==e&&"maxColumn"!==e})((({theme:e,children:t,fullWidth:r,maxColumn:l})=>{const n=function(e,t,r){return r<=2&&e<=2&&!t?"calc(50% - 10px)":e<=3&&!t?"calc(33% - 20px)":"100%"}(a.Children.toArray(t).length,r,l);return{"& > *":{flexBasis:n,[e.breakpoints.down("sm")]:{flexBasis:"100%"}}}}));function us({children:t,height:r=630}){return e.jsx(Br.default,{sx:{display:"flex",justifyContent:"center",height:"100%"},children:e.jsx(Br.default,{sx:{width:"100%",height:r},children:t})})}const ps=({columns:t=2,columnsOnMobile:r=2,children:l,sx:n})=>{const{layout:i}=Vi();return"mobile"===i?e.jsx(ds,{columnsOnMobile:r,columns:t,children:l}):e.jsx(Zr.default,{sx:n,direction:"row",gap:"5px",children:l})},hs=({children:t})=>{const r=u.useTheme(),{iron:l,butterflyBlue:n}=r.palette.app.color;return e.jsx(Br.default,{sx:{background:l[600],border:`1px solid ${n[300]}`,borderRadius:"6px",height:"100%",width:"100%"},children:t})},Cs=[".png",".jpg",".jpeg"],xs=[".pdf"],fs=[".doc",".docx"],gs=[".xls",".xlsx"],ms={min:.5,max:2,step:2,sensitivity:.1};function bs(e,t){return t.some((t=>e.toLowerCase().endsWith(t)))}const js=a.forwardRef((({fileName:t,resetTrigger:r,showActions:l=!0,onZoomChange:n},i)=>{const[o,s]=a.useState(!1),[d,c]=a.useState({x:0,y:0}),[p,h]=a.useState({x:0,y:0}),[C,x]=a.useState(1),f=a.useRef(null),{isDesktop:g}=Vi(),m=u.useTheme(),{slate:b}=m.palette.app.color,{sensitivity:j,min:y,max:w,step:v}=ms,{x:M,y:L}=d,k=({clientX:e,clientY:t})=>{s(!0),h({x:e-M,y:t-L})},S=({clientX:e,clientY:t})=>{if(o){const r=e-p.x,l=t-p.y;c({x:r,y:l})}},H=({clientX:e,clientY:t},r)=>{const{left:l,top:n,height:i,width:o}=r.getBoundingClientRect();return{offsetX:e-l-o/2,offsetY:t-n-i/2}},Z=e=>{const t=f.current;if(!t)return;const{offsetX:r,offsetY:l}=H(e,t),n=e.deltaY>0?-j:j,i=Math.min(Math.max(C+n,y),w);if(i!==C){const e=i/C;c({x:M-r*(e-1),y:L-l*(e-1)}),x(i)}},V=()=>{x(1),c({x:0,y:0})};a.useMemo((()=>{V()}),[r]);const A=e=>{x((t=>Math.min(2,Math.max(.5,t+e))))},D=e=>{e.preventDefault();const t=f.current;if(!t)return;const{offsetX:r,offsetY:l}=H(e,t),n=C>1?1:Math.min(C+v,w);if(C>1)return V(),void x(n);const i=n/C;c({x:M-r*(i-1),y:L-l*(i-1)}),x(n)},B=()=>{s(!1)},I=()=>{A(-.3)},R=()=>{A(.3)};a.useMemo((()=>{qr.default(n)&&n(C)}),[C]),a.useEffect((()=>{const e=e=>{"Escape"===e.key&&V(),"ArrowUp"===e.key&&R(),"ArrowDown"===e.key&&I()};return window.addEventListener("keyup",e),()=>window.removeEventListener("keyup",e)}),[]),a.useImperativeHandle(i,(()=>({resetZoom:V,zoomIn:R,zoomOut:I})),[C,V,R,I]);const T=g?"auto":"none";return bs(t,xs)?e.jsx(Br.default,{onClick:()=>window.open(t,"_blank"),height:"100%",children:e.jsx("iframe",{src:`${t}#toolbar=0`,style:{width:"100%",height:"100%",pointerEvents:T}})}):bs(t,Cs)?e.jsxs(us,{height:"100%",children:[l&&e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"10px",sx:{position:"absolute",top:10,right:66,zIndex:10},children:[1!==C&&e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:()=>V(),children:"Reset"}),e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:I,children:e.jsx(en.default,{})}),e.jsx(Ni,{sx:{backgroundColor:b[900],minWidth:"42px",height:"42px"},onClick:R,children:e.jsx(Ql.default,{})})]}),e.jsx(Br.default,{ref:f,style:{position:"relative",width:"100%",height:"100%",cursor:o?"grabbing":"grab",transform:`scale(${C}) translate(${M/C}px, ${L/C}px)`,transformOrigin:"center center",transition:o?"none":"transform 0.2s ease-in-out"},onMouseDown:k,onMouseMove:S,onMouseUp:B,onMouseLeave:B,onWheel:Z,onDoubleClick:D,children:e.jsx("img",{src:t,alt:"Attachment",style:{position:"absolute",width:"100%",height:"100%",objectFit:"contain",userSelect:"none",pointerEvents:"none"}})})]}):bs(t,fs)||bs(t,gs)?e.jsx(Br.default,{onClick:()=>window.open(t,"_blank"),height:"100%",children:e.jsx("iframe",{src:`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(t)}`,style:{width:"100%",height:"100%",pointerEvents:T}})}):e.jsx(us,{children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsx(_r.default,{variant:"body1",sx:{textAlign:"center"},children:"File Preview Not Supported"})})})}));js.displayName="FilePreview";const ys=({title:t,isHideCloseIcon:r=!1,isHideDividers:l=!1,children:n,onClose:i,isDeleteDialog:o=!1,actions:a,...s})=>{const d={padding:o?{xs:"10px",sm:"16px 20px"}:{xs:"10px",sm:"5px 15px"}};return e.jsxs(nn.default,{fullWidth:!0,onKeyDown:e=>{e.defaultPrevented||"Escape"===e.key&&i&&i(e,"escapeKeyDown")},...s,children:[e.jsx(sn.default,{padding:{xs:"10px",sm:o?"16px 20px":"5px 15px"},textAlign:"center",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",children:[e.jsx(_r.default,{variant:"h6",fontWeight:500,flex:1,children:t}),!r&&e.jsx(kr.default,{onClick:e=>i&&i(e,"escapeKeyDown"),color:"secondary",size:"small",children:e.jsx(Kl.default,{fontSize:"medium"})})]})}),e.jsx(an.default,{sx:{padding:{xs:"10px",sm:"15px"}},dividers:!l,children:n}),a&&e.jsx(on.default,{sx:d,children:a})]})},ws=u.styled(ys)({height:"85%",top:"auto","& .MuiDialogContent-root":{display:"grid",padding:"unset"},"& .MuiDialog-paper":{borderTopLeftRadius:"12px",borderTopRightRadius:"12px"}}),vs=u.styled(Zr.default)((()=>({"& > *":{flex:"1 1 auto"}})));const Ms=t=>e.jsx(kr.default,{sx:{height:"30px",width:"50px"},...t,children:e.jsx(wo,{toolTipLabel:"Download",children:e.jsx(no,{fontColor:"black",fill:"none"})})}),Ls=({open:t,onClose:r,fileName:l})=>{const n=u.useTheme(),[i,o]=a.useState(0),s=a.useRef(null),{butterflyBlue:d,slate:c}=n.palette.app.color;return e.jsx(ys,{maxWidth:"lg",onClose:r,open:t,title:"View File Preview",actions:e.jsxs(Zr.default,{height:30,minHeight:30,maxHeight:30,direction:"row",children:[bs(l,Cs)&&e.jsxs(Zr.default,{direction:"row",alignContent:"center",justifyContent:"end",children:[1!==i&&e.jsx(kr.default,{onClick:()=>s.current?.resetZoom(),children:e.jsx(ln.default,{})}),e.jsx(kr.default,{onClick:()=>s.current?.zoomIn(),children:e.jsx(Ql.default,{})}),e.jsx(kr.default,{onClick:()=>s.current?.zoomOut(),children:e.jsx(en.default,{})})]}),e.jsx(Ms,{onClick:()=>{yi(l,l)}})]}),children:e.jsx(Zr.default,{bgcolor:d[700],position:"relative",borderRadius:"5px",children:e.jsx(Zo,{padding:{padding:{sm:"20px 50px 20px 50px",xs:"0"}},children:e.jsx(Br.default,{bgcolor:c[600],borderRadius:1,overflow:"hidden",height:"calc(100vh - 335px)",sx:{userSelect:"none"},children:e.jsx(js,{ref:s,fileName:l,resetTrigger:1,showActions:!1,onZoomChange:e=>{o(e)}})})})})})},ks=u.styled(Br.default)((({theme:e,error:t,disabled:r})=>({border:t?`2px dashed ${e.palette.app.color.red[900]}`:`2px dashed ${e.palette.app.color.iron[800]}`,borderRadius:"8px",cursor:r?"not-allowed":"pointer","&:hover":{borderColor:r?e.palette.app.color.iron[800]:e.palette.app.color.butterflyBlue[900]}}))),Ss=u.styled("input")({display:"none"}),Hs=()=>e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"136px",sx:{transform:"scale(1)"}})]}),Zs="error_with_transaltion";const Vs=u.styled(Br.default)((({theme:e})=>({position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:u.alpha(e.palette.app.color.mirage[600],.2),display:"flex",justifyContent:"center",alignItems:"center",backdropFilter:"blur(3px)",transition:"1s"}))),As=({open:t,isUploading:r,onClose:l,onChange:n})=>{const i=a.useRef(null),o=a.useCallback((async()=>{if(i.current){const e=i.current.getScreenshot();if(e)try{const t=await mt.base64ToFile(e,"image/jpeg");n([t]),l()}catch(e){Ea.error({title:`Failed to convert base64 to file:${e}`})}}}),[i]);return e.jsx(ys,{onClose:l,open:t,title:"Photo Capture",maxWidth:"md",actions:e.jsxs(Zr.default,{direction:"row",gap:"5px",children:[e.jsx(Ni,{onClick:l,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:()=>{o()},loading:r,children:"Save"})]}),children:e.jsx(vn.default,{mirrored:!0,ref:i,screenshotFormat:"image/jpeg",width:"100%",height:"600"})})},Ds=()=>e.jsxs(Zr.default,{gap:"20px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{width:"120px",height:"120px",sx:{transform:"scale(1)"}}),e.jsxs(Zr.default,{gap:"8px",children:[e.jsx(cl.default,{width:129,height:"24px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{width:129,height:"16px",sx:{transform:"scale(1)"}})]})]}),Bs=["image/png","image/jpeg","image/jpg"];const Is=u.styled(Yr.default,{shouldForwardProp:e=>"selected"!==e})((({theme:e,selected:t})=>({background:e.palette.app.color.iron[600],color:e.palette.app.color.mirage[900],borderRadius:"4px",border:`1px solid ${e.palette.app.color.butterflyBlue[300]}`,...t?{background:e.palette.app.color.deepAqua[500],color:e.palette.app.color.mirage[900],borderLeft:`6px solid ${e.palette.app.color.butterflyBlue[900]}`}:{}})));const Rs={string:"Only alphabetic characters are allowed.","string-number":"Only letters and numbers are allowed.","string-number-special":"Special characters are allowed.","string-special":"Only letters, accents, apostrophes, and hyphens are allowed.","string-special-all":"Only letters and Special characters are allowed",custom:"Please enter a valid input"};function Ts({control:t,name:r,defaultValue:l,label:n="",rules:i,type:o,required:a,disabled:s,loading:d=!1,placeholder:c="",isCapitalize:u=!1,isTrimStartDisabled:p=!1,rows:h,characterType:C="string-number-special",letterCase:x="mixed",setError:f,containerProps:g,styling:m="custom",infoMessage:b,regexExpression:j={message:null,regex:/^[\s\S]*$/},navigationKey:y,customOnChange:w,...v}){const{field:{value:M,onChange:L,...k},fieldState:{error:S}}=Ae.useController({name:r,control:t,defaultValue:l,rules:i}),{navigationKey:H}=gi(),Z=y??H,{inputRef:V,maintainFocus:A,handleKeyDown:D,handleEnterNavigation:B}=Zi({navigationKey:Z}),I=e=>{let t=e;const r=(e=>{switch(e){case"string":return/^[A-Za-z\s]*$/;case"string-number":return/^[A-Za-z0-9\s]*$/;case"string-number-special":default:return/^[\s\S]*$/;case"string-special":return/^[\p{L}’'\-\s]+$/u;case"string-special-all":return/^[^\d]+$/;case"custom":return j.regex}})(C);return r.test(t)||(t=t.split("").filter((e=>r.test(e))).join("")),"uppercase"===x?t=t.toUpperCase():"lowercase"===x&&(t=t.toLowerCase()),t},{message:R}=j,T=R||Rs[C];return d?e.jsx(ss,{label:n,rows:h,styling:m}):e.jsxs(Zr.default,{...g,gap:"5px",children:[n&&"custom"===m&&e.jsxs(Zr.default,{direction:"row",children:[e.jsx(Tl.default,{required:a,disabled:s,children:n}),b&&e.jsx(wo,{toolTipLabel:b,children:e.jsx(Jl.default,{sx:{fontSize:13}})})]}),e.jsx(El.default,{disabled:s,required:a,fullWidth:!0,inputRef:V,onKeyDown:e=>{"-"===e.key&&"number"===o&&e.preventDefault();!Boolean(h??v.multiline)||"Enter"!==e.key||"enter"!==Z||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey?D(e,void 0,!1):B(e,!0)},placeholder:"default"===m?c:c||n,type:o,label:"default"===m?n:void 0,sx:Oa(m),InputLabelProps:_a(m),inputProps:{min:0},error:Boolean(S),helperText:S?.message,onChange:e=>{const t=e.target,{selectionStart:l,selectionEnd:n}=t;let i=e.target.value??null;"string"==typeof i&&""===i.trim()?i="":p||"string"!=typeof i||(i=i.trimStart());const a=i&&I(i);if(i!==a&&f)return void f(r,{type:"manual",message:T});let s=a;i&&"number"===o?s=Number(i):u&&a&&(s=a?a.toUpperCase():null),L(s),w&&w(i),requestAnimationFrame((()=>{"text"==o&&t.setSelectionRange(l,n),A()}))},value:"string"==typeof M?M.trimStart():M??"",...k,...v})]})}const Es=u.styled(Br.default)((({styling:e,theme:t,error:r})=>{const l={position:"relative"},{red:n,butterflyBlue:i,iron:o,slate:a,black:s}=t.palette.app.color;return"custom"===e?{...l,"&.custom_phone_input":{"& .phone-input-container":{"&:focus-within":{border:`2px solid ${i[900]} !important`}},"& .phone-input-field":{padding:"8.5px 50px 8.5px 30px","&:focus":{"& ~ .flag-dropdown":{borderColor:r?n[900]:i[900]}}},"& .flag-dropdown":{"&.open":{borderColor:r?n[900]:i[900]}}}}:{"&.default_phone_input":{"& .react-tel-input":{"& .form-control":{fontSize:"16px",background:o[600],border:`1px solid ${a[100]}`,borderRadius:"5px",width:"300px",outline:"none",padding:"18.5px 14px 18.5px 58px",transition:"box-shadow ease .25s, border-color ease .25s","&:focus":{borderColor:i[900],boxShadow:`0 0 0 2px ${i[900]}`},"&.invalid-number":{border:`1px solid ${n[900]}`,"&:focus":{boxShadow:`0 0 0 2px ${n[900]}`},"&+div:before":{content:"'Error'",display:"none",color:`${n[900]}`,width:"27px"}}},"& .flag-dropdown":{position:"absolute",top:"0",bottom:"0",padding:"0",backgroundColor:o[600],borderRadius:"3px 0 0 3px","&:hover, &:focus":{cursor:"pointer"}},"& input[disabled]":{"&+.flag-dropdown":{"&:hover":{cursor:"default",borderColor:a[100],"& .selected-flag":{backgroundColor:"transparent"}}}},"& .selected-flag":{outline:"none",position:"relative",height:"100%",padding:"0 0 0 8px",borderRadius:"3px 0 0 3px","&:focus":{"& .arrow":{borderLeftWidth:"4px",borderRightWidth:"4px",borderTop:`5px solid ${i[900]}`}},"& .flag":{position:"absolute",top:"50%",marginTop:"-6px"},"& .arrow":{position:"relative",top:"50%",marginTop:"-1px",width:"0",height:"0",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderTop:"4px solid #555","&.up":{borderTop:"none",borderBottom:"4px solid #555"}}},"& .country-list":{outline:"none",zIndex:1,listStyle:"none",position:"absolute",padding:"0",margin:"10px 0 10px -1px",boxShadow:`1px 2px 18px ${s[900]}`,backgroundColor:"white",width:"300px",maxHeight:"220px",overflowY:"scroll",borderRadius:"7px","& .flag":{display:"inline-block",position:"absolute",left:"13px",top:"8px",marginRight:"7px",marginTop:"2px"},"& .divider":{paddingBottom:"5px",marginBottom:"5px",borderBottom:"1px solid #ccc"},"& .country":{position:"relative",padding:"12px 9px 13px 46px","& .dial-code":{color:"#6b6b6b"},"&:hover":{backgroundColor:"hsl(0, 0.00%, 94.50%)"},"&.highlight":{backgroundColor:a[300]}},"& .country-name":{marginRight:"6px"},"& .search":{zIndex:2,position:"sticky",top:"0",backgroundColor:"#fff",padding:"10px 0 6px 10px"},"& .search-emoji":{display:"none",fontSize:"15px"},"& .search-box":{border:`1px solid ${a[100]}`,borderRadius:"3px",fontSize:"15px",lineHeight:"15px",marginLeft:"6px",padding:"3px 8px 5px",outline:"none","&:hover":{borderColor:a[50]}},"& .no-entries-message":{padding:"7px 10px 11px",opacity:".7"}},"& .invalid-number-message":{position:"absolute",zIndex:1,fontSize:"13px",left:"25px",top:"-7px",background:"#fff",padding:"0 5px",color:n[900]},"& .special-label":{position:"absolute",zIndex:5,top:"-7px",left:"10px",display:"block",color:s[900],background:o[600],opacity:"1",fontSize:"10.5px",whiteSpace:"nowrap",lineHeight:"1.1"}}}}})),Fs=({rows:t,label:r,styling:l})=>{const n=void 0===t?35.69:26.5*t;return e.jsxs(Zr.default,{gap:"10px",children:[r&&"custom"===l&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:`${n}px`,sx:{transform:"scale(1)"}})]})};const Ps=()=>e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(cl.default,{height:"18.69px",width:"70px",sx:{transform:"scale(1)"}}),e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"50px",children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{variant:"circular",height:"25px",width:"25px"}),e.jsx(cl.default,{height:"21px",width:"45px",sx:{transform:"scale(1)"}})]}),e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(cl.default,{variant:"circular",height:"25px",width:"25px"}),e.jsx(cl.default,{height:"21px",width:"45px",sx:{transform:"scale(1)"}})]})]})]});const _s=["star-1","star-2","star-3","star-4","star-5"],Os=({label:t})=>e.jsxs(Zr.default,{gap:"10px",children:[t&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(Zr.default,{direction:"row",gap:"5px",children:_s.map((t=>e.jsx(cl.default,{width:25,height:25,sx:{transform:"scale(1)"}},t)))})]});function zs(t){const{styling:r="custom"}=t;return e.jsx(Ts,{placeholder:"Search",InputProps:{startAdornment:e.jsx(Rl.default,{position:"start",children:e.jsx(Dn.default,{fontSize:"small"})})},InputLabelProps:"default"===r?{sx:{"&:not(.MuiInputLabel-shrink)":{fontSize:"13px",top:"50%",transform:"translate(14px, -50%)"}}}:void 0,...t,containerProps:{width:{sm:"auto",xs:"100%"},...t.containerProps}})}const Ws=u.styled(Rn.default)((({theme:e,disabled:t})=>{const{lightBlue:r,iron:l}=e.palette.app.color;return{"& .MuiInputBase-root":{backgroundColor:t?u.alpha(r[100],.3):l[600]},"& .MuiSelect-select":{display:"flex",alignItems:"center",gap:"8px",flexWrap:"nowrap",overflow:"hidden"},"& .MuiList-root":{maxHeight:300,overflowY:"auto","&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{backgroundColor:r[100]}}}})),$s=u.styled(_r.default)((({theme:e})=>{const{butterflyBlue:t}=e.palette.app.color;return{position:"sticky",top:0,padding:"8px 16px",fontSize:"13px",fontWeight:600,color:t[900],backgroundColor:t[500],zIndex:1}}));const qs=()=>e.jsx(cl.default,{width:50,height:20,sx:{borderRadius:"4px"},variant:"rectangular"});function Ks({name:t,rules:r,control:l,defaultValue:n,loading:i=!1,navigationKey:o,...a}){const s=u.useTheme(),{butterflyBlue:d,iron:c}=s.palette.app.color,{field:{value:p=!1,...h}}=Ae.useController({name:t,control:l,defaultValue:n,rules:r}),{navigationKey:C}=gi(),x=o??C,{setInputRef:f,maintainFocus:g,handleKeyDown:m}=Zi({navigationKey:x});if(i)return e.jsx(qs,{});return e.jsx(Tn.default,{checked:p,...h,...a,inputRef:f,onKeyDown:e=>{m(e,void 0,!1),a.onKeyDown&&a.onKeyDown(e)},onChange:e=>{h.onChange(e),g()},sx:{padding:1,"& .MuiSwitch-track":{borderRadius:11,backgroundColor:c[900],position:"relative","&::before":{content:"unset",position:"absolute",top:"50%",transform:"translateY(-50%)",width:16,height:16,left:12},[Bt.switchClasses.input]:{width:"80px !important"},"&::after":{content:"unset",position:"absolute",top:"50%",transform:"translateY(-50%)",width:16,height:16,right:12}},"& .MuiSwitch-thumb":{boxShadow:"none",width:16,height:16,margin:.15,color:"white"},"& .Mui-checked + .MuiSwitch-track":{backgroundColor:`${d[900]} !important`,opacity:"1 !important"}}})}const Ns=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]});const Gs=({label:t,styling:r})=>e.jsxs(Zr.default,{gap:"10px",flex:1,children:[t&&"custom"===r&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",width:"100%",sx:{transform:"scale(1)"}})]});function Us({field:t,control:r,index:l}){const n=u.useTheme(),{iron:i}=n.palette.app.color;return e.jsx(Zr.default,{direction:"row",component:"li",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",border:"1px solid",flexGrow:1,borderColor:i[700],children:[e.jsx(Zo,{padding:{paddingLeft:"24px"},children:e.jsx(_r.default,{sx:{flexGrow:1},children:t.headerName})}),e.jsx(Ks,{control:r,name:`columns.${l}.hide`})]})})}function Ys({column:t}){const r=u.useTheme(),{lightBlue:l,iron:n}=r.palette.app.color;return e.jsx(Zr.default,{border:"1px solid",bgcolor:l[100],borderColor:n[700],children:e.jsx(Zo,{padding:{padding:"0px 24px"},children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",justifyContent:"space-between",minHeight:"38px",children:[e.jsx(_r.default,{children:t.headerName}),e.jsx(En.default,{htmlColor:n[800]})]})})})}function Xs({lockedColumns:t,fields:r,control:l}){return e.jsxs(e.Fragment,{children:[t.map((t=>e.jsx(Ys,{column:t},t.field))),e.jsx(Zr.default,{component:"ul",sx:{m:0,p:0},children:r.map(((t,r)=>e.jsx(Us,{field:t,control:l,index:r},t.id)))})]})}function Js({columns:t,children:r}){const l=a.useMemo((()=>t.filter((e=>!("hide"in e)))),[t]),n=a.useMemo((()=>t.filter((e=>"hide"in e)).map((e=>({...e,hide:!e.hide})))),[t]),i=a.useRef(n),{control:o,reset:s,getValues:d,setValue:c}=Ae.useForm({defaultValues:{columns:i.current}}),{fields:u}=Ae.useFieldArray({name:"columns",control:o});return a.useMemo((()=>{c("columns",n)}),[t]),r({reset:e=>{s({columns:e?Array.isArray(e)?e:[e]:i.current})},getValues:d,columnList:e.jsx(Xs,{fields:u,lockedColumns:l,control:o})})}const Qs=()=>e.jsx(_n.default,{className:"bullet-hover",sx:{fontSize:"6px",borderRadius:"50%"}}),ed=({selected:t=!1,icon:r=e.jsx(Qs,{}),title:l,endAdornment:n,sx:i,onClick:o,...a})=>{const s=u.useTheme(),{butterflyBlue:d,iron:c}=s.palette.app.color;return e.jsxs(Yr.default,{...a,onClick:e=>o(e.ctrlKey?"_blank":"_self"),onMouseDown:e=>{e.preventDefault(),1===e.button&&o("_blank")},sx:{...i,color:t?c[600]:s.palette.primary.light,":hover":{color:c[600],".bullet-hover":{color:t?"":d[900]}}},children:[e.jsxs(Zr.default,{alignItems:"center",direction:"row",flex:1,gap:"10px",justifyContent:"center",children:[r,l&&e.jsx(Bn.default,{primary:l,disableTypography:!0,sx:{...i,padding:"0"}})]}),n]})},td=({icon:t=e.jsx(Qs,{}),title:r,isShowEndAdornment:l=!1,onClick:n,selected:i=!1,onMouseEnter:o})=>{const a=u.useTheme(),{butterflyBlue:s,slate:d}=a.palette.app.color;return e.jsx(Br.default,{component:"li",sx:{bgcolor:i&&!l?s[900]:"",padding:r?"0px":"2.5px 0",wordBreak:"break-word"},children:e.jsx(ed,{sx:{fontSize:"13px",padding:"9.5px 16px",":focus-visible":{border:`1px solid ${s[900]}`,backgroundColor:d[900]},margin:"0"},selected:i,title:r,icon:t,onClick:n,onMouseEnter:o,endAdornment:l&&e.jsx(Xl.default,{sx:{fontSize:"16px"}})})})},rd=({open:t,anchorEl:r,children:l,currentMenuIndex:n})=>{const i=u.useTheme(),{mirage:o}=i.palette.app.color;return e.jsx(Qr.default,{open:t,anchorEl:r,placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[n?79:203,n?43.5*n+37:-40]}}],sx:{background:o[900],width:"203px",zIndex:1300,inset:n?"0px auto auto 0px !important":"1px 0px auto auto !important"},children:l})},ld=({item:t,parentPath:r,currentPathMenuOpen:l,onCloseMenuPopover:n,level:i=0})=>{const[o,s]=a.useState(null),d=Boolean(o);if(!1===t?.isView)return;const c=()=>{s(null)},u=Boolean(l[t.key]),p=`${r}/${t.key}`;return e.jsxs(Br.default,{onMouseLeave:c,children:[e.jsx(td,{onClick:(e="_self")=>{const l=`${r}/${t.key}`;t.onClick&&(t.onClick(l,e),"_blank"!==e&&(c(),n()))},title:t.title,icon:t.icon,isShowEndAdornment:Boolean(t.menuItems?.length),selected:u,onMouseEnter:e=>{t.menuItems?.length&&s(e.currentTarget)}}),t.menuItems?.length&&d&&e.jsx(rd,{open:!0,anchorEl:o,currentMenuIndex:i,children:e.jsx(Pn.default,{disablePadding:!0,children:t.menuItems.map((r=>e.jsx(ld,{item:r,parentPath:p,currentPathMenuOpen:l[t.key]??{},onCloseMenuPopover:n,level:i+1},r.key)))})})]})},nd=({currentPathMenuOpen:t,currentMenuItem:r,onCloseMenuPopover:l})=>r?e.jsx(Pn.default,{disablePadding:!0,children:r.menuItems?.filter((e=>!1!==e.isView)).map((n=>e.jsx(ld,{item:n,parentPath:`/${r.key}`,currentPathMenuOpen:t[r.key]??{},onCloseMenuPopover:l},n.key)))}):e.jsx(e.Fragment,{children:"Loading..."}),id=({menuItems:t,currentPathname:r,anchorEl:l,setAnchorEl:n})=>{const[i,o]=a.useState(),[s,d]=a.useState(0),[c,u]=a.useState({});a.useMemo((()=>{const e=Ki(r);if(Or.default(e))return u({home:!0});u(e)}),[r]);const p=()=>{n(null)};return e.jsxs(e.Fragment,{children:[t.filter((e=>!1!==e.isView)).map(((t,r)=>{const{onClick:l,key:i,icon:a,menuItems:s=[]}=t,u=!!c?.[i];return e.jsx(td,{onClick:e=>{if(l){if(""===i)return void l("/",e);l(`/${i}`,e)}},onMouseEnter:e=>{s.length>0?(n(e.currentTarget),o(t),d(r+1)):p()},icon:a,selected:u},X.v4())})),!!l&&e.jsx(Br.default,{onMouseLeave:p,children:e.jsx(rd,{open:!0,anchorEl:l,currentMenuIndex:s,children:e.jsx(nd,{currentMenuItem:i,currentPathMenuOpen:c,onCloseMenuPopover:p})})})]})};u.styled(Br.default)((({theme:e})=>({width:7,height:7,borderRadius:"50%",background:e.palette.app.color.butterflyBlue[400]})));const od=u.styled(On.default,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>{const r=e=>({width:300,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",backgroundColor:e.palette.app.color.mirage[900],[e.breakpoints.down("md")]:{width:"80px"}}),l=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"0px",[e.breakpoints.up("md")]:{width:"80px"},backgroundColor:e.palette.app.color.mirage[900]});return{width:300,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...r(e),"& .MuiDrawer-paper":r(e)},...!t&&{...l(e),"& .MuiDrawer-paper":l(e)}}})),ad=({children:t,...r})=>e.jsx(zn.default,{timeout:"auto",unmountOnExit:!0,...r,children:t}),sd=({icon:t=e.jsx(Qs,{}),title:r,isShowEndAdornment:l=!1,selected:n=!1,onClick:i,isExpanded:o,sx:a})=>{const s=u.useTheme(),{butterflyBlue:d}=s.palette.app.color;return e.jsx(Br.default,{sx:{bgcolor:n&&!l?d[900]:""},children:e.jsx(ed,{sx:a,title:r,icon:t,onClick:i,selected:n,endAdornment:l&&(o?e.jsx(Wn.default,{}):e.jsx($n.default,{}))})})},dd=(e,t)=>{if(0===t.length)return!1;if("object"!=typeof e)return!1;const[r,...l]=t;if(!r)return!1;const n=e[r];return 0===l.length?Boolean(n):dd(n,l)},cd=e=>!0===e||"object"==typeof e&&null!==e&&Object.values(e).every(cd),ud=({menuItem:t,level:r=0,parentPath:l="",subMenusOpen:n,setSubMenusOpen:i,currentPathMenuOpen:o})=>{const a=u.useTheme();if(3===r)return;const{butterflyBlue:s,slate:d}=a.palette.app.color,{key:c,icon:p,title:h,isView:C,onClick:x,menuItems:f=[]}=t;if(!1===C)return;const g=l?`${l}/${c}`:c,m=g.split("/"),b=((e,t)=>{const r=dd(e,t);return Boolean(r)})(n,m),j=((e,t)=>{const r=t.reduce(((e,t)=>{if("object"==typeof e&&null!==e&&t in e)return e[t]}),e);return cd(r)})(o,m),y=3*r+1.5;return e.jsxs(Br.default,{children:[e.jsx(sd,{sx:{paddingLeft:y,fontSize:"13px",":focus-visible":{border:`1px solid ${s[900]}`,backgroundColor:d[900]}},onClick:e=>{if(f.length>0){if(j)return;i((e=>{const t={...e};let r=t;for(let e=0;e<m.length-1;e++){const t=m[e];t&&(r[t]="object"==typeof r[t]?r[t]:{},r=r[t])}const l=m[m.length-1];return l&&(r[l]=!b),t}))}else if(x&&!j){x(""===c?"/":`/${g}`,e)}},icon:0===r?p:void 0,title:h,isShowEndAdornment:f.length>0&&r<2,selected:j,isExpanded:b}),f.length>0&&e.jsx(ad,{in:b,children:e.jsx(Pn.default,{component:"div",disablePadding:!0,children:f.map((t=>e.jsx(ud,{menuItem:t,level:r+1,parentPath:g,subMenusOpen:n,setSubMenusOpen:i,currentPathMenuOpen:o},t.key)))})})]},c)},pd=({menuItems:t,currentPathname:r})=>{const[l,n]=a.useState({}),[i,o]=a.useState({});return a.useEffect((()=>{const e=Ki(r);if(Or.default(e))return n({home:!0}),void o({home:!0});const t=JSON.parse(JSON.stringify(e)),l=JSON.parse(JSON.stringify(e));n(t),o(l)}),[r]),t.map((t=>e.jsx(ud,{menuItem:t,subMenusOpen:l,setSubMenusOpen:n,currentPathMenuOpen:i},t.key)))},hd=({open:t=!1,anchorEl:r,onClose:l,children:n,onApply:i,showDivider:o=!1,title:a,required:s})=>{const d=u.useTheme(),{slate:c}=d.palette.app.color,p=()=>{qr.default(i)&&i(),qr.default(l)&&l({},"backdropClick")};return e.jsxs(rl.default,{open:t,anchorEl:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},onClose:()=>{p()},onKeyDown:e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),p())},sx:{"& .MuiPaper-root":{minWidth:"300px"}},children:[o&&e.jsxs(Zr.default,{alignItems:"flex-end",children:[e.jsx(Zo,{padding:{padding:"8px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsxs(_r.default,{variant:"h6",children:[a," "]}),s&&e.jsx(_r.default,{variant:"h6",color:"error",children:"*"})]}),e.jsx(kr.default,{onClick:p,children:e.jsx(At.ClearIcon,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Br.default,{sx:{background:c[600],borderRadius:"5px"},children:n})]})},Cd=({open:t,anchorEl:r,onClose:l,children:n,onApply:i,showDivider:o=!1,showFooter:s=!0,title:d,required:c,filterItem:p,reset:h,background:C=!1,currentFilterValue:x})=>{const f=u.useTheme(),{slate:g}=f.palette.app.color,[m,b]=a.useState(null),[j,y]=a.useState(!0);a.useEffect((()=>{if(t){if(!m&&x){const e=p?.multiSelect?Xn.default(x):x;b(e)}}else b(null);if(x&&m){const e=p?.multiSelect?JSON.stringify(Xn.default(x))!==JSON.stringify(m):x!==m;y(!e)}}),[t,x,m,p?.multiSelect]);const w=()=>{b(null),qr.default(h)&&h(),qr.default(l)&&l({},"backdropClick")};return e.jsxs(rl.default,{open:t,anchorEl:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},onClose:(e,t)=>{"backdropClick"!==t&&w()},sx:{"& .MuiPaper-root":{minWidth:"300px"}},children:[o&&e.jsxs(Zr.default,{alignItems:"flex-end",children:[e.jsx(Zo,{padding:{padding:"8px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsx(_r.default,{variant:"h6",children:d}),c&&e.jsx(_r.default,{variant:"h6",color:"error",children:"*"})]}),e.jsx(kr.default,{onClick:w,children:e.jsx(fl.default,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Br.default,{sx:{background:C?g[600]:"transparent",borderRadius:"5px",maxWidth:"300px"},children:n}),s&&e.jsx(Zo,{padding:{padding:"10px"},children:e.jsx(Br.default,{display:"flex",justifyContent:"flex-end",children:e.jsx(Ni,{onClick:()=>{b(null),qr.default(i)&&i()},disabled:j,variant:"text",sx:{maxWidth:"40px"},children:"Apply"})})})]})};function xd({selectedFilter:t,control:r,errors:l,setIsPopupOpen:n,autoFocus:i=!1}){const o=u.useTheme(),{sapphireBlue:a,black:s}=o.palette.app.color,d=l[t.key],{placeholder:c,label:p}=t,h=c??`Select ${p}`,C=c??p;return{autoComplete:t.options&&e.jsx(Ua,{disableClearable:!0,multiple:t.multiSelect??!1,placeholder:h,name:`${t.key}`,disabled:t.isDisabled,shouldCloseOnSelect:t.multiSelect??!1,control:r,options:t.options??[],onOpen:()=>n?.(!0),onClose:()=>n?.(!1),autoFocus:i,sx:{maxHeight:"250px",overflowY:"auto",width:"100%","& .MuiAutocomplete-tag":{backgroundColor:a[300],color:s[900]}},...t.employeeAutocomplete&&{isShowEmployeeData:!0,isShowOptionsOnType:!0,getOptionLabel:e=>"string"==typeof e?e:`${e.label} (${e.employee_code}) - ${e.punch_code}`},error:!!d,helperText:d?.message}),text:e.jsx(Ts,{name:t.key,control:r,disabled:t.isDisabled,placeholder:C,error:!!d,helperText:d?.message,autoFocus:i}),date:e.jsx(ts,{name:t.key,control:r,disabled:t.isDisabled,error:!!d,helperText:d?.message,autoFocus:i,...t.monthYearFormat&&{format:"MMM yyyy",views:["year","month"]}}),dateRange:e.jsx(ls,{name:t.key,control:r,disabled:t.isDisabled,error:!!d,helperText:d?.message})}}const fd=({open:t,anchorEl:r,filterItem:l,onClose:n,control:i,errors:o,onApply:a,currentFilterValue:s,reset:d})=>e.jsx(Cd,{title:l.label,required:l.required,filterItem:l,open:t,onClose:n,anchorEl:r,onApply:a,currentFilterValue:s,reset:d,showFooter:!0,showDivider:!0,background:!0,children:e.jsxs(Zo,{padding:{padding:"10px"},children:[xd({selectedFilter:l,control:i,errors:o})[l.type],"switch"===l.type&&e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{padding:"10px 5px 10px 20px",margin:"auto"},children:[e.jsx(_r.default,{variant:"body2",children:l.label}),e.jsx(Ks,{control:i,name:l.key})]},l.key)]})}),gd=({open:t,anchorEl:r,filterItem:l,onClose:n,control:i,errors:o,onApply:a})=>e.jsx(hd,{title:l.label,required:l.required,open:t,onClose:n,anchorEl:r,onApply:a,showDivider:!0,background:!0,children:e.jsx(Zo,{padding:{padding:"10px"},children:xd({selectedFilter:l,control:i,errors:o})[l.type]})}),md=(e,t)=>{let r=e;if(t&&"autoComplete"===t.type&&(r=t.multiSelect&&Array.isArray(e)?t.options?.filter((t=>e.includes(t.value))).map((e=>e.label)).join(", "):t.options?.filter((t=>t.value===e)).map((e=>e.label)).join(", ")),"dateRange"===t.type&&Array.isArray(e)&&2===e.length){r=`${e[0]} <= Start Date <= ${e[1]}`}return r};function bd(e,t){return Object.fromEntries(Object.entries(e).flatMap((([e,r])=>{if(r){const l=t.find((t=>t.key===e)),n=l?.monthYearFormat&&"string"==typeof r?p.DateTime.fromISO(r).toFormat("yyyy-MM"):r;return[[e,n]]}return[]})))}const jd=({filter:t,control:r})=>{return e.jsx(Yr.default,{children:(l=t.type,e.jsxs(Zr.default,{direction:"row",width:"100%",justifyContent:"space-between",alignItems:"center",children:[e.jsx(_r.default,{variant:"body2",children:t.label}),"switch"===l?e.jsx(Ks,{control:r,name:t.key}):e.jsx(_r.default,{variant:"body2",children:t.menuInfo})]}))});var l},yd=()=>e.jsx(j.Box,{sx:{alignItems:"center",display:"flex",height:"100%",justifyContent:"center",left:0,position:"absolute",top:0,width:"100%"},children:e.jsx(Io,{})}),wd=({debounce:t=500,inputFontSize:r="14px",inputHeight:l="10px",onChange:n,type:i="text",value:o,...s})=>{const[d,c]=a.useState(o),[u]=lr.useDebounceValue(d,t);return a.useEffect((()=>{c(o)}),[o]),a.useEffect((()=>{u!==o&&n(u)}),[u,o]),e.jsx(j.TextField,{...s,type:i,value:d,onChange:e=>c(e.target.value),placeholder:"Search..",sx:{"& .MuiInputAdornment-root":{margin:0},"& .MuiInputBase-input":{fontSize:r,height:l,padding:"4px 8px"},"& input[type='date']::-webkit-calendar-picker-indicator":{position:"absolute",right:8,zIndex:2},width:s?.style?.width}})},vd=({children:t,style:r,...l})=>e.jsx("button",{...l,style:{flex:1,cursor:"pointer",padding:"8px",backgroundColor:"white",color:"#333",border:"1px solid #ddd",borderRadius:"4px",fontSize:"14px",fontWeight:500,transition:"all 0.2s",maxWidth:"80px",...r},children:t});function Md({open:t,onClose:r,children:l,width:n=420,actions:i}){const o=a.useRef(null);return a.useEffect((()=>{const e=o.current;e&&(t&&!e.open&&e.showModal(),!t&&e.open&&e.close())}),[t]),e.jsx("dialog",{ref:o,onCancel:e=>{e.preventDefault(),r()},onClick:e=>{e.target==o.current&&r()},style:{border:"none",background:"transparent",outline:"none",width:n,padding:0,borderRadius:2,backgroundColor:"white",boxShadow:"0 0 10px 0 rgba(0, 0, 0, 0.1)"},children:e.jsxs("div",{style:{padding:0},children:[l,i]})})}const Ld=({name:t,control:r,defaultValue:l,rules:n,label:i})=>{const{field:{value:o=!1,onChange:a}}=Ae.useController({name:t,control:r,defaultValue:l,rules:n}),s={position:"absolute",top:"0",left:"0",width:"100%",height:"100%",borderRadius:"11px",backgroundColor:o?"#38bdf8":"#e5e7eb",transition:"background-color 0.25s ease"},d={position:"absolute",top:"2px",left:o?"23px":"3px",width:"18px",height:"16px",borderRadius:"50%",backgroundColor:"#ffffff",transition:"left 0.25s ease",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.2)"};return e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[i&&e.jsx("span",{style:{color:"#374151",fontWeight:"500"},children:i}),e.jsxs("button",{onClick:()=>{a(!o)},style:{position:"relative",width:"42px",height:"20px",background:"transparent",border:"none",cursor:"pointer",outline:"none",padding:"0"},role:"switch","aria-checked":o,type:"button",children:[e.jsx("span",{style:s}),e.jsx("span",{style:d})]})]})},kd=({name:t,control:r,defaultValue:l,rules:n,disabled:i=!1})=>{const{field:{value:o=l??"left",onChange:a}}=Ae.useController({name:t,control:r,rules:n}),s=[{value:"left",icon:e.jsx(rr.AlignLeft,{width:18,height:18}),label:"Left"},{value:"center",icon:e.jsx(rr.AlignCenter,{width:18,height:18}),label:"Center"},{value:"right",icon:e.jsx(rr.AlignRight,{width:18,height:18}),label:"Right"}];return e.jsx("div",{style:{display:"inline-flex",backgroundColor:" #FFFFFF",borderRadius:"6px",border:"1px solid #E1E3E5"},children:s.map((({value:t,icon:r})=>{const l=r,n=o===t;return e.jsx("button",{onClick:()=>{i||a(t)},disabled:i,style:{padding:"4.5px 10px",backgroundColor:"transparent",border:"none",borderRadius:"4px",cursor:i?"not-allowed":"pointer",transition:"background-color 0.15s",color:i?"rgb(0, 0, 0, 0.5)":"rgb(0, 0, 0)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0px",opacity:i?.5:1,...n?{backgroundColor:"rgb(229, 231, 231)"}:{}},"aria-label":`Align ${t}`,type:"button",children:l},t)}))})};function Sd({field:t,control:r,index:l,setValue:n}){const i=u.useTheme(),{iron:o}=i.palette.app.color,[s,d]=a.useState(!1),[c,p]=a.useState(""),[h,C]=a.useState(""),x=a.useRef(null),f=Ae.useWatch({control:r,name:`columns.${l}.header`}),g=Ae.useWatch({control:r,name:`columns.${l}.hide`}),m=Boolean(!g),b="string"==typeof f?f:"string"==typeof t.header?t.header:t.header?.toString()??"";a.useEffect((()=>{if(s){const e=b;p(e),C(e),setTimeout((()=>{const e=x.current?.querySelector("input");e&&(e.focus(),e.select())}),0)}}),[s,b]),a.useEffect((()=>{m&&s&&(d(!1),p(h))}),[m,s,h]);const j=e=>{e.stopPropagation(),m||d(!0)},y=e=>{const t=e.trim();if(""===t)return p(h),void d(!1);n(`columns.${l}.header`,t,{shouldValidate:!0,shouldDirty:!0}),C(t),d(!1)};return e.jsx("div",{style:{padding:"0px 20px",border:`1px solid ${o[700]}`},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:"45px"},children:[s?e.jsx("div",{ref:x,style:{flex:1,minWidth:0},children:e.jsx(wd,{value:c,onChange:e=>p(e),onKeyDown:e=>{"Enter"===e.key?(e.preventDefault(),e.stopPropagation(),y(c)):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),p(h),d(!1))},onBlur:()=>{y(c)},debounce:0,inputFontSize:"12px",inputHeight:"14px",style:{width:"200px"},onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),placeholder:"Enter header name"})}):e.jsx("p",{style:{fontSize:"13px",fontWeight:500,cursor:"pointer"},onDoubleClick:j,children:b}),e.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"center"},children:[!s&&e.jsx(rr.EditPencil,{width:18,height:18,onClick:j,style:{border:`1px solid ${o[700]}`,borderRadius:"4px",padding:"4px",cursor:m?"not-allowed":"pointer",opacity:m?.5:1}}),e.jsx(kd,{control:r,name:`columns.${l}.align`,defaultValue:t.align??"left",disabled:m}),e.jsx(Ld,{control:r,name:`columns.${l}.hide`})]})]})})}function Hd({column:t}){const r=j.useTheme(),{iron:l}=r.palette.app.color;return e.jsx("div",{style:{padding:"0px 20px",border:`1px solid ${l[700]}`},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:"38px"},children:[e.jsx("p",{style:{fontSize:"14px"},children:t.header?.toString()}),e.jsx(rr.Lock,{color:l[800]})]})})}const Zd=({lockedColumns:t,fields:r,control:l,setValue:n,filterVisibleOnly:i=!1,searchTerm:o="",grouping:s})=>{const d=Ae.useWatch({control:l,name:"columns",defaultValue:[]}),c=a.useMemo((()=>{let e=r;if(i&&(e=e.filter(((e,t)=>{const r=d[t];return r&&r.hide}))),o.trim()){const t=o.toLowerCase();e=e.filter(((e,r)=>{const l=d[r],n=l?.header??e.header??"";return"string"==typeof n&&n.toLowerCase().includes(t)}))}return e}),[r,i,o,d]);return e.jsxs(e.Fragment,{children:[t.map((t=>e.jsx(Hd,{column:t},t.accessorKey))),e.jsxs("div",{style:{margin:0,padding:0},children:[!c.length&&e.jsx("p",{style:{textAlign:"center",fontSize:"13px",color:"gray"},children:"No columns to show"}),c.filter((e=>!s?.includes(e.accessorKey??""))).map((t=>{const i=r.findIndex((({id:e})=>e===t.id));return e.jsx(Sd,{field:t,control:l,index:i,setValue:n},t.id)}))]})]})},Vd=({columns:t,filterVisibleOnly:r=!1,searchTerm:l="",children:n,grouping:i})=>{const o=a.useMemo((()=>t.filter((e=>!("hide"in e)))),[t]),s=a.useMemo((()=>t.filter((e=>"hide"in e)).map((e=>({...e,hide:!e.hide,align:e.align??"left"})))),[t]),{control:d,reset:c,getValues:u,setValue:p}=Ae.useForm({defaultValues:{columns:s}}),{fields:h}=Ae.useFieldArray({name:"columns",control:d});return a.useEffect((()=>{c({columns:s},{keepDefaultValues:!1})}),[s,c]),n({reset:e=>{c({columns:e?Array.isArray(e)?e:[e]:s})},getValues:u,columnList:e.jsx(Zd,{fields:h,lockedColumns:o,control:d,setValue:p,filterVisibleOnly:r,searchTerm:l,grouping:i})})},Ad=({open:t,onClose:r,title:l="Column Chooser",columns:n=[],grouping:i=[],onSave:o})=>{const s=j.useTheme(),d=(({columns:e})=>a.useMemo((()=>e.filter((e=>!!e.accessorKey)).map((({accessorKey:e,hide:t,header:r,align:l})=>{const n={accessorKey:e??"",header:r};return void 0!==t&&(n.hide=t),void 0!==l&&(n.align=l),n}))),[e]))({columns:n}),{butterflyBlue:c,iron:u}=s.palette.app.color,[p,h]=a.useState(""),{control:C}=Ae.useForm({defaultValues:{column_list:!1}}),x=Ae.useWatch({control:C,name:"column_list",defaultValue:!1});return a.useEffect((()=>{t||h("")}),[t]),e.jsx(Vd,{columns:d,filterVisibleOnly:x,searchTerm:p,grouping:i,children:({columnList:n,reset:i,getValues:a})=>e.jsx(Md,{open:t,onClose:()=>{h(""),i(),r()},width:450,actions:e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 24px",borderTop:`1px solid ${u[300]}`,gap:2},children:[e.jsx(vd,{onClick:()=>{i(),h("")},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#f5f5f5"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="white"},children:"Reset"}),e.jsx(vd,{onClick:()=>{const e=a();h("");const t=Fn.default(e.columns.map((e=>[e.accessorKey,{hide:e.hide,align:e.align??"left",header:e.header}])));o(t),r()},onMouseEnter:e=>{e.currentTarget.style.opacity="0.9"},onMouseLeave:e=>{e.currentTarget.style.opacity="1"},style:{backgroundColor:c[900],color:"white"},children:"Save"})]}),children:e.jsxs("div",{children:[e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"5px 24px",borderBottom:`1px solid ${u[300]}`},children:[e.jsx("p",{style:{fontWeight:500,fontSize:"18px",color:u[900],lineHeight:"1px"},children:l}),e.jsx(rr.Xmark,{width:20,height:20,strokeWidth:2,onClick:()=>{h(""),r(),i()},style:{border:`1px solid ${u[700]}`,borderRadius:"5px",color:u[900]}})]}),e.jsx("div",{style:{padding:"8px 24px",display:"flex",flexDirection:"column",gap:"12px"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},children:[e.jsx(wd,{value:p,onChange:e=>h(e),placeholder:"Search by label...",debounce:300,inputFontSize:"13px",inputHeight:"14px",style:{width:"80%"}},t?"dialog-open":"dialog-closed"),e.jsx(Ld,{name:"column_list",control:C})]})}),e.jsx("div",{style:{maxHeight:"600px",minHeight:"500px",overflowY:"auto",outline:"none"},children:n})]})})})},Dd=({message:t="No data found"})=>{const r=j.useTheme(),{slate:l}=r.palette.app.color;return e.jsx(j.Stack,{alignItems:"center",justifyContent:"center",position:"absolute",top:0,left:0,width:"100%",height:"100%",sx:{background:"transparent",pointerEvents:"none"},children:e.jsx(j.Typography,{variant:"subtitle1",color:l[500],textAlign:"center",children:t})})};Ar.default.memo(Dd);const Bd=e=>{const t=p.DateTime.fromISO(e);return t.isValid?t.toFormat("dd-MM-yyyy"):e},Id=e=>/^\d{4}-\d{2}-\d{2}/.test(e),Rd=({clearAllFilters:t,table:r})=>{const l=j.useTheme(),{brown:n,butterflyBlue:i,iron:o,slate:s}=l.palette.app.color,{getHeaderGroups:d}=r;return e.jsx("div",{style:{backgroundColor:s[600],borderTop:`1px solid ${o[700]}`,display:"flex",overflow:"auto",width:"100%"},children:(()=>{const r=d().flatMap((e=>e.headers)).map((t=>{const r=t.column.getFilterValue(),{facets:l,search:o}=(e=>{if(!e)return{facets:[],search:[]};const{facets:t,search:r}=e;if(Array.isArray(e))return{facets:e.map(String),search:[]};if("string"==typeof e||"number"==typeof e)return{facets:""!==e?[String(e)]:[],search:[]};if("object"==typeof e&&null!=e)return{facets:Array.isArray(t)?t:[],search:null!=r&&""!==r?[String(r)]:[]};return{facets:[],search:[]}})(r);return l.length>0||o.length>0?e.jsxs(j.Stack,{flexDirection:"row",gap:"3px",children:[e.jsxs(j.Typography,{variant:"caption",fontWeight:600,children:[t.column.columnDef.header,":"]}),l.length>0&&e.jsx(j.Typography,{variant:"caption",sx:{color:i[900]},children:l.map((e=>{if("string"==typeof e){if(!Id(e))return e;return p.DateTime.fromISO(e,{zone:"utc"}).isValid?Bd(e):e}return String(e)})).join(", ")}),l.length>0&&o.length>0&&e.jsx(j.Typography,{variant:"caption",children:","}),o.length>0&&e.jsx(j.Typography,{variant:"caption",sx:{color:n[900]},children:o.join(", ")})]},t.id):null})).filter(Boolean);return r.length?e.jsxs("div",{style:{alignItems:"center",display:"flex",gap:"5px",padding:"5px 0px"},children:[e.jsx(j.IconButton,{sx:{borderRight:`2px solid ${o[700]}`,padding:"0px 5px"},onClick:t,children:e.jsx(nr.HighlightOffRounded,{fontSize:"small"})}),e.jsx("div",{style:{alignItems:"center",display:"flex",gap:"3px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r.map(((t,r)=>e.jsxs(a.Fragment,{children:[r>0&&e.jsx(j.Typography,{variant:"caption",children:","}),t]},r)))})]}):null})()})},Td=t=>e.jsxs("svg",{fill:"#000000",width:"800px",height:"800px",viewBox:"0 0 36 36",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...t,children:[e.jsx("title",{children:"eye-hide-line"}),e.jsx("path",{d:"M25.19,20.4A6.78,6.78,0,0,0,25.62,18a6.86,6.86,0,0,0-6.86-6.86,6.79,6.79,0,0,0-2.37.43L18,13.23a4.78,4.78,0,0,1,.74-.06A4.87,4.87,0,0,1,23.62,18a4.79,4.79,0,0,1-.06.74Z",className:"clr-i-outline clr-i-outline-path-1"}),e.jsx("path",{d:"M34.29,17.53c-3.37-6.23-9.28-10-15.82-10a16.82,16.82,0,0,0-5.24.85L14.84,10a14.78,14.78,0,0,1,3.63-.47c5.63,0,10.75,3.14,13.8,8.43a17.75,17.75,0,0,1-4.37,5.1l1.42,1.42a19.93,19.93,0,0,0,5-6l.26-.48Z",className:"clr-i-outline clr-i-outline-path-2"}),e.jsx("path",{d:"M4.87,5.78l4.46,4.46a19.52,19.52,0,0,0-6.69,7.29L2.38,18l.26.48c3.37,6.23,9.28,10,15.82,10a16.93,16.93,0,0,0,7.37-1.69l5,5,1.75-1.5-26-26Zm9.75,9.75,6.65,6.65a4.81,4.81,0,0,1-2.5.72A4.87,4.87,0,0,1,13.9,18,4.81,4.81,0,0,1,14.62,15.53Zm-1.45-1.45a6.85,6.85,0,0,0,9.55,9.55l1.6,1.6a14.91,14.91,0,0,1-5.86,1.2c-5.63,0-10.75-3.14-13.8-8.43a17.29,17.29,0,0,1,6.12-6.3Z",className:"clr-i-outline clr-i-outline-path-3"}),e.jsx("rect",{x:0,y:0,width:36,height:36,fillOpacity:0})]}),Ed=({activeDragId:t,activeDragOver:r,table:l,defaultGrouping:n=[],isOutsideGrid:i=!1,currentGrouping:o=[]})=>{const a=j.useTheme(),{iron:s,lipstickRed:d,slate:c}=a.palette.app.color,{getColumn:u,getHeaderGroups:p}=l;return e.jsx(er.DragOverlay,{style:{zIndex:9999},children:t?(()=>{const l=u(t);if(!l)return null;const{header:a,id:h,enableGrouping:C}=l.columnDef,x="string"==typeof a?a:h??t,f=p().flatMap((({headers:e})=>e)).find((({column:e})=>e.id===t));if(!f)return null;const g=f.column.getSize(),m=!0===C,b="grouping-panel"===r,j=o.includes(t),y=i&&!j,w=!j&&m&&o.length>=4&&b,v=n.length>0&&m&&b||w,M=y?d[700]:v||b&&!m?d[900]:s[700];return e.jsxs("div",{style:{alignItems:"center",backgroundColor:c[800],border:`1px solid ${M}`,borderRadius:"4px",display:"flex",gap:"8px",height:"40px",minWidth:`${g}px`,padding:"0px 8px",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)",cursor:"grabbing"},children:[y?e.jsx(Td,{width:20,height:20}):v||b&&!m?e.jsx(rr.Prohibition,{width:18,height:18}):b&&m?e.jsx(rr.KeyframesPlus,{width:18,height:18}):e.jsx(rr.Drag,{width:18,height:18}),e.jsx("div",{style:{color:s[400],fontFamily:"Poppins",fontSize:"14px",fontWeight:600,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:x})]})})():null})},Fd=({columnId:t,onRemove:r,table:l,defaultGrouping:n=[]})=>{const i=j.useTheme(),{butterflyBlue:o,iron:a,slate:s}=i.palette.app.color,{attributes:d,listeners:c,setNodeRef:u,transform:p,transition:h,isDragging:C}=tr.useSortable({id:t}),x=l.getColumn(t);if(!x)return null;const f={transform:ir.CSS.Transform.toString(p),transition:h,opacity:C?.5:1},{header:g,id:m}=x.columnDef,b="string"==typeof g?g:m??t;return e.jsxs("div",{ref:u,style:{...f,display:"inline-flex",alignItems:"center",backgroundColor:s[800],border:`1px solid ${a[700]}`,borderRadius:"16px",height:"28px",padding:"0 8px",cursor:"default"},children:[!n.length&&e.jsx("div",{...d,...c,style:{display:"flex",alignItems:"center",cursor:C?"grabbing":"grab",touchAction:"none",padding:"2px",marginRight:"4px"},children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{color:a[400]},children:e.jsx("path",{d:"M9 5h2v2H9V5zm0 6h2v2H9v-2zm0 6h2v2H9v-2zm4-8h2v2h-2v-2zm0 4h2v2h-2v-2zm0 4h2v2h-2v-2z",fill:"currentColor"})})}),e.jsx("span",{style:{fontSize:"12px",fontWeight:500,color:o[900],overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"150px"},children:b}),!n.length&&e.jsx("button",{onClick:e=>{e.stopPropagation(),r(t)},type:"button",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",padding:"2px",marginLeft:"4px",background:"none",border:"none",borderRadius:"50%",width:"18px",height:"18px",transition:"background-color 0.2s"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=s[700]},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",style:{color:a[400]},children:e.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"currentColor"})})})]})},Pd=({groupedColumns:t,onRemoveGroup:r,table:l,defaultGrouping:n=[]})=>{const i=j.useTheme(),{iron:o,butterflyBlue:s}=i.palette.app.color,{setNodeRef:d,isOver:c}=er.useDroppable({id:"grouping-panel"});return e.jsx("div",{ref:d,style:{alignItems:"center",backgroundColor:o[600],border:"2px solid transparent",boxSizing:"border-box",display:"flex",flexWrap:"wrap",gap:8,marginBottom:1,minHeight:"44px",padding:"8px 12px",position:"relative",transition:"all 0.15s ease",width:"100%",zIndex:5},children:t.length?e.jsxs(e.Fragment,{children:[e.jsx("p",{style:{color:o[300],fontSize:13,fontWeight:500,lineHeight:1.5,margin:0,padding:0},children:"Grouped By:"}),e.jsxs(tr.SortableContext,{items:t,strategy:tr.horizontalListSortingStrategy,children:[t.map(((i,s)=>e.jsxs(a.Fragment,{children:[e.jsx(Fd,{columnId:i,onRemove:r,table:l,defaultGrouping:n}),s<t.length-1&&e.jsx("span",{style:{color:o[400],fontSize:"12px",fontWeight:600},children:">"})]},i))),t.length>=4&&e.jsx("p",{style:{color:o[400],fontSize:12,fontWeight:400,lineHeight:1.5,margin:0,marginLeft:"auto",padding:0,fontStyle:"italic"},children:"(Maximum 4 columns)"})]})]}):e.jsx("p",{style:{color:c?s[900]:o[300],fontSize:13,fontWeight:400,lineHeight:1.5,margin:0,padding:0},children:c?"↓ Drop here to group by this column":"Drag column headers here to group..."})})},_d={asc:e.jsx(nr.ArrowUpward,{sx:{fontSize:16}}),desc:e.jsx(nr.ArrowDownward,{sx:{fontSize:16}})},Od=a.memo((({checkedMap:t,onToggle:r,options:l})=>{const n=j.useTheme(),{butterflyBlue:i,sapphireBlue:o}=n.palette.app.color,s=a.useRef(null),[d,c]=a.useState({end:20,start:0}),[u,h]=a.useState(!1),[C,x]=a.useState(null),f=a.useCallback((()=>{if(!s.current)return;const e=s.current.scrollTop,t=Math.max(0,Math.floor(e/25)-5),r=Math.min(l.length,Math.ceil((e+200)/25)+5);t===d.start&&r===d.end||c({end:r,start:t})}),[l.length,d.start,d.end]),g=a.useMemo((()=>l.slice(d.start,d.end)),[l,d.start,d.end]),m=a.useCallback((e=>{h(!0);const l=t[e];x(l?"unCheck":"check"),r(e)}),[r,t]),b=a.useCallback((e=>{if(u&&C){const l=t[e];("check"===C&&!l||"unCheck"===C&&l)&&r(e)}}),[u,C,t,r]),y=a.useCallback((()=>{h(!1),x(null)}),[]);return a.useMemo((()=>(document.addEventListener("mouseup",y),()=>document.removeEventListener("mouseup",y))),[y]),e.jsx("div",{ref:s,role:"presentation",onScroll:f,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:{display:"flex",flexDirection:"column",height:"300px",maxHeight:"200px",overflowY:"auto",position:"relative",userSelect:"none"},children:e.jsx("div",{style:{height:25*l.length+"px",position:"relative"},children:e.jsx("div",{style:{position:"absolute",top:25*d.start+"px",width:"100%"},children:g.map((l=>{const n=t[l]||!1;return e.jsxs(j.Stack,{onMouseDown:e=>{e.stopPropagation(),m(l)},onMouseUp:e=>e.stopPropagation(),onMouseEnter:e=>{e.stopPropagation(),b(l)},onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),style:{backgroundColor:n?o[400]:"transparent",cursor:"pointer"},flexDirection:"row",alignItems:"center",gap:"5px",height:"25px",children:[e.jsx(j.Checkbox,{checked:n,onChange:e=>{e.stopPropagation(),r(l)},onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),size:"small",style:{color:n?i[900]:"",padding:"4px"}}),e.jsx(j.Typography,{variant:"caption",color:"black",sx:{WebkitBoxOrient:"vertical",WebkitLineClamp:"1",display:"-webkit-box",overflow:"hidden",textOverflow:"ellipsis"},children:(()=>{if("string"==typeof l){if(!Id(l))return l;return p.DateTime.fromISO(l,{zone:"utc"}).isValid?Bd(l):l}return String(l)})()})]},l)}))})})})}));Od.displayName="VirtualCheckboxList";const zd=({header:t,resetAllFilters:r})=>{const l=j.useTheme(),{butterflyBlue:n,iron:i,mirage:o}=l.palette.app.color,[s,d]=a.useState(!1),[c,u]=a.useState(""),[p,h]=a.useState(void 0),C=a.useRef(null),x=a.useRef(null),f=a.useCallback((()=>{d(!1),u("")}),[]),g=t.column.columnDef,{facetedFilter:m,filterVariant:b}=g,{getFilterValue:y,setFilterValue:w}=t.column,v=m&&b,M=v?y()?.facets??[]:y()??[],{filteredOptions:L}=(({header:e,isOpen:t,searchValue:r})=>{const{getFacetedUniqueValues:l}=e.column,n=a.useMemo((()=>qr.default(l)?l()??new Map:new Map),[e.column,t]),i=a.useMemo((()=>{if(Or.default(n))return[];const e=Array.from(n.keys());return Xn.default(Fl.default(e,(e=>!Un.default(e))),(e=>String(e).toLowerCase()))}),[n]);return{filteredOptions:a.useMemo((()=>Or.default(r)?i:Fl.default(i,(e=>String(e).toLowerCase().includes(r.toLowerCase())))),[i,r])}})({header:t,isOpen:s,searchValue:c}),k=!L.length,S=1===M.length&&"allData"===M[0],H=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];if(k||t)return!1;if(0===e.length)return!1;const r=new Set(e);return L.every((e=>r.has(String(e))))}),[M,p,L,k]),Z=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];if(k||t||H)return!1;const r=new Set(e),l=L.filter((e=>r.has(String(e)))).length;return l>0&&l<L.length}),[M,p,L,k,H,c]),V=S?0:M.length,A=a.useMemo((()=>{const e=p??M,t=1===e.length&&"allData"===e[0];return k||t?{}:Object.fromEntries(e.map((e=>[e,!0])))}),[M,p,L,k]),D=()=>{const e=L.map(String),t=p??M,r=new Set(t),l=t.length>0&&e.every((e=>r.has(e)));h(l?[]:e)},B=a.useCallback((()=>{if(void 0!==p)if(v){const e={...y()??{facets:[],search:""},facets:p};w(e)}else w(p);d(!1),u("")}),[p,t.column,v]),I=a.useCallback((()=>{if(v){const e={...y()??{facets:[],search:""},facets:[]};w(e)}else w(void 0);h(void 0),u(""),d(!1)}),[t.column,v]);return a.useMemo((()=>{r&&I()}),[r]),e.jsxs("div",{style:{position:"relative"},children:[e.jsxs(j.IconButton,{ref:x,onClick:e=>{e.stopPropagation(),d(!s)},sx:{padding:0,position:"relative"},children:[e.jsx(wo,{toolTipLabel:"Faceted Filter",children:e.jsx(nr.FilterListRounded,{sx:{fontSize:"20px"}})}),V>0&&e.jsx("span",{style:{backgroundColor:n[900],border:`2px solid ${i[600]}`,borderRadius:"50%",color:i[600],fontSize:"10px",fontWeight:"bold",height:"6px",position:"absolute",right:0,top:1,width:"6px"}})]}),s&&e.jsx(j.ClickAwayListener,{onClickAway:f,children:e.jsxs("div",{ref:C,role:"presentation","data-faceted-filter-popover":"true",onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onMouseUp:e=>e.stopPropagation(),onMouseMove:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onPointerMove:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:{backgroundColor:i[600],borderRadius:"6px",boxShadow:`0 0 20px ${o[50]}`,display:"flex",flexDirection:"column",height:"290px",left:0,padding:"8px",position:"absolute",top:"40px",width:"206px",zIndex:50},children:[e.jsx(wd,{onChange:e=>u(String(e)),value:c,inputHeight:"10px",style:{width:"100%"}}),e.jsxs(j.Typography,{onClick:D,sx:{alignItems:"center",cursor:"pointer",display:"flex",fontSize:"12px",fontWeight:"600",gap:"4px"},children:[e.jsx(j.Checkbox,{checked:H,indeterminate:Z,onChange:D,size:"small",style:{color:H&&!k?n[900]:"",padding:"4px"},disabled:k}),"Select All"]}),k?e.jsx("div",{style:{fontSize:"12px",padding:"8px",textAlign:"center"},children:"No options found"}):e.jsx(Od,{options:L,checkedMap:A,onToggle:e=>{const t=String(e),r=p??M,l=r.includes(t)?r.filter((e=>e!==t)):[...r,t];h(l)}}),e.jsxs("div",{style:{borderTop:`1px solid ${i[700]}`,display:"flex",justifyContent:"space-between",paddingTop:"8px"},children:[e.jsx(j.Button,{variant:"text",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},onClick:I,children:"Reset"}),e.jsx(j.Button,{variant:"contained",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},onClick:B,disableElevation:!0,children:"Apply"})]})]})})]})},Wd=({dragAttributes:t,dragListeners:r,dragRef:l,dragTransform:n,dragTransition:i,header:o,isDragOver:s=!1,isDragging:d=!1,isReorderable:c=!1,loading:u=!1,resetAllFilters:p})=>{const h=j.useTheme(),{butterflyBlue:C,iron:x,slate:f}=h.palette.app.color,{isSortable:g,mutipleSortCounts:m,sortableIcon:b}=(({header:e})=>{const{getCanSort:t,getIsSorted:r,getSortIndex:l}=e.column,n=t(),i=a.useMemo((()=>{const e=r();return e&&e in _d?_d[e]:null}),[r()]);return{isSortable:n,mutipleSortCounts:l(),sortableIcon:i}})({header:o}),{columnDef:y,getAfter:w,getCanResize:v,getIsPinned:M,getSize:L,getStart:k,getToggleSortingHandler:S}=o.column,H=y?.facetedFilter,Z="smartSelectFilter"===y?.filterVariant,V=M()?L()-8:L(),A=n?ir.CSS.Transform.toString(n):void 0,D=c&&s?f[700]:"#fafafb",B=t??{},I=r??{};return e.jsxs("th",{colSpan:o.colSpan,"data-column-id":o.id,ref:l,style:{backgroundColor:D,borderBottom:`1px solid ${x[700]}`,height:"40px",left:"left"===M()?`${k("left")}px`:void 0,maxWidth:V,minWidth:V,opacity:d?.85:1,padding:"0px 0px 0px 8px",position:M()?"sticky":"relative",right:"right"===M()?`${w("right")}px`:void 0,textAlign:"left",transform:A,transition:i,width:V,zIndex:d?20:M()?3:1},onClick:e=>{if(d)return;const t=e.target;t&&"col-resize"===t.style.cursor||t?.closest("[data-faceted-filter-popover='true']")||g&&!u&&S()?.(e)},children:[e.jsxs("div",{...c&&!u&&"grouped_by"!==o.id?B:{},...c&&!u&&"grouped_by"!==o.id?I:{},style:{alignItems:"center",borderRight:`2px solid ${x[700]}`,display:"flex",flexGrow:1,gap:"8px",cursor:c&&!u&&"grouped_by"!==o.id?d?"grabbing":"grab":g?"pointer":"default",touchAction:c&&!u&&"grouped_by"!==o.id?"none":"auto"},children:[e.jsx("div",{children:e.jsx("div",{style:{color:x[400],fontFamily:"Poppins",fontSize:"13px",fontWeight:600,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",textWrap:"nowrap"},children:!o.isPlaceholder&&or.flexRender(y.header,o.getContext())})}),H&&!u&&!Z&&e.jsx(zd,{header:o,resetAllFilters:p}),g&&!u&&e.jsxs(j.Stack,{flexDirection:"row",alignItems:"center",children:[b,g&&m>0&&e.jsxs(j.Typography,{color:x[400],variant:"caption",children:["(",m+1,")"]})]})]}),v()&&!u&&e.jsx("div",{style:{background:"transparent",cursor:"col-resize",height:"100%",position:"absolute",right:0,top:0,width:"3px",zIndex:1},onMouseDown:o.getResizeHandler(),onMouseEnter:e=>{e.currentTarget.style.backgroundColor=C[900]},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"}})]})},$d=({defaultGrouping:t,header:r,isReorderable:l=!0,loading:n,resetAllFilters:i})=>{const{attributes:o,isDragging:a,isOver:s,listeners:d,setNodeRef:c,transform:u,transition:p}=tr.useSortable({id:r.column.id});return e.jsx(Wd,{defaultGrouping:t,header:r,loading:n,resetAllFilters:i,dragAttributes:o,dragListeners:d||void 0,dragRef:c,dragTransform:u,dragTransition:p,isDragging:a,isDragOver:s,isReorderable:l})},qd=({children:t})=>e.jsxs("div",{className:"inline-date-range",children:[e.jsx("style",{children:"\n .inline-date-range .rdrCalendarWrapper {\n font-size: 12px;\n width: auto;\n }\n .inline-date-range .rdrDateDisplayWrapper {\n display: none;\n }\n .inline-date-range .rdrMonthAndYearWrapper {\n padding: 10px 12px;\n background: white;\n height: auto;\n }\n .inline-date-range .rdrMonthAndYearPickers {\n display: flex;\n gap: 6px;\n justify-content: center;\n align-items: center;\n }\n .inline-date-range .rdrMonthPicker,\n .inline-date-range .rdrYearPicker {\n margin: 0;\n }\n .inline-date-range .rdrMonthPicker select,\n .inline-date-range .rdrYearPicker select {\n padding: 0px 5px;\n font-size: 12px;\n border: 0px;\n background: white;\n cursor: pointer;\n font-weight: 500;\n }\n .inline-date-range .rdrMonthPicker select:hover,\n .inline-date-range .rdrYearPicker select:hover {\n color: #3b82f6 !important;\n }\n .inline-date-range .rdrMonth {\n padding: 0px 12px;\n width: 200px;\n }\n .inline-date-range .rdrMonthName {\n display: none;\n }\n .inline-date-range .rdrWeekDays {\n margin-bottom: 2px;\n }\n .inline-date-range .rdrWeekDay {\n font-size: 11px;\n font-weight: 600;\n color: #333;\n line-height: 2.2em;\n }\n .inline-date-range .rdrDay {\n font-size: 12px;\n height: 30px;\n line-height: 30px;\n }\n .inline-date-range .rdrDayNumber span {\n font-weight: 400;\n color: #333;\n }\n .inline-date-range .rdrDayToday .rdrDayNumber span:after {\n background: #3b82f6;\n bottom: 2px;\n }\n .inline-date-range .rdrDayPassive .rdrDayNumber span {\n color: #bbb;\n }\n .inline-date-range .rdrStartEdge,\n .inline-date-range .rdrEndEdge {\n background: #3b82f6 !important;\n color: white !important;\n }\n .inline-date-range .rdrInRange {\n background: rgba(59, 131, 246, 0.77) !important;\n }\n .inline-date-range .rdrNextPrevButton {\n background: white;\n border: none;\n width: 20px;\n height: 20px;\n border-radius: 3px;\n margin: 0 2px;\n }\n .inline-date-range .rdrNextPrevButton:hover {\n background: #f5f5f5;\n }\n .inline-date-range .rdrPprevButton i,\n .inline-date-range .rdrNextButton i {\n display: none;\n }\n .inline-date-range .rdrPprevButton::before {\n content: '‹';\n font-size: 18px;\n font-weight: bold;\n color: #666;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .inline-date-range .rdrNextButton::before {\n content: '›';\n font-size: 18px;\n font-weight: bold;\n color: #666;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .inline-date-range .rdrDefinedRangesWrapper {\n display: none;\n }\n "}),t]}),Kd=e=>{if(!e)return null;const t=ar.parseISO(e);return ar.isValid(t)?t:null},Nd=({initialValue:t,onApply:r,width:l})=>{const n=a.useRef(null),[i,o]=a.useState(!1),s=a.useMemo((()=>new Date),[]),[d,c]=a.useState((()=>[{endDate:s,key:"selection",startDate:s}])),[u,p]=a.useState({firstDate:null,lastDate:null}),h=u.firstDate&&ar.format(u.firstDate,"dd/MM/yyyy"),C=u.lastDate&&ar.format(u.lastDate,"dd/MM/yyyy"),x=h&&C?h===C?h:`${h} - ${C}`:"";a.useEffect((()=>{if(t&&t.length>0){const[e,r=t[0]]=t,l=Kd(e),n=Kd(r);if(l&&n)return p({firstDate:l,lastDate:n}),void c([{endDate:n,key:"selection",startDate:l}])}p({firstDate:null,lastDate:null}),c([{endDate:s,key:"selection",startDate:s}])}),[s,t]);return e.jsxs("div",{children:[e.jsx(j.TextField,{inputRef:n,value:x,placeholder:"dd/mm/yyyy",onClick:()=>o(!0),fullWidth:!0,InputProps:{endAdornment:x&&e.jsx(j.InputAdornment,{position:"end",style:{padding:"0px"},children:e.jsx(j.IconButton,{size:"small",onClick:e=>{e.stopPropagation(),o(!1),p({firstDate:null,lastDate:null}),c([{endDate:s,key:"selection",startDate:s}]),r([])},sx:{p:.5},children:e.jsx(At.ClearIcon,{fontSize:"small"})})}),readOnly:!0},sx:{"& .MuiInputAdornment-root":{margin:0},"& .MuiInputBase-input":{fontSize:"14px",height:"10px",padding:"4px 4px"},"& input[type='date']::-webkit-calendar-picker-indicator":{position:"absolute",right:8,zIndex:2},width:l}}),e.jsxs(j.Popover,{open:i,anchorEl:n.current,onClose:()=>o(!1),anchorOrigin:{horizontal:"left",vertical:"bottom"},children:[e.jsx(qd,{children:e.jsx(qe.DateRange,{ranges:d,onChange:e=>{const t=e.selection;c([{endDate:t?.endDate??s,key:"selection",startDate:t?.startDate??s}])},moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1})}),e.jsx(j.Box,{sx:{display:"flex",justifyContent:"flex-end",margin:"10px"},children:e.jsx(j.Button,{variant:"contained",size:"small",sx:{fontSize:"12px",height:"22px",minWidth:"40px"},disableElevation:!0,onClick:()=>{const e=d[0],t=e?.startDate??null,l=e?.endDate??null;if(!t||!l)return r([]),p({firstDate:null,lastDate:null}),void o(!1);p({firstDate:t,lastDate:l}),o(!1);const n=ar.format(t,"yyyy-MM-dd"),i=ar.format(l,"yyyy-MM-dd");r([n,i])},children:"Apply"})})]})]})},Gd=({filterVariant:t,header:r,resetAllFilters:l})=>{const{columnDef:n,getFilterValue:i,setFilterValue:o}=r.column,{facetedFilter:a,filterParams:s,filterVariant:d}=n,c=a&&d,u=i(),p=c?u??{facets:[],search:""}:void 0,h=e=>{return c?(t={search:e.toString()},void(c&&o({...p,...t}))):o(e);var t},C=t=>e.jsx(wd,{onChange:e=>h(l?"":e),type:t,value:l?"":(c?p?.search??"":"string"==typeof u||"boolean"==typeof u||"number"==typeof u?u:"").toString(),style:{width:"100%"}});switch(t){case"smartTextFilter":return C("text");case"smartNumberFilter":return C("number");case"smartDateFilter":return e.jsx(Nd,{width:"100%",initialValue:Array.isArray(u)?u:void 0,onApply:e=>o(e)});case"smartSelectFilter":return(()=>{const t=s?.filterOptions??[],r=c?p?.search??"":"string"==typeof u||"boolean"==typeof u||"number"==typeof u?u:"",l=t.find((e=>e.value===r))||null;return e.jsx(j.Autocomplete,{options:t,getOptionLabel:e=>e.label||"",value:l,onChange:(e,t)=>h(t?t.value:""),renderInput:t=>e.jsx(j.TextField,{...t,variant:"outlined",placeholder:"All",sx:{"& .MuiInputBase-root":{height:28}}}),size:"small",sx:{width:"100%"},slotProps:{paper:{sx:{"& .MuiAutocomplete-option":{fontSize:12}}}}})})();default:return null}},Ud=({header:t,resetAllFilters:r})=>{const l=j.useTheme(),{iron:n}=l.palette.app.color,i=t.column.getIsPinned()?t.getSize()-8:t.getSize(),o=t.column.columnDef.filterVariant;return e.jsx("th",{style:{backgroundColor:"#fafafb",borderBottom:`1px solid ${n[700]}`,height:"40px",left:"left"===t.column.getIsPinned()?`${t.column.getStart("left")}px`:void 0,maxWidth:i,minWidth:i,padding:"0px 8px 0px 8px",position:t.column.getIsPinned()?"sticky":"relative",right:"right"===t.column.getIsPinned()?`${t.column.getAfter("right")}px`:void 0,textAlign:"left",width:i,zIndex:t.column.getIsPinned()?3:0},children:o?e.jsx(Gd,{filterVariant:o,header:t,resetAllFilters:r}):"-"})},Yd=({defaultGrouping:t,enableSecondRowFilter:r,headerGroup:l,isHeaderReorderable:n,loading:i,resetAllFilters:o,swipeableColumns:a})=>{const{depth:s,headers:d}=l,c=s??0,u=d.filter((e=>"left"===e.column.getIsPinned())),p=d.filter((e=>!e.column.getIsPinned())),h=d.filter((e=>"right"===e.column.getIsPinned())),C=s===c;return e.jsxs(e.Fragment,{children:[e.jsxs("tr",{children:[u.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id))),p.map((r=>{const l=(e=>{const t=e.column.columnDef,r=n(e,C),l=!!t.enableGrouping;return r||l})(r),s=a&&n(r,C);return l?e.jsx($d,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o,isReorderable:s},r.id):e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id)})),h.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:i,resetAllFilters:o},r.id)))]},`${l.id}-row`),r&&!i&&e.jsx("tr",{children:l.headers.map((t=>e.jsx(Ud,{header:t,resetAllFilters:o},t.id)))})]})};function Xd({col:t,colIndex:r,orderedColumns:l,summaryValue:n}){const i=j.useTheme(),{iron:o,slate:a}=i.palette.app.color,s=t.getIsPinned(),d={};if("left"===s){const e=l[r+1],n=!e||"left"!==e.getIsPinned();d.position="sticky",d.left=t.getStart("left"),d.zIndex=2,d.background=a[600],n&&(d.borderRight=`1px solid ${o[700]}`)}if("right"===s){const e=l[r-1],n=!e||"right"!==e.getIsPinned();d.position="sticky",d.right=t.getAfter("right"),d.zIndex=2,d.background=a[600],n&&(d.borderLeft=`1px solid ${o[700]}`)}return e.jsx("td",{style:{background:"#F8F9FA",borderTop:`1px solid ${o[700]}`,fontWeight:500,padding:"8px",...d,...n?.style},children:n?.value??null},`footer-${t.id}`)}function Jd({summary:t,table:r}){const l=j.useTheme(),n=r.getVisibleLeafColumns(),i=[...n.filter((e=>"left"===e.getIsPinned())),...n.filter((e=>!e.getIsPinned())),...n.filter((e=>"right"===e.getIsPinned()))];return e.jsx("tfoot",{style:{background:l.palette.background.paper,bottom:0,position:"sticky",zIndex:2},children:e.jsx("tr",{children:i.map(((r,l)=>{const n=r.columnDef?.accessorKey,o=void 0!==n?t?.[n]:void 0;return e.jsx(Xd,{col:r,colIndex:l,orderedColumns:i,summaryValue:o},`footer-${r.id}`)}))})})}const Qd=a.createContext(void 0),ec=({children:t,value:r})=>e.jsx(Qd.Provider,{value:r,children:t}),tc=({row:t,isSummaryRow:r})=>{const{groupingColumnId:l,getIsGrouped:n,getGroupingValue:i}=t;if(r)return e.jsx("span",{children:"Total"});const o=j.useTheme(),{butterflyBlue:a}=o.palette.app.color;if(!n())return null;if(!l)return null;const s=i(l);if(null==s)return null;const d=t.getIsExpanded();return e.jsx("div",{style:{display:"flex",alignItems:"center",paddingLeft:15*t.depth+"px",width:"100%"},children:e.jsxs("div",{role:"button",tabIndex:0,onClick:t.getToggleExpandedHandler(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t.toggleExpanded())},style:{display:"inline-flex",alignItems:"center",cursor:"pointer",padding:"4px 4px",userSelect:"none"},children:[d?e.jsx(nr.ExpandMore,{color:"primary",fontSize:"small"}):e.jsx(nr.ChevronRight,{color:"primary",fontSize:"small"}),e.jsx("p",{style:{fontSize:"14px",marginLeft:"4px",color:a[900]},children:(()=>{if("string"==typeof s){if(!Id(s))return s;return p.DateTime.fromISO(s,{zone:"utc"}).isValid?Bd(s):s}return String(s)})()}),e.jsxs("p",{style:{fontSize:"14px",marginLeft:"4px",opacity:.7,color:a[900]},children:["(",t.subRows.length,")"]})]})})},rc=({cell:t,isSummaryRow:r,row:l,summaryData:n,isGroupColumn:i=!1})=>r?i?"Total":(t=>{const r=t.column.id,l=n?.[r];return l?e.jsx("div",{style:l.style,children:l.value}):t.getIsGrouped()?"Total":null})(t):i?e.jsx(tc,{row:l,isSummaryRow:r}):l.getIsGrouped()&&!t.getIsGrouped()?null:t.getIsGrouped()?e.jsx(tc,{row:l,isSummaryRow:r}):t.getIsAggregated()?t.column.columnDef.aggregatedCell?or.flexRender(t.column.columnDef.aggregatedCell,t.getContext()):null:t.getIsPlaceholder()?null:or.flexRender(t.column.columnDef.cell,t.getContext()),lc=({columnWidths:t,exportActions:r,exportData:l,grouping:n=[],index:i,isSummaryRow:o=!1,row:s,rowHeight:d,summaryData:c,virtualRow:u})=>{const p=j.useTheme(),{butterflyBlue:h,iron:C,mirage:x,slate:f}=p.palette.app.color,g=(()=>{const e=a.useContext(Qd);if(!e)throw new Error("useCellSelectionContext must be used within CellSelectionProvider");return e})(),[m,b]=a.useState(!1),[y,w]=a.useState(null),[v,M]=a.useState({left:0,top:0}),L=a.useRef(null),k=a.useRef(null),{enabled:S,isCellSelected:H,isCopyFlashing:Z,startCellSelection:V,updateCellSelection:A}=g,D=(()=>{const e=j.useTheme(),{iron:t}=e.palette.app.color;return a.useCallback(((e,r,l)=>{const n=e.column.getIsPinned();if("left"===n){const n=l[r+1],i=!n||"left"!==n.column.getIsPinned();return{left:e.column.getStart("left"),position:"sticky",zIndex:2,...i?{borderRight:`1px solid ${t[700]}`}:{}}}if("right"===n){const n=l[r-1],i=!n||"right"!==n.column.getIsPinned();return{position:"sticky",right:e.column.getAfter("right"),zIndex:2,...i?{borderLeft:`1px solid ${t[700]}`}:{}}}return{}}),[t])})(),B=s.getIsSelected(),I=()=>o?f[600]:m&&!o||B?h[600]:C[600];a.useMemo((()=>{const e=e=>{k.current&&!k.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&w(null)};if(y)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[y]);const R=y===s.id;return e.jsxs(e.Fragment,{children:[e.jsx("tr",{ref:L,style:{backgroundColor:I(),borderTop:`1px solid ${C[700]}`,display:"flex",position:u?"absolute":"relative",transform:u?`translateY(${u.start}px)`:void 0,width:"100%"},onMouseEnter:()=>{o||b(!0)},onMouseLeave:()=>{o||b(!1)},onContextMenu:e=>{if(o)return;e.preventDefault();const t=L.current?.getBoundingClientRect();t&&(M({left:e.clientX,top:e.clientY}),w(s.id))},children:(()=>{const r=s.getVisibleCells(),l=n.length>0?r.filter((e=>{if("grouped_by"===e.column.id)return!0;if(e.getIsGrouped())return!0;const t=e.column.id,r=e.column.columnDef?.accessorKey;return!(n.includes(t)||r&&n.includes(r))})):r;if(s.getIsGrouped()&&l.length>0){const t=l.find((e=>e.getIsGrouped()));if(t)return e.jsx("td",{colSpan:l.length,style:{boxSizing:"border-box",lineHeight:"21px",overflow:"hidden",padding:"0px 8px",position:"relative",textAlign:"left",width:"100%"},children:e.jsx("div",{style:{alignItems:"center",color:C[400],display:"flex",fontFamily:"Poppins",fontSize:"13px",height:d,justifyContent:"flex-start"},children:e.jsx(rc,{cell:t,row:s,isSummaryRow:o,summaryData:c,isGroupColumn:!1})})},t.id)}return l.map(((r,l,n)=>{const i=t[l]??r.column.getSize(),a=D(r,l,n),u=H(s.id,r.column.id),p=u&&!Z?h[600]:void 0,x=u&&Z?"copyFlash 0.5s ease-in-out":void 0,f=r.column.getIsPinned()?u&&!Z?h[600]:I():p,g=r.column.columnDef.align??"left";let m;return m="right"===g?"flex-end":"center"===g?"center":"flex-start",e.jsx("td",{onMouseDown:e=>{if(S&&!o){const t=e.shiftKey;V(s.id,r.column.id,t)}},onMouseEnter:()=>{S&&!o&&A(s.id,r.column.id)},style:{animation:x,backgroundColor:f,boxSizing:"border-box",cursor:S?"cell":"default",lineHeight:"21px",maxWidth:i,minWidth:i,overflow:"hidden",padding:"0px 8px",position:"relative",textAlign:g,textOverflow:"ellipsis",textWrap:"nowrap",userSelect:S?"none":"auto",width:i,...a},children:e.jsx("div",{style:{alignItems:"center",color:C[400],display:"flex",fontFamily:"Poppins",fontSize:"13px",fontWeight:o?"500":400,height:d,justifyContent:m,overflow:"hidden",textOverflow:"ellipsis"},children:e.jsx(rc,{cell:r,row:s,isSummaryRow:o,summaryData:c,isGroupColumn:"grouped_by"===r.column.id})})},r.id)}))})()},`table-row-${i}${o?"-summary":""}`),R&&l&&e.jsx("div",{ref:k,style:{backgroundColor:C[600],borderRadius:"6px",boxShadow:`0 0 20px ${x[50]}`,display:"flex",flexDirection:"column",left:`${v.left}px`,minWidth:"120px",padding:"8px",position:"fixed",top:`${v.top}px`,width:"120px",zIndex:99},children:r?.map((t=>e.jsx(Ni,{onClick:t.onClick,variant:"text",style:{borderBottom:`1px solid ${C[700]}`,fontSize:"13px",padding:0},disableRipple:!0,children:t.label},t.label)))})]})},nc=({checked:t,disabled:r,indeterminate:l,onChange:n,...i})=>{const o=j.useTheme(),{butterflyBlue:a,iron:s}=o.palette.app.color;return e.jsx(j.Checkbox,{checked:t,disabled:r,indeterminate:l,onChange:n,disableRipple:!0,checkedIcon:e.jsx(Dr.default,{fontSize:"medium",htmlColor:a[900],sx:{borderRadius:"4px",fontSize:"20px",marginLeft:"-2px"}}),icon:e.jsx(j.Box,{sx:{border:"1px solid",borderColor:s[800],borderRadius:"2px",height:13,width:13}}),...i})},ic=e=>{const{columns:t,data:r}=e,[l,n]=a.useState([]),[i,o]=a.useState(e.defaultGrouping??[]),{combinedFilter:s,dateRangeFilter:d,includesSome:c,processedColumns:u}=(({columns:e})=>{const t=e=>{if(e instanceof Date)return e;if("string"==typeof e){const t=ar.parseISO(e);if(ar.isValid(t))return t}return null};return{combinedFilter:(e,t,r)=>{if(!r)return!0;const l=e.getValue(t),n=null!=l?String(l):"";if("object"==typeof r&&!Array.isArray(r)){const e=r,{facets:t,search:l}=e;let i=!0;return l&&""!==l.trim()&&(i=i&&n.toLowerCase().includes(l.toLowerCase())),t&&t.length>0&&(i=i&&t.some((e=>String(e)===n))),i}return Array.isArray(r)?r.some((e=>String(e)===n)):String(r)===n},dateRangeFilter:(e,r,l)=>{if(!Array.isArray(l)||0===l.length)return!0;const[n,i]=l,o=t(n),a=t(i??n);if(!o||!a)return!0;const s=new Date(o);s.setHours(0,0,0,0);const d=new Date(a);d.setHours(23,59,59,999);const c=e.getValue(r),u=t(c);if(!u){const e=null!=c?String(c):"",t=String(n??"");return e>=t&&e<=("string"==typeof i&&i?i:t)}const p=new Date(u).getTime();return p>=s.getTime()&&p<=d.getTime()},includesSome:(e,t,r)=>{if(!r||Array.isArray(r)&&0===r.length)return!0;const l=e.getValue(t),n=null!=l?String(l):"";return Array.isArray(r)?r.some((e=>String(e)===n)):String(r)===n},processedColumns:a.useMemo((()=>e.map((e=>{const t=e,{facetedFilter:r,filterVariant:l}=t;return r&&l?{...e,filterFn:"combinedFilter"}:"smartDateFilter"===l?{...e,filterFn:"dateRangeFilter"}:r?{...e,filterFn:"includesSome"}:e}))),[e])}})({columns:t}),[p,h]=a.useState(!0),[C,x]=a.useState({}),{hasPinnedColumns:f,initialPinning:g}=(({columns:e})=>{const t=a.useMemo((()=>{const t=[],r=[];return e.forEach((({accessorKey:e,id:l,pinned:n})=>{"left"===n&&t.push(l??e),"right"===n&&r.push(l??e)})),{left:t,right:r}}),[e]);return{hasPinnedColumns:a.useMemo((()=>e.some((({pinned:e})=>"left"===e||"right"===e))),[e]),initialPinning:t}})({columns:t}),[m,b]=a.useState(g),[j,y]=a.useState([]),[w,v]=a.useState([]),{enableExpanding:M=!0,enableGrouping:L=!0,enablePinning:k=f,enableRowSelection:S=!0,enableSorting:H=!0}=e,Z=or.useReactTable({autoResetExpanded:!1,columnResizeDirection:"ltr",columnResizeMode:"onChange",columns:u,data:r,defaultColumn:{maxSize:500,minSize:100,size:150},enableExpanding:M,enableGrouping:L,enablePinning:k,enableRowSelection:S,enableSorting:H,filterFns:{combinedFilter:s,dateRangeFilter:d,includesSome:c},getCoreRowModel:or.getCoreRowModel(),getExpandedRowModel:or.getExpandedRowModel(),getFacetedMinMaxValues:or.getFacetedMinMaxValues(),getFacetedRowModel:or.getFacetedRowModel(),getFacetedUniqueValues:or.getFacetedUniqueValues(),getFilteredRowModel:or.getFilteredRowModel(),getGroupedRowModel:or.getGroupedRowModel(),getSortedRowModel:or.getSortedRowModel(),onColumnFiltersChange:y,onColumnOrderChange:e=>{v((t=>{const r="function"==typeof e?e(t):e,l=i.length>0,n="grouped_by";if(l&&r.includes(n)){const e=r.filter((e=>e!==n));return[n,...e]}return r}))},onColumnPinningChange:b,onExpandedChange:h,onGroupingChange:o,onRowSelectionChange:x,onSortingChange:n,state:{columnFilters:j,columnOrder:w,columnPinning:m,expanded:p,grouping:i,rowSelection:C,sorting:l}});return a.useEffect((()=>{h(!0)}),[i,r.length]),a.useEffect((()=>{const e=i.length>0,t="grouped_by";if(e){const e=Z.getState().columnOrder,r=Z.getAllLeafColumns().map((e=>e.id));if(r.includes(t))if(e.length)if(e.includes(t)&&e[0]!==t){const r=e.filter((e=>e!==t));v([t,...r])}else e.includes(t)||v([t,...e]);else{const e=r.filter((e=>e!==t));v([t,...e])}}}),[i,Z]),{table:Z}};const oc=a.forwardRef((({defaultGrouping:t=[],dynamicRowSelection:r=()=>!0,emptyMessage:l="No data found",enableCellSelection:n=!1,exportActions:i=[],exportData:o=!1,height:s="calc(100vh - 130px)",loading:d=!1,rowHeight:c=38,rowSelection:u=!1,swipeableColumns:p=!1,columnArranger:h=!1,totalCount:C=0,onApplyColumnArranger:x,...f},g)=>{const m=j.useTheme(),{butterflyBlue:b}=m.palette.app.color,[y,w]=a.useState(!1),[v,M]=a.useState(null),[L,k]=a.useState(null),[S,H]=a.useState(!1),Z=a.useRef(null),[V,A]=a.useState(!1),D=a.useRef(null),B=a.useRef(null),{columns:I,data:R,dynamicSummaryConfig:T,summary:E}=f,[F,P]=a.useState(new Set),_=a.useMemo((()=>I.filter((e=>{const t=e,r=t.id??t.accessorKey;return!0!==t.hide&&!F.has(r)}))),[I,F]),O=a.useMemo((()=>I.map((e=>{const t=e,r=t.id??t.accessorKey;return F.has(r)?{...t,hide:!0}:t}))),[I,F]),{columns:z}=(({defaultColumn:t,dynamicRowSelection:r,rowSelection:l})=>{const n=a.useCallback((t=>!r||r(t.row.original)?e.jsx(nc,{checked:t.row.getIsSelected(),disabled:!t.row.getCanSelect(),indeterminate:t.row.getIsSomeSelected(),onChange:t.row.getToggleSelectedHandler()}):null),[]),i=a.useCallback((t=>{if(!r)return e.jsx(nc,{checked:t.table.getIsAllRowsSelected(),indeterminate:t.table.getIsSomeRowsSelected(),onChange:t.table.getToggleAllRowsSelectedHandler()});const l=t.table.getRowModel().rows,n=t.table.getState().rowSelection;let i=0,o=0;for(const e of l)r(e.original)&&(i++,n[e.id]&&o++);const a=i>0&&o===i,s=o>0&&o<i;return e.jsx(nc,{checked:a,indeterminate:s,disabled:0===i,onChange:e=>{const{checked:l}=e.target,n=t.table.getRowModel().rows;t.table.setRowSelection((e=>{const t={...e};return n.forEach((e=>{r(e.original)&&(l?t[e.id]=!0:delete t[e.id])})),t}))}})}),[]),o=a.useMemo((()=>t.map((e=>"smartNumberFilter"!==e.filterVariant||e.filterFn?e:{...e,filterFn:"includesString"}))),[t]);return{columns:a.useMemo((()=>l?[{cell:n,enableSorting:!1,header:i,id:"select",maxSize:30,minSize:30},...o]:o),[o,l,n,i])}})({defaultColumn:_,dynamicRowSelection:r,rowSelection:u}),{table:W}=ic({...f,columns:z,data:R,defaultGrouping:t}),{getHeaderGroups:$,getRowModel:q,getSelectedRowModel:K,getState:N}=W,G=q().rows,U=N().grouping,Y=a.useRef(null),{handleDragEnd:X,isHeaderReorderable:J,sensors:Q}=(({swipeableColumns:e,table:t})=>{const r=a.useMemo((()=>new Set(["select","action"])),[]),l=er.useSensors(er.useSensor(er.PointerSensor,{activationConstraint:{distance:5}})),n=a.useCallback(((t,l)=>{if(!e||!l||t.isPlaceholder)return!1;const n=t.column.id,i=t.column.columnDef,o=i?.accessorKey,{enableColumnOrdering:a}=i;return!1!==a&&"action"!==o&&!r.has(n)}),[e,r]);return{handleDragEnd:a.useCallback((r=>{if(!e)return;const{active:l,over:n}=r;if(!n||l.id===n.id)return;const i=String(l.id),o=String(n.id),a=t.getColumn(i),s=t.getColumn(o);if(!a||!s)return;if(a.getIsPinned()||s.getIsPinned())return;const d=t.getAllLeafColumns(),c=t.getState().columnOrder.length>0?t.getState().columnOrder:d.map((e=>e.id)),{center:u,left:p,right:h}=c.reduce(((e,r)=>{const l=t.getColumn(r);if(!l)return e;const n=l.getIsPinned();return"left"===n?e.left.push(r):"right"===n?e.right.push(r):e.center.push(r),e}),{center:[],left:[],right:[]}),C=u.indexOf(i),x=u.indexOf(o);if(-1===C||-1===x)return;const f=[...p,...tr.arrayMove(u,C,x),...h];t.setColumnOrder(f)}),[e,t]),isHeaderReorderable:n,sensors:l}})({swipeableColumns:p,table:W}),ee=(({enabled:e,table:t})=>{const[r,l]=a.useState({activeCell:null,isSelecting:!1,selectedCells:new Set,selectionRange:null}),[n,i]=a.useState(!1),o=a.useRef(!1),s=a.useRef(null),d=a.useCallback(((e,t)=>`${e}-${t}`),[]),c=a.useCallback(((e,r)=>{const l=new Set,{getRowModel:n,getVisibleFlatColumns:i}=t,o=n().rows,a=i(),s=o.findIndex((({id:t})=>t===e.rowId)),c=o.findIndex((({id:e})=>e===r.rowId)),u=a.findIndex((({id:t})=>t===e.columnId)),p=a.findIndex((({id:e})=>e===r.columnId));if(-1===s||-1===c||-1===u||-1===p)return l;const h=Math.min(s,c),C=Math.max(s,c),x=Math.min(u,p),f=Math.max(u,p);for(let e=h;e<=C;e++){const t=o[e];if(t)for(let e=x;e<=f;e++){const r=a[e];r&&l.add(d(t.id,r.id))}}return l}),[t,d]),u=a.useCallback(((t,r,n=!1)=>{if(!e)return;const i={columnId:r,rowId:t};if(n&&s.current){const e=c(s.current,i);l({activeCell:i,isSelecting:!1,selectedCells:e,selectionRange:{end:i,start:s.current}})}else o.current=!0,s.current=i,l({activeCell:i,isSelecting:!0,selectedCells:new Set([d(t,r)]),selectionRange:{end:i,start:i}})}),[e,d,c]),p=a.useCallback(((t,r)=>{e&&o.current&&l((e=>{if(!e.selectionRange)return e;const l={end:{columnId:r,rowId:t},start:e.selectionRange.start},n=c(l.start,l.end);return{...e,isSelecting:!0,selectedCells:n,selectionRange:l}}))}),[e,c]),h=a.useCallback((()=>{e&&(o.current=!1,l((e=>({...e,isSelecting:!1}))))}),[e]),C=a.useCallback((()=>{o.current=!1,s.current=null,l({activeCell:null,isSelecting:!1,selectedCells:new Set,selectionRange:null})}),[]),x=a.useCallback(((e,t)=>r.selectedCells.has(d(e,t))),[r.selectedCells,d]),f=a.useCallback((()=>{i(!0),setTimeout((()=>{i(!1)}),500)}),[]);return{clearCellSelection:C,endCellSelection:h,getCellSelectionData:a.useCallback((()=>{if(!r.selectionRange)return[];const{end:e,start:l}=r.selectionRange,{getRowModel:n,getVisibleFlatColumns:i}=t,o=n().rows,a=i(),s=o.findIndex((({id:e})=>e===l.rowId)),d=o.findIndex((({id:t})=>t===e.rowId)),c=a.findIndex((({id:e})=>e===l.columnId)),u=a.findIndex((({id:t})=>t===e.columnId));if(-1===s||-1===d||-1===c||-1===u)return[];const p=Math.min(s,d),h=Math.max(s,d),C=Math.min(c,u),x=Math.max(c,u),f=[];for(let e=p;e<=h;e++){const t=o[e];if(!t)continue;const r=[];for(let e=C;e<=x;e++){const l=a[e];if(!l)continue;const n=t.getVisibleCells().find((e=>e.column.id===l.id));if(!n){r.push("");continue}let i="";const o=n.getValue();i="object"==typeof o?JSON.stringify(o):String(o),r.push(i)}f.push(r)}return f}),[r.selectionRange,t]),isCellSelected:x,isCopyFlashing:n,selectionState:r,startCellSelection:u,triggerCopyFlash:f,updateCellSelection:p}})({enabled:n,table:W}),{clearCellSelection:te,endCellSelection:re,getCellSelectionData:le,selectionState:ne,triggerCopyFlash:ie}=ee;(({enabled:e,getCellSelectionData:t,hasSelection:r,triggerCopyFlash:l})=>{const n=a.useCallback((async e=>{if(e&&0!==e.length)try{const t=e.map((e=>e.map((e=>{const t=String(e??"");return t.includes("\t")||t.includes("\n")||t.includes('"')?`"${t.replace(/"/g,'""')}"`:t})).join("\t"))).join("\n");if(navigator.clipboard?.writeText)await navigator.clipboard.writeText(t),l();else{const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select(),document.execCommand("copy"),l(),document.body.removeChild(e)}}catch{}}),[l]),i=a.useCallback((l=>{if(e&&r&&(l.ctrlKey||l.metaKey)&&"c"===l.key){const e=t();e.length>0&&(l.preventDefault(),n(e))}}),[e,r,t,n]);a.useEffect((()=>{if(e)return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}}),[e,i])})({enabled:n,getCellSelectionData:le,hasSelection:ne.selectedCells.size>0,triggerCopyFlash:ie});const oe=a.useMemo((()=>{const e=[],t=r=>{e.push({groupId:r.id,row:r});const{getIsExpanded:l,getIsGrouped:n,subRows:i}=r;if(n()&&(l()&&i&&i.length>0&&i.forEach((e=>t(e))),(E||T)&&l())){const t=((e,t,r)=>{const{subRows:l}=e;if(r&&l){const e=function(e,t){const r={},l=e.flatMap((e=>{const{getIsGrouped:t,subRows:r}=e;return t()?r.flatMap((e=>e.getIsGrouped()?e.subRows:[e])):[e]})).map((e=>e.original));return t.forEach((e=>{const t=e.calculation(l),n="number"==typeof t&&e.formatter?e.formatter(t):t;r[e.field]={value:n}})),r}(l,r);return e}return t||{}})(r,E,T);Object.keys(t).length>0&&e.push({groupId:`${r.id}-summary`,isSummary:!0,row:r,summaryData:t})}};return G.filter((e=>0===e.depth)).forEach((e=>t(e))),e}),[G,E,T]),ae=de.useVirtualizer({count:oe.length,estimateSize:()=>c,getScrollElement:()=>D.current,overscan:20}),{columnWidths:se}=(({columns:e,headerRef:t,table:r})=>{const[l,n]=a.useState([]),{getColumn:i,getRowModel:o,getState:s}=r,d=s().columnSizing,c=s().columnOrder,u=o().rows.length,p=a.useCallback((()=>{if(t.current){const e=t.current.querySelectorAll("tr"),r=e[e.length-1];if(r){const e=r.querySelectorAll("th"),t=Array.from(e).map((e=>{const t=e.getAttribute("data-column-id"),r=t?i(t)?.columnDef:null;return e.getBoundingClientRect().width??r?.size??50}));n(t)}}else{const t=[],r=e=>{e.forEach((e=>{"columns"in e&&e.columns?r(e.columns):t.push(e)}))};r(e),n(t.map((e=>e.size??150)))}}),[t,r,e]);return a.useEffect((()=>{p(),window.addEventListener("resize",p);const e=new ResizeObserver((()=>{p()}));return t.current?.parentElement&&e.observe(t.current.parentElement),()=>{window.removeEventListener("resize",p),e.disconnect()}}),[d,c,e.length,u,p]),{columnWidths:l}})({columns:_,headerRef:B,table:W});a.useImperativeHandle(g,(()=>({clearCellSelection:te,getCellSelectionData:le,getSelectedRows:()=>K().rows.map((e=>e.original)),getTable:()=>W,setNotifyCallback:e=>{Y.current=e}})),[W,ee]),a.useEffect((()=>{Y.current&&Y.current()}),[W.getSelectedRowModel().rows]),a.useEffect((()=>{if(!v||!D.current)return;const e=D.current,t=e.scrollTop,r=e.scrollLeft,l=l=>{l.preventDefault(),l.stopPropagation(),e.scrollTop=t,e.scrollLeft=r},n=e=>{e.preventDefault(),e.stopPropagation()};return e.addEventListener("scroll",l,{passive:!1,capture:!0}),e.addEventListener("wheel",n,{passive:!1,capture:!0}),e.addEventListener("touchmove",l,{passive:!1,capture:!0}),()=>{e.removeEventListener("scroll",l,{capture:!0}),e.removeEventListener("wheel",n,{capture:!0}),e.removeEventListener("touchmove",l,{capture:!0})}}),[v]);const ce=a.useMemo((()=>$().some((e=>e.headers.some((e=>{const t=e.column.columnDef,r=!!t.filterVariant,l=!!t.facetedFilter;return r||l&&!(l&&r)}))))),[z]),ue=$(),pe=(e,t)=>0===t.length?e:e.filter((e=>{if("grouped_by"===e.column.id)return!0;const r=e.column.id,l=e.column.columnDef?.accessorKey;return!(t.includes(r)||l&&t.includes(l))})),{handleDragEnd:he,handleDragStart:Ce,handleRemoveGroup:xe,allDraggableIds:fe,customCollisionDetection:ge,hasGroupableColumns:me}=(({table:e,swipeableColumns:t,setActiveDragId:r,currentGrouping:l,handleColumnReorder:n,filterHeaders:i,isHeaderReorderable:o,propsColumns:s,defaultGrouping:d})=>{const{getColumn:c,getHeaderGroups:u,setGrouping:p}=e,h=u(),C=a.useCallback((e=>{const t=l.filter((t=>t!==e));p(t)}),[l,e]),x=a.useCallback(((e,t,r)=>{const l=r.indexOf(e),n=r.indexOf(t),i=tr.arrayMove(r,l,n);p(i)}),[e]),f=a.useCallback(((e,t)=>{const r=c(e);if(!r)return!1;const l=r.columnDef;if(d.length>0&&!0===l.enableGrouping)return!1;if(!0!==l.enableGrouping)return!1;const n=l.accessorKey;if(t.includes(e)||n&&t.includes(n))return!1;if(t.length>=4)return!1;const i=n??e;return p([...t,i]),!0}),[e,d]),g=a.useCallback((e=>{r(String(e.active.id))}),[]),m=a.useCallback((e=>{r(null);const{active:i,over:o}=e;if(!o)return;const a=String(i.id),s=String(o.id),d=l,c=d.includes(a);c&&d.includes(s)?x(a,s,d):c&&"grouping-panel"===s||("grouping-panel"!==s?t&&n(e):f(a,d))}),[l,t,n,x,f]),b=a.useMemo((()=>{const e=new Set;return h.forEach((r=>{i(r.headers,l).forEach((r=>{if(r.column.getIsPinned()||"grouped_by"===r.column.id)return;const l=!0===r.column.columnDef.enableGrouping,n=t&&o(r,!0);(l||n)&&e.add(r.column.id)}))})),l.forEach((t=>{e.add(t)})),Array.from(e)}),[h,l,i,t,o]),j=a.useCallback((e=>{const{active:t}=e,r=String(t.id),n=l,i=n.includes(r),o=er.rectIntersection(e);if(i){const e=o.filter((e=>n.includes(String(e.id))&&String(e.id)!==r));if(e.length>0)return e;const t=o.find((e=>"grouping-panel"===e.id));return t?[t]:o}const a=er.pointerWithin(e).find((e=>"grouping-panel"===e.id));return a?[a]:o}),[l]);return{handleDragEnd:m,handleDragStart:g,handleRemoveGroup:C,allDraggableIds:b,hasGroupableColumns:a.useMemo((()=>s.some((e=>!0===e.enableGrouping||!!d.length))),[s,d]),customCollisionDetection:j}})({table:W,swipeableColumns:p,setActiveDragId:M,currentGrouping:U,handleColumnReorder:X,filterHeaders:pe,isHeaderReorderable:J,propsColumns:I,defaultGrouping:t});return e.jsxs(e.Fragment,{children:[e.jsxs(ec,{value:{...ee,enabled:n},children:[e.jsx("style",{children:`\n @keyframes copyFlash {\n 0% {\n background-color: ${b[700]};\n }\n 50% {\n background-color: ${b[900]};\n }\n 100% {\n background-color: ${b[700]};\n }\n }\n `}),e.jsxs(er.DndContext,{sensors:Q,collisionDetection:ge,onDragStart:e=>{Ce(e),H(!1)},onDragEnd:e=>{if(S&&v){U.includes(v)||(t=v,P((e=>{const r=new Set(e);return r.add(t),r})))}var t;he(e),H(!1)},onDragMove:e=>{if(Z.current&&e.active){const t=Z.current.getBoundingClientRect(),r=e.activatorEvent.clientX+(e.delta?.x??0),l=e.activatorEvent.clientY+(e.delta?.y??0),n=r<t.left||r>t.right||l<t.top||l>t.bottom,i="grouping-panel"===e.over?.id;H(n&&!i)}},onDragOver:e=>{k(e.over?String(e.over.id):null)},onDragCancel:()=>{k(null),M(null),H(!1)},children:[e.jsx(tr.SortableContext,{items:fe,children:e.jsxs("div",{ref:Z,style:{display:"flex",flexDirection:"column",height:s||"calc(100vh - 100px)",position:"relative"},onMouseUp:re,children:[e.jsxs("div",{style:{display:"flex",gap:10,justifyContent:"center",alignItems:"center",backgroundColor:"white"},children:[me&&e.jsx(Pd,{groupedColumns:U,onRemoveGroup:xe,table:W,defaultGrouping:t}),h&&e.jsx("div",{style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"5px",border:"1px solid",width:"25px",height:"25px",marginRight:"10px"},children:e.jsx(rr.ReportColumns,{width:20,height:20,onClick:()=>{A(!0)}})})]}),e.jsx("div",{ref:D,style:{border:`1px solid ${m.palette.divider}`,flexGrow:1,height:"100%",overflow:v?"hidden":"auto",position:"relative",pointerEvents:v?"none":"auto",touchAction:v?"none":"auto"},children:e.jsxs("table",{style:{borderCollapse:"separate",borderSpacing:0,fontFamily:"arial, sans-serif",minHeight:"100%",tableLayout:"fixed",width:"100%"},children:[e.jsx("thead",{ref:B,style:{position:"sticky",top:0,zIndex:10},children:p?e.jsx(e.Fragment,{children:ue.map((r=>{const l={...r,headers:pe(r.headers,U)};return e.jsx(Yd,{defaultGrouping:t,enableSecondRowFilter:ce,headerGroup:l,isHeaderReorderable:J,loading:d,resetAllFilters:y,swipeableColumns:p},r.id)}))}):ue.map((r=>{const l=pe(r.headers,U),n=l.filter((e=>"left"===e.column.getIsPinned())),i=l.filter((e=>!e.column.getIsPinned())),o=l.filter((e=>"right"===e.column.getIsPinned())),s=e.jsxs("tr",{children:[n.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id))),i.map((r=>{const l=(e=>!0===e.column.columnDef.enableGrouping)(r);return l?e.jsx($d,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id):e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id)})),o.map((r=>e.jsx(Wd,{defaultGrouping:t,header:r,loading:d,resetAllFilters:y},r.id)))]},`${r.id}-row`);return e.jsxs(a.Fragment,{children:[s,ce&&!d&&e.jsx("tr",{children:l.map((t=>e.jsx(Ud,{header:t,resetAllFilters:y},t.id)))})]},r.id)}))}),e.jsx("tbody",{style:{filter:d?"blur(2px)":"none",height:`${ae.getTotalSize()}px`,position:"relative",transition:"filter 0.2s ease-in-out"},children:ae.getVirtualItems().map((t=>{const r=oe[t.index];if(!r)return null;const{groupId:l,isSummary:n,row:a,summaryData:s}=r;return e.jsx(lc,{columnWidths:se,row:a,index:t.index,virtualRow:t,rowHeight:c,isSummaryRow:n,summaryData:s,exportData:o,exportActions:i,grouping:U},`table-row-${t.index}-${n?"summary":"normal"}-${l}`)}))}),!d&&E&&e.jsx(Jd,{table:W,summary:E})]})}),u&&K().rows.length>0&&e.jsxs("div",{style:{fontSize:"14px"},children:["Selected Rows: ",K().rows.length]}),e.jsx(Rd,{table:W,clearAllFilters:()=>{W.setColumnFilters([]),W.resetColumnFilters(),$().flatMap((e=>e.headers)).forEach((e=>e.column.setFilterValue(void 0))),w(!0),setTimeout((()=>{w(!1)}),100)}}),d&&e.jsx(yd,{}),!G.length&&!d&&e.jsx(Dd,{message:l})]})}),e.jsx(Ed,{activeDragId:v,activeDragOver:L,table:W,defaultGrouping:t,isOutsideGrid:S,currentGrouping:U})]})]}),h&&e.jsx(Ad,{open:V,onClose:()=>{A(!1)},columns:O,grouping:U,onSave:e=>{P((()=>{const t=new Set;return Object.entries(e).forEach((([e,r])=>{r.hide||t.add(e)})),t})),x?.(e),A(!1)}})]})}));function ac(e){return"string"==typeof e.columnDef.header?e.columnDef.header:String(e.id)}function sc(e){return Object.fromEntries(e.map((e=>[e,""])))}function dc(e){return Object.fromEntries(Array.from(e).map((e=>[e,0])))}oc.displayName="SmartGrid";const cc=e=>{if(!e)return null;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||e instanceof Date?e:"object"==typeof e&&null!=e&&Object.keys(e).length>0?String(e):""};const uc=e=>{const t=Ri.exec(e);if(!t)return"FF000000";const r=Number(t[1]),l=Number(t[2])/100,n=Number(t[3])/100,i=Number(t[4])??1,o=ki(r,l,n);return`${Math.round(255*i).toString(16).padStart(2,"0").toUpperCase()}${o[0].toString(16).padStart(2,"0").toUpperCase()}${o[1].toString(16).padStart(2,"0").toUpperCase()}${o[2].toString(16).padStart(2,"0").toUpperCase()}`},pc=["select","srNo","action","actionBy"],hc=(e,t,r,l)=>{const n=sc(t),{id:i,totals:o}=e,a=r[i];return a&&(n[a]="Total"),l.forEach((e=>{const t=r[e];t&&(n[t]=String(o[e]??0))})),n},Cc=(e,t)=>{const{groupStack:r,numericColumns:l,builtRows:n,headers:i,colIdToHeader:o}=e,a=r[t];a&&l.size&&n.push({data:hc(a,i,o,l),type:"total"})},xc=(e,t)=>{const{headers:r,filteredVisibleCols:l,lastSeenGrouped:n}=t,{getValue:i,subRows:o,groupingColumnId:a}=e,s=sc(r);if(!a)return s;const d=l.find((({id:e})=>e===a));if(!d)return s;const c=ac(d),u=cc(i(a)),p=o?.length;return s[c]=p&&p>0?`${String(u)} (${p})`:String(u),n[c]=u,s},fc=(e,t)=>{const{depth:r,groupingColumnId:l,subRows:n}=e,{groupStack:i,numericColumns:o,builtRows:a}=t,s="number"==typeof r&&r>=0?r:0;for(;i.length>s;)Cc(t,i.length-1),i.pop();((e,t,r)=>{for(;e.length<t;)e.push({count:0,id:"",totals:dc(r)})})(i,s+1,o),i[s]={count:n?.length??0,id:l??"",totals:dc(o)},a.push({data:xc(e,t),type:"group"})},gc=(e,t)=>{const{groupStack:r}=t;for(e.forEach((e=>{e.getIsGrouped?.()?fc(e,t):((e,t)=>{const{filteredVisibleCols:r,hasGrouping:l,groupingColumnNames:n,lastSeenGrouped:i,numericColumns:o,groupStack:a,builtRows:s}=t,{getValue:d}=e,c={};r.forEach((e=>{const{id:t}=e,r=ac(e),s=cc(d(t));let u=s;if(l&&n.includes(t)&&(u=i[r]===s?"":s,i[r]=s),c[r]=u,o.has(t)){const e="number"==typeof s?s:0;a.forEach((({totals:r})=>{r[t]=(r[t]??0)+e}))}})),s.push({data:c,type:"data"})})(e,t)}));r.length>0;)Cc(t,r.length-1),r.pop()},mc=async(e,t,r,l,n,i)=>{const o=new Qn.default.Workbook,a=o.addWorksheet("Sheet1"),s=new Set(r.map((e=>l[e])).filter(Boolean));a.addRow(t).eachCell((e=>i(e,"header"))),e.forEach((e=>{const r=t.map((t=>{return r=e.data[t]??"",l=e.type,n=s.has(t),"data"!==l&&""===r?"":null===r||null==r||""===r?n?"":"-":"boolean"==typeof r?r?"Yes":"No":r;var r,l,n}));a.addRow(r).eachCell((t=>i(t,"total"===e.type?"total":void 0)))})),a.columns.forEach((e=>{let t=12;e.eachCell?.({includeEmpty:!0},(({value:e})=>{var r;t=Math.max(t,(r=e,r instanceof Date?r.toLocaleDateString():"object"==typeof r&&null!=r?"text"in r&&"string"==typeof r.text?r.text:String(r):String(r??"")).length+2)})),e.width=Math.min(t,60)}));const d=await o.xlsx.writeBuffer();h.saveAs(new Blob([d]),`${n}.xlsx`)};async function bc(e,t,r){try{const l=e.current?.getTable(),n=[...pc,...t.excludedColumns??[]],i=l?.getVisibleLeafColumns(),{colIdToHeader:o,filteredVisibleCols:a,headers:s}=((e,t)=>{const r=e.filter((({id:e})=>!t.includes(e))),l=[],n={};return r.forEach((e=>{const t=ac(e);l.push(t),n[e.id]=t})),{colIdToHeader:n,filteredVisibleCols:r,headers:l}})(i,n),d=l?.getRowModel().rows,c=l?.getState().grouping??[],u={builtRows:[],colIdToHeader:o,filteredVisibleCols:a,groupStack:[],groupingColumnNames:c,hasGrouping:c.length>0,headers:s,lastSeenGrouped:{},numericColumns:new Set(t.numericColumns??[])};gc(d,u),await mc(u.builtRows,s,c,o,t.fileName,r)}catch(e){Ea.error({title:`Failed to export to Excel: ${e}`})}}const jc=({wrapper:t,title:r,position:l})=>{const n=j.useTheme(),{iron:i}=n.palette.app.color,o=t.getBoundingClientRect(),a={position:"absolute",zIndex:999999,background:i[200],color:i[600],padding:"4px 8px",borderRadius:4,fontSize:12,pointerEvents:"none",whiteSpace:"nowrap",transition:"opacity 0.2s ease, transform 0.2s ease",opacity:1},s={position:"absolute",width:0,height:0,borderStyle:"solid"};switch(l){case"top":a.top=o.top-28,a.left=o.left+o.width/2,a.transform="translateX(-50%)",Object.assign(s,{borderWidth:"6px 6px 0 6px",borderColor:`${i[200]} transparent transparent transparent`,bottom:-6,left:"50%",transform:"translateX(-50%)"});break;case"bottom":a.top=o.bottom+4,a.left=o.left+o.width/2,a.transform="translateX(-50%)",Object.assign(s,{borderWidth:"0 6px 6px 6px",borderColor:`transparent transparent ${i[200]} transparent`,top:-6,left:"50%",transform:"translateX(-50%)"});break;case"left":a.top=o.top+o.height/2,a.left=o.left-8,a.transform="translateY(-50%)",Object.assign(s,{borderWidth:"6px 0 6px 6px",borderColor:`transparent transparent transparent ${i[200]}`,right:-6,top:"50%",transform:"translateY(-50%)"});break;case"right":a.top=o.top+o.height/2,a.left=o.right+8,a.transform="translateY(-50%)",Object.assign(s,{borderWidth:"6px 6px 6px 0",borderColor:`transparent ${i[200]} transparent transparent`,left:-6,top:"50%",transform:"translateY(-50%)"})}return e.jsxs("div",{style:a,children:[r,e.jsx("div",{style:s})]})},yc=({children:t,title:r,position:l="top",delay:n=50})=>{const[i,o]=a.useState(!1),s=a.useRef(null),d=a.useRef(null);a.useEffect((()=>()=>{d.current&&clearTimeout(d.current)}),[]);const c=i&&r&&s.current?dr.createPortal(e.jsx(jc,{wrapper:s.current,title:r,position:l}),document.body):null;return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:s,style:{display:"inline-block",width:"100%"},onMouseEnter:()=>{d.current&&clearTimeout(d.current),d.current=setTimeout((()=>o(!0)),n)},onMouseLeave:()=>{d.current&&clearTimeout(d.current),o(!1)},children:t}),c]})},wc=a.forwardRef((({errorMessage:t,options:r,...l},n)=>{const i=j.useTheme(),{butterflyBlue:o,lipstickRed:s,iron:d}=i.palette.app.color,[c,u]=a.useState(!1);return e.jsx(yc,{title:t??"",position:"top",delay:50,children:e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:e.jsx("div",{style:{display:"flex",alignItems:"center",border:`2px solid ${t&&!c?s[900]:c?o[900]:d[800]}`,borderRadius:"4px",padding:"4px 8px",background:"white",minHeight:"20px"},children:e.jsx("select",{ref:n,...l,style:{width:"100%",border:"none",background:"transparent",padding:"0",fontSize:"13px",outline:"none",cursor:"pointer"},onClick:e=>e.stopPropagation(),onFocus:e=>{e.stopPropagation(),u(!0)},onBlur:e=>{e.stopPropagation(),u(!1)},children:0===r.length?e.jsx("option",{value:"",disabled:!0,children:"No Options"}):e.jsxs(e.Fragment,{children:[e.jsx("option",{value:"",children:"Select Option"}),r.map((t=>e.jsx("option",{value:String(t.value),children:t.label},t.value)))]})})})})})}));wc.displayName="SmartSelectFieldComponent";const vc=a.memo(wc,((e,t)=>e.name===t.name&&e.value===t.value&&e.disabled===t.disabled&&e.options===t.options&&e.errorMessage===t.errorMessage));vc.displayName="SmartSelectField";const Mc=a.forwardRef((({errorMessage:t,...r},l)=>{const n=j.useTheme(),{butterflyBlue:i,lipstickRed:o,iron:s}=n.palette.app.color,[d,c]=a.useState(!1);return e.jsx(yc,{title:t??"",position:"top",delay:50,children:e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%"},children:e.jsx("div",{style:{display:"flex",alignItems:"center",border:`2px solid ${t&&!d?o[900]:d?i[900]:s[800]}`,borderRadius:"4px",padding:"4px 8px",background:"white",minHeight:"20px"},children:e.jsx("input",{ref:l,...r,style:{width:"100%",border:"none",background:"transparent",padding:"0",fontSize:"13px",outline:"none"},onClick:e=>e.stopPropagation(),onFocus:e=>{e.stopPropagation(),c(!0)},onBlur:e=>{e.stopPropagation(),c(!1)}})})})})}));Mc.displayName="SmartTextFieldComponent";const Lc=a.memo(Mc,((e,t)=>e.name===t.name&&e.value===t.value&&e.disabled===t.disabled&&e.type===t.type&&e.errorMessage===t.errorMessage));Lc.displayName="SmartTextField";const kc=u.styled(li.default)((({theme:e})=>({[`&.${hr.stepConnectorClasses.alternativeLabel}`]:{top:10,left:"calc(-50% + 16px)",right:"calc(50% + 16px)"},[`&.${hr.stepConnectorClasses.active}`]:{[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#784af4"}},[`&.${hr.stepConnectorClasses.completed}`]:{[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#784af4"}},[`& .${hr.stepConnectorClasses.line}`]:{borderColor:"#eaeaf0",borderTopWidth:3,borderRadius:1,...e.applyStyles("dark",{borderColor:e.palette.grey[800]})}}))),Sc=u.styled("div")((({theme:e})=>({color:"#eaeaf0",display:"flex",height:22,alignItems:"center","& .QontoStepIcon-completedIcon":{color:"#784af4",zIndex:1,fontSize:18},"& .QontoStepIcon-circle":{width:8,height:8,borderRadius:"50%",backgroundColor:"currentColor"},...e.applyStyles("dark",{color:e.palette.grey[700]}),variants:[{props:({ownerState:e})=>e.active,style:{color:"#784af4"}}]})));function Hc(t){const{active:r,completed:l,className:n}=t;return e.jsx(Sc,{ownerState:{active:r},className:n,children:l?e.jsx(Dl.default,{className:"QontoStepIcon-completedIcon"}):e.jsx("div",{className:"QontoStepIcon-circle"})})}const Zc=()=>e.jsx(Br.default,{flex:1,children:e.jsx(cl.default,{height:"30px",sx:{maxWidth:"200px",transform:"scale(1)"}})});function Vc({id:t,label:r,value:l,menu:n,trimLabel:i=!0,activeTab:o,index:a,onArrowClick:s,menuAnchor:d,onAction:c,...p}){const h=u.useTheme(),{butterflyBlue:C}=h.palette.app.color,x=l===o.value,f=r.toLowerCase().replaceAll(/[ _]/g,"-"),g=di.default(r,{length:i?15:r.length,omission:i?"...":""}),m=x?r:g,b={title:"Edit",onClick:()=>c&&c("editTemplate",o)},j={title:"Delete",onClick:()=>c&&c("deleteTemplate",o)},y={key:t,iconPosition:"end","data-cy":f,"data-ptag":f,value:l??a,label:e.jsxs(Zr.default,{direction:"row",gap:"6px",alignItems:"center",children:[e.jsx(_r.default,{variant:"body1",sx:{whiteSpace:"nowrap"},children:m}),x&&a>0&&e.jsx(Do,{items:[b,j]})]})};return r.length>15&&!x&&(y.title=r),l===o.value&&n?.length&&(y.icon=e.jsx(Nr.default,{onClick:s,id:`tabDropDown-${l}`,"aria-controls":null!==d?`dropDownMenu-${l}`:void 0,"aria-expanded":null!==d?"true":void 0,"aria-haspopup":"true","data-cy":`${f}-arrowicon`,"data-ptag":`${f}-arrowicon`})),e.jsx(ni.default,{sx:{borderBottom:"2px solid",borderBottomColor:x?C[900]:"white",overflow:"visible",[`&.${si.default.root}`]:{minHeight:"40px",height:"40px",paddingLeft:x&&a>0?"15px":"10px"},"&:hover":{backgroundColor:C[500]}},...y,...p})}function Ac({tabs:t,activeTab:r,menuAnchor:l,onClose:n,onMenuItemClick:i}){return e.jsx(e.Fragment,{children:t.filter((e=>!!e.menu)).map((t=>e.jsx(Sr.default,{anchorEl:l,open:t.value===r.value&&!!l,onClose:n,id:`dropDownMenu-${t.value}`,MenuListProps:{"aria-labelledby":`tabDropDown-${t.value}`},children:t.menu?.map((t=>e.jsx(Hr.default,{onClick:()=>{i(),t.onClick(r)},disabled:t.disabled,children:t.label},t.label)))},t.value)))})}const Dc=({totalDots:t,intervals:r,startTimeline:l})=>e.jsx(Br.default,{sx:{position:"relative",width:"100%",height:4},children:r?.map(((r,n)=>{const i=bi(r.in_time),o=bi(r.out_time),a=p.DateTime.fromISO(r.in_time),s=p.DateTime.fromISO(r.out_time).diff(a,["hours","minutes"]).toFormat("hh:mm");let d=Bc(i),c=Bc(o);const u=!isNaN(d),h=!isNaN(c);u&&d<l&&(d+=t),h&&(c<l&&(c+=t),u&&c<d&&(c+=t));let C="",x="";u&&(C=`In time : ${i} ${h?"":" / Missing punch"}`),h&&(x=`Out time : ${o} ${u?"":"/ Missing punch"}`);const f=r?.name??`In/Out: ${bi(r.in_time)} - ${bi(r.out_time)} (${s})`,g=r?.color??Ci(r.status_type),m=u?(d-l)/t*100:0,b=h?(c-l)/t*100:0,j=u&&h?Math.max(b-m,0):0;return e.jsxs(Zr.default,{direction:"row",children:[u&&e.jsx(Pr.default,{arrow:!0,title:C,placement:"top",children:e.jsx(Br.default,{sx:{height:8,width:8,position:"absolute",left:`${m}%`,boxShadow:"none",backgroundColor:g,borderRadius:"50%",top:"15px",zIndex:3,"&:focus, &:hover, &:active":{boxShadow:"none"}}})}),u&&h&&e.jsx(Pr.default,{arrow:!0,title:f,placement:"top",children:e.jsx(Br.default,{sx:{position:"absolute",left:`${m}%`,width:`${j}%`,height:3.5,top:"17.5px",backgroundColor:g,zIndex:2}})}),h&&e.jsx(Pr.default,{arrow:!0,title:x,placement:"top",children:e.jsx(Br.default,{sx:{height:8,width:8,position:"absolute",left:`${b}%`,boxShadow:"none",backgroundColor:g,borderRadius:"50%",top:"15px",zIndex:3,"&:focus, &:hover, &:active":{boxShadow:"none"}}})})]},n)}))}),Bc=e=>{const t=p.DateTime.fromFormat(e,"HH:mm");return t.hour+t.minute/60},Ic=u.styled(Jr.default,{shouldForwardProp:e=>"$isParent"!==e&&"$borderColor"!==e&&"$backgroundColor"!==e&&"$baseColor"!==e})((({theme:e,isParent:t,borderColor:r,backgroundColor:l,baseColor:n})=>({width:"auto",minWidth:0,padding:e.spacing(1),borderRadius:12,border:`1px solid ${r}`,boxShadow:t?`0 6px 18px ${u.alpha(n,.2)}`:"none",backgroundColor:l,display:"flex",alignItems:"center",gap:e.spacing(1),minHeight:40,overflow:"hidden",flex:"1 1 auto",[e.breakpoints.down("sm")]:{flex:"1 1 100%"}}))),Rc=({node:t,innerRef:r,isParent:l=!1,themeColor:n})=>{const{id:i,title:o,subtitle:a,value:s}=t,d=u.useTheme(),{butterflyBlue:c,slate:p}=d.palette.app.color,h=n??c[900],C=l?h:u.alpha(h,.7),x=l?u.alpha(h,.1):"none",f=p[900];return e.jsxs(Ic,{elevation:l?3:0,ref:r,isParent:l,borderColor:C,backgroundColor:x,baseColor:h,children:[e.jsxs(Br.default,{children:[e.jsx(_r.default,{variant:"subtitle2",noWrap:!0,children:o}),e.jsx(_r.default,{variant:"subtitle2",color:f,noWrap:!0,children:a})]}),e.jsx(Zo,{padding:{paddingLeft:1},children:e.jsx(Br.default,{sx:{ml:"auto",textAlign:"right"},children:e.jsx(_r.default,{noWrap:!0,variant:"body2",children:s})})})]},i)},Tc=({node:t,setRef:r,themeColor:l,itemWidth:n})=>{const{id:i,children:o}=t,a=!!o?.length;return e.jsxs(Br.default,{sx:{display:"flex",gap:3,alignItems:"flex-start",flex:`1 0 ${n}`},children:[e.jsx(Rc,{node:t,isParent:a,innerRef:e=>r(i,e),themeColor:l}),a&&e.jsx(Zr.default,{spacing:1,sx:{mt:.5},children:el.default(o,(t=>e.jsx(Tc,{node:t,setRef:r,themeColor:l,itemWidth:n},t.id)))})]},i)},Ec=({node:t,setRef:r,themeColor:l})=>{const{id:n,children:i}=t,o=!!i?.length;return e.jsxs(Zr.default,{gap:1,children:[e.jsx(Rc,{node:t,isParent:o,innerRef:e=>r(n,e),themeColor:l}),o&&e.jsx(Zo,{padding:{paddingLeft:3,paddingTop:1},children:e.jsx(Zr.default,{spacing:1,children:el.default(i,(t=>e.jsx(Ec,{node:t,setRef:r,themeColor:l},t.id)))})})]},n)};u.styled(Sr.default)((({theme:e})=>({[`& .${hi.default.paper}`]:{boxShadow:e.palette.app.paperBoxShadow,minWidth:"29rem",width:"auto",margin:"0 0.5rem",borderRadius:"8px",overflow:"visible","& .MuiList-root":{padding:"0",overflow:"visible"}}})));const Fc=u.styled(kr.default,{shouldForwardProp:e=>"isOpened"!==e})((({theme:e})=>({paddingInline:"0.3rem",paddingBlock:"0.2rem",borderRadius:"8px",color:e.palette.app.color.black[900]})));exports.ActionButton=({loading:t=!1,children:r,...l})=>{const n=u.useTheme(),{lightBlue:i}=n.palette.app.color;return e.jsx(Lr.default,{...l,children:e.jsxs(Zr.default,{gap:"10px",flexDirection:"row",alignItems:"center",children:[t?e.jsx(Wr.default,{size:28}):r,e.jsx($r.default,{orientation:"vertical",sx:{borderColor:i[100],height:"22px"}}),e.jsx(zr.default,{fontSize:"small"})]})})},exports.ActionButtons=({buttons:t,justifyContent:r="end",sx:l,buttonSx:n,shouldOpenMenuOnShortcut:i=!1,disable:o=!1,shortcutKey:s="a"})=>{const[d,c]=a.useState(null),[u,p]=a.useState(null),h=a.useRef({}),C=a.useId(),x=(e,t)=>{const r=e instanceof HTMLElement?e:e.currentTarget;c(r),p(t)},f=()=>{c(null),p(null)},g=t.some((e=>{const t=e.menuItems?.some((e=>!e.hidden));return!!e.menuItems?.length&&!e.hidden&&!e.disabled&&t})),m=i&&g&&!o;return Ai({key:m?s:`disabled-${C}`,modifierKeys:["ctrl","shift"],onTrigger:()=>{if(!m)return!1;const e=t.find((e=>{const t=e.menuItems?.some((e=>!e.hidden));return!!e.menuItems?.length&&!e.hidden&&!e.disabled&&t}));if(e){const t=h.current[e.key];if(t&&document.contains(t))return x(t,e.key),!0}return!1}}),e.jsx(Zr.default,{direction:"row",sx:l,gap:"1.6rem",justifyContent:r,children:t.filter((e=>!e.hidden)).map((({menuItems:t,key:r,menuPlacement:l,...i})=>{const s=t?.filter((e=>!e.hidden)),c=u===r,p=s&&s.length>0?e=>x(e,r):i.onClick??Vr.default,C={...i,onClick:p};return e.jsxs(a.Fragment,{children:[i.label?e.jsx(Lr.default,{sx:n,...C,disabled:o||i.disabled,ref:e=>{h.current[r]=e},children:i.label},r):e.jsx(kr.default,{ref:e=>{h.current[r]=e},...C,children:i.icon},r),c&&s&&e.jsx(Sr.default,{anchorEl:d,open:Boolean(d&&c),onClose:f,anchorOrigin:{vertical:"bottom",horizontal:"left"===l?"left":"right"},sx:{top:"3px"},children:s.map((t=>t.subMenuItems&&t.subMenuItems.length>0?t.subMenuItems.map((t=>e.jsxs(Hr.default,{onClick:()=>{f(),t.onClick?.()},children:[t.icon,t.label]},t.key))):e.jsxs(Hr.default,{onClick:()=>{f(),t.onClick?.()},children:[t.icon,t.label]},t.key)))})]},r)}))})},exports.ActionButtonsWrapper=function({children:t,disabled:r}){const l=a.useRef(null);return a.useEffect((()=>{const e=l.current;if(!e||r)return;const t=t=>{if("Enter"!==t.key||t.shiftKey||t.ctrlKey||t.metaKey||t.altKey||r)return;if(document.querySelector('.MuiDialog-root, [role="dialog"], .MuiPopover-root, .MuiModal-root'))return;const l=document.activeElement,n=l?.closest(".ag-cell");if(!n||!e||!n.contains(e))return;if(n.classList.contains("ag-cell-inline-editing"))return;if(!l)return;if(!(l===n||n.contains(l)))return;const i=e.querySelector("button:focus, [role='button']:focus, [tabindex='0']:focus");if(i)return t.preventDefault(),t.stopPropagation(),void i.click();const o=e.querySelector("button, [role='button'], [tabindex='0']");o&&(t.preventDefault(),t.stopPropagation(),o.focus())},n=t=>{const r=t.target;if(!e?.contains(r))return;const l=Array.from(e.querySelectorAll("button, [role='button'], [tabindex='0']")),n=l.indexOf(r);((e,t)=>{"Enter"!==e.key&&" "!==e.key||!("BUTTON"===t.tagName||t.hasAttribute("role")&&"button"===t.getAttribute("role"))||(e.preventDefault(),e.stopPropagation(),t.click())})(t,r),"Tab"!==t.key||t.shiftKey||-1===n||((t,r,l,n)=>{if(n===l.length-1){t.preventDefault(),t.stopPropagation(),r.blur();const l=e.closest(".ag-cell");return void(l&&l.focus())}const i=l[n+1];i&&(t.preventDefault(),t.stopPropagation(),i.focus())})(t,r,l,n),"Tab"===t.key&&t.shiftKey&&-1!==n&&((t,r,l,n)=>{if(0===n){t.preventDefault(),t.stopPropagation(),r.blur();const l=e.closest(".ag-cell");return void(l&&l.focus())}const i=l[n-1];i&&(t.preventDefault(),t.stopPropagation(),i.focus())})(t,r,l,n)},i=e.closest(".ag-cell");return i?(i.addEventListener("keydown",t,!0),e.addEventListener("keydown",n),()=>{i.removeEventListener("keydown",t,!0),e.removeEventListener("keydown",n)}):void 0}),[r]),e.jsx("div",{ref:l,style:{display:"contents"},"data-action-buttons-wrapper":"true",children:t})},exports.ActionCell=Do,exports.AddIconAction=vo,exports.AgGrid=_o,exports.AppBar=({drawerOpen:t,children:r,...l})=>e.jsx(Qo,{position:"fixed",open:t,...l,children:e.jsx(Zr.default,{direction:"row",alignItems:"center",minHeight:{xs:"58px",lg:"64px"},children:e.jsx(Zo,{padding:{padding:{lg:"0 20px",xs:"0px 5px"}},children:r})})}),exports.AppLogoMedium=bo,exports.AppLogoSmall=jo,exports.ArrowUp=Ui,exports.ArrowUpRight=Gi,exports.AttendanceCard=({variant:t,label:r,value:l,isLoading:n=!1})=>e.jsx(Br.default,{sx:{height:"93px",borderRadius:"8px",border:`1px solid ${Ci(t)}`,backgroundColor:`${Ci(t,"light")}`,position:"relative"},children:e.jsxs(Zo,{padding:{padding:"15px"},children:[e.jsxs(Zr.default,{gap:"15px",children:[e.jsx(_r.default,{noWrap:!0,children:r}),n?e.jsx(cl.default,{width:80,height:25,sx:{transform:"scale(1)",borderRadius:"4px"}}):e.jsx(_r.default,{noWrap:!0,variant:"h6",children:l})]}),e.jsx(Br.default,{sx:{position:"absolute",top:"0px",right:"5px"},children:e.jsx(go,{variant:t})})]})}),exports.AttendanceManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80622)"}),e.jsxs("g",{clipPath:"url(#clip0_42245_80622)",children:[e.jsx("path",{d:"M5 17.6636C5.00106 18.5473 5.35259 19.3944 5.97748 20.0193C6.60237 20.6441 7.4496 20.9956 8.33333 20.9967H17.6667C18.5504 20.9956 19.3976 20.6441 20.0225 20.0193C20.6474 19.3944 20.9989 18.5473 21 17.6636V11.6641H5V17.6636ZM16.3333 14.6638C16.5311 14.6638 16.7244 14.7225 16.8889 14.8323C17.0533 14.9422 17.1815 15.0984 17.2572 15.2811C17.3329 15.4638 17.3527 15.6649 17.3141 15.8588C17.2755 16.0528 17.1803 16.231 17.0404 16.3708C16.9006 16.5106 16.7224 16.6059 16.5284 16.6445C16.3344 16.683 16.1334 16.6632 15.9506 16.5876C15.7679 16.5119 15.6117 16.3837 15.5018 16.2193C15.392 16.0548 15.3333 15.8615 15.3333 15.6638C15.3333 15.3986 15.4387 15.1442 15.6262 14.9567C15.8137 14.7692 16.0681 14.6638 16.3333 14.6638ZM13 14.6638C13.1978 14.6638 13.3911 14.7225 13.5556 14.8323C13.72 14.9422 13.8482 15.0984 13.9239 15.2811C13.9996 15.4638 14.0194 15.6649 13.9808 15.8588C13.9422 16.0528 13.8469 16.231 13.7071 16.3708C13.5672 16.5106 13.3891 16.6059 13.1951 16.6445C13.0011 16.683 12.8 16.6632 12.6173 16.5876C12.4346 16.5119 12.2784 16.3837 12.1685 16.2193C12.0586 16.0548 12 15.8615 12 15.6638C12 15.3986 12.1053 15.1442 12.2929 14.9567C12.4804 14.7692 12.7348 14.6638 13 14.6638ZM9.66666 14.6638C9.86444 14.6638 10.0578 14.7225 10.2222 14.8323C10.3867 14.9422 10.5149 15.0984 10.5905 15.2811C10.6662 15.4638 10.686 15.6649 10.6474 15.8588C10.6089 16.0528 10.5136 16.231 10.3738 16.3708C10.2339 16.5106 10.0557 16.6059 9.86175 16.6445C9.66777 16.683 9.4667 16.6632 9.28398 16.5876C9.10125 16.5119 8.94507 16.3837 8.83519 16.2193C8.72531 16.0548 8.66666 15.8615 8.66666 15.6638C8.66666 15.3986 8.77202 15.1442 8.95955 14.9567C9.14709 14.7692 9.40144 14.6638 9.66666 14.6638Z",fill:"white"}),e.jsx("path",{d:"M17.6667 6.33323H17V5.66661C17 5.48982 16.9297 5.32026 16.8047 5.19525C16.6797 5.07023 16.5101 5 16.3333 5C16.1565 5 15.9869 5.07023 15.8619 5.19525C15.7369 5.32026 15.6667 5.48982 15.6667 5.66661V6.33323H10.3333V5.66661C10.3333 5.48982 10.2631 5.32026 10.1381 5.19525C10.013 5.07023 9.84347 5 9.66666 5C9.48985 5 9.32028 5.07023 9.19526 5.19525C9.07023 5.32026 8.99999 5.48982 8.99999 5.66661V6.33323H8.33333C7.4496 6.33429 6.60237 6.68579 5.97748 7.31063C5.35259 7.93548 5.00106 8.78264 5 9.6663L5 10.3329H21V9.6663C20.9989 8.78264 20.6474 7.93548 20.0225 7.31063C19.3976 6.68579 18.5504 6.33429 17.6667 6.33323Z",fill:"white"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80622",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80622",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.AttendanceReportDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78172)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78172)",children:e.jsx("path",{d:"M5.33594 10.3333V9.66667C5.33594 7.82867 6.83127 6.33333 8.66927 6.33333H9.33594V5.66667C9.33594 5.29867 9.63394 5 10.0026 5C10.3713 5 10.6693 5.29867 10.6693 5.66667V6.33333H16.0026V5.66667C16.0026 5.29867 16.3006 5 16.6693 5C17.0379 5 17.3359 5.29867 17.3359 5.66667V6.33333H18.0026C19.8406 6.33333 21.3359 7.82867 21.3359 9.66667V10.3333H5.33594ZM21.3359 11.6667V17.6667C21.3359 19.5047 19.8406 21 18.0026 21H8.66927C6.83127 21 5.33594 19.5047 5.33594 17.6667V11.6667H21.3359ZM13.3359 17.6667C13.3359 17.2987 13.0379 17 12.6693 17H9.33594C8.96727 17 8.66927 17.2987 8.66927 17.6667C8.66927 18.0347 8.96727 18.3333 9.33594 18.3333H12.6693C13.0379 18.3333 13.3359 18.0347 13.3359 17.6667ZM18.0026 15C18.0026 14.632 17.7046 14.3333 17.3359 14.3333H9.33594C8.96727 14.3333 8.66927 14.632 8.66927 15C8.66927 15.368 8.96727 15.6667 9.33594 15.6667H17.3359C17.7046 15.6667 18.0026 15.368 18.0026 15Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78172",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78172",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5.33594 5)"})})]})]}),exports.AttendanceStatus=({variant:t,leaveColor:r,toolTipLabel:l})=>{const n=Ci(t);return e.jsxs(Zr.default,{sx:{position:"relative",width:"100%",alignItems:"center"},children:[e.jsx(Br.default,{sx:{position:"absolute",backgroundColor:"#ffffff",border:`1px solid ${r??n}`,borderRadius:"7px",padding:"0px 5px",zIndex:1,color:`${r??n}`,height:"28px",display:"flex",alignItems:"center",cursor:"pointer"},children:e.jsx(wo,{toolTipLabel:l,children:xi(t)})}),e.jsx(ci.default,{valueLabelDisplay:"off",value:[0,2],max:2,step:1,sx:{"& .MuiSlider-track":{background:`${r??n}`,height:"2px",border:"none"},"& .MuiSlider-thumb":{backgroundColor:`${r??n}`,height:8,width:8},"& .MuiSlider-rail":{backgroundColor:"transparent"}}})]})},exports.Autocomplete=Ua,exports.Badge=({children:t,sx:r,color:l="error",...n})=>e.jsx(hl.default,{color:l,sx:{padding:"0px",zIndex:1,"& .MuiBadge-badge":{right:5},...r},...n,children:t}),exports.BarChart=({height:t=300,width:r,skipAnimation:l=!1,loading:n=!1,tooltip:i="item",series:o,layout:a="vertical",...s})=>n?e.jsx(cl.default,{height:t,width:r,variant:"rectangular"}):e.jsx(ka,{height:t,width:r,series:o,layout:a,skipAnimation:l,slotProps:{tooltip:{trigger:i}},...s}),exports.BookMarkSvg=t=>e.jsxs("svg",{width:37,height:37,viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:.5,y:.5,width:37,height:37,rx:5.5,fill:"white"}),e.jsx("rect",{x:.5,y:.5,width:35,height:35,rx:5.5,stroke:"#bebfbf"}),e.jsx("path",{d:"M26.5 13.5833H20.6666M23.5833 10.6666V16.5",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M11.5 15.6666H17.75",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.75 11.5H13.1667C12.2462 11.5 11.5 12.2462 11.5 13.1667V27.3333L17.75 24L24 27.3333V19.4167",stroke:"black",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.BottomDialog=function({children:t,title:r,open:l=!1,onClose:n,...i}){return e.jsx(ws,{fullScreen:!0,title:r,...i,open:l,onClose:n,PaperProps:{sx:{animation:l?"slideUp 0.2s cubic-bezier(0.25, 0.8, 0.5, 1)":""}},children:e.jsx(vs,{direction:"row",overflow:"hidden",children:e.jsx(Zo,{padding:{padding:"0.3rem"},children:t})})})},exports.Breadcrumbs=({items:t})=>{const r=u.useTheme(),{butterflyBlue:l}=r.palette.app.color;return e.jsx(ea,{children:e.jsx(Cl.default,{children:t.map((t=>{const{icon:r,text:n,onClick:i}=t;return i?e.jsx(ra,{children:e.jsxs(Br.default,{onClick:i,children:[r&&e.jsx(kr.default,{sx:{color:l[900]},children:r}),n&&e.jsx(_r.default,{children:n})]})},X.v4()):e.jsx(ta,{children:e.jsxs(Br.default,{children:[r&&e.jsx(kr.default,{sx:{color:l[900]},children:r}),n&&e.jsx(_r.default,{children:n})]})},X.v4())}))})})},exports.BriefcaseSvg=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14.6667 4.66667H13.9333C13.7786 3.91428 13.3692 3.23823 12.7742 2.75248C12.1791 2.26673 11.4348 2.00097 10.6667 2L9.33333 2C8.5652 2.00097 7.82088 2.26673 7.22583 2.75248C6.63079 3.23823 6.2214 3.91428 6.06667 4.66667H5.33333C4.4496 4.66773 3.60237 5.01925 2.97748 5.64415C2.35259 6.26904 2.00106 7.11627 2 8L2 14.6667C2.00106 15.5504 2.35259 16.3976 2.97748 17.0225C3.60237 17.6474 4.4496 17.9989 5.33333 18H14.6667C15.5504 17.9989 16.3976 17.6474 17.0225 17.0225C17.6474 16.3976 17.9989 15.5504 18 14.6667V8C17.9989 7.11627 17.6474 6.26904 17.0225 5.64415C16.3976 5.01925 15.5504 4.66773 14.6667 4.66667ZM9.33333 3.33333H10.6667C11.0788 3.33504 11.4804 3.46406 11.8165 3.70273C12.1525 3.94139 12.4066 4.27806 12.544 4.66667H7.456C7.59339 4.27806 7.84749 3.94139 8.18353 3.70273C8.51958 3.46406 8.92116 3.33504 9.33333 3.33333ZM5.33333 6H14.6667C15.1971 6 15.7058 6.21071 16.0809 6.58579C16.456 6.96086 16.6667 7.46957 16.6667 8V10H3.33333V8C3.33333 7.46957 3.54405 6.96086 3.91912 6.58579C4.29419 6.21071 4.8029 6 5.33333 6ZM14.6667 16.6667H5.33333C4.8029 16.6667 4.29419 16.456 3.91912 16.0809C3.54405 15.7058 3.33333 15.1971 3.33333 14.6667V11.3333H9.33333V12C9.33333 12.1768 9.40357 12.3464 9.5286 12.4714C9.65362 12.5964 9.82319 12.6667 10 12.6667C10.1768 12.6667 10.3464 12.5964 10.4714 12.4714C10.5964 12.3464 10.6667 12.1768 10.6667 12V11.3333H16.6667V14.6667C16.6667 15.1971 16.456 15.7058 16.0809 16.0809C15.7058 16.456 15.1971 16.6667 14.6667 16.6667Z",fill:"black"})}),exports.BulkOperationsDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80536)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80536)",children:e.jsx("path",{d:"M9 11.6667H7V7.66667C7 6.194 8.194 5 9.66667 5H15C16.4727 5 17.6667 6.194 17.6667 7.66667H13C10.7907 7.66667 9 9.45733 9 11.6667ZM21 11.6667V15C21 16.4727 19.806 17.6667 18.3333 17.6667H17V15C17 13.1593 15.5073 11.6667 13.6667 11.6667H10.3333C10.3333 10.194 11.5273 9 13 9H18.3333C19.806 9 21 10.194 21 11.6667ZM19 11.6667C18.996 10.7947 17.6707 10.7947 17.6667 11.6667C17.6707 12.5387 18.996 12.5387 19 11.6667ZM10.9973 17.394L14.936 13.4553C14.5907 13.1707 14.148 13 13.6667 13H7C6.52133 13 6.08133 13.1693 5.73733 13.4507L9.68067 17.394C10.0327 17.7453 10.6453 17.7453 10.9973 17.394ZM11.9407 18.3367C11.414 18.8633 10.6727 19.0993 9.91467 18.9613C9.44267 18.876 9.018 18.616 8.67867 18.2767L5 14.5987V18.3333C5 19.806 6.194 21 7.66667 21H13C14.4727 21 15.6667 19.806 15.6667 18.3333V14.656L15.634 14.6427L11.94 18.3367H11.9407Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80536",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80536",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.Button=Ni,exports.ButtonContainer=ps,exports.ButtonGroup=({renderButtons:t,sx:r,containerSx:l})=>e.jsx(Kr.default,{sx:{boxShadow:"none",...l},"aria-label":"Basic button group",children:t?.map((({icon:t,value:l,label:n,selected:i,onClick:o,size:a="medium"})=>e.jsx(Ni,{variant:i?"contained":"text",onClick:()=>{qr.default(o)&&o(l)},startIcon:t,size:a,sx:r,children:n},l)))}),exports.CalendarIconAction=Mo,exports.CalendarSvg=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14.6667 4.66667H13.9333C13.7786 3.91428 13.3692 3.23823 12.7742 2.75248C12.1791 2.26673 11.4348 2.00097 10.6667 2L9.33333 2C8.5652 2.00097 7.82088 2.26673 7.22583 2.75248C6.63079 3.23823 6.2214 3.91428 6.06667 4.66667H5.33333C4.4496 4.66773 3.60237 5.01925 2.97748 5.64415C2.35259 6.26904 2.00106 7.11627 2 8L2 14.6667C2.00106 15.5504 2.35259 16.3976 2.97748 17.0225C3.60237 17.6474 4.4496 17.9989 5.33333 18H14.6667C15.5504 17.9989 16.3976 17.6474 17.0225 17.0225C17.6474 16.3976 17.9989 15.5504 18 14.6667V8C17.9989 7.11627 17.6474 6.26904 17.0225 5.64415C16.3976 5.01925 15.5504 4.66773 14.6667 4.66667ZM9.33333 3.33333H10.6667C11.0788 3.33504 11.4804 3.46406 11.8165 3.70273C12.1525 3.94139 12.4066 4.27806 12.544 4.66667H7.456C7.59339 4.27806 7.84749 3.94139 8.18353 3.70273C8.51958 3.46406 8.92116 3.33504 9.33333 3.33333ZM5.33333 6H14.6667C15.1971 6 15.7058 6.21071 16.0809 6.58579C16.456 6.96086 16.6667 7.46957 16.6667 8V10H3.33333V8C3.33333 7.46957 3.54405 6.96086 3.91912 6.58579C4.29419 6.21071 4.8029 6 5.33333 6ZM14.6667 16.6667H5.33333C4.8029 16.6667 4.29419 16.456 3.91912 16.0809C3.54405 15.7058 3.33333 15.1971 3.33333 14.6667V11.3333H9.33333V12C9.33333 12.1768 9.40357 12.3464 9.5286 12.4714C9.65362 12.5964 9.82319 12.6667 10 12.6667C10.1768 12.6667 10.3464 12.5964 10.4714 12.4714C10.5964 12.3464 10.6667 12.1768 10.6667 12V11.3333H16.6667V14.6667C16.6667 15.1971 16.456 15.7058 16.0809 16.0809C15.7058 16.456 15.1971 16.6667 14.6667 16.6667Z",fill:"black"})}),exports.Card=function({heading:t,children:r,action:l}){const n=u.useTheme(),{lightBlue:i}=n.palette.app.color;return e.jsx(Br.default,{bgcolor:i[50],flex:1,sx:{borderRadius:"5px"},children:e.jsx(Zo,{padding:{padding:1.5},children:e.jsxs(Zr.default,{gap:"10px",children:[(t||l)&&e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:[t&&e.jsx(_r.default,{variant:"h6",children:t}),l&&e.jsx(Br.default,{children:l})]}),r]})})})},exports.CardItem=la,exports.CardItemValue=na,exports.CellSelectionTable=La,exports.ChartIconSvg=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M2.83301 1.90039C3.08054 1.90039 3.31813 1.99879 3.49316 2.17383C3.66802 2.34877 3.76652 2.58567 3.7666 2.83301V17.833C3.7666 18.4695 4.01964 19.0802 4.46973 19.5303C4.91981 19.9804 5.53047 20.2334 6.16699 20.2334H21.167C21.4143 20.2335 21.6512 20.332 21.8262 20.5068C22.0012 20.6819 22.0996 20.9195 22.0996 21.167C22.0995 21.4144 22.0011 21.6512 21.8262 21.8262C21.6512 22.0011 21.4144 22.0995 21.167 22.0996H6.16699C5.03585 22.0983 3.95121 21.6485 3.15137 20.8486C2.35153 20.0488 1.90175 18.9642 1.90039 17.833V2.83301C1.90048 2.58559 1.99887 2.34879 2.17383 2.17383C2.34879 1.99887 2.58559 1.90048 2.83301 1.90039Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M6.98926 10.041C7.23679 10.041 7.47438 10.1394 7.64941 10.3145C7.82427 10.4894 7.92277 10.7263 7.92285 10.9736V16.8076C7.92277 17.055 7.82427 17.2919 7.64941 17.4668C7.47438 17.6418 7.23679 17.7402 6.98926 17.7402C6.74184 17.7401 6.50504 17.6418 6.33008 17.4668C6.15512 17.2918 6.05673 17.055 6.05664 16.8076V10.9736C6.05673 10.7262 6.15512 10.4894 6.33008 10.3145C6.50504 10.1395 6.74184 10.0411 6.98926 10.041Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M11.1768 8.38477C11.4243 8.38477 11.6619 8.48317 11.8369 8.6582C12.0118 8.83314 12.1103 9.07004 12.1104 9.31738V16.8174C12.1104 17.0649 12.0119 17.3025 11.8369 17.4775C11.6619 17.6526 11.4243 17.751 11.1768 17.751C10.9294 17.7509 10.6925 17.6524 10.5176 17.4775C10.3425 17.3025 10.2441 17.0649 10.2441 16.8174V9.31738C10.2442 9.06996 10.3426 8.83316 10.5176 8.6582C10.6925 8.48325 10.9293 8.38485 11.1768 8.38477Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M15.333 10.8848C15.5805 10.8848 15.8181 10.9832 15.9932 11.1582C16.168 11.3331 16.2665 11.57 16.2666 11.8174V16.8174C16.2666 17.0649 16.1682 17.3025 15.9932 17.4775C15.8181 17.6526 15.5805 17.751 15.333 17.751C15.0857 17.7509 14.8488 17.6524 14.6738 17.4775C14.4988 17.3025 14.4004 17.0649 14.4004 16.8174V11.8174C14.4005 11.57 14.4989 11.3332 14.6738 11.1582C14.8488 10.9832 15.0856 10.8849 15.333 10.8848Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M19.4893 7.54102C19.7368 7.54102 19.9744 7.63942 20.1494 7.81445C20.3243 7.98939 20.4228 8.22629 20.4229 8.47363V16.8076C20.4228 17.055 20.3243 17.2919 20.1494 17.4668C19.9744 17.6418 19.7368 17.7402 19.4893 17.7402C19.2418 17.7401 19.005 17.6418 18.8301 17.4668C18.6551 17.2918 18.5567 17.055 18.5566 16.8076V8.47363C18.5567 8.22622 18.6551 7.98941 18.8301 7.81445C19.005 7.6395 19.2418 7.5411 19.4893 7.54102Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"}),e.jsx("path",{d:"M21.1543 0.900391C21.3989 0.90261 21.6327 1.00086 21.8057 1.17383C21.9786 1.34685 22.077 1.58056 22.0791 1.8252C22.0812 2.06979 21.9872 2.30544 21.8174 2.48145L21.8164 2.4834L17.1611 7.1377C16.6736 7.62512 16.0117 7.89941 15.3223 7.89941C14.633 7.89929 13.9718 7.62501 13.4844 7.1377L11.6758 5.3291C11.5356 5.19586 11.3496 5.12114 11.1562 5.12109C10.9626 5.12109 10.776 5.19648 10.6357 5.33008L7.64941 8.31641C7.47442 8.49145 7.23677 8.58979 6.98926 8.58984C6.80474 8.58978 6.62412 8.53515 6.4707 8.43262C6.31729 8.33006 6.19757 8.18416 6.12695 8.01367C6.05636 7.84322 6.03828 7.65556 6.07422 7.47461C6.11022 7.29359 6.19861 7.12662 6.3291 6.99609L9.31738 4.00781H9.31836C9.80589 3.52066 10.467 3.24707 11.1562 3.24707C11.8455 3.24712 12.5066 3.52059 12.9941 4.00781L14.8047 5.81738C14.9421 5.95462 15.1281 6.0321 15.3223 6.03223C15.5166 6.03223 15.7033 5.95474 15.8408 5.81738L20.4961 1.16309L20.4971 1.16211C20.6731 0.992095 20.9096 0.898264 21.1543 0.900391Z",fill:"#5B5B5B",stroke:"#5B5B5B",strokeWidth:"0.2"})]}),exports.CheckBox=function({name:t,rules:r,control:l,defaultValue:n,size:i,loading:o=!1,navigationKey:a,...s}){const{field:{value:d=!1,onChange:c,ref:u,...p}}=Ae.useController({name:t,control:l,defaultValue:n,rules:r}),{navigationKey:h}=gi(),C=a??h,{inputRef:x,maintainFocus:f,handleKeyDown:g}=Zi({navigationKey:C});return o?e.jsx(Ya,{}):e.jsx(Ul.default,{icon:e.jsx(Fa,{size:i}),checkedIcon:e.jsx(Pa,{size:i}),checked:d,inputRef:e=>{x.current=e,u&&("function"==typeof u?u(e):u.current=e)},onChange:e=>{c(e.target.checked),f()},onKeyDown:e=>{g(e,void 0,!1),s.onKeyDown&&s.onKeyDown(e)},...p,...s})},exports.CheckboxInput=({...t})=>{const r=u.useTheme(),{butterflyBlue:l,iron:n}=r.palette.app.color;return e.jsx(Ir.default,{checkedIcon:e.jsx(Dr.default,{fontSize:"small",htmlColor:l[900],sx:{borderRadius:100,marginLeft:"-1px"}}),icon:e.jsx(Br.default,{sx:{width:14,height:14,border:"1px solid",borderColor:n[800],borderRadius:"4px"}}),sx:{"&:hover":{backgroundColor:"action.hover"},"&.Mui-checked:hover":{backgroundColor:"action.hover"},"& .MuiTouchRipple-root":{color:l[900]}},...t})},exports.Chip=ia,exports.ChipWithBorder=({label:t,color:r="green",toolTipLabel:l,...n})=>e.jsx(Pr.default,{title:l,arrow:!0,placement:"top",children:e.jsx(xl.default,{label:t,...n,sx:{border:`1px solid ${r}`,borderColor:r,backgroundColor:u.alpha(r,.2),borderRadius:"3px",height:"20px",width:"auto",padding:"0px",".MuiChip-label":{color:r,fontSize:"12px",fontWeight:600,padding:"5px"}}})}),exports.ClockSvg=t=>e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M11 2.5C9.21997 2.5 7.47991 3.02784 5.99987 4.01677C4.51983 5.00571 3.36628 6.41131 2.68509 8.05585C2.0039 9.70038 1.82567 11.51 2.17294 13.2558C2.5202 15.0016 3.37737 16.6053 4.63604 17.864C5.89471 19.1226 7.49836 19.9798 9.24419 20.3271C10.99 20.6743 12.7996 20.4961 14.4442 19.8149C16.0887 19.1337 17.4943 17.9802 18.4832 16.5001C19.4722 15.0201 20 13.28 20 11.5C19.9974 9.11384 19.0484 6.82616 17.3611 5.13889C15.6738 3.45162 13.3862 2.50258 11 2.5ZM11 19C9.51664 19 8.06659 18.5601 6.83323 17.736C5.59986 16.9119 4.63856 15.7406 4.07091 14.3701C3.50325 12.9997 3.35473 11.4917 3.64411 10.0368C3.9335 8.58196 4.64781 7.24559 5.6967 6.1967C6.7456 5.1478 8.08197 4.4335 9.53683 4.14411C10.9917 3.85472 12.4997 4.00325 13.8701 4.5709C15.2406 5.13856 16.4119 6.09985 17.236 7.33322C18.0601 8.56659 18.5 10.0166 18.5 11.5C18.4978 13.4885 17.7069 15.3948 16.3009 16.8009C14.8948 18.2069 12.9885 18.9978 11 19Z",fill:"black"}),e.jsx("path",{d:"M10.9989 7C10.7999 7 10.6092 7.07902 10.4685 7.21967C10.3279 7.36032 10.2489 7.55109 10.2489 7.75V10.9937L7.72061 12.5777C7.55154 12.6834 7.43134 12.8518 7.38648 13.0461C7.34161 13.2403 7.37574 13.4444 7.48136 13.6135C7.58698 13.7826 7.75545 13.9028 7.94969 13.9476C8.14393 13.9925 8.34804 13.9584 8.51711 13.8527L11.3971 12.0528C11.5059 11.9846 11.5954 11.8896 11.657 11.7769C11.7186 11.6643 11.7502 11.5377 11.7489 11.4092V7.75C11.7489 7.55109 11.6698 7.36032 11.5292 7.21967C11.3885 7.07902 11.1978 7 10.9989 7Z",fill:"black"})]}),exports.CodeSnippetBox=({children:t,language:r="typescript",isCopyable:l=!0})=>{const n=u.useTheme(),{mirage:i,iron:o}=n.palette.app.color,[s,d]=a.useState(!1);return e.jsx(Br.default,{sx:{position:"relative"},children:"string"==typeof t?e.jsxs(e.Fragment,{children:[l&&e.jsx(Br.default,{sx:{position:"absolute",top:n.spacing(1),right:n.spacing(1),zIndex:1},children:e.jsx(Pr.default,{title:s?"Copied!":"Copy code",children:e.jsx(Ni,{size:"small",onClick:()=>{"string"==typeof t&&l&&navigator.clipboard.writeText(t).then((()=>{d(!0),setTimeout((()=>{d(!1)}),2e3)})).catch((()=>{}))},variant:"text",sx:{color:o[600],fontSize:"10px"},startIcon:s?e.jsx(Dl.default,{sx:{fontSize:"10px"}}):e.jsx(Bl.default,{sx:{fontSize:"10px"}}),children:s?"Copied!":"Copy code"})})}),e.jsx(we.Prism,{language:r,style:Za,customStyle:{margin:0,borderRadius:"5px",padding:n.spacing(2),background:i[900]},PreTag:"div",children:t})]}):e.jsx(Va,{children:t})})},exports.ColumnArranger=Xs,exports.ColumnArrangerDialog=function({columns:t,open:r,onClose:l,onSave:n,title:i="Column Chooser"}){const o=(e=>a.useMemo((()=>e.filter((e=>!!e.field)).map((({field:e,hide:t,headerName:r})=>{const l={field:e,headerName:r};return void 0!==t&&(l.hide=t),l}))),[e]))(t);return e.jsx(Js,{columns:o,children:({columnList:t,reset:o,getValues:a})=>e.jsx(ys,{title:i,open:r,onClose:()=>{l(),o()},maxWidth:"xs",actions:e.jsxs(ps,{sx:{justifyContent:"space-between",flex:1},children:[e.jsx(Ni,{variant:"outlined",onClick:()=>o(),children:"Reset"}),e.jsx(Ni,{"data-ptag":"submit","data-cy":"submit",onClick:()=>{const e=a(),t=Fn.default(e.columns.map((e=>[e.field,e.hide])));n(t),l()},children:"Save"})]}),children:t})})},exports.ColumnArrangerForm=Js,exports.ColumnIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0,height:"36px"},children:e.jsx(wo,{toolTipLabel:"Column Chooser",children:e.jsx(to,{disabled:t.disabled})})}),exports.CompanyBanner=t=>e.jsxs("svg",{width:"337",height:"363",viewBox:"0 0 337 363",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{clipPath:"url(#clip0_41078_85488)",children:[e.jsx("path",{d:"M169.306 56.0102C169.626 56.0102 169.946 55.7672 169.946 55.3622V1.39019C169.946 1.06619 169.706 0.742188 169.306 0.742188C168.976 0.742188 168.656 0.985186 168.656 1.39019V55.4432C168.656 55.7672 168.896 56.0102 169.306 56.0102Z",fill:"#2D3962"}),e.jsx("path",{d:"M137.562 77.6459C137.562 60.0609 151.782 45.8789 169.232 45.8789C186.762 45.8789 200.902 60.1419 200.902 77.6459H137.562Z",fill:"#F4B04E"}),e.jsx("path",{opacity:"0.47",d:"M146.367 48.0702C151.457 52.1222 158.647 53.3382 164.787 51.3122C166.397 50.7452 167.937 50.0152 169.547 49.9342C173.507 49.6912 176.817 52.8522 180.697 53.5002C185.137 54.1482 189.337 51.3122 192.897 48.5572C192.897 48.5572 180.617 36.8072 168.257 39.2372C155.897 41.6692 146.367 48.0702 146.367 48.0702Z",fill:"white"}),e.jsx("path",{opacity:"0.52",d:"M205.58 66.7878C198.47 63.6278 190.23 63.3038 182.96 66.0578C179 67.5178 175.12 69.9478 170.84 69.8678C167.05 69.8678 163.49 67.9228 159.78 67.1928C156.54 66.5448 153.07 66.8688 150 68.0848C148.63 68.6518 147.41 69.2998 145.96 69.5438C143.7 69.9488 141.44 69.2998 139.17 69.2188C135.54 69.0568 131.9 70.5158 129.32 73.0288L130.29 86.5608L206.23 82.0228L205.58 66.7878Z",fill:"#D89741"}),e.jsx("path",{opacity:"0.15",d:"M201.218 77.8906L297.438 362.903H36.2578L137.888 77.8916L201.218 77.8906Z",fill:"#F4CE2C"}),e.jsx("path",{d:"M227.321 287.536C224.731 287.536 222.472 285.672 222.152 283.078C220.862 274.164 221.341 242.316 228.691 238.183C242.511 230.323 252.442 236.076 260.922 229.998C269.412 223.921 266.342 195.719 280.802 192.316C304.872 186.643 327.012 194.342 327.012 194.342L328.461 230.647L310.201 287.13L227.321 287.536Z",fill:"#56B2A1"}),e.jsx("path",{d:"M268.189 212.816C268.189 212.816 271.749 250.661 262.619 253.66C252.929 256.82 224.249 251.147 221.899 265.653C221.899 265.653 219.239 246.447 224.889 240.531C235.719 229.186 254.619 234.778 258.979 230.726C263.429 226.674 268.189 212.816 268.189 212.816ZM225.779 361.686L272.639 335.916V293.128H240.809C237.089 293.128 234.019 290.048 234.019 286.32H309.799C309.799 290.048 306.729 293.128 303.009 293.128H276.509V336.24L322.799 361.686L314.889 361.524L276.599 349.449V361.605H272.719V349.206L233.859 361.443L225.779 361.686Z",fill:"#2D3962"}),e.jsx("path",{d:"M259.712 236.235C243.882 250.903 226.592 260.223 211.722 278.375C196.782 296.528 190.403 312.898 180.062 331.05C184.503 334.373 193.222 341.504 196.542 340.613C198.722 340.045 223.202 309.575 238.222 293.854C246.222 285.507 269.082 282.751 281.852 276.43C292.352 271.325 298.082 261.844 294.042 232.184",fill:"#AACBF2"}),e.jsx("path",{d:"M176.578 249.767L183.528 247.66L201.698 362.329L196.608 362.491L176.578 249.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M173.102 248.473H187.562V254.307H173.102V248.473Z",fill:"#468E80"}),e.jsx("path",{d:"M56.8622 249.767L49.9922 247.66L31.7422 362.329L36.8221 362.491L56.8622 249.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M60.3116 254.292H45.8516V248.457H60.3116V254.292Z",fill:"#468E80"}),e.jsx("path",{d:"M43.8516 243.449H190.072V251.229H43.8516V243.449Z",fill:"#56B2A1"}),e.jsx("path",{d:"M177.392 229.678C177.392 229.678 172.302 222.06 173.752 215.901C174.482 212.66 177.072 210.472 179.332 208.284C182.162 205.528 183.042 203.989 183.212 199.937C183.292 198.154 183.372 196.371 184.262 194.831C185.062 193.292 186.842 192.157 188.542 192.481C190.072 192.805 191.202 194.264 191.452 195.885C191.772 197.425 191.372 199.045 190.882 200.585C189.832 203.827 188.302 206.906 186.032 209.499C184.012 211.768 180.542 213.47 179.092 216.225C175.772 222.465 177.392 229.678 177.392 229.678Z",fill:"white"}),e.jsx("path",{d:"M186.519 215.092C185.219 214.606 183.689 215.416 182.639 216.227C181.589 217.118 181.099 218.901 182.149 219.792C182.879 220.522 184.089 220.441 185.059 220.035C186.189 219.549 187.159 218.577 187.319 217.442C187.489 216.227 187.079 215.335 186.519 215.092ZM178.359 201.797C177.069 201.149 174.479 201.959 174.719 203.661C174.799 204.309 175.369 204.957 176.019 205.12C176.659 205.363 177.389 205.201 177.949 204.876C178.519 204.552 178.919 203.985 178.999 203.418C179.249 202.607 178.919 202.04 178.359 201.797Z",fill:"white"}),e.jsx("path",{d:"M167.214 229.999C167.534 229.999 167.774 229.999 168.014 230.08L167.694 227.082L185.384 227.163L183.614 243.29C181.104 244.424 169.714 243.695 169.714 243.695L168.984 237.941C168.424 238.184 167.854 238.346 167.214 238.346C166.084 238.346 165.024 237.86 164.304 237.131C163.494 236.32 163.094 235.267 163.094 234.132C163.094 231.863 164.944 229.999 167.214 229.999ZM165.514 235.834C165.994 236.32 166.564 236.563 167.214 236.563C167.774 236.563 168.344 236.32 168.744 235.996L168.264 232.106C167.938 231.942 167.578 231.858 167.214 231.863C166.59 231.863 165.993 232.111 165.552 232.551C165.111 232.992 164.864 233.59 164.864 234.213C164.864 234.781 165.114 235.429 165.514 235.834Z",fill:"#F4B04E"}),e.jsx("path",{opacity:"0.52",d:"M164.703 235.908C166.563 235.098 168.743 235.665 170.683 236.313C172.623 236.962 174.563 237.853 176.583 237.691C177.793 237.61 179.003 237.205 180.213 237.205C182.563 237.205 184.583 238.744 186.433 240.203C186.603 240.365 186.273 240.608 186.523 240.527L186.113 246.524L165.353 244.174L164.703 235.908Z",fill:"#D89741"}),e.jsx("path",{opacity:"0.47",d:"M188.128 230.157C186.598 230.481 185.218 231.291 183.688 231.94C182.238 232.507 180.538 232.912 179.078 232.345C177.548 231.778 176.338 230.319 174.718 230.076C173.998 229.995 173.348 230.076 172.618 230.157C170.198 230.4 167.688 229.59 165.758 227.969L166.478 223.512L187.568 224.079L188.128 230.157Z",fill:"white"}),e.jsx("path",{d:"M92.239 227.078L87.7891 243.367H129.639L114.289 239.234L118.489 227.402L92.239 227.078Z",fill:"#2D3962"}),e.jsx("path",{d:"M146.929 229.347H58.7994C53.5394 229.347 49.0994 224.808 48.2894 218.65L42.2293 172.134C41.2693 164.435 46.1894 157.547 52.7394 157.547H140.869C146.119 157.547 150.569 162.085 151.379 168.244L157.429 214.76C158.399 222.458 153.389 229.347 146.929 229.347Z",fill:"#56B2A1"}),e.jsx("path",{d:"M157.432 214.758C158.402 222.456 153.472 229.345 146.932 229.345H58.7925C53.5425 229.345 49.1025 224.807 48.2925 218.648L47.8125 215.244L157.432 214.758Z",fill:"#2D3962"}),e.jsx("path",{d:"M126.334 206.085H80.9338C78.2638 206.085 75.9238 203.735 75.5238 200.575L72.3737 176.587C71.8837 172.616 74.3938 169.051 77.7838 169.051H123.264C125.934 169.051 128.274 171.401 128.674 174.561L131.824 198.549C132.314 202.438 129.724 206.085 126.334 206.085Z",fill:"white"}),e.jsx("path",{d:"M116.802 198.714H89.2615C87.6415 198.714 86.2715 197.255 85.9415 195.392L84.0915 180.886C83.7615 178.455 85.3016 176.348 87.4016 176.348H114.951C116.561 176.348 117.932 177.806 118.262 179.67L120.122 194.176C120.362 196.607 118.822 198.714 116.802 198.714Z",fill:"#E8E8E8"}),e.jsx("path",{d:"M84.1619 180.481C83.8319 178.049 85.3719 176.348 87.3918 176.348H114.942C116.552 176.348 117.922 177.563 118.332 180.4L84.1619 180.481Z",fill:"#56B2A1"}),e.jsx("path",{d:"M103.713 186.556C102.013 185.017 99.4335 185.26 97.8935 186.962C96.3635 188.663 96.6035 191.257 98.3035 192.796C99.9935 194.336 102.583 194.093 104.113 192.391C105.573 190.689 105.413 188.015 103.713 186.556Z",fill:"#F4B04E"}),e.jsx("path",{d:"M87.7188 199.767C88.5987 195.634 92.8088 185.909 93.5288 184.937C96.3588 187.692 98.2987 189.718 100.959 192.474C102.419 190.772 107.749 182.668 107.909 182.668C108.149 182.668 118.329 198.551 118.659 199.524L87.7188 199.767Z",fill:"#2D3962"}),e.jsx("path",{d:"M123.341 171.568C123.267 171.567 123.194 171.552 123.126 171.523C123.058 171.495 122.996 171.453 122.944 171.4C122.892 171.348 122.851 171.285 122.823 171.217C122.795 171.148 122.781 171.075 122.781 171.001C122.781 170.688 123.031 170.434 123.341 170.434C123.651 170.434 123.911 170.688 123.911 171.001C123.911 171.314 123.651 171.568 123.341 171.568Z",fill:"#F4B04E"}),e.jsx("path",{d:"M120.672 171.001C120.672 171.325 120.922 171.568 121.242 171.568C121.316 171.569 121.39 171.555 121.459 171.527C121.528 171.499 121.591 171.457 121.643 171.404C121.696 171.351 121.737 171.288 121.764 171.219C121.791 171.149 121.804 171.075 121.802 171.001C121.804 170.926 121.791 170.852 121.764 170.783C121.737 170.713 121.696 170.65 121.643 170.597C121.591 170.544 121.528 170.502 121.459 170.474C121.39 170.446 121.316 170.432 121.242 170.434C120.922 170.434 120.672 170.677 120.672 171.001Z",fill:"#56B2A1"}),e.jsx("path",{d:"M114.453 177.806C114.453 178.13 114.703 178.373 115.023 178.373C115.343 178.373 115.593 178.13 115.593 177.806C115.594 177.731 115.58 177.657 115.552 177.587C115.524 177.518 115.482 177.454 115.429 177.401C115.376 177.348 115.312 177.307 115.243 177.279C115.173 177.251 115.098 177.237 115.023 177.238C114.703 177.238 114.453 177.481 114.453 177.806Z",fill:"#F4B04E"}),e.jsx("path",{d:"M112.274 177.807C112.274 178.131 112.514 178.374 112.834 178.374C113.164 178.374 113.404 178.131 113.404 177.807C113.406 177.731 113.392 177.656 113.365 177.586C113.337 177.516 113.295 177.453 113.241 177.4C113.188 177.346 113.124 177.305 113.054 177.277C112.984 177.249 112.909 177.236 112.834 177.239C112.759 177.237 112.685 177.251 112.616 177.279C112.547 177.307 112.484 177.349 112.432 177.402C112.379 177.455 112.338 177.519 112.311 177.588C112.284 177.658 112.271 177.732 112.274 177.807Z",fill:"white"}),e.jsx("path",{d:"M100.319 223.513H110.739C111.389 223.513 111.949 222.946 111.949 222.298C111.949 221.649 111.389 221.082 110.739 221.082H100.319C99.6693 221.082 99.1094 221.649 99.1094 222.298C99.1094 223.027 99.6693 223.513 100.319 223.513Z",fill:"#56B2A1"}),e.jsx("path",{d:"M326.519 194.02C326.519 194.02 328.369 226.759 314.879 229.919C301.389 233.08 281.759 229.595 276.269 241.994C270.769 254.474 271.499 287.537 271.499 287.537L309.389 287.213C309.389 287.213 335.319 288.672 335.639 259.498C335.889 237.375 341.139 202.934 326.519 194.02ZM104.199 66.0613C104.449 66.0613 104.689 65.8183 104.689 65.5753V60.3893C104.689 60.1453 104.449 59.9023 104.199 59.9023C103.959 59.9023 103.719 60.1453 103.719 60.3893V65.5753C103.719 65.8183 103.959 66.0613 104.199 66.0613Z",fill:"#2D3962"}),e.jsx("path",{d:"M101.701 63.4691H106.871C107.111 63.4691 107.351 63.2251 107.351 62.9821C107.351 62.7391 107.111 62.4961 106.871 62.4961H101.701C101.451 62.4961 101.211 62.7391 101.211 62.9821C101.211 63.2251 101.371 63.4691 101.701 63.4691ZM249.291 95.4781C250.341 95.4781 251.151 94.6681 251.151 93.6141C251.151 92.5601 250.341 91.7501 249.291 91.7501C248.241 91.7501 247.431 92.5601 247.431 93.6141C247.431 94.6671 248.241 95.4781 249.291 95.4781ZM249.291 92.8041C249.781 92.8041 250.181 93.2091 250.181 93.6941C250.181 94.1811 249.781 94.5861 249.291 94.5861C249.056 94.583 248.831 94.4881 248.665 94.3216C248.499 94.1552 248.404 93.9303 248.401 93.6951C248.401 93.2091 248.811 92.8041 249.291 92.8041ZM173.111 101.065C173.351 101.065 173.591 100.822 173.591 100.579V95.3931C173.591 95.1491 173.351 94.9061 173.111 94.9061C172.871 94.9061 172.621 95.1491 172.621 95.3921V100.579C172.621 100.822 172.871 101.065 173.111 101.065Z",fill:"#2D3962"}),e.jsx("path",{d:"M170.522 98.472H175.692C175.942 98.472 176.182 98.229 176.182 97.986C176.182 97.743 175.942 97.5 175.692 97.5H170.522C170.282 97.5 170.042 97.743 170.042 97.986C170.042 98.229 170.282 98.472 170.522 98.472ZM162.522 143.857C163.572 143.857 164.382 143.046 164.382 141.993C164.382 140.939 163.572 140.129 162.522 140.129C161.472 140.129 160.672 140.939 160.672 141.993C160.672 143.046 161.472 143.857 162.522 143.857ZM162.522 141.101C163.012 141.101 163.412 141.507 163.412 141.993C163.412 142.479 163.012 142.884 162.522 142.884C162.288 142.881 162.064 142.785 161.899 142.619C161.735 142.452 161.642 142.227 161.642 141.993C161.642 141.507 162.042 141.101 162.522 141.101ZM203.982 150.014C204.222 150.014 204.462 149.771 204.462 149.528V144.342C204.462 144.099 204.222 143.855 203.982 143.855C203.732 143.855 203.492 144.099 203.492 144.342V149.528C203.492 149.771 203.732 150.014 203.982 150.014Z",fill:"#2D3962"}),e.jsx("path",{d:"M201.472 147.422H206.642C206.882 147.422 207.122 147.179 207.122 146.935C207.122 146.692 206.882 146.449 206.642 146.449H201.472C201.232 146.449 200.992 146.692 200.992 146.935C200.992 147.179 201.152 147.422 201.472 147.422ZM214.392 206.739C215.442 206.739 216.252 205.929 216.252 204.876C216.252 203.822 215.442 203.012 214.392 203.012C213.342 203.012 212.532 203.822 212.532 204.876C212.532 205.929 213.342 206.739 214.392 206.739ZM214.392 204.065C214.882 204.065 215.282 204.47 215.282 204.957C215.282 205.443 214.882 205.848 214.392 205.848C214.157 205.845 213.932 205.75 213.766 205.583C213.6 205.417 213.505 205.192 213.502 204.957C213.502 204.389 213.912 204.065 214.392 204.065ZM229.412 59.0887C229.662 59.0887 229.902 58.8457 229.902 58.6017V53.4157C229.902 53.1727 229.662 52.9297 229.412 52.9297C229.172 52.9297 228.932 53.1727 228.932 53.4157V58.6017C228.932 58.9267 229.172 59.0887 229.412 59.0887Z",fill:"#2D3962"}),e.jsx("path",{d:"M226.828 56.5775H231.998C232.238 56.5775 232.478 56.3345 232.478 56.0915C232.478 55.8485 232.238 55.6055 231.998 55.6055H226.828C226.588 55.6055 226.338 55.8485 226.338 56.0915C226.338 56.3345 226.588 56.5775 226.828 56.5775ZM43.9381 100.258C44.9881 100.258 45.7982 99.4485 45.7982 98.3945C45.7982 97.3415 44.9881 96.5305 43.9381 96.5305C42.8881 96.5305 42.0781 97.3405 42.0781 98.3945C42.0781 99.4485 42.8881 100.258 43.9381 100.258ZM43.9381 97.5845C44.4181 97.5845 44.8281 97.9895 44.8281 98.4755C44.8281 98.9615 44.4181 99.3675 43.9381 99.3675C43.7022 99.3659 43.4766 99.2713 43.3099 99.1043C43.1433 98.9373 43.0493 98.7114 43.0482 98.4755C43.0482 97.9895 43.4481 97.5845 43.9381 97.5845Z",fill:"#2D3962"}),e.jsx("path",{d:"M259.31 237.133C257.94 238.024 244.77 239.321 226.19 242.886C208.42 246.29 198.24 247.344 190.32 255.691C185.31 261.039 189.59 304.556 194.93 321.737C203.73 320.683 204.46 321.007 213.35 321.088C213.26 305.853 212.13 276.517 213.75 274.41C215.37 272.303 214.8 273.438 217.22 272.465L259.31 237.133Z",fill:"#9BBBEA"}),e.jsx("path",{d:"M212.697 288.022C212.937 288.022 213.097 287.86 213.097 287.617L213.267 269.546C213.267 269.303 213.097 269.141 212.857 269.141C212.617 269.141 212.457 269.303 212.457 269.546L212.297 287.617C212.297 287.779 212.457 288.022 212.697 288.022Z",fill:"#2D3962"}),e.jsx("path",{d:"M28.5795 321.41C32.3795 322.544 36.8196 322.382 40.5396 320.924C55.4796 315.251 56.7696 298.719 54.2696 286.077C52.5696 277.568 49.6595 269.302 48.9395 260.712C47.8895 247.584 52.0895 233.24 44.9795 221.814C43.5195 219.383 41.4196 217.114 38.5196 216.222C34.3096 214.926 29.5495 217.114 26.9595 220.436C24.4595 223.759 23.7295 228.054 23.5695 232.106C23.1695 241.263 25.1896 250.42 24.5396 259.578C23.6496 271.328 17.5096 282.349 16.7796 294.1C16.2996 302.042 16.5395 312.901 23.4895 318.654C25.1095 319.951 26.7995 320.843 28.5795 321.41Z",fill:"#97DDCF"}),e.jsx("path",{d:"M36.0132 327.165C36.3432 327.165 36.5831 326.922 36.5831 326.598L37.3032 247.829C37.3055 247.754 37.2926 247.68 37.2654 247.611C37.2381 247.541 37.1971 247.478 37.1448 247.425C37.0924 247.372 37.0297 247.33 36.9607 247.302C36.8917 247.274 36.8177 247.26 36.7432 247.262C36.4232 247.262 36.1732 247.505 36.1732 247.829L35.4531 326.598C35.4531 326.922 35.6932 327.165 36.0132 327.165Z",fill:"#2D3962"}),e.jsx("path",{d:"M25.8276 323.194C29.2276 323.356 32.6976 322.465 35.4476 320.763C46.3476 313.956 43.5276 301.557 38.5976 292.724C35.2876 286.808 30.9976 281.217 28.4976 274.977C24.6176 265.495 24.7776 254.231 16.3776 247.019C14.5976 245.479 12.4176 244.182 9.83758 244.02C6.11758 243.777 2.72756 246.289 1.43756 249.207C0.137556 252.124 0.5476 255.366 1.3576 258.364C3.1276 265.171 6.84762 271.573 8.37762 278.461C10.3176 287.295 7.89761 296.452 9.99761 305.204C11.3676 311.12 14.1176 319.061 21.0676 322.141C22.5976 322.708 24.2176 323.113 25.8276 323.194Z",fill:"#56B2A1"}),e.jsx("path",{d:"M32.0523 328.299C32.3723 328.299 32.6223 327.975 32.6223 327.651C31.0823 309.58 14.0423 259.741 13.7923 259.255C13.7123 258.931 13.3922 258.769 13.0722 258.931C12.7422 259.012 12.5823 259.336 12.7423 259.66C12.9123 260.146 29.9523 309.823 31.4923 327.813C31.4923 328.056 31.7323 328.299 32.0523 328.299Z",fill:"#2D3962"}),e.jsx("path",{d:"M99.6663 350.423C99.6663 350.423 107.826 332.352 84.3963 323.924L80.0363 302.205C79.8763 301.314 78.8263 301.233 78.1763 301.881C76.7263 303.178 73.0962 307.797 73.0962 307.797L65.6563 307.554C65.6563 307.554 61.8663 302.854 60.2463 301.638C59.8463 301.314 58.2262 301.071 57.9862 302.854C56.6962 311.606 52.8963 359.094 54.9163 361.12C57.0963 363.308 101.286 361.12 101.286 361.12L99.6663 350.423Z",fill:"#FFD194"}),e.jsx("path",{d:"M70.5928 314.602C70.5928 315.251 71.1629 315.818 71.8029 315.818C72.4529 315.818 73.0228 315.251 73.0228 314.602C73.0228 313.954 72.4529 313.387 71.8029 313.387C71.0829 313.387 70.5928 313.873 70.5928 314.602ZM66.4828 315.818C66.1599 315.818 65.8503 315.69 65.6216 315.462C65.3929 315.234 65.2639 314.925 65.2628 314.602C65.2628 313.931 65.8128 313.387 66.4828 313.387C67.1428 313.387 67.6927 313.931 67.6927 314.602C67.6927 315.274 67.1428 315.818 66.4828 315.818ZM74.1428 308.443C74.3928 308.443 74.5529 308.281 74.5529 308.038C74.5529 307.795 74.3928 307.633 74.1428 307.552C73.8228 307.552 66.3128 306.984 64.2928 307.146C64.0428 307.146 63.8828 307.389 63.8828 307.633C63.8828 307.876 64.1328 308.038 64.3728 308.038C66.3128 307.957 74.0628 308.443 74.1428 308.443Z",fill:"#2D3962"}),e.jsx("path",{opacity:"0.47",d:"M79.8 301.393C81.25 301.961 81.25 308.12 81.25 308.12C81.25 308.12 76.4 308.444 76.24 306.904C76.16 306.418 76.89 305.364 77.53 304.149C78.18 302.69 78.99 301.069 79.8 301.393ZM58.95 301.393C57.5 301.961 57.5 308.12 57.5 308.12C57.5 308.12 62.35 308.444 62.51 306.904C62.59 306.418 61.86 305.364 61.22 304.149C60.57 302.69 59.84 301.069 58.95 301.393Z",fill:"white"}),e.jsx("path",{d:"M39.4104 125.133H75.2003C76.4903 125.133 77.5404 126.186 77.5404 127.483V146.77C77.5404 148.067 76.4903 149.12 75.2003 149.12H72.8503V153.01C72.8503 153.577 72.2104 153.82 71.8004 153.415L67.9304 149.12H39.4104C38.7886 149.118 38.193 148.869 37.7543 148.429C37.3156 147.988 37.0695 147.392 37.0703 146.77V127.483C37.0703 126.186 38.1204 125.133 39.4104 125.133Z",fill:"#F4B04E"}),e.jsx("path",{d:"M43.1987 131.461H71.4788C71.7188 131.461 71.9587 131.218 71.9587 130.975C71.9587 130.731 71.7188 130.488 71.4788 130.488H43.1987C42.9587 130.488 42.7188 130.731 42.7188 130.975C42.7188 131.218 42.9587 131.461 43.1987 131.461ZM43.1987 137.695H71.4788C71.7188 137.695 71.9587 137.452 71.9587 137.209C71.9587 136.966 71.7188 136.723 71.4788 136.723H43.1987C42.9587 136.723 42.7188 136.966 42.7188 137.209C42.7188 137.533 42.9587 137.695 43.1987 137.695ZM49.1788 143.937H71.4788C71.7188 143.937 71.9587 143.694 71.9587 143.451C71.9587 143.208 71.7188 142.965 71.4788 142.965H49.1788C48.9388 142.965 48.6887 143.208 48.6887 143.451C48.6887 143.694 48.8588 143.937 49.1788 143.937Z",fill:"white"}),e.jsx("path",{d:"M73.75 111.516C73.75 112.489 74.48 113.218 75.45 113.218H98.39C99.36 113.218 100.09 112.488 100.09 111.516V97.3348C100.09 96.3618 99.36 95.6328 98.39 95.6328H75.45C74.48 95.6328 73.75 96.3628 73.75 97.3348V111.516Z",fill:"#FFD194"}),e.jsx("path",{d:"M74.5625 114.525L84.0125 104.152L74.5625 94.6697L75.2825 93.8597L87.1625 105.773L98.7925 92.9688L99.4424 93.7787L90.0724 104.152L99.4424 113.633L98.7925 114.443L89.3424 104.963L87.1625 107.313L84.7324 104.881L75.2825 115.335L74.5625 114.525Z",fill:"white"}),e.jsx("path",{d:"M76.3296 101.714C73.0696 101.714 70.4297 99.0658 70.4297 95.7988C70.4297 92.5308 73.0696 89.8828 76.3296 89.8828C79.5896 89.8828 82.2296 92.5308 82.2296 95.7988C82.2296 99.0658 79.5896 101.714 76.3296 101.714Z",fill:"#56B2A1"}),e.jsx("path",{d:"M80.209 96.9325H79.399V94.8255H80.209V94.4205C80.049 94.4205 79.889 94.3395 79.639 94.2585C79.399 94.1775 79.239 94.0965 79.079 94.0155H78.749V96.9325H78.0291V97.4995H80.2891V96.9325H80.209ZM77.0591 97.4195C77.2191 97.3375 77.379 97.0945 77.459 96.8515C77.539 96.6085 77.619 96.2035 77.619 95.7985C77.619 95.3115 77.539 94.9885 77.459 94.7445C77.379 94.5015 77.2191 94.2585 77.0591 94.1775C76.8574 94.0752 76.6352 94.0198 76.4091 94.0155C76.1691 94.0155 75.929 94.0955 75.769 94.1775C75.609 94.2575 75.439 94.5015 75.359 94.7445C75.2542 95.086 75.2003 95.4412 75.199 95.7985C75.199 96.2845 75.279 96.6085 75.359 96.8515C75.439 97.0945 75.609 97.3375 75.769 97.4185C75.929 97.4995 76.1691 97.5805 76.4091 97.5805C76.6591 97.5805 76.8991 97.5015 77.0591 97.4195ZM76.089 96.9325C76.009 96.8515 76.0091 96.7705 75.9291 96.6085V94.9065C75.9291 94.7445 76.009 94.6635 76.089 94.5825C76.169 94.5015 76.2491 94.5015 76.4091 94.5015C76.5691 94.5015 76.659 94.5015 76.739 94.5815C76.819 94.6635 76.819 94.7445 76.899 94.9065V96.5275C76.899 96.6895 76.819 96.7705 76.739 96.8515C76.659 96.9325 76.5691 96.9325 76.4091 96.9325C76.2491 97.0135 76.169 97.0135 76.089 96.9325ZM74.7991 97.3395C74.7991 97.1775 74.719 96.9345 74.639 96.8535C74.549 96.6915 74.4691 96.5295 74.3091 96.4485C74.1491 96.3675 73.989 96.2055 73.829 96.0425C73.669 95.8805 73.4991 95.7995 73.4191 95.7185C73.3201 95.6259 73.2387 95.5161 73.1791 95.3945C73.0991 95.2325 73.019 95.1515 73.019 94.9085C73.019 94.8275 73.019 94.6655 73.099 94.5845C73.179 94.5035 73.2591 94.4225 73.4191 94.4225C73.7491 94.4225 73.9091 94.5845 73.9091 94.9085V95.1515H74.639V94.9085C74.639 94.5845 74.5491 94.2605 74.3091 94.0985C74.0691 93.9365 73.7491 93.8555 73.4191 93.8555C73.0991 93.8555 72.859 93.9355 72.699 94.0165C72.529 94.1795 72.449 94.2605 72.369 94.4225C72.289 94.5845 72.2891 94.7465 72.2891 94.8275C72.2891 95.0705 72.369 95.2325 72.449 95.4755C72.529 95.6375 72.699 95.7995 72.859 95.9625C73.019 96.1245 73.1791 96.2055 73.4191 96.3675C73.5891 96.4475 73.749 96.6105 73.829 96.6105L73.989 96.7725H72.369V97.4205H74.7991V97.3405V97.3395Z",fill:"white"}),e.jsx("path",{d:"M119.698 150.825H141.428C142.318 150.825 143.048 150.095 143.048 149.204V130.241C143.048 129.349 142.318 128.621 141.428 128.621H119.698C118.808 128.621 118.078 129.349 118.078 130.241V149.204C118.078 150.095 118.808 150.825 119.698 150.825Z",fill:"#FFD194"}),e.jsx("path",{d:"M122.927 134.783H135.367C135.697 134.783 135.937 134.54 135.937 134.216C135.939 134.141 135.925 134.066 135.897 133.996C135.869 133.926 135.828 133.862 135.774 133.809C135.721 133.756 135.657 133.714 135.587 133.686C135.517 133.659 135.442 133.646 135.367 133.648H122.927C122.607 133.648 122.367 133.892 122.367 134.216C122.277 134.54 122.607 134.783 122.927 134.783ZM137.797 134.215C137.797 134.702 138.197 135.026 138.607 135.026C139.087 135.026 139.407 134.62 139.407 134.215C139.407 133.729 139.007 133.405 138.607 133.405C138.197 133.324 137.797 133.729 137.797 134.215ZM122.927 140.533H135.367C135.697 140.533 135.937 140.29 135.937 139.966C135.939 139.891 135.925 139.816 135.897 139.746C135.869 139.676 135.828 139.612 135.774 139.559C135.721 139.506 135.657 139.464 135.587 139.436C135.517 139.409 135.442 139.396 135.367 139.398H122.927C122.607 139.398 122.367 139.642 122.367 139.966C122.277 140.29 122.607 140.533 122.927 140.533ZM137.797 139.969C137.797 140.455 138.197 140.78 138.607 140.78C139.087 140.78 139.407 140.374 139.407 139.969C139.407 139.483 139.007 139.159 138.607 139.159C138.197 139.078 137.797 139.483 137.797 139.969ZM122.927 146.287H135.367C135.697 146.287 135.937 146.044 135.937 145.72C135.939 145.645 135.925 145.57 135.897 145.5C135.869 145.43 135.828 145.366 135.774 145.313C135.721 145.26 135.657 145.218 135.587 145.19C135.517 145.163 135.442 145.15 135.367 145.152H122.927C122.852 145.151 122.778 145.164 122.709 145.192C122.64 145.221 122.577 145.263 122.525 145.316C122.472 145.369 122.431 145.432 122.404 145.502C122.377 145.571 122.364 145.645 122.367 145.72C122.277 146.044 122.607 146.287 122.927 146.287ZM137.797 145.727C137.797 146.213 138.197 146.537 138.607 146.537C139.087 146.537 139.407 146.132 139.407 145.727C139.407 145.241 139.007 144.917 138.607 144.917C138.197 144.836 137.797 145.241 137.797 145.727Z",fill:"white"}),e.jsx("path",{d:"M84.4069 143.365H111.227C112.277 143.365 113.087 142.555 113.087 141.501V119.864C113.087 118.81 112.277 118 111.227 118H84.4069C83.3569 118 82.5469 118.81 82.5469 119.864V141.5C82.5469 142.554 83.3569 143.365 84.4069 143.365Z",fill:"#97DDCF"}),e.jsx("path",{d:"M82.5469 125.212V119.864C82.5469 118.81 83.3569 118 84.4069 118H111.227C112.277 118 113.087 118.81 113.087 119.864V125.294C113.087 125.212 83.0269 125.212 82.5469 125.212Z",fill:"#56B2A1"}),e.jsx("path",{d:"M103.308 135.828H101.448V131.046H103.308V130.074C102.988 130.074 102.498 129.912 102.018 129.75C101.539 129.583 101.08 129.366 100.648 129.102H99.8378V135.747H98.1378V137.043H103.308V135.828ZM96.6877 136.557C97.1677 136.071 97.4078 135.423 97.4078 134.612H95.7979C95.7979 135.017 95.7178 135.341 95.4778 135.585C95.2278 135.828 94.9878 135.909 94.5878 135.909C94.2578 135.909 93.9378 135.747 93.7778 135.504C93.5378 135.26 93.4578 134.936 93.4578 134.45C93.4578 134.045 93.5378 133.721 93.7778 133.478C94.0178 133.235 94.2578 133.153 94.5878 133.153C94.8278 133.153 94.9878 133.235 95.1478 133.316C95.3078 133.397 95.4779 133.559 95.5579 133.721L97.0878 133.559L96.7678 129.102H92.1578V130.56H95.3878L95.4778 132.343C95.3078 132.262 95.0678 132.1 94.9078 132.019C94.6678 131.938 94.4278 131.938 94.0978 131.938C93.4578 131.938 92.8878 132.181 92.4078 132.586C91.9978 132.991 91.7578 133.64 91.7578 134.531C91.7578 135.423 91.9978 136.071 92.4878 136.557C92.9678 137.043 93.6978 137.286 94.5078 137.286C95.4778 137.205 96.1177 136.962 96.6877 136.557Z",fill:"white"}),e.jsx("path",{d:"M105.412 120.512C105.662 120.512 105.902 120.269 105.902 120.026V117.514C105.902 117.271 105.662 117.027 105.412 117.027C105.172 117.027 104.932 117.27 104.932 117.514V120.026C104.932 120.269 105.172 120.512 105.412 120.512ZM97.8221 120.512C98.0621 120.512 98.3022 120.269 98.3022 120.026V117.514C98.3022 117.271 98.0621 117.027 97.8221 117.027C97.5821 117.027 97.3422 117.27 97.3422 117.514V120.026C97.3422 120.269 97.5821 120.512 97.8221 120.512ZM90.2322 120.512C90.4722 120.512 90.7122 120.269 90.7122 120.026V117.514C90.7122 117.271 90.4722 117.027 90.2322 117.027C89.9822 117.027 89.7422 117.27 89.7422 117.514V120.026C89.7422 120.269 89.9822 120.512 90.2322 120.512Z",fill:"#2D3962"}),e.jsx("path",{d:"M117.387 112.988C113.807 105.478 116.977 96.4776 124.467 92.8876C131.947 89.2976 140.917 92.4746 144.497 99.9856C148.077 107.496 144.907 116.496 137.427 120.086C129.937 123.676 120.967 120.498 117.387 112.988Z",fill:"white"}),e.jsx("path",{d:"M130.929 122.624C139.739 122.624 147.009 115.412 147.009 106.498C147.009 97.5831 139.819 90.3711 130.929 90.3711C122.049 90.3711 114.859 97.5831 114.859 106.498C114.939 115.412 122.129 122.624 130.929 122.624ZM130.929 92.4781C138.609 92.4781 144.909 98.7181 144.909 106.498C144.909 114.196 138.689 120.518 130.929 120.518C123.259 120.518 116.959 114.278 116.959 106.498C116.959 98.7991 123.259 92.4781 130.929 92.4781Z",fill:"#56B2A1"}),e.jsx("path",{d:"M124.478 108.034H131.418C131.748 108.034 132.068 107.71 132.068 107.385V97.0943C132.068 96.7693 131.748 96.4453 131.418 96.4453C131.098 96.4453 130.778 96.7703 130.778 97.0943V106.737H124.478C124.148 106.737 123.828 107.061 123.828 107.385C123.828 107.71 124.148 108.034 124.478 108.034Z",fill:"#2D3962"}),e.jsx("path",{d:"M311.173 236.566C311.173 236.566 322.323 169.709 310.693 153.259C306.323 147.019 286.453 151.476 286.453 151.476C276.923 161.119 272.073 171.168 268.523 184.296C265.043 197.424 258.663 225.869 257.453 239.402C268.433 239.483 311.173 236.566 311.173 236.566Z",fill:"#F4B04E"}),e.jsx("path",{d:"M271.497 228.867C271.497 228.867 260.597 233.081 260.347 237.295C260.107 240.942 272.627 237.862 272.627 237.862L271.497 228.867Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M260.51 237.862C260.59 237.862 260.75 237.862 260.83 237.781C261.97 236.727 264.71 235.755 264.71 235.755C264.95 235.674 265.03 235.431 264.95 235.188C264.87 234.944 264.63 234.863 264.39 234.944C264.31 235.025 261.48 235.998 260.19 237.132C260.152 237.169 260.122 237.213 260.102 237.262C260.081 237.311 260.07 237.363 260.07 237.416C260.07 237.469 260.081 237.522 260.102 237.571C260.122 237.619 260.152 237.664 260.19 237.7C260.27 237.862 260.35 237.862 260.51 237.862ZM262.46 239.16C262.54 239.16 262.62 239.16 262.7 239.079C263.67 238.268 265.85 237.458 265.93 237.458C266.17 237.377 266.25 237.134 266.17 236.891C266.09 236.648 265.85 236.567 265.61 236.648C265.53 236.648 263.26 237.458 262.13 238.349C261.97 238.511 261.89 238.755 262.05 238.917C262.21 239.16 262.3 239.16 262.46 239.16Z",fill:"#2D3962"}),e.jsx("path",{d:"M298.33 180.654C303.74 200.185 301.88 200.185 307.62 219.066C296.22 222.713 279.34 223.118 269 229.277C269.24 231.384 269.97 237.3 270.54 237.867C271.42 238.759 316.1 242.892 327.08 231.303C335.97 221.984 329.51 166.635 309.96 152.372C303.74 147.834 298.33 180.654 298.33 180.654Z",fill:"#F4B04E"}),e.jsx("path",{d:"M284.349 239.89C284.589 239.89 284.749 239.728 284.749 239.485C284.749 239.242 284.589 239.08 284.349 239.08C282.089 239.08 272.959 238.269 271.179 238.107L269.479 229.598C276.189 226.762 284.349 224.979 292.269 223.277C297.839 222.062 303.089 220.927 307.699 219.469C307.939 219.387 308.019 219.144 307.939 218.982C304.869 209.015 303.979 204.233 303.009 199.209C302.119 194.59 301.229 189.809 298.649 180.57C298.569 180.327 298.329 180.246 298.159 180.246C297.919 180.327 297.839 180.57 297.839 180.732C300.339 189.89 301.309 194.671 302.199 199.29C303.169 204.314 304.059 209.015 307.049 218.739C302.529 220.117 297.439 221.251 292.099 222.386C284.029 224.088 275.709 225.952 268.839 228.869C268.679 228.95 268.519 229.112 268.599 229.355L270.449 238.512C270.449 238.675 270.619 238.837 270.859 238.837C271.259 238.918 281.839 239.89 284.349 239.89Z",fill:"#2D3962"}),e.jsx("path",{d:"M235.8 140.376C237.9 140.214 238.55 142.402 238.63 137.621C238.63 135.109 239.839 132.191 240.079 130.003C240.169 128.95 239.68 128.383 239.36 128.221C238.79 127.896 238.23 128.221 238.23 128.221C238.07 127.329 236.77 127.491 236.53 127.491C236.05 127.572 235.72 128.058 235.72 128.058C235.72 128.058 235.48 127.41 234.35 127.41C233.62 127.41 233.3 127.653 233.06 128.058C233.06 128.058 231.76 127.734 231.36 128.707C231.12 129.193 230.07 132.272 229.91 137.783C229.83 141.187 231.2 140.619 233.22 140.538L235.8 140.376Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M232.488 134.3C232.728 134.3 232.978 134.057 232.978 133.814C233.058 131.464 233.458 128.547 233.458 128.466C233.457 128.342 233.418 128.221 233.347 128.119C233.275 128.018 233.174 127.941 233.058 127.898C232.808 127.898 232.568 128.061 232.488 128.304C232.488 128.304 232.088 131.302 232.008 133.733C232.008 134.057 232.168 134.3 232.488 134.3ZM234.828 134.219C235.078 134.219 235.318 133.975 235.318 133.732C235.398 131.382 235.958 128.302 235.958 128.302C236.038 128.06 235.878 127.816 235.558 127.735C235.318 127.655 235.078 127.817 234.988 128.141C234.988 128.141 234.348 131.301 234.268 133.732C234.348 133.975 234.588 134.138 234.828 134.219ZM237.258 134.217C237.498 134.217 237.738 133.974 237.738 133.731C237.818 131.381 238.388 128.301 238.468 128.139C238.548 127.896 238.388 127.653 238.148 127.572C237.908 127.491 237.658 127.652 237.578 127.896V127.977C237.578 128.139 236.938 131.219 236.858 133.731C236.768 133.974 236.938 134.217 237.258 134.217Z",fill:"#2D3962"}),e.jsx("path",{d:"M242.114 133.166C243.084 133.895 241.784 135.759 240.574 137.217C240.014 137.947 239.284 138.919 238.714 139.162C237.824 139.568 238.154 136.002 238.154 136.002C238.154 136.002 240.174 131.707 242.114 133.166Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M238.953 135.593C239.123 135.593 239.283 135.512 239.363 135.35C239.363 135.35 240.003 134.053 240.893 133.405C240.945 133.371 240.988 133.325 241.021 133.272C241.053 133.22 241.074 133.16 241.081 133.099C241.089 133.037 241.083 132.975 241.065 132.916C241.046 132.857 241.015 132.802 240.973 132.756C240.94 132.704 240.896 132.66 240.844 132.627C240.792 132.595 240.733 132.574 240.672 132.566C240.611 132.558 240.549 132.564 240.491 132.583C240.432 132.602 240.378 132.633 240.333 132.675C239.283 133.486 238.553 134.863 238.553 134.945C238.473 135.188 238.553 135.431 238.793 135.593H238.953Z",fill:"#2D3962"}),e.jsx("path",{d:"M240.886 139.965C240.646 145.881 244.767 172.867 247.667 172.867C254.377 172.867 272.716 159.496 284.586 153.58L279.746 184.293C274.006 186.724 249.446 198.961 239.836 194.747C221.816 186.886 228.287 138.102 228.287 138.102L240.886 139.965Z",fill:"#F4B04E"}),e.jsx("path",{d:"M265.453 200.098C265.693 200.098 265.853 199.936 265.853 199.693C269.083 170.438 284.763 153.988 284.923 153.826C284.961 153.789 284.991 153.745 285.012 153.696C285.032 153.648 285.043 153.595 285.043 153.542C285.043 153.489 285.032 153.437 285.012 153.388C284.991 153.339 284.961 153.295 284.923 153.258C284.886 153.22 284.842 153.189 284.793 153.168C284.744 153.148 284.691 153.137 284.638 153.137C284.585 153.137 284.532 153.148 284.483 153.168C284.434 153.189 284.39 153.22 284.353 153.258C284.193 153.42 268.363 170.033 265.043 199.612C264.963 199.855 265.133 200.098 265.453 200.098C265.373 200.098 265.373 200.098 265.453 200.098ZM307.613 137.702C307.613 137.702 312.623 137.54 312.783 130.57C312.783 130.57 309.313 131.705 307.853 131.705C307.853 131.705 307.693 137.945 307.613 137.702Z",fill:"#2D3962"}),e.jsx("path",{d:"M272.87 106.906C272.14 109.824 270.85 115.01 270.45 117.927C269.64 123.519 269.07 127.247 269.72 132.838C270.04 135.999 271.09 139.159 273.11 141.753C276.99 146.777 287.66 146.048 287.66 146.048L287.25 152.369C287.25 152.369 297.03 156.421 306.64 152.044L308.01 132.838C308.01 132.838 312.05 132.838 314.56 130.975C316.98 129.192 316.41 121.979 310.76 121.979C305.51 121.979 304.86 122.628 304.86 122.628L299.53 108.446L272.87 106.906Z",fill:"#FFCEAB"}),e.jsx("path",{d:"M311.977 127.409C312.057 127.409 312.217 127.328 312.297 127.247C312.335 127.21 312.366 127.166 312.386 127.117C312.407 127.068 312.418 127.016 312.418 126.963C312.418 126.91 312.407 126.857 312.386 126.808C312.366 126.76 312.335 126.715 312.297 126.679C310.927 125.383 308.177 125.059 308.097 125.059C307.857 125.059 307.697 125.221 307.617 125.383C307.617 125.626 307.777 125.788 307.937 125.869C307.937 125.869 310.517 126.193 311.647 127.328C311.737 127.328 311.897 127.409 311.977 127.409Z",fill:"#2D3962"}),e.jsx("path",{d:"M309.309 129.191C309.469 129.191 309.629 129.111 309.719 128.948C310.039 128.138 310.359 127.165 310.599 126.031C310.679 125.788 310.519 125.544 310.279 125.544C310.039 125.464 309.799 125.626 309.799 125.869C309.549 127.246 309.229 128.138 308.989 128.624C308.909 128.867 308.989 129.11 309.229 129.191H309.309ZM285.559 122.709C285.479 123.438 284.839 124.005 284.029 123.924C283.219 123.844 282.649 123.194 282.739 122.465C282.819 121.736 283.459 121.169 284.269 121.25C285.079 121.33 285.639 121.98 285.559 122.709ZM276.269 122.873C275.709 123.359 274.819 123.278 274.339 122.71C273.849 122.143 273.929 121.333 274.499 120.847C275.059 120.36 275.949 120.441 276.439 121.009C276.919 121.576 276.919 122.467 276.269 122.873ZM280.549 131.625C280.949 131.625 281.439 131.544 281.839 131.463C282.729 131.22 283.539 130.815 284.109 130.247C284.147 130.21 284.177 130.166 284.198 130.117C284.218 130.069 284.229 130.016 284.229 129.964C284.229 129.911 284.218 129.858 284.198 129.81C284.177 129.761 284.147 129.717 284.109 129.68C283.939 129.518 283.699 129.518 283.539 129.68C283.059 130.166 282.409 130.49 281.679 130.734C280.869 130.977 280.069 130.896 279.339 130.653C279.099 130.572 278.849 130.733 278.769 130.896C278.689 131.139 278.849 131.382 279.019 131.463C279.499 131.544 279.989 131.625 280.549 131.625ZM287.579 148.395L297.029 146.045C297.029 146.045 296.869 144.829 296.629 144.91C293.879 145.964 287.739 146.045 287.739 146.045L287.579 148.395ZM282.809 117.12C283.779 116.39 286.289 117.12 286.929 117.525C286.929 117.525 287.419 118.254 286.769 118.902C286.049 119.632 283.699 118.983 282.899 118.902C282.809 118.902 282.729 118.902 282.649 118.822C282.569 118.74 282.569 118.659 282.489 118.578C282.409 118.254 282.329 117.93 282.409 117.687C282.489 117.363 282.649 117.201 282.809 117.12ZM273.439 116.47C274.409 115.742 276.919 116.39 277.559 116.795C277.559 116.795 278.049 117.525 277.479 118.173C276.759 118.902 274.409 118.335 273.609 118.253C273.529 118.253 273.439 118.253 273.359 118.173C273.279 118.092 273.279 118.011 273.199 117.93C273.119 117.605 273.039 117.281 273.039 117.038C273.199 116.795 273.279 116.551 273.439 116.47Z",fill:"#2D3962"}),e.jsx("path",{d:"M313.186 103.099C317.146 109.419 316.337 118.496 314.557 123.439C314.557 123.439 308.826 120.765 304.376 123.52C302.926 124.412 303.486 128.788 299.286 128.382C295.416 127.977 296.946 118.82 297.346 111.445C297.346 111.445 276.996 112.255 273.036 106.907C271.656 105.043 271.496 101.477 275.696 98.1549C281.916 93.3739 310.036 98.0749 313.186 103.099ZM297.026 155.043C298.966 155.043 300.666 154.8 302.036 154.475C305.596 153.584 307.616 152.044 307.696 151.963C307.856 151.801 307.936 151.558 307.776 151.396C307.616 151.234 307.376 151.153 307.206 151.315C307.126 151.396 299.376 157.312 287.256 152.125C287.016 152.044 286.766 152.125 286.686 152.368C286.606 152.612 286.686 152.855 286.936 152.936C290.726 154.475 294.126 155.043 297.026 155.043Z",fill:"#2D3962"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_41078_85488",children:e.jsx("rect",{width:"337",height:"363",fill:"white"})})})]}),exports.ConfigureIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Configure",children:e.jsx(ro,{disabled:t.disabled})})}),exports.ContentBox=hs,exports.CurrentLocationAction=({toolTipLabel:t="Current Location",...r})=>e.jsx(kr.default,{...r,children:e.jsx(wo,{toolTipLabel:t,children:e.jsx(yo,{disabled:r.disabled})})}),exports.CustomEnumFilter=class{filterParams;selectedValue;filterType;type;gui;filterOptions;eFilterType;defaultFilterOptions=[{value:"all",label:"All",filterFunction:()=>!0}];constructor(){this.filterOptions=this.defaultFilterOptions,this.selectedValue="all",this.type="equals"}init(e){this.filterParams=e,e.filterOptions&&e.filterOptions.length>0&&(this.filterOptions=[{value:"all",label:"All",filterFunction:()=>!0},...e.filterOptions]),this.filterType="text",this.selectedValue=this.filterOptions[0]?.value??"all",this.setupGui(),this.setupListeners(e)}setupGui(){this.gui=document.createElement("div"),this.gui.innerHTML=`\n <div class="ag-filter-body-wrapper ag-simple-filter-body-wrapper">\n <div class="ag-picker-field ag-labeled ag-label-align-left ag-select ag-filter-select">\n <select id="filterType" class="ag-wrapper ag-picker-field-wrapper ag-picker-collapsed">\n ${this.filterOptions.map((e=>`<option class="ag-picker-field-display" value="${e.value}">${e.label}</option>`)).join("")}\n </select>\n </div>\n </div>\n `,this.eFilterType=this.gui.querySelector("#filterType"),this.eFilterType.value=this.selectedValue}setupListeners(e){this.eFilterType.addEventListener("change",(t=>{const r=t.target;this.selectedValue=r.value,e.filterChangedCallback()}))}getGui(){return this.gui}doesFilterPass(e){const{node:t}=e,r=this.filterParams.getValue(t),l=r?r.toString().toLowerCase():"";if("all"===this.selectedValue)return!0;const n=this.filterOptions.find((e=>e.value===this.selectedValue));return n?.filterFunction?n.filterFunction(l):l===this.selectedValue.toLowerCase()}isFilterActive(){return"all"!==this.selectedValue}getModel(){return"all"===this.selectedValue?null:{filterType:"client"===this.filterParams.source?"customEnum":"text",filter:this.selectedValue,type:this.type}}setModel(e){e?.filter?(this.selectedValue=e.filter,this.eFilterType&&(this.eFilterType.value=e.filter)):(this.selectedValue="all",this.eFilterType&&(this.eFilterType.value="all"))}},exports.DashboardIconSvg=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M19 1H5C2.243 1 0 3.243 0 6V18C0 20.757 2.243 23 5 23H19C21.757 23 24 20.757 24 18V6C24 3.243 21.757 1 19 1ZM5 3H19C20.654 3 22 4.346 22 6V8H2V6C2 4.346 3.346 3 5 3ZM19 21H5C3.346 21 2 19.654 2 18V10H22V18C22 19.654 20.654 21 19 21ZM3 5.5C3 4.672 3.672 4 4.5 4C5.328 4 6 4.672 6 5.5C6 6.328 5.328 7 4.5 7C3.672 7 3 6.328 3 5.5ZM7 5.5C7 4.672 7.672 4 8.5 4C9.328 4 10 4.672 10 5.5C10 6.328 9.328 7 8.5 7C7.672 7 7 6.328 7 5.5ZM9 16V18C9 18.553 8.552 19 8 19C7.448 19 7 18.553 7 18V16C7 15.447 7.448 15 8 15C8.552 15 9 15.447 9 16ZM13 13V18C13 18.553 12.552 19 12 19C11.448 19 11 18.553 11 18V13C11 12.447 11.448 12 12 12C12.552 12 13 12.447 13 13ZM17 15V18C17 18.553 16.552 19 16 19C15.448 19 15 18.553 15 18V15C15 14.447 15.448 14 16 14C16.552 14 17 14.447 17 15Z",fill:"#5B5B5B"})}),exports.DatePicker=ts,exports.DateRangePicker=ls,exports.DateRangePickerPopUp=hd,exports.DateRangeSelector=function({name:t,watch:r,control:l,setValue:n}){const[i,o]=a.useState(null),[s,d]=a.useState(!1),c=r(t);function u(e){if(!s){const r=p.DateTime.now().minus({days:1+e}).toISODate(),l=p.DateTime.now().minus({days:1}).toISODate();n(t,[r,l]),o(null)}}const h=[{title:"Last 7 days",onClick:()=>u(7)},{title:"Last 14 days",onClick:()=>u(14)},{title:"Last 30 days",onClick:()=>u(30)},{title:"Custom",onClick:()=>d(!0)}];return a.useMemo((()=>{s&&Array.isArray(c)&&n(t,c)}),[s,t]),e.jsxs(Zr.default,{direction:"row",alignItems:"center",children:[e.jsxs(_r.default,{variant:"body2",children:[mi(c[0]??"","dd MMM yyyy")," -",mi(c[1]??"","dd MMM yyyy")]}),e.jsx(kr.default,{component:"div",onClick:function(e){o(e.currentTarget)},children:e.jsx(tl.default,{fontSize:"small"})}),!!i&&e.jsx(rl.default,{open:!0,anchorEl:i,onClose:function(){o(null),d(!1)},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:e.jsx(Zo,{padding:{padding:"2px"},children:s?e.jsx(ls,{name:t,control:l}):h.map((t=>e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start",padding:"5px 16px 5px 10px"},onClick:t.onClick,children:e.jsx(_r.default,{variant:"body1",children:t.title})},t.title)))})})]})},exports.DateTimePicker=function({control:t,defaultValue:r,disabled:l=!1,label:n,readOnly:i=!1,name:o,error:s=!1,helperText:d,loading:c=!1,required:h=!1,clearable:C=!h,rules:x,format:f="dd-MM-yyyy HH:mm",helperIcon:g,toolTipText:m,timeStepsMinutes:b=1,styling:j="custom",navigationKey:y,...w}){const{field:{value:v,onChange:M,...L}}=Ae.useController({name:o,control:t,defaultValue:r,rules:x}),[k,S]=a.useState(!1),{navigationKey:H}=gi(),Z=y??H,{setInputRef:V,maintainFocus:A,maintainFocusAfterClose:D,handleKeyDown:B,handleEnterNavigation:I}=Zi({isOpen:k,navigationKey:Z});s&&v&&"object"==typeof v&&(d="Invalid time");const R=u.useTheme(),{iron:T,butterflyBlue:E,mirage:F}=R.palette.app.color,P=v?p.DateTime.fromISO(v):null;return c?e.jsx(Br.default,{sx:{width:"350px"},children:e.jsx(ns,{label:n,styling:j})}):e.jsxs(Zr.default,{gap:"5px",children:[n&&"custom"===j&&e.jsxs(Zr.default,{alignItems:"center",flexDirection:"row",gap:"5px",children:[n&&e.jsx(Tl.default,{required:h,disabled:l,children:n}),g&&m&&e.jsx(Pr.default,{title:m,placement:"bottom",children:g})]}),e.jsx(Ke.DateTimePicker,{...L,...w,disabled:l,readOnly:i,open:k,ampm:!1,value:P,timeSteps:{minutes:b},format:f,onOpen:()=>{S(!0)},onClose:()=>{S(!1),D()},slotProps:{field:{inputRef:V,clearable:C,onClear:()=>{M(null)}},clearButton:{tabIndex:C?0:-1,onKeyDown:e=>{"enter"===Z&&"Enter"===e.key&&I(e)}},textField:{disabled:l,helperText:d,error:s,label:"default"===j?n:void 0,required:"default"===j?h:void 0,inputRef:V,InputProps:{endAdornment:e.jsx(Mo,{showTooltip:!1,disabled:l,onClick:()=>S(!0),onKeyDown:e=>{"enter"===Z&&"Enter"===e.key&&I(e)}}),sx:{"& .MuiInputAdornment-root":{width:"30px"}}},sx:Oa(j),InputLabelProps:_a(j),onKeyDown:e=>{B(e,(()=>{S(!1)}),k),"Backspace"===e.key&&C&&M(null)}},popper:{sx:{"& .MuiMultiSectionDigitalClockSection-root::after":{display:"unset"},"& .MuiList-padding":{padding:"10px"},"& .MuiMultiSectionDigitalClockSection-item:not(.Mui-selected)":{padding:"4px",...is(E[900])},"& .MuiMultiSectionDigitalClockSection-item":{padding:"4px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected":{backgroundColor:E[900],borderRadius:"5px","&:hover":{backgroundColor:E[900],color:T[600]}},"& .Mui-selected:hover":{backgroundColor:E[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:focus-visible":{backgroundColor:`${E[900]} !important`,borderRadius:"5px"},"& .Mui-selected:focus-visible":{backgroundColor:E[900],borderRadius:"5px"}}},day:{sx:{"&.MuiPickersDay-root":{borderRadius:"5px",borderColor:E[900],fontWeight:500,color:F[900]},"&.MuiPickersDay-root.Mui-selected":{backgroundColor:E[900],color:T[600]},"&.MuiPickersDay-root:not(.Mui-selected)":{...is(E[900])},"&.MuiPickersDay-today":{color:E[900],backgroundColor:T[600]},":focus":{backgroundColor:"transparent"}}},calendarHeader:{sx:{"& .MuiPickersCalendarHeader-label":{fontWeight:"500",...is(E[900])}}},yearButton:{sx:{"&.MuiPickersYear-yearButton.Mui-selected":{backgroundColor:E[900],borderRadius:"25px"},"&.MuiPickersYear-yearButton:not(.Mui-selected)":{...is(E[900]),borderRadius:"25px"}}}},slots:{leftArrowIcon:os,rightArrowIcon:as,switchViewIcon:()=>null},shouldDisableTime:()=>!P,onChange:e=>{if(e?.isValid)return M(e.toUTC().toISO()),void A();M(e),A()}})]})},exports.DecimalTextField=function({control:t,name:r,decimalScale:l,returnDecimalScale:n,defaultFallbackValue:i,min:o,max:s,defaultValue:d,label:c="",required:u,disabled:p,loading:h=!1,placeholder:C="",containerProps:x,styling:f="custom",infoMessage:g,customOnChange:m,navigationKey:b,rules:j,...y}){const w=a.useMemo((()=>{const e={...j};return e.validate=e=>{const t=void 0===e||null==e;return u&&t?"This field is required":!!t||(isNaN(e)?"Please enter a valid number":void 0!==o&&e<o?`Value must be at least ${o}`:!(void 0!==s&&e>s)||`Value must be at most ${s}`)},e}),[u,o,s,j]),{field:{value:v,onChange:M,onBlur:L,ref:k},fieldState:{error:S}}=Ae.useController({name:r,control:t,rules:w,defaultValue:d}),{navigationKey:H}=gi(),Z=b??H,{inputRef:V,maintainFocus:A,handleKeyDown:D}=Zi({navigationKey:Z}),B=a.useRef(null),I=a.useRef(""),R=e=>{if(""===e)return;const t=Number(e);return isNaN(t)?void 0:t},T=void 0===n,E=a.useCallback((e=>{if(T||""===e)return e;const t=e.indexOf(".");if(-1===t)return e;const r=e.substring(0,t),l=e.substring(t+1);if(l.length<=n)return e;return`${r}.${l.substring(0,n)}`}),[n]),F=a.useCallback((e=>{if(void 0===e||null==e||""===e)return;if(T)return"string"==typeof e?R(e):e;const t="string"==typeof e?e:e.toString(),r=E(t);return R(r)}),[n,E]),P=a.useCallback((e=>{const t=e.value;I.current=t;const r=R(t);M(r);const l=T?r:F(t);m?.(l),A()}),[M,m,A,F,n]),_=a.useCallback((e=>void 0!==e&&!isNaN(e)&&((void 0===o||e>=o)&&(void 0===s||e<=s))),[o,s]),O=a.useCallback((e=>{const t=I.current||"";let r;if(r=t?R(t):"number"==typeof v?v:void 0,S&&void 0!==r&&!_(r)){let e;e=void 0!==i&&_(i)?i:void 0!==o?o:void 0!==s&&r>s?s:i??0,M(e)}I.current="",L(),y.onBlur?.(e)}),[v,S,o,s,i,_,M,L,y,n,F]),z=a.useCallback((e=>{D(e,void 0,!1),y.onKeyDown?.(e)}),[D,y]),W=a.useCallback((e=>{B.current=e,V.current=e,"function"==typeof k?k(e):k&&(k.current=e)}),[k,V]),$=a.useMemo((()=>"number"!=typeof v?"":v),[v]);return h?e.jsx(ss,{label:c,styling:f}):e.jsxs(Zr.default,{...x,gap:"5px",children:[c&&"custom"===f&&e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"4px",children:[e.jsx(Tl.default,{required:u,disabled:p,children:c}),g&&e.jsx(wo,{toolTipLabel:g,children:e.jsx(Jl.default,{sx:{fontSize:13}})})]}),e.jsx(Ge.NumericFormat,{customInput:El.default,...y,value:$,decimalScale:l,fixedDecimalScale:void 0===n||n===l,allowNegative:!1,thousandSeparator:!1,disabled:p,required:u,fullWidth:!0,name:r,error:Boolean(S),helperText:S?.message,placeholder:"default"===f?C:C||c,label:"default"===f?c:void 0,sx:Oa(f),InputLabelProps:_a(f),onValueChange:P,onBlur:O,onKeyDown:z,inputMode:"decimal",getInputRef:W})]})},exports.DeleteDialog=({title:t,open:r,isDeleteLoading:l,onDelete:n,onClose:i})=>(Ai({key:"escape",withoutModifiers:!0,onTrigger:()=>{i()}}),e.jsx(ys,{isDeleteDialog:!0,maxWidth:"xs",isHideCloseIcon:!0,isHideDividers:!0,open:r,actions:e.jsxs(ps,{children:[e.jsx(Ni,{disabled:l,onClick:i,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:n,color:"error",loading:l,children:"Delete"})]}),children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(dn.default,{color:"error",sx:{mt:"1px"}}),e.jsx(_r.default,{variant:"subtitle1",fontWeight:700,children:t})]})})),exports.DeleteIconAction=Lo,exports.Dialog=ys,exports.DownloadAction=Ms,exports.DownloadIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Download",children:e.jsx(no,{disabled:t.disabled})})}),exports.DownloadPrintAction=ko,exports.DownloadSvg=Yi,exports.Drawer=({menuItems:t=[],open:r,currentPathname:l})=>{const[n,i]=a.useState(null),o=()=>{i(null)},{layout:s}=Vi(),d="desktop"===s;return e.jsxs(od,{variant:"permanent",open:r,children:[e.jsxs(Br.default,{textAlign:"center",children:[d&&e.jsx(Zo,{padding:{paddingTop:"1.5rem"},children:r?e.jsx(bo,{}):e.jsx(jo,{})}),!d&&e.jsx(Zo,{padding:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},children:e.jsx(jo,{})})]}),d&&e.jsx(Pn.default,{component:"nav",onMouseLeave:o,children:r?e.jsx(pd,{menuItems:t,currentPathname:l}):e.jsx(id,{menuItems:t,currentPathname:l,anchorEl:n,setAnchorEl:i})}),!d&&e.jsx(Gr.default,{onClickAway:o,children:e.jsx(Pn.default,{component:"nav",onMouseLeave:o,children:e.jsx(id,{menuItems:t,currentPathname:l,anchorEl:n,setAnchorEl:i})})})]})},exports.EditIconAction=So,exports.EmployeeManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78107)"}),e.jsxs("g",{clipPath:"url(#clip0_42040_78107)",children:[e.jsx("path",{d:"M13 13C15.2091 13 17 11.2091 17 9C17 6.79086 15.2091 5 13 5C10.7909 5 9 6.79086 9 9C9 11.2091 10.7909 13 13 13Z",fill:"white"}),e.jsx("path",{d:"M13 14.3359C9.68781 14.3396 7.00369 17.0238 7 20.3359C7 20.7041 7.29847 21.0026 7.66666 21.0026H18.3333C18.7015 21.0026 19 20.7041 19 20.3359C18.9963 17.0238 16.3122 14.3396 13 14.3359Z",fill:"white"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78107",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78107",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.EmployeeReportsDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78156)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78156)",children:e.jsx("path",{d:"M15.0006 20.9983C15.0006 21.0043 15.0006 21.0096 15.0006 21.0156H10.9999C10.9999 21.0096 10.9999 21.0043 10.9999 20.9983C10.9999 19.8956 11.8972 18.9983 12.9999 18.9983C14.1026 18.9983 14.9999 19.8956 14.9999 20.9983H15.0006ZM14.9493 10.349H19.3092C19.0779 9.74029 18.7226 9.18029 18.2486 8.70629L15.9259 6.38229C15.4513 5.90829 14.8913 5.55296 14.2826 5.32229V9.68229C14.2826 10.0496 14.5813 10.349 14.9493 10.349ZM19.6159 12.0056V17.6823C19.6159 19.503 18.1479 20.9876 16.3333 21.015C16.3333 21.0096 16.3333 21.0043 16.3333 20.9983C16.3333 19.1603 14.8379 17.665 12.9999 17.665C11.1619 17.665 9.66658 19.1603 9.66658 20.9983C9.66658 21.0043 9.66658 21.0096 9.66658 21.0156H9.61458C7.77658 21.0156 6.28125 19.5203 6.28125 17.6823V8.34896C6.28258 6.51096 7.77792 5.01562 9.61592 5.01562H12.6259C12.7346 5.01562 12.8419 5.02429 12.9493 5.03163V9.68229C12.9493 10.785 13.8466 11.6823 14.9493 11.6823H19.5999C19.6073 11.7896 19.6159 11.897 19.6159 12.0056ZM15.3339 14.665C15.3339 13.3783 14.2873 12.3316 13.0006 12.3316C11.7139 12.3316 10.6673 13.3783 10.6673 14.665C10.6673 15.9516 11.7139 16.9983 13.0006 16.9983C14.2873 16.9983 15.3339 15.9516 15.3339 14.665ZM13.0006 13.665C12.4493 13.665 12.0006 14.1136 12.0006 14.665C12.0006 15.2163 12.4493 15.665 13.0006 15.665C13.5519 15.665 14.0006 15.2163 14.0006 14.665C14.0006 14.1136 13.5519 13.665 13.0006 13.665Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78156",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78156",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.ExitIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M7.65019 3.95834H6.86686C5.02053 3.95834 4.09736 3.95834 3.52378 4.53193C2.9502 5.10551 2.9502 6.02868 2.9502 7.87501V11.7917C2.9502 13.638 2.9502 14.5612 3.52378 15.1348C4.09736 15.7083 5.02053 15.7083 6.86686 15.7083H7.65019",stroke:"#141A2A",strokeWidth:"1.175"}),e.jsx("path",{d:"M7.65039 5.50652C7.65039 3.7097 7.65039 2.81129 8.2044 2.32015C8.75842 1.829 9.60522 1.9767 11.2988 2.27209L13.1231 2.59027C14.9987 2.91742 15.9366 3.081 16.4935 3.76897C17.0504 4.45694 17.0504 5.45193 17.0504 7.4419V12.2248C17.0504 14.2147 17.0504 15.2097 16.4935 15.8977C15.9366 16.5857 14.9987 16.7492 13.1231 17.0764L11.2988 17.3946C9.60522 17.69 8.75842 17.8377 8.2044 17.3465C7.65039 16.8554 7.65039 15.957 7.65039 14.1601V5.50652Z",stroke:"#141A2A",strokeWidth:"1.175"}),e.jsx("path",{d:"M10 9.04999V10.6167",stroke:"#141A2A",strokeWidth:"1.175",strokeLinecap:"round"})]}),exports.ExportIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Export",children:e.jsx(oo,{disabled:t.disabled})})}),exports.FacebookCircularProgress=Io,exports.FileNames=({fileNames:t,previewEnabled:r=!1,onDelete:l})=>{const[n,i]=a.useState(),{openedDialog:o,onDialogClose:s,onDialogOpen:d}=Hi(),c=a.useMemo((()=>t&&Array.isArray(t)?t.map((e=>Cn.default(hn.default(fn.default(xn.default(fn.default(e,"/")),"_")),"_"))):[]),[t]),u={viewAttachment:n&&e.jsx(Ls,{open:"viewAttachment"===o,onClose:s,fileName:n})};return e.jsxs(Zr.default,{gap:"5px",maxHeight:"120px",overflow:"auto",children:[c.map(((n,o)=>e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsxs(Zr.default,{direction:"row",gap:"5x",alignItems:"center",maxWidth:"80%",overflow:"hidden",children:[e.jsx(cn.default,{}),e.jsx(_r.default,{maxWidth:"100%",textOverflow:"clip",children:n})]}),e.jsxs(Zr.default,{direction:"row",children:[r&&e.jsx(kr.default,{onClick:()=>t[o]&&(e=>{i(e),d("viewAttachment")})(t[o]),children:e.jsx(wo,{toolTipLabel:"Preview",children:e.jsx(pn.default,{})})}),e.jsx(kr.default,{onClick:()=>l(o),children:e.jsx(wo,{toolTipLabel:"Delete",children:e.jsx(un.default,{})})})]})]},X.v4()))),o&&u[o]]})},exports.FilePreview=js,exports.FilePreviewContainer=us,exports.FileUpload=function({loading:t=!1,onChange:r,isDisabled:l,multiple:n=!1,required:i=!1,error:o,helperText:s,label:d,fileNames:c,size:p=10,name:h,setError:C,accept:x=vi,acceptTitle:f="Only JPG, PNG, PDF files are accepted.",...g}){const m=u.useTheme(),{red:b,iron:j,black:y,butterflyBlue:w}=m.palette.app.color,{t:v}=De.useTranslation(),{inputRef:M,setInputRef:L}=Zi({navigationKey:"tab"}),k=a.useRef(0),S=a.useRef(null),H=a.useRef(null),Z=a.useRef(0),V=a.useRef(0),[A,D]=a.useState(0),B=e=>{const t=e.reduce(((e,t)=>{const{name:r}=t;return Mi(t,p)?x.length&&!Li(t,x)?(e.errors.push(v("fileUpload.fileType.error.message",{fileName:r})),e):(e.validFiles.push(t),e):(e.errors.push(v("fileUpload.fileSize.error.message",{fileName:r,fileSize:p})),e)}),{validFiles:[],errors:[]}),{errors:l,validFiles:n}=t;l.length&&qr.default(C)?C(h,{type:Zs,message:l.join("\n")}):n.length&&r(n)},I=e=>{gn.default(H.current)&&(H.current=e);const t=Math.min(e-H.current,220),r=(l=t/220,1-Math.pow(1-l,3));var l;const n=Z.current+(V.current-Z.current)*r;D(Number(n.toFixed(3))),t<220?S.current=requestAnimationFrame(I):(D(V.current),H.current=null,S.current=null)},R=e=>{const t=Math.max(0,Math.min(1,e));S.current&&(cancelAnimationFrame(S.current),S.current=null),Z.current=A,V.current=t,H.current=null,S.current=requestAnimationFrame(I)};if(a.useEffect((()=>()=>{S.current&&(cancelAnimationFrame(S.current),S.current=null)}),[]),t)return e.jsx(Hs,{});const T=.08+.12*A,E=1+.02*A;return e.jsxs(Zr.default,{gap:"5px",children:[e.jsx(Tl.default,{disabled:l,required:i,children:d}),e.jsx(ks,{onClick:()=>M.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),M.current?.click())},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),l||(k.current+=1,k.current&&R(1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation(),l||e.dataTransfer&&(e.dataTransfer.dropEffect="copy")},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),l||(k.current-=1,k.current<=0&&(k.current=0,R(0)))},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),l)return;k.current=0,R(0);const t=e.dataTransfer;if(!t)return;const{files:r}=t;if(!r?.length)return;const n=Array.from(r);B(n)},error:o,disabled:l,tabIndex:l?-1:0,role:"button","aria-label":d??"Upload files",sx:{transform:`scale(${E})`,transition:"transform 30ms linear",boxShadow:`0 0px ${12*A}px ${u.alpha(y[900],T)}`,cursor:l?"not-allowed":"pointer","&:focus-visible":{outline:`2px solid ${w[900]}`,outlineOffset:"2px"}},...g,children:e.jsx(Zo,{padding:{padding:"20px"},children:e.jsxs(Zr.default,{gap:"4px",alignItems:"center",justifyContent:"center",children:[e.jsx(Ss,{disabled:l,type:"file",accept:x.toString(),ref:L,onChange:e=>{const t=e.target.files;t&&(B(Array.from(t)),e.target.value="")},multiple:n}),e.jsx(io,{disabled:l}),e.jsx(_r.default,{color:l?j[800]:"revert-layer",children:"Drag & drop files or Browse"}),e.jsx(_r.default,{variant:"caption",color:l?j[800]:"revert-layer",children:f})]})})}),o&&e.jsx(_r.default,{variant:"caption",sx:{color:`${b[900]}`,whiteSpace:"pre",textWrap:"wrap"},children:s}),c]})},exports.FilterIconAction=Ho,exports.FilterList=({filterListItems:t})=>{const[r,l]=a.useState(null),n=a.useRef(null),[i,o]=a.useState(!1),[s,d]=a.useState(),[c,u]=a.useState(null),{control:p,handleSubmit:h,setValue:C,reset:x,formState:{errors:f},watch:g}=Ae.useForm(),m=()=>{l(null)},b=e=>{o(!1),u(null),m();const r=bd(e,t);d(r)},j=e=>{o(!0),l(null),u(e)},y=e=>t.find((t=>t.key===e)),w=c?.key?g(c.key):null,v=Boolean(r);return e.jsxs(Zr.default,{children:[e.jsxs(Zr.default,{direction:"row",spacing:1,alignItems:"center",children:[s&&(M=s,Object.entries(M).map((([t,r])=>{if(!r)return;const l=y(t),i=l&&md(r,l);return e.jsx(oa,{ref:n,label:e.jsx(wo,{toolTipLabel:`${i}`,children:`${l?.label}: ${i}`}),onDelete:()=>(e=>{C(`${e}`,null),d((t=>{const r={...t};return delete r[e],r}))})(t),onClick:e=>{o(!0),n.current=e.currentTarget;const r=y(t);r&&(u(r),j(r))}},t)}))),e.jsx(kr.default,{ref:n,onClick:e=>{l(e.currentTarget)},sx:{height:"40px"},children:e.jsx(so,{})}),e.jsx(Ni,{onClick:()=>(x(),void d(void 0)),variant:"text",children:"Clear Filter"})]}),e.jsx(Cd,{open:v,anchorEl:r,onClose:m,onApply:()=>{h(b)()},children:t.map((t=>e.jsx(Br.default,{onClick:()=>"switch"!==t.type&&j(t),children:e.jsx(jd,{filter:t,control:p})},t.key)))}),c&&"switch"!==c.type&&e.jsx(fd,{open:i,onClose:()=>{o(!1)},onApply:()=>{h(b)()},control:p,currentFilterValue:w,anchorEl:n.current,filterItem:c,errors:f})]});var M},exports.FilterListV2=({filterListItems:t,isDisabled:r=!1,filterListData:l,onApply:n,onClear:i,onChange:o})=>{const s=u.useTheme(),{iron:d,slate:c}=s.palette.app.color,{layout:h}=Vi(),C="desktop"===h,x="mobile"===h,[f,g]=a.useState(null),m=a.useRef(null),b=a.useRef(null),[j,y]=a.useState(!1),[w,v]=a.useState(!1),[M,L]=a.useState(null),k=a.useRef(null),[S,H]=a.useState(!1),[Z,V]=a.useState(null),A=a.useRef({}),D=a.useMemo((()=>t.reduce(((e,t)=>("autoComplete"===t.type&&t.required&&1===t.options?.length?e[t.key]=t.options[0]?.value:t.multiSelect||"dateRange"===t.type?e[t.key]=t.value||null:"switch"===t.type?e[t.key]=t.value||!1:t.isDefaultCurrentDate&&"date"===t.type?e[t.key]=t.value||p.DateTime.now().toISODate():e[t.key]=t.value||null,e)),{})),[l]),B=Xt.z.object((()=>{const e={};return t.forEach((t=>{t.multiSelect||"dateRange"===t.type?e[t.key]=Xt.z.array(Xt.z.string()).nullable().optional():"switch"===t.type?e[t.key]=Xt.z.boolean().nullable().optional():e[t.key]=Xt.z.string().nullable().optional()})),e})()).superRefine(((e,r)=>{t.forEach((t=>{t.required&&!e[t.key]?.length&&r.addIssue({path:[t.key],message:`${t.label} is required`,code:Xt.z.ZodIssueCode.custom})}))})),{control:I,handleSubmit:R,setValue:T,reset:E,getValues:F,formState:{errors:P,dirtyFields:_},watch:O}=Ae.useForm({values:D,resolver:$t.zodResolver(B),mode:"all"});a.useMemo((()=>{t&&0!==t.length&&t.forEach((e=>{if(e.required&&1===e.options?.length){F(e.key)||T(e.key,e.options[0]?.value)}}))}),[t]);const z=O("company_id"),W=O("business_unit_id"),$=O("department_id"),q=()=>{g(null)},K=()=>{E(),i(),q()},N=e=>{const t=e instanceof HTMLElement?e:e.currentTarget;g(t)},G=e=>{y(!1),L(null);const r=Yn.default(bd(e,t),(e=>Un.default(e)||Or.default(e)));n(r,j,M?.key),q()},U=e=>t.find((t=>t.key===e)),Y=Ae.useWatch({control:I}),X=M?.key?"switch"===M.key?O(M.key)?"true":"false":O(M.key):null;a.useEffect((()=>{o(Y,j)}),[Y,o]),a.useEffect((()=>{E(D)}),[D,E]),a.useMemo((()=>{z===l?.company_id||j||(t.forEach((e=>{e.isDefaultCurrentDate&&"date"===e.type||T(`${e.key}`,null)})),T("company_id",z))}),[z]),a.useMemo((()=>{Gn.default(W,l?.business_unit_id)||j||T("business_unit_location_id",null)}),[W]),a.useMemo((()=>{Gn.default($,l?.department_id)||j||T("sub_department_id",null)}),[$]);const J=Boolean(f),Q=a.useMemo((()=>0===Object.keys(_).length&&Object.keys(Y).every((e=>Un.default(Y[e])||Or.default(Y[e])))),[Y,_]);const ee=(e,r)=>{if("company_id"===e&&t?.some((({required:e})=>e)))return;y(!0),m.current=r.currentTarget;const l=U(e);l&&L(l)};Ai({key:"f",modifierKeys:["ctrl","shift"],onTrigger:()=>{if(r)return;const e=k.current??document.createElement("button");N(e)}});const te=t.findIndex((({type:e})=>"switch"!==e&&"dateRange"!==e));return e.jsxs(Br.default,{sx:{flexGrow:1},children:[e.jsxs(Zr.default,{direction:"row",justifyContent:{xs:"end",md:"space-between"},spacing:1,children:[C&&e.jsx(Zr.default,{direction:"row",alignItems:"center",sx:{maxWidth:{xs:"40vw",md:"45vw",lg:"57vw"}},children:l&&Object.values(l).some((e=>e))&&e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"body1",sx:{minWidth:"50px",marginRight:"5px"},children:"Filters:"}),e.jsx(Zr.default,{direction:"row",gap:"5px",alignItems:"center",sx:{flexWrap:"wrap",maxWidth:"100%"},children:(re=l,Object.entries(re).map((([t,r],i)=>{if("boolean"!=typeof r&&!r)return;const o=U(t),a=o&&md(r,o),s=function(e){return Array.isArray(e)?e.join(", "):Di.test(e)?p.DateTime.fromFormat(e,"yyyy-MM").toFormat("MMM yyyy"):Bi.test(e)?p.DateTime.fromFormat(e,"yyyy-MM-dd").toFormat("dd-MM-yyyy"):e}("object"==typeof a?JSON.stringify(a):String(a));if("boolean"!=typeof r&&!s)return;const d=Z===t;return e.jsx(oa,{ref:e=>{A.current[t]=e,0!==i||Z||(m.current=e)},label:e.jsx(wo,{toolTipLabel:`${s}`,children:`${o?.label}: ${s}`}),onDelete:()=>(e=>{const t=U(e);if(t?.required)return Ea.error({title:"This is a required custom filter field and cannot be removed."});T(`${e}`,null);const r={...l};delete r[e],n(r,!0,e)})(t),onClick:e=>{ee(t,e)},isFocused:d,onKeyDown:e=>((e,t)=>{if("Enter"===t.key||" "===t.key){t.preventDefault();const r=A.current[e];r&&ee(e,{currentTarget:r})}else if("ArrowRight"===t.key||"ArrowLeft"===t.key){t.preventDefault();const r=Object.keys(l||{}).filter((e=>l?.[e])),n=r.indexOf(e),i=r["ArrowRight"===t.key?(n+1)%r.length:(n-1+r.length)%r.length];i&&A.current[i]&&(A.current[i]?.focus(),V(i))}})(t,e),onFocus:()=>V(t),onBlur:()=>{setTimeout((()=>{Object.values(A.current).some((e=>e===document.activeElement))||V(null)}),0)},tabIndex:0},t)})))})]})}),e.jsxs(Zr.default,{direction:"row",alignItems:"flex-start",children:[l&&Object.values(l).some((e=>e))&&e.jsx(Ni,{onClick:()=>K(),variant:"text",sx:{minWidth:{xs:"60px",sm:"100px"}},children:x?"Clear":"Clear Filter"}),!r&&e.jsx(Ho,{isFiltered:!Or.default(l),onClick:N,ref:k})]})]}),e.jsx("form",{onSubmit:e=>{e.preventDefault(),Q||R((e=>{G(e)}))()},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),S||Q||R((e=>{G(e)}))())},children:e.jsxs(On.default,{open:J,onClose:(e,t)=>{"backdropClick"!==t&&q()},anchor:"right",sx:{zIndex:s.zIndex.drawer+2,"& .MuiPaper-root":{width:"100%",maxWidth:{xs:"270px",sm:"350px"}}},children:[e.jsxs(Zr.default,{sx:{background:d[600]},children:[e.jsx(Zo,{padding:{padding:"10px 30px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",width:"100%",alignItems:"center",children:[e.jsx(_r.default,{variant:"h6",children:"Filter"}),e.jsx(kr.default,{onClick:()=>{E(),q()},children:e.jsx(fl.default,{})})]})}),e.jsx($r.default,{sx:{width:"100%"}})]}),e.jsx(Zr.default,{flexGrow:1,sx:{overflowX:"hidden"},children:t.map(((t,r)=>"switch"===t.type?e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"80%",sx:{padding:"10px 5px 10px 20px ",margin:"auto"},children:[e.jsx(_r.default,{variant:"body2",children:t.label}),e.jsx(Ks,{control:I,name:t.key})]},t.key):e.jsxs(qn.default,{defaultExpanded:r===te||!!l?.[t.key]||!!D?.[t.key]||t.required,disabled:t.isDisabled,sx:{boxShadow:"none","&.MuiAccordion-root.Mui-expanded":{margin:"0 !important"},"&.MuiAccordion-root.Mui-disabled":{backgroundColor:"transparent"}},children:[e.jsx(Nn.default,{expandIcon:e.jsx($n.default,{}),"aria-controls":"panel1a-content",id:"panel1a-header",sx:{flexDirection:"row-reverse","& MuiAccordionSummary-root.Mui-expanded":{marginRight:"10px",transform:"rotate(-90deg)"},"&.Mui-expanded":{minHeight:"40px",paddingY:"5px"},"& .MuiAccordionSummary-content.Mui-expanded":{margin:"0px"}},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"90%",children:[e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"5px",children:[e.jsx(_r.default,{variant:"body2",children:t.label}),t.required&&e.jsx(_r.default,{color:"error",children:"*"})]}),e.jsx(_r.default,{variant:"body2",children:t.menuInfo})]})}),e.jsx(Kn.default,{sx:{background:c[600],borderRadius:"5px",padding:"0px"},children:e.jsx(Zo,{padding:{paddingLeft:"15px",paddingY:"5px",paddingRight:"15px"},children:"dateRange"===t.type?e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:"10px",onClick:e=>{(e=>{L(e),v(!0)})(t),b.current=e.currentTarget},children:[e.jsx(Br.default,{sx:{border:"1px solid black",borderRadius:"5px",width:"150px",p:1},children:e.jsx(_r.default,{variant:"body2",children:Array.isArray(O(t.key))&&O(t.key)[0]?p.DateTime.fromISO(O(t.key)[0]).toFormat(Ja.dateWithEuropean):"Start Date"})}),e.jsx(_r.default,{children:"~"}),e.jsx(Br.default,{sx:{border:"1px solid black",borderRadius:"5px",width:"150px",p:1},children:e.jsx(_r.default,{variant:"body2",children:Array.isArray(O(t.key))&&O(t.key)[1]?p.DateTime.fromISO(O(t.key)[1]).toFormat(Ja.dateWithEuropean):"End Date"})})]}):e.jsx(Br.default,{children:xd({selectedFilter:t,control:I,errors:P,setIsPopupOpen:H,autoFocus:r===te})[t.type]})})})]},t.key)))}),e.jsx($r.default,{}),e.jsx(Zr.default,{children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsxs(ps,{children:[e.jsx(Ni,{type:"submit",disabled:Q,variant:"contained",onClick:()=>{R(G)()},children:"Apply"}),e.jsx(Ni,{type:"button",onClick:()=>K(),disabled:Object.keys(Y).every((e=>!Y[e])),variant:"outlined",children:"Reset"})]})})})]})}),M&&e.jsx(fd,{open:j,onClose:()=>{M?.key&&T(`${M?.key}`,l?.[M.key]),y(!1)},onApply:()=>{R(G)()},control:I,errors:P,reset:E,anchorEl:m.current,filterItem:M,currentFilterValue:X}),M&&e.jsx(gd,{open:w,onClose:()=>{M?.key&&T(`${M?.key}`,l?.[M.key]),v(!1)},onApply:()=>{v(!1)},control:I,errors:P,anchorEl:b.current,filterItem:M})]});var re},exports.FilterPill=oa,exports.FilterPopUpDateRangeWrapper=gd,exports.FilterPopup=Cd,exports.FilterPopupWrapper=fd,exports.FilterTypeWrapper=jd,exports.FormAction=function(t){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:109,height:112,fill:"none",...t,children:[e.jsx("path",{fill:"#FAFAFA",d:"M54.398 109.217c29.943 0 54.216-24.274 54.216-54.217 0-29.943-24.273-54.217-54.217-54.217C24.454.783.181 25.057.181 55c0 29.943 24.273 54.217 54.217 54.217Z"}),e.jsxs("g",{filter:"url(#a)",children:[e.jsx("mask",{id:"c",width:109,height:110,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:e.jsx("path",{fill:"url(#b)",d:"M54.398 109.217c29.943 0 54.216-24.274 54.216-54.217 0-29.943-24.273-54.217-54.217-54.217C24.454.783.181 25.057.181 55c0 29.943 24.273 54.217 54.217 54.217Z"})}),e.jsx("g",{mask:"url(#c)",children:e.jsx("path",{fill:"#fff",d:"M85.481 31.867H23.313a3.615 3.615 0 0 0-3.615 3.615v75.904A3.614 3.614 0 0 0 23.313 115H85.48a3.614 3.614 0 0 0 3.615-3.614V35.482a3.614 3.614 0 0 0-3.615-3.615Z"})})]}),e.jsx("path",{fill:"#D4F6CF",d:"M47.892 39.096H29.096a2.169 2.169 0 0 0 0 4.338h18.796a2.169 2.169 0 0 0 0-4.338ZM47.892 69.458H29.096a2.169 2.169 0 0 0 0 4.337h18.796a2.169 2.169 0 0 0 0-4.337Z"}),e.jsx("path",{stroke:"#40A230",strokeWidth:1.446,d:"M78.253 49.94H30.542a2.892 2.892 0 0 0-2.892 2.892v7.228a2.892 2.892 0 0 0 2.892 2.892h47.71a2.892 2.892 0 0 0 2.892-2.892v-7.229a2.892 2.892 0 0 0-2.891-2.891Z"}),e.jsx("path",{fill:"#89D07E",d:"M78.253 79.578h-47.71a3.614 3.614 0 0 0-3.615 3.615v5.783a3.614 3.614 0 0 0 3.614 3.614h47.711a3.614 3.614 0 0 0 3.615-3.614v-5.783a3.614 3.614 0 0 0-3.615-3.615Z"}),e.jsx("path",{fill:"#F1FDEF",d:"M38.494 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#40A230",d:"M54.397 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#F1FDEF",d:"M70.302 23.916a2.892 2.892 0 1 0 0-5.783 2.892 2.892 0 0 0 0 5.783Z"}),e.jsx("path",{fill:"#89D07E",d:"M62.35 64.398a3.614 3.614 0 1 0 0-7.23 3.614 3.614 0 0 0 0 7.23Z"}),e.jsx("path",{fill:"#40A230",stroke:"#fff",strokeWidth:.723,d:"M65.174 76.231c-.578 0-1.118 0-1.61-.03a3.3 3.3 0 0 1-2.807-1.988l-3.05-6.027a1.302 1.302 0 0 1 .131-1.829c.212-.17.477-.262.748-.26a1.385 1.385 0 0 1 1.04.517l1.384 1.89.021.025v-7.182a1.343 1.343 0 1 1 2.687 0v4.699a1.25 1.25 0 1 1 2.49 0v.98a1.25 1.25 0 1 1 2.49 0v.754a1.25 1.25 0 1 1 2.49 0v4.58c-.025 1.41-.662 3.785-2.903 3.785-.162.008-1.54.087-3.108.087h-.003Z"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"b",x1:54.398,x2:54.398,y1:.783,y2:109.217,gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#E3ECFA"}),e.jsx("stop",{offset:1,stopColor:"#DAE7FF"})]}),e.jsxs("filter",{id:"a",width:78.072,height:86.024,x:15.361,y:25.361,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[e.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),e.jsx("feOffset",{dy:-2.169}),e.jsx("feGaussianBlur",{stdDeviation:2.169}),e.jsx("feColorMatrix",{values:"0 0 0 0 0.788235 0 0 0 0 0.803922 0 0 0 0 0.85098 0 0 0 0.349 0"}),e.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_6149_10054"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_6149_10054",result:"shape"})]})]})]})},exports.FormActionButton=({actionType:t,onClick:r,shortcutKey:l,label:n,withoutModifiers:i=!1,loading:o=!1,disabled:a=!1,disableKeyboardShortcut:s=!1,variant:d="contained",...c})=>(Ai({key:"cancel"==t?"Escape":l||"s",enabled:!s&&!o&&!a,withoutModifiers:"cancel"==t||i,modifierKeys:"cancel"!=t?["ctrl","shift"]:void 0,onTrigger:()=>{a||o||r()}}),e.jsx(Ni,{onClick:r,variant:"cancel"==t?"outlined":d,loading:o,disabled:a,...c,children:n||("cancel"==t?"Cancel":"update"==t?"Update":"Save")})),exports.FormContainer=({children:t})=>e.jsx(Zr.default,{gap:"15px",children:t}),exports.FormGridLayout=ds,exports.FormRow=({children:t,fullWidth:r=!1,maxColumn:l=3})=>e.jsx(cs,{direction:"row",flexWrap:"wrap",gap:"20px",fullWidth:r,maxColumn:l,children:t}),exports.FormSection=({title:t,children:r})=>{const{layout:l}=Vi();return e.jsxs(Zr.default,{gap:"15px",children:[t&&e.jsx(_r.default,{fontWeight:700,variant:"h5",children:t}),e.jsx(Zo,{padding:{padding:"mobile"===l?"10px":"15px"},children:e.jsx(Zr.default,{gap:"15px",children:r})})]})},exports.GridProvider=({children:t,gap:r,columns:l=3,columnsOnMobile:n=1,columnsOnSmallDevice:i=2,columnsOnTablet:o=3,...a})=>e.jsx(Zr.default,{...a,display:"grid",gap:r,gridTemplateColumns:{xs:`repeat(${n}, minmax(0, 1fr))`,sm:`repeat(${Math.min(l,i)}, minmax(0, 1fr))`,md:`repeat(${Math.min(l,o)}, minmax(0, 1fr))`,lg:`repeat(${l}, minmax(0, 1fr))`},children:t}),exports.HighlightedText=({text:t,highlightWords:r})=>{const l=u.useTheme(),{slate:n}=l.palette.app.color;if(!r?.length)return e.jsx(Br.default,{component:"span",children:t});const i=r.map((e=>e.replace(Ti,"\\$&"))),o=new RegExp(`(${i.join("|")})`,"gi"),a=t.split(o);return e.jsx(Br.default,{component:"span",children:a.map(((t,r)=>o.test(t)?e.jsx(Br.default,{component:"span",sx:{padding:"2px 4px",backgroundColor:n[800],border:`1px solid ${n[700]}`,borderRadius:"5px",fontFamily:"monospace",fontSize:"0.9em"},children:t},`highlight-${r}-${t}`):e.jsx(Br.default,{component:"span",children:t},`text-${r}-${t}`)))})},exports.HistoryIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"History",children:e.jsx(co,{disabled:t.disabled})})}),exports.HolidayCalendarSvg=({color:t,...r})=>e.jsxs("svg",{width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[e.jsx("mask",{id:"mask0_11_286",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"58",height:"58",children:e.jsx("path",{d:"M58 0H0V58H58V0Z",fill:"white"})}),e.jsxs("g",{mask:"url(#mask0_11_286)",children:[e.jsx("g",{opacity:"0.08",children:e.jsx("path",{d:"M14.6181 58.0021C6.17867 58.0021 0.507812 52.3314 0.507812 43.8918V17.165C0.507812 8.72555 6.17856 3.05469 14.6181 3.05469H43.38C51.8195 3.05469 57.4903 8.72543 57.4903 17.165V43.8918C57.4903 52.3312 51.8196 58.0021 43.38 58.0021H14.6181Z",fill:"black"})}),e.jsx("path",{d:"M14.6181 56.9787C6.17867 56.9787 0.507812 51.3079 0.507812 42.8683V16.1416C0.507812 7.70211 6.17856 2.03125 14.6181 2.03125H43.38C51.8195 2.03125 57.4903 7.702 57.4903 16.1416V42.8683C57.4903 51.3078 51.8196 56.9787 43.38 56.9787H14.6181Z",fill:"url(#paint0_linear_11_286)"}),e.jsx("path",{d:"M0.507812 16.2769V16.1416C0.507812 7.70211 6.17856 2.03125 14.6181 2.03125H43.38C51.8195 2.03125 57.4903 7.702 57.4903 16.1416V16.2769H0.507812Z",fill:t??"#007BFF"}),e.jsx("g",{opacity:"0.16",children:e.jsx("path",{d:"M43.38 2.03125H14.6181C6.17867 2.03125 0.507812 7.702 0.507812 16.1416V42.8683C0.507812 51.3078 6.17856 56.9787 14.6181 56.9787H43.38C51.8195 56.9787 57.4903 51.3079 57.4903 42.8683V16.1416C57.4903 7.702 51.8196 2.03125 43.38 2.03125ZM55.4552 42.8683C55.4552 50.2039 50.7155 54.9436 43.38 54.9436H14.6181C7.2826 54.9436 2.54291 50.2039 2.54291 42.8683V16.1416C2.54291 8.80604 7.2826 4.06635 14.6181 4.06635H43.38C50.7155 4.06635 55.4552 8.80604 55.4552 16.1416V42.8683Z",fill:"url(#paint1_linear_11_286)"})}),e.jsx("path",{opacity:"0.24",d:"M13.7401 12.2067C15.426 12.2067 16.7927 10.8401 16.7927 9.15415C16.7927 7.46825 15.426 6.10156 13.7401 6.10156C12.0542 6.10156 10.6875 7.46825 10.6875 9.15415C10.6875 10.8401 12.0542 12.2067 13.7401 12.2067Z",fill:"black"}),e.jsx("path",{opacity:"0.24",d:"M44.2635 12.2067C45.9494 12.2067 47.3161 10.8401 47.3161 9.15415C47.3161 7.46825 45.9494 6.10156 44.2635 6.10156C42.5776 6.10156 41.2109 7.46825 41.2109 9.15415C41.2109 10.8401 42.5776 12.2067 44.2635 12.2067Z",fill:"black"}),e.jsx("g",{opacity:"0.16",children:e.jsx("path",{d:"M43.38 2.03125H14.6181C6.17867 2.03125 0.507812 7.702 0.507812 16.1416V42.8683C0.507812 51.3078 6.17856 56.9787 14.6181 56.9787H43.38C51.8195 56.9787 57.4903 51.3079 57.4903 42.8683V16.1416C57.4903 7.702 51.8196 2.03125 43.38 2.03125ZM56.4727 42.8683C56.4727 50.6994 51.211 55.9611 43.38 55.9611H14.6181C6.78711 55.9611 1.52542 50.6994 1.52542 42.8683V16.1416C1.52542 8.31054 6.78711 3.04886 14.6181 3.04886H43.38C51.211 3.04886 56.4727 8.31054 56.4727 16.1416V42.8683Z",fill:"black"})}),e.jsx("path",{d:"M13.7362 10.1755C13.1746 10.1755 12.7188 9.71964 12.7188 9.158V1.01749C12.7188 0.455844 13.1746 0 13.7362 0C14.2979 0 14.7537 0.455844 14.7537 1.01749V9.15788C14.7538 9.71953 14.2979 10.1755 13.7362 10.1755Z",fill:"url(#paint2_linear_11_286)"}),e.jsx("path",{d:"M44.2597 10.1755C43.698 10.1755 43.2422 9.71964 43.2422 9.158V1.01749C43.2422 0.455844 43.698 0 44.2597 0C44.8213 0 45.2772 0.455844 45.2772 1.01749V9.15788C45.2772 9.71953 44.8213 10.1755 44.2597 10.1755Z",fill:"url(#paint3_linear_11_286)"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_11_286",x1:"28.999",y1:"56.9757",x2:"28.999",y2:"2.02808",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#ECECEC"}),e.jsx("stop",{offset:"1",stopColor:"white"})]}),e.jsxs("linearGradient",{id:"paint1_linear_11_286",x1:"28.999",y1:"56.9757",x2:"28.999",y2:"2.02808",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{}),e.jsx("stop",{offset:"0.06",stopOpacity:"0"})]}),e.jsxs("linearGradient",{id:"paint2_linear_11_286",x1:"13.7361",y1:"10.1723",x2:"13.7361",y2:"-0.00317263",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#DCDCDC"})]}),e.jsxs("linearGradient",{id:"paint3_linear_11_286",x1:"44.2597",y1:"10.1723",x2:"44.2597",y2:"-0.00317263",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#DCDCDC"})]})]})]}),exports.HomePageBanner=t=>e.jsxs("svg",{width:"442",height:"419",viewBox:"0 0 442 419",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{opacity:"0.5",children:[e.jsxs("g",{opacity:"0.6",children:[e.jsx("rect",{x:"95.3125",y:"41.2422",width:"29",height:"29",rx:"6.69231",transform:"rotate(14.6047 95.3125 41.2422)",fill:"url(#paint0_linear_42040_78200)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78200)",children:e.jsx("path",{d:"M112.609 53.0234L102.535 50.3984C100.551 49.8815 98.5169 51.0749 98 53.0588L96.1251 60.2544C95.6081 62.2382 96.8016 64.2728 98.7854 64.7897L108.859 67.4146C110.843 67.9315 112.878 66.7381 113.395 64.7543L115.27 57.5586C115.786 55.5748 114.593 53.5403 112.609 53.0234ZM103.314 62.1567L98.9962 61.0317C98.5983 60.928 98.3606 60.5219 98.4641 60.1247C98.5676 59.7275 98.9733 59.4889 99.3712 59.5926L103.689 60.7176C104.086 60.8212 104.324 61.2274 104.221 61.6246C104.117 62.0218 103.711 62.2604 103.314 62.1567ZM104.064 59.2784L99.7462 58.1535C99.3483 58.0498 99.1106 57.6436 99.2141 57.2464C99.3176 56.8492 99.7232 56.6106 100.121 56.7143L104.439 57.8393C104.836 57.943 105.074 58.3492 104.971 58.7464C104.867 59.1436 104.461 59.3821 104.064 59.2784ZM104.814 56.4002L100.496 55.2752C100.098 55.1715 99.8606 54.7653 99.9641 54.3681C100.068 53.9709 100.473 53.7324 100.871 53.8361L105.189 54.9611C105.586 55.0647 105.824 55.4709 105.721 55.8681C105.617 56.2653 105.211 56.5039 104.814 56.4002ZM109.07 63.6566C108.967 64.0538 108.561 64.2924 108.163 64.1887C107.765 64.085 107.527 63.6789 107.631 63.2817L107.438 63.2314C106.67 63.0314 106.061 62.4316 105.85 61.6657C105.74 61.2698 105.973 60.8609 106.368 60.751C106.764 60.6415 107.173 60.8741 107.282 61.2698C107.353 61.5249 107.556 61.7253 107.812 61.7921L109.444 62.2173C109.842 62.3208 110.248 62.0817 110.351 61.6853C110.422 61.4133 110.287 61.1322 110.031 61.0177L107.937 60.0827C107.014 59.6706 106.529 58.6606 106.784 57.682C107.094 56.4919 108.315 55.7757 109.505 56.0858C109.609 55.6886 110.014 55.4501 110.412 55.5538C110.81 55.6575 111.048 56.0636 110.944 56.4608L111.137 56.5111C111.905 56.7111 112.514 57.3109 112.726 58.0768C112.835 58.4727 112.603 58.8816 112.207 58.9915C111.81 59.0999 111.401 58.8673 111.293 58.4727C111.222 58.2175 111.019 58.0171 110.763 57.9504L109.131 57.5252C108.734 57.4217 108.327 57.66 108.224 58.0572C108.153 58.3292 108.288 58.6103 108.545 58.7248L110.638 59.6598C111.562 60.0719 112.046 61.0818 111.791 62.0604C111.481 63.2506 110.26 63.9668 109.07 63.6566Z",fill:"white"})})]}),e.jsxs("g",{opacity:"0.4",children:[e.jsx("path",{d:"M367.084 155.905C407.328 149.5 436.654 172.736 440.682 245.576C443.681 299.786 415.442 353.29 370.315 378.298C310.356 411.527 220.97 401.199 191.527 347.203C173.959 314.984 176.37 264.712 200.808 244.515C225.307 224.271 252.641 258.812 297.292 239.582C346.938 218.201 334.628 161.07 367.084 155.905Z",fill:"white"}),e.jsx("path",{d:"M293.891 397.897C279.271 397.897 264.759 395.958 251.12 391.99C223.276 383.891 202.5 368.498 191.037 347.474C182.414 331.66 178.339 311.188 179.86 291.312C181.426 270.822 188.931 253.609 200.454 244.089C212.5 234.135 225.266 237.2 240.051 240.752C256.038 244.592 274.159 248.944 297.074 239.075C323.548 227.674 332.133 206.349 339.706 187.536C346.13 171.578 351.679 157.799 367 155.36C385.247 152.457 400.437 155.782 412.149 165.241C429.272 179.071 439.06 206.092 441.241 245.551C444.26 300.153 415.867 353.699 370.586 378.794C347.928 391.351 320.743 397.897 293.896 397.9L293.891 397.897ZM219.473 238.487C213.052 238.487 206.994 240.128 201.161 244.948C189.872 254.276 182.513 271.206 180.969 291.395C179.466 311.062 183.491 331.306 192.016 346.936C203.335 367.693 223.879 382.901 251.43 390.914C289.846 402.088 335.295 397.067 370.041 377.812C414.954 352.919 443.118 299.792 440.121 245.609C437.958 206.478 428.308 179.73 411.443 166.107C399.986 156.855 385.088 153.608 367.171 156.461C352.473 158.801 347.035 172.308 340.738 187.95C333.084 206.965 324.408 228.515 297.51 240.1C274.252 250.118 255.939 245.718 239.786 241.837C232.57 240.105 225.844 238.49 219.476 238.49L219.473 238.487Z",fill:"black"}),e.jsx("path",{d:"M366.252 310.695C366.03 310.695 365.821 310.561 365.733 310.341C359.917 295.744 340.351 292.892 340.154 292.864C339.849 292.821 339.634 292.541 339.677 292.233C339.718 291.927 340 291.713 340.305 291.755C340.51 291.783 360.714 294.719 366.769 309.927C366.883 310.215 366.744 310.538 366.456 310.655C366.388 310.682 366.318 310.695 366.25 310.695H366.252Z",fill:"black"}),e.jsx("path",{d:"M338.753 320.039C338.733 320.039 338.716 320.039 338.695 320.037C338.388 320.006 338.166 319.731 338.196 319.423C339.646 305.245 331.649 295.929 331.568 295.836C331.364 295.604 331.389 295.25 331.621 295.046C331.853 294.841 332.206 294.864 332.411 295.099C332.494 295.195 340.809 304.879 339.308 319.537C339.278 319.825 339.036 320.039 338.753 320.039Z",fill:"black"}),e.jsx("path",{d:"M256.613 373.612C255.349 372.332 248.043 349.586 248.043 349.586L233.609 359.896L249.435 381.186L256.613 373.615V373.612Z",fill:"white"}),e.jsx("path",{d:"M249.431 381.742C249.431 381.742 249.409 381.742 249.399 381.742C249.235 381.732 249.083 381.652 248.983 381.518L233.157 360.228C233.068 360.107 233.031 359.955 233.053 359.806C233.076 359.657 233.159 359.526 233.28 359.438L247.714 349.127C247.86 349.024 248.044 348.996 248.213 349.051C248.382 349.107 248.516 349.241 248.569 349.41C251.361 358.102 256.12 372.25 257.005 373.217C257.204 373.434 257.214 373.78 257.013 373.994L249.835 381.566C249.729 381.677 249.583 381.74 249.429 381.74L249.431 381.742ZM234.395 360.018L249.484 380.316L255.908 373.54C254.249 370.488 249.265 355.201 247.744 350.483L234.395 360.016V360.018Z",fill:"black"}),e.jsx("path",{d:"M230.593 402.373L240.192 402.315C246.542 402.277 252.449 399.048 255.914 393.719L265.405 378.675C268.027 374.517 266.56 369.01 262.222 366.703C258.26 364.595 254.108 362.542 253.137 362.636C251.163 362.825 250.366 372.176 250.366 372.176L241.813 372.507C241.813 372.507 237.589 390.093 233.871 392.093C231.163 393.55 229.271 395.688 228 397.639C226.669 399.684 228.154 402.388 230.593 402.375V402.373Z",fill:"black"}),e.jsx("path",{d:"M231.559 399.179C231.286 399.179 231.049 398.98 231.006 398.702C230.961 398.397 231.17 398.112 231.475 398.066L244.605 396.087C247.394 395.665 249.828 394.034 251.276 391.611L262.877 372.209C263.036 371.944 263.379 371.858 263.644 372.017C263.909 372.176 263.994 372.52 263.836 372.785L252.234 392.186C250.613 394.898 247.891 396.723 244.769 397.193L231.639 399.172C231.611 399.177 231.581 399.179 231.556 399.179H231.559Z",fill:"white"}),e.jsx("path",{d:"M247.766 384.591C247.718 384.591 247.668 384.584 247.62 384.571L240.304 382.577C240.006 382.496 239.829 382.188 239.91 381.89C239.991 381.592 240.299 381.415 240.596 381.496L247.913 383.491C248.21 383.571 248.387 383.879 248.306 384.177C248.238 384.427 248.013 384.589 247.766 384.589V384.591Z",fill:"white"}),e.jsx("path",{d:"M243.958 388.351C243.913 388.351 243.87 388.346 243.825 388.336L238.919 387.135C238.619 387.061 238.435 386.758 238.508 386.458C238.581 386.158 238.889 385.976 239.184 386.046L244.089 387.248C244.39 387.321 244.574 387.624 244.501 387.925C244.438 388.18 244.211 388.351 243.958 388.351Z",fill:"white"}),e.jsx("path",{d:"M207.355 369.272L190.596 386.129L181.711 382.862L197.161 361.297L207.355 369.272Z",fill:"white"}),e.jsx("path",{d:"M190.598 386.686C190.532 386.686 190.469 386.675 190.406 386.65L181.521 383.383C181.357 383.323 181.231 383.189 181.181 383.022C181.13 382.856 181.158 382.674 181.261 382.533L196.711 360.968C196.8 360.844 196.936 360.761 197.085 360.74C197.239 360.718 197.387 360.761 197.508 360.854L207.703 368.829C207.829 368.928 207.907 369.077 207.917 369.236C207.927 369.395 207.869 369.551 207.755 369.665L190.997 386.519C190.891 386.628 190.747 386.683 190.601 386.683L190.598 386.686ZM182.596 382.588L190.454 385.476L206.517 369.321L197.279 362.094L182.598 382.586L182.596 382.588Z",fill:"black"}),e.jsx("path",{d:"M195.89 383.484C195.89 383.484 196.7 390.654 195.325 396.991C194.594 400.369 191.553 402.742 188.102 402.742H146.973C144.032 402.742 142.701 399.068 144.953 397.177C152.267 391.045 165.719 381.679 182.259 378.93L186.872 385.393L195.888 383.482L195.89 383.484Z",fill:"black"}),e.jsx("path",{d:"M191.552 397.644H148.927C148.619 397.644 148.367 397.394 148.367 397.084C148.367 396.773 148.617 396.523 148.927 396.523H191.552C191.86 396.523 192.112 396.773 192.112 397.084C192.112 397.394 191.862 397.644 191.552 397.644Z",fill:"white"}),e.jsx("path",{d:"M172.715 390.064C172.496 390.064 172.287 389.933 172.198 389.719L169.941 384.24C169.823 383.955 169.959 383.627 170.244 383.511C170.529 383.394 170.857 383.528 170.973 383.814L173.23 389.292C173.349 389.577 173.212 389.905 172.927 390.021C172.859 390.049 172.786 390.064 172.715 390.064Z",fill:"white"}),e.jsx("path",{d:"M165.292 391.5C165.057 391.5 164.838 391.351 164.762 391.116L163.13 386.173C163.032 385.88 163.193 385.565 163.486 385.466C163.779 385.368 164.094 385.53 164.192 385.822L165.824 390.766C165.92 391.058 165.761 391.374 165.468 391.472C165.41 391.493 165.35 391.5 165.294 391.5H165.292Z",fill:"white"}),e.jsx("path",{d:"M296.067 251.325C296.067 251.325 219.475 242.401 196.701 262.136C173.927 281.87 232.653 366.734 232.653 366.734L251.225 352.948L233.608 292.966L304.41 272.84L296.067 251.325Z",fill:"#191F33"}),e.jsx("path",{d:"M338.214 290.382C327.089 293.916 307.183 298.486 279.36 298.107C271.455 297.999 264.157 302.371 260.565 309.422C252.323 325.6 234.487 354.729 205.431 373.61L191.555 366.125L226.972 286.317C230.205 279.031 236.253 273.366 243.731 270.622L313.924 244.856C313.924 244.856 335.689 238.767 346.36 258.216C348.267 261.69 351.805 255.479 352.647 258.282C355.538 267.89 347.767 287.347 338.211 290.382H338.214Z",fill:"#191F33"}),e.jsx("path",{d:"M210.965 322.935C210.889 322.935 210.811 322.92 210.738 322.887C210.455 322.761 210.329 322.43 210.455 322.15L226.46 286.086C229.736 278.704 235.961 272.875 243.537 270.093L277.153 257.753C277.446 257.647 277.763 257.796 277.869 258.086C277.975 258.377 277.826 258.697 277.536 258.803L243.92 271.143C236.626 273.822 230.634 279.432 227.479 286.541L211.474 322.605C211.381 322.814 211.176 322.938 210.962 322.938L210.965 322.935Z",fill:"white"}),e.jsx("path",{d:"M229.653 353.944C229.515 353.944 229.373 353.891 229.265 353.788C229.043 353.573 229.036 353.22 229.25 352.998C232.448 349.67 235.593 346.093 238.602 342.372C238.796 342.132 239.146 342.094 239.386 342.288C239.626 342.483 239.663 342.834 239.469 343.076C236.44 346.823 233.273 350.423 230.054 353.775C229.946 353.889 229.8 353.947 229.651 353.947L229.653 353.944Z",fill:"white"}),e.jsx("path",{d:"M239.035 343.284C238.911 343.284 238.787 343.244 238.684 343.161C238.444 342.966 238.407 342.615 238.601 342.373C240.086 340.535 241.559 338.637 242.979 336.726C243.163 336.478 243.514 336.425 243.761 336.612C244.008 336.796 244.058 337.147 243.874 337.395C242.444 339.316 240.964 341.229 239.468 343.077C239.357 343.214 239.196 343.284 239.035 343.284Z",fill:"white"}),e.jsx("path",{d:"M278.659 189.392C278.659 189.392 271.923 250.623 226.688 254.63L278.659 255.37C278.659 255.37 297.902 216.334 298.684 201.136C299.466 185.938 278.659 189.392 278.659 189.392Z",fill:"white"}),e.jsx("path",{d:"M278.662 255.926H278.655L226.683 255.186C226.385 255.181 226.143 254.947 226.133 254.649C226.123 254.351 226.345 254.098 226.643 254.07C249.744 252.026 262.501 234.56 269.134 220.271C276.349 204.725 278.092 189.481 278.107 189.33C278.135 189.08 278.324 188.881 278.571 188.84C279.041 188.762 290.143 186.99 295.923 192.155C298.324 194.301 299.441 197.333 299.245 201.163C298.465 216.303 279.951 254.015 279.162 255.613C279.068 255.805 278.874 255.924 278.66 255.924L278.662 255.926ZM233.248 254.161L278.314 254.803C280.143 251.051 297.398 215.295 298.127 201.105C298.306 197.628 297.313 194.899 295.179 192.988C290.395 188.709 281.209 189.618 279.162 189.883C278.821 192.496 276.753 206.502 270.143 220.741C261.603 239.135 248.935 250.569 233.245 254.161H233.248Z",fill:"black"}),e.jsx("path",{d:"M343.04 150.477C334.263 148.412 330.604 148.384 298.705 149.541C290.909 149.823 282.234 162.04 281.318 169.795C283.797 177.235 294.632 211.539 274.667 240.236C271.835 244.309 267.984 248.775 262.695 253.054C265.666 255.46 270.282 258.588 276.481 260.431C286.773 263.49 291.948 260.183 300.241 260.431C322.18 261.085 330.225 285.545 344.394 282.473C348.177 281.652 353.194 278.699 357.895 268.79C360.561 260.572 362.931 250.923 364.25 240.019C367.829 210.459 361.973 185.847 356.742 170.399C355.189 165.521 353.385 152.911 343.04 150.477Z",fill:"white"}),e.jsx("path",{d:"M341.918 283.305C336.094 283.305 331.257 278.983 325.767 274.075C319.081 268.099 311.505 261.328 300.228 260.992C297.288 260.904 294.693 261.278 292.186 261.641C287.681 262.29 283.023 262.962 276.325 260.97C271.356 259.493 266.653 256.976 262.347 253.492C262.216 253.386 262.141 253.227 262.141 253.058C262.141 252.889 262.216 252.729 262.347 252.623C266.948 248.9 270.937 244.626 274.211 239.92C292.448 213.707 284.887 182.273 280.789 169.976C280.763 169.898 280.753 169.814 280.763 169.734C281.661 162.129 290.41 149.284 298.685 148.986C331.108 147.81 334.435 147.881 343.169 149.936C352.404 152.109 355.03 161.948 356.599 167.825C356.848 168.759 357.063 169.567 357.274 170.231C365.09 193.303 367.625 216.81 364.805 240.089C363.625 249.834 361.479 259.548 358.425 268.965C358.417 268.988 358.409 269.011 358.397 269.033C354.543 277.155 349.872 281.861 344.51 283.025C343.62 283.216 342.755 283.307 341.91 283.307L341.918 283.305ZM299.348 259.861C299.648 259.861 299.954 259.866 300.261 259.874C311.943 260.222 319.681 267.14 326.511 273.242C332.571 278.657 337.802 283.333 344.281 281.929C349.28 280.846 353.686 276.355 357.378 268.584C360.404 259.248 362.53 249.614 363.701 239.953C366.5 216.84 363.981 193.5 356.218 170.579C355.996 169.88 355.776 169.062 355.524 168.113C354.019 162.475 351.499 153.043 342.917 151.021C334.319 148.999 331.015 148.928 298.73 150.1C291.01 150.38 282.826 162.478 281.893 169.739C286.052 182.278 293.598 214.012 275.132 240.556C271.926 245.163 268.047 249.362 263.591 253.048C267.634 256.218 272.025 258.521 276.645 259.894C283.111 261.815 287.442 261.192 292.029 260.53C294.324 260.2 296.693 259.859 299.353 259.859L299.348 259.861Z",fill:"black"}),e.jsx("path",{d:"M272.719 196.253C272.719 196.253 281.332 153.613 296.196 150.078L289.329 205.778L272.719 196.253Z",fill:"white"}),e.jsx("path",{d:"M289.325 206.335C289.229 206.335 289.133 206.31 289.047 206.262L272.437 196.736C272.228 196.618 272.12 196.375 272.167 196.141C272.523 194.386 281.025 153.109 296.064 149.532C296.366 149.458 296.664 149.645 296.737 149.946C296.808 150.246 296.624 150.546 296.324 150.62C282.722 153.854 274.263 191.669 273.345 195.969L288.876 204.873L290.006 195.706C290.044 195.401 290.326 195.184 290.629 195.219C290.936 195.257 291.153 195.537 291.116 195.843L289.882 205.842C289.86 206.029 289.746 206.191 289.577 206.274C289.499 206.315 289.413 206.332 289.327 206.332L289.325 206.335Z",fill:"black"}),e.jsx("path",{d:"M316.866 130.077L315.807 144.823C315.572 146.742 314.193 148.322 312.324 148.809L307.148 150.16L310.505 152.72C317.948 158.392 328.258 159.556 335.713 153.896L341.027 150.031L334.598 148.423C332.752 148.009 331.332 145.376 330.994 143.513L328.155 124L316.863 130.079L316.866 130.077Z",fill:"white"}),e.jsx("path",{d:"M324.4 158.192C319.568 158.192 314.552 156.503 310.171 153.163L306.814 150.603C306.645 150.474 306.562 150.257 306.605 150.047C306.648 149.838 306.804 149.671 307.011 149.616L312.186 148.265C313.843 147.833 315.049 146.455 315.255 144.753L316.312 130.035C316.325 129.843 316.436 129.674 316.605 129.583L327.896 123.504C328.057 123.418 328.249 123.415 328.41 123.496C328.574 123.577 328.685 123.734 328.713 123.915L331.553 143.428C331.845 145.049 333.112 147.513 334.726 147.874L341.167 149.484C341.376 149.537 341.538 149.707 341.581 149.921C341.623 150.136 341.535 150.353 341.361 150.479L336.05 154.344C332.663 156.917 328.605 158.189 324.405 158.189L324.4 158.192ZM308.403 150.408L310.847 152.272C318.633 158.204 328.491 158.676 335.379 153.445L339.732 150.277L334.466 148.959C332.277 148.469 330.796 145.533 330.448 143.605L327.719 124.865L317.402 130.419L316.365 144.859C316.1 147.048 314.569 148.798 312.466 149.346L308.403 150.406V150.408Z",fill:"black"}),e.jsx("path",{d:"M300.13 109.55C303.671 107.674 300.821 113.516 312.467 103.425C317.105 99.4062 317.272 106.909 318.48 105.869C322.934 102.032 322.778 102.158 325.59 101.668C327.451 101.345 329.94 103.915 330.679 106.346C331.655 109.558 329.524 111.479 330.25 118.873C330.762 124.066 332.394 126.619 330.899 128.093C329.388 129.585 326.926 127.76 325.151 129.265C322.856 131.211 325.476 135.543 323.779 138.613C322.709 140.549 319.199 142.827 311.814 142.65C310.616 142.622 309.605 141.739 309.408 140.552C309.159 139.032 308.853 137.108 308.715 135.248C308.054 126.381 309.961 123.435 308.082 121.921C305.204 119.598 300.314 123.923 298.238 121.885C296.082 119.767 295.277 112.115 300.125 109.547L300.13 109.55Z",fill:"black"}),e.jsx("path",{d:"M317.752 114.527L317.606 116.948C317.538 118.089 317.546 119.233 317.634 120.374C317.8 122.513 318.058 126.193 318.045 128.264C318.027 131.306 308.63 131.901 308.63 131.901L307.437 130.574L306.335 130.619C306.121 130.629 305.904 130.594 305.715 130.493C305.241 130.245 305.003 129.735 305.087 129.246C305.531 126.557 306.31 120.624 305.447 116.012C305.447 116.012 310.673 111.765 317.752 114.527Z",fill:"white"}),e.jsx("path",{d:"M308.629 132.456C308.47 132.456 308.319 132.388 308.213 132.271L307.196 131.14L306.357 131.176C306.029 131.191 305.716 131.125 305.454 130.989C304.778 130.636 304.41 129.898 304.531 129.154C304.927 126.765 305.751 120.711 304.894 116.114C304.856 115.912 304.932 115.708 305.091 115.576C305.312 115.395 310.652 111.158 317.95 114.004C318.177 114.092 318.319 114.317 318.306 114.559L318.16 116.98C318.092 118.093 318.102 119.219 318.187 120.328C318.346 122.39 318.611 126.162 318.599 128.265C318.578 131.658 310.316 132.352 308.662 132.456C308.649 132.456 308.637 132.456 308.626 132.456H308.629ZM307.436 130.009C307.595 130.009 307.746 130.078 307.852 130.194L308.861 131.32C312.526 131.05 317.471 129.951 317.484 128.255C317.496 126.192 317.234 122.456 317.075 120.411C316.984 119.25 316.974 118.073 317.048 116.909L317.169 114.9C311.459 112.86 307.143 115.483 306.056 116.248C306.818 120.79 306.125 126.366 305.635 129.33C305.59 129.598 305.726 129.863 305.971 129.992C306.059 130.037 306.175 130.06 306.309 130.055L307.411 130.009C307.411 130.009 307.426 130.009 307.434 130.009H307.436Z",fill:"black"}),e.jsx("path",{d:"M319.398 121.99C319.398 121.99 319.744 116.165 322.354 116.9C324.962 117.637 324.42 124.037 319.398 121.99Z",fill:"white"}),e.jsx("path",{d:"M293.827 260.477H191.137C188.683 260.477 186.691 258.482 186.691 256.026V254.481H298.273V256.026C298.273 258.482 296.281 260.477 293.827 260.477Z",fill:"white"}),e.jsx("path",{d:"M293.826 261.031H191.137C188.377 261.031 186.133 258.784 186.133 256.02V254.475C186.133 254.167 186.382 253.914 186.693 253.914H298.275C298.583 253.914 298.833 254.164 298.833 254.475V256.02C298.833 258.781 296.588 261.031 293.826 261.031ZM187.25 255.035V256.022C187.25 258.168 188.995 259.915 191.137 259.915H293.826C295.97 259.915 297.715 258.168 297.715 256.022V255.035H187.25Z",fill:"black"}),e.jsx("path",{d:"M186.695 254.581H250.543L230.258 194.809C229.045 192.938 226.929 191.805 224.657 191.805H170.685C168.236 191.805 166.66 194.183 167.46 196.283C167.777 197.119 168.12 197.944 168.398 198.793L186.698 254.581H186.695Z",fill:"white"}),e.jsx("path",{d:"M250.54 255.145H186.692C186.449 255.145 186.235 254.991 186.162 254.761L167.862 198.97C167.668 198.377 167.433 197.779 167.209 197.2C167.115 196.963 167.022 196.723 166.931 196.486C166.49 195.325 166.654 194.009 167.373 192.967C168.124 191.876 169.33 191.25 170.679 191.25H224.651C227.127 191.25 229.397 192.469 230.721 194.509C230.747 194.547 230.767 194.59 230.782 194.633L251.067 254.405C251.125 254.577 251.097 254.764 250.991 254.91C250.885 255.056 250.716 255.145 250.537 255.145H250.54ZM187.095 254.026H249.758L229.745 195.06C228.623 193.373 226.721 192.366 224.648 192.366H170.677C169.698 192.366 168.828 192.815 168.291 193.598C167.781 194.338 167.663 195.269 167.973 196.085C168.061 196.319 168.155 196.554 168.245 196.791C168.477 197.385 168.717 197.998 168.921 198.619L187.095 254.024V254.026Z",fill:"black"}),e.jsx("path",{d:"M210.386 222.391C211.148 224.918 209.985 227.503 207.788 228.167C205.594 228.831 203.198 227.319 202.437 224.792C201.675 222.265 202.838 219.68 205.034 219.016C207.229 218.352 209.624 219.864 210.386 222.391Z",fill:"black"}),e.jsx("path",{d:"M363.532 207.225C363.532 207.225 360.4 246.934 351.537 261.971C340.952 279.926 287.556 255.743 287.556 255.743L281.346 252.224C277.145 249.843 272.141 249.333 267.546 250.817L257.516 254.056C257.516 254.056 265.801 244.112 272.845 240.31C276.148 238.528 280.431 240.214 284.047 242.506C290.272 246.452 297.591 248.303 304.955 248.083L326.196 247.452C329.762 247.346 332.685 244.584 332.995 241.024L336.196 196.359L363.532 207.225Z",fill:"white"}),e.jsx("path",{d:"M335.353 269.194C316.198 269.194 288.91 256.973 287.326 256.256L281.071 252.714C277.018 250.416 272.151 249.919 267.717 251.353L257.684 254.592C257.45 254.668 257.19 254.579 257.049 254.372C256.91 254.165 256.923 253.893 257.084 253.701C257.425 253.292 265.518 243.63 272.577 239.821C275.543 238.22 279.502 238.967 284.345 242.037C290.36 245.852 297.475 247.745 304.937 247.528L326.178 246.897C329.462 246.798 332.15 244.256 332.438 240.982L335.638 196.324C335.651 196.148 335.746 195.986 335.898 195.89C336.049 195.794 336.236 195.779 336.4 195.845L363.736 206.711C363.963 206.801 364.107 207.029 364.087 207.274C363.958 208.899 360.843 247.286 352.016 262.259C349.017 267.346 342.798 269.194 335.351 269.194H335.353ZM272.832 249.429C275.883 249.429 278.92 250.209 281.618 251.739L287.828 255.258C288.312 255.476 340.841 279.01 351.053 261.689C359.27 247.75 362.571 211.848 362.937 207.594L336.692 197.163L333.547 241.068C333.212 244.918 330.057 247.899 326.208 248.013L304.967 248.644C297.278 248.874 289.949 246.915 283.745 242.981C280.668 241.03 276.322 239.068 273.107 240.805C267.873 243.628 261.858 249.992 259.256 252.908L267.371 250.287C269.149 249.712 270.993 249.429 272.832 249.429Z",fill:"black"}),e.jsx("path",{d:"M368.502 210.03C368.502 210.03 371.846 184.441 368.159 175.43C359.556 154.411 346.407 151.465 344.303 150.836L332.18 202.795L368.502 210.027V210.03Z",fill:"white"}),e.jsx("path",{d:"M368.497 210.595C368.462 210.595 368.424 210.592 368.388 210.585L332.066 203.352C331.917 203.321 331.789 203.233 331.705 203.107C331.625 202.981 331.597 202.824 331.632 202.678L334.106 192.069C334.177 191.769 334.477 191.582 334.777 191.653C335.077 191.723 335.264 192.024 335.193 192.324L332.85 202.37L368.018 209.373C368.484 205.49 370.921 183.667 367.637 175.652C363.917 166.558 356.873 154.983 344.447 151.471L344.137 151.383C343.841 151.295 343.672 150.984 343.761 150.689C343.849 150.393 344.157 150.224 344.457 150.313L344.752 150.396C354.928 153.271 363.201 161.857 368.671 175.228C372.373 184.273 369.188 209.062 369.052 210.112C369.032 210.266 368.948 210.405 368.825 210.494C368.729 210.562 368.615 210.597 368.499 210.597L368.497 210.595Z",fill:"black"}),e.jsx("path",{d:"M4.65569 266.61C2.08825 266.61 0 264.52 0 261.949C0 259.379 2.08825 257.289 4.65569 257.289C7.22312 257.289 9.31137 259.379 9.31137 261.949C9.31137 264.52 7.22312 266.61 4.65569 266.61ZM4.65569 258.41C2.70363 258.41 1.11726 259.998 1.11726 261.952C1.11726 263.906 2.70363 265.494 4.65569 265.494C6.60774 265.494 8.19411 263.906 8.19411 261.952C8.19411 259.998 6.60774 258.41 4.65569 258.41Z",fill:"black"}),e.jsx("path",{d:"M9.59114 241.596C9.28345 241.596 9.03125 241.346 9.03125 241.036V236.699C9.03125 236.391 9.28093 236.141 9.59114 236.141C9.90135 236.141 10.151 236.391 10.151 236.699V241.036C10.151 241.344 9.90135 241.596 9.59114 241.596Z",fill:"black"}),e.jsx("path",{d:"M9.59114 251.7C9.28345 251.7 9.03125 251.45 9.03125 251.14V246.803C9.03125 246.495 9.28093 246.242 9.59114 246.242C9.90135 246.242 10.151 246.492 10.151 246.803V251.14C10.151 251.448 9.90135 251.7 9.59114 251.7Z",fill:"black"}),e.jsx("path",{d:"M6.71307 244.478H2.38021C2.07252 244.478 1.82031 244.228 1.82031 243.92C1.82031 243.612 2.06999 243.359 2.38021 243.359H6.71307C7.02076 243.359 7.27296 243.609 7.27296 243.92C7.27296 244.23 7.02328 244.478 6.71307 244.478Z",fill:"black"}),e.jsx("path",{d:"M16.8068 244.478H12.474C12.1663 244.478 11.9141 244.228 11.9141 243.92C11.9141 243.612 12.1637 243.359 12.474 243.359H16.8068C17.1145 243.359 17.3667 243.609 17.3667 243.92C17.3667 244.23 17.117 244.478 16.8068 244.478Z",fill:"black"}),e.jsx("path",{d:"M389.532 81.2927C389.295 81.2927 389.076 81.1412 389 80.9039L388.191 78.3793C388.097 78.0864 388.259 77.7709 388.551 77.6749C388.844 77.5815 389.159 77.7431 389.255 78.0359L390.064 80.5605C390.158 80.8534 389.996 81.1689 389.704 81.2649C389.646 81.2826 389.59 81.2927 389.532 81.2927Z",fill:"black"}),e.jsx("path",{d:"M392.368 90.1286C392.131 90.1286 391.912 89.9771 391.836 89.7398L391.026 87.2152C390.933 86.9224 391.095 86.6068 391.387 86.5109C391.68 86.4174 391.995 86.579 392.091 86.8719L392.9 89.3965C392.994 89.6893 392.832 90.0049 392.54 90.1008C392.482 90.1185 392.426 90.1286 392.368 90.1286Z",fill:"black"}),e.jsx("path",{d:"M384.871 86.2775C384.634 86.2775 384.415 86.126 384.339 85.8887C384.246 85.5958 384.407 85.2803 384.7 85.1843L387.222 84.3714C387.514 84.2755 387.829 84.4371 387.925 84.7324C388.019 85.0253 387.857 85.3409 387.565 85.4368L385.043 86.2497C384.985 86.2674 384.929 86.2775 384.871 86.2775Z",fill:"black"}),e.jsx("path",{d:"M393.699 83.4337C393.462 83.4337 393.243 83.2822 393.167 83.0449C393.074 82.7521 393.235 82.4365 393.528 82.3406L396.05 81.5277C396.342 81.4317 396.658 81.5933 396.753 81.8887C396.847 82.1815 396.685 82.4971 396.393 82.593L393.871 83.406C393.815 83.4236 393.757 83.4337 393.699 83.4337Z",fill:"black"}),e.jsx("path",{d:"M360.468 56.527C360.342 56.527 360.214 56.484 360.108 56.3957C357.558 54.2372 354.933 52.1064 352.302 50.064C352.057 49.8747 352.015 49.5237 352.204 49.2789C352.393 49.034 352.743 48.9911 352.988 49.1804C355.629 51.2329 358.267 53.3737 360.829 55.5424C361.064 55.7418 361.094 56.0953 360.895 56.33C360.784 56.4613 360.627 56.527 360.468 56.527Z",fill:"black"}),e.jsx("path",{d:"M352.642 50.1772C352.523 50.1772 352.402 50.1394 352.299 50.0586C315.651 21.5888 271.954 5.33292 229.256 4.29027C228.948 4.28269 228.704 4.02519 228.711 3.71719C228.719 3.41424 228.968 3.17188 229.271 3.17188C229.276 3.17188 229.279 3.17188 229.284 3.17188C250.86 3.69951 272.514 7.96355 293.639 15.8453C314.632 23.6766 334.599 34.8908 352.985 49.175C353.229 49.3643 353.272 49.7152 353.083 49.9601C352.972 50.1015 352.808 50.1772 352.642 50.1772Z",fill:"black"}),e.jsx("path",{d:"M335.177 51.5472C335.071 51.5472 334.963 51.5169 334.867 51.4512C307.031 32.7491 275.818 21.3455 244.6 18.475C244.293 18.4473 244.068 18.1746 244.096 17.8666C244.124 17.5586 244.399 17.3339 244.704 17.3617C276.108 20.2498 307.5 31.7165 335.49 50.5222C335.744 50.6939 335.813 51.0422 335.641 51.2972C335.533 51.4588 335.356 51.5446 335.177 51.5446V51.5472Z",fill:"black"}),e.jsx("path",{d:"M368.544 67.5863C368.065 67.5863 367.583 67.5055 367.116 67.344C364.852 66.5563 363.651 64.0746 364.435 61.8075C365.22 59.543 367.699 58.3362 369.966 59.1239C372.229 59.9116 373.432 62.3932 372.647 64.6603C372.266 65.7585 371.482 66.6421 370.438 67.1496C369.838 67.4399 369.192 67.5863 368.546 67.5863H368.544ZM368.544 59.9999C367.207 59.9999 365.954 60.8381 365.49 62.1736C364.907 63.8575 365.8 65.703 367.482 66.2861C368.297 66.5689 369.172 66.5184 369.949 66.1423C370.725 65.7661 371.308 65.1097 371.59 64.2943C372.173 62.6104 371.28 60.7649 369.598 60.1817C369.25 60.0605 368.892 60.0024 368.541 60.0024L368.544 59.9999Z",fill:"black"}),e.jsx("path",{d:"M222.409 8.13149C222.369 8.13149 222.329 8.12644 222.291 8.11886L214.8 6.48293C214.611 6.44254 214.457 6.30621 214.392 6.12444C214.326 5.94267 214.362 5.7407 214.483 5.58922C216.702 2.80713 219.171 0.199224 219.196 0.173978C219.328 0.0351254 219.522 -0.0254647 219.706 0.00987956C219.892 0.0452238 220.049 0.173978 220.119 0.350699L222.929 7.36654C223.007 7.5584 222.972 7.77804 222.838 7.93457C222.73 8.0608 222.573 8.13149 222.412 8.13149H222.409ZM215.92 5.58417L221.496 6.80103L219.408 1.5827C218.652 2.40319 217.282 3.92299 215.92 5.58165V5.58417Z",fill:"black"}),e.jsx("path",{d:"M411.745 392.571H349.725C346.001 392.571 343.216 389.151 343.966 385.501L353.376 339.715C354.166 335.865 357.552 333.102 361.48 333.102H414.678L411.744 392.573L411.745 392.571Z",fill:"white"}),e.jsx("path",{d:"M411.745 392.894H349.724C347.853 392.894 346.102 392.062 344.919 390.61C343.736 389.157 343.275 387.273 343.652 385.437L353.061 339.651C353.879 335.671 357.42 332.781 361.48 332.781H414.678C414.766 332.781 414.85 332.818 414.911 332.881C414.972 332.945 415.003 333.031 414.999 333.119L412.065 392.59C412.056 392.761 411.916 392.896 411.745 392.896V392.894ZM361.48 333.423C357.723 333.423 354.447 336.097 353.69 339.78L344.28 385.566C343.943 387.212 344.357 388.902 345.417 390.202C346.477 391.504 348.047 392.251 349.726 392.251H411.441L414.343 333.422H361.481L361.48 333.423Z",fill:"black"}),e.jsx("path",{d:"M419.683 392.573H407.647C403.923 392.573 401.138 389.153 401.888 385.502L412.252 335.072C412.488 333.925 413.496 333.102 414.665 333.102H417.76C419.043 333.102 420.111 334.087 420.216 335.367L424.455 387.388C424.682 390.181 422.479 392.573 419.681 392.573H419.683Z",fill:"white"}),e.jsx("path",{d:"M419.682 392.894H407.646C405.775 392.894 404.024 392.062 402.841 390.61C401.659 389.157 401.197 387.273 401.574 385.437L411.937 335.007C412.202 333.716 413.349 332.781 414.664 332.781H417.759C419.199 332.781 420.418 333.906 420.535 335.343L424.774 387.364C424.89 388.783 424.403 390.199 423.439 391.246C422.474 392.294 421.104 392.894 419.681 392.894H419.682ZM414.664 333.423C413.652 333.423 412.768 334.144 412.566 335.137L402.202 385.568C401.865 387.213 402.279 388.902 403.339 390.204C404.399 391.506 405.969 392.252 407.646 392.252H419.682C420.945 392.252 422.112 391.741 422.968 390.811C423.824 389.882 424.238 388.676 424.136 387.416L419.897 335.395C419.807 334.29 418.868 333.423 417.76 333.423H414.666H414.664Z",fill:"black"}),e.jsx("path",{d:"M403.296 357.461H354.736C354.559 357.461 354.414 357.317 354.414 357.139C354.414 356.961 354.557 356.817 354.736 356.817H403.296C404.592 356.817 405.708 355.936 406.006 354.672L410.287 336.584C410.327 336.411 410.501 336.304 410.672 336.345C410.845 336.385 410.952 336.559 410.91 336.732L406.629 354.819C406.261 356.374 404.889 357.458 403.295 357.458L403.296 357.461Z",fill:"black"}),e.jsx("path",{d:"M384.549 357.141L383.189 362.634C382.969 363.563 382.14 364.22 381.186 364.22H371.568C370.521 364.22 369.762 363.221 370.043 362.21L371.452 357.142H384.55L384.549 357.141Z",fill:"white"}),e.jsx("path",{d:"M381.188 364.539H371.57C370.969 364.539 370.417 364.265 370.053 363.786C369.69 363.308 369.574 362.702 369.735 362.123L371.144 357.055C371.183 356.916 371.309 356.82 371.452 356.82H384.55C384.649 356.82 384.741 356.865 384.804 356.944C384.865 357.022 384.886 357.123 384.862 357.219L383.502 362.712C383.247 363.788 382.295 364.541 381.188 364.541V364.539ZM371.697 357.461L370.353 362.294C370.246 362.679 370.323 363.08 370.565 363.398C370.805 363.715 371.172 363.896 371.57 363.896H381.188C381.997 363.896 382.692 363.345 382.878 362.558L384.14 357.461H371.697Z",fill:"black"}),e.jsx("path",{d:"M398.862 388.292H347.275C347.098 388.292 346.953 388.149 346.953 387.97C346.953 387.792 347.096 387.648 347.275 387.648H398.862C399.039 387.648 399.184 387.792 399.184 387.97C399.184 388.149 399.04 388.292 398.862 388.292Z",fill:"black"}),e.jsx("path",{d:"M373.73 331.023H369.704C368.616 331.023 367.734 331.906 367.734 332.995H375.701C375.701 331.906 374.819 331.023 373.732 331.023H373.73Z",fill:"black"}),e.jsx("path",{d:"M375.702 333.317H367.736C367.559 333.317 367.414 333.173 367.414 332.997C367.414 331.732 368.442 330.703 369.705 330.703H373.731C374.994 330.703 376.022 331.732 376.022 332.997C376.022 333.173 375.879 333.317 375.702 333.317ZM368.089 332.675H375.352C375.203 331.918 374.534 331.345 373.734 331.345H369.708C368.909 331.345 368.24 331.918 368.09 332.675H368.089Z",fill:"black"}),e.jsx("path",{d:"M406.004 331.023H401.977C400.89 331.023 400.008 331.906 400.008 332.995H407.975C407.975 331.906 407.093 331.023 406.005 331.023H406.004Z",fill:"black"}),e.jsx("path",{d:"M407.974 333.317H400.008C399.831 333.317 399.688 333.173 399.688 332.997C399.688 331.732 400.716 330.703 401.979 330.703H406.005C407.268 330.703 408.296 331.732 408.296 332.997C408.296 333.173 408.152 333.317 407.976 333.317H407.974ZM400.359 332.675H407.622C407.473 331.918 406.804 331.345 406.005 331.345H401.979C401.179 331.345 400.51 331.918 400.361 332.675H400.359Z",fill:"black"}),e.jsx("path",{d:"M404.959 330.922L405.608 327.064C406.069 324.329 404.225 322.109 401.492 322.109H377.346C374.613 322.109 372.023 324.327 371.563 327.064L370.914 330.922H372.762L373.267 327.92C373.625 325.79 375.641 324.064 377.769 324.064H400.415C402.542 324.064 403.976 325.79 403.618 327.92L403.113 330.922H404.961H404.959Z",fill:"white"}),e.jsx("path",{d:"M404.958 331.241H403.11C403.016 331.241 402.926 331.199 402.865 331.128C402.804 331.056 402.778 330.96 402.794 330.867L403.299 327.865C403.459 326.92 403.24 326.037 402.685 325.38C402.142 324.738 401.336 324.384 400.413 324.384H377.767C375.793 324.384 373.916 325.993 373.583 327.972L373.078 330.974C373.052 331.129 372.918 331.243 372.762 331.243H370.914C370.82 331.243 370.73 331.201 370.669 331.129C370.608 331.057 370.582 330.961 370.598 330.869L371.247 327.011C371.731 324.132 374.468 321.789 377.346 321.789H401.494C402.898 321.789 404.135 322.336 404.974 323.33C405.828 324.342 406.167 325.687 405.927 327.118L405.278 330.976C405.252 331.131 405.118 331.244 404.962 331.244L404.958 331.241ZM403.489 330.599H404.687L405.291 327.008C405.499 325.766 405.213 324.606 404.481 323.74C403.766 322.894 402.704 322.427 401.491 322.427H377.343C374.763 322.427 372.312 324.529 371.877 327.114L371.291 330.597H372.488L372.949 327.862C373.331 325.587 375.492 323.737 377.766 323.737H400.412C401.527 323.737 402.507 324.172 403.175 324.961C403.854 325.764 404.124 326.833 403.932 327.968L403.491 330.596L403.489 330.599Z",fill:"black"}),e.jsx("path",{d:"M400.283 320.508H379.072C378.217 320.508 377.408 321.201 377.263 322.058L376.952 323.912C376.808 324.767 377.385 325.461 378.239 325.461H399.45C400.304 325.461 401.114 324.767 401.259 323.912L401.57 322.058C401.713 321.202 401.137 320.508 400.283 320.508Z",fill:"black"}),e.jsx("path",{d:"M399.451 325.782H378.24C377.735 325.782 377.289 325.583 376.983 325.222C376.673 324.856 376.55 324.371 376.636 323.858L376.947 322.004C377.115 321.002 378.068 320.188 379.072 320.188H400.283C400.788 320.188 401.234 320.386 401.54 320.747C401.85 321.114 401.973 321.598 401.886 322.111L401.574 323.965C401.405 324.967 400.452 325.782 399.45 325.782H399.451ZM379.073 320.828C378.369 320.828 377.7 321.404 377.582 322.11L377.27 323.964C377.215 324.287 377.289 324.586 377.474 324.806C377.655 325.021 377.928 325.138 378.24 325.138H399.451C400.155 325.138 400.824 324.563 400.943 323.857L401.254 322.003C401.309 321.679 401.237 321.381 401.05 321.16C400.869 320.946 400.597 320.828 400.283 320.828H379.072H379.073Z",fill:"black"}),e.jsx("path",{d:"M407.533 388.296C407.421 388.296 407.313 388.238 407.253 388.134C407.165 387.98 407.22 387.783 407.373 387.696L415.525 383.047V336.658C415.525 336.481 415.669 336.336 415.847 336.336C416.025 336.336 416.169 336.479 416.169 336.658V383.232C416.169 383.348 416.106 383.454 416.006 383.511L407.692 388.253C407.641 388.282 407.588 388.295 407.534 388.295L407.533 388.296Z",fill:"black"}),e.jsx("path",{d:"M76.1645 150.243C86.6824 139.715 86.6824 122.645 76.1645 112.116C65.6465 101.587 48.5936 101.587 38.0757 112.116C27.5577 122.645 27.5577 139.715 38.0757 150.243C48.5936 160.772 65.6466 160.772 76.1645 150.243Z",fill:"white"}),e.jsx("path",{d:"M57.165 158.693C47.6821 158.693 38.4464 153.788 33.3494 145.005C25.7328 131.884 30.1994 115.008 43.3064 107.386C49.6544 103.692 57.0591 102.695 64.1586 104.578C71.2557 106.462 77.1976 110.999 80.8873 117.353C88.5039 130.473 84.0374 147.35 70.9303 154.972C66.5975 157.494 61.8484 158.693 57.165 158.693ZM57.0767 104.768C52.4816 104.768 47.947 105.98 43.8688 108.353C31.2939 115.666 27.009 131.857 34.3153 144.444C41.6217 157.032 57.7955 161.321 70.3704 154.007C82.9453 146.694 87.2303 130.504 79.9239 117.916C76.3855 111.819 70.6857 107.467 63.8736 105.659C61.624 105.063 59.3415 104.768 57.0767 104.768Z",fill:"black"}),e.jsx("path",{d:"M53.3198 147.279L72.8495 135.92C74.8872 134.734 75.5792 132.12 74.3951 130.08L67.1067 117.524C65.9226 115.485 63.3108 114.792 61.2731 115.977L41.7435 127.337C39.7057 128.522 39.0137 131.137 40.1978 133.176L47.4862 145.732C48.6703 147.772 51.2821 148.465 53.3198 147.279Z",fill:"white"}),e.jsx("path",{d:"M51.1801 148.413C49.5156 148.413 47.8939 147.552 46.9986 146.01L39.7099 133.455C39.0617 132.339 38.8877 131.036 39.2181 129.789C39.5485 128.542 40.3429 127.497 41.4576 126.848L60.9858 115.49C63.2884 114.149 66.2468 114.937 67.5835 117.239L74.8722 129.794C75.5203 130.91 75.6943 132.213 75.3639 133.46C75.0336 134.707 74.2391 135.752 73.1219 136.401L53.5937 147.759C52.832 148.201 51.9998 148.413 51.1776 148.413H51.1801ZM63.407 115.957C62.7739 115.957 62.1333 116.118 61.5482 116.459L42.0201 127.817C41.1626 128.315 40.5522 129.118 40.2975 130.077C40.0428 131.036 40.179 132.036 40.6758 132.894L47.9645 145.449C48.4613 146.308 49.2634 146.918 50.2217 147.173C51.1801 147.428 52.1788 147.292 53.0363 146.795L72.5645 135.437C73.422 134.939 74.0323 134.136 74.287 133.177C74.5418 132.218 74.4056 131.218 73.9087 130.36L66.62 117.805C65.9315 116.621 64.6856 115.957 63.407 115.957Z",fill:"black"}),e.jsx("path",{d:"M57.7071 133.134C57.6238 133.134 57.5381 133.114 57.4574 133.076C57.1825 132.937 57.069 132.601 57.2077 132.326L62.5569 121.63C62.6957 121.354 63.0311 121.241 63.306 121.38C63.5809 121.518 63.6944 121.854 63.5557 122.129L58.2064 132.826C58.1081 133.023 57.9113 133.134 57.7071 133.134Z",fill:"black"}),e.jsx("path",{d:"M57.6488 133.167C57.6488 133.167 57.6287 133.167 57.6186 133.167L45.6843 132.523C45.3766 132.505 45.1395 132.243 45.1572 131.935C45.1748 131.627 45.4472 131.39 45.7448 131.407L57.6791 132.051C57.9868 132.069 58.2239 132.331 58.2062 132.639C58.1911 132.937 57.9439 133.169 57.6488 133.169V133.167Z",fill:"black"}),e.jsx("path",{d:"M76.1552 302.306C75.903 302.306 75.6533 302.306 75.4036 302.298C75.0959 302.293 74.8488 302.038 74.8564 301.728C74.8614 301.422 75.1111 301.18 75.4163 301.18C75.4188 301.18 75.4238 301.18 75.4263 301.18C77.5827 301.22 79.8046 301.081 82.0215 300.771C82.3266 300.728 82.6091 300.94 82.652 301.248C82.6949 301.553 82.483 301.836 82.1753 301.879C80.1552 302.162 78.13 302.306 76.1552 302.306ZM68.7581 301.586C68.7202 301.586 68.6849 301.584 68.6471 301.576C66.3596 301.114 64.173 300.43 62.1453 299.541C61.8628 299.418 61.7342 299.087 61.8578 298.804C61.9813 298.521 62.3092 298.393 62.5942 298.516C64.5463 299.372 66.6572 300.031 68.869 300.478C69.1717 300.539 69.3659 300.834 69.3053 301.137C69.2524 301.402 69.0178 301.586 68.7581 301.586ZM88.6469 300.468C88.4048 300.468 88.1828 300.309 88.1097 300.066C88.0239 299.771 88.1929 299.461 88.4905 299.372C90.604 298.754 92.6922 297.979 94.6972 297.07C94.9772 296.941 95.3101 297.07 95.4362 297.347C95.5623 297.628 95.4362 297.961 95.1563 298.087C93.1033 299.019 90.9646 299.812 88.8007 300.443C88.7477 300.458 88.6948 300.465 88.6443 300.465L88.6469 300.468ZM56.617 296.186C56.4984 296.186 56.3774 296.148 56.274 296.068C54.4657 294.664 52.8541 293.028 51.4796 291.205C51.2929 290.958 51.3434 290.607 51.588 290.423C51.8352 290.236 52.1832 290.286 52.3698 290.531C53.6864 292.276 55.2298 293.841 56.96 295.184C57.2046 295.373 57.2475 295.724 57.0583 295.969C56.9474 296.11 56.7834 296.186 56.617 296.186ZM100.818 294.947C100.634 294.947 100.455 294.856 100.347 294.689C100.18 294.429 100.256 294.083 100.516 293.917C102.395 292.715 104.173 291.377 105.802 289.943C106.031 289.738 106.384 289.761 106.591 289.993C106.795 290.226 106.773 290.579 106.541 290.784C104.869 292.255 103.045 293.629 101.116 294.861C101.023 294.921 100.919 294.949 100.816 294.949L100.818 294.947ZM110.876 286.146C110.742 286.146 110.611 286.1 110.505 286.004C110.276 285.8 110.253 285.447 110.46 285.214C111.915 283.578 113.333 281.844 114.672 280.057C114.858 279.809 115.206 279.759 115.454 279.945C115.701 280.13 115.749 280.481 115.565 280.728C114.205 282.541 112.768 284.3 111.295 285.959C111.184 286.083 111.033 286.146 110.879 286.146H110.876ZM48.607 285.623C48.3901 285.623 48.1833 285.495 48.0925 285.28C47.2451 283.26 46.5893 281.066 46.1429 278.756C46.0849 278.453 46.2842 278.161 46.5868 278.103C46.892 278.044 47.182 278.244 47.2425 278.547C47.6713 280.781 48.3043 282.902 49.124 284.848C49.2425 285.134 49.1089 285.462 48.8264 285.58C48.7558 285.611 48.6826 285.623 48.6095 285.623H48.607ZM45.9866 272.548C45.6864 272.548 45.4368 272.309 45.4292 272.003C45.4191 271.635 45.4141 271.268 45.4141 270.902C45.4141 268.958 45.5578 267.045 45.8403 265.217C45.8882 264.912 46.1732 264.702 46.4784 264.75C46.7835 264.798 46.9929 265.083 46.9449 265.389C46.67 267.161 46.5313 269.017 46.5313 270.902C46.5313 271.256 46.5364 271.612 46.5465 271.973C46.554 272.281 46.3119 272.538 46.0042 272.546C45.9992 272.546 45.9941 272.546 45.9891 272.546L45.9866 272.548ZM48.095 259.39C48.0294 259.39 47.9613 259.378 47.8957 259.352C47.6082 259.241 47.4645 258.918 47.5754 258.63C48.4002 256.482 49.4645 254.45 50.7381 252.589C50.9121 252.334 51.2602 252.268 51.5149 252.445C51.7696 252.619 51.8352 252.968 51.6612 253.223C50.4354 255.013 49.4115 256.967 48.6196 259.034C48.5338 259.256 48.322 259.393 48.0975 259.393L48.095 259.39ZM55.6132 248.436C55.4593 248.436 55.308 248.373 55.1971 248.249C54.9902 248.02 55.0104 247.666 55.2399 247.459C56.9171 245.954 58.791 244.632 60.8061 243.526C61.0785 243.377 61.4164 243.478 61.5652 243.748C61.714 244.018 61.6131 244.359 61.3433 244.508C59.4013 245.573 57.598 246.846 55.9839 248.292C55.878 248.388 55.7443 248.436 55.6107 248.436H55.6132ZM99.0452 247.969C98.9292 247.969 98.8157 247.934 98.7149 247.86C96.9368 246.55 95.0428 245.394 93.0831 244.422C92.8057 244.286 92.6922 243.95 92.8309 243.672C92.9671 243.394 93.3026 243.281 93.58 243.42C95.5976 244.419 97.5471 245.611 99.3782 246.959C99.6278 247.143 99.6808 247.492 99.4967 247.742C99.3882 247.891 99.2167 247.969 99.0452 247.969ZM87.0908 242.054C87.0403 242.054 86.9874 242.046 86.9369 242.031C84.8184 241.42 82.6419 241.001 80.4654 240.787C80.1577 240.756 79.9332 240.484 79.9635 240.176C79.9938 239.868 80.2611 239.643 80.5738 239.673C82.8184 239.895 85.0631 240.327 87.2471 240.956C87.5422 241.042 87.7137 241.352 87.628 241.647C87.5574 241.892 87.3329 242.051 87.0908 242.051V242.054ZM67.2524 242.014C67.0103 242.014 66.7883 241.857 66.7177 241.612C66.6295 241.317 66.7984 241.004 67.0935 240.918C69.2448 240.279 71.4945 239.85 73.7769 239.643C74.0796 239.615 74.357 239.842 74.3847 240.15C74.4125 240.458 74.1855 240.731 73.8778 240.759C71.6685 240.958 69.4945 241.372 67.4113 241.991C67.3583 242.006 67.3054 242.014 67.2524 242.014Z",fill:"black"}),e.jsx("path",{d:"M124.855 264.447C124.78 264.447 124.701 264.432 124.628 264.399C124.346 264.273 124.22 263.942 124.346 263.659C125.241 261.652 126.068 259.572 126.802 257.472C126.903 257.181 127.223 257.025 127.513 257.128C127.803 257.229 127.957 257.55 127.856 257.84C127.112 259.968 126.273 262.082 125.365 264.114C125.271 264.321 125.067 264.445 124.855 264.445V264.447ZM129.294 251.804C129.246 251.804 129.198 251.799 129.15 251.786C128.853 251.708 128.674 251.402 128.754 251.102C129.312 248.989 129.803 246.8 130.215 244.599C130.27 244.296 130.558 244.094 130.865 244.152C131.168 244.207 131.367 244.5 131.312 244.803C130.896 247.032 130.399 249.249 129.834 251.387C129.768 251.637 129.541 251.804 129.294 251.804ZM131.766 238.626C131.743 238.626 131.723 238.626 131.7 238.62C131.392 238.585 131.173 238.307 131.211 237.999C131.465 235.836 131.657 233.597 131.781 231.35C131.798 231.042 132.071 230.807 132.368 230.822C132.676 230.84 132.913 231.102 132.895 231.41C132.769 233.682 132.578 235.942 132.32 238.131C132.288 238.416 132.046 238.626 131.766 238.626ZM132.52 225.233C132.212 225.233 131.962 224.983 131.962 224.675C131.962 222.496 131.904 220.249 131.791 217.995C131.776 217.687 132.013 217.424 132.32 217.409C132.628 217.396 132.89 217.631 132.906 217.939C133.019 220.211 133.077 222.478 133.077 224.675C133.077 224.983 132.827 225.235 132.52 225.235V225.233ZM131.861 211.832C131.576 211.832 131.332 211.615 131.307 211.325C131.102 209.164 130.848 206.927 130.55 204.68C130.51 204.374 130.724 204.092 131.029 204.051C131.334 204.008 131.617 204.225 131.657 204.531C131.957 206.793 132.215 209.045 132.419 211.219C132.449 211.527 132.222 211.799 131.914 211.827C131.897 211.827 131.879 211.827 131.861 211.827V211.832ZM130.101 198.53C129.834 198.53 129.597 198.336 129.551 198.063C129.193 195.932 128.787 193.716 128.343 191.479C128.283 191.176 128.479 190.88 128.782 190.822C129.09 190.762 129.38 190.959 129.438 191.262C129.884 193.509 130.293 195.735 130.653 197.879C130.704 198.184 130.5 198.472 130.194 198.522C130.162 198.527 130.131 198.53 130.101 198.53ZM127.498 185.367C127.244 185.367 127.012 185.19 126.954 184.93C126.484 182.842 125.965 180.648 125.413 178.412C125.339 178.111 125.521 177.808 125.821 177.735C126.119 177.662 126.424 177.844 126.497 178.144C127.052 180.388 127.571 182.587 128.043 184.685C128.111 184.986 127.922 185.286 127.622 185.354C127.582 185.364 127.539 185.367 127.498 185.367Z",fill:"black"}),e.jsx("path",{d:"M114.719 150.108C114.509 150.108 114.308 149.989 114.212 149.787C113.299 147.854 112.282 145.849 111.19 143.829C111.044 143.557 111.145 143.218 111.417 143.072C111.69 142.926 112.028 143.027 112.174 143.299C113.273 145.337 114.3 147.361 115.221 149.31C115.352 149.591 115.233 149.924 114.953 150.055C114.875 150.09 114.794 150.108 114.714 150.108H114.719ZM108.366 138.29C108.176 138.29 107.99 138.195 107.886 138.018C106.769 136.152 105.579 134.244 104.343 132.345C104.174 132.085 104.247 131.739 104.507 131.573C104.767 131.403 105.112 131.477 105.281 131.737C106.525 133.648 107.725 135.569 108.847 137.445C109.006 137.71 108.92 138.053 108.656 138.212C108.565 138.265 108.466 138.293 108.368 138.293L108.366 138.29ZM101.054 127.036C100.878 127.036 100.704 126.953 100.595 126.796C99.3417 125.001 98.0227 123.176 96.6734 121.366C96.4893 121.118 96.5398 120.767 96.7869 120.583C97.0341 120.399 97.3846 120.449 97.5687 120.697C98.9231 122.514 100.25 124.35 101.511 126.155C101.687 126.407 101.627 126.756 101.372 126.932C101.274 127.001 101.163 127.033 101.052 127.033L101.054 127.036ZM93.0366 116.268C92.8702 116.268 92.7088 116.195 92.5978 116.056C91.2283 114.322 89.8084 112.578 88.3759 110.866C88.1767 110.629 88.2095 110.275 88.4465 110.078C88.6836 109.879 89.0367 109.912 89.2334 110.149C90.671 111.868 92.0984 113.623 93.4755 115.365C93.6672 115.607 93.6268 115.958 93.3847 116.15C93.2813 116.231 93.1602 116.271 93.0392 116.271L93.0366 116.268ZM84.4289 105.978C84.2751 105.978 84.1212 105.915 84.0103 105.789C82.5248 104.11 81.009 102.444 79.5034 100.841C79.2915 100.616 79.3041 100.263 79.5286 100.051C79.7556 99.8384 80.1087 99.8511 80.318 100.076C81.8287 101.689 83.3545 103.36 84.8476 105.049C85.0519 105.281 85.0292 105.635 84.7997 105.839C84.6937 105.933 84.5601 105.981 84.4289 105.981V105.978ZM75.2462 96.1955C75.1024 96.1955 74.9612 96.1399 74.8502 96.0314C73.2285 94.408 71.6094 92.8453 70.0382 91.3836C69.8112 91.174 69.7986 90.8206 70.0104 90.5934C70.2197 90.3662 70.5728 90.3536 70.7998 90.5631C72.3811 92.0324 74.0104 93.6078 75.6421 95.2386C75.8615 95.4583 75.8615 95.8117 75.6421 96.0288C75.5337 96.1374 75.3899 96.1929 75.2462 96.1929V96.1955Z",fill:"black"}),e.jsx("path",{d:"M77.9099 248.43H73.9402L72.9869 252.663C72.0689 252.828 71.1735 253.065 70.3135 253.375L67.3754 250.189L63.9378 252.176L65.2266 256.322C64.5229 256.917 63.8697 257.571 63.2745 258.278L59.1333 256.988L57.1485 260.429L60.3313 263.37C60.0211 264.231 59.784 265.125 59.6201 266.046L55.3906 267.001V270.974L59.6201 271.929C59.784 272.848 60.0211 273.744 60.3313 274.605L57.1485 277.546L59.1333 280.987L63.2745 279.697C63.8697 280.401 64.5229 281.055 65.2266 281.653L63.9378 285.799L67.3754 287.786L70.3135 284.599C71.1735 284.91 72.0664 285.147 72.9869 285.311L73.9402 289.545H77.9099L78.8633 285.311C79.7813 285.147 80.6766 284.91 81.5366 284.599L84.4748 287.786L87.9123 285.799L86.6236 281.653C87.3272 281.057 87.9804 280.404 88.5781 279.699L92.7193 280.989L94.7042 277.548L91.5214 274.607C91.8316 273.746 92.0686 272.853 92.2326 271.931L96.462 270.977V267.003L92.2326 266.049C92.0686 265.13 91.8316 264.234 91.5214 263.373L94.7042 260.432L92.7193 256.991L88.5781 258.281C87.9829 257.576 87.3297 256.922 86.6236 256.324L87.9123 252.179L84.4748 250.192L81.5366 253.378C80.6766 253.067 79.7838 252.83 78.8633 252.666L77.9099 248.432V248.43ZM86.1444 268.987C86.1444 274.637 81.5694 279.217 75.9251 279.217C70.2807 279.217 65.7058 274.637 65.7058 268.987C65.7058 263.337 70.2807 258.758 75.9251 258.758C81.5694 258.758 86.1444 263.337 86.1444 268.987Z",fill:"white"}),e.jsx("path",{d:"M77.9126 290.101H73.9429C73.6806 290.101 73.4562 289.92 73.3981 289.665L72.5255 285.789C71.8269 285.648 71.1409 285.466 70.4802 285.244L67.7917 288.16C67.6151 288.352 67.3276 288.395 67.1031 288.266L63.6656 286.279C63.4386 286.148 63.3327 285.878 63.4109 285.628L64.5912 281.833C64.0641 281.366 63.5622 280.864 63.0981 280.339L59.305 281.52C59.0578 281.598 58.7855 281.492 58.6543 281.265L56.6695 277.824C56.5383 277.597 56.5837 277.312 56.7754 277.135L59.6883 274.444C59.4664 273.78 59.2848 273.093 59.1436 272.396L55.2722 271.523C55.0175 271.465 54.8359 271.238 54.8359 270.978V267.004C54.8359 266.741 55.0175 266.517 55.2722 266.459L59.1436 265.585C59.2848 264.886 59.4664 264.199 59.6883 263.538L56.7754 260.846C56.5837 260.67 56.5408 260.382 56.6695 260.157L58.6543 256.716C58.7855 256.489 59.0553 256.383 59.305 256.461L63.0981 257.643C63.5647 257.115 64.0641 256.615 64.5912 256.146L63.4109 252.349C63.3327 252.099 63.4386 251.828 63.6656 251.697L67.1031 249.71C67.3276 249.579 67.6151 249.622 67.7917 249.816L70.4802 252.732C71.1409 252.51 71.8269 252.328 72.5255 252.187L73.3981 248.312C73.4562 248.057 73.6806 247.875 73.9429 247.875H77.9126C78.1749 247.875 78.3994 248.057 78.4574 248.312L79.33 252.187C80.0286 252.328 80.7146 252.51 81.3754 252.732L84.0664 249.816C84.2429 249.625 84.5304 249.582 84.7549 249.71L88.1924 251.697C88.4194 251.828 88.5253 252.099 88.4472 252.349L87.2669 256.143C87.794 256.61 88.2933 257.11 88.7624 257.64L92.553 256.459C92.8002 256.38 93.0726 256.486 93.2037 256.714L95.1886 260.155C95.3197 260.382 95.2743 260.667 95.0827 260.846L92.1697 263.538C92.3916 264.199 92.5732 264.886 92.7145 265.585L96.5858 266.459C96.8405 266.517 97.0221 266.744 97.0221 267.004V270.978C97.0221 271.24 96.8405 271.465 96.5858 271.523L92.7145 272.396C92.5732 273.096 92.3916 273.782 92.1697 274.444L95.0827 277.135C95.2743 277.312 95.3172 277.6 95.1886 277.827L93.2037 281.268C93.0726 281.495 92.8002 281.598 92.553 281.523L88.7624 280.341C88.2958 280.869 87.794 281.371 87.2669 281.838L88.4472 285.635C88.5253 285.885 88.4194 286.155 88.1924 286.287L84.7549 288.273C84.5279 288.405 84.2429 288.359 84.0664 288.167L81.3754 285.252C80.7146 285.474 80.0286 285.655 79.33 285.797L78.4574 289.672C78.3994 289.927 78.1749 290.109 77.9126 290.109V290.101ZM74.3893 288.983H77.4662L78.3212 285.186C78.3716 284.966 78.5456 284.797 78.7676 284.759C79.6579 284.6 80.5254 284.368 81.3501 284.073C81.562 283.997 81.7991 284.055 81.9504 284.219L84.5859 287.077L87.2492 285.537L86.0916 281.818C86.026 281.604 86.0916 281.371 86.2656 281.225C86.9415 280.652 87.5771 280.016 88.1546 279.336C88.3009 279.165 88.5329 279.097 88.7473 279.165L92.4623 280.321L94.0007 277.655L91.1458 275.017C90.9818 274.865 90.9238 274.628 90.9995 274.416C91.2971 273.59 91.5266 272.719 91.688 271.831C91.7283 271.609 91.8948 271.434 92.1142 271.384L95.9074 270.528V267.448L92.1142 266.592C91.8948 266.542 91.7258 266.368 91.688 266.145C91.5291 265.257 91.2971 264.386 90.9995 263.56C90.9238 263.348 90.9818 263.113 91.1458 262.959L94.0007 260.321L92.4623 257.655L88.7473 258.812C88.5354 258.877 88.3009 258.812 88.1546 258.64C87.5796 257.958 86.944 257.325 86.2656 256.749C86.0941 256.605 86.026 256.37 86.0916 256.156L87.2492 252.437L84.5859 250.897L81.9504 253.755C81.7991 253.919 81.5645 253.977 81.3501 253.901C80.5254 253.603 79.6579 253.374 78.7676 253.214C78.5456 253.174 78.3716 253.007 78.3212 252.788L77.4662 248.991H74.3893L73.5343 252.788C73.4839 253.007 73.3099 253.177 73.0879 253.214C72.1977 253.374 71.3301 253.606 70.5054 253.901C70.296 253.977 70.0565 253.919 69.9051 253.755L67.2696 250.897L64.6063 252.437L65.7614 256.156C65.827 256.37 65.7614 256.602 65.5899 256.749C64.9115 257.325 64.2759 257.961 63.7034 258.64C63.5572 258.812 63.3251 258.88 63.1108 258.812L59.3958 257.655L57.8573 260.321L60.7123 262.959C60.8762 263.111 60.9342 263.348 60.8586 263.56C60.561 264.386 60.3315 265.257 60.1726 266.145C60.1322 266.368 59.9658 266.544 59.7463 266.592L55.9532 267.448V270.528L59.7463 271.384C59.9658 271.434 60.1347 271.609 60.1726 271.831C60.3315 272.719 60.561 273.588 60.8586 274.416C60.9342 274.628 60.8762 274.863 60.7123 275.017L57.8573 277.655L59.3958 280.321L63.1108 279.165C63.3251 279.099 63.5572 279.165 63.7034 279.336C64.2759 280.016 64.9115 280.652 65.5899 281.227C65.7614 281.371 65.8295 281.606 65.7614 281.821L64.6063 285.539L67.2696 287.079L69.9051 284.222C70.0565 284.057 70.2935 283.999 70.5054 284.075C71.3301 284.373 72.1977 284.603 73.0879 284.762C73.3099 284.802 73.4839 284.969 73.5343 285.188L74.3893 288.985V288.983ZM75.9278 279.776C69.9858 279.776 65.1486 274.936 65.1486 268.986C65.1486 263.035 69.9833 258.196 75.9278 258.196C81.8722 258.196 86.7044 263.035 86.7044 268.986C86.7044 274.936 81.8697 279.776 75.9278 279.776ZM75.9278 259.314C70.6012 259.314 66.2658 263.651 66.2658 268.986C66.2658 274.32 70.5987 278.657 75.9278 278.657C81.2568 278.657 85.5872 274.32 85.5872 268.986C85.5872 263.651 81.2543 259.314 75.9278 259.314Z",fill:"black"}),e.jsx("path",{d:"M56.4272 176.656H49.6328L48.001 183.902C46.4273 184.185 44.8989 184.591 43.426 185.121L38.3996 179.671L32.5157 183.071L34.7199 190.165C33.5144 191.185 32.3972 192.306 31.3782 193.51L24.2913 191.301L20.8941 197.191L26.3392 202.223C25.8096 203.695 25.4035 205.227 25.1211 206.802L17.8828 208.436V215.237L25.1211 216.87C25.4035 218.446 25.8096 219.976 26.3392 221.448L20.8941 226.479L24.2913 232.369L31.3782 230.162C32.3972 231.369 33.5169 232.488 34.7199 233.507L32.5157 240.602L38.3996 244.002L43.426 238.552C44.8964 239.082 46.4273 239.488 48.001 239.771L49.6328 247.017H56.4272L58.0589 239.771C59.6327 239.488 61.161 239.082 62.6314 238.552L67.6578 244.002L73.5417 240.602L71.3374 233.507C72.543 232.488 73.6602 231.367 74.6792 230.162L81.7661 232.369L85.1633 226.479L79.7182 221.448C80.2478 219.976 80.6539 218.443 80.9363 216.87L88.1746 215.237V208.436L80.9363 206.802C80.6539 205.227 80.2478 203.697 79.7182 202.223L85.1633 197.191L81.7661 191.301L74.6792 193.51C73.6602 192.304 72.5405 191.185 71.3374 190.165L73.5417 183.071L67.6578 179.671L62.6314 185.121C61.161 184.591 59.6301 184.185 58.0564 183.902L56.4246 176.656H56.4272ZM70.5178 211.834C70.5178 221.501 62.6894 229.339 53.03 229.339C43.3731 229.339 35.5421 221.503 35.5421 211.834C35.5421 202.167 43.3705 194.328 53.03 194.328C62.6869 194.328 70.5178 202.165 70.5178 211.834Z",fill:"white"}),e.jsx("path",{d:"M56.4273 247.567H49.6329C49.3706 247.567 49.1462 247.385 49.0882 247.13L47.5371 240.246C46.1853 239.986 44.8587 239.632 43.5876 239.196L38.8109 244.376C38.6343 244.568 38.3468 244.611 38.1223 244.482L32.2384 241.082C32.0114 240.95 31.9055 240.68 31.9837 240.43L34.0795 233.687C33.0556 232.796 32.0871 231.826 31.1943 230.799L24.4579 232.897C24.2082 232.975 23.9384 232.869 23.8072 232.642L20.4101 226.752C20.2789 226.525 20.3243 226.239 20.516 226.06L25.6912 221.279C25.2524 220.006 24.9018 218.681 24.642 217.325L17.7644 215.772C17.5097 215.714 17.3281 215.487 17.3281 215.227V208.426C17.3281 208.163 17.5097 207.939 17.7644 207.881L24.642 206.328C24.9018 204.975 25.2549 203.647 25.6912 202.374L20.516 197.593C20.3243 197.416 20.2814 197.128 20.4101 196.901L23.8072 191.011C23.9384 190.784 24.2082 190.678 24.4579 190.756L31.1943 192.854C32.0846 191.827 33.053 190.86 34.0795 189.966L31.9837 183.223C31.9055 182.973 32.0114 182.703 32.2384 182.572L38.1223 179.171C38.3468 179.04 38.6343 179.083 38.8109 179.277L43.5876 184.457C44.8587 184.018 46.1853 183.667 47.5371 183.407L49.0882 176.523C49.1462 176.268 49.3706 176.086 49.6329 176.086H56.4273C56.6896 176.086 56.9141 176.268 56.9721 176.523L58.5231 183.407C59.8749 183.667 61.2015 184.021 62.4726 184.457L67.2494 179.277C67.4259 179.085 67.7134 179.042 67.9379 179.171L73.8218 182.572C74.0488 182.703 74.1547 182.973 74.0765 183.223L71.9807 189.966C73.0072 190.86 73.9757 191.827 74.8659 192.854L81.6023 190.756C81.8495 190.678 82.1219 190.784 82.253 191.011L85.6502 196.901C85.7813 197.128 85.7359 197.414 85.5443 197.593L80.369 202.374C80.8079 203.647 81.1584 204.972 81.4182 206.328L88.2958 207.881C88.5505 207.939 88.7321 208.166 88.7321 208.426V215.227C88.7321 215.49 88.5505 215.714 88.2958 215.772L81.4182 217.325C81.1584 218.678 80.8053 220.006 80.369 221.279L85.5443 226.06C85.7359 226.237 85.7788 226.525 85.6502 226.752L82.253 232.642C82.1219 232.869 81.8495 232.973 81.6023 232.897L74.8659 230.799C73.9731 231.826 73.0047 232.796 71.9807 233.687L74.0765 240.43C74.1547 240.68 74.0488 240.95 73.8218 241.082L67.9379 244.482C67.7109 244.613 67.4259 244.57 67.2494 244.376L62.4726 239.196C61.2015 239.635 59.8775 239.986 58.5231 240.246L56.9721 247.13C56.9141 247.385 56.6896 247.567 56.4273 247.567ZM50.0819 246.449H55.9809L57.5143 239.64C57.5648 239.42 57.7388 239.251 57.9607 239.213C59.5042 238.936 61.0124 238.534 62.4424 238.019C62.6542 237.943 62.8913 238.002 63.0426 238.166L67.7664 243.288L72.8761 240.334L70.8029 233.667C70.7374 233.452 70.8029 233.22 70.977 233.074C72.1522 232.076 73.2569 230.973 74.2531 229.794C74.3994 229.622 74.6339 229.554 74.8458 229.622L81.5065 231.698L84.4573 226.583L79.34 221.854C79.1761 221.703 79.1181 221.465 79.1938 221.253C79.7083 219.819 80.1093 218.31 80.3867 216.767C80.427 216.545 80.5935 216.371 80.8129 216.32L87.6149 214.785V208.88L80.8129 207.345C80.5935 207.295 80.4245 207.121 80.3867 206.899C80.1118 205.354 79.7083 203.844 79.1938 202.41C79.1181 202.198 79.1761 201.963 79.34 201.809L84.4573 197.08L81.5065 191.966L74.8458 194.041C74.6339 194.106 74.3994 194.041 74.2531 193.869C73.2569 192.693 72.1548 191.587 70.977 190.59C70.8055 190.446 70.7374 190.211 70.8055 189.996L72.8786 183.329L67.7689 180.375L63.0451 185.498C62.8938 185.662 62.6593 185.72 62.4449 185.644C61.0124 185.129 59.5042 184.728 57.9632 184.45C57.7413 184.41 57.5673 184.243 57.5168 184.023L55.9834 177.214H50.0844L48.551 184.023C48.5005 184.243 48.3265 184.412 48.1046 184.45C46.5611 184.725 45.0529 185.129 43.6229 185.644C43.4085 185.72 43.174 185.662 43.0227 185.498L38.2989 180.375L33.1892 183.329L35.2624 189.996C35.3279 190.211 35.2624 190.443 35.0909 190.59C33.9131 191.587 32.8109 192.69 31.8147 193.869C31.6684 194.041 31.4364 194.109 31.222 194.041L24.5613 191.966L21.6105 197.08L26.7278 201.809C26.8917 201.96 26.9497 202.198 26.874 202.41C26.3595 203.841 25.9585 205.351 25.6811 206.896C25.6408 207.118 25.4743 207.292 25.2549 207.343L18.453 208.878V214.783L25.2549 216.318C25.4743 216.368 25.6433 216.542 25.6811 216.765C25.956 218.31 26.3595 219.819 26.874 221.251C26.9497 221.463 26.8917 221.698 26.7278 221.852L21.6105 226.58L24.5613 231.695L31.222 229.62C31.4364 229.554 31.6684 229.62 31.8147 229.792C32.8109 230.971 33.9156 232.074 35.0909 233.071C35.2624 233.215 35.3304 233.45 35.2624 233.664L33.1892 240.332L38.2989 243.285L43.0227 238.163C43.174 237.999 43.4085 237.941 43.6229 238.017C45.0554 238.532 46.5636 238.933 48.1046 239.211C48.3265 239.251 48.5005 239.418 48.551 239.637L50.0844 246.446L50.0819 246.449ZM53.0301 229.895C43.0782 229.895 34.9849 221.791 34.9849 211.832C34.9849 207.007 36.8613 202.47 40.2711 199.057C43.6809 195.646 48.2105 193.766 53.0326 193.766C62.9846 193.766 71.0778 201.87 71.0778 211.829C71.0778 221.789 62.9821 229.893 53.0326 229.893L53.0301 229.895ZM53.0301 194.887C48.5081 194.887 44.2559 196.649 41.0605 199.85C37.8626 203.051 36.1022 207.305 36.1022 211.832C36.1022 221.175 43.6961 228.777 53.0301 228.777C62.3642 228.777 69.9581 221.175 69.9581 211.832C69.9581 202.488 62.3642 194.887 53.0301 194.887Z",fill:"black"}),e.jsx("path",{d:"M151.307 158.572H240.915C243.624 158.572 245.18 156.373 244.391 153.661L227.137 94.3713C226.348 91.6599 223.513 89.4609 220.804 89.4609H131.196C128.488 89.4609 126.932 91.6599 127.721 94.3713L144.974 153.661C145.764 156.373 148.598 158.572 151.307 158.572Z",fill:"white"}),e.jsx("path",{d:"M240.915 159.133H151.307C148.371 159.133 145.289 156.75 144.437 153.821L127.184 94.531C126.74 93.0087 126.941 91.5747 127.751 90.4967C128.52 89.4718 129.743 88.9062 131.196 88.9062H220.804C223.74 88.9062 226.822 91.2895 227.674 94.218L244.928 153.508C245.371 155.03 245.17 156.462 244.36 157.542C243.591 158.567 242.368 159.133 240.915 159.133ZM131.196 90.0246C130.104 90.0246 129.199 90.4311 128.646 91.1683C128.054 91.9585 127.915 93.0415 128.258 94.218L145.511 153.508C146.235 155.992 148.835 158.014 151.307 158.014H240.915C242.007 158.014 242.912 157.608 243.465 156.871C244.057 156.081 244.196 154.997 243.853 153.821L226.6 94.531C225.876 92.0468 223.276 90.0246 220.804 90.0246H131.196Z",fill:"black"}),e.jsx("path",{d:"M155.682 105.999H150.739C149.626 105.999 148.504 105.136 148.184 104.033L146.744 99.0844C146.57 98.4911 146.658 97.9004 146.986 97.4636C147.301 97.0445 147.811 96.8047 148.388 96.8047H153.331C154.443 96.8047 155.566 97.6681 155.886 98.7713L157.326 103.72C157.5 104.313 157.412 104.906 157.084 105.34C156.769 105.759 156.259 105.999 155.682 105.999ZM148.391 97.9206C148.232 97.9206 148.012 97.9584 147.881 98.1326C147.765 98.2866 147.742 98.5113 147.818 98.7688L149.258 103.717C149.442 104.348 150.121 104.878 150.741 104.878H155.684C155.843 104.878 156.063 104.84 156.194 104.666C156.31 104.512 156.332 104.288 156.257 104.03L154.817 99.0819C154.633 98.4532 153.954 97.9206 153.334 97.9206H148.391Z",fill:"black"}),e.jsx("path",{d:"M145.369 105.999H140.426C139.314 105.999 138.192 105.136 137.871 104.033L136.431 99.0844C136.257 98.4911 136.345 97.9004 136.673 97.4636C136.989 97.0445 137.498 96.8047 138.076 96.8047H143.019C144.131 96.8047 145.253 97.6681 145.574 98.7713L147.014 103.72C147.188 104.313 147.099 104.904 146.772 105.34C146.456 105.759 145.947 105.999 145.369 105.999ZM138.076 97.9206C137.917 97.9206 137.697 97.9584 137.566 98.1326C137.45 98.2866 137.427 98.5113 137.503 98.7688L138.943 103.717C139.127 104.348 139.806 104.878 140.426 104.878H145.369C145.528 104.878 145.745 104.84 145.879 104.666C145.995 104.512 146.017 104.288 145.942 104.03L144.502 99.0819C144.318 98.4507 143.639 97.9206 143.019 97.9206H138.076Z",fill:"black"}),e.jsx("path",{d:"M158.979 117.304H154.035C152.923 117.304 151.801 116.441 151.481 115.337L150.041 110.389C149.867 109.796 149.955 109.205 150.283 108.768C150.598 108.349 151.107 108.109 151.685 108.109H156.628C157.74 108.109 158.863 108.973 159.183 110.076L160.623 115.024C160.797 115.618 160.709 116.208 160.381 116.645C160.066 117.064 159.556 117.304 158.979 117.304ZM151.687 109.228C151.529 109.228 151.309 109.266 151.178 109.44C151.062 109.594 151.039 109.819 151.115 110.076L152.555 115.024C152.739 115.655 153.418 116.186 154.038 116.186H158.981C159.14 116.186 159.359 116.148 159.491 115.973C159.607 115.819 159.629 115.592 159.554 115.337L158.114 110.389C157.93 109.76 157.251 109.228 156.631 109.228H151.687Z",fill:"black"}),e.jsx("path",{d:"M148.658 117.304H143.715C142.603 117.304 141.481 116.441 141.16 115.337L139.72 110.389C139.546 109.796 139.635 109.205 139.962 108.768C140.278 108.349 140.787 108.109 141.365 108.109H146.308C147.42 108.109 148.542 108.973 148.863 110.076L150.303 115.024C150.477 115.618 150.388 116.208 150.061 116.645C149.745 117.064 149.236 117.304 148.658 117.304ZM141.365 109.228C141.206 109.228 140.986 109.266 140.855 109.44C140.739 109.594 140.716 109.821 140.792 110.076L142.232 115.024C142.416 115.655 143.095 116.186 143.715 116.186H148.658C148.817 116.186 149.034 116.148 149.168 115.973C149.284 115.819 149.307 115.592 149.231 115.337L147.791 110.389C147.607 109.758 146.928 109.228 146.308 109.228H141.365Z",fill:"black"}),e.jsx("path",{d:"M154.977 119.977H159.921C160.783 119.977 161.689 120.678 161.938 121.542L163.378 126.49C163.631 127.353 163.134 128.055 162.271 128.055H157.328C156.466 128.055 155.56 127.356 155.31 126.49L153.87 121.542C153.618 120.678 154.115 119.977 154.977 119.977Z",fill:"white"}),e.jsx("path",{d:"M144.657 119.977H149.6C150.463 119.977 151.368 120.678 151.618 121.542L153.058 126.49C153.31 127.353 152.813 128.055 151.951 128.055H147.008C146.145 128.055 145.24 127.356 144.99 126.49L143.55 121.542C143.298 120.678 143.795 119.977 144.657 119.977Z",fill:"white"}),e.jsx("path",{d:"M158.267 131.289H163.21C164.072 131.289 164.978 131.988 165.227 132.854L166.667 137.803C166.92 138.666 166.423 139.368 165.56 139.368H160.617C159.755 139.368 158.849 138.666 158.599 137.803L157.159 132.854C156.907 131.991 157.404 131.289 158.267 131.289Z",fill:"white"}),e.jsx("path",{d:"M147.946 131.289H152.889C153.752 131.289 154.657 131.988 154.907 132.854L156.347 137.803C156.599 138.666 156.103 139.368 155.24 139.368H150.297C149.434 139.368 148.529 138.666 148.279 137.803L146.839 132.854C146.587 131.991 147.084 131.289 147.946 131.289Z",fill:"white"}),e.jsx("path",{d:"M161.556 142.602H166.499C167.361 142.602 168.267 143.303 168.516 144.167L169.957 149.115C170.209 149.978 169.712 150.68 168.849 150.68H163.906C163.044 150.68 162.138 149.978 161.889 149.115L160.448 144.167C160.196 143.303 160.693 142.602 161.556 142.602Z",fill:"white"}),e.jsx("path",{d:"M151.243 142.602H156.186C157.049 142.602 157.954 143.303 158.204 144.167L159.644 149.115C159.896 149.978 159.399 150.68 158.537 150.68H153.594C152.731 150.68 151.826 149.978 151.576 149.115L150.136 144.167C149.884 143.303 150.381 142.602 151.243 142.602Z",fill:"white"}),e.jsx("path",{d:"M234.626 151.235H176.481C176.233 151.235 176.014 151.071 175.943 150.831L160.428 97.5139C160.38 97.3447 160.413 97.1629 160.516 97.0216C160.62 96.8802 160.789 96.7969 160.963 96.7969H219.108C219.355 96.7969 219.575 96.961 219.645 97.2008L235.161 150.518C235.209 150.687 235.176 150.869 235.073 151.01C234.967 151.151 234.803 151.235 234.626 151.235ZM176.899 150.116H233.88L218.69 97.9178H161.709L176.899 150.116Z",fill:"black"}),e.jsx("path",{d:"M224.375 137.019C224.256 137.019 224.135 136.982 224.032 136.903L211.152 126.906C210.16 126.136 208.95 125.788 207.835 125.954C206.95 126.085 206.196 126.535 205.709 127.221L202.405 131.877C201.969 132.49 201.301 132.892 200.526 133.008C199.618 133.142 198.64 132.869 197.85 132.255L183.061 120.776C182.07 120.006 180.862 119.658 179.745 119.824C178.862 119.956 178.105 120.405 177.619 121.092L176.741 122.329C176.562 122.581 176.214 122.639 175.962 122.46C175.709 122.281 175.651 121.932 175.83 121.68L176.708 120.443C177.374 119.506 178.395 118.893 179.583 118.716C180.998 118.507 182.516 118.936 183.747 119.893L198.536 131.372C199.086 131.799 199.752 131.99 200.365 131.902C200.698 131.852 201.167 131.695 201.497 131.231L204.801 126.575C205.467 125.639 206.488 125.025 207.676 124.848C209.091 124.639 210.609 125.068 211.84 126.025L224.72 136.022C224.962 136.212 225.008 136.562 224.819 136.807C224.708 136.949 224.544 137.024 224.377 137.024L224.375 137.019Z",fill:"black"}),e.jsx("path",{d:"M208.027 118.97C204.181 118.97 200.144 115.845 199.026 112.005C198.451 110.028 198.709 108.173 199.755 106.779C200.746 105.456 202.328 104.727 204.209 104.727C208.055 104.727 212.093 107.852 213.21 111.692C213.785 113.669 213.526 115.524 212.481 116.918C211.49 118.241 209.909 118.97 208.027 118.97ZM204.207 105.847C202.686 105.847 201.422 106.418 200.645 107.451C199.818 108.556 199.622 110.064 200.096 111.692C201.084 115.087 204.64 117.852 208.025 117.852C209.546 117.852 210.809 117.281 211.586 116.249C212.413 115.143 212.61 113.636 212.136 112.007C211.147 108.612 207.591 105.847 204.207 105.847Z",fill:"black"}),e.jsx("path",{d:"M116.062 113.758H185.938C188.525 113.758 191.234 115.858 191.988 118.446L205.678 165.489C206.432 168.079 204.944 170.177 202.359 170.177H132.483C129.895 170.177 127.187 168.077 126.433 165.489L112.743 118.446C111.989 115.856 113.477 113.758 116.062 113.758Z",fill:"white"}),e.jsx("path",{d:"M202.356 170.736H132.48C129.666 170.736 126.712 168.451 125.895 165.644L112.206 118.6C111.779 117.139 111.974 115.763 112.75 114.725C113.489 113.738 114.665 113.195 116.062 113.195H185.937C188.752 113.195 191.705 115.48 192.522 118.287L206.212 165.331C206.638 166.792 206.444 168.168 205.667 169.206C204.928 170.193 203.753 170.736 202.356 170.736ZM116.059 114.314C115.023 114.314 114.165 114.697 113.643 115.397C113.081 116.147 112.952 117.172 113.277 118.287L126.967 165.331C127.656 167.694 130.127 169.617 132.48 169.617H202.356C203.392 169.617 204.25 169.234 204.772 168.534C205.334 167.785 205.463 166.76 205.138 165.644L191.448 118.6C190.76 116.237 188.288 114.314 185.935 114.314H116.059Z",fill:"black"}),e.jsx("path",{d:"M192.505 167.399C192.263 167.399 192.038 167.24 191.968 166.995L177.491 117.248C177.405 116.952 177.574 116.642 177.872 116.554C178.167 116.468 178.477 116.637 178.565 116.935L193.042 166.682C193.128 166.977 192.959 167.288 192.661 167.376C192.608 167.391 192.555 167.399 192.505 167.399Z",fill:"black"}),e.jsx("path",{d:"M133.583 161.912H185.567C186.405 161.912 186.886 161.233 186.642 160.395L175.918 123.541C175.673 122.703 174.798 122.023 173.958 122.023H121.974C121.137 122.023 120.655 122.703 120.9 123.541L131.623 160.395C131.868 161.233 132.743 161.912 133.583 161.912Z",fill:"#C4C4C4"}),e.jsx("path",{d:"M193.272 146.231C190.962 146.231 188.626 144.426 187.955 142.124C187.615 140.95 187.779 139.796 188.404 138.958C189.012 138.147 189.973 137.703 191.113 137.703C193.423 137.703 195.759 139.508 196.429 141.811C196.772 142.985 196.608 144.138 195.98 144.976C195.373 145.787 194.412 146.231 193.269 146.231H193.272ZM189.027 141.808C189.557 143.628 191.461 145.11 193.272 145.11C194.054 145.11 194.697 144.822 195.088 144.302C195.509 143.742 195.605 142.967 195.357 142.121C194.828 140.301 192.924 138.819 191.113 138.819C190.334 138.819 189.688 139.107 189.297 139.627C188.876 140.187 188.78 140.962 189.025 141.808H189.027Z",fill:"black"}),e.jsx("path",{d:"M189.96 126.118C189.718 126.118 189.493 125.959 189.423 125.714L188.406 122.217C188.253 121.687 187.66 121.222 187.138 121.222H184.409C184.101 121.222 183.852 120.973 183.852 120.662C183.852 120.351 184.101 120.102 184.409 120.102H187.138C188.157 120.102 189.183 120.892 189.478 121.904L190.495 125.401C190.58 125.696 190.411 126.007 190.114 126.095C190.061 126.11 190.008 126.118 189.957 126.118H189.96Z",fill:"black"}),e.jsx("path",{d:"M191.186 135.141H188.457C187.438 135.141 186.412 134.351 186.117 133.341L183.897 125.717C183.812 125.421 183.981 125.111 184.278 125.022C184.573 124.936 184.886 125.106 184.972 125.404L187.191 133.028C187.345 133.558 187.938 134.022 188.46 134.022H191.189C191.317 134.022 191.494 133.995 191.595 133.856C191.685 133.735 191.703 133.55 191.642 133.338C191.557 133.043 191.726 132.732 192.023 132.644C192.321 132.558 192.631 132.727 192.717 133.025C192.876 133.576 192.795 134.121 192.492 134.525C192.2 134.914 191.726 135.138 191.191 135.138L191.186 135.141Z",fill:"black"}),e.jsx("path",{d:"M188.562 126.121H185.833C185.526 126.121 185.273 125.871 185.273 125.56C185.273 125.25 185.523 125 185.833 125H188.562C188.87 125 189.122 125.25 189.122 125.56C189.122 125.871 188.872 126.121 188.562 126.121Z",fill:"black"}),e.jsx("path",{d:"M189.328 128.751H186.599C186.291 128.751 186.039 128.501 186.039 128.191C186.039 127.88 186.289 127.633 186.599 127.633H189.328C189.635 127.633 189.888 127.883 189.888 128.191C189.888 128.499 189.638 128.751 189.328 128.751Z",fill:"black"}),e.jsx("path",{d:"M199.538 163.831H196.809C195.79 163.831 194.764 163.041 194.469 162.031L193.858 159.935C193.772 159.64 193.941 159.329 194.239 159.241C194.534 159.155 194.844 159.324 194.933 159.622L195.543 161.718C195.697 162.248 196.289 162.712 196.809 162.712H199.538C199.846 162.712 200.098 162.962 200.098 163.273C200.098 163.583 199.848 163.833 199.538 163.833V163.831Z",fill:"black"}),e.jsx("path",{d:"M199.763 159.809C199.521 159.809 199.296 159.65 199.226 159.405L196.751 150.907C196.598 150.377 196.005 149.913 195.485 149.913H192.756C192.628 149.913 192.451 149.941 192.35 150.079C192.26 150.201 192.242 150.385 192.303 150.597L192.784 152.253C192.87 152.548 192.701 152.859 192.403 152.947C192.106 153.036 191.796 152.864 191.71 152.566L191.228 150.91C191.069 150.36 191.15 149.814 191.453 149.41C191.745 149.022 192.219 148.797 192.754 148.797H195.483C196.502 148.797 197.528 149.587 197.823 150.597L200.297 159.095C200.383 159.39 200.214 159.701 199.917 159.789C199.864 159.804 199.811 159.812 199.76 159.812L199.763 159.809Z",fill:"black"}),e.jsx("path",{d:"M196.224 152.441H192.56C192.252 152.441 192 152.191 192 151.881C192 151.57 192.25 151.32 192.56 151.32H196.224C196.532 151.32 196.782 151.57 196.782 151.881C196.782 152.191 196.532 152.441 196.224 152.441Z",fill:"black"}),e.jsx("path",{d:"M197.214 155.861H193.55C193.242 155.861 192.992 155.611 192.992 155.3C192.992 154.99 193.242 154.742 193.55 154.742H197.214C197.522 154.742 197.774 154.992 197.774 155.3C197.774 155.608 197.524 155.861 197.214 155.861Z",fill:"black"}),e.jsx("path",{d:"M211.92 79.8359H238.475C240.054 79.8359 241.708 81.1184 242.167 82.6988L247.045 99.4596C247.504 101.04 246.599 102.322 245.017 102.322H218.463C216.884 102.322 215.229 101.04 214.77 99.4596L209.893 82.6988C209.434 81.1184 210.339 79.8359 211.92 79.8359Z",fill:"white"}),e.jsx("path",{d:"M245.02 102.886H218.466C216.627 102.886 214.769 101.452 214.236 99.6193L209.359 82.8586C209.084 81.9119 209.218 80.9803 209.727 80.3012C210.221 79.6423 211.001 79.2812 211.921 79.2812H238.476C240.314 79.2812 242.173 80.7152 242.705 82.5481L247.583 99.3088C247.858 100.256 247.724 101.187 247.215 101.866C246.72 102.525 245.941 102.886 245.02 102.886ZM211.921 80.3996C211.359 80.3996 210.897 80.6041 210.62 80.9727C210.32 81.3741 210.252 81.9321 210.431 82.5456L215.308 99.3063C215.697 100.639 217.142 101.765 218.466 101.765H245.02C245.583 101.765 246.044 101.561 246.322 101.192C246.622 100.791 246.69 100.233 246.511 99.6193L241.633 82.8586C241.245 81.5256 239.8 80.3996 238.476 80.3996H211.921Z",fill:"black"}),e.jsx("path",{d:"M245.833 86.9932C245.591 86.9932 245.366 86.8341 245.296 86.5892L244.889 85.1931C244.804 84.8978 244.973 84.5872 245.27 84.4989C245.568 84.413 245.876 84.5822 245.964 84.8801L246.37 86.2762C246.456 86.5716 246.287 86.8821 245.989 86.9705C245.936 86.9856 245.883 86.9932 245.833 86.9932Z",fill:"black"}),e.jsx("path",{d:"M212.947 84.8775C212.705 84.8775 212.481 84.7185 212.41 84.4736L211.187 80.2727C210.912 79.3259 211.046 78.3944 211.555 77.7152C212.049 77.0563 212.829 76.6953 213.749 76.6953H240.304C242.142 76.6953 244.001 78.1293 244.533 79.9621L245.403 82.9563C245.489 83.2517 245.32 83.5622 245.023 83.6506C244.727 83.7389 244.415 83.5672 244.329 83.2693L243.459 80.2752C243.071 78.9422 241.625 77.8162 240.301 77.8162H213.747C213.184 77.8162 212.723 78.0207 212.445 78.3893C212.145 78.7907 212.077 79.3487 212.256 79.9621L213.479 84.163C213.565 84.4584 213.396 84.7689 213.099 84.8573C213.046 84.8725 212.993 84.88 212.942 84.88L212.947 84.8775Z",fill:"black"}),e.jsx("path",{d:"M214.918 91.6446C214.676 91.6446 214.451 91.4855 214.381 91.2406L213.233 87.2947C213.147 86.9993 213.316 86.6888 213.614 86.6004C213.909 86.5146 214.219 86.6837 214.305 86.9816L215.453 90.9276C215.538 91.223 215.369 91.5335 215.072 91.6218C215.019 91.637 214.966 91.6446 214.915 91.6446H214.918Z",fill:"black"}),e.jsx("path",{d:"M180.154 154.86C180.01 154.86 179.869 154.805 179.758 154.696L154.633 129.549C154.414 129.332 154.414 128.976 154.633 128.758C154.853 128.539 155.206 128.539 155.423 128.758L180.547 153.906C180.767 154.123 180.767 154.479 180.547 154.696C180.439 154.805 180.295 154.86 180.151 154.86H180.154Z",fill:"white"}),e.jsx("path",{d:"M161.559 143.163C161.415 143.163 161.274 143.107 161.163 142.999L146.626 128.447C146.406 128.23 146.406 127.874 146.626 127.657C146.845 127.437 147.198 127.437 147.415 127.657L161.952 142.209C162.171 142.426 162.171 142.782 161.952 142.999C161.843 143.107 161.7 143.163 161.556 143.163H161.559Z",fill:"white"}),e.jsx("path",{d:"M265.804 111.643C265.57 111.643 265.353 111.494 265.275 111.259C262.738 103.632 254.485 97.427 246.879 97.427H237.573C229.52 97.427 220.791 90.8782 218.115 82.8298C218.017 82.537 218.176 82.2214 218.468 82.1229C218.761 82.0245 219.078 82.1835 219.174 82.4764C221.712 90.1031 229.964 96.3086 237.57 96.3086H246.876C254.929 96.3086 263.658 102.857 266.334 110.906C266.43 111.199 266.273 111.517 265.981 111.613C265.923 111.633 265.862 111.64 265.804 111.64V111.643Z",fill:"black"}),e.jsx("path",{d:"M217.875 83.383C218.761 84.047 219.837 84.047 220.281 83.383C220.725 82.719 220.367 81.641 219.479 80.9745C218.594 80.3106 217.517 80.3106 217.073 80.9745C216.629 81.6385 216.988 82.7165 217.875 83.383Z",fill:"white"}),e.jsx("path",{d:"M219.243 84.4459C218.673 84.4459 218.073 84.2313 217.543 83.8349C216.408 82.9816 216 81.5906 216.612 80.6691C216.865 80.2879 217.271 80.0329 217.755 79.9521C218.423 79.8385 219.175 80.048 219.82 80.5327C220.958 81.3861 221.366 82.7771 220.751 83.6986C220.499 84.0773 220.093 84.3323 219.609 84.4156C219.49 84.4358 219.369 84.4459 219.245 84.4459H219.243ZM218.118 81.0377C218.058 81.0377 218 81.0427 217.942 81.0528C217.76 81.0831 217.624 81.1639 217.541 81.2876C217.301 81.6486 217.515 82.4161 218.211 82.9387C218.605 83.2341 219.059 83.3729 219.417 83.3123C219.599 83.282 219.735 83.2012 219.818 83.0775C220.06 82.7165 219.843 81.949 219.147 81.4265C218.814 81.1765 218.443 81.0402 218.118 81.0402V81.0377Z",fill:"black"}),e.jsx("path",{d:"M265.078 112.235C265.964 112.899 267.041 112.899 267.484 112.235C267.928 111.571 267.57 110.493 266.682 109.826C265.797 109.162 264.72 109.162 264.276 109.826C263.833 110.49 264.191 111.568 265.078 112.235Z",fill:"white"}),e.jsx("path",{d:"M266.446 113.29C265.876 113.29 265.276 113.075 264.746 112.679C263.611 111.825 263.203 110.434 263.816 109.513C264.068 109.132 264.474 108.877 264.958 108.796C265.624 108.682 266.378 108.892 267.021 109.376C268.159 110.23 268.567 111.621 267.952 112.542C267.699 112.921 267.293 113.176 266.809 113.259C266.691 113.28 266.57 113.29 266.446 113.29ZM265.321 109.884C265.261 109.884 265.203 109.889 265.145 109.899C264.963 109.929 264.827 110.01 264.744 110.134C264.504 110.495 264.718 111.262 265.415 111.785C265.808 112.08 266.262 112.219 266.62 112.159C266.802 112.128 266.938 112.048 267.021 111.924C267.263 111.563 267.046 110.795 266.35 110.273C266.017 110.023 265.647 109.886 265.321 109.886V109.884Z",fill:"black"}),e.jsx("path",{d:"M238.615 96.0425L240.547 93.2073C240.885 92.71 241.675 92.6898 242.31 93.1594L245.942 95.8405C246.577 96.3101 246.819 97.0927 246.479 97.59L244.547 100.425C244.209 100.922 243.42 100.943 242.784 100.473L239.152 97.792C238.517 97.3224 238.275 96.5398 238.615 96.0425Z",fill:"white"}),e.jsx("path",{d:"M243.74 101.373C243.301 101.373 242.845 101.217 242.451 100.927L238.819 98.2455C237.932 97.5891 237.637 96.4859 238.151 95.731L240.083 92.8959C240.302 92.5728 240.648 92.3582 241.056 92.29C241.579 92.2017 242.156 92.3557 242.64 92.7142L246.272 95.3953C247.16 96.0517 247.455 97.1549 246.94 97.9098L245.009 100.745C244.789 101.068 244.444 101.283 244.038 101.351C243.939 101.368 243.841 101.376 243.742 101.376L243.74 101.373ZM239.077 96.3597C238.93 96.5743 239.077 97.0413 239.485 97.3443L243.117 100.025C243.354 100.202 243.629 100.285 243.851 100.245C243.959 100.227 244.04 100.182 244.088 100.111L246.02 97.2761C246.166 97.0615 246.02 96.5944 245.611 96.2915L241.98 93.6104C241.742 93.4362 241.47 93.3529 241.246 93.3907C241.137 93.4084 241.056 93.4539 241.009 93.5245L239.077 96.3597Z",fill:"black"}),e.jsx("path",{d:"M247.247 123.507H255.214C255.59 123.507 255.857 123.285 255.895 122.942L257.718 116.905C257.746 116.65 257.645 116.358 257.438 116.105L243.363 97.2818C242.778 96.5623 241.756 96.5623 241.648 97.2818L240.094 116.105C240.056 116.358 240.15 116.65 240.346 116.905L246.185 122.942C246.452 123.285 246.868 123.507 247.244 123.507H247.247ZM245.108 114.487C244.533 112.76 245.466 111.359 247.191 111.359C248.916 111.359 250.78 112.76 251.355 114.487C251.93 116.214 250.997 117.615 249.272 117.615C247.547 117.615 245.683 116.214 245.108 114.487Z",fill:"white"}),e.jsx("path",{d:"M255.215 124.066H247.248C246.708 124.066 246.143 123.775 245.768 123.308L239.949 117.292C239.934 117.277 239.921 117.262 239.909 117.247C239.616 116.871 239.485 116.424 239.546 116.02L241.094 97.2319C241.17 96.7169 241.49 96.3559 241.954 96.2297C242.58 96.058 243.321 96.3382 243.8 96.9239L257.889 115.767C258.173 116.116 258.32 116.56 258.277 116.964C258.272 116.999 258.267 117.032 258.257 117.065L256.446 123.058C256.353 123.654 255.856 124.063 255.215 124.066ZM240.776 116.54L246.59 122.551C246.605 122.566 246.618 122.581 246.63 122.596C246.789 122.803 247.044 122.947 247.248 122.947H255.215C255.334 122.947 255.339 122.91 255.341 122.879C255.346 122.846 255.351 122.811 255.361 122.778L257.165 116.808C257.16 116.724 257.119 116.596 257.006 116.457L242.918 97.6131C242.698 97.343 242.393 97.2698 242.249 97.3076C242.212 97.3177 242.209 97.3203 242.204 97.3607L240.655 116.149C240.64 116.255 240.668 116.389 240.776 116.54ZM249.271 118.171C247.293 118.171 245.23 116.628 244.577 114.662C244.237 113.634 244.345 112.624 244.875 111.89C245.382 111.185 246.204 110.799 247.193 110.799C249.17 110.799 251.233 112.342 251.886 114.308C252.227 115.336 252.118 116.346 251.588 117.08C251.082 117.785 250.259 118.171 249.271 118.171ZM245.639 114.308C246.133 115.795 247.798 117.052 249.273 117.052C249.894 117.052 250.393 116.83 250.686 116.426C251.008 115.98 251.059 115.353 250.827 114.662C250.332 113.175 248.668 111.917 247.193 111.917C246.572 111.917 246.073 112.14 245.783 112.544C245.46 112.99 245.409 113.617 245.641 114.308H245.639Z",fill:"black"}),e.jsx("path",{d:"M250.251 130.084H256.594C257.757 130.084 258.385 129.139 257.999 127.976L257.754 127.241C257.368 126.077 256.11 125.133 254.947 125.133H248.604C247.442 125.133 246.814 126.077 247.2 127.241L247.444 127.976C247.83 129.139 249.089 130.084 250.251 130.084Z",fill:"black"}),e.jsx("path",{d:"M246.353 109.392C246.121 109.392 245.904 109.245 245.823 109.013C243.256 101.455 242.045 97.5725 242.192 97.3672L242.645 97.6929L243.195 97.5995C243.296 98.0463 245.455 104.456 246.88 108.652C246.981 108.945 246.825 109.263 246.532 109.362C246.471 109.382 246.411 109.392 246.353 109.392Z",fill:"black"})]}),e.jsxs("g",{opacity:"0.6",children:[e.jsx("rect",{x:"154.039",y:"13.8672",width:"33",height:"33",rx:"7.61538",transform:"rotate(-11.516 154.039 13.8672)",fill:"url(#paint1_linear_42040_78200)"}),e.jsxs("g",{clipPath:"url(#clip1_42040_78200)",children:[e.jsx("path",{d:"M166.035 34.5816C166.246 35.6118 166.857 36.5161 167.734 37.0962C168.611 37.6764 169.682 37.885 170.713 37.6763L181.595 35.4591C182.625 35.248 183.53 34.6368 184.11 33.7598C184.69 32.8828 184.899 31.8114 184.69 30.7808L183.265 23.7851L164.609 27.5859L166.035 34.5816ZM178.536 28.3915C178.767 28.3445 179.006 28.367 179.224 28.456C179.442 28.5451 179.628 28.6967 179.76 28.8918C179.892 29.0869 179.962 29.3166 179.964 29.5519C179.965 29.7873 179.896 30.0177 179.766 30.2139C179.636 30.4102 179.451 30.5636 179.234 30.6547C179.017 30.7457 178.778 30.7704 178.547 30.7256C178.316 30.6807 178.103 30.5684 177.936 30.4027C177.769 30.2371 177.655 30.0256 177.608 29.795C177.545 29.4858 177.607 29.1642 177.781 28.901C177.955 28.6378 178.227 28.4545 178.536 28.3915ZM174.65 29.1834C174.88 29.1364 175.12 29.1588 175.337 29.2479C175.555 29.3369 175.742 29.4886 175.873 29.6836C176.005 29.8787 176.076 30.1084 176.077 30.3438C176.078 30.5791 176.009 30.8095 175.88 31.0058C175.75 31.2021 175.565 31.3554 175.348 31.4465C175.131 31.5376 174.891 31.5623 174.66 31.5174C174.429 31.4726 174.217 31.3602 174.05 31.1946C173.883 31.029 173.768 30.8175 173.721 30.5869C173.658 30.2776 173.721 29.956 173.895 29.6928C174.069 29.4296 174.34 29.2464 174.65 29.1834ZM170.763 29.9752C170.994 29.9282 171.233 29.9507 171.451 30.0397C171.669 30.1288 171.855 30.2804 171.987 30.4755C172.119 30.6706 172.189 30.9003 172.191 31.1356C172.192 31.371 172.123 31.6013 171.993 31.7976C171.863 31.9939 171.678 32.1473 171.461 32.2384C171.244 32.3294 171.005 32.3541 170.774 32.3093C170.543 32.2644 170.33 32.1521 170.163 31.9864C169.996 31.8208 169.882 31.6093 169.835 31.3787C169.772 31.0695 169.834 30.7479 170.008 30.4847C170.182 30.2215 170.454 30.0382 170.763 29.9752Z",fill:"white"}),e.jsx("path",{d:"M178.109 18.3581L177.332 18.5165L177.173 17.7392C177.131 17.533 177.009 17.352 176.834 17.2359C176.658 17.1198 176.444 17.0782 176.238 17.1202C176.031 17.1622 175.85 17.2844 175.734 17.4599C175.618 17.6354 175.577 17.8497 175.619 18.0559L175.777 18.8332L169.559 20.1001L169.4 19.3228C169.358 19.1167 169.236 18.9357 169.061 18.8196C168.885 18.7035 168.671 18.6619 168.465 18.7039C168.258 18.7459 168.077 18.8681 167.961 19.0436C167.845 19.219 167.804 19.4334 167.846 19.6396L168.004 20.4169L167.227 20.5753C166.197 20.7864 165.292 21.3976 164.712 22.2746C164.132 23.1516 163.923 24.223 164.132 25.2536L164.29 26.0309L182.946 22.23L182.787 21.4527C182.576 20.4226 181.965 19.5183 181.088 18.9381C180.211 18.358 179.139 18.1494 178.109 18.3581Z",fill:"white"})]})]})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78200",x1:"95.3125",y1:"55.7422",x2:"124.312",y2:"55.7422",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsxs("linearGradient",{id:"paint1_linear_42040_78200",x1:"154.039",y1:"30.3672",x2:"187.039",y2:"30.3672",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78200",children:e.jsx("rect",{width:"17.8462",height:"17.8462",fill:"white",transform:"translate(99.3047 48.0469) rotate(14.6047)"})}),e.jsx("clipPath",{id:"clip1_42040_78200",children:e.jsx("rect",{width:"20.3077",height:"20.3077",fill:"white",transform:"translate(161.523 18.8203) rotate(-11.516)"})})]})]}),exports.ImageUpload=function({variant:t="square",isUploading:r=!1,defaultValue:l="",onDelete:n,onChange:i,label:o,isCapture:s=!1,loading:d=!1,size:c=5,subTitle:p="PNG, JPEG under 5 MB"}){const{t:h}=De.useTranslation(),[C,x]=a.useState(!1),[f,g]=a.useState(!1),{inputRef:m,setInputRef:b,maintainFocusAfterClose:j}=Zi({isOpen:f}),y=u.useTheme(),{butterflyBlue:w,iron:v,lightBlue:M}=y.palette.app.color,{layout:L}=Vi();return d?e.jsx(Ds,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Zr.default,{flexWrap:s?"wrap":"nowrap",gap:"20px",direction:"row",alignItems:"center",children:[e.jsxs(Br.default,{onClick:()=>!l&&m.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l||m.current?.click())},onMouseEnter:()=>x(!0),onFocus:()=>x(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||x(!1)},onMouseLeave:()=>x(!1),tabIndex:0,role:"button","aria-label":o??"Upload image",sx:{height:"120px",width:"120px",position:"relative",overflow:"hidden",border:l?`1px solid ${w[900]}`:`1px solid ${y.palette.grey[400]}`,cursor:"pointer",borderRadius:"10px","& img":{borderRadius:"10px"},":hover":{border:`1px solid ${w[900]}`},":focus-visible":{outline:`2px solid ${w[900]}`,outlineOffset:"2px"},..."circle"===t?{borderRadius:"50%","& img":{borderRadius:"50%"}}:{}},children:[e.jsx("input",{type:"file",ref:b,accept:Bs.join(","),onChange:e=>{if(e.target.files){const t=Array.from(e.target.files);for(const e of t){if(!Mi(e,c))return void Ea.error({title:h("imageUpload.fileSize.error.message",{fileSize:c})});if(!Li(e,Bs))return void Ea.error({title:h("fileUpload.fileType.error.message",{fileName:e.name})})}i(t)}},style:{display:"none"}}),e.jsx(wn.default,{in:C&&!!l,timeout:{enter:300,exit:1e3},children:e.jsxs(Vs,{onFocus:()=>x(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||x(!1)},children:[e.jsx(kr.default,{tabIndex:0,onClick:()=>m.current?.click(),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),m.current?.click())},children:e.jsx(jn.default,{sx:{color:M[50]}})}),e.jsx(kr.default,{onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n())},tabIndex:0,onClick:e=>{e.stopPropagation(),n()},children:e.jsx(bn.default,{sx:{color:M[50]}})})]})}),r&&e.jsx(Vs,{children:e.jsx(_r.default,{color:v[600],children:"Processing..."})}),l?e.jsx(Zo,{padding:{padding:"2px"},children:e.jsx("img",{alt:"",src:l,style:{width:"100%",height:"100%",objectFit:"cover"}})}):e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx(yn.default,{})})]}),e.jsxs(Zr.default,{children:[e.jsx(_r.default,{noWrap:!0,variant:"subtitle1",fontWeight:500,children:o}),e.jsx(_r.default,{variant:"caption",color:v[800],children:p})]}),s&&e.jsx(Ni,{onClick:()=>g(!0),variant:"outlined",fullWidth:"mobile"===L,children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(mn.default,{}),e.jsx(_r.default,{variant:"body1",children:"Capture photo"})]})})]}),f&&e.jsx(As,{onChange:i,isUploading:r,open:f,onClose:()=>{g(!1),j()}})]})},exports.ImageUploadView=function({defaultValue:t,variant:r,sx:l,borderProgress:n,borderSide:i="right",width:o,height:s}){const d=u.useTheme(),{butterflyBlue:c}=d.palette.app.color,[p,h]=a.useState(!1),C={xs:"100px",md:"120px"},x=o??C,f=s??C,g="circle"===r,m=g?"50%":"10px",b=(()=>{if(void 0===n)return;const e=Math.max(0,Math.min(180,n))/180*100;if(g)return"right"===i?`inset(0 ${100-e}% 0 50%)`:`inset(0 50% 0 ${100-e}%)`;const t=50+e/2;if("right"===i)return`polygon(50% 0%, ${t}% 0%, ${t}% 100%, 50% 100%)`;const r=50-e/2;return`polygon(${r}% 0%, 50% 0%, 50% 100%, ${r}% 100%)`})();return e.jsx(Br.default,{sx:{width:"100%",minWidth:x,maxWidth:x,height:f,overflow:"hidden",position:"relative",borderRadius:m,border:"none",padding:"4px",boxSizing:"border-box","&::before":{content:'""',position:"absolute",inset:0,borderRadius:m,border:`2.5px solid ${c[900]}`,clipPath:b,pointerEvents:"none"},"& img":{borderRadius:m},...l},children:t&&!p?e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx("img",{alt:"",src:t,onError:()=>h(!0),style:{width:"100%",height:"100%",objectFit:"cover"}})}):e.jsx(Zr.default,{justifyContent:"center",alignItems:"center",sx:{height:"100%"},children:e.jsx(ul.default,{sx:{width:"100%",height:"100%"}})})})},exports.ImportExcelSuccessIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:124,height:145,fill:"none",...t,children:[e.jsx("path",{fill:"#3BA4E8",d:"M59.048 25.164C26.57 25.164 0 52.127 0 85.082S26.571 145 59.048 145c32.476 0 59.047-26.963 59.047-59.918S91.524 25.164 59.048 25.164Zm0 110.848c-27.753 0-50.19-22.768-50.19-50.93 0-28.161 22.437-50.93 50.19-50.93 27.752 0 50.19 22.769 50.19 50.93 0 28.162-22.438 50.93-50.19 50.93Zm30.704-67.707c0 1.198-.59 2.397-1.18 2.996l-33.067 33.554c-.59.599-1.772 1.198-2.953 1.198-1.18 0-2.361-.599-2.952-1.198L30.705 85.681c-1.772-.599-2.362-1.797-2.362-2.996 0-2.396 1.771-4.793 4.724-4.793 1.18.6 2.362 1.198 2.952 1.797l15.943 16.178L82.076 65.31c.59-.599 1.772-1.198 2.953-1.198 2.361-.6 4.723 1.797 4.723 4.194Z"}),e.jsx("path",{fill:"#fff",stroke:"#3BA4E8",d:"M42.014 8.389c0 4.363-3.484 7.888-7.767 7.888-4.282 0-7.767-3.525-7.767-7.888C26.48 4.025 29.965.5 34.248.5c4.283 0 7.767 3.525 7.767 7.889ZM123.501 133.015c0 3.04-2.427 5.492-5.405 5.492s-5.405-2.452-5.405-5.492 2.427-5.492 5.405-5.492 5.405 2.452 5.405 5.492Z"}),e.jsx("path",{fill:"#3BA4E8",d:"M115.734 13.184h2.362v11.984h-2.362z"}),e.jsx("path",{fill:"#3BA4E8",d:"M122.816 17.977v2.398h-11.81v-2.398z"})]}),exports.ImportIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:0},children:e.jsx(wo,{toolTipLabel:"Import",children:e.jsx(po,{disabled:t.disabled})})}),exports.InboxIcon=Xi,exports.InboxIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:"10px"},children:e.jsx(wo,{toolTipLabel:"Inbox",children:e.jsx(Xi,{disabled:t.disabled})})}),exports.Indicator=({label:t,variant:r,colourCode:l})=>e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",children:[e.jsx(go,{variant:r,colourCode:l}),t]}),exports.KeyBoardIconAction=t=>e.jsx(kr.default,{...t,sx:{padding:"10px"},children:e.jsx(wo,{toolTipLabel:"Keyboard Shortcuts",children:e.jsx(ho,{})})}),exports.LeaveIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M6.58262 2.18779C5.70311 2.42409 5.15732 3.33802 5.37981 4.19982C5.61272 5.08943 6.52352 5.64195 7.39608 5.41608C8.28602 5.18325 8.83876 4.2728 8.6128 3.40752C8.37988 2.50749 7.45518 1.95149 6.58262 2.18779ZM7.52123 2.83067C7.75414 2.95577 7.86191 3.06697 7.99748 3.32759C8.07396 3.47702 8.08787 3.54999 8.08787 3.8002C8.09135 4.07125 8.08092 4.11295 7.97315 4.3145C7.84105 4.55775 7.72981 4.662 7.46908 4.801C7.3196 4.87745 7.2466 4.89135 6.9963 4.89135C6.74601 4.89135 6.673 4.87745 6.52352 4.801C6.2628 4.662 6.15155 4.55775 6.01945 4.3145C5.91169 4.11295 5.90126 4.07125 5.90473 3.8002C5.90473 3.45269 5.98817 3.24419 6.21413 3.01832C6.56176 2.67082 7.07973 2.59784 7.52123 2.83067Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M8.83604 2.08333C8.77992 2.13333 8.74835 2.20333 8.74835 2.26667C8.74835 2.33 8.77992 2.4 8.83604 2.45L8.92023 2.53333H13.1855H17.4472V10V17.4667H13.5398H9.62876L9.61123 17.3233C9.6007 17.2467 9.53406 16.4033 9.46391 15.45C9.35166 13.91 9.33062 13.69 9.25696 13.4833C9.21136 13.3533 8.88866 12.7467 8.5414 12.13L7.91003 11.0067L8.02929 9.27C8.18363 7.08 8.18012 7.11333 8.08892 7.02333C7.98369 6.92667 7.78025 6.92667 7.69256 7.02667C7.60838 7.12667 7.61188 7.10667 7.46456 9.25333L7.3418 11.1267L8.00824 12.31C8.37654 12.9633 8.69925 13.57 8.73081 13.6567C8.79395 13.8467 9.07456 17.47 9.03948 17.69C9.02195 17.81 9.03247 17.84 9.10964 17.9133L9.20083 18H13.5187H17.8366L17.9208 17.9167L18.0085 17.8367V10V2.16333L17.9208 2.08333L17.8366 2H13.3784H8.92023L8.83604 2.08333Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M13.825 3.41667C13.7716 3.46667 13.7416 3.53333 13.7416 3.60333C13.7416 3.69333 13.795 3.76333 14.0816 4.05333L14.4216 4.4H12.295H10.1716L10.0916 4.48333C10.0383 4.53333 10.0083 4.60333 10.0083 4.66667C10.0083 4.73 10.0383 4.8 10.0916 4.85L10.1716 4.93333H12.295H14.4216L14.0816 5.28C13.795 5.57 13.7416 5.64 13.7416 5.73C13.7416 5.87333 13.8683 6 14.015 6C14.1116 6 14.1916 5.93333 14.7316 5.39C15.285 4.83667 15.3416 4.77 15.3416 4.66667C15.3416 4.56333 15.285 4.49667 14.7316 3.94333C14.1916 3.4 14.1116 3.33333 14.015 3.33333C13.9416 3.33333 13.8783 3.36333 13.825 3.41667Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M5.40452 6.01592C5.16966 6.09895 2.92072 7.108 2.84029 7.16547C2.60864 7.33471 2.58612 7.389 2.27725 8.60242C1.95874 9.86373 1.9523 9.93079 2.10673 10.1926C2.31586 10.5503 2.74699 10.6652 3.12342 10.4704C3.41298 10.3204 3.45159 10.2373 3.71219 9.23147L3.94384 8.34377L4.48758 8.17772C4.78679 8.08512 5.03774 8.01487 5.04418 8.02125C5.05061 8.02764 5.012 8.66947 4.95731 9.44861C4.87044 10.7291 4.86401 10.8856 4.90261 11.1027C4.98627 11.5561 5.11496 11.7669 5.67478 12.3576C5.87104 12.5652 6.02869 12.7504 6.02225 12.7727C6.01582 12.7951 5.61365 13.9191 5.12783 15.2762C4.18514 17.9138 4.20767 17.8308 4.3814 17.9489C4.42001 17.9776 4.48436 18 4.52618 18C4.69992 18 4.72244 17.9489 5.58148 15.5412C6.03834 14.2672 6.41799 13.2134 6.43408 13.2006C6.47268 13.1559 7.38641 14.1522 7.4765 14.3406C7.53119 14.4587 7.63093 14.8834 7.80145 15.736C7.93658 16.4098 8.0878 17.1698 8.13606 17.4252C8.23901 17.9266 8.28084 18 8.46744 18C8.58005 18 8.7184 17.8755 8.7184 17.7701C8.7184 17.7286 8.5704 16.9494 8.38701 16.0362C8.03632 14.2799 7.98806 14.1139 7.75641 13.8233C7.70493 13.7562 7.20624 13.223 6.64642 12.6354C5.55896 11.4923 5.46565 11.3709 5.40774 11.0069C5.38522 10.8792 5.40774 10.3906 5.48817 9.25063C5.5493 8.38208 5.59756 7.64445 5.59756 7.61252C5.59756 7.52631 5.45278 7.39858 5.35304 7.39858C5.27583 7.39858 4.03393 7.76899 3.68324 7.89352C3.61246 7.91907 3.53846 7.96697 3.51915 7.99571C3.49985 8.02764 3.37759 8.4683 3.24889 8.97283C3.10733 9.52844 2.98829 9.92759 2.94968 9.9723C2.86281 10.0841 2.66655 10.0809 2.57647 9.96591C2.53786 9.91801 2.5089 9.85734 2.5089 9.8286C2.5089 9.71365 3.05585 7.64126 3.09446 7.60294C3.11698 7.58059 3.68002 7.32514 4.34923 7.03136L5.55896 6.4981L6.81372 6.61305C7.78536 6.70246 8.1071 6.74078 8.24223 6.79187C8.5704 6.91321 8.68944 7.03775 9.33613 7.94142C9.67073 8.40763 9.97638 8.80359 10.015 8.82594C10.0697 8.85468 10.2852 8.83871 11.0317 8.7493L11.9744 8.63754L12.058 8.69821C12.1288 8.7493 12.1449 8.78762 12.1449 8.89938C12.1449 9.00795 12.1288 9.04627 12.0644 9.09417C12.0098 9.13249 11.6687 9.20912 11.0027 9.33046C10.4622 9.42626 9.98603 9.50609 9.94421 9.50609C9.8863 9.50609 9.76082 9.40391 9.49056 9.13887C9.09483 8.75249 9.0337 8.72056 8.8857 8.82275C8.78596 8.893 8.74414 9.00795 8.78274 9.11013C8.80205 9.15484 8.96292 9.34324 9.14309 9.52844C9.50665 9.89885 9.69647 10.017 9.93777 10.017C10.015 10.017 10.5491 9.93079 11.1282 9.82541C12.013 9.66256 12.1996 9.61785 12.3218 9.54441C12.65 9.34643 12.769 8.91216 12.5953 8.5609C12.4956 8.36292 12.3251 8.21923 12.1159 8.16175C12.0065 8.12982 11.836 8.14259 11.1185 8.22562C10.6424 8.2831 10.2434 8.31822 10.2306 8.30225C10.2177 8.28948 9.97317 7.9542 9.69004 7.55824C9.17204 6.83338 8.95005 6.58431 8.68622 6.43423C8.37736 6.25541 8.21327 6.22348 6.90059 6.10533C5.65226 5.99357 5.49461 5.98399 5.40452 6.01592Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.4"}),e.jsx("path",{d:"M15.7859 8.70115C15.6501 8.74551 15.4172 8.98393 15.3756 9.12532C15.2979 9.38592 15.3534 9.59385 15.5502 9.78792C15.8303 10.0707 16.1852 10.0707 16.4653 9.78792C16.737 9.519 16.7453 9.17245 16.4875 8.8869C16.3072 8.68729 16.0494 8.61798 15.7859 8.70115ZM16.1603 9.178C16.2046 9.21958 16.2296 9.2778 16.2296 9.33048C16.2296 9.38315 16.2046 9.44137 16.1603 9.48296C16.1187 9.52731 16.0604 9.55227 16.0078 9.55227C15.9551 9.55227 15.8968 9.52731 15.8553 9.48296C15.8109 9.44137 15.7859 9.38315 15.7859 9.33048C15.7859 9.2778 15.8109 9.21958 15.8553 9.178C15.8968 9.13364 15.9551 9.10869 16.0078 9.10869C16.0604 9.10869 16.1187 9.13364 16.1603 9.178Z",stroke:"#141A2A",strokeWidth:"0.5"}),e.jsx("path",{d:"M4.90941 11.0684C4.82389 11.1339 4.60155 11.9142 3.85519 14.249C3.38483 15.7225 2.89893 17.2642 2.89893 17.3232C2.89893 17.4018 2.92614 17.4509 3 17.5C3.13217 17.5884 3.26045 17.5884 3.38095 17.4935C3.46647 17.4312 3.68804 16.7999 4.43828 14.4553C4.90864 12.9817 5.40698 11.5498 5.40698 11.4875C5.40698 11.4089 5.23206 11.3271 5.1582 11.278C5.02603 11.1895 5.1582 10.8588 4.90941 11.0684Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.5"})]}),exports.LeftArrowIcon=Qa,exports.LineChart=({height:t=300,width:r,skipAnimation:l=!1,loading:n=!1,tooltip:i="item",series:o,xAxisData:a,yAxisLabel:s,xAxisLabel:d,grid:c={horizontal:!1,vertical:!1},...u})=>{if(n)return e.jsx(cl.default,{height:t,width:r,variant:"rectangular"});const p=a?[{data:a,scaleType:"point",label:d}]:void 0,h=s?[{label:s,width:50}]:void 0;return e.jsx(Sa,{height:t,width:r,series:o,xAxis:p,yAxis:h,skipAnimation:l,grid:c,slotProps:{tooltip:{trigger:i}},...u})},exports.ListItemButton=function({label:t,selected:r,actions:l,companyName:n,...i}){const o=u.useTheme(),{iron:s}=o.palette.app.color,d=a.useRef(null),[c,p]=a.useState(!1);return a.useEffect((()=>{const e=d.current;if(!e)return;const t=()=>p(e.scrollWidth>e.clientWidth);return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[t,n]),e.jsx(Is,{selected:r,alignItems:"flex-start",...i,children:e.jsxs(Zr.default,{width:"100%",flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:[e.jsxs(Zr.default,{gap:"5px",direction:"column",flex:1,display:"grid",children:[e.jsx(wo,{toolTipLabel:t,checkOverflow:!c,children:e.jsx(_r.default,{variant:"body2",fontWeight:500,ref:d,sx:{width:"auto",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:t})}),e.jsx(_r.default,{variant:"caption",color:s[800],children:n})]}),l]})})},exports.LoadingCell=()=>e.jsx(cl.default,{animation:"pulse",width:"100%"}),exports.LoadingOverlay=Ro,exports.LoanIcon=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11.2353 8.73684V9.23684V8.73684ZM11.2353 2V2.5V2ZM5.12947 2.49329L4.772 2.14371L4.772 2.14371L5.12947 2.49329ZM7.94118 2V1.5V2ZM5.12947 8.24355L4.772 8.59314L5.12947 8.24355ZM7.94118 8.73684V8.23684V8.73684ZM14.5294 5.02632C14.8056 5.02632 15.0294 4.80246 15.0294 4.52632C15.0294 4.25017 14.8056 4.02632 14.5294 4.02632V4.52632V5.02632ZM12.5588 2C12.5588 1.72386 12.335 1.5 12.0588 1.5C11.7827 1.5 11.5588 1.72386 11.5588 2H12.0588H12.5588ZM14.5294 6.71053C14.8056 6.71053 15.0294 6.48667 15.0294 6.21053C15.0294 5.93438 14.8056 5.71053 14.5294 5.71053V6.21053V6.71053ZM11.5588 8.73684C11.5588 9.01299 11.7827 9.23684 12.0588 9.23684C12.335 9.23684 12.5588 9.01299 12.5588 8.73684H12.0588H11.5588ZM4.64706 4.02632C4.37092 4.02632 4.14706 4.25017 4.14706 4.52632C4.14706 4.80246 4.37092 5.02632 4.64706 5.02632V4.52632V4.02632ZM7.61765 2C7.61765 1.72386 7.39379 1.5 7.11765 1.5C6.8415 1.5 6.61765 1.72386 6.61765 2H7.11765H7.61765ZM4.64706 5.71053C4.37092 5.71053 4.14706 5.93438 4.14706 6.21053C4.14706 6.48667 4.37092 6.71053 4.64706 6.71053V6.21053V5.71053ZM6.61765 8.73684C6.61765 9.01299 6.8415 9.23684 7.11765 9.23684C7.39379 9.23684 7.61765 9.01299 7.61765 8.73684H7.11765H6.61765ZM3 16.985C2.72386 16.985 2.5 17.2088 2.5 17.485C2.5 17.7611 2.72386 17.985 3 17.985V17.485V16.985ZM14.6979 12.8996L15.0036 13.2953H15.0036L14.6979 12.8996ZM13.2096 14.0492L12.904 13.6535H12.904L13.2096 14.0492ZM11.0533 12.7587L10.793 13.1855H10.793L11.0533 12.7587ZM11.4235 13.0679L11.0464 13.3962L11.4235 13.0679ZM11.2522 15.0273L11.1718 14.5338L11.2522 15.0273ZM10.8786 15.0772L10.8263 14.5799H10.8263L10.8786 15.0772ZM9.43186 14.5824C9.157 14.5559 8.91266 14.7572 8.88612 15.0321C8.85958 15.3069 9.06089 15.5513 9.33575 15.5778L9.38381 15.0801L9.43186 14.5824ZM13.7862 17.2308L14.0075 17.6791L13.7862 17.2308ZM15.5341 16.1018L15.8779 16.4649L15.5341 16.1018ZM16.8443 14.3543L16.4175 14.0939H16.4175L16.8443 14.3543ZM11.3199 14.8653L11.6528 15.2383H11.6528L11.3199 14.8653ZM2.70647 13.5893C2.48292 13.7514 2.43312 14.064 2.59523 14.2876C2.75734 14.5111 3.06998 14.5609 3.29353 14.3988L3 13.994L2.70647 13.5893ZM16.5261 12.8994L16.8316 12.5036V12.5036L16.5261 12.8994ZM11.7351 17.8432L11.6535 17.3499L11.7351 17.8432ZM7.34521 17.7443L7.44828 17.2551H7.44828L7.34521 17.7443ZM7.94118 2V2.5L11.2353 2.5V2V1.5L7.94118 1.5V2ZM11.2353 8.73684V8.23684H7.94118V8.73684V9.23684H11.2353V8.73684ZM14.5294 5.36842H14.0294C14.0294 6.1762 14.0284 6.73282 13.9734 7.15128C13.9201 7.55647 13.8243 7.7561 13.6895 7.89396L14.047 8.24355L14.4045 8.59314C14.7521 8.2377 14.8975 7.79371 14.9648 7.28164C15.0304 6.78282 15.0294 6.14853 15.0294 5.36842H14.5294ZM11.2353 8.73684V9.23684C11.9973 9.23684 12.6202 9.23795 13.1107 9.17052C13.6167 9.10095 14.0554 8.95012 14.4045 8.59314L14.047 8.24355L13.6895 7.89396C13.5562 8.03027 13.3655 8.12608 12.9745 8.17984C12.5679 8.23573 12.0262 8.23684 11.2353 8.23684V8.73684ZM11.2353 2V2.5C12.0262 2.5 12.5679 2.50111 12.9745 2.557C13.3655 2.61076 13.5562 2.70657 13.6895 2.84288L14.047 2.49329L14.4045 2.1437C14.0554 1.78672 13.6167 1.63589 13.1107 1.56632C12.6202 1.49889 11.9973 1.5 11.2353 1.5V2ZM14.5294 5.36842H15.0294C15.0294 4.58831 15.0304 3.95402 14.9648 3.4552C14.8975 2.94313 14.7521 2.49914 14.4045 2.1437L14.047 2.49329L13.6895 2.84288C13.8243 2.98074 13.9201 3.18037 13.9734 3.58556C14.0284 4.00402 14.0294 4.56065 14.0294 5.36842H14.5294ZM4.64706 5.36842H5.14706C5.14706 4.56065 5.14808 4.00402 5.20309 3.58556C5.25637 3.18037 5.35212 2.98074 5.48695 2.84288L5.12947 2.49329L4.772 2.14371C4.42441 2.49914 4.27895 2.94313 4.21163 3.45521C4.14604 3.95402 4.14706 4.58831 4.14706 5.36842H4.64706ZM7.94118 2V1.5C7.17919 1.5 6.55628 1.49889 6.06581 1.56632C5.55978 1.63589 5.12111 1.78672 4.772 2.14371L5.12947 2.49329L5.48695 2.84288C5.62025 2.70657 5.811 2.61076 6.202 2.557C6.60856 2.50111 7.1503 2.5 7.94118 2.5V2ZM4.64706 5.36842H4.14706C4.14706 6.14853 4.14604 6.78282 4.21163 7.28164C4.27896 7.79371 4.42441 8.23771 4.772 8.59314L5.12947 8.24355L5.48695 7.89396C5.35212 7.7561 5.25637 7.55647 5.20309 7.15128C5.14808 6.73282 5.14706 6.1762 5.14706 5.36842H4.64706ZM7.94118 8.73684V8.23684C7.1503 8.23684 6.60856 8.23573 6.202 8.17984C5.811 8.12608 5.62025 8.03027 5.48695 7.89396L5.12947 8.24355L4.772 8.59314C5.12111 8.95012 5.55978 9.10095 6.06581 9.17052C6.55628 9.23795 7.17919 9.23684 7.94118 9.23684V8.73684ZM10.4118 5.36842H9.91176C9.91176 5.56793 9.75646 5.71053 9.58823 5.71053V6.21053V6.71053C10.3297 6.71053 10.9118 6.09907 10.9118 5.36842H10.4118ZM9.58823 6.21053V5.71053C9.42001 5.71053 9.26471 5.56793 9.26471 5.36842H8.76471H8.26471C8.26471 6.09907 8.84681 6.71053 9.58823 6.71053V6.21053ZM8.76471 5.36842H9.26471C9.26471 5.16891 9.42001 5.02632 9.58823 5.02632V4.52632V4.02632C8.84681 4.02632 8.26471 4.63777 8.26471 5.36842H8.76471ZM9.58823 4.52632V5.02632C9.75646 5.02632 9.91176 5.16891 9.91176 5.36842H10.4118H10.9118C10.9118 4.63777 10.3297 4.02632 9.58823 4.02632V4.52632ZM14.5294 4.52632V4.02632C13.4515 4.02632 12.5588 3.12968 12.5588 2H12.0588H11.5588C11.5588 3.66082 12.8783 5.02632 14.5294 5.02632V4.52632ZM14.5294 6.21053V5.71053C12.8783 5.71053 11.5588 7.07603 11.5588 8.73684H12.0588H12.5588C12.5588 7.60717 13.4515 6.71053 14.5294 6.71053V6.21053ZM4.64706 4.52632V5.02632C6.29812 5.02632 7.61765 3.66082 7.61765 2H7.11765H6.61765C6.61765 3.12968 5.72493 4.02632 4.64706 4.02632V4.52632ZM4.64706 6.21053V6.71053C5.72493 6.71053 6.61765 7.60717 6.61765 8.73684H7.11765H7.61765C7.61765 7.07603 6.29812 5.71053 4.64706 5.71053V6.21053ZM3 17.485V17.985H4.86112V17.485V16.985H3V17.485ZM14.6979 12.8996L14.3923 12.5039L12.904 13.6535L13.2096 14.0492L13.5153 14.4449L15.0036 13.2953L14.6979 12.8996ZM11.0533 12.7587L10.793 13.1855C10.8925 13.2462 10.9767 13.3161 11.0464 13.3962L11.4235 13.0679L11.8006 12.7396C11.6571 12.5747 11.4917 12.4403 11.3137 12.3318L11.0533 12.7587ZM11.2522 15.0273L11.1718 14.5338C11.0887 14.5474 11.0013 14.5598 10.9099 14.5706L10.9688 15.0671L11.0276 15.5636C11.1336 15.5511 11.2353 15.5367 11.3327 15.5208L11.2522 15.0273ZM10.9688 15.0671L10.9099 14.5706C10.8824 14.5738 10.8546 14.577 10.8263 14.5799L10.8786 15.0772L10.9308 15.5745C10.9634 15.571 10.9957 15.5674 11.0276 15.5636L10.9688 15.0671ZM10.8786 15.0772L10.8263 14.5799C10.4265 14.6219 9.95595 14.633 9.43186 14.5824L9.38381 15.0801L9.33575 15.5778C9.93067 15.6352 10.4686 15.623 10.9308 15.5745L10.8786 15.0772ZM13.7862 17.2308L14.0075 17.6791C14.59 17.3916 15.349 16.9658 15.8779 16.4649L15.5341 16.1018L15.1902 15.7388C14.7754 16.1317 14.1294 16.5038 13.5649 16.7824L13.7862 17.2308ZM15.5341 16.1018L15.8779 16.4649C16.4015 15.9689 16.9214 15.1879 17.2711 14.6147L16.8443 14.3543L16.4175 14.0939C16.0706 14.6625 15.609 15.3422 15.1902 15.7388L15.5341 16.1018ZM11.3199 14.8653L10.987 14.4922C10.9492 14.526 10.9177 14.5488 10.8933 14.5631C10.8687 14.5776 10.8585 14.5794 10.8617 14.5787L10.9688 15.0671L11.0758 15.5555C11.316 15.5029 11.5118 15.3642 11.6528 15.2383L11.3199 14.8653ZM10.9688 15.0671L10.8617 14.5787C10.8639 14.5782 10.8697 14.5772 10.8786 14.5772V15.0772V15.5772C10.9475 15.5772 11.0135 15.5692 11.0758 15.5555L10.9688 15.0671ZM11.4235 13.0679L11.0464 13.3962C11.3325 13.7248 11.3054 14.208 10.987 14.4922L11.3199 14.8653L11.6528 15.2383C12.3938 14.577 12.4337 13.4668 11.8006 12.7396L11.4235 13.0679ZM11.0533 12.7587L11.3137 12.3318C10.0152 11.5398 8.40045 11.4685 6.87765 11.7701C5.34884 12.073 3.84493 12.7637 2.70647 13.5893L3 13.994L3.29353 14.3988C4.32047 13.6541 5.69139 13.0246 7.07198 12.7511C8.45859 12.4764 9.78784 12.5725 10.793 13.1855L11.0533 12.7587ZM13.2096 14.0492L12.904 13.6535C12.3406 14.0887 11.7934 14.4324 11.1718 14.5338L11.2522 15.0273L11.3327 15.5208C12.2122 15.3773 12.9251 14.9008 13.5153 14.4449L13.2096 14.0492ZM16.5261 12.8994L16.8316 12.5036C16.1268 11.9595 15.097 11.9596 14.3923 12.5039L14.6979 12.8996L15.0036 13.2953C15.3482 13.0291 15.8758 13.029 16.2205 13.2952L16.5261 12.8994ZM16.5261 12.8994L16.2205 13.2952C16.5191 13.5257 16.5657 13.8509 16.4175 14.0939L16.8443 14.3543L17.2711 14.6147C17.7202 13.8786 17.4779 13.0026 16.8316 12.5036L16.5261 12.8994ZM11.7351 17.8432L11.8168 18.3364C12.5566 18.214 13.3114 18.0227 14.0075 17.6791L13.7862 17.2308L13.5649 16.7824C12.9903 17.066 12.3414 17.236 11.6535 17.3499L11.7351 17.8432ZM7.34521 17.7443L7.24214 18.2336C8.7353 18.5481 10.3069 18.5864 11.8168 18.3364L11.7351 17.8432L11.6535 17.3499C10.2677 17.5793 8.8214 17.5443 7.44828 17.2551L7.34521 17.7443ZM4.86112 17.485V17.985C5.65865 17.985 6.46554 18.07 7.24214 18.2336L7.34521 17.7443L7.44828 17.2551C6.60451 17.0773 5.72854 16.985 4.86112 16.985V17.485Z",fill:"#141A2A"})}),exports.LogoIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:272,height:97,fill:"none",...t,children:[e.jsx("path",{fill:"#1B95E3",d:"m67.726 51.484-9.306.028s-3.032-.034-4.584 1.605c-1.66 1.754-4.984 6.072-4.984 6.072S47.1 61.09 47.096 62.62l-.04 12.746c-.007.316.006.633.04.948.161 1.555.945 4.062 4.586-.282 4.88-5.824 18.225-21.571 18.225-21.571s2.496-2.918-2.18-2.977h-.001Z"}),e.jsx("path",{stroke:"#1B95E3",d:"m67.726 51.484-9.306.028s-3.032-.034-4.584 1.605c-1.66 1.754-4.984 6.072-4.984 6.072S47.1 61.09 47.096 62.62l-.04 12.746c-.007.316.006.633.04.948.161 1.555.945 4.062 4.586-.282 4.88-5.824 18.225-21.571 18.225-21.571s2.496-2.918-2.18-2.977h-.001Z"}),e.jsx("path",{fill:"#1B95E3",d:"m67.702 44.92-9.306-.027s-3.032.034-4.584-1.605c-1.659-1.755-4.984-6.072-4.984-6.072s-1.751-1.902-1.756-3.432l-.039-12.746a7.423 7.423 0 0 1 .039-.949c.161-1.554.945-4.061 4.587.283 4.88 5.823 18.224 21.57 18.224 21.57s2.497 2.919-2.18 2.978Z"}),e.jsx("path",{stroke:"#1B95E3",d:"m67.702 44.92-9.306-.027s-3.032.034-4.584-1.605c-1.659-1.755-4.984-6.072-4.984-6.072s-1.751-1.902-1.756-3.432l-.039-12.746a7.423 7.423 0 0 1 .039-.949c.161-1.554.945-4.061 4.587.283 4.88 5.823 18.224 21.57 18.224 21.57s2.497 2.919-2.18 2.978Z"}),e.jsx("path",{fill:"#1F3445",d:"M1.798 55.69 32.82 92.991s5.653 7.535 5.544-.185c-.109-7.719 0-20.72 0-20.72s.33-2.733-2.607-6.093C32.82 62.632 25.57 54.128 25.57 54.128s-1.917-2.624-7.009-2.612c-4.85.012-14.421-.026-14.525 0 0 0-.524-.002-1.011.029-1.467.094-3.796.853-1.227 4.143h-.001Z"}),e.jsx("path",{stroke:"#fff",d:"M1.798 55.69 32.82 92.991s5.653 7.535 5.544-.185c-.109-7.719 0-20.72 0-20.72s.33-2.733-2.607-6.093C32.82 62.632 25.57 54.128 25.57 54.128s-1.917-2.624-7.009-2.612c-4.85.012-14.421-.026-14.525 0 0 0-.524-.002-1.011.029-1.467.094-3.796.853-1.227 4.143h-.001Z"}),e.jsx("path",{fill:"#1F3445",d:"M1.337 40.707 32.36 3.404s5.653-7.534 5.544.184c-.109 7.72 0 20.72 0 20.72s.33 2.733-2.606 6.094C32.36 33.763 25.11 42.267 25.11 42.267s-1.918 2.624-7.009 2.611c-4.85-.012-14.421.027-14.525 0 0 0-.524.003-1.011-.028-1.467-.094-3.796-.853-1.227-4.143h-.001Z"}),e.jsx("path",{stroke:"#fff",d:"M1.337 40.707 32.36 3.404s5.653-7.534 5.544.184c-.109 7.72 0 20.72 0 20.72s.33 2.733-2.606 6.094C32.36 33.763 25.11 42.267 25.11 42.267s-1.918 2.624-7.009 2.611c-4.85-.012-14.421.027-14.525 0 0 0-.524.003-1.011-.028-1.467-.094-3.796-.853-1.227-4.143h-.001Z"}),e.jsx("path",{fill:"#fff",d:"M198.215 61.352v-5.857h-13.121v-5.897h11.725v-5.496h-11.725v-5.335h12.403V32.95h-18.983v28.402h19.701Zm-31.309-14.281c0 6.338-4.506 8.344-9.372 8.344h-3.23V38.807h3.39c4.707 0 9.214 1.885 9.214 8.264h-.002Zm7.099 0c0-10.752-8.136-14.121-16.152-14.121h-10.208v28.402h10.53c7.776 0 15.832-4.292 15.832-14.281h-.002Zm-38.167-.04c0 5.133-3.35 8.825-8.096 8.825s-8.056-3.69-8.056-8.825c0-4.975 3.27-8.666 8.056-8.666s8.098 3.691 8.098 8.666h-.002Zm7.3 0c0-9.107-6.541-14.843-15.394-14.843-8.814 0-15.355 5.736-15.355 14.843 0 8.986 6.541 15.083 15.355 15.083 8.853 0 15.394-6.097 15.394-15.083Zm-31.866 10.39-4.746-4.493c-1.195 1.685-3.31 2.888-5.982 2.888-4.706 0-8.018-3.529-8.018-8.705 0-5.015 3.39-8.705 8.136-8.705 2.154 0 4.427.842 5.703 2.607l4.628-4.653c-2.353-2.73-6.622-4.172-10.569-4.172-8.615 0-15.315 5.815-15.315 14.923 0 8.906 6.501 15.003 15.196 15.003 4.746 0 8.495-1.805 10.967-4.693Z"}),e.jsx("path",{fill:"#1F3445",stroke:"#fff",d:"M198.215 61.352v-5.857h-13.121v-5.897h11.725v-5.496h-11.725v-5.335h12.403V32.95h-18.983v28.402h19.701Zm-31.309-14.281c0 6.338-4.506 8.344-9.372 8.344h-3.23V38.807h3.39c4.707 0 9.214 1.885 9.214 8.264h-.002Zm7.099 0c0-10.752-8.136-14.121-16.152-14.121h-10.208v28.402h10.53c7.776 0 15.832-4.292 15.832-14.281h-.002Zm-38.167-.04c0 5.133-3.35 8.825-8.096 8.825s-8.056-3.69-8.056-8.825c0-4.975 3.27-8.666 8.056-8.666s8.098 3.691 8.098 8.666h-.002Zm7.3 0c0-9.107-6.541-14.843-15.394-14.843-8.814 0-15.355 5.736-15.355 14.843 0 8.986 6.541 15.083 15.355 15.083 8.853 0 15.394-6.097 15.394-15.083Zm-31.866 10.39-4.746-4.493c-1.195 1.685-3.31 2.888-5.982 2.888-4.706 0-8.018-3.529-8.018-8.705 0-5.015 3.39-8.705 8.136-8.705 2.154 0 4.427.842 5.703 2.607l4.628-4.653c-2.353-2.73-6.622-4.172-10.569-4.172-8.615 0-15.315 5.815-15.315 14.923 0 8.906 6.501 15.003 15.196 15.003 4.746 0 8.495-1.805 10.967-4.693Z"}),e.jsx("path",{fill:"#1B95E3",d:"M271.944 61.356V55.5h-13.121v-5.9h11.725v-5.495h-11.725V38.77h12.403v-5.816h-18.983v28.402h19.701Zm-24.208 0V55.5h-13.121v-5.9h11.726v-5.495h-11.726V38.77h12.404v-5.816h-18.986v28.402h19.703Zm-24.129 0v-5.938h-14.039l13.76-16.968v-5.497h-21.657v5.816h13.123l-13.442 16.65v5.937h22.255Z"}),e.jsx("path",{stroke:"#1B95E3",d:"M271.944 61.356V55.5h-13.121v-5.9h11.725v-5.495h-11.725V38.77h12.403v-5.816h-18.983v28.402h19.701Zm-24.208 0V55.5h-13.121v-5.9h11.726v-5.495h-11.726V38.77h12.404v-5.816h-18.986v28.402h19.703Zm-24.129 0v-5.938h-14.039l13.76-16.968v-5.497h-21.657v5.816h13.123l-13.442 16.65v5.937h22.255Z"})]}),exports.MasterIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("g",{clipPath:"url(#clip0_2088_3743)",children:e.jsx("path",{d:"M20 15.4167V17.0833C20 18.6917 18.6917 20 17.0833 20H2.91667C1.30833 20 0 18.6917 0 17.0833V15.4167C0 13.8083 1.30833 12.5 2.91667 12.5H4.58333C5.04417 12.5 5.41667 12.8725 5.41667 13.3333C5.41667 13.7942 5.04417 14.1667 4.58333 14.1667H2.91667C2.2275 14.1667 1.66667 14.7275 1.66667 15.4167V17.0833C1.66667 17.7725 2.2275 18.3333 2.91667 18.3333H17.0833C17.7725 18.3333 18.3333 17.7725 18.3333 17.0833V15.4167C18.3333 14.7275 17.7725 14.1667 17.0833 14.1667H15.4167C14.9558 14.1667 14.5833 13.7942 14.5833 13.3333C14.5833 12.8725 14.9558 12.5 15.4167 12.5H17.0833C18.6917 12.5 20 13.8083 20 15.4167ZM20 2.91667V3.75C20 5.35833 18.6917 6.66667 17.0833 6.66667H16.6667V7.5C16.6667 8.87833 15.545 10 14.1667 10H10.8333V12.8292L11.9125 11.7508C12.2383 11.425 12.765 11.425 13.0908 11.7508C13.4167 12.0767 13.4167 12.6033 13.0908 12.9292L11.0283 14.9925C10.4617 15.5583 9.54167 15.5592 8.975 14.9925L6.91167 12.9292C6.58583 12.6033 6.58583 12.0767 6.91167 11.7508C7.2375 11.425 7.76417 11.425 8.09 11.7508L9.16667 12.8275V9.99917H5.83333C4.455 9.99917 3.33333 8.8775 3.33333 7.49917V6.66583H2.91667C1.30833 6.66583 0 5.3575 0 3.74917V2.91583C0 1.30833 1.30833 0 2.91667 0H5.41667C7.025 0 8.33333 1.30833 8.33333 2.91667V3.75C8.33333 5.35833 7.025 6.66667 5.41667 6.66667H5V7.5C5 7.95917 5.37333 8.33333 5.83333 8.33333H14.1667C14.6267 8.33333 15 7.95917 15 7.5V6.66667H14.5833C12.975 6.66667 11.6667 5.35833 11.6667 3.75V2.91667C11.6667 1.30833 12.975 0 14.5833 0H17.0833C18.6917 0 20 1.30833 20 2.91667ZM5.41667 5C6.10583 5 6.66667 4.43917 6.66667 3.75V2.91667C6.66667 2.2275 6.10583 1.66667 5.41667 1.66667H2.91667C2.2275 1.66667 1.66667 2.2275 1.66667 2.91667V3.75C1.66667 4.43917 2.2275 5 2.91667 5H5.41667ZM18.3333 2.91667C18.3333 2.2275 17.7725 1.66667 17.0833 1.66667H14.5833C13.8942 1.66667 13.3333 2.2275 13.3333 2.91667V3.75C13.3333 4.43917 13.8942 5 14.5833 5H17.0833C17.7725 5 18.3333 4.43917 18.3333 3.75V2.91667Z",fill:t.fill??"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_2088_3743",children:e.jsx("rect",{width:"20",height:"20",fill:t.fill??"currentColor"})})})]}),exports.MasterPageLayout=({breadcrumbs:t,btnLabel:r,dialogKey:l="add",dialogRenderer:n,list:i,onDialogOpen:o,openedDialog:a,title:s})=>{const{layout:d}=Vi(),c="mobile"===d;return e.jsxs(Zr.default,{gap:c?"6px":"10px",children:[t,e.jsxs(hs,{children:[e.jsx(Zo,{padding:{padding:c?"6px":"10px"},children:e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsx(_r.default,{variant:"subtitle1",children:s}),c?e.jsx(Ni,{variant:"outlined",onClick:()=>{o(l)},sx:{borderRadius:"6px",height:"36px",minWidth:"36px",padding:0,width:"36px"},children:e.jsx(rn.default,{fontSize:"small"})}):e.jsx(Ni,{variant:"outlined",onClick:()=>{o(l)},startIcon:e.jsx(rn.default,{}),children:r})]})}),i]}),n&&a&&n[a]]})},exports.MiscellaneousManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80498)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80498)",children:e.jsx("path",{d:"M20.5 7.37508V8.62513C20.5 9.6608 19.6606 10.5002 18.625 10.5002H18V11.1252C18 12.1609 17.1606 13.0003 16.125 13.0003H13.625V15.1223L14.4344 14.3135C14.6788 14.0691 15.0737 14.0691 15.3181 14.3135C15.5625 14.5579 15.5625 14.9529 15.3181 15.1973L13.7713 16.7448C13.5588 16.9574 13.28 17.0636 13.0012 17.0636C12.7225 17.0636 12.4437 16.9574 12.2319 16.7448L10.6844 15.1973C10.44 14.9529 10.44 14.5579 10.6844 14.3135C10.9288 14.0691 11.3237 14.0691 11.5681 14.3135L12.3756 15.121V12.9997H9.875C8.83938 12.9997 8 12.1603 8 11.1246V10.4996H7.375C6.33938 10.4996 5.5 9.66017 5.5 8.62451V7.37508C5.5 6.33941 6.33938 5.5 7.375 5.5H9.875C10.9106 5.5 11.75 6.33941 11.75 7.37508V8.62513C11.75 9.6608 10.9106 10.5002 9.875 10.5002H9.25V11.1252C9.25 11.4702 9.53 11.7503 9.875 11.7503H16.125C16.47 11.7503 16.75 11.4702 16.75 11.1252V10.5002H16.125C15.0894 10.5002 14.25 9.6608 14.25 8.62513V7.37508C14.25 6.33941 15.0894 5.5 16.125 5.5H18.625C19.6606 5.5 20.5 6.33941 20.5 7.37508ZM18.625 14.8754H16.7388C16.7106 15.3148 16.5369 15.7467 16.2019 16.0817L14.7144 17.5699C14.3644 17.9199 13.9256 18.1868 13.4381 18.2743C12.6544 18.4149 11.8906 18.1724 11.3475 17.6286L9.8 16.0811C9.465 15.7461 9.29125 15.3142 9.26312 14.8748H7.375C6.33938 14.8748 5.5 15.7142 5.5 16.7498V18.6249C5.5 19.6606 6.33938 20.5 7.375 20.5H18.625C19.6606 20.5 20.5 19.6606 20.5 18.6249V16.7498C20.5 15.7142 19.6606 14.8748 18.625 14.8748V14.8754Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80498",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80498",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.NavigationKeyProvider=function({children:t,navigationKey:r}){return e.jsx(fi.Provider,{value:a.useMemo((()=>({navigationKey:r})),[r]),children:t})},exports.NoDataFoundSvg=()=>e.jsxs("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{opacity:"0.7",children:[e.jsx("path",{d:"M38 80C48.0782 80 57.7437 75.9438 64.8701 68.7236C71.9964 61.5035 76 51.7108 76 41.5C76 31.2892 71.9964 21.4965 64.8701 14.2764C57.7437 7.05624 48.0782 3 38 3C17.0206 3 0 20.2231 0 41.4786C0 62.734 17.0206 80 38 80Z",fill:"url(#paint0_linear_111_1229)"}),e.jsx("path",{d:"M59.201 12H16.7777C15.5111 12.0018 14.2968 12.5291 13.4012 13.4664C12.5056 14.4037 12.0017 15.6745 12 17H64C63.9938 15.6721 63.4855 14.4007 62.5863 13.4638C61.687 12.5268 60.4699 12.0006 59.201 12Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M12 16H64V56.2578C64.0008 57.1435 63.8298 58.0206 63.4968 58.839C63.1637 59.6573 62.6751 60.4009 62.059 61.0272C61.4429 61.6534 60.7113 62.15 59.9061 62.4885C59.101 62.827 58.238 63.0009 57.3667 63H18.6333C17.762 63.0009 16.899 62.827 16.0939 62.4885C15.2887 62.15 14.5571 61.6534 13.941 61.0272C13.3248 60.4009 12.8363 59.6573 12.5032 58.839C12.1702 58.0206 11.9992 57.1435 12 56.2578V16Z",fill:"url(#paint1_linear_111_1229)"}),e.jsx("path",{d:"M55.7083 21.0003H21.2914C20.9489 21.0003 20.6204 21.1583 20.3783 21.4396C20.1361 21.7208 20 22.1023 20 22.5001C20 22.8979 20.1361 23.2794 20.3783 23.5607C20.6204 23.842 20.9489 24 21.2914 24H55.7083C56.0508 24 56.3793 23.842 56.6215 23.5607C56.8637 23.2794 56.9998 22.8979 56.9998 22.5001C57.003 22.3021 56.9718 22.1054 56.908 21.9218C56.8442 21.7381 56.7492 21.5713 56.6287 21.4312C56.5081 21.2912 56.3645 21.1809 56.2063 21.1068C56.0482 21.0328 55.8788 20.9965 55.7083 21.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7083 32.0003H21.2914C20.9489 32.0003 20.6204 32.1583 20.3783 32.4396C20.1361 32.7208 20 33.1023 20 33.5001C20 33.8979 20.1361 34.2794 20.3783 34.5607C20.6204 34.842 20.9489 35 21.2914 35H55.7083C56.0508 35 56.3793 34.842 56.6215 34.5607C56.8637 34.2794 56.9998 33.8979 56.9998 33.5001C57.003 33.3021 56.9718 33.1054 56.908 32.9218C56.8442 32.7381 56.7492 32.5713 56.6287 32.4312C56.5081 32.2912 56.3645 32.1809 56.2063 32.1068C56.0482 32.0328 55.8788 31.9965 55.7083 32.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7083 43.0003H21.2914C20.9489 43.0003 20.6204 43.1583 20.3783 43.4396C20.1361 43.7208 20 44.1023 20 44.5001C20 44.8979 20.1361 45.2794 20.3783 45.5607C20.6204 45.842 20.9489 46 21.2914 46H55.7083C56.0508 46 56.3793 45.842 56.6215 45.5607C56.8637 45.2794 56.9998 44.8979 56.9998 44.5001C57.003 44.3021 56.9718 44.1054 56.908 43.9218C56.8442 43.7381 56.7492 43.5713 56.6287 43.4312C56.5081 43.2912 56.3645 43.1809 56.2063 43.1068C56.0482 43.0328 55.8788 42.9965 55.7083 43.0003Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M55.7086 54H21.2914C20.9489 54 20.6204 54.158 20.3783 54.4393C20.1361 54.7207 20 55.1022 20 55.5C20 55.8978 20.1361 56.2794 20.3783 56.5607C20.6204 56.842 20.9489 57 21.2914 57H55.7086C56.0511 57 56.3795 56.842 56.6217 56.5607C56.8639 56.2794 57 55.8978 57 55.5C57 55.1022 56.8639 54.7207 56.6217 54.4393C56.3795 54.158 56.0511 54 55.7086 54Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M20.4049 41H2.59509C1.90683 41 1.24675 41.2854 0.760081 41.7933C0.273408 42.3013 0 42.9902 0 43.7085V70.2915C0 71.0098 0.273408 71.6987 0.760081 72.2067C1.24675 72.7146 1.90683 73 2.59509 73H20.4049C21.0932 73 21.7532 72.7146 22.2399 72.2067C22.7266 71.6987 23 71.0098 23 70.2915V43.7085C22.9929 42.9925 22.7172 42.3078 22.2321 41.8015C21.7469 41.2951 21.091 41.0074 20.4049 41Z",fill:"url(#paint2_linear_111_1229)"}),e.jsx("path",{d:"M72.345 6.01375e-06H52.6548C52.2163 0.00115006 51.796 0.181853 51.4859 0.502605C51.1758 0.823357 51.0011 1.25806 51 1.71167V11.2883C51.0011 11.7419 51.1758 12.1766 51.4859 12.4974C51.796 12.8182 52.2163 12.9989 52.6548 13H72.345C72.7835 12.9989 73.2038 12.8182 73.5139 12.4974C73.824 12.1766 73.9987 11.7419 73.9998 11.2883V1.73334C74.0031 1.50658 73.9628 1.28142 73.8811 1.07098C73.7993 0.860538 73.6779 0.669046 73.5239 0.507683C73.3698 0.34632 73.1862 0.21832 72.9838 0.131154C72.7814 0.0439889 72.5642 -0.000595879 72.345 6.01375e-06Z",fill:"url(#paint3_linear_111_1229)"}),e.jsx("path",{d:"M19.1363 54H4.8637C4.63463 54 4.41495 54.1054 4.25297 54.2929C4.091 54.4804 4 54.7348 4 55C4 55.2652 4.091 55.5196 4.25297 55.7071C4.41495 55.8946 4.63463 56 4.8637 56H19.1363C19.3654 56 19.5851 55.8946 19.747 55.7071C19.909 55.5196 20 55.2652 20 55C20 54.7348 19.909 54.4804 19.747 54.2929C19.5851 54.1054 19.3654 54 19.1363 54Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M19.1304 66.0002H4.86957C4.75664 65.9978 4.64444 66.0218 4.53945 66.0709C4.43446 66.12 4.33877 66.1932 4.25791 66.2861C4.17704 66.3791 4.11261 66.4901 4.06834 66.6126C4.02407 66.7352 4.00084 66.8668 4 67C4.00084 67.1332 4.02407 67.2648 4.06834 67.3874C4.11261 67.5099 4.17704 67.6209 4.25791 67.7139C4.33877 67.8068 4.43446 67.88 4.53945 67.9291C4.64444 67.9782 4.75664 68.0022 4.86957 67.9998H19.1304C19.2434 68.0022 19.3556 67.9782 19.4605 67.9291C19.5655 67.88 19.6612 67.8068 19.7421 67.7139C19.823 67.6209 19.8874 67.5099 19.9317 67.3874C19.9759 67.2648 19.9992 67.1332 20 67C19.9943 66.7325 19.9002 66.4782 19.7377 66.2914C19.5753 66.1046 19.3573 66.0001 19.1304 66.0002Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M19.1304 60.0002H4.86957C4.75664 59.9978 4.64444 60.0218 4.53945 60.0709C4.43446 60.12 4.33877 60.1932 4.25791 60.2861C4.17704 60.3791 4.11261 60.4901 4.06834 60.6126C4.02407 60.7351 4.00084 60.8668 4 61C4.00084 61.1332 4.02407 61.2649 4.06834 61.3874C4.11261 61.5099 4.17704 61.6209 4.25791 61.7139C4.33877 61.8068 4.43446 61.88 4.53945 61.9291C4.64444 61.9782 4.75664 62.0022 4.86957 61.9998H19.1304C19.2434 62.0022 19.3556 61.9782 19.4605 61.9291C19.5655 61.88 19.6612 61.8068 19.7421 61.7139C19.823 61.6209 19.8874 61.5099 19.9317 61.3874C19.9759 61.2649 19.9992 61.1332 20 61C19.9943 60.7325 19.9002 60.4782 19.7377 60.2914C19.5753 60.1046 19.3573 60.0001 19.1304 60.0002Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M9.43553 45H5.56447C5.14971 45.0006 4.75209 45.1965 4.45881 45.5446C4.16553 45.8928 4.00053 46.3648 4 46.8571V48.1429C4.00053 48.6352 4.16553 49.1072 4.45881 49.4554C4.75209 49.8035 5.14971 49.9994 5.56447 50H9.43553C9.85029 49.9994 10.2479 49.8035 10.5412 49.4554C10.8345 49.1072 10.9995 48.6352 11 48.1429V46.8571C10.9995 46.3648 10.8345 45.8928 10.5412 45.5446C10.2479 45.1965 9.85029 45.0006 9.43553 45Z",fill:"url(#paint4_linear_111_1229)"}),e.jsx("path",{d:"M56 9C56.3956 9 56.7822 8.8827 57.1111 8.66294C57.44 8.44318 57.6964 8.13082 57.8478 7.76537C57.9991 7.39991 58.0387 6.99778 57.9616 6.60982C57.8844 6.22186 57.6939 5.86549 57.4142 5.58579C57.1345 5.30608 56.7781 5.1156 56.3902 5.03843C56.0022 4.96126 55.6001 5.00087 55.2346 5.15224C54.8692 5.30362 54.5568 5.55996 54.3371 5.88886C54.1173 6.21776 54 6.60444 54 7C54.0017 7.5299 54.213 8.0376 54.5877 8.4123C54.9624 8.78699 55.4701 8.99826 56 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M63 9C63.3956 9 63.7822 8.8827 64.1111 8.66294C64.44 8.44318 64.6964 8.13082 64.8478 7.76537C64.9991 7.39991 65.0387 6.99778 64.9616 6.60982C64.8844 6.22186 64.6939 5.86549 64.4142 5.58579C64.1345 5.30608 63.7782 5.1156 63.3902 5.03843C63.0022 4.96126 62.6001 5.00087 62.2346 5.15224C61.8692 5.30362 61.5568 5.55996 61.3371 5.88886C61.1173 6.21776 61 6.60444 61 7C61.0017 7.5299 61.213 8.0376 61.5877 8.4123C61.9624 8.78699 62.4701 8.99826 63 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M70 9C70.3956 9 70.7822 8.8827 71.1111 8.66294C71.44 8.44318 71.6964 8.13082 71.8478 7.76537C71.9991 7.39991 72.0387 6.99778 71.9616 6.60982C71.8844 6.22186 71.6939 5.86549 71.4142 5.58579C71.1345 5.30608 70.7781 5.1156 70.3902 5.03843C70.0022 4.96126 69.6001 5.00087 69.2346 5.15224C68.8692 5.30362 68.5568 5.55996 68.3371 5.88886C68.1173 6.21776 68 6.60444 68 7C68.0017 7.5299 68.213 8.0376 68.5877 8.4123C68.9624 8.78699 69.4701 8.99826 70 9Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M63.9762 55L59 60.4255L73.0238 73L78 67.5745L63.9762 55Z",fill:"url(#paint5_linear_111_1229)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M69 46C69 50.1534 67.7977 54.2135 65.5451 57.667C63.2926 61.1204 60.0909 63.812 56.345 65.4015C52.5991 66.9909 48.4773 67.4068 44.5007 66.5965C40.524 65.7862 36.8713 63.7861 34.0043 60.8492C31.1373 57.9123 29.1849 54.1705 28.3939 50.0969C27.6029 46.0233 28.0089 41.8009 29.5605 37.9636C31.1121 34.1264 33.7396 30.8466 37.1108 28.5391C40.482 26.2316 44.4455 25 48.5 25C51.1922 24.9997 53.858 25.5427 56.3453 26.5979C58.8326 27.6532 61.0927 29.2 62.9963 31.1501C64.9 33.1002 66.41 35.4153 67.4401 37.9633C68.4702 40.5113 69.0003 43.2422 69 46ZM65.8559 46C65.8559 49.5164 64.838 52.9538 62.9309 55.8776C61.0238 58.8014 58.3132 61.0802 55.1418 62.4259C51.9704 63.7716 48.4807 64.1237 45.114 63.4376C41.7473 62.7516 38.6548 61.0583 36.2275 58.5718C33.8002 56.0854 32.1472 52.9174 31.4775 49.4686C30.8079 46.0197 31.1516 42.4449 32.4652 39.1962C33.7788 35.9474 36.0034 33.1707 38.8576 31.2171C41.7117 29.2635 45.0673 28.2207 48.5 28.2207C53.1026 28.2225 57.5161 30.0962 60.7707 33.4301C64.0252 36.7639 65.8543 41.2852 65.8559 46Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M48.5 64C51.9612 64 55.3446 62.9736 58.2225 61.0507C61.1003 59.1278 63.3434 56.3947 64.6679 53.197C65.9924 49.9993 66.339 46.4806 65.6637 43.0859C64.9885 39.6913 63.3218 36.5731 60.8744 34.1256C58.427 31.6782 55.3088 30.0115 51.9141 29.3363C48.5194 28.661 45.0007 29.0076 41.803 30.3321C38.6053 31.6566 35.8722 33.8997 33.9493 36.7775C32.0264 39.6554 31 43.0388 31 46.5C31.0017 51.1408 32.846 55.591 36.1275 58.8725C39.409 62.154 43.8592 63.9983 48.5 64Z",fill:"url(#paint6_linear_111_1229)",fillOpacity:"0.2"}),e.jsx("path",{d:"M49 58C55.6274 58 61 57.1046 61 56C61 54.8954 55.6274 54 49 54C42.3726 54 37 54.8954 37 56C37 57.1046 42.3726 58 49 58Z",fill:"#A1CFE2",fillOpacity:"0.56"}),e.jsx("path",{d:"M34.8502 68.5776C34.8834 68.4137 34.9658 68.2672 35.0839 68.1622C35.202 68.0572 35.3488 68 35.5 68C35.6512 68 35.798 68.0572 35.9161 68.1622C36.0342 68.2672 36.1166 68.4137 36.1498 68.5776L36.6981 71.1273C36.7268 71.2585 36.7874 71.3785 36.8734 71.474C36.9593 71.5696 37.0673 71.6369 37.1855 71.6688L39.4801 72.278C39.6277 72.3149 39.7596 72.4065 39.854 72.5377C39.9485 72.6689 40 72.832 40 73C40 73.1681 39.9485 73.3311 39.854 73.4623C39.7596 73.5935 39.6277 73.6851 39.4801 73.722L37.1855 74.3312C37.0673 74.3631 36.9593 74.4304 36.8734 74.526C36.7874 74.6215 36.7268 74.7415 36.6981 74.8727L36.1498 77.4224C36.1166 77.5863 36.0342 77.7328 35.9161 77.8378C35.798 77.9428 35.6512 78 35.5 78C35.3488 78 35.202 77.9428 35.0839 77.8378C34.9658 77.7328 34.8834 77.5863 34.8502 77.4224L34.3019 74.8727C34.2732 74.7415 34.2126 74.6215 34.1266 74.526C34.0407 74.4304 33.9327 74.3631 33.8145 74.3312L31.5199 73.722C31.3723 73.6851 31.2404 73.5935 31.146 73.4623C31.0515 73.3311 31 73.1681 31 73C31 72.832 31.0515 72.6689 31.146 72.5377C31.2404 72.4065 31.3723 72.3149 31.5199 72.278L33.8145 71.6688C33.9327 71.6369 34.0407 71.5696 34.1266 71.474C34.2126 71.3785 34.2732 71.2585 34.3019 71.1273L34.8502 68.5776Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M7.85018 3.57762C7.88338 3.41367 7.96581 3.26715 8.08391 3.16217C8.20201 3.05719 8.34876 3 8.5 3C8.65124 3 8.79798 3.05719 8.91608 3.16217C9.03419 3.26715 9.11662 3.41367 9.14982 3.57762L9.6981 6.12726C9.72675 6.25854 9.78739 6.37852 9.87336 6.47405C9.95933 6.56957 10.0673 6.63694 10.1855 6.66877L12.4801 7.27798C12.6277 7.31487 12.7596 7.40646 12.854 7.53768C12.9485 7.6689 13 7.83195 13 8C13 8.16805 12.9485 8.3311 12.854 8.46232C12.7596 8.59354 12.6277 8.68513 12.4801 8.72202L10.1855 9.33123C10.0673 9.36306 9.95933 9.43043 9.87336 9.52595C9.78739 9.62148 9.72675 9.74146 9.6981 9.87274L9.14982 12.4224C9.11662 12.5863 9.03419 12.7328 8.91608 12.8378C8.79798 12.9428 8.65124 13 8.5 13C8.34876 13 8.20201 12.9428 8.08391 12.8378C7.96581 12.7328 7.88338 12.5863 7.85018 12.4224L7.3019 9.87274C7.27325 9.74146 7.21261 9.62148 7.12664 9.52595C7.04067 9.43043 6.93268 9.36306 6.81453 9.33123L4.51986 8.72202C4.3723 8.68513 4.24044 8.59354 4.14596 8.46232C4.05147 8.3311 4 8.16805 4 8C4 7.83195 4.05147 7.6689 4.14596 7.53768C4.24044 7.40646 4.3723 7.31487 4.51986 7.27798L6.81453 6.66877C6.93268 6.63694 7.04067 6.56957 7.12664 6.47405C7.21261 6.37852 7.27325 6.25854 7.3019 6.12726L7.85018 3.57762Z",fill:"#D1EAF9"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37 3.14583C37.2266 3.14583 37.4482 3.07863 37.6366 2.95273C37.825 2.82682 37.9719 2.64787 38.0586 2.43849C38.1453 2.22912 38.168 1.99873 38.1238 1.77646C38.0796 1.55419 37.9705 1.35002 37.8102 1.18977C37.65 1.02953 37.4458 0.920395 37.2235 0.876182C37.0013 0.83197 36.7709 0.854663 36.5615 0.941388C36.3521 1.02811 36.1732 1.17498 36.0473 1.36341C35.9214 1.55184 35.8542 1.77337 35.8542 2C35.8536 2.15063 35.8829 2.29988 35.9403 2.43914C35.9977 2.57841 36.082 2.70494 36.1885 2.81145C36.2951 2.91796 36.4216 3.00235 36.5609 3.05973C36.7001 3.11712 36.8494 3.14638 37 3.14583ZM37 4C37.3956 4 37.7822 3.8827 38.1111 3.66294C38.44 3.44318 38.6964 3.13082 38.8478 2.76537C38.9991 2.39991 39.0387 1.99778 38.9616 1.60982C38.8844 1.22186 38.6939 0.86549 38.4142 0.585785C38.1345 0.30608 37.7781 0.115601 37.3902 0.0384303C37.0022 -0.0387401 36.6001 0.000866565 36.2346 0.152242C35.8692 0.303617 35.5568 0.559962 35.3371 0.88886C35.1173 1.21776 35 1.60444 35 2C35 2.53043 35.2107 3.03914 35.5858 3.41422C35.9609 3.78929 36.4696 4 37 4Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M73.0161 36.7046C72.9926 36.6082 72.9948 36.5073 73.0225 36.412C73.0502 36.3167 73.1025 36.2302 73.1741 36.1611C73.2457 36.0919 73.3342 36.0426 73.4308 36.0179C73.5275 35.9932 73.629 35.9941 73.7252 36.0203L76.5823 36.8291C76.6786 36.8564 76.766 36.9082 76.836 36.9794C76.906 37.0505 76.9561 37.1386 76.9814 37.235C77.0066 37.3313 77.0062 37.4325 76.9801 37.5286C76.954 37.6247 76.9032 37.7124 76.8326 37.783L74.7054 39.8359C74.6333 39.9066 74.5436 39.957 74.4455 39.9821C74.3474 40.0071 74.2444 40.0059 74.1469 39.9785C74.0494 39.9511 73.961 39.8986 73.8906 39.8262C73.8202 39.7538 73.7703 39.6641 73.7461 39.5664L73.0161 36.7046Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M5.29536 31.0161C5.3918 30.9926 5.49267 30.9948 5.588 31.0225C5.68334 31.0502 5.76983 31.1025 5.83895 31.1741C5.90806 31.2457 5.95739 31.3342 5.98208 31.4309C6.00676 31.5275 6.00593 31.629 5.97969 31.7252L5.17094 34.5823C5.14363 34.6786 5.09182 34.766 5.02064 34.836C4.94945 34.906 4.86135 34.9561 4.76503 34.9814C4.66871 35.0066 4.56751 35.0062 4.4714 34.9801C4.3753 34.954 4.28762 34.9032 4.21703 34.8326L2.16405 32.7054C2.09337 32.6333 2.04295 32.5436 2.01791 32.4455C1.99287 32.3474 1.99411 32.2444 2.02149 32.1469C2.04888 32.0494 2.10145 31.961 2.17384 31.8906C2.24623 31.8202 2.33587 31.7703 2.43364 31.7461L5.29536 31.0161Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M60.2954 72.0161C60.3918 71.9926 60.4927 71.9948 60.588 72.0225C60.6833 72.0502 60.7698 72.1025 60.8389 72.1741C60.9081 72.2457 60.9574 72.3342 60.9821 72.4309C61.0068 72.5275 61.0059 72.629 60.9797 72.7252L60.1709 75.5823C60.1436 75.6786 60.0918 75.766 60.0206 75.836C59.9494 75.906 59.8613 75.9561 59.765 75.9814C59.6687 76.0066 59.5675 76.0062 59.4714 75.9801C59.3753 75.954 59.2876 75.9032 59.217 75.8326L57.164 73.7054C57.0934 73.6332 57.043 73.5436 57.0179 73.4455C56.9929 73.3474 56.9941 73.2444 57.0215 73.1469C57.0489 73.0494 57.1014 72.961 57.1738 72.8906C57.2462 72.8202 57.3359 72.7703 57.4336 72.7461L60.2954 72.0161Z",fill:"#D1EAF9"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76 21.1458C76.2266 21.1458 76.4482 21.0786 76.6366 20.9527C76.825 20.8268 76.9719 20.6479 77.0586 20.4385C77.1453 20.2291 77.168 19.9987 77.1238 19.7765C77.0796 19.5542 76.9705 19.35 76.8102 19.1898C76.65 19.0295 76.4458 18.9204 76.2235 18.8762C76.0013 18.832 75.7709 18.8547 75.5615 18.9414C75.3521 19.0281 75.1732 19.175 75.0473 19.3634C74.9214 19.5518 74.8542 19.7734 74.8542 20C74.8569 20.3031 74.9785 20.5929 75.1928 20.8072C75.4071 21.0215 75.6969 21.1431 76 21.1458ZM76 22C76.3956 22 76.7822 21.8827 77.1111 21.6629C77.44 21.4432 77.6964 21.1308 77.8478 20.7654C77.9991 20.3999 78.0387 19.9978 77.9616 19.6098C77.8844 19.2219 77.6939 18.8655 77.4142 18.5858C77.1345 18.3061 76.7781 18.1156 76.3902 18.0384C76.0022 17.9613 75.6001 18.0009 75.2346 18.1522C74.8692 18.3036 74.5568 18.56 74.3371 18.8889C74.1173 19.2178 74 19.6044 74 20C74 20.2626 74.0517 20.5227 74.1522 20.7654C74.2527 21.008 74.4001 21.2285 74.5858 21.4142C74.7715 21.5999 74.992 21.7472 75.2346 21.8478C75.4773 21.9483 75.7374 22 76 22Z",fill:"#D1EAF9"}),e.jsx("path",{d:"M73 73.39L78.0191 68L78.7796 68.6764C79.144 68.996 79.4392 69.3831 79.6481 69.815C79.8571 70.2468 79.9754 70.7149 79.9964 71.1917C80.0396 72.153 79.6967 73.093 79.0403 73.8128C78.7118 74.1672 78.3139 74.4545 77.87 74.6577C77.426 74.8609 76.9449 74.9761 76.4547 74.9965C75.4666 75.0385 74.5004 74.705 73.7605 74.0664L73 73.39Z",fill:"#C4E6F7"}),e.jsx("path",{d:"M53.2859 46.4895L58.2921 41.5109C58.7571 41.0141 59.0102 40.3574 58.9983 39.6789C58.9863 39.0003 58.7101 38.3528 58.2279 37.8726C57.7435 37.3941 57.0921 37.1197 56.4094 37.1067C55.7298 37.106 55.0742 37.3562 54.5695 37.8088L49.5633 42.7874L44.557 37.8088C44.3137 37.5565 44.023 37.3541 43.7013 37.2131C43.379 37.0674 43.0283 36.9947 42.6743 37.0003C42.323 37 41.9748 37.0649 41.6474 37.1918C41.3189 37.3221 41.0204 37.5175 40.7703 37.7662C40.5156 38.0113 40.3184 38.3091 40.1926 38.6386C40.0631 38.9635 39.9977 39.3103 40.0001 39.6598C40.0071 40.0105 40.0797 40.3568 40.214 40.6811C40.3611 40.998 40.564 41.2862 40.813 41.5321L45.8193 46.5108L40.8772 51.4681C40.6235 51.7101 40.42 51.9992 40.2782 52.3192C40.1317 52.6396 40.0586 52.9884 40.0642 53.3404C40.0639 53.6898 40.1292 54.0361 40.2568 54.3617C40.3878 54.6884 40.5843 54.9852 40.8344 55.234C41.0809 55.4872 41.3803 55.6833 41.7116 55.8085C42.0384 55.9372 42.387 56.0022 42.7385 55.9999C43.0911 55.9929 43.4393 55.9208 43.7654 55.7872C44.0871 55.6462 44.3779 55.4438 44.6212 55.1914L49.6275 50.2128L54.6337 55.1914C54.8785 55.4133 55.1656 55.5841 55.478 55.6938C55.7903 55.8034 56.1216 55.8496 56.4522 55.8297C56.9515 55.8159 57.4363 55.6605 57.8497 55.3818C58.2631 55.1031 58.5878 54.7128 58.7856 54.2568C58.9835 53.8007 59.0461 53.298 58.9663 52.8077C58.8864 52.3174 58.6674 51.86 58.3349 51.4894L53.2859 46.4895Z",fill:"#7DBBD3"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_111_1229",x1:"37.7057",y1:"-9.56237",x2:"38.5054",y2:"125.668",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint1_linear_111_1229",x1:"38.546",y1:"5.28409",x2:"37.4575",y2:"64.8117",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint2_linear_111_1229",x1:"6.20309",y1:"34.2156",x2:"20.2953",y2:"89.9099",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint3_linear_111_1229",x1:"57.9418",y1:"-0.920827",x2:"71.7428",y2:"20.068",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint4_linear_111_1229",x1:"15.8358",y1:"47.5",x2:"3.11948",y2:"47.5",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.24",stopColor:"#D1EAF9"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint5_linear_111_1229",x1:"65.999",y1:"66.7106",x2:"70.9525",y2:"61.2091",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#D1EAF9"}),e.jsx("stop",{offset:"1",stopColor:"#D1EAF9"})]}),e.jsxs("linearGradient",{id:"paint6_linear_111_1229",x1:"42.6267",y1:"31.2662",x2:"60.2573",y2:"77.0125",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"#D2F7FF"})]})]})]}),exports.NoDataOverlay=To,exports.Node=Rc,exports.OvertimeIcon=t=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M17.9492 15.0335H17.259V7.8139C17.2583 7.54629 17.1515 7.2899 16.962 7.10096C16.7725 6.91202 16.5158 6.80598 16.2482 6.80608H6.54688C6.37698 6.44093 6.28293 6.0451 6.27044 5.64255C6.25795 5.23999 6.32727 4.83909 6.4742 4.46411C6.62113 4.08912 6.84263 3.74784 7.12528 3.46094C7.40792 3.17403 7.74585 2.94746 8.1186 2.79494C8.17253 2.77313 8.21853 2.73539 8.25046 2.68676C8.28238 2.63812 8.29871 2.58091 8.29727 2.52275C8.29582 2.46459 8.27667 2.40826 8.24237 2.36127C8.20807 2.31428 8.16026 2.27887 8.10531 2.25976C7.60777 2.08736 7.08485 1.99955 6.55829 2C1.81329 2.03796 -0.00590527 8.13041 3.86374 10.7685L3.86367 15.0335H3.11425C3.07672 15.0335 3.03956 15.0409 3.0049 15.0552C2.97023 15.0696 2.93873 15.0906 2.91219 15.1171C2.88566 15.1437 2.86461 15.1752 2.85026 15.2098C2.8359 15.2445 2.82852 15.2817 2.82853 15.3192V16.2757C2.82904 16.7328 3.01087 17.1711 3.33413 17.4944C3.65739 17.8177 4.09568 17.9995 4.55285 18H16.5106C16.9677 17.9995 17.406 17.8177 17.7293 17.4944C18.0526 17.1711 18.2344 16.7328 18.2349 16.2757V15.3192C18.2349 15.2817 18.2275 15.2445 18.2132 15.2098C18.1988 15.1752 18.1778 15.1437 18.1513 15.1171C18.1247 15.0906 18.0932 15.0696 18.0586 15.0552C18.0239 15.0409 17.9867 15.0335 17.9492 15.0335ZM2.32531 6.79829C2.32739 5.67683 2.77422 4.602 3.56779 3.80958C4.36135 3.01716 5.43683 2.57189 6.55829 2.57143C6.78297 2.57136 7.00728 2.58946 7.22905 2.62556C6.53935 3.10181 6.04031 3.80664 5.82021 4.61538C5.60011 5.42412 5.67313 6.28464 6.02636 7.04472C6.37959 7.80481 6.99025 8.41548 7.75034 8.76871C8.51042 9.12193 9.37094 9.19496 10.1797 8.97486C7.95601 12.6082 2.36652 11.0803 2.32531 6.79829ZM4.4351 11.0963C6.84362 12.3673 10.1004 11.1049 11.0263 8.53733C11.0461 8.48291 11.0491 8.42377 11.0347 8.36765C11.0204 8.31153 10.9895 8.26105 10.9459 8.22282C10.9024 8.18459 10.8484 8.1604 10.7909 8.1534C10.7334 8.1464 10.6751 8.15693 10.6237 8.18361C10.0061 8.50488 9.29555 8.60016 8.61509 8.45295C7.93463 8.30574 7.32702 7.92531 6.8974 7.37748L16.2482 7.37752C16.3643 7.37726 16.4757 7.42306 16.5581 7.50486C16.6405 7.58667 16.6871 7.6978 16.6876 7.8139V15.0335H4.4351V11.0963ZM17.6635 16.2757C17.6631 16.5813 17.5415 16.8744 17.3254 17.0905C17.1093 17.3066 16.8162 17.4282 16.5106 17.4286H4.55285C4.24719 17.4282 3.95415 17.3066 3.73802 17.0905C3.52189 16.8744 3.40031 16.5813 3.39995 16.2757V15.6049H4.14386C4.14145 15.6076 16.9729 15.6053 16.9733 15.606C16.978 15.6028 17.6579 15.606 17.6635 15.6049L17.6635 16.2757Z",fill:"#141A2A",stroke:"#141A2A",strokeWidth:"0.457143"}),e.jsx("path",{d:"M11.3113 16.8152H9.85205C9.76917 16.8152 9.68968 16.8481 9.63108 16.9067C9.57247 16.9653 9.53955 17.0448 9.53955 17.1277C9.53955 17.2106 9.57247 17.2901 9.63108 17.3487C9.68968 17.4073 9.76917 17.4402 9.85205 17.4402H11.3113C11.3931 17.4386 11.471 17.405 11.5283 17.3465C11.5856 17.2881 11.6177 17.2095 11.6177 17.1277C11.6177 17.0458 11.5856 16.9673 11.5283 16.9088C11.471 16.8504 11.3931 16.8168 11.3113 16.8152Z",fill:"#141A2A"})]}),exports.PadBox=Zo,exports.Pagination=({count:t,page:r,onPageChange:l,rowsPerPage:n,onRowsPerPageChange:i,sx:o,...a})=>{const s=u.useTheme(),{grey:d}=s.palette,{layout:c}=Vi(),p="mobile"===c;return e.jsx(Jn.default,{sx:{"& .MuiInputBase-root":{height:"30px"},"& .MuiToolbar-root":{paddingLeft:0},"& .MuiTablePagination-select":{backgroundColor:"transparent !important"},"& .MuiTablePagination-input":{border:`1.5px solid ${d[400]}`,borderRadius:"5px",fontSize:"13px",padding:p?"2px 10px":"4px 8px"},...o},component:"div",count:t,page:r,onPageChange:l,rowsPerPage:n,onRowsPerPageChange:i,rowsPerPageOptions:[20,50,100,200],defaultValue:100,labelRowsPerPage:p?"":"Rows per page",...a})},exports.PasswordField=function(t){const[r,l]=a.useState(!1);return e.jsx(Ts,{type:r?"text":"password",InputProps:{startAdornment:e.jsx(Rl.default,{position:"start",children:e.jsx(Mn.default,{fontSize:"small"})}),endAdornment:e.jsx(Rl.default,{position:"end",children:e.jsx(kr.default,{"aria-label":"toggle password visibility",onClick:()=>{l((e=>!e))},edge:"end",children:r?e.jsx(Ln.default,{fontSize:"small"}):e.jsx(pn.default,{fontSize:"small"})})})},...t})},exports.PayrollManagementDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42245_80618)"}),e.jsx("g",{clipPath:"url(#clip0_42245_80618)",children:e.jsx("path",{d:"M17.6667 6.30469H8.33333C6.49533 6.30469 5 7.80002 5 9.63802V16.3047C5 18.1427 6.49533 19.638 8.33333 19.638H17.6667C19.5047 19.638 21 18.1427 21 16.3047V9.63802C21 7.80002 19.5047 6.30469 17.6667 6.30469ZM11.6667 16.33H7.66667C7.298 16.33 7 16.0314 7 15.6634C7 15.2954 7.298 14.9967 7.66667 14.9967H11.6667C12.0353 14.9967 12.3333 15.2954 12.3333 15.6634C12.3333 16.0314 12.0353 16.33 11.6667 16.33ZM11.6667 13.6634H7.66667C7.298 13.6634 7 13.3647 7 12.9967C7 12.6287 7.298 12.33 7.66667 12.33H11.6667C12.0353 12.33 12.3333 12.6287 12.3333 12.9967C12.3333 13.3647 12.0353 13.6634 11.6667 13.6634ZM11.6667 10.9967H7.66667C7.298 10.9967 7 10.698 7 10.33C7 9.96202 7.298 9.66335 7.66667 9.66335H11.6667C12.0353 9.66335 12.3333 9.96202 12.3333 10.33C12.3333 10.698 12.0353 10.9967 11.6667 10.9967ZM17 16.33C17 16.698 16.702 16.9967 16.3333 16.9967C15.9647 16.9967 15.6667 16.698 15.6667 16.33H15.488C14.7767 16.33 14.1127 15.9474 13.756 15.3307C13.5713 15.012 13.6807 14.6047 13.9987 14.42C14.318 14.2354 14.7253 14.3447 14.9093 14.6634C15.0287 14.8687 15.25 14.9967 15.4873 14.9967H16.9993C17.3673 14.9967 17.666 14.6974 17.666 14.33C17.666 14.078 17.4853 13.8647 17.2367 13.8234L15.2093 13.4854C14.3147 13.3367 13.666 12.57 13.666 11.6634C13.666 10.5607 14.5633 9.66335 15.666 9.66335C15.666 9.29535 15.964 8.99669 16.3327 8.99669C16.7013 8.99669 16.9993 9.29535 16.9993 9.66335H17.178C17.8893 9.66335 18.5533 10.046 18.91 10.6627C19.0947 10.9814 18.9853 11.3887 18.6673 11.5734C18.3467 11.7574 17.9393 11.648 17.7567 11.33C17.6373 11.1247 17.416 10.9967 17.1787 10.9967H15.6667C15.2987 10.9967 15 11.2954 15 11.6634C15 11.9154 15.1807 12.1287 15.4293 12.17L17.4567 12.508C18.3513 12.6567 19 13.4234 19 14.33C19 15.4327 18.1027 16.33 17 16.33Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42245_80618",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42245_80618",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(5 5)"})})]})]}),exports.PayrollReportDarkSvg=t=>e.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"26",height:"26",rx:"6",fill:"url(#paint0_linear_42040_78186)"}),e.jsx("g",{clipPath:"url(#clip0_42040_78186)",children:e.jsx("path",{d:"M8 9C8 6.794 9.794 5 12 5C14.206 5 16 6.794 16 9C16 11.206 14.206 13 12 13C9.794 13 8 11.206 8 9ZM19.1233 15.8447L17.096 15.5067C16.8473 15.4653 16.6667 15.252 16.6667 15C16.6667 14.6327 16.9653 14.3333 17.3333 14.3333H18.6667C19.0347 14.3333 19.3333 14.6327 19.3333 15H20.6667C20.6667 13.8973 19.7693 13 18.6667 13V11.6667H17.3333V13C16.2307 13 15.3333 13.8973 15.3333 15C15.3333 15.9067 15.9827 16.6733 16.8767 16.822L18.904 17.16C19.1527 17.2013 19.3333 17.4147 19.3333 17.6667C19.3333 18.034 19.0347 18.3333 18.6667 18.3333H17.3333C16.9653 18.3333 16.6667 18.034 16.6667 17.6667H15.3333C15.3333 18.7693 16.2307 19.6667 17.3333 19.6667V21H18.6667V19.6667C19.7693 19.6667 20.6667 18.7693 20.6667 17.6667C20.6667 16.76 20.0173 15.9933 19.1233 15.8447ZM14 17.6667V15C14 14.8093 14.0253 14.626 14.056 14.444L14 14.3333H9C7.346 14.3333 6 15.6793 6 17.3333V21H16V20.7173C14.8247 20.2013 14 19.03 14 17.6667Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_42040_78186",x1:"0",y1:"13",x2:"26",y2:"13",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#191F33"}),e.jsx("stop",{offset:"1",stopColor:"#215779"})]}),e.jsx("clipPath",{id:"clip0_42040_78186",children:e.jsx("rect",{width:"16",height:"16",fill:"white",transform:"translate(4.66406 5)"})})]})]}),exports.PhoneInputField=function({control:t,name:r,defaultValue:l,rules:n,label:i,disabled:o=!1,required:s,rows:d,loading:c=!1,placeholder:p="",error:h,helperText:C,navigationKey:x,styling:f="custom",...g}){const m=u.useTheme(),{iron:b,red:j,slate:y}=m.palette.app.color,{navigationKey:w}=gi(),v=x??w,{field:{value:M,onChange:L,...k}}=Ae.useController({name:r,control:t,defaultValue:l,rules:n}),[S,H]=a.useState(!1),{setInputRef:Z,maintainFocusAfterClose:V,handleKeyDown:A}=Zi({isOpen:S,navigationKey:v}),D=a.useRef(null);return a.useEffect((()=>{const e=D.current;if(!e||o)return;const t=e.querySelector("input[type='tel']");t&&(Z(t),k.ref(t));const r=()=>{const t=e.querySelector(".selected-flag");t&&(t.setAttribute("tabindex","-1"),t.addEventListener("focus",(()=>{t.blur()})));const r=!!e.querySelector(".flag-dropdown.open");H(r),r&&setTimeout((()=>{const t=e.querySelector(".country-list .search-box input");t&&t.focus()}),0)},l=new MutationObserver(r);l.observe(e,{attributes:!0,attributeFilter:["class"],subtree:!0,childList:!0});const n=e=>{const t=e.target;(t.closest(".flag-dropdown")||t.closest(".country-list"))&&setTimeout(r,0)},i=e=>{const t=e.target;t.closest(".flag-dropdown")||t.closest(".country-list")||setTimeout(r,0)};return e.addEventListener("click",n),document.addEventListener("click",i),r(),()=>{l.disconnect(),e.removeEventListener("click",n),document.removeEventListener("click",i)}}),[Z,k,o]),c?e.jsx(Fs,{label:i,rows:d,styling:f}):e.jsxs(Zr.default,{gap:"4px",children:[e.jsxs(Zr.default,{gap:"5px",children:[i&&"custom"===f&&e.jsx(Tl.default,{required:s,disabled:o,children:i}),e.jsx(Es,{ref:D,styling:f,error:h,className:"custom"===f?"custom_phone_input":"default_phone_input",children:e.jsx(kn.default,{country:"in",enableSearch:!0,disabled:o,specialLabel:i??"",placeholder:p||i,onChange:e=>{L(e)},value:M,onBlur:()=>{k.onBlur(),S||V()},onKeyDown:e=>{S||A(e,void 0,!1)},containerStyle:{width:"100%",border:h?`1px solid ${j[900]}`:o?`1px solid ${b[700]}`:`1px solid ${b[800]}`,borderRadius:"4px",transition:"all 0.2s ease"},inputStyle:{width:"100%",padding:"8.5px 40px",fontSize:"13px",border:"none",outline:"none",transition:"all 0.2s ease",color:o?b[100]:y[900]},containerClass:"phone-input-container",inputClass:"phone-input-field",buttonStyle:{border:"none"},...g})})]}),h&&e.jsx(_r.default,{variant:"caption",sx:{color:"red",whiteSpace:"pre",textWrap:"wrap"},children:C})]})},exports.PieChart=({height:t=235,skipAnimation:r=!1,loading:l=!1,valueFormatter:n=e=>`${e.value}%`,tooltip:i="item",label:o,series:a,...s})=>{const d=u.styled("text")((({theme:e})=>({fill:e.palette.text.primary,textAnchor:"middle",dominantBaseline:"central",fontSize:20}))),c=Number(a.outerRadius??0)-Number(a.innerRadius??0);return l?e.jsx(Ha,{height:t,radius:c}):e.jsx(be.PieChart,{height:t,sx:{transform:"translate(0px, 0px)",overflow:"visible","& .MuiPieArcLabel-root":{display:"none"}},series:[{type:"pie",data:a.data,arcLabel:e=>e.label??"",arcLabelMinAngle:20,valueFormatter:n,innerRadius:a.innerRadius,outerRadius:a.outerRadius}],slotProps:{tooltip:{trigger:i}},...s,skipAnimation:r,children:e.jsx((({children:t})=>{const{width:r,height:l,left:n,top:i}=me.useDrawingArea();return e.jsx(d,{x:n+r/2,y:i+l/2,children:t})}),{children:o})})},exports.PrintDownloadActions=({items:t,disabled:r,sx:l})=>{const[n,i]=a.useState(null);return e.jsxs(Br.default,{sx:{width:"100%",...l},children:[e.jsx(ko,{onClick:e=>{i(e.currentTarget)},disabled:r}),!!n&&e.jsx(Ao,{open:!0,anchorEl:n,onClose:()=>{i(null)},children:e.jsx(Zo,{padding:{padding:"2px"},children:t.map((t=>e.jsx(Br.default,{children:e.jsx(Yr.default,{sx:{width:"100%",textAlign:"start"},onClick:()=>{t?.onClick(),i(null)},children:e.jsx(_r.default,{variant:"body1",children:t.title})})},t.title)))})})]})},exports.ProcessIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"Add",children:e.jsx(Qi,{disabled:t.disabled})})}),exports.ProfileCard=function({onClick:t,header:r,body:l}){const n=u.useTheme(),{lightBlue:i,butterflyBlue:o}=n.palette.app.color;return e.jsx(Br.default,{bgcolor:i[50],flex:1,sx:{borderRadius:"10px",cursor:"pointer",":hover":{background:o[600]}},height:"400px",onClick:t,children:e.jsx(Zo,{padding:{padding:"10px"},children:e.jsxs(Zr.default,{height:"100%",justifyContent:"space-between",children:[r,l]})})})},exports.ProfileCardBody=function({joiningDate:t,department:r,subDepartment:l,email:n,phone:i,loading:o}){return e.jsx(Br.default,{bgcolor:"#F3F5F7",sx:{borderRadius:"10px"},children:e.jsx(Zo,{padding:{padding:"12px"},children:e.jsxs(Zr.default,{gap:"10px",children:[e.jsx(la,{label:"Date of Joining",value:e.jsx(na,{title:t,loading:o})}),e.jsx(la,{label:"Department",value:e.jsx(na,{title:r,loading:o})}),e.jsx(la,{label:"Sub Department",value:e.jsx(na,{title:l,loading:o})}),e.jsx(la,{label:e.jsx(fo,{}),value:e.jsx(na,{containerSx:{width:"80%"},title:n,loading:o}),sx:{justifyContent:"start",gap:"10px"}}),e.jsx(la,{label:e.jsx(mo,{}),value:e.jsx(na,{containerSx:{width:"80%"},title:i,loading:o}),sx:{justifyContent:"start",gap:"10px"}})]})})})},exports.ProfileCardHeader=function({avatar:t,employeeName:r,designation:l,employeeCode:n,loading:i,isDraft:o=!1,onDeleteClick:a}){const s=u.useTheme(),{slate:d}=s.palette.app.color;return e.jsxs(Br.default,{children:[e.jsxs(Zr.default,{gap:"10px",direction:"row",alignItems:"center",justifyContent:"space-between",children:[i?e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"100px"}):o?e.jsx(ia,{label:"Draft",size:"small",color:"error",variant:"outlined"}):e.jsx(na,{title:n,loading:i}),o&&(i?e.jsx(cl.default,{variant:"rounded",height:20,animation:"wave",width:"50px"}):e.jsx(Lo,{onClick:a}))]}),e.jsxs(Zr.default,{alignItems:"center",gap:"8px",children:[t,i?e.jsx(cl.default,{variant:"rounded",height:30,animation:"wave",width:"300px"}):e.jsx(_r.default,{variant:"h6",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical"},maxWidth:"330px",fontWeight:"500",textAlign:"center",children:r??"-"}),i?e.jsx(cl.default,{variant:"rounded",height:30,animation:"wave",width:"200px"}):e.jsx(_r.default,{variant:"body1",fontWeight:400,color:d[900],noWrap:!0,children:l||"-"})]})]})},exports.RadioGroupField=function({name:t,rules:r,label:l,control:n,options:i,defaultValue:o,size:s="small",color:d="secondary",loading:c=!1,required:u=!1,direction:p="row",sx:h={},containerProps:C,isHorizontal:x=!1,navigationKey:f,customOnChange:g,...m}){const{field:{value:b,onChange:j,ref:y,...w}}=Ae.useController({name:t,control:n,defaultValue:o,rules:r}),{navigationKey:v}=gi(),M=f??v,{inputRef:L,handleKeyDown:k,maintainFocus:S}=Zi({navigationKey:M}),H=a.useRef(null);return c?e.jsx(Ps,{}):e.jsxs(Zr.default,{direction:x?"row":"column",alignItems:x?"center":void 0,gap:x?1:"5px",children:[l&&e.jsx(Tl.default,{sx:{whiteSpace:"normal",overflow:"visible",textOverflow:"unset"},required:u,disabled:m.disabled,children:l}),e.jsx(Zn.default,{name:t,value:b,onKeyDown:e=>{k(e,void 0,!1)},onChange:(e,t)=>{let r;if("true"===t?(r=!0,j(!0)):"false"===t?(r=!1,j(!1)):(r=t,j(t)),g){const e=i.find((({values:e})=>e===r));e&&g(e)}const l=e.target;l?L.current=l:!L.current&&H.current&&(L.current=H.current),S()},children:e.jsx(Zr.default,{gap:"column"===p?"5px":"10px",direction:p,...C,children:i?.map((({label:t,values:r,disabled:l},n)=>e.jsx(Br.default,{children:e.jsx(Sn.default,{value:r,control:e.jsx(Hn.default,{...w,...m,color:d,size:s,inputRef:e=>{if(!e)return;b===r||!L.current&&0===n?(L.current=e,H.current=e):H.current||0!==n||(H.current=e),y&&("function"==typeof y?y(e):y.current=e)}}),disabled:l,label:t,sx:h})},n)))})})]})},exports.Rating=function({control:t,name:r,defaultValue:l,label:n="",rules:i,disabled:o,loading:a=!1,direction:s="column",required:d=!1,navigationKey:c,...u}){const{field:{value:p,onChange:h,...C},fieldState:{error:x}}=Ae.useController({name:r,control:t,defaultValue:l,rules:i}),{navigationKey:f}=gi(),g=c??f,{maintainFocus:m,handleKeyDown:b}=Zi({navigationKey:g});return a?e.jsx(Os,{label:n}):e.jsxs(e.Fragment,{children:[e.jsxs(Zr.default,{gap:"5px",direction:s,alignItems:"row"===s?"center":"flex-start",children:[n&&e.jsx(Tl.default,{sx:{minWidth:"row"===s?"120px":"auto",marginBottom:"row"===s?0:"auto"},required:d,children:n}),e.jsx("div",{onKeyDown:e=>{b(e,void 0,!1)},children:e.jsx(An.default,{disabled:o,value:p??null,onChange:(e,t)=>{h(t),m()},...C,...u})})]}),x&&e.jsx(Vn.default,{error:!0,children:x?.message})]})},exports.RedirectionCell=({mainLabel:t,onClick:r,includeSubLabel:l=!1,isSubLabelClickable:n=!1,subLabel:i,avatar:o,includeAvatar:s=!1,disabled:d=!1,includeIcon:c=!1,icon:p})=>{const h=u.useTheme(),{butterflyBlue:C,black:x}=h.palette.app.color,f=a.useRef(null),g=a.useRef(null),m=a.useRef(null),b=a.useRef(null),j="string"==typeof i||"number"==typeof i||"bigint"==typeof i||"boolean"==typeof i||null==i;return Vo({buttonRef:a.useMemo((()=>l&&n?j?m:b:"string"==typeof t?f:g),[l,n,j,t]),disabled:d,onPressEnter:e=>{!d&&qr.default(r)&&r(e)}}),e.jsx(Br.default,{component:"div",sx:{width:"100%"},children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%"},children:[e.jsxs(Zr.default,{direction:"row",gap:"5px",alignItems:"center",children:[s&&e.jsx(ul.default,{src:o??"",alt:"Photo",sx:{width:24,height:24}}),e.jsxs(Zr.default,{children:["string"==typeof t?e.jsx(_r.default,{variant:"body1",sx:{width:"100%",color:d||n?x[900]:C[900],cursor:d||n?"default":"pointer"},ref:f,tabIndex:d||n?-1:0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||n||(e.preventDefault(),qr.default(r)&&r(e))},onClick:e=>{d||n||!qr.default(r)||r(e)},children:t}):e.jsx(Zr.default,{ref:g,tabIndex:d||n?-1:0,sx:{cursor:d&&n?"pointer":"default"},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||n||qr.default(r)&&r(e)},onClick:e=>{d||n||!qr.default(r)||r(e)},children:e.jsx(_r.default,{variant:"body1",children:t})}),l&&(j?e.jsx(_r.default,{variant:"body2",color:n?C[900]:C[400],sx:{cursor:!d&&n?"pointer":"default",lineHeight:"18px"},tabIndex:!d&&n?0:-1,ref:m,onKeyDown:e=>{!d&&n&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),qr.default(r)&&r(e)))},onClick:e=>{!d&&n&&qr.default(r)&&r(e)},children:i??"-"}):e.jsx(Zr.default,{ref:b,sx:{cursor:!d&&n?"pointer":"default"},tabIndex:!d&&n?0:-1,onKeyDown:e=>{!d&&n&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),qr.default(r)&&r(e)))},onClick:e=>{!d&&n&&qr.default(r)&&r(e)},children:e.jsx(_r.default,{variant:"body2",children:i??"-"})}))]})]}),c&&p&&e.jsx(Br.default,{children:p})]})})},exports.RightArrowIcon=es,exports.SUPPORTED_DOC_FORMATS=fs,exports.SUPPORTED_EXCEL_FORMATS=gs,exports.SUPPORTED_FILE_TYPES=vi,exports.SUPPORTED_IMAGE_FORMATS=Cs,exports.SUPPORTED_PDF_FORMATS=xs,exports.SalaryIcon=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",...t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4.66391 15.2631L4.30794 15.6142L4.30794 15.6142L4.66391 15.2631ZM17.2731 15.2631L17.6291 15.6142V15.6142L17.2731 15.2631ZM17.2731 6.67307L16.9172 7.02419L17.2731 6.67307ZM16.0224 5.50247C15.7476 5.47507 15.5026 5.67561 15.4752 5.95039C15.4478 6.22517 15.6484 6.47013 15.9232 6.49753L15.9728 6L16.0224 5.50247ZM4.49766 13.4357C4.471 13.1609 4.22657 12.9597 3.95172 12.9863C3.67687 13.013 3.47567 13.2574 3.50234 13.5323L4 13.484L4.49766 13.4357ZM12.4997 10C12.4997 10.2761 12.7236 10.5 12.9997 10.5C13.2759 10.5 13.4997 10.2761 13.4997 10H12.9997H12.4997ZM13.4997 6C13.4997 5.72386 13.2759 5.5 12.9997 5.5C12.7236 5.5 12.4997 5.72386 12.4997 6H12.9997H13.4997ZM3.5 10C3.5 10.2761 3.72386 10.5 4 10.5C4.27614 10.5 4.5 10.2761 4.5 10H4H3.5ZM4.5 6C4.5 5.72386 4.27614 5.5 4 5.5C3.72386 5.5 3.5 5.72386 3.5 6H4H4.5ZM6.94118 3V3.5H11.0588V3V2.5H6.94118V3ZM11.0588 13V12.5H6.94118V13V13.5H11.0588V13ZM6.94118 13V12.5C5.76223 12.5 4.92891 12.4989 4.29767 12.413C3.68143 12.3292 3.33293 12.173 3.07926 11.9163L2.72362 12.2678L2.36798 12.6192C2.83793 13.0948 3.43356 13.3047 4.16287 13.4039C4.87718 13.5011 5.79083 13.5 6.94118 13.5V13ZM2 8H1.5C1.5 9.16454 1.49896 10.0877 1.59481 10.809C1.69248 11.5442 1.89884 12.1445 2.36798 12.6192L2.72362 12.2678L3.07926 11.9163C2.82478 11.6588 2.66932 11.3037 2.5861 10.6773C2.50104 10.0371 2.5 9.19248 2.5 8H2ZM16 8H15.5C15.5 9.19248 15.499 10.0371 15.4139 10.6773C15.3307 11.3037 15.1752 11.6588 14.9207 11.9163L15.2764 12.2678L15.632 12.6192C16.1012 12.1445 16.3075 11.5442 16.4052 10.809C16.501 10.0877 16.5 9.16454 16.5 8H16ZM11.0588 13V13.5C12.2092 13.5 13.1228 13.5011 13.8371 13.4039C14.5664 13.3047 15.1621 13.0948 15.632 12.6192L15.2764 12.2678L14.9207 11.9163C14.6671 12.173 14.3186 12.3292 13.7023 12.413C13.0711 12.4989 12.2378 12.5 11.0588 12.5V13ZM11.0588 3V3.5C12.2378 3.5 13.0711 3.50109 13.7023 3.58697C14.3186 3.6708 14.6671 3.827 14.9207 4.08369L15.2764 3.73223L15.632 3.38078C15.1621 2.90523 14.5664 2.69531 13.8371 2.59609C13.1228 2.49891 12.2092 2.5 11.0588 2.5V3ZM16 8H16.5C16.5 6.83546 16.501 5.91234 16.4052 5.19097C16.3075 4.45581 16.1012 3.8555 15.632 3.38078L15.2764 3.73223L14.9207 4.08369C15.1752 4.3412 15.3307 4.69626 15.4139 5.32267C15.499 5.96287 15.5 6.80752 15.5 8H16ZM6.94118 3V2.5C5.79083 2.5 4.87718 2.49891 4.16287 2.59609C3.43356 2.69531 2.83793 2.90523 2.36798 3.38078L2.72362 3.73223L3.07926 4.08369C3.33293 3.827 3.68143 3.6708 4.29767 3.58697C4.92891 3.50109 5.76223 3.5 6.94118 3.5V3ZM2 8H2.5C2.5 6.80752 2.50104 5.96287 2.5861 5.32267C2.66932 4.69626 2.82478 4.3412 3.07926 4.08369L2.72362 3.73223L2.36798 3.38078C1.89884 3.8555 1.69248 4.45581 1.59481 5.19097C1.49896 5.91234 1.5 6.83546 1.5 8H2ZM13.0366 16V15.5H8.90043V16V16.5H13.0366V16ZM8.90043 16V15.5C7.71623 15.5 6.87905 15.4989 6.24486 15.4125C5.62577 15.3281 5.27521 15.1708 5.01988 14.912L4.66391 15.2631L4.30794 15.6142C4.77948 16.0923 5.3773 16.3035 6.10981 16.4033C6.82722 16.5011 7.74487 16.5 8.90043 16.5V16ZM18 10.9681H17.5C17.5 12.1681 17.499 13.0184 17.4135 13.663C17.3298 14.294 17.1734 14.6522 16.9172 14.912L17.2731 15.2631L17.6291 15.6142C18.0997 15.1371 18.3068 14.5338 18.4048 13.7945C18.501 13.0689 18.5 12.1402 18.5 10.9681H18ZM13.0366 16V16.5C14.1922 16.5 15.1098 16.5011 15.8272 16.4033C16.5597 16.3035 17.1576 16.0923 17.6291 15.6142L17.2731 15.2631L16.9172 14.912C16.6618 15.1708 16.3113 15.3281 15.6922 15.4125C15.058 15.4989 14.2208 15.5 13.0366 15.5V16ZM18 10.9681H18.5C18.5 9.79599 18.501 8.86731 18.4048 8.14166C18.3068 7.40232 18.0997 6.79904 17.6291 6.32195L17.2731 6.67307L16.9172 7.02419C17.1734 7.284 17.3298 7.6422 17.4135 8.27312C17.499 8.91774 17.5 9.7681 17.5 10.9681H18ZM15.9728 6L15.9232 6.49753C16.2976 6.53488 16.4328 6.59008 16.5114 6.63843C16.6172 6.70358 16.6747 6.77843 16.9172 7.02419L17.2731 6.67307L17.6291 6.32195C17.4663 6.15687 17.2769 5.9354 17.0356 5.78683C16.7669 5.62147 16.4545 5.54556 16.0224 5.50247L15.9728 6ZM4 13.484L3.50234 13.5323C3.58581 14.3927 3.783 15.082 4.30794 15.6142L4.66391 15.2631L5.01988 14.912C4.73431 14.6225 4.57287 14.2109 4.49766 13.4357L4 13.484ZM11.0002 8H10.5002C10.5002 8.82843 9.82868 9.5 9.00025 9.5V10V10.5C10.381 10.5 11.5002 9.38071 11.5002 8H11.0002ZM9.00025 10V9.5C8.17182 9.5 7.50025 8.82843 7.50025 8H7.00025H6.50025C6.50025 9.38071 7.61954 10.5 9.00025 10.5V10ZM7.00025 8H7.50025C7.50025 7.17157 8.17182 6.5 9.00025 6.5V6V5.5C7.61954 5.5 6.50025 6.61929 6.50025 8H7.00025ZM9.00025 6V6.5C9.82868 6.5 10.5002 7.17157 10.5002 8H11.0002H11.5002C11.5002 6.61929 10.381 5.5 9.00025 5.5V6ZM12.9997 10H13.4997V6H12.9997H12.4997V10H12.9997ZM4 10H4.5L4.5 6H4H3.5L3.5 10H4Z",fill:t.fill??"currentColor"})}),exports.SaveDialog=({title:t,open:r,isSaveLoading:l=!1,onSave:n,onClose:i})=>{const o=u.useTheme(),{butterflyBlue:a}=o.palette.app.color;return e.jsx(ys,{maxWidth:"xs",isHideCloseIcon:!0,isHideDividers:!0,open:r,onClose:i,actions:e.jsxs(ps,{children:[e.jsx(Ni,{onClick:i,variant:"outlined",children:"Cancel"}),e.jsx(Ni,{onClick:n,loading:l,children:"Save"})]}),children:e.jsxs(Zr.default,{gap:"10px",direction:"row",children:[e.jsx(dn.default,{htmlColor:a[900],sx:{mt:"1px"}}),e.jsx(_r.default,{variant:"subtitle1",children:t})]})})},exports.SearchField=zs,exports.Select=function({control:t,defaultValue:r,name:l,required:n=!1,label:i,multiple:o=!1,disabled:s=!1,options:d=[],rules:c,loading:p=!1,helperText:h,error:C,placeholder:x="",isShowSelectAll:f=!0,isShowAvatar:g=!1,onAction:m,renderOption:b,maxLimit:j,maxDisplayItems:y=2,disableClearable:w=!!n,setOnFinalChange:v=!1,styling:M="custom",navigationKey:L,...k}){const{field:{onChange:S,value:H,...Z}}=Ae.useController({name:l,control:t,defaultValue:r,rules:c}),{navigationKey:V}=gi(),A=L??V,{t:D}=De.useTranslation(),B=u.useTheme(),{slate:I,iron:R}=B.palette.app.color,T=s?R[900]:"revert-layer",[E,F]=a.useState(null),P=a.useRef(!1),[_,O]=a.useState(!1),{setInputRef:z,maintainFocusAfterClose:W,handleKeyDown:$,handleEnterNavigation:q}=Zi({isOpen:_,navigationKey:A}),K=a.useMemo((()=>{if(!o||!f||!Array.isArray(H))return!1;const e=d.filter((e=>!e.disabled));return H.length===e.length}),[o,f,d,H]),N=a.useMemo((()=>o&&Array.isArray(H)?d.filter((e=>H.includes(e.value))):[]),[o,d,H]),G=a.useMemo((()=>{const e={};return d.forEach((t=>{const r=t.heading??"";e[r]||(e[r]=[]),e[r].push(t)})),e}),[d]);if(p)return e.jsxs(Zr.default,{gap:"10px",children:[i&&"custom"===M&&e.jsx(cl.default,{width:120,height:"18.69px",sx:{transform:"scale(1)"}}),e.jsx(cl.default,{height:"35.69px",sx:{transform:"scale(1)"}})]});const U=()=>v&&P.current?E:H;return e.jsxs(Zr.default,{gap:"5px",children:[i&&"custom"===M&&e.jsx(Tl.default,{required:n,disabled:s,children:i}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",gap:"10px",alignItems:"start",children:[e.jsxs(Ws,{fullWidth:!0,error:C,disabled:s,required:n,sx:"default"===M?{...za(M),"& .MuiOutlinedInput-notchedOutline":{"& legend":{maxWidth:0,"& span":{padding:"0 5px"}}},"& .MuiInputLabel-root.MuiInputLabel-shrink + .MuiInputBase-root .MuiOutlinedInput-notchedOutline legend":{maxWidth:"100%"}}:void 0,children:[i&&"default"===M&&e.jsx(Tl.default,{id:`${l}-label`,sx:Wa(M),children:i}),e.jsx(In.default,{...Z,...k,multiple:o,value:U()??(o?[]:""),label:"default"===M?i:void 0,labelId:"default"===M&&i?`${l}-label`:void 0,inputProps:{"aria-label":"custom"===M&&i?i:void 0},onChange:e=>{const t=e.target.value;if(v)P.current=!0,o&&Array.isArray(t)&&t.includes("select-all")?F(Array.isArray(E)&&E.length===d.filter((({disabled:e})=>!e)).length?[]:d.filter((({disabled:e})=>!e)).map((({value:e})=>e))):F(t);else{if(o&&Array.isArray(t)){if(t.includes("select-all"))return void(e=>{if(e){const e=d.filter((e=>!e.disabled)).map((e=>e.value));S(e)}else S([])})(!K);if(j&&t.length>j)return void Ea.error({title:D("common.select.limitExceed",{maxLimit:j})})}S(t)}},open:_,onOpen:()=>{O(!0)},onClose:()=>{O(!1),W(),v&&P.current&&(S(E),P.current=!1,F(null))},inputRef:e=>z(e),onKeyDown:e=>{$(e,(()=>{O(!1)}),_)},renderValue:k.renderValue??(t=>{if(!o){const r=d.find((e=>e.value===t)),l=()=>r?r.label:"default"===M&&i?"":x;return e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[g&&r?.avatar&&e.jsx(ul.default,{src:r.avatar??"",sx:{width:20,height:20}}),e.jsx(_r.default,{variant:"body2",color:T,sx:{WebkitTextFillColor:T},noWrap:!0,children:l()})]})}if(!Array.isArray(t)||0===t.length){const t="default"!==M||!i||x;return e.jsx(_r.default,{sx:{WebkitTextFillColor:T},color:T,variant:"body2",noWrap:!0,children:t?x:""})}const r=N.slice(0,y),l=N.length-y;return e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:.5,overflow:"hidden"},children:[r.map((t=>e.jsx(_r.default,{variant:"body2",noWrap:!0,color:T,sx:{WebkitTextFillColor:T,backgroundColor:I[800],padding:"2px 5px",borderRadius:"12px",fontSize:"12px",maxWidth:"120px"},children:t.label},t.value))),l>0&&e.jsxs(_r.default,{variant:"body2",color:T,sx:{WebkitTextFillColor:T,backgroundColor:I[300],padding:"2px 5px",borderRadius:"12px",fontSize:"12px",fontWeight:500},children:["+",l]})]})}),IconComponent:t=>e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:.5,pr:2.5},children:[H&&(Array.isArray(H)&&H.length>0||!Array.isArray(H)&&""!==H)&&!w&&e.jsx(kr.default,{size:"small",onClick:e=>{e.stopPropagation(),S(o?[]:"")},onKeyDown:e=>{"enter"===A&&"Enter"===e.key&&(e.stopPropagation(),q(e))},children:e.jsx(At.ClearIcon,{sx:{fontSize:"14px"}})}),e.jsx(At.ArrowDropDownIcon,{...t})]}),displayEmpty:!0,MenuProps:{PaperProps:{sx:{width:"inherit",maxHeight:300,"& .MuiList-root":{paddingTop:0,paddingBottom:0}}}},children:Object.entries(G).length?(()=>{const t=[],r=U();return o&&f&&d.length>0&&(t.push(e.jsxs(Hr.default,{value:"select-all",children:[e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),indeterminate:Array.isArray(r)&&r.length>0&&r.length<d.filter((({disabled:e})=>!e)).length,checked:Array.isArray(r)&&r.length===d.filter((e=>!e.disabled)).length,sx:{marginRight:1}}),e.jsx(Bn.default,{primary:"Select All"})]},"select-all")),t.push(e.jsx($r.default,{sx:{margin:"0px !important"}},"divider-select-all"))),Object.entries(G).forEach((([l,n])=>{l&&t.push(e.jsx($s,{children:l},`group-${l}`)),n.forEach((l=>{const n=o?Array.isArray(r)&&r.includes(l.value):r===l.value;t.push(e.jsx(Hr.default,{value:l.value,disabled:l.disabled,children:b?b(l,n):e.jsxs(e.Fragment,{children:[o&&e.jsx(Ir.default,{icon:e.jsx(Fa,{size:"small"}),checkedIcon:e.jsx(Pa,{size:"small"}),checked:n,sx:{marginRight:1}}),e.jsxs(Br.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[g&&l.avatar&&e.jsx(ul.default,{src:l.avatar,alt:l.label,sx:{width:24,height:24}}),e.jsx(Bn.default,{primary:l.label})]})]})},l.value))}))})),t})():e.jsx(Hr.default,{disabled:!0,children:e.jsx(Bn.default,{primary:"No options"})})}),h&&e.jsx(Vn.default,{children:h})]}),m&&e.jsx(So,{disabled:s,onClick:m})]})]})},exports.SettingIcon=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.41701 6.46265L3.15034 5.19248C3.58368 4.44192 4.55545 4.17544 5.31322 4.61294C6.61947 5.36711 7.68685 4.75168 7.68429 3.23946C7.68401 2.37328 8.39523 1.65807 9.26863 1.66196L10.9297 1.66832C11.6956 1.65829 12.3151 2.28537 12.3251 3.05133L12.3253 3.23429C12.3207 4.74234 13.3888 5.359 14.6997 4.60512L14.8582 4.51383C15.5266 4.13953 16.3794 4.36246 16.7537 5.03082L17.5897 6.46613C18.0298 7.22057 17.766 8.19411 17.0157 8.62696C15.7048 9.38085 15.7055 10.6129 17.0118 11.3671C17.7623 11.8004 18.0288 12.7722 17.5913 13.53L16.858 14.8002C16.4247 15.5507 15.4529 15.8172 14.6951 15.3797C13.3889 14.6255 12.3215 15.241 12.324 16.7532C12.3202 17.6266 11.6131 18.3346 10.7397 18.3307L9.07868 18.3243C8.31271 18.3343 7.69325 17.7073 7.68323 16.9413L7.68301 16.7583C7.68765 15.2503 6.61956 14.6336 5.30865 15.3875L5.1501 15.4788C4.48174 15.8531 3.62895 15.6302 3.25465 14.9618L2.41863 13.5265C1.97856 12.7721 2.24234 11.7985 2.99262 11.3657C4.30352 10.6118 4.30281 9.37969 2.99655 8.62552C2.23878 8.18802 1.98368 7.21321 2.41701 6.46265Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SeverityIndicator=({color:t,label:r,isBackground:l=!1})=>e.jsx(Br.default,{sx:{backgroundColor:`${l?u.alpha(t,.2):""}`,width:"max-content",borderRadius:"6px"},children:e.jsx(Zo,{padding:{padding:l?"5px 8px":"0"},children:e.jsxs(Zr.default,{flexDirection:"row",alignItems:"center",gap:"8px",children:[e.jsx(_n.default,{sx:{color:t,fontSize:"12px"}}),e.jsx(_r.default,{variant:"body2",sx:{fontWeight:500},children:r})]})})}),exports.SmartGrid=oc,exports.SmartSelectField=vc,exports.SmartTextField=Lc,exports.SmartTooltip=yc,exports.SplitButton=({icon:t,label:r,size:l="medium",onClick:n,menuItems:i=[],sx:o,containerSx:s,variant:d="contained",disabled:c=!1,mainDisabled:u=!1,arrowDisabled:p=!1,hidden:h=!1,mainHidden:C=!1,loading:x=!1})=>{const[f,g]=a.useState(!1),m=a.useRef(null),b=a.useMemo((()=>i.filter((e=>!e.hidden))),[i]),{effectiveMain:j,filteredMenuItems:y}=a.useMemo((()=>{if(!C)return{effectiveMain:{label:r,icon:t,onClick:n,disabled:u||c},filteredMenuItems:b};if(0===b.length)return{effectiveMain:null,filteredMenuItems:[]};const[e,...l]=b;return{effectiveMain:{label:e?.label??"",icon:null,onClick:e?.onClick,disabled:e?.disabled||c},filteredMenuItems:l}}),[C,r,t,n,u,c,b]);if(h||!j)return null;const w=e=>{m.current?.contains(e.target)||e.target?.closest('[role="menu"]')||g(!1)},v=e=>{"Escape"===e.key&&(e.preventDefault(),g(!1),m.current?.querySelector("button[aria-expanded]")?.focus())};return e.jsxs(e.Fragment,{children:[e.jsxs(Kr.default,{ref:m,id:"split-button",sx:{boxShadow:"none",border:"none !important",position:"relative",minWidth:"60px",...s},children:[e.jsx(Lr.default,{variant:d,size:l,startIcon:x?null:j.icon,disabled:c||j.disabled,onClick:()=>{c||j.disabled||x||qr.default(j.onClick)&&j.onClick()},sx:o,children:x?e.jsx(Wr.default,{size:18}):j.label}),y.length>0&&e.jsx(Lr.default,{size:l,variant:d,disabled:c||p||x,"aria-controls":f?"split-button-menu":void 0,"aria-expanded":f?"true":void 0,"aria-haspopup":"true",onClick:()=>{c||p||g((e=>!e))},onKeyDown:e=>{"ArrowDown"!==e.key||f||(e.preventDefault(),g(!0))},sx:{width:"32px",minWidth:"32px",...o},children:e.jsx(Nr.default,{})})]}),e.jsx(Qr.default,{open:f,anchorEl:m.current,role:void 0,transition:!0,disablePortal:!0,placement:"bottom-end",sx:{zIndex:1300},children:({TransitionProps:t,placement:r})=>e.jsx(Ur.default,{...t,style:{transformOrigin:"bottom"===r?"center top":"center bottom"},children:e.jsx(Jr.default,{elevation:3,children:e.jsx(Gr.default,{onClickAway:w,children:e.jsx(Xr.default,{sx:{padding:"2px"},id:"split-button-menu",autoFocusItem:f,onKeyDown:v,role:"menu","aria-labelledby":"split-button",children:y.map((t=>e.jsxs(a.Fragment,{children:[e.jsx(Yr.default,{disabled:t.disabled,sx:{padding:"5px 16px 5px 10px"},onClick:()=>(e=>{e.disabled||(qr.default(e.onClick)&&e.onClick(),g(!1))})(t),children:e.jsx(_r.default,{children:t.label})}),t.divider&&e.jsx($r.default,{sx:{border:"none",borderTop:"1px solid #eee",margin:0,marginTop:"0 !important",marginBottom:"0 !important"}})]},t.key)))})})})})})]})},exports.Stepper=({orientation:t="horizontal",activeStep:r=0,stepLabelProps:l={},steps:n,errorSteps:i=[],onStepClick:o,showActiveStepIcon:a,showTooltips:s=!1,showStepLabels:d=!0,...c})=>{const p=u.useTheme(),{butterflyBlue:h,red:C}=p.palette.app.color;return e.jsx(Br.default,{children:e.jsx(ri.default,{activeStep:r,orientation:t,...c,children:n.map(((t,r)=>{const n=i.includes(r),a=e.jsx(ti.default,{...l,error:n,sx:{cursor:o?"pointer":"default",".Mui-active .MuiStepIcon-root":{color:`${h[900]} !important`},".Mui-completed .MuiStepIcon-root":{color:`${h[900]} !important`},...n&&{".MuiStepIcon-root":{color:`${C[900]} !important`},".MuiStepLabel-label":{color:`${C[900]} !important`}},...l.sx},onClick:()=>(e=>{o&&o(e)})(r),children:d&&e.jsx(_r.default,{variant:"body2",children:t})});return e.jsx(ei.default,{children:s?e.jsx(Pr.default,{title:t,placement:"top",children:a}):a},t)}))})})},exports.StepperV2=({steps:t,alternativeLabel:r=!0,stepLabelProps:l={},...n})=>e.jsx(Zr.default,{sx:{width:"100%"},spacing:4,children:e.jsx(ri.default,{alternativeLabel:r,activeStep:1,connector:e.jsx(kc,{}),...n,children:t.map((t=>e.jsx(ei.default,{children:e.jsx(ti.default,{StepIconComponent:Hc,...l,children:t})},t)))})}),exports.StepperV3=({orientation:t="horizontal",activeStep:r=0,stepLabelProps:l={},steps:n,...i})=>{const o=u.useTheme(),{butterflyBlue:a}=o.palette.app.color;return e.jsx(Br.default,{children:e.jsx(ri.default,{activeStep:r,orientation:t,...i,children:n.map(((t,r)=>e.jsx(ei.default,{children:e.jsx(ti.default,{...l,sx:{".Mui-active .css-18pqgpd-MuiSvgIcon-root-MuiStepIcon-root":{color:`${a[900]} !important`},".Mui-completed .MuiStepIcon-root":{color:`${a[900]} !important`},".MuiStepIcon-text":{color:"transparent !important",display:"none"}},children:e.jsx(Zr.default,{children:t?.in_time?e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"caption",children:"In at"}),e.jsx(_r.default,{variant:"caption",children:t?.in_time})]}):e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{variant:"caption",children:"Out at"}),e.jsx(_r.default,{variant:"caption",children:t?.out_time})]})})})},r)))})})},exports.StickySearchField=({top:t="0px",paperSx:r,boxSx:l,...n})=>e.jsx(Jr.default,{variant:"outlined",sx:{position:"sticky",top:t,zIndex:100,...r},children:e.jsx(Zo,{padding:{padding:"5px"},children:e.jsx(Br.default,{sx:{display:"flex",justifyContent:"flex-end",...l},children:e.jsx(zs,{...n})})})}),exports.SvgAccessDenied=t=>e.jsxs("svg",{width:350,height:254.069,viewBox:"0 0 350 254.069",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M179.309 191.863c1.437 1.843 3.685 3.06 6.183 3.06 4.309 0 7.807 -3.497 7.807 -7.806 0 -1.78 -0.594 -3.436 -1.593 -4.747",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M156.826 202.105c-1.905 -2.373 -2.561 -6.152 -2.561 -11.866V183.994c0 -12.491 3.123 -15.614 15.614 -15.614h31.228c1.124 0 2.155 0.031 3.123 0.094 9.899 0.562 12.491 4.153 12.491 15.52v6.245c0 12.491 -3.122 15.614 -15.614 15.614h-31.228c-1.124 0 -2.155 -0.031 -3.122 -0.094",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M166.756 168.38v-6.246c0 -10.336 3.123 -18.737 18.737 -18.737 12.96 0 17.3 4.309 18.424 11.118",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"m216.72 143.397 -62.455 62.456",stroke:"#3BA4E8",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"m176.061 118.103 -31.165 11.742c-7.183 2.685 -13.053 11.18 -13.053 18.799v46.405c0 7.369 4.872 17.05 10.805 21.485l26.856 20.048c8.806 6.62 23.296 6.62 32.102 0l26.856 -20.048c5.933 -4.435 10.804 -14.115 10.804 -21.485v-46.405c0 -7.682 -5.871 -16.176 -13.053 -18.861l-31.166 -11.68c-5.308 -1.936 -13.802 -1.936 -18.986 0",stroke:"#4C5D70",strokeWidth:3.747323340471092,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("g",{clipPath:"url(#clip0_40160_95457)",children:e.jsx("path",{d:"M266.962 40.973c-4.599 4.21 -5.003 11.334 -0.794 15.934 4.209 4.599 11.293 4.94 15.933 0.794 3.923 -3.597 4.784 -9.321 2.277 -13.768l2.299 -2.106 -0.48 -3.791 3.517 1.034 2.912 -2.677 -0.417 -3.832 3.517 1.034 2.489 -2.227 -0.254 -2.332 2.194 0.637 1.476 -1.306 0.223 -3.531 -5.278 -1.414 -17.276 15.67c-3.941 -1.829 -8.899 -1.222 -12.337 1.883m1.482 13.933c-1.225 -1.351 -1.11 -3.386 0.24 -4.612 1.35 -1.225 3.385 -1.109 4.611 0.24 1.226 1.351 1.11 3.386 -0.24 4.611 -1.39 1.163 -3.426 1.048 -4.611 -0.24",fill:"#EBEBEB"})}),e.jsxs("g",{clipPath:"url(#clip1_40160_95457)",children:[e.jsx("path",{d:"m309.356 155.738 1.058 19.155c0.055 0.674 0.612 1.236 1.281 1.236l34.198 0.225c0.724 0 1.281 -0.562 1.281 -1.292l0.112 -14.886c0 -0.73 -0.557 -1.292 -1.282 -1.292h-21.109c-0.334 0 -0.669 -0.112 -0.891 -0.393l-3.621 -3.651c-0.223 -0.225 -0.557 -0.393 -0.891 -0.393L310.637 154.39c-0.779 0 -1.337 0.618 -1.281 1.348",fill:"#EBEBEB"}),e.jsx("path",{d:"m347.2 156.606 -37.317 -0.276 -0.164 22.526 37.317 0.276z",fill:"#F5F5F5"}),e.jsx("path",{d:"m306.905 158.378 2.673 23.48a0.847 0.847 0 0 0 0.836 0.73l36.37 0.281c0.446 0 0.78 -0.337 0.836 -0.786l2.005 -23.425c0.056 -0.505 -0.334 -0.899 -0.835 -0.899l-41.049 -0.337c-0.501 0 -0.891 0.45 -0.836 0.956",fill:"#EBEBEB"})]}),e.jsxs("g",{clipPath:"url(#clip2_40160_95457)",children:[e.jsx("path",{d:"M285.811 71.309c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 79.167c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 87.025c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 94.884c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 102.742c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 110.601c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 118.459c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.965 -0.327 -1.965c-0.109 0 -0.326 0.865 -0.326 1.965 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 126.317c0.109 0 0.327 -0.864 0.327 -1.964s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.964 0.326 1.964",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 134.176c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.865 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M285.811 142.035c0.109 0 0.327 -0.865 0.327 -1.965s-0.109 -1.964 -0.327 -1.964c-0.109 0 -0.326 0.864 -0.326 1.964 0.109 1.1 0.217 1.965 0.326 1.965",fill:"#B6B3B3"}),e.jsx("path",{d:"M284.833 149.185c0 0.079 0.435 0.157 0.979 0.157h0.218v-0.157c0 -0.314 0.109 -0.785 0.109 -1.257 0 -1.1 -0.109 -1.965 -0.327 -1.965 -0.109 0 -0.326 0.865 -0.326 1.965 0 0.471 0 0.864 0.109 1.257l0.217 -0.157c-0.544 0 -0.979 0.078 -0.979 0.157",fill:"#B6B3B3"}),e.jsx("path",{d:"M273.954 149.265c0 0.079 1.197 0.157 2.72 0.157s2.72 -0.078 2.72 -0.235c0 -0.079 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.236",fill:"#B6B3B3"}),e.jsx("path",{d:"M263.074 149.343c0 0.079 1.196 0.157 2.72 0.157s2.72 -0.078 2.72 -0.235c0 -0.079 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.236",fill:"#B6B3B3"}),e.jsx("path",{d:"M252.195 149.421c0 0.079 1.197 0.157 2.72 0.157s2.72 -0.079 2.72 -0.236c0 -0.157 -1.197 -0.157 -2.72 -0.157s-2.72 0.079 -2.72 0.235",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip3_40160_95457)",children:[e.jsx("path",{d:"M79.969 45.645c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 55.395c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 65.145c-0.15 0 -0.45 -1.072 -0.45 -2.437s0.15 -2.437 0.45 -2.437c0.15 0 0.45 1.072 0.45 2.437 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 74.896c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 84.646c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 94.396c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 104.146c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 113.897c-0.15 0 -0.45 -1.072 -0.45 -2.438 0 -1.365 0.15 -2.437 0.45 -2.437 0.15 0 0.45 1.072 0.45 2.437 -0.15 1.366 -0.3 2.438 -0.45 2.438",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 123.647c-0.15 0 -0.45 -1.072 -0.45 -2.437s0.15 -2.437 0.45 -2.437c0.15 0 0.45 1.072 0.45 2.437 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M79.969 133.397c-0.15 0 -0.45 -1.072 -0.45 -2.437 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 -0.15 1.365 -0.3 2.437 -0.45 2.437",fill:"#B6B3B3"}),e.jsx("path",{d:"M81.317 142.27c0 0.097 -0.6 0.195 -1.349 0.195h-0.3v-0.195c0 -0.39 -0.15 -0.975 -0.15 -1.56 0 -1.366 0.15 -2.438 0.45 -2.438 0.15 0 0.45 1.072 0.45 2.438 0 0.585 0 1.072 -0.15 1.56l-0.3 -0.195c0.749 0 1.349 0.097 1.349 0.195",fill:"#B6B3B3"}),e.jsx("path",{d:"M96.306 142.368c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292c0 -0.098 1.649 -0.196 3.747 -0.196s3.747 0.097 3.747 0.293",fill:"#B6B3B3"}),e.jsx("path",{d:"M111.296 142.465c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292c0 -0.097 1.649 -0.195 3.747 -0.195s3.747 0.097 3.747 0.292",fill:"#B6B3B3"}),e.jsx("path",{d:"M126.285 142.562c0 0.097 -1.649 0.195 -3.747 0.195s-3.747 -0.097 -3.747 -0.292 1.649 -0.195 3.747 -0.195 3.747 0.097 3.747 0.292",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip4_40160_95457)",children:[e.jsx("path",{d:"M36.303 209.85H7.637v39.279h28.666z",fill:"#F5F5F5"}),e.jsx("path",{d:"M29.04 214.79H0.375V254.069h28.666z",fill:"#E0E0E0"})]}),e.jsx("path",{d:"M105.42 27.652h-3.762c-2.427 0 -5.946 0 -10.375 0.061 -8.858 0 -21.295 0.061 -35.734 0.061h-0.122v-0.123c-0.728 -2.577 -0.304 -5.521 1.396 -7.852 1.638 -2.271 4.489 -3.743 7.402 -3.681l-0.121 0.184c-0.242 -0.737 -0.303 -1.596 -0.303 -2.454 0.121 -2.822 1.698 -5.521 4.064 -6.748 2.367 -1.289 5.339 -1.227 7.584 0.061l-0.181 0.061c1.274 -3.19 4.004 -5.461 6.916 -6.503 2.973 -1.105 6.249 -0.92 8.797 0.429 2.609 1.349 4.429 3.62 5.461 6.012s1.213 4.969 0.667 7.239l-0.121 -0.123a7.719 7.719 0 0 1 4.125 0.614 8.769 8.769 0 0 1 3.095 2.147c0.425 0.429 0.728 0.92 0.971 1.411s0.425 0.982 0.486 1.472c0.243 0.982 0.304 1.902 0.363 2.7 0.061 1.656 -0.121 2.945 -0.303 3.742 -0.121 0.429 -0.182 0.737 -0.243 0.92 -0.061 0.246 -0.061 0.368 -0.061 0.368",fill:"#EBEBEB"}),e.jsxs("g",{clipPath:"url(#clip5_40160_95457)",children:[e.jsx("path",{d:"M229.966 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.193 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M240.808 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M251.649 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M262.492 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M273.333 222.482c0 0.109 -1.193 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M284.175 222.482c0 0.109 -1.193 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M295.017 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.193 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M305.858 222.482c0 0.109 -1.192 0.327 -2.71 0.327s-2.711 -0.109 -2.711 -0.327c0 -0.109 1.192 -0.326 2.711 -0.326 1.518 0.109 2.71 0.217 2.71 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M316.701 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M327.542 222.482c0 0.109 -1.192 0.327 -2.711 0.327s-2.71 -0.109 -2.71 -0.327c0 -0.109 1.192 -0.326 2.71 -0.326 1.518 0.109 2.711 0.217 2.711 0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.408 221.503c0.108 0 0.217 0.435 0.217 0.98v0.217h-0.217c-0.434 0 -1.084 0.109 -1.735 0.109 -1.518 0 -2.71 -0.109 -2.71 -0.326 0 -0.109 1.192 -0.327 2.71 -0.327 0.651 0 1.192 0 1.735 0.109l-0.217 0.218c0 -0.544 0.109 -0.98 0.217 -0.98",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.517 210.624c0.109 0 0.217 1.197 0.217 2.72s-0.108 2.72 -0.325 2.72c-0.108 0 -0.217 -1.196 -0.217 -2.72s0.109 -2.72 0.325 -2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.626 199.744c0.108 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.325 2.72c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.108 -2.72 0.325 -2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M337.732 188.865c0.109 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.325 2.72 -0.217 -1.197 -0.217 -2.72 0.109 -2.72 0.325 -2.72",fill:"#B6B3B3"})]}),e.jsxs("g",{clipPath:"url(#clip6_40160_95457)",children:[e.jsx("path",{d:"M126.03 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.193 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M115.187 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M104.346 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M93.504 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M82.663 167.99c0 -0.109 1.193 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M71.821 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M60.979 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.193 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M50.138 167.99c0 -0.109 1.192 -0.327 2.71 -0.327s2.711 0.109 2.711 0.327c0 0.109 -1.192 0.326 -2.711 0.326 -1.518 -0.109 -2.71 -0.217 -2.71 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M39.295 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M28.454 167.99c0 -0.109 1.192 -0.327 2.711 -0.327s2.71 0.109 2.71 0.327c0 0.109 -1.192 0.326 -2.71 0.326 -1.518 -0.109 -2.711 -0.217 -2.711 -0.326",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.587 168.968c-0.108 0 -0.217 -0.435 -0.217 -0.98v-0.217h0.217c0.433 0 1.084 -0.109 1.734 -0.109 1.518 0 2.71 0.109 2.71 0.326 0 0.109 -1.192 0.327 -2.71 0.327 -0.651 0 -1.192 0 -1.735 -0.109l0.217 -0.218c0 0.544 -0.109 0.98 -0.217 0.98",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.479 179.848c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72c0.109 0 0.217 1.196 0.217 2.72s-0.109 2.72 -0.325 2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.37 190.727c-0.108 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72c0.109 0 0.217 1.197 0.217 2.72s-0.109 2.72 -0.326 2.72",fill:"#B6B3B3"}),e.jsx("path",{d:"M18.264 201.606c-0.109 0 -0.217 -1.197 -0.217 -2.72s0.109 -2.72 0.325 -2.72 0.217 1.197 0.217 2.72 -0.109 2.72 -0.325 2.72",fill:"#B6B3B3"})]}),e.jsxs("defs",{children:[e.jsx("clipPath",{id:"clip0_40160_95457",children:e.jsx("path",{width:63.4,height:30.1,fill:"white",transform:"rotate(-32.778 277.005 -556.71)",d:"M0 0H47.516V22.559H0V0z"})}),e.jsx("clipPath",{id:"clip1_40160_95457",children:e.jsx("path",{width:57,height:38,fill:"white",transform:"translate(409.5 206)",d:"M0 0H42.719V28.48H0V0z"})}),e.jsx("clipPath",{id:"clip2_40160_95457",children:e.jsx("path",{width:108,height:45,fill:"white",transform:"matrix(0 1 1 0 336.5 92)",d:"M0 0H80.942V33.726H0V0z"})}),e.jsx("clipPath",{id:"clip3_40160_95457",children:e.jsx("path",{width:134,height:62,fill:"white",transform:"rotate(90 55.75 112.75)",d:"M0 0H100.428V46.467H0V0z"})}),e.jsx("clipPath",{id:"clip4_40160_95457",children:e.jsx("path",{width:48,height:59,fill:"white",transform:"translate(.5 280)",d:"M0 0H35.974V44.218H0V0z"})}),e.jsx("clipPath",{id:"clip5_40160_95457",children:e.jsx("path",{width:149,height:45,fill:"white",transform:"translate(302.5 252)",d:"M0 0H111.67V33.726H0V0z"})}),e.jsx("clipPath",{id:"clip6_40160_95457",children:e.jsx("path",{width:149,height:45,fill:"white",transform:"rotate(180 86.25 134.5)",d:"M0 0H111.67V33.726H0V0z"})})]})]}),exports.SvgAdd=Ji,exports.SvgAddRounded=Qi,exports.SvgArrival=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M30.2249 16.7285C26.4199 16.7285 23.0479 18.6182 21.0078 21.5132L22.5342 22.5992C24.233 20.1849 27.04 18.6071 30.2249 18.6071C35.4241 18.6071 39.618 22.8011 39.618 28.0003C39.618 33.1996 35.4241 37.3935 30.2249 37.3935C27.04 37.3935 24.2367 35.8157 22.5342 33.4014L21.0078 34.4875C23.0479 37.3825 26.4199 39.2721 30.2249 39.2721C36.4405 39.2721 41.4967 34.216 41.4967 28.0003C41.4967 21.7847 36.4405 16.7285 30.2249 16.7285Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M26.1554 23.792L24.8051 25.1423L26.9479 27.2851H15.5V29.1637H26.9479L24.8051 31.3065L26.1554 32.6568L29.9126 28.8995L30.5584 28.2244L29.9126 27.5493L26.1554 23.792Z",fill:t.fill??"currentColor"})]}),exports.SvgBankConfig=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,style:{color:"inherit"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M16.2215 6.56614L16.2214 6.56609L11.2214 3.1926L11.2214 3.19257C10.4794 2.69157 9.52056 2.69157 8.77861 3.19257L8.77856 3.1926L3.77856 6.56609L3.77849 6.56614C3.17595 6.97214 2.81667 7.64869 2.81667 8.37545V15.0005C2.81667 16.2041 3.79615 17.1834 5 17.1834H9.66667C9.93349 17.1834 10.15 17.3999 10.15 17.6667C10.15 17.9336 9.93349 18.15 9.66667 18.15H5C3.26318 18.15 1.85 16.7371 1.85 15.0005V8.37545C1.85 7.32647 2.36873 6.35065 3.2381 5.76482L16.2215 6.56614ZM16.2215 6.56614C16.8241 6.97215 17.1833 7.64805 17.1833 8.37545V9.00136C17.1833 9.2682 17.3998 9.48464 17.6667 9.48464C17.9335 9.48464 18.15 9.2682 18.15 9.00136V8.37545C18.15 7.32705 17.6305 6.35056 16.7612 5.76477L11.7612 2.39134C10.6912 1.66922 9.3068 1.6699 8.2381 2.39133C8.23809 2.39133 8.23808 2.39134 8.23807 2.39135L3.23818 5.76477L16.2215 6.56614Z",fill:t.fill??"currentColor",stroke:t.fill??"currentColor",strokeWidth:"0.3"}),e.jsx("path",{d:"M14.0964 15.1683C14.7275 15.1683 15.2391 14.6567 15.2391 14.0256C15.2391 13.3944 14.7275 12.8828 14.0964 12.8828C13.4652 12.8828 12.9536 13.3944 12.9536 14.0256C12.9536 14.6567 13.4652 15.1683 14.0964 15.1683Z",stroke:t.fill??"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10.3399 12.267L10.7032 11.6378C10.9178 11.2661 11.3992 11.1341 11.7746 11.3508C12.4216 11.7243 12.9504 11.4195 12.9491 10.6704C12.949 10.2413 13.3013 9.88707 13.7339 9.88899L14.5567 9.89214C14.9361 9.88718 15.243 10.1978 15.2479 10.5772L15.248 10.6679C15.2457 11.4149 15.7748 11.7203 16.4242 11.3469L16.5027 11.3017C16.8338 11.1163 17.2562 11.2267 17.4416 11.5578L17.8558 12.2688C18.0738 12.6425 17.9431 13.1247 17.5714 13.3391C16.9221 13.7126 16.9224 14.3229 17.5695 14.6965C17.9413 14.9111 18.0733 15.3925 17.8566 15.7679L17.4933 16.397C17.2787 16.7688 16.7973 16.9008 16.4219 16.6841C15.7749 16.3105 15.2461 16.6154 15.2474 17.3645C15.2455 17.7971 14.8952 18.1478 14.4626 18.1459L13.6398 18.1427C13.2604 18.1477 12.9535 17.8371 12.9486 17.4577L12.9485 17.367C12.9508 16.62 12.4217 16.3145 11.7723 16.688L11.6938 16.7332C11.3627 16.9186 10.9403 16.8082 10.7549 16.4771L10.3407 15.7661C10.1228 15.3924 10.2534 14.9102 10.6251 14.6958C11.2744 14.3223 11.2741 13.712 10.627 13.3384C10.2516 13.1217 10.1253 12.6388 10.3399 12.267Z",stroke:t.fill??"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgBranches=xo,exports.SvgCalendar=eo,exports.SvgColumn=to,exports.SvgConfiguration=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,children:e.jsx("path",{d:"M17.8051 14.4925V12.8196C17.8051 12.496 17.5427 12.2336 17.2191 12.2336H10.5859V11.2089H13.4015C14.1978 11.2089 14.8456 10.5611 14.8456 9.76469V3.54105C14.8456 3.38566 14.7839 3.23668 14.674 3.12684L11.7201 0.171719C11.6102 0.0617578 11.4611 0 11.3057 0H6.50227C5.70602 0 5.0582 0.647852 5.0582 1.44422V9.76469C5.0582 10.5611 5.70602 11.2089 6.50227 11.2089H9.41406V12.2336H2.78086C2.45727 12.2336 2.19492 12.496 2.19492 12.8196V14.4925C0.941953 14.7626 0 15.8807 0 17.2151C0 18.7507 1.2475 20 2.78086 20C4.31422 20 5.56168 18.7507 5.56168 17.2151C5.56168 15.8807 4.61973 14.7626 3.3668 14.4925V13.4055H9.41406V14.4925C8.16109 14.7626 7.21914 15.8808 7.21914 17.2151C7.21914 18.7507 8.4666 20 10 20C11.5334 20 12.7809 18.7507 12.7809 17.2151C12.7809 15.8807 11.8389 14.7626 10.5859 14.4925V13.4055H16.6332V14.4925C15.3802 14.7626 14.4383 15.8808 14.4383 17.2151C14.4383 18.7507 15.6858 20 17.2191 20C18.7525 20 20 18.7507 20 17.2151C20 15.8807 19.058 14.7626 17.8051 14.4925ZM11.8916 2.00094L12.8455 2.95516H11.8916V2.00094ZM6.23008 9.76469V1.44422C6.23008 1.29406 6.35219 1.17188 6.50227 1.17188H10.7198V3.54105C10.7198 3.86465 10.9821 4.12699 11.3057 4.12699H13.6737V9.76465C13.6737 9.9148 13.5516 10.037 13.4015 10.037H6.50227C6.35219 10.037 6.23008 9.9148 6.23008 9.76469ZM4.38984 17.2151C4.38984 18.1045 3.66805 18.8281 2.78086 18.8281C1.89367 18.8281 1.17188 18.1045 1.17188 17.2151C1.17188 16.3257 1.89367 15.6021 2.78086 15.6021C3.66805 15.6021 4.38984 16.3257 4.38984 17.2151ZM11.609 17.2151C11.609 18.1045 10.8872 18.8281 10 18.8281C9.11277 18.8281 8.39102 18.1045 8.39102 17.2151C8.39102 16.3257 9.11281 15.6021 10 15.6021C10.8872 15.6021 11.609 16.3257 11.609 17.2151ZM17.2191 18.8281C16.332 18.8281 15.6102 18.1045 15.6102 17.2151C15.6102 16.3257 16.332 15.6021 17.2191 15.6021C18.1064 15.6021 18.8281 16.3257 18.8281 17.2151C18.8281 18.1045 18.1063 18.8281 17.2191 18.8281Z",fill:t.fill??"currentColor"})}),exports.SvgConfigure=ro,exports.SvgCurrentLocation=yo,exports.SvgDelete=lo,exports.SvgDeparture=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.25",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M25.7517 39.2725C29.5567 39.2725 32.9287 37.3828 34.9687 34.4878L33.4424 33.4017C31.7435 35.8161 28.9366 37.3938 25.7517 37.3938C20.5524 37.3938 16.3585 33.1999 16.3585 28.0007C16.3585 22.8014 20.5524 18.6075 25.7517 18.6075C28.9366 18.6075 31.7398 20.1852 33.4424 22.5996L34.9687 21.5135C32.9287 18.6185 29.5567 16.7289 25.7517 16.7289C19.5361 16.7289 14.4799 21.785 14.4799 28.0007C14.4799 34.2163 19.5361 39.2725 25.7517 39.2725Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M37.6163 23.7949L36.266 25.1452L38.4089 27.288H26.9609V29.1666H38.4089L36.266 31.3095L37.6163 32.6597L41.3736 28.9025L42.0194 28.2273L41.3736 27.5522L37.6163 23.7949Z",fill:t.fill??"currentColor"})]}),exports.SvgDownload=no,exports.SvgDrop=io,exports.SvgEdit=uo,exports.SvgEmail=fo,exports.SvgEmployees=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{fill:t.fill??"currentColor",d:"M15.09 6.991H14.973C13.27 6.937 12 5.621 12 4c0-1.658 1.351-3 3-3s3 1.351 3 3a2.997 2.997 0 0 1-2.9 3c0-.009 0-.009-.01-.009ZM15 2.342a1.65 1.65 0 0 0-.063 3.298.437.437 0 0 1 .162 0A1.65 1.65 0 0 0 15 2.342Z"}),e.jsx("path",{fill:t.fill??"currentColor",d:"M15.394 12c-.298 0-.597-.023-.896-.077a.575.575 0 1 1 .2-1.133c.941.16 1.936-.016 2.602-.46.36-.238.552-.536.552-.835 0-.299-.2-.59-.552-.827-.666-.445-1.676-.621-2.626-.452a.569.569 0 0 1-.665-.468.575.575 0 0 1 .466-.666c1.248-.222 2.542.015 3.46.628C18.61 8.162 19 8.805 19 9.495c0 .682-.383 1.333-1.064 1.793-.697.46-1.6.712-2.542.712ZM4.919 7H4.9A2.995 2.995 0 0 1 2 4.009 3.012 3.012 0 0 1 5 1c1.649 0 3 1.351 3 3 0 1.63-1.27 2.946-2.892 3l-.19-.676.064.676h-.063Zm.09-1.351c.054 0 .1 0 .153.009.802-.036 1.505-.757 1.505-1.649a1.65 1.65 0 1 0-1.74 1.649c.01-.01.046-.01.082-.01Z"}),e.jsx("path",{fill:t.fill??"currentColor",d:"M4.606 12c-.942 0-1.845-.253-2.542-.712C1.39 10.836 1 10.184 1 9.495c0-.682.39-1.333 1.064-1.785.919-.613 2.213-.85 3.46-.628.314.053.521.352.468.666a.569.569 0 0 1-.667.468c-.949-.169-1.952.007-2.625.452-.36.237-.552.528-.552.827 0 .299.2.598.552.835.666.444 1.66.62 2.603.46a.575.575 0 1 1 .199 1.134 5.054 5.054 0 0 1-.896.076ZM10.09 12.991H9.973C8.27 12.937 7 11.621 7 10c0-1.658 1.351-3 3-3s3 1.351 3 3a2.997 2.997 0 0 1-2.9 3c0-.009 0-.009-.01-.009ZM10 8.342a1.65 1.65 0 0 0-.063 3.298.437.437 0 0 1 .162 0 1.65 1.65 0 0 0 1.559-1.649c0-.9-.74-1.649-1.658-1.649ZM10 19c-1.017 0-2.034-.237-2.822-.719C6.432 17.831 6 17.188 6 16.5c0-.68.424-1.338 1.178-1.789 1.585-.948 4.068-.948 5.644 0 .746.451 1.178 1.093 1.178 1.781 0 .68-.424 1.338-1.178 1.79-.788.473-1.805.718-2.822.718Zm-2.119-3.326c-.398.237-.61.535-.61.834 0 .298.22.588.61.825 1.144.696 3.085.696 4.23 0 .397-.237.61-.535.61-.833 0-.298-.221-.589-.61-.826-1.136-.695-3.077-.688-4.23 0Z"})]}),exports.SvgExport=oo,exports.SvgFilterList=so,exports.SvgFilteredList=ao,exports.SvgHistory=co,exports.SvgHoliday=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.5",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M26.8073 14.3195C26.5423 14.3236 26.2898 14.4327 26.1052 14.6229C25.9207 14.8131 25.8191 15.0688 25.8229 15.3338V15.714C22.691 15.9858 20.5257 17.5023 19.2018 19.0057C17.7411 20.6646 17.2031 22.365 17.2031 22.365C17.1557 22.5149 17.1442 22.6738 17.1696 22.8289C17.1951 22.984 17.2567 23.1309 17.3495 23.2577C17.4424 23.3846 17.5638 23.4877 17.704 23.5588C17.8441 23.63 17.9991 23.6671 18.1562 23.6671H25.8229V33.0004H17.4896C16.2129 33.0004 15.1562 34.0571 15.1562 35.3338V36.6671C15.1562 37.9437 16.2129 39.0004 17.4896 39.0004H17.8229V40.6671C17.821 40.7996 17.8455 40.9312 17.8949 41.0542C17.9444 41.1771 18.0177 41.289 18.1108 41.3834C18.2038 41.4778 18.3147 41.5527 18.4369 41.6039C18.5592 41.655 18.6904 41.6814 18.8229 41.6814C18.9554 41.6814 19.0866 41.655 19.2089 41.6039C19.3312 41.5527 19.442 41.4778 19.5351 41.3834C19.6281 41.289 19.7015 41.1771 19.7509 41.0542C19.8003 40.9312 19.8248 40.7996 19.8229 40.6671V39.0004H37.1562V40.6671C37.1544 40.7996 37.1789 40.9312 37.2283 41.0542C37.2777 41.1771 37.351 41.289 37.4441 41.3834C37.5371 41.4778 37.648 41.5527 37.7703 41.6039C37.8925 41.655 38.0237 41.6814 38.1562 41.6814C38.2888 41.6814 38.42 41.655 38.5422 41.6039C38.6645 41.5527 38.7754 41.4778 38.8684 41.3834C38.9615 41.289 39.0348 41.1771 39.0842 41.0542C39.1336 40.9312 39.1581 40.7996 39.1562 40.6671V39.0004H39.4896C40.7662 39.0004 41.8229 37.9437 41.8229 36.6671V35.3338C41.8229 34.0571 40.7662 33.0004 39.4896 33.0004H33.1094L41.2109 29.589C41.4301 29.5009 41.611 29.3382 41.7216 29.1295C41.8323 28.9209 41.8655 28.6798 41.8155 28.449C41.7654 28.2182 41.6353 28.0126 41.4481 27.8685C41.261 27.7244 41.0289 27.6512 40.793 27.6619C40.6695 27.6673 40.5481 27.6956 40.4349 27.7452L27.9531 33.0004H27.8229V23.6671H35.4896C35.6468 23.6671 35.8017 23.63 35.9419 23.5588C36.082 23.4877 36.2035 23.3846 36.2963 23.2577C36.3891 23.1309 36.4508 22.984 36.4762 22.8289C36.5016 22.6738 36.4902 22.5149 36.4427 22.365C36.4427 22.365 35.9048 20.6646 34.444 19.0057C33.1202 17.5023 30.9549 15.9858 27.8229 15.714V15.3338C27.8248 15.1999 27.7999 15.0671 27.7495 14.9431C27.6991 14.819 27.6244 14.7064 27.5296 14.6118C27.4349 14.5172 27.3222 14.4426 27.1981 14.3924C27.074 14.3422 26.9411 14.3174 26.8073 14.3195ZM26.8229 17.6671C29.9107 17.6671 31.7618 18.9875 32.9427 20.3286C33.3763 20.8209 33.6089 21.2481 33.8529 21.6671H26.987C26.9276 21.6569 26.8675 21.6521 26.8073 21.6528C26.7584 21.654 26.7097 21.6588 26.6615 21.6671H19.793C20.0369 21.2481 20.2696 20.8209 20.7031 20.3286C21.884 18.9875 23.7352 17.6671 26.8229 17.6671ZM17.4896 35.0004H26.6589C26.7662 35.0181 26.8757 35.0181 26.9831 35.0004H39.4896C39.6863 35.0004 39.8229 35.1371 39.8229 35.3338V36.6671C39.8229 36.8638 39.6863 37.0004 39.4896 37.0004H38.3203C38.261 36.9903 38.2008 36.9855 38.1406 36.9861C38.0917 36.9873 38.043 36.9921 37.9948 37.0004H18.987C18.9276 36.9903 18.8675 36.9855 18.8073 36.9861C18.7584 36.9873 18.7097 36.9921 18.6615 37.0004H17.4896C17.2929 37.0004 17.1562 36.8638 17.1562 36.6671V35.3338C17.1562 35.1371 17.2929 35.0004 17.4896 35.0004Z",fill:t.fill??"currentColor"})]}),exports.SvgHome=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,children:e.jsx("path",{d:"M7.5 17.5016V11.3349C7.5 10.8682 7.5 10.6348 7.59083 10.4566C7.67072 10.2998 7.79821 10.1723 7.95501 10.0924C8.13327 10.0016 8.36662 10.0016 8.83333 10.0016H11.1667C11.6334 10.0016 11.8667 10.0016 12.045 10.0924C12.2018 10.1723 12.3293 10.2998 12.4092 10.4566C12.5 10.6348 12.5 10.8682 12.5 11.3349V17.5016M9.18141 2.30492L3.52949 6.70086C3.15168 6.99471 2.96278 7.14163 2.82669 7.32563C2.70614 7.48862 2.61633 7.67224 2.56169 7.86746C2.5 8.08785 2.5 8.32717 2.5 8.8058V14.8349C2.5 15.7683 2.5 16.235 2.68166 16.5916C2.84144 16.9052 3.09641 17.1601 3.41002 17.3199C3.76654 17.5016 4.23325 17.5016 5.16667 17.5016H14.8333C15.7668 17.5016 16.2335 17.5016 16.59 17.3199C16.9036 17.1601 17.1586 16.9052 17.3183 16.5916C17.5 16.235 17.5 15.7683 17.5 14.8349V8.8058C17.5 8.32717 17.5 8.08785 17.4383 7.86746C17.3837 7.67224 17.2939 7.48862 17.1733 7.32563C17.0372 7.14163 16.8483 6.99471 16.4705 6.70086L10.8186 2.30492C10.5258 2.07721 10.3794 1.96335 10.2178 1.91959C10.0752 1.88097 9.92484 1.88097 9.78221 1.91959C9.62057 1.96335 9.47418 2.07721 9.18141 2.30492Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),exports.SvgImport=po,exports.SvgIndicator=go,exports.SvgKeyBoard=ho,exports.SvgLeaveCalendar=t=>e.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M21 16.5V17.5H17V39.5H39V17.5H35V16.5H33V17.5H23V16.5H21ZM19 19.5H21V20.5H23V19.5H33V20.5H35V19.5H37V21.5H19V19.5ZM19 23.5H37V37.5H19V23.5ZM27 25.5V31.5H29V25.5H27ZM27 33.5V35.5H29V33.5H27Z",fill:t.fill??"currentColor"})]}),exports.SvgLetteremplate=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M18.2 6.45149V15.3501C18.2 18.0881 16.3876 19.0008 14.15 19.0008H6.05C3.81238 19.0008 2 18.0881 2 15.3501V6.45149C2 3.48529 3.81238 2.80078 6.05 2.80078C6.05 3.36664 6.3031 3.87774 6.71822 4.25193C7.13335 4.62613 7.70038 4.8543 8.32813 4.8543H11.8719C13.1274 4.8543 14.15 3.9325 14.15 2.80078C16.3876 2.80078 18.2 3.48529 18.2 6.45149Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.7001 2.8C13.7001 3.792 12.6775 4.6 11.422 4.6H7.87822C7.25047 4.6 6.68345 4.4 6.26832 4.072C5.8532 3.744 5.6001 3.296 5.6001 2.8C5.6001 1.808 6.62272 1 7.87822 1H11.422C12.0497 1 12.6168 1.2 13.0319 1.528C13.447 1.856 13.7001 2.304 13.7001 2.8Z",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.5 10.8984H11",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.5 14.5H14.6",stroke:t.fill??"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgNoLogo=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:50,height:50,fill:"none",...t,children:[e.jsx("path",{stroke:"#000",d:"M1.09 1.082 48.91 48.917M1.09 6.71v36.797h37.908M6.754 6.602H48.91V43.29h-5.883M1.416 33.333l13.726-12.662"}),e.jsx("path",{fill:"#000",d:"M36.167 20.779c1.985 0 3.595-1.6 3.595-3.572s-1.61-3.571-3.595-3.571-3.595 1.599-3.595 3.571c0 1.973 1.61 3.572 3.595 3.572Z"}),e.jsx("path",{stroke:"#000",d:"m25.273 35.497 3.05-2.922M30.176 30.519l3.812-3.788c.436-.433 1.09-.433 1.416 0l13.29 12.77"})]}),exports.SvgNoSign=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...t,style:{color:"inherit"},children:[e.jsx("path",{d:"M3.80046 33.943C3.80046 33.943 16.7005 24.343 16.3005 14.543C15.8005 4.74296 6.30046 2.94296 4.00046 18.543C1.70046 34.143 17.6005 30.043 22.3005 26.043C27.0005 22.043 29.5005 16.443 25.1005 15.543C20.9005 14.743 19.6005 28.343 23.9005 30.443C23.9005 30.443 26.0005 32.743 33.6005 22.243C33.8005 22.043 34.1005 22.043 34.2005 22.243L36.6005 27.143C36.7005 27.443 37.1005 27.443 37.3005 27.243L42.7005 21.143",stroke:"black",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),e.jsx("path",{d:"M3 39.543H43.1",stroke:"black",strokeWidth:"2",strokeMiterlimit:"10"})]}),exports.SvgOrganization=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,style:{color:"inherit"},children:[e.jsxs("g",{stroke:t.fill??"currentColor",clipPath:"url(#a)",children:[e.jsx("path",{strokeWidth:1.5,d:"M1.085 3.272c.686-3.03 5.153-3.03 5.83 0 .403 1.777-.703 3.282-1.663 4.22a1.804 1.804 0 0 1-2.512 0c-.952-.938-2.058-2.443-1.655-4.22ZM13.085 14.272c.682-3.03 5.148-3.03 5.83 0 .401 1.777-.699 3.283-1.662 4.22a1.798 1.798 0 0 1-2.506 0c-.963-.938-2.063-2.443-1.662-4.22Z"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.996 4h2.29c1.58 0 2.315 2.126 1.127 3.26l-6.826 6.49C5.4 14.874 6.135 17 7.707 17h2.289"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.495 4.5h.01M15.495 14.5h.01"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:t.fill??"currentColor",d:"M0 0h20v20H0z"})})})]}),exports.SvgPageNotFound=t=>e.jsxs("svg",{width:800,height:300,viewBox:"0 0 1309 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsxs("g",{clipPath:"url(#clip0_40160_95666)",children:[e.jsx("g",{clipPath:"url(#clip1_40160_95666)",children:e.jsx("path",{d:"M280.658 168.377C280.454 166.899 279.089 165.844 277.656 166.126C276.154 166.337 275.131 167.743 275.404 169.221C275.813 171.753 276.291 179.772 273.629 182.938C273.083 183.641 272.333 184.063 271.446 184.204L271.719 169.01C271.719 166.829 269.944 165 267.829 165C265.645 165 263.939 166.829 264.007 169.08L264.69 197.921C263.803 197.781 263.052 197.359 262.438 196.655C259.776 193.419 260.254 185.4 260.664 182.868C260.868 181.39 259.845 179.983 258.412 179.772C256.978 179.561 255.614 180.546 255.409 182.023C255.204 183.29 253.635 194.474 258.412 200.172C260.049 202.142 262.233 203.268 264.826 203.408L265.099 216H270.9L271.309 189.761C273.834 189.55 276.018 188.425 277.587 186.526C282.364 180.828 280.795 169.643 280.658 168.377Z",fill:"#BDBDBD"})}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"ellipseGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[e.jsx("stop",{offset:"0%",stopColor:"rgba(225, 225, 225, 0.5)"}),e.jsx("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0)"})]})}),e.jsx("ellipse",{cx:654.423,cy:355.015,rx:652.181,ry:171.27,transform:"rotate(0.769672 654.423 355.015)",fill:"url(#ellipseGradient)",fillOpacity:.9}),e.jsx("g",{clipPath:"url(#clip2_40160_95666)",children:e.jsx("path",{d:"M1080.33 146.422C1079.93 143.612 1077.25 141.606 1074.44 142.141C1071.5 142.542 1069.49 145.218 1070.02 148.028C1070.83 152.844 1071.76 168.097 1066.54 174.117C1065.47 175.455 1064 176.258 1062.26 176.526L1062.8 147.626C1062.8 143.479 1059.32 140 1055.17 140C1050.88 140 1047.54 143.479 1047.67 147.76L1049.01 202.615C1047.27 202.348 1045.8 201.545 1044.59 200.207C1039.37 194.052 1040.31 178.8 1041.11 173.983C1041.51 171.174 1039.5 168.498 1036.69 168.097C1033.88 167.695 1031.21 169.568 1030.8 172.378C1030.4 174.786 1027.32 196.059 1036.69 206.897C1039.91 210.643 1044.19 212.783 1049.28 213.051L1049.81 237H1061.19L1061.99 187.095C1066.95 186.694 1071.23 184.553 1074.31 180.941C1083.68 170.103 1080.6 148.83 1080.33 146.422Z",fill:"#BDBDBD"})}),e.jsx("path",{d:"M539.6 153.4H554.6V170.8C554.6 172.333 554.067 173.667 553 174.8C552 175.933 550.533 176.5 548.6 176.5H539.6V210H512.6V176.5H454C452.067 176.5 450.3 175.9 448.7 174.7C447.167 173.5 446.2 172 445.8 170.2L442.6 154.9L510 64.3H539.6V153.4ZM512.6 115.4C512.6 113.067 512.667 110.567 512.8 107.9C513 105.167 513.267 102.367 513.6 99.5L475.1 153.4H512.6V115.4Z",fill:"#7B7B7B"}),e.jsx("path",{d:"M810.594 153.4H825.594V170.8C825.594 172.333 825.061 173.667 823.994 174.8C822.994 175.933 821.527 176.5 819.594 176.5H810.594V210H783.594V176.5H724.994C723.061 176.5 721.294 175.9 719.694 174.7C718.161 173.5 717.194 172 716.794 170.2L713.594 154.9L780.994 64.3H810.594V153.4ZM783.594 115.4C783.594 113.067 783.661 110.567 783.794 107.9C783.994 105.167 784.261 102.367 784.594 99.5L746.094 153.4H783.594V115.4Z",fill:"#7B7B7B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M693.038 61.1668H691.677C691.641 60.7145 691.605 60.2622 691.564 59.8047H692.926L693.038 61.1668Z",fill:"white"}),e.jsx("path",{d:"M691 137.1C691 149.833 689.633 160.867 686.9 170.2C684.167 179.533 680.367 187.267 675.5 193.4C670.7 199.533 664.967 204.1 658.3 207.1C651.7 210.1 644.533 211.6 636.8 211.6C629.067 211.6 621.9 210.1 615.3 207.1C608.767 204.1 603.1 199.533 598.3 193.4C593.5 187.267 589.733 179.533 587 170.2C584.333 160.867 583 149.833 583 137.1C583 124.367 584.333 113.333 587 104C589.733 94.6667 593.5 86.9333 598.3 80.8C603.1 74.6667 608.767 70.1333 615.3 67.2C621.9 64.2 629.067 62.7 636.8 62.7C644.533 62.7 651.7 64.2 658.3 67.2C664.967 70.1333 670.7 74.6667 675.5 80.8C680.367 86.9333 684.167 94.6667 686.9 104C689.633 113.333 691 124.367 691 137.1ZM659 137.1C659 127.033 658.367 118.8 657.1 112.4C655.833 105.933 654.133 100.867 652 97.2C649.933 93.5333 647.567 91.0333 644.9 89.7C642.233 88.3 639.533 87.6 636.8 87.6C634.067 87.6 631.367 88.3 628.7 89.7C626.1 91.0333 623.767 93.5333 621.7 97.2C619.7 100.867 618.067 105.933 616.8 112.4C615.6 118.8 615 127.033 615 137.1C615 147.233 615.6 155.5 616.8 161.9C618.067 168.3 619.7 173.367 621.7 177.1C623.767 180.767 626.1 183.3 628.7 184.7C631.367 186.033 634.067 186.7 636.8 186.7C639.533 186.7 642.233 186.033 644.9 184.7C647.567 183.3 649.933 180.767 652 177.1C654.133 173.367 655.833 168.3 657.1 161.9C658.367 155.5 659 147.233 659 137.1Z",fill:"#3BA4E8"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_40160_95666",x1:654.423,y1:183.745,x2:654.423,y2:526.284,gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#F4F4F4"}),e.jsx("stop",{offset:1,stopColor:"white",stopOpacity:0})]}),e.jsx("clipPath",{id:"clip0_40160_95666",children:e.jsx("rect",{width:1309,height:435,fill:"white"})}),e.jsx("clipPath",{id:"clip1_40160_95666",children:e.jsx("rect",{width:26,height:51,fill:"white",transform:"translate(255 165)"})}),e.jsx("clipPath",{id:"clip2_40160_95666",children:e.jsx("rect",{width:51,height:97,fill:"white",transform:"translate(1030 140)"})})]})]}),exports.SvgPayroll=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M17.418 2H2.58203C1.7097 2 1 2.7242 1 3.61435V14.0897C1 14.9798 1.7097 15.704 2.58203 15.704H8.19958L7.90075 16.9238H7.1875C6.89627 16.9238 6.66016 17.1647 6.66016 17.4619C6.66016 17.7591 6.89627 18 7.1875 18H12.8125C13.1037 18 13.3398 17.7591 13.3398 17.4619C13.3398 17.1647 13.1037 16.9238 12.8125 16.9238H12.0993L11.8004 15.704H17.418C18.2903 15.704 19 14.9798 19 14.0897V3.61435C19 2.7242 18.2903 2 17.418 2ZM2.58203 3.07623H17.418C17.7087 3.07623 17.9453 3.31763 17.9453 3.61435V12.3318H2.05469V3.61435C2.05469 3.31763 2.29125 3.07623 2.58203 3.07623ZM11.0121 16.9238H8.98792L9.28675 15.704H10.7133L11.0121 16.9238ZM17.418 14.6278C12.311 14.6278 8.00446 14.6278 2.58203 14.6278C2.29125 14.6278 2.05469 14.3864 2.05469 14.0897V13.4081H17.9453V14.0897C17.9453 14.3864 17.7087 14.6278 17.418 14.6278Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M5.9375 10.8984C7.81141 10.8984 9.33594 9.37391 9.33594 7.5C9.33594 5.62609 7.81141 4.10156 5.9375 4.10156C4.06359 4.10156 2.53906 5.62609 2.53906 7.5C2.53906 9.37477 4.06066 10.8984 5.9375 10.8984ZM8.16406 7.5C8.16406 9.21152 6.30613 10.2768 4.83367 9.43246L6.3518 7.91434C6.46168 7.80445 6.52344 7.65543 6.52344 7.5V5.35227C7.46773 5.61016 8.16406 6.47508 8.16406 7.5ZM5.35156 5.35227V7.25734L4.00504 8.60387C3.28062 7.34063 3.95363 5.73406 5.35156 5.35227Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M11.25 8.08594H16.875C17.1986 8.08594 17.4609 7.82359 17.4609 7.5C17.4609 7.17641 17.1986 6.91406 16.875 6.91406H16.8359V4.375C16.8359 4.05141 16.5736 3.78906 16.25 3.78906C15.9264 3.78906 15.6641 4.05141 15.6641 4.375V6.91406H14.6484V5C14.6484 4.67641 14.3861 4.41406 14.0625 4.41406C13.7389 4.41406 13.4766 4.67641 13.4766 5V6.91406H12.4609V5.625C12.4609 5.30141 12.1986 5.03906 11.875 5.03906C11.5514 5.03906 11.2891 5.30141 11.2891 5.625V6.91406H11.25C10.9264 6.91406 10.6641 7.17641 10.6641 7.5C10.6641 7.82359 10.9264 8.08594 11.25 8.08594Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M11.25 10.5859H13.75C14.0736 10.5859 14.3359 10.3236 14.3359 10C14.3359 9.67641 14.0736 9.41406 13.75 9.41406H11.25C10.9264 9.41406 10.6641 9.67641 10.6641 10C10.6641 10.3236 10.9264 10.5859 11.25 10.5859Z",fill:t.fill??"currentColor"}),e.jsx("path",{d:"M16.875 9.41406H16.25C15.9264 9.41406 15.6641 9.67641 15.6641 10C15.6641 10.3236 15.9264 10.5859 16.25 10.5859H16.875C17.1986 10.5859 17.4609 10.3236 17.4609 10C17.4609 9.67641 17.1986 9.41406 16.875 9.41406Z",fill:t.fill??"currentColor"})]}),exports.SvgPhone=mo,exports.SvgProfile=t=>{const{fill:r="currentColor"}=t;return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,style:{color:"inherit"},children:[e.jsxs("g",{clipPath:"url(#clip0_8728_7975)",children:[e.jsx("path",{d:"M10.7224 0.0587158C11.281 0.136841 11.7302 0.277466 12.2536 0.543091C13.9919 1.41809 15.0114 3.37122 14.8122 5.4259C14.6911 6.64856 14.2888 7.6134 13.5153 8.53528C13.0778 9.05871 12.4021 9.55871 11.7731 9.82043C9.6794 10.6954 7.38643 9.96106 6.06612 7.9884C5.02315 6.43372 4.87471 4.29309 5.69112 2.64075C6.61299 0.77356 8.58565 -0.238159 10.7224 0.0587158ZM9.10909 1.58606C8.22237 1.80872 7.42159 2.44934 7.01534 3.26965C6.73018 3.84778 6.63252 4.28918 6.63643 4.98059C6.64424 6.05871 7.03096 7.03137 7.73409 7.7384C8.06221 8.07043 8.26534 8.21887 8.65596 8.41418C9.4958 8.82825 10.5036 8.82825 11.3435 8.41418C11.7341 8.21887 11.9372 8.07043 12.2653 7.7384C13.7419 6.25012 13.738 3.59778 12.2575 2.28528C11.4333 1.55872 10.2614 1.297 9.10909 1.58606Z",fill:r}),e.jsx("path",{d:"M10.7811 11.293C13.7655 11.418 16.121 12.3438 17.5272 13.9453C18.6093 15.1758 19.1913 16.7305 19.2929 18.6562C19.3397 19.5352 19.2694 19.75 18.8866 19.9258C18.7343 19.9961 18.4061 20 9.9999 20C1.59365 20 1.26553 19.9961 1.11318 19.9258C0.73037 19.75 0.660057 19.5352 0.706932 18.6562C0.933495 14.3594 3.61318 11.8086 8.37881 11.3516C9.16787 11.2773 9.95693 11.2578 10.7811 11.293ZM8.7499 12.7734C5.96474 13.0234 4.16787 13.8945 3.11709 15.5039C2.64053 16.2344 2.28506 17.3008 2.20303 18.2305L2.17568 18.5547H9.9999H17.8241L17.7968 18.2344C17.7811 18.0547 17.7265 17.7148 17.6757 17.4805C17.2851 15.668 16.2929 14.3867 14.6718 13.6094C13.7694 13.1758 12.7851 12.9258 11.4452 12.793C10.8358 12.7305 9.34756 12.7227 8.7499 12.7734Z",fill:r})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_8728_7975",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"matrix(-1 0 0 1 20 0)"})})})]})},exports.SvgReGenerate=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t.color??"currentColor",viewBox:"0 0 32 32",...t,children:[e.jsx("path",{d:"m21.697 14.924-1.396-.501a4.515 4.515 0 0 1-2.724-2.725l-.502-1.396-.002-.004c-.163-.448-.594-.751-1.073-.751s-.91.303-1.076.756l-.501 1.396a4.515 4.515 0 0 1-2.725 2.724l-1.399.504c-.449.163-.752.595-.752 1.073s.303.91.756 1.076l1.396.501a4.515 4.515 0 0 1 2.724 2.725l.504 1.399c.164.449.596.752 1.074.752s.91-.303 1.076-.756l.501-1.396a4.515 4.515 0 0 1 2.725-2.724l1.399-.504c.449-.164.752-.596.752-1.074s-.304-.909-.757-1.075zM16 18.914A6.501 6.501 0 0 0 13.086 16 6.501 6.501 0 0 0 16 13.086 6.501 6.501 0 0 0 18.914 16 6.501 6.501 0 0 0 16 18.914z"}),e.jsx("path",{d:"M27.401 9.132a1 1 0 0 0-1.711 1.037 11.247 11.247 0 0 1 1.623 5.832c0 6.237-5.075 11.313-11.313 11.313a11.27 11.27 0 0 1-3.118-.445l.993-.477a1.001 1.001 0 0 0-.867-1.803l-3.125 1.503a1.002 1.002 0 0 0-.433 1.398l1.728 3.008a.997.997 0 0 0 1.365.369.999.999 0 0 0 .369-1.365l-.38-.662c1.123.304 2.282.473 3.469.473 7.341 0 13.313-5.972 13.313-13.313a13.259 13.259 0 0 0-1.913-6.868zM15.999 4.687c1.069 0 2.112.156 3.118.445l-.993.477a1.001 1.001 0 0 0 .434 1.901.985.985 0 0 0 .433-.099l3.125-1.503a1.002 1.002 0 0 0 .433-1.399l-1.728-3.008a1 1 0 1 0-1.734.996l.38.662a13.244 13.244 0 0 0-3.469-.473c-7.341 0-13.313 5.972-13.313 13.313 0 2.429.661 4.805 1.912 6.869a1 1 0 0 0 1.711-1.038 11.247 11.247 0 0 1-1.623-5.832C4.687 9.762 9.762 4.687 15.999 4.687z"})]}),exports.SvgStock=t=>e.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M16.8284 7.06234C18 8.12469 18 9.83451 18 13.2541V14.7459C18 18.1655 18 19.8753 16.8284 20.9377C15.6569 22 13.7712 22 10 22C6.22876 22 4.34315 22 3.17157 20.9377C2 19.8753 2 18.1655 2 14.7459V13.2541C2 9.83451 2 8.12469 3.17157 7.06234C4.34315 6 6.22876 6 10 6C13.7712 6 15.6569 6 16.8284 7.06234Z",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.07031 6C6.17734 4.61213 6.4549 3.71504 7.1747 3.06234C8.34627 2 10.2319 2 14.0031 2C17.7744 2 19.66 2 20.8316 3.06234C22.0031 4.12469 22.0031 5.83451 22.0031 9.25414V10.7459C22.0031 14.1655 22.0031 15.8753 20.8316 16.9377C20.1784 17.5299 19.3032 17.792 18.0031 17.908",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12.0001 11C12.1243 11 12.2468 11.0266 12.3579 11.0778C12.4689 11.1289 12.5656 11.2032 12.6401 11.2947L13.8401 12.7684C13.943 12.8949 13.9991 13.0484 14 13.2064C14.0009 13.3644 13.9467 13.5185 13.8453 13.646L10.6493 17.6935C10.5752 17.7883 10.4777 17.8656 10.3648 17.9189C10.2518 17.9722 10.1268 18 9.9999 18C9.87302 18 9.74796 17.9722 9.63505 17.9189C9.52214 17.8656 9.4246 17.7883 9.35051 17.6935L6.15453 13.646C6.05318 13.5185 5.99901 13.3644 6.00001 13.2064C6.00102 13.0483 6.05716 12.8948 6.16013 12.7684L7.35932 11.2958C7.43379 11.204 7.53049 11.1295 7.64173 11.0781C7.75297 11.0268 7.87569 11 8.00012 11H12.0001Z",stroke:t.fill??"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]}),exports.SvgTransaction=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...t,children:[e.jsx("path",{stroke:t.fill??"currentColor",d:"M6.667 1.664v2.5M13.333 1.664v2.5M2.917 7.578h14.166M15 19.167a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667ZM15 14.656v2.492"}),e.jsx("path",{stroke:t.fill??"currentColor",d:"M17.5 7.08v6.55a3.332 3.332 0 0 0-5.833 2.2c0 .626.175 1.217.483 1.717.175.3.4.567.658.784H6.667c-2.917 0-4.167-1.667-4.167-4.167V7.081c0-2.5 1.25-4.167 4.167-4.167h6.666c2.917 0 4.167 1.667 4.167 4.167ZM9.996 11.417h.008M6.912 11.417h.007M6.912 13.917h.007"})]}),exports.SvgUnverifieduser=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.75",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M24.75 14C20.85 14 17.75 17.1 17.75 21C17.75 23.4 18.9496 25.6008 20.8496 26.8008C17.2496 28.3008 14.75 31.9 14.75 36H16.75C16.75 31.6 20.35 28 24.75 28C26.15 28 27.4508 28.4 28.5508 29C27.4508 30.4 26.75 32.1 26.75 34C26.75 38.4 30.35 42 34.75 42C39.15 42 42.75 38.4 42.75 34C42.75 29.6 39.15 26 34.75 26C33.05 26 31.3508 26.6 30.0508 27.5C29.6508 27.2 29.1504 27.0008 28.6504 26.8008C30.5504 25.5008 31.75 23.4 31.75 21C31.75 17.1 28.65 14 24.75 14ZM24.75 16C27.55 16 29.75 18.2 29.75 21C29.75 23.8 27.55 26 24.75 26C21.95 26 19.75 23.8 19.75 21C19.75 18.2 21.95 16 24.75 16ZM34.75 28C38.05 28 40.75 30.7 40.75 34C40.75 37.3 38.05 40 34.75 40C31.45 40 28.75 37.3 28.75 34C28.75 30.7 31.45 28 34.75 28ZM30.75 33V35H38.75V33H30.75Z",fill:t.fill??"currentColor"})]}),exports.SvgUser=t=>e.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M28 16.5C23.9518 16.5 20.65 19.7875 20.65 23.8182C20.65 26.3379 21.942 28.5758 23.8984 29.8949C20.1537 31.4957 17.5 35.1957 17.5 39.5H19.6C19.6 36.478 21.2037 33.848 23.6031 32.3778C24.3086 34.1012 26.0271 35.3182 28 35.3182C29.9729 35.3182 31.6914 34.1012 32.3969 32.3778C34.7963 33.848 36.4 36.478 36.4 39.5H38.5C38.5 35.1957 35.8463 31.4957 32.1016 29.8949C34.058 28.5758 35.35 26.3379 35.35 23.8182C35.35 19.7875 32.0482 16.5 28 16.5ZM28 18.5909C30.9121 18.5909 33.25 20.9187 33.25 23.8182C33.25 26.7177 30.9121 29.0455 28 29.0455C25.0879 29.0455 22.75 26.7177 22.75 23.8182C22.75 20.9187 25.0879 18.5909 28 18.5909ZM28 31.1364C28.8613 31.1364 29.6816 31.2589 30.4609 31.4957C30.0959 32.5044 29.1443 33.2273 28 33.2273C26.8557 33.2273 25.9041 32.5044 25.5391 31.4957C26.3184 31.2589 27.1387 31.1364 28 31.1364Z",fill:t.fill??"currentColor"})]}),exports.SvgVerifiedUser=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("rect",{x:"0.25",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M24.25 14C20.3945 14 17.25 17.1445 17.25 21C17.25 23.4102 18.4805 25.5508 20.3438 26.8125C16.7773 28.3438 14.25 31.8828 14.25 36H16.25C16.25 31.5703 19.8203 28 24.25 28C25.625 28 26.9062 28.3594 28.0312 28.9688C26.9219 30.3438 26.25 32.1016 26.25 34C26.25 38.4062 29.8438 42 34.25 42C38.6562 42 42.25 38.4062 42.25 34C42.25 29.5938 38.6562 26 34.25 26C32.5039 26 30.8789 26.5742 29.5625 27.5312C29.1211 27.2539 28.6406 27.0195 28.1562 26.8125C30.0195 25.5508 31.25 23.4102 31.25 21C31.25 17.1445 28.1055 14 24.25 14ZM24.25 16C27.0234 16 29.25 18.2266 29.25 21C29.25 23.7734 27.0234 26 24.25 26C21.4766 26 19.25 23.7734 19.25 21C19.25 18.2266 21.4766 16 24.25 16ZM34.25 28C37.5742 28 40.25 30.6758 40.25 34C40.25 37.3242 37.5742 40 34.25 40C30.9258 40 28.25 37.3242 28.25 34C28.25 30.6758 30.9258 28 34.25 28ZM37.5312 31.2812L34.25 34.5625L31.9688 32.2812L30.5312 33.7188L33.5312 36.7188L34.25 37.4062L34.9688 36.7188L38.9688 32.7188L37.5312 31.2812Z",fill:t.fill??"currentColor"})]}),exports.SvgView=Co,exports.SvgWeekoffCalendar=t=>e.jsxs("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{x:"0.75",width:"56",height:"56",rx:"8",fill:t.fill??"currentColor",fillOpacity:"0.1"}),e.jsx("path",{d:"M21.75 16.5V17.5H17.75V39.5H39.75V17.5H35.75V16.5H33.75V17.5H23.75V16.5H21.75ZM19.75 19.5H21.75V20.5H23.75V19.5H33.75V20.5H35.75V19.5H37.75V21.5H19.75V19.5ZM19.75 23.5H37.75V37.5H19.75V23.5ZM25.75 25.5V27.5H27.75V25.5H25.75ZM29.75 25.5V27.5H31.75V25.5H29.75ZM33.75 25.5V27.5H35.75V25.5H33.75ZM21.75 29.5V31.5H23.75V29.5H21.75ZM25.75 29.5V31.5H27.75V29.5H25.75ZM29.75 29.5V31.5H31.75V29.5H29.75ZM33.75 29.5V31.5H35.75V29.5H33.75ZM21.75 33.5V35.5H35.75V33.5H21.75Z",fill:t.fill??"currentColor"})]}),exports.SwitchField=Ks,exports.Tab=Vc,exports.TabBar=function({tabs:t,onChange:r,addButton:l,actionButton:n,ariaLabel:i,activeIndex:o=0,onAction:s}){const d=u.useTheme(),[c,p]=a.useState(t[o]),[h,C]=a.useState(null);return a.useEffect((()=>{-1===t.findIndex((e=>e.value===c.value))&&(r&&t[0]&&r(t[0]),p(t[0]))}),[t,c,r]),a.useEffect((()=>{p(t[o])}),[o]),e.jsxs(Br.default,{children:[e.jsx(Ac,{activeTab:c,tabs:t,onClose:()=>C(null),onMenuItemClick:()=>C(null),menuAnchor:h}),e.jsxs(Zr.default,{direction:"row",justifyContent:"space-between",sx:{borderBlockEnd:"solid 1px",borderColor:d.palette.app.color.iron[700]},children:[e.jsxs(Zr.default,{direction:"row",gap:"5px",alignItems:"center",overflow:"hidden",children:[e.jsx(Zr.default,{direction:"row",overflow:"hidden",children:e.jsx(ii.default,{value:c.value,onChange:(e,l)=>{const n=t.find((e=>e.value===l));n&&(p(n),r&&n&&r(n))},TabIndicatorProps:{sx:{display:"none"}},sx:{[`&.${oi.default.root}`]:{minHeight:"40px",height:"40px"}},variant:"scrollable",scrollButtons:"auto",ScrollButtonComponent:ai.default,"aria-label":i??"Tabs",children:t.map(((t,r)=>e.jsx(Vc,{index:r,activeTab:c,onArrowClick:e=>{C(e.target)},onAction:s,menuAnchor:h,...t},t.value)))})}),l]}),e.jsx(Zr.default,{direction:"row",gap:"10px",alignItems:"center",justifyContent:"space-between",children:n})]})]})},exports.Tabs=({tabs:t,value:r,loading:l})=>l?e.jsx(Zr.default,{gap:"10px",direction:"row",children:t.map((()=>e.jsx(Zc,{},X.v4())))}):e.jsx(Zr.default,{children:e.jsx(ii.default,{value:r,children:t.filter((({isView:e})=>!1!==e)).map((({iconPosition:t="end",toolTipLabel:r="",icon:n,...i},o)=>e.jsx(ni.default,{icon:r?e.jsx(wo,{toolTipLabel:r,placement:"bottom",children:n}):n,disabled:l,iconPosition:t,...i},o)))})}),exports.TabsMenus=Ac,exports.TextField=Ts,exports.Theme=Wi,exports.TimeField=function({control:t,defaultValue:r,disabled:l=!1,label:n,name:i,error:o,helperText:a,loading:s=!1,required:d=!1,rules:c,format:h="HH:mm",isReturnLocalTime:C=!1,isReturnDateWithTime:x=!1,styling:f="custom",navigationKey:g,...m}){const{field:{value:b,onChange:j,...y}}=Ae.useController({name:i,control:t,defaultValue:r,rules:c}),{navigationKey:w}=gi(),v=g??w,{inputRef:M,maintainFocus:L,handleKeyDown:k}=Zi({navigationKey:v}),S=u.useTheme(),{butterflyBlue:H}=S.palette.app.color;o&&b&&"object"==typeof b&&(a="Invalid time");const Z=b?p.DateTime.fromISO(b):null;return s?e.jsx(Ns,{label:n,styling:f}):e.jsxs(Zr.default,{gap:"5px",children:[n&&"custom"===f&&e.jsx(Tl.default,{required:d,disabled:l,children:n}),e.jsx(It.TimeField,{...y,...m,disabled:l,value:Z,onChange:e=>{if(e?.isValid){if(C)return j(e.toFormat(h)),void L();if(x)return j(e.toUTC().toISO()),void L();j(e.toUTC().toISOTime()),L()}else j(e),L()},slotProps:{textField:{disabled:l,helperText:a,error:o,label:"default"===f?n:void 0,required:"default"===f?d:void 0,inputRef:M,InputLabelProps:_a(f),onKeyDown:e=>{k(e,void 0,!1)},sx:{...Oa(f),backgroundColor:"white","& .Mui-selected":{backgroundColor:H[900],borderRadius:"5px"}}}},format:h,helperText:a,sx:{backgroundColor:"white","& .Mui-selected":{backgroundColor:H[900],borderRadius:"5px"}}})]})},exports.TimePicker=function({control:t,defaultValue:r,disabled:l=!1,label:n,readOnly:i=!1,name:o,error:s=!1,helperText:d,loading:c=!1,required:h=!1,rules:C,format:x="HH:mm",isReturnLocalTime:f=!1,isReturnDateWithTime:g=!1,timeStepsMinutes:m=1,helperIcon:b,toolTipText:j,containerProps:y,styling:w="custom",navigationKey:v,...M}){const{field:{value:L,onChange:k,...S}}=Ae.useController({name:o,control:t,defaultValue:r,rules:C}),[H,Z]=a.useState(!1),{navigationKey:V}=gi(),A=v??V,{setInputRef:D,maintainFocus:B,maintainFocusAfterClose:I,handleKeyDown:R,handleEnterNavigation:T}=Zi({isOpen:H,navigationKey:A});s&&L&&"object"==typeof L&&(d="Invalid time");const E=u.useTheme(),{butterflyBlue:F}=E.palette.app.color,P=L?p.DateTime.fromISO(L):null;return c?e.jsx(Gs,{label:n,styling:w}):e.jsxs(Zr.default,{gap:"5px",...y,children:[n&&"custom"===w&&e.jsxs(Zr.default,{alignItems:"center",flexDirection:"row",gap:"5px",children:[e.jsx(Tl.default,{required:h,disabled:l,children:n}),b&&j&&e.jsx(Pr.default,{title:j,placement:"bottom",children:b})]}),e.jsx(Rt.TimePicker,{...S,...M,disabled:l,readOnly:i,open:H,ampm:!1,value:P,format:x,onOpen:()=>Z(!0),onClose:()=>{Z(!1),I()},timeSteps:{minutes:m},slotProps:{textField:{disabled:l,helperText:d,error:s,label:"default"===w?n:void 0,required:"default"===w?h:void 0,inputRef:D,InputLabelProps:_a(w),sx:{...Oa(w),backgroundColor:"white","& .Mui-selected":{backgroundColor:F[900],borderRadius:"5px"}},onKeyDown:e=>{if("enter"===A){if(" "===e.key&&!H&&!l&&!i)return e.preventDefault(),e.stopPropagation(),void Z(!0);if("Enter"===e.key&&!H)return e.preventDefault(),e.stopPropagation(),void T(e);if("Enter"===e.key&&H)return e.preventDefault(),e.stopPropagation(),Z(!1),I(),void requestAnimationFrame((()=>{T(e)}))}R(e,(()=>Z(!1)),H)}},openPickerButton:{..."enter"===A?{onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),T(e))}}:{}},popper:{sx:{"& .MuiMultiSectionDigitalClockSection-root::after":{display:"unset"},"& .MuiList-padding":{padding:"10px"},"& .MuiMultiSectionDigitalClockSection-item":{padding:"4px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected":{backgroundColor:F[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:hover":{backgroundColor:F[900],borderRadius:"5px"},"& .Mui-selected:hover":{backgroundColor:F[900],borderRadius:"5px"},"& .MuiMultiSectionDigitalClockSection-item.Mui-selected:focus-visible":{backgroundColor:F[900],borderRadius:"5px"},"& .Mui-selected:focus-visible":{backgroundColor:F[900],borderRadius:"5px"}},onKeyDown:e=>{"enter"===A&&"Enter"===e.key&&H&&(e.preventDefault(),e.stopPropagation(),Z(!1),I(),requestAnimationFrame((()=>{T(e)})))}}},onChange:e=>{if(e?.isValid){if(f)return k(e.toFormat(x)),void B();if(g)return k(e.toUTC().toISO()),void B();k(e.toUTC().toISOTime()),B()}else k(e),B()}})]})},exports.Timeline=({totalDots:t,highlightedIntervals:r,shiftStartTime:l,shiftEndTime:n,startTimeline:i="2024-11-17T18:30:04.000Z"})=>{const o=parseFloat(bi(i)),a=(e,r,l)=>{const n=bi(e),i=bi(r);let a=Bc(n),s=Bc(i);return a=a<o?a+t:a,s=s<a?s+t:s,"END"===l?s:a},s=e=>{const l=(e+o)%t;return r.some((e=>l>=parseFloat(bi(e.in_time))&&l<=parseFloat(bi(e.out_time))))},d=Array.from({length:t},((e,r)=>({value:(r+o)%t,label:"",highlighted:s((r+o)%t)})));return e.jsxs(Zr.default,{sx:{position:"relative",width:"100%"},children:[e.jsx(Dc,{totalDots:t,intervals:r,startTimeline:o}),e.jsx(Pr.default,{title:`Shift Start: ${bi(l)}`,arrow:!0,placement:"top",children:e.jsx(Br.default,{sx:{cursor:"pointer",position:"absolute",top:"12px",zIndex:2,left:(a(l,n,"START")-o)%t/t*100+"%"},children:e.jsx(Ui,{})})}),e.jsx(Pr.default,{title:`Shift End: ${bi(n)}`,arrow:!0,placement:"top",children:e.jsx(Br.default,{sx:{cursor:"pointer",position:"absolute",top:"12px",zIndex:2,left:(a(l,n,"END")-o)%t/(t-.6)*100+"%"},children:e.jsx(Ui,{})})}),e.jsx(ci.default,{disabled:!0,valueLabelDisplay:"off",marks:d,max:t-1,step:1,value:[],sx:{zIndex:1,"& .MuiSlider-track":{background:"transparent",height:1,border:"none"},"& .MuiSlider-mark":{backgroundColor:"gray",height:4,width:4,borderRadius:"50%"},"& .MuiSlider-markActive":{backgroundColor:"transparent",height:5,width:5},"& .MuiSlider-rail":{height:2,backgroundColor:"#929292"},"& .MuiSlider-thumb":{display:"none"}}})]})},exports.Toaster=()=>e.jsx(Aa,{position:"top-right",autoClose:5e3,hideProgressBar:!0,newestOnTop:!0,closeButton:!1,closeOnClick:!1,rtl:!1,draggable:!0,pauseOnHover:!0,transition:Be.Slide,limit:5}),exports.Tooltip=wo,exports.Tree=({nodes:t,direction:r="horizontal",columns:l=3,color:n})=>{const{isMobile:i}=Vi(),o=a.useRef({}),s=a.useRef(null),d=a.useRef(null),c=a.useRef(null),[u,p]=a.useState([]),h=(e,t)=>{if(t)return o.current[e]=t,void(c.current&&c.current.observe(t));o.current=Sl.default(o.current,e)},C=e=>e?e.getBoundingClientRect():null,x=(e,t,l)=>{ui.default(e,(e=>{const{id:n,children:a}=e;if(!a?.length)return;const s=o.current[n];if(!s)return;const d=C(s);d&&ui.default(a,(e=>{const{id:n,children:a}=e,s=o.current[n];if(!s)return;const c=C(s);if(!c)return;const u=i||"vertical"===r?((e,t,r)=>{const{left:l,width:n,bottom:i}=e,{left:o,width:a,top:s}=t,{left:d,top:c}=r,u=l+n/2-d,p=i-c,h=o+a/2-d,C=s-c,x=p+Math.max(12,(C-p)/2);return`M ${u} ${p} C ${u} ${x} ${h} ${x} ${h} ${C}`})(d,c,t):((e,t,r)=>{const{right:l,top:n,height:i}=e,{left:o,top:a,height:s}=t,{left:d,top:c}=r,u=l-d,p=n+i/2-c,h=o-d,C=a+s/2-c,x=h-u,f=Math.abs(x),g=Math.min(120,Math.max(24,f/2)),m=x>=0?1:-1;return`M ${u} ${p} C ${u+g*m} ${p} ${h-g*m} ${C} ${h} ${C}`})(d,c,t);l.push({definition:u}),a?.length&&x([e],t,l)}))}))};a.useEffect((()=>{const e=()=>requestAnimationFrame((()=>{(()=>{const e=d.current,r=s.current;if(!e||!r)return;const l=r.clientWidth;e.setAttribute("width",String(l)),e.setAttribute("height","auto");const n=r.getBoundingClientRect(),i=[];x(t,n,i),p(i)})()})),r=e(),l=new ResizeObserver(e);c.current=l,s.current&&l.observe(s.current),Al.default(o.current).forEach((e=>l.observe(e)));const n=e;return window.addEventListener("resize",n),()=>{cancelAnimationFrame(r),l.disconnect(),c.current=null,window.removeEventListener("resize",n)}}),[t,i,r]);const f=`calc(${100/l}% - 24px)`;return e.jsxs(Br.default,{ref:s,variant:"outlined",component:Jr.default,position:"relative",sx:{overflowX:"hidden",overflowY:"visible"},children:[e.jsx(xo,{ref:d,paths:u,strokeColor:n}),i||"vertical"===r?e.jsx(Zo,{padding:{padding:2},children:e.jsx(Zr.default,{spacing:3,children:el.default(t,(t=>e.jsx(Ec,{node:t,setRef:h,themeColor:n},t.id)))})}):e.jsx(Zo,{padding:{padding:2},children:e.jsx(Zr.default,{direction:"row",alignItems:"flex-start",justifyContent:"flex-start",flexWrap:"wrap",gap:3,children:el.default(t,(t=>e.jsx(Tc,{node:t,setRef:h,themeColor:n,itemWidth:f},t.id)))})})]})},exports.UserProfileMenu=function({userDetails:t,menuItems:r,shouldCloseOnClick:l=!0}){const[n,i]=a.useState(null),o=a.useRef(null),{layout:s}=Vi(),d="desktop"===s,c=u.useTheme(),{iron:p}=c.palette.app.color,h=Boolean(n),C=()=>i(null),{name:x}=t;return e.jsxs(Br.default,{position:"relative",children:[e.jsx(Br.default,{sx:{display:"flex",alignItems:"center"},children:e.jsx(Fc,{ref:o,onClick:e=>{i(e.currentTarget)},size:"small","aria-haspopup":"true",children:e.jsxs(Zr.default,{direction:"row",alignItems:"center",gap:1,color:"black",children:[e.jsx(ul.default,{src:t.avatar,sx:{border:`1px solid ${p[700]}`,width:28,height:28}}),d&&e.jsxs(e.Fragment,{children:[e.jsx(_r.default,{maxWidth:150,noWrap:!0,children:x}),h?e.jsx(jl.default,{}):e.jsx(bl.default,{})]})]})})}),h&&e.jsx(rl.default,{open:!0,anchorEl:n,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{elevation:0,sx:{width:220,overflow:"visible",mt:1.5,px:0,py:0,filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))","& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1},"&:before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}}},children:e.jsx(Br.default,{sx:{padding:"4px 0"},children:r.map((({key:t,divider:r,label:n,icon:i,sx:o,onClick:a})=>e.jsxs(Br.default,{children:[r&&e.jsx($r.default,{}),e.jsx(Yr.default,{onClick:()=>{qr.default(a)&&(a(),l&&C())},children:(i||n)&&e.jsxs(Zr.default,{gap:"16px",alignItems:"center",width:"100%",flexDirection:"row",sx:{...o},children:[e.jsx(pi.default,{sx:{minWidth:"20px",alignItems:"center",...o},children:i}),n&&e.jsx(_r.default,{sx:{fontSize:"13px"},children:n})]})})]},`${t}_container`)))})})]})},exports.ViewDetailsIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"View Details",children:e.jsx(Gi,{disabled:t.disabled})})}),exports.ViewFilePreviewDialog=Ls,exports.ViewIconAction=t=>e.jsx(kr.default,{...t,children:e.jsx(wo,{toolTipLabel:"View",children:e.jsx(Co,{disabled:t.disabled})})}),exports.accessorFnRegex=/([a-zA-Z0-9_$.\[\]]+)\s*!==\s*null\s*&&\s*\1\s*!==\s*void 0\s*\?\s*\1\s*:\s*/g,exports.appTheme=function(e){const{palette:t}=$i(e),{borderRadius:r,fontSize:l,fontWeight:n,minWidth:i,padding:o,height:a}=qi;return{palette:t,typography:zi,components:{MuiInputBase:{styleOverrides:{input:{padding:"8.5px 14px !important",color:t.app.color.slate[900],"::placeholder":{color:t.app.color.iron[800],opacity:1},"&:disabled":{background:t.app.color.iron[50],WebkitTextFillColor:t.app.color.iron[100]}}}},MuiCssBaseline:{styleOverrides:{":root":{fontSize:"62.5%"}}},MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:r,fontSize:l,fontWeight:n,minWidth:i,padding:o.medium,lineHeight:1.5,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:`0 2px 4px ${t.app.color.mirage[800]}`},"&:active":{transform:"scale(0.98)"}},sizeSmall:{height:a.small,padding:o.small},sizeMedium:{height:a.medium,padding:o.medium},sizeLarge:{height:a.large,padding:o.large}},defaultProps:{variant:"contained",color:"secondary",size:"medium"},variants:[{props:{variant:"contained"},style:{color:t.app.color.iron[600],boxShadow:"none","&:hover":{boxShadow:`0 2px 6px ${t.app.color.mirage[800]}`}}},{props:{variant:"outlined"},style:{borderWidth:"1px","&:hover":{borderWidth:"1px"}}},{props:{variant:"text"},style:{padding:o.medium,"&:hover":{backgroundColor:t.app.color.butterflyBlue[500]}}}]},MuiButtonGroup:{styleOverrides:{root:{textTransform:"none",borderRadius:"5px",border:`1px solid ${t.app.color.butterflyBlue[900]}`},firstButton:{border:"unset"},middleButton:{border:"unset"},lastButton:{border:"unset"}},defaultProps:{variant:"contained",color:"secondary"}},MuiCheckbox:{styleOverrides:{indeterminate:{"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900],borderRadius:"4px",width:"19px",height:"19px"}},root:{padding:"unset"}}},MuiBreadcrumbs:{styleOverrides:{root:{color:"unset"}}},MuiFormHelperText:{styleOverrides:{root:{marginLeft:"unset"}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:"unset",color:t.app.color.iron[400],fontWeight:500,fontSize:"13px"}}},MuiFormLabel:{styleOverrides:{root:{fontSize:"13px","&.Mui-disabled":{"& .MuiFormLabel-asterisk":{color:t.app.color.iron[800]}}},asterisk:{color:t.app.color.red[900]}}},MuiIconButton:{styleOverrides:{root:{borderRadius:"4px"}},defaultProps:{size:"small",color:"inherit"}},MuiAutocomplete:{styleOverrides:{paper:{fontSize:"1.4rem"},root:{"& .MuiInputBase-root":{padding:"unset"}}}},MuiTabs:{styleOverrides:{indicator:{backgroundColor:t.app.color.butterflyBlue[900],height:"3px"},root:{"& .MuiButtonBase-root":{minHeight:"48px",fontSize:"13px"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900]}}},defaultProps:{variant:"scrollable",scrollButtons:"auto",allowScrollButtonsMobile:!0}},MuiTab:{styleOverrides:{root:{textTransform:"none",fontWeight:500,fontSize:"13px",color:"black","&.Mui-selected":{color:"black"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiSvgIcon-root":{color:t.app.color.butterflyBlue[900]}}}},MuiTypography:{defaultProps:{variantMapping:{...Oi}}},MuiLink:{styleOverrides:{root:{":hover":{color:t.app.color.butterflyBlue[900]}}}},MuiOutlinedInput:{styleOverrides:{root:{padding:"unset",":hover":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[900]}},"&.Mui-focused":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[900]}},"&.Mui-disabled":{[`& .${j.outlinedInputClasses.notchedOutline}`]:{borderColor:t.app.color.butterflyBlue[300]}}},notchedOutline:{borderColor:t.app.color.iron[800]}}},MuiInputAdornment:{styleOverrides:{root:{marginRight:"unset",paddingLeft:"14px"},positionEnd:{paddingRight:"10px"}}},MuiChip:{styleOverrides:{root:{padding:"0px 5px 0px 5px",border:0,borderRadius:"6px"}},defaultProps:{color:"success"},variants:[{props:{color:"success"},style:{background:t.app.color.darkMint[700],color:t.app.color.darkMint[900]}},{props:{color:"error"},style:{background:t.app.color.lipstickRed[600],color:t.app.color.red[800]}},{props:{color:"info"},style:{background:t.app.color.butterflyBlue[600],color:t.app.color.butterflyBlue[900]}}]},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${t.app.color.butterflyBlue[700]}`,padding:"10px 16px"}}}},spacing:10}},exports.calculateSummaryRow=Jo,exports.colorPaletteUI=()=>e.jsx(Zr.default,{spacing:4,sx:{padding:4},children:Object.entries(Ei).map((([t,r])=>e.jsxs(Zr.default,{spacing:2,children:[e.jsx(_r.default,{variant:"h6",sx:{textTransform:"capitalize"},children:t.replace(/([A-Z])/g," $1")}),e.jsx(Zr.default,{direction:"row",spacing:0,children:Object.entries(r).map((([t,r])=>e.jsx(Fi,{shade:t,color:r},t)))})]},t)))}),exports.dateFormats=Ja,exports.defaultPageSize=100,exports.downloadFile=yi,exports.downloadPrintHtml=async(e,t,r="section")=>{if(!e)return;const l=(await Rr.default(e,{scale:2})).toDataURL("image/png");if("image"===t){const e=document.createElement("a");e.href=l,e.download=`${r}.png`,e.click()}else{if(wi)return;wi=!0;const e=document.createElement("iframe");e.style.position="absolute",e.style.width="0",e.style.height="0",e.style.border="0",document.body.appendChild(e);const t=e.contentWindow?.document;if(!t)return void(wi=!1);t.body.innerHTML="",t.body.style.margin="0",t.body.style.display="flex",t.body.style.justifyContent="center",t.body.style.alignItems="center";const r=document.createElement("style");r.innerHTML="@page { margin: 0; }",t.head.appendChild(r);const n=new Image;n.src=l,n.style.maxWidth="100%",n.style.maxHeight="100%",n.onload=()=>{t.body.appendChild(n);const r=e.contentWindow;if(!r)return;const l=()=>{e.parentNode&&document.body.removeChild(e),wi=!1,r.removeEventListener("afterprint",l)};r.addEventListener("afterprint",l),r.focus(),r.print()}}},exports.emailRegex=/^(((?!.*[^\x00-\x7F])[^<>()[\]\\.,;:\s@"](\.[^<>()[\]\\.,;:\s@"])*){1,64}|(".{1,64}"))@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-zA-Z\-0-9]+(?:-[a-zA-Z\-0-9]+)*([.]{1,1}))){1,4}([a-zA-Z][a-zA-Z0-9]{1,}))|(?:\[(?:(?:(i|I)(p|P)(v)6:(?:(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){7})|(?:(?!(?:.*[a-zA-Z\-0-9][:\]]){7,})(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,5})?::(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,5})?)))|(?:(?:(i|I)(p|P)(v)6:(?:(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){5}:)|(?:(?!(?:.*[a-zA-Z\-0-9]:){5,})(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,3})?::(?:[a-zA-Z\-0-9]{1,4}(?::[a-zA-Z\-0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/,exports.error_with_transaltion=Zs,exports.extractPrefixedValue=e=>{if(!e)return"-";const t=String(e),r=t.split("."),l=r.length>1?r[r.length-1]??t??"":t??"";return"null"===l||""===l?"-":l},exports.extractSortValue=ca,exports.filterByFields=Si,exports.flattenColumns=Ko,exports.formatDate=mi,exports.formatFilterData=bd,exports.formatHours=ji,exports.getArrowValue=Bc,exports.getColorByVariant=Ci,exports.getDifferenceInHHmmss=(e,t)=>{const r=p.DateTime.fromISO(e),l=p.DateTime.fromISO(t),n=(l<r?l.plus({days:1}):l).diff(r,["hours","minutes","seconds"]);return p.Duration.fromObject(n.toObject()).toFormat("hh:mm:ss")},exports.getFormValue=md,exports.getNextSortDirection=pa,exports.getPaletteByTheme=$i,exports.getStatusLabel=xi,exports.getTimeInHHmm=bi,exports.getZIndex=e=>{const t=parseInt(window.getComputedStyle(e).zIndex??"",10);return isNaN(t)?0:t},exports.highlightWordsRegex=Ti,exports.hslToRgb=ki,exports.hslaRegex=Ri,exports.isFileSizeValid=Mi,exports.isFileType=bs,exports.isFileTypeValid=Li,exports.isSelectionDisabled=ha,exports.isSortingEnabled=function(e,t){return Boolean(e&&t)},exports.isoDateRegex=Bi,exports.monthYearRegex=Di,exports.noSpecialCharacterRegex=/^[a-zA-Z0-9 ]*$/,exports.numericRegex=/^-?\d*\.?\d*$/,exports.pageSizeOptions=Po,exports.serverityOptions={present:"P",holiday:"H",weekly_off:"WO",working:"P",first_half_off:"HO",second_half_off:"HO",full_day_weekly_off:"WO",first_half_weekly_off:"WO",second_half_weekly_off:"WO",paid_leave:"PL",absent:"A",unpaid_leave:"UPL",late_in_early_out:"LIEO",loss_of_pay:"LOP",penalty:"PEN",first_half_paid_leave:"L",second_half_paid_leave:"L",full_day_paid_leave:"L",first_half_unpaid_leave:"L",second_half_unpaid_leave:"L",full_day_unpaid_leave:"L",leave:"L",overtime:"OT"},exports.showNoRowsOverlay=Fo,exports.sortTableData=ua,exports.timeRegex=Ii,exports.toasts=Ea,exports.urlToNestedObject=Ki,exports.useAgGridCheckBoxSelection=({gridRef:e,setSelectedEmployee:t,currentPageItems:r,selectedEmployee:l})=>{const[n,i]=a.useState(!1),o=t=>{if(!e.current)return;const l=e.current.api;return r.forEach((({id:e})=>{l.getRowNode(e)?.setSelected(t)}))},s=()=>{const e=r.map((({id:e})=>e));return n?(i(!1),o(!1),t((t=>t.filter((t=>!e.includes(t)))))):(o(!0),i(!0),t((t=>[...t,...e])))};a.useEffect((()=>{const n=n=>{if("a"!==n.key.toLowerCase()||!n.ctrlKey&&!n.metaKey)return;if(Oo())return;const o=document.activeElement;if("INPUT"===o?.tagName||"TEXTAREA"===o?.tagName||"true"===o?.contentEditable)return;if(!r.length||!e.current)return;n.preventDefault(),n.stopPropagation();const a=e.current.api,s=r.map((({id:e})=>e));r.forEach((({id:e})=>{a.getRowNode(e)?.setSelected(!0)})),i(!0);const d=new Set(l),c=s.filter((e=>!d.has(e)));t([...l,...c])};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[r,e,t]),Ai({key:"a",modifierKeys:"alt",onTrigger:()=>{if(Oo())return;const l=document.activeElement;if("INPUT"===l?.tagName||"TEXTAREA"===l?.tagName||"true"===l?.contentEditable)return;if(!r.length)return;const n=r.map((({id:e})=>e));if(!e.current)return;const o=e.current.api;r.forEach((({id:e})=>{o.getRowNode(e)?.setSelected(!1)})),i(!1),t((e=>e.filter((e=>!n.includes(e)))))}}),a.useEffect((()=>{const e=r.length>0&&r.every((({id:e})=>l.includes(e)));i(e);const t=e=>{if("Space"!==e.code)return;const t=e.target;t.classList.contains("ag-floating-filter")||t.classList.contains("ag-text-field-input")||(e.preventDefault(),s())},n=document.querySelector(".ag-header");return n?.addEventListener("keydown",t),()=>{n?.removeEventListener("keydown",t)}}),[r,l]);const d=r.filter((({id:e})=>l.includes(e))).length,c=d&&d<r.length||!1;return{isChecked:n,handleSelectAll:e=>{i(e.target.checked),s()},indeterminate:c,setIsChecked:i}},exports.useAgGridFilteredData=({gridRef:e})=>({getFilteredData:a.useCallback((()=>{const t=e.current?.api;if(!t)return[];const r=[];return t.forEachNodeAfterFilter((e=>{const t=e.data;t&&r.push(t)})),r}),[e])}),exports.useAgGridKeyboardShortcuts=({gridRef:e,isClientSide:t=!1})=>{a.useEffect((()=>{const e=e=>{"a"===e.key.toLowerCase()&&(e.ctrlKey||e.metaKey)&&Wo()&&(e.stopPropagation(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation())};return window.addEventListener("keydown",e,!0),()=>{window.removeEventListener("keydown",e,!0)}}),[]),Ai({key:"a",modifierKeys:"ctrl",onTrigger:()=>{const t=e.current?.api;!t||zo()||Wo()||t.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&e.setSelected(!0)}))}}),Ai({key:"a",modifierKeys:"alt",onTrigger:()=>{const t=e.current?.api;!t||zo()||Wo()||t.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&e.setSelected(!1)}))}}),a.useEffect((()=>{if(!t)return;const r=t=>{if("Space"!==t.code)return;const r=e.current?.api;if(!r)return;if(zo()||Wo())return;const l=t.target;if(l.classList.contains("ag-floating-filter")||l.classList.contains("ag-text-field-input"))return;const n=l.closest(".ag-header"),i=null!==l.closest(".ag-header-cell")||l.classList.contains("ag-header-cell"),o=r.getFocusedCell();if(n&&i&&!o?.rowIndex){t.preventDefault(),t.stopPropagation();const e=r.paginationGetPageSize?.(),l=r.paginationGetCurrentPage?.(),n=null!=e&&null!=l?e*l:null,i=null!=n&&null!=e?n+e:null;let o=0,a=0;if(r.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&!1!==e.selectable&&(null!=n&&null!=i&&((e.rowIndex??-1)<n||(e.rowIndex??-1)>=i)||(o++,e.isSelected()&&a++))})),0===o)return;const s=a===o;return void r.forEachNodeAfterFilterAndSort((e=>{e.displayed&&e.data&&!1!==e.selectable&&(null!=n&&null!=i&&((e.rowIndex??-1)<n||(e.rowIndex??-1)>=i)||e.setSelected(!s,!1))}))}t.preventDefault();const a=r.getFocusedCell();if(!a)return;const s=r.getDisplayedRowAtIndex(a.rowIndex);s&&s.setSelected(!s.isSelected())};return window.addEventListener("keydown",r,!0),()=>window.removeEventListener("keydown",r,!0)}),[e,t])},exports.useAgGridRowSelectionConfig=({columnDefs:e,enableClickSelection:t=!1,isRowSelectable:r})=>{const l=a.useMemo((()=>e.some((e=>{const t=!!e.checkboxSelection,r=null!=e.field&&"id"===String(e.field)&&null!=e.headerComponent;return t||r}))),[e]);return{rowSelection:a.useMemo((()=>{if(!l)return;const e=Boolean(r);return{mode:"multiRow",enableClickSelection:t,checkboxes:e,...r&&{isRowSelectable:r,hideDisabledCheckboxes:!0}}}),[l,t,r]),selectionColumnDef:a.useMemo((()=>{if(l)return{headerName:"",colId:"id",width:1,minWidth:1,maxWidth:1,pinned:"left",lockPinned:!0,lockPosition:!0,suppressMovable:!0,suppressHeaderMenuButton:!0,suppressHeaderContextMenu:!0,suppressSizeToFit:!0,resizable:!1,sortable:!1,hide:!0,filter:!1,suppressHeaderKeyboardEvent:()=>!0,suppressKeyboardEvent:()=>!0,headerComponent:()=>null,cellRenderer:()=>null}}),[l])}},exports.useAgGridSelection=({gridRef:e,currentPageItems:t,totalRecords:r,selectedEmployee:l,fetchAll:n,getExtraParams:i,isRowSelectable:o})=>{const[s,d]=a.useState([]),[c,u]=a.useState(null),p=a.useRef(null),h=a.useRef(null),C=a.useRef(r),x=a.useRef(""),f=a.useMemo((()=>{try{return JSON.stringify(i())}catch{return""}}),[i]);a.useEffect((()=>{const e=x.current;""!==e&&f!==e&&(u(null),p.current=null),x.current=f}),[f]),a.useEffect((()=>{(null===p.current&&r>0||null!==p.current&&r>p.current)&&(p.current=r);C.current!==r&&c&&u(null),C.current=r}),[r,c,s.length]);const g=a.useMemo((()=>{if(!t.length)return{selected:0,checked:!1,indeterminate:!1};const e=o?t.filter((e=>o({data:e}))):t;if(!e.length)return{selected:0,checked:!1,indeterminate:!1};const r=e.filter((({id:e})=>s.includes(e))).length;return{selected:r,checked:r===e.length,indeterminate:r>0&&r<e.length}}),[t,s,o]),m=a.useCallback((()=>{if(!e.current)return;const r=e.current.api;t.forEach((e=>{const t=r.getRowNode(e.id);if(o&&!o({data:e}))return;const l=s.includes(e.id);t&&t.isSelected()!==l&&t.setSelected(l,void 0,"api")}))}),[e,t,s,o]);a.useEffect((()=>{m()}),[m]);const b=a.useCallback((()=>{const e=(o?t.filter((e=>o({data:e}))):t).map((({id:e})=>e));d((t=>{const r=new Set([...t,...e]);return Array.from(r)}))}),[t,o]),j=a.useCallback((()=>{const e=o?t.filter((e=>o({data:e}))):t,r=new Set(e.map((({id:e})=>e)));d((e=>e.filter((e=>!r.has(e)))))}),[t,o]),y=a.useCallback((async t=>{const l=i(),a=t??h.current??{startRow:0,endRow:r||0},{list:s,totalCount:c,selectableCount:C}=await n({...a,startRow:0,endRow:r??0,...l}),x=o?s.filter((e=>o({data:e}))):s,f=Array.from(new Set(x.map((({id:e})=>e))));u(s);const g=o?s.filter((e=>o({data:e}))).length:s.length;void 0!==C?null===p.current&&(p.current=C):null===p.current&&(p.current=g),d((e=>{const t=new Set([...e,...f]);return Array.from(t)})),0===r&&c&&e.current?.api?.setRowCount(c,!1)}),[n,r,e,o,i]),w=a.useCallback((()=>{d([]),u(null),e.current&&e.current.api.deselectAll()}),[e]),v=a.useCallback((()=>{if(!e.current)return;const r=e.current.api.getSelectedRows(),l=(o?r.filter((e=>o({data:e}))):r).map((({id:e})=>e)),n=t.map((({id:e})=>e));d((e=>{const t=e.filter((e=>!n.includes(e))),r=new Set([...t,...l]);return Array.from(r)}))}),[e,t,o]),M=a.useCallback((e=>{h.current=e}),[]),L=l.length,k=(()=>{if(c?.length){return o?c.filter((e=>o({data:e}))).length:c.length}return r})(),S=a.useMemo((()=>{if(!L)return null;const e=p.current;return null!==e&&L===e?{show:!0,text:`All ${e} rows are selected.`,buttonText:"Clear selection",onButtonClick:w}:k===L?{show:!0,text:`All ${k} rows are selected.`,buttonText:"Clear selection",onButtonClick:w}:{show:!0,text:`${L} rows selected.`,buttonText:`Select all ${k} rows`,onButtonClick:()=>{y()}}}),[L,k,w,y]),H=a.useCallback((()=>{if(document.querySelector('.MuiBackdrop-root:not([style*="display: none"])'))return!0;const e=document.querySelectorAll('[role="dialog"], .MuiDialog-root, .MuiModal-root');if(0===e.length)return!1;for(const t of Array.from(e)){const e=t,r=window.getComputedStyle(e);if("none"!==r.display&&"hidden"!==r.visibility&&parseFloat(r.opacity)>0)return!0}return!1}),[]),Z=a.useCallback((()=>{const e=document.activeElement;return"INPUT"===e?.tagName||"TEXTAREA"===e?.tagName||"true"===e?.contentEditable}),[]),V=a.useCallback((e=>!!e&&(e.classList.contains("ag-floating-filter")||e.classList.contains("ag-text-field-input")||null!==e.closest(".ag-floating-filter")||null!==e.closest(".ag-text-field-input"))),[]),A=a.useCallback((e=>{const t=e||document.activeElement;return null!==t?.closest(".ag-header-cell")||null!==t?.closest(".ag-selection-checkbox")||"columnheader"===t?.getAttribute("role")}),[]),D=a.useCallback((e=>{H()||(e.preventDefault(),b())}),[b,H]),B=a.useCallback((e=>{if(H())return;const t=document.activeElement;"INPUT"===t?.tagName||"TEXTAREA"===t?.tagName||"true"===t?.contentEditable||(e.preventDefault(),j())}),[j,V,H]),I=a.useCallback((e=>{const t=e.target;V(t)||(e.preventDefault(),g.checked?j():b())}),[g.checked,j,b,V]);return a.useEffect((()=>{const r=r=>{if(Z()||!t.length)return;if("a"!==r.key.toLowerCase()||!r.ctrlKey&&!r.metaKey){if("KeyA"===r.code&&r.altKey)B(r);else if(("Space"===r.code||" "===r.key)&&e.current){const e=r.target;A(e)&&!V(e)&&I(r)}}else D(r)};return document.addEventListener("keydown",r,!0),()=>document.removeEventListener("keydown",r,!0)}),[t.length,D,B,I,Z,A,e]),{selectedIds:s,allDataCache:c,setLastQueryParams:M,selectCurrentPage:b,deselectCurrentPage:j,clearSelection:w,onSelectionChanged:v,checkboxState:{checked:g.checked,indeterminate:g.indeterminate},message:S}},exports.useAgGridSummaryRow=function({data:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){const n=a.useMemo((()=>Jo({data:"function"==typeof e?e():e,columns:t,exemptFields:r,summaryLabel:l})),[e,t,r,l]),{rawSummary:i,formattedSummary:o}=n??{};return{summaryRow:i,pinnedBottomRowData:i&&[i],formattedSummary:o}},exports.useAgGridSummaryRowUpdate=function({gridRef:e,columns:t,exemptFields:r=[],summaryLabel:l="Total"}){return{updateSummaryRow:a.useCallback((()=>{const n=e.current?.api;if(!n)return;const i=[];n.forEachNodeAfterFilter((e=>{const t=e.data;t&&i.push(t)}));const o=Jo({data:i,columns:t,exemptFields:r,summaryLabel:l});o?.rawSummary?n.setGridOption("pinnedBottomRowData",[o.rawSummary]):n.setGridOption("pinnedBottomRowData",[])}),[e,t,r,l])}},exports.useDialogActions=Hi,exports.useExportToExcel=function(){const{styleCell:e}=(()=>{const e=j.useTheme(),{iron:t,black:r}=e.palette.app.color,l=uc(t[700]),n=uc(r[900]),i=uc(t[800]),o={bottom:{color:{argb:i},style:"thin"},left:{color:{argb:i},style:"thin"},right:{color:{argb:i},style:"thin"},top:{color:{argb:i},style:"thin"}},a={fgColor:{argb:l},pattern:"solid",type:"pattern"};return{styleCell:(e,t)=>{e.border=o,"header"===t?(e.font={bold:!0,color:{argb:n},size:14},e.fill=a):"total"===t&&(e.font={bold:!0,size:12},e.fill=a)}}})();return{exportToExcel:(t,r,l,n)=>bc(t,{fileName:r,numericColumns:l,excludedColumns:n},e)}},exports.useFormFieldFocus=Zi,exports.useGetDeviceType=Vi,exports.useGlobalKeyboardShortcut=Ai,exports.useNavigationKeyContext=gi,exports.useSorting=Ca;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|