@mvr-ui/components 1.0.80 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mvr-ui.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-2{top:calc(var(--spacing)*2)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-8{right:calc(var(--spacing)*8)}.bottom-2{bottom:calc(var(--spacing)*2)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.z-50{z-index:50}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-auto{height:auto}.h-px{height:1px}.h-screen{height:100vh}.max-h-60{max-height:calc(var(--spacing)*60)}.min-h-\[40px\]{min-height:40px}.min-h-\[80px\]{min-height:80px}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-16{min-width:calc(var(--spacing)*16)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-24{min-width:calc(var(--spacing)*24)}.min-w-28{min-width:calc(var(--spacing)*28)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-full{min-width:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.animate-\[bounce_1s_infinite\]{animation:1s infinite bounce}.animate-\[fadeIn_0\.5s_ease-in-out\]{animation:.5s ease-in-out fadeIn}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-l-lg{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-lg{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.border-border{border-color:var(--border)}.border-destructive{border-color:var(--destructive)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-800{border-color:var(--color-gray-800)}.border-input{border-color:var(--input)}.border-red-500{border-color:var(--color-red-500)}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-accent{background-color:var(--accent)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-600{background-color:var(--color-green-600)}.bg-input{background-color:var(--input)}.bg-popover{background-color:var(--popover)}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-violet-600{background-color:var(--color-violet-600)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-600{--tw-gradient-from:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-0\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-10{padding-right:calc(var(--spacing)*10)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-accent-foreground{color:var(--accent-foreground)}.text-black{color:var(--color-black)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-foreground{color:var(--foreground)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.running{animation-play-state:running}.peer-checked\:bg-primary:is(:where(.peer):checked~*){background-color:var(--primary)}.peer-focus\:ring-2:is(:where(.peer):focus~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-focus\:ring-ring:is(:where(.peer):focus~*){--tw-ring-color:var(--ring)}.peer-focus\:ring-offset-2:is(:where(.peer):focus~*){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.peer-focus\:ring-offset-background:is(:where(.peer):focus~*){--tw-ring-offset-color:var(--background)}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.focus-within\:border-blue-500:focus-within{border-color:var(--color-blue-500)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-500:focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-cyan-700:hover{background-color:var(--color-cyan-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-gray-900:hover{background-color:var(--color-gray-900)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-purple-700:hover{background-color:var(--color-purple-700)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-violet-700:hover{background-color:var(--color-violet-700)}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:from-blue-700:hover{--tw-gradient-from:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:to-purple-700:hover{--tw-gradient-to:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-red-700:hover{color:var(--color-red-700)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:bg-red-50:focus{background-color:var(--color-red-50)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:text-red-700:focus{color:var(--color-red-700)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-amber-500:focus-visible{--tw-ring-color:var(--color-amber-500)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\:ring-cyan-500:focus-visible{--tw-ring-color:var(--color-cyan-500)}.focus-visible\:ring-destructive:focus-visible{--tw-ring-color:var(--destructive)}.focus-visible\:ring-gray-400:focus-visible{--tw-ring-color:var(--color-gray-400)}.focus-visible\:ring-gray-500:focus-visible{--tw-ring-color:var(--color-gray-500)}.focus-visible\:ring-gray-700:focus-visible{--tw-ring-color:var(--color-gray-700)}.focus-visible\:ring-green-500:focus-visible{--tw-ring-color:var(--color-green-500)}.focus-visible\:ring-purple-500:focus-visible{--tw-ring-color:var(--color-purple-500)}.focus-visible\:ring-red-500:focus-visible{--tw-ring-color:var(--color-red-500)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:ring-violet-500:focus-visible{--tw-ring-color:var(--color-violet-500)}.focus-visible\:ring-white\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-white\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:translate-y-1:active{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)}.dark\:bg-blue-800:is(.dark *){background-color:var(--color-blue-800)}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-red-900\/10:is(.dark *){background-color:#82181a1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.dark\:text-blue-200:is(.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-red-200:is(.dark *){color:var(--color-red-200)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:placeholder\:text-gray-400:is(.dark *)::placeholder{color:var(--color-gray-400)}@media (hover:hover){.dark\:hover\:bg-blue-800:is(.dark *):hover{background-color:var(--color-blue-800)}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(43.9% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}@keyframes wave{0%,to{height:40%}50%{height:80%}}@keyframes clock{0%{transform:translateY(-50%)rotate(0)}to{transform:translateY(-50%)rotate(360deg)}}@keyframes orbit{0%{transform:translate(-50%)rotate(0)translateY(-100%)rotate(0)}to{transform:translate(-50%)rotate(360deg)translateY(-100%)rotate(-360deg)}}@keyframes rotateCube{0%{transform:rotateX(0)rotateY(0)}to{transform:rotateX(360deg)rotateY(360deg)}}@keyframes circleDots{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadePulse{0%,to{opacity:.2}50%{opacity:1}}@keyframes infinity1{0%,to{r:4}50%{r:12}}@keyframes infinity2{0%,to{r:12}50%{r:4}}@keyframes infinity3{0%,to{r:4}50%{r:12}}.animate-wave{animation:1.2s ease-in-out infinite wave}.animate-clock{animation:4s linear infinite clock}.animate-orbit{animation:1.5s linear infinite orbit}.animate-rotateCube{animation:2s linear infinite rotateCube}.animate-circleDots{animation:1.2s linear infinite circleDots}.animate-fadePulse{animation:1.2s ease-in-out infinite fadePulse}.animate-infinity1{animation:1.5s ease-in-out infinite infinity1}.animate-infinity2{animation:1.5s ease-in-out .5s infinite infinity2}.animate-infinity3{animation:1.5s ease-in-out 1s infinite infinity3}.animate-pulseSlow{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-pulseFast{animation:.5s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-bounceSlow{animation:2s infinite bounce}.animate-bounceFast{animation:.5s infinite bounce}.transform-style-3d{transform-style:preserve-3d}.transform-rotateY\(90deg\){transform:rotateY(90deg)}.transform-rotateX\(90deg\){transform:rotateX(90deg)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-rose-50:oklch(96.9% .015 12.422);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--radius-2xl:1rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-8{right:calc(var(--spacing)*8)}.bottom-2{bottom:calc(var(--spacing)*2)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.z-50{z-index:50}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-20{height:calc(var(--spacing)*20)}.h-auto{height:auto}.h-px{height:1px}.max-h-60{max-height:calc(var(--spacing)*60)}.min-h-\[40px\]{min-height:40px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-9{width:calc(var(--spacing)*9)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-20{width:calc(var(--spacing)*20)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-16{min-width:calc(var(--spacing)*16)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-24{min-width:calc(var(--spacing)*24)}.min-w-28{min-width:calc(var(--spacing)*28)}.min-w-32{min-width:calc(var(--spacing)*32)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-l-lg{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-lg{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.border-border{border-color:var(--border)}.border-destructive{border-color:var(--destructive)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-800{border-color:var(--color-gray-800)}.border-input{border-color:var(--input)}.border-red-500{border-color:var(--color-red-500)}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-zinc-200{border-color:var(--color-zinc-200)}.bg-accent{background-color:var(--accent)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-600{background-color:var(--color-green-600)}.bg-input{background-color:var(--input)}.bg-popover{background-color:var(--popover)}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-violet-600{background-color:var(--color-violet-600)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-linear-to-br{--tw-gradient-position:to bottom right}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-br{--tw-gradient-position:to bottom right in oklab}}.bg-linear-to-br{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-tr{--tw-gradient-position:to top right}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-tr{--tw-gradient-position:to top right in oklab}}.bg-linear-to-tr{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-600{--tw-gradient-from:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-red-50{--tw-gradient-from:var(--color-red-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-red-200{--tw-gradient-from:var(--color-red-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-red-600{--tw-gradient-from:var(--color-red-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-rose-50{--tw-gradient-via:var(--color-rose-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-red-100{--tw-gradient-to:var(--color-red-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-red-700{--tw-gradient-to:var(--color-red-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-0\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-10{padding-right:calc(var(--spacing)*10)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-accent-foreground{color:var(--accent-foreground)}.text-black{color:var(--color-black)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-foreground{color:var(--foreground)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-900{color:var(--color-zinc-900)}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-red-200{--tw-ring-color:var(--color-red-200)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.fade-in{--tw-enter-opacity:0}.running{animation-play-state:running}.peer-checked\:bg-primary:is(:where(.peer):checked~*){background-color:var(--primary)}.peer-focus\:ring-2:is(:where(.peer):focus~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-focus\:ring-ring:is(:where(.peer):focus~*){--tw-ring-color:var(--ring)}.peer-focus\:ring-offset-2:is(:where(.peer):focus~*){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.peer-focus\:ring-offset-background:is(:where(.peer):focus~*){--tw-ring-offset-color:var(--background)}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.focus-within\:border-blue-500:focus-within{border-color:var(--color-blue-500)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-500:focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.hover\:scale-\[1\.02\]:hover{scale:1.02}.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-cyan-700:hover{background-color:var(--color-cyan-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-gray-900:hover{background-color:var(--color-gray-900)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-purple-700:hover{background-color:var(--color-purple-700)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-violet-700:hover{background-color:var(--color-violet-700)}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\:from-blue-700:hover{--tw-gradient-from:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:to-purple-700:hover{--tw-gradient-to:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-red-700:hover{color:var(--color-red-700)}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-red-600\/40:hover{--tw-shadow-color:#e4001466}@supports (color:color-mix(in lab, red, red)){.hover\:shadow-red-600\/40:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-red-600)40%,transparent)var(--tw-shadow-alpha),transparent)}}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:bg-red-50:focus{background-color:var(--color-red-50)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:text-red-700:focus{color:var(--color-red-700)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-amber-500:focus-visible{--tw-ring-color:var(--color-amber-500)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\:ring-cyan-500:focus-visible{--tw-ring-color:var(--color-cyan-500)}.focus-visible\:ring-destructive:focus-visible{--tw-ring-color:var(--destructive)}.focus-visible\:ring-gray-400:focus-visible{--tw-ring-color:var(--color-gray-400)}.focus-visible\:ring-gray-500:focus-visible{--tw-ring-color:var(--color-gray-500)}.focus-visible\:ring-gray-700:focus-visible{--tw-ring-color:var(--color-gray-700)}.focus-visible\:ring-green-500:focus-visible{--tw-ring-color:var(--color-green-500)}.focus-visible\:ring-purple-500:focus-visible{--tw-ring-color:var(--color-purple-500)}.focus-visible\:ring-red-500:focus-visible{--tw-ring-color:var(--color-red-500)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:ring-violet-500:focus-visible{--tw-ring-color:var(--color-violet-500)}.focus-visible\:ring-white\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-white\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:translate-y-1:active{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)}.dark\:border-zinc-700:is(.dark *){border-color:var(--color-zinc-700)}.dark\:bg-blue-800:is(.dark *){background-color:var(--color-blue-800)}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-red-900\/40:is(.dark *){background-color:#82181a66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)40%,transparent)}}.dark\:bg-zinc-900\/90:is(.dark *){background-color:#18181be6}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-900\/90:is(.dark *){background-color:color-mix(in oklab,var(--color-zinc-900)90%,transparent)}}.dark\:from-red-900\/40:is(.dark *){--tw-gradient-from:#82181a66}@supports (color:color-mix(in lab, red, red)){.dark\:from-red-900\/40:is(.dark *){--tw-gradient-from:color-mix(in oklab,var(--color-red-900)40%,transparent)}}.dark\:from-red-900\/40:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:from-red-950:is(.dark *){--tw-gradient-from:var(--color-red-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:via-zinc-950:is(.dark *){--tw-gradient-via:var(--color-zinc-950);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.dark\:to-red-800\/40:is(.dark *){--tw-gradient-to:#9f071266}@supports (color:color-mix(in lab, red, red)){.dark\:to-red-800\/40:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-red-800)40%,transparent)}}.dark\:to-red-800\/40:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:to-red-900\/30:is(.dark *){--tw-gradient-to:#82181a4d}@supports (color:color-mix(in lab, red, red)){.dark\:to-red-900\/30:is(.dark *){--tw-gradient-to:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\:to-red-900\/30:is(.dark *){--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.dark\:text-blue-200:is(.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:text-zinc-100:is(.dark *){color:var(--color-zinc-100)}.dark\:text-zinc-300:is(.dark *){color:var(--color-zinc-300)}.dark\:text-zinc-400:is(.dark *){color:var(--color-zinc-400)}.dark\:ring-red-800:is(.dark *){--tw-ring-color:var(--color-red-800)}.dark\:placeholder\:text-gray-400:is(.dark *)::placeholder{color:var(--color-gray-400)}@media (hover:hover){.dark\:hover\:bg-blue-800:is(.dark *):hover{background-color:var(--color-blue-800)}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:bg-zinc-800:is(.dark *):hover{background-color:var(--color-zinc-800)}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}}.dark\:focus\:ring-offset-zinc-900:is(.dark *):focus{--tw-ring-offset-color:var(--color-zinc-900)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(43.9% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}@keyframes wave{0%,to{height:40%}50%{height:80%}}@keyframes clock{0%{transform:translateY(-50%)rotate(0)}to{transform:translateY(-50%)rotate(360deg)}}@keyframes orbit{0%{transform:translate(-50%)rotate(0)translateY(-100%)rotate(0)}to{transform:translate(-50%)rotate(360deg)translateY(-100%)rotate(-360deg)}}@keyframes rotateCube{0%{transform:rotateX(0)rotateY(0)}to{transform:rotateX(360deg)rotateY(360deg)}}@keyframes circleDots{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadePulse{0%,to{opacity:.2}50%{opacity:1}}@keyframes infinity1{0%,to{r:4}50%{r:12}}@keyframes infinity2{0%,to{r:12}50%{r:4}}@keyframes infinity3{0%,to{r:4}50%{r:12}}.animate-wave{animation:1.2s ease-in-out infinite wave}.animate-clock{animation:4s linear infinite clock}.animate-orbit{animation:1.5s linear infinite orbit}.animate-rotateCube{animation:2s linear infinite rotateCube}.animate-circleDots{animation:1.2s linear infinite circleDots}.animate-fadePulse{animation:1.2s ease-in-out infinite fadePulse}.animate-infinity1{animation:1.5s ease-in-out infinite infinity1}.animate-infinity2{animation:1.5s ease-in-out .5s infinite infinity2}.animate-infinity3{animation:1.5s ease-in-out 1s infinite infinity3}.animate-pulseSlow{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-pulseFast{animation:.5s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-bounceSlow{animation:2s infinite bounce}.animate-bounceFast{animation:.5s infinite bounce}.transform-style-3d{transform-style:preserve-3d}.transform-rotateY\(90deg\){transform:rotateY(90deg)}.transform-rotateX\(90deg\){transform:rotateX(90deg)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}
package/dist/page.d.mts CHANGED
@@ -21,7 +21,7 @@ interface AccordionProps {
21
21
  onValueChange?: (value: string | string[]) => void;
22
22
  className?: string;
23
23
  }
24
- declare const AccordionPrimitive: (props: AccordionProps) => react_jsx_runtime.JSX.Element;
24
+ declare const AccordionPrimitive: React__default.FC<AccordionProps>;
25
25
 
26
26
  interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
27
27
  variant?: "primary" | "secondary" | "tertiary" | "outline" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "gradient" | "glass" | "soft" | "dark" | "light" | "accent" | "obsidian" | "polar";
@@ -32,7 +32,7 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
32
32
  loading?: boolean;
33
33
  loadingContent?: React__default.ReactNode;
34
34
  }
35
- declare const ButtonPrimitive: (props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
35
+ declare const ButtonPrimitive: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
36
36
 
37
37
  interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
38
38
  children: React__default.ReactNode;
@@ -58,12 +58,12 @@ interface CardFooterProps extends React__default.HTMLAttributes<HTMLDivElement>
58
58
  children: React__default.ReactNode;
59
59
  overrideClassName?: boolean;
60
60
  }
61
- declare const CardPrimitive: (props: CardProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
62
- declare const CardHeaderPrimitive: (props: CardHeaderProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
63
- declare const CardTitlePrimitive: (props: CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>) => react_jsx_runtime.JSX.Element;
64
- declare const CardDescriptionPrimitive: (props: CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>) => react_jsx_runtime.JSX.Element;
65
- declare const CardContentPrimitive: (props: CardContentProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
66
- declare const CardFooterPrimitive: (props: CardFooterProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
61
+ declare const CardPrimitive: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
62
+ declare const CardHeaderPrimitive: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
63
+ declare const CardTitlePrimitive: React__default.ForwardRefExoticComponent<CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>>;
64
+ declare const CardDescriptionPrimitive: React__default.ForwardRefExoticComponent<CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>>;
65
+ declare const CardContentPrimitive: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
66
+ declare const CardFooterPrimitive: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
67
67
 
68
68
  interface DropdownMenuProps extends React__default.HTMLAttributes<HTMLDivElement> {
69
69
  children: React__default.ReactNode;
@@ -83,24 +83,29 @@ interface DropdownMenuSeparatorProps extends React__default.HTMLAttributes<HTMLD
83
83
  }
84
84
  interface DropdownMenuLabelProps extends React__default.HTMLAttributes<HTMLDivElement> {
85
85
  }
86
- declare const DropdownMenuPrimitive: (props: DropdownMenuProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
87
- declare const DropdownMenuTriggerPrimitive: (props: DropdownMenuTriggerProps) => react_jsx_runtime.JSX.Element;
88
- declare const DropdownMenuContentPrimitive: (props: DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
89
- declare const DropdownMenuItemPrimitive: (props: DropdownMenuItemProps & React__default.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
90
- declare const DropdownMenuSeparatorPrimitive: (props: DropdownMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
91
- declare const DropdownMenuLabelPrimitive: (props: DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
86
+ declare const DropdownMenuPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuProps & React__default.RefAttributes<HTMLDivElement>>;
87
+ declare const DropdownMenuTriggerPrimitive: {
88
+ ({ children, asChild }: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
89
+ displayName: string;
90
+ };
91
+ declare const DropdownMenuContentPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>>;
92
+ declare const DropdownMenuItemPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuItemProps & React__default.RefAttributes<HTMLButtonElement>>;
93
+ declare const DropdownMenuSeparatorPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>>;
94
+ declare const DropdownMenuLabelPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>>;
92
95
 
93
96
  interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
94
97
  label?: string;
95
98
  required?: boolean;
96
99
  option: string;
100
+ description?: string;
101
+ icon?: React.ReactNode;
97
102
  orientation?: "left" | "right";
98
103
  className?: string;
99
104
  overrideClassName?: boolean;
100
105
  helperText?: string;
101
106
  error?: string;
102
107
  }
103
- declare const CheckBoxPrimitive: (props: CheckBoxProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
108
+ declare const CheckBoxPrimitive: React$1.ForwardRefExoticComponent<CheckBoxProps & React$1.RefAttributes<HTMLInputElement>>;
104
109
 
105
110
  type Alignment = 'horizontal' | 'vertical';
106
111
 
@@ -137,8 +142,7 @@ interface CheckBoxGroupGenericComponent {
137
142
  }): JSX.Element;
138
143
  displayName?: string;
139
144
  }
140
- declare const CheckBoxGroup: CheckBoxGroupGenericComponent;
141
- declare const CheckBoxGroupPrimitive: typeof CheckBoxGroup;
145
+ declare const CheckBoxGroupPrimitive: CheckBoxGroupGenericComponent;
142
146
 
143
147
  type Mode = 'multiple' | 'single';
144
148
 
@@ -178,15 +182,14 @@ interface ComboBoxGenericComponent {
178
182
  }): JSX.Element;
179
183
  displayName?: string;
180
184
  }
181
- declare const ComboBox: ComboBoxGenericComponent;
182
- declare const ComboBoxPrimitive: typeof ComboBox;
185
+ declare const ComboBoxPrimitive: ComboBoxGenericComponent;
183
186
 
184
187
  interface HelperFieldProps {
185
188
  children: string;
186
189
  className?: string;
187
190
  overrideClassName?: boolean;
188
191
  }
189
- declare const HelperFieldPrimitive: (props: HelperFieldProps) => react_jsx_runtime.JSX.Element;
192
+ declare const HelperFieldPrimitive: React$1.FunctionComponent<HelperFieldProps>;
190
193
 
191
194
  type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
192
195
 
@@ -206,7 +209,7 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
206
209
  error?: string;
207
210
  helperText?: string;
208
211
  }
209
- declare const InputPrimitive: (props: InputProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
212
+ declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
210
213
 
211
214
  type CaseMode = "none" | "upper" | "lower" | "visual-upper" | "visual-lower";
212
215
 
@@ -224,7 +227,7 @@ interface OtpInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInpu
224
227
  customPattern?: RegExp;
225
228
  caseMode?: CaseMode;
226
229
  }
227
- declare const OtpInputPrimitive: (props: OtpInputProps & React__default.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
230
+ declare const OtpInputPrimitive: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
228
231
 
229
232
  interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
230
233
  children?: React.ReactNode;
@@ -232,18 +235,20 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
232
235
  className?: string;
233
236
  overrideClassName?: boolean;
234
237
  }
235
- declare const LabelPrimitive: (props: LabelProps) => react_jsx_runtime.JSX.Element;
238
+ declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
236
239
 
237
240
  interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
238
241
  label?: string;
239
242
  required?: boolean;
240
243
  option: string;
244
+ description?: string;
245
+ icon?: React.ReactNode;
241
246
  className?: string;
242
247
  overrideClassName?: boolean;
243
248
  helperText?: string;
244
249
  error?: string;
245
250
  }
246
- declare const RadioPrimitive: (props: RadioProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
251
+ declare const RadioPrimitive: React$1.ForwardRefExoticComponent<RadioProps & React$1.RefAttributes<HTMLInputElement>>;
247
252
 
248
253
  type ChangeEvent<V> = {
249
254
  target: {
@@ -277,8 +282,7 @@ interface RadioGroupGenericComponent {
277
282
  }): JSX.Element;
278
283
  displayName?: string;
279
284
  }
280
- declare const RadioGroup: RadioGroupGenericComponent;
281
- declare const RadioGroupPrimitive: typeof RadioGroup;
285
+ declare const RadioGroupPrimitive: RadioGroupGenericComponent;
282
286
 
283
287
  interface SelectProps<T extends object> extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
284
288
  label?: string;
@@ -296,18 +300,19 @@ interface SelectGenericComponent {
296
300
  }): JSX.Element;
297
301
  displayName?: string;
298
302
  }
299
- declare const Select: SelectGenericComponent;
300
- declare const SelectPrimitive: typeof Select;
303
+ declare const SelectPrimitive: SelectGenericComponent;
301
304
 
302
305
  interface SwitchProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> {
303
306
  label?: string;
307
+ required?: boolean;
308
+ option?: string;
304
309
  description?: string;
305
- checked?: boolean;
310
+ icon?: React__default.ReactNode;
306
311
  className?: string;
307
312
  overrideClassName?: boolean;
308
313
  error?: string;
309
314
  }
310
- declare const SwitchPrimitive: (props: SwitchProps & React__default.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
315
+ declare const SwitchPrimitive: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<HTMLInputElement>>;
311
316
 
312
317
  interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
313
318
  label?: string;
@@ -319,13 +324,13 @@ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAr
319
324
  error?: string;
320
325
  helperText?: string;
321
326
  }
322
- declare const TextAreaPrimitive: (props: TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>) => react_jsx_runtime.JSX.Element;
327
+ declare const TextAreaPrimitive: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
323
328
 
324
329
  interface ValidateFieldProps {
325
330
  children: React.ReactNode;
326
331
  className?: string;
327
332
  overrideClassName?: boolean;
328
333
  }
329
- declare const ValidateFieldPrimitive: (props: ValidateFieldProps) => react_jsx_runtime.JSX.Element;
334
+ declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
330
335
 
331
336
  export { AccordionItemData, AccordionPrimitive, AccordionProps, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, CheckBoxGroupPrimitive, CheckBoxPrimitive, CheckBoxProps, ComboBoxPrimitive, DropdownMenuContentPrimitive, DropdownMenuContentProps, DropdownMenuItemPrimitive, DropdownMenuItemProps, DropdownMenuLabelPrimitive, DropdownMenuLabelProps, DropdownMenuPrimitive, DropdownMenuProps, DropdownMenuSeparatorPrimitive, DropdownMenuSeparatorProps, DropdownMenuTriggerPrimitive, DropdownMenuTriggerProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, OtpInputPrimitive, OtpInputProps, RadioGroupPrimitive, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, ValidateFieldPrimitive, ValidateFieldProps };
package/dist/page.d.ts CHANGED
@@ -21,7 +21,7 @@ interface AccordionProps {
21
21
  onValueChange?: (value: string | string[]) => void;
22
22
  className?: string;
23
23
  }
24
- declare const AccordionPrimitive: (props: AccordionProps) => react_jsx_runtime.JSX.Element;
24
+ declare const AccordionPrimitive: React__default.FC<AccordionProps>;
25
25
 
26
26
  interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
27
27
  variant?: "primary" | "secondary" | "tertiary" | "outline" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "gradient" | "glass" | "soft" | "dark" | "light" | "accent" | "obsidian" | "polar";
@@ -32,7 +32,7 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
32
32
  loading?: boolean;
33
33
  loadingContent?: React__default.ReactNode;
34
34
  }
35
- declare const ButtonPrimitive: (props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
35
+ declare const ButtonPrimitive: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
36
36
 
37
37
  interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
38
38
  children: React__default.ReactNode;
@@ -58,12 +58,12 @@ interface CardFooterProps extends React__default.HTMLAttributes<HTMLDivElement>
58
58
  children: React__default.ReactNode;
59
59
  overrideClassName?: boolean;
60
60
  }
61
- declare const CardPrimitive: (props: CardProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
62
- declare const CardHeaderPrimitive: (props: CardHeaderProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
63
- declare const CardTitlePrimitive: (props: CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>) => react_jsx_runtime.JSX.Element;
64
- declare const CardDescriptionPrimitive: (props: CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>) => react_jsx_runtime.JSX.Element;
65
- declare const CardContentPrimitive: (props: CardContentProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
66
- declare const CardFooterPrimitive: (props: CardFooterProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
61
+ declare const CardPrimitive: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
62
+ declare const CardHeaderPrimitive: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
63
+ declare const CardTitlePrimitive: React__default.ForwardRefExoticComponent<CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>>;
64
+ declare const CardDescriptionPrimitive: React__default.ForwardRefExoticComponent<CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>>;
65
+ declare const CardContentPrimitive: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
66
+ declare const CardFooterPrimitive: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
67
67
 
68
68
  interface DropdownMenuProps extends React__default.HTMLAttributes<HTMLDivElement> {
69
69
  children: React__default.ReactNode;
@@ -83,24 +83,29 @@ interface DropdownMenuSeparatorProps extends React__default.HTMLAttributes<HTMLD
83
83
  }
84
84
  interface DropdownMenuLabelProps extends React__default.HTMLAttributes<HTMLDivElement> {
85
85
  }
86
- declare const DropdownMenuPrimitive: (props: DropdownMenuProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
87
- declare const DropdownMenuTriggerPrimitive: (props: DropdownMenuTriggerProps) => react_jsx_runtime.JSX.Element;
88
- declare const DropdownMenuContentPrimitive: (props: DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
89
- declare const DropdownMenuItemPrimitive: (props: DropdownMenuItemProps & React__default.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
90
- declare const DropdownMenuSeparatorPrimitive: (props: DropdownMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
91
- declare const DropdownMenuLabelPrimitive: (props: DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
86
+ declare const DropdownMenuPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuProps & React__default.RefAttributes<HTMLDivElement>>;
87
+ declare const DropdownMenuTriggerPrimitive: {
88
+ ({ children, asChild }: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
89
+ displayName: string;
90
+ };
91
+ declare const DropdownMenuContentPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>>;
92
+ declare const DropdownMenuItemPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuItemProps & React__default.RefAttributes<HTMLButtonElement>>;
93
+ declare const DropdownMenuSeparatorPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React__default.RefAttributes<HTMLDivElement>>;
94
+ declare const DropdownMenuLabelPrimitive: React__default.ForwardRefExoticComponent<DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>>;
92
95
 
93
96
  interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
94
97
  label?: string;
95
98
  required?: boolean;
96
99
  option: string;
100
+ description?: string;
101
+ icon?: React.ReactNode;
97
102
  orientation?: "left" | "right";
98
103
  className?: string;
99
104
  overrideClassName?: boolean;
100
105
  helperText?: string;
101
106
  error?: string;
102
107
  }
103
- declare const CheckBoxPrimitive: (props: CheckBoxProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
108
+ declare const CheckBoxPrimitive: React$1.ForwardRefExoticComponent<CheckBoxProps & React$1.RefAttributes<HTMLInputElement>>;
104
109
 
105
110
  type Alignment = 'horizontal' | 'vertical';
106
111
 
@@ -137,8 +142,7 @@ interface CheckBoxGroupGenericComponent {
137
142
  }): JSX.Element;
138
143
  displayName?: string;
139
144
  }
140
- declare const CheckBoxGroup: CheckBoxGroupGenericComponent;
141
- declare const CheckBoxGroupPrimitive: typeof CheckBoxGroup;
145
+ declare const CheckBoxGroupPrimitive: CheckBoxGroupGenericComponent;
142
146
 
143
147
  type Mode = 'multiple' | 'single';
144
148
 
@@ -178,15 +182,14 @@ interface ComboBoxGenericComponent {
178
182
  }): JSX.Element;
179
183
  displayName?: string;
180
184
  }
181
- declare const ComboBox: ComboBoxGenericComponent;
182
- declare const ComboBoxPrimitive: typeof ComboBox;
185
+ declare const ComboBoxPrimitive: ComboBoxGenericComponent;
183
186
 
184
187
  interface HelperFieldProps {
185
188
  children: string;
186
189
  className?: string;
187
190
  overrideClassName?: boolean;
188
191
  }
189
- declare const HelperFieldPrimitive: (props: HelperFieldProps) => react_jsx_runtime.JSX.Element;
192
+ declare const HelperFieldPrimitive: React$1.FunctionComponent<HelperFieldProps>;
190
193
 
191
194
  type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
192
195
 
@@ -206,7 +209,7 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
206
209
  error?: string;
207
210
  helperText?: string;
208
211
  }
209
- declare const InputPrimitive: (props: InputProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
212
+ declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
210
213
 
211
214
  type CaseMode = "none" | "upper" | "lower" | "visual-upper" | "visual-lower";
212
215
 
@@ -224,7 +227,7 @@ interface OtpInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInpu
224
227
  customPattern?: RegExp;
225
228
  caseMode?: CaseMode;
226
229
  }
227
- declare const OtpInputPrimitive: (props: OtpInputProps & React__default.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
230
+ declare const OtpInputPrimitive: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
228
231
 
229
232
  interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
230
233
  children?: React.ReactNode;
@@ -232,18 +235,20 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
232
235
  className?: string;
233
236
  overrideClassName?: boolean;
234
237
  }
235
- declare const LabelPrimitive: (props: LabelProps) => react_jsx_runtime.JSX.Element;
238
+ declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
236
239
 
237
240
  interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
238
241
  label?: string;
239
242
  required?: boolean;
240
243
  option: string;
244
+ description?: string;
245
+ icon?: React.ReactNode;
241
246
  className?: string;
242
247
  overrideClassName?: boolean;
243
248
  helperText?: string;
244
249
  error?: string;
245
250
  }
246
- declare const RadioPrimitive: (props: RadioProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
251
+ declare const RadioPrimitive: React$1.ForwardRefExoticComponent<RadioProps & React$1.RefAttributes<HTMLInputElement>>;
247
252
 
248
253
  type ChangeEvent<V> = {
249
254
  target: {
@@ -277,8 +282,7 @@ interface RadioGroupGenericComponent {
277
282
  }): JSX.Element;
278
283
  displayName?: string;
279
284
  }
280
- declare const RadioGroup: RadioGroupGenericComponent;
281
- declare const RadioGroupPrimitive: typeof RadioGroup;
285
+ declare const RadioGroupPrimitive: RadioGroupGenericComponent;
282
286
 
283
287
  interface SelectProps<T extends object> extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
284
288
  label?: string;
@@ -296,18 +300,19 @@ interface SelectGenericComponent {
296
300
  }): JSX.Element;
297
301
  displayName?: string;
298
302
  }
299
- declare const Select: SelectGenericComponent;
300
- declare const SelectPrimitive: typeof Select;
303
+ declare const SelectPrimitive: SelectGenericComponent;
301
304
 
302
305
  interface SwitchProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> {
303
306
  label?: string;
307
+ required?: boolean;
308
+ option?: string;
304
309
  description?: string;
305
- checked?: boolean;
310
+ icon?: React__default.ReactNode;
306
311
  className?: string;
307
312
  overrideClassName?: boolean;
308
313
  error?: string;
309
314
  }
310
- declare const SwitchPrimitive: (props: SwitchProps & React__default.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
315
+ declare const SwitchPrimitive: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<HTMLInputElement>>;
311
316
 
312
317
  interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
313
318
  label?: string;
@@ -319,13 +324,13 @@ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAr
319
324
  error?: string;
320
325
  helperText?: string;
321
326
  }
322
- declare const TextAreaPrimitive: (props: TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>) => react_jsx_runtime.JSX.Element;
327
+ declare const TextAreaPrimitive: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
323
328
 
324
329
  interface ValidateFieldProps {
325
330
  children: React.ReactNode;
326
331
  className?: string;
327
332
  overrideClassName?: boolean;
328
333
  }
329
- declare const ValidateFieldPrimitive: (props: ValidateFieldProps) => react_jsx_runtime.JSX.Element;
334
+ declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
330
335
 
331
336
  export { AccordionItemData, AccordionPrimitive, AccordionProps, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, CheckBoxGroupPrimitive, CheckBoxPrimitive, CheckBoxProps, ComboBoxPrimitive, DropdownMenuContentPrimitive, DropdownMenuContentProps, DropdownMenuItemPrimitive, DropdownMenuItemProps, DropdownMenuLabelPrimitive, DropdownMenuLabelProps, DropdownMenuPrimitive, DropdownMenuProps, DropdownMenuSeparatorPrimitive, DropdownMenuSeparatorProps, DropdownMenuTriggerPrimitive, DropdownMenuTriggerProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, OtpInputPrimitive, OtpInputProps, RadioGroupPrimitive, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, ValidateFieldPrimitive, ValidateFieldProps };
package/dist/page.js CHANGED
@@ -1,45 +1,45 @@
1
1
  'use strict';
2
2
 
3
- var Ut = require('react');
4
3
  var jsxRuntime = require('react/jsx-runtime');
5
- var Tr = require('clsx');
4
+ var Jt = require('react');
5
+ var Lr = require('clsx');
6
6
  var tailwindMerge = require('tailwind-merge');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
 
10
- var Ut__default = /*#__PURE__*/_interopDefault(Ut);
11
- var Tr__default = /*#__PURE__*/_interopDefault(Tr);
10
+ var Jt__default = /*#__PURE__*/_interopDefault(Jt);
11
+ var Lr__default = /*#__PURE__*/_interopDefault(Lr);
12
12
 
13
- var Te=Ut.createContext(void 0),Ft=({message:e})=>jsxRuntime.jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxRuntime.jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxRuntime.jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsxRuntime.jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsxRuntime.jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsxRuntime.jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsxRuntime.jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),St=({children:e,licenseKey:t})=>{let[r,n]=Ut.useState(!1),[o,i]=Ut.useState(null),[a,s]=Ut.useState(!0),l=f=>{if(i(null),!f)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let c="chave-secreta-123";if(f!==c)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");n(!0);};return Ut.useEffect(()=>{if(t){s(!0);try{l(t);}catch(f){i(f instanceof Error?f.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsxRuntime.jsx(Te.Provider,{value:{isLicenseValid:r,validateLicense:l,licenseError:o},children:r?e:jsxRuntime.jsx(Ft,{message:o||"Licen\xE7a inv\xE1lida"})})},ye=()=>{let e=Ut.useContext(Te);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Pe=({message:e="Component locked - Please validate your license"})=>jsxRuntime.jsxs("div",{className:"flex items-start p-4 bg-red-50 border border-red-500 text-red-700 rounded-md gap-2",children:[jsxRuntime.jsx("span",{children:" \u274C Component locked - Please validate your license"}),jsxRuntime.jsx("span",{children:e})]});var g=e=>t=>{let{isLicenseValid:r}=ye();return r?jsxRuntime.jsx(e,{...t}):jsxRuntime.jsx(Pe,{})};var Ee=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:i=""})=>{let a=c=>c===void 0?[]:Array.isArray(c)?c:[c],[s,l]=Ut.useState(a(n??r));Ut.useEffect(()=>{n!==void 0&&l(a(n));},[n]);let f=Ut.useCallback(c=>{l(x=>{let h;return t==="single"?h=x.includes(c)?[]:[c]:h=x.includes(c)?x.filter(d=>d!==c):[...x,c],o?.(t==="single"?h[0]??"":h),h});},[t,o]);return jsxRuntime.jsx("div",{className:`space-y-2 ${i}`,children:e.map(c=>jsxRuntime.jsx(Ot,{...c,isOpen:s.includes(c.id),onToggle:()=>f(c.id)},c.id))})},Ot=({title:e,content:t,disabled:r=!1,isOpen:n,onToggle:o})=>jsxRuntime.jsxs("div",{className:"border border-border rounded-md overflow-hidden",children:[jsxRuntime.jsx("button",{onClick:o,disabled:r,className:`w-full px-4 py-3 text-left font-medium transition-colors
13
+ var Re=({title:e="Ocorreu um erro",message:t,description:r="Algo deu errado ao carregar esta p\xE1gina.",badge:n="Erro",actions:o})=>jsxRuntime.jsx("div",{className:"flex min-h-screen w-full items-center justify-center bg-linear-to-br from-red-50 via-rose-50 to-red-100 px-4 dark:from-red-950 dark:via-zinc-950 dark:to-red-900/30",children:jsxRuntime.jsxs("div",{className:"relative w-full max-w-md rounded-2xl bg-white/90 p-8 text-center shadow-2xl backdrop-blur animate-in fade-in zoom-in-95 dark:bg-zinc-900/90",children:[jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 rounded-2xl ring-1 ring-red-200 dark:ring-red-800"}),n&&jsxRuntime.jsx("span",{className:"mb-6 inline-block rounded-full bg-red-100 px-4 py-1 text-xs font-semibold text-red-700 dark:bg-red-900/40 dark:text-red-300",children:n}),jsxRuntime.jsx("div",{className:"mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-linear-to-tr from-red-200 to-red-100 text-red-600 shadow-inner dark:from-red-900/40 dark:to-red-800/40 dark:text-red-400",children:jsxRuntime.jsxs("svg",{className:"h-9 w-9 animate-pulse",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[jsxRuntime.jsx("path",{d:"M12 9v4"}),jsxRuntime.jsx("path",{d:"M12 17h.01"}),jsxRuntime.jsx("path",{d:"M5.07 19h13.86c1.54 0 2.5-1.67 1.73-3L13.73 4c-.77-1.33-2.69-1.33-3.46 0L3.34 16c-.77 1.33.19 3 1.73 3z"})]})}),jsxRuntime.jsx("h1",{className:"mb-2 text-2xl font-extrabold text-zinc-900 dark:text-zinc-100",children:e}),jsxRuntime.jsx("p",{className:"mb-2 text-sm font-medium text-red-600 dark:text-red-400",children:t}),r&&jsxRuntime.jsx("p",{className:"mb-6 text-sm text-zinc-600 dark:text-zinc-400",children:r}),o&&o.length>0&&jsxRuntime.jsx("div",{className:"flex flex-col gap-3",children:o.map((i,a)=>{let l=i.variant!=="secondary";return jsxRuntime.jsx("button",{onClick:i.onClick,className:l?"rounded-xl bg-linear-to-r from-red-600 to-red-700 px-5 py-2.5 text-sm font-semibold text-white shadow-lg transition hover:scale-[1.02] hover:shadow-red-600/40 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 dark:focus:ring-offset-zinc-900":"rounded-xl border border-zinc-200 px-5 py-2.5 text-sm font-semibold text-zinc-700 transition hover:bg-zinc-100 dark:border-zinc-700 dark:text-zinc-300 dark:hover:bg-zinc-800",children:i.label},a)})})]})});var Ne=Jt.createContext(void 0),$t=({children:e,licenseKey:t})=>{let[r,n]=Jt.useState(!1),[o,i]=Jt.useState(null),[a,l]=Jt.useState(!0),s=b=>{if(i(null),!b)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let c="chave-secreta-123";if(b!==c)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");n(!0);};return Jt.useEffect(()=>{if(t){l(!0);try{s(t);}catch(b){i(b instanceof Error?b.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{l(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),l(!1);},[t]),a?null:jsxRuntime.jsx(Ne.Provider,{value:{isLicenseValid:r,validateLicense:s,licenseError:o},children:r?e:jsxRuntime.jsx(Re,{badge:"Licen\xE7a necess\xE1ria",title:"Erro de Licen\xE7a",message:o||"Licen\xE7a inv\xE1lida",description:"Sua aplica\xE7\xE3o precisa de uma licen\xE7a v\xE1lida para continuar.",actions:[{label:"Tentar novamente",onClick:()=>window.location.reload()},{label:"Falar com suporte",variant:"secondary",onClick:()=>{window.open("mailto:marcos.vinicius.engsof@gmail.com");}}]})})},Ee=()=>{let e=Jt.useContext(Ne);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Ve=({message:e="Component locked - Please validate your license"})=>jsxRuntime.jsxs("div",{className:"flex items-start p-4 bg-red-50 border border-red-500 text-red-700 rounded-md gap-2",children:[jsxRuntime.jsx("span",{children:" \u274C Component locked - Please validate your license"}),jsxRuntime.jsx("span",{children:e})]});var g=({children:e})=>{let{isLicenseValid:t}=Ee();return t?jsxRuntime.jsx(jsxRuntime.Fragment,{children:e}):jsxRuntime.jsx(Ve,{})};var Fe=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:i=""})=>{let a=c=>c===void 0?[]:Array.isArray(c)?c:[c],[l,s]=Jt.useState(a(n??r));Jt.useEffect(()=>{n!==void 0&&s(a(n));},[n]);let b=Jt.useCallback(c=>{s(v=>{let f;return t==="single"?f=v.includes(c)?[]:[c]:f=v.includes(c)?v.filter(d=>d!==c):[...v,c],o?.(t==="single"?f[0]??"":f),f});},[t,o]);return jsxRuntime.jsx("div",{className:`space-y-2 ${i}`,children:e.map(c=>jsxRuntime.jsx(zt,{...c,isOpen:l.includes(c.id),onToggle:()=>b(c.id)},c.id))})},zt=({title:e,content:t,disabled:r=!1,isOpen:n,onToggle:o})=>jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"border border-border rounded-md overflow-hidden",children:[jsxRuntime.jsx("button",{onClick:o,disabled:r,className:`w-full px-4 py-3 text-left font-medium transition-colors
14
14
  ${r?"opacity-50 cursor-not-allowed":"hover:bg-accent hover:text-accent-foreground"}
15
15
  ${n?"bg-accent text-accent-foreground":"bg-background text-foreground"}
16
- `,children:jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx("span",{children:e}),jsxRuntime.jsx("svg",{className:`w-5 h-5 transition-transform ${n?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),n&&jsxRuntime.jsx("div",{className:"px-4 py-3 bg-background border-t border-border",children:t})]});Ee.displayName="Accordion";var pn=g(Ee);function u(...e){return tailwindMerge.twMerge(Tr.clsx(e))}var Ne=Ut__default.default.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:i,loading:a=!1,loadingContent:s,...l},f)=>{let c="inline-flex items-center justify-center rounded-lg font-medium cursor-pointer active:translate-y-1 transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",x={primary:"bg-blue-600 text-white hover:bg-blue-700 shadow-md focus-visible:ring-blue-500",secondary:"bg-gray-600 text-white hover:bg-gray-700 shadow-sm focus-visible:ring-gray-500",tertiary:"bg-purple-600 text-white hover:bg-purple-700 shadow-sm focus-visible:ring-purple-500",destructive:"bg-red-600 text-white hover:bg-red-700 shadow-sm focus-visible:ring-red-500",success:"bg-green-600 text-white hover:bg-green-700 shadow-sm focus-visible:ring-green-500",warning:"bg-amber-500 text-white hover:bg-amber-600 shadow-sm focus-visible:ring-amber-500",info:"bg-cyan-600 text-white hover:bg-cyan-700 shadow-sm focus-visible:ring-cyan-500",accent:"bg-violet-600 text-white hover:bg-violet-700 shadow-sm focus-visible:ring-violet-500",outline:"border border-gray-300 bg-transparent text-gray-700 hover:bg-gray-50 shadow-sm focus-visible:ring-gray-500",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus-visible:ring-gray-500",link:"text-blue-600 underline-offset-4 hover:underline bg-transparent p-0 h-auto shadow-none",gradient:"bg-gradient-to-r from-blue-600 to-purple-600 text-white hover:from-blue-700 hover:to-purple-700 shadow-md focus-visible:ring-blue-500",glass:"bg-white/10 backdrop-blur-md border border-white/20 text-black hover:bg-white/20 shadow-sm focus-visible:ring-white/50",soft:"bg-blue-100 text-blue-700 hover:bg-blue-200 shadow-sm focus-visible:ring-blue-500",dark:"bg-gray-900 text-white hover:bg-gray-800 shadow-md focus-visible:ring-gray-500",light:"bg-gray-100 text-gray-900 hover:bg-gray-200 shadow-sm focus-visible:ring-gray-500",obsidian:"bg-black text-white hover:bg-gray-900 shadow-md border border-gray-800 focus-visible:ring-gray-700",polar:"bg-white text-gray-900 hover:bg-gray-50 shadow-md border border-gray-300 focus-visible:ring-gray-400"},h={xs:"h-7 px-2 text-xs min-w-16",sm:"h-9 px-3 text-sm min-w-20",md:"h-10 px-4 py-2 text-base min-w-24",lg:"h-11 px-6 text-lg min-w-28",xl:"h-12 px-8 text-xl min-w-32"},d=t?e:u(c,x[r],h[n],e);return o?jsxRuntime.jsx("a",{href:o,className:d,ref:f,children:a&&s?s:i}):jsxRuntime.jsx("button",{className:d,ref:f,...l,children:a&&s?s:i})});Ne.displayName="Button";var Tn=g(Ne);var Me=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("div",{ref:o,className:t?e:u("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r}));Me.displayName="Card";var Ie=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("div",{ref:o,className:t?e:u("flex flex-col space-y-1.5 p-6",e),...n,children:r}));Ie.displayName="CardHeader";var He=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("h3",{ref:o,className:t?e:u("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r}));He.displayName="CardTitle";var Ve=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("p",{ref:o,className:t?e:u("text-sm text-muted-foreground",e),...n,children:r}));Ve.displayName="CardDescription";var Fe=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("div",{ref:o,className:t?e:u("p-6 pt-0",e),...n,children:r}));Fe.displayName="CardContent";var Se=Ut.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx("div",{ref:o,className:t?e:u("flex items-center p-6 pt-0",e),...n,children:r}));Se.displayName="CardFooter";var kn=g(Me),Nn=g(Ie),Mn=g(He),In=g(Ve),Hn=g(Fe),Vn=g(Se);var ne=Ut.createContext(void 0),Ae=Ut.forwardRef(({children:e,className:t,...r},n)=>{let[o,i]=Ut.useState(!1);return jsxRuntime.jsx(ne.Provider,{value:{isOpen:o,setIsOpen:i},children:jsxRuntime.jsx("div",{ref:n,className:u("relative inline-block",t),...r,children:e})})});Ae.displayName="DropdownMenu";var $e=({children:e,asChild:t})=>{let r=Ut.useContext(ne);if(!r)throw new Error("DropdownMenuTrigger must be used within DropdownMenu");let n=()=>r.setIsOpen(!r.isOpen);if(t){let o=e;return Ut.cloneElement(o,{onClick:i=>{o.props.onClick?.(i),n();}})}return jsxRuntime.jsx("button",{onClick:n,children:e})};$e.displayName="DropdownMenuTrigger";var Be=Ut.forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let i=Ut.useContext(ne),a=Ut.useRef(null);return Ut.useEffect(()=>{o&&(typeof o=="function"?o(a.current):o.current=a.current);},[o]),Ut.useEffect(()=>{let l=f=>{a.current&&!a.current.contains(f.target)&&i?.setIsOpen(!1);};return i?.isOpen&&document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l);}},[i?.isOpen]),i?.isOpen?jsxRuntime.jsx("div",{ref:a,className:u("absolute z-50 mt-2 min-w-32 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",{start:"left-0",center:"left-1/2 -translate-x-1/2",end:"right-0"}[t],r),...n,children:e}):null});Be.displayName="DropdownMenuContent";var Oe=Ut.forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},i)=>{let a=Ut.useContext(ne);return jsxRuntime.jsx("button",{ref:i,onClick:l=>{t?.(l),a?.setIsOpen(!1);},className:u("w-full text-left px-4 py-2 text-sm hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none",r&&"text-red-600 hover:bg-red-50 hover:text-red-700 focus:bg-red-50 focus:text-red-700",n),...o,children:e})});Oe.displayName="DropdownMenuItem";var Ge=Ut.forwardRef(({className:e,...t},r)=>jsxRuntime.jsx("div",{ref:r,className:u("-mx-1 my-1 h-px bg-border",e),...t}));Ge.displayName="DropdownMenuSeparator";var Ke=Ut.forwardRef(({children:e,className:t,...r},n)=>jsxRuntime.jsx("div",{ref:n,className:u("px-2 py-1.5 text-sm font-semibold",t),...r,children:e}));Ke.displayName="DropdownMenuLabel";var On=g(Ae),Gn=g($e),Kn=g(Be),Un=g(Oe),qn=g(Ge),_n=g(Ke);var zt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:u("text-sm text-muted-foreground",t),children:e})},I=g(zt);var Zt=({children:e,required:t,className:r,overrideClassName:n=!1,...o})=>jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("label",{...o,className:n?r:u("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",r),children:e}),t&&jsxRuntime.jsx("span",{className:"text-red-600",children:"*"})]}),L=g(Zt);var Yt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:u("text-sm text-red-600 dark:text-red-400",t),children:e})},H=g(Yt);var _e=Ut.forwardRef(({label:e,required:t,option:r,orientation:n="left",className:o,overrideClassName:i=!1,helperText:a,error:s,...l},f)=>{let c=Ut.useId(),x=u("h-4 w-4 rounded border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s&&"border-destructive",o);return jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(L,{required:t,children:e}),jsxRuntime.jsxs("div",{className:`flex ${n=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsxRuntime.jsx("input",{id:c,type:"checkbox",className:i?o:x,ref:f,...l}),r&&jsxRuntime.jsx(L,{htmlFor:c,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r})]}),s&&jsxRuntime.jsx(H,{children:s}),!s&&a&&jsxRuntime.jsx(I,{children:a})]})});_e.displayName="CheckBox";var uo=g(_e);function or(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:i,labelKey:a,valueKey:s,options:l,alignment:f="vertical",className:c,overrideClassName:x=!1,helperText:h,error:d,label:P,name:R,required:v,...T}=e,k=Ut.useId(),y=Ut.useMemo(()=>new Map(l.map(b=>[String(b[s]),b])),[l,s]),M=Ut.useMemo(()=>o==null?[]:r==="field"?n?o.map(b=>String(b)):[String(o)]:n?o.map(b=>String(b[s])):[String(o[s])],[o,r,n,s]),S=(b,w)=>{if(!i)return;let m;if(r==="field")if(n)m=b.map(C=>{let E=y.get(C);return E?E[s]:C});else {let p=b[0];if(!p)m=void 0;else {let C=y.get(p);m=C?C[s]:p;}}else n?m=b.map(C=>y.get(C)).filter(C=>C!==void 0):m=y.get(b[0]??"")??void 0;i({target:{name:R,value:m,type:"checkboxgroup",checked:w}});},V=b=>{let w;n?w=M.includes(b)?M.filter(m=>m!==b):[...M,b]:w=M[0]===b?[]:[b],S(w,w.includes(b));},N=f==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",F=u("h-4 w-4 rounded border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",d&&"border-destructive");return jsxRuntime.jsxs("div",{className:u("flex flex-col gap-3",c),children:[P&&jsxRuntime.jsx(L,{required:v,children:P}),jsxRuntime.jsx("div",{className:N,children:l.map((b,w)=>{let m=String(b[s]),p=M.includes(m),C=`${k}-${m}-${w}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...T,id:C,ref:t,type:"checkbox",name:R,checked:p,onChange:()=>V(m),className:x?c:F}),jsxRuntime.jsx(L,{htmlFor:C,children:String(b[a])})]},C)})}),!!d&&jsxRuntime.jsx(H,{children:String(d)}),!d&&h&&jsxRuntime.jsx(I,{children:h})]})}function ar(){let e=Ut.forwardRef(or);return e.displayName="CheckBoxGroup",e}var ir=ar(),Po=g(ir);var sr=({...e})=>jsxRuntime.jsx("svg",{...e,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),oe=sr;var cr=(e,t)=>{Ut.useEffect(()=>{let r=n=>{e.current&&!e.current.contains(n.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Xe=cr;function de({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:i,typeSet:a,name:s}){let[l,f]=Ut.useState([]),c=Ut.useMemo(()=>new Map(e.map(v=>[String(v[r]),v])),[e,r]),x=Ut.useCallback(()=>l.map(v=>c.get(v)).filter(v=>!!v),[l,c]),h=Ut.useCallback(v=>{if(!o)return;let T;if(a==="field"?n?T=v:T=v[0]??void 0:n?T=v.map(y=>c.get(y)).filter(y=>y!==void 0):T=c.get(v[0]??"")??void 0,i&&!n){let k=c.get(v[0]??"");k&&i(String(k[t]));}o({target:{name:s,value:T,type:"combobox"}});},[n,o,c,s,a,i,t]),d=Ut.useCallback(v=>{let T=String(v[r]),k=n?l.includes(T)?l.filter(y=>y!==T):[...l,T]:[T];f(k),h(k);},[n,l,h,r]),P=Ut.useCallback(v=>{let T=l.filter(k=>k!==v);f(T),h(T);},[l,h]),R=Ut.useCallback(()=>{f([]),i?.("");let v;a==="field"?v=n?[]:"":v=n?[]:void 0,o?.({target:{name:s,value:v,type:"combobox"}});},[n,o,s,i,a]);return {selectedValues:l,handleSelect:d,handleRemove:P,handleClear:R,getSelectedOptions:x}}function me(e,t,r){return Ut.useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var je=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:i,filteredOptions:a,highlightedIndex:s,setHighlightedIndex:l,handleSelect:f,handleRemove:c})=>{let x=Ut.useCallback(d=>{if(a.length===0){l(-1);return}l(P=>P<0?d>0?0:a.length-1:(P+d+a.length)%a.length);},[a,l]);return Ut.useCallback(d=>{if(!e){if(d.key==="Enter"||d.key==="ArrowDown"){t(!0),l(0),d.preventDefault();return}r&&d.key==="Backspace"&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),x(1);break;case"ArrowUp":d.preventDefault(),x(-1);break;case"Enter":d.preventDefault();let P=s>=0?s:0,R=a[P];R&&f(R),r&&o&&o(""),r||(t(!1),l(-1));break;case"Escape":d.preventDefault(),t(!1),l(-1),r||o("");break;case"Tab":t(!1),l(-1);break;case"Home":d.preventDefault(),a.length>0&&l(0);break;case"End":d.preventDefault(),a.length>0&&l(a.length-1);break;case"Backspace":r&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));break}},[e,r,n,i,a,s,t,o,l,f,c,x])};function Ye({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),i=String(e[r]);return jsxRuntime.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded",children:[o,jsxRuntime.jsx("button",{type:"button",onMouseDown:a=>a.preventDefault(),onClick:()=>n(i),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},i)}function xr(e,t){let{label:r,required:n=!1,name:o,placeholder:i="Buscar...",labelKey:a,valueKey:s,options:l,value:f,onChange:c,mode:x="single",typeSet:h="field",disabled:d=!1,ClearEnabled:P=!0,helperText:R,error:v=!1,className:T="",...k}=e,y=x==="multiple",[M,S]=Ut.useState(!1),[V,N]=Ut.useState(""),F=Ut.useRef(null),b=Ut.useRef(null),w=Ut.useRef(null);Ut.useImperativeHandle(t,()=>w.current),Xe(b,()=>S(!1));let m=me(l,a,V),[p,C]=Ut.useState(-1),{selectedValues:E,handleSelect:z,handleRemove:xe,handleClear:Rt,getSelectedOptions:he}=de({options:l,labelKey:a,valueKey:s,value:f,multiple:y,onChange:c,typeSet:h,name:o,setSearchTerm:N}),Et=je({isOpen:M,setIsOpen:S,multiple:y,searchTerm:V,setSearchTerm:N,selectedValues:E,filteredOptions:m,highlightedIndex:p,setHighlightedIndex:C,handleSelect:z,handleRemove:xe}),X=Ut.useId(),kt="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Nt=u("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",v?"border-red-500":"border-gray-300 dark:border-gray-600",d?"opacity-50 cursor-not-allowed":"cursor-text","focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500");return jsxRuntime.jsxs("div",{className:`space-y-2 ${T}`,children:[r&&jsxRuntime.jsx(L,{htmlFor:X,required:n,children:r}),jsxRuntime.jsxs("div",{ref:F,className:"relative",children:[jsxRuntime.jsxs("div",{className:Nt,children:[y&&he().length>0&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:he().map((D,$)=>jsxRuntime.jsx(Ye,{option:D,labelKey:a,valueKey:s,onRemove:xe},String(D[s]??$)))}),jsxRuntime.jsx("input",{ref:w,...k,name:o,type:"text",placeholder:i,value:V,onChange:D=>{let $=D.target.value;N($),!M&&$.trim()!==""&&S(!0);},onKeyDown:Et,onMouseDown:D=>{document.activeElement===w.current&&(D.preventDefault(),S($=>{let Z=!$;return Z&&C(0),Z}));},onFocus:()=>{S(!0),C(0);},disabled:d,className:kt,role:"combobox","aria-expanded":M,"aria-controls":X,"aria-activedescendant":p>=0?`${X}-opt-${p}`:void 0}),P&&!!E.length&&jsxRuntime.jsx("button",{type:"button",onMouseDown:D=>D.preventDefault(),onClick:Rt,className:"absolute right-2 top-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-1 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700",title:"Limpar sele\xE7\xE3o",children:jsxRuntime.jsx(oe,{width:12,height:12})})]}),M&&jsxRuntime.jsx("div",{ref:b,id:X,className:"absolute z-50 w-full mt-1 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-md shadow-lg max-h-60 overflow-auto",role:"listbox","aria-multiselectable":y||void 0,children:m.length===0?jsxRuntime.jsx("div",{className:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400",children:"Nenhum resultado encontrado"}):m.map((D,$)=>{let Z=String(D[s]),ie=E.includes(Z),se=$===p;return jsxRuntime.jsx("button",{id:`${X}-opt-${$}`,"data-index":$,role:"option","aria-selected":ie,type:"button",onMouseDown:Mt=>Mt.preventDefault(),onClick:()=>z(D),className:u("w-full px-3 py-2 text-left text-sm transition-colors",se&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!se&&ie&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!ie&&!se&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsxRuntime.jsx("span",{children:String(D[a])})},Z)})})]}),v&&jsxRuntime.jsx(H,{children:v}),!v&&R&&jsxRuntime.jsx(I,{children:R})]})}function hr(){let e=Ut.forwardRef(xr);return e.displayName="ComboBox",e}var Cr=hr(),Qo=g(Cr);var yr=({children:e,before:t,after:r,className:n})=>{let i=Tr__default.default("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsxRuntime.jsx("div",{className:i,children:jsxRuntime.jsx("span",{children:e})})},ge=yr;var wr=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),tt=wr;var Pr=({children:e})=>jsxRuntime.jsx("div",{className:"absolute right-0 px-2",children:jsxRuntime.jsx("span",{children:e})}),nt=Pr;function ot(e){e.currentTarget.maxLength=9;let t=e.currentTarget.value;return t=t.replace(/\D/g,""),t=t.replace(/^(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function at(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),n=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=a,e}function it(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value;return t.match(/^(\d{3}).(\d{3}).(\d{3})-(\d{2})$/)||(t=t.replace(/\D/g,""),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2"),e.currentTarget.value=t),e}function st(e){e.currentTarget.maxLength=15;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function lt(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{4})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function ct(e){let t=e.currentTarget.value.replace(/\D/g,"");return t.length<=11?(e.currentTarget.maxLength=14,t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2")):(e.currentTarget.maxLength=18,t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2")),e.currentTarget.value=t,e}function dt(e){e.currentTarget.maxLength=12;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{1})$/,"$1-$2"),e.currentTarget.value=t,e}function mt(e){e.currentTarget.maxLength=18;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2"),e.currentTarget.value=t,e}var Lr=({e,mask:t})=>{switch(t){case"money":return at(e);case"mobile":return st(e);case"phone":return lt(e);case"cpfCnpj":return ct(e);case"cpf":return it(e);case"rg":return dt(e);case"cnpj":return mt(e);case"cep":return ot(e);default:return e}},pt=Lr;var kr=({mask:e,initialValue:t=""})=>{let[r,n]=Ut.useState(t);Ut.useEffect(()=>{t!==r&&n(t);},[t]);let o=Ut.useCallback(a=>{let l=pt({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;n(l);},[e]),i=Ut.useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:i}},ft=kr;var gt=Ut.forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:i,addonBefore:a,addonBeforeClassName:s,addonAfter:l,addonAfterClassName:f,ClearEnabled:c=!0,className:x,overrideClassName:h=!1,error:d,helperText:P,value:R=void 0,onChange:v,...T},k)=>{let y=Ut.useId(),{handleChange:M,handleClear:S,setValue:V}=ft({mask:r,initialValue:R}),N=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",d&&"border-destructive focus-visible:ring-destructive",!o&&!i&&"px-3",o&&!i&&"pl-10 pr-3",i&&!o&&"pl-3 pr-10",o&&i&&"pl-10 pr-10",a&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",x),F=w=>{M(w),v?.(w);},b=()=>{S(),V(""),v?.({target:{name:n||"",value:""}});};return jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(L,{htmlFor:y,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative flex",children:[a&&jsxRuntime.jsx(ge,{before:!0,className:s,children:a}),jsxRuntime.jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsxRuntime.jsx(tt,{children:o}),jsxRuntime.jsx("input",{id:y,ref:k,name:n,onChange:F,className:h?x:N,...T}),c&&R&&jsxRuntime.jsx(oe,{onClick:b,width:12,height:12,className:u("absolute right-2 cursor-pointer",i&&"right-8")}),i&&jsxRuntime.jsx(nt,{children:i})]}),l&&jsxRuntime.jsx(ge,{after:!0,className:f,children:l})]}),d&&jsxRuntime.jsx(H,{children:d}),!d&&P&&jsxRuntime.jsx(I,{children:P})]})});gt.displayName="Input";var Ra=g(gt);var vt=Ut.forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:i=!1,helperText:a,error:s,onChange:l,onBlur:f,className:c,charType:x="numeric",customPattern:h,caseMode:d="none",...P},R)=>{let v=Ut.useId(),T=Ut.useRef([]),k=m=>{switch(d){case"upper":return m.toUpperCase();case"lower":case"visual-upper":return m.toLowerCase();case"visual-lower":return m.toUpperCase();default:return m}},y=m=>{if(!m)return "";let p=m.slice(0,1);switch(p=k(p),x){case"numeric":return /\d/.test(p)?p:"";case"alpha":return /[A-Za-z]/.test(p)?p:"";case"alphanumeric":return /[A-Za-z0-9]/.test(p)?p:"";case"custom":return h?.test(p)?p:"";default:return p}},M=()=>(r!=null?String(r):"").split("").map(y).slice(0,e),S=M().concat(Array(e).fill(" ")).slice(0,e),V=m=>{let p=m.split("").map(y).join("").slice(0,e),C=p===""?void 0:typeof r=="number"?Number(p):p;l?.({target:{name:n,value:C}});},N=(m,p)=>{let C=y(p),E=M();if(C===""){E[m]="",V(E.join(""));return}if(p.length>1){let z=p.split("").map(y).join("").slice(0,e);V(z),T.current[Math.min(z.length-1,e-1)]?.focus();return}C&&(E[m]=C,V(E.join("")),m<e-1&&T.current[m+1]?.focus());},F=m=>{let p=M();!p[m]&&m>0?p[m-1]="":p[m]="",V(p.join("")),m>0&&T.current[m-1]?.focus();},b=m=>{m.preventDefault();let C=m.clipboardData.getData("text").split("").map(y).join("").slice(0,e);C&&(V(C),T.current[Math.min(C.length-1,e-1)]?.focus());},w=m=>{switch(d){case"upper":case"visual-upper":return m.toUpperCase();case"lower":case"visual-lower":return m.toLowerCase();default:return m}};return jsxRuntime.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsxRuntime.jsx(L,{htmlFor:v,required:i,children:o}),jsxRuntime.jsx("div",{className:u("flex gap-3 items-center",s&&"text-red-500",c),...P,children:S.map((m,p)=>{let C=t&&p>0&&p%t===0;return jsxRuntime.jsxs(Ut__default.default.Fragment,{children:[C&&jsxRuntime.jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsxRuntime.jsx("input",{id:v,type:"text",maxLength:1,inputMode:x==="numeric"?"numeric":"text",value:w(m).trim(),ref:E=>{T.current[p]=E,p===0&&R&&(typeof R=="function"?R(E):typeof R=="object"&&(R.current=E));},onPaste:b,onChange:E=>N(p,E.target.value),onKeyDown:E=>E.key==="Backspace"&&F(p),onBlur:f,className:u("h-14 w-12 text-center text-2xl rounded-md border border-input bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",s&&"border-red-500")})]},p)})}),s&&jsxRuntime.jsx(H,{children:s}),!s&&a&&jsxRuntime.jsx(I,{children:a})]})});vt.displayName="OtpInput";var Sa=g(vt);var ht=Ut.forwardRef(({label:e,required:t,option:r,className:n,overrideClassName:o,helperText:i,error:a,...s},l)=>{let f=Ut.useId(),c=u("h-4 w-4 border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-destructive",n);return jsxRuntime.jsxs("div",{className:"space-y-3",children:[e&&jsxRuntime.jsx(L,{required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{id:f,type:"radio",className:o?n:c,ref:l,...s}),r&&jsxRuntime.jsx(L,{htmlFor:f,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r})]}),a&&jsxRuntime.jsx(H,{children:a}),!a&&i&&jsxRuntime.jsx(I,{children:i})]})});ht.displayName="Radio";var qa=g(ht);function Br(e,t){let{label:r,required:n,name:o,labelKey:i,valueKey:a,options:s,alignment:l="vertical",className:f,overrideClassName:c=!1,helperText:x,error:h,typeSet:d="field",value:P,onChange:R,...v}=e,T=Ut.useId(),k=Ut.useMemo(()=>new Map(s.map(N=>[String(N[a]),N])),[s,a]),y=Ut.useMemo(()=>P==null?"":String(d==="field"?P:P[a]),[P,d,a]),M=N=>{if(!R)return;let F;if(d==="field"){let b=k.get(N);if(b)F=b[a];else {let w=Number(N);F=Number.isNaN(w)?N:w;}}else F=k.get(N)??void 0;R({target:{name:o,value:F,type:"radiogroup",checked:!0}});},S=l==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",V=u("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",h&&"border-destructive");return jsxRuntime.jsxs("div",{className:u("flex flex-col gap-3",f),children:[r&&jsxRuntime.jsx(L,{required:n,children:r}),jsxRuntime.jsx("div",{className:S,children:s.map((N,F)=>{let b=String(N[a]),w=`${T}-${b}-${F}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...v,id:w,ref:t,name:o,type:"radio",checked:y===b,onChange:()=>M(b),className:c?f:V}),jsxRuntime.jsx(L,{htmlFor:w,children:String(N[i])})]},w)})}),h&&jsxRuntime.jsx(H,{children:String(h)}),!h&&x&&jsxRuntime.jsx(I,{children:x})]})}function Or(){let e=Ut.forwardRef(Br);return e.displayName="RadioGroup",e}var Gr=Or(),ti=g(Gr);function qr({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:i,error:a,helperText:s,className:l,...f},c){let x=Ut.useId(),h=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",l);return jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(L,{htmlFor:x,required:t,children:e}),jsxRuntime.jsxs("select",{id:x,ref:c,className:h,...f,children:[i&&jsxRuntime.jsx("option",{value:"",disabled:!0,children:i}),r.map((d,P)=>jsxRuntime.jsx("option",{value:String(d[o]),children:String(d[n])},P))]}),a&&jsxRuntime.jsx(H,{children:a}),!a&&s&&jsxRuntime.jsx(I,{children:s})]})}function _r(){let e=Ut.forwardRef(qr);return e.displayName="Select",e}var Wr=_r(),pi=g(Wr);var Pt=Ut.forwardRef(({label:e,description:t,checked:r=!1,className:n,overrideClassName:o,error:i,name:a,...s},l)=>{let f=Ut.useId();return jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{type:"checkbox",id:f,name:a,checked:r,className:"peer sr-only",ref:l,...s}),jsxRuntime.jsx("label",{htmlFor:f,className:u("relative flex items-center h-6 w-11 cursor-pointer rounded-full bg-input transition-colors duration-200","peer-checked:bg-primary peer-focus:ring-2 peer-focus:ring-ring peer-focus:ring-offset-2 peer-focus:ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50",n),children:jsxRuntime.jsx("span",{className:u("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",r?"translate-x-5":"translate-x-1")})}),(e||t)&&jsxRuntime.jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[e&&jsxRuntime.jsx(L,{id:`${f}-label`,htmlFor:f,className:"text-sm font-medium leading-none",children:e}),t&&jsxRuntime.jsx(L,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:t})]})]})});Pt.displayName="Switch";var Ci=g(Pt);var Lt=Ut__default.default.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:i=!1,error:a,helperText:s,...l},f)=>{let c=Ut.useId(),[x,h]=Ut.useState(0),d=u("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",o);return jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(L,{htmlFor:c,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx("textarea",{id:c,className:i?o:d,maxLength:n,onInput:P=>h(P.currentTarget.textLength),ref:f,...l}),r&&jsxRuntime.jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[x,n?` / ${n}`:""]})]}),a&&jsxRuntime.jsx(H,{children:a}),!a&&s&&jsxRuntime.jsx(I,{children:s})]})});Lt.displayName="TextArea";var Ni=g(Lt);
16
+ `,children:jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx("span",{children:e}),jsxRuntime.jsx("svg",{className:`w-5 h-5 transition-transform ${n?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),n&&jsxRuntime.jsx("div",{className:"px-4 py-3 bg-background border-t border-border",children:t})]})});Fe.displayName="Accordion";var vn=Fe;function u(...e){return tailwindMerge.twMerge(Lr.clsx(e))}var Se=Jt__default.default.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:i,loading:a=!1,loadingContent:l,...s},b)=>{let c="inline-flex items-center justify-center rounded-lg font-medium cursor-pointer active:translate-y-1 transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",v={primary:"bg-blue-600 text-white hover:bg-blue-700 shadow-md focus-visible:ring-blue-500",secondary:"bg-gray-600 text-white hover:bg-gray-700 shadow-sm focus-visible:ring-gray-500",tertiary:"bg-purple-600 text-white hover:bg-purple-700 shadow-sm focus-visible:ring-purple-500",destructive:"bg-red-600 text-white hover:bg-red-700 shadow-sm focus-visible:ring-red-500",success:"bg-green-600 text-white hover:bg-green-700 shadow-sm focus-visible:ring-green-500",warning:"bg-amber-500 text-white hover:bg-amber-600 shadow-sm focus-visible:ring-amber-500",info:"bg-cyan-600 text-white hover:bg-cyan-700 shadow-sm focus-visible:ring-cyan-500",accent:"bg-violet-600 text-white hover:bg-violet-700 shadow-sm focus-visible:ring-violet-500",outline:"border border-gray-300 bg-transparent text-gray-700 hover:bg-gray-50 shadow-sm focus-visible:ring-gray-500",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus-visible:ring-gray-500",link:"text-blue-600 underline-offset-4 hover:underline bg-transparent p-0 h-auto shadow-none",gradient:"bg-gradient-to-r from-blue-600 to-purple-600 text-white hover:from-blue-700 hover:to-purple-700 shadow-md focus-visible:ring-blue-500",glass:"bg-white/10 backdrop-blur-md border border-white/20 text-black hover:bg-white/20 shadow-sm focus-visible:ring-white/50",soft:"bg-blue-100 text-blue-700 hover:bg-blue-200 shadow-sm focus-visible:ring-blue-500",dark:"bg-gray-900 text-white hover:bg-gray-800 shadow-md focus-visible:ring-gray-500",light:"bg-gray-100 text-gray-900 hover:bg-gray-200 shadow-sm focus-visible:ring-gray-500",obsidian:"bg-black text-white hover:bg-gray-900 shadow-md border border-gray-800 focus-visible:ring-gray-700",polar:"bg-white text-gray-900 hover:bg-gray-50 shadow-md border border-gray-300 focus-visible:ring-gray-400"},f={xs:"h-7 px-2 text-xs min-w-16",sm:"h-9 px-3 text-sm min-w-20",md:"h-10 px-4 py-2 text-base min-w-24",lg:"h-11 px-6 text-lg min-w-28",xl:"h-12 px-8 text-xl min-w-32"},d=t?e:u(c,v[r],f[n],e);return o?jsxRuntime.jsx(g,{children:jsxRuntime.jsx("a",{href:o,className:d,ref:b,children:a&&l?l:i})}):jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{className:d,ref:b,...s,children:a&&l?l:i})})});Se.displayName="Button";var Rn=Se;var De=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:u("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r})}));De.displayName="Card";var Ae=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:u("flex flex-col space-y-1.5 p-6",e),...n,children:r})}));Ae.displayName="CardHeader";var $e=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("h3",{ref:o,className:t?e:u("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r})}));$e.displayName="CardTitle";var Be=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{ref:o,className:t?e:u("text-sm text-muted-foreground",e),...n,children:r})}));Be.displayName="CardDescription";var Oe=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:u("p-6 pt-0",e),...n,children:r})}));Oe.displayName="CardContent";var Ge=Jt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:u("flex items-center p-6 pt-0",e),...n,children:r})}));Ge.displayName="CardFooter";var Hn=De,Fn=Ae,Sn=$e,Dn=Be,An=Oe,$n=Ge;var ae=Jt.createContext(void 0),qe=Jt.forwardRef(({children:e,className:t,...r},n)=>{let[o,i]=Jt.useState(!1);return jsxRuntime.jsx(g,{children:jsxRuntime.jsx(ae.Provider,{value:{isOpen:o,setIsOpen:i},children:jsxRuntime.jsx("div",{ref:n,className:u("relative inline-block",t),...r,children:e})})})});qe.displayName="DropdownMenu";var ze=({children:e,asChild:t})=>{let r=Jt.useContext(ae);if(!r)throw new Error("DropdownMenuTrigger must be used within DropdownMenu");let n=()=>r.setIsOpen(!r.isOpen);if(t){let o=e;return Jt.cloneElement(o,{onClick:i=>{o.props.onClick?.(i),n();}})}return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{onClick:n,children:e})})};ze.displayName="DropdownMenuTrigger";var Ue=Jt.forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let i=Jt.useContext(ae),a=Jt.useRef(null);return Jt.useEffect(()=>{o&&(typeof o=="function"?o(a.current):o.current=a.current);},[o]),Jt.useEffect(()=>{let s=b=>{a.current&&!a.current.contains(b.target)&&i?.setIsOpen(!1);};return i?.isOpen&&document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s);}},[i?.isOpen]),i?.isOpen?jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:a,className:u("absolute z-50 mt-2 min-w-32 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",{start:"left-0",center:"left-1/2 -translate-x-1/2",end:"right-0"}[t],r),...n,children:e})}):null});Ue.displayName="DropdownMenuContent";var We=Jt.forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},i)=>{let a=Jt.useContext(ae);return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{ref:i,onClick:s=>{t?.(s),a?.setIsOpen(!1);},className:u("w-full text-left px-4 py-2 text-sm hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none",r&&"text-red-600 hover:bg-red-50 hover:text-red-700 focus:bg-red-50 focus:text-red-700",n),...o,children:e})})});We.displayName="DropdownMenuItem";var Je=Jt.forwardRef(({className:e,...t},r)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:r,className:u("-mx-1 my-1 h-px bg-border",e),...t})}));Je.displayName="DropdownMenuSeparator";var _e=Jt.forwardRef(({children:e,className:t,...r},n)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:n,className:u("px-2 py-1.5 text-sm font-semibold",t),...r,children:e})}));_e.displayName="DropdownMenuLabel";var Un=qe,Wn=ze,Jn=Ue,_n=We,Xn=Je,Zn=_e;var Yt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{className:r?t:u("text-sm text-muted-foreground",t),children:e})})},V=Yt;var Qt=({children:e,required:t,className:r,overrideClassName:n=!1,...o})=>jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("label",{...o,className:n?r:u("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",r),children:e}),t&&jsxRuntime.jsx("span",{className:"text-red-600",children:"*"})]})}),T=Qt;var tr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{className:r?t:u("text-sm text-red-600 dark:text-red-400",t),children:e})})},I=tr;var je=Jt.forwardRef(({label:e,required:t,option:r,description:n,icon:o,orientation:i="left",className:a,overrideClassName:l=!1,helperText:s,error:b,...c},v)=>{let f=Jt.useId(),d=u("h-4 w-4 rounded border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",b&&"border-destructive",a);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-2 w-fit",children:[e&&jsxRuntime.jsx(T,{required:t,children:e}),jsxRuntime.jsxs("div",{className:`flex items-center ${i=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsxRuntime.jsx("input",{id:f,type:"checkbox",className:l?a:d,ref:v,...c}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{children:o&&o}),jsxRuntime.jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[r&&jsxRuntime.jsx(T,{htmlFor:f,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsxRuntime.jsx(T,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:n})]})]})]}),b&&jsxRuntime.jsx(I,{children:b}),!b&&s&&jsxRuntime.jsx(V,{children:s})]})})});je.displayName="CheckBox";var xo=je;function ir(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:i,labelKey:a,valueKey:l,options:s,alignment:b="vertical",className:c,overrideClassName:v=!1,helperText:f,error:d,label:w,name:R,required:h,...y}=e,N=Jt.useId(),L=Jt.useMemo(()=>new Map(s.map(x=>[String(x[l]),x])),[s,l]),M=Jt.useMemo(()=>o==null?[]:r==="field"?n?o.map(x=>String(x)):[String(o)]:n?o.map(x=>String(x[l])):[String(o[l])],[o,r,n,l]),S=(x,P)=>{if(!i)return;let m;if(r==="field")if(n)m=x.map(C=>{let k=L.get(C);return k?k[l]:C});else {let p=x[0];if(!p)m=void 0;else {let C=L.get(p);m=C?C[l]:p;}}else n?m=x.map(C=>L.get(C)).filter(C=>C!==void 0):m=L.get(x[0]??"")??void 0;i({target:{name:R,value:m,type:"checkboxgroup",checked:P}});},H=x=>{let P;n?P=M.includes(x)?M.filter(m=>m!==x):[...M,x]:P=M[0]===x?[]:[x],S(P,P.includes(x));},E=b==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",F=u("h-4 w-4 rounded border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",d&&"border-destructive");return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:u("flex flex-col gap-3",c),children:[w&&jsxRuntime.jsx(T,{required:h,children:w}),jsxRuntime.jsx("div",{className:E,children:s.map((x,P)=>{let m=String(x[l]),p=M.includes(m),C=`${N}-${m}-${P}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...y,id:C,ref:t,type:"checkbox",name:R,checked:p,onChange:()=>H(m),className:v?c:F}),jsxRuntime.jsx(T,{htmlFor:C,children:String(x[a])})]},C)})}),!!d&&jsxRuntime.jsx(I,{children:String(d)}),!d&&f&&jsxRuntime.jsx(V,{children:f})]})})}function sr(){let e=Jt.forwardRef(ir);return e.displayName="CheckBoxGroup",e}var lr=sr(),Eo=lr;var cr=({...e})=>jsxRuntime.jsx("svg",{...e,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),se=cr;var mr=(e,t)=>{Jt.useEffect(()=>{let r=n=>{e.current&&!e.current.contains(n.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},tt=mr;function fe({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:i,typeSet:a,name:l}){let[s,b]=Jt.useState([]),c=Jt.useMemo(()=>new Map(e.map(h=>[String(h[r]),h])),[e,r]),v=Jt.useCallback(()=>s.map(h=>c.get(h)).filter(h=>!!h),[s,c]),f=Jt.useCallback(h=>{if(!o)return;let y;if(a==="field"?n?y=h:y=h[0]??void 0:n?y=h.map(L=>c.get(L)).filter(L=>L!==void 0):y=c.get(h[0]??"")??void 0,i&&!n){let N=c.get(h[0]??"");N&&i(String(N[t]));}o({target:{name:l,value:y,type:"combobox"}});},[n,o,c,l,a,i,t]),d=Jt.useCallback(h=>{let y=String(h[r]),N=n?s.includes(y)?s.filter(L=>L!==y):[...s,y]:[y];b(N),f(N);},[n,s,f,r]),w=Jt.useCallback(h=>{let y=s.filter(N=>N!==h);b(y),f(y);},[s,f]),R=Jt.useCallback(()=>{b([]),i?.("");let h;a==="field"?h=n?[]:"":h=n?[]:void 0,o?.({target:{name:l,value:h,type:"combobox"}});},[n,o,l,i,a]);return {selectedValues:s,handleSelect:d,handleRemove:w,handleClear:R,getSelectedOptions:v}}function ge(e,t,r){return Jt.useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var nt=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:i,filteredOptions:a,highlightedIndex:l,setHighlightedIndex:s,handleSelect:b,handleRemove:c})=>{let v=Jt.useCallback(d=>{if(a.length===0){s(-1);return}s(w=>w<0?d>0?0:a.length-1:(w+d+a.length)%a.length);},[a,s]);return Jt.useCallback(d=>{if(!e){if(d.key==="Enter"||d.key==="ArrowDown"){t(!0),s(0),d.preventDefault();return}r&&d.key==="Backspace"&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),v(1);break;case"ArrowUp":d.preventDefault(),v(-1);break;case"Enter":d.preventDefault();let w=l>=0?l:0,R=a[w];R&&b(R),r&&o&&o(""),r||(t(!1),s(-1));break;case"Escape":d.preventDefault(),t(!1),s(-1),r||o("");break;case"Tab":t(!1),s(-1);break;case"Home":d.preventDefault(),a.length>0&&s(0);break;case"End":d.preventDefault(),a.length>0&&s(a.length-1);break;case"Backspace":r&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));break}},[e,r,n,i,a,l,t,o,s,b,c,v])};function ot({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),i=String(e[r]);return jsxRuntime.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded",children:[o,jsxRuntime.jsx("button",{type:"button",onMouseDown:a=>a.preventDefault(),onClick:()=>n(i),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},i)}function Cr(e,t){let{label:r,required:n=!1,name:o,placeholder:i="Buscar...",labelKey:a,valueKey:l,options:s,value:b,onChange:c,mode:v="single",typeSet:f="field",disabled:d=!1,ClearEnabled:w=!0,helperText:R,error:h=!1,className:y="",...N}=e,L=v==="multiple",[M,S]=Jt.useState(!1),[H,E]=Jt.useState(""),F=Jt.useRef(null),x=Jt.useRef(null),P=Jt.useRef(null);Jt.useImperativeHandle(t,()=>P.current),tt(x,()=>S(!1));let m=ge(s,a,H),[p,C]=Jt.useState(-1),{selectedValues:k,handleSelect:Y,handleRemove:Le,handleClear:Mt,getSelectedOptions:Pe}=fe({options:s,labelKey:a,valueKey:l,value:b,multiple:L,onChange:c,typeSet:f,name:o,setSearchTerm:E}),Vt=nt({isOpen:M,setIsOpen:S,multiple:L,searchTerm:H,setSearchTerm:E,selectedValues:k,filteredOptions:m,highlightedIndex:p,setHighlightedIndex:C,handleSelect:Y,handleRemove:Le}),Q=Jt.useId(),It="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Ht=u("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",h?"border-red-500":"border-gray-300 dark:border-gray-600",d?"opacity-50 cursor-not-allowed":"cursor-text","focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500");return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:`space-y-2 ${y}`,children:[r&&jsxRuntime.jsx(T,{htmlFor:Q,required:n,children:r}),jsxRuntime.jsxs("div",{ref:F,className:"relative",children:[jsxRuntime.jsxs("div",{className:Ht,children:[L&&Pe().length>0&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:Pe().map(($,G)=>jsxRuntime.jsx(ot,{option:$,labelKey:a,valueKey:l,onRemove:Le},String($[l]??G)))}),jsxRuntime.jsx("input",{ref:P,...N,name:o,type:"text",placeholder:i,value:H,onChange:$=>{let G=$.target.value;E(G),!M&&G.trim()!==""&&S(!0);},onKeyDown:Vt,onMouseDown:$=>{document.activeElement===P.current&&($.preventDefault(),S(G=>{let ee=!G;return ee&&C(0),ee}));},onFocus:()=>{S(!0),C(0);},disabled:d,className:It,role:"combobox","aria-expanded":M,"aria-controls":Q,"aria-activedescendant":p>=0?`${Q}-opt-${p}`:void 0}),w&&!!k.length&&jsxRuntime.jsx("button",{type:"button",onMouseDown:$=>$.preventDefault(),onClick:Mt,className:"absolute right-2 top-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-1 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700",title:"Limpar sele\xE7\xE3o",children:jsxRuntime.jsx(se,{width:12,height:12})})]}),M&&jsxRuntime.jsx("div",{ref:x,id:Q,className:"absolute z-50 w-full mt-1 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-md shadow-lg max-h-60 overflow-auto",role:"listbox","aria-multiselectable":L||void 0,children:m.length===0?jsxRuntime.jsx("div",{className:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400",children:"Nenhum resultado encontrado"}):m.map(($,G)=>{let ee=String($[l]),ce=k.includes(ee),de=G===p;return jsxRuntime.jsx("button",{id:`${Q}-opt-${G}`,"data-index":G,role:"option","aria-selected":ce,type:"button",onMouseDown:Ft=>Ft.preventDefault(),onClick:()=>Y($),className:u("w-full px-3 py-2 text-left text-sm transition-colors",de&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!de&&ce&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!ce&&!de&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsxRuntime.jsx("span",{children:String($[a])})},ee)})})]}),h&&jsxRuntime.jsx(I,{children:h}),!h&&R&&jsxRuntime.jsx(V,{children:R})]})})}function Tr(){let e=Jt.forwardRef(Cr);return e.displayName="ComboBox",e}var yr=Tr(),oa=yr;var Pr=({children:e,before:t,after:r,className:n})=>{let i=Lr__default.default("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsxRuntime.jsx("div",{className:i,children:jsxRuntime.jsx("span",{children:e})})},he=Pr;var wr=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),st=wr;var Rr=({children:e})=>jsxRuntime.jsx("div",{className:"absolute right-0 px-2",children:jsxRuntime.jsx("span",{children:e})}),ct=Rr;function dt(e){e.currentTarget.maxLength=9;let t=e.currentTarget.value;return t=t.replace(/\D/g,""),t=t.replace(/^(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function mt(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),n=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=a,e}function pt(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value;return t.match(/^(\d{3}).(\d{3}).(\d{3})-(\d{2})$/)||(t=t.replace(/\D/g,""),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2"),e.currentTarget.value=t),e}function ut(e){e.currentTarget.maxLength=15;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function ft(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{4})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function gt(e){let t=e.currentTarget.value.replace(/\D/g,"");return t.length<=11?(e.currentTarget.maxLength=14,t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2")):(e.currentTarget.maxLength=18,t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2")),e.currentTarget.value=t,e}function bt(e){e.currentTarget.maxLength=12;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{1})$/,"$1-$2"),e.currentTarget.value=t,e}function vt(e){e.currentTarget.maxLength=18;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2"),e.currentTarget.value=t,e}var kr=({e,mask:t})=>{switch(t){case"money":return mt(e);case"mobile":return ut(e);case"phone":return ft(e);case"cpfCnpj":return gt(e);case"cpf":return pt(e);case"rg":return bt(e);case"cnpj":return vt(e);case"cep":return dt(e);default:return e}},xt=kr;var Mr=({mask:e,initialValue:t=""})=>{let[r,n]=Jt.useState(t);Jt.useEffect(()=>{t!==r&&n(t);},[t]);let o=Jt.useCallback(a=>{let s=xt({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;n(s);},[e]),i=Jt.useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:i}},Ct=Mr;var Tt=Jt.forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:i,addonBefore:a,addonBeforeClassName:l,addonAfter:s,addonAfterClassName:b,ClearEnabled:c=!0,className:v,overrideClassName:f=!1,error:d,helperText:w,value:R=void 0,onChange:h,...y},N)=>{let L=Jt.useId(),{handleChange:M,handleClear:S,setValue:H}=Ct({mask:r,initialValue:R}),E=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",d&&"border-destructive focus-visible:ring-destructive",!o&&!i&&"px-3",o&&!i&&"pl-10 pr-3",i&&!o&&"pl-3 pr-10",o&&i&&"pl-10 pr-10",a&&"rounded-l-none border-l-0",s&&"rounded-r-none border-r-0",v),F=P=>{M(P),h?.(P);},x=()=>{S(),H(""),h?.({target:{name:n||"",value:""}});};return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(T,{htmlFor:L,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative flex",children:[a&&jsxRuntime.jsx(he,{before:!0,className:l,children:a}),jsxRuntime.jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsxRuntime.jsx(st,{children:o}),jsxRuntime.jsx("input",{id:L,ref:N,name:n,onChange:F,className:f?v:E,...y}),c&&R&&jsxRuntime.jsx(se,{onClick:x,width:12,height:12,className:u("absolute right-2 cursor-pointer",i&&"right-8")}),i&&jsxRuntime.jsx(ct,{children:i})]}),s&&jsxRuntime.jsx(he,{after:!0,className:b,children:s})]}),d&&jsxRuntime.jsx(I,{children:d}),!d&&w&&jsxRuntime.jsx(V,{children:w})]})})});Tt.displayName="Input";var Va=Tt;var Lt=Jt.forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:i=!1,helperText:a,error:l,onChange:s,onBlur:b,className:c,charType:v="numeric",customPattern:f,caseMode:d="none",...w},R)=>{let h=Jt.useId(),y=Jt.useRef([]),N=m=>{switch(d){case"upper":return m.toUpperCase();case"lower":case"visual-upper":return m.toLowerCase();case"visual-lower":return m.toUpperCase();default:return m}},L=m=>{if(!m)return "";let p=m.slice(0,1);switch(p=N(p),v){case"numeric":return /\d/.test(p)?p:"";case"alpha":return /[A-Za-z]/.test(p)?p:"";case"alphanumeric":return /[A-Za-z0-9]/.test(p)?p:"";case"custom":return f?.test(p)?p:"";default:return p}},M=()=>(r!=null?String(r):"").split("").map(L).slice(0,e),S=M().concat(Array(e).fill(" ")).slice(0,e),H=m=>{let p=m.split("").map(L).join("").slice(0,e),C=p===""?void 0:typeof r=="number"?Number(p):p;s?.({target:{name:n,value:C}});},E=(m,p)=>{let C=L(p),k=M();if(C===""){k[m]="",H(k.join(""));return}if(p.length>1){let Y=p.split("").map(L).join("").slice(0,e);H(Y),y.current[Math.min(Y.length-1,e-1)]?.focus();return}C&&(k[m]=C,H(k.join("")),m<e-1&&y.current[m+1]?.focus());},F=m=>{let p=M();!p[m]&&m>0?p[m-1]="":p[m]="",H(p.join("")),m>0&&y.current[m-1]?.focus();},x=m=>{m.preventDefault();let C=m.clipboardData.getData("text").split("").map(L).join("").slice(0,e);C&&(H(C),y.current[Math.min(C.length-1,e-1)]?.focus());},P=m=>{switch(d){case"upper":case"visual-upper":return m.toUpperCase();case"lower":case"visual-lower":return m.toLowerCase();default:return m}};return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsxRuntime.jsx(T,{htmlFor:h,required:i,children:o}),jsxRuntime.jsx("div",{className:u("flex gap-3 items-center",l&&"text-red-500",c),...w,children:S.map((m,p)=>{let C=t&&p>0&&p%t===0;return jsxRuntime.jsxs(Jt__default.default.Fragment,{children:[C&&jsxRuntime.jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsxRuntime.jsx("input",{id:h,type:"text",maxLength:1,inputMode:v==="numeric"?"numeric":"text",value:P(m).trim(),ref:k=>{y.current[p]=k,p===0&&R&&(typeof R=="function"?R(k):typeof R=="object"&&(R.current=k));},onPaste:x,onChange:k=>E(p,k.target.value),onKeyDown:k=>k.key==="Backspace"&&F(p),onBlur:b,className:u("h-14 w-12 text-center text-2xl rounded-md border border-input bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",l&&"border-red-500")})]},p)})}),l&&jsxRuntime.jsx(I,{children:l}),!l&&a&&jsxRuntime.jsx(V,{children:a})]})})});Lt.displayName="OtpInput";var Oa=Lt;var Pt=Jt.forwardRef(({label:e,required:t,option:r,description:n,icon:o,className:i,overrideClassName:a,helperText:l,error:s,...b},c)=>{let v=Jt.useId(),f=u("h-4 w-4 border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s&&"border-destructive",i);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-3",children:[e&&jsxRuntime.jsx(T,{required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{id:v,type:"radio",className:a?i:f,ref:c,...b}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{children:o&&o}),jsxRuntime.jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[r&&jsxRuntime.jsx(T,{htmlFor:v,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsxRuntime.jsx(T,{id:`${v}-description`,htmlFor:v,className:"text-xs text-muted-foreground",children:n})]})]})]}),s&&jsxRuntime.jsx(I,{children:s}),!s&&l&&jsxRuntime.jsx(V,{children:l})]})})});Pt.displayName="Radio";var Xa=Pt;function Gr(e,t){let{label:r,required:n,name:o,labelKey:i,valueKey:a,options:l,alignment:s="vertical",className:b,overrideClassName:c=!1,helperText:v,error:f,typeSet:d="field",value:w,onChange:R,...h}=e,y=Jt.useId(),N=Jt.useMemo(()=>new Map(l.map(E=>[String(E[a]),E])),[l,a]),L=Jt.useMemo(()=>w==null?"":String(d==="field"?w:w[a]),[w,d,a]),M=E=>{if(!R)return;let F;if(d==="field"){let x=N.get(E);if(x)F=x[a];else {let P=Number(E);F=Number.isNaN(P)?E:P;}}else F=N.get(E)??void 0;R({target:{name:o,value:F,type:"radiogroup",checked:!0}});},S=s==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",H=u("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",f&&"border-destructive");return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:u("flex flex-col gap-3",b),children:[r&&jsxRuntime.jsx(T,{required:n,children:r}),jsxRuntime.jsx("div",{className:S,children:l.map((E,F)=>{let x=String(E[a]),P=`${y}-${x}-${F}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...h,id:P,ref:t,name:o,type:"radio",checked:L===x,onChange:()=>M(x),className:c?b:H}),jsxRuntime.jsx(T,{htmlFor:P,children:String(E[i])})]},P)})}),f&&jsxRuntime.jsx(I,{children:String(f)}),!f&&v&&jsxRuntime.jsx(V,{children:v})]})})}function Kr(){let e=Jt.forwardRef(Gr);return e.displayName="RadioGroup",e}var qr=Kr(),ii=qr;function Wr({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:i,error:a,helperText:l,className:s,...b},c){let v=Jt.useId(),f=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",s);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(T,{htmlFor:v,required:t,children:e}),jsxRuntime.jsxs("select",{id:v,ref:c,className:f,...b,children:[i&&jsxRuntime.jsx("option",{value:"",disabled:!0,children:i}),r.map((d,w)=>jsxRuntime.jsx("option",{value:String(d[o]),children:String(d[n])},w))]}),a&&jsxRuntime.jsx(I,{children:a}),!a&&l&&jsxRuntime.jsx(V,{children:l})]})})}function Jr(){let e=Jt.forwardRef(Wr);return e.displayName="Select",e}var _r=Jr(),vi=_r;var Nt=Jt.forwardRef(({label:e,required:t,option:r,description:n,icon:o,checked:i=!1,className:a,overrideClassName:l,error:s,name:b,...c},v)=>{let f=Jt.useId();return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-2",children:[e&&jsxRuntime.jsx(T,{required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{type:"checkbox",id:f,name:b,checked:i,className:"peer sr-only",ref:v,...c}),jsxRuntime.jsx("label",{htmlFor:f,className:u("relative flex items-center h-6 w-11 cursor-pointer rounded-full bg-input transition-colors duration-200","peer-checked:bg-primary peer-focus:ring-2 peer-focus:ring-ring peer-focus:ring-offset-2 peer-focus:ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50",a),children:jsxRuntime.jsx("span",{className:u("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",i?"translate-x-5":"translate-x-1")})}),jsxRuntime.jsx("span",{children:o&&o}),(r||n)&&jsxRuntime.jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[e&&jsxRuntime.jsx(T,{id:`${f}-label`,htmlFor:f,className:"text-sm font-medium leading-none",children:r}),n&&jsxRuntime.jsx(T,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:n})]})]})]})})});Nt.displayName="Switch";var wi=Nt;var Et=Jt__default.default.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:i=!1,error:a,helperText:l,...s},b)=>{let c=Jt.useId(),[v,f]=Jt.useState(0),d=u("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",o);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(T,{htmlFor:c,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx("textarea",{id:c,className:i?o:d,maxLength:n,onInput:w=>f(w.currentTarget.textLength),ref:b,...s}),r&&jsxRuntime.jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[v,n?` / ${n}`:""]})]}),a&&jsxRuntime.jsx(I,{children:a}),!a&&l&&jsxRuntime.jsx(V,{children:l})]})})});Et.displayName="TextArea";var Fi=Et;
17
17
 
18
- exports.AccordionPrimitive = pn;
19
- exports.ButtonPrimitive = Tn;
20
- exports.CardContentPrimitive = Hn;
21
- exports.CardDescriptionPrimitive = In;
22
- exports.CardFooterPrimitive = Vn;
23
- exports.CardHeaderPrimitive = Nn;
24
- exports.CardPrimitive = kn;
25
- exports.CardTitlePrimitive = Mn;
26
- exports.CheckBoxGroupPrimitive = Po;
27
- exports.CheckBoxPrimitive = uo;
28
- exports.ComboBoxPrimitive = Qo;
29
- exports.DropdownMenuContentPrimitive = Kn;
30
- exports.DropdownMenuItemPrimitive = Un;
31
- exports.DropdownMenuLabelPrimitive = _n;
32
- exports.DropdownMenuPrimitive = On;
33
- exports.DropdownMenuSeparatorPrimitive = qn;
34
- exports.DropdownMenuTriggerPrimitive = Gn;
35
- exports.HelperFieldPrimitive = I;
36
- exports.InputPrimitive = Ra;
37
- exports.LabelPrimitive = L;
38
- exports.LicenseProvider = St;
39
- exports.OtpInputPrimitive = Sa;
40
- exports.RadioGroupPrimitive = ti;
41
- exports.RadioPrimitive = qa;
42
- exports.SelectPrimitive = pi;
43
- exports.SwitchPrimitive = Ci;
44
- exports.TextAreaPrimitive = Ni;
45
- exports.ValidateFieldPrimitive = H;
18
+ exports.AccordionPrimitive = vn;
19
+ exports.ButtonPrimitive = Rn;
20
+ exports.CardContentPrimitive = An;
21
+ exports.CardDescriptionPrimitive = Dn;
22
+ exports.CardFooterPrimitive = $n;
23
+ exports.CardHeaderPrimitive = Fn;
24
+ exports.CardPrimitive = Hn;
25
+ exports.CardTitlePrimitive = Sn;
26
+ exports.CheckBoxGroupPrimitive = Eo;
27
+ exports.CheckBoxPrimitive = xo;
28
+ exports.ComboBoxPrimitive = oa;
29
+ exports.DropdownMenuContentPrimitive = Jn;
30
+ exports.DropdownMenuItemPrimitive = _n;
31
+ exports.DropdownMenuLabelPrimitive = Zn;
32
+ exports.DropdownMenuPrimitive = Un;
33
+ exports.DropdownMenuSeparatorPrimitive = Xn;
34
+ exports.DropdownMenuTriggerPrimitive = Wn;
35
+ exports.HelperFieldPrimitive = V;
36
+ exports.InputPrimitive = Va;
37
+ exports.LabelPrimitive = T;
38
+ exports.LicenseProvider = $t;
39
+ exports.OtpInputPrimitive = Oa;
40
+ exports.RadioGroupPrimitive = ii;
41
+ exports.RadioPrimitive = Xa;
42
+ exports.SelectPrimitive = vi;
43
+ exports.SwitchPrimitive = wi;
44
+ exports.TextAreaPrimitive = Fi;
45
+ exports.ValidateFieldPrimitive = I;
package/dist/page.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import Ut, { createContext, forwardRef, useState, useContext, useRef, useEffect, useId, useMemo, useImperativeHandle, useCallback, cloneElement } from 'react';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import Tr, { clsx } from 'clsx';
1
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import Jt, { createContext, forwardRef, useState, useContext, useRef, useEffect, useId, useCallback, cloneElement, useMemo, useImperativeHandle } from 'react';
3
+ import Lr, { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
 
6
- var Te=createContext(void 0),Ft=({message:e})=>jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),St=({children:e,licenseKey:t})=>{let[r,n]=useState(!1),[o,i]=useState(null),[a,s]=useState(!0),l=f=>{if(i(null),!f)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let c="chave-secreta-123";if(f!==c)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");n(!0);};return useEffect(()=>{if(t){s(!0);try{l(t);}catch(f){i(f instanceof Error?f.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsx(Te.Provider,{value:{isLicenseValid:r,validateLicense:l,licenseError:o},children:r?e:jsx(Ft,{message:o||"Licen\xE7a inv\xE1lida"})})},ye=()=>{let e=useContext(Te);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Pe=({message:e="Component locked - Please validate your license"})=>jsxs("div",{className:"flex items-start p-4 bg-red-50 border border-red-500 text-red-700 rounded-md gap-2",children:[jsx("span",{children:" \u274C Component locked - Please validate your license"}),jsx("span",{children:e})]});var g=e=>t=>{let{isLicenseValid:r}=ye();return r?jsx(e,{...t}):jsx(Pe,{})};var Ee=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:i=""})=>{let a=c=>c===void 0?[]:Array.isArray(c)?c:[c],[s,l]=useState(a(n??r));useEffect(()=>{n!==void 0&&l(a(n));},[n]);let f=useCallback(c=>{l(x=>{let h;return t==="single"?h=x.includes(c)?[]:[c]:h=x.includes(c)?x.filter(d=>d!==c):[...x,c],o?.(t==="single"?h[0]??"":h),h});},[t,o]);return jsx("div",{className:`space-y-2 ${i}`,children:e.map(c=>jsx(Ot,{...c,isOpen:s.includes(c.id),onToggle:()=>f(c.id)},c.id))})},Ot=({title:e,content:t,disabled:r=!1,isOpen:n,onToggle:o})=>jsxs("div",{className:"border border-border rounded-md overflow-hidden",children:[jsx("button",{onClick:o,disabled:r,className:`w-full px-4 py-3 text-left font-medium transition-colors
6
+ var Re=({title:e="Ocorreu um erro",message:t,description:r="Algo deu errado ao carregar esta p\xE1gina.",badge:n="Erro",actions:o})=>jsx("div",{className:"flex min-h-screen w-full items-center justify-center bg-linear-to-br from-red-50 via-rose-50 to-red-100 px-4 dark:from-red-950 dark:via-zinc-950 dark:to-red-900/30",children:jsxs("div",{className:"relative w-full max-w-md rounded-2xl bg-white/90 p-8 text-center shadow-2xl backdrop-blur animate-in fade-in zoom-in-95 dark:bg-zinc-900/90",children:[jsx("div",{className:"pointer-events-none absolute inset-0 rounded-2xl ring-1 ring-red-200 dark:ring-red-800"}),n&&jsx("span",{className:"mb-6 inline-block rounded-full bg-red-100 px-4 py-1 text-xs font-semibold text-red-700 dark:bg-red-900/40 dark:text-red-300",children:n}),jsx("div",{className:"mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-linear-to-tr from-red-200 to-red-100 text-red-600 shadow-inner dark:from-red-900/40 dark:to-red-800/40 dark:text-red-400",children:jsxs("svg",{className:"h-9 w-9 animate-pulse",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[jsx("path",{d:"M12 9v4"}),jsx("path",{d:"M12 17h.01"}),jsx("path",{d:"M5.07 19h13.86c1.54 0 2.5-1.67 1.73-3L13.73 4c-.77-1.33-2.69-1.33-3.46 0L3.34 16c-.77 1.33.19 3 1.73 3z"})]})}),jsx("h1",{className:"mb-2 text-2xl font-extrabold text-zinc-900 dark:text-zinc-100",children:e}),jsx("p",{className:"mb-2 text-sm font-medium text-red-600 dark:text-red-400",children:t}),r&&jsx("p",{className:"mb-6 text-sm text-zinc-600 dark:text-zinc-400",children:r}),o&&o.length>0&&jsx("div",{className:"flex flex-col gap-3",children:o.map((i,a)=>{let l=i.variant!=="secondary";return jsx("button",{onClick:i.onClick,className:l?"rounded-xl bg-linear-to-r from-red-600 to-red-700 px-5 py-2.5 text-sm font-semibold text-white shadow-lg transition hover:scale-[1.02] hover:shadow-red-600/40 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 dark:focus:ring-offset-zinc-900":"rounded-xl border border-zinc-200 px-5 py-2.5 text-sm font-semibold text-zinc-700 transition hover:bg-zinc-100 dark:border-zinc-700 dark:text-zinc-300 dark:hover:bg-zinc-800",children:i.label},a)})})]})});var Ne=createContext(void 0),$t=({children:e,licenseKey:t})=>{let[r,n]=useState(!1),[o,i]=useState(null),[a,l]=useState(!0),s=b=>{if(i(null),!b)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let c="chave-secreta-123";if(b!==c)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");n(!0);};return useEffect(()=>{if(t){l(!0);try{s(t);}catch(b){i(b instanceof Error?b.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{l(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),l(!1);},[t]),a?null:jsx(Ne.Provider,{value:{isLicenseValid:r,validateLicense:s,licenseError:o},children:r?e:jsx(Re,{badge:"Licen\xE7a necess\xE1ria",title:"Erro de Licen\xE7a",message:o||"Licen\xE7a inv\xE1lida",description:"Sua aplica\xE7\xE3o precisa de uma licen\xE7a v\xE1lida para continuar.",actions:[{label:"Tentar novamente",onClick:()=>window.location.reload()},{label:"Falar com suporte",variant:"secondary",onClick:()=>{window.open("mailto:marcos.vinicius.engsof@gmail.com");}}]})})},Ee=()=>{let e=useContext(Ne);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Ve=({message:e="Component locked - Please validate your license"})=>jsxs("div",{className:"flex items-start p-4 bg-red-50 border border-red-500 text-red-700 rounded-md gap-2",children:[jsx("span",{children:" \u274C Component locked - Please validate your license"}),jsx("span",{children:e})]});var g=({children:e})=>{let{isLicenseValid:t}=Ee();return t?jsx(Fragment,{children:e}):jsx(Ve,{})};var Fe=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:i=""})=>{let a=c=>c===void 0?[]:Array.isArray(c)?c:[c],[l,s]=useState(a(n??r));useEffect(()=>{n!==void 0&&s(a(n));},[n]);let b=useCallback(c=>{s(v=>{let f;return t==="single"?f=v.includes(c)?[]:[c]:f=v.includes(c)?v.filter(d=>d!==c):[...v,c],o?.(t==="single"?f[0]??"":f),f});},[t,o]);return jsx("div",{className:`space-y-2 ${i}`,children:e.map(c=>jsx(zt,{...c,isOpen:l.includes(c.id),onToggle:()=>b(c.id)},c.id))})},zt=({title:e,content:t,disabled:r=!1,isOpen:n,onToggle:o})=>jsx(g,{children:jsxs("div",{className:"border border-border rounded-md overflow-hidden",children:[jsx("button",{onClick:o,disabled:r,className:`w-full px-4 py-3 text-left font-medium transition-colors
7
7
  ${r?"opacity-50 cursor-not-allowed":"hover:bg-accent hover:text-accent-foreground"}
8
8
  ${n?"bg-accent text-accent-foreground":"bg-background text-foreground"}
9
- `,children:jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{children:e}),jsx("svg",{className:`w-5 h-5 transition-transform ${n?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),n&&jsx("div",{className:"px-4 py-3 bg-background border-t border-border",children:t})]});Ee.displayName="Accordion";var pn=g(Ee);function u(...e){return twMerge(clsx(e))}var Ne=Ut.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:i,loading:a=!1,loadingContent:s,...l},f)=>{let c="inline-flex items-center justify-center rounded-lg font-medium cursor-pointer active:translate-y-1 transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",x={primary:"bg-blue-600 text-white hover:bg-blue-700 shadow-md focus-visible:ring-blue-500",secondary:"bg-gray-600 text-white hover:bg-gray-700 shadow-sm focus-visible:ring-gray-500",tertiary:"bg-purple-600 text-white hover:bg-purple-700 shadow-sm focus-visible:ring-purple-500",destructive:"bg-red-600 text-white hover:bg-red-700 shadow-sm focus-visible:ring-red-500",success:"bg-green-600 text-white hover:bg-green-700 shadow-sm focus-visible:ring-green-500",warning:"bg-amber-500 text-white hover:bg-amber-600 shadow-sm focus-visible:ring-amber-500",info:"bg-cyan-600 text-white hover:bg-cyan-700 shadow-sm focus-visible:ring-cyan-500",accent:"bg-violet-600 text-white hover:bg-violet-700 shadow-sm focus-visible:ring-violet-500",outline:"border border-gray-300 bg-transparent text-gray-700 hover:bg-gray-50 shadow-sm focus-visible:ring-gray-500",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus-visible:ring-gray-500",link:"text-blue-600 underline-offset-4 hover:underline bg-transparent p-0 h-auto shadow-none",gradient:"bg-gradient-to-r from-blue-600 to-purple-600 text-white hover:from-blue-700 hover:to-purple-700 shadow-md focus-visible:ring-blue-500",glass:"bg-white/10 backdrop-blur-md border border-white/20 text-black hover:bg-white/20 shadow-sm focus-visible:ring-white/50",soft:"bg-blue-100 text-blue-700 hover:bg-blue-200 shadow-sm focus-visible:ring-blue-500",dark:"bg-gray-900 text-white hover:bg-gray-800 shadow-md focus-visible:ring-gray-500",light:"bg-gray-100 text-gray-900 hover:bg-gray-200 shadow-sm focus-visible:ring-gray-500",obsidian:"bg-black text-white hover:bg-gray-900 shadow-md border border-gray-800 focus-visible:ring-gray-700",polar:"bg-white text-gray-900 hover:bg-gray-50 shadow-md border border-gray-300 focus-visible:ring-gray-400"},h={xs:"h-7 px-2 text-xs min-w-16",sm:"h-9 px-3 text-sm min-w-20",md:"h-10 px-4 py-2 text-base min-w-24",lg:"h-11 px-6 text-lg min-w-28",xl:"h-12 px-8 text-xl min-w-32"},d=t?e:u(c,x[r],h[n],e);return o?jsx("a",{href:o,className:d,ref:f,children:a&&s?s:i}):jsx("button",{className:d,ref:f,...l,children:a&&s?s:i})});Ne.displayName="Button";var Tn=g(Ne);var Me=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("div",{ref:o,className:t?e:u("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r}));Me.displayName="Card";var Ie=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("div",{ref:o,className:t?e:u("flex flex-col space-y-1.5 p-6",e),...n,children:r}));Ie.displayName="CardHeader";var He=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("h3",{ref:o,className:t?e:u("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r}));He.displayName="CardTitle";var Ve=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("p",{ref:o,className:t?e:u("text-sm text-muted-foreground",e),...n,children:r}));Ve.displayName="CardDescription";var Fe=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("div",{ref:o,className:t?e:u("p-6 pt-0",e),...n,children:r}));Fe.displayName="CardContent";var Se=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx("div",{ref:o,className:t?e:u("flex items-center p-6 pt-0",e),...n,children:r}));Se.displayName="CardFooter";var kn=g(Me),Nn=g(Ie),Mn=g(He),In=g(Ve),Hn=g(Fe),Vn=g(Se);var ne=createContext(void 0),Ae=forwardRef(({children:e,className:t,...r},n)=>{let[o,i]=useState(!1);return jsx(ne.Provider,{value:{isOpen:o,setIsOpen:i},children:jsx("div",{ref:n,className:u("relative inline-block",t),...r,children:e})})});Ae.displayName="DropdownMenu";var $e=({children:e,asChild:t})=>{let r=useContext(ne);if(!r)throw new Error("DropdownMenuTrigger must be used within DropdownMenu");let n=()=>r.setIsOpen(!r.isOpen);if(t){let o=e;return cloneElement(o,{onClick:i=>{o.props.onClick?.(i),n();}})}return jsx("button",{onClick:n,children:e})};$e.displayName="DropdownMenuTrigger";var Be=forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let i=useContext(ne),a=useRef(null);return useEffect(()=>{o&&(typeof o=="function"?o(a.current):o.current=a.current);},[o]),useEffect(()=>{let l=f=>{a.current&&!a.current.contains(f.target)&&i?.setIsOpen(!1);};return i?.isOpen&&document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l);}},[i?.isOpen]),i?.isOpen?jsx("div",{ref:a,className:u("absolute z-50 mt-2 min-w-32 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",{start:"left-0",center:"left-1/2 -translate-x-1/2",end:"right-0"}[t],r),...n,children:e}):null});Be.displayName="DropdownMenuContent";var Oe=forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},i)=>{let a=useContext(ne);return jsx("button",{ref:i,onClick:l=>{t?.(l),a?.setIsOpen(!1);},className:u("w-full text-left px-4 py-2 text-sm hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none",r&&"text-red-600 hover:bg-red-50 hover:text-red-700 focus:bg-red-50 focus:text-red-700",n),...o,children:e})});Oe.displayName="DropdownMenuItem";var Ge=forwardRef(({className:e,...t},r)=>jsx("div",{ref:r,className:u("-mx-1 my-1 h-px bg-border",e),...t}));Ge.displayName="DropdownMenuSeparator";var Ke=forwardRef(({children:e,className:t,...r},n)=>jsx("div",{ref:n,className:u("px-2 py-1.5 text-sm font-semibold",t),...r,children:e}));Ke.displayName="DropdownMenuLabel";var On=g(Ae),Gn=g($e),Kn=g(Be),Un=g(Oe),qn=g(Ge),_n=g(Ke);var zt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:u("text-sm text-muted-foreground",t),children:e})},I=g(zt);var Zt=({children:e,required:t,className:r,overrideClassName:n=!1,...o})=>jsxs("div",{className:"flex items-center gap-1",children:[jsx("label",{...o,className:n?r:u("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",r),children:e}),t&&jsx("span",{className:"text-red-600",children:"*"})]}),L=g(Zt);var Yt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:u("text-sm text-red-600 dark:text-red-400",t),children:e})},H=g(Yt);var _e=forwardRef(({label:e,required:t,option:r,orientation:n="left",className:o,overrideClassName:i=!1,helperText:a,error:s,...l},f)=>{let c=useId(),x=u("h-4 w-4 rounded border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s&&"border-destructive",o);return jsxs("div",{className:"space-y-2",children:[e&&jsx(L,{required:t,children:e}),jsxs("div",{className:`flex ${n=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsx("input",{id:c,type:"checkbox",className:i?o:x,ref:f,...l}),r&&jsx(L,{htmlFor:c,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r})]}),s&&jsx(H,{children:s}),!s&&a&&jsx(I,{children:a})]})});_e.displayName="CheckBox";var uo=g(_e);function or(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:i,labelKey:a,valueKey:s,options:l,alignment:f="vertical",className:c,overrideClassName:x=!1,helperText:h,error:d,label:P,name:R,required:v,...T}=e,k=useId(),y=useMemo(()=>new Map(l.map(b=>[String(b[s]),b])),[l,s]),M=useMemo(()=>o==null?[]:r==="field"?n?o.map(b=>String(b)):[String(o)]:n?o.map(b=>String(b[s])):[String(o[s])],[o,r,n,s]),S=(b,w)=>{if(!i)return;let m;if(r==="field")if(n)m=b.map(C=>{let E=y.get(C);return E?E[s]:C});else {let p=b[0];if(!p)m=void 0;else {let C=y.get(p);m=C?C[s]:p;}}else n?m=b.map(C=>y.get(C)).filter(C=>C!==void 0):m=y.get(b[0]??"")??void 0;i({target:{name:R,value:m,type:"checkboxgroup",checked:w}});},V=b=>{let w;n?w=M.includes(b)?M.filter(m=>m!==b):[...M,b]:w=M[0]===b?[]:[b],S(w,w.includes(b));},N=f==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",F=u("h-4 w-4 rounded border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",d&&"border-destructive");return jsxs("div",{className:u("flex flex-col gap-3",c),children:[P&&jsx(L,{required:v,children:P}),jsx("div",{className:N,children:l.map((b,w)=>{let m=String(b[s]),p=M.includes(m),C=`${k}-${m}-${w}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...T,id:C,ref:t,type:"checkbox",name:R,checked:p,onChange:()=>V(m),className:x?c:F}),jsx(L,{htmlFor:C,children:String(b[a])})]},C)})}),!!d&&jsx(H,{children:String(d)}),!d&&h&&jsx(I,{children:h})]})}function ar(){let e=forwardRef(or);return e.displayName="CheckBoxGroup",e}var ir=ar(),Po=g(ir);var sr=({...e})=>jsx("svg",{...e,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),oe=sr;var cr=(e,t)=>{useEffect(()=>{let r=n=>{e.current&&!e.current.contains(n.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Xe=cr;function de({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:i,typeSet:a,name:s}){let[l,f]=useState([]),c=useMemo(()=>new Map(e.map(v=>[String(v[r]),v])),[e,r]),x=useCallback(()=>l.map(v=>c.get(v)).filter(v=>!!v),[l,c]),h=useCallback(v=>{if(!o)return;let T;if(a==="field"?n?T=v:T=v[0]??void 0:n?T=v.map(y=>c.get(y)).filter(y=>y!==void 0):T=c.get(v[0]??"")??void 0,i&&!n){let k=c.get(v[0]??"");k&&i(String(k[t]));}o({target:{name:s,value:T,type:"combobox"}});},[n,o,c,s,a,i,t]),d=useCallback(v=>{let T=String(v[r]),k=n?l.includes(T)?l.filter(y=>y!==T):[...l,T]:[T];f(k),h(k);},[n,l,h,r]),P=useCallback(v=>{let T=l.filter(k=>k!==v);f(T),h(T);},[l,h]),R=useCallback(()=>{f([]),i?.("");let v;a==="field"?v=n?[]:"":v=n?[]:void 0,o?.({target:{name:s,value:v,type:"combobox"}});},[n,o,s,i,a]);return {selectedValues:l,handleSelect:d,handleRemove:P,handleClear:R,getSelectedOptions:x}}function me(e,t,r){return useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var je=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:i,filteredOptions:a,highlightedIndex:s,setHighlightedIndex:l,handleSelect:f,handleRemove:c})=>{let x=useCallback(d=>{if(a.length===0){l(-1);return}l(P=>P<0?d>0?0:a.length-1:(P+d+a.length)%a.length);},[a,l]);return useCallback(d=>{if(!e){if(d.key==="Enter"||d.key==="ArrowDown"){t(!0),l(0),d.preventDefault();return}r&&d.key==="Backspace"&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),x(1);break;case"ArrowUp":d.preventDefault(),x(-1);break;case"Enter":d.preventDefault();let P=s>=0?s:0,R=a[P];R&&f(R),r&&o&&o(""),r||(t(!1),l(-1));break;case"Escape":d.preventDefault(),t(!1),l(-1),r||o("");break;case"Tab":t(!1),l(-1);break;case"Home":d.preventDefault(),a.length>0&&l(0);break;case"End":d.preventDefault(),a.length>0&&l(a.length-1);break;case"Backspace":r&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));break}},[e,r,n,i,a,s,t,o,l,f,c,x])};function Ye({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),i=String(e[r]);return jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded",children:[o,jsx("button",{type:"button",onMouseDown:a=>a.preventDefault(),onClick:()=>n(i),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},i)}function xr(e,t){let{label:r,required:n=!1,name:o,placeholder:i="Buscar...",labelKey:a,valueKey:s,options:l,value:f,onChange:c,mode:x="single",typeSet:h="field",disabled:d=!1,ClearEnabled:P=!0,helperText:R,error:v=!1,className:T="",...k}=e,y=x==="multiple",[M,S]=useState(!1),[V,N]=useState(""),F=useRef(null),b=useRef(null),w=useRef(null);useImperativeHandle(t,()=>w.current),Xe(b,()=>S(!1));let m=me(l,a,V),[p,C]=useState(-1),{selectedValues:E,handleSelect:z,handleRemove:xe,handleClear:Rt,getSelectedOptions:he}=de({options:l,labelKey:a,valueKey:s,value:f,multiple:y,onChange:c,typeSet:h,name:o,setSearchTerm:N}),Et=je({isOpen:M,setIsOpen:S,multiple:y,searchTerm:V,setSearchTerm:N,selectedValues:E,filteredOptions:m,highlightedIndex:p,setHighlightedIndex:C,handleSelect:z,handleRemove:xe}),X=useId(),kt="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Nt=u("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",v?"border-red-500":"border-gray-300 dark:border-gray-600",d?"opacity-50 cursor-not-allowed":"cursor-text","focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500");return jsxs("div",{className:`space-y-2 ${T}`,children:[r&&jsx(L,{htmlFor:X,required:n,children:r}),jsxs("div",{ref:F,className:"relative",children:[jsxs("div",{className:Nt,children:[y&&he().length>0&&jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:he().map((D,$)=>jsx(Ye,{option:D,labelKey:a,valueKey:s,onRemove:xe},String(D[s]??$)))}),jsx("input",{ref:w,...k,name:o,type:"text",placeholder:i,value:V,onChange:D=>{let $=D.target.value;N($),!M&&$.trim()!==""&&S(!0);},onKeyDown:Et,onMouseDown:D=>{document.activeElement===w.current&&(D.preventDefault(),S($=>{let Z=!$;return Z&&C(0),Z}));},onFocus:()=>{S(!0),C(0);},disabled:d,className:kt,role:"combobox","aria-expanded":M,"aria-controls":X,"aria-activedescendant":p>=0?`${X}-opt-${p}`:void 0}),P&&!!E.length&&jsx("button",{type:"button",onMouseDown:D=>D.preventDefault(),onClick:Rt,className:"absolute right-2 top-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-1 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700",title:"Limpar sele\xE7\xE3o",children:jsx(oe,{width:12,height:12})})]}),M&&jsx("div",{ref:b,id:X,className:"absolute z-50 w-full mt-1 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-md shadow-lg max-h-60 overflow-auto",role:"listbox","aria-multiselectable":y||void 0,children:m.length===0?jsx("div",{className:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400",children:"Nenhum resultado encontrado"}):m.map((D,$)=>{let Z=String(D[s]),ie=E.includes(Z),se=$===p;return jsx("button",{id:`${X}-opt-${$}`,"data-index":$,role:"option","aria-selected":ie,type:"button",onMouseDown:Mt=>Mt.preventDefault(),onClick:()=>z(D),className:u("w-full px-3 py-2 text-left text-sm transition-colors",se&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!se&&ie&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!ie&&!se&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsx("span",{children:String(D[a])})},Z)})})]}),v&&jsx(H,{children:v}),!v&&R&&jsx(I,{children:R})]})}function hr(){let e=forwardRef(xr);return e.displayName="ComboBox",e}var Cr=hr(),Qo=g(Cr);var yr=({children:e,before:t,after:r,className:n})=>{let i=Tr("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsx("div",{className:i,children:jsx("span",{children:e})})},ge=yr;var wr=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),tt=wr;var Pr=({children:e})=>jsx("div",{className:"absolute right-0 px-2",children:jsx("span",{children:e})}),nt=Pr;function ot(e){e.currentTarget.maxLength=9;let t=e.currentTarget.value;return t=t.replace(/\D/g,""),t=t.replace(/^(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function at(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),n=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=a,e}function it(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value;return t.match(/^(\d{3}).(\d{3}).(\d{3})-(\d{2})$/)||(t=t.replace(/\D/g,""),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2"),e.currentTarget.value=t),e}function st(e){e.currentTarget.maxLength=15;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function lt(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{4})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function ct(e){let t=e.currentTarget.value.replace(/\D/g,"");return t.length<=11?(e.currentTarget.maxLength=14,t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2")):(e.currentTarget.maxLength=18,t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2")),e.currentTarget.value=t,e}function dt(e){e.currentTarget.maxLength=12;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{1})$/,"$1-$2"),e.currentTarget.value=t,e}function mt(e){e.currentTarget.maxLength=18;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2"),e.currentTarget.value=t,e}var Lr=({e,mask:t})=>{switch(t){case"money":return at(e);case"mobile":return st(e);case"phone":return lt(e);case"cpfCnpj":return ct(e);case"cpf":return it(e);case"rg":return dt(e);case"cnpj":return mt(e);case"cep":return ot(e);default:return e}},pt=Lr;var kr=({mask:e,initialValue:t=""})=>{let[r,n]=useState(t);useEffect(()=>{t!==r&&n(t);},[t]);let o=useCallback(a=>{let l=pt({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;n(l);},[e]),i=useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:i}},ft=kr;var gt=forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:i,addonBefore:a,addonBeforeClassName:s,addonAfter:l,addonAfterClassName:f,ClearEnabled:c=!0,className:x,overrideClassName:h=!1,error:d,helperText:P,value:R=void 0,onChange:v,...T},k)=>{let y=useId(),{handleChange:M,handleClear:S,setValue:V}=ft({mask:r,initialValue:R}),N=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",d&&"border-destructive focus-visible:ring-destructive",!o&&!i&&"px-3",o&&!i&&"pl-10 pr-3",i&&!o&&"pl-3 pr-10",o&&i&&"pl-10 pr-10",a&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",x),F=w=>{M(w),v?.(w);},b=()=>{S(),V(""),v?.({target:{name:n||"",value:""}});};return jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(L,{htmlFor:y,required:t,children:e}),jsxs("div",{className:"relative flex",children:[a&&jsx(ge,{before:!0,className:s,children:a}),jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsx(tt,{children:o}),jsx("input",{id:y,ref:k,name:n,onChange:F,className:h?x:N,...T}),c&&R&&jsx(oe,{onClick:b,width:12,height:12,className:u("absolute right-2 cursor-pointer",i&&"right-8")}),i&&jsx(nt,{children:i})]}),l&&jsx(ge,{after:!0,className:f,children:l})]}),d&&jsx(H,{children:d}),!d&&P&&jsx(I,{children:P})]})});gt.displayName="Input";var Ra=g(gt);var vt=forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:i=!1,helperText:a,error:s,onChange:l,onBlur:f,className:c,charType:x="numeric",customPattern:h,caseMode:d="none",...P},R)=>{let v=useId(),T=useRef([]),k=m=>{switch(d){case"upper":return m.toUpperCase();case"lower":case"visual-upper":return m.toLowerCase();case"visual-lower":return m.toUpperCase();default:return m}},y=m=>{if(!m)return "";let p=m.slice(0,1);switch(p=k(p),x){case"numeric":return /\d/.test(p)?p:"";case"alpha":return /[A-Za-z]/.test(p)?p:"";case"alphanumeric":return /[A-Za-z0-9]/.test(p)?p:"";case"custom":return h?.test(p)?p:"";default:return p}},M=()=>(r!=null?String(r):"").split("").map(y).slice(0,e),S=M().concat(Array(e).fill(" ")).slice(0,e),V=m=>{let p=m.split("").map(y).join("").slice(0,e),C=p===""?void 0:typeof r=="number"?Number(p):p;l?.({target:{name:n,value:C}});},N=(m,p)=>{let C=y(p),E=M();if(C===""){E[m]="",V(E.join(""));return}if(p.length>1){let z=p.split("").map(y).join("").slice(0,e);V(z),T.current[Math.min(z.length-1,e-1)]?.focus();return}C&&(E[m]=C,V(E.join("")),m<e-1&&T.current[m+1]?.focus());},F=m=>{let p=M();!p[m]&&m>0?p[m-1]="":p[m]="",V(p.join("")),m>0&&T.current[m-1]?.focus();},b=m=>{m.preventDefault();let C=m.clipboardData.getData("text").split("").map(y).join("").slice(0,e);C&&(V(C),T.current[Math.min(C.length-1,e-1)]?.focus());},w=m=>{switch(d){case"upper":case"visual-upper":return m.toUpperCase();case"lower":case"visual-lower":return m.toLowerCase();default:return m}};return jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsx(L,{htmlFor:v,required:i,children:o}),jsx("div",{className:u("flex gap-3 items-center",s&&"text-red-500",c),...P,children:S.map((m,p)=>{let C=t&&p>0&&p%t===0;return jsxs(Ut.Fragment,{children:[C&&jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsx("input",{id:v,type:"text",maxLength:1,inputMode:x==="numeric"?"numeric":"text",value:w(m).trim(),ref:E=>{T.current[p]=E,p===0&&R&&(typeof R=="function"?R(E):typeof R=="object"&&(R.current=E));},onPaste:b,onChange:E=>N(p,E.target.value),onKeyDown:E=>E.key==="Backspace"&&F(p),onBlur:f,className:u("h-14 w-12 text-center text-2xl rounded-md border border-input bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",s&&"border-red-500")})]},p)})}),s&&jsx(H,{children:s}),!s&&a&&jsx(I,{children:a})]})});vt.displayName="OtpInput";var Sa=g(vt);var ht=forwardRef(({label:e,required:t,option:r,className:n,overrideClassName:o,helperText:i,error:a,...s},l)=>{let f=useId(),c=u("h-4 w-4 border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-destructive",n);return jsxs("div",{className:"space-y-3",children:[e&&jsx(L,{required:t,children:e}),jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{id:f,type:"radio",className:o?n:c,ref:l,...s}),r&&jsx(L,{htmlFor:f,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r})]}),a&&jsx(H,{children:a}),!a&&i&&jsx(I,{children:i})]})});ht.displayName="Radio";var qa=g(ht);function Br(e,t){let{label:r,required:n,name:o,labelKey:i,valueKey:a,options:s,alignment:l="vertical",className:f,overrideClassName:c=!1,helperText:x,error:h,typeSet:d="field",value:P,onChange:R,...v}=e,T=useId(),k=useMemo(()=>new Map(s.map(N=>[String(N[a]),N])),[s,a]),y=useMemo(()=>P==null?"":String(d==="field"?P:P[a]),[P,d,a]),M=N=>{if(!R)return;let F;if(d==="field"){let b=k.get(N);if(b)F=b[a];else {let w=Number(N);F=Number.isNaN(w)?N:w;}}else F=k.get(N)??void 0;R({target:{name:o,value:F,type:"radiogroup",checked:!0}});},S=l==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",V=u("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",h&&"border-destructive");return jsxs("div",{className:u("flex flex-col gap-3",f),children:[r&&jsx(L,{required:n,children:r}),jsx("div",{className:S,children:s.map((N,F)=>{let b=String(N[a]),w=`${T}-${b}-${F}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...v,id:w,ref:t,name:o,type:"radio",checked:y===b,onChange:()=>M(b),className:c?f:V}),jsx(L,{htmlFor:w,children:String(N[i])})]},w)})}),h&&jsx(H,{children:String(h)}),!h&&x&&jsx(I,{children:x})]})}function Or(){let e=forwardRef(Br);return e.displayName="RadioGroup",e}var Gr=Or(),ti=g(Gr);function qr({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:i,error:a,helperText:s,className:l,...f},c){let x=useId(),h=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",l);return jsxs("div",{className:"space-y-2",children:[e&&jsx(L,{htmlFor:x,required:t,children:e}),jsxs("select",{id:x,ref:c,className:h,...f,children:[i&&jsx("option",{value:"",disabled:!0,children:i}),r.map((d,P)=>jsx("option",{value:String(d[o]),children:String(d[n])},P))]}),a&&jsx(H,{children:a}),!a&&s&&jsx(I,{children:s})]})}function _r(){let e=forwardRef(qr);return e.displayName="Select",e}var Wr=_r(),pi=g(Wr);var Pt=forwardRef(({label:e,description:t,checked:r=!1,className:n,overrideClassName:o,error:i,name:a,...s},l)=>{let f=useId();return jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{type:"checkbox",id:f,name:a,checked:r,className:"peer sr-only",ref:l,...s}),jsx("label",{htmlFor:f,className:u("relative flex items-center h-6 w-11 cursor-pointer rounded-full bg-input transition-colors duration-200","peer-checked:bg-primary peer-focus:ring-2 peer-focus:ring-ring peer-focus:ring-offset-2 peer-focus:ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50",n),children:jsx("span",{className:u("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",r?"translate-x-5":"translate-x-1")})}),(e||t)&&jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[e&&jsx(L,{id:`${f}-label`,htmlFor:f,className:"text-sm font-medium leading-none",children:e}),t&&jsx(L,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:t})]})]})});Pt.displayName="Switch";var Ci=g(Pt);var Lt=Ut.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:i=!1,error:a,helperText:s,...l},f)=>{let c=useId(),[x,h]=useState(0),d=u("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",o);return jsxs("div",{className:"space-y-2",children:[e&&jsx(L,{htmlFor:c,required:t,children:e}),jsxs("div",{className:"relative",children:[jsx("textarea",{id:c,className:i?o:d,maxLength:n,onInput:P=>h(P.currentTarget.textLength),ref:f,...l}),r&&jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[x,n?` / ${n}`:""]})]}),a&&jsx(H,{children:a}),!a&&s&&jsx(I,{children:s})]})});Lt.displayName="TextArea";var Ni=g(Lt);
9
+ `,children:jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{children:e}),jsx("svg",{className:`w-5 h-5 transition-transform ${n?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),n&&jsx("div",{className:"px-4 py-3 bg-background border-t border-border",children:t})]})});Fe.displayName="Accordion";var vn=Fe;function u(...e){return twMerge(clsx(e))}var Se=Jt.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:i,loading:a=!1,loadingContent:l,...s},b)=>{let c="inline-flex items-center justify-center rounded-lg font-medium cursor-pointer active:translate-y-1 transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",v={primary:"bg-blue-600 text-white hover:bg-blue-700 shadow-md focus-visible:ring-blue-500",secondary:"bg-gray-600 text-white hover:bg-gray-700 shadow-sm focus-visible:ring-gray-500",tertiary:"bg-purple-600 text-white hover:bg-purple-700 shadow-sm focus-visible:ring-purple-500",destructive:"bg-red-600 text-white hover:bg-red-700 shadow-sm focus-visible:ring-red-500",success:"bg-green-600 text-white hover:bg-green-700 shadow-sm focus-visible:ring-green-500",warning:"bg-amber-500 text-white hover:bg-amber-600 shadow-sm focus-visible:ring-amber-500",info:"bg-cyan-600 text-white hover:bg-cyan-700 shadow-sm focus-visible:ring-cyan-500",accent:"bg-violet-600 text-white hover:bg-violet-700 shadow-sm focus-visible:ring-violet-500",outline:"border border-gray-300 bg-transparent text-gray-700 hover:bg-gray-50 shadow-sm focus-visible:ring-gray-500",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus-visible:ring-gray-500",link:"text-blue-600 underline-offset-4 hover:underline bg-transparent p-0 h-auto shadow-none",gradient:"bg-gradient-to-r from-blue-600 to-purple-600 text-white hover:from-blue-700 hover:to-purple-700 shadow-md focus-visible:ring-blue-500",glass:"bg-white/10 backdrop-blur-md border border-white/20 text-black hover:bg-white/20 shadow-sm focus-visible:ring-white/50",soft:"bg-blue-100 text-blue-700 hover:bg-blue-200 shadow-sm focus-visible:ring-blue-500",dark:"bg-gray-900 text-white hover:bg-gray-800 shadow-md focus-visible:ring-gray-500",light:"bg-gray-100 text-gray-900 hover:bg-gray-200 shadow-sm focus-visible:ring-gray-500",obsidian:"bg-black text-white hover:bg-gray-900 shadow-md border border-gray-800 focus-visible:ring-gray-700",polar:"bg-white text-gray-900 hover:bg-gray-50 shadow-md border border-gray-300 focus-visible:ring-gray-400"},f={xs:"h-7 px-2 text-xs min-w-16",sm:"h-9 px-3 text-sm min-w-20",md:"h-10 px-4 py-2 text-base min-w-24",lg:"h-11 px-6 text-lg min-w-28",xl:"h-12 px-8 text-xl min-w-32"},d=t?e:u(c,v[r],f[n],e);return o?jsx(g,{children:jsx("a",{href:o,className:d,ref:b,children:a&&l?l:i})}):jsx(g,{children:jsx("button",{className:d,ref:b,...s,children:a&&l?l:i})})});Se.displayName="Button";var Rn=Se;var De=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:u("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r})}));De.displayName="Card";var Ae=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:u("flex flex-col space-y-1.5 p-6",e),...n,children:r})}));Ae.displayName="CardHeader";var $e=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("h3",{ref:o,className:t?e:u("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r})}));$e.displayName="CardTitle";var Be=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("p",{ref:o,className:t?e:u("text-sm text-muted-foreground",e),...n,children:r})}));Be.displayName="CardDescription";var Oe=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:u("p-6 pt-0",e),...n,children:r})}));Oe.displayName="CardContent";var Ge=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:u("flex items-center p-6 pt-0",e),...n,children:r})}));Ge.displayName="CardFooter";var Hn=De,Fn=Ae,Sn=$e,Dn=Be,An=Oe,$n=Ge;var ae=createContext(void 0),qe=forwardRef(({children:e,className:t,...r},n)=>{let[o,i]=useState(!1);return jsx(g,{children:jsx(ae.Provider,{value:{isOpen:o,setIsOpen:i},children:jsx("div",{ref:n,className:u("relative inline-block",t),...r,children:e})})})});qe.displayName="DropdownMenu";var ze=({children:e,asChild:t})=>{let r=useContext(ae);if(!r)throw new Error("DropdownMenuTrigger must be used within DropdownMenu");let n=()=>r.setIsOpen(!r.isOpen);if(t){let o=e;return cloneElement(o,{onClick:i=>{o.props.onClick?.(i),n();}})}return jsx(g,{children:jsx("button",{onClick:n,children:e})})};ze.displayName="DropdownMenuTrigger";var Ue=forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let i=useContext(ae),a=useRef(null);return useEffect(()=>{o&&(typeof o=="function"?o(a.current):o.current=a.current);},[o]),useEffect(()=>{let s=b=>{a.current&&!a.current.contains(b.target)&&i?.setIsOpen(!1);};return i?.isOpen&&document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s);}},[i?.isOpen]),i?.isOpen?jsx(g,{children:jsx("div",{ref:a,className:u("absolute z-50 mt-2 min-w-32 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md",{start:"left-0",center:"left-1/2 -translate-x-1/2",end:"right-0"}[t],r),...n,children:e})}):null});Ue.displayName="DropdownMenuContent";var We=forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},i)=>{let a=useContext(ae);return jsx(g,{children:jsx("button",{ref:i,onClick:s=>{t?.(s),a?.setIsOpen(!1);},className:u("w-full text-left px-4 py-2 text-sm hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none",r&&"text-red-600 hover:bg-red-50 hover:text-red-700 focus:bg-red-50 focus:text-red-700",n),...o,children:e})})});We.displayName="DropdownMenuItem";var Je=forwardRef(({className:e,...t},r)=>jsx(g,{children:jsx("div",{ref:r,className:u("-mx-1 my-1 h-px bg-border",e),...t})}));Je.displayName="DropdownMenuSeparator";var _e=forwardRef(({children:e,className:t,...r},n)=>jsx(g,{children:jsx("div",{ref:n,className:u("px-2 py-1.5 text-sm font-semibold",t),...r,children:e})}));_e.displayName="DropdownMenuLabel";var Un=qe,Wn=ze,Jn=Ue,_n=We,Xn=Je,Zn=_e;var Yt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx(g,{children:jsx("p",{className:r?t:u("text-sm text-muted-foreground",t),children:e})})},V=Yt;var Qt=({children:e,required:t,className:r,overrideClassName:n=!1,...o})=>jsx(g,{children:jsxs("div",{className:"flex items-center gap-1",children:[jsx("label",{...o,className:n?r:u("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",r),children:e}),t&&jsx("span",{className:"text-red-600",children:"*"})]})}),T=Qt;var tr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx(g,{children:jsx("p",{className:r?t:u("text-sm text-red-600 dark:text-red-400",t),children:e})})},I=tr;var je=forwardRef(({label:e,required:t,option:r,description:n,icon:o,orientation:i="left",className:a,overrideClassName:l=!1,helperText:s,error:b,...c},v)=>{let f=useId(),d=u("h-4 w-4 rounded border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",b&&"border-destructive",a);return jsx(g,{children:jsxs("div",{className:"space-y-2 w-fit",children:[e&&jsx(T,{required:t,children:e}),jsxs("div",{className:`flex items-center ${i=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsx("input",{id:f,type:"checkbox",className:l?a:d,ref:v,...c}),jsxs("div",{className:"flex items-center gap-2",children:[jsx("span",{children:o&&o}),jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[r&&jsx(T,{htmlFor:f,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsx(T,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:n})]})]})]}),b&&jsx(I,{children:b}),!b&&s&&jsx(V,{children:s})]})})});je.displayName="CheckBox";var xo=je;function ir(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:i,labelKey:a,valueKey:l,options:s,alignment:b="vertical",className:c,overrideClassName:v=!1,helperText:f,error:d,label:w,name:R,required:h,...y}=e,N=useId(),L=useMemo(()=>new Map(s.map(x=>[String(x[l]),x])),[s,l]),M=useMemo(()=>o==null?[]:r==="field"?n?o.map(x=>String(x)):[String(o)]:n?o.map(x=>String(x[l])):[String(o[l])],[o,r,n,l]),S=(x,P)=>{if(!i)return;let m;if(r==="field")if(n)m=x.map(C=>{let k=L.get(C);return k?k[l]:C});else {let p=x[0];if(!p)m=void 0;else {let C=L.get(p);m=C?C[l]:p;}}else n?m=x.map(C=>L.get(C)).filter(C=>C!==void 0):m=L.get(x[0]??"")??void 0;i({target:{name:R,value:m,type:"checkboxgroup",checked:P}});},H=x=>{let P;n?P=M.includes(x)?M.filter(m=>m!==x):[...M,x]:P=M[0]===x?[]:[x],S(P,P.includes(x));},E=b==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",F=u("h-4 w-4 rounded border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",d&&"border-destructive");return jsx(g,{children:jsxs("div",{className:u("flex flex-col gap-3",c),children:[w&&jsx(T,{required:h,children:w}),jsx("div",{className:E,children:s.map((x,P)=>{let m=String(x[l]),p=M.includes(m),C=`${N}-${m}-${P}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...y,id:C,ref:t,type:"checkbox",name:R,checked:p,onChange:()=>H(m),className:v?c:F}),jsx(T,{htmlFor:C,children:String(x[a])})]},C)})}),!!d&&jsx(I,{children:String(d)}),!d&&f&&jsx(V,{children:f})]})})}function sr(){let e=forwardRef(ir);return e.displayName="CheckBoxGroup",e}var lr=sr(),Eo=lr;var cr=({...e})=>jsx("svg",{...e,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),se=cr;var mr=(e,t)=>{useEffect(()=>{let r=n=>{e.current&&!e.current.contains(n.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},tt=mr;function fe({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:i,typeSet:a,name:l}){let[s,b]=useState([]),c=useMemo(()=>new Map(e.map(h=>[String(h[r]),h])),[e,r]),v=useCallback(()=>s.map(h=>c.get(h)).filter(h=>!!h),[s,c]),f=useCallback(h=>{if(!o)return;let y;if(a==="field"?n?y=h:y=h[0]??void 0:n?y=h.map(L=>c.get(L)).filter(L=>L!==void 0):y=c.get(h[0]??"")??void 0,i&&!n){let N=c.get(h[0]??"");N&&i(String(N[t]));}o({target:{name:l,value:y,type:"combobox"}});},[n,o,c,l,a,i,t]),d=useCallback(h=>{let y=String(h[r]),N=n?s.includes(y)?s.filter(L=>L!==y):[...s,y]:[y];b(N),f(N);},[n,s,f,r]),w=useCallback(h=>{let y=s.filter(N=>N!==h);b(y),f(y);},[s,f]),R=useCallback(()=>{b([]),i?.("");let h;a==="field"?h=n?[]:"":h=n?[]:void 0,o?.({target:{name:l,value:h,type:"combobox"}});},[n,o,l,i,a]);return {selectedValues:s,handleSelect:d,handleRemove:w,handleClear:R,getSelectedOptions:v}}function ge(e,t,r){return useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var nt=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:i,filteredOptions:a,highlightedIndex:l,setHighlightedIndex:s,handleSelect:b,handleRemove:c})=>{let v=useCallback(d=>{if(a.length===0){s(-1);return}s(w=>w<0?d>0?0:a.length-1:(w+d+a.length)%a.length);},[a,s]);return useCallback(d=>{if(!e){if(d.key==="Enter"||d.key==="ArrowDown"){t(!0),s(0),d.preventDefault();return}r&&d.key==="Backspace"&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),v(1);break;case"ArrowUp":d.preventDefault(),v(-1);break;case"Enter":d.preventDefault();let w=l>=0?l:0,R=a[w];R&&b(R),r&&o&&o(""),r||(t(!1),s(-1));break;case"Escape":d.preventDefault(),t(!1),s(-1),r||o("");break;case"Tab":t(!1),s(-1);break;case"Home":d.preventDefault(),a.length>0&&s(0);break;case"End":d.preventDefault(),a.length>0&&s(a.length-1);break;case"Backspace":r&&n===""&&i.length>0&&(d.preventDefault(),c(i[i.length-1]));break}},[e,r,n,i,a,l,t,o,s,b,c,v])};function ot({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),i=String(e[r]);return jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded",children:[o,jsx("button",{type:"button",onMouseDown:a=>a.preventDefault(),onClick:()=>n(i),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},i)}function Cr(e,t){let{label:r,required:n=!1,name:o,placeholder:i="Buscar...",labelKey:a,valueKey:l,options:s,value:b,onChange:c,mode:v="single",typeSet:f="field",disabled:d=!1,ClearEnabled:w=!0,helperText:R,error:h=!1,className:y="",...N}=e,L=v==="multiple",[M,S]=useState(!1),[H,E]=useState(""),F=useRef(null),x=useRef(null),P=useRef(null);useImperativeHandle(t,()=>P.current),tt(x,()=>S(!1));let m=ge(s,a,H),[p,C]=useState(-1),{selectedValues:k,handleSelect:Y,handleRemove:Le,handleClear:Mt,getSelectedOptions:Pe}=fe({options:s,labelKey:a,valueKey:l,value:b,multiple:L,onChange:c,typeSet:f,name:o,setSearchTerm:E}),Vt=nt({isOpen:M,setIsOpen:S,multiple:L,searchTerm:H,setSearchTerm:E,selectedValues:k,filteredOptions:m,highlightedIndex:p,setHighlightedIndex:C,handleSelect:Y,handleRemove:Le}),Q=useId(),It="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Ht=u("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",h?"border-red-500":"border-gray-300 dark:border-gray-600",d?"opacity-50 cursor-not-allowed":"cursor-text","focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500");return jsx(g,{children:jsxs("div",{className:`space-y-2 ${y}`,children:[r&&jsx(T,{htmlFor:Q,required:n,children:r}),jsxs("div",{ref:F,className:"relative",children:[jsxs("div",{className:Ht,children:[L&&Pe().length>0&&jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:Pe().map(($,G)=>jsx(ot,{option:$,labelKey:a,valueKey:l,onRemove:Le},String($[l]??G)))}),jsx("input",{ref:P,...N,name:o,type:"text",placeholder:i,value:H,onChange:$=>{let G=$.target.value;E(G),!M&&G.trim()!==""&&S(!0);},onKeyDown:Vt,onMouseDown:$=>{document.activeElement===P.current&&($.preventDefault(),S(G=>{let ee=!G;return ee&&C(0),ee}));},onFocus:()=>{S(!0),C(0);},disabled:d,className:It,role:"combobox","aria-expanded":M,"aria-controls":Q,"aria-activedescendant":p>=0?`${Q}-opt-${p}`:void 0}),w&&!!k.length&&jsx("button",{type:"button",onMouseDown:$=>$.preventDefault(),onClick:Mt,className:"absolute right-2 top-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 p-1 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700",title:"Limpar sele\xE7\xE3o",children:jsx(se,{width:12,height:12})})]}),M&&jsx("div",{ref:x,id:Q,className:"absolute z-50 w-full mt-1 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-md shadow-lg max-h-60 overflow-auto",role:"listbox","aria-multiselectable":L||void 0,children:m.length===0?jsx("div",{className:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400",children:"Nenhum resultado encontrado"}):m.map(($,G)=>{let ee=String($[l]),ce=k.includes(ee),de=G===p;return jsx("button",{id:`${Q}-opt-${G}`,"data-index":G,role:"option","aria-selected":ce,type:"button",onMouseDown:Ft=>Ft.preventDefault(),onClick:()=>Y($),className:u("w-full px-3 py-2 text-left text-sm transition-colors",de&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!de&&ce&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!ce&&!de&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsx("span",{children:String($[a])})},ee)})})]}),h&&jsx(I,{children:h}),!h&&R&&jsx(V,{children:R})]})})}function Tr(){let e=forwardRef(Cr);return e.displayName="ComboBox",e}var yr=Tr(),oa=yr;var Pr=({children:e,before:t,after:r,className:n})=>{let i=Lr("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsx("div",{className:i,children:jsx("span",{children:e})})},he=Pr;var wr=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),st=wr;var Rr=({children:e})=>jsx("div",{className:"absolute right-0 px-2",children:jsx("span",{children:e})}),ct=Rr;function dt(e){e.currentTarget.maxLength=9;let t=e.currentTarget.value;return t=t.replace(/\D/g,""),t=t.replace(/^(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function mt(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),n=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=a,e}function pt(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value;return t.match(/^(\d{3}).(\d{3}).(\d{3})-(\d{2})$/)||(t=t.replace(/\D/g,""),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2"),e.currentTarget.value=t),e}function ut(e){e.currentTarget.maxLength=15;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{5})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function ft(e){e.currentTarget.maxLength=14;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"($1) $2"),t=t.replace(/(\d{4})(\d)/,"$1-$2"),e.currentTarget.value=t,e}function gt(e){let t=e.currentTarget.value.replace(/\D/g,"");return t.length<=11?(e.currentTarget.maxLength=14,t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{2})$/,"$1-$2")):(e.currentTarget.maxLength=18,t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2")),e.currentTarget.value=t,e}function bt(e){e.currentTarget.maxLength=12;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d{1})$/,"$1-$2"),e.currentTarget.value=t,e}function vt(e){e.currentTarget.maxLength=18;let t=e.currentTarget.value.replace(/\D/g,"");return t=t.replace(/(\d{2})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1.$2"),t=t.replace(/(\d{3})(\d)/,"$1/$2"),t=t.replace(/(\d{4})(\d{2})$/,"$1-$2"),e.currentTarget.value=t,e}var kr=({e,mask:t})=>{switch(t){case"money":return mt(e);case"mobile":return ut(e);case"phone":return ft(e);case"cpfCnpj":return gt(e);case"cpf":return pt(e);case"rg":return bt(e);case"cnpj":return vt(e);case"cep":return dt(e);default:return e}},xt=kr;var Mr=({mask:e,initialValue:t=""})=>{let[r,n]=useState(t);useEffect(()=>{t!==r&&n(t);},[t]);let o=useCallback(a=>{let s=xt({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;n(s);},[e]),i=useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:i}},Ct=Mr;var Tt=forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:i,addonBefore:a,addonBeforeClassName:l,addonAfter:s,addonAfterClassName:b,ClearEnabled:c=!0,className:v,overrideClassName:f=!1,error:d,helperText:w,value:R=void 0,onChange:h,...y},N)=>{let L=useId(),{handleChange:M,handleClear:S,setValue:H}=Ct({mask:r,initialValue:R}),E=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",d&&"border-destructive focus-visible:ring-destructive",!o&&!i&&"px-3",o&&!i&&"pl-10 pr-3",i&&!o&&"pl-3 pr-10",o&&i&&"pl-10 pr-10",a&&"rounded-l-none border-l-0",s&&"rounded-r-none border-r-0",v),F=P=>{M(P),h?.(P);},x=()=>{S(),H(""),h?.({target:{name:n||"",value:""}});};return jsx(g,{children:jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(T,{htmlFor:L,required:t,children:e}),jsxs("div",{className:"relative flex",children:[a&&jsx(he,{before:!0,className:l,children:a}),jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsx(st,{children:o}),jsx("input",{id:L,ref:N,name:n,onChange:F,className:f?v:E,...y}),c&&R&&jsx(se,{onClick:x,width:12,height:12,className:u("absolute right-2 cursor-pointer",i&&"right-8")}),i&&jsx(ct,{children:i})]}),s&&jsx(he,{after:!0,className:b,children:s})]}),d&&jsx(I,{children:d}),!d&&w&&jsx(V,{children:w})]})})});Tt.displayName="Input";var Va=Tt;var Lt=forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:i=!1,helperText:a,error:l,onChange:s,onBlur:b,className:c,charType:v="numeric",customPattern:f,caseMode:d="none",...w},R)=>{let h=useId(),y=useRef([]),N=m=>{switch(d){case"upper":return m.toUpperCase();case"lower":case"visual-upper":return m.toLowerCase();case"visual-lower":return m.toUpperCase();default:return m}},L=m=>{if(!m)return "";let p=m.slice(0,1);switch(p=N(p),v){case"numeric":return /\d/.test(p)?p:"";case"alpha":return /[A-Za-z]/.test(p)?p:"";case"alphanumeric":return /[A-Za-z0-9]/.test(p)?p:"";case"custom":return f?.test(p)?p:"";default:return p}},M=()=>(r!=null?String(r):"").split("").map(L).slice(0,e),S=M().concat(Array(e).fill(" ")).slice(0,e),H=m=>{let p=m.split("").map(L).join("").slice(0,e),C=p===""?void 0:typeof r=="number"?Number(p):p;s?.({target:{name:n,value:C}});},E=(m,p)=>{let C=L(p),k=M();if(C===""){k[m]="",H(k.join(""));return}if(p.length>1){let Y=p.split("").map(L).join("").slice(0,e);H(Y),y.current[Math.min(Y.length-1,e-1)]?.focus();return}C&&(k[m]=C,H(k.join("")),m<e-1&&y.current[m+1]?.focus());},F=m=>{let p=M();!p[m]&&m>0?p[m-1]="":p[m]="",H(p.join("")),m>0&&y.current[m-1]?.focus();},x=m=>{m.preventDefault();let C=m.clipboardData.getData("text").split("").map(L).join("").slice(0,e);C&&(H(C),y.current[Math.min(C.length-1,e-1)]?.focus());},P=m=>{switch(d){case"upper":case"visual-upper":return m.toUpperCase();case"lower":case"visual-lower":return m.toLowerCase();default:return m}};return jsx(g,{children:jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsx(T,{htmlFor:h,required:i,children:o}),jsx("div",{className:u("flex gap-3 items-center",l&&"text-red-500",c),...w,children:S.map((m,p)=>{let C=t&&p>0&&p%t===0;return jsxs(Jt.Fragment,{children:[C&&jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsx("input",{id:h,type:"text",maxLength:1,inputMode:v==="numeric"?"numeric":"text",value:P(m).trim(),ref:k=>{y.current[p]=k,p===0&&R&&(typeof R=="function"?R(k):typeof R=="object"&&(R.current=k));},onPaste:x,onChange:k=>E(p,k.target.value),onKeyDown:k=>k.key==="Backspace"&&F(p),onBlur:b,className:u("h-14 w-12 text-center text-2xl rounded-md border border-input bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",l&&"border-red-500")})]},p)})}),l&&jsx(I,{children:l}),!l&&a&&jsx(V,{children:a})]})})});Lt.displayName="OtpInput";var Oa=Lt;var Pt=forwardRef(({label:e,required:t,option:r,description:n,icon:o,className:i,overrideClassName:a,helperText:l,error:s,...b},c)=>{let v=useId(),f=u("h-4 w-4 border border-input bg-background text-primary focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s&&"border-destructive",i);return jsx(g,{children:jsxs("div",{className:"space-y-3",children:[e&&jsx(T,{required:t,children:e}),jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{id:v,type:"radio",className:a?i:f,ref:c,...b}),jsxs("div",{className:"flex items-center gap-2",children:[jsx("span",{children:o&&o}),jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[r&&jsx(T,{htmlFor:v,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsx(T,{id:`${v}-description`,htmlFor:v,className:"text-xs text-muted-foreground",children:n})]})]})]}),s&&jsx(I,{children:s}),!s&&l&&jsx(V,{children:l})]})})});Pt.displayName="Radio";var Xa=Pt;function Gr(e,t){let{label:r,required:n,name:o,labelKey:i,valueKey:a,options:l,alignment:s="vertical",className:b,overrideClassName:c=!1,helperText:v,error:f,typeSet:d="field",value:w,onChange:R,...h}=e,y=useId(),N=useMemo(()=>new Map(l.map(E=>[String(E[a]),E])),[l,a]),L=useMemo(()=>w==null?"":String(d==="field"?w:w[a]),[w,d,a]),M=E=>{if(!R)return;let F;if(d==="field"){let x=N.get(E);if(x)F=x[a];else {let P=Number(E);F=Number.isNaN(P)?E:P;}}else F=N.get(E)??void 0;R({target:{name:o,value:F,type:"radiogroup",checked:!0}});},S=s==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",H=u("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",f&&"border-destructive");return jsx(g,{children:jsxs("div",{className:u("flex flex-col gap-3",b),children:[r&&jsx(T,{required:n,children:r}),jsx("div",{className:S,children:l.map((E,F)=>{let x=String(E[a]),P=`${y}-${x}-${F}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...h,id:P,ref:t,name:o,type:"radio",checked:L===x,onChange:()=>M(x),className:c?b:H}),jsx(T,{htmlFor:P,children:String(E[i])})]},P)})}),f&&jsx(I,{children:String(f)}),!f&&v&&jsx(V,{children:v})]})})}function Kr(){let e=forwardRef(Gr);return e.displayName="RadioGroup",e}var qr=Kr(),ii=qr;function Wr({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:i,error:a,helperText:l,className:s,...b},c){let v=useId(),f=u("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",s);return jsx(g,{children:jsxs("div",{className:"space-y-2",children:[e&&jsx(T,{htmlFor:v,required:t,children:e}),jsxs("select",{id:v,ref:c,className:f,...b,children:[i&&jsx("option",{value:"",disabled:!0,children:i}),r.map((d,w)=>jsx("option",{value:String(d[o]),children:String(d[n])},w))]}),a&&jsx(I,{children:a}),!a&&l&&jsx(V,{children:l})]})})}function Jr(){let e=forwardRef(Wr);return e.displayName="Select",e}var _r=Jr(),vi=_r;var Nt=forwardRef(({label:e,required:t,option:r,description:n,icon:o,checked:i=!1,className:a,overrideClassName:l,error:s,name:b,...c},v)=>{let f=useId();return jsx(g,{children:jsxs("div",{className:"flex flex-col gap-2",children:[e&&jsx(T,{required:t,children:e}),jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{type:"checkbox",id:f,name:b,checked:i,className:"peer sr-only",ref:v,...c}),jsx("label",{htmlFor:f,className:u("relative flex items-center h-6 w-11 cursor-pointer rounded-full bg-input transition-colors duration-200","peer-checked:bg-primary peer-focus:ring-2 peer-focus:ring-ring peer-focus:ring-offset-2 peer-focus:ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50",a),children:jsx("span",{className:u("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",i?"translate-x-5":"translate-x-1")})}),jsx("span",{children:o&&o}),(r||n)&&jsxs("div",{className:"grid gap-1.5 leading-none select-none",children:[e&&jsx(T,{id:`${f}-label`,htmlFor:f,className:"text-sm font-medium leading-none",children:r}),n&&jsx(T,{id:`${f}-description`,htmlFor:f,className:"text-xs text-muted-foreground",children:n})]})]})]})})});Nt.displayName="Switch";var wi=Nt;var Et=Jt.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:i=!1,error:a,helperText:l,...s},b)=>{let c=useId(),[v,f]=useState(0),d=u("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a&&"border-red-500 focus-visible:ring-red-500",o);return jsx(g,{children:jsxs("div",{className:"space-y-2",children:[e&&jsx(T,{htmlFor:c,required:t,children:e}),jsxs("div",{className:"relative",children:[jsx("textarea",{id:c,className:i?o:d,maxLength:n,onInput:w=>f(w.currentTarget.textLength),ref:b,...s}),r&&jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[v,n?` / ${n}`:""]})]}),a&&jsx(I,{children:a}),!a&&l&&jsx(V,{children:l})]})})});Et.displayName="TextArea";var Fi=Et;
10
10
 
11
- export { pn as AccordionPrimitive, Tn as ButtonPrimitive, Hn as CardContentPrimitive, In as CardDescriptionPrimitive, Vn as CardFooterPrimitive, Nn as CardHeaderPrimitive, kn as CardPrimitive, Mn as CardTitlePrimitive, Po as CheckBoxGroupPrimitive, uo as CheckBoxPrimitive, Qo as ComboBoxPrimitive, Kn as DropdownMenuContentPrimitive, Un as DropdownMenuItemPrimitive, _n as DropdownMenuLabelPrimitive, On as DropdownMenuPrimitive, qn as DropdownMenuSeparatorPrimitive, Gn as DropdownMenuTriggerPrimitive, I as HelperFieldPrimitive, Ra as InputPrimitive, L as LabelPrimitive, St as LicenseProvider, Sa as OtpInputPrimitive, ti as RadioGroupPrimitive, qa as RadioPrimitive, pi as SelectPrimitive, Ci as SwitchPrimitive, Ni as TextAreaPrimitive, H as ValidateFieldPrimitive };
11
+ export { vn as AccordionPrimitive, Rn as ButtonPrimitive, An as CardContentPrimitive, Dn as CardDescriptionPrimitive, $n as CardFooterPrimitive, Fn as CardHeaderPrimitive, Hn as CardPrimitive, Sn as CardTitlePrimitive, Eo as CheckBoxGroupPrimitive, xo as CheckBoxPrimitive, oa as ComboBoxPrimitive, Jn as DropdownMenuContentPrimitive, _n as DropdownMenuItemPrimitive, Zn as DropdownMenuLabelPrimitive, Un as DropdownMenuPrimitive, Xn as DropdownMenuSeparatorPrimitive, Wn as DropdownMenuTriggerPrimitive, V as HelperFieldPrimitive, Va as InputPrimitive, T as LabelPrimitive, $t as LicenseProvider, Oa as OtpInputPrimitive, ii as RadioGroupPrimitive, Xa as RadioPrimitive, vi as SelectPrimitive, wi as SwitchPrimitive, Fi as TextAreaPrimitive, I as ValidateFieldPrimitive };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvr-ui/components",
3
- "version": "1.0.80",
3
+ "version": "1.0.93",
4
4
  "sideEffects": false,
5
5
  "main": "dist/page.cjs",
6
6
  "module": "dist/page.js",
@@ -48,9 +48,9 @@
48
48
  "peerDependencies": {
49
49
  "autoprefixer": "^10.4.21",
50
50
  "clsx": "^2.1.1",
51
- "next": ">=14.0.0",
51
+ "next": "^16.0.10",
52
52
  "postcss": "^8.5.6",
53
- "react": ">=18.0.0",
53
+ "react": "^19.2.3",
54
54
  "react-dom": ">=18.0.0",
55
55
  "react-hook-form": "^7.43.0 || ^7.59.0",
56
56
  "tailwindcss": "^4.1.11"