@unciatech/file-manager 0.0.40 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FileManagerPageProps, a as FileManagerModalProps, b as FileManagerRootProps, c as FileMetaData, d as Folder, P as PaginationInfo, M as Mode, S as SelectionMode, e as FileType, I as IFileManagerProvider, f as FileUploadInput, g as FolderId, E as EntityId } from './mock-provider-DrtiUc3h.cjs';
2
- export { h as FILE_TYPE, i as FILE_TYPES, j as FileStateOptions, k as FormatDetails, l as MODE, m as MODES, n as MetaDataType, o as MockProvider, p as SELECTION_MODE, q as SELECTION_MODES, T as Tag, V as VIDEO_SOURCE, r as VIDEO_SOURCES, s as VIEW_MODE, t as VIEW_MODES, u as VideoSource, v as ViewMode } from './mock-provider-DrtiUc3h.cjs';
1
+ import { F as FileManagerPageProps, a as FileManagerModalProps, b as FileManagerRootProps, c as FileMetaData, d as Folder, P as PaginationInfo, M as Mode, S as SelectionMode, e as FileType, I as IFileManagerProvider, f as FileUploadInput, g as FolderId, E as EntityId } from './mock-provider-D1q21QlM.cjs';
2
+ export { h as FILE_TYPE, i as FILE_TYPES, j as FileStateOptions, k as FormatDetails, l as MODE, m as MODES, n as MetaDataType, o as MockProvider, p as SELECTION_MODE, q as SELECTION_MODES, T as Tag, V as VIDEO_SOURCE, r as VIDEO_SOURCES, s as VIEW_MODE, t as VIEW_MODES, u as VideoSource, v as ViewMode } from './mock-provider-D1q21QlM.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  declare function FileManager(props: Readonly<FileManagerPageProps>): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FileManagerPageProps, a as FileManagerModalProps, b as FileManagerRootProps, c as FileMetaData, d as Folder, P as PaginationInfo, M as Mode, S as SelectionMode, e as FileType, I as IFileManagerProvider, f as FileUploadInput, g as FolderId, E as EntityId } from './mock-provider-DrtiUc3h.js';
2
- export { h as FILE_TYPE, i as FILE_TYPES, j as FileStateOptions, k as FormatDetails, l as MODE, m as MODES, n as MetaDataType, o as MockProvider, p as SELECTION_MODE, q as SELECTION_MODES, T as Tag, V as VIDEO_SOURCE, r as VIDEO_SOURCES, s as VIEW_MODE, t as VIEW_MODES, u as VideoSource, v as ViewMode } from './mock-provider-DrtiUc3h.js';
1
+ import { F as FileManagerPageProps, a as FileManagerModalProps, b as FileManagerRootProps, c as FileMetaData, d as Folder, P as PaginationInfo, M as Mode, S as SelectionMode, e as FileType, I as IFileManagerProvider, f as FileUploadInput, g as FolderId, E as EntityId } from './mock-provider-D1q21QlM.js';
2
+ export { h as FILE_TYPE, i as FILE_TYPES, j as FileStateOptions, k as FormatDetails, l as MODE, m as MODES, n as MetaDataType, o as MockProvider, p as SELECTION_MODE, q as SELECTION_MODES, T as Tag, V as VIDEO_SOURCE, r as VIDEO_SOURCES, s as VIEW_MODE, t as VIEW_MODES, u as VideoSource, v as ViewMode } from './mock-provider-D1q21QlM.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  declare function FileManager(props: Readonly<FileManagerPageProps>): react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import {c,b as b$1,a,y,d,h,r,K,L,v,q,F,w as w$1,t,u,s,x,p,E,D,Q,R as R$1,M,I,N,f,G,C,H,n,O,P,J,o,z,A,B}from'./chunk-DXJH5W7A.js';export{f as FILE_TYPE,g as FILE_TYPES,d as MODE,e as MODES,S as MockProvider,h as SELECTION_MODE,i as SELECTION_MODES,l as VIDEO_SOURCE,m as VIDEO_SOURCES,j as VIEW_MODE,k as VIEW_MODES}from'./chunk-DXJH5W7A.js';import yi,{createContext,forwardRef,useMemo,useContext,useState,useRef,useEffect,useCallback,Component}from'react';import {toast}from'sonner';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {clsx}from'clsx';import {twMerge}from'tailwind-merge';import {cva}from'class-variance-authority';import {Slot,Dialog,DropdownMenu,Checkbox,Label}from'radix-ui';import*as Ne from'@radix-ui/react-tooltip';import {Command}from'cmdk';import*as X from'@radix-ui/react-context-menu';var ao="locationchange";if(typeof window!="undefined"&&!window.__navigationPatched){window.__navigationPatched=true;let e=window.history.pushState,t=window.history.replaceState;window.history.pushState=function(...a){let o=e.apply(this,a);return setTimeout(()=>window.dispatchEvent(new Event(ao)),0),o},window.history.replaceState=function(...a){let o=t.apply(this,a);return setTimeout(()=>window.dispatchEvent(new Event(ao)),0),o};}function ro({basePath:e,onNavigate:t}={}){let[a,o]=useState(()=>typeof window!="undefined"?window.location.pathname:"/"),[r,n]=useState(()=>typeof window!="undefined"?window.location.search:"");useEffect(()=>{let p=()=>{o(window.location.pathname),n(window.location.search);};return window.addEventListener("popstate",p),window.addEventListener(ao,p),()=>{window.removeEventListener("popstate",p),window.removeEventListener(ao,p);}},[]);let s=useCallback((p,F)=>{t?t(p,F):(history.pushState(null,"",p),(F==null?void 0:F.scroll)!==false&&window.scrollTo(0,0));},[t]),d=useCallback(p=>{t?t(p,{replace:true}):history.replaceState(null,"",p);},[t]),l=useCallback(()=>{history.back();},[]),v=useMemo(()=>new URLSearchParams(r),[r]),u=useMemo(()=>{if(!e)return {};let p=e.replace(/\/$/,""),F=p.startsWith("/")?p:`/${p}`;if(!a.startsWith(F))return {};let c=a.slice(F.length).replace(/^\//,"");return c?{path:c.split("/").filter(Boolean)[0]}:{}},[a,e]);return {push:s,replace:d,back:l,pathname:a,searchParams:v,params:u}}var Po=(e,t)=>{let a=[...e];return t.forEach(o=>{a.some(n=>n.id===o.id)?a=a.filter(n=>n.id!==o.id):a.push(o);}),a},ma=(e,t)=>{let a=[...e];return t.forEach(o=>{a.some(n=>n.id===o.id)?a=a.filter(n=>n.id!==o.id):a.push(o);}),a};function pa(e){let{mode:t,selectionMode:a$1,files:o,folders:r,selectedFiles:n,selectedFolders:s,currentFolder:d$1,setSelectedFiles:l,setSelectedFolders:v,setCurrentFolder:u,setFiles:p,setFolders:F,setPagination:c$1,loadData:h,isInSelectionMode:N,provider:x,onFilesSelected:V,onClose:C,basePath:I,setIsLoading:D,setFileDetailsModalFile:O}=e,{push:P}=ro({basePath:e.basePath,onNavigate:e.onNavigate}),J=useCallback((M,z,A=false)=>{let B=[M];if(A||z&&(z.metaKey||z.ctrlKey)){l(Q=>Po(Q,B));return}if(N()&&t!==d.MODAL){l(Q=>Po(Q,B));return}if(t===d.MODAL){a$1==="single"?(l([M]),V==null||V([M]),C==null||C()):l(Q=>Po(Q,B));return}O(M);},[t,a$1,N,l,V,C,O]),q=useCallback((M,z,A=false)=>{let B=M?M.id:null;if((A||z&&(z.metaKey||z.ctrlKey))&&M){v(Q=>ma(Q,[M]));return}if(N()&&M){v(Q=>ma(Q,[M]));return}if(t===d.PAGE){D(true);let Q=I!=null?I:"/media",De=Q.startsWith("/")?Q:`/${Q}`,yt=B===null?De:`${De}/${B}`;P(yt);}else {D(true),l([]),v([]);let Q=new URLSearchParams(globalThis.location.search);B===null?Q.delete("folderId"):Q.set("folderId",String(B)),Q.set("page","1");let De=`${globalThis.location.pathname}?${Q.toString()}`;P(De,{scroll:false});}},[N,t,P,v,l,I,D]),W=useCallback(()=>{l([]),v([]);},[l,v]),g=useCallback(M=>{M?(l(o),v(t===d.PAGE?r:[])):(l([]),v([]));},[o,r,t,l,v]),k=useCallback(async(M=false)=>{await h(M);},[h]),m=useCallback(async M=>{var z;try{await x.uploadFiles(M,(z=d$1==null?void 0:d$1.id)!=null?z:null),await k(!0),l([]),toast.success("Upload Successful",{description:`${M.length} file(s) uploaded successfully`});}catch(A){let B=A instanceof Error?A.message:"Failed to upload files";toast.error("Upload Failed",{description:B}),console.error("Upload failed:",A);}},[d$1,x,k,l]),T=useCallback(async M=>{var z;try{await x.createFolder(M,(z=d$1==null?void 0:d$1.id)!=null?z:null),await k(!0),l([]),toast.success("Folder Created",{description:`Folder "${M}" created successfully`});}catch(A){let B=A instanceof Error?A.message:"Failed to create folder";toast.error("Create Folder Failed",{description:B}),console.error("Failed to create folder:",A);}},[d$1,x,k,l]),S=useCallback(async M=>{try{n.length>0&&await x.moveFiles(n.map(A=>A.id),M),s.length>0&&await x.moveFolders(s.map(A=>A.id),M),await k(!0),l([]),v([]);let z=n.length+s.length;toast.success("Move Successful",{description:`${z} item(s) moved successfully`});}catch(z){let A=z instanceof Error?z.message:"Failed to move items";toast.error("Move Failed",{description:A}),console.error("Failed to move items:",z);}},[n,s,x,k,l,v]),E=useCallback(async(M,z)=>{try{F(A=>A.map(B=>B.id===M?b$1(a({},B),{name:z}):B)),await x.renameFolder(M,z),await k(!0),toast.success("Folder Renamed",{description:`Folder renamed to "${z}"`});}catch(A){let B=A instanceof Error?A.message:"Failed to rename folder";toast.error("Rename Failed",{description:B}),console.error("Failed to rename folder:",A);}},[x,k,F]),be=useCallback(async(M,z)=>{try{p(A=>A.map(B=>{if(B.id===M){let ht=z,{metaData:Q}=ht,De=c(ht,["metaData"]);return b$1(a(a({},B),De),{metaData:Q?a(a({},B.metaData),Q):B.metaData})}return B})),await x.updateFileMetaData(M,z),await k(!0);}catch(A){let B=A instanceof Error?A.message:"Failed to update metadata";toast.error("Update Failed",{description:B}),console.error("Failed to update metadata:",A);}},[x,k,p]),qe=useCallback(async()=>{try{n.length>0&&await x.deleteFiles(n.map(z=>z.id)),s.length>0&&await x.deleteFolders(s.map(z=>z.id)),await k(!0),l([]),v([]);let M=n.length+s.length;toast.success("Delete Successful",{description:`${M} item(s) deleted successfully`});}catch(M){let z=M instanceof Error?M.message:"Failed to delete items";toast.error("Delete Failed",{description:z}),console.error("Failed to delete items:",M);}},[n,s,x,k,l,v]);return {handleFileClick:J,handleFolderClick:q,handleClearSelection:W,handleSelectAllGlobal:g,uploadFiles:m,createFolder:T,bulkMove:S,renameFolder:E,updateFileMetadata:be,bulkDelete:qe,refreshData:k}}function va(e){let{mode:t,selectionMode:a$1,initialFolderId:o,acceptedFileTypesForModal:r,allowedFileTypes:n,provider:s,onFilesSelected:d$1,onClose:l,basePath:v,onNavigate:u}=e,{params:p,searchParams:F,push:c,replace:h,pathname:N}=ro({basePath:v,onNavigate:u}),x=Math.max(1,Number.parseInt(F.get("page")||"1",10)),V=Math.max(1,Number.parseInt(F.get("limit")||"24",10)),C=F.get("query")||"",I=useMemo(()=>{if(t===d.PAGE&&(p!=null&&p.path)){let L=Array.isArray(p.path)?p.path[0]:p.path;return typeof L=="string"&&/^\d+$/.test(L)?Number(L):null}if(t===d.MODAL){let L=F.get("folderId");if(L&&/^\d+$/.test(L))return Number(L)}return o!=null?o:null},[t,p,F,o]),[D,O]=useState([]),[P,J]=useState([]),[q,W]=useState([]),[g,k]=useState([]),[m,T]=useState(null),[S,E]=useState(true),[be,qe]=useState({currentPage:x,totalPages:1,totalFiles:0,filesPerPage:V}),M=useRef(null);M.current=m;let[z,A]=useState(C),[B,ht]=useState(C);useEffect(()=>{let L=setTimeout(()=>{ht(z);},300);return ()=>clearTimeout(L)},[z]);let Q=useRef(I),De=useCallback((L,se,ae=false)=>{let ee=new URLSearchParams(F.toString());ee.set("page",L.toString()),ee.set("limit",se.toString());let pt=ee.toString(),Ee=pt?`${N}?${pt}`:N;ae?h(Ee):c(Ee,{scroll:false});},[c,h,N,F]);useEffect(()=>{qe(L=>b$1(a({},L),{currentPage:x,filesPerPage:V})),A(C);},[x,V,C]),useEffect(()=>{I!==Q.current&&(t===d.PAGE&&De(1,V,true),Q.current=I);},[I,V,De,t]);let yt=be.currentPage,wt=be.filesPerPage;useEffect(()=>{let L=false,se=async()=>{if(I&&(!M.current||M.current.id!==I))try{E(!0);let ee=await s.getFolder(I);if(L)return;T(ee),await ae(ee);}catch(ee){let pt=ee instanceof Error?ee.message:"Failed to load folder";if(toast.error("Load Folder Failed",{description:pt}),console.error("Failed to fetch current folder",ee),L)return;T(null),L||E(false);}else I===null&&M.current!==null?(T(null),await ae(null)):M.current?await ae(M.current):await ae(null);},ae=async ee=>{var pt;if(!L){E(true);try{let Ee=[];t===d.MODAL?Ee=r:Ee=n;let _t=await s.getItems((pt=ee==null?void 0:ee.id)!=null?pt:null,Ee,yt,wt,B);if(L)return;J(_t.folders),O(_t.files),qe(_t.pagination);}catch(Ee){let _t=Ee instanceof Error?Ee.message:"Failed to load data";toast.error("Load Data Failed",{description:_t}),console.error("Failed to load data:",Ee);}finally{L||E(false);}}};return se(),()=>{L=true;}},[I,s,t,r,n,yt,wt,B]),useEffect(()=>{k([]),W([]);},[m]);let[_r,Ar]=useState(false),[Or,Br]=useState(false),[Gr,Vr]=useState(false),[Ur,Hr]=useState(false),[$r,Kr]=useState(false),[Wr,jr]=useState(null),[Qr,qr]=useState(null),Yr=useCallback(async(L=false)=>{var se;L||E(true);try{let ae=[];t===d.MODAL?ae=r:ae=n;let ee=await s.getItems((se=m==null?void 0:m.id)!=null?se:null,ae,yt,wt,B);J(ee.folders),O(ee.files),qe(ee.pagination);}catch(ae){let ee=ae instanceof Error?ae.message:"Failed to load data";toast.error("Load Data Failed",{description:ee}),console.error("Failed to load data:",ae);}finally{L||E(false);}},[m,t,r,n,s,yt,wt,B]),Zr=()=>q.length>0||g.length>0,Jr=()=>m,Xr=useMemo(()=>()=>{let L=D.length+(t===d.PAGE?P.length:0),se=q.length+g.length;return se===0?false:se===L?true:"indeterminate"},[D.length,P.length,q.length,g.length,t]),en=useCallback(L=>{qe(se=>b$1(a({},se),{currentPage:L})),t===d.PAGE&&De(L,wt);},[De,wt,t]),tn=useCallback(L=>{A(L);let se=new URLSearchParams(F.toString());L.trim()?(se.set("query",L),se.set("page","1")):se.delete("query");let ae=se.toString();h(ae?`${N}?${ae}`:N);},[h,N,F]);return {files:D,folders:P,selectedFiles:q,selectedFolders:g,currentFolder:m,isLoading:S,pagination:be,isUploadModalOpen:_r,isCreateFolderModalOpen:Or,isSearchModalOpen:Gr,isMoveFileModalOpen:Ur,isRenameFolderModalOpen:$r,fileDetailsModalFile:Qr,folderToRename:Wr,setFiles:O,setFolders:J,setSelectedFiles:W,setSelectedFolders:k,setCurrentFolder:T,setPagination:qe,setIsUploadModalOpen:Ar,setIsCreateFolderModalOpen:Br,setIsSearchModalOpen:Vr,setIsMoveFileModalOpen:Hr,setIsRenameFolderModalOpen:Kr,setFileDetailsModalFile:qr,setFolderToRename:jr,loadData:Yr,setIsLoading:E,isInSelectionMode:Zr,getCurrentFolder:Jr,getSelectionState:Xr,handlePageChange:en,searchQuery:z,updateSearchQuery:tn,mode:t,selectionMode:a$1,acceptedFileTypesForModal:r,provider:s,onFilesSelected:d$1,onClose:l,basePath:v,onNavigate:u}}var xa=createContext(void 0);function io({children:e,mode:t=d.PAGE,selectionMode:a=h.SINGLE,allowedFileTypes:o,onFilesSelected:r,onClose:n,acceptedFileTypesForModal:s,initialFolderId:d$1=null,provider:l,basePath:v="/media",maxUploadFiles:u=50,maxUploadSize:p=100*1024*1024,onNavigate:F}){let c=va({mode:t,selectionMode:a,initialFolderId:d$1,acceptedFileTypesForModal:s,allowedFileTypes:o,provider:l,onFilesSelected:r,onClose:n,basePath:v,onNavigate:F}),h=pa(c),N=useMemo(()=>({files:c.files,folders:c.folders,selectedFiles:c.selectedFiles,selectedFolders:c.selectedFolders,currentFolder:c.currentFolder,isLoading:c.isLoading,pagination:c.pagination,isUploadModalOpen:c.isUploadModalOpen,isCreateFolderModalOpen:c.isCreateFolderModalOpen,isSearchModalOpen:c.isSearchModalOpen,isMoveFileModalOpen:c.isMoveFileModalOpen,isRenameFolderModalOpen:c.isRenameFolderModalOpen,fileDetailsModalFile:c.fileDetailsModalFile,folderToRename:c.folderToRename,mode:c.mode,selectionMode:c.selectionMode,allowedFileTypes:o,acceptedFileTypesForModal:c.acceptedFileTypesForModal,maxUploadFiles:u,maxUploadSize:p,setIsUploadModalOpen:c.setIsUploadModalOpen,setIsCreateFolderModalOpen:c.setIsCreateFolderModalOpen,setIsSearchModalOpen:c.setIsSearchModalOpen,setIsMoveFileModalOpen:c.setIsMoveFileModalOpen,setSelectedFiles:c.setSelectedFiles,setSelectedFolders:c.setSelectedFolders,setIsRenameFolderModalOpen:c.setIsRenameFolderModalOpen,setFileDetailsModalFile:c.setFileDetailsModalFile,setFolderToRename:c.setFolderToRename,handleFileClick:h.handleFileClick,handleFolderClick:h.handleFolderClick,handleClearSelection:h.handleClearSelection,handleSelectAllGlobal:h.handleSelectAllGlobal,handlePageChange:c.handlePageChange,searchQuery:c.searchQuery,updateSearchQuery:c.updateSearchQuery,uploadFiles:h.uploadFiles,createFolder:h.createFolder,bulkMove:h.bulkMove,renameFolder:h.renameFolder,updateFileMetadata:h.updateFileMetadata,bulkDelete:h.bulkDelete,refreshData:h.refreshData,isInSelectionMode:c.isInSelectionMode,getCurrentFolder:c.getCurrentFolder,getSelectionState:c.getSelectionState,onClose:c.onClose,onFilesSelected:c.onFilesSelected,provider:l,basePath:c.basePath}),[c,h,l,o,u,p]);return jsx(xa.Provider,{value:N,children:e})}function R(){let e=useContext(xa);if(e===void 0)throw new Error("useFileManager must be used within a FileManagerProvider");return e}function b(...e){return twMerge(clsx(e))}var ba=a$1=>{var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("nav",a({"data-slot":"pagination",role:"navigation","aria-label":"pagination",className:b("mx-auto flex w-full justify-center",e)},t))};function ha(a$1){var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("ul",a({"data-slot":"pagination-content",className:b("flex flex-row items-center gap-1",e)},t))}function $t(a$1){var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("li",a({"data-slot":"pagination-item",className:b("",e)},t))}var ya=a$1=>{var o=a$1,{className:e}=o,t=c(o,["className"]);return jsxs("span",b$1(a({"data-slot":"pagination-ellipsis","aria-hidden":true,className:b("flex h-9 w-9 items-center justify-center",e)},t),{children:[jsx(F,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"More pages"})]}))};var fn=cva("cursor-pointer group whitespace-nowrap focus-visible:outline-hidden inline-flex items-center justify-center has-data-[arrow=true]:justify-between whitespace-nowrap text-sm font-medium ring-offset-background transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-60 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-primary/90 data-[state=open]:bg-primary/90",mono:"bg-zinc-950 text-white dark:bg-zinc-300 dark:text-black hover:bg-zinc-950/90 dark:hover:bg-zinc-300/90 data-[state=open]:bg-zinc-950/90 dark:data-[state=open]:bg-zinc-300/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 data-[state=open]:bg-destructive/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/90 data-[state=open]:bg-secondary/90",outline:"bg-background text-accent-foreground border border-input hover:bg-accent data-[state=open]:bg-accent",dashed:"text-accent-foreground border border-input border-dashed bg-background hover:bg-accent hover:text-accent-foreground data-[state=open]:text-accent-foreground",ghost:"text-accent-foreground hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",dim:"text-muted-foreground hover:text-foreground data-[state=open]:text-foreground",foreground:"",inverse:""},appearance:{default:"",ghost:""},underline:{solid:"",dashed:""},underlined:{solid:"",dashed:""},size:{lg:"h-10 px-4 text-sm gap-1.5 [&_svg:not([class*=size-])]:size-4",md:"h-9 px-3 gap-1.5 text-sm [&_svg:not([class*=size-])]:size-4",sm:"h-8 px-2.5 gap-1.25 text-xs [&_svg:not([class*=size-])]:size-3.5",xs:"h-7 px-2 gap-1 text-xs [&_svg:not([class*=size-])]:size-3.5",icon:"size-9 [&_svg:not([class*=size-])]:size-4 shrink-0"},autoHeight:{true:"",false:""},radius:{md:"rounded-md",full:"rounded-full"},mode:{default:"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",icon:"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 shrink-0",link:"text-primary h-auto p-0 bg-transparent rounded-none hover:bg-transparent data-[state=open]:bg-transparent",input:`
1
+ import {c,b as b$1,a,y,d,h,r,K,L,v,q,F,w as w$1,t,u,s,x,p,E,D,Q,R as R$1,M,I,N,f,G,C,H,n,O,P,J,o,z,A,B}from'./chunk-NOCFQCIH.js';export{f as FILE_TYPE,g as FILE_TYPES,d as MODE,e as MODES,S as MockProvider,h as SELECTION_MODE,i as SELECTION_MODES,l as VIDEO_SOURCE,m as VIDEO_SOURCES,j as VIEW_MODE,k as VIEW_MODES}from'./chunk-NOCFQCIH.js';import yi,{createContext,forwardRef,useMemo,useContext,useState,useRef,useEffect,useCallback,Component}from'react';import {toast}from'sonner';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {clsx}from'clsx';import {twMerge}from'tailwind-merge';import {cva}from'class-variance-authority';import {Slot,Dialog,DropdownMenu,Checkbox,Label}from'radix-ui';import*as Ne from'@radix-ui/react-tooltip';import {Command}from'cmdk';import*as X from'@radix-ui/react-context-menu';var ao="locationchange";if(typeof window!="undefined"&&!window.__navigationPatched){window.__navigationPatched=true;let e=window.history.pushState,t=window.history.replaceState;window.history.pushState=function(...a){let o=e.apply(this,a);return setTimeout(()=>window.dispatchEvent(new Event(ao)),0),o},window.history.replaceState=function(...a){let o=t.apply(this,a);return setTimeout(()=>window.dispatchEvent(new Event(ao)),0),o};}function ro({basePath:e,onNavigate:t}={}){let[a,o]=useState(()=>typeof window!="undefined"?window.location.pathname:"/"),[r,n]=useState(()=>typeof window!="undefined"?window.location.search:"");useEffect(()=>{let p=()=>{o(window.location.pathname),n(window.location.search);};return window.addEventListener("popstate",p),window.addEventListener(ao,p),()=>{window.removeEventListener("popstate",p),window.removeEventListener(ao,p);}},[]);let s=useCallback((p,F)=>{t?t(p,F):(history.pushState(null,"",p),(F==null?void 0:F.scroll)!==false&&window.scrollTo(0,0));},[t]),d=useCallback(p=>{t?t(p,{replace:true}):history.replaceState(null,"",p);},[t]),l=useCallback(()=>{history.back();},[]),v=useMemo(()=>new URLSearchParams(r),[r]),u=useMemo(()=>{if(!e)return {};let p=e.replace(/\/$/,""),F=p.startsWith("/")?p:`/${p}`;if(!a.startsWith(F))return {};let c=a.slice(F.length).replace(/^\//,"");return c?{path:c.split("/").filter(Boolean)[0]}:{}},[a,e]);return {push:s,replace:d,back:l,pathname:a,searchParams:v,params:u}}var Po=(e,t)=>{let a=[...e];return t.forEach(o=>{a.some(n=>n.id===o.id)?a=a.filter(n=>n.id!==o.id):a.push(o);}),a},ma=(e,t)=>{let a=[...e];return t.forEach(o=>{a.some(n=>n.id===o.id)?a=a.filter(n=>n.id!==o.id):a.push(o);}),a};function pa(e){let{mode:t,selectionMode:a$1,files:o,folders:r,selectedFiles:n,selectedFolders:s,currentFolder:d$1,setSelectedFiles:l,setSelectedFolders:v,setCurrentFolder:u,setFiles:p,setFolders:F,setPagination:c$1,loadData:h,isInSelectionMode:N,provider:x,onFilesSelected:V,onClose:C,basePath:I,setIsLoading:D,setFileDetailsModalFile:O}=e,{push:P}=ro({basePath:e.basePath,onNavigate:e.onNavigate}),J=useCallback((M,z,A=false)=>{let B=[M];if(A||z&&(z.metaKey||z.ctrlKey)){l(Q=>Po(Q,B));return}if(N()&&t!==d.MODAL){l(Q=>Po(Q,B));return}if(t===d.MODAL){a$1==="single"?(l([M]),V==null||V([M]),C==null||C()):l(Q=>Po(Q,B));return}O(M);},[t,a$1,N,l,V,C,O]),q=useCallback((M,z,A=false)=>{let B=M?M.id:null;if((A||z&&(z.metaKey||z.ctrlKey))&&M){v(Q=>ma(Q,[M]));return}if(N()&&M){v(Q=>ma(Q,[M]));return}if(t===d.PAGE){D(true);let Q=I!=null?I:"/media",De=Q.startsWith("/")?Q:`/${Q}`,yt=B===null?De:`${De}/${B}`;P(yt);}else {D(true),l([]),v([]);let Q=new URLSearchParams(globalThis.location.search);B===null?Q.delete("folderId"):Q.set("folderId",String(B)),Q.set("page","1");let De=`${globalThis.location.pathname}?${Q.toString()}`;P(De,{scroll:false});}},[N,t,P,v,l,I,D]),W=useCallback(()=>{l([]),v([]);},[l,v]),g=useCallback(M=>{M?(l(o),v(t===d.PAGE?r:[])):(l([]),v([]));},[o,r,t,l,v]),k=useCallback(async(M=false)=>{await h(M);},[h]),m=useCallback(async M=>{var z;try{await x.uploadFiles(M,(z=d$1==null?void 0:d$1.id)!=null?z:null),await k(!0),l([]),toast.success("Upload Successful",{description:`${M.length} file(s) uploaded successfully`});}catch(A){let B=A instanceof Error?A.message:"Failed to upload files";toast.error("Upload Failed",{description:B}),console.error("Upload failed:",A);}},[d$1,x,k,l]),T=useCallback(async M=>{var z;try{await x.createFolder(M,(z=d$1==null?void 0:d$1.id)!=null?z:null),await k(!0),l([]),toast.success("Folder Created",{description:`Folder "${M}" created successfully`});}catch(A){let B=A instanceof Error?A.message:"Failed to create folder";toast.error("Create Folder Failed",{description:B}),console.error("Failed to create folder:",A);}},[d$1,x,k,l]),S=useCallback(async M=>{try{n.length>0&&await x.moveFiles(n.map(A=>A.id),M),s.length>0&&await x.moveFolders(s.map(A=>A.id),M),await k(!0),l([]),v([]);let z=n.length+s.length;toast.success("Move Successful",{description:`${z} item(s) moved successfully`});}catch(z){let A=z instanceof Error?z.message:"Failed to move items";toast.error("Move Failed",{description:A}),console.error("Failed to move items:",z);}},[n,s,x,k,l,v]),E=useCallback(async(M,z)=>{try{F(A=>A.map(B=>B.id===M?b$1(a({},B),{name:z}):B)),await x.renameFolder(M,z),await k(!0),toast.success("Folder Renamed",{description:`Folder renamed to "${z}"`});}catch(A){let B=A instanceof Error?A.message:"Failed to rename folder";toast.error("Rename Failed",{description:B}),console.error("Failed to rename folder:",A);}},[x,k,F]),be=useCallback(async(M,z)=>{try{p(A=>A.map(B=>{if(B.id===M){let ht=z,{metaData:Q}=ht,De=c(ht,["metaData"]);return b$1(a(a({},B),De),{metaData:Q?a(a({},B.metaData),Q):B.metaData})}return B})),await x.updateFileMetaData(M,z),await k(!0);}catch(A){let B=A instanceof Error?A.message:"Failed to update metadata";toast.error("Update Failed",{description:B}),console.error("Failed to update metadata:",A);}},[x,k,p]),qe=useCallback(async()=>{try{n.length>0&&await x.deleteFiles(n.map(z=>z.id)),s.length>0&&await x.deleteFolders(s.map(z=>z.id)),await k(!0),l([]),v([]);let M=n.length+s.length;toast.success("Delete Successful",{description:`${M} item(s) deleted successfully`});}catch(M){let z=M instanceof Error?M.message:"Failed to delete items";toast.error("Delete Failed",{description:z}),console.error("Failed to delete items:",M);}},[n,s,x,k,l,v]);return {handleFileClick:J,handleFolderClick:q,handleClearSelection:W,handleSelectAllGlobal:g,uploadFiles:m,createFolder:T,bulkMove:S,renameFolder:E,updateFileMetadata:be,bulkDelete:qe,refreshData:k}}function va(e){let{mode:t,selectionMode:a$1,initialFolderId:o,acceptedFileTypesForModal:r,allowedFileTypes:n,provider:s,onFilesSelected:d$1,onClose:l,basePath:v,onNavigate:u}=e,{params:p,searchParams:F,push:c,replace:h,pathname:N}=ro({basePath:v,onNavigate:u}),x=Math.max(1,Number.parseInt(F.get("page")||"1",10)),V=Math.max(1,Number.parseInt(F.get("limit")||"24",10)),C=F.get("query")||"",I=useMemo(()=>{if(t===d.PAGE&&(p!=null&&p.path)){let L=Array.isArray(p.path)?p.path[0]:p.path;return typeof L=="string"&&/^\d+$/.test(L)?Number(L):null}if(t===d.MODAL){let L=F.get("folderId");if(L&&/^\d+$/.test(L))return Number(L)}return o!=null?o:null},[t,p,F,o]),[D,O]=useState([]),[P,J]=useState([]),[q,W]=useState([]),[g,k]=useState([]),[m,T]=useState(null),[S,E]=useState(true),[be,qe]=useState({currentPage:x,totalPages:1,totalFiles:0,filesPerPage:V}),M=useRef(null);M.current=m;let[z,A]=useState(C),[B,ht]=useState(C);useEffect(()=>{let L=setTimeout(()=>{ht(z);},300);return ()=>clearTimeout(L)},[z]);let Q=useRef(I),De=useCallback((L,se,ae=false)=>{let ee=new URLSearchParams(F.toString());ee.set("page",L.toString()),ee.set("limit",se.toString());let pt=ee.toString(),Ee=pt?`${N}?${pt}`:N;ae?h(Ee):c(Ee,{scroll:false});},[c,h,N,F]);useEffect(()=>{qe(L=>b$1(a({},L),{currentPage:x,filesPerPage:V})),A(C);},[x,V,C]),useEffect(()=>{I!==Q.current&&(t===d.PAGE&&De(1,V,true),Q.current=I);},[I,V,De,t]);let yt=be.currentPage,wt=be.filesPerPage;useEffect(()=>{let L=false,se=async()=>{if(I&&(!M.current||M.current.id!==I))try{E(!0);let ee=await s.getFolder(I);if(L)return;T(ee),await ae(ee);}catch(ee){let pt=ee instanceof Error?ee.message:"Failed to load folder";if(toast.error("Load Folder Failed",{description:pt}),console.error("Failed to fetch current folder",ee),L)return;T(null),L||E(false);}else I===null&&M.current!==null?(T(null),await ae(null)):M.current?await ae(M.current):await ae(null);},ae=async ee=>{var pt;if(!L){E(true);try{let Ee=[];t===d.MODAL?Ee=r:Ee=n;let _t=await s.getItems((pt=ee==null?void 0:ee.id)!=null?pt:null,Ee,yt,wt,B);if(L)return;J(_t.folders),O(_t.files),qe(_t.pagination);}catch(Ee){let _t=Ee instanceof Error?Ee.message:"Failed to load data";toast.error("Load Data Failed",{description:_t}),console.error("Failed to load data:",Ee);}finally{L||E(false);}}};return se(),()=>{L=true;}},[I,s,t,r,n,yt,wt,B]),useEffect(()=>{k([]),W([]);},[m]);let[_r,Ar]=useState(false),[Or,Br]=useState(false),[Gr,Vr]=useState(false),[Ur,Hr]=useState(false),[$r,Kr]=useState(false),[Wr,jr]=useState(null),[Qr,qr]=useState(null),Yr=useCallback(async(L=false)=>{var se;L||E(true);try{let ae=[];t===d.MODAL?ae=r:ae=n;let ee=await s.getItems((se=m==null?void 0:m.id)!=null?se:null,ae,yt,wt,B);J(ee.folders),O(ee.files),qe(ee.pagination);}catch(ae){let ee=ae instanceof Error?ae.message:"Failed to load data";toast.error("Load Data Failed",{description:ee}),console.error("Failed to load data:",ae);}finally{L||E(false);}},[m,t,r,n,s,yt,wt,B]),Zr=()=>q.length>0||g.length>0,Jr=()=>m,Xr=useMemo(()=>()=>{let L=D.length+(t===d.PAGE?P.length:0),se=q.length+g.length;return se===0?false:se===L?true:"indeterminate"},[D.length,P.length,q.length,g.length,t]),en=useCallback(L=>{qe(se=>b$1(a({},se),{currentPage:L})),t===d.PAGE&&De(L,wt);},[De,wt,t]),tn=useCallback(L=>{A(L);let se=new URLSearchParams(F.toString());L.trim()?(se.set("query",L),se.set("page","1")):se.delete("query");let ae=se.toString();h(ae?`${N}?${ae}`:N);},[h,N,F]);return {files:D,folders:P,selectedFiles:q,selectedFolders:g,currentFolder:m,isLoading:S,pagination:be,isUploadModalOpen:_r,isCreateFolderModalOpen:Or,isSearchModalOpen:Gr,isMoveFileModalOpen:Ur,isRenameFolderModalOpen:$r,fileDetailsModalFile:Qr,folderToRename:Wr,setFiles:O,setFolders:J,setSelectedFiles:W,setSelectedFolders:k,setCurrentFolder:T,setPagination:qe,setIsUploadModalOpen:Ar,setIsCreateFolderModalOpen:Br,setIsSearchModalOpen:Vr,setIsMoveFileModalOpen:Hr,setIsRenameFolderModalOpen:Kr,setFileDetailsModalFile:qr,setFolderToRename:jr,loadData:Yr,setIsLoading:E,isInSelectionMode:Zr,getCurrentFolder:Jr,getSelectionState:Xr,handlePageChange:en,searchQuery:z,updateSearchQuery:tn,mode:t,selectionMode:a$1,acceptedFileTypesForModal:r,provider:s,onFilesSelected:d$1,onClose:l,basePath:v,onNavigate:u}}var xa=createContext(void 0);function io({children:e,mode:t=d.PAGE,selectionMode:a=h.SINGLE,allowedFileTypes:o,onFilesSelected:r,onClose:n,acceptedFileTypesForModal:s,initialFolderId:d$1=null,provider:l,basePath:v="/media",maxUploadFiles:u=50,maxUploadSize:p=100*1024*1024,onNavigate:F}){let c=va({mode:t,selectionMode:a,initialFolderId:d$1,acceptedFileTypesForModal:s,allowedFileTypes:o,provider:l,onFilesSelected:r,onClose:n,basePath:v,onNavigate:F}),h=pa(c),N=useMemo(()=>({files:c.files,folders:c.folders,selectedFiles:c.selectedFiles,selectedFolders:c.selectedFolders,currentFolder:c.currentFolder,isLoading:c.isLoading,pagination:c.pagination,isUploadModalOpen:c.isUploadModalOpen,isCreateFolderModalOpen:c.isCreateFolderModalOpen,isSearchModalOpen:c.isSearchModalOpen,isMoveFileModalOpen:c.isMoveFileModalOpen,isRenameFolderModalOpen:c.isRenameFolderModalOpen,fileDetailsModalFile:c.fileDetailsModalFile,folderToRename:c.folderToRename,mode:c.mode,selectionMode:c.selectionMode,allowedFileTypes:o,acceptedFileTypesForModal:c.acceptedFileTypesForModal,maxUploadFiles:u,maxUploadSize:p,setIsUploadModalOpen:c.setIsUploadModalOpen,setIsCreateFolderModalOpen:c.setIsCreateFolderModalOpen,setIsSearchModalOpen:c.setIsSearchModalOpen,setIsMoveFileModalOpen:c.setIsMoveFileModalOpen,setSelectedFiles:c.setSelectedFiles,setSelectedFolders:c.setSelectedFolders,setIsRenameFolderModalOpen:c.setIsRenameFolderModalOpen,setFileDetailsModalFile:c.setFileDetailsModalFile,setFolderToRename:c.setFolderToRename,handleFileClick:h.handleFileClick,handleFolderClick:h.handleFolderClick,handleClearSelection:h.handleClearSelection,handleSelectAllGlobal:h.handleSelectAllGlobal,handlePageChange:c.handlePageChange,searchQuery:c.searchQuery,updateSearchQuery:c.updateSearchQuery,uploadFiles:h.uploadFiles,createFolder:h.createFolder,bulkMove:h.bulkMove,renameFolder:h.renameFolder,updateFileMetadata:h.updateFileMetadata,bulkDelete:h.bulkDelete,refreshData:h.refreshData,isInSelectionMode:c.isInSelectionMode,getCurrentFolder:c.getCurrentFolder,getSelectionState:c.getSelectionState,onClose:c.onClose,onFilesSelected:c.onFilesSelected,provider:l,basePath:c.basePath}),[c,h,l,o,u,p]);return jsx(xa.Provider,{value:N,children:e})}function R(){let e=useContext(xa);if(e===void 0)throw new Error("useFileManager must be used within a FileManagerProvider");return e}function b(...e){return twMerge(clsx(e))}var ba=a$1=>{var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("nav",a({"data-slot":"pagination",role:"navigation","aria-label":"pagination",className:b("mx-auto flex w-full justify-center",e)},t))};function ha(a$1){var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("ul",a({"data-slot":"pagination-content",className:b("flex flex-row items-center gap-1",e)},t))}function $t(a$1){var o=a$1,{className:e}=o,t=c(o,["className"]);return jsx("li",a({"data-slot":"pagination-item",className:b("",e)},t))}var ya=a$1=>{var o=a$1,{className:e}=o,t=c(o,["className"]);return jsxs("span",b$1(a({"data-slot":"pagination-ellipsis","aria-hidden":true,className:b("flex h-9 w-9 items-center justify-center",e)},t),{children:[jsx(F,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"More pages"})]}))};var fn=cva("cursor-pointer group whitespace-nowrap focus-visible:outline-hidden inline-flex items-center justify-center has-data-[arrow=true]:justify-between whitespace-nowrap text-sm font-medium ring-offset-background transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-60 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-primary/90 data-[state=open]:bg-primary/90",mono:"bg-zinc-950 text-white dark:bg-zinc-300 dark:text-black hover:bg-zinc-950/90 dark:hover:bg-zinc-300/90 data-[state=open]:bg-zinc-950/90 dark:data-[state=open]:bg-zinc-300/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 data-[state=open]:bg-destructive/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/90 data-[state=open]:bg-secondary/90",outline:"bg-background text-accent-foreground border border-input hover:bg-accent data-[state=open]:bg-accent",dashed:"text-accent-foreground border border-input border-dashed bg-background hover:bg-accent hover:text-accent-foreground data-[state=open]:text-accent-foreground",ghost:"text-accent-foreground hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",dim:"text-muted-foreground hover:text-foreground data-[state=open]:text-foreground",foreground:"",inverse:""},appearance:{default:"",ghost:""},underline:{solid:"",dashed:""},underlined:{solid:"",dashed:""},size:{lg:"h-10 px-4 text-sm gap-1.5 [&_svg:not([class*=size-])]:size-4",md:"h-9 px-3 gap-1.5 text-sm [&_svg:not([class*=size-])]:size-4",sm:"h-8 px-2.5 gap-1.25 text-xs [&_svg:not([class*=size-])]:size-3.5",xs:"h-7 px-2 gap-1 text-xs [&_svg:not([class*=size-])]:size-3.5",icon:"size-9 [&_svg:not([class*=size-])]:size-4 shrink-0"},autoHeight:{true:"",false:""},radius:{md:"rounded-md",full:"rounded-full"},mode:{default:"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",icon:"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 shrink-0",link:"text-primary h-auto p-0 bg-transparent rounded-none hover:bg-transparent data-[state=open]:bg-transparent",input:`
2
2
  justify-start font-normal hover:bg-background [&_svg]:transition-colors [&_svg]:hover:text-foreground data-[state=open]:bg-background
3
3
  focus-visible:border-ring focus-visible:outline-hidden focus-visible:ring-[3px] focus-visible:ring-ring/30
4
4
  [[data-state=open]>&]:border-ring [[data-state=open]>&]:outline-hidden [[data-state=open]>&]:ring-[3px]
@@ -241,6 +241,7 @@ interface FileStateOptions {
241
241
  }
242
242
 
243
243
  declare class MockProvider implements IFileManagerProvider {
244
+ private ensureDataLoaded;
244
245
  getFolder(folderId: FolderId): Promise<Folder | null>;
245
246
  getFolders(folderId: FolderId, page?: number, limit?: number, query?: string): Promise<{
246
247
  folders: Folder[];
@@ -241,6 +241,7 @@ interface FileStateOptions {
241
241
  }
242
242
 
243
243
  declare class MockProvider implements IFileManagerProvider {
244
+ private ensureDataLoaded;
244
245
  getFolder(folderId: FolderId): Promise<Folder | null>;
245
246
  getFolders(folderId: FolderId, page?: number, limit?: number, query?: string): Promise<{
246
247
  folders: Folder[];
package/dist/mock.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkSV5VFLC2_cjs=require('./chunk-SV5VFLC2.cjs');Object.defineProperty(exports,"MockProvider",{enumerable:true,get:function(){return chunkSV5VFLC2_cjs.S}});
1
+ 'use strict';var chunkXOGHUQYC_cjs=require('./chunk-XOGHUQYC.cjs');Object.defineProperty(exports,"MockProvider",{enumerable:true,get:function(){return chunkXOGHUQYC_cjs.S}});
package/dist/mock.d.cts CHANGED
@@ -1 +1 @@
1
- export { o as MockProvider } from './mock-provider-DrtiUc3h.cjs';
1
+ export { o as MockProvider } from './mock-provider-D1q21QlM.cjs';
package/dist/mock.d.ts CHANGED
@@ -1 +1 @@
1
- export { o as MockProvider } from './mock-provider-DrtiUc3h.js';
1
+ export { o as MockProvider } from './mock-provider-D1q21QlM.js';
package/dist/mock.js CHANGED
@@ -1 +1 @@
1
- export{S as MockProvider}from'./chunk-DXJH5W7A.js';
1
+ export{S as MockProvider}from'./chunk-NOCFQCIH.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unciatech/file-manager",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "Modern file manager component for React applications",
5
5
  "author": "Avi",
6
6
  "license": "MIT",
@@ -21,9 +21,6 @@
21
21
  "main": "./dist/index.cjs",
22
22
  "module": "./dist/index.js",
23
23
  "types": "./dist/index.d.ts",
24
- "bin": {
25
- "file-manager": "./dist/cli.cjs"
26
- },
27
24
  "exports": {
28
25
  ".": {
29
26
  "types": "./dist/index.d.ts",
@@ -1,18 +0,0 @@
1
- import re from'mime';import {jsxs,jsx}from'react/jsx-runtime';var ce=Object.defineProperty,he=Object.defineProperties;var me=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var w0=Object.prototype.hasOwnProperty,v0=Object.prototype.propertyIsEnumerable;var g0=(e,t,a)=>t in e?ce(e,t,{enumerable:true,configurable:true,writable:true,value:a}):e[t]=a,o=(e,t)=>{for(var a in t||(t={}))w0.call(t,a)&&g0(e,a,t[a]);if(A)for(var a of A(t))v0.call(t,a)&&g0(e,a,t[a]);return e},i=(e,t)=>he(e,me(t));var L=(e,t)=>{var a={};for(var l in e)w0.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&A)for(var l of A(e))t.indexOf(l)<0&&v0.call(e,l)&&(a[l]=e[l]);return a};var g=[{id:1,name:"Documents",pathId:1,path:"/1",parentId:null,fileCount:20,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:2,name:"Images",pathId:2,path:"/2",parentId:null,fileCount:10,folderCount:3,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:3,name:"Videos",pathId:3,path:"/3",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:4,name:"Music Some Long Name Streched also so long to fit in the card Music Some Long Name Streched also so long to fit in the card",pathId:4,path:"/4",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:5,name:"Archives",pathId:5,path:"/5",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:6,name:"Album 01",pathId:6,path:"/2/6",parentId:2,fileCount:0,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:7,name:"Album 02",pathId:7,path:"/2/7",parentId:2,fileCount:0,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:8,name:"Squirrels",pathId:8,path:"/2/8",parentId:2,fileCount:1,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")}],x0=[{id:1,name:"Important",color:"#ef4444"},{id:2,name:"Work",color:"#3b82f6"},{id:3,name:"Personal",color:"#10b981"},{id:4,name:"Project",color:"#8b5cf6"},{id:5,name:"Archive",color:"#6b7280"}],w=[{id:101,name:"welcome.pdf",url:"/placeholder.svg?height=400&width=300",size:245e3,createdAt:new Date("2024-05-15T10:00:00Z"),updatedAt:new Date("2024-05-15T10:00:00Z"),folderId:null,tags:["important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:2,author:"Admin"}},{id:102,name:"desktop_wallpaper.jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926",size:42e5,createdAt:new Date("2024-05-14T15:30:00Z"),updatedAt:new Date("2024-05-14T15:30:00Z"),folderId:null,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:5e3,height:3333,formats:{thumbnail:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=156",hash:"thumbnail_desktop_wallpaper_abc123",mime:"image/jpeg",name:"thumbnail_desktop_wallpaper.jpg",path:null,size:5.57,width:156,height:104},small:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=500",hash:"small_desktop_wallpaper_abc123",mime:"image/jpeg",name:"small_desktop_wallpaper.jpg",path:null,size:47.27,width:500,height:333},medium:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=750",hash:"medium_desktop_wallpaper_abc123",mime:"image/jpeg",name:"medium_desktop_wallpaper.jpg",path:null,size:97.89,width:750,height:500},large:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=1000",hash:"large_desktop_wallpaper_abc123",mime:"image/jpeg",name:"large_desktop_wallpaper.jpg",path:null,size:159.48,width:1e3,height:667}},metaData:{}},{id:103,name:"quick_notes.txt",url:"/placeholder.svg?height=400&width=300",size:3500,createdAt:new Date("2024-05-13T09:45:00Z"),updatedAt:new Date("2024-05-13T09:45:00Z"),folderId:null,tags:[],mime:"text/plain",ext:".txt",metaData:{}},{id:104,name:"intro_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:12e6,createdAt:new Date("2024-05-12T14:00:00Z"),updatedAt:new Date("2024-05-12T14:00:00Z"),folderId:null,tags:[],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:90,videoSource:"local"}},{id:105,name:"profile_photo.png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde",size:85e4,createdAt:new Date("2024-05-11T11:20:00Z"),updatedAt:new Date("2024-05-11T11:20:00Z"),folderId:null,tags:["personal"],mime:"image/png",ext:".png",width:2e3,height:2e3,formats:{thumbnail:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=156",hash:"thumbnail_profile_photo_def456",mime:"image/png",name:"thumbnail_profile_photo.png",path:null,size:8.2,width:156,height:156},small:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=500",hash:"small_profile_photo_def456",mime:"image/png",name:"small_profile_photo.png",path:null,size:52.3,width:500,height:500},medium:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=750",hash:"medium_profile_photo_def456",mime:"image/png",name:"medium_profile_photo.png",path:null,size:110.5,width:750,height:750},large:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=1000",hash:"large_profile_photo_def456",mime:"image/png",name:"large_profile_photo.png",path:null,size:185.7,width:1e3,height:1e3}},metaData:{}},{id:106,name:"todo_list.md",url:"/placeholder.svg?height=400&width=300",size:6200,createdAt:new Date("2024-05-10T08:30:00Z"),updatedAt:new Date("2024-05-10T08:30:00Z"),folderId:null,tags:["important"],mime:"text/markdown",ext:".md",metaData:{}},{id:107,name:"app_settings.json",url:"/placeholder.svg?height=400&width=300",size:4800,createdAt:new Date("2024-05-09T16:15:00Z"),updatedAt:new Date("2024-05-09T16:15:00Z"),folderId:null,tags:[],mime:"application/json",ext:".json",metaData:{}},{id:108,name:"mountain_landscape.webp",url:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4",size:12e5,createdAt:new Date("2024-05-08T13:00:00Z"),updatedAt:new Date("2024-05-08T13:00:00Z"),folderId:null,tags:["personal"],mime:"image/webp",ext:".webp",width:4e3,height:2667,metaData:{}},{id:1,name:"Key-Monastery-img.avif",url:"https://unciatrails.com/wp-content/uploads/2024/07/Key-Monastery-img.avif",size:2621440,createdAt:new Date("2023-10-26T10:30:00Z"),updatedAt:new Date("2023-10-26T10:30:00Z"),folderId:8,tags:["personal","important"],mime:"image/avif",ext:".avif",caption:"A cute squirrel in the park",alternativeText:"Gray squirrel sitting on wooden fence",width:3024,height:4032,metaData:{}},{id:2,name:"project_proposal thoda sa.pdf",url:"/placeholder.svg?height=400&width=300",size:1048576,createdAt:new Date("2024-05-10T14:20:00Z"),updatedAt:new Date("2024-05-10T14:20:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:15,author:"John Doe"}},{id:3,name:"quarterly_report.xlsx",url:"/placeholder.svg?height=400&width=300",size:524288,createdAt:new Date("2024-05-08T09:15:00Z"),updatedAt:new Date("2024-05-08T09:15:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:10}},{id:4,name:"presentation.pptx",url:"/placeholder.svg?height=400&width=300",size:2097152,createdAt:new Date("2024-05-05T16:45:00Z"),updatedAt:new Date("2024-05-05T16:45:00Z"),folderId:1,tags:["work","project"],mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ext:".pptx",metaData:{pageCount:20}},{id:8,name:"documnet.doc",url:"/placeholder.svg?height=400&width=300",size:2097152,createdAt:new Date("2024-05-05T16:45:00Z"),updatedAt:new Date("2024-05-05T16:45:00Z"),folderId:1,tags:["work","project"],mime:"application/msword",ext:".doc",metaData:{pageCount:20}},{id:5,name:"demo_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:10485760,createdAt:new Date("2024-05-03T11:30:00Z"),updatedAt:new Date("2024-05-03T11:30:00Z"),folderId:3,tags:["project"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:120,videoSource:"remote"}},{id:6,name:"podcast_episode.mp3",url:"/placeholder.svg?height=400&width=300",size:5242880,createdAt:new Date("2024-05-02T10:00:00Z"),updatedAt:new Date("2024-05-02T10:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:3600}},{id:7,name:"notes.txt",url:"/placeholder.svg?height=400&width=300",size:1024,createdAt:new Date("2024-05-01T09:00:00Z"),updatedAt:new Date("2024-05-01T09:00:00Z"),folderId:1,tags:["work"],mime:"text/plain",ext:".txt",metaData:{}},{id:9,name:"data.json",url:"/placeholder.svg?height=400&width=300",size:2048,createdAt:new Date("2024-04-30T15:00:00Z"),updatedAt:new Date("2024-04-30T15:00:00Z"),folderId:1,tags:["project"],mime:"application/json",ext:".json",metaData:{}},{id:10,name:"archive.zip",url:"/placeholder.svg?height=400&width=300",size:104857600,createdAt:new Date("2024-04-29T12:00:00Z"),updatedAt:new Date("2024-04-29T12:00:00Z"),folderId:5,tags:["archive"],mime:"application/zip",ext:".zip",metaData:{description:"Project backup"}},{id:11,name:"setup.exe",url:"/placeholder.svg?height=400&width=300",size:52428800,createdAt:new Date("2024-04-28T11:00:00Z"),updatedAt:new Date("2024-04-28T11:00:00Z"),folderId:5,tags:["software"],mime:"application/x-msdownload",ext:".exe",metaData:{description:"Installer"}},{id:12,name:"old_stuff.rar",url:"/placeholder.svg?height=400&width=300",size:20971520,createdAt:new Date("2024-04-27T10:00:00Z"),updatedAt:new Date("2024-04-27T10:00:00Z"),folderId:5,tags:["archive"],mime:"application/x-rar-compressed",ext:".rar",metaData:{description:"Old files"}},{id:13,name:"meeting_notes_q1.pdf",url:"/placeholder.svg?height=400&width=300",size:856e3,createdAt:new Date("2024-03-15T09:00:00Z"),updatedAt:new Date("2024-03-15T09:00:00Z"),folderId:1,tags:["work"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:8,author:"Sarah Johnson"}},{id:14,name:"budget_2024.xlsx",url:"/placeholder.svg?height=400&width=300",size:425e3,createdAt:new Date("2024-03-10T14:30:00Z"),updatedAt:new Date("2024-03-10T14:30:00Z"),folderId:1,tags:["work","important"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:5}},{id:15,name:"team_photo.jpg",url:"https://images.unsplash.com/photo-1522071820081-009f0129c71c",size:32e5,createdAt:new Date("2024-02-28T11:00:00Z"),updatedAt:new Date("2024-02-28T11:00:00Z"),folderId:2,tags:["work"],mime:"image/jpeg",ext:".jpg",width:4e3,height:3e3,metaData:{}},{id:16,name:"logo_design.png",url:"https://images.unsplash.com/photo-1611162617474-5b21e879e113",size:15e5,createdAt:new Date("2024-02-20T10:00:00Z"),updatedAt:new Date("2024-02-20T10:00:00Z"),folderId:2,tags:["project"],mime:"image/png",ext:".png",width:2e3,height:2e3,metaData:{}},{id:17,name:"product_demo.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:15e6,createdAt:new Date("2024-02-15T16:00:00Z"),updatedAt:new Date("2024-02-15T16:00:00Z"),folderId:3,tags:["project"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:180,videoSource:"local"}},{id:18,name:"training_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:25e6,createdAt:new Date("2024-02-10T09:30:00Z"),updatedAt:new Date("2024-02-10T09:30:00Z"),folderId:3,tags:["work"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:300,videoSource:"local"}},{id:19,name:"background_music.mp3",url:"/placeholder.svg?height=400&width=300",size:45e5,createdAt:new Date("2024-02-05T14:00:00Z"),updatedAt:new Date("2024-02-05T14:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:240}},{id:20,name:"contract_template.docx",url:"/placeholder.svg?height=400&width=300",size:65e4,createdAt:new Date("2024-01-30T11:00:00Z"),updatedAt:new Date("2024-01-30T11:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",ext:".docx",metaData:{pageCount:12}},{id:21,name:"invoice_jan.pdf",url:"/placeholder.svg?height=400&width=300",size:32e4,createdAt:new Date("2024-01-25T10:00:00Z"),updatedAt:new Date("2024-01-25T10:00:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:3}},{id:22,name:"vacation_photo1.jpg",url:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4",size:28e5,createdAt:new Date("2024-01-20T15:00:00Z"),updatedAt:new Date("2024-01-20T15:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:3500,height:2500,metaData:{}},{id:23,name:"vacation_photo2.jpg",url:"https://images.unsplash.com/photo-1469474968028-56623f02e42e",size:31e5,createdAt:new Date("2024-01-20T15:05:00Z"),updatedAt:new Date("2024-01-20T15:05:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4e3,height:2800,metaData:{}},{id:24,name:"project_backup.zip",url:"/placeholder.svg?height=400&width=300",size:85e6,createdAt:new Date("2024-01-15T12:00:00Z"),updatedAt:new Date("2024-01-15T12:00:00Z"),folderId:5,tags:["archive","project"],mime:"application/zip",ext:".zip",metaData:{description:"Full project backup"}},{id:25,name:"presentation_final.pptx",url:"/placeholder.svg?height=400&width=300",size:35e5,createdAt:new Date("2024-01-10T16:00:00Z"),updatedAt:new Date("2024-01-10T16:00:00Z"),folderId:1,tags:["work","important"],mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ext:".pptx",metaData:{pageCount:35}},{id:26,name:"screenshot_001.png",url:"https://images.unsplash.com/photo-1517694712202-14dd9538aa97",size:12e5,createdAt:new Date("2024-01-05T09:00:00Z"),updatedAt:new Date("2024-01-05T09:00:00Z"),folderId:2,tags:["work"],mime:"image/png",ext:".png",width:1920,height:1080,metaData:{}},{id:27,name:"config.json",url:"/placeholder.svg?height=400&width=300",size:5e3,createdAt:new Date("2023-12-28T14:00:00Z"),updatedAt:new Date("2023-12-28T14:00:00Z"),folderId:1,tags:["project"],mime:"application/json",ext:".json",metaData:{}},{id:28,name:"readme.md",url:"/placeholder.svg?height=400&width=300",size:8500,createdAt:new Date("2023-12-20T10:00:00Z"),updatedAt:new Date("2023-12-20T10:00:00Z"),folderId:1,tags:["project"],mime:"text/markdown",ext:".md",metaData:{}},{id:29,name:"database_backup.sql",url:"/placeholder.svg?height=400&width=300",size:12e6,createdAt:new Date("2023-12-15T11:00:00Z"),updatedAt:new Date("2023-12-15T11:00:00Z"),folderId:5,tags:["archive","important"],mime:"application/sql",ext:".sql",metaData:{description:"Database backup"}},{id:30,name:"tutorial_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:18e6,createdAt:new Date("2023-12-10T13:00:00Z"),updatedAt:new Date("2023-12-10T13:00:00Z"),folderId:3,tags:["personal"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:420,videoSource:"local"}},{id:31,name:"company_logo.svg",url:"/placeholder.svg?height=400&width=300",size:45e3,createdAt:new Date("2023-12-05T09:00:00Z"),updatedAt:new Date("2023-12-05T09:00:00Z"),folderId:2,tags:["work"],mime:"image/svg+xml",ext:".svg",metaData:{}},{id:32,name:"report_q4.pdf",url:"/placeholder.svg?height=400&width=300",size:18e5,createdAt:new Date("2023-12-01T15:00:00Z"),updatedAt:new Date("2023-12-01T15:00:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:25,author:"Finance Team"}},{id:33,name:"nature_photo.webp",url:"https://images.unsplash.com/photo-1441974231531-c6227db76b6e",size:95e4,createdAt:new Date("2023-11-25T12:00:00Z"),updatedAt:new Date("2023-11-25T12:00:00Z"),folderId:2,tags:["personal"],mime:"image/webp",ext:".webp",width:3e3,height:2e3,metaData:{}},{id:34,name:"podcast_intro.mp3",url:"/placeholder.svg?height=400&width=300",size:25e5,createdAt:new Date("2023-11-20T10:00:00Z"),updatedAt:new Date("2023-11-20T10:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:180}},{id:35,name:"data_export.csv",url:"/placeholder.svg?height=400&width=300",size:85e4,createdAt:new Date("2023-11-15T14:00:00Z"),updatedAt:new Date("2023-11-15T14:00:00Z"),folderId:1,tags:["work"],mime:"text/csv",ext:".csv",metaData:{}},{id:36,name:"wireframes.pdf",url:"/placeholder.svg?height=400&width=300",size:42e5,createdAt:new Date("2023-11-10T11:00:00Z"),updatedAt:new Date("2023-11-10T11:00:00Z"),folderId:1,tags:["project"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:45}},{id:37,name:"cityscape.jpg",url:"https://images.unsplash.com/photo-1449824913935-59a10b8d2000",size:38e5,createdAt:new Date("2023-11-05T16:00:00Z"),updatedAt:new Date("2023-11-05T16:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4500,height:3e3,metaData:{}},{id:38,name:"interview_recording.mp3",url:"/placeholder.svg?height=400&width=300",size:85e5,createdAt:new Date("2023-11-01T09:00:00Z"),updatedAt:new Date("2023-11-01T09:00:00Z"),folderId:4,tags:["work"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:1800}},{id:39,name:"client_files.rar",url:"/placeholder.svg?height=400&width=300",size:45e6,createdAt:new Date("2023-10-25T13:00:00Z"),updatedAt:new Date("2023-10-25T13:00:00Z"),folderId:5,tags:["archive","work"],mime:"application/x-rar-compressed",ext:".rar",metaData:{description:"Client deliverables"}},{id:40,name:"marketing_plan.docx",url:"/placeholder.svg?height=400&width=300",size:12e5,createdAt:new Date("2023-10-20T10:00:00Z"),updatedAt:new Date("2023-10-20T10:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",ext:".docx",metaData:{pageCount:18}},{id:41,name:"analytics_data.xlsx",url:"/placeholder.svg?height=400&width=300",size:21e5,createdAt:new Date("2023-10-15T15:00:00Z"),updatedAt:new Date("2023-10-15T15:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:8}},{id:42,name:"sunset_beach.jpg",url:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e",size:32e5,createdAt:new Date("2023-10-10T17:00:00Z"),updatedAt:new Date("2023-10-10T17:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4e3,height:2700,metaData:{}},{id:43,name:"webinar_recording.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:35e6,createdAt:new Date("2023-10-05T14:00:00Z"),updatedAt:new Date("2023-10-05T14:00:00Z"),folderId:3,tags:["work"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:600,videoSource:"local"}},{id:44,name:"sound_effects.wav",url:"/placeholder.svg?height=400&width=300",size:15e6,createdAt:new Date("2023-10-01T11:00:00Z"),updatedAt:new Date("2023-10-01T11:00:00Z"),folderId:4,tags:["project"],mime:"audio/wav",ext:".wav",metaData:{duration:120}},{id:45,name:"legacy_system.zip",url:"/placeholder.svg?height=400&width=300",size:125e6,createdAt:new Date("2023-09-25T09:00:00Z"),updatedAt:new Date("2023-09-25T09:00:00Z"),folderId:5,tags:["archive"],mime:"application/zip",ext:".zip",metaData:{description:"Old system files"}}];var fe={PAGE:"page",MODAL:"modal"},Ue=Object.values(fe),c={IMAGE:"images",VIDEO:"videos",AUDIO:"audios",FILE:"files"},Ne=Object.values(c),ue={SINGLE:"single",MULTIPLE:"multiple"},Je=Object.values(ue),ge={GRID:"grid",LIST:"list"},Ye=Object.values(ge),$={LOCAL:"local",REMOTE:"remote",YOUTUBE:"youtube",VIMEO:"vimeo"},Xe=Object.values($);function R(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 29.93 40.02",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#e5252a",d:"M5.21 0l13.38 0 11.34 11.82 0 22.99c0,2.88 -2.33,5.21 -5.2,5.21l-19.52 0c-2.88,0 -5.21,-2.33 -5.21,-5.21l0 -29.6c0,-2.88 2.33,-5.21 5.21,-5.21z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"18.58 0 18.58 11.73 29.93 11.73"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M5.79 29.86l0 -7.31 3.11 0c0.77,0 1.38,0.21 1.84,0.64 0.46,0.42 0.69,0.99 0.69,1.7 0,0.71 -0.23,1.28 -0.69,1.7 -0.46,0.43 -1.07,0.64 -1.84,0.64l-1.24 0 0 2.63 -1.87 0zm1.87 -4.22l1.03 0c0.28,0 0.5,-0.06 0.65,-0.2 0.15,-0.13 0.23,-0.31 0.23,-0.55 0,-0.24 -0.08,-0.42 -0.23,-0.55 -0.15,-0.14 -0.37,-0.2 -0.65,-0.2l-1.03 0 0 1.5zm4.54 4.22l0 -7.31 2.59 0c0.51,0 0.99,0.07 1.44,0.22 0.45,0.15 0.86,0.36 1.22,0.65 0.36,0.28 0.65,0.66 0.86,1.14 0.2,0.48 0.31,1.03 0.31,1.65 0,0.61 -0.11,1.16 -0.31,1.64 -0.21,0.48 -0.5,0.86 -0.86,1.14 -0.36,0.29 -0.77,0.5 -1.22,0.65 -0.45,0.15 -0.93,0.22 -1.44,0.22l-2.59 0zm1.83 -1.59l0.54 0c0.29,0 0.56,-0.03 0.81,-0.1 0.24,-0.07 0.47,-0.18 0.69,-0.33 0.21,-0.15 0.38,-0.36 0.5,-0.64 0.12,-0.28 0.18,-0.61 0.18,-0.99 0,-0.39 -0.06,-0.72 -0.18,-1 -0.12,-0.28 -0.29,-0.49 -0.5,-0.64 -0.22,-0.15 -0.45,-0.26 -0.69,-0.33 -0.25,-0.07 -0.52,-0.1 -0.81,-0.1l-0.54 0 0 4.13zm5.53 1.59l0 -7.31 5.2 0 0 1.59 -3.33 0 0 1.17 2.66 0 0 1.58 -2.66 0 0 2.97 -1.87 0z"})]}))}function P(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 17.69 23.65",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#00733b",d:"M3.08 0l7.91 0 6.7 6.99 0 13.58c0,1.7 -1.38,3.08 -3.08,3.08l-11.53 0c-1.7,0 -3.08,-1.38 -3.08,-3.08l0 -17.49c0,-1.7 1.38,-3.08 3.08,-3.08z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"10.98 0 10.98 6.93 17.69 6.93"}),jsx("path",{fill:"#fff",d:"M5.21 17.35l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 -6.08l3.15 0 0 1.18 -3.15 0 0 -1.18zm-4.12 0l3.14 0 0 1.18 -3.14 0 0 -1.18zm4.12 2l3.15 0 0 1.19 -3.15 0 0 -1.19zm-4.12 0l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 2.08l3.15 0 0 1.19 -3.15 0 0 -1.19zm-4.12 0l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 2l3.15 0 0 1.19 -3.15 0 0 -1.19z"})]}))}function _(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#e03303",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M11.76 16.13c-2.44,0.12 -4.38,2.15 -4.35,4.62 0.04,2.46 2.04,4.47 4.5,4.5 2.48,0.04 4.51,-1.9 4.62,-4.34 0.01,-0.12 -0.09,-0.22 -0.21,-0.22l-4.13 0c-0.12,0 -0.22,-0.1 -0.22,-0.21l0 -4.14c0,-0.12 -0.09,-0.21 -0.21,-0.21zm1.1 -0.67l0 4.13c0,0.12 0.09,0.21 0.21,0.21l4.14 0c0.12,0 0.21,-0.1 0.21,-0.22 -0.11,-2.34 -1.99,-4.22 -4.34,-4.33 -0.12,-0.01 -0.22,0.09 -0.22,0.21z"})]}))}function G(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 38.89 51.99",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#0263d1",fillRule:"nonzero",d:"M6.76 0l17.4 0 14.73 15.36 0 29.87c0,3.73 -3.03,6.76 -6.77,6.76l-25.36 0c-3.73,0 -6.76,-3.03 -6.76,-6.76l0 -38.47c0,-3.73 3.03,-6.76 6.76,-6.76z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"24.14 0 24.14 15.24 38.89 15.24"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M26.3 27.05l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm-4.57 13.71l-9.14 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l9.14 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm4.57 -4.57l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm0 -4.57l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0z"})]}))}function Z(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#ffc000",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsx("polygon",{fill:"#ffffff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsx("path",{fill:"#ffffff",fillRule:"nonzero",d:"M16.45 21.21l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0zm0 2.86l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0zm-4.36 -8.57l-4.21 0c-0.4,0 -0.72,0.31 -0.72,0.71 0,0.4 0.32,0.71 0.72,0.71l4.21 0c0.4,0 0.72,-0.31 0.72,-0.71 0,-0.4 -0.32,-0.71 -0.72,-0.71l0 0zm4.36 2.85l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0z"})]}))}function E(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100",height:"100",viewBox:"0 0 48 48","aria-hidden":"true"},e),{children:[jsxs("linearGradient",{id:"X-uD4Bgl9JIhUIufrZZzja_Pjo0BrMdm974_gr1",x1:"37.127",x2:"25.868",y1:"6.873",y2:"18.132",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{offset:"0",stopColor:"#262626",stopOpacity:"0"}),jsx("stop",{offset:".913",stopColor:"#262626",stopOpacity:".8"})]}),jsx("path",{fill:"url(#X-uD4Bgl9JIhUIufrZZzja_Pjo0BrMdm974_gr1)",d:"M28,4v8c0,2.209,1.791,4,4,4h8L28,4z",children:" "}),jsxs("linearGradient",{id:"X-uD4Bgl9JIhUIufrZZzjb_Pjo0BrMdm974_gr2",x1:"-8.398",x2:"74.731",y1:"51.185",y2:"-18.568",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{offset:"0",stopColor:"#262626",stopOpacity:"0"}),jsx("stop",{offset:"1",stopColor:"#262626",stopOpacity:".8"})]}),jsx("path",{fill:"url(#X-uD4Bgl9JIhUIufrZZzjb_Pjo0BrMdm974_gr2)",d:"M40,16v23c0,2.761-2.239,5-5,5H8V9c0-2.761,2.239-5,5-5h15L40,16z"})]}))}function b(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100","aria-hidden":"true"},e),{children:[jsx("path",{fill:"#ffb11f",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M8.96 16.9l0 -2.22c0,-0.24 -0.19,-0.43 -0.43,-0.43l-1.2 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 2.22 -0.67 1.96c-0.19,0.55 -0.1,1.16 0.24,1.63 0.33,0.47 0.88,0.75 1.46,0.75 0.58,0 1.12,-0.28 1.46,-0.75 0.34,-0.47 0.43,-1.08 0.24,-1.63l-0.67 -1.96zm-0.28 3.08c-0.34,0.49 -1.16,0.49 -1.51,0 -0.17,-0.24 -0.22,-0.56 -0.12,-0.84l0.22 -0.66 1.31 0 0.23 0.66c0.09,0.28 0.05,0.6 -0.13,0.84zm-3.41 -17.65l0 1.22c0,0.24 0.19,0.43 0.43,0.43l1.63 0 0 1.82 -1.63 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 0.94c0,0.24 0.19,0.44 0.43,0.44l1.63 0 0 1.81 -1.63 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 0.95c0,0.24 0.19,0.43 0.43,0.43l1.63 0 0 1.38c0,0.24 0.2,0.43 0.44,0.43l2.39 0c0.23,0 0.43,-0.19 0.43,-0.43l0 -0.95c0,-0.23 -0.2,-0.43 -0.43,-0.43l-1.64 0 0 -1.81 1.64 0c0.23,0 0.43,-0.19 0.43,-0.43l0 -0.95c0,-0.24 -0.2,-0.43 -0.43,-0.43l-1.64 0 0 -1.81 1.64 0c0.23,0 0.43,-0.2 0.43,-0.44l0 -0.94c0,-0.24 -0.2,-0.44 -0.43,-0.44l-1.64 0 0 -1.66c0,0 -3.25,0.01 -3.25,0.01z"})]}))}function O(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 20.49 27.4",width:"100",height:"100","aria-hidden":"true"},e),{children:[jsx("path",{fill:"#00a1e0",d:"M3.56 0l9.17 0 7.76 8.1 0 15.73c0,1.97 -1.59,3.57 -3.56,3.57l-13.37 0c-1.96,0 -3.56,-1.6 -3.56,-3.57l0 -20.27c0,-1.96 1.6,-3.56 3.56,-3.56z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"12.72 0 12.72 8.03 20.49 8.03"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M12.07 20.44l-0.52 0 0 -0.99 0.11 0c0.26,0 0.39,-0.14 0.39,-0.42l0 -1.45c0,-0.23 0.06,-0.41 0.16,-0.53 0.11,-0.11 0.27,-0.21 0.48,-0.3 -0.2,-0.08 -0.36,-0.18 -0.47,-0.3 -0.11,-0.12 -0.17,-0.29 -0.17,-0.52l0 -1.45c0,-0.28 -0.13,-0.42 -0.39,-0.42l-0.11 0 0 -0.99 0.52 0c0.31,0 0.56,0.1 0.76,0.3 0.2,0.2 0.3,0.45 0.3,0.75l0 1.55c0,0.38 0.21,0.57 0.63,0.57l0 1.03c-0.42,0 -0.63,0.19 -0.63,0.58l0 1.54c0,0.3 -0.1,0.55 -0.3,0.75 -0.2,0.2 -0.45,0.3 -0.76,0.3zm-3.65 0c-0.3,0 -0.56,-0.1 -0.76,-0.3 -0.2,-0.2 -0.3,-0.45 -0.3,-0.75l0 -1.54c0,-0.39 -0.21,-0.58 -0.63,-0.58l0 -1.03c0.42,0 0.63,-0.19 0.63,-0.57l0 -1.55c0,-0.3 0.1,-0.55 0.3,-0.75 0.2,-0.2 0.46,-0.3 0.76,-0.3l0.53 0 0 0.99 -0.12 0c-0.26,0 -0.39,0.14 -0.39,0.42l0 1.45c0,0.23 -0.05,0.4 -0.16,0.52 -0.11,0.12 -0.27,0.22 -0.48,0.3 0.21,0.09 0.37,0.19 0.48,0.3 0.11,0.12 0.16,0.3 0.16,0.53l0 1.45c0,0.28 0.13,0.42 0.39,0.42l0.12 0 0 0.99 -0.53 0z"})]}))}function H(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#90c",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M15.07 21.38c0.31,-0.52 0.52,-1.18 0.56,-1.83 0.02,-0.42 -0.07,-0.86 -0.27,-1.27 -0.32,-0.65 -0.86,-1.01 -1.39,-1.37 -0.39,-0.26 -0.76,-0.51 -1.02,-0.86l-0.05 -0.06c-0.15,-0.21 -0.33,-0.45 -0.36,-0.65 -0.02,-0.2 -0.21,-0.34 -0.4,-0.33 -0.21,0.02 -0.36,0.18 -0.36,0.39l0 6.86c-0.32,-0.2 -0.72,-0.32 -1.16,-0.32 -1.06,0 -1.92,0.69 -1.92,1.54 0,0.85 0.86,1.54 1.92,1.54 1.06,0 1.93,-0.69 1.93,-1.54l0 -4.49c0.58,0.23 1.52,0.79 1.78,2.1 -0.05,0.07 -0.09,0.15 -0.15,0.21 -0.14,0.16 -0.12,0.4 0.04,0.55 0.16,0.14 0.4,0.12 0.54,-0.04 0.1,-0.12 0.2,-0.25 0.28,-0.4 0.01,-0.01 0.02,-0.02 0.03,-0.03z"})]}))}function j(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#188a32",d:"M56,35v8c0,1.66-1.34,3-3,3H11c-1.66,0-3-1.34-3-3v-8c0-1.66,1.34-3,3-3h42C54.66,32,56,33.34,56,35z"}),jsx("path",{fill:"#0082AA",d:"M44,29v5c0,1.66-1.34,3-3,3H23c-1.66,0-3-1.34-3-3v-5h4v4h16v-4H44z"}),jsx("path",{fill:"#4d50c6",d:`M53,32H11c-1.657,0-3-1.343-3-3v-8c0-1.657,1.343-3,3-3h42c1.657,0,3,1.343,3,3v8
2
- C56,30.657,54.657,32,53,32z`}),jsx("path",{fill:"#e6275e",d:`M53,18H11c-1.657,0-3-1.343-3-3V7c0-1.657,1.343-3,3-3h42c1.657,0,3,1.343,3,3v8
3
- C56,16.657,54.657,18,53,18z`}),jsx("rect",{width:"16",height:"42",x:"24",y:"4",fill:"#FAB400"}),jsx("path",{fill:"#DC9600",d:"M32,46L32,46c-4.418,0-8-3.582-8-8v-4h16v4C40,42.418,36.418,46,32,46z"}),jsx("path",{fill:"#FAB400",d:"M32,44L32,44c-4.418,0-8-3.582-8-8v-4h16v4C40,40.418,36.418,44,32,44z"}),jsx("rect",{width:"16",height:"4",x:"24",y:"33",fill:"#DC9600"}),jsx("path",{fill:"#F0F0F0",d:`M44,17v16c0,1.66-1.34,3-3,3H23c-1.66,0-3-1.34-3-3V17c0-1.66,1.34-3,3-3h1v18h16V14h1
4
- C42.66,14,44,15.34,44,17z`}),jsx("path",{fill:"#D2D2D2",d:"M34,31v2c0,1.1-0.9,2-2,2s-2-0.9-2-2v-2H34z"}),jsx("path",{fill:"#F0F0F0",d:`M32,34L32,34c-1.105,0-2-0.895-2-2v-8c0-1.105,0.895-2,2-2h0c1.105,0,2,0.895,2,2v8
5
- C34,33.105,33.105,34,32,34z`}),jsx("circle",{cx:"32",cy:"18",r:"2",fill:"#C80A50"}),jsx("circle",{cx:"32",cy:"10",r:"2",fill:"#00A0C8"}),jsx("path",{fill:"#F0F0F0",d:"M34,18h-4c0-1.1,0.9-2,2-2S34,16.9,34,18z"}),jsx("path",{fill:"#0A5078",d:`M47,60H17c-1.105,0-2-0.895-2-2V44c0-1.105,0.895-2,2-2h30c1.105,0,2,0.895,2,2v14
6
- C49,59.105,48.105,60,47,60z`}),jsx("path",{fill:"#F0F0F0",d:`M35,53h-6c-0.552,0-1-0.448-1-1v-3c0-2.206,1.794-4,4-4s4,1.794,4,4v3C36,52.552,35.552,53,35,53z
7
- M30,51h4v-2c0-1.103-0.897-2-2-2s-2,0.897-2,2V51z`}),jsx("path",{fill:"#F0F0F0",d:"M29 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C30 56.552 29.552 57 29 57zM35 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C36 56.552 35.552 57 35 57zM42 53h-3c-.552 0-1-.448-1-1v-6c0-.552.448-1 1-1h3c2.206 0 4 1.794 4 4S44.206 53 42 53zM40 51h2c1.103 0 2-.897 2-2s-.897-2-2-2h-2V51z"}),jsx("path",{fill:"#F0F0F0",d:"M39 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C40 56.552 39.552 57 39 57zM45.001 57c-.367 0-.72-.202-.896-.553l-2-4c-.247-.494-.047-1.095.447-1.342.495-.248 1.095-.047 1.342.447l2 4c.247.494.047 1.095-.447 1.342C45.304 56.966 45.151 57 45.001 57z"}),jsxs("g",{children:[jsx("path",{fill:"#F0F0F0",d:`M22,53h-3c-0.552,0-1-0.448-1-1v-6c0-0.552,0.448-1,1-1h3c2.206,0,4,1.794,4,4S24.206,53,22,53z
8
- M20,51h2c1.103,0,2-0.897,2-2s-0.897-2-2-2h-2V51z`}),jsx("path",{fill:"#F0F0F0",d:"M19 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C20 56.552 19.552 57 19 57zM25.001 57c-.367 0-.72-.202-.896-.553l-2-4c-.247-.494-.047-1.095.447-1.342.495-.248 1.095-.047 1.342.447l2 4c.247.494.047 1.095-.447 1.342C25.304 56.966 25.151 57 25.001 57z"})]})]}))}function B(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#e8e9ea",d:`M8.16,17.51V3.74c0-1.79,1.45-3.24,3.24-3.24h20.53l12.79,12.8v30.96c0,1.79-1.45,3.24-3.24,3.24H11.4
9
- c-1.79,0-3.24-1.45-3.24-3.24v-1.62`}),jsx("path",{fill:"#697d7f",d:"M44.72 13.3h-9.93c-1.58 0-2.86-1.28-2.86-2.86V.5M11.53 25.42c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H4.78c-.83 0-1.5.67-1.5 1.5v11.53c0 .83.67 1.5 1.5 1.5h6.75c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H6.28v-2.76h3.98c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H6.28v-2.76H11.53zM36.33 25.42c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-6.75c-.83 0-1.5.67-1.5 1.5v11.53c0 .83.67 1.5 1.5 1.5h6.75c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-5.25v-2.76h3.98c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-3.98v-2.76H36.33zM15.55 36.67c.26.19.57.28.87.28.47 0 .93-.22 1.22-.63l2.92-4.07 2.92 4.07c.29.41.75.63 1.22.63.3 0 .61-.09.87-.28.67-.48.83-1.42.34-2.09l-3.51-4.89 3.51-4.89c.48-.67.33-1.61-.34-2.09-.67-.48-1.61-.33-2.09.34l-2.92 4.07-2.92-4.07c-.48-.67-1.42-.83-2.09-.34-.67.48-.83 1.42-.34 2.09l3.51 4.89-3.51 4.89C14.72 35.25 14.87 36.19 15.55 36.67z"})]}))}function W(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 17.69 23.65",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#0ac963",d:"M3.08 0l7.91 0 6.7 6.99 0 13.58c0,1.7 -1.38,3.08 -3.08,3.08l-11.53 0c-1.7,0 -3.08,-1.38 -3.08,-3.08l0 -17.49c0,-1.7 1.38,-3.08 3.08,-3.08z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"10.98 0 10.98 6.93 17.69 6.93"}),jsx("path",{fill:"#fff",d:"M11.85 11.82l-6.01 0c-0.45,0 -0.82,0.37 -0.82,0.82l0 3.82c0,0.45 0.37,0.82 0.82,0.82l6.01 0c0.45,0 0.81,-0.37 0.81,-0.82l0 -3.82c0,-0.45 -0.36,-0.82 -0.81,-0.82zm-4.37 1.03c0.49,0 0.88,0.4 0.88,0.88 0,0.49 -0.39,0.89 -0.88,0.89 -0.49,0 -0.89,-0.4 -0.89,-0.89 0,-0.48 0.4,-0.88 0.89,-0.88zm4.64 3.61c0,0.15 -0.12,0.28 -0.27,0.28l-6.01 0c-0.15,0 -0.27,-0.13 -0.27,-0.28l0 -0.16 1.09 -1.09 0.9 0.9c0.11,0.11 0.28,0.11 0.39,0l2.26 -2.26 1.91 1.91 0 0.7 0 0z"})]}))}function U(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 29.93 40.02",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#fa0000",d:"M5.21 0l13.38 0 11.34 11.82 0 22.99c0,2.88 -2.33,5.21 -5.2,5.21l-19.52 0c-2.88,0 -5.21,-2.33 -5.21,-5.21l0 -29.6c0,-2.88 2.33,-5.21 5.21,-5.21z"}),jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"18.58 0 18.58 11.73 29.93 11.73"}),jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M14.97 18.16c-3.57,0 -6.47,2.9 -6.47,6.47 0,3.57 2.9,6.46 6.47,6.46 3.57,0 6.46,-2.89 6.46,-6.46 0,-3.57 -2.9,-6.46 -6.46,-6.47zm2.72 6.67c-0.05,0.09 -0.12,0.16 -0.21,0.21l0 0 -3.69 1.85c-0.23,0.11 -0.51,0.02 -0.62,-0.21 -0.04,-0.06 -0.05,-0.13 -0.05,-0.21l0 -3.69c0,-0.26 0.21,-0.46 0.46,-0.46 0.07,0 0.14,0.01 0.21,0.05l3.69 1.84c0.23,0.12 0.32,0.39 0.21,0.62z"})]}))}function N(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#5a5959",d:`M2.1,57.4h57.7c1.1,0,2.1-0.9,2.1-2.1V13.4c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
10
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,5.7,0,6.6,0,7.8v47.5C0,56.4,0.9,57.4,2.1,57.4z`}),jsx("path",{fill:"#504e4e",d:`M3,58.3h56.7c1.1,0,2.1-0.9,2.1-2.1V14.3c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
11
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,6.6,0,7.6,0,8.7v46.6C0,56.9,1.3,58.3,3,58.3z`}),jsx("rect",{width:"58.6",height:"21.1",x:"1.6",y:"14.7",fill:"#ffffff"}),jsx("rect",{width:".8",height:"21.1",x:"1.6",y:"14.7",fill:"#f3f3f3"}),jsx("rect",{width:"58.6",height:".9",x:"1.6",y:"14.7",fill:"#f3f1f1"}),jsx("path",{fill:"#676666",d:`M64,18.6v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
12
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,15.6,64,17,64,18.6z`}),jsx("path",{fill:"#6f6d6d",d:`M64,19.5v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
13
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,16.5,64,17.9,64,19.5z`})]}))}function Y(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsx("path",{fill:"#5a5959",d:`M2.1,57.4h57.7c1.1,0,2.1-0.9,2.1-2.1V13.4c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
14
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,5.7,0,6.6,0,7.8v47.5C0,56.4,0.9,57.4,2.1,57.4z`}),jsx("path",{fill:"#504e4e",d:`M3,58.3h56.7c1.1,0,2.1-0.9,2.1-2.1V14.3c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
15
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,6.6,0,7.6,0,8.7v46.6C0,56.9,1.3,58.3,3,58.3z`}),jsx("path",{fill:"#676666",d:`M64,18.6v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
16
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,15.6,64,17,64,18.6z`}),jsx("path",{fill:"#6f6d6d",d:`M64,19.5v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
17
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,16.5,64,17.9,64,19.5z`})]}))}function D0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true"},e),{children:jsxs("g",{fill:"none",children:[jsx("path",{d:"M16.2 5C17.8802 5 18.7202 5 19.362 5.32698C19.9265 5.6146 20.3854 6.07354 20.673 6.63803C21 7.27976 21 8.11984 21 9.8V11.2C21 12.8802 21 13.7202 20.673 14.362C20.3854 14.9265 19.9265 15.3854 19.362 15.673C18.7202 16 17.8802 16 16.2 16H7.8C6.11984 16 5.27976 16 4.63803 15.673C4.07354 15.3854 3.6146 14.9265 3.32698 14.362C3 13.7202 3 12.8802 3 11.2L3 6.8C3 5.11984 3 4.27976 3.32698 3.63803C3.6146 3.07354 4.07354 2.6146 4.63803 2.32698C5.27976 2 6.11984 2 7.8 2L9.28741 2C9.91355 2 10.2266 2 10.5108 2.0863C10.7624 2.1627 10.9964 2.28796 11.1996 2.45491C11.429 2.64349 11.6027 2.90398 11.95 3.42496L13 5H16.2Z",fill:"url(#1752500502786-6297956_folder_existing_0_ekojck6b3)","data-glass":"origin",mask:"url(#1752500502786-6297956_folder_mask_2iow0yqdp)"}),jsx("path",{d:"M16.2 5C17.8802 5 18.7202 5 19.362 5.32698C19.9265 5.6146 20.3854 6.07354 20.673 6.63803C21 7.27976 21 8.11984 21 9.8V11.2C21 12.8802 21 13.7202 20.673 14.362C20.3854 14.9265 19.9265 15.3854 19.362 15.673C18.7202 16 17.8802 16 16.2 16H7.8C6.11984 16 5.27976 16 4.63803 15.673C4.07354 15.3854 3.6146 14.9265 3.32698 14.362C3 13.7202 3 12.8802 3 11.2L3 6.8C3 5.11984 3 4.27976 3.32698 3.63803C3.6146 3.07354 4.07354 2.6146 4.63803 2.32698C5.27976 2 6.11984 2 7.8 2L9.28741 2C9.91355 2 10.2266 2 10.5108 2.0863C10.7624 2.1627 10.9964 2.28796 11.1996 2.45491C11.429 2.64349 11.6027 2.90398 11.95 3.42496L13 5H16.2Z",fill:"url(#1752500502786-6297956_folder_existing_0_ekojck6b3)","data-glass":"clone",filter:"url(#1752500502786-6297956_folder_filter_56qas2ark)",clipPath:"url(#1752500502786-6297956_folder_clipPath_gygn8e14a)"}),jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"url(#1752500502786-6297956_folder_existing_1_v5o9796uz)","data-glass":"blur"}),jsx("path",{d:"M18.6807 9.00586C19.7975 9.02423 20.4692 9.09846 20.9864 9.39258C21.5915 9.73676 22.0586 10.2802 22.3067 10.9307C22.5894 11.6719 22.4426 12.6251 22.1495 14.5303L21.626 17.9297C21.4038 19.3742 21.2926 20.097 20.9385 20.6396L20.8155 20.8135C20.5147 21.2098 20.1193 21.5262 19.6641 21.7324C19.074 21.9997 18.3431 22 16.8819 22V21.25C17.624 21.25 18.1389 21.2495 18.543 21.2188C18.9374 21.1887 19.1709 21.133 19.3546 21.0498C19.7447 20.873 20.0766 20.5882 20.3106 20.2295C20.4208 20.0606 20.5119 19.8385 20.6016 19.4531C20.6935 19.0584 20.772 18.5489 20.8848 17.8154L21.4083 14.416C21.5568 13.4504 21.6601 12.7732 21.6954 12.2441C21.7302 11.7223 21.6913 11.4231 21.6055 11.1982C21.4194 10.7103 21.0693 10.3021 20.6153 10.0439C20.4061 9.92506 20.1166 9.84086 19.5958 9.7959C19.0675 9.75031 18.3823 9.75 17.4053 9.75H6.59479C5.61785 9.75 4.93266 9.75032 4.40436 9.7959C3.88353 9.84086 3.59399 9.92504 3.38483 10.0439C2.93088 10.3021 2.5807 10.7103 2.3946 11.1982C2.30885 11.4231 2.26996 11.7223 2.30475 12.2441C2.34005 12.7732 2.44331 13.4504 2.59186 14.416L3.1153 17.8154C3.22814 18.5489 3.30665 19.0584 3.3985 19.4531C3.4882 19.8385 3.5793 20.0606 3.68952 20.2295C3.92357 20.5882 4.25545 20.873 4.64558 21.0498C4.82929 21.133 5.06268 21.1887 5.4571 21.2188C5.86121 21.2495 6.37613 21.25 7.11823 21.25V22L6.14948 21.9961C5.44148 21.9856 4.96108 21.9493 4.56452 21.8213L4.336 21.7324C3.88079 21.5262 3.48544 21.2098 3.18464 20.8135L3.06159 20.6396C2.79608 20.2327 2.66703 19.7244 2.52546 18.8867L2.37409 17.9297L1.85065 14.5303C1.57585 12.744 1.42974 11.7947 1.64558 11.0723L1.6944 10.9307C1.91158 10.3615 2.29578 9.8738 2.79401 9.53027L3.01374 9.39258C3.70332 9.00046 4.66737 9 6.59479 9H17.4053L18.6807 9.00586ZM16.8819 21.25V22H7.11823V21.25H16.8819Z",fill:"url(#1752500502786-6297956_folder_existing_2_vhap9347d)"}),jsxs("defs",{children:[jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_0_ekojck6b3",x1:"12",y1:"2",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{stopColor:"#575757"}),jsx("stop",{offset:"1",stopColor:"#151515"})]}),jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_1_v5o9796uz",x1:"23",y1:"15.5",x2:"1",y2:"15.5",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{stopColor:"#E3E3E5",stopOpacity:".6"}),jsx("stop",{offset:"1",stopColor:"#BBBBC0",stopOpacity:".6"})]}),jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_2_vhap9347d",x1:"12",y1:"9",x2:"12",y2:"16.528",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{stopColor:"#fff"}),jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),jsx("filter",{id:"1752500502786-6297956_folder_filter_56qas2ark",x:"-100%",y:"-100%",width:"400%",height:"400%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",children:jsx("feGaussianBlur",{stdDeviation:"2",x:"0%",y:"0%",width:"100%",height:"100%",in:"SourceGraphic",edgeMode:"none",result:"blur"})}),jsx("clipPath",{id:"1752500502786-6297956_folder_clipPath_gygn8e14a",children:jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"url(#1752500502786-6297956_folder_existing_1_v5o9796uz)"})}),jsxs("mask",{id:"1752500502786-6297956_folder_mask_2iow0yqdp",children:[jsx("rect",{width:"100%",height:"100%",fill:"#FFF"}),jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"#000"})]})]})]})}))}function F0(e){return jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsx("path",{opacity:"0.4",d:"M13.4919 2.29395C13.0743 1.94268 12.5457 1.75 11.9997 1.75C11.5221 1.75 11.058 1.89775 10.6697 2.16992L10.5085 2.29395L1.5974 9.78906C1.18491 10.1364 1.13178 10.7528 1.47924 11.165C1.78946 11.5327 2.31307 11.6121 2.71557 11.3789V15.9531V15.955C2.71555 17.0543 2.71553 17.9612 2.7976 18.6885C2.88313 19.4463 3.06823 20.1292 3.52318 20.7217L3.68627 20.9199C3.85487 21.1119 4.04268 21.2876 4.24584 21.4434L4.47143 21.6016C5.01004 21.9427 5.61706 22.0932 6.281 22.168C7.00121 22.2491 7.89724 22.249 8.98176 22.249H8.99975H14.9997H15.0178C16.1023 22.249 16.9983 22.2491 17.7185 22.168C18.4771 22.0825 19.1606 21.8977 19.7537 21.4434L19.9529 21.2803C20.145 21.1119 20.3205 20.9245 20.4763 20.7217L20.6345 20.4961C20.976 19.9581 21.127 19.3517 21.2019 18.6885C21.284 17.9612 21.2839 17.0543 21.2839 15.955V15.9531V11.3789C21.6864 11.6121 22.21 11.5327 22.5203 11.165C22.846 10.7785 22.8199 10.2127 22.4753 9.85742L13.4919 2.29395Z",fill:"#141B34"}),jsx("path",{d:"M14.9998 17V22.249H8.99979V17C8.99979 15.5859 9.00002 14.8788 9.43924 14.4395C9.87855 14.0001 10.5857 14 11.9998 14C13.4139 14 14.121 14.0002 14.5603 14.4395C14.9997 14.8788 14.9998 15.5858 14.9998 17Z",fill:"#141B34"})]}))}function z0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 48 48","aria-hidden":"true"},e),{children:jsx("path",{fill:"currentColor",d:"M46.599 46.599a4.498 4.498 0 0 1-6.363 0l-7.941-7.941C29.028 40.749 25.167 42 21 42 9.402 42 0 32.598 0 21S9.402 0 21 0s21 9.402 21 21c0 4.167-1.251 8.028-3.342 11.295l7.941 7.941a4.498 4.498 0 0 1 0 6.363zM21 6C12.717 6 6 12.714 6 21s6.717 15 15 15c8.286 0 15-6.714 15-15S29.286 6 21 6z"})}))}function S0(e){return jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsx("path",{fill:"currentColor",opacity:"0.4",d:"M20.4155 3.66085C22.3012 5.52939 19.2842 20.7253 16.1883 20.9931C13.5911 21.2177 12.7819 16.0954 12.2348 14.4719C11.695 12.8696 11.0943 12.2927 9.50513 11.767C5.46811 10.4315 3.4496 9.76374 3.04996 8.70639C1.99171 5.90649 18.0071 1.27438 20.4155 3.66085Z"}),jsx("path",{fill:"currentColor",d:"M3.04996 8.70639C3.4496 9.76374 5.46811 10.4315 9.50513 11.767C10.3308 12.0402 10.8897 12.3271 11.3118 12.7646L20.4155 3.66085C18.0071 1.27438 1.99171 5.90649 3.04996 8.70639Z"})]}))}function k0(e){return jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.75 11.7499C18.3023 11.7499 18.75 12.1977 18.75 12.7499V15.7499H21.75C22.3023 15.7499 22.75 16.1977 22.75 16.7499C22.75 17.3022 22.3023 17.7499 21.75 17.7499H18.75V20.7499C18.75 21.3022 18.3023 21.7499 17.75 21.7499C17.1977 21.7499 16.75 21.3022 16.75 20.7499V17.7499H13.75C13.1977 17.7499 12.75 17.3022 12.75 16.7499C12.75 16.1977 13.1977 15.7499 13.75 15.7499H16.75V12.7499C16.75 12.1977 17.1977 11.7499 17.75 11.7499Z",fill:"currentColor"}),jsx("path",{opacity:"0.4",d:"M9.4626 2.48876C8.82373 2.24919 8.11205 2.24951 7.08264 2.24996C6.2039 2.24995 5.32205 2.24999 4.7497 2.30044C4.15996 2.35243 3.64388 2.46238 3.17258 2.7254C2.56533 3.06428 2.06428 3.56534 1.7254 4.17258C1.46238 4.64388 1.35242 5.15996 1.30044 5.7497C1.24999 6.32205 1.24999 7.03077 1.25 7.9095V11.0574C1.24999 13.3658 1.24998 15.1748 1.43975 16.5863C1.63399 18.031 2.03933 19.1711 2.93414 20.0659C3.82895 20.9607 4.96897 21.366 6.41371 21.5603C7.82519 21.75 9.63423 21.75 11.9426 21.75H13.2923C14.1084 21.75 14.8409 21.75 15.5 21.7383V18.9999H13.75C12.5074 18.9999 11.5 17.9926 11.5 16.7499C11.5 15.5073 12.5074 14.4999 13.75 14.4999H15.5V12.7499C15.5 11.5073 16.5074 10.4999 17.75 10.4999C18.9926 10.4999 20 11.5073 20 12.7499V14.4999H22.7383C22.75 13.8408 22.75 13.1084 22.75 12.2923C22.75 11.2733 22.75 10.3688 22.683 9.70949C22.6137 9.02893 22.4669 8.43872 22.118 7.91661C21.8444 7.50715 21.4929 7.15559 21.0834 6.88199C20.5613 6.53313 19.9711 6.38628 19.2905 6.31705C18.6312 6.24998 17.8095 6.24999 16.7905 6.25L13.2361 6.25C12.92 6.25 12.7396 6.24908 12.6064 6.23531C12.5044 6.22817 12.4348 6.15255 12.4128 6.11563C12.3409 6.0027 12.0838 5.48909 11.9425 5.20636C11.4704 4.25121 10.8581 3.01205 9.4626 2.48876Z",fill:"currentColor"})]}))}function L0(e){return jsx("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:jsx("path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"#141B34",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))}function P0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:jsx("path",{fill:"currentColor",d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76z"})}))}function G0(e){return jsx("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{fill:"currentColor",d:"M19,11H13V5a1,1,0,0,0-2,0v6H5a1,1,0,0,0,0,2h6v6a1,1,0,0,0,2,0V13h6a1,1,0,0,0,0-2Z"})}))}function Z0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:[jsx("path",{fill:"currentColor",d:"M3 6.386c0-.484.345-.877.771-.877h2.665c.529-.016.996-.399 1.176-.965l.03-.1l.115-.391c.07-.24.131-.45.217-.637c.338-.739.964-1.252 1.687-1.383c.184-.033.378-.033.6-.033h3.478c.223 0 .417 0 .6.033c.723.131 1.35.644 1.687 1.383c.086.187.147.396.218.637l.114.391l.03.1c.18.566.74.95 1.27.965h2.57c.427 0 .772.393.772.877s-.345.877-.771.877H3.77c-.425 0-.77-.393-.77-.877"}),jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.425 11.482c.413-.044.78.273.821.707l.5 5.263c.041.433-.26.82-.671.864c-.412.043-.78-.273-.821-.707l-.5-5.263c-.041-.434.26-.821.671-.864m5.15 0c.412.043.713.43.671.864l-.5 5.263c-.04.434-.408.75-.82.707c-.413-.044-.713-.43-.672-.864l.5-5.264c.041-.433.409-.75.82-.707",clipRule:"evenodd"}),jsx("path",{fill:"currentColor",d:"M11.596 22h.808c2.783 0 4.174 0 5.08-.886c.904-.886.996-2.339 1.181-5.245l.267-4.188c.1-1.577.15-2.366-.303-2.865c-.454-.5-1.22-.5-2.753-.5H8.124c-1.533 0-2.3 0-2.753.5s-.404 1.288-.303 2.865l.267 4.188c.185 2.906.277 4.36 1.182 5.245c.905.886 2.296.886 5.079.886",opacity:"0.5"})]}))}function b0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:3.5,strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{d:"M18 6L6 18"}),jsx("path",{d:"M6 6L18 18"})]}))}function O0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsx("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),jsx("path",{d:"M7 11l5 5l5 -5"}),jsx("path",{d:"M12 4l0 12"})]}))}function H0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsx("path",{d:"M9 15l6 -6"}),jsx("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),jsx("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]}))}function B0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.944 1.25H10a.75.75 0 0 1 0 1.5c-1.907 0-3.261.002-4.29.14c-1.005.135-1.585.389-2.008.812S3.025 4.705 2.89 5.71c-.138 1.029-.14 2.383-.14 4.29a.75.75 0 0 1-1.5 0v-.056c0-1.838 0-3.294.153-4.433c.158-1.172.49-2.121 1.238-2.87c.749-.748 1.698-1.08 2.87-1.238c1.14-.153 2.595-.153 4.433-.153m8.345 1.64c-1.027-.138-2.382-.14-4.289-.14a.75.75 0 0 1 0-1.5h.056c1.838 0 3.294 0 4.433.153c1.172.158 2.121.49 2.87 1.238c.748.749 1.08 1.698 1.238 2.87c.153 1.14.153 2.595.153 4.433V10a.75.75 0 0 1-1.5 0c0-1.907-.002-3.261-.14-4.29c-.135-1.005-.389-1.585-.812-2.008s-1.003-.677-2.009-.812M2 13.25a.75.75 0 0 1 .75.75c0 1.907.002 3.262.14 4.29c.135 1.005.389 1.585.812 2.008s1.003.677 2.009.812c1.028.138 2.382.14 4.289.14a.75.75 0 0 1 0 1.5h-.056c-1.838 0-3.294 0-4.433-.153c-1.172-.158-2.121-.49-2.87-1.238c-.748-.749-1.08-1.698-1.238-2.87c-.153-1.14-.153-2.595-.153-4.433V14a.75.75 0 0 1 .75-.75m20 0a.75.75 0 0 1 .75.75v.056c0 1.838 0 3.294-.153 4.433c-.158 1.172-.49 2.121-1.238 2.87c-.749.748-1.698 1.08-2.87 1.238c-1.14.153-2.595.153-4.433.153H14a.75.75 0 0 1 0-1.5c1.907 0 3.262-.002 4.29-.14c1.005-.135 1.585-.389 2.008-.812s.677-1.003.812-2.009c.138-1.027.14-2.382.14-4.289a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})}))}function U0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsx("path",{d:"M5 12l5 5l10 -10"})]}))}function Ee(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10m-5.97-3.03a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l1.47 1.47l2.235-2.235L14.97 8.97a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}))}function be(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100",height:"100",viewBox:"0 0 72 72",fill:"currentColor"},e),{children:jsx("path",{d:"M38.406 22.234l11.36 11.36L28.784 54.576l-12.876 4.307c-1.725.577-3.367-1.065-2.791-2.79l4.307-12.876L38.406 22.234zM41.234 19.406l5.234-5.234c1.562-1.562 4.095-1.562 5.657 0l5.703 5.703c1.562 1.562 1.562 4.095 0 5.657l-5.234 5.234L41.234 19.406z"})}))}function Y0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("circle",{cx:"12",cy:"12",r:"1"}),jsx("circle",{cx:"19",cy:"12",r:"1"}),jsx("circle",{cx:"5",cy:"12",r:"1"})]}))}function K0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm0 14a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z",fill:"#000000"})}))}function q0(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{d:"M18 11h-12c-1.104 0-2 .896-2 2s.896 2 2 2h12c1.104 0 2-.896 2-2s-.896-2-2-2z"})}))}function $0(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{d:"M12 3L12 6",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M21 12L18 12",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M12 21L12 18",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M3 12L6 12",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M5.63586 5.63605L7.75718 7.75737",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18.3639 5.63605L16.2426 7.75737",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M18.3641 18.3639L16.2428 16.2426",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsx("path",{d:"M5.63623 18.3639L7.75755 16.2426",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function te(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},e),{children:jsx("path",{d:"M21.4086 9.35258C23.5305 10.5065 23.5305 13.4935 21.4086 14.6474L8.59662 21.6145C6.53435 22.736 4 21.2763 4 18.9671V5.0329C4 2.72368 6.53435 1.26402 8.59661 2.38548L21.4086 9.35258Z"})}))}function ae(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7 9V3H9V9H7ZM7 13V11H9V13H7Z",fill:"#030708",fillRule:"evenodd"})}))}function ie(e){return jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsx("path",{id:"primary",d:"M14,18H9A6,6,0,0,1,5.54,7.11",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsx("path",{id:"primary-2","data-name":"primary",d:"M10,6h5a6,6,0,0,1,3.46,10.89",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsx("polyline",{id:"primary-3","data-name":"primary",points:"12 16 14 18 12 20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsx("polyline",{id:"primary-4","data-name":"primary",points:"12 8 10 6 12 4",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}))}function ne(e){return jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsx("path",{d:"M9.821,118.048h104.4c7.3,0,12-7.7,8.7-14.2l-52.2-92.5c-3.601-7.199-13.9-7.199-17.5,0l-52.2,92.5 C-2.179,110.348,2.521,118.048,9.821,118.048z M70.222,96.548c0,4.8-3.5,8.5-8.5,8.5s-8.5-3.7-8.5-8.5v-0.2c0-4.8,3.5-8.5,8.5-8.5 s8.5,3.7,8.5,8.5V96.548z M57.121,34.048h9.801c2.699,0,4.3,2.3,4,5.2l-4.301,37.6c-0.3,2.7-2.1,4.4-4.6,4.4s-4.3-1.7-4.6-4.4 l-4.301-37.6C52.821,36.348,54.422,34.048,57.121,34.048z"})}))}function q(e,t){if(typeof e!="string")return console.warn("getFileTypeFromMime: mimeType is not a string:",e),c.FILE;let a=e;if(t){let l=t.toLowerCase().replace(/^\./,""),n=re.getType(l);n&&(a=n);}return a.startsWith("image/")?c.IMAGE:a.startsWith("video/")?c.VIDEO:a.startsWith("audio/")?c.AUDIO:c.FILE}function Y2(e,t){let a=e;if(t){let l=t.toLowerCase().replace(/^\./,""),n=re.getType(l);n&&(a=n);}if(a.startsWith("image/"))return "image";if(a.startsWith("video/"))return "video";if(a.startsWith("audio/"))return "audio";switch(a){case "application/pdf":return "pdf";case "application/json":return "json";case "application/zip":case "application/x-zip-compressed":return "zip";case "application/x-rar-compressed":case "application/vnd.rar":return "rar";case "application/x-msdownload":case "application/x-executable":return "exe";case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":case "application/vnd.ms-excel":case "text/csv":return "excel";case "application/vnd.openxmlformats-officedocument.presentationml.presentation":case "application/vnd.ms-powerpoint":return "powerpoint";case "application/vnd.openxmlformats-officedocument.wordprocessingml.document":case "application/msword":return "document"}if(a.startsWith("text/"))return "txt";if(t)switch(t.toLowerCase().replace(/^\./,"")){case "exe":case "msi":return "exe";case "zip":return "zip";case "rar":return "rar";case "pdf":return "pdf";case "csv":return "excel"}return "file"}var X2=l=>{var n=l,{type:e,className:t}=n,a=L(n,["type","className"]);switch(e){case "folder-with-files":return jsx(N,o({className:t},a));case "folder":return jsx(Y,o({className:t},a));case "image":return jsx(W,o({className:t},a));case "video":return jsx(U,o({className:t},a));case "audio":return jsx(H,o({className:t},a));case "pdf":return jsx(R,o({className:t},a));case "excel":case "xlsx":return jsx(P,o({className:t},a));case "powerpoint":case "pptx":return jsx(_,o({className:t},a));case "document":case "docx":case "doc":return jsx(G,o({className:t},a));case "txt":return jsx(Z,o({className:t},a));case "json":return jsx(O,o({className:t},a));case "zip":return jsx(b,o({className:t},a));case "rar":return jsx(j,o({className:t},a));case "exe":return jsx(B,o({className:t},a));default:return jsx(E,o({className:t},a))}};function K2(e){if(!e||e.length===0)return "*/*";let t=[];for(let a of e)switch(a){case c.IMAGE:t.push("image/*");break;case c.VIDEO:t.push("video/*");break;case c.AUDIO:t.push("audio/*");break;case c.FILE:t.push("application/*","text/*");break}return t.join(",")}function Q2(e){if(!e||e.length===0)return "All files";let t=[];for(let a of e)switch(a){case c.IMAGE:t.push("Images");break;case c.VIDEO:t.push("Videos");break;case c.AUDIO:t.push("Audio");break;case c.FILE:t.push("Files");break}return t.join(", ")}var T=e=>new Promise(t=>setTimeout(t,e)),de=class{getFolder(t){if(t===null)return Promise.resolve(null);let a=g.find(r=>r.id===t);if(!a)return Promise.resolve(null);let l=o({},a),n=l;for(;n.parentId!==null;){let r=g.find(d=>d.id===n.parentId);if(r)n.parent=o({},r),n=n.parent;else break}return Promise.resolve(l)}async getFolders(t,a=1,l=20,n=""){await T(300);let r=t===null?g.filter(u=>u.parentId===null):g.filter(u=>u.parentId===t),d=r;if(n!=null&&n.trim()){let u=n.toLowerCase().trim();d=r.filter(z=>z.name.toLowerCase().includes(u));}let m=d.toSorted((u,z)=>new Date(u.createdAt).getTime()-new Date(z.createdAt).getTime()),v=m.length,x=Math.ceil(v/l),D=(a-1)*l;return {folders:m.slice(D,D+l),pagination:{currentPage:a,totalPages:x,totalFiles:v,filesPerPage:l}}}getTags(){return Promise.resolve(x0.map(t=>t.name))}async getFiles(t,a,l,n,r){await T(500);let d=[...w];if(t!==null&&(d=d.filter(C=>C.folderId===t)),a&&a.length>0&&(d=d.filter(C=>{let F=q(C.mime,C.ext);return a.includes(F)})),r){let C=r==null?void 0:r.toLowerCase();d=d.filter(F=>F.name.toLowerCase().includes(C));}let m=d.toSorted((C,F)=>new Date(C.createdAt).getTime()-new Date(F.createdAt).getTime()),v=l!=null?l:1,x=n!=null?n:10,D=m.length,k=Math.ceil(D/x),u=(v-1)*x;return {files:m.slice(u,u+x),pagination:{currentPage:v,totalPages:k,totalFiles:D,filesPerPage:x}}}async getItems(t,a,l=1,n=24,r=""){await T(300);let d=t===null?g.filter(p=>p.parentId===null):g.filter(p=>p.parentId===t),m=t===null?w.filter(p=>p.folderId===null):w.filter(p=>p.folderId===t);if(a&&a.length>0&&(m=m.filter(p=>{let I=q(p.mime,p.ext);return a.includes(I)})),r!=null&&r.trim()){let p=r.toLowerCase().trim();d=d.filter(I=>I.name.toLowerCase().includes(p)),m=m.filter(I=>{var f0,u0;return I.name.toLowerCase().includes(p)||((u0=(f0=I.ext)==null?void 0:f0.toLowerCase().includes(p))!=null?u0:false)});}let v=d.toSorted((p,I)=>new Date(p.createdAt).getTime()-new Date(I.createdAt).getTime()),x=m.toSorted((p,I)=>new Date(p.createdAt).getTime()-new Date(I.createdAt).getTime()),D=v.length+x.length,k=Math.ceil(D/n)||1,u=(l-1)*n,z=u+n,C=v.slice(Math.max(0,u),Math.min(v.length,z)),F=C.length,se=n-F,m0=Math.max(0,u-v.length),pe=x.slice(m0,m0+se);return {folders:C,files:pe,pagination:{currentPage:l,totalPages:k,totalFiles:D,filesPerPage:n}}}async createFolder(t,a){await T(300);let l={id:Date.now(),name:t,parentId:a!=null?a:null,pathId:typeof a=="number"?a:0,path:"",fileCount:0,folderCount:0,createdAt:new Date,updatedAt:new Date};return g.push(l),l}getMetaDataType(t,a){return t.type.startsWith("image/")?{}:t.type.startsWith("video/")?{duration:0,videoSource:a!=null?a:$.LOCAL}:t.type.startsWith("audio/")?{duration:0}:{description:""}}getFileType(t){var l;let a="."+((l=t.name.split(".").pop())==null?void 0:l.toLowerCase());return q(t.type,a)}async uploadFiles(t,a){var n;await T(500);let l=[];for(let{file:r,videoSource:d}of t){let m=this.getFileType(r),v="."+((n=r.name.split(".").pop())==null?void 0:n.toLowerCase()),x={id:Date.now()+Math.random(),name:r.name,folderId:a!=null?a:null,size:r.size,url:URL.createObjectURL(r),mime:r.type||"application/octet-stream",ext:v,metaData:this.getMetaDataType(r,d),createdAt:new Date,updatedAt:new Date,tags:[],width:m===c.IMAGE?800:void 0,height:m===c.IMAGE?600:void 0};w.push(x),l.push(x);}return l}renameFolder(t,a){let l=g.find(n=>n.id===t);return l?(l.name=a,l.updatedAt=new Date,Promise.resolve(l)):Promise.reject(new Error("Folder not found"))}updateFileMetaData(t,a){let l=w.find(m=>m.id===t);if(!l)return Promise.reject(new Error("File not found"));let d=a,{metaData:n}=d,r=L(d,["metaData"]);return Object.assign(l,r),n&&(l.metaData=o(o({},l.metaData),n)),l.updatedAt=new Date,Promise.resolve(l)}deleteFiles(t){for(let a of t){let l=w.findIndex(n=>n.id===a);l!==-1&&w.splice(l,1);}return Promise.resolve()}deleteFolders(t){for(let a of t){let l=g.findIndex(n=>n.id===a);if(l!==-1){g.splice(l,1);for(let n=w.length-1;n>=0;n--)w[n].folderId===a&&w.splice(n,1);}}return Promise.resolve()}findFiles(t){let a=t==null?void 0:t.toLowerCase(),l=w.filter(n=>{var r;return n.name.toLowerCase().includes(a)||((r=n.tags)==null?void 0:r.some(d=>d.toLowerCase().includes(a)))});return Promise.resolve(l)}findFolders(t){let a=t==null?void 0:t.toLowerCase(),l=g.filter(n=>n.name.toLowerCase().includes(a));return Promise.resolve(l)}moveFiles(t,a){let l=[];for(let n of t){let r=w.find(d=>d.id===n);r&&(r.folderId=a,r.updatedAt=new Date,l.push(r));}return Promise.resolve(l)}moveFolders(t,a){let l=[];for(let n of t){let r=g.find(d=>d.id===n);r&&(r.parentId=a,r.updatedAt=new Date,l.push(r));}return Promise.resolve(l)}};
18
- export{H0 as A,B0 as B,U0 as C,Ee as D,be as E,Y0 as F,K0 as G,q0 as H,$0 as I,te as J,ae as K,ie as L,ne as M,q as N,Y2 as O,X2 as P,K2 as Q,Q2 as R,de as S,o as a,i as b,L as c,fe as d,Ue as e,c as f,Ne as g,ue as h,Je as i,ge as j,Ye as k,$ as l,Xe as m,H as n,W as o,D0 as p,F0 as q,z0 as r,S0 as s,k0 as t,L0 as u,P0 as v,G0 as w,Z0 as x,b0 as y,O0 as z};
@@ -1,18 +0,0 @@
1
- 'use strict';var re=require('mime'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var re__default=/*#__PURE__*/_interopDefault(re);var ce=Object.defineProperty,he=Object.defineProperties;var me=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var w0=Object.prototype.hasOwnProperty,v0=Object.prototype.propertyIsEnumerable;var g0=(e,t,a)=>t in e?ce(e,t,{enumerable:true,configurable:true,writable:true,value:a}):e[t]=a,o=(e,t)=>{for(var a in t||(t={}))w0.call(t,a)&&g0(e,a,t[a]);if(A)for(var a of A(t))v0.call(t,a)&&g0(e,a,t[a]);return e},i=(e,t)=>he(e,me(t));var L=(e,t)=>{var a={};for(var l in e)w0.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&A)for(var l of A(e))t.indexOf(l)<0&&v0.call(e,l)&&(a[l]=e[l]);return a};var g=[{id:1,name:"Documents",pathId:1,path:"/1",parentId:null,fileCount:20,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:2,name:"Images",pathId:2,path:"/2",parentId:null,fileCount:10,folderCount:3,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:3,name:"Videos",pathId:3,path:"/3",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:4,name:"Music Some Long Name Streched also so long to fit in the card Music Some Long Name Streched also so long to fit in the card",pathId:4,path:"/4",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:5,name:"Archives",pathId:5,path:"/5",parentId:null,fileCount:5,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:6,name:"Album 01",pathId:6,path:"/2/6",parentId:2,fileCount:0,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:7,name:"Album 02",pathId:7,path:"/2/7",parentId:2,fileCount:0,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")},{id:8,name:"Squirrels",pathId:8,path:"/2/8",parentId:2,fileCount:1,folderCount:0,createdAt:new Date("2024-01-01"),updatedAt:new Date("2024-01-01")}],x0=[{id:1,name:"Important",color:"#ef4444"},{id:2,name:"Work",color:"#3b82f6"},{id:3,name:"Personal",color:"#10b981"},{id:4,name:"Project",color:"#8b5cf6"},{id:5,name:"Archive",color:"#6b7280"}],w=[{id:101,name:"welcome.pdf",url:"/placeholder.svg?height=400&width=300",size:245e3,createdAt:new Date("2024-05-15T10:00:00Z"),updatedAt:new Date("2024-05-15T10:00:00Z"),folderId:null,tags:["important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:2,author:"Admin"}},{id:102,name:"desktop_wallpaper.jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926",size:42e5,createdAt:new Date("2024-05-14T15:30:00Z"),updatedAt:new Date("2024-05-14T15:30:00Z"),folderId:null,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:5e3,height:3333,formats:{thumbnail:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=156",hash:"thumbnail_desktop_wallpaper_abc123",mime:"image/jpeg",name:"thumbnail_desktop_wallpaper.jpg",path:null,size:5.57,width:156,height:104},small:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=500",hash:"small_desktop_wallpaper_abc123",mime:"image/jpeg",name:"small_desktop_wallpaper.jpg",path:null,size:47.27,width:500,height:333},medium:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=750",hash:"medium_desktop_wallpaper_abc123",mime:"image/jpeg",name:"medium_desktop_wallpaper.jpg",path:null,size:97.89,width:750,height:500},large:{ext:".jpg",url:"https://images.unsplash.com/photo-1557683316-973673baf926?w=1000",hash:"large_desktop_wallpaper_abc123",mime:"image/jpeg",name:"large_desktop_wallpaper.jpg",path:null,size:159.48,width:1e3,height:667}},metaData:{}},{id:103,name:"quick_notes.txt",url:"/placeholder.svg?height=400&width=300",size:3500,createdAt:new Date("2024-05-13T09:45:00Z"),updatedAt:new Date("2024-05-13T09:45:00Z"),folderId:null,tags:[],mime:"text/plain",ext:".txt",metaData:{}},{id:104,name:"intro_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:12e6,createdAt:new Date("2024-05-12T14:00:00Z"),updatedAt:new Date("2024-05-12T14:00:00Z"),folderId:null,tags:[],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:90,videoSource:"local"}},{id:105,name:"profile_photo.png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde",size:85e4,createdAt:new Date("2024-05-11T11:20:00Z"),updatedAt:new Date("2024-05-11T11:20:00Z"),folderId:null,tags:["personal"],mime:"image/png",ext:".png",width:2e3,height:2e3,formats:{thumbnail:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=156",hash:"thumbnail_profile_photo_def456",mime:"image/png",name:"thumbnail_profile_photo.png",path:null,size:8.2,width:156,height:156},small:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=500",hash:"small_profile_photo_def456",mime:"image/png",name:"small_profile_photo.png",path:null,size:52.3,width:500,height:500},medium:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=750",hash:"medium_profile_photo_def456",mime:"image/png",name:"medium_profile_photo.png",path:null,size:110.5,width:750,height:750},large:{ext:".png",url:"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=1000",hash:"large_profile_photo_def456",mime:"image/png",name:"large_profile_photo.png",path:null,size:185.7,width:1e3,height:1e3}},metaData:{}},{id:106,name:"todo_list.md",url:"/placeholder.svg?height=400&width=300",size:6200,createdAt:new Date("2024-05-10T08:30:00Z"),updatedAt:new Date("2024-05-10T08:30:00Z"),folderId:null,tags:["important"],mime:"text/markdown",ext:".md",metaData:{}},{id:107,name:"app_settings.json",url:"/placeholder.svg?height=400&width=300",size:4800,createdAt:new Date("2024-05-09T16:15:00Z"),updatedAt:new Date("2024-05-09T16:15:00Z"),folderId:null,tags:[],mime:"application/json",ext:".json",metaData:{}},{id:108,name:"mountain_landscape.webp",url:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4",size:12e5,createdAt:new Date("2024-05-08T13:00:00Z"),updatedAt:new Date("2024-05-08T13:00:00Z"),folderId:null,tags:["personal"],mime:"image/webp",ext:".webp",width:4e3,height:2667,metaData:{}},{id:1,name:"Key-Monastery-img.avif",url:"https://unciatrails.com/wp-content/uploads/2024/07/Key-Monastery-img.avif",size:2621440,createdAt:new Date("2023-10-26T10:30:00Z"),updatedAt:new Date("2023-10-26T10:30:00Z"),folderId:8,tags:["personal","important"],mime:"image/avif",ext:".avif",caption:"A cute squirrel in the park",alternativeText:"Gray squirrel sitting on wooden fence",width:3024,height:4032,metaData:{}},{id:2,name:"project_proposal thoda sa.pdf",url:"/placeholder.svg?height=400&width=300",size:1048576,createdAt:new Date("2024-05-10T14:20:00Z"),updatedAt:new Date("2024-05-10T14:20:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:15,author:"John Doe"}},{id:3,name:"quarterly_report.xlsx",url:"/placeholder.svg?height=400&width=300",size:524288,createdAt:new Date("2024-05-08T09:15:00Z"),updatedAt:new Date("2024-05-08T09:15:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:10}},{id:4,name:"presentation.pptx",url:"/placeholder.svg?height=400&width=300",size:2097152,createdAt:new Date("2024-05-05T16:45:00Z"),updatedAt:new Date("2024-05-05T16:45:00Z"),folderId:1,tags:["work","project"],mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ext:".pptx",metaData:{pageCount:20}},{id:8,name:"documnet.doc",url:"/placeholder.svg?height=400&width=300",size:2097152,createdAt:new Date("2024-05-05T16:45:00Z"),updatedAt:new Date("2024-05-05T16:45:00Z"),folderId:1,tags:["work","project"],mime:"application/msword",ext:".doc",metaData:{pageCount:20}},{id:5,name:"demo_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:10485760,createdAt:new Date("2024-05-03T11:30:00Z"),updatedAt:new Date("2024-05-03T11:30:00Z"),folderId:3,tags:["project"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:120,videoSource:"remote"}},{id:6,name:"podcast_episode.mp3",url:"/placeholder.svg?height=400&width=300",size:5242880,createdAt:new Date("2024-05-02T10:00:00Z"),updatedAt:new Date("2024-05-02T10:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:3600}},{id:7,name:"notes.txt",url:"/placeholder.svg?height=400&width=300",size:1024,createdAt:new Date("2024-05-01T09:00:00Z"),updatedAt:new Date("2024-05-01T09:00:00Z"),folderId:1,tags:["work"],mime:"text/plain",ext:".txt",metaData:{}},{id:9,name:"data.json",url:"/placeholder.svg?height=400&width=300",size:2048,createdAt:new Date("2024-04-30T15:00:00Z"),updatedAt:new Date("2024-04-30T15:00:00Z"),folderId:1,tags:["project"],mime:"application/json",ext:".json",metaData:{}},{id:10,name:"archive.zip",url:"/placeholder.svg?height=400&width=300",size:104857600,createdAt:new Date("2024-04-29T12:00:00Z"),updatedAt:new Date("2024-04-29T12:00:00Z"),folderId:5,tags:["archive"],mime:"application/zip",ext:".zip",metaData:{description:"Project backup"}},{id:11,name:"setup.exe",url:"/placeholder.svg?height=400&width=300",size:52428800,createdAt:new Date("2024-04-28T11:00:00Z"),updatedAt:new Date("2024-04-28T11:00:00Z"),folderId:5,tags:["software"],mime:"application/x-msdownload",ext:".exe",metaData:{description:"Installer"}},{id:12,name:"old_stuff.rar",url:"/placeholder.svg?height=400&width=300",size:20971520,createdAt:new Date("2024-04-27T10:00:00Z"),updatedAt:new Date("2024-04-27T10:00:00Z"),folderId:5,tags:["archive"],mime:"application/x-rar-compressed",ext:".rar",metaData:{description:"Old files"}},{id:13,name:"meeting_notes_q1.pdf",url:"/placeholder.svg?height=400&width=300",size:856e3,createdAt:new Date("2024-03-15T09:00:00Z"),updatedAt:new Date("2024-03-15T09:00:00Z"),folderId:1,tags:["work"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:8,author:"Sarah Johnson"}},{id:14,name:"budget_2024.xlsx",url:"/placeholder.svg?height=400&width=300",size:425e3,createdAt:new Date("2024-03-10T14:30:00Z"),updatedAt:new Date("2024-03-10T14:30:00Z"),folderId:1,tags:["work","important"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:5}},{id:15,name:"team_photo.jpg",url:"https://images.unsplash.com/photo-1522071820081-009f0129c71c",size:32e5,createdAt:new Date("2024-02-28T11:00:00Z"),updatedAt:new Date("2024-02-28T11:00:00Z"),folderId:2,tags:["work"],mime:"image/jpeg",ext:".jpg",width:4e3,height:3e3,metaData:{}},{id:16,name:"logo_design.png",url:"https://images.unsplash.com/photo-1611162617474-5b21e879e113",size:15e5,createdAt:new Date("2024-02-20T10:00:00Z"),updatedAt:new Date("2024-02-20T10:00:00Z"),folderId:2,tags:["project"],mime:"image/png",ext:".png",width:2e3,height:2e3,metaData:{}},{id:17,name:"product_demo.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:15e6,createdAt:new Date("2024-02-15T16:00:00Z"),updatedAt:new Date("2024-02-15T16:00:00Z"),folderId:3,tags:["project"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:180,videoSource:"local"}},{id:18,name:"training_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:25e6,createdAt:new Date("2024-02-10T09:30:00Z"),updatedAt:new Date("2024-02-10T09:30:00Z"),folderId:3,tags:["work"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:300,videoSource:"local"}},{id:19,name:"background_music.mp3",url:"/placeholder.svg?height=400&width=300",size:45e5,createdAt:new Date("2024-02-05T14:00:00Z"),updatedAt:new Date("2024-02-05T14:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:240}},{id:20,name:"contract_template.docx",url:"/placeholder.svg?height=400&width=300",size:65e4,createdAt:new Date("2024-01-30T11:00:00Z"),updatedAt:new Date("2024-01-30T11:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",ext:".docx",metaData:{pageCount:12}},{id:21,name:"invoice_jan.pdf",url:"/placeholder.svg?height=400&width=300",size:32e4,createdAt:new Date("2024-01-25T10:00:00Z"),updatedAt:new Date("2024-01-25T10:00:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:3}},{id:22,name:"vacation_photo1.jpg",url:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4",size:28e5,createdAt:new Date("2024-01-20T15:00:00Z"),updatedAt:new Date("2024-01-20T15:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:3500,height:2500,metaData:{}},{id:23,name:"vacation_photo2.jpg",url:"https://images.unsplash.com/photo-1469474968028-56623f02e42e",size:31e5,createdAt:new Date("2024-01-20T15:05:00Z"),updatedAt:new Date("2024-01-20T15:05:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4e3,height:2800,metaData:{}},{id:24,name:"project_backup.zip",url:"/placeholder.svg?height=400&width=300",size:85e6,createdAt:new Date("2024-01-15T12:00:00Z"),updatedAt:new Date("2024-01-15T12:00:00Z"),folderId:5,tags:["archive","project"],mime:"application/zip",ext:".zip",metaData:{description:"Full project backup"}},{id:25,name:"presentation_final.pptx",url:"/placeholder.svg?height=400&width=300",size:35e5,createdAt:new Date("2024-01-10T16:00:00Z"),updatedAt:new Date("2024-01-10T16:00:00Z"),folderId:1,tags:["work","important"],mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ext:".pptx",metaData:{pageCount:35}},{id:26,name:"screenshot_001.png",url:"https://images.unsplash.com/photo-1517694712202-14dd9538aa97",size:12e5,createdAt:new Date("2024-01-05T09:00:00Z"),updatedAt:new Date("2024-01-05T09:00:00Z"),folderId:2,tags:["work"],mime:"image/png",ext:".png",width:1920,height:1080,metaData:{}},{id:27,name:"config.json",url:"/placeholder.svg?height=400&width=300",size:5e3,createdAt:new Date("2023-12-28T14:00:00Z"),updatedAt:new Date("2023-12-28T14:00:00Z"),folderId:1,tags:["project"],mime:"application/json",ext:".json",metaData:{}},{id:28,name:"readme.md",url:"/placeholder.svg?height=400&width=300",size:8500,createdAt:new Date("2023-12-20T10:00:00Z"),updatedAt:new Date("2023-12-20T10:00:00Z"),folderId:1,tags:["project"],mime:"text/markdown",ext:".md",metaData:{}},{id:29,name:"database_backup.sql",url:"/placeholder.svg?height=400&width=300",size:12e6,createdAt:new Date("2023-12-15T11:00:00Z"),updatedAt:new Date("2023-12-15T11:00:00Z"),folderId:5,tags:["archive","important"],mime:"application/sql",ext:".sql",metaData:{description:"Database backup"}},{id:30,name:"tutorial_video.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:18e6,createdAt:new Date("2023-12-10T13:00:00Z"),updatedAt:new Date("2023-12-10T13:00:00Z"),folderId:3,tags:["personal"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:420,videoSource:"local"}},{id:31,name:"company_logo.svg",url:"/placeholder.svg?height=400&width=300",size:45e3,createdAt:new Date("2023-12-05T09:00:00Z"),updatedAt:new Date("2023-12-05T09:00:00Z"),folderId:2,tags:["work"],mime:"image/svg+xml",ext:".svg",metaData:{}},{id:32,name:"report_q4.pdf",url:"/placeholder.svg?height=400&width=300",size:18e5,createdAt:new Date("2023-12-01T15:00:00Z"),updatedAt:new Date("2023-12-01T15:00:00Z"),folderId:1,tags:["work","important"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:25,author:"Finance Team"}},{id:33,name:"nature_photo.webp",url:"https://images.unsplash.com/photo-1441974231531-c6227db76b6e",size:95e4,createdAt:new Date("2023-11-25T12:00:00Z"),updatedAt:new Date("2023-11-25T12:00:00Z"),folderId:2,tags:["personal"],mime:"image/webp",ext:".webp",width:3e3,height:2e3,metaData:{}},{id:34,name:"podcast_intro.mp3",url:"/placeholder.svg?height=400&width=300",size:25e5,createdAt:new Date("2023-11-20T10:00:00Z"),updatedAt:new Date("2023-11-20T10:00:00Z"),folderId:4,tags:["personal"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:180}},{id:35,name:"data_export.csv",url:"/placeholder.svg?height=400&width=300",size:85e4,createdAt:new Date("2023-11-15T14:00:00Z"),updatedAt:new Date("2023-11-15T14:00:00Z"),folderId:1,tags:["work"],mime:"text/csv",ext:".csv",metaData:{}},{id:36,name:"wireframes.pdf",url:"/placeholder.svg?height=400&width=300",size:42e5,createdAt:new Date("2023-11-10T11:00:00Z"),updatedAt:new Date("2023-11-10T11:00:00Z"),folderId:1,tags:["project"],mime:"application/pdf",ext:".pdf",metaData:{pageCount:45}},{id:37,name:"cityscape.jpg",url:"https://images.unsplash.com/photo-1449824913935-59a10b8d2000",size:38e5,createdAt:new Date("2023-11-05T16:00:00Z"),updatedAt:new Date("2023-11-05T16:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4500,height:3e3,metaData:{}},{id:38,name:"interview_recording.mp3",url:"/placeholder.svg?height=400&width=300",size:85e5,createdAt:new Date("2023-11-01T09:00:00Z"),updatedAt:new Date("2023-11-01T09:00:00Z"),folderId:4,tags:["work"],mime:"audio/mpeg",ext:".mp3",metaData:{duration:1800}},{id:39,name:"client_files.rar",url:"/placeholder.svg?height=400&width=300",size:45e6,createdAt:new Date("2023-10-25T13:00:00Z"),updatedAt:new Date("2023-10-25T13:00:00Z"),folderId:5,tags:["archive","work"],mime:"application/x-rar-compressed",ext:".rar",metaData:{description:"Client deliverables"}},{id:40,name:"marketing_plan.docx",url:"/placeholder.svg?height=400&width=300",size:12e5,createdAt:new Date("2023-10-20T10:00:00Z"),updatedAt:new Date("2023-10-20T10:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",ext:".docx",metaData:{pageCount:18}},{id:41,name:"analytics_data.xlsx",url:"/placeholder.svg?height=400&width=300",size:21e5,createdAt:new Date("2023-10-15T15:00:00Z"),updatedAt:new Date("2023-10-15T15:00:00Z"),folderId:1,tags:["work"],mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ext:".xlsx",metaData:{pageCount:8}},{id:42,name:"sunset_beach.jpg",url:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e",size:32e5,createdAt:new Date("2023-10-10T17:00:00Z"),updatedAt:new Date("2023-10-10T17:00:00Z"),folderId:2,tags:["personal"],mime:"image/jpeg",ext:".jpg",width:4e3,height:2700,metaData:{}},{id:43,name:"webinar_recording.mp4",url:"https://docs.material-tailwind.com/demo.mp4",size:35e6,createdAt:new Date("2023-10-05T14:00:00Z"),updatedAt:new Date("2023-10-05T14:00:00Z"),folderId:3,tags:["work"],mime:"video/mp4",ext:".mp4",width:1920,height:1080,metaData:{duration:600,videoSource:"local"}},{id:44,name:"sound_effects.wav",url:"/placeholder.svg?height=400&width=300",size:15e6,createdAt:new Date("2023-10-01T11:00:00Z"),updatedAt:new Date("2023-10-01T11:00:00Z"),folderId:4,tags:["project"],mime:"audio/wav",ext:".wav",metaData:{duration:120}},{id:45,name:"legacy_system.zip",url:"/placeholder.svg?height=400&width=300",size:125e6,createdAt:new Date("2023-09-25T09:00:00Z"),updatedAt:new Date("2023-09-25T09:00:00Z"),folderId:5,tags:["archive"],mime:"application/zip",ext:".zip",metaData:{description:"Old system files"}}];var fe={PAGE:"page",MODAL:"modal"},Ue=Object.values(fe),c={IMAGE:"images",VIDEO:"videos",AUDIO:"audios",FILE:"files"},Ne=Object.values(c),ue={SINGLE:"single",MULTIPLE:"multiple"},Je=Object.values(ue),ge={GRID:"grid",LIST:"list"},Ye=Object.values(ge),$={LOCAL:"local",REMOTE:"remote",YOUTUBE:"youtube",VIMEO:"vimeo"},Xe=Object.values($);function R(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 29.93 40.02",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#e5252a",d:"M5.21 0l13.38 0 11.34 11.82 0 22.99c0,2.88 -2.33,5.21 -5.2,5.21l-19.52 0c-2.88,0 -5.21,-2.33 -5.21,-5.21l0 -29.6c0,-2.88 2.33,-5.21 5.21,-5.21z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"18.58 0 18.58 11.73 29.93 11.73"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M5.79 29.86l0 -7.31 3.11 0c0.77,0 1.38,0.21 1.84,0.64 0.46,0.42 0.69,0.99 0.69,1.7 0,0.71 -0.23,1.28 -0.69,1.7 -0.46,0.43 -1.07,0.64 -1.84,0.64l-1.24 0 0 2.63 -1.87 0zm1.87 -4.22l1.03 0c0.28,0 0.5,-0.06 0.65,-0.2 0.15,-0.13 0.23,-0.31 0.23,-0.55 0,-0.24 -0.08,-0.42 -0.23,-0.55 -0.15,-0.14 -0.37,-0.2 -0.65,-0.2l-1.03 0 0 1.5zm4.54 4.22l0 -7.31 2.59 0c0.51,0 0.99,0.07 1.44,0.22 0.45,0.15 0.86,0.36 1.22,0.65 0.36,0.28 0.65,0.66 0.86,1.14 0.2,0.48 0.31,1.03 0.31,1.65 0,0.61 -0.11,1.16 -0.31,1.64 -0.21,0.48 -0.5,0.86 -0.86,1.14 -0.36,0.29 -0.77,0.5 -1.22,0.65 -0.45,0.15 -0.93,0.22 -1.44,0.22l-2.59 0zm1.83 -1.59l0.54 0c0.29,0 0.56,-0.03 0.81,-0.1 0.24,-0.07 0.47,-0.18 0.69,-0.33 0.21,-0.15 0.38,-0.36 0.5,-0.64 0.12,-0.28 0.18,-0.61 0.18,-0.99 0,-0.39 -0.06,-0.72 -0.18,-1 -0.12,-0.28 -0.29,-0.49 -0.5,-0.64 -0.22,-0.15 -0.45,-0.26 -0.69,-0.33 -0.25,-0.07 -0.52,-0.1 -0.81,-0.1l-0.54 0 0 4.13zm5.53 1.59l0 -7.31 5.2 0 0 1.59 -3.33 0 0 1.17 2.66 0 0 1.58 -2.66 0 0 2.97 -1.87 0z"})]}))}function P(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 17.69 23.65",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#00733b",d:"M3.08 0l7.91 0 6.7 6.99 0 13.58c0,1.7 -1.38,3.08 -3.08,3.08l-11.53 0c-1.7,0 -3.08,-1.38 -3.08,-3.08l0 -17.49c0,-1.7 1.38,-3.08 3.08,-3.08z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"10.98 0 10.98 6.93 17.69 6.93"}),jsxRuntime.jsx("path",{fill:"#fff",d:"M5.21 17.35l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 -6.08l3.15 0 0 1.18 -3.15 0 0 -1.18zm-4.12 0l3.14 0 0 1.18 -3.14 0 0 -1.18zm4.12 2l3.15 0 0 1.19 -3.15 0 0 -1.19zm-4.12 0l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 2.08l3.15 0 0 1.19 -3.15 0 0 -1.19zm-4.12 0l3.14 0 0 1.19 -3.14 0 0 -1.19zm4.12 2l3.15 0 0 1.19 -3.15 0 0 -1.19z"})]}))}function _(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#e03303",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M11.76 16.13c-2.44,0.12 -4.38,2.15 -4.35,4.62 0.04,2.46 2.04,4.47 4.5,4.5 2.48,0.04 4.51,-1.9 4.62,-4.34 0.01,-0.12 -0.09,-0.22 -0.21,-0.22l-4.13 0c-0.12,0 -0.22,-0.1 -0.22,-0.21l0 -4.14c0,-0.12 -0.09,-0.21 -0.21,-0.21zm1.1 -0.67l0 4.13c0,0.12 0.09,0.21 0.21,0.21l4.14 0c0.12,0 0.21,-0.1 0.21,-0.22 -0.11,-2.34 -1.99,-4.22 -4.34,-4.33 -0.12,-0.01 -0.22,0.09 -0.22,0.21z"})]}))}function G(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 38.89 51.99",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#0263d1",fillRule:"nonzero",d:"M6.76 0l17.4 0 14.73 15.36 0 29.87c0,3.73 -3.03,6.76 -6.77,6.76l-25.36 0c-3.73,0 -6.76,-3.03 -6.76,-6.76l0 -38.47c0,-3.73 3.03,-6.76 6.76,-6.76z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"24.14 0 24.14 15.24 38.89 15.24"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M26.3 27.05l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm-4.57 13.71l-9.14 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l9.14 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm4.57 -4.57l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0zm0 -4.57l-13.71 0c-0.63,0 -1.15,-0.51 -1.15,-1.14 0,-0.63 0.52,-1.14 1.15,-1.14l13.71 0c0.63,0 1.14,0.51 1.14,1.14 0,0.63 -0.51,1.14 -1.14,1.14l0 0z"})]}))}function Z(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#ffc000",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsxRuntime.jsx("polygon",{fill:"#ffffff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsxRuntime.jsx("path",{fill:"#ffffff",fillRule:"nonzero",d:"M16.45 21.21l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0zm0 2.86l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0zm-4.36 -8.57l-4.21 0c-0.4,0 -0.72,0.31 -0.72,0.71 0,0.4 0.32,0.71 0.72,0.71l4.21 0c0.4,0 0.72,-0.31 0.72,-0.71 0,-0.4 -0.32,-0.71 -0.72,-0.71l0 0zm4.36 2.85l-8.57 0c-0.4,0 -0.72,0.32 -0.72,0.72 0,0.39 0.32,0.71 0.72,0.71l8.57 0c0.4,0 0.72,-0.32 0.72,-0.71 0,-0.4 -0.32,-0.72 -0.72,-0.72l0 0z"})]}))}function E(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100",height:"100",viewBox:"0 0 48 48","aria-hidden":"true"},e),{children:[jsxRuntime.jsxs("linearGradient",{id:"X-uD4Bgl9JIhUIufrZZzja_Pjo0BrMdm974_gr1",x1:"37.127",x2:"25.868",y1:"6.873",y2:"18.132",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0",stopColor:"#262626",stopOpacity:"0"}),jsxRuntime.jsx("stop",{offset:".913",stopColor:"#262626",stopOpacity:".8"})]}),jsxRuntime.jsx("path",{fill:"url(#X-uD4Bgl9JIhUIufrZZzja_Pjo0BrMdm974_gr1)",d:"M28,4v8c0,2.209,1.791,4,4,4h8L28,4z",children:" "}),jsxRuntime.jsxs("linearGradient",{id:"X-uD4Bgl9JIhUIufrZZzjb_Pjo0BrMdm974_gr2",x1:"-8.398",x2:"74.731",y1:"51.185",y2:"-18.568",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0",stopColor:"#262626",stopOpacity:"0"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#262626",stopOpacity:".8"})]}),jsxRuntime.jsx("path",{fill:"url(#X-uD4Bgl9JIhUIufrZZzjb_Pjo0BrMdm974_gr2)",d:"M40,16v23c0,2.761-2.239,5-5,5H8V9c0-2.761,2.239-5,5-5h15L40,16z"})]}))}function b(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100","aria-hidden":"true"},e),{children:[jsxRuntime.jsx("path",{fill:"#ffb11f",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M8.96 16.9l0 -2.22c0,-0.24 -0.19,-0.43 -0.43,-0.43l-1.2 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 2.22 -0.67 1.96c-0.19,0.55 -0.1,1.16 0.24,1.63 0.33,0.47 0.88,0.75 1.46,0.75 0.58,0 1.12,-0.28 1.46,-0.75 0.34,-0.47 0.43,-1.08 0.24,-1.63l-0.67 -1.96zm-0.28 3.08c-0.34,0.49 -1.16,0.49 -1.51,0 -0.17,-0.24 -0.22,-0.56 -0.12,-0.84l0.22 -0.66 1.31 0 0.23 0.66c0.09,0.28 0.05,0.6 -0.13,0.84zm-3.41 -17.65l0 1.22c0,0.24 0.19,0.43 0.43,0.43l1.63 0 0 1.82 -1.63 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 0.94c0,0.24 0.19,0.44 0.43,0.44l1.63 0 0 1.81 -1.63 0c-0.24,0 -0.43,0.19 -0.43,0.43l0 0.95c0,0.24 0.19,0.43 0.43,0.43l1.63 0 0 1.38c0,0.24 0.2,0.43 0.44,0.43l2.39 0c0.23,0 0.43,-0.19 0.43,-0.43l0 -0.95c0,-0.23 -0.2,-0.43 -0.43,-0.43l-1.64 0 0 -1.81 1.64 0c0.23,0 0.43,-0.19 0.43,-0.43l0 -0.95c0,-0.24 -0.2,-0.43 -0.43,-0.43l-1.64 0 0 -1.81 1.64 0c0.23,0 0.43,-0.2 0.43,-0.44l0 -0.94c0,-0.24 -0.2,-0.44 -0.43,-0.44l-1.64 0 0 -1.66c0,0 -3.25,0.01 -3.25,0.01z"})]}))}function O(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 20.49 27.4",width:"100",height:"100","aria-hidden":"true"},e),{children:[jsxRuntime.jsx("path",{fill:"#00a1e0",d:"M3.56 0l9.17 0 7.76 8.1 0 15.73c0,1.97 -1.59,3.57 -3.56,3.57l-13.37 0c-1.96,0 -3.56,-1.6 -3.56,-3.57l0 -20.27c0,-1.96 1.6,-3.56 3.56,-3.56z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"12.72 0 12.72 8.03 20.49 8.03"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M12.07 20.44l-0.52 0 0 -0.99 0.11 0c0.26,0 0.39,-0.14 0.39,-0.42l0 -1.45c0,-0.23 0.06,-0.41 0.16,-0.53 0.11,-0.11 0.27,-0.21 0.48,-0.3 -0.2,-0.08 -0.36,-0.18 -0.47,-0.3 -0.11,-0.12 -0.17,-0.29 -0.17,-0.52l0 -1.45c0,-0.28 -0.13,-0.42 -0.39,-0.42l-0.11 0 0 -0.99 0.52 0c0.31,0 0.56,0.1 0.76,0.3 0.2,0.2 0.3,0.45 0.3,0.75l0 1.55c0,0.38 0.21,0.57 0.63,0.57l0 1.03c-0.42,0 -0.63,0.19 -0.63,0.58l0 1.54c0,0.3 -0.1,0.55 -0.3,0.75 -0.2,0.2 -0.45,0.3 -0.76,0.3zm-3.65 0c-0.3,0 -0.56,-0.1 -0.76,-0.3 -0.2,-0.2 -0.3,-0.45 -0.3,-0.75l0 -1.54c0,-0.39 -0.21,-0.58 -0.63,-0.58l0 -1.03c0.42,0 0.63,-0.19 0.63,-0.57l0 -1.55c0,-0.3 0.1,-0.55 0.3,-0.75 0.2,-0.2 0.46,-0.3 0.76,-0.3l0.53 0 0 0.99 -0.12 0c-0.26,0 -0.39,0.14 -0.39,0.42l0 1.45c0,0.23 -0.05,0.4 -0.16,0.52 -0.11,0.12 -0.27,0.22 -0.48,0.3 0.21,0.09 0.37,0.19 0.48,0.3 0.11,0.12 0.16,0.3 0.16,0.53l0 1.45c0,0.28 0.13,0.42 0.39,0.42l0.12 0 0 0.99 -0.53 0z"})]}))}function H(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 24.33 32.53",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#90c",d:"M4.23 0l10.88 0 9.22 9.61 0 18.69c0,2.33 -1.9,4.23 -4.23,4.23l-15.87 0c-2.34,0 -4.23,-1.9 -4.23,-4.23l0 -24.07c0,-2.34 1.89,-4.23 4.23,-4.23z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"15.1 0 15.1 9.53 24.33 9.53"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M15.07 21.38c0.31,-0.52 0.52,-1.18 0.56,-1.83 0.02,-0.42 -0.07,-0.86 -0.27,-1.27 -0.32,-0.65 -0.86,-1.01 -1.39,-1.37 -0.39,-0.26 -0.76,-0.51 -1.02,-0.86l-0.05 -0.06c-0.15,-0.21 -0.33,-0.45 -0.36,-0.65 -0.02,-0.2 -0.21,-0.34 -0.4,-0.33 -0.21,0.02 -0.36,0.18 -0.36,0.39l0 6.86c-0.32,-0.2 -0.72,-0.32 -1.16,-0.32 -1.06,0 -1.92,0.69 -1.92,1.54 0,0.85 0.86,1.54 1.92,1.54 1.06,0 1.93,-0.69 1.93,-1.54l0 -4.49c0.58,0.23 1.52,0.79 1.78,2.1 -0.05,0.07 -0.09,0.15 -0.15,0.21 -0.14,0.16 -0.12,0.4 0.04,0.55 0.16,0.14 0.4,0.12 0.54,-0.04 0.1,-0.12 0.2,-0.25 0.28,-0.4 0.01,-0.01 0.02,-0.02 0.03,-0.03z"})]}))}function j(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#188a32",d:"M56,35v8c0,1.66-1.34,3-3,3H11c-1.66,0-3-1.34-3-3v-8c0-1.66,1.34-3,3-3h42C54.66,32,56,33.34,56,35z"}),jsxRuntime.jsx("path",{fill:"#0082AA",d:"M44,29v5c0,1.66-1.34,3-3,3H23c-1.66,0-3-1.34-3-3v-5h4v4h16v-4H44z"}),jsxRuntime.jsx("path",{fill:"#4d50c6",d:`M53,32H11c-1.657,0-3-1.343-3-3v-8c0-1.657,1.343-3,3-3h42c1.657,0,3,1.343,3,3v8
2
- C56,30.657,54.657,32,53,32z`}),jsxRuntime.jsx("path",{fill:"#e6275e",d:`M53,18H11c-1.657,0-3-1.343-3-3V7c0-1.657,1.343-3,3-3h42c1.657,0,3,1.343,3,3v8
3
- C56,16.657,54.657,18,53,18z`}),jsxRuntime.jsx("rect",{width:"16",height:"42",x:"24",y:"4",fill:"#FAB400"}),jsxRuntime.jsx("path",{fill:"#DC9600",d:"M32,46L32,46c-4.418,0-8-3.582-8-8v-4h16v4C40,42.418,36.418,46,32,46z"}),jsxRuntime.jsx("path",{fill:"#FAB400",d:"M32,44L32,44c-4.418,0-8-3.582-8-8v-4h16v4C40,40.418,36.418,44,32,44z"}),jsxRuntime.jsx("rect",{width:"16",height:"4",x:"24",y:"33",fill:"#DC9600"}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:`M44,17v16c0,1.66-1.34,3-3,3H23c-1.66,0-3-1.34-3-3V17c0-1.66,1.34-3,3-3h1v18h16V14h1
4
- C42.66,14,44,15.34,44,17z`}),jsxRuntime.jsx("path",{fill:"#D2D2D2",d:"M34,31v2c0,1.1-0.9,2-2,2s-2-0.9-2-2v-2H34z"}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:`M32,34L32,34c-1.105,0-2-0.895-2-2v-8c0-1.105,0.895-2,2-2h0c1.105,0,2,0.895,2,2v8
5
- C34,33.105,33.105,34,32,34z`}),jsxRuntime.jsx("circle",{cx:"32",cy:"18",r:"2",fill:"#C80A50"}),jsxRuntime.jsx("circle",{cx:"32",cy:"10",r:"2",fill:"#00A0C8"}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:"M34,18h-4c0-1.1,0.9-2,2-2S34,16.9,34,18z"}),jsxRuntime.jsx("path",{fill:"#0A5078",d:`M47,60H17c-1.105,0-2-0.895-2-2V44c0-1.105,0.895-2,2-2h30c1.105,0,2,0.895,2,2v14
6
- C49,59.105,48.105,60,47,60z`}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:`M35,53h-6c-0.552,0-1-0.448-1-1v-3c0-2.206,1.794-4,4-4s4,1.794,4,4v3C36,52.552,35.552,53,35,53z
7
- M30,51h4v-2c0-1.103-0.897-2-2-2s-2,0.897-2,2V51z`}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:"M29 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C30 56.552 29.552 57 29 57zM35 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C36 56.552 35.552 57 35 57zM42 53h-3c-.552 0-1-.448-1-1v-6c0-.552.448-1 1-1h3c2.206 0 4 1.794 4 4S44.206 53 42 53zM40 51h2c1.103 0 2-.897 2-2s-.897-2-2-2h-2V51z"}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:"M39 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C40 56.552 39.552 57 39 57zM45.001 57c-.367 0-.72-.202-.896-.553l-2-4c-.247-.494-.047-1.095.447-1.342.495-.248 1.095-.047 1.342.447l2 4c.247.494.047 1.095-.447 1.342C45.304 56.966 45.151 57 45.001 57z"}),jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{fill:"#F0F0F0",d:`M22,53h-3c-0.552,0-1-0.448-1-1v-6c0-0.552,0.448-1,1-1h3c2.206,0,4,1.794,4,4S24.206,53,22,53z
8
- M20,51h2c1.103,0,2-0.897,2-2s-0.897-2-2-2h-2V51z`}),jsxRuntime.jsx("path",{fill:"#F0F0F0",d:"M19 57c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4C20 56.552 19.552 57 19 57zM25.001 57c-.367 0-.72-.202-.896-.553l-2-4c-.247-.494-.047-1.095.447-1.342.495-.248 1.095-.047 1.342.447l2 4c.247.494.047 1.095-.447 1.342C25.304 56.966 25.151 57 25.001 57z"})]})]}))}function B(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#e8e9ea",d:`M8.16,17.51V3.74c0-1.79,1.45-3.24,3.24-3.24h20.53l12.79,12.8v30.96c0,1.79-1.45,3.24-3.24,3.24H11.4
9
- c-1.79,0-3.24-1.45-3.24-3.24v-1.62`}),jsxRuntime.jsx("path",{fill:"#697d7f",d:"M44.72 13.3h-9.93c-1.58 0-2.86-1.28-2.86-2.86V.5M11.53 25.42c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H4.78c-.83 0-1.5.67-1.5 1.5v11.53c0 .83.67 1.5 1.5 1.5h6.75c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H6.28v-2.76h3.98c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H6.28v-2.76H11.53zM36.33 25.42c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-6.75c-.83 0-1.5.67-1.5 1.5v11.53c0 .83.67 1.5 1.5 1.5h6.75c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-5.25v-2.76h3.98c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-3.98v-2.76H36.33zM15.55 36.67c.26.19.57.28.87.28.47 0 .93-.22 1.22-.63l2.92-4.07 2.92 4.07c.29.41.75.63 1.22.63.3 0 .61-.09.87-.28.67-.48.83-1.42.34-2.09l-3.51-4.89 3.51-4.89c.48-.67.33-1.61-.34-2.09-.67-.48-1.61-.33-2.09.34l-2.92 4.07-2.92-4.07c-.48-.67-1.42-.83-2.09-.34-.67.48-.83 1.42-.34 2.09l3.51 4.89-3.51 4.89C14.72 35.25 14.87 36.19 15.55 36.67z"})]}))}function W(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 17.69 23.65",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#0ac963",d:"M3.08 0l7.91 0 6.7 6.99 0 13.58c0,1.7 -1.38,3.08 -3.08,3.08l-11.53 0c-1.7,0 -3.08,-1.38 -3.08,-3.08l0 -17.49c0,-1.7 1.38,-3.08 3.08,-3.08z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"10.98 0 10.98 6.93 17.69 6.93"}),jsxRuntime.jsx("path",{fill:"#fff",d:"M11.85 11.82l-6.01 0c-0.45,0 -0.82,0.37 -0.82,0.82l0 3.82c0,0.45 0.37,0.82 0.82,0.82l6.01 0c0.45,0 0.81,-0.37 0.81,-0.82l0 -3.82c0,-0.45 -0.36,-0.82 -0.81,-0.82zm-4.37 1.03c0.49,0 0.88,0.4 0.88,0.88 0,0.49 -0.39,0.89 -0.88,0.89 -0.49,0 -0.89,-0.4 -0.89,-0.89 0,-0.48 0.4,-0.88 0.89,-0.88zm4.64 3.61c0,0.15 -0.12,0.28 -0.27,0.28l-6.01 0c-0.15,0 -0.27,-0.13 -0.27,-0.28l0 -0.16 1.09 -1.09 0.9 0.9c0.11,0.11 0.28,0.11 0.39,0l2.26 -2.26 1.91 1.91 0 0.7 0 0z"})]}))}function U(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 29.93 40.02",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#fa0000",d:"M5.21 0l13.38 0 11.34 11.82 0 22.99c0,2.88 -2.33,5.21 -5.2,5.21l-19.52 0c-2.88,0 -5.21,-2.33 -5.21,-5.21l0 -29.6c0,-2.88 2.33,-5.21 5.21,-5.21z"}),jsxRuntime.jsx("polygon",{fill:"#fff",fillOpacity:".302",points:"18.58 0 18.58 11.73 29.93 11.73"}),jsxRuntime.jsx("path",{fill:"#fff",fillRule:"nonzero",d:"M14.97 18.16c-3.57,0 -6.47,2.9 -6.47,6.47 0,3.57 2.9,6.46 6.47,6.46 3.57,0 6.46,-2.89 6.46,-6.46 0,-3.57 -2.9,-6.46 -6.46,-6.47zm2.72 6.67c-0.05,0.09 -0.12,0.16 -0.21,0.21l0 0 -3.69 1.85c-0.23,0.11 -0.51,0.02 -0.62,-0.21 -0.04,-0.06 -0.05,-0.13 -0.05,-0.21l0 -3.69c0,-0.26 0.21,-0.46 0.46,-0.46 0.07,0 0.14,0.01 0.21,0.05l3.69 1.84c0.23,0.12 0.32,0.39 0.21,0.62z"})]}))}function N(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#5a5959",d:`M2.1,57.4h57.7c1.1,0,2.1-0.9,2.1-2.1V13.4c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
10
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,5.7,0,6.6,0,7.8v47.5C0,56.4,0.9,57.4,2.1,57.4z`}),jsxRuntime.jsx("path",{fill:"#504e4e",d:`M3,58.3h56.7c1.1,0,2.1-0.9,2.1-2.1V14.3c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
11
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,6.6,0,7.6,0,8.7v46.6C0,56.9,1.3,58.3,3,58.3z`}),jsxRuntime.jsx("rect",{width:"58.6",height:"21.1",x:"1.6",y:"14.7",fill:"#ffffff"}),jsxRuntime.jsx("rect",{width:".8",height:"21.1",x:"1.6",y:"14.7",fill:"#f3f3f3"}),jsxRuntime.jsx("rect",{width:"58.6",height:".9",x:"1.6",y:"14.7",fill:"#f3f1f1"}),jsxRuntime.jsx("path",{fill:"#676666",d:`M64,18.6v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
12
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,15.6,64,17,64,18.6z`}),jsxRuntime.jsx("path",{fill:"#6f6d6d",d:`M64,19.5v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
13
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,16.5,64,17.9,64,19.5z`})]}))}function Y(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"100",height:"100"},e),{children:[jsxRuntime.jsx("path",{fill:"#5a5959",d:`M2.1,57.4h57.7c1.1,0,2.1-0.9,2.1-2.1V13.4c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
14
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,5.7,0,6.6,0,7.8v47.5C0,56.4,0.9,57.4,2.1,57.4z`}),jsxRuntime.jsx("path",{fill:"#504e4e",d:`M3,58.3h56.7c1.1,0,2.1-0.9,2.1-2.1V14.3c0-1.1-0.9-2.1-2.1-2.1H31c-0.8,0-1.5-0.4-1.8-1.1l-1.7-3.4
15
- c-0.4-0.7-1.1-1.1-1.8-1.1H2.1C0.9,6.6,0,7.6,0,8.7v46.6C0,56.9,1.3,58.3,3,58.3z`}),jsxRuntime.jsx("path",{fill:"#676666",d:`M64,18.6v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
16
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,15.6,64,17,64,18.6z`}),jsxRuntime.jsx("path",{fill:"#6f6d6d",d:`M64,19.5v35.8c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3v-31c0-1.7,1.3-3,3-3h29.2c0.8,0,1.6-0.3,2.1-0.9l3-3
17
- c0.6-0.6,1.3-0.9,2.1-0.9H61C62.7,16.5,64,17.9,64,19.5z`})]}))}function D0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true"},e),{children:jsxRuntime.jsxs("g",{fill:"none",children:[jsxRuntime.jsx("path",{d:"M16.2 5C17.8802 5 18.7202 5 19.362 5.32698C19.9265 5.6146 20.3854 6.07354 20.673 6.63803C21 7.27976 21 8.11984 21 9.8V11.2C21 12.8802 21 13.7202 20.673 14.362C20.3854 14.9265 19.9265 15.3854 19.362 15.673C18.7202 16 17.8802 16 16.2 16H7.8C6.11984 16 5.27976 16 4.63803 15.673C4.07354 15.3854 3.6146 14.9265 3.32698 14.362C3 13.7202 3 12.8802 3 11.2L3 6.8C3 5.11984 3 4.27976 3.32698 3.63803C3.6146 3.07354 4.07354 2.6146 4.63803 2.32698C5.27976 2 6.11984 2 7.8 2L9.28741 2C9.91355 2 10.2266 2 10.5108 2.0863C10.7624 2.1627 10.9964 2.28796 11.1996 2.45491C11.429 2.64349 11.6027 2.90398 11.95 3.42496L13 5H16.2Z",fill:"url(#1752500502786-6297956_folder_existing_0_ekojck6b3)","data-glass":"origin",mask:"url(#1752500502786-6297956_folder_mask_2iow0yqdp)"}),jsxRuntime.jsx("path",{d:"M16.2 5C17.8802 5 18.7202 5 19.362 5.32698C19.9265 5.6146 20.3854 6.07354 20.673 6.63803C21 7.27976 21 8.11984 21 9.8V11.2C21 12.8802 21 13.7202 20.673 14.362C20.3854 14.9265 19.9265 15.3854 19.362 15.673C18.7202 16 17.8802 16 16.2 16H7.8C6.11984 16 5.27976 16 4.63803 15.673C4.07354 15.3854 3.6146 14.9265 3.32698 14.362C3 13.7202 3 12.8802 3 11.2L3 6.8C3 5.11984 3 4.27976 3.32698 3.63803C3.6146 3.07354 4.07354 2.6146 4.63803 2.32698C5.27976 2 6.11984 2 7.8 2L9.28741 2C9.91355 2 10.2266 2 10.5108 2.0863C10.7624 2.1627 10.9964 2.28796 11.1996 2.45491C11.429 2.64349 11.6027 2.90398 11.95 3.42496L13 5H16.2Z",fill:"url(#1752500502786-6297956_folder_existing_0_ekojck6b3)","data-glass":"clone",filter:"url(#1752500502786-6297956_folder_filter_56qas2ark)",clipPath:"url(#1752500502786-6297956_folder_clipPath_gygn8e14a)"}),jsxRuntime.jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"url(#1752500502786-6297956_folder_existing_1_v5o9796uz)","data-glass":"blur"}),jsxRuntime.jsx("path",{d:"M18.6807 9.00586C19.7975 9.02423 20.4692 9.09846 20.9864 9.39258C21.5915 9.73676 22.0586 10.2802 22.3067 10.9307C22.5894 11.6719 22.4426 12.6251 22.1495 14.5303L21.626 17.9297C21.4038 19.3742 21.2926 20.097 20.9385 20.6396L20.8155 20.8135C20.5147 21.2098 20.1193 21.5262 19.6641 21.7324C19.074 21.9997 18.3431 22 16.8819 22V21.25C17.624 21.25 18.1389 21.2495 18.543 21.2188C18.9374 21.1887 19.1709 21.133 19.3546 21.0498C19.7447 20.873 20.0766 20.5882 20.3106 20.2295C20.4208 20.0606 20.5119 19.8385 20.6016 19.4531C20.6935 19.0584 20.772 18.5489 20.8848 17.8154L21.4083 14.416C21.5568 13.4504 21.6601 12.7732 21.6954 12.2441C21.7302 11.7223 21.6913 11.4231 21.6055 11.1982C21.4194 10.7103 21.0693 10.3021 20.6153 10.0439C20.4061 9.92506 20.1166 9.84086 19.5958 9.7959C19.0675 9.75031 18.3823 9.75 17.4053 9.75H6.59479C5.61785 9.75 4.93266 9.75032 4.40436 9.7959C3.88353 9.84086 3.59399 9.92504 3.38483 10.0439C2.93088 10.3021 2.5807 10.7103 2.3946 11.1982C2.30885 11.4231 2.26996 11.7223 2.30475 12.2441C2.34005 12.7732 2.44331 13.4504 2.59186 14.416L3.1153 17.8154C3.22814 18.5489 3.30665 19.0584 3.3985 19.4531C3.4882 19.8385 3.5793 20.0606 3.68952 20.2295C3.92357 20.5882 4.25545 20.873 4.64558 21.0498C4.82929 21.133 5.06268 21.1887 5.4571 21.2188C5.86121 21.2495 6.37613 21.25 7.11823 21.25V22L6.14948 21.9961C5.44148 21.9856 4.96108 21.9493 4.56452 21.8213L4.336 21.7324C3.88079 21.5262 3.48544 21.2098 3.18464 20.8135L3.06159 20.6396C2.79608 20.2327 2.66703 19.7244 2.52546 18.8867L2.37409 17.9297L1.85065 14.5303C1.57585 12.744 1.42974 11.7947 1.64558 11.0723L1.6944 10.9307C1.91158 10.3615 2.29578 9.8738 2.79401 9.53027L3.01374 9.39258C3.70332 9.00046 4.66737 9 6.59479 9H17.4053L18.6807 9.00586ZM16.8819 21.25V22H7.11823V21.25H16.8819Z",fill:"url(#1752500502786-6297956_folder_existing_2_vhap9347d)"}),jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_0_ekojck6b3",x1:"12",y1:"2",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#575757"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#151515"})]}),jsxRuntime.jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_1_v5o9796uz",x1:"23",y1:"15.5",x2:"1",y2:"15.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#E3E3E5",stopOpacity:".6"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#BBBBC0",stopOpacity:".6"})]}),jsxRuntime.jsxs("linearGradient",{id:"1752500502786-6297956_folder_existing_2_vhap9347d",x1:"12",y1:"9",x2:"12",y2:"16.528",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#fff"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),jsxRuntime.jsx("filter",{id:"1752500502786-6297956_folder_filter_56qas2ark",x:"-100%",y:"-100%",width:"400%",height:"400%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",children:jsxRuntime.jsx("feGaussianBlur",{stdDeviation:"2",x:"0%",y:"0%",width:"100%",height:"100%",in:"SourceGraphic",edgeMode:"none",result:"blur"})}),jsxRuntime.jsx("clipPath",{id:"1752500502786-6297956_folder_clipPath_gygn8e14a",children:jsxRuntime.jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"url(#1752500502786-6297956_folder_existing_1_v5o9796uz)"})}),jsxRuntime.jsxs("mask",{id:"1752500502786-6297956_folder_mask_2iow0yqdp",children:[jsxRuntime.jsx("rect",{width:"100%",height:"100%",fill:"#FFF"}),jsxRuntime.jsx("path",{d:"M17.4051 9C19.3327 9 20.2965 9 20.9861 9.39213C21.5914 9.73631 22.0581 10.2803 22.3062 10.9309C22.5889 11.6721 22.4424 12.6247 22.1492 14.5299L21.6262 17.9299C21.4039 19.3744 21.2928 20.0966 20.9388 20.6393C20.6267 21.1176 20.1846 21.4969 19.6644 21.7326C19.0742 22 18.3435 22 16.882 22L7.11801 22C5.65653 22 4.92579 22 4.33558 21.7326C3.8154 21.4969 3.3733 21.1176 3.06124 20.6393C2.70717 20.0966 2.59606 19.3744 2.37383 17.9299L1.85075 14.5299C1.55764 12.6247 1.41109 11.6721 1.6938 10.9309C1.94194 10.2803 2.40865 9.73631 3.01392 9.39213C3.70353 9 4.66733 9 6.59493 9L17.4051 9Z",fill:"#000"})]})]})]})}))}function F0(e){return jsxRuntime.jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsxRuntime.jsx("path",{opacity:"0.4",d:"M13.4919 2.29395C13.0743 1.94268 12.5457 1.75 11.9997 1.75C11.5221 1.75 11.058 1.89775 10.6697 2.16992L10.5085 2.29395L1.5974 9.78906C1.18491 10.1364 1.13178 10.7528 1.47924 11.165C1.78946 11.5327 2.31307 11.6121 2.71557 11.3789V15.9531V15.955C2.71555 17.0543 2.71553 17.9612 2.7976 18.6885C2.88313 19.4463 3.06823 20.1292 3.52318 20.7217L3.68627 20.9199C3.85487 21.1119 4.04268 21.2876 4.24584 21.4434L4.47143 21.6016C5.01004 21.9427 5.61706 22.0932 6.281 22.168C7.00121 22.2491 7.89724 22.249 8.98176 22.249H8.99975H14.9997H15.0178C16.1023 22.249 16.9983 22.2491 17.7185 22.168C18.4771 22.0825 19.1606 21.8977 19.7537 21.4434L19.9529 21.2803C20.145 21.1119 20.3205 20.9245 20.4763 20.7217L20.6345 20.4961C20.976 19.9581 21.127 19.3517 21.2019 18.6885C21.284 17.9612 21.2839 17.0543 21.2839 15.955V15.9531V11.3789C21.6864 11.6121 22.21 11.5327 22.5203 11.165C22.846 10.7785 22.8199 10.2127 22.4753 9.85742L13.4919 2.29395Z",fill:"#141B34"}),jsxRuntime.jsx("path",{d:"M14.9998 17V22.249H8.99979V17C8.99979 15.5859 9.00002 14.8788 9.43924 14.4395C9.87855 14.0001 10.5857 14 11.9998 14C13.4139 14 14.121 14.0002 14.5603 14.4395C14.9997 14.8788 14.9998 15.5858 14.9998 17Z",fill:"#141B34"})]}))}function z0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 48 48","aria-hidden":"true"},e),{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M46.599 46.599a4.498 4.498 0 0 1-6.363 0l-7.941-7.941C29.028 40.749 25.167 42 21 42 9.402 42 0 32.598 0 21S9.402 0 21 0s21 9.402 21 21c0 4.167-1.251 8.028-3.342 11.295l7.941 7.941a4.498 4.498 0 0 1 0 6.363zM21 6C12.717 6 6 12.714 6 21s6.717 15 15 15c8.286 0 15-6.714 15-15S29.286 6 21 6z"})}))}function S0(e){return jsxRuntime.jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsxRuntime.jsx("path",{fill:"currentColor",opacity:"0.4",d:"M20.4155 3.66085C22.3012 5.52939 19.2842 20.7253 16.1883 20.9931C13.5911 21.2177 12.7819 16.0954 12.2348 14.4719C11.695 12.8696 11.0943 12.2927 9.50513 11.767C5.46811 10.4315 3.4496 9.76374 3.04996 8.70639C1.99171 5.90649 18.0071 1.27438 20.4155 3.66085Z"}),jsxRuntime.jsx("path",{fill:"currentColor",d:"M3.04996 8.70639C3.4496 9.76374 5.46811 10.4315 9.50513 11.767C10.3308 12.0402 10.8897 12.3271 11.3118 12.7646L20.4155 3.66085C18.0071 1.27438 1.99171 5.90649 3.04996 8.70639Z"})]}))}function k0(e){return jsxRuntime.jsxs("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),{children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.75 11.7499C18.3023 11.7499 18.75 12.1977 18.75 12.7499V15.7499H21.75C22.3023 15.7499 22.75 16.1977 22.75 16.7499C22.75 17.3022 22.3023 17.7499 21.75 17.7499H18.75V20.7499C18.75 21.3022 18.3023 21.7499 17.75 21.7499C17.1977 21.7499 16.75 21.3022 16.75 20.7499V17.7499H13.75C13.1977 17.7499 12.75 17.3022 12.75 16.7499C12.75 16.1977 13.1977 15.7499 13.75 15.7499H16.75V12.7499C16.75 12.1977 17.1977 11.7499 17.75 11.7499Z",fill:"currentColor"}),jsxRuntime.jsx("path",{opacity:"0.4",d:"M9.4626 2.48876C8.82373 2.24919 8.11205 2.24951 7.08264 2.24996C6.2039 2.24995 5.32205 2.24999 4.7497 2.30044C4.15996 2.35243 3.64388 2.46238 3.17258 2.7254C2.56533 3.06428 2.06428 3.56534 1.7254 4.17258C1.46238 4.64388 1.35242 5.15996 1.30044 5.7497C1.24999 6.32205 1.24999 7.03077 1.25 7.9095V11.0574C1.24999 13.3658 1.24998 15.1748 1.43975 16.5863C1.63399 18.031 2.03933 19.1711 2.93414 20.0659C3.82895 20.9607 4.96897 21.366 6.41371 21.5603C7.82519 21.75 9.63423 21.75 11.9426 21.75H13.2923C14.1084 21.75 14.8409 21.75 15.5 21.7383V18.9999H13.75C12.5074 18.9999 11.5 17.9926 11.5 16.7499C11.5 15.5073 12.5074 14.4999 13.75 14.4999H15.5V12.7499C15.5 11.5073 16.5074 10.4999 17.75 10.4999C18.9926 10.4999 20 11.5073 20 12.7499V14.4999H22.7383C22.75 13.8408 22.75 13.1084 22.75 12.2923C22.75 11.2733 22.75 10.3688 22.683 9.70949C22.6137 9.02893 22.4669 8.43872 22.118 7.91661C21.8444 7.50715 21.4929 7.15559 21.0834 6.88199C20.5613 6.53313 19.9711 6.38628 19.2905 6.31705C18.6312 6.24998 17.8095 6.24999 16.7905 6.25L13.2361 6.25C12.92 6.25 12.7396 6.24908 12.6064 6.23531C12.5044 6.22817 12.4348 6.15255 12.4128 6.11563C12.3409 6.0027 12.0838 5.48909 11.9425 5.20636C11.4704 4.25121 10.8581 3.01205 9.4626 2.48876Z",fill:"currentColor"})]}))}function L0(e){return jsxRuntime.jsx("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:jsxRuntime.jsx("path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"#141B34",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))}function P0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76z"})}))}function G0(e){return jsxRuntime.jsx("svg",i(o({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M19,11H13V5a1,1,0,0,0-2,0v6H5a1,1,0,0,0,0,2h6v6a1,1,0,0,0,2,0V13h6a1,1,0,0,0,0-2Z"})}))}function Z0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:[jsxRuntime.jsx("path",{fill:"currentColor",d:"M3 6.386c0-.484.345-.877.771-.877h2.665c.529-.016.996-.399 1.176-.965l.03-.1l.115-.391c.07-.24.131-.45.217-.637c.338-.739.964-1.252 1.687-1.383c.184-.033.378-.033.6-.033h3.478c.223 0 .417 0 .6.033c.723.131 1.35.644 1.687 1.383c.086.187.147.396.218.637l.114.391l.03.1c.18.566.74.95 1.27.965h2.57c.427 0 .772.393.772.877s-.345.877-.771.877H3.77c-.425 0-.77-.393-.77-.877"}),jsxRuntime.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.425 11.482c.413-.044.78.273.821.707l.5 5.263c.041.433-.26.82-.671.864c-.412.043-.78-.273-.821-.707l-.5-5.263c-.041-.434.26-.821.671-.864m5.15 0c.412.043.713.43.671.864l-.5 5.263c-.04.434-.408.75-.82.707c-.413-.044-.713-.43-.672-.864l.5-5.264c.041-.433.409-.75.82-.707",clipRule:"evenodd"}),jsxRuntime.jsx("path",{fill:"currentColor",d:"M11.596 22h.808c2.783 0 4.174 0 5.08-.886c.904-.886.996-2.339 1.181-5.245l.267-4.188c.1-1.577.15-2.366-.303-2.865c-.454-.5-1.22-.5-2.753-.5H8.124c-1.533 0-2.3 0-2.753.5s-.404 1.288-.303 2.865l.267 4.188c.185 2.906.277 4.36 1.182 5.245c.905.886 2.296.886 5.079.886",opacity:"0.5"})]}))}function b0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:3.5,strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{d:"M18 6L6 18"}),jsxRuntime.jsx("path",{d:"M6 6L18 18"})]}))}function O0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsxRuntime.jsx("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),jsxRuntime.jsx("path",{d:"M7 11l5 5l5 -5"}),jsxRuntime.jsx("path",{d:"M12 4l0 12"})]}))}function H0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsxRuntime.jsx("path",{d:"M9 15l6 -6"}),jsxRuntime.jsx("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),jsxRuntime.jsx("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]}))}function B0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.944 1.25H10a.75.75 0 0 1 0 1.5c-1.907 0-3.261.002-4.29.14c-1.005.135-1.585.389-2.008.812S3.025 4.705 2.89 5.71c-.138 1.029-.14 2.383-.14 4.29a.75.75 0 0 1-1.5 0v-.056c0-1.838 0-3.294.153-4.433c.158-1.172.49-2.121 1.238-2.87c.749-.748 1.698-1.08 2.87-1.238c1.14-.153 2.595-.153 4.433-.153m8.345 1.64c-1.027-.138-2.382-.14-4.289-.14a.75.75 0 0 1 0-1.5h.056c1.838 0 3.294 0 4.433.153c1.172.158 2.121.49 2.87 1.238c.748.749 1.08 1.698 1.238 2.87c.153 1.14.153 2.595.153 4.433V10a.75.75 0 0 1-1.5 0c0-1.907-.002-3.261-.14-4.29c-.135-1.005-.389-1.585-.812-2.008s-1.003-.677-2.009-.812M2 13.25a.75.75 0 0 1 .75.75c0 1.907.002 3.262.14 4.29c.135 1.005.389 1.585.812 2.008s1.003.677 2.009.812c1.028.138 2.382.14 4.289.14a.75.75 0 0 1 0 1.5h-.056c-1.838 0-3.294 0-4.433-.153c-1.172-.158-2.121-.49-2.87-1.238c-.748-.749-1.08-1.698-1.238-2.87c-.153-1.14-.153-2.595-.153-4.433V14a.75.75 0 0 1 .75-.75m20 0a.75.75 0 0 1 .75.75v.056c0 1.838 0 3.294-.153 4.433c-.158 1.172-.49 2.121-1.238 2.87c-.749.748-1.698 1.08-2.87 1.238c-1.14.153-2.595.153-4.433.153H14a.75.75 0 0 1 0-1.5c1.907 0 3.262-.002 4.29-.14c1.005-.135 1.585-.389 2.008-.812s.677-1.003.812-2.009c.138-1.027.14-2.382.14-4.289a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})}))}function U0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jsxRuntime.jsx("path",{d:"M5 12l5 5l10 -10"})]}))}function Ee(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),{children:jsxRuntime.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10m-5.97-3.03a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l1.47 1.47l2.235-2.235L14.97 8.97a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}))}function be(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100",height:"100",viewBox:"0 0 72 72",fill:"currentColor"},e),{children:jsxRuntime.jsx("path",{d:"M38.406 22.234l11.36 11.36L28.784 54.576l-12.876 4.307c-1.725.577-3.367-1.065-2.791-2.79l4.307-12.876L38.406 22.234zM41.234 19.406l5.234-5.234c1.562-1.562 4.095-1.562 5.657 0l5.703 5.703c1.562 1.562 1.562 4.095 0 5.657l-5.234 5.234L41.234 19.406z"})}))}function Y0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"1"}),jsxRuntime.jsx("circle",{cx:"19",cy:"12",r:"1"}),jsxRuntime.jsx("circle",{cx:"5",cy:"12",r:"1"})]}))}function K0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zm0 14a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM13.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0z",fill:"#000000"})}))}function q0(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{d:"M18 11h-12c-1.104 0-2 .896-2 2s.896 2 2 2h12c1.104 0 2-.896 2-2s-.896-2-2-2z"})}))}function $0(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{d:"M12 3L12 6",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M21 12L18 12",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M12 21L12 18",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M3 12L6 12",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M5.63586 5.63605L7.75718 7.75737",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M18.3639 5.63605L16.2426 7.75737",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M18.3641 18.3639L16.2428 16.2426",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntime.jsx("path",{d:"M5.63623 18.3639L7.75755 16.2426",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function te(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},e),{children:jsxRuntime.jsx("path",{d:"M21.4086 9.35258C23.5305 10.5065 23.5305 13.4935 21.4086 14.6474L8.59662 21.6145C6.53435 22.736 4 21.2763 4 18.9671V5.0329C4 2.72368 6.53435 1.26402 8.59661 2.38548L21.4086 9.35258Z"})}))}function ae(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7 9V3H9V9H7ZM7 13V11H9V13H7Z",fill:"#030708",fillRule:"evenodd"})}))}function ie(e){return jsxRuntime.jsxs("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[jsxRuntime.jsx("path",{id:"primary",d:"M14,18H9A6,6,0,0,1,5.54,7.11",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsxRuntime.jsx("path",{id:"primary-2","data-name":"primary",d:"M10,6h5a6,6,0,0,1,3.46,10.89",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsxRuntime.jsx("polyline",{id:"primary-3","data-name":"primary",points:"12 16 14 18 12 20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),jsxRuntime.jsx("polyline",{id:"primary-4","data-name":"primary",points:"12 8 10 6 12 4",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}))}function ne(e){return jsxRuntime.jsx("svg",i(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:jsxRuntime.jsx("path",{d:"M9.821,118.048h104.4c7.3,0,12-7.7,8.7-14.2l-52.2-92.5c-3.601-7.199-13.9-7.199-17.5,0l-52.2,92.5 C-2.179,110.348,2.521,118.048,9.821,118.048z M70.222,96.548c0,4.8-3.5,8.5-8.5,8.5s-8.5-3.7-8.5-8.5v-0.2c0-4.8,3.5-8.5,8.5-8.5 s8.5,3.7,8.5,8.5V96.548z M57.121,34.048h9.801c2.699,0,4.3,2.3,4,5.2l-4.301,37.6c-0.3,2.7-2.1,4.4-4.6,4.4s-4.3-1.7-4.6-4.4 l-4.301-37.6C52.821,36.348,54.422,34.048,57.121,34.048z"})}))}function q(e,t){if(typeof e!="string")return console.warn("getFileTypeFromMime: mimeType is not a string:",e),c.FILE;let a=e;if(t){let l=t.toLowerCase().replace(/^\./,""),n=re__default.default.getType(l);n&&(a=n);}return a.startsWith("image/")?c.IMAGE:a.startsWith("video/")?c.VIDEO:a.startsWith("audio/")?c.AUDIO:c.FILE}function Y2(e,t){let a=e;if(t){let l=t.toLowerCase().replace(/^\./,""),n=re__default.default.getType(l);n&&(a=n);}if(a.startsWith("image/"))return "image";if(a.startsWith("video/"))return "video";if(a.startsWith("audio/"))return "audio";switch(a){case "application/pdf":return "pdf";case "application/json":return "json";case "application/zip":case "application/x-zip-compressed":return "zip";case "application/x-rar-compressed":case "application/vnd.rar":return "rar";case "application/x-msdownload":case "application/x-executable":return "exe";case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":case "application/vnd.ms-excel":case "text/csv":return "excel";case "application/vnd.openxmlformats-officedocument.presentationml.presentation":case "application/vnd.ms-powerpoint":return "powerpoint";case "application/vnd.openxmlformats-officedocument.wordprocessingml.document":case "application/msword":return "document"}if(a.startsWith("text/"))return "txt";if(t)switch(t.toLowerCase().replace(/^\./,"")){case "exe":case "msi":return "exe";case "zip":return "zip";case "rar":return "rar";case "pdf":return "pdf";case "csv":return "excel"}return "file"}var X2=l=>{var n=l,{type:e,className:t}=n,a=L(n,["type","className"]);switch(e){case "folder-with-files":return jsxRuntime.jsx(N,o({className:t},a));case "folder":return jsxRuntime.jsx(Y,o({className:t},a));case "image":return jsxRuntime.jsx(W,o({className:t},a));case "video":return jsxRuntime.jsx(U,o({className:t},a));case "audio":return jsxRuntime.jsx(H,o({className:t},a));case "pdf":return jsxRuntime.jsx(R,o({className:t},a));case "excel":case "xlsx":return jsxRuntime.jsx(P,o({className:t},a));case "powerpoint":case "pptx":return jsxRuntime.jsx(_,o({className:t},a));case "document":case "docx":case "doc":return jsxRuntime.jsx(G,o({className:t},a));case "txt":return jsxRuntime.jsx(Z,o({className:t},a));case "json":return jsxRuntime.jsx(O,o({className:t},a));case "zip":return jsxRuntime.jsx(b,o({className:t},a));case "rar":return jsxRuntime.jsx(j,o({className:t},a));case "exe":return jsxRuntime.jsx(B,o({className:t},a));default:return jsxRuntime.jsx(E,o({className:t},a))}};function K2(e){if(!e||e.length===0)return "*/*";let t=[];for(let a of e)switch(a){case c.IMAGE:t.push("image/*");break;case c.VIDEO:t.push("video/*");break;case c.AUDIO:t.push("audio/*");break;case c.FILE:t.push("application/*","text/*");break}return t.join(",")}function Q2(e){if(!e||e.length===0)return "All files";let t=[];for(let a of e)switch(a){case c.IMAGE:t.push("Images");break;case c.VIDEO:t.push("Videos");break;case c.AUDIO:t.push("Audio");break;case c.FILE:t.push("Files");break}return t.join(", ")}var T=e=>new Promise(t=>setTimeout(t,e)),de=class{getFolder(t){if(t===null)return Promise.resolve(null);let a=g.find(r=>r.id===t);if(!a)return Promise.resolve(null);let l=o({},a),n=l;for(;n.parentId!==null;){let r=g.find(d=>d.id===n.parentId);if(r)n.parent=o({},r),n=n.parent;else break}return Promise.resolve(l)}async getFolders(t,a=1,l=20,n=""){await T(300);let r=t===null?g.filter(u=>u.parentId===null):g.filter(u=>u.parentId===t),d=r;if(n!=null&&n.trim()){let u=n.toLowerCase().trim();d=r.filter(z=>z.name.toLowerCase().includes(u));}let m=d.toSorted((u,z)=>new Date(u.createdAt).getTime()-new Date(z.createdAt).getTime()),v=m.length,x=Math.ceil(v/l),D=(a-1)*l;return {folders:m.slice(D,D+l),pagination:{currentPage:a,totalPages:x,totalFiles:v,filesPerPage:l}}}getTags(){return Promise.resolve(x0.map(t=>t.name))}async getFiles(t,a,l,n,r){await T(500);let d=[...w];if(t!==null&&(d=d.filter(C=>C.folderId===t)),a&&a.length>0&&(d=d.filter(C=>{let F=q(C.mime,C.ext);return a.includes(F)})),r){let C=r==null?void 0:r.toLowerCase();d=d.filter(F=>F.name.toLowerCase().includes(C));}let m=d.toSorted((C,F)=>new Date(C.createdAt).getTime()-new Date(F.createdAt).getTime()),v=l!=null?l:1,x=n!=null?n:10,D=m.length,k=Math.ceil(D/x),u=(v-1)*x;return {files:m.slice(u,u+x),pagination:{currentPage:v,totalPages:k,totalFiles:D,filesPerPage:x}}}async getItems(t,a,l=1,n=24,r=""){await T(300);let d=t===null?g.filter(p=>p.parentId===null):g.filter(p=>p.parentId===t),m=t===null?w.filter(p=>p.folderId===null):w.filter(p=>p.folderId===t);if(a&&a.length>0&&(m=m.filter(p=>{let I=q(p.mime,p.ext);return a.includes(I)})),r!=null&&r.trim()){let p=r.toLowerCase().trim();d=d.filter(I=>I.name.toLowerCase().includes(p)),m=m.filter(I=>{var f0,u0;return I.name.toLowerCase().includes(p)||((u0=(f0=I.ext)==null?void 0:f0.toLowerCase().includes(p))!=null?u0:false)});}let v=d.toSorted((p,I)=>new Date(p.createdAt).getTime()-new Date(I.createdAt).getTime()),x=m.toSorted((p,I)=>new Date(p.createdAt).getTime()-new Date(I.createdAt).getTime()),D=v.length+x.length,k=Math.ceil(D/n)||1,u=(l-1)*n,z=u+n,C=v.slice(Math.max(0,u),Math.min(v.length,z)),F=C.length,se=n-F,m0=Math.max(0,u-v.length),pe=x.slice(m0,m0+se);return {folders:C,files:pe,pagination:{currentPage:l,totalPages:k,totalFiles:D,filesPerPage:n}}}async createFolder(t,a){await T(300);let l={id:Date.now(),name:t,parentId:a!=null?a:null,pathId:typeof a=="number"?a:0,path:"",fileCount:0,folderCount:0,createdAt:new Date,updatedAt:new Date};return g.push(l),l}getMetaDataType(t,a){return t.type.startsWith("image/")?{}:t.type.startsWith("video/")?{duration:0,videoSource:a!=null?a:$.LOCAL}:t.type.startsWith("audio/")?{duration:0}:{description:""}}getFileType(t){var l;let a="."+((l=t.name.split(".").pop())==null?void 0:l.toLowerCase());return q(t.type,a)}async uploadFiles(t,a){var n;await T(500);let l=[];for(let{file:r,videoSource:d}of t){let m=this.getFileType(r),v="."+((n=r.name.split(".").pop())==null?void 0:n.toLowerCase()),x={id:Date.now()+Math.random(),name:r.name,folderId:a!=null?a:null,size:r.size,url:URL.createObjectURL(r),mime:r.type||"application/octet-stream",ext:v,metaData:this.getMetaDataType(r,d),createdAt:new Date,updatedAt:new Date,tags:[],width:m===c.IMAGE?800:void 0,height:m===c.IMAGE?600:void 0};w.push(x),l.push(x);}return l}renameFolder(t,a){let l=g.find(n=>n.id===t);return l?(l.name=a,l.updatedAt=new Date,Promise.resolve(l)):Promise.reject(new Error("Folder not found"))}updateFileMetaData(t,a){let l=w.find(m=>m.id===t);if(!l)return Promise.reject(new Error("File not found"));let d=a,{metaData:n}=d,r=L(d,["metaData"]);return Object.assign(l,r),n&&(l.metaData=o(o({},l.metaData),n)),l.updatedAt=new Date,Promise.resolve(l)}deleteFiles(t){for(let a of t){let l=w.findIndex(n=>n.id===a);l!==-1&&w.splice(l,1);}return Promise.resolve()}deleteFolders(t){for(let a of t){let l=g.findIndex(n=>n.id===a);if(l!==-1){g.splice(l,1);for(let n=w.length-1;n>=0;n--)w[n].folderId===a&&w.splice(n,1);}}return Promise.resolve()}findFiles(t){let a=t==null?void 0:t.toLowerCase(),l=w.filter(n=>{var r;return n.name.toLowerCase().includes(a)||((r=n.tags)==null?void 0:r.some(d=>d.toLowerCase().includes(a)))});return Promise.resolve(l)}findFolders(t){let a=t==null?void 0:t.toLowerCase(),l=g.filter(n=>n.name.toLowerCase().includes(a));return Promise.resolve(l)}moveFiles(t,a){let l=[];for(let n of t){let r=w.find(d=>d.id===n);r&&(r.folderId=a,r.updatedAt=new Date,l.push(r));}return Promise.resolve(l)}moveFolders(t,a){let l=[];for(let n of t){let r=g.find(d=>d.id===n);r&&(r.parentId=a,r.updatedAt=new Date,l.push(r));}return Promise.resolve(l)}};
18
- exports.A=H0;exports.B=B0;exports.C=U0;exports.D=Ee;exports.E=be;exports.F=Y0;exports.G=K0;exports.H=q0;exports.I=$0;exports.J=te;exports.K=ae;exports.L=ie;exports.M=ne;exports.N=q;exports.O=Y2;exports.P=X2;exports.Q=K2;exports.R=Q2;exports.S=de;exports.a=o;exports.b=i;exports.c=L;exports.d=fe;exports.e=Ue;exports.f=c;exports.g=Ne;exports.h=ue;exports.i=Je;exports.j=ge;exports.k=Ye;exports.l=$;exports.m=Xe;exports.n=H;exports.o=W;exports.p=D0;exports.q=F0;exports.r=z0;exports.s=S0;exports.t=k0;exports.u=L0;exports.v=P0;exports.w=G0;exports.x=Z0;exports.y=b0;exports.z=O0;