@xjur-ui/react 4.4.3 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/accordion/accordion-tab-header.js +1 -1
  3. package/dist/components/accordion/accordion-trigger.js +1 -1
  4. package/dist/components/accordion/index.js +1 -1
  5. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  6. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  7. package/dist/components/breadcrumb/index.js +1 -1
  8. package/dist/components/carousel/carousel-action.js +1 -1
  9. package/dist/components/carousel/index.js +1 -1
  10. package/dist/components/chip/chip-close.js +1 -1
  11. package/dist/components/chip/chip-icon.js +1 -1
  12. package/dist/components/chip/index.js +1 -1
  13. package/dist/components/controls/calendar.js +1 -1
  14. package/dist/components/controls/checkbox.js +1 -1
  15. package/dist/components/controls/date-picker/date-picker-icon.js +1 -1
  16. package/dist/components/controls/date-picker/index.js +1 -1
  17. package/dist/components/controls/input/index.js +1 -1
  18. package/dist/components/controls/input/input-icon.js +1 -1
  19. package/dist/components/controls/input/input-numeric-stepper.js +1 -1
  20. package/dist/components/controls/rating.js +1 -1
  21. package/dist/components/controls/search-selector.js +1 -1
  22. package/dist/components/controls/select/index.js +1 -1
  23. package/dist/components/controls/select/select-icon.js +1 -1
  24. package/dist/components/controls/text-area/index.js +1 -1
  25. package/dist/components/controls/text-area/text-area-caption.js +1 -1
  26. package/dist/components/controls/text-area/text-area-content.js +1 -1
  27. package/dist/components/controls/text-area/text-area-editor.js +1 -1
  28. package/dist/components/controls/text-area/text-area-fullscreen-button.js +1 -1
  29. package/dist/components/controls/text-area/text-area-heading-button.js +1 -1
  30. package/dist/components/controls/text-area/text-area-root.js +1 -1
  31. package/dist/components/controls/text-area/text-area-toggle-button.js +1 -1
  32. package/dist/components/controls/text-area/text-area-toolbar.js +1 -1
  33. package/dist/components/custom/andamento-timeline/andamento-timeline.js +1 -1
  34. package/dist/components/custom/andamento-timeline/index.js +1 -1
  35. package/dist/components/custom/centro-custo/centro-custo-add-button.js +1 -1
  36. package/dist/components/custom/centro-custo/centro-custo-body.js +1 -1
  37. package/dist/components/custom/centro-custo/centro-custo-close-button.js +1 -1
  38. package/dist/components/custom/centro-custo/centro-custo-content.js +1 -1
  39. package/dist/components/custom/centro-custo/centro-custo-footer.js +1 -1
  40. package/dist/components/custom/centro-custo/centro-custo-header.js +1 -1
  41. package/dist/components/custom/centro-custo/centro-custo-trigger.js +1 -1
  42. package/dist/components/custom/centro-custo/centro-custo.js +1 -1
  43. package/dist/components/custom/centro-custo/index.js +1 -1
  44. package/dist/components/custom/empresa/empresa-add-button.js +1 -1
  45. package/dist/components/custom/empresa/empresa-body.js +1 -1
  46. package/dist/components/custom/empresa/empresa-close-button.js +1 -1
  47. package/dist/components/custom/empresa/empresa-content.js +1 -1
  48. package/dist/components/custom/empresa/empresa-footer.js +1 -1
  49. package/dist/components/custom/empresa/empresa-header.js +1 -1
  50. package/dist/components/custom/empresa/empresa-table.js +1 -1
  51. package/dist/components/custom/empresa/empresa-trigger.js +1 -1
  52. package/dist/components/custom/empresa/empresa.js +1 -1
  53. package/dist/components/custom/empresa/index.js +1 -1
  54. package/dist/components/custom/lista-nivelada/hierarchical-navigation.js +1 -1
  55. package/dist/components/custom/lista-nivelada/index.js +1 -1
  56. package/dist/components/custom/lista-nivelada/lista-nivelada-body.js +1 -1
  57. package/dist/components/custom/lista-nivelada/lista-nivelada-close-button.js +1 -1
  58. package/dist/components/custom/lista-nivelada/lista-nivelada-content.js +1 -1
  59. package/dist/components/custom/lista-nivelada/lista-nivelada-footer.js +1 -1
  60. package/dist/components/custom/lista-nivelada/lista-nivelada-header.js +1 -1
  61. package/dist/components/custom/lista-nivelada/lista-nivelada-trigger.js +1 -1
  62. package/dist/components/custom/lista-nivelada/lista-nivelada.js +1 -1
  63. package/dist/components/custom/lista-nivelada/navigation-button.js +1 -1
  64. package/dist/components/custom/lista-nivelada/navigation-grid.js +1 -1
  65. package/dist/components/custom/lista-nivelada/radio-selection.js +1 -1
  66. package/dist/components/custom/pessoa/index.js +1 -1
  67. package/dist/components/custom/pessoa/pessoa-add-button.js +1 -1
  68. package/dist/components/custom/pessoa/pessoa-body.js +1 -1
  69. package/dist/components/custom/pessoa/pessoa-close-button.js +1 -1
  70. package/dist/components/custom/pessoa/pessoa-content.js +1 -1
  71. package/dist/components/custom/pessoa/pessoa-footer.js +1 -1
  72. package/dist/components/custom/pessoa/pessoa-header.js +1 -1
  73. package/dist/components/custom/pessoa/pessoa-trigger.js +1 -1
  74. package/dist/components/custom/pessoa/pessoa.js +1 -1
  75. package/dist/components/custom/relatorios/index.js +1 -1
  76. package/dist/components/custom/relatorios/relatorios-body.js +1 -1
  77. package/dist/components/custom/relatorios/relatorios-content.js +1 -1
  78. package/dist/components/custom/relatorios/relatorios-filters.js +1 -1
  79. package/dist/components/custom/relatorios/relatorios-header.js +1 -1
  80. package/dist/components/custom/relatorios/relatorios-sidebar.js +1 -1
  81. package/dist/components/custom/relatorios/relatorios-table.js +1 -1
  82. package/dist/components/custom/relatorios/relatorios-trigger.js +1 -1
  83. package/dist/components/custom/relatorios/relatorios.js +1 -1
  84. package/dist/components/custom/xpay-valor-hora/index.js +1 -1
  85. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-sidebar.js +1 -1
  86. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-table.js +1 -1
  87. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora.js +1 -1
  88. package/dist/components/dialog/delete-dialog.js +1 -1
  89. package/dist/components/dialog/dialog-content.js +1 -1
  90. package/dist/components/dialog/index.js +1 -1
  91. package/dist/components/full-calendar/calendar-add-event.js +1 -1
  92. package/dist/components/full-calendar/calendar-cell.js +1 -1
  93. package/dist/components/full-calendar/calendar-day-view.js +1 -1
  94. package/dist/components/full-calendar/calendar-month-view.js +1 -1
  95. package/dist/components/full-calendar/calendar-navigator.js +1 -1
  96. package/dist/components/full-calendar/calendar-toggle-view.js +1 -1
  97. package/dist/components/full-calendar/calendar-view-renderer.js +1 -1
  98. package/dist/components/full-calendar/calendar-week-view.js +1 -1
  99. package/dist/components/full-calendar/index.js +1 -1
  100. package/dist/components/icon/components/custom-icon.js +1 -1
  101. package/dist/components/icon/components/faq.d.ts +1 -0
  102. package/dist/components/icon/components/faq.js +1 -0
  103. package/dist/components/icon/components/handshake.d.ts +1 -0
  104. package/dist/components/icon/components/handshake.js +1 -0
  105. package/dist/components/icon/components/xlearning.js +1 -1
  106. package/dist/components/icon/index.js +1 -1
  107. package/dist/components/message/index.js +1 -1
  108. package/dist/components/message/message-close.js +1 -1
  109. package/dist/components/message/message-icon.js +1 -1
  110. package/dist/components/selection-bar/index.js +1 -1
  111. package/dist/components/selection-bar/selection-bar-close.js +1 -1
  112. package/dist/components/sheet/index.js +1 -1
  113. package/dist/components/sheet/sheet-close.js +1 -1
  114. package/dist/components/table/index.js +1 -1
  115. package/dist/components/table/table-row.js +1 -1
  116. package/dist/components/table/table-sort.js +1 -1
  117. package/dist/components/tag/index.js +1 -1
  118. package/dist/components/tag/tag-close.js +1 -1
  119. package/dist/components/tag/tag-icon.js +1 -1
  120. package/dist/components/timeline-card/index.js +1 -1
  121. package/dist/components/timeline-card/timeline-card.js +1 -1
  122. package/dist/components/toast/index.js +1 -1
  123. package/dist/components/toast/toast-component.js +1 -1
  124. package/dist/components/toast/toast.js +1 -1
  125. package/dist/components/upload/index.js +1 -1
  126. package/dist/components/upload/upload-icon.js +1 -1
  127. package/dist/resources/icons.d.ts +1 -1
  128. package/dist/resources/icons.js +1 -1
  129. package/package.json +3 -3
@@ -1 +1 @@
1
- import{useCallback as xn,useMemo as Cn}from"react";import{cx as _o}from"@xjur-ui/util";import{Slot as Eo}from"@radix-ui/react-slot";import{cva as No}from"@xjur-ui/util";import{memo as er,useState as Ho}from"react";import*as ye from"@radix-ui/react-tooltip";import{jsx as Ze}from"react/jsx-runtime";function Oo({delayDuration:e=0,...t}){return Ze(ye.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function Q({...e}){return Ze(Oo,{children:Ze(ye.Root,{"data-slot":"tooltip",...e})})}import*as Kt from"@radix-ui/react-tooltip";import{jsx as Vo}from"react/jsx-runtime";function $({...e}){return Vo(Kt.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as we from"@radix-ui/react-tooltip";import{cx as Fo}from"@xjur-ui/util";import{jsx as Ut}from"react/jsx-runtime";function G({className:e,sideOffset:t=1,variant:r="simple",children:o,...a}){return Ut(we.Portal,{children:Ut(we.Content,{className:Fo("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":r,sideOffset:t,...a,children:o})})}import{jsx as ve,jsxs as qo}from"react/jsx-runtime";var Ro=No("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),p=er(({variant:e,size:t,weight:r,asChild:o,className:a,children:n,...i})=>ve(o?Eo:"span",{className:Ro({variant:e,size:t,weight:r,className:a}),...i,children:n}));p.displayName="Typography";var Xe=er(({children:e,...t})=>{let[r,o]=Ho(!1);return qo(Q,{children:[ve($,{asChild:!0,children:ve(p,{onMouseEnter:({currentTarget:n})=>{let i=n.scrollWidth>n.clientWidth;o(i),i?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),r&&ve(G,{children:e})]})});Xe.displayName="TruncatedTypography";var Ao=Math.pow(10,8)*24*60*60*1e3,Bi=-Ao,ke=6048e5,tr=864e5;var Yo=3600;var rr=Yo*24,Zi=rr*7,jo=rr*365.2425,Bo=jo/12,Xi=Bo*3,Qe=Symbol.for("constructDateFrom");function f(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Qe in e?e[Qe](t):e instanceof Date?new e.constructor(t):new Date(t)}function _(e,t){return f(t||e,e)}function J(e,t,r){let o=_(e,r?.in);return isNaN(t)?f(r?.in||e,NaN):(t&&o.setDate(o.getDate()+t),o)}function xe(e,t,r){let o=_(e,r?.in);if(isNaN(t))return f(r?.in||e,NaN);if(!t)return o;let a=o.getDate(),n=f(r?.in||e,o.getTime());n.setMonth(o.getMonth()+t+1,0);let i=n.getDate();return a>=i?n:(o.setFullYear(n.getFullYear(),n.getMonth(),a),o)}var Zo={};function D(){return Zo}function y(e,t){let r=D(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=_(e,t?.in),n=a.getDay(),i=(n<o?7:0)+n-o;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function q(e,t){return y(e,{...t,weekStartsOn:1})}function Ce(e,t){let r=_(e,t?.in),o=r.getFullYear(),a=f(r,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);let n=q(a),i=f(r,0);i.setFullYear(o,0,4),i.setHours(0,0,0,0);let s=q(i);return r.getTime()>=n.getTime()?o+1:r.getTime()>=s.getTime()?o:o-1}function $e(e){let t=_(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function K(e,...t){let r=f.bind(null,e||t.find(o=>typeof o=="object"));return t.map(r)}function U(e,t){let r=_(e,t?.in);return r.setHours(0,0,0,0),r}function or(e,t,r){let[o,a]=K(r?.in,e,t),n=U(o),i=U(a),s=+n-$e(n),l=+i-$e(i);return Math.round((s-l)/tr)}function ar(e,t){let r=Ce(e,t),o=f(t?.in||e,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),q(o)}function Me(e,t,r){return J(e,t*7,r)}function nr(e){return f(e,Date.now())}function ie(e,t,r){let[o,a]=K(r?.in,e,t);return+U(o)==+U(a)}function ir(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sr(e){return!(!ir(e)&&typeof e!="number"||isNaN(+_(e)))}function Ge(e,t){let r=_(e,t?.in),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(23,59,59,999),r}function lr(e,t){let[r,o]=K(e,t.start,t.end);return{start:r,end:o}}function _r(e,t){let{start:r,end:o}=lr(t?.in,e),a=+r>+o,n=a?+r:+o,i=a?o:r;i.setHours(0,0,0,0);let s=t?.step??1;if(!s)return[];s<0&&(s=-s,a=!a);let l=[];for(;+i<=n;)l.push(f(r,i)),i.setDate(i.getDate()+s),i.setHours(0,0,0,0);return a?l.reverse():l}function dr(e,t){let r=_(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}function cr(e,t){let r=_(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Je(e,t){let r=D(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=_(e,t?.in),n=a.getDay(),i=(n<o?-7:0)+6-(n-o);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}var Xo={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mr=(e,t,r)=>{let o,a=Xo[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function V(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Qo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Go={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pr={date:V({formats:Qo,defaultWidth:"full"}),time:V({formats:$o,defaultWidth:"full"}),dateTime:V({formats:Go,defaultWidth:"full"})};var Jo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ur=(e,t,r,o)=>Jo[e];function k(e){return(t,r)=>{let o=r?.context?String(r.context):"standalone",a;if(o==="formatting"&&e.formattingValues){let i=e.defaultFormattingWidth||e.defaultWidth,s=r?.width?String(r.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{let i=e.defaultWidth,s=r?.width?String(r.width):e.defaultWidth;a=e.values[s]||e.values[i]}let n=e.argumentCallback?e.argumentCallback(t):t;return a[n]}}var Ko={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Uo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ea={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ta={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ra={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},aa=(e,t)=>{let r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},fr={ordinalNumber:aa,era:k({values:Ko,defaultWidth:"wide"}),quarter:k({values:Uo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:k({values:ea,defaultWidth:"wide"}),day:k({values:ta,defaultWidth:"wide"}),dayPeriod:k({values:ra,defaultWidth:"wide",formattingValues:oa,defaultFormattingWidth:"wide"})};function x(e){return(t,r={})=>{let o=r.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],n=t.match(a);if(!n)return null;let i=n[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?ia(s,m=>m.test(i)):na(s,m=>m.test(i)),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;let u=t.slice(i.length);return{value:c,rest:u}}}function na(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function ia(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function De(e){return(t,r={})=>{let o=t.match(e.matchPattern);if(!o)return null;let a=o[0],n=t.match(e.parsePattern);if(!n)return null;let i=e.valueCallback?e.valueCallback(n[0]):n[0];i=r.valueCallback?r.valueCallback(i):i;let s=t.slice(a.length);return{value:i,rest:s}}}var sa=/^(\d+)(th|st|nd|rd)?/i,la=/\d+/i,_a={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},da={any:[/^b/i,/^(a|c)/i]},ca={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ma={any:[/1/i,/2/i,/3/i,/4/i]},pa={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ua={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fa={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ha={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ga={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ba={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},hr={ordinalNumber:De({matchPattern:sa,parsePattern:la,valueCallback:e=>parseInt(e,10)}),era:x({matchPatterns:_a,defaultMatchWidth:"wide",parsePatterns:da,defaultParseWidth:"any"}),quarter:x({matchPatterns:ca,defaultMatchWidth:"wide",parsePatterns:ma,defaultParseWidth:"any",valueCallback:e=>e+1}),month:x({matchPatterns:pa,defaultMatchWidth:"wide",parsePatterns:ua,defaultParseWidth:"any"}),day:x({matchPatterns:fa,defaultMatchWidth:"wide",parsePatterns:ha,defaultParseWidth:"any"}),dayPeriod:x({matchPatterns:ga,defaultMatchWidth:"any",parsePatterns:ba,defaultParseWidth:"any"})};var Ke={code:"en-US",formatDistance:mr,formatLong:pr,formatRelative:ur,localize:fr,match:hr,options:{weekStartsOn:0,firstWeekContainsDate:1}};function gr(e,t){let r=_(e,t?.in);return or(r,cr(r))+1}function br(e,t){let r=_(e,t?.in),o=+q(r)-+ar(r);return Math.round(o/ke)+1}function Pe(e,t){let r=_(e,t?.in),o=r.getFullYear(),a=D(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=f(t?.in||e,0);i.setFullYear(o+1,0,n),i.setHours(0,0,0,0);let s=y(i,t),l=f(t?.in||e,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);let c=y(l,t);return+r>=+s?o+1:+r>=+c?o:o-1}function yr(e,t){let r=D(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Pe(e,t),n=f(t?.in||e,0);return n.setFullYear(a,0,o),n.setHours(0,0,0,0),y(n,t)}function wr(e,t){let r=_(e,t?.in),o=+y(r,t)-+yr(r,t);return Math.round(o/ke)+1}function d(e,t){let r=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return r+o}var L={y(e,t){let r=e.getFullYear(),o=r>0?r:1-r;return d(t==="yy"?o%100:o,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):d(r+1,2)},d(e,t){return d(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return d(e.getHours()%12||12,t.length)},H(e,t){return d(e.getHours(),t.length)},m(e,t){return d(e.getMinutes(),t.length)},s(e,t){return d(e.getSeconds(),t.length)},S(e,t){let r=t.length,o=e.getMilliseconds(),a=Math.trunc(o*Math.pow(10,r-3));return d(a,t.length)}};var ee={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ue={G:function(e,t,r){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let o=e.getFullYear(),a=o>0?o:1-o;return r.ordinalNumber(a,{unit:"year"})}return L.y(e,t)},Y:function(e,t,r,o){let a=Pe(e,o),n=a>0?a:1-a;if(t==="YY"){let i=n%100;return d(i,2)}return t==="Yo"?r.ordinalNumber(n,{unit:"year"}):d(n,t.length)},R:function(e,t){let r=Ce(e);return d(r,t.length)},u:function(e,t){let r=e.getFullYear();return d(r,t.length)},Q:function(e,t,r){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return d(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,r){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return d(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,r){let o=e.getMonth();switch(t){case"M":case"MM":return L.M(e,t);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,r){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return d(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){let a=wr(e,o);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):d(a,t.length)},I:function(e,t,r){let o=br(e);return t==="Io"?r.ordinalNumber(o,{unit:"week"}):d(o,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):L.d(e,t)},D:function(e,t,r){let o=gr(e);return t==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):d(o,t.length)},E:function(e,t,r){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,r,o){let a=e.getDay(),n=(a-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return d(n,2);case"eo":return r.ordinalNumber(n,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,o){let a=e.getDay(),n=(a-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return d(n,t.length);case"co":return r.ordinalNumber(n,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let o=e.getDay(),a=o===0?7:o;switch(t){case"i":return String(a);case"ii":return d(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,r){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){let o=e.getHours(),a;switch(o===12?a=ee.noon:o===0?a=ee.midnight:a=o/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let o=e.getHours(),a;switch(o>=17?a=ee.evening:o>=12?a=ee.afternoon:o>=4?a=ee.morning:a=ee.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return L.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):L.H(e,t)},K:function(e,t,r){let o=e.getHours()%12;return t==="Ko"?r.ordinalNumber(o,{unit:"hour"}):d(o,t.length)},k:function(e,t,r){let o=e.getHours();return o===0&&(o=24),t==="ko"?r.ordinalNumber(o,{unit:"hour"}):d(o,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):L.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):L.s(e,t)},S:function(e,t){return L.S(e,t)},X:function(e,t,r){let o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return kr(o);case"XXXX":case"XX":return A(o);case"XXXXX":case"XXX":default:return A(o,":")}},x:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"x":return kr(o);case"xxxx":case"xx":return A(o);case"xxxxx":case"xxx":default:return A(o,":")}},O:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+vr(o,":");case"OOOO":default:return"GMT"+A(o,":")}},z:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+vr(o,":");case"zzzz":default:return"GMT"+A(o,":")}},t:function(e,t,r){let o=Math.trunc(+e/1e3);return d(o,t.length)},T:function(e,t,r){return d(+e,t.length)}};function vr(e,t=""){let r=e>0?"-":"+",o=Math.abs(e),a=Math.trunc(o/60),n=o%60;return n===0?r+String(a):r+String(a)+t+d(n,2)}function kr(e,t){return e%60===0?(e>0?"-":"+")+d(Math.abs(e)/60,2):A(e,t)}function A(e,t=""){let r=e>0?"-":"+",o=Math.abs(e),a=d(Math.trunc(o/60),2),n=d(o%60,2);return r+a+t+n}var xr=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Cr=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ya=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return xr(e,t);let n;switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",xr(o,t)).replace("{{time}}",Cr(a,t))},Mr={p:Cr,P:ya};var wa=/^D+$/,va=/^Y+$/,ka=["D","DD","YY","YYYY"];function Dr(e){return wa.test(e)}function Pr(e){return va.test(e)}function Tr(e,t,r){let o=xa(e,t,r);if(console.warn(o),ka.includes(e))throw new RangeError(o)}function xa(e,t,r){let o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ca=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ma=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Da=/^'([^]*?)'?$/,Pa=/''/g,Ta=/[a-zA-Z]/;function se(e,t,r){let o=D(),a=r?.locale??o.locale??Ke,n=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,s=_(e,r?.in);if(!sr(s))throw new RangeError("Invalid time value");let l=t.match(Ma).map(u=>{let m=u[0];if(m==="p"||m==="P"){let b=Mr[m];return b(u,a.formatLong)}return u}).join("").match(Ca).map(u=>{if(u==="''")return{isToken:!1,value:"'"};let m=u[0];if(m==="'")return{isToken:!1,value:Sa(u)};if(Ue[m])return{isToken:!0,value:u};if(m.match(Ta))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:u}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));let c={firstWeekContainsDate:n,weekStartsOn:i,locale:a};return l.map(u=>{if(!u.isToken)return u.value;let m=u.value;(!r?.useAdditionalWeekYearTokens&&Pr(m)||!r?.useAdditionalDayOfYearTokens&&Dr(m))&&Tr(m,t,String(e));let b=Ue[m[0]];return b(s,m,a.localize,c)}).join("")}function Sa(e){let t=e.match(Da);return t?t[1].replace(Pa,"'"):e}function Sr(e){return+_(e)<Date.now()}function Lr(e,t){return ie(f(t?.in||e,e),nr(t?.in||e))}function Wr(e,t,r){return J(e,-t,r)}function Te(e,t,r){let o=_(e,r?.in);return o.setHours(t),o}function Se(e,t,r){return xe(e,-t,r)}function zr(e,t,r){return Me(e,-t,r)}function et(e){return Array.from({length:e},(t,r)=>r)}var le=["Domingo","Segunda","Ter\xE7a","Quarta","Quinta","Sexta","S\xE1bado"],Le=Array.from({length:16},(e,t)=>{let r=t+8;return{hour:r,label:`${r.toString().padStart(2,"0")}:00`}});function Ir(e){let t=e.getFullYear(),r=e.getMonth(),o=dr(e).getDay(),a=Ge(Se(e,1)).getDate(),n=Ge(e).getDate(),i=et(o).map(b=>{b+=1;let v=r-1,T=a-o+b,R=new Date(t,v,T);return{dayOfWeekNumber:R.getDay(),date:R,type:"month"}}),s=et(n).map(b=>{let v=b+1,M=new Date(t,r,v);return{dayOfWeekNumber:M.getDay(),date:M,type:"month"}}),l=7,c=o+n,u=l-c%l%l,m=et(u).map(b=>{let v=b+1,M=new Date(t,r+1,v);return{dayOfWeekNumber:M.getDay(),date:M,type:"month"}});return[...i,...s,...m]}function Or(e,t){return e.filter(r=>ie(r.eventDate,t))}function _e(e){return Lr(e)}function Vr(e){let t=y(e,{weekStartsOn:0}),r=Je(e,{weekStartsOn:0}),o=_r({start:t,end:r}),a=t.getDay(),n=le[a];return o.map(i=>({date:i,dayOfWeekNumber:a,dayOfWeekName:n,fullDate:i,type:"week"}))}function We(e,t,r){return e.filter(o=>ie(o.eventDate,t)&&o.eventDate.getHours()===r)}function Fr(e){let t=y(e,{weekStartsOn:0}),r=Je(e,{weekStartsOn:0});return{start:t,end:r}}import{createContext as La,use as Wa,useCallback as tt,useMemo as za,useState as rt}from"react";import{DndContext as Ia,closestCenter as Oa,useSensor as ot,useSensors as Va,PointerSensor as Fa,KeyboardSensor as Ea,MouseSensor as Na}from"@dnd-kit/core";import{sortableKeyboardCoordinates as Ha}from"@dnd-kit/sortable";import{jsx as Er}from"react/jsx-runtime";var Nr=La({events:[],calendarView:"month",selectedDate:new Date,activeEventId:null,disableEventCreationInPast:!0,renderEvent:()=>null,setSelectedDate:()=>{},handleChangeView:()=>{},onEventMove:()=>{},onAddEvent:()=>{}});function I_({children:e,events:t,calendarView:r="month",selectedDate:o=new Date,disableEventCreationInPast:a=!0,renderEvent:n,onEventMove:i,onAddEvent:s}){let[l,c]=rt(o),[u,m]=rt(r),[b,v]=rt(null),M=tt(S=>{c(new Date),m(S)},[]),T=Va(ot(Fa,{activationConstraint:{distance:8}}),ot(Ea,{coordinateGetter:Ha}),ot(Na,{activationConstraint:{distance:5,delay:250}})),R=tt(S=>{let be=S.active.id.toString();v(be)},[]),je=tt(S=>{let{active:be,over:Gt}=S;if(v(null),!be||!Gt||!i)return;let Io=be.id.toString(),Jt=Gt.data.current?.date;Jt&&i(Io,Jt)},[i]),Be=za(()=>({events:t,renderEvent:n,activeEventId:b,disableEventCreationInPast:a,selectedDate:l,setSelectedDate:c,calendarView:u,handleChangeView:M,onEventMove:i,onAddEvent:s}),[t,n,b,a,l,u,M,i,s]);return Er(Nr.Provider,{value:Be,children:Er(Ia,{collisionDetection:Oa,sensors:T,onDragEnd:je,onDragStart:R,children:e})})}function h(){let e=Wa(Nr);if(!e)throw new Error("useFullCalendar must be used within a CalendarRoot");return e}import{Fragment as bn,useMemo as zt}from"react";import{useDroppable as yn}from"@dnd-kit/core";import{cx as wn,tv as vn}from"@xjur-ui/util";import{Slot as Ra}from"@radix-ui/react-slot";import{cva as qa,cx as Aa}from"@xjur-ui/util";import{jsx as ja}from"react/jsx-runtime";var Ya=qa(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function W({asChild:e,className:t,variant:r="primary",size:o="md",appearance:a="solid",...n}){return ja(e?Ra:"button",{className:Aa(Ya({variant:r,appearance:a,size:o}),t),...n})}import{cx as eo}from"@xjur-ui/util";var Hr=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","stars-ia","audiencia","pericia","custom_contrato","filial","xfinder"];import{jsx as ze,jsxs as Ba}from"react/jsx-runtime";function at(){return Ba("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ze("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ze("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ze("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),ze("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as z,jsxs as Rr}from"react/jsx-runtime";function nt(){return Rr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Rr("g",{clipPath:"url(#clip0_21552_71650)",children:[z("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),z("defs",{children:z("clipPath",{id:"clip0_21552_71650",children:z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Ie,jsxs as Za}from"react/jsx-runtime";function it(){return Za("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ie("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ie("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ie("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ie("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Oe,jsxs as Xa}from"react/jsx-runtime";function st(){return Xa("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Oe("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Oe("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Oe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),Oe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as te,jsxs as Qa}from"react/jsx-runtime";function lt(){return Qa("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[te("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),te("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Ve,jsxs as $a}from"react/jsx-runtime";function _t(){return $a("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ve("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),Ve("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ve("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ve("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Y,jsxs as qr}from"react/jsx-runtime";function dt(){return qr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[qr("g",{clipPath:"url(#clip0_21559_72048)",children:[Y("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Y("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),Y("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Y("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),Y("defs",{children:Y("clipPath",{id:"clip0_21559_72048",children:Y("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as de,jsxs as Ar}from"react/jsx-runtime";function ct(){return Ar("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ar("g",{clipPath:"url(#clip0_21561_72217)",children:[de("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),de("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),de("defs",{children:de("clipPath",{id:"clip0_21561_72217",children:de("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as I,jsxs as Yr}from"react/jsx-runtime";function mt(){return Yr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Yr("g",{clipPath:"url(#clip0_21563_1851)",children:[I("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),I("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),I("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),I("defs",{children:I("clipPath",{id:"clip0_21563_1851",children:I("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as F,jsxs as jr}from"react/jsx-runtime";function pt(){return jr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[jr("g",{clipPath:"url(#clip0_21561_72299)",children:[F("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),F("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),F("defs",{children:F("clipPath",{id:"clip0_21561_72299",children:F("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as re,jsxs as Br}from"react/jsx-runtime";function ut(){return Br("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Br("g",{clipPath:"url(#clip0_21561_73080)",children:[re("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),re("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),re("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),re("defs",{children:re("clipPath",{id:"clip0_21561_73080",children:re("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as j,jsxs as Zr}from"react/jsx-runtime";function ft(){return Zr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Zr("g",{clipPath:"url(#clip0_21559_72026)",children:[j("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),j("defs",{children:j("clipPath",{id:"clip0_21559_72026",children:j("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as E,jsxs as ht}from"react/jsx-runtime";function gt(){return ht("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ht("g",{clipPath:"url(#clip0_21656_82540)",children:[E("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:E("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),ht("g",{mask:"url(#mask0_21656_82540)",children:[E("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),E("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),E("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#69697A"})]})]}),E("defs",{children:E("clipPath",{id:"clip0_21656_82540",children:E("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as ce,jsxs as Xr}from"react/jsx-runtime";function bt(){return Xr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Xr("g",{clipPath:"url(#clip0_21595_70787)",children:[ce("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),ce("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),ce("defs",{children:ce("clipPath",{id:"clip0_21595_70787",children:ce("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Qr}from"react/jsx-runtime";function yt(){return Qr("svg",{fill:"currentColor",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:Qr("path",{d:"M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.73 1.73 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.73 1.73 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.73 1.73 0 0 0 3.407 2.31zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.16 1.16 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.16 1.16 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732z"})})}import{jsx as Fe,jsxs as Ga}from"react/jsx-runtime";function wt(){return Ga("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),Fe("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),Fe("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),Fe("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as me,jsxs as $r}from"react/jsx-runtime";function vt(){return $r("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[$r("g",{clipPath:"url(#clip0_21669_68418)",children:[me("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),me("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),me("defs",{children:me("clipPath",{id:"clip0_21669_68418",children:me("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as Gr,jsxs as Ja}from"react/jsx-runtime";function kt(){return Ja("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Gr("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),Gr("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as Jr,jsxs as Ka}from"react/jsx-runtime";function xt(){return Ka("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Jr("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),Jr("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as B,jsxs as Kr}from"react/jsx-runtime";function Ct(){return Kr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Kr("g",{clipPath:"url(#clip0_21866_73367)",children:[B("path",{d:"M7.69235 13.7928L8.89891 12.587",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M7.41279 11.1021L6.20627 12.3077",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.89727 11.9989L8.00135 14.1015L3.53495 18.5647C2.95422 19.145 2.0131 19.145 1.43237 18.5647C0.851054 17.9838 0.851054 17.0416 1.43237 16.4606L5.89727 11.9989Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M19.0036 7.35576C19.0049 10.8647 16.1613 13.7083 12.6523 13.707C9.14337 13.7058 6.29779 10.8602 6.29654 7.35128C6.29529 3.84234 9.13888 0.998751 12.6478 1C16.1568 1.00125 19.0024 3.84679 19.0036 7.35576Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),B("defs",{children:B("clipPath",{id:"clip0_21866_73367",children:B("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as g}from"react/jsx-runtime";function Ur({name:e}){switch(e){case"agenda":return g(at,{});case"contencioso":return g(st,{});case"contrato":return g(lt,{});case"consultivo":return g(it,{});case"xsigner":return g(ft,{});case"procuracao":return g(mt,{});case"xpay":return g(ut,{});case"imobiliario":return g(dt,{});case"marcasepatentes":return g(ct,{});case"ged":return g(_t,{});case"regulatorio":return g(pt,{});case"compliance":return g(nt,{});case"xlearning":return g(gt,{});case"societario":return g(bt,{});case"stars-ia":return g(yt,{});case"audiencia":return g(wt,{});case"pericia":return g(vt,{});case"custom_contrato":return g(kt,{});case"filial":return g(xt,{});case"xfinder":return g(Ct,{});default:return null}}import{jsx as Mt}from"react/jsx-runtime";function Z({className:e,filled:t=!1,name:r,...o}){return Hr.includes(r)?Mt("span",{...o,className:eo("inline-flex select-none",e),children:Mt(Ur,{name:r})}):Mt("span",{...o,className:eo("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{Fragment as gn}from"react/jsx-runtime";import"react";import*as to from"@radix-ui/react-dropdown-menu";import{jsx as Ua}from"react/jsx-runtime";function Dt({...e}){return Ua(to.Root,{"data-slot":"dropdown-menu",...e})}import*as ro from"@radix-ui/react-dropdown-menu";import{jsx as en}from"react/jsx-runtime";function Pt({...e}){return en(ro.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as Ne from"@radix-ui/react-dropdown-menu";import{cx as un}from"@xjur-ui/util";import{Slot as rn}from"@radix-ui/react-slot";import{cx as on}from"@xjur-ui/util";import{useVirtualizer as an}from"@tanstack/react-virtual";import{useRef as nn}from"react";import{createContext as tn}from"react";var pe=tn({virtualizer:null,enabled:!1});import{jsx as oo}from"react/jsx-runtime";function ue({className:e,asChild:t,children:r,virtualized:o=!1,itemCount:a=0,estimateSize:n=()=>48,overscan:i=5,...s}){let l=t?rn:"div",c=nn(null),u=an({count:a,getScrollElement:()=>c.current,estimateSize:n,overscan:i,enabled:o});return oo(pe.Provider,{value:{virtualizer:u,enabled:o},children:oo(l,{...s,className:on(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:c,children:r})})}import{Slot as gc}from"@radix-ui/react-slot";import{cx as yc}from"@xjur-ui/util";import{jsx as vc}from"react/jsx-runtime";import{cx as Cc}from"@xjur-ui/util";import{jsx as Pc}from"react/jsx-runtime";import{Slot as sn}from"@radix-ui/react-slot";import{cx as ao}from"@xjur-ui/util";import{useContext as ln}from"react";import{jsx as Tt}from"react/jsx-runtime";function fe({className:e,asChild:t,children:r,renderItem:o,...a}){let n=t?sn:"ul",{virtualizer:i,enabled:s}=ln(pe);if(s&&i&&o){let l=i.getVirtualItems();return Tt(n,{...a,className:ao("p-small relative flex flex-col",e),style:{height:`${i.getTotalSize()}px`},children:l.map(c=>Tt("div",{className:"absolute top-0 left-0 w-full","data-index":c.index,ref:i.measureElement,style:{transform:`translateY(${c.start}px)`},children:o(c.index)},c.key))})}return Tt(n,{...a,className:ao("gap-small-1x p-small flex flex-col",e),children:r})}import{Slot as _n}from"@radix-ui/react-slot";import{cx as dn,cva as cn}from"@xjur-ui/util";import{jsx as pn}from"react/jsx-runtime";var mn=cn(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function Ee({className:e,size:t,isActive:r,asChild:o,...a}){return pn(o?_n:"li",{...a,className:dn(mn({size:t,isActive:r}),e)})}import{jsx as St}from"react/jsx-runtime";function Lt({className:e,sideOffset:t=4,align:r="start",side:o="bottom",children:a,...n}){return St(Ne.Portal,{children:St(Ne.Content,{align:r,className:un("group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)]",e),"data-slot":"dropdown-menu-content",side:o,sideOffset:t,...n,children:St(ue,{children:a})})})}import{jsx as fn}from"react/jsx-runtime";function Wt({...e}){return fn(fe,{...e})}import{jsx as tm}from"react/jsx-runtime";import{cx as cm}from"@xjur-ui/util";import"react";import*as hn from"@radix-ui/react-separator";import{cx as nm}from"@xjur-ui/util";import{jsx as sm}from"react/jsx-runtime";import{jsx as hm}from"react/jsx-runtime";import{jsx as He,jsxs as so}from"react/jsx-runtime";function lo({events:e}){let{renderEvent:t}=h();return so(Dt,{children:[He(Pt,{asChild:!0,children:so(W,{size:"sm",variant:"outlined",children:["Mais ",e.length]})}),He(Lt,{className:"w-[240px]",children:He(Wt,{children:e.map(r=>He(gn,{children:t?.(r)},r.eventDate.toISOString()))})})]})}import{jsx as O,jsxs as It}from"react/jsx-runtime";var kn=vn({base:"group/calendar-cell p-small flex flex-col gap-small-1x w-full bg-layer-2-idle ",variants:{type:{month:"h-[212px]",week:"min-h-[64px] max-h-[212px]",day:"min-h-[64px] max-h-[212px]"}}});function oe({cell:e,events:t}){let{date:r,type:o}=e,{renderEvent:a,activeEventId:n,onAddEvent:i,disableEventCreationInPast:s}=h(),l=zt(()=>t.slice(0,2),[t]),c=t.length>=3,{isOver:u,setNodeRef:m}=yn({id:`calendar-cell-${o}-${r.toISOString()}`,data:{date:r,type:o}}),b=zt(()=>{let T=t.find(S=>S.id===n);if(!T)return!1;let R=S=>S.toLocaleDateString("pt-BR",{year:"numeric",month:"2-digit",day:"2-digit"}),je=R(r),Be=R(T.eventDate);return je===Be},[n,r,t]),v=kn({type:o}),M=zt(()=>s&&Sr(r)&&!_e(r),[s,r]);return It("div",{className:v,"data-slot":"calendar-cell",ref:m,children:[o==="month"&&O("div",{className:"flex items-center justify-center",children:O("div",{className:wn("size-large-2x rounded-circle bg-layer-2-idle flex items-center justify-center",_e(r)&&"bg-primary-idle text-neutral-label"),children:O(p,{size:"sm",variant:"label",weight:"medium",children:e.date.getDate()})})}),It("div",{className:"gap-small-1x flex flex-col",children:[l.map(T=>O(bn,{children:a(T)},T.id)),u&&l.length<2&&!b&&O("div",{className:"border-border-layer-4 rounded-small-2x h-[68px] w-full border border-dashed"})]}),It("div",{className:"mt-auto flex items-center justify-between",children:[c&&O(lo,{events:t.slice(2)}),i&&!M&&O("div",{className:"invisible ml-auto transition-opacity duration-100 ease-in-out group-hover/calendar-cell:visible",children:O(W,{size:"icon_sm",variant:"outlined",onClick:()=>i(r),children:O(Z,{className:"text-icon-neutral-3",name:"add"})})})]})]})}import{jsx as ae,jsxs as Mn}from"react/jsx-runtime";function Ot(){let{selectedDate:e,events:t}=h(),r=Cn(()=>Ir(e),[e]),o=xn(a=>Or(t,a.date),[t]);return Mn("div",{className:"rounded-small-1x scrollbar-hide border-border-layer-2 h-full w-full border",children:[ae("div",{className:"bg-layer-2-hover h-large-4x rounded-t-small-1x sticky top-0 grid grid-cols-7","data-slot":"month-header",children:le.map(a=>ae("div",{className:_o("p-small b border-border-layer-2 flex items-center justify-center border-r last:border-r-0"),"data-slot":"month-header-weekday",children:ae(p,{size:"sm",variant:"label",weight:"medium",children:a})},a))}),ae("div",{className:"grid h-full grid-cols-7 overflow-hidden","data-slot":"month-day-cells",children:r.map((a,n)=>{let i=(n+1)%7===0,s=(n+1)%7===1;return ae("div",{className:_o("border-border-layer-2 border-t border-r",i&&"pr-small-2x border-r-0",s&&"pl-small-2x"),children:ae(oe,{cell:a,events:o(a)})},`${a.date.toISOString()}-${n}`)})})]})}import{useCallback as co,useMemo as Pn}from"react";import{cx as mo}from"@xjur-ui/util";import{cx as Vt}from"@xjur-ui/util";import{jsx as Ft,jsxs as Dn}from"react/jsx-runtime";function Re({date:e,className:t,...r}){let o=_e(e),a=e.getDate();return Dn("div",{className:Vt("p-small gap-small-1x flex w-full flex-1 flex-col items-center",t),"data-slot":"week-day",...r,children:[Ft(p,{size:"sm",variant:"label",weight:"medium",children:le[e.getDay()]}),Ft("div",{className:Vt("size-large-2x rounded-circle flex items-center justify-center",o&&"bg-primary-idle"),children:Ft(p,{className:Vt(o&&"text-neutral-label"),size:"sm-1x",variant:"label",weight:"medium",children:a})})]},e.toISOString())}import{jsx as N,jsxs as po}from"react/jsx-runtime";function uo(){let{selectedDate:e,events:t}=h(),r=Pn(()=>Vr(e),[e]),o=co((n,i)=>We(t,n,i),[t]),a=co((n,i)=>({...n,date:Te(n.date,i)}),[]);return N("div",{className:"bg-layer-2-hover rounded-small-1x border-border-layer-2 scrollbar-hide h-full w-full border",children:po("div",{className:"flex flex-1 flex-col",children:[N("div",{className:mo("bg-layer-2-hover sticky top-0 grid [grid-template-columns:64px_repeat(7,1fr)]","[&>*]:border-border-layer-2","[&>*]:border-l"),"data-slot":"week-header",children:r.map((n,i)=>N(Re,{date:n.date,style:{gridColumnStart:i+2}},n.date.getDay()))}),N("div",{className:"overflow-hidden",children:Le.map(({hour:n,label:i})=>po("div",{className:"flex items-start",children:[N("div",{className:"px-small flex h-full w-[64px] items-start justify-end",children:N(p,{size:"sm-1x",variant:"label",weight:"medium",children:i})}),N("div",{className:mo("grid flex-1 grid-cols-7","[&>*]:border-border-layer-2","[&>*]:border-t","[&>*]:border-l"),children:r.map(s=>N(oe,{cell:a(s,n),events:o(s.date,n)},s.date.toISOString()))})]},n))})]})})}import{useCallback as fo}from"react";import{cx as Tn}from"@xjur-ui/util";import{jsx as H,jsxs as Et}from"react/jsx-runtime";function ho(){let{selectedDate:e,events:t}=h(),r=fo((a,n)=>We(t,a,n),[t]),o=fo((a,n)=>({...a,date:Te(a.date,n)}),[]);return H("div",{className:"bg-layer-2-hover rounded-small-1x border-border-layer-2 scrollbar-hide h-full w-full border",children:Et("div",{className:"flex flex-1 flex-col",children:[Et("div",{className:"bg-layer-2-hover sticky top-0 z-10 flex w-full","data-slot":"week-header",children:[H("div",{className:"w-[64px]"}),H(Re,{className:"border-border-layer-2 items-start border-l",date:e})]}),H("div",{className:"overflow-hidden",children:Le.map(({hour:a,label:n})=>Et("div",{className:"flex items-start",children:[H("div",{className:"px-small flex h-full w-[64px] items-start justify-end",children:H(p,{size:"sm-1x",variant:"label",weight:"medium",children:n})}),H("div",{className:Tn("flex flex-1","[&>*]:border-border-layer-2","[&>*]:border-t","[&>*]:border-l"),children:H(oe,{cell:o({date:e,type:"day"},a),events:r(e,a)})})]},a))})]})})}import{jsx as qe}from"react/jsx-runtime";function Wp(){let{calendarView:e}=h();switch(e){case"month":return qe(Ot,{});case"week":return qe(uo,{});case"day":return qe(ho,{});default:return qe(Ot,{})}}import{useCallback as ko,useMemo as Un}from"react";var Sn={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xEAs",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},go=(e,t,r)=>{let o,a=Sn[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",String(t)),r?.addSuffix?r.comparison&&r.comparison>0?"em "+o:"h\xE1 "+o:o};var Ln={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},Wn={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},zn={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bo={date:V({formats:Ln,defaultWidth:"full"}),time:V({formats:Wn,defaultWidth:"full"}),dateTime:V({formats:zn,defaultWidth:"full"})};var In={lastWeek:e=>{let t=e.getDay();return"'"+(t===0||t===6?"\xFAltimo":"\xFAltima")+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"},yo=(e,t,r,o)=>{let a=In[e];return typeof a=="function"?a(t):a};var On={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},Vn={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},Fn={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},En={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xE7a","quarta","quinta","sexta","s\xE1bado"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},Nn={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"}},Hn={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},Rn=(e,t)=>{let r=Number(e);return t?.unit==="week"?r+"\xAA":r+"\xBA"},wo={ordinalNumber:Rn,era:k({values:On,defaultWidth:"wide"}),quarter:k({values:Vn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:k({values:Fn,defaultWidth:"wide"}),day:k({values:En,defaultWidth:"wide"}),dayPeriod:k({values:Nn,defaultWidth:"wide",formattingValues:Hn,defaultFormattingWidth:"wide"})};var qn=/^(\d+)[ºªo]?/i,An=/\d+/i,Yn={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},jn={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Bn={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Zn={any:[/1/i,/2/i,/3/i,/4/i]},Xn={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},Qn={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},$n={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},Gn={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},Jn={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},Kn={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},vo={ordinalNumber:De({matchPattern:qn,parsePattern:An,valueCallback:e=>parseInt(e,10)}),era:x({matchPatterns:Yn,defaultMatchWidth:"wide",parsePatterns:jn,defaultParseWidth:"any"}),quarter:x({matchPatterns:Bn,defaultMatchWidth:"wide",parsePatterns:Zn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:x({matchPatterns:Xn,defaultMatchWidth:"wide",parsePatterns:Qn,defaultParseWidth:"any"}),day:x({matchPatterns:$n,defaultMatchWidth:"wide",parsePatterns:Gn,defaultParseWidth:"any"}),dayPeriod:x({matchPatterns:Jn,defaultMatchWidth:"any",parsePatterns:Kn,defaultParseWidth:"any"})};var he={code:"pt-BR",formatDistance:go,formatLong:bo,formatRelative:yo,localize:wo,match:vo,options:{weekStartsOn:0,firstWeekContainsDate:1}};import{capitalize as ei}from"@xjur-ui/util";import{jsx as ge,jsxs as xo}from"react/jsx-runtime";function au(){let{selectedDate:e,calendarView:t,setSelectedDate:r}=h(),o=Un(()=>{if(t==="month")return ei(se(e,"MMMM 'de' yyyy",{locale:he}));if(t==="week"){let{start:i,end:s}=Fr(e),l=se(s,"MMMM",{locale:he}),c=se(s,"yyyy",{locale:he});return`${i.getDate()} - ${s.getDate()} de ${l} de ${c}`}return se(e,"dd 'de' MMMM 'de' yyyy",{locale:he})},[e,t]),a=ko(()=>{if(t==="month"){r(xe(e,1));return}if(t==="week"){let s=y(Me(e,1));r(s);return}let i=J(e,1);r(i)},[e,r,t]),n=ko(()=>{if(t==="month"){r(Se(e,1));return}t==="week"&&r(zr(e,1)),r(Wr(e,1))},[e,r,t]);return xo("div",{className:"gap-large flex items-center",children:[ge(p,{className:"text-title-neutral",size:"lg",variant:"title",children:o}),xo("div",{className:"gap-small flex items-center",children:[ge(W,{size:"icon_md",variant:"tertiary",onClick:n,children:ge(Z,{className:"text-icon-neutral-3",name:"chevron_left"})}),ge(W,{size:"icon_md",variant:"tertiary",onClick:a,children:ge(Z,{className:"text-icon-neutral-3",name:"chevron_right"})})]})]})}import*as Co from"@radix-ui/react-popover";import{createContext as ti,useContext as ri}from"react";var Nt=ti({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function w(){let e=ri(Nt);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as oi}from"@xjur-ui/util";var C=oi({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Ht}from"react/jsx-runtime";var{wrapper:ai}=C();function Rt({className:e,state:t="normal",defaultOpen:r,variant:o="normal",modal:a,open:n,onOpenChange:i,...s}){return Ht(Co.Root,{defaultOpen:r,modal:a,open:n,onOpenChange:i,children:Ht(Nt.Provider,{value:{state:t,variant:o},children:Ht("div",{className:ai({className:e,state:t}),...s})})})}import{tv as ni,twMerge as ii}from"@xjur-ui/util";import*as Mo from"@radix-ui/react-popover";import{jsx as li}from"react/jsx-runtime";var{trigger:si}=C();function qt({className:e,...t}){let{state:r,variant:o}=w(),a=ni({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=ii(si({state:r,className:e}),o==="filter"&&a({state:r,className:e}));return li(Mo.Trigger,{className:n,disabled:r==="disabled",...t})}import{jsx as Do}from"react/jsx-runtime";var{icon:_i}=C();function At({className:e,name:t,orientation:r="left",...o}){let{state:a}=w();return Do("div",{className:_i({className:e,state:a}),"data-slot":`control-${r}-slot`,...o,children:Do(Z,{name:t})})}import{twJoin as ci}from"@xjur-ui/util";import{useMemo as mi}from"react";import{tv as di}from"@xjur-ui/util";import{jsx as Po}from"react/jsx-runtime";function Yt({className:e,htmlFor:t,children:r,...o}){let{state:a}=w(),n=di({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return Po("label",{className:n({className:e,state:a}),htmlFor:t,...o,children:Po("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:r})})}import{jsx as Ae,jsxs as pi}from"react/jsx-runtime";function jt({className:e,value:t,placeholder:r,renderValue:o,...a}){let{variant:n}=w(),i=mi(()=>{let s=o?o(t??""):typeof t=="object"?t?.label:t;return n==="filter"?s:s||r},[t,r,n,o]);return pi("div",{className:"grid w-full items-center",children:[r&&n==="filter"&&Ae(Yt,{children:r}),r&&n==="filter"&&Ae(p,{className:"invisible col-start-1 row-start-1 self-center",children:r}),Ae(p,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:i}),Ae("input",{...a,"aria-readonly":!0,className:ci("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as Eu}from"@xjur-ui/util";import{Fragment as Hu,useMemo as Ru}from"react";import{jsx as Bu,jsxs as Zu}from"react/jsx-runtime";import*as Ye from"@radix-ui/react-popover";import{jsx as Bt}from"react/jsx-runtime";var{content:ui}=C();function Zt({className:e,sideOffset:t=5,side:r="bottom",align:o="start",children:a,virtualized:n=!1,overscan:i=5,estimateSize:s=()=>32,...l}){let{state:c}=w();return Bt(Ye.Portal,{children:Bt(Ye.Content,{align:o,className:ui({className:e,state:c}),side:r,sideOffset:t,...l,children:Bt(ue,{estimateSize:s,overscan:i,virtualized:n,children:a})})})}import{jsx as o1}from"react/jsx-runtime";var{caption:t1}=C();import{jsx as _1}from"react/jsx-runtime";var{slotText:s1}=C();import{jsx as fi}from"react/jsx-runtime";function Xt(e){return fi(fe,{...e})}import{twMerge as hi}from"@xjur-ui/util";import*as So from"@radix-ui/react-popover";import{jsx as To}from"react/jsx-runtime";function Qt({className:e,value:t,closeOnSelect:r=!0,...o}){let a=To(Ee,{className:hi(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...o});return r?To(So.Close,{asChild:!0,children:a}):a}import{twMerge as gi}from"@xjur-ui/util";import{jsx as bi}from"react/jsx-runtime";function $t({className:e,...t}){return bi(Xe,{className:gi(e,"truncate"),...t})}import{jsx as C1}from"react/jsx-runtime";import{jsx as T1}from"react/jsx-runtime";import{Close as G1}from"@radix-ui/react-popover";import{jsx as X,jsxs as Wo}from"react/jsx-runtime";var Lo=[{name:"M\xEAs",value:"month"},{name:"Semana",value:"week"},{name:"Dia",value:"day"}];function U1(){let{calendarView:e,handleChangeView:t}=h();return X("div",{className:"w-[94px]",children:Wo(Rt,{children:[Wo(qt,{children:[X(jt,{name:"calendar-toggle-view",renderValue:r=>Lo.find(o=>o.value===r)?.name??"",value:e}),X(At,{className:"text-icon-neutral-3",name:"keyboard_arrow_down"})]}),X(Zt,{children:X(Xt,{children:Lo.map(r=>X(Qt,{isActive:e===r.value,value:r.value,onClick:()=>t(r.value),children:X($t,{children:r.name})},r.value))})})]})})}import{cx as yi}from"@xjur-ui/util";import{jsx as wi}from"react/jsx-runtime";function of({className:e,...t}){return wi("div",{...t,className:yi(e,"gap-medium h-large-4x flex w-full items-center")})}import{cx as vi}from"@xjur-ui/util";import{jsx as ki}from"react/jsx-runtime";function lf({className:e,...t}){return ki("div",{className:vi(e,"gap-large-2x p-large flex flex-col"),"data-slot":"calendar-body",...t})}import{cx as ne,tv as xi}from"@xjur-ui/util";import{useDraggable as Ci}from"@dnd-kit/core";import{jsx as P,jsxs as zo}from"react/jsx-runtime";var Mi=xi({base:"py-small_1x-alt pr-small pl-medium rounded-small-2x transition-colors duration-100 ease-out",variants:{status:{pending:"bg-layer-2-hover border-l-2 border-border-layer-4 hover:bg-layer-2-pressed active:bg-layer-2-active",completed:"bg-success-alt-idle border-l-2 border-success-idle hover:bg-success-alt-hover active:bg-success-alt-pressed",cancelled:"bg-danger-alt-idle border-l-2 border-danger-idle hover:bg-danger-alt-hover active:bg-danger-alt-pressed"}},defaultVariants:{status:"pending"}});function hf({event:e,disabled:t=!1,status:r="pending",className:o,children:a,...n}){let{onEventMove:i}=h(),s=t||!i,{attributes:l,listeners:c,setNodeRef:u,transform:m,isDragging:b}=Ci({id:e.id,disabled:s,data:{event:e,type:"calendar-event"}}),v=m?{transform:`translate3d(${m.x}px, ${m.y}px, 0)`}:void 0;return P("div",{className:ne(t&&"pointer-events-none","cursor-pointer active:cursor-grabbing",b&&"z-1000 -rotate-2",Mi({status:r}),o),"data-draggable-event-id":e.id,"data-slot":"calendar-event",ref:u,style:v,...c,...l,...n,children:a})}function gf({size:e="sm",variant:t="label",weight:r="medium",className:o,...a}){let{activeEventId:n}=h();return n!==null?P(p,{className:ne(o,"text-title-neutral truncate"),size:e,variant:t,weight:r,...a}):zo(Q,{delayDuration:500,children:[P($,{asChild:!0,children:P(p,{className:ne(o,"text-title-neutral truncate"),size:e,variant:t,weight:r,...a})}),P(G,{className:"max-w-[320px]",children:a.children})]})}function bf({size:e="sm-1x",variant:t="body",weight:r="normal",className:o,...a}){let{activeEventId:n}=h();return n!==null?P(p,{className:ne(o,"truncate"),size:e,variant:t,weight:r,...a}):zo(Q,{delayDuration:500,children:[P($,{asChild:!0,children:P(p,{className:ne(o,"truncate"),size:e,variant:t,weight:r,...a})}),P(G,{className:"max-w-[320px]",children:a.children})]})}function yf({variant:e="body",size:t="sm-1x",weight:r="normal",className:o,...a}){return P(p,{className:ne(o,"truncate"),size:t,variant:e,weight:r,...a})}import{useCallback as Di}from"react";import{jsx as Pi}from"react/jsx-runtime";function Mf({children:e="Hoje",variant:t="tertiary",...r}){let{setSelectedDate:o}=h(),a=Di(()=>{o(new Date)},[o]);return Pi(W,{variant:t,onClick:a,...r,children:e})}export{lf as CalendarBody,hf as CalendarEvent,bf as CalendarEventDescription,yf as CalendarEventStatus,gf as CalendarEventTitle,of as CalendarHeader,Ot as CalendarMonthView,au as CalendarNavigator,I_ as CalendarRoot,Mf as CalendarTodayButton,U1 as CalendarToggleView,Wp as CalendarViewRenderer,uo as CalendarWeekView,h as useFullCalendar};
1
+ import{useCallback as Tn,useMemo as Sn}from"react";import{cx as uo}from"@xjur-ui/util";import{Slot as Ro}from"@radix-ui/react-slot";import{cva as Ao}from"@xjur-ui/util";import{memo as ar,useState as Yo}from"react";import*as we from"@radix-ui/react-tooltip";import{jsx as Xe}from"react/jsx-runtime";function Ho({delayDuration:e=0,...t}){return Xe(we.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function Q({...e}){return Xe(Ho,{children:Xe(we.Root,{"data-slot":"tooltip",...e})})}import*as rr from"@radix-ui/react-tooltip";import{jsx as No}from"react/jsx-runtime";function $({...e}){return No(rr.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as ve from"@radix-ui/react-tooltip";import{cx as qo}from"@xjur-ui/util";import{jsx as or}from"react/jsx-runtime";function G({className:e,sideOffset:t=1,variant:r="simple",children:o,...a}){return or(ve.Portal,{children:or(ve.Content,{className:qo("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":r,sideOffset:t,...a,children:o})})}import{jsx as ke,jsxs as Bo}from"react/jsx-runtime";var jo=Ao("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),p=ar(({variant:e,size:t,weight:r,asChild:o,className:a,children:n,...i})=>ke(o?Ro:"span",{className:jo({variant:e,size:t,weight:r,className:a}),...i,children:n}));p.displayName="Typography";var Qe=ar(({children:e,...t})=>{let[r,o]=Yo(!1);return Bo(Q,{children:[ke($,{asChild:!0,children:ke(p,{onMouseEnter:({currentTarget:n})=>{let i=n.scrollWidth>n.clientWidth;o(i),i?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),r&&ke(G,{children:e})]})});Qe.displayName="TruncatedTypography";var Zo=Math.pow(10,8)*24*60*60*1e3,Ji=-Zo,xe=6048e5,nr=864e5;var Xo=3600;var ir=Xo*24,Ki=ir*7,Qo=ir*365.2425,$o=Qo/12,Ui=$o*3,$e=Symbol.for("constructDateFrom");function f(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&$e in e?e[$e](t):e instanceof Date?new e.constructor(t):new Date(t)}function _(e,t){return f(t||e,e)}function J(e,t,r){let o=_(e,r?.in);return isNaN(t)?f(r?.in||e,NaN):(t&&o.setDate(o.getDate()+t),o)}function Ce(e,t,r){let o=_(e,r?.in);if(isNaN(t))return f(r?.in||e,NaN);if(!t)return o;let a=o.getDate(),n=f(r?.in||e,o.getTime());n.setMonth(o.getMonth()+t+1,0);let i=n.getDate();return a>=i?n:(o.setFullYear(n.getFullYear(),n.getMonth(),a),o)}var Go={};function D(){return Go}function y(e,t){let r=D(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=_(e,t?.in),n=a.getDay(),i=(n<o?7:0)+n-o;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function R(e,t){return y(e,{...t,weekStartsOn:1})}function Me(e,t){let r=_(e,t?.in),o=r.getFullYear(),a=f(r,0);a.setFullYear(o+1,0,4),a.setHours(0,0,0,0);let n=R(a),i=f(r,0);i.setFullYear(o,0,4),i.setHours(0,0,0,0);let s=R(i);return r.getTime()>=n.getTime()?o+1:r.getTime()>=s.getTime()?o:o-1}function Ge(e){let t=_(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function K(e,...t){let r=f.bind(null,e||t.find(o=>typeof o=="object"));return t.map(r)}function U(e,t){let r=_(e,t?.in);return r.setHours(0,0,0,0),r}function sr(e,t,r){let[o,a]=K(r?.in,e,t),n=U(o),i=U(a),s=+n-Ge(n),l=+i-Ge(i);return Math.round((s-l)/nr)}function lr(e,t){let r=Me(e,t),o=f(t?.in||e,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),R(o)}function De(e,t,r){return J(e,t*7,r)}function _r(e){return f(e,Date.now())}function ie(e,t,r){let[o,a]=K(r?.in,e,t);return+U(o)==+U(a)}function dr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function cr(e){return!(!dr(e)&&typeof e!="number"||isNaN(+_(e)))}function Je(e,t){let r=_(e,t?.in),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(23,59,59,999),r}function mr(e,t){let[r,o]=K(e,t.start,t.end);return{start:r,end:o}}function pr(e,t){let{start:r,end:o}=mr(t?.in,e),a=+r>+o,n=a?+r:+o,i=a?o:r;i.setHours(0,0,0,0);let s=t?.step??1;if(!s)return[];s<0&&(s=-s,a=!a);let l=[];for(;+i<=n;)l.push(f(r,i)),i.setDate(i.getDate()+s),i.setHours(0,0,0,0);return a?l.reverse():l}function ur(e,t){let r=_(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}function fr(e,t){let r=_(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Ke(e,t){let r=D(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=_(e,t?.in),n=a.getDay(),i=(n<o?-7:0)+6-(n-o);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}var Jo={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hr=(e,t,r)=>{let o,a=Jo[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function V(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Ko={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Uo={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ea={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gr={date:V({formats:Ko,defaultWidth:"full"}),time:V({formats:Uo,defaultWidth:"full"}),dateTime:V({formats:ea,defaultWidth:"full"})};var ta={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},br=(e,t,r,o)=>ta[e];function k(e){return(t,r)=>{let o=r?.context?String(r.context):"standalone",a;if(o==="formatting"&&e.formattingValues){let i=e.defaultFormattingWidth||e.defaultWidth,s=r?.width?String(r.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{let i=e.defaultWidth,s=r?.width?String(r.width):e.defaultWidth;a=e.values[s]||e.values[i]}let n=e.argumentCallback?e.argumentCallback(t):t;return a[n]}}var ra={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},aa={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},na={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ia={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},sa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},la=(e,t)=>{let r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},yr={ordinalNumber:la,era:k({values:ra,defaultWidth:"wide"}),quarter:k({values:oa,defaultWidth:"wide",argumentCallback:e=>e-1}),month:k({values:aa,defaultWidth:"wide"}),day:k({values:na,defaultWidth:"wide"}),dayPeriod:k({values:ia,defaultWidth:"wide",formattingValues:sa,defaultFormattingWidth:"wide"})};function x(e){return(t,r={})=>{let o=r.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],n=t.match(a);if(!n)return null;let i=n[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?da(s,m=>m.test(i)):_a(s,m=>m.test(i)),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;let u=t.slice(i.length);return{value:c,rest:u}}}function _a(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function da(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Pe(e){return(t,r={})=>{let o=t.match(e.matchPattern);if(!o)return null;let a=o[0],n=t.match(e.parsePattern);if(!n)return null;let i=e.valueCallback?e.valueCallback(n[0]):n[0];i=r.valueCallback?r.valueCallback(i):i;let s=t.slice(a.length);return{value:i,rest:s}}}var ca=/^(\d+)(th|st|nd|rd)?/i,ma=/\d+/i,pa={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ua={any:[/^b/i,/^(a|c)/i]},fa={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ha={any:[/1/i,/2/i,/3/i,/4/i]},ga={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ba={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ya={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},wa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},va={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ka={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},wr={ordinalNumber:Pe({matchPattern:ca,parsePattern:ma,valueCallback:e=>parseInt(e,10)}),era:x({matchPatterns:pa,defaultMatchWidth:"wide",parsePatterns:ua,defaultParseWidth:"any"}),quarter:x({matchPatterns:fa,defaultMatchWidth:"wide",parsePatterns:ha,defaultParseWidth:"any",valueCallback:e=>e+1}),month:x({matchPatterns:ga,defaultMatchWidth:"wide",parsePatterns:ba,defaultParseWidth:"any"}),day:x({matchPatterns:ya,defaultMatchWidth:"wide",parsePatterns:wa,defaultParseWidth:"any"}),dayPeriod:x({matchPatterns:va,defaultMatchWidth:"any",parsePatterns:ka,defaultParseWidth:"any"})};var Ue={code:"en-US",formatDistance:hr,formatLong:gr,formatRelative:br,localize:yr,match:wr,options:{weekStartsOn:0,firstWeekContainsDate:1}};function vr(e,t){let r=_(e,t?.in);return sr(r,fr(r))+1}function kr(e,t){let r=_(e,t?.in),o=+R(r)-+lr(r);return Math.round(o/xe)+1}function Le(e,t){let r=_(e,t?.in),o=r.getFullYear(),a=D(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=f(t?.in||e,0);i.setFullYear(o+1,0,n),i.setHours(0,0,0,0);let s=y(i,t),l=f(t?.in||e,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);let c=y(l,t);return+r>=+s?o+1:+r>=+c?o:o-1}function xr(e,t){let r=D(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Le(e,t),n=f(t?.in||e,0);return n.setFullYear(a,0,o),n.setHours(0,0,0,0),y(n,t)}function Cr(e,t){let r=_(e,t?.in),o=+y(r,t)-+xr(r,t);return Math.round(o/xe)+1}function d(e,t){let r=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return r+o}var S={y(e,t){let r=e.getFullYear(),o=r>0?r:1-r;return d(t==="yy"?o%100:o,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):d(r+1,2)},d(e,t){return d(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return d(e.getHours()%12||12,t.length)},H(e,t){return d(e.getHours(),t.length)},m(e,t){return d(e.getMinutes(),t.length)},s(e,t){return d(e.getSeconds(),t.length)},S(e,t){let r=t.length,o=e.getMilliseconds(),a=Math.trunc(o*Math.pow(10,r-3));return d(a,t.length)}};var ee={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},et={G:function(e,t,r){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let o=e.getFullYear(),a=o>0?o:1-o;return r.ordinalNumber(a,{unit:"year"})}return S.y(e,t)},Y:function(e,t,r,o){let a=Le(e,o),n=a>0?a:1-a;if(t==="YY"){let i=n%100;return d(i,2)}return t==="Yo"?r.ordinalNumber(n,{unit:"year"}):d(n,t.length)},R:function(e,t){let r=Me(e);return d(r,t.length)},u:function(e,t){let r=e.getFullYear();return d(r,t.length)},Q:function(e,t,r){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return d(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,r){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return d(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,r){let o=e.getMonth();switch(t){case"M":case"MM":return S.M(e,t);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,r){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return d(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){let a=Cr(e,o);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):d(a,t.length)},I:function(e,t,r){let o=kr(e);return t==="Io"?r.ordinalNumber(o,{unit:"week"}):d(o,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):S.d(e,t)},D:function(e,t,r){let o=vr(e);return t==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):d(o,t.length)},E:function(e,t,r){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,r,o){let a=e.getDay(),n=(a-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return d(n,2);case"eo":return r.ordinalNumber(n,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,o){let a=e.getDay(),n=(a-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return d(n,t.length);case"co":return r.ordinalNumber(n,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let o=e.getDay(),a=o===0?7:o;switch(t){case"i":return String(a);case"ii":return d(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,r){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){let o=e.getHours(),a;switch(o===12?a=ee.noon:o===0?a=ee.midnight:a=o/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let o=e.getHours(),a;switch(o>=17?a=ee.evening:o>=12?a=ee.afternoon:o>=4?a=ee.morning:a=ee.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return S.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):S.H(e,t)},K:function(e,t,r){let o=e.getHours()%12;return t==="Ko"?r.ordinalNumber(o,{unit:"hour"}):d(o,t.length)},k:function(e,t,r){let o=e.getHours();return o===0&&(o=24),t==="ko"?r.ordinalNumber(o,{unit:"hour"}):d(o,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):S.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):S.s(e,t)},S:function(e,t){return S.S(e,t)},X:function(e,t,r){let o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return Dr(o);case"XXXX":case"XX":return A(o);case"XXXXX":case"XXX":default:return A(o,":")}},x:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"x":return Dr(o);case"xxxx":case"xx":return A(o);case"xxxxx":case"xxx":default:return A(o,":")}},O:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Mr(o,":");case"OOOO":default:return"GMT"+A(o,":")}},z:function(e,t,r){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Mr(o,":");case"zzzz":default:return"GMT"+A(o,":")}},t:function(e,t,r){let o=Math.trunc(+e/1e3);return d(o,t.length)},T:function(e,t,r){return d(+e,t.length)}};function Mr(e,t=""){let r=e>0?"-":"+",o=Math.abs(e),a=Math.trunc(o/60),n=o%60;return n===0?r+String(a):r+String(a)+t+d(n,2)}function Dr(e,t){return e%60===0?(e>0?"-":"+")+d(Math.abs(e)/60,2):A(e,t)}function A(e,t=""){let r=e>0?"-":"+",o=Math.abs(e),a=d(Math.trunc(o/60),2),n=d(o%60,2);return r+a+t+n}var Pr=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Lr=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},xa=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return Pr(e,t);let n;switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",Pr(o,t)).replace("{{time}}",Lr(a,t))},Tr={p:Lr,P:xa};var Ca=/^D+$/,Ma=/^Y+$/,Da=["D","DD","YY","YYYY"];function Sr(e){return Ca.test(e)}function Wr(e){return Ma.test(e)}function zr(e,t,r){let o=Pa(e,t,r);if(console.warn(o),Da.includes(e))throw new RangeError(o)}function Pa(e,t,r){let o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var La=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ta=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sa=/^'([^]*?)'?$/,Wa=/''/g,za=/[a-zA-Z]/;function se(e,t,r){let o=D(),a=r?.locale??o.locale??Ue,n=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,s=_(e,r?.in);if(!cr(s))throw new RangeError("Invalid time value");let l=t.match(Ta).map(u=>{let m=u[0];if(m==="p"||m==="P"){let b=Tr[m];return b(u,a.formatLong)}return u}).join("").match(La).map(u=>{if(u==="''")return{isToken:!1,value:"'"};let m=u[0];if(m==="'")return{isToken:!1,value:Ia(u)};if(et[m])return{isToken:!0,value:u};if(m.match(za))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:u}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));let c={firstWeekContainsDate:n,weekStartsOn:i,locale:a};return l.map(u=>{if(!u.isToken)return u.value;let m=u.value;(!r?.useAdditionalWeekYearTokens&&Wr(m)||!r?.useAdditionalDayOfYearTokens&&Sr(m))&&zr(m,t,String(e));let b=et[m[0]];return b(s,m,a.localize,c)}).join("")}function Ia(e){let t=e.match(Sa);return t?t[1].replace(Wa,"'"):e}function Ir(e){return+_(e)<Date.now()}function Or(e,t){return ie(f(t?.in||e,e),_r(t?.in||e))}function Vr(e,t,r){return J(e,-t,r)}function Te(e,t,r){let o=_(e,r?.in);return o.setHours(t),o}function Se(e,t,r){return Ce(e,-t,r)}function Fr(e,t,r){return De(e,-t,r)}function tt(e){return Array.from({length:e},(t,r)=>r)}var le=["Domingo","Segunda","Ter\xE7a","Quarta","Quinta","Sexta","S\xE1bado"],We=Array.from({length:16},(e,t)=>{let r=t+8;return{hour:r,label:`${r.toString().padStart(2,"0")}:00`}});function Er(e){let t=e.getFullYear(),r=e.getMonth(),o=ur(e).getDay(),a=Je(Se(e,1)).getDate(),n=Je(e).getDate(),i=tt(o).map(b=>{b+=1;let v=r-1,L=a-o+b,q=new Date(t,v,L);return{dayOfWeekNumber:q.getDay(),date:q,type:"month"}}),s=tt(n).map(b=>{let v=b+1,M=new Date(t,r,v);return{dayOfWeekNumber:M.getDay(),date:M,type:"month"}}),l=7,c=o+n,u=l-c%l%l,m=tt(u).map(b=>{let v=b+1,M=new Date(t,r+1,v);return{dayOfWeekNumber:M.getDay(),date:M,type:"month"}});return[...i,...s,...m]}function Hr(e,t){return e.filter(r=>ie(r.eventDate,t))}function _e(e){return Or(e)}function Nr(e){let t=y(e,{weekStartsOn:0}),r=Ke(e,{weekStartsOn:0}),o=pr({start:t,end:r}),a=t.getDay(),n=le[a];return o.map(i=>({date:i,dayOfWeekNumber:a,dayOfWeekName:n,fullDate:i,type:"week"}))}function ze(e,t,r){return e.filter(o=>ie(o.eventDate,t)&&o.eventDate.getHours()===r)}function qr(e){let t=y(e,{weekStartsOn:0}),r=Ke(e,{weekStartsOn:0});return{start:t,end:r}}import{createContext as Oa,use as Va,useCallback as rt,useMemo as Fa,useState as ot}from"react";import{DndContext as Ea,closestCenter as Ha,useSensor as at,useSensors as Na,PointerSensor as qa,KeyboardSensor as Ra,MouseSensor as Aa}from"@dnd-kit/core";import{sortableKeyboardCoordinates as Ya}from"@dnd-kit/sortable";import{jsx as Rr}from"react/jsx-runtime";var Ar=Oa({events:[],calendarView:"month",selectedDate:new Date,activeEventId:null,disableEventCreationInPast:!0,renderEvent:()=>null,setSelectedDate:()=>{},handleChangeView:()=>{},onEventMove:()=>{},onAddEvent:()=>{}});function N_({children:e,events:t,calendarView:r="month",selectedDate:o=new Date,disableEventCreationInPast:a=!0,renderEvent:n,onEventMove:i,onAddEvent:s}){let[l,c]=ot(o),[u,m]=ot(r),[b,v]=ot(null),M=rt(T=>{c(new Date),m(T)},[]),L=Na(at(qa,{activationConstraint:{distance:8}}),at(Ra,{coordinateGetter:Ya}),at(Aa,{activationConstraint:{distance:5,delay:250}})),q=rt(T=>{let ye=T.active.id.toString();v(ye)},[]),Be=rt(T=>{let{active:ye,over:er}=T;if(v(null),!ye||!er||!i)return;let Eo=ye.id.toString(),tr=er.data.current?.date;tr&&i(Eo,tr)},[i]),Ze=Fa(()=>({events:t,renderEvent:n,activeEventId:b,disableEventCreationInPast:a,selectedDate:l,setSelectedDate:c,calendarView:u,handleChangeView:M,onEventMove:i,onAddEvent:s}),[t,n,b,a,l,u,M,i,s]);return Rr(Ar.Provider,{value:Ze,children:Rr(Ea,{collisionDetection:Ha,sensors:L,onDragEnd:Be,onDragStart:q,children:e})})}function h(){let e=Va(Ar);if(!e)throw new Error("useFullCalendar must be used within a CalendarRoot");return e}import{Fragment as Cn,useMemo as Ft}from"react";import{useDroppable as Mn}from"@dnd-kit/core";import{cx as Dn,tv as Pn}from"@xjur-ui/util";import{Slot as ja}from"@radix-ui/react-slot";import{cva as Ba,cx as Za}from"@xjur-ui/util";import{jsx as Qa}from"react/jsx-runtime";var Xa=Ba(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function W({asChild:e,className:t,variant:r="primary",size:o="md",appearance:a="solid",...n}){return Qa(e?ja:"button",{className:Za(Xa({variant:r,appearance:a,size:o}),t),...n})}import{cx as ao}from"@xjur-ui/util";var Yr=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","stars-ia","audiencia","pericia","custom_contrato","filial","xfinder","faq","handshake"];import{jsx as Ie,jsxs as $a}from"react/jsx-runtime";function nt(){return $a("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ie("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ie("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ie("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),Ie("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as z,jsxs as jr}from"react/jsx-runtime";function it(){return jr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[jr("g",{clipPath:"url(#clip0_21552_71650)",children:[z("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),z("defs",{children:z("clipPath",{id:"clip0_21552_71650",children:z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Oe,jsxs as Ga}from"react/jsx-runtime";function st(){return Ga("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Oe("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Oe("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Oe("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Oe("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Ve,jsxs as Ja}from"react/jsx-runtime";function lt(){return Ja("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ve("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ve("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ve("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),Ve("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as te,jsxs as Ka}from"react/jsx-runtime";function _t(){return Ka("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[te("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),te("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Fe,jsxs as Ua}from"react/jsx-runtime";function dt(){return Ua("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),Fe("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Fe("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Fe("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Y,jsxs as Br}from"react/jsx-runtime";function ct(){return Br("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Br("g",{clipPath:"url(#clip0_21559_72048)",children:[Y("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Y("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),Y("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Y("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),Y("defs",{children:Y("clipPath",{id:"clip0_21559_72048",children:Y("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as de,jsxs as Zr}from"react/jsx-runtime";function mt(){return Zr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Zr("g",{clipPath:"url(#clip0_21561_72217)",children:[de("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),de("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),de("defs",{children:de("clipPath",{id:"clip0_21561_72217",children:de("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as I,jsxs as Xr}from"react/jsx-runtime";function pt(){return Xr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Xr("g",{clipPath:"url(#clip0_21563_1851)",children:[I("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),I("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),I("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),I("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),I("defs",{children:I("clipPath",{id:"clip0_21563_1851",children:I("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as F,jsxs as Qr}from"react/jsx-runtime";function ut(){return Qr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Qr("g",{clipPath:"url(#clip0_21561_72299)",children:[F("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),F("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),F("defs",{children:F("clipPath",{id:"clip0_21561_72299",children:F("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as re,jsxs as $r}from"react/jsx-runtime";function ft(){return $r("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[$r("g",{clipPath:"url(#clip0_21561_73080)",children:[re("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),re("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),re("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),re("defs",{children:re("clipPath",{id:"clip0_21561_73080",children:re("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as j,jsxs as Gr}from"react/jsx-runtime";function ht(){return Gr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Gr("g",{clipPath:"url(#clip0_21559_72026)",children:[j("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),j("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),j("defs",{children:j("clipPath",{id:"clip0_21559_72026",children:j("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as E,jsxs as gt}from"react/jsx-runtime";function bt(){return gt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[gt("g",{clipPath:"url(#clip0_21656_82540)",children:[E("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:E("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),gt("g",{mask:"url(#mask0_21656_82540)",children:[E("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",fill:"#CFF5D7",stroke:"#1C8A3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),E("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#1C8A3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),E("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#1C8A3B"})]})]}),E("defs",{children:E("clipPath",{id:"clip0_21656_82540",children:E("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as ce,jsxs as Jr}from"react/jsx-runtime";function yt(){return Jr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Jr("g",{clipPath:"url(#clip0_21595_70787)",children:[ce("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),ce("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),ce("defs",{children:ce("clipPath",{id:"clip0_21595_70787",children:ce("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Kr}from"react/jsx-runtime";function wt(){return Kr("svg",{fill:"currentColor",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:Kr("path",{d:"M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.73 1.73 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.73 1.73 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.73 1.73 0 0 0 3.407 2.31zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.16 1.16 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.16 1.16 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732z"})})}import{jsx as Ee,jsxs as en}from"react/jsx-runtime";function vt(){return en("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Ee("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),Ee("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),Ee("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),Ee("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as me,jsxs as Ur}from"react/jsx-runtime";function kt(){return Ur("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Ur("g",{clipPath:"url(#clip0_21669_68418)",children:[me("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),me("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),me("defs",{children:me("clipPath",{id:"clip0_21669_68418",children:me("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as eo,jsxs as tn}from"react/jsx-runtime";function xt(){return tn("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[eo("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),eo("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as Ct,jsxs as rn}from"react/jsx-runtime";function Mt(){return rn("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ct("path",{d:"M2 5.2C2 3.98497 2.98497 3 4.2 3H15.8C17.015 3 18 3.98497 18 5.2V11.2C18 12.415 17.015 13.4 15.8 13.4H8.5L5.2 16.6V13.4H4.2C2.98497 13.4 2 12.415 2 11.2V5.2Z",fill:"#C9E2FF",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ct("path",{d:"M8.6 7.3C8.6 6.2 9.4 5.4 10.5 5.4C11.6 5.4 12.4 6.2 12.4 7.3C12.4 8.1 11.9 8.5 11.3 8.9C10.7 9.3 10.3 9.7 10.3 10.4",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Ct("circle",{cx:"10.3",cy:"11.8",fill:"#1D64D8",r:"0.9"})]})}import{jsx as to,jsxs as on}from"react/jsx-runtime";function Dt(){return on("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[to("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),to("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as B,jsxs as ro}from"react/jsx-runtime";function Pt(){return ro("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ro("g",{clipPath:"url(#clip0_21866_73367)",children:[B("path",{d:"M7.69235 13.7928L8.89891 12.587",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M7.41279 11.1021L6.20627 12.3077",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.89727 11.9989L8.00135 14.1015L3.53495 18.5647C2.95422 19.145 2.0131 19.145 1.43237 18.5647C0.851054 17.9838 0.851054 17.0416 1.43237 16.4606L5.89727 11.9989Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M19.0036 7.35576C19.0049 10.8647 16.1613 13.7083 12.6523 13.707C9.14337 13.7058 6.29779 10.8602 6.29654 7.35128C6.29529 3.84234 9.13888 0.998751 12.6478 1C16.1568 1.00125 19.0024 3.84679 19.0036 7.35576Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),B("defs",{children:B("clipPath",{id:"clip0_21866_73367",children:B("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as pe,jsxs as an}from"react/jsx-runtime";function Lt(){return an("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[pe("path",{d:"M9.17 14.17 10.84 15.84A0.83 0.83 0 1 0 13.34 13.34",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"}),pe("path",{d:"M11.67 11.67 13.75 13.75A0.83 0.83 0 1 0 16.25 11.25L13.02 8.02A2.5 2.5 0 0 0 9.49 8.02L8.76 8.75A0.83 0.83 0 1 1 6.26 6.25L8.6 3.91A4.83 4.83 0 0 1 14.48 3.18L14.87 3.41A1.67 1.67 0 0 0 16.05 3.62L17.5 3.33",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"}),pe("path",{d:"M17.5 2.5 18.33 11.67H16.66",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"}),pe("path",{d:"M2.5 2.5 1.67 11.67 7.09 17.09A0.83 0.83 0 1 0 9.59 14.59",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"}),pe("path",{d:"M2.5 3.33H9.17",stroke:"#1D64D8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"})]})}import{jsx as g}from"react/jsx-runtime";function oo({name:e}){switch(e){case"agenda":return g(nt,{});case"contencioso":return g(lt,{});case"contrato":return g(_t,{});case"consultivo":return g(st,{});case"xsigner":return g(ht,{});case"procuracao":return g(pt,{});case"xpay":return g(ft,{});case"imobiliario":return g(ct,{});case"marcasepatentes":return g(mt,{});case"ged":return g(dt,{});case"regulatorio":return g(ut,{});case"compliance":return g(it,{});case"xlearning":return g(bt,{});case"societario":return g(yt,{});case"stars-ia":return g(wt,{});case"audiencia":return g(vt,{});case"pericia":return g(kt,{});case"custom_contrato":return g(xt,{});case"faq":return g(Mt,{});case"filial":return g(Dt,{});case"xfinder":return g(Pt,{});case"handshake":return g(Lt,{});default:return null}}import{jsx as Tt}from"react/jsx-runtime";function Z({className:e,filled:t=!1,name:r,...o}){return Yr.includes(r)?Tt("span",{...o,className:ao("inline-flex select-none",e),children:Tt(oo,{name:r})}):Tt("span",{...o,className:ao("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{Fragment as xn}from"react/jsx-runtime";import"react";import*as no from"@radix-ui/react-dropdown-menu";import{jsx as nn}from"react/jsx-runtime";function St({...e}){return nn(no.Root,{"data-slot":"dropdown-menu",...e})}import*as io from"@radix-ui/react-dropdown-menu";import{jsx as sn}from"react/jsx-runtime";function Wt({...e}){return sn(io.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as Ne from"@radix-ui/react-dropdown-menu";import{cx as wn}from"@xjur-ui/util";import{Slot as _n}from"@radix-ui/react-slot";import{cx as dn}from"@xjur-ui/util";import{useVirtualizer as cn}from"@tanstack/react-virtual";import{useRef as mn}from"react";import{createContext as ln}from"react";var ue=ln({virtualizer:null,enabled:!1});import{jsx as so}from"react/jsx-runtime";function fe({className:e,asChild:t,children:r,virtualized:o=!1,itemCount:a=0,estimateSize:n=()=>48,overscan:i=5,...s}){let l=t?_n:"div",c=mn(null),u=cn({count:a,getScrollElement:()=>c.current,estimateSize:n,overscan:i,enabled:o});return so(ue.Provider,{value:{virtualizer:u,enabled:o},children:so(l,{...s,className:dn(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:c,children:r})})}import{Slot as Tc}from"@radix-ui/react-slot";import{cx as Wc}from"@xjur-ui/util";import{jsx as Ic}from"react/jsx-runtime";import{cx as Fc}from"@xjur-ui/util";import{jsx as Nc}from"react/jsx-runtime";import{Slot as pn}from"@radix-ui/react-slot";import{cx as lo}from"@xjur-ui/util";import{useContext as un}from"react";import{jsx as zt}from"react/jsx-runtime";function he({className:e,asChild:t,children:r,renderItem:o,...a}){let n=t?pn:"ul",{virtualizer:i,enabled:s}=un(ue);if(s&&i&&o){let l=i.getVirtualItems();return zt(n,{...a,className:lo("p-small relative flex flex-col",e),style:{height:`${i.getTotalSize()}px`},children:l.map(c=>zt("div",{className:"absolute top-0 left-0 w-full","data-index":c.index,ref:i.measureElement,style:{transform:`translateY(${c.start}px)`},children:o(c.index)},c.key))})}return zt(n,{...a,className:lo("gap-small-1x p-small flex flex-col",e),children:r})}import{Slot as fn}from"@radix-ui/react-slot";import{cx as hn,cva as gn}from"@xjur-ui/util";import{jsx as yn}from"react/jsx-runtime";var bn=gn(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function He({className:e,size:t,isActive:r,asChild:o,...a}){return yn(o?fn:"li",{...a,className:hn(bn({size:t,isActive:r}),e)})}import{jsx as It}from"react/jsx-runtime";function Ot({className:e,sideOffset:t=4,align:r="start",side:o="bottom",children:a,...n}){return It(Ne.Portal,{children:It(Ne.Content,{align:r,className:wn("group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)]",e),"data-slot":"dropdown-menu-content",side:o,sideOffset:t,...n,children:It(fe,{children:a})})})}import{jsx as vn}from"react/jsx-runtime";function Vt({...e}){return vn(he,{...e})}import{jsx as pm}from"react/jsx-runtime";import{cx as xm}from"@xjur-ui/util";import"react";import*as kn from"@radix-ui/react-separator";import{cx as gm}from"@xjur-ui/util";import{jsx as ym}from"react/jsx-runtime";import{jsx as Lm}from"react/jsx-runtime";import{jsx as qe,jsxs as mo}from"react/jsx-runtime";function po({events:e}){let{renderEvent:t}=h();return mo(St,{children:[qe(Wt,{asChild:!0,children:mo(W,{size:"sm",variant:"outlined",children:["Mais ",e.length]})}),qe(Ot,{className:"w-[240px]",children:qe(Vt,{children:e.map(r=>qe(xn,{children:t?.(r)},r.eventDate.toISOString()))})})]})}import{jsx as O,jsxs as Et}from"react/jsx-runtime";var Ln=Pn({base:"group/calendar-cell p-small flex flex-col gap-small-1x w-full bg-layer-2-idle ",variants:{type:{month:"h-[212px]",week:"min-h-[64px] max-h-[212px]",day:"min-h-[64px] max-h-[212px]"}}});function oe({cell:e,events:t}){let{date:r,type:o}=e,{renderEvent:a,activeEventId:n,onAddEvent:i,disableEventCreationInPast:s}=h(),l=Ft(()=>t.slice(0,2),[t]),c=t.length>=3,{isOver:u,setNodeRef:m}=Mn({id:`calendar-cell-${o}-${r.toISOString()}`,data:{date:r,type:o}}),b=Ft(()=>{let L=t.find(T=>T.id===n);if(!L)return!1;let q=T=>T.toLocaleDateString("pt-BR",{year:"numeric",month:"2-digit",day:"2-digit"}),Be=q(r),Ze=q(L.eventDate);return Be===Ze},[n,r,t]),v=Ln({type:o}),M=Ft(()=>s&&Ir(r)&&!_e(r),[s,r]);return Et("div",{className:v,"data-slot":"calendar-cell",ref:m,children:[o==="month"&&O("div",{className:"flex items-center justify-center",children:O("div",{className:Dn("size-large-2x rounded-circle bg-layer-2-idle flex items-center justify-center",_e(r)&&"bg-primary-idle text-neutral-label"),children:O(p,{size:"sm",variant:"label",weight:"medium",children:e.date.getDate()})})}),Et("div",{className:"gap-small-1x flex flex-col",children:[l.map(L=>O(Cn,{children:a(L)},L.id)),u&&l.length<2&&!b&&O("div",{className:"border-border-layer-4 rounded-small-2x h-[68px] w-full border border-dashed"})]}),Et("div",{className:"mt-auto flex items-center justify-between",children:[c&&O(po,{events:t.slice(2)}),i&&!M&&O("div",{className:"invisible ml-auto transition-opacity duration-100 ease-in-out group-hover/calendar-cell:visible",children:O(W,{size:"icon_sm",variant:"outlined",onClick:()=>i(r),children:O(Z,{className:"text-icon-neutral-3",name:"add"})})})]})]})}import{jsx as ae,jsxs as Wn}from"react/jsx-runtime";function Ht(){let{selectedDate:e,events:t}=h(),r=Sn(()=>Er(e),[e]),o=Tn(a=>Hr(t,a.date),[t]);return Wn("div",{className:"rounded-small-1x scrollbar-hide border-border-layer-2 h-full w-full border",children:[ae("div",{className:"bg-layer-2-hover h-large-4x rounded-t-small-1x sticky top-0 grid grid-cols-7","data-slot":"month-header",children:le.map(a=>ae("div",{className:uo("p-small b border-border-layer-2 flex items-center justify-center border-r last:border-r-0"),"data-slot":"month-header-weekday",children:ae(p,{size:"sm",variant:"label",weight:"medium",children:a})},a))}),ae("div",{className:"grid h-full grid-cols-7 overflow-hidden","data-slot":"month-day-cells",children:r.map((a,n)=>{let i=(n+1)%7===0,s=(n+1)%7===1;return ae("div",{className:uo("border-border-layer-2 border-t border-r",i&&"pr-small-2x border-r-0",s&&"pl-small-2x"),children:ae(oe,{cell:a,events:o(a)})},`${a.date.toISOString()}-${n}`)})})]})}import{useCallback as fo,useMemo as In}from"react";import{cx as ho}from"@xjur-ui/util";import{cx as Nt}from"@xjur-ui/util";import{jsx as qt,jsxs as zn}from"react/jsx-runtime";function Re({date:e,className:t,...r}){let o=_e(e),a=e.getDate();return zn("div",{className:Nt("p-small gap-small-1x flex w-full flex-1 flex-col items-center",t),"data-slot":"week-day",...r,children:[qt(p,{size:"sm",variant:"label",weight:"medium",children:le[e.getDay()]}),qt("div",{className:Nt("size-large-2x rounded-circle flex items-center justify-center",o&&"bg-primary-idle"),children:qt(p,{className:Nt(o&&"text-neutral-label"),size:"sm-1x",variant:"label",weight:"medium",children:a})})]},e.toISOString())}import{jsx as H,jsxs as go}from"react/jsx-runtime";function bo(){let{selectedDate:e,events:t}=h(),r=In(()=>Nr(e),[e]),o=fo((n,i)=>ze(t,n,i),[t]),a=fo((n,i)=>({...n,date:Te(n.date,i)}),[]);return H("div",{className:"bg-layer-2-hover rounded-small-1x border-border-layer-2 scrollbar-hide h-full w-full border",children:go("div",{className:"flex flex-1 flex-col",children:[H("div",{className:ho("bg-layer-2-hover sticky top-0 grid [grid-template-columns:64px_repeat(7,1fr)]","[&>*]:border-border-layer-2","[&>*]:border-l"),"data-slot":"week-header",children:r.map((n,i)=>H(Re,{date:n.date,style:{gridColumnStart:i+2}},n.date.getDay()))}),H("div",{className:"overflow-hidden",children:We.map(({hour:n,label:i})=>go("div",{className:"flex items-start",children:[H("div",{className:"px-small flex h-full w-[64px] items-start justify-end",children:H(p,{size:"sm-1x",variant:"label",weight:"medium",children:i})}),H("div",{className:ho("grid flex-1 grid-cols-7","[&>*]:border-border-layer-2","[&>*]:border-t","[&>*]:border-l"),children:r.map(s=>H(oe,{cell:a(s,n),events:o(s.date,n)},s.date.toISOString()))})]},n))})]})})}import{useCallback as yo}from"react";import{cx as On}from"@xjur-ui/util";import{jsx as N,jsxs as Rt}from"react/jsx-runtime";function wo(){let{selectedDate:e,events:t}=h(),r=yo((a,n)=>ze(t,a,n),[t]),o=yo((a,n)=>({...a,date:Te(a.date,n)}),[]);return N("div",{className:"bg-layer-2-hover rounded-small-1x border-border-layer-2 scrollbar-hide h-full w-full border",children:Rt("div",{className:"flex flex-1 flex-col",children:[Rt("div",{className:"bg-layer-2-hover sticky top-0 z-10 flex w-full","data-slot":"week-header",children:[N("div",{className:"w-[64px]"}),N(Re,{className:"border-border-layer-2 items-start border-l",date:e})]}),N("div",{className:"overflow-hidden",children:We.map(({hour:a,label:n})=>Rt("div",{className:"flex items-start",children:[N("div",{className:"px-small flex h-full w-[64px] items-start justify-end",children:N(p,{size:"sm-1x",variant:"label",weight:"medium",children:n})}),N("div",{className:On("flex flex-1","[&>*]:border-border-layer-2","[&>*]:border-t","[&>*]:border-l"),children:N(oe,{cell:o({date:e,type:"day"},a),events:r(e,a)})})]},a))})]})})}import{jsx as Ae}from"react/jsx-runtime";function Yp(){let{calendarView:e}=h();switch(e){case"month":return Ae(Ht,{});case"week":return Ae(bo,{});case"day":return Ae(wo,{});default:return Ae(Ht,{})}}import{useCallback as Do,useMemo as ni}from"react";var Vn={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xEAs",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},vo=(e,t,r)=>{let o,a=Vn[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",String(t)),r?.addSuffix?r.comparison&&r.comparison>0?"em "+o:"h\xE1 "+o:o};var Fn={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},En={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Hn={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ko={date:V({formats:Fn,defaultWidth:"full"}),time:V({formats:En,defaultWidth:"full"}),dateTime:V({formats:Hn,defaultWidth:"full"})};var Nn={lastWeek:e=>{let t=e.getDay();return"'"+(t===0||t===6?"\xFAltimo":"\xFAltima")+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"},xo=(e,t,r,o)=>{let a=Nn[e];return typeof a=="function"?a(t):a};var qn={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},Rn={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},An={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Yn={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xE7a","quarta","quinta","sexta","s\xE1bado"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},jn={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"}},Bn={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},Zn=(e,t)=>{let r=Number(e);return t?.unit==="week"?r+"\xAA":r+"\xBA"},Co={ordinalNumber:Zn,era:k({values:qn,defaultWidth:"wide"}),quarter:k({values:Rn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:k({values:An,defaultWidth:"wide"}),day:k({values:Yn,defaultWidth:"wide"}),dayPeriod:k({values:jn,defaultWidth:"wide",formattingValues:Bn,defaultFormattingWidth:"wide"})};var Xn=/^(\d+)[ºªo]?/i,Qn=/\d+/i,$n={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},Gn={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Jn={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Kn={any:[/1/i,/2/i,/3/i,/4/i]},Un={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},ei={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},ti={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},ri={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},oi={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},ai={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},Mo={ordinalNumber:Pe({matchPattern:Xn,parsePattern:Qn,valueCallback:e=>parseInt(e,10)}),era:x({matchPatterns:$n,defaultMatchWidth:"wide",parsePatterns:Gn,defaultParseWidth:"any"}),quarter:x({matchPatterns:Jn,defaultMatchWidth:"wide",parsePatterns:Kn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:x({matchPatterns:Un,defaultMatchWidth:"wide",parsePatterns:ei,defaultParseWidth:"any"}),day:x({matchPatterns:ti,defaultMatchWidth:"wide",parsePatterns:ri,defaultParseWidth:"any"}),dayPeriod:x({matchPatterns:oi,defaultMatchWidth:"any",parsePatterns:ai,defaultParseWidth:"any"})};var ge={code:"pt-BR",formatDistance:vo,formatLong:ko,formatRelative:xo,localize:Co,match:Mo,options:{weekStartsOn:0,firstWeekContainsDate:1}};import{capitalize as ii}from"@xjur-ui/util";import{jsx as be,jsxs as Po}from"react/jsx-runtime";function hu(){let{selectedDate:e,calendarView:t,setSelectedDate:r}=h(),o=ni(()=>{if(t==="month")return ii(se(e,"MMMM 'de' yyyy",{locale:ge}));if(t==="week"){let{start:i,end:s}=qr(e),l=se(s,"MMMM",{locale:ge}),c=se(s,"yyyy",{locale:ge});return`${i.getDate()} - ${s.getDate()} de ${l} de ${c}`}return se(e,"dd 'de' MMMM 'de' yyyy",{locale:ge})},[e,t]),a=Do(()=>{if(t==="month"){r(Ce(e,1));return}if(t==="week"){let s=y(De(e,1));r(s);return}let i=J(e,1);r(i)},[e,r,t]),n=Do(()=>{if(t==="month"){r(Se(e,1));return}t==="week"&&r(Fr(e,1)),r(Vr(e,1))},[e,r,t]);return Po("div",{className:"gap-large flex items-center",children:[be(p,{className:"text-title-neutral",size:"lg",variant:"title",children:o}),Po("div",{className:"gap-small flex items-center",children:[be(W,{size:"icon_md",variant:"tertiary",onClick:n,children:be(Z,{className:"text-icon-neutral-3",name:"chevron_left"})}),be(W,{size:"icon_md",variant:"tertiary",onClick:a,children:be(Z,{className:"text-icon-neutral-3",name:"chevron_right"})})]})]})}import*as Lo from"@radix-ui/react-popover";import{createContext as si,useContext as li}from"react";var At=si({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function w(){let e=li(At);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as _i}from"@xjur-ui/util";var C=_i({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Yt}from"react/jsx-runtime";var{wrapper:di}=C();function jt({className:e,state:t="normal",defaultOpen:r,variant:o="normal",modal:a,open:n,onOpenChange:i,...s}){return Yt(Lo.Root,{defaultOpen:r,modal:a,open:n,onOpenChange:i,children:Yt(At.Provider,{value:{state:t,variant:o},children:Yt("div",{className:di({className:e,state:t}),...s})})})}import{tv as ci,twMerge as mi}from"@xjur-ui/util";import*as To from"@radix-ui/react-popover";import{jsx as ui}from"react/jsx-runtime";var{trigger:pi}=C();function Bt({className:e,...t}){let{state:r,variant:o}=w(),a=ci({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=mi(pi({state:r,className:e}),o==="filter"&&a({state:r,className:e}));return ui(To.Trigger,{className:n,disabled:r==="disabled",...t})}import{jsx as So}from"react/jsx-runtime";var{icon:fi}=C();function Zt({className:e,name:t,orientation:r="left",...o}){let{state:a}=w();return So("div",{className:fi({className:e,state:a}),"data-slot":`control-${r}-slot`,...o,children:So(Z,{name:t})})}import{twJoin as gi}from"@xjur-ui/util";import{useMemo as bi}from"react";import{tv as hi}from"@xjur-ui/util";import{jsx as Wo}from"react/jsx-runtime";function Xt({className:e,htmlFor:t,children:r,...o}){let{state:a}=w(),n=hi({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return Wo("label",{className:n({className:e,state:a}),htmlFor:t,...o,children:Wo("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:r})})}import{jsx as Ye,jsxs as yi}from"react/jsx-runtime";function Qt({className:e,value:t,placeholder:r,renderValue:o,...a}){let{variant:n}=w(),i=bi(()=>{let s=o?o(t??""):typeof t=="object"?t?.label:t;return n==="filter"?s:s||r},[t,r,n,o]);return yi("div",{className:"grid w-full items-center",children:[r&&n==="filter"&&Ye(Xt,{children:r}),r&&n==="filter"&&Ye(p,{className:"invisible col-start-1 row-start-1 self-center",children:r}),Ye(p,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:i}),Ye("input",{...a,"aria-readonly":!0,className:gi("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as $u}from"@xjur-ui/util";import{Fragment as Ju,useMemo as Ku}from"react";import{jsx as o1,jsxs as a1}from"react/jsx-runtime";import*as je from"@radix-ui/react-popover";import{jsx as $t}from"react/jsx-runtime";var{content:wi}=C();function Gt({className:e,sideOffset:t=5,side:r="bottom",align:o="start",children:a,virtualized:n=!1,overscan:i=5,estimateSize:s=()=>32,...l}){let{state:c}=w();return $t(je.Portal,{children:$t(je.Content,{align:o,className:wi({className:e,state:c}),side:r,sideOffset:t,...l,children:$t(fe,{estimateSize:s,overscan:i,virtualized:n,children:a})})})}import{jsx as f1}from"react/jsx-runtime";var{caption:p1}=C();import{jsx as v1}from"react/jsx-runtime";var{slotText:y1}=C();import{jsx as vi}from"react/jsx-runtime";function Jt(e){return vi(he,{...e})}import{twMerge as ki}from"@xjur-ui/util";import*as Io from"@radix-ui/react-popover";import{jsx as zo}from"react/jsx-runtime";function Kt({className:e,value:t,closeOnSelect:r=!0,...o}){let a=zo(He,{className:ki(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...o});return r?zo(Io.Close,{asChild:!0,children:a}):a}import{twMerge as xi}from"@xjur-ui/util";import{jsx as Ci}from"react/jsx-runtime";function Ut({className:e,...t}){return Ci(Qe,{className:xi(e,"truncate"),...t})}import{jsx as F1}from"react/jsx-runtime";import{jsx as q1}from"react/jsx-runtime";import{Close as _f}from"@radix-ui/react-popover";import{jsx as X,jsxs as Vo}from"react/jsx-runtime";var Oo=[{name:"M\xEAs",value:"month"},{name:"Semana",value:"week"},{name:"Dia",value:"day"}];function mf(){let{calendarView:e,handleChangeView:t}=h();return X("div",{className:"w-[94px]",children:Vo(jt,{children:[Vo(Bt,{children:[X(Qt,{name:"calendar-toggle-view",renderValue:r=>Oo.find(o=>o.value===r)?.name??"",value:e}),X(Zt,{className:"text-icon-neutral-3",name:"keyboard_arrow_down"})]}),X(Gt,{children:X(Jt,{children:Oo.map(r=>X(Kt,{isActive:e===r.value,value:r.value,onClick:()=>t(r.value),children:X(Ut,{children:r.name})},r.value))})})]})})}import{cx as Mi}from"@xjur-ui/util";import{jsx as Di}from"react/jsx-runtime";function hf({className:e,...t}){return Di("div",{...t,className:Mi(e,"gap-medium h-large-4x flex w-full items-center")})}import{cx as Pi}from"@xjur-ui/util";import{jsx as Li}from"react/jsx-runtime";function wf({className:e,...t}){return Li("div",{className:Pi(e,"gap-large-2x p-large flex flex-col"),"data-slot":"calendar-body",...t})}import{cx as ne,tv as Ti}from"@xjur-ui/util";import{useDraggable as Si}from"@dnd-kit/core";import{jsx as P,jsxs as Fo}from"react/jsx-runtime";var Wi=Ti({base:"py-small_1x-alt pr-small pl-medium rounded-small-2x transition-colors duration-100 ease-out",variants:{status:{pending:"bg-layer-2-hover border-l-2 border-border-layer-4 hover:bg-layer-2-pressed active:bg-layer-2-active",completed:"bg-success-alt-idle border-l-2 border-success-idle hover:bg-success-alt-hover active:bg-success-alt-pressed",cancelled:"bg-danger-alt-idle border-l-2 border-danger-idle hover:bg-danger-alt-hover active:bg-danger-alt-pressed"}},defaultVariants:{status:"pending"}});function Lf({event:e,disabled:t=!1,status:r="pending",className:o,children:a,...n}){let{onEventMove:i}=h(),s=t||!i,{attributes:l,listeners:c,setNodeRef:u,transform:m,isDragging:b}=Si({id:e.id,disabled:s,data:{event:e,type:"calendar-event"}}),v=m?{transform:`translate3d(${m.x}px, ${m.y}px, 0)`}:void 0;return P("div",{className:ne(t&&"pointer-events-none","cursor-pointer active:cursor-grabbing",b&&"z-1000 -rotate-2",Wi({status:r}),o),"data-draggable-event-id":e.id,"data-slot":"calendar-event",ref:u,style:v,...c,...l,...n,children:a})}function Tf({size:e="sm",variant:t="label",weight:r="medium",className:o,...a}){let{activeEventId:n}=h();return n!==null?P(p,{className:ne(o,"text-title-neutral truncate"),size:e,variant:t,weight:r,...a}):Fo(Q,{delayDuration:500,children:[P($,{asChild:!0,children:P(p,{className:ne(o,"text-title-neutral truncate"),size:e,variant:t,weight:r,...a})}),P(G,{className:"max-w-[320px]",children:a.children})]})}function Sf({size:e="sm-1x",variant:t="body",weight:r="normal",className:o,...a}){let{activeEventId:n}=h();return n!==null?P(p,{className:ne(o,"truncate"),size:e,variant:t,weight:r,...a}):Fo(Q,{delayDuration:500,children:[P($,{asChild:!0,children:P(p,{className:ne(o,"truncate"),size:e,variant:t,weight:r,...a})}),P(G,{className:"max-w-[320px]",children:a.children})]})}function Wf({variant:e="body",size:t="sm-1x",weight:r="normal",className:o,...a}){return P(p,{className:ne(o,"truncate"),size:t,variant:e,weight:r,...a})}import{useCallback as zi}from"react";import{jsx as Ii}from"react/jsx-runtime";function Ef({children:e="Hoje",variant:t="tertiary",...r}){let{setSelectedDate:o}=h(),a=zi(()=>{o(new Date)},[o]);return Ii(W,{variant:t,onClick:a,...r,children:e})}export{wf as CalendarBody,Lf as CalendarEvent,Sf as CalendarEventDescription,Wf as CalendarEventStatus,Tf as CalendarEventTitle,hf as CalendarHeader,Ht as CalendarMonthView,hu as CalendarNavigator,N_ as CalendarRoot,Ef as CalendarTodayButton,mf as CalendarToggleView,Yp as CalendarViewRenderer,bo as CalendarWeekView,h as useFullCalendar};