sodtrack-web-ui 0.100.2 → 0.100.3
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/{chunk-LGVJWFD7.js → chunk-4EGZE4NX.js} +1 -1
- package/dist/{chunk-65WLWC63.js → chunk-5OQTVJO2.js} +1 -1
- package/dist/chunk-63VP626I.js +1 -0
- package/dist/{chunk-N46RZTMR.js → chunk-DKI2JHBR.js} +1 -1
- package/dist/{chunk-7ATFM6JO.js → chunk-NCA5ZNB2.js} +1 -1
- package/dist/{chunk-XG7DSPTB.js → chunk-O2N7SQS4.js} +1 -1
- package/dist/{chunk-DVMIEEEF.js → chunk-WOZN4EU3.js} +1 -1
- package/dist/{chunk-O3EL7HID.js → chunk-ZT6ECGT6.js} +1 -1
- package/dist/components/accordion-form.js +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/autocomplete-multiple-new.js +1 -1
- package/dist/components/button-active.js +1 -1
- package/dist/components/button-menu.js +1 -1
- package/dist/components/card-expandable.js +1 -1
- package/dist/components/data-table.js +1 -1
- package/dist/components/drawer.js +1 -1
- package/dist/components/dropzone.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/list-item-arrow.js +1 -1
- package/dist/components/list-item-button.js +1 -1
- package/dist/components/list-item-checkbox-left.js +1 -1
- package/dist/components/list-item-checkbox.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tracker-item.js +1 -1
- package/package.json +18 -17
- package/dist/chunk-XI2ND4P4.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {d}from'./chunk-PK7E4VZY.js';import {a as a$
|
|
1
|
+
import {d}from'./chunk-PK7E4VZY.js';import {a as a$3}from'./chunk-4CM257A2.js';import {c}from'./chunk-55Z77FLU.js';import {a as a$2}from'./chunk-FHABUQAH.js';import {a}from'./chunk-BJ5MXTGP.js';import {d as d$1,q,g,j}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {useListCollection,useCombobox,Combobox,useComboboxContext}from'@ark-ui/react/combobox';import {useFilter}from'@ark-ui/react/locale';import {Portal}from'@ark-ui/react/portal';import {useRef,useCallback,useEffect}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';function pe(){let i=useComboboxContext(),c=useRef(false);return i.value.length&&i.collection.size&&!c.current&&(i.syncSelectedItems(),c.current=true),null}var ye=i=>{let{label:c$1,error:w,required:F,tooltip:G,disabled:I,readOnly:a$4,options:T,onInputChange:y,onSelect:O,defaultSelectedOptions:s,value:m,helperText:U,noResultsLabel:W,noResultsIcon:K,noResultsDescription:X,noResultsDescriptionLines:J,noResultsAsColumn:Q,noResultsButtonOnClick:A,noResultsButtonLabel:Y,optionDescriptionLines:R=1,loading:M,clearable:Z=true,growable:d$2=true,className:_,...$}=i,S=Object.getOwnPropertyNames(i),{contains:ee}=useFilter({sensitivity:"base"}),{collection:x,filter:b,set:te}=useListCollection({initialItems:[],itemToString:e=>e.label,itemToValue:e=>String(e.value),filter:ee}),g$1=useRef(s??[]),v=useRef(void 0),L=useRef(false),oe=useCallback(e=>{let n=e.items,p=g$1.current,le=n.length===0?null:n.find(C=>!p.some(h=>String(h.value)===String(C.value)))??p.find(C=>!n.some(h=>String(h.value)===String(C.value)))??null;g$1.current=[...n],O?.(le,n),v.current?.setInputValue(""),b("");},[O,b]),ne=useCallback(e=>{b(e.inputValue),e.reason!==void 0&&y?.(e.inputValue??"");},[b,y]),u=useCombobox({collection:x,multiple:true,inputBehavior:"none",openOnClick:true,onInputValueChange:ne,onValueChange:oe,defaultValue:s?.map(e=>String(e.value)),value:S.includes("value")?m?.map(e=>String(e.value))??[]:void 0,readOnly:a$4,disabled:I,...$});return v.current=u,useEffect(()=>{S.includes("value")&&m!==void 0&&(g$1.current=[...m]);},[m]),useEffect(()=>{M||s?.length&&(L.current||(v.current?.setValue(s.map(e=>String(e.value))),g$1.current=[...s],L.current=true));},[s,M]),useEffect(()=>{te(T);},[T]),jsxs(Combobox.RootProvider,{value:u,"data-error":w,className:a$1("group flex flex-col",_),children:[jsx(a,{as:Combobox.Label,label:c$1,required:F,tooltip:G}),jsx(pe,{}),jsxs(Combobox.Control,{className:a$1("group/control relative flex w-full rounded-lg bg-neutral-50 ring ring-neutral-500 transition-shadow","group-data-[error=true]:ring-error-500 group-data-[error=true]:ring-2","has-focus:ring-primary-800 has-focus:ring-2","data-disabled:cursor-not-allowed data-disabled:bg-neutral-100 data-disabled:ring-neutral-400",a$4&&"pointer-events-none bg-neutral-100 ring-neutral-300",!d$2&&"h-10 overflow-hidden",d$2&&"min-h-10"),children:[jsxs("div",{className:a$1("flex flex-1 items-center gap-1 px-3 py-2",d$2?"flex-wrap py-1.5":"overflow-hidden"),children:[u.selectedItems.map(e=>jsx(d,{variant:"standard",type:"fill",size:"xs",disabled:a$4||I,onClose:()=>{u.clearValue(String(e.value));},children:e.label},String(e.value))),jsx(Combobox.Input,{className:a$1("font-inter min-w-0 flex-1 bg-transparent text-sm text-neutral-900 outline-none placeholder:text-neutral-500","group-data-disabled/control:text-neutral-400 disabled:cursor-not-allowed",a$4&&"pointer-events-none"),placeholder:u.selectedItems.length===0?i.placeholder:""})]}),jsxs("div",{className:a$1("flex shrink-0 items-center gap-2 pr-3",d$2&&"self-start pt-2.5"),children:[!a$4&&Z&&jsx(Combobox.ClearTrigger,{asChild:true,onClick:e=>e.stopPropagation(),children:jsx(d$1,{className:"size-4.5 cursor-pointer text-neutral-700 group-data-disabled/control:hidden"})}),w&&jsx(q,{className:"text-error-500 size-4.5 shrink-0"}),jsx(Combobox.Trigger,{className:a$1("cursor-pointer","group-data-disabled/control:cursor-not-allowed group-data-disabled/control:text-neutral-400",a$4&&"pointer-events-none text-neutral-400"),children:jsx(g,{className:"size-4.5 text-neutral-700 transition-transform will-change-transform group-data-[state=open]/control:rotate-180"})})]})]}),jsx("p",{className:"font-inter text-2xs group-data-[error=true]:text-error-500 mt-1 leading-[133.33%] font-normal text-neutral-700 empty:hidden",children:U}),jsx(Portal,{children:jsx(Combobox.Positioner,{className:"z-10000!",children:jsx(Combobox.Content,{className:"elevation-9 max-h-67.5 w-(--reference-width) overflow-auto rounded-lg bg-neutral-50",children:jsx(Combobox.ItemGroup,{children:x.items.length>0?x.items.map(e=>jsx(Combobox.Item,{item:e,className:"data-highlighted:bg-primary-100 cursor-pointer data-disabled:cursor-not-allowed",children:jsx(Combobox.ItemContext,{children:({selected:n,disabled:p})=>jsxs("div",{className:a$1("font-inter flex flex-row items-center px-3 py-3.5 text-neutral-900 transition-colors","data-highlighted:bg-primary-100",e.description&&"py-3",p?"cursor-not-allowed text-neutral-400":"hover:bg-primary-100"),children:[jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[jsx(Combobox.ItemText,{className:"text-sm leading-[130%] font-medium",children:e.label}),e.description&&jsx("p",{className:"text-xs leading-[130%] text-neutral-700",style:R?{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:R,WebkitBoxOrient:"vertical"}:void 0,children:e.description})]}),jsx("div",{className:a$1("ml-4 flex size-4.5 shrink-0 items-center justify-center rounded-sm transition-colors ring-inset",n?"bg-primary-600":"bg-neutral-50 ring-1 ring-neutral-600",p&&(n?"bg-neutral-400":"bg-neutral-100 ring-neutral-300")),children:n&&jsx(j,{className:"size-3.5 text-neutral-50"})})]})})},String(e.value))):jsxs("div",{className:"flex flex-col",children:[jsx(a$2,{title:W,description:X,Icon:K,iconAsColumn:Q,descriptionLines:J}),A&&jsxs(Fragment,{children:[jsx(a$3,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{u.setOpen(false),A();},children:Y})]})]})})})})})]})};export{ye as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {a as a$1}from'./chunk-R6NIURLZ.js';import {d}from'./chunk-MP4CHZ2K.js';import {g}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import*as s from'react';import {Accordion}from'@ark-ui/react/accordion';import*as reactAccordion from'@radix-ui/react-accordion';export{reactAccordion as a };import {jsx,jsxs}from'react/jsx-runtime';var W=["sm","md"],x=s.forwardRef(({className:o,children:r,size:t="md",hasBorder:a$1=false,...c},d)=>jsx(Accordion.Root,{"data-border":a$1,"data-size":t,className:a("group/root space-y-2",o),...c,ref:d,children:r}));x.displayName="Accordion";var h=s.forwardRef(({className:o,...r},t)=>jsx(Accordion.Item,{ref:t,className:a("rounded-lg bg-neutral-50","group-data-[border=true]/root:ring-1 group-data-[border=true]/root:ring-neutral-200 group-data-[border=true]/root:ring-inset",o),...r}));h.displayName="AccordionItem";var A=s.forwardRef(({className:o,children:r,...t},a$1)=>jsxs(Accordion.ItemTrigger,{ref:a$1,className:a("group flex w-full flex-1 items-center justify-between p-4 transition-all [&[data-state=open]>svg]:rotate-180",o),...t,children:[r,jsx(g,{className:"h-6 w-6 shrink-0 transition-transform duration-200 group-disabled:text-neutral-500"})]}));A.displayName=Accordion.ItemTrigger.displayName;var I=s.forwardRef(({className:o,title:r,description:t,onEndButtonClick:a$2,StartIcon:c,EndIcon:d$1,children:P,badgeNumber:g$1,chipStatus:p,...v},y)=>jsxs(Accordion.ItemTrigger,{ref:y,className:a("group hover:not-disabled:bg-primary-100 flex w-full flex-1 items-center justify-between gap-3 rounded-lg p-2 pl-3 transition-all [&[data-state=open]>div>.chevron-icon]:rotate-180",!t&&"min-h-12",t&&"group-data-[size=md]/root:min-h-15.75 group-data-[size=sm]/root:min-h-12",o),...v,children:[jsxs("div",{className:"flex",children:[c&&jsx(c,{className:"mr-2 size-4.5 shrink-0 text-neutral-900 group-disabled:text-neutral-500 group-data-[size=sm]/root:size-3.5"}),jsxs("div",{children:[jsx("p",{className:"text-left text-base leading-[125%]! font-semibold text-neutral-900 group-disabled:text-neutral-500 group-data-[size=sm]/root:text-sm",children:r}),jsx("p",{className:"text-left text-sm leading-[130%] font-normal tracking-[0.28px] text-neutral-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:text-xs",children:t})]})]}),jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[p&&jsx(d,{variant:p.variant,type:p.type,size:"xs",className:"shrink-0",children:p.text}),g$1?.toString()&&jsx(a$1,{variant:"alert",size:"md",content:g$1.toString()}),d$1&&jsx(d$1,{className:"m-1.75 text-neutral-900 group-disabled:text-neutral-500",size:18,onClick:R=>{R.stopPropagation(),a$2?.();}}),jsx(g,{className:"chevron-icon h-4.5 w-4.5 shrink-0 transition-transform duration-200 group-disabled:text-neutral-500"})]})]}));I.displayName=Accordion.ItemTrigger.displayName;var N=s.forwardRef(({className:o,children:r,...t},a$1)=>jsx(Accordion.ItemContent,{ref:a$1,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",...t,children:jsx("div",{className:a("pr-2 pl-3 group-data-[size=md]/root:py-4 group-data-[size=sm]/root:py-2",o),children:r})}));N.displayName=Accordion.ItemContent.displayName;export{W as b,x as c,h as d,A as e,I as f,N as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {e,i,f,a as a$1,b,c,g,h,d,j}from'./chunk-NVYSWZZC.js';import {a as a$4,b as b$2,c as c$1}from'./chunk-4RJVZ7FN.js';import {b as b$1}from'./chunk-JB6QLQCK.js';import {a as a$3}from'./chunk-KTD2GEB6.js';import {c as c$2}from'./chunk-55Z77FLU.js';import {a as a$2}from'./chunk-CM6ALMTT.js';import {e as e$1}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {memo,useMemo,useState,useCallback,useRef,useEffect}from'react';import {flexRender,useReactTable,getCoreRowModel}from'@tanstack/react-table';import {Plus,Component,KeyRound,MailWarning,MapPinOff,TriangleAlert,Siren}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';var ve=["siren","warning","map-pin-off","email-alert","key-round","component"],ke={siren:{Icon:Siren,bgClassName:"bg-orange-50",iconClassName:"text-orange-700"},warning:{Icon:TriangleAlert,bgClassName:"bg-warning-100",iconClassName:"text-warning-900"},"map-pin-off":{Icon:MapPinOff,bgClassName:"bg-coral-50",iconClassName:"text-coral-700"},"email-alert":{Icon:MailWarning,bgClassName:"bg-danger-100",iconClassName:"text-danger-700"},"key-round":{Icon:KeyRound,bgClassName:"bg-orchid-100",iconClassName:"text-orchid-700"},component:{Icon:Component,bgClassName:"bg-aqua-100",iconClassName:"text-aqua-800"}},dt=i=>({id:"__select__",size:54,enableResizing:false,header:({table:a})=>{let u=a.getRowModel().rows.some(s=>s.getCanSelect()),r=a.getIsAllPageRowsSelected()?true:a.getIsSomePageRowsSelected()?"indeterminate":false;return jsx(b$1,{checked:r,disabled:!u,className:"ml-1",onCheckedChange:s=>a.toggleAllPageRowsSelected(s===true)})},cell:({row:a})=>{let u=a.getCanSelect(),r=u?a.getIsSelected():typeof i.setDisabledRowState=="function"?i.setDisabledRowState(a.original):i.setDisabledRowState??false,s=jsx(b$1,{checked:r,onCheckedChange:z=>a.toggleSelected(z===true),disabled:!u}),c=i.rowSelectionTooltip?.content(a.original);return c?jsx(a$2,{className:"w-fit",content:c,positioning:i.rowSelectionTooltip?.positioning??{placement:"right"},children:s}):s},enableSorting:false}),J=["w-3/4","w-1/2","w-2/3","w-5/6","w-3/5"],We=({columns:i$1,rows:a$2,hasSelection:u,hasRowActions:r,hasPagination:s,className:c$1,...z})=>jsxs(a$1,{className:c$1,...z,children:[jsxs(b,{children:[jsx(c,{children:jsxs(g,{children:[r&&jsx(h,{className:"w-[30px] max-w-[30px] min-w-[30px] p-0 px-0",style:{width:"30px",minWidth:"30px",maxWidth:"30px"}}),u&&jsx(h,{className:"w-13.5",children:jsx(a$3,{className:"bg-primary-300 m-0.5 ml-1.5 size-4.5 rounded-sm"})}),Array.from({length:i$1},(p,y)=>jsx(h,{children:jsx(a$3,{className:"bg-primary-300 h-3 w-16"})},y))]})}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:Array.from({length:a$2},(p,y)=>jsxs(e,{children:[r&&jsx(i,{className:"!bg-primary-50 w-[30px] max-w-[30px] min-w-[30px] p-0 align-middle",style:{width:"30px",minWidth:"30px",maxWidth:"30px"},children:jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]})}),u&&jsx(i,{className:"align-middle",children:jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"})}),Array.from({length:i$1},(D,d)=>jsx(i,{children:jsx(a$3,{className:a("h-4",J[(y+d)%J.length])})},d))]},y))})]}),s&&jsxs("div",{className:"border-t-primary-200 grid min-h-12 grid-cols-3 items-center gap-6 border-t px-4.5",children:[jsx(a$3,{className:"h-3.5 w-20"}),jsxs("div",{className:"flex items-center justify-center gap-2",children:[jsx(a$3,{className:"size-8 rounded-lg"}),jsx(a$3,{className:"size-8 rounded-lg"})]}),jsx("div",{className:"flex justify-end",children:jsx(a$3,{className:"h-3.5 w-28"})})]})]});We.displayName="DataTableFullSkeleton";var ut={neutral:"bg-neutral-100",success:"bg-success-20",orange:"bg-orange-20",warning:"bg-warning-20",danger:"bg-danger-20",default:"bg-neutral-50"},N="__row_actions__",_e="grid grid-cols-1 h-full w-full cursor-pointer overflow-hidden border-0 p-0 transition-opacity hover:opacity-90 focus:outline focus:outline-2 focus:outline-offset-[-2px] focus:outline-primary-600",mt=(i,a)=>typeof i=="function"?i(a):i??false,gt=({row:i,rowActions:a$1})=>{let[u,r]=useState(false),s=i.original,c=a$1(s).filter(d=>d.isActive===void 0?true:mt(d.isActive,s)).sort((d,C)=>ve.indexOf(d.name)-ve.indexOf(C.name));if(c.length===0)return null;let z=c.length>3,p=z?c.slice(0,2):c,y=z?3:p.length,D=(d,C)=>{let o=ke[d.name],m=o.Icon;return jsx("div",{className:a("flex h-full w-full items-center justify-center",o.bgClassName),children:jsx(m,{className:a("size-3.5 shrink-0",o.iconClassName),"aria-hidden":true})},`${d.name}-${C}`)};if(c.length===1){let d=c[0];return jsx("button",{type:"button","aria-label":d.label,className:_e,style:{gridTemplateRows:"repeat(1, minmax(0, 1fr))"},onClick:C=>{C.stopPropagation(),d.onClick(s);},children:D(d,0)})}return jsxs(a$4,{open:u,onOpenChange:r,modal:false,positioning:{placement:"right-start",gutter:0},children:[jsx(b$2,{asChild:true,children:jsxs("button",{type:"button","aria-label":"Row actions",className:_e,style:{gridTemplateRows:`repeat(${y}, minmax(0, 1fr))`},onClick:d=>{d.stopPropagation();},children:[p.map((d,C)=>D(d,C)),z&&jsx("div",{className:"bg-primary-300 flex h-full w-full items-center justify-center",children:jsx(Plus,{className:"text-primary-700 size-3.5 shrink-0","aria-hidden":true})})]})}),jsx(c$1,{className:"min-w-48 overflow-hidden rounded-sm p-0",children:jsx("div",{className:"flex flex-col",children:c.map((d,C)=>{let o=ke[d.name];return jsx(c$2,{variant:"ghost",size:"md",StartIcon:o.Icon,className:"!h-auto !min-h-0 w-full justify-start !gap-2 !px-3 !py-4 !text-neutral-900 hover:!text-neutral-900 disabled:!text-neutral-900",onClick:m=>{m.stopPropagation(),d.onClick(s),r(false);},type:"button",children:d.label},`${d.name}-${C}`)})})})]})},ft=({rowActions:i})=>({id:N,header:()=>jsx("span",{className:"sr-only",children:"Actions"}),size:30,minSize:30,maxSize:30,enableResizing:false,cell:({row:a})=>i?jsx(gt,{row:a,rowActions:i}):null}),Me=memo(({row:i$1,isSelected:a$1,resizable:u,type:r})=>jsx(e,{"data-state":a$1&&"selected",className:a(r&&r!=="default"&&ut[r]),style:r&&r!=="default"?{"--color-primary-200":`var(--color-${r}-100)`}:void 0,children:i$1.getVisibleCells().map(s=>jsx(i,{className:s.column.id===N?"p-0 align-middle":void 0,style:s.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:u?{width:`calc(var(--col-${s.column.id}-size) * 1px)`,minWidth:`calc(var(--col-${s.column.id}-size) * 1px)`,maxWidth:`calc(var(--col-${s.column.id}-size) * 1px)`}:void 0,children:flexRender(s.column.columnDef.cell,s.getContext())},s.id))}),(i,a)=>i.isSelected===a.isSelected&&i.row.original===a.row.original&&i.resizable===a.resizable&&i.type===a.type);Me.displayName="DataTableRow";var He="dt-col-ratios-",pt=i=>{try{let a=localStorage.getItem(`${He}${i}`);return a?JSON.parse(a):{}}catch{return {}}},bt=(i,a)=>{try{localStorage.setItem(`${He}${i}`,JSON.stringify(a));}catch{}},Oe=(i,a,u)=>{let r={},s=a,c=[];for(let o of i)o.canResize?c.push(o):(r[o.id]=o.defaultSize,s-=o.defaultSize);if(c.length===0||s<=0)return r;let z=new Set(c.map(o=>o.id)),p={};for(let[o,m]of Object.entries(u))z.has(o)&&(p[o]=m);let y=c.filter(o=>!(o.id in p)),D={};if(Object.keys(p).length===0){let o=c.reduce((m,v)=>m+v.defaultSize,0);for(let m of c)D[m.id]=m.defaultSize/o;}else if(y.length===0){let o=Object.values(p).reduce((m,v)=>m+v,0);for(let m of c)D[m.id]=p[m.id]/o;}else {let o=c.reduce((S,P)=>S+P.defaultSize,0),v=y.reduce((S,P)=>S+P.defaultSize,0)/o,k=Object.values(p).reduce((S,P)=>S+P,0),j=(1-v)/k;for(let S of c)S.id in p?D[S.id]=p[S.id]*j:D[S.id]=S.defaultSize/o;}for(let o of c)r[o.id]=Math.max(Math.round(D[o.id]*s),o.defaultSize);let C=c.reduce((o,m)=>o+r[m.id],0)-s;if(C!==0&&c.length>0){let o=c[c.length-1];r[o.id]=Math.max(r[o.id]-C,o.defaultSize);}return r},Ae=(i,a)=>{let u=0;for(let s of a)u+=i[s]??0;if(u===0)return {};let r={};for(let s of a)i[s]!=null&&(r[s]=i[s]/u);return r};function Bt({columns:i$1,data:a$4,rowsCount:u,pagination:r,onPaginationChange:s,noResults:c$1,onNextPageClick:z,onPreviousPageClick:p,disableNextPage:y,disablePreviousPage:D,className:d$1,onRowsPerPageChange:C,columnOrder:o,columnVisibility:m,rowsPerPageOptions:v,enableRowSelection:k=false,rowSelection:j$1,onRowSelectionChange:S,getRowId:P,rowSelectionTooltip:ie,setDisabledRowState:le,tableId:w,isLoading:H,isInitialLoading:se,skeletonRowCount:$e,skeletonColumns:Le=6,getRowType:re,rowActions:A,...ce}){let $=typeof k=="function"||k===true,de=useMemo(()=>{if(!o)return;let t=[A?N:null,$?"__select__":null].filter(l=>l!=null),n=new Set(t);return [...t,...o.filter(l=>!n.has(l))]},[o,$,A]),Ee=useMemo(()=>{let t=[...i$1];if($&&t.unshift(dt({rowSelectionTooltip:ie,setDisabledRowState:le})),A){let n=ft({rowActions:A});t.unshift(n);}return t},[$,i$1,ie,le,A]),[B,je]=useState(null),Be=useCallback(t=>je(t),[]),L=useRef({}),U=useRef(null),[V,X]=useState({}),Ve=t=>{X(n=>{let l=typeof t=="function"?t(n):t,h=U.current;if(!h)return l;let b=h.getState().columnSizingInfo.isResizingColumn;if(!b)return l;let R=h.getVisibleLeafColumns(),x=R.findIndex(I=>I.id===b);if(x===-1)return l;let _=null;for(let I=x+1;I<R.length;I++)if(R[I].getCanResize()){_=R[I];break}if(!_)return l;let F=R[x].columnDef,qe=F.size??150,Je=F.minSize??80,Y=n[b]??qe,Ue=l[b]??Y,pe=Math.max(Ue,Je),be=pe-Y;if(be===0)return {...l,[b]:pe};let Ce=_.id,Xe=_.columnDef.size??150,Ye=_.columnDef.minSize??80,he=n[Ce]??Xe,Te=Math.max(he-be,Ye),Ge=he-Te,Qe=Y+Ge;return {...l,[b]:Qe,[Ce]:Te}});},g$1=useReactTable({data:a$4,columns:Ee,rowCount:u,state:{pagination:r,...de!==void 0&&{columnOrder:de},columnVisibility:m,...j$1!==void 0&&{rowSelection:j$1},...w&&{columnSizing:V}},onPaginationChange:s,onRowSelectionChange:S,...w&&{columnResizeMode:"onChange",onColumnSizingChange:Ve,defaultColumn:{minSize:80}},manualPagination:true,getCoreRowModel:getCoreRowModel(),enableRowSelection:typeof k=="function"?t=>k(t.original):k,getRowId:P?t=>P(t):void 0});U.current=g$1;let Fe=g$1.getVisibleLeafColumns().map(t=>t.id).join(","),Ke=()=>g$1.getVisibleLeafColumns().map(t=>({id:t.id,defaultSize:t.columnDef.size??150,canResize:t.getCanResize()})),ue=()=>new Set(g$1.getVisibleLeafColumns().filter(t=>t.getCanResize()).map(t=>t.id));useEffect(()=>{if(!w||!B)return;(l=>{let h=Object.keys(L.current).length>0?L.current:pt(w),b=Ke(),R=Oe(b,l,h);L.current=Ae(R,ue()),X(R);})(B.clientWidth);let n=new ResizeObserver(([l])=>{if(!l)return;let h=U.current;if(!h||h.getState().columnSizingInfo.isResizingColumn)return;let b=h.getVisibleLeafColumns().map(x=>({id:x.id,defaultSize:x.columnDef.size??150,canResize:x.getCanResize()})),R=Oe(b,l.contentRect.width,L.current);X(R);});return n.observe(B),()=>n.disconnect()},[w,Fe,B]);let E=useMemo(()=>{if(!w||Object.keys(V).length===0)return;let t=g$1.getFlatHeaders(),n={};for(let l of t)n[`--header-${l.id}-size`]=l.getSize(),n[`--col-${l.column.id}-size`]=l.column.getSize();return n},[w,g$1.getState().columnSizingInfo,g$1.getState().columnSizing]),me=g$1.getState().columnSizingInfo.isResizingColumn;useEffect(()=>{if(w&&!me&&Object.keys(V).length>0){let t=ue(),n=Ae(V,t);L.current=n,bt(w,n);}},[w,me]);let ge=$e??r?.pageSize??10,fe=g$1.getTotalSize();return se?jsx(We,{columns:Le,rows:ge,hasSelection:$,hasRowActions:!!A,hasPagination:!!r,className:d$1,...ce}):!H&&!se&&!g$1.getRowModel().rows?.length?jsx(f,{...c$1}):jsxs(a$1,{ref:Be,className:d$1,...ce,children:[jsxs(b,{style:E?{...E,width:"100%",minWidth:fe,tableLayout:"fixed"}:{width:"100%",minWidth:fe,tableLayout:"fixed"},children:[!E&&jsx("colgroup",{children:g$1.getHeaderGroups()[0].headers.map(t=>jsx("col",{span:1,style:{width:t.column.getSize()}},t.id))}),jsx(c,{children:g$1.getHeaderGroups().map(t=>jsx(g,{children:t.headers.map(n=>{if(n.isPlaceholder)return jsx(h,{style:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0},n.id);let l=n.column.columnDef,h$1=flexRender(l.header,n.getContext()),b=n.column.id!=="__select__"&&l.headerTooltip!==false,R=l.headerTooltip&&typeof l.headerTooltip!="boolean"?l.headerTooltip:h$1,x=jsx("span",{className:"font-inter line-clamp-1 text-xs leading-[133%] text-neutral-900 uppercase",children:h$1});return jsxs(h,{className:n.column.id===N?"p-0 px-0":w?"group/resize relative overflow-clip":void 0,style:n.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0,children:[jsxs("div",{className:"flex items-center",children:[b?jsx(a$2,{content:R,contentClassName:"font-normal normal-case",children:x}):x,l.headerInfoTooltip&&jsx(a$2,{content:l.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e$1,{className:"ml-1 w-[0.875rem] shrink-0"})})]}),w&&n.column.getCanResize()&&t.headers.some((_,F)=>F>t.headers.indexOf(n)&&_.column.getCanResize())&&jsx("div",{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),className:a("absolute top-0 right-0 h-full w-1 cursor-col-resize touch-none select-none","bg-primary-400 opacity-0 transition-opacity group-hover/resize:opacity-100",n.column.getIsResizing()&&"bg-primary-600 opacity-100")})]},n.id)})},t.id))}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:H?Array.from({length:ge},(t,n)=>jsx(e,{children:g$1.getVisibleLeafColumns().map((l,h)=>{let b=l.columnDef;return jsx(i,{className:l.id==="__select__"?"align-middle":l.id===N?"!bg-primary-50 p-0 align-middle":void 0,style:l.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:void 0,children:l.id==="__select__"?jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"}):l.id===N?jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]}):b.skeleton!=null?b.skeleton:jsx(a$3,{className:a("h-4",J[(n+h)%J.length])})},l.id)})},n)):g$1.getRowModel().rows.map(t=>jsx(Me,{row:t,isSelected:t.getIsSelected(),resizable:!!w,type:re?re(t.original):"default"},t.id))})]}),r&&s&&(a$4.length>0||H)&&jsx(j,{rowsPerPageOptions:v,rowsCount:u,pagination:r,onPageSizeChange:t=>{g$1.setPagination({pageIndex:0,pageSize:t}),C?.(t);},onPreviousPageClick:p,onNextPageClick:z,isDisableNextPageButton:H||y||!!u&&!g$1.getCanNextPage(),isDisablePreviousPageButton:H||D||!!u&&!g$1.getCanPreviousPage(),onPageChange:t=>{g$1.setPageIndex(t-1);}})]})}export{Bt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {a as a$2}from'./chunk-R6NIURLZ.js';import {d}from'./chunk-MP4CHZ2K.js';import {g}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import*as a from'react';import*as e from'@radix-ui/react-accordion';import {jsx,jsxs}from'react/jsx-runtime';var b=["sm","md"],w=a.forwardRef(({className:i,children:o,size:r="md",...n},d)=>jsx(e.Root,{"data-size":r,className:a$1("group/root space-y-2",i),...n,ref:d,children:o})),y=a.forwardRef(({className:i,...o},r)=>jsx(e.Item,{ref:r,className:i,...o}));y.displayName="AccordionFormItem";var R=a.forwardRef(({className:i,title:o,onEndButtonClick:r,StartIcon:n,children:d$1,badgeNumber:p,chipStatus:c,...g$1},u)=>jsx(e.Header,{className:"flex",children:jsxs(e.Trigger,{title:o,ref:u,className:a$1("group flex h-8 items-center gap-4 [&[data-state=open]>div>.chevron-icon]:rotate-180",i),...g$1,children:[jsxs("div",{className:"group flex items-center",children:[n&&jsx(n,{className:"text-primary-500 group-enabled:group-hover:text-primary-700 mr-2 h-4.5 w-4.5 shrink-0 transition-colors group-disabled:text-neutral-500 group-data-[size=sm]/root:h-3.5 group-data-[size=sm]/root:w-3.5"}),jsx("div",{children:jsx("p",{className:"text-primary-500 group-enabled:group-hover:text-primary-700 line-clamp-1 text-left text-base leading-[130%]! font-semibold transition-colors group-disabled:text-neutral-500 group-data-[size=sm]/root:text-sm",children:o})})]}),jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[c&&jsx(d,{variant:c.variant,type:c.type,size:"xs",className:"shrink-0",children:c.text}),p?.toString()&&jsx(a$2,{variant:"alert",size:"md",content:p.toString()}),jsx(g,{className:"chevron-icon text-primary-500 group-enabled:group-hover:text-primary-700 h-4.5 w-4.5 shrink-0 transition-transform group-disabled:text-neutral-500"})]})]})}));R.displayName=e.Trigger.displayName;var A=a.forwardRef(({className:i,children:o,...r},n)=>jsx(e.Content,{ref:n,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",...r,children:jsx("div",{className:i,children:o})}));A.displayName=e.Content.displayName;export{b as a,w as b,y as c,R as d,A as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$5}from'./chunk-LU2N5UJD.js';import {b as b$1}from'./chunk-IOQQ3DOG.js';import {a as a$8,b as b$2,c as c$4}from'./chunk-4RJVZ7FN.js';import {c as c$6}from'./chunk-XPR5NR6A.js';import {a as a$a}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-A2VW62QH.js';import {c as c$5}from'./chunk-JYNJHAGL.js';import {b}from'./chunk-JB6QLQCK.js';import {a as a$b}from'./chunk-SKMTTF6M.js';import {a as a$6}from'./chunk-UIZFLYFP.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {d as d$1}from'./chunk-PK7E4VZY.js';import {a}from'./chunk-FHABUQAH.js';import {a as a$7}from'./chunk-BJ5MXTGP.js';import {d as d$2}from'./chunk-MP4CHZ2K.js';import {a as a$3}from'./chunk-R6NIURLZ.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c}from'./chunk-55Z77FLU.js';import {c as c$3,a as a$9}from'./chunk-5EP3PIED.js';import {c as c$1,s,t,h,d,q,g,p,j}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import*as F from'react';import F__default,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as St from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';import {Collapsible}from'@ark-ui/react/collapsible';import {MenuRoot,MenuTrigger,MenuPositioner,MenuContent,MenuItem}from'@ark-ui/react/menu';import {Portal}from'@ark-ui/react/portal';import {tv,cn}from'tailwind-variants';import wi,{parsePhoneNumber,getCountryCallingCode}from'react-phone-number-input';import {useListCollection,useCombobox,Combobox}from'@ark-ui/react/combobox';import {useFilter}from'@ark-ui/react/locale';import {getDefaultOptions}from'date-fns';import {getExampleNumber}from'libphonenumber-js/mobile';import Ci from'libphonenumber-js/mobile/examples';import Li from'react-phone-number-input/locale/en.json';import yi from'react-phone-number-input/locale/es.json';import Ri from'react-phone-number-input/locale/pt.json';import ki from'react-phone-number-input/flags';var Oo=F__default.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:n,noResultsDescriptionLines:i,noResultsAsColumn:r,noResultsButtonOnClick:s,optionDescriptionLines:a$3,noResultsButtonLabel:l,filteredOptions:p,inputRect:c$1,inputRef:f,popoverPosition:h,optionsListRef:d,selectedOption:x,options:L,setFilteredOptions:R})=>jsx(St.Root,{asChild:true,children:jsxs("div",{ref:d,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:c$1?{width:`${c$1.width}px`,left:c$1.left,top:h==="bottom"?`${c$1.bottom}px`:void 0,bottom:h==="top"?`${window.innerHeight-c$1.top}px`:void 0}:void 0,children:[p.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:n,Icon:t,iconAsColumn:r,descriptionLines:i}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{d.current.style.display="none",f.current.value="",R(L),s();},children:l})]})]}),p.map(g=>jsx(pe,{title:g.label,disabled:g.disabled,description:g.description,descriptionLines:a$3,onClick:()=>e(g),className:a$2(x?.value===g.value&&"bg-primary-200")},g.key??g.value))]})})),Ft=Oo;var wo=336,ts=({options:e,defaultSelectedOption:t,onSelect:o,onClick:n,onInputChange:i,error:r,helperText:s,label:a,placeholder:l,value:p,size:c="md",optionDescriptionLines:f=1,noResultsLabel:h,noResultsIcon:d,noResultsDescription:x,noResultsDescriptionLines:L,noResultsAsColumn:R,noResultsButtonOnClick:g,noResultsButtonLabel:M,className:I,disabled:P})=>{let[b,N]=useState(t??null),E=useRef(null),y=useRef(null),[w,S]=useState(),[q,D]=useState([]),[C,m]=useState("bottom"),[T,H]=useState(),V=wo,K=useCallback(O=>{E.current.style.display="none",y.current.value=O.label,N(O),o?.(O);},[o]),B=useCallback(()=>{if(!y?.current)return;let O=y.current.getBoundingClientRect();S(O);let Q=T?T.height:V,j=window.innerHeight-O.bottom>Q,Pe=O.top>Q;m(j?"bottom":Pe?"top":"bottom");},[T?.height]),te=useCallback(()=>{let O=e.filter(Q=>Q.label.toLowerCase().includes(y?.current?.value.toLowerCase()??""));if(D(O),E?.current){let Q=E.current.getBoundingClientRect();H(Q);}},[e]);return useEffect(()=>{D(e);},[e]),useEffect(()=>{if(!p){N(null),y.current&&(y.current.value="");return}(!y.current?.value||b?.value!==p.value)&&(N(p),y.current.value=p.label);},[p]),a$a(E,()=>{E.current.style.display="none",b&&y.current&&(y.current.value=b.label);}),useEffect(()=>{if(y?.current)return B(),y.current.addEventListener("mousedown",B),y.current.addEventListener("input",te),window.addEventListener("scroll",B,true),window.addEventListener("resize",B),()=>{y.current?.removeEventListener("mousedown",B),y.current?.removeEventListener("input",te),window.removeEventListener("scroll",B,true),window.removeEventListener("resize",B);}},[B,te]),jsxs("div",{className:a$2("relative",I),children:[jsx(a$4,{ref:y,autoComplete:"off",list:"",selectMode:true,onChange:O=>{O.target.value||(N(null),o?.(null)),i?.(O);},onClean:()=>{N(null),D(e),o?.(null);},onClick:O=>{E.current.style.display="flex",n?.(O);},onBlur:()=>{b&&y.current&&(y.current.value=b.label);},label:a,helperText:s,placeholder:l,size:c,error:r,disabled:P}),jsx(Ft,{handleSelect:K,noResultsLabel:h,NoResultsIcon:d,optionDescriptionLines:f,noResultsAsColumn:R,noResultsButtonLabel:M,noResultsButtonOnClick:g,noResultsDescription:x,noResultsDescriptionLines:L,filteredOptions:q,inputRect:w,inputRef:y,popoverPosition:C,optionsListRef:E,selectedOption:b,options:e,setFilteredOptions:D})]})};var So=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,disabled:r=false,className:s,...a})=>jsxs("div",{className:a$2("flex w-full flex-col gap-1",s),...a,children:[jsx("p",{className:a$2("text-sm leading-[130%] break-all",!!n&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),n&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700"),style:i?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i}:void 0,children:n})]}),ie=So;var pe=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,endIcon:s,hasDivider:a=false,disabled:l=false,isSelected:p=false,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:l,hasDivider:a,className:c,isSelected:p,...f,children:[r&&F__default.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),s&&F__default.cloneElement(s,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});var Ut=({children:e,title:t,titleLines:o=1,description:n="",descriptionLines:i,startIcon:r,hasDivider:s=false,disabled:a=false,checked:l,onCheckedChange:p,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:a,hasDivider:s,...f,className:a$2("pr-6",c),children:[r&&F__default.cloneElement(r,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),jsx(b,{checked:l,onCheckedChange:p,className:"ml-4 self-center",disabled:a})]});var J=336,Wt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:J,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),Z=()=>{let e=useContext(Wt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},qt=({children:e})=>{let t=useRef(null),o=useRef(null),n=useId(),[i,r]=useState(),[s,a]=useState(true),[l,p]=useState([]),[c,f]=useState(-1),[h,d]=useState("bottom"),[x,L]=useState(),[R,g]=useState(J);return jsx(Wt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:n,inputRect:i,showChips:s,filteredOptions:l,currentFocus:c,popoverPosition:h,setFilteredOptions:p,setCurrentFocus:f,setShowChips:a,setPopoverPosition:d,setInputRect:r,optionsListHeight:R,optionsListRect:x,setOptionsListRect:L,setOptionsListHeight:g},children:e})};var Go=({option:e,onMountWidth:t,size:o})=>{let n=useRef(null);return useEffect(()=>{n.current&&t?.(n.current.clientWidth);},[]),jsx(d$1,{type:"fill",variant:"standard",ref:n,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},jt=Go;var Yo=150,Zo=F__default.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:n,size:i})=>{let{autocompleteId:r,inputRect:s,inputRef:a,optionsListRef:l}=Z(),p=F__default.useRef(null),[c,f]=F__default.useState(new Map),h=useMemo(()=>{if(!s?.width)return [];let x=0,L=s.width-Yo,R=0;for(let g=0;g<e.length&&(R+=c.get(g)??0,!(R>L));g++)x++;return e.slice(0,x)},[s?.width,e,c]),d=useCallback(()=>{n||(a?.current?.focus(),l.current.style.display="flex");},[n]);return jsxs("div",{onClick:d,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pr-12 pl-3",n&&"cursor-not-allowed"),style:{maxWidth:s?.width?s?.width:void 0,height:s?.height?s?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:p,children:h.map((x,L)=>jsx(jt,{option:x,onMountWidth:R=>f(g=>new Map(g).set(L,R)),size:i},`chip-input-${r}-${x.value}`))}),e.length>h.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:i}),t&&e.length>0&&jsx(c$1,{className:"text-error-700 h-6 w-6",onClick:x=>{x.stopPropagation(),o();}})]})}),Gt=Zo;var tn=F__default.memo(({option:e,index:t,onPressOption:o,isSelected:n,optionDescriptionLines:i})=>{let{currentFocus:r,inputRef:s}=Z();return jsx(Ut,{title:e.label,checked:n,disabled:e.disabled,className:r===t?"bg-primary-200":void 0,onMouseDown:a=>{e.disabled||(s?.current?.value&&a.preventDefault(),o?.(e,a));},description:e.description,descriptionLines:i})}),Qe=tn;var ln=F__default.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:n,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:s,noResultsButtonOnClick:a$2,optionDescriptionLines:l,noResultsButtonLabel:p})=>{let{popoverPosition:c$1,optionsListRef:f,filteredOptions:h,inputRect:d,autocompleteId:x,inputRef:L,optionsListHeight:R}=Z(),g=useCallback(I=>e.some(P=>P.value===I.value),[e]),M=useMemo(()=>e.filter(I=>I.label.toLowerCase().includes(L?.current?.value.toLowerCase()??"")),[e,L?.current?.value]);return jsx(St.Root,{asChild:true,children:jsxs("div",{ref:f,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:d?{width:`${d.width}px`,left:d.left,top:c$1==="bottom"?`${d.bottom}px`:void 0,bottom:c$1==="top"?`${window.innerHeight-d.top}px`:void 0,maxHeight:R+"px"}:void 0,children:[h.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:n,description:i,Icon:o,iconAsColumn:s,descriptionLines:r}),a$2&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{f.current.style.display="none",L.current.value="",a$2();},children:p})]})]}),M.map((I,P)=>jsx(Qe,{option:I,index:P,onPressOption:b=>t(b),isSelected:g(I),optionDescriptionLines:l},`autocomplete-option-${x}-${I.key??I.value}`)),h.map((I,P)=>!e.some(b=>b.value===I.value)&&jsx(Qe,{option:I,index:P,onPressOption:b=>t(b),isSelected:g(I),optionDescriptionLines:l},`autocomplete-option-${x}-${I.key??I.value}`))]})})}),Qt=ln;var pn=F__default.memo(({selectedOptions:e,onSelect:t,error:o,helperText:n,label:i,placeholder:r,options:s,onInputChange:a,size:l,disabled:p})=>{let{setCurrentFocus:c,setFilteredOptions:f,optionsListRef:h,inputRef:d}=Z();return jsx(a$4,{ref:d,autoComplete:"off",list:"",disabled:p,selectMode:true,onChange:x=>{c(-1),a?.(x.target.value);},onClean:()=>{c(-1),f(s),t?.(null,e);},onClick:()=>{p||(h.current.style.display="flex");},error:o,helperText:n,label:i,placeholder:r,fixedTopLabel:e.length>0,size:l})}),Xt=pn;var Yt=({options:e,defaultSelectedOptions:t,onSelect:o,error:n,helperText:i,label:r,placeholder:s,noResultsLabel:a,noResultsIcon:l,noResultsDescription:p,noResultsDescriptionLines:c,noResultsAsColumn:f,noResultsButtonOnClick:h,noResultsButtonLabel:d,className:x,onInputChange:L,value:R,loading:g,size:M="md",optionDescriptionLines:I=1,disabled:P})=>{let{inputRef:b,optionsListRef:N,setFilteredOptions:E,setShowChips:y,setInputRect:w,setPopoverPosition:S,setCurrentFocus:q,showChips:D,setOptionsListRect:C,optionsListRect:m,setOptionsListHeight:T}=Z(),H=useRef(false),[V,K]=useState(t??[]),B=useCallback(U=>{K(X=>{let oe,ge=X.findIndex(Eo=>Eo.value===U.value);return ge===-1?(oe=X.concat(U),o?.(U,oe),oe):(oe=X.toSpliced(ge,1),o?.(U,oe),oe)});},[o]),te=useCallback(()=>{K([]),E(e),o?.(null,[]);},[]),O=useCallback(()=>{y(false);},[]),Q=useCallback(()=>{y(true);},[]),j=useCallback(()=>{if(!b?.current)return;let U=b.current.getBoundingClientRect();w(U);let X=m?m.height>J?J:m.height:J,oe=window.innerHeight-U.bottom>X,ge=U.top>X;S(oe?"bottom":ge?"top":"bottom"),T(ge?J:window.innerHeight-U.bottom>J?J:window.innerHeight-U.bottom);},[m?.height]),Pe=useCallback(()=>{let U=e.filter(X=>X.label.toLowerCase().includes(b?.current?.value.toLowerCase()??""));if(E(U),N?.current){let X=N.current.getBoundingClientRect();C(X);}},[e,N?.current]);return useEffect(()=>{E(e);},[e]),a$a(N,()=>{N.current.style.display="none",q(-1);}),useEffect(()=>{if(b?.current)return j(),b.current.addEventListener("mousedown",j),b.current.addEventListener("input",Pe),b.current.addEventListener("focusin",O),b.current.addEventListener("focusout",Q),window.addEventListener("scroll",j,true),window.addEventListener("resize",j),()=>{b.current?.removeEventListener("mousedown",j),b.current?.removeEventListener("input",j),b.current?.removeEventListener("focusout",Q),b.current?.removeEventListener("focusin",O),window.removeEventListener("scroll",j,true),window.removeEventListener("resize",j);}},[j,Q,O,Pe]),useEffect(()=>{R&&(K(R),y(true));},[R]),useEffect(()=>{g||t&&t.length&&!H.current&&(K(t),H.current=true,y(true));},[t,g]),jsxs("div",{className:a$2("relative",x),children:[jsx(Xt,{selectedOptions:V,onSelect:o,error:n,helperText:i,label:r,placeholder:s,handleSelect:B,options:e,onInputChange:L,size:M,disabled:P}),D&&jsx(Gt,{selectedOptions:V,disabled:P,error:n,onCleanSelectedOptions:te,size:M}),jsx(Qt,{handleSelect:B,selectedOptions:V,noResultsLabel:a,NoResultsIcon:l,optionDescriptionLines:I,noResultsAsColumn:f,noResultsButtonLabel:d,noResultsButtonOnClick:h,noResultsDescription:p,noResultsDescriptionLines:c})]})};var Rl=e=>jsx(qt,{children:jsx(Yt,{...e})});var kl=({children:e,title:t,titleLines:o=1,description:n,descriptionLines:i=1,StartIcon:r,hasDivider:s=false,disabled:a=false,actionButton:l,isSelected:p=false,className:c$1,...f})=>jsxs(Y,{hasDescription:!!n,disabled:a,hasDivider:s,isSelected:p,...f,className:c$1,children:[r&&jsx(r,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),l&&jsx(Fragment,{children:l.isIcon?jsx(c$2,{...l,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:a??l.disabled}):jsx(c,{...l,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:a??l.disabled})})]});var $l=({title:e,description:t="",descriptionLines:o,hasDivider:n=false,disabled:i=false,checked:r,onCheckedChange:s,className:a,chipStatus:l,chipExpandable:p,...c})=>jsxs(Y,{hasDescription:!!t,disabled:i,hasDivider:n,...c,className:a$2("pr-6",a),children:[jsx(b,{checked:r,onCheckedChange:s,className:"mr-4 self-center",disabled:i}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),p&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$5,{...p})}),l&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$2,{...l,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",i?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Je={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},et={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var tt=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var ot=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var Ln={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},yn={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},Rn=()=>typeof window<"u"&&typeof window.DOMParser<"u",Jt=e=>Rn()?new DOMParser().parseFromString(e,"text/html"):null,In=e=>(e??"").replace(/\s+/g," ").trim(),rt=e=>{let t=0;for(let o of Array.from(e.classList)){let n=o.match(/^ql-indent-(\d+)$/);if(!n)continue;let i=Number.parseInt(n[1],10);Number.isFinite(i)&&(t=Math.max(t,i)),e.classList.remove(o);}return t},Tn=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let n of Array.from(o.classList)){let i=Ln[n];i&&(i!=="left"&&(o.style.textAlign=i),o.classList.remove(n));}},Nn=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let n=rt(o);n>0&&(o.style.paddingInlineStart=`${n*3}em`);}},Pn=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},Mn=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),rt(t),t},nt=(e,t)=>e.createElement(t),En=(e,t)=>{let o=Array.from(e.children).filter(l=>l.tagName==="LI");if(o.length===0||!o.some(l=>l.hasAttribute("data-list")?true:Array.from(l.classList).some(p=>/^ql-indent-\d+$/.test(p))))return;let i=[],r=[],s=e.tagName==="UL"?"ul":"ol";for(let l of o){let p=rt(l),c=Pn(l,s),f=Mn(l);for(;r.length>0&&r[r.length-1].level>p;)r.pop();if(r.length===0){let d=nt(t,c);i.push(d),r.push({level:0,kind:c,listElement:d});}let h=r[r.length-1];for(;h.level<p;){let d=h.listElement.lastElementChild;if(!d||d.tagName!=="LI")break;let x=nt(t,c);d.appendChild(x),h={level:h.level+1,kind:c,listElement:x},r.push(h);}if(h=r[r.length-1],h.kind!==c){let d=nt(t,c);if(r.length===1)i.push(d),r[0]={level:0,kind:c,listElement:d};else {let L=r[r.length-2].listElement.lastElementChild;L&&L.tagName==="LI"?(L.appendChild(d),r[r.length-1]={level:h.level,kind:c,listElement:d}):(i.push(d),r.length=1,r[0]={level:0,kind:c,listElement:d});}h=r[r.length-1];}h.listElement.appendChild(f);}if(i.length===0)return;let a=t.createDocumentFragment();for(let l of i)a.appendChild(l);e.replaceWith(a);},An=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let n of o)En(n,t);},eo=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",n=Array.from(e.children).filter(i=>i.tagName==="LI");for(let i of n){i.setAttribute("data-list",o);for(let s of Array.from(i.classList))/^ql-indent-\d+$/.test(s)&&i.classList.remove(s);t>0&&i.classList.add(`ql-indent-${t}`);let r=Array.from(i.children).filter(s=>s.tagName==="UL"||s.tagName==="OL");for(let s of r)eo(s,t+1);}},On=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let n=o;for(let s of Array.from(n.classList))s.startsWith("ql-align-")&&n.classList.remove(s);let i=n.style.textAlign.trim().toLowerCase(),r=yn[i];r&&n.classList.add(r);}},de=e=>In(e).replace(/>\s+</g,"><").replace(/ /g," "),it=e=>{let t=e??"";if(!t.trim())return "";let o=Jt(t);if(!o)return t;let{body:n}=o;return Tn(n),Nn(n),An(n,o),n.innerHTML},st=e=>{if(!e.trim())return "";let t=Jt(e);if(!t)return e;let{body:o}=t,n=Array.from(o.querySelectorAll("ul, ol"));for(let i of n)eo(i,0);return On(o),o.innerHTML};var De=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),st(t)},zn=(e,t)=>{let o=it(t);e.update(()=>{let n=$getRoot();if(n.clear(),!o.trim()){n.append($createParagraphNode());return}let r=new DOMParser().parseFromString(o,"text/html"),s=$generateNodesFromDOM(e,r);if(s.length===0){n.append($createParagraphNode());return}n.select(),$insertNodes(s);});},lt=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),n=useRef(null);return useEffect(()=>{let i=e??"";if(n.current!==null&&de(i)===de(n.current))return;let r=De(o);de(r)!==de(i)&&(t.current=true,zn(o,i),queueMicrotask(()=>{t.current=false;})),n.current=i;},[o,t,e]),null};var oo=["left","center","right","justify"];var no=["bold","italic","underline","strikethrough","code"];var Lr={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},yr={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},Rr={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},Re={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},Ie={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Ir=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?no.filter(o=>t.includes(o)):["bold","italic","underline"]},Tr=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?oo.filter(o=>t.includes(o)):["left","center","right","justify"]},Nr=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},Te=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),$=({label:e,onClick:t,icon:o,active:n=false,disabled:i=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:i,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",n&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),pt=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),n=useId(),[i,r]=useState(false),[s,a]=useState(false),[l,p]=useState(false),[c,f]=useState(false),[h,d]=useState(false),[x,L]=useState(false),[R,g]=useState(false),[M,I]=useState("paragraph"),[P,b]=useState("left"),N=useMemo(()=>Ir(e),[e]),E=useMemo(()=>Tr(e),[e]),y=useMemo(()=>Nr(e),[e]),w=useCallback(()=>{let C=$getSelection();if(!$isRangeSelection(C))return;p(C.hasFormat("bold")),f(C.hasFormat("italic")),d(C.hasFormat("underline")),L(C.hasFormat("strikethrough")),g(C.hasFormat("code"));let m=C.anchor.getNode(),T=m.getKey()==="root"?m:m.getTopLevelElementOrThrow();if($isListNode(T))I(T.getListType()==="number"?"ol":"ul");else {let V=$findMatchingParent(T,K=>$isListNode(K));$isListNode(V)?I(V.getListType()==="number"?"ol":"ul"):I($isHeadingNode(T)?T.getTag():T.getType());}let H=$isElementNode(T)?T.getFormatType():"";b(H==="center"||H==="right"||H==="justify"?H:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:C})=>{C.read(()=>{w();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(w(),false),1),o.registerCommand(CAN_UNDO_COMMAND,C=>(r(C),false),1),o.registerCommand(CAN_REDO_COMMAND,C=>(a(C),false),1)),[o,w]);let S=C=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,Lr[C]);},q=C=>{o.update(()=>{let m=$getSelection();if($isRangeSelection(m)){if(C==="paragraph"){$setBlocksType(m,()=>$createParagraphNode());return}$setBlocksType(m,()=>$createHeadingNode(C));}});},D=C=>{if(M===(C==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(C==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx($,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!i,icon:jsx(UndoIcon,{className:"size-4"})}),jsx($,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!s,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(Te,{})]}),y.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:n,children:"Text style"}),jsx("select",{id:n,value:M.startsWith("h")?M:"paragraph",onChange:C=>q(C.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:y.map(C=>jsx("option",{value:C.value,children:C.label},C.value))}),jsx(Te,{})]}),N.length>0&&jsxs(Fragment,{children:[N.includes("bold")&&jsx($,{label:Ie.bold,onClick:()=>S("bold"),icon:Re.bold,active:l}),N.includes("italic")&&jsx($,{label:Ie.italic,onClick:()=>S("italic"),icon:Re.italic,active:c}),N.includes("underline")&&jsx($,{label:Ie.underline,onClick:()=>S("underline"),icon:Re.underline,active:h}),N.includes("strikethrough")&&jsx($,{label:Ie.strikethrough,onClick:()=>S("strikethrough"),icon:Re.strikethrough,active:x}),N.includes("code")&&jsx($,{label:Ie.code,onClick:()=>S("code"),icon:Re.code,active:R}),jsx(Te,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx($,{label:"Bulleted list",onClick:()=>D("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:M==="ul"}),jsx($,{label:"Numbered list",onClick:()=>D("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:M==="ol"}),jsx(Te,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx($,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx($,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(Te,{})]}),E.length>0&&jsx(Fragment,{children:E.map(C=>jsx($,{label:Rr[C],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,C),icon:yr[C],active:P===C},C))})]})};var lo=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},Vr=forwardRef(({value:e,onChange:t,onBlur:o,onError:n,placeholder:i="Write your content...",readOnly:r=false,showToolbar:s=true,toolbarConfig:a=et,className:l,editorClassName:p,toolbarClassName:c,autoFocus:f=false,minHeight:h=160,maxHeight:d,error:x=false,errorMessage:L,editorRef:R},g)=>{let M=useRef(false),I=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Je,onError:(b,N)=>{if(n){n(b,N);return}console.error("RichTextEditor error",b);},nodes:[HeadingNode,ListNode,ListItemNode]}),[n]),P={minHeight:lo(h),maxHeight:lo(d),overflowY:d?"auto":void 0};return jsx(LexicalComposer,{initialConfig:I,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:g,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",x?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",r&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",l),"data-error":x,"data-readonly":r,children:[s&&!r&&jsx(pt,{config:a,className:c}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_li]:my-1 [&_ol]:my-2 [&_ul]:my-2","[&_a]:text-primary-700 [&_a]:underline",r&&"cursor-default",p),style:P,onBlur:o,"aria-invalid":x}),placeholder:r?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:i}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(tt,{readOnly:r}),jsx(lt,{value:e,isSyncingRef:M}),f&&!r&&jsx(AutoFocusPlugin,{}),R&&jsx(ot,{editorRef:R}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(b,N)=>{!t||M.current||t(De(N),b);}})]}),x&&L&&jsx("p",{className:"text-error-500 mt-1 text-xs leading-[133%]",children:L})]})})});Vr.displayName="RichTextEditor";var Be="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:duration-150 data-[state=closed]:duration-100 data-[state=open]:ease-out data-[state=closed]:ease-in data-[state=open]:data-[side=bottom]:slide-in-from-top-1 data-[state=closed]:data-[side=bottom]:slide-out-to-top-1 data-[state=open]:data-[side=top]:slide-in-from-bottom-1 data-[state=closed]:data-[side=top]:slide-out-to-bottom-1 data-[state=open]:data-[side=left]:slide-in-from-right-1 data-[state=closed]:data-[side=left]:slide-out-to-right-1 data-[state=open]:data-[side=right]:slide-in-from-left-1 data-[state=closed]:data-[side=right]:slide-out-to-left-1 motion-reduce:data-[state=open]:animate-none motion-reduce:data-[state=closed]:animate-none";var Za=["sm","md","lg"],Ja=a$9,Qr={lg:"h-10 gap-2 px-4 text-sm leading-[142%] rounded-md",md:"h-8 gap-1 px-3 text-sm leading-[142%] rounded-md",sm:"h-6 gap-1 px-3 text-xs leading-[142%] rounded-sm"},Xr={lg:"size-4.5",md:"size-3.5",sm:"size-3"},po=({label:e,options:t,onSelect:o,variant:n="contained",size:i="md",disabled:r=false,className:s,...a})=>{let l=useCallback(c=>{o?.(c.value);},[o]),{root:p}=c$3({variant:n,disabled:r});return jsxs(MenuRoot,{unmountOnExit:true,lazyMount:true,onSelect:l,positioning:{placement:"bottom-start",flip:["bottom-end"]},...a,children:[jsxs(MenuTrigger,{disabled:r,className:a$2(p(),"group data-[state=open]:ring-primary-800 ease-linear outline-none data-[state=open]:ring-3 data-[state=open]:ring-inset",Qr[i],s),children:[e,jsx(g,{className:a$2(Xr[i],"transition-transform duration-150 group-data-[state=open]:rotate-180")})]}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:a$2("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",Be),children:t.map(({label:c,value:f,description:h,startIcon:d,endIcon:x,hasDivider:L,disabled:R,onClick:g})=>jsx(MenuItem,{value:f,disabled:R,onSelect:g,asChild:true,children:jsx(pe,{title:c,description:h,startIcon:d,endIcon:x,disabled:R,hasDivider:L,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},f))})})})]})};var uo=createContext(null),ti=()=>{let e=useContext(uo);if(!e)throw new Error("TrackerItem components must be used within TrackerItem");return e},oi=({state:e,children:t})=>jsxs("div",{className:"relative",children:[jsx("div",{className:a$2("absolute top-1/2 z-10 h-[70%] w-0.5 -translate-y-1/2 rounded-sm",e==="active"&&"bg-primary-400",e==="success"&&"bg-success-500",e==="wait"&&"bg-neutral-400")}),t]}),ni=forwardRef(({label:e,badgeStatus:t$1,details:o,className:n,...i},r)=>{let{state:s$1,stepNumber:a,expandable:l,onHeaderButtonClick:p}=ti();return jsxs("div",{ref:r,className:a$2("flex min-h-10 items-center gap-3 py-2 pr-1 pl-3",n),...i,children:[jsxs("div",{className:a$2("flex flex-1 gap-2",!t$1&&(!o||o.length===0)&&"self-center"),children:[jsx(a$5,{state:s$1,stepNumber:a}),jsxs("div",{className:"mt-0.5 flex min-w-0 flex-1 flex-col gap-1",children:[jsx("span",{className:a$2("font-jakarta text-xs leading-snug font-medium",s$1==="wait"?"text-neutral-500":"text-neutral-900"),children:e}),t$1&&t$1.visible!==false&&(()=>{let{visible:c,...f}=t$1;return jsx(a$6,{...f})})(),o&&jsx("div",{className:"text-2xs flex flex-col gap-1.5 text-neutral-700",children:o.map(({Icon:c,text:f},h)=>jsxs("div",{className:"flex items-center gap-1.5",children:[jsx(c,{className:"size-3 shrink-0"}),jsx("span",{className:"font-inter",children:f})]},h))})]})]}),l&&jsx(Collapsible.Context,{children:({open:c})=>jsx(Collapsible.Trigger,{asChild:true,children:jsx(c$2,{Icon:c?s:t,size:"sm",variant:"standard"})})}),!l&&p&&jsx(c$2,{Icon:h,size:"sm",variant:"standard",onClick:p})]})});ni.displayName="TrackerItemHeader";var ri=forwardRef(({children:e,className:t,...o},n)=>jsx(Collapsible.Content,{className:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",children:jsx("div",{ref:n,className:a$2("border-t border-neutral-300 px-3 py-2",t),...o,children:e})}));ri.displayName="TrackerItemExpandableContent";var ii=forwardRef(({buttons:e=[],className:t,...o},n)=>jsx("div",{ref:n,className:a$2("flex justify-end gap-2 border-t border-neutral-300 px-3 py-2",t),...o,children:e.map((i,r)=>{if(i.visible===false)return null;let{visible:s,...a}=i;return "options"in a?jsx(po,{...a,size:"sm"},r):jsx(c,{...a,size:"sm"},r)})}));ii.displayName="TrackerItemFooter";var mo="overflow-hidden rounded-sm border border-neutral-300 bg-neutral-50",si=forwardRef(({state:e,stepNumber:t,expandable:o=false,defaultExpanded:n,onExpandedChange:i,onHeaderButtonClick:r,className:s,children:a,...l},p)=>{let c=useMemo(()=>({state:e,stepNumber:t,expandable:o,onHeaderButtonClick:r}),[e,t,o,r]),f=useCallback(h=>{i?.(h.open);},[i]);return jsx(uo.Provider,{value:c,children:jsx(oi,{state:e,children:o?jsx(Collapsible.Root,{ref:p,defaultOpen:n??false,onOpenChange:f,className:a$2(mo,s),...l,children:a}):jsx("div",{ref:p,className:a$2(mo,s),...l,children:a})})})});si.displayName="TrackerItem";var Oc=["sm","md","lg"],kc=["semibold","medium"],wc=["primary","neutral"],bi=tv({slots:{root:"group relative inline-flex cursor-pointer items-center justify-center overflow-clip border border-solid bg-transparent transition-colors outline-none",label:"font-inter relative overflow-hidden text-center leading-[0] text-ellipsis whitespace-nowrap",icon:"mr-1.5 shrink-0",chevron:"ml-1.5 shrink-0 transition-transform duration-150 group-data-[state=open]:rotate-180",trailing:"ml-2 flex shrink-0 items-center justify-center"},variants:{size:{lg:{root:"h-10 min-h-10 rounded-md px-2 py-2",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},md:{root:"h-8 min-h-8 rounded-md px-2 py-1",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},sm:{root:"h-6 max-h-6 rounded-sm px-2 py-1",label:"text-xs leading-[134%]",icon:"size-3",chevron:"size-3"}},weight:{semibold:{label:"font-semibold"},medium:{label:"font-medium"}},tone:{primary:{root:"border-primary-600 text-primary-600 hover:bg-primary-100 focus-visible:ring-primary-800 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 aria-[pressed=true]:text-primary-700 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 data-[state=open]:text-primary-700 focus-visible:ring-3 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-600 disabled:bg-transparent disabled:text-neutral-600"},neutral:{root:"hover:bg-primary-100 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 border-neutral-800 text-neutral-800 focus-visible:ring-3 focus-visible:ring-neutral-800 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-500 disabled:bg-transparent disabled:text-neutral-500"}},loading:{true:{root:"!cursor-wait !border-neutral-600 !text-neutral-600"},false:{}}},defaultVariants:{size:"lg",weight:"semibold",tone:"primary",loading:false}}),Hc=({className:e,label:t,badgeText:o="00",StartIcon:n,options:i,onSelect:r,isSelected:s=false,isLoading:a=false,isDisabled:l=false,hasTrailingBadge:p=false,size:c="lg",weight:f="semibold",tone:h="primary",type:d="button",...x})=>{let L=l||a,R=i.filter(({isHidden:T})=>!T),g$1=R.length>0,M=a,I=!!n&&!a,P=!a&&p,b=g$1&&!L,N=useCallback(T=>{r?.(T.value);},[r]),E=useCallback(T=>{T?.();},[]),{root:y,label:w,icon:S,chevron:q,trailing:D}=bi({size:c,weight:f,tone:h,loading:M}),C=c,m=jsxs(Fragment,{children:[M&&jsx(c$6,{size:"sm",variant:"black",className:S()}),I&&n&&jsx(n,{className:S()}),jsx("span",{className:w(),children:t}),P&&jsx(a$b,{type:"square",variant:"primary",size:C,text:o,className:D()}),b&&jsx(g,{className:q()})]});return g$1?jsxs(MenuRoot,{onSelect:N,lazyMount:true,positioning:{placement:"bottom-start",flip:["bottom-end"]},children:[jsx(MenuTrigger,{...x,type:d,disabled:L,"aria-pressed":s,className:y({className:e}),children:m}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:cn("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",Be),children:R.map(({label:T,description:H,startIcon:V,endIcon:K,hasDivider:B,isDisabled:te,onClick:O})=>jsx(MenuItem,{value:T,disabled:te,onSelect:()=>E(O),asChild:true,className:"flex items-center",children:jsx(pe,{title:T,description:H,startIcon:V,endIcon:K,disabled:te,hasDivider:B,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},T))})})})]}):jsx("button",{...x,type:d,disabled:L,"aria-pressed":s,className:y({className:e}),children:m})};var ho={en:Li,es:yi,pt:Ri},Ii={es:{clearPhoneNumberLabel:"Eliminar n\xFAmero de tel\xE9fono",noCountryFound:"No se encontraron resultados.",noCountryFoundSubtitle:"Ajusta los criterios e int\xE9ntalo nuevamente.",searchCountryPlaceholder:"Buscar..."},pt:{clearPhoneNumberLabel:"Limpar n\xFAmero de telefone",noCountryFound:"N\xE3o foram encontrados resultados.",noCountryFoundSubtitle:"Ajuste os crit\xE9rios e tente novamente.",searchCountryPlaceholder:"Pesquisar..."}},Ti={clearPhoneNumberLabel:"Clear phone number",noCountryFound:"No results were found.",noCountryFoundSubtitle:"Adjust the criteria and try again.",searchCountryPlaceholder:"Search..."},Ni=ho.en,go="9 1234 5678",mt="ZZ",xo=()=>{},Ve=e=>Ii[e]??Ti,Co=e=>ho[e]??Ni,vo=e=>{if(e)try{return parsePhoneNumber(e)?.country}catch{return}},Lo=e=>{if(e)return getExampleNumber(e,Ci)?.formatNational()},Ue=e=>e??mt,$e=()=>getDefaultOptions().locale?.code;var Oi=({Icon:e,callingCode:t,country:o,countryName:n,callingCodeClassName:i})=>jsxs("div",{className:"flex justify-center gap-2",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center",children:jsx(e,{"aria-hidden":true,country:o,label:n})}),t&&jsx("span",{className:a$2("text-sm leading-[143%] font-medium text-neutral-800",i),children:`+${t}`})]}),yo=({className:e,disabled:t,error:o,iconComponent:n,onChange:i,onOpenChange:r,options:s,readOnly:a,translations:l,value:p$1})=>{let c=F.useRef(null),[f,h]=F.useState(""),[d$1,x]=F.useState(false),{wrapper:L,input:R,clearIcon:g,searchIcon:M}=b$1({size:"md"}),{contains:I}=useFilter({sensitivity:"base"}),P=F.useMemo(()=>s.filter(m=>m.value!==void 0).map(m=>({callingCode:m.value?getCountryCallingCode(m.value):void 0,country:m.value,key:Ue(m.value),label:m.label})),[s]),b=F.useMemo(()=>P.find(m=>m.key===Ue(p$1)),[P,p$1]),{collection:N,filter:E,set:y}=useListCollection({initialItems:P,itemToString:m=>m.callingCode?`${m.label} +${m.callingCode}`:m.label,itemToValue:m=>m.key,filter:(m,T,H)=>{let V=T.trim().replace(/^\+/,"");return I(m,T)||(H.country?I(H.country,T.toUpperCase()):false)||(H.callingCode?I(H.callingCode,V)||I(`+${H.callingCode}`,T):false)}});F.useEffect(()=>{y(P);},[P,y]);let w=F.useCallback(m=>{x(m),r?.(m);},[r]),S=F.useCallback(({inputValue:m})=>{let T=m??"";h(T),E(T),c.current?.scrollTo({top:0});},[E]),q=F.useCallback(m=>{w(m),m&&(h(""),E(""));},[E,w]),D=F.useCallback(({itemValue:m})=>{i(m===mt?void 0:m),w(false);},[w,i]),C=useCombobox({collection:N,inputBehavior:"autohighlight",inputValue:f,open:d$1,openOnChange:false,openOnClick:false,selectionBehavior:"preserve",value:b?[b.key]:[],onInputValueChange:S,onOpenChange:({open:m})=>{m||w(false);},onSelect:D});return jsx(Combobox.RootProvider,{value:C,children:jsxs(a$8,{open:d$1,onOpenChange:q,children:[jsx(b$2,{asChild:true,children:jsx("button",{type:"button",className:a$2("relative flex h-full w-19.5 shrink-0 items-center justify-center rounded-l after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-full after:w-px after:content-['']",o?"bg-danger-20 after:bg-danger-500 after:w-0.5":t||a?"bg-neutral-200 after:bg-neutral-300":"group-focus-within/phone:after:bg-primary-800 bg-neutral-200 after:bg-neutral-600 group-focus-within/phone:after:w-0.5",!o&&d$1&&"after:bg-primary-800 after:w-0.5",e),disabled:t||a,children:b&&jsx(Oi,{Icon:n,callingCode:b.callingCode,country:b.country,countryName:b.label,callingCodeClassName:a$2(o?"text-danger-600":void 0,t&&"text-neutral-600",a&&"text-neutral-600")})})}),jsx(c$4,{portalled:false,className:"w-75 p-0",children:jsxs(Combobox.Content,{children:[jsxs(Combobox.Control,{className:"pb-0",children:[jsxs("div",{className:L({className:"m-1 mb-0"}),children:[jsx(Combobox.Input,{autoComplete:"off","data-1p-ignore":true,"data-lpignore":"true",placeholder:l.searchCountryPlaceholder,className:R()}),!t&&f.length>0&&jsx("button",{type:"button",className:g(),onClick:()=>{C.setInputValue("","clear-trigger");},children:jsx(d,{className:"size-4.5"})}),jsx(p,{className:M()})]}),jsx(a$1,{className:"mt-2"})]}),jsx(Combobox.List,{ref:c,className:"h-72 overflow-auto outline-none",children:N.items.length===0?jsxs("div",{className:"flex h-full flex-1 flex-col items-center justify-center text-center text-sm",children:[jsx("p",{className:"text-neutral-700",children:l.noCountryFound}),jsx("p",{className:"text-neutral-600",children:l.noCountryFoundSubtitle})]}):jsx(Combobox.ItemGroup,{children:N.items.map(m=>jsxs(Combobox.Item,{item:m,className:"data-highlighted:bg-primary-100 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-neutral-900 outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center",children:jsx(n,{"aria-hidden":true,country:m.country,label:m.label})}),jsx(Combobox.ItemText,{className:"min-w-0 flex-1 truncate text-sm leading-[143%] font-medium",children:m.label}),m.callingCode&&jsx("span",{className:"shrink-0 text-sm text-neutral-600",children:`+${m.callingCode}`}),jsx(j,{className:a$2("ml-auto size-4 shrink-0",m.key===Ue(p$1)?"opacity-100":"opacity-0")})]},m.key))})})]})})]})})};var Io=({className:e,country:t,countryName:o})=>{let n=ki[t];return jsx("span",{className:a$2("flex size-4.5 shrink-0 items-center justify-center overflow-hidden rounded-full border border-white [&_svg:not([class*='size-'])]:h-full [&_svg:not([class*='size-'])]:w-auto [&_svg:not([class*='size-'])]:max-w-none [&_svg:not([class*='size-'])]:shrink-0",e),children:n&&jsx(n,{title:o})})};var ut=F.forwardRef(({className:e,disabled:t,error:o,onChange:n,readOnly:i,type:r,value:s,...a},l)=>{let p=$e(),c=F.useMemo(()=>Ve(p),[p]),f=F.useRef(null),d$1=!t&&!i&&!!s,x=d$1||o;F.useImperativeHandle(l,()=>f.current,[]);let L=F.useCallback(g=>{g.preventDefault();},[]),R=F.useCallback(()=>{let g=f.current;if(!g){n?.({target:{value:""}});return}g.value="",n?.({target:g}),g.focus();},[n]);return jsxs("div",{className:a$2("relative flex h-full min-w-0 flex-1 rounded-r bg-neutral-50",t&&"bg-neutral-100"),children:[jsx("input",{type:r,"data-slot":"input",className:a$2("h-full min-w-0 flex-1 rounded-r bg-transparent px-3 text-sm leading-[143%] text-neutral-900 placeholder-neutral-600 focus-visible:outline-0",x&&!o&&"pr-10.5",d$1&&o&&"pr-14",o&&!d$1&&"pr-10.5",t&&"text-neutral-600",e),...a,disabled:t,readOnly:i,value:s,onChange:n,ref:f}),(d$1||o)&&jsxs("div",{className:"absolute inset-y-0 right-3 z-10 flex items-center gap-1",children:[d$1&&jsx("button",{type:"button","aria-label":c.clearPhoneNumberLabel,className:"flex items-center justify-center text-neutral-900",onMouseDown:L,onClick:R,children:jsx(d,{className:"size-4.5"})}),o&&jsx(q,{className:"text-danger-500 pointer-events-none size-4.5 shrink-0"})]})]})});ut.displayName="PhoneNumberInputComponent";var Hi=wi,No=F.forwardRef(({className:e,defaultCountry:t,disabled:o,error:n,helperText:i,id:r,label:s,onChange:a=xo,placeholder:l,readOnly:p,required:c,tooltip:f,value:h,...d},x)=>{let[L,R]=F.useState(false),[g,M]=F.useState(()=>vo(h)??t),I=F.useId(),P=r??I,b=$e(),N=F.useMemo(()=>Ve(b),[b]),E=F.useMemo(()=>Co(b),[b]),y=F.useMemo(()=>Lo(g)??l??go,[l,g]),w=a$2("relative flex h-10 rounded after:pointer-events-none after:absolute after:inset-0 after:z-10 after:rounded-[inherit] after:ring-1 after:content-[''] after:ring-inset",n?"after:ring-danger-500 after:ring-2":o||p?"after:ring-neutral-300":"focus-within:after:ring-primary-800 after:ring-neutral-600 focus-within:after:ring-2",!n&&!o&&!p&&L&&"after:ring-primary-800 after:ring-2",e),S=F.useCallback(q=>{M(q);},[]);return jsxs("div",{className:"group flex flex-col","data-disabled":o||void 0,"data-error":n||void 0,"data-readonly":p||void 0,children:[s&&jsx(a$7,{as:"label",htmlFor:P,label:s,required:c,tooltip:f}),jsx(Hi,{...d,className:w,ref:x,countrySelectComponent:yo,countrySelectProps:{error:n,onOpenChange:R,translations:N},defaultCountry:t,disabled:o,flagComponent:Io,id:P,initialValueFormat:"national",inputComponent:ut,labels:E,numberInputProps:{error:n,placeholder:y},readOnly:p,required:c,value:h,onChange:a,onCountryChange:S}),jsx("p",{className:"font-inter text-2xs group-data-[error=true]:text-error-500 mt-1 leading-[133.33%] font-normal text-neutral-700 group-data-disabled:text-neutral-400 empty:hidden",children:i})]})});No.displayName="PhoneInputNew";var Fi=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:n=false,className:i,isSelected:r,onClick:s,...a})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":a$2("hover:bg-primary-100 focus:bg-primary-200",!!s?"cursor-pointer":"cursor-default"),r&&"bg-primary-200",i),onClick:p=>{o||s?.(p);},...a,children:e}),n&&jsx(a$1,{})]}),Y=Fi;var nu=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,badgeContent:s,hasDivider:a=false,disabled:l=false,onSelect:p,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:l,onClick:p,hasDivider:a,className:a$2(!l&&"cursor-pointer",c),...f,children:[r&&F__default.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),jsxs("div",{className:"ml-4 flex gap-2",children:[s&&jsx(a$3,{content:s,size:"lg",variant:"alert",className:a$2("self-center",l&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});export{ts as a,nu as b,Ut as c,Rl as d,kl as e,$l as f,Je as g,et as h,de as i,it as j,st as k,Vr as l,ti as m,ni as n,ri as o,ii as p,si as q,Oc as r,kc as s,wc as t,Hc as u,No as v,pe as w,Za as x,Ja as y,po as z};
|
|
1
|
+
import {a as a$5}from'./chunk-LU2N5UJD.js';import {b as b$1}from'./chunk-IOQQ3DOG.js';import {c as c$6}from'./chunk-XPR5NR6A.js';import {a as a$8,b as b$2,c as c$4}from'./chunk-4RJVZ7FN.js';import {a as a$a}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-A2VW62QH.js';import {b}from'./chunk-JB6QLQCK.js';import {c as c$5}from'./chunk-JYNJHAGL.js';import {a as a$b}from'./chunk-SKMTTF6M.js';import {a as a$6}from'./chunk-UIZFLYFP.js';import {a as a$3}from'./chunk-R6NIURLZ.js';import {d as d$2}from'./chunk-MP4CHZ2K.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {d as d$1}from'./chunk-PK7E4VZY.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c}from'./chunk-55Z77FLU.js';import {c as c$3,a as a$9}from'./chunk-5EP3PIED.js';import {a}from'./chunk-FHABUQAH.js';import {a as a$7}from'./chunk-BJ5MXTGP.js';import {c as c$1,s,t,h,d,q,g,p,j}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import*as F from'react';import F__default,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as St from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';import {Collapsible}from'@ark-ui/react/collapsible';import {MenuRoot,MenuTrigger,MenuPositioner,MenuContent,MenuItem}from'@ark-ui/react/menu';import {Portal}from'@ark-ui/react/portal';import {tv,cn}from'tailwind-variants';import wi,{parsePhoneNumber,getCountryCallingCode}from'react-phone-number-input';import {useListCollection,useCombobox,Combobox}from'@ark-ui/react/combobox';import {useFilter}from'@ark-ui/react/locale';import {getDefaultOptions}from'date-fns';import {getExampleNumber}from'libphonenumber-js/mobile';import Ci from'libphonenumber-js/mobile/examples';import Li from'react-phone-number-input/locale/en.json';import yi from'react-phone-number-input/locale/es.json';import Ri from'react-phone-number-input/locale/pt.json';import ki from'react-phone-number-input/flags';var Oo=F__default.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:n,noResultsDescriptionLines:i,noResultsAsColumn:r,noResultsButtonOnClick:s,optionDescriptionLines:a$3,noResultsButtonLabel:l,filteredOptions:p,inputRect:c$1,inputRef:f,popoverPosition:h,optionsListRef:d,selectedOption:x,options:L,setFilteredOptions:R})=>jsx(St.Root,{asChild:true,children:jsxs("div",{ref:d,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:c$1?{width:`${c$1.width}px`,left:c$1.left,top:h==="bottom"?`${c$1.bottom}px`:void 0,bottom:h==="top"?`${window.innerHeight-c$1.top}px`:void 0}:void 0,children:[p.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:n,Icon:t,iconAsColumn:r,descriptionLines:i}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{d.current.style.display="none",f.current.value="",R(L),s();},children:l})]})]}),p.map(g=>jsx(pe,{title:g.label,disabled:g.disabled,description:g.description,descriptionLines:a$3,onClick:()=>e(g),className:a$2(x?.value===g.value&&"bg-primary-200")},g.key??g.value))]})})),Ft=Oo;var wo=336,ts=({options:e,defaultSelectedOption:t,onSelect:o,onClick:n,onInputChange:i,error:r,helperText:s,label:a,placeholder:l,value:p,size:c="md",optionDescriptionLines:f=1,noResultsLabel:h,noResultsIcon:d,noResultsDescription:x,noResultsDescriptionLines:L,noResultsAsColumn:R,noResultsButtonOnClick:g,noResultsButtonLabel:M,className:I,disabled:P})=>{let[b,N]=useState(t??null),E=useRef(null),y=useRef(null),[w,S]=useState(),[q,D]=useState([]),[C,m]=useState("bottom"),[T,H]=useState(),V=wo,K=useCallback(O=>{E.current.style.display="none",y.current.value=O.label,N(O),o?.(O);},[o]),B=useCallback(()=>{if(!y?.current)return;let O=y.current.getBoundingClientRect();S(O);let Q=T?T.height:V,j=window.innerHeight-O.bottom>Q,Pe=O.top>Q;m(j?"bottom":Pe?"top":"bottom");},[T?.height]),te=useCallback(()=>{let O=e.filter(Q=>Q.label.toLowerCase().includes(y?.current?.value.toLowerCase()??""));if(D(O),E?.current){let Q=E.current.getBoundingClientRect();H(Q);}},[e]);return useEffect(()=>{D(e);},[e]),useEffect(()=>{if(!p){N(null),y.current&&(y.current.value="");return}(!y.current?.value||b?.value!==p.value)&&(N(p),y.current.value=p.label);},[p]),a$a(E,()=>{E.current.style.display="none",b&&y.current&&(y.current.value=b.label);}),useEffect(()=>{if(y?.current)return B(),y.current.addEventListener("mousedown",B),y.current.addEventListener("input",te),window.addEventListener("scroll",B,true),window.addEventListener("resize",B),()=>{y.current?.removeEventListener("mousedown",B),y.current?.removeEventListener("input",te),window.removeEventListener("scroll",B,true),window.removeEventListener("resize",B);}},[B,te]),jsxs("div",{className:a$2("relative",I),children:[jsx(a$4,{ref:y,autoComplete:"off",list:"",selectMode:true,onChange:O=>{O.target.value||(N(null),o?.(null)),i?.(O);},onClean:()=>{N(null),D(e),o?.(null);},onClick:O=>{E.current.style.display="flex",n?.(O);},onBlur:()=>{b&&y.current&&(y.current.value=b.label);},label:a,helperText:s,placeholder:l,size:c,error:r,disabled:P}),jsx(Ft,{handleSelect:K,noResultsLabel:h,NoResultsIcon:d,optionDescriptionLines:f,noResultsAsColumn:R,noResultsButtonLabel:M,noResultsButtonOnClick:g,noResultsDescription:x,noResultsDescriptionLines:L,filteredOptions:q,inputRect:w,inputRef:y,popoverPosition:C,optionsListRef:E,selectedOption:b,options:e,setFilteredOptions:D})]})};var So=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,disabled:r=false,className:s,...a})=>jsxs("div",{className:a$2("flex w-full flex-col gap-1",s),...a,children:[jsx("p",{className:a$2("text-sm leading-[130%] break-all",!!n&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),n&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700"),style:i?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i}:void 0,children:n})]}),ie=So;var pe=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,endIcon:s,hasDivider:a=false,disabled:l=false,isSelected:p=false,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:l,hasDivider:a,className:c,isSelected:p,...f,children:[r&&F__default.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),s&&F__default.cloneElement(s,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});var Ut=({children:e,title:t,titleLines:o=1,description:n="",descriptionLines:i,startIcon:r,hasDivider:s=false,disabled:a=false,checked:l,onCheckedChange:p,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:a,hasDivider:s,...f,className:a$2("pr-6",c),children:[r&&F__default.cloneElement(r,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),jsx(b,{checked:l,onCheckedChange:p,className:"ml-4 self-center",disabled:a})]});var J=336,Wt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:J,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),Z=()=>{let e=useContext(Wt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},qt=({children:e})=>{let t=useRef(null),o=useRef(null),n=useId(),[i,r]=useState(),[s,a]=useState(true),[l,p]=useState([]),[c,f]=useState(-1),[h,d]=useState("bottom"),[x,L]=useState(),[R,g]=useState(J);return jsx(Wt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:n,inputRect:i,showChips:s,filteredOptions:l,currentFocus:c,popoverPosition:h,setFilteredOptions:p,setCurrentFocus:f,setShowChips:a,setPopoverPosition:d,setInputRect:r,optionsListHeight:R,optionsListRect:x,setOptionsListRect:L,setOptionsListHeight:g},children:e})};var Go=({option:e,onMountWidth:t,size:o})=>{let n=useRef(null);return useEffect(()=>{n.current&&t?.(n.current.clientWidth);},[]),jsx(d$1,{type:"fill",variant:"standard",ref:n,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},jt=Go;var Yo=150,Zo=F__default.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:n,size:i})=>{let{autocompleteId:r,inputRect:s,inputRef:a,optionsListRef:l}=Z(),p=F__default.useRef(null),[c,f]=F__default.useState(new Map),h=useMemo(()=>{if(!s?.width)return [];let x=0,L=s.width-Yo,R=0;for(let g=0;g<e.length&&(R+=c.get(g)??0,!(R>L));g++)x++;return e.slice(0,x)},[s?.width,e,c]),d=useCallback(()=>{n||(a?.current?.focus(),l.current.style.display="flex");},[n]);return jsxs("div",{onClick:d,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pr-12 pl-3",n&&"cursor-not-allowed"),style:{maxWidth:s?.width?s?.width:void 0,height:s?.height?s?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:p,children:h.map((x,L)=>jsx(jt,{option:x,onMountWidth:R=>f(g=>new Map(g).set(L,R)),size:i},`chip-input-${r}-${x.value}`))}),e.length>h.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:i}),t&&e.length>0&&jsx(c$1,{className:"text-error-700 h-6 w-6",onClick:x=>{x.stopPropagation(),o();}})]})}),Gt=Zo;var tn=F__default.memo(({option:e,index:t,onPressOption:o,isSelected:n,optionDescriptionLines:i})=>{let{currentFocus:r,inputRef:s}=Z();return jsx(Ut,{title:e.label,checked:n,disabled:e.disabled,className:r===t?"bg-primary-200":void 0,onMouseDown:a=>{e.disabled||(s?.current?.value&&a.preventDefault(),o?.(e,a));},description:e.description,descriptionLines:i})}),Qe=tn;var ln=F__default.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:n,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:s,noResultsButtonOnClick:a$2,optionDescriptionLines:l,noResultsButtonLabel:p})=>{let{popoverPosition:c$1,optionsListRef:f,filteredOptions:h,inputRect:d,autocompleteId:x,inputRef:L,optionsListHeight:R}=Z(),g=useCallback(I=>e.some(P=>P.value===I.value),[e]),M=useMemo(()=>e.filter(I=>I.label.toLowerCase().includes(L?.current?.value.toLowerCase()??"")),[e,L?.current?.value]);return jsx(St.Root,{asChild:true,children:jsxs("div",{ref:f,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:d?{width:`${d.width}px`,left:d.left,top:c$1==="bottom"?`${d.bottom}px`:void 0,bottom:c$1==="top"?`${window.innerHeight-d.top}px`:void 0,maxHeight:R+"px"}:void 0,children:[h.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:n,description:i,Icon:o,iconAsColumn:s,descriptionLines:r}),a$2&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{f.current.style.display="none",L.current.value="",a$2();},children:p})]})]}),M.map((I,P)=>jsx(Qe,{option:I,index:P,onPressOption:b=>t(b),isSelected:g(I),optionDescriptionLines:l},`autocomplete-option-${x}-${I.key??I.value}`)),h.map((I,P)=>!e.some(b=>b.value===I.value)&&jsx(Qe,{option:I,index:P,onPressOption:b=>t(b),isSelected:g(I),optionDescriptionLines:l},`autocomplete-option-${x}-${I.key??I.value}`))]})})}),Qt=ln;var pn=F__default.memo(({selectedOptions:e,onSelect:t,error:o,helperText:n,label:i,placeholder:r,options:s,onInputChange:a,size:l,disabled:p})=>{let{setCurrentFocus:c,setFilteredOptions:f,optionsListRef:h,inputRef:d}=Z();return jsx(a$4,{ref:d,autoComplete:"off",list:"",disabled:p,selectMode:true,onChange:x=>{c(-1),a?.(x.target.value);},onClean:()=>{c(-1),f(s),t?.(null,e);},onClick:()=>{p||(h.current.style.display="flex");},error:o,helperText:n,label:i,placeholder:r,fixedTopLabel:e.length>0,size:l})}),Xt=pn;var Yt=({options:e,defaultSelectedOptions:t,onSelect:o,error:n,helperText:i,label:r,placeholder:s,noResultsLabel:a,noResultsIcon:l,noResultsDescription:p,noResultsDescriptionLines:c,noResultsAsColumn:f,noResultsButtonOnClick:h,noResultsButtonLabel:d,className:x,onInputChange:L,value:R,loading:g,size:M="md",optionDescriptionLines:I=1,disabled:P})=>{let{inputRef:b,optionsListRef:N,setFilteredOptions:E,setShowChips:y,setInputRect:w,setPopoverPosition:S,setCurrentFocus:q,showChips:D,setOptionsListRect:C,optionsListRect:m,setOptionsListHeight:T}=Z(),H=useRef(false),[V,K]=useState(t??[]),B=useCallback(U=>{K(X=>{let oe,ge=X.findIndex(Eo=>Eo.value===U.value);return ge===-1?(oe=X.concat(U),o?.(U,oe),oe):(oe=X.toSpliced(ge,1),o?.(U,oe),oe)});},[o]),te=useCallback(()=>{K([]),E(e),o?.(null,[]);},[]),O=useCallback(()=>{y(false);},[]),Q=useCallback(()=>{y(true);},[]),j=useCallback(()=>{if(!b?.current)return;let U=b.current.getBoundingClientRect();w(U);let X=m?m.height>J?J:m.height:J,oe=window.innerHeight-U.bottom>X,ge=U.top>X;S(oe?"bottom":ge?"top":"bottom"),T(ge?J:window.innerHeight-U.bottom>J?J:window.innerHeight-U.bottom);},[m?.height]),Pe=useCallback(()=>{let U=e.filter(X=>X.label.toLowerCase().includes(b?.current?.value.toLowerCase()??""));if(E(U),N?.current){let X=N.current.getBoundingClientRect();C(X);}},[e,N?.current]);return useEffect(()=>{E(e);},[e]),a$a(N,()=>{N.current.style.display="none",q(-1);}),useEffect(()=>{if(b?.current)return j(),b.current.addEventListener("mousedown",j),b.current.addEventListener("input",Pe),b.current.addEventListener("focusin",O),b.current.addEventListener("focusout",Q),window.addEventListener("scroll",j,true),window.addEventListener("resize",j),()=>{b.current?.removeEventListener("mousedown",j),b.current?.removeEventListener("input",j),b.current?.removeEventListener("focusout",Q),b.current?.removeEventListener("focusin",O),window.removeEventListener("scroll",j,true),window.removeEventListener("resize",j);}},[j,Q,O,Pe]),useEffect(()=>{R&&(K(R),y(true));},[R]),useEffect(()=>{g||t&&t.length&&!H.current&&(K(t),H.current=true,y(true));},[t,g]),jsxs("div",{className:a$2("relative",x),children:[jsx(Xt,{selectedOptions:V,onSelect:o,error:n,helperText:i,label:r,placeholder:s,handleSelect:B,options:e,onInputChange:L,size:M,disabled:P}),D&&jsx(Gt,{selectedOptions:V,disabled:P,error:n,onCleanSelectedOptions:te,size:M}),jsx(Qt,{handleSelect:B,selectedOptions:V,noResultsLabel:a,NoResultsIcon:l,optionDescriptionLines:I,noResultsAsColumn:f,noResultsButtonLabel:d,noResultsButtonOnClick:h,noResultsDescription:p,noResultsDescriptionLines:c})]})};var Rl=e=>jsx(qt,{children:jsx(Yt,{...e})});var kl=({children:e,title:t,titleLines:o=1,description:n,descriptionLines:i=1,StartIcon:r,hasDivider:s=false,disabled:a=false,actionButton:l,isSelected:p=false,className:c$1,...f})=>jsxs(Y,{hasDescription:!!n,disabled:a,hasDivider:s,isSelected:p,...f,className:c$1,children:[r&&jsx(r,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),l&&jsx(Fragment,{children:l.isIcon?jsx(c$2,{...l,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:a??l.disabled}):jsx(c,{...l,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:a??l.disabled})})]});var $l=({title:e,description:t="",descriptionLines:o,hasDivider:n=false,disabled:i=false,checked:r,onCheckedChange:s,className:a,chipStatus:l,chipExpandable:p,...c})=>jsxs(Y,{hasDescription:!!t,disabled:i,hasDivider:n,...c,className:a$2("pr-6",a),children:[jsx(b,{checked:r,onCheckedChange:s,className:"mr-4 self-center",disabled:i}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),p&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$5,{...p})}),l&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$2,{...l,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",i?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Je={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},et={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var tt=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var ot=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var Ln={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},yn={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},Rn=()=>typeof window<"u"&&typeof window.DOMParser<"u",Jt=e=>Rn()?new DOMParser().parseFromString(e,"text/html"):null,In=e=>(e??"").replace(/\s+/g," ").trim(),rt=e=>{let t=0;for(let o of Array.from(e.classList)){let n=o.match(/^ql-indent-(\d+)$/);if(!n)continue;let i=Number.parseInt(n[1],10);Number.isFinite(i)&&(t=Math.max(t,i)),e.classList.remove(o);}return t},Tn=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let n of Array.from(o.classList)){let i=Ln[n];i&&(i!=="left"&&(o.style.textAlign=i),o.classList.remove(n));}},Nn=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let n=rt(o);n>0&&(o.style.paddingInlineStart=`${n*3}em`);}},Pn=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},Mn=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),rt(t),t},nt=(e,t)=>e.createElement(t),En=(e,t)=>{let o=Array.from(e.children).filter(l=>l.tagName==="LI");if(o.length===0||!o.some(l=>l.hasAttribute("data-list")?true:Array.from(l.classList).some(p=>/^ql-indent-\d+$/.test(p))))return;let i=[],r=[],s=e.tagName==="UL"?"ul":"ol";for(let l of o){let p=rt(l),c=Pn(l,s),f=Mn(l);for(;r.length>0&&r[r.length-1].level>p;)r.pop();if(r.length===0){let d=nt(t,c);i.push(d),r.push({level:0,kind:c,listElement:d});}let h=r[r.length-1];for(;h.level<p;){let d=h.listElement.lastElementChild;if(!d||d.tagName!=="LI")break;let x=nt(t,c);d.appendChild(x),h={level:h.level+1,kind:c,listElement:x},r.push(h);}if(h=r[r.length-1],h.kind!==c){let d=nt(t,c);if(r.length===1)i.push(d),r[0]={level:0,kind:c,listElement:d};else {let L=r[r.length-2].listElement.lastElementChild;L&&L.tagName==="LI"?(L.appendChild(d),r[r.length-1]={level:h.level,kind:c,listElement:d}):(i.push(d),r.length=1,r[0]={level:0,kind:c,listElement:d});}h=r[r.length-1];}h.listElement.appendChild(f);}if(i.length===0)return;let a=t.createDocumentFragment();for(let l of i)a.appendChild(l);e.replaceWith(a);},An=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let n of o)En(n,t);},eo=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",n=Array.from(e.children).filter(i=>i.tagName==="LI");for(let i of n){i.setAttribute("data-list",o);for(let s of Array.from(i.classList))/^ql-indent-\d+$/.test(s)&&i.classList.remove(s);t>0&&i.classList.add(`ql-indent-${t}`);let r=Array.from(i.children).filter(s=>s.tagName==="UL"||s.tagName==="OL");for(let s of r)eo(s,t+1);}},On=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let n=o;for(let s of Array.from(n.classList))s.startsWith("ql-align-")&&n.classList.remove(s);let i=n.style.textAlign.trim().toLowerCase(),r=yn[i];r&&n.classList.add(r);}},de=e=>In(e).replace(/>\s+</g,"><").replace(/ /g," "),it=e=>{let t=e??"";if(!t.trim())return "";let o=Jt(t);if(!o)return t;let{body:n}=o;return Tn(n),Nn(n),An(n,o),n.innerHTML},st=e=>{if(!e.trim())return "";let t=Jt(e);if(!t)return e;let{body:o}=t,n=Array.from(o.querySelectorAll("ul, ol"));for(let i of n)eo(i,0);return On(o),o.innerHTML};var De=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),st(t)},zn=(e,t)=>{let o=it(t);e.update(()=>{let n=$getRoot();if(n.clear(),!o.trim()){n.append($createParagraphNode());return}let r=new DOMParser().parseFromString(o,"text/html"),s=$generateNodesFromDOM(e,r);if(s.length===0){n.append($createParagraphNode());return}n.select(),$insertNodes(s);});},lt=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),n=useRef(null);return useEffect(()=>{let i=e??"";if(n.current!==null&&de(i)===de(n.current))return;let r=De(o);de(r)!==de(i)&&(t.current=true,zn(o,i),queueMicrotask(()=>{t.current=false;})),n.current=i;},[o,t,e]),null};var oo=["left","center","right","justify"];var no=["bold","italic","underline","strikethrough","code"];var Lr={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},yr={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},Rr={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},Re={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},Ie={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Ir=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?no.filter(o=>t.includes(o)):["bold","italic","underline"]},Tr=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?oo.filter(o=>t.includes(o)):["left","center","right","justify"]},Nr=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},Te=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),$=({label:e,onClick:t,icon:o,active:n=false,disabled:i=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:i,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",n&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),pt=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),n=useId(),[i,r]=useState(false),[s,a]=useState(false),[l,p]=useState(false),[c,f]=useState(false),[h,d]=useState(false),[x,L]=useState(false),[R,g]=useState(false),[M,I]=useState("paragraph"),[P,b]=useState("left"),N=useMemo(()=>Ir(e),[e]),E=useMemo(()=>Tr(e),[e]),y=useMemo(()=>Nr(e),[e]),w=useCallback(()=>{let C=$getSelection();if(!$isRangeSelection(C))return;p(C.hasFormat("bold")),f(C.hasFormat("italic")),d(C.hasFormat("underline")),L(C.hasFormat("strikethrough")),g(C.hasFormat("code"));let m=C.anchor.getNode(),T=m.getKey()==="root"?m:m.getTopLevelElementOrThrow();if($isListNode(T))I(T.getListType()==="number"?"ol":"ul");else {let V=$findMatchingParent(T,K=>$isListNode(K));$isListNode(V)?I(V.getListType()==="number"?"ol":"ul"):I($isHeadingNode(T)?T.getTag():T.getType());}let H=$isElementNode(T)?T.getFormatType():"";b(H==="center"||H==="right"||H==="justify"?H:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:C})=>{C.read(()=>{w();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(w(),false),1),o.registerCommand(CAN_UNDO_COMMAND,C=>(r(C),false),1),o.registerCommand(CAN_REDO_COMMAND,C=>(a(C),false),1)),[o,w]);let S=C=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,Lr[C]);},q=C=>{o.update(()=>{let m=$getSelection();if($isRangeSelection(m)){if(C==="paragraph"){$setBlocksType(m,()=>$createParagraphNode());return}$setBlocksType(m,()=>$createHeadingNode(C));}});},D=C=>{if(M===(C==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(C==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx($,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!i,icon:jsx(UndoIcon,{className:"size-4"})}),jsx($,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!s,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(Te,{})]}),y.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:n,children:"Text style"}),jsx("select",{id:n,value:M.startsWith("h")?M:"paragraph",onChange:C=>q(C.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:y.map(C=>jsx("option",{value:C.value,children:C.label},C.value))}),jsx(Te,{})]}),N.length>0&&jsxs(Fragment,{children:[N.includes("bold")&&jsx($,{label:Ie.bold,onClick:()=>S("bold"),icon:Re.bold,active:l}),N.includes("italic")&&jsx($,{label:Ie.italic,onClick:()=>S("italic"),icon:Re.italic,active:c}),N.includes("underline")&&jsx($,{label:Ie.underline,onClick:()=>S("underline"),icon:Re.underline,active:h}),N.includes("strikethrough")&&jsx($,{label:Ie.strikethrough,onClick:()=>S("strikethrough"),icon:Re.strikethrough,active:x}),N.includes("code")&&jsx($,{label:Ie.code,onClick:()=>S("code"),icon:Re.code,active:R}),jsx(Te,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx($,{label:"Bulleted list",onClick:()=>D("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:M==="ul"}),jsx($,{label:"Numbered list",onClick:()=>D("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:M==="ol"}),jsx(Te,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx($,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx($,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(Te,{})]}),E.length>0&&jsx(Fragment,{children:E.map(C=>jsx($,{label:Rr[C],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,C),icon:yr[C],active:P===C},C))})]})};var lo=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},Vr=forwardRef(({value:e,onChange:t,onBlur:o,onError:n,placeholder:i="Write your content...",readOnly:r=false,showToolbar:s=true,toolbarConfig:a=et,className:l,editorClassName:p,toolbarClassName:c,autoFocus:f=false,minHeight:h=160,maxHeight:d,error:x=false,errorMessage:L,editorRef:R},g)=>{let M=useRef(false),I=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Je,onError:(b,N)=>{if(n){n(b,N);return}console.error("RichTextEditor error",b);},nodes:[HeadingNode,ListNode,ListItemNode]}),[n]),P={minHeight:lo(h),maxHeight:lo(d),overflowY:d?"auto":void 0};return jsx(LexicalComposer,{initialConfig:I,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:g,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",x?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",r&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",l),"data-error":x,"data-readonly":r,children:[s&&!r&&jsx(pt,{config:a,className:c}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_li]:my-1 [&_ol]:my-2 [&_ul]:my-2","[&_a]:text-primary-700 [&_a]:underline",r&&"cursor-default",p),style:P,onBlur:o,"aria-invalid":x}),placeholder:r?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:i}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(tt,{readOnly:r}),jsx(lt,{value:e,isSyncingRef:M}),f&&!r&&jsx(AutoFocusPlugin,{}),R&&jsx(ot,{editorRef:R}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(b,N)=>{!t||M.current||t(De(N),b);}})]}),x&&L&&jsx("p",{className:"text-error-500 mt-1 text-xs leading-[133%]",children:L})]})})});Vr.displayName="RichTextEditor";var Be="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:duration-150 data-[state=closed]:duration-100 data-[state=open]:ease-out data-[state=closed]:ease-in data-[state=open]:data-[side=bottom]:slide-in-from-top-1 data-[state=closed]:data-[side=bottom]:slide-out-to-top-1 data-[state=open]:data-[side=top]:slide-in-from-bottom-1 data-[state=closed]:data-[side=top]:slide-out-to-bottom-1 data-[state=open]:data-[side=left]:slide-in-from-right-1 data-[state=closed]:data-[side=left]:slide-out-to-right-1 data-[state=open]:data-[side=right]:slide-in-from-left-1 data-[state=closed]:data-[side=right]:slide-out-to-left-1 motion-reduce:data-[state=open]:animate-none motion-reduce:data-[state=closed]:animate-none";var Za=["sm","md","lg"],Ja=a$9,Qr={lg:"h-10 gap-2 px-4 text-sm leading-[142%] rounded-md",md:"h-8 gap-1 px-3 text-sm leading-[142%] rounded-md",sm:"h-6 gap-1 px-3 text-xs leading-[142%] rounded-sm"},Xr={lg:"size-4.5",md:"size-3.5",sm:"size-3"},po=({label:e,options:t,onSelect:o,variant:n="contained",size:i="md",disabled:r=false,className:s,...a})=>{let l=useCallback(c=>{o?.(c.value);},[o]),{root:p}=c$3({variant:n,disabled:r});return jsxs(MenuRoot,{unmountOnExit:true,lazyMount:true,onSelect:l,positioning:{placement:"bottom-start",flip:["bottom-end"]},...a,children:[jsxs(MenuTrigger,{disabled:r,className:a$2(p(),"group data-[state=open]:ring-primary-800 ease-linear outline-none data-[state=open]:ring-3 data-[state=open]:ring-inset",Qr[i],s),children:[e,jsx(g,{className:a$2(Xr[i],"transition-transform duration-150 group-data-[state=open]:rotate-180")})]}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:a$2("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",Be),children:t.map(({label:c,value:f,description:h,startIcon:d,endIcon:x,hasDivider:L,disabled:R,onClick:g})=>jsx(MenuItem,{value:f,disabled:R,onSelect:g,asChild:true,children:jsx(pe,{title:c,description:h,startIcon:d,endIcon:x,disabled:R,hasDivider:L,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},f))})})})]})};var uo=createContext(null),ti=()=>{let e=useContext(uo);if(!e)throw new Error("TrackerItem components must be used within TrackerItem");return e},oi=({state:e,children:t})=>jsxs("div",{className:"relative",children:[jsx("div",{className:a$2("absolute top-1/2 z-10 h-[70%] w-0.5 -translate-y-1/2 rounded-sm",e==="active"&&"bg-primary-400",e==="success"&&"bg-success-500",e==="wait"&&"bg-neutral-400")}),t]}),ni=forwardRef(({label:e,badgeStatus:t$1,details:o,className:n,...i},r)=>{let{state:s$1,stepNumber:a,expandable:l,onHeaderButtonClick:p}=ti();return jsxs("div",{ref:r,className:a$2("flex min-h-10 items-center gap-3 py-2 pr-1 pl-3",n),...i,children:[jsxs("div",{className:a$2("flex flex-1 gap-2",!t$1&&(!o||o.length===0)&&"self-center"),children:[jsx(a$5,{state:s$1,stepNumber:a}),jsxs("div",{className:"mt-0.5 flex min-w-0 flex-1 flex-col gap-1",children:[jsx("span",{className:a$2("font-jakarta text-xs leading-snug font-medium",s$1==="wait"?"text-neutral-500":"text-neutral-900"),children:e}),t$1&&t$1.visible!==false&&(()=>{let{visible:c,...f}=t$1;return jsx(a$6,{...f})})(),o&&jsx("div",{className:"text-2xs flex flex-col gap-1.5 text-neutral-700",children:o.map(({Icon:c,text:f},h)=>jsxs("div",{className:"flex items-center gap-1.5",children:[jsx(c,{className:"size-3 shrink-0"}),jsx("span",{className:"font-inter",children:f})]},h))})]})]}),l&&jsx(Collapsible.Context,{children:({open:c})=>jsx(Collapsible.Trigger,{asChild:true,children:jsx(c$2,{Icon:c?s:t,size:"sm",variant:"standard"})})}),!l&&p&&jsx(c$2,{Icon:h,size:"sm",variant:"standard",onClick:p})]})});ni.displayName="TrackerItemHeader";var ri=forwardRef(({children:e,className:t,...o},n)=>jsx(Collapsible.Content,{className:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",children:jsx("div",{ref:n,className:a$2("border-t border-neutral-300 px-3 py-2",t),...o,children:e})}));ri.displayName="TrackerItemExpandableContent";var ii=forwardRef(({buttons:e=[],className:t,...o},n)=>jsx("div",{ref:n,className:a$2("flex justify-end gap-2 border-t border-neutral-300 px-3 py-2",t),...o,children:e.map((i,r)=>{if(i.visible===false)return null;let{visible:s,...a}=i;return "options"in a?jsx(po,{...a,size:"sm"},r):jsx(c,{...a,size:"sm"},r)})}));ii.displayName="TrackerItemFooter";var mo="overflow-hidden rounded-sm border border-neutral-300 bg-neutral-50",si=forwardRef(({state:e,stepNumber:t,expandable:o=false,defaultExpanded:n,onExpandedChange:i,onHeaderButtonClick:r,className:s,children:a,...l},p)=>{let c=useMemo(()=>({state:e,stepNumber:t,expandable:o,onHeaderButtonClick:r}),[e,t,o,r]),f=useCallback(h=>{i?.(h.open);},[i]);return jsx(uo.Provider,{value:c,children:jsx(oi,{state:e,children:o?jsx(Collapsible.Root,{ref:p,defaultOpen:n??false,onOpenChange:f,className:a$2(mo,s),...l,children:a}):jsx("div",{ref:p,className:a$2(mo,s),...l,children:a})})})});si.displayName="TrackerItem";var Oc=["sm","md","lg"],kc=["semibold","medium"],wc=["primary","neutral"],bi=tv({slots:{root:"group relative inline-flex cursor-pointer items-center justify-center overflow-clip border border-solid bg-transparent transition-colors outline-none",label:"font-inter relative overflow-hidden text-center leading-[0] text-ellipsis whitespace-nowrap",icon:"mr-1.5 shrink-0",chevron:"ml-1.5 shrink-0 transition-transform duration-150 group-data-[state=open]:rotate-180",trailing:"ml-2 flex shrink-0 items-center justify-center"},variants:{size:{lg:{root:"h-10 min-h-10 rounded-md px-2 py-2",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},md:{root:"h-8 min-h-8 rounded-md px-2 py-1",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},sm:{root:"h-6 max-h-6 rounded-sm px-2 py-1",label:"text-xs leading-[134%]",icon:"size-3",chevron:"size-3"}},weight:{semibold:{label:"font-semibold"},medium:{label:"font-medium"}},tone:{primary:{root:"border-primary-600 text-primary-600 hover:bg-primary-100 focus-visible:ring-primary-800 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 aria-[pressed=true]:text-primary-700 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 data-[state=open]:text-primary-700 focus-visible:ring-3 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-600 disabled:bg-transparent disabled:text-neutral-600"},neutral:{root:"hover:bg-primary-100 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 border-neutral-800 text-neutral-800 focus-visible:ring-3 focus-visible:ring-neutral-800 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-500 disabled:bg-transparent disabled:text-neutral-500"}},loading:{true:{root:"!cursor-wait !border-neutral-600 !text-neutral-600"},false:{}}},defaultVariants:{size:"lg",weight:"semibold",tone:"primary",loading:false}}),Hc=({className:e,label:t,badgeText:o="00",StartIcon:n,options:i,onSelect:r,isSelected:s=false,isLoading:a=false,isDisabled:l=false,hasTrailingBadge:p=false,size:c="lg",weight:f="semibold",tone:h="primary",type:d="button",...x})=>{let L=l||a,R=i.filter(({isHidden:T})=>!T),g$1=R.length>0,M=a,I=!!n&&!a,P=!a&&p,b=g$1&&!L,N=useCallback(T=>{r?.(T.value);},[r]),E=useCallback(T=>{T?.();},[]),{root:y,label:w,icon:S,chevron:q,trailing:D}=bi({size:c,weight:f,tone:h,loading:M}),C=c,m=jsxs(Fragment,{children:[M&&jsx(c$6,{size:"sm",variant:"black",className:S()}),I&&n&&jsx(n,{className:S()}),jsx("span",{className:w(),children:t}),P&&jsx(a$b,{type:"square",variant:"primary",size:C,text:o,className:D()}),b&&jsx(g,{className:q()})]});return g$1?jsxs(MenuRoot,{onSelect:N,lazyMount:true,positioning:{placement:"bottom-start",flip:["bottom-end"]},children:[jsx(MenuTrigger,{...x,type:d,disabled:L,"aria-pressed":s,className:y({className:e}),children:m}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:cn("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",Be),children:R.map(({label:T,description:H,startIcon:V,endIcon:K,hasDivider:B,isDisabled:te,onClick:O})=>jsx(MenuItem,{value:T,disabled:te,onSelect:()=>E(O),asChild:true,className:"flex items-center",children:jsx(pe,{title:T,description:H,startIcon:V,endIcon:K,disabled:te,hasDivider:B,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},T))})})})]}):jsx("button",{...x,type:d,disabled:L,"aria-pressed":s,className:y({className:e}),children:m})};var ho={en:Li,es:yi,pt:Ri},Ii={es:{clearPhoneNumberLabel:"Eliminar n\xFAmero de tel\xE9fono",noCountryFound:"No se encontraron resultados.",noCountryFoundSubtitle:"Ajusta los criterios e int\xE9ntalo nuevamente.",searchCountryPlaceholder:"Buscar..."},pt:{clearPhoneNumberLabel:"Limpar n\xFAmero de telefone",noCountryFound:"N\xE3o foram encontrados resultados.",noCountryFoundSubtitle:"Ajuste os crit\xE9rios e tente novamente.",searchCountryPlaceholder:"Pesquisar..."}},Ti={clearPhoneNumberLabel:"Clear phone number",noCountryFound:"No results were found.",noCountryFoundSubtitle:"Adjust the criteria and try again.",searchCountryPlaceholder:"Search..."},Ni=ho.en,go="9 1234 5678",mt="ZZ",xo=()=>{},Ve=e=>Ii[e]??Ti,Co=e=>ho[e]??Ni,vo=e=>{if(e)try{return parsePhoneNumber(e)?.country}catch{return}},Lo=e=>{if(e)return getExampleNumber(e,Ci)?.formatNational()},Ue=e=>e??mt,$e=()=>getDefaultOptions().locale?.code;var Oi=({Icon:e,callingCode:t,country:o,countryName:n,callingCodeClassName:i})=>jsxs("div",{className:"flex justify-center gap-2",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center",children:jsx(e,{"aria-hidden":true,country:o,label:n})}),t&&jsx("span",{className:a$2("text-sm leading-[143%] font-medium text-neutral-800",i),children:`+${t}`})]}),yo=({className:e,disabled:t,error:o,iconComponent:n,onChange:i,onOpenChange:r,options:s,readOnly:a,translations:l,value:p$1})=>{let c=F.useRef(null),[f,h]=F.useState(""),[d$1,x]=F.useState(false),{wrapper:L,input:R,clearIcon:g,searchIcon:M}=b$1({size:"md"}),{contains:I}=useFilter({sensitivity:"base"}),P=F.useMemo(()=>s.filter(m=>m.value!==void 0).map(m=>({callingCode:m.value?getCountryCallingCode(m.value):void 0,country:m.value,key:Ue(m.value),label:m.label})),[s]),b=F.useMemo(()=>P.find(m=>m.key===Ue(p$1)),[P,p$1]),{collection:N,filter:E,set:y}=useListCollection({initialItems:P,itemToString:m=>m.callingCode?`${m.label} +${m.callingCode}`:m.label,itemToValue:m=>m.key,filter:(m,T,H)=>{let V=T.trim().replace(/^\+/,"");return I(m,T)||(H.country?I(H.country,T.toUpperCase()):false)||(H.callingCode?I(H.callingCode,V)||I(`+${H.callingCode}`,T):false)}});F.useEffect(()=>{y(P);},[P,y]);let w=F.useCallback(m=>{x(m),r?.(m);},[r]),S=F.useCallback(({inputValue:m})=>{let T=m??"";h(T),E(T),c.current?.scrollTo({top:0});},[E]),q=F.useCallback(m=>{w(m),m&&(h(""),E(""));},[E,w]),D=F.useCallback(({itemValue:m})=>{i(m===mt?void 0:m),w(false);},[w,i]),C=useCombobox({collection:N,inputBehavior:"autohighlight",inputValue:f,open:d$1,openOnChange:false,openOnClick:false,selectionBehavior:"preserve",value:b?[b.key]:[],onInputValueChange:S,onOpenChange:({open:m})=>{m||w(false);},onSelect:D});return jsx(Combobox.RootProvider,{value:C,children:jsxs(a$8,{open:d$1,onOpenChange:q,children:[jsx(b$2,{asChild:true,children:jsx("button",{type:"button",className:a$2("relative flex h-full w-19.5 shrink-0 items-center justify-center rounded-l after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-full after:w-px after:content-['']",o?"bg-danger-20 after:bg-danger-500 after:w-0.5":t||a?"bg-neutral-200 after:bg-neutral-300":"group-focus-within/phone:after:bg-primary-800 bg-neutral-200 after:bg-neutral-600 group-focus-within/phone:after:w-0.5",!o&&d$1&&"after:bg-primary-800 after:w-0.5",e),disabled:t||a,children:b&&jsx(Oi,{Icon:n,callingCode:b.callingCode,country:b.country,countryName:b.label,callingCodeClassName:a$2(o?"text-danger-600":void 0,t&&"text-neutral-600",a&&"text-neutral-600")})})}),jsx(c$4,{portalled:false,className:"w-75 p-0",children:jsxs(Combobox.Content,{children:[jsxs(Combobox.Control,{className:"pb-0",children:[jsxs("div",{className:L({className:"m-1 mb-0"}),children:[jsx(Combobox.Input,{autoComplete:"off","data-1p-ignore":true,"data-lpignore":"true",placeholder:l.searchCountryPlaceholder,className:R()}),!t&&f.length>0&&jsx("button",{type:"button",className:g(),onClick:()=>{C.setInputValue("","clear-trigger");},children:jsx(d,{className:"size-4.5"})}),jsx(p,{className:M()})]}),jsx(a$1,{className:"mt-2"})]}),jsx(Combobox.List,{ref:c,className:"h-72 overflow-auto outline-none",children:N.items.length===0?jsxs("div",{className:"flex h-full flex-1 flex-col items-center justify-center text-center text-sm",children:[jsx("p",{className:"text-neutral-700",children:l.noCountryFound}),jsx("p",{className:"text-neutral-600",children:l.noCountryFoundSubtitle})]}):jsx(Combobox.ItemGroup,{children:N.items.map(m=>jsxs(Combobox.Item,{item:m,className:"data-highlighted:bg-primary-100 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-neutral-900 outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center",children:jsx(n,{"aria-hidden":true,country:m.country,label:m.label})}),jsx(Combobox.ItemText,{className:"min-w-0 flex-1 truncate text-sm leading-[143%] font-medium",children:m.label}),m.callingCode&&jsx("span",{className:"shrink-0 text-sm text-neutral-600",children:`+${m.callingCode}`}),jsx(j,{className:a$2("ml-auto size-4 shrink-0",m.key===Ue(p$1)?"opacity-100":"opacity-0")})]},m.key))})})]})})]})})};var Io=({className:e,country:t,countryName:o})=>{let n=ki[t];return jsx("span",{className:a$2("flex size-4.5 shrink-0 items-center justify-center overflow-hidden rounded-full border border-white [&_svg:not([class*='size-'])]:h-full [&_svg:not([class*='size-'])]:w-auto [&_svg:not([class*='size-'])]:max-w-none [&_svg:not([class*='size-'])]:shrink-0",e),children:n&&jsx(n,{title:o})})};var ut=F.forwardRef(({className:e,disabled:t,error:o,onChange:n,readOnly:i,type:r,value:s,...a},l)=>{let p=$e(),c=F.useMemo(()=>Ve(p),[p]),f=F.useRef(null),d$1=!t&&!i&&!!s,x=d$1||o;F.useImperativeHandle(l,()=>f.current,[]);let L=F.useCallback(g=>{g.preventDefault();},[]),R=F.useCallback(()=>{let g=f.current;if(!g){n?.({target:{value:""}});return}g.value="",n?.({target:g}),g.focus();},[n]);return jsxs("div",{className:a$2("relative flex h-full min-w-0 flex-1 rounded-r bg-neutral-50",t&&"bg-neutral-100"),children:[jsx("input",{type:r,"data-slot":"input",className:a$2("h-full min-w-0 flex-1 rounded-r bg-transparent px-3 text-sm leading-[143%] text-neutral-900 placeholder-neutral-600 focus-visible:outline-0",x&&!o&&"pr-10.5",d$1&&o&&"pr-14",o&&!d$1&&"pr-10.5",t&&"text-neutral-600",e),...a,disabled:t,readOnly:i,value:s,onChange:n,ref:f}),(d$1||o)&&jsxs("div",{className:"absolute inset-y-0 right-3 z-10 flex items-center gap-1",children:[d$1&&jsx("button",{type:"button","aria-label":c.clearPhoneNumberLabel,className:"flex items-center justify-center text-neutral-900",onMouseDown:L,onClick:R,children:jsx(d,{className:"size-4.5"})}),o&&jsx(q,{className:"text-danger-500 pointer-events-none size-4.5 shrink-0"})]})]})});ut.displayName="PhoneNumberInputComponent";var Hi=wi,No=F.forwardRef(({className:e,defaultCountry:t,disabled:o,error:n,helperText:i,id:r,label:s,onChange:a=xo,placeholder:l,readOnly:p,required:c,tooltip:f,value:h,...d},x)=>{let[L,R]=F.useState(false),[g,M]=F.useState(()=>vo(h)??t),I=F.useId(),P=r??I,b=$e(),N=F.useMemo(()=>Ve(b),[b]),E=F.useMemo(()=>Co(b),[b]),y=F.useMemo(()=>Lo(g)??l??go,[l,g]),w=a$2("relative flex h-10 rounded after:pointer-events-none after:absolute after:inset-0 after:z-10 after:rounded-[inherit] after:ring-1 after:content-[''] after:ring-inset",n?"after:ring-danger-500 after:ring-2":o||p?"after:ring-neutral-300":"focus-within:after:ring-primary-800 after:ring-neutral-600 focus-within:after:ring-2",!n&&!o&&!p&&L&&"after:ring-primary-800 after:ring-2",e),S=F.useCallback(q=>{M(q);},[]);return jsxs("div",{className:"group flex flex-col","data-disabled":o||void 0,"data-error":n||void 0,"data-readonly":p||void 0,children:[s&&jsx(a$7,{as:"label",htmlFor:P,label:s,required:c,tooltip:f}),jsx(Hi,{...d,className:w,ref:x,countrySelectComponent:yo,countrySelectProps:{error:n,onOpenChange:R,translations:N},defaultCountry:t,disabled:o,flagComponent:Io,id:P,initialValueFormat:"national",inputComponent:ut,labels:E,numberInputProps:{error:n,placeholder:y},readOnly:p,required:c,value:h,onChange:a,onCountryChange:S}),jsx("p",{className:"font-inter text-2xs group-data-[error=true]:text-error-500 mt-1 leading-[133.33%] font-normal text-neutral-700 group-data-disabled:text-neutral-400 empty:hidden",children:i})]})});No.displayName="PhoneInputNew";var Fi=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:n=false,className:i,isSelected:r,onClick:s,...a})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":a$2("hover:bg-primary-100 focus:bg-primary-200",!!s?"cursor-pointer":"cursor-default"),r&&"bg-primary-200",i),onClick:p=>{o||s?.(p);},...a,children:e}),n&&jsx(a$1,{})]}),Y=Fi;var nu=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,badgeContent:s,hasDivider:a=false,disabled:l=false,onSelect:p,className:c,...f})=>jsxs(Y,{hasDescription:!!n,disabled:l,onClick:p,hasDivider:a,className:a$2(!l&&"cursor-pointer",c),...f,children:[r&&F__default.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ie,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),jsxs("div",{className:"ml-4 flex gap-2",children:[s&&jsx(a$3,{content:s,size:"lg",variant:"alert",className:a$2("self-center",l&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});export{ts as a,nu as b,Ut as c,Rl as d,kl as e,$l as f,Je as g,et as h,de as i,it as j,st as k,Vr as l,ti as m,ni as n,ri as o,ii as p,si as q,Oc as r,kc as s,wc as t,Hc as u,No as v,pe as w,Za as x,Ja as y,po as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-JYNJHAGL.js';import {
|
|
1
|
+
import {b}from'./chunk-JB6QLQCK.js';import {c as c$1}from'./chunk-JYNJHAGL.js';import {d}from'./chunk-MP4CHZ2K.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c as c$3}from'./chunk-55Z77FLU.js';import {a as a$2}from'./chunk-JW7HS6NX.js';import {a as a$1}from'./chunk-CM6ALMTT.js';import {e,s,t}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {useCallback}from'react';import {tv}from'tailwind-variants';import {useCollapsibleContext,Collapsible}from'@ark-ui/react/collapsible';import {getDefaultOptions}from'date-fns';import {jsxs,jsx}from'react/jsx-runtime';var c=tv({slots:{root:"ring-expandable-card-border group/expandable-card flex h-fit flex-col rounded-lg ring transition-all duration-200 ease-in-out ring-inset",header:"flex pt-3 pr-1 pb-2 pl-3",headerLabel:"text-sm leading-[130%] font-semibold empty:hidden",complementaryText:"line-clamp-1 text-xs leading-[130%] text-neutral-900",subtitle:"line-clamp-1 text-xs leading-[130%] text-neutral-700",content:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up border-expandable-card-border overflow-hidden group-data-[state=open]/expandable-card:border-t",contentInner:"px-3 pt-4 pb-6",fixedContent:"border-expandable-card-border border-t px-3 pt-6 pb-4"},variants:{background:{white:{root:"bg-neutral-50"},gray:{root:"bg-neutral-100"}}},defaultVariants:{background:"white"}}),j=(a,e)=>e?.startsWith("es")?a?"Contraer":"Expandir":e?.startsWith("pt")?a?"Recolher":"Expandir":a?"Collapse":"Expand",bt=({headerLabel:a$3,complementaryText:e$1,subtitle:o,headerTooltip:n,className:m,action:i,chipStatus:l,badgeExpandable:p,chipExpandable:h,Icon:f,iconButtons:k,checkbox:b$1,...w})=>{let{header:z,headerLabel:D,complementaryText:M,subtitle:O}=c(),v=useCollapsibleContext(),{locale:F}=getDefaultOptions(),A=j(v.open,F?.code);return jsxs("div",{...w,className:a(z(),m),children:[b$1&&jsx(b,{...b$1,className:a("mt-0.25 mr-1",b$1.className)}),jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[jsxs("div",{className:"flex items-center justify-between gap-3",children:[jsxs("div",{className:"flex items-center gap-2",children:[f&&jsx(f,{className:"h-3.5 w-3.5 shrink-0"}),jsxs("div",{className:"flex items-center gap-2",children:[jsx("b",{className:D(),children:a$3}),e$1&&jsx("span",{className:M(),children:e$1}),n&&jsx(a$1,{content:n,contentClassName:"font-normal normal-case",children:jsx(e,{className:"h-3.5 w-3.5 shrink-0"})})]})]}),jsxs("div",{className:"flex items-center gap-2",children:[l&&jsx(d,{...l,size:"xs",type:"light"}),h&&jsx(c$1,{...h,type:"light"}),p&&jsx(a$2,{...p,size:"md"}),k?.map((d,x)=>{let{tooltipContent:E,...R}=d;return jsx(a$1,{content:E,disabled:!E,children:jsx(c$2,{...R,variant:"standard",size:"sm"})},x)}),i&&(()=>{let{tooltipContent:d,...x}=i;return jsx(a$1,{content:d,disabled:!d,children:jsx(c$3,{...x,size:"sm",variant:"standard"})})})(),jsx(a$1,{content:A,asChild:true,children:jsx(Collapsible.Trigger,{asChild:true,children:jsx(c$2,{Icon:v.open?s:t,variant:"standard",size:"sm"})})})]})]}),o&&jsx("p",{className:O(),children:o})]})]})},xt=({className:a,...e})=>{let{contentInner:o,content:n}=c();return jsx(Collapsible.Content,{className:n(),children:jsx("div",{...e,className:o({className:a})})})},Ct=({className:a,...e})=>{let{fixedContent:o}=c();return jsx("div",{...e,className:o({className:a})})},ut=({className:a,onOpenChange:e,children:o,background:n="white",...m})=>{let{root:i}=c({background:n}),l=useCallback(p=>{e?.(p);},[e]);return jsx(Collapsible.Root,{onOpenChange:l,className:i({className:a}),...m,children:o})};export{bt as a,xt as b,Ct as c,ut as d};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {c}from'./chunk-XPR5NR6A.js';import {a as a$2}from'./chunk-PBEZIMRZ.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {a}from'./chunk-BJ5MXTGP.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
|
|
1
|
+
import {c}from'./chunk-XPR5NR6A.js';import {a as a$2}from'./chunk-PBEZIMRZ.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {a}from'./chunk-BJ5MXTGP.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
|
|
2
2
|
export{G1 as a,M5 as b,V5 as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {a as a$1}from'./chunk-SY5G3KQF.js';import {c as c$1}from'./chunk-WQPZV6HK.js';import {c}from'./chunk-55Z77FLU.js';import {d}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var _=({onOpenChange:a,...o})=>{let t=useCallback(r=>{a?.(r.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:true,lazyMount:true,onOpenChange:t,...o})},X=Dialog.Trigger,q=["sm","md","lg","xl"],P=forwardRef(({children:a$1,className:o,size:t="sm",...r},l)=>jsxs(Portal,{children:[jsx(Dialog.Backdrop,{className:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-40 bg-neutral-900/60"}),jsx(Dialog.Positioner,{className:"fixed top-0 left-0 z-40 flex h-dvh w-dvw items-center justify-end",children:jsx(Dialog.Content,{ref:l,className:a("elevation-10 data-[state=closed]:animate-swipe-out data-[state=open]:animate-slide-in h-full bg-neutral-50",t==="sm"&&"w-117.5",t==="md"&&"w-187",t==="lg"&&"w-235",t==="xl"&&"w-312",o),...r,children:jsx("div",{className:"flex h-full flex-1 flex-col",children:a$1})})})]}));P.displayName="DrawerContent";var T=forwardRef(({children:a$2,className:o,title:t,buttons:r=[],Icon:l,description:p,...w},v)=>jsxs("div",{className:a("border-b border-neutral-200 pt-2 pb-2.75 pl-4",o),ref:v,...w,children:[jsx(Dialog.CloseTrigger,{asChild:true,children:jsx(d,{className:"mr-2 ml-auto size-4.5 cursor-pointer"})}),jsxs("div",{className:"mt-1 mr-4 flex items-center justify-between gap-3",children:[l&&jsx(a$1,{isIconOnly:true,icon:l,size:"md",variant:"light",color:"primary"}),jsx(Dialog.Title,{className:"font-jakarta line-clamp-1 flex-1 text-xl leading-[140%] font-semibold break-all text-neutral-900",children:t}),!Array.isArray(r)&&r.visible!==false&&jsx(c,{size:"md",variant:"ghost",...(({visible:c,...m})=>m)(r)}),Array.isArray(r)&&jsx("div",{className:"flex gap-1",children:r.map(({visible:c=true,...m},y)=>c?jsx(c$1,{variant:"ghost",size:"md",...m},y):null)})]}),p&&jsx(Dialog.Description,{className:"font-inter mt-1 mr-4 line-clamp-2 text-sm leading-[143%] text-neutral-800",children:p})]}));T.displayName="DrawerHeader";var x=forwardRef(({children:a$1,className:o,...t},r)=>jsx("div",{className:a("flex justify-end gap-3 border-t border-neutral-200 p-4.5",o),ref:r,...t,children:a$1}));x.displayName="DrawerFooter";var H=forwardRef(({children:a$1,className:o,...t},r)=>jsx("div",{className:a("h-full overflow-y-auto p-4",o),ref:r,...t,children:a$1}));H.displayName="DrawerBody";var G=Dialog.CloseTrigger;export{_ as a,X as b,q as c,P as d,T as e,x as f,H as g,G as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'../chunk-
|
|
1
|
+
export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'../chunk-DKI2JHBR.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'../chunk-
|
|
1
|
+
export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as AutocompleteMultipleNew}from'../chunk-
|
|
1
|
+
export{a as AutocompleteMultipleNew}from'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{z as ButtonActive,x as ButtonActiveSizes,y as ButtonActiveVariants}from'../chunk-
|
|
1
|
+
export{z as ButtonActive,x as ButtonActiveSizes,y as ButtonActiveVariants}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{u as ButtonMenu,r as ButtonMenuSizes,t as ButtonMenuTones,s as ButtonMenuWeights}from'../chunk-
|
|
1
|
+
export{u as ButtonMenu,r as ButtonMenuSizes,t as ButtonMenuTones,s as ButtonMenuWeights}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as CardExpandable,b as CardExpandableContent,c as CardExpandableFixedContent,a as CardExpandableHeader}from'../chunk-
|
|
1
|
+
export{d as CardExpandable,b as CardExpandableContent,c as CardExpandableFixedContent,a as CardExpandableHeader}from'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-MP4CHZ2K.js';import'../chunk-WQPZV6HK.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JW7HS6NX.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DataTable}from'../chunk-
|
|
1
|
+
export{a as DataTable}from'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-3HZUH4JJ.js';import'../chunk-JB6QLQCK.js';import'../chunk-R6NIURLZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as Drawer,g as DrawerBody,h as DrawerCloseTrigger,d as DrawerContent,f as DrawerFooter,e as DrawerHeader,c as DrawerSizes,b as DrawerTrigger}from'../chunk-
|
|
1
|
+
export{a as Drawer,g as DrawerBody,h as DrawerCloseTrigger,d as DrawerContent,f as DrawerFooter,e as DrawerHeader,c as DrawerSizes,b as DrawerTrigger}from'../chunk-ZT6ECGT6.js';import'../chunk-SY5G3KQF.js';import'../chunk-WQPZV6HK.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as Dropzone,a as DropzoneAcceptedFileTypes,b as DropzoneSizes}from'../chunk-
|
|
1
|
+
export{c as Dropzone,a as DropzoneAcceptedFileTypes,b as DropzoneSizes}from'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as Autocomplete,d as AutocompleteMultiple,z as ButtonActive,x as ButtonActiveSizes,y as ButtonActiveVariants,u as ButtonMenu,r as ButtonMenuSizes,t as ButtonMenuTones,s as ButtonMenuWeights,w as ListItem,b as ListItemArrow,e as ListItemButton,c as ListItemCheckbox,f as ListItemCheckboxLeft,v as PhoneInputNew,l as RichTextEditor,q as TrackerItem,o as TrackerItemExpandableContent,p as TrackerItemFooter,n as TrackerItemHeader,k as convertHtmlToQuillCompatible,h as defaultToolbarConfig,g as lexicalTheme,i as normalizeHtmlForComparison,j as normalizeQuillHtmlForLexical,m as useTrackerItem}from'../chunk-
|
|
1
|
+
export{a as Autocomplete,d as AutocompleteMultiple,z as ButtonActive,x as ButtonActiveSizes,y as ButtonActiveVariants,u as ButtonMenu,r as ButtonMenuSizes,t as ButtonMenuTones,s as ButtonMenuWeights,w as ListItem,b as ListItemArrow,e as ListItemButton,c as ListItemCheckbox,f as ListItemCheckboxLeft,v as PhoneInputNew,l as RichTextEditor,q as TrackerItem,o as TrackerItemExpandableContent,p as TrackerItemFooter,n as TrackerItemHeader,k as convertHtmlToQuillCompatible,h as defaultToolbarConfig,g as lexicalTheme,i as normalizeHtmlForComparison,j as normalizeQuillHtmlForLexical,m as useTrackerItem}from'../chunk-NCA5ZNB2.js';export{c as getSelectedCount,b as getSelectedIds,a as syncSelectionDataMap,d as useRowSelectionWithData}from'../chunk-ABJHG7HB.js';export{a as TextareaNew}from'../chunk-E23TVVWA.js';export{b as Textarea,a as TextareaSizes}from'../chunk-IUFS4MIW.js';export{a as TimePickerNew}from'../chunk-TIYCBFYY.js';export{a as TimePicker}from'../chunk-JX5TSRNT.js';export{a as ToastTypes,c as Toaster,b as toast}from'../chunk-FT232Y66.js';export{b as SnackbarProvider,a as snackbar}from'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';export{d as Switch,a as SwitchSizes,b as SwitchTypes,c as SwitchVariants}from'../chunk-7JM2X4UD.js';export{c as Tabs,f as TabsContent,d as TabsList,b as TabsSizes,e as TabsTrigger,a as TabsVariants}from'../chunk-Y6VIGVND.js';export{a as TextFieldNew}from'../chunk-2OJ2LRZA.js';export{a as ScrollArea,b as ScrollBar}from'../chunk-5T72Q62I.js';export{c as SearchBar,a as SearchBarSizeOptions,b as searchBarStyles}from'../chunk-IOQQ3DOG.js';export{a as SelectNew}from'../chunk-VCBJUVN5.js';export{a as Select}from'../chunk-64JCYMY5.js';export{c as Sidebar,e as SidebarBody,f as SidebarFooter,d as SidebarHeader,b as SidebarProvider,a as useSidebar}from'../chunk-T25JH65F.js';export{a as SignaturePad}from'../chunk-3TBZ7FGN.js';export{a as PhoneInputNewSkeleton}from'../chunk-GZ7UH57N.js';export{a as CountryCodeEnum,b as PhoneInput}from'../chunk-ZDWTWZ36.js';export{c as PopoverContent_old,b as PopoverTrigger_old,a as Popover_old}from'../chunk-XNBXUXHQ.js';export{b as RadioGroup,c as RadioGroupItem,a as RadioGroupOrientation}from'../chunk-GYLE3EGC.js';export{b as Rating,a as RatingSizes}from'../chunk-PBBCAULF.js';export{a as Drawer,g as DrawerBody,h as DrawerCloseTrigger,d as DrawerContent,f as DrawerFooter,e as DrawerHeader,c as DrawerSizes,b as DrawerTrigger}from'../chunk-ZT6ECGT6.js';export{c as Dropzone,a as DropzoneAcceptedFileTypes,b as DropzoneSizes}from'../chunk-WOZN4EU3.js';export{c as Spinner,a as SpinnerSizes,b as SpinnerVariants}from'../chunk-XPR5NR6A.js';export{c as ChipStatusComplementary,b as ChipStatusComplementarySizes,a as ChipStatusComplementaryVariants}from'../chunk-AUMOOT6L.js';export{a as ChipStatusTable}from'../chunk-Y73ZUBRE.js';export{a as CountryEnum,b as CountryTextField}from'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';export{a as DataTable}from'../chunk-63VP626I.js';export{b as Table,d as TableBody,e as TableBodyRow,i as TableCell,a as TableContainer,h as TableHead,c as TableHeader,g as TableHeaderRow,f as TableNoResults,j as TablePagination}from'../chunk-NVYSWZZC.js';export{a as Popover,c as PopoverContent,b as PopoverTrigger}from'../chunk-4RJVZ7FN.js';export{a as DatePickerNew}from'../chunk-4FZ7WKJJ.js';export{a as DatePicker}from'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';export{a as TextField}from'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';export{a as Dialog,i as DialogActionButton,f as DialogBody,j as DialogCloseButton,c as DialogContent,h as DialogDescription,k as DialogExtraButton,e as DialogFooter,d as DialogHeader,g as DialogTitle,b as DialogTrigger}from'../chunk-RWSPQA4H.js';export{a as CardForm,c as CardFormBody,d as CardFormFooter,b as CardFormHeader}from'../chunk-4SAHCBYB.js';export{j as Carousel,j as CarouselComponent,b as CarouselControl,f as CarouselIndicator,e as CarouselIndicatorGroup,h as CarouselItem,g as CarouselItemGroup,d as CarouselNextTrigger,c as CarouselPrevTrigger,a as CarouselRoot,i as CarouselViewport}from'../chunk-PR2PH7BQ.js';export{d as ChipContext,c as ChipContextColors,b as ChipContextSizes,a as ChipContextVariants}from'../chunk-JA7GAJ6P.js';export{c as ChipFormComplementary,a as ChipFormComplementaryVariants,b as ChipFormComplementaryVariantsClassNames}from'../chunk-QONM4Q4J.js';export{d as ChipForm,c as ChipFormSizes,b as ChipFormTypes,a as ChipFormVariants}from'../chunk-3HZUH4JJ.js';export{e as CalendarNew,a as CalendarNewProvider,d as LocaleProvider,c as parseDate,b as useCalendar}from'../chunk-444GMKW3.js';export{a as Calendar}from'../chunk-CYV6IFY6.js';export{d as CardExpandable,b as CardExpandableContent,c as CardExpandableFixedContent,a as CardExpandableHeader}from'../chunk-O2N7SQS4.js';export{b as Checkbox,a as CheckboxCheckedStates}from'../chunk-JB6QLQCK.js';export{c as ChipExpandable,b as ChipExpandableTypes,a as ChipExpandableVariants}from'../chunk-JYNJHAGL.js';export{b as Avatar,a as AvatarSizes}from'../chunk-GB2SAYAL.js';export{a as BadgeCategorySkeleton}from'../chunk-RQQJYDAY.js';export{a as BadgeCategory}from'../chunk-SY5G3KQF.js';export{a as BadgeExpandableSkeleton}from'../chunk-DL3P7FK4.js';export{a as BadgeNumber}from'../chunk-SKMTTF6M.js';export{a as BadgeStatusSkeleton}from'../chunk-PIMSGQMD.js';export{a as BadgeStatus}from'../chunk-UIZFLYFP.js';export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'../chunk-DKI2JHBR.js';export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'../chunk-5OQTVJO2.js';export{a as Badge}from'../chunk-R6NIURLZ.js';export{d as ChipStatus,b as ChipStatusSizes,c as ChipStatusTypes,a as ChipStatusVariants}from'../chunk-MP4CHZ2K.js';export{a as AlertDialog,f as AlertDialogActionButton,m as AlertDialogBody,g as AlertDialogCloseButton,e as AlertDialogContent,l as AlertDialogDescription,h as AlertDialogExtraButton,j as AlertDialogFooter,i as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,k as AlertDialogTitle,b as AlertDialogTrigger}from'../chunk-HUALBNPU.js';export{a as AlertMessage}from'../chunk-PBEZIMRZ.js';export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'../chunk-WQPZV6HK.js';export{a as Skeleton}from'../chunk-KTD2GEB6.js';export{a as AutocompleteMultipleNew}from'../chunk-4EGZE4NX.js';export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'../chunk-PK7E4VZY.js';export{a as Separator}from'../chunk-4CM257A2.js';export{c as Button,a as ButtonSizes,b as ButtonVariants}from'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';export{a as AutocompleteNew}from'../chunk-JGUHGA63.js';export{a as BadgeExpandable}from'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';export{a as Tooltip}from'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as ListItemArrow}from'../chunk-
|
|
1
|
+
export{b as ListItemArrow}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as ListItemButton}from'../chunk-
|
|
1
|
+
export{e as ListItemButton}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as ListItemCheckboxLeft}from'../chunk-
|
|
1
|
+
export{f as ListItemCheckboxLeft}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as ListItemCheckbox}from'../chunk-
|
|
1
|
+
export{c as ListItemCheckbox}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{w as ListItem}from'../chunk-
|
|
1
|
+
export{w as ListItem}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
package/dist/components/table.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as Table,d as TableBody,e as TableBodyRow,i as TableCell,a as TableContainer,h as TableHead,c as TableHeader,g as TableHeaderRow,f as TableNoResults,j as TablePagination}from'../chunk-NVYSWZZC.js';import'../chunk-3HZUH4JJ.js';import'../chunk-
|
|
1
|
+
export{b as Table,d as TableBody,e as TableBodyRow,i as TableCell,a as TableContainer,h as TableHead,c as TableHeader,g as TableHeaderRow,f as TableNoResults,j as TablePagination}from'../chunk-NVYSWZZC.js';import'../chunk-3HZUH4JJ.js';import'../chunk-R6NIURLZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{q as TrackerItem,o as TrackerItemExpandableContent,p as TrackerItemFooter,n as TrackerItemHeader,m as useTrackerItem}from'../chunk-
|
|
1
|
+
export{q as TrackerItem,o as TrackerItemExpandableContent,p as TrackerItemFooter,n as TrackerItemHeader,m as useTrackerItem}from'../chunk-NCA5ZNB2.js';import'../chunk-ABJHG7HB.js';import'../chunk-E23TVVWA.js';import'../chunk-IUFS4MIW.js';import'../chunk-TIYCBFYY.js';import'../chunk-JX5TSRNT.js';import'../chunk-FT232Y66.js';import'../chunk-ZLAJ6JDI.js';import'../chunk-LU2N5UJD.js';import'../chunk-7JM2X4UD.js';import'../chunk-Y6VIGVND.js';import'../chunk-2OJ2LRZA.js';import'../chunk-5T72Q62I.js';import'../chunk-IOQQ3DOG.js';import'../chunk-VCBJUVN5.js';import'../chunk-64JCYMY5.js';import'../chunk-T25JH65F.js';import'../chunk-3TBZ7FGN.js';import'../chunk-GZ7UH57N.js';import'../chunk-ZDWTWZ36.js';import'../chunk-XNBXUXHQ.js';import'../chunk-GYLE3EGC.js';import'../chunk-PBBCAULF.js';import'../chunk-ZT6ECGT6.js';import'../chunk-WOZN4EU3.js';import'../chunk-XPR5NR6A.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-BUM5T6I7.js';import'../chunk-EU3IUSBX.js';import'../chunk-63VP626I.js';import'../chunk-NVYSWZZC.js';import'../chunk-4RJVZ7FN.js';import'../chunk-4FZ7WKJJ.js';import'../chunk-PAVCJDAL.js';import'../chunk-GFVJRSZI.js';import'../chunk-A2VW62QH.js';import'../chunk-T2Q6B32U.js';import'../chunk-RWSPQA4H.js';import'../chunk-4SAHCBYB.js';import'../chunk-PR2PH7BQ.js';import'../chunk-JA7GAJ6P.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-444GMKW3.js';import'../chunk-CYV6IFY6.js';import'../chunk-O2N7SQS4.js';import'../chunk-JB6QLQCK.js';import'../chunk-JYNJHAGL.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-SY5G3KQF.js';import'../chunk-DL3P7FK4.js';import'../chunk-SKMTTF6M.js';import'../chunk-PIMSGQMD.js';import'../chunk-UIZFLYFP.js';import'../chunk-DKI2JHBR.js';import'../chunk-5OQTVJO2.js';import'../chunk-R6NIURLZ.js';import'../chunk-MP4CHZ2K.js';import'../chunk-HUALBNPU.js';import'../chunk-PBEZIMRZ.js';import'../chunk-WQPZV6HK.js';import'../chunk-KTD2GEB6.js';import'../chunk-4EGZE4NX.js';import'../chunk-PK7E4VZY.js';import'../chunk-4CM257A2.js';import'../chunk-55Z77FLU.js';import'../chunk-5EP3PIED.js';import'../chunk-JGUHGA63.js';import'../chunk-JW7HS6NX.js';import'../chunk-FHABUQAH.js';import'../chunk-BJ5MXTGP.js';import'../chunk-CM6ALMTT.js';import'../chunk-QNQELNVU.js';import'../chunk-OBZIYJO7.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sodtrack-web-ui",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "UI components for Sodtrack Web",
|
|
6
6
|
"exports": {
|
|
@@ -29,6 +29,20 @@
|
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
34
|
+
"prepare": "husky",
|
|
35
|
+
"check:trust-policy": "pnpm install --frozen-lockfile --config.trustPolicy=no-downgrade",
|
|
36
|
+
"check": "pnpm run format && pnpm run lint:strict",
|
|
37
|
+
"build": "tsup --publicDir",
|
|
38
|
+
"storybook": "storybook dev -p 6006",
|
|
39
|
+
"build-storybook": "storybook build",
|
|
40
|
+
"format": "prettier --check .",
|
|
41
|
+
"format:fix": "prettier --write .",
|
|
42
|
+
"lint": "oxlint",
|
|
43
|
+
"lint:fix": "oxlint --fix",
|
|
44
|
+
"lint:strict": "oxlint --deny-warnings"
|
|
45
|
+
},
|
|
32
46
|
"author": "",
|
|
33
47
|
"license": "ISC",
|
|
34
48
|
"engines": {
|
|
@@ -88,9 +102,9 @@
|
|
|
88
102
|
"tsup": "8.5.1",
|
|
89
103
|
"typescript": "5.8.3",
|
|
90
104
|
"vite": "7.3.1",
|
|
91
|
-
"vite-plugin-svgr": "4.5.0"
|
|
92
|
-
"node": "runtime:22.22.1"
|
|
105
|
+
"vite-plugin-svgr": "4.5.0"
|
|
93
106
|
},
|
|
107
|
+
"packageManager": "pnpm@10.32.1",
|
|
94
108
|
"devEngines": {
|
|
95
109
|
"runtime": {
|
|
96
110
|
"name": "node",
|
|
@@ -107,18 +121,5 @@
|
|
|
107
121
|
"*.{json,md,css,yml,yaml}": [
|
|
108
122
|
"prettier --write"
|
|
109
123
|
]
|
|
110
|
-
},
|
|
111
|
-
"scripts": {
|
|
112
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
113
|
-
"check:trust-policy": "pnpm install --frozen-lockfile --config.trustPolicy=no-downgrade",
|
|
114
|
-
"check": "pnpm run format && pnpm run lint:strict",
|
|
115
|
-
"build": "tsup --publicDir",
|
|
116
|
-
"storybook": "storybook dev -p 6006",
|
|
117
|
-
"build-storybook": "storybook build",
|
|
118
|
-
"format": "prettier --check .",
|
|
119
|
-
"format:fix": "prettier --write .",
|
|
120
|
-
"lint": "oxlint",
|
|
121
|
-
"lint:fix": "oxlint --fix",
|
|
122
|
-
"lint:strict": "oxlint --deny-warnings"
|
|
123
124
|
}
|
|
124
|
-
}
|
|
125
|
+
}
|
package/dist/chunk-XI2ND4P4.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {e,i,f,a as a$1,b,c,g,h,d,j}from'./chunk-NVYSWZZC.js';import {a as a$4,b as b$2,c as c$1}from'./chunk-4RJVZ7FN.js';import {b as b$1}from'./chunk-JB6QLQCK.js';import {a as a$2}from'./chunk-CM6ALMTT.js';import {a as a$3}from'./chunk-KTD2GEB6.js';import {c as c$2}from'./chunk-55Z77FLU.js';import {e as e$1}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {memo,useMemo,useState,useCallback,useRef,useEffect}from'react';import {flexRender,useReactTable,getCoreRowModel}from'@tanstack/react-table';import {Plus,Component,KeyRound,MailWarning,MapPinOff,TriangleAlert,Siren}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';var Pe=["siren","warning","map-pin-off","email-alert","key-round","component"],ve={siren:{Icon:Siren,bgClassName:"bg-orange-50",iconClassName:"text-orange-700"},warning:{Icon:TriangleAlert,bgClassName:"bg-warning-100",iconClassName:"text-warning-900"},"map-pin-off":{Icon:MapPinOff,bgClassName:"bg-coral-50",iconClassName:"text-coral-700"},"email-alert":{Icon:MailWarning,bgClassName:"bg-danger-100",iconClassName:"text-danger-700"},"key-round":{Icon:KeyRound,bgClassName:"bg-orchid-100",iconClassName:"text-orchid-700"},component:{Icon:Component,bgClassName:"bg-aqua-100",iconClassName:"text-aqua-800"}},ct=l=>({id:"__select__",size:54,enableResizing:false,header:({table:i})=>{let m=i.getRowModel().rows.some(s=>s.getCanSelect()),r=i.getIsAllPageRowsSelected()?true:i.getIsSomePageRowsSelected()?"indeterminate":false;return jsx(b$1,{checked:r,disabled:!m,className:"ml-1",onCheckedChange:s=>i.toggleAllPageRowsSelected(s===true)})},cell:({row:i})=>{let m=i.getCanSelect(),r=m?i.getIsSelected():typeof l.setDisabledRowState=="function"?l.setDisabledRowState(i.original):l.setDisabledRowState??false,s=jsx(b$1,{checked:r,onCheckedChange:R=>i.toggleSelected(R===true),disabled:!m}),u=l.rowSelectionTooltip?.content(i.original);return u?jsx(a$2,{className:"w-fit",content:u,positioning:l.rowSelectionTooltip?.positioning??{placement:"right"},children:s}):s},enableSorting:false}),J=["w-3/4","w-1/2","w-2/3","w-5/6","w-3/5"],Ie=({columns:l,rows:i$1,hasSelection:m,hasRowActions:r,hasPagination:s,className:u,...R})=>jsxs(a$1,{className:u,...R,children:[jsxs(b,{children:[jsx(c,{children:jsxs(g,{children:[r&&jsx(h,{className:"w-[30px] max-w-[30px] min-w-[30px] p-0 px-0",style:{width:"30px",minWidth:"30px",maxWidth:"30px"}}),m&&jsx(h,{className:"w-13.5",children:jsx(a$3,{className:"bg-primary-300 m-0.5 ml-1.5 size-4.5 rounded-sm"})}),Array.from({length:l},(h$1,y)=>jsx(h,{children:jsx(a$3,{className:"bg-primary-300 h-3 w-16"})},y))]})}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:Array.from({length:i$1},(h,y)=>jsxs(e,{children:[r&&jsx(i,{className:"!bg-primary-50 w-[30px] max-w-[30px] min-w-[30px] p-0 align-middle",style:{width:"30px",minWidth:"30px",maxWidth:"30px"},children:jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]})}),m&&jsx(i,{className:"align-middle",children:jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"})}),Array.from({length:l},(x,d)=>jsx(i,{children:jsx(a$3,{className:a("h-4",J[(y+d)%J.length])})},d))]},y))})]}),s&&jsxs("div",{className:"border-t-primary-200 grid min-h-12 grid-cols-3 items-center gap-6 border-t px-4.5",children:[jsx(a$3,{className:"h-3.5 w-20"}),jsxs("div",{className:"flex items-center justify-center gap-2",children:[jsx(a$3,{className:"size-8 rounded-lg"}),jsx(a$3,{className:"size-8 rounded-lg"})]}),jsx("div",{className:"flex justify-end",children:jsx(a$3,{className:"h-3.5 w-28"})})]})]});Ie.displayName="DataTableFullSkeleton";var ut={neutral:"bg-neutral-100",success:"bg-success-20",orange:"bg-orange-20",warning:"bg-warning-20",danger:"bg-danger-20",default:"bg-neutral-50"},N="__row_actions__",ke="grid grid-cols-1 h-full w-full cursor-pointer overflow-hidden border-0 p-0 transition-opacity hover:opacity-90 focus:outline focus:outline-2 focus:outline-offset-[-2px] focus:outline-primary-600",dt=(l,i)=>typeof l=="function"?l(i):l??false,mt=({row:l,rowActions:i})=>{let[m,r]=useState(false),s=l.original,u=i(s).filter(d=>d.isActive===void 0?true:dt(d.isActive,s)).sort((d,T)=>Pe.indexOf(d.name)-Pe.indexOf(T.name));if(u.length===0)return null;let R=u.length>3,h=R?u.slice(0,2):u,y=R?3:h.length,x=(d,T)=>{let o=ve[d.name],f=o.Icon;return jsx("div",{className:a("flex h-full w-full items-center justify-center",o.bgClassName),children:jsx(f,{className:a("size-3.5 shrink-0",o.iconClassName),"aria-hidden":true})},`${d.name}-${T}`)};if(u.length===1){let d=u[0];return jsx("button",{type:"button","aria-label":d.label,className:ke,style:{gridTemplateRows:"repeat(1, minmax(0, 1fr))"},onClick:T=>{T.stopPropagation(),d.onClick(s);},children:x(d,0)})}return jsxs(a$4,{open:m,onOpenChange:r,modal:false,positioning:{placement:"right-start",gutter:0},children:[jsx(b$2,{asChild:true,children:jsxs("button",{type:"button","aria-label":"Row actions",className:ke,style:{gridTemplateRows:`repeat(${y}, minmax(0, 1fr))`},onClick:d=>{d.stopPropagation();},children:[h.map((d,T)=>x(d,T)),R&&jsx("div",{className:"bg-primary-300 flex h-full w-full items-center justify-center",children:jsx(Plus,{className:"text-primary-700 size-3.5 shrink-0","aria-hidden":true})})]})}),jsx(c$1,{className:"min-w-48 overflow-hidden rounded-sm p-0",children:jsx("div",{className:"flex flex-col",children:u.map((d,T)=>{let o=ve[d.name];return jsx(c$2,{variant:"ghost",size:"md",StartIcon:o.Icon,className:"!h-auto !min-h-0 w-full justify-start !gap-2 !px-3 !py-4 !text-neutral-900 hover:!text-neutral-900 disabled:!text-neutral-900",onClick:f=>{f.stopPropagation(),d.onClick(s),r(false);},type:"button",children:d.label},`${d.name}-${T}`)})})})]})},gt=({rowActions:l})=>({id:N,header:()=>jsx("span",{className:"sr-only",children:"Actions"}),size:30,minSize:30,maxSize:30,enableResizing:false,cell:({row:i})=>l?jsx(mt,{row:i,rowActions:l}):null}),Me=memo(({row:l,isSelected:i$1,resizable:m,type:r})=>jsx(e,{"data-state":i$1&&"selected",className:a(r&&r!=="default"&&ut[r]),style:r&&r!=="default"?{"--color-primary-200":`var(--color-${r}-100)`}:void 0,children:l.getVisibleCells().map(s=>jsx(i,{className:s.column.id===N?"p-0 align-middle":void 0,style:s.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:m?{width:`calc(var(--col-${s.column.id}-size) * 1px)`,minWidth:`calc(var(--col-${s.column.id}-size) * 1px)`,maxWidth:`calc(var(--col-${s.column.id}-size) * 1px)`}:void 0,children:flexRender(s.column.columnDef.cell,s.getContext())},s.id))}),(l,i)=>l.isSelected===i.isSelected&&l.row.original===i.row.original&&l.resizable===i.resizable&&l.type===i.type);Me.displayName="DataTableRow";var We="dt-col-ratios-",ft=l=>{try{let i=localStorage.getItem(`${We}${l}`);return i?JSON.parse(i):{}}catch{return {}}},pt=(l,i)=>{try{localStorage.setItem(`${We}${l}`,JSON.stringify(i));}catch{}},_e=(l,i,m)=>{let r={},s=i,u=[];for(let o of l)o.canResize?u.push(o):(r[o.id]=o.defaultSize,s-=o.defaultSize);if(u.length===0||s<=0)return r;let R=new Set(u.map(o=>o.id)),h={};for(let[o,f]of Object.entries(m))R.has(o)&&(h[o]=f);let y=u.filter(o=>!(o.id in h)),x={};if(Object.keys(h).length===0){let o=u.reduce((f,v)=>f+v.defaultSize,0);for(let f of u)x[f.id]=f.defaultSize/o;}else if(y.length===0){let o=Object.values(h).reduce((f,v)=>f+v,0);for(let f of u)x[f.id]=h[f.id]/o;}else {let o=u.reduce((w,P)=>w+P.defaultSize,0),v=y.reduce((w,P)=>w+P.defaultSize,0)/o,k=Object.values(h).reduce((w,P)=>w+P,0),j=(1-v)/k;for(let w of u)w.id in h?x[w.id]=h[w.id]*j:x[w.id]=w.defaultSize/o;}for(let o of u)r[o.id]=Math.max(Math.round(x[o.id]*s),o.defaultSize);let T=u.reduce((o,f)=>o+r[f.id],0)-s;if(T!==0&&u.length>0){let o=u[u.length-1];r[o.id]=Math.max(r[o.id]-T,o.defaultSize);}return r},Oe=(l,i)=>{let m=0;for(let s of i)m+=l[s]??0;if(m===0)return {};let r={};for(let s of i)l[s]!=null&&(r[s]=l[s]/m);return r};function jt({columns:l,data:i$1,rowsCount:m,pagination:r,onPaginationChange:s,noResults:u,onNextPageClick:R,onPreviousPageClick:h$1,disableNextPage:y,disablePreviousPage:x,className:d$1,onRowsPerPageChange:T,columnOrder:o,columnVisibility:f$1,rowsPerPageOptions:v,enableRowSelection:k=false,rowSelection:j$1,onRowSelectionChange:w,getRowId:P,rowSelectionTooltip:ie,setDisabledRowState:le,tableId:z,isLoading:H,isInitialLoading:se,skeletonRowCount:He,skeletonColumns:$e=6,getRowType:re,rowActions:A,...ce}){let $=typeof k=="function"||k===true,ue=useMemo(()=>{if(!o)return;let t=[A?N:null,$?"__select__":null].filter(a=>a!=null),n=new Set(t);return [...t,...o.filter(a=>!n.has(a))]},[o,$,A]),Le=useMemo(()=>{let t=[...l];if($&&t.unshift(ct({rowSelectionTooltip:ie,setDisabledRowState:le})),A){let n=gt({rowActions:A});t.unshift(n);}return t},[$,l,ie,le,A]),[B,Ee]=useState(null),je=useCallback(t=>Ee(t),[]),L=useRef({}),U=useRef(null),[F,X]=useState({}),Be=t=>{X(n=>{let a=typeof t=="function"?t(n):t,b=U.current;if(!b)return a;let c=b.getState().columnSizingInfo.isResizingColumn;if(!c)return a;let g=b.getVisibleLeafColumns(),D=g.findIndex(I=>I.id===c);if(D===-1)return a;let _=null;for(let I=D+1;I<g.length;I++)if(g[I].getCanResize()){_=g[I];break}if(!_)return a;let V=g[D].columnDef,Ke=V.size??150,qe=V.minSize??80,Y=n[c]??Ke,Je=a[c]??Y,fe=Math.max(Je,qe),pe=fe-Y;if(pe===0)return {...a,[c]:fe};let be=_.id,Ue=_.columnDef.size??150,Xe=_.columnDef.minSize??80,Ce=n[be]??Ue,he=Math.max(Ce-pe,Xe),Ye=Ce-he,Ge=Y+Ye;return {...a,[c]:Ge,[be]:he}});},p=useReactTable({data:i$1,columns:Le,rowCount:m,state:{pagination:r,...ue!==void 0&&{columnOrder:ue},columnVisibility:f$1,...j$1!==void 0&&{rowSelection:j$1},...z&&{columnSizing:F}},onPaginationChange:s,onRowSelectionChange:w,...z&&{columnResizeMode:"onChange",onColumnSizingChange:Be,defaultColumn:{minSize:80}},manualPagination:true,getCoreRowModel:getCoreRowModel(),enableRowSelection:typeof k=="function"?t=>k(t.original):k,getRowId:P?t=>P(t):void 0});U.current=p;let Fe=p.getVisibleLeafColumns().map(t=>t.id).join(","),Ve=()=>p.getVisibleLeafColumns().map(t=>({id:t.id,defaultSize:t.columnDef.size??150,canResize:t.getCanResize()})),de=()=>new Set(p.getVisibleLeafColumns().filter(t=>t.getCanResize()).map(t=>t.id));useEffect(()=>{if(!z||!B)return;(a=>{let b=Object.keys(L.current).length>0?L.current:ft(z),c=Ve(),g=_e(c,a,b);L.current=Oe(g,de()),X(g);})(B.clientWidth);let n=new ResizeObserver(([a])=>{if(!a)return;let b=U.current;if(!b||b.getState().columnSizingInfo.isResizingColumn)return;let c=b.getVisibleLeafColumns().map(D=>({id:D.id,defaultSize:D.columnDef.size??150,canResize:D.getCanResize()})),g=_e(c,a.contentRect.width,L.current);X(g);});return n.observe(B),()=>n.disconnect()},[z,Fe,B]);let E=useMemo(()=>{if(!z||Object.keys(F).length===0)return;let t=p.getFlatHeaders(),n={};for(let a of t)n[`--header-${a.id}-size`]=a.getSize(),n[`--col-${a.column.id}-size`]=a.column.getSize();return n},[z,p.getState().columnSizingInfo,p.getState().columnSizing]),me=p.getState().columnSizingInfo.isResizingColumn;useEffect(()=>{if(z&&!me&&Object.keys(F).length>0){let t=de(),n=Oe(F,t);L.current=n,pt(z,n);}},[z,me]);let ge=He??r?.pageSize??10;return se?jsx(Ie,{columns:$e,rows:ge,hasSelection:$,hasRowActions:!!A,hasPagination:!!r,className:d$1,...ce}):!H&&!se&&!p.getRowModel().rows?.length?jsx(f,{...u}):jsxs(a$1,{ref:je,className:d$1,...ce,children:[jsxs(b,{style:E?{...E,width:p.getTotalSize(),tableLayout:"fixed"}:{tableLayout:"fixed"},children:[!E&&jsx("colgroup",{children:(()=>{let t=p.getHeaderGroups()[0].headers,n=c=>c===N||c==="__select__",a=t.filter(c=>n(c.column.id)).reduce((c,g)=>c+g.column.getSize(),0),b=t.filter(c=>!n(c.column.id)).reduce((c,g)=>c+g.column.getSize(),0);return t.map(c=>{let g=c.column.getSize();return jsx("col",{span:1,style:n(c.column.id)?{width:g}:{width:b>0?`calc(${g/b*100}% - ${(g/b*a).toFixed(2)}px)`:g}},c.id)})})()}),jsx(c,{children:p.getHeaderGroups().map(t=>jsx(g,{children:t.headers.map(n=>{if(n.isPlaceholder)return jsx(h,{style:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0},n.id);let a$1=n.column.columnDef,b=flexRender(a$1.header,n.getContext()),c=n.column.id!=="__select__"&&a$1.headerTooltip!==false,g=a$1.headerTooltip&&typeof a$1.headerTooltip!="boolean"?a$1.headerTooltip:b,D=jsx("span",{className:"font-inter line-clamp-1 text-xs leading-[133%] text-neutral-900 uppercase",children:b});return jsxs(h,{className:n.column.id===N?"p-0 px-0":z?"group/resize relative overflow-clip":void 0,style:n.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0,children:[jsxs("div",{className:"flex items-center",children:[c?jsx(a$2,{content:g,contentClassName:"font-normal normal-case",children:D}):D,a$1.headerInfoTooltip&&jsx(a$2,{content:a$1.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e$1,{className:"ml-1 w-[0.875rem] shrink-0"})})]}),z&&n.column.getCanResize()&&t.headers.some((_,V)=>V>t.headers.indexOf(n)&&_.column.getCanResize())&&jsx("div",{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),className:a("absolute top-0 right-0 h-full w-1 cursor-col-resize touch-none select-none","bg-primary-400 opacity-0 transition-opacity group-hover/resize:opacity-100",n.column.getIsResizing()&&"bg-primary-600 opacity-100")})]},n.id)})},t.id))}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:H?Array.from({length:ge},(t,n)=>jsx(e,{children:p.getVisibleLeafColumns().map((a$1,b)=>{let c=a$1.columnDef;return jsx(i,{className:a$1.id==="__select__"?"align-middle":a$1.id===N?"!bg-primary-50 p-0 align-middle":void 0,style:a$1.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:void 0,children:a$1.id==="__select__"?jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"}):a$1.id===N?jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]}):c.skeleton!=null?c.skeleton:jsx(a$3,{className:a("h-4",J[(n+b)%J.length])})},a$1.id)})},n)):p.getRowModel().rows.map(t=>jsx(Me,{row:t,isSelected:t.getIsSelected(),resizable:!!z,type:re?re(t.original):"default"},t.id))})]}),r&&s&&(i$1.length>0||H)&&jsx(j,{rowsPerPageOptions:v,rowsCount:m,pagination:r,onPageSizeChange:t=>{p.setPagination({pageIndex:0,pageSize:t}),T?.(t);},onPreviousPageClick:h$1,onNextPageClick:R,isDisableNextPageButton:H||y||!!m&&!p.getCanNextPage(),isDisablePreviousPageButton:H||x||!!m&&!p.getCanPreviousPage(),onPageChange:t=>{p.setPageIndex(t-1);}})]})}export{jt as a};
|