@mvr-ui/components 1.0.93 → 1.0.96

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
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))}}
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-1\/2{top:50%}.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%}.left-2{left:calc(var(--spacing)*2)}.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)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.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-8{height:calc(var(--spacing)*8)}.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-56{height:calc(var(--spacing)*56)}.h-auto{height:auto}.h-full{height:100%}.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-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-85{width:calc(var(--spacing)*85)}.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)}.flex-1{flex:1}.-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)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);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}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.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)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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-2{border-style:var(--tw-border-style);border-width:2px}.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-dashed{--tw-border-style:dashed;border-style:dashed}.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-primary{border-color:var(--primary)}.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-black\/5{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.bg-black\/5{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.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-primary,.bg-primary\/5{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/5{background-color:color-mix(in oklab,var(--primary)5%,transparent)}}.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-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-secondary{background-color:var(--secondary)}.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))}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-0\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.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-right{text-align:right}.font-mono{font-family:var(--font-geist-mono)}.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\:border-primary:hover{border-color:var(--primary)}.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-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.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
@@ -144,6 +144,19 @@ interface CheckBoxGroupGenericComponent {
144
144
  }
145
145
  declare const CheckBoxGroupPrimitive: CheckBoxGroupGenericComponent;
146
146
 
147
+ interface ColorPickerProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> {
148
+ label?: string;
149
+ required?: boolean;
150
+ disabled?: boolean;
151
+ presetColors?: string[];
152
+ showPresets?: boolean;
153
+ className?: string;
154
+ error?: string;
155
+ helperText?: string;
156
+ }
157
+ declare const ColorPicker: React__default.ForwardRefExoticComponent<ColorPickerProps & React__default.RefAttributes<HTMLInputElement>>;
158
+ declare const ColorPickerPrimitive: React__default.ForwardRefExoticComponent<ColorPickerProps & React__default.RefAttributes<HTMLInputElement>>;
159
+
147
160
  type Mode = 'multiple' | 'single';
148
161
 
149
162
  type TypeSet = 'object' | 'field';
@@ -211,6 +224,14 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
211
224
  }
212
225
  declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
213
226
 
227
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
228
+ children?: React.ReactNode;
229
+ required?: boolean;
230
+ className?: string;
231
+ overrideClassName?: boolean;
232
+ }
233
+ declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
234
+
214
235
  type CaseMode = "none" | "upper" | "lower" | "visual-upper" | "visual-lower";
215
236
 
216
237
  type CharType = "numeric" | "alpha" | "alphanumeric" | "custom";
@@ -229,14 +250,6 @@ interface OtpInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInpu
229
250
  }
230
251
  declare const OtpInputPrimitive: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
231
252
 
232
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
233
- children?: React.ReactNode;
234
- required?: boolean;
235
- className?: string;
236
- overrideClassName?: boolean;
237
- }
238
- declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
239
-
240
253
  interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
241
254
  label?: string;
242
255
  required?: boolean;
@@ -326,6 +339,24 @@ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAr
326
339
  }
327
340
  declare const TextAreaPrimitive: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
328
341
 
342
+ interface FileUploadProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "value"> {
343
+ label?: string;
344
+ required?: boolean;
345
+ accept?: string;
346
+ renderFiles?: (params: {
347
+ files: File[] | undefined;
348
+ removeFile: (index: number) => void;
349
+ }) => React__default.ReactNode;
350
+ preview?: boolean;
351
+ multiple?: boolean;
352
+ maxSize?: number;
353
+ disabled?: boolean;
354
+ error?: boolean;
355
+ helperText?: string;
356
+ className?: string;
357
+ }
358
+ declare const UploadFilePrimitive: React__default.ForwardRefExoticComponent<FileUploadProps & React__default.RefAttributes<HTMLInputElement>>;
359
+
329
360
  interface ValidateFieldProps {
330
361
  children: React.ReactNode;
331
362
  className?: string;
@@ -333,4 +364,4 @@ interface ValidateFieldProps {
333
364
  }
334
365
  declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
335
366
 
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 };
367
+ export { AccordionItemData, AccordionPrimitive, AccordionProps, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, CheckBoxGroupPrimitive, CheckBoxPrimitive, CheckBoxProps, ColorPicker, ColorPickerPrimitive, ComboBoxPrimitive, DropdownMenuContentPrimitive, DropdownMenuContentProps, DropdownMenuItemPrimitive, DropdownMenuItemProps, DropdownMenuLabelPrimitive, DropdownMenuLabelProps, DropdownMenuPrimitive, DropdownMenuProps, DropdownMenuSeparatorPrimitive, DropdownMenuSeparatorProps, DropdownMenuTriggerPrimitive, DropdownMenuTriggerProps, FileUploadProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, OtpInputPrimitive, OtpInputProps, RadioGroupPrimitive, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, UploadFilePrimitive, ValidateFieldPrimitive, ValidateFieldProps };
package/dist/page.d.ts CHANGED
@@ -144,6 +144,19 @@ interface CheckBoxGroupGenericComponent {
144
144
  }
145
145
  declare const CheckBoxGroupPrimitive: CheckBoxGroupGenericComponent;
146
146
 
147
+ interface ColorPickerProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> {
148
+ label?: string;
149
+ required?: boolean;
150
+ disabled?: boolean;
151
+ presetColors?: string[];
152
+ showPresets?: boolean;
153
+ className?: string;
154
+ error?: string;
155
+ helperText?: string;
156
+ }
157
+ declare const ColorPicker: React__default.ForwardRefExoticComponent<ColorPickerProps & React__default.RefAttributes<HTMLInputElement>>;
158
+ declare const ColorPickerPrimitive: React__default.ForwardRefExoticComponent<ColorPickerProps & React__default.RefAttributes<HTMLInputElement>>;
159
+
147
160
  type Mode = 'multiple' | 'single';
148
161
 
149
162
  type TypeSet = 'object' | 'field';
@@ -211,6 +224,14 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
211
224
  }
212
225
  declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
213
226
 
227
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
228
+ children?: React.ReactNode;
229
+ required?: boolean;
230
+ className?: string;
231
+ overrideClassName?: boolean;
232
+ }
233
+ declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
234
+
214
235
  type CaseMode = "none" | "upper" | "lower" | "visual-upper" | "visual-lower";
215
236
 
216
237
  type CharType = "numeric" | "alpha" | "alphanumeric" | "custom";
@@ -229,14 +250,6 @@ interface OtpInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInpu
229
250
  }
230
251
  declare const OtpInputPrimitive: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
231
252
 
232
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
233
- children?: React.ReactNode;
234
- required?: boolean;
235
- className?: string;
236
- overrideClassName?: boolean;
237
- }
238
- declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
239
-
240
253
  interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
241
254
  label?: string;
242
255
  required?: boolean;
@@ -326,6 +339,24 @@ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAr
326
339
  }
327
340
  declare const TextAreaPrimitive: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
328
341
 
342
+ interface FileUploadProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "value"> {
343
+ label?: string;
344
+ required?: boolean;
345
+ accept?: string;
346
+ renderFiles?: (params: {
347
+ files: File[] | undefined;
348
+ removeFile: (index: number) => void;
349
+ }) => React__default.ReactNode;
350
+ preview?: boolean;
351
+ multiple?: boolean;
352
+ maxSize?: number;
353
+ disabled?: boolean;
354
+ error?: boolean;
355
+ helperText?: string;
356
+ className?: string;
357
+ }
358
+ declare const UploadFilePrimitive: React__default.ForwardRefExoticComponent<FileUploadProps & React__default.RefAttributes<HTMLInputElement>>;
359
+
329
360
  interface ValidateFieldProps {
330
361
  children: React.ReactNode;
331
362
  className?: string;
@@ -333,4 +364,4 @@ interface ValidateFieldProps {
333
364
  }
334
365
  declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
335
366
 
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 };
367
+ export { AccordionItemData, AccordionPrimitive, AccordionProps, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, CheckBoxGroupPrimitive, CheckBoxPrimitive, CheckBoxProps, ColorPicker, ColorPickerPrimitive, ComboBoxPrimitive, DropdownMenuContentPrimitive, DropdownMenuContentProps, DropdownMenuItemPrimitive, DropdownMenuItemProps, DropdownMenuLabelPrimitive, DropdownMenuLabelProps, DropdownMenuPrimitive, DropdownMenuProps, DropdownMenuSeparatorPrimitive, DropdownMenuSeparatorProps, DropdownMenuTriggerPrimitive, DropdownMenuTriggerProps, FileUploadProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, OtpInputPrimitive, OtpInputProps, RadioGroupPrimitive, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, UploadFilePrimitive, ValidateFieldPrimitive, ValidateFieldProps };
package/dist/page.js CHANGED
@@ -1,45 +1,70 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var Jt = require('react');
5
- var Lr = require('clsx');
4
+ var vr = require('react');
5
+ var Zr = 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 Jt__default = /*#__PURE__*/_interopDefault(Jt);
11
- var Lr__default = /*#__PURE__*/_interopDefault(Lr);
10
+ var vr__default = /*#__PURE__*/_interopDefault(vr);
11
+ var Zr__default = /*#__PURE__*/_interopDefault(Zr);
12
12
 
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
13
+ var Ue=({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((a,i)=>{let s=a.variant!=="secondary";return jsxRuntime.jsx("button",{onClick:a.onClick,className:s?"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:a.label},i)})})]})});var qe=(e,t)=>{let r="Problema com licen\xE7a da aplica\xE7\xE3o",n=`
14
+ Ol\xE1,
15
+
16
+ Estou enfrentando um problema com a licen\xE7a da aplica\xE7\xE3o.
17
+
18
+ Erro:
19
+ ${t??"Licen\xE7a inv\xE1lida"}
20
+
21
+ Aguardo retorno.
22
+ `,o=`mailto:${e}?subject=${encodeURIComponent(r)}&body=${encodeURIComponent(n)}`;window.location.href=o;};var Ke=(e,t)=>{let r=`
23
+ Ol\xE1! Estou com um problema de licen\xE7a na aplica\xE7\xE3o.
24
+
25
+ Erro:
26
+ ${t??"Licen\xE7a inv\xE1lida"}
27
+
28
+ Pode me ajudar?
29
+ `,n=`https://wa.me/${e}?text=${encodeURIComponent(r)}`;window.open(n,"_blank");};var We=vr.createContext(void 0),lr=({children:e,licenseKey:t})=>{let[r,n]=vr.useState(!1),[o,a]=vr.useState(null),[i,s]=vr.useState(!0),l=f=>{if(a(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 vr.useEffect(()=>{if(t){s(!0);try{l(t);}catch(f){a(f instanceof Error?f.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else a("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),i?null:jsxRuntime.jsx(We.Provider,{value:{isLicenseValid:r,validateLicense:l,licenseError:o},children:r?e:jsxRuntime.jsx(Ue,{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 no WhatsApp",variant:"secondary",onClick:()=>Ke("5544998204407",o)},{label:"Enviar e-mail",variant:"secondary",onClick:()=>qe("marcos.vinicius.engsof@gmail.com",o)}]})})},Xe=()=>{let e=vr.useContext(We);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Je=({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}=Xe();return t?jsxRuntime.jsx(jsxRuntime.Fragment,{children:e}):jsxRuntime.jsx(Je,{})};var Ye=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:a=""})=>{let i=c=>c===void 0?[]:Array.isArray(c)?c:[c],[s,l]=vr.useState(i(n??r));vr.useEffect(()=>{n!==void 0&&l(i(n));},[n]);let f=vr.useCallback(c=>{l(h=>{let p;return t==="single"?p=h.includes(c)?[]:[c]:p=h.includes(c)?h.filter(d=>d!==c):[...h,c],o?.(t==="single"?p[0]??"":p),p});},[t,o]);return jsxRuntime.jsx("div",{className:`space-y-2 ${a}`,children:e.map(c=>jsxRuntime.jsx(fr,{...c,isOpen:s.includes(c.id),onToggle:()=>f(c.id)},c.id))})},fr=({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
30
  ${r?"opacity-50 cursor-not-allowed":"hover:bg-accent hover:text-accent-foreground"}
15
31
  ${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})]})});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
-
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;
32
+ `,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})]})});Ye.displayName="Accordion";var lo=Ye;function v(...e){return tailwindMerge.twMerge(Zr.clsx(e))}var Qe=vr__default.default.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:a,loading:i=!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",h={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"},p={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:v(c,h[r],p[n],e);return o?jsxRuntime.jsx(g,{children:jsxRuntime.jsx("a",{href:o,className:d,ref:f,children:i&&s?s:a})}):jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{className:d,ref:f,...l,children:i&&s?s:a})})});Qe.displayName="Button";var xo=Qe;var et=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:v("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r})}));et.displayName="Card";var tt=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:v("flex flex-col space-y-1.5 p-6",e),...n,children:r})}));tt.displayName="CardHeader";var rt=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("h3",{ref:o,className:t?e:v("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r})}));rt.displayName="CardTitle";var nt=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{ref:o,className:t?e:v("text-sm text-muted-foreground",e),...n,children:r})}));nt.displayName="CardDescription";var ot=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:v("p-6 pt-0",e),...n,children:r})}));ot.displayName="CardContent";var at=vr.forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:o,className:t?e:v("flex items-center p-6 pt-0",e),...n,children:r})}));at.displayName="CardFooter";var Ro=et,wo=tt,No=rt,ko=nt,Eo=ot,Mo=at;var ge=vr.createContext(void 0),st=vr.forwardRef(({children:e,className:t,...r},n)=>{let[o,a]=vr.useState(!1);return jsxRuntime.jsx(g,{children:jsxRuntime.jsx(ge.Provider,{value:{isOpen:o,setIsOpen:a},children:jsxRuntime.jsx("div",{ref:n,className:v("relative inline-block",t),...r,children:e})})})});st.displayName="DropdownMenu";var lt=({children:e,asChild:t})=>{let r=vr.useContext(ge);if(!r)throw new Error("DropdownMenuTrigger must be used within DropdownMenu");let n=()=>r.setIsOpen(!r.isOpen);if(t){let o=e;return vr.cloneElement(o,{onClick:a=>{o.props.onClick?.(a),n();}})}return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{onClick:n,children:e})})};lt.displayName="DropdownMenuTrigger";var ct=vr.forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let a=vr.useContext(ge),i=vr.useRef(null);return vr.useEffect(()=>{o&&(typeof o=="function"?o(i.current):o.current=i.current);},[o]),vr.useEffect(()=>{let l=f=>{i.current&&!i.current.contains(f.target)&&a?.setIsOpen(!1);};return a?.isOpen&&document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l);}},[a?.isOpen]),a?.isOpen?jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:i,className:v("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});ct.displayName="DropdownMenuContent";var dt=vr.forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},a)=>{let i=vr.useContext(ge);return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("button",{ref:a,onClick:l=>{t?.(l),i?.setIsOpen(!1);},className:v("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})})});dt.displayName="DropdownMenuItem";var pt=vr.forwardRef(({className:e,...t},r)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:r,className:v("-mx-1 my-1 h-px bg-border",e),...t})}));pt.displayName="DropdownMenuSeparator";var mt=vr.forwardRef(({children:e,className:t,...r},n)=>jsxRuntime.jsx(g,{children:jsxRuntime.jsx("div",{ref:n,className:v("px-2 py-1.5 text-sm font-semibold",t),...r,children:e})}));mt.displayName="DropdownMenuLabel";var So=st,$o=lt,Oo=ct,Bo=dt,Go=pt,Uo=mt;var Tr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{className:r?t:v("text-sm text-muted-foreground",t),children:e})})},D=Tr;var Lr=({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:v("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:"*"})]})}),N=Lr;var Rr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx(g,{children:jsxRuntime.jsx("p",{className:r?t:v("text-sm text-red-600 dark:text-red-400",t),children:e})})},A=Rr;var gt=vr.forwardRef(({label:e,required:t,option:r,description:n,icon:o,orientation:a="left",className:i,overrideClassName:s=!1,helperText:l,error:f,...c},h)=>{let p=vr.useId(),d=v("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",f&&"border-destructive",i);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-2 w-fit",children:[e&&jsxRuntime.jsx(N,{required:t,children:e}),jsxRuntime.jsxs("div",{className:`flex items-center ${a=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsxRuntime.jsx("input",{id:p,type:"checkbox",className:s?i:d,ref:h,...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(N,{htmlFor:p,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsxRuntime.jsx(N,{id:`${p}-description`,htmlFor:p,className:"text-xs text-muted-foreground",children:n})]})]})]}),f&&jsxRuntime.jsx(A,{children:f}),!f&&l&&jsxRuntime.jsx(D,{children:l})]})})});gt.displayName="CheckBox";var ca=gt;function Mr(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:a,labelKey:i,valueKey:s,options:l,alignment:f="vertical",className:c,overrideClassName:h=!1,helperText:p,error:d,label:R,name:L,required:C,...b}=e,k=vr.useId(),P=vr.useMemo(()=>new Map(l.map(y=>[String(y[s]),y])),[l,s]),F=vr.useMemo(()=>o==null?[]:r==="field"?n?o.map(y=>String(y)):[String(o)]:n?o.map(y=>String(y[s])):[String(o[s])],[o,r,n,s]),S=(y,w)=>{if(!a)return;let m;if(r==="field")if(n)m=y.map(T=>{let I=P.get(T);return I?I[s]:T});else {let u=y[0];if(!u)m=void 0;else {let T=P.get(u);m=T?T[s]:u;}}else n?m=y.map(T=>P.get(T)).filter(T=>T!==void 0):m=P.get(y[0]??"")??void 0;a({target:{name:L,value:m,type:"checkboxgroup",checked:w}});},$=y=>{let w;n?w=F.includes(y)?F.filter(m=>m!==y):[...F,y]:w=F[0]===y?[]:[y],S(w,w.includes(y));},E=f==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",O=v("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:v("flex flex-col gap-3",c),children:[R&&jsxRuntime.jsx(N,{required:C,children:R}),jsxRuntime.jsx("div",{className:E,children:l.map((y,w)=>{let m=String(y[s]),u=F.includes(m),T=`${k}-${m}-${w}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...b,id:T,ref:t,type:"checkbox",name:L,checked:u,onChange:()=>$(m),className:h?c:O}),jsxRuntime.jsx(N,{htmlFor:T,children:String(y[i])})]},T)})}),!!d&&jsxRuntime.jsx(A,{children:String(d)}),!d&&p&&jsxRuntime.jsx(D,{children:p})]})})}function Fr(){let e=vr.forwardRef(Mr);return e.displayName="CheckBoxGroup",e}var Ir=Fr(),Ca=Ir;var Ar=["#000000","#ffffff","#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#ffa500","#800080","#ffc0cb","#a52a2a","#808080","#000080","#008000"],ht=vr__default.default.forwardRef(({label:e,required:t,onChange:r,disabled:n=!1,presetColors:o=Ar,showPresets:a=!0,className:i,error:s,helperText:l,name:f},c)=>{let h=vr.useId(),p=vr.useRef(null),[d,R]=vr.useState(!1),[L,C]=vr.useState("COLOR"),[b,k]=vr.useState("HEX"),[P,F]=vr.useState("#000000"),[S,$]=vr.useState(0),[E,O]=vr.useState(0),[y,w]=vr.useState(0),[m,u]=vr.useState(1),[T,I]=vr.useState("#000000"),[V,_]=vr.useState("#ffffff"),[j,ue]=vr.useState(90),[ye,ne]=vr.useState("linear-gradient(90deg, #000000, #ffffff)"),Te=(x,H,ce)=>Math.min(ce,Math.max(H,x)),Le=x=>{let H=x.replace("#","");return {r:parseInt(H.slice(0,2),16),g:parseInt(H.slice(2,4),16),b:parseInt(H.slice(4,6),16)}},B=x=>{r?.({target:{value:x,name:f}});};vr.useEffect(()=>{let x=H=>{p.current&&!p.current.contains(H.target)&&R(!1);};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[]),vr.useEffect(()=>{if(/^#[0-9A-F]{6}$/i.test(P)){let x=Le(P);$(x.r),O(x.g),w(x.b);}},[P]),vr.useEffect(()=>{let x=`linear-gradient(${j}deg, ${T}, ${V})`;ne(x),L==="GRADIENT"&&B(x);},[T,V,j]);let G=()=>{if(m>=1){if(b==="HEX")return P;if(b==="RGB")return `rgb(${S}, ${E}, ${y})`}return `rgba(${S}, ${E}, ${y}, ${Number(m.toFixed(2))})`},Z=L==="GRADIENT"?ye:G();return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:`space-y-2 ${i??""}`,children:[e&&jsxRuntime.jsx(N,{htmlFor:h,required:t,children:e}),jsxRuntime.jsxs("div",{ref:p,className:"relative",children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>!n&&R(!d),className:"flex items-center gap-2 px-3 py-2 border rounded-md bg-background w-full",children:[jsxRuntime.jsx("div",{className:"w-6 h-6 rounded border",style:{background:Z}}),jsxRuntime.jsx("span",{className:"text-xs font-mono truncate",children:Z})]}),d&&jsxRuntime.jsxs("div",{className:"absolute z-50 mt-1 w-85 bg-popover border rounded-md p-4 space-y-3 shadow-lg",children:[jsxRuntime.jsx("div",{className:"flex gap-2",children:["COLOR","GRADIENT"].map(x=>jsxRuntime.jsx("button",{type:"button",onClick:()=>C(x),className:`px-2 py-1 text-xs rounded ${L===x?"bg-primary text-white":"border"}`,children:x==="COLOR"?"Cor":"Gradiente"},x))}),jsxRuntime.jsx("div",{className:"w-full h-10 rounded border",style:{background:Z}}),L==="COLOR"&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("input",{ref:c,type:"color",value:P,onChange:x=>{F(x.target.value.toUpperCase()),B(G());},className:"w-full h-10 rounded"}),jsxRuntime.jsxs("div",{className:"flex gap-2 items-center",children:[jsxRuntime.jsxs("select",{value:b,onChange:x=>k(x.target.value),className:"px-2 py-1 text-xs border rounded",children:[jsxRuntime.jsx("option",{value:"HEX",children:"HEX"}),jsxRuntime.jsx("option",{value:"RGB",children:"RGB"}),jsxRuntime.jsx("option",{value:"RGBA",children:"RGBA"})]}),b==="HEX"&&jsxRuntime.jsx("input",{value:P,onChange:x=>{let H=x.target.value.toUpperCase().replace(/[^0-9A-F#]/g,"");H.startsWith("#")||(H="#"+H),H="#"+H.slice(1,7),F(H),/^#[0-9A-F]{6}$/.test(H)&&B(H);},className:"flex-1 px-2 py-1 text-xs font-mono border rounded",placeholder:"#000000"}),(b==="RGB"||b==="RGBA")&&jsxRuntime.jsx("div",{className:"flex gap-2",children:[{l:"R",v:S,s:$},{l:"G",v:E,s:O},{l:"B",v:y,s:w}].map(({l:x,v:H,s:ce})=>jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("span",{className:"text-xs font-semibold",children:x}),jsxRuntime.jsx("input",{type:"number",min:0,max:255,value:H,onChange:or=>{ce(Te(+or.target.value,0,255)),B(G());},className:"w-14 px-1 py-1 text-xs border rounded"})]},x))})]}),b==="RGBA"&&jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{className:"text-xs font-semibold",children:"A"}),jsxRuntime.jsx("input",{type:"range",min:0,max:1,step:.01,value:m,onChange:x=>{u(+x.target.value),B(G());},className:"flex-1"}),jsxRuntime.jsxs("span",{className:"text-xs w-10 text-right",children:[Math.round(m*100),"%"]})]}),a&&jsxRuntime.jsx("div",{className:"grid grid-cols-5 gap-1",children:o.map(x=>jsxRuntime.jsx("button",{type:"button",onClick:()=>{F(x),u(1),B(x);},className:"w-8 h-8 rounded border",style:{background:x}},x))})]}),L==="GRADIENT"&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex gap-2 items-center",children:[jsxRuntime.jsx("input",{type:"color",value:T,onChange:x=>I(x.target.value)}),jsxRuntime.jsx("span",{className:"text-xs",children:"\u2192"}),jsxRuntime.jsx("input",{type:"color",value:V,onChange:x=>_(x.target.value)})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("span",{className:"text-xs",children:"\xC2ngulo"}),jsxRuntime.jsx("input",{type:"range",min:0,max:360,value:j,onChange:x=>ue(+x.target.value),className:"flex-1"}),jsxRuntime.jsxs("span",{className:"text-xs w-10 text-right",children:[j,"\xB0"]})]})]})]})]}),s&&jsxRuntime.jsx(A,{children:s}),!s&&l&&jsxRuntime.jsx(D,{children:l})]})})});ht.displayName="ColorPicker";var ka=ht;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"})}),ve=Sr;var Or=(e,t)=>{vr.useEffect(()=>{let r=n=>{e.current&&!e.current.contains(n.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},yt=Or;function ke({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:a,typeSet:i,name:s}){let[l,f]=vr.useState([]),c=vr.useMemo(()=>new Map(e.map(C=>[String(C[r]),C])),[e,r]),h=vr.useCallback(()=>l.map(C=>c.get(C)).filter(C=>!!C),[l,c]),p=vr.useCallback(C=>{if(!o)return;let b;if(i==="field"?n?b=C:b=C[0]??void 0:n?b=C.map(P=>c.get(P)).filter(P=>P!==void 0):b=c.get(C[0]??"")??void 0,a&&!n){let k=c.get(C[0]??"");k&&a(String(k[t]));}o({target:{name:s,value:b,type:"combobox"}});},[n,o,c,s,i,a,t]),d=vr.useCallback(C=>{let b=String(C[r]),k=n?l.includes(b)?l.filter(P=>P!==b):[...l,b]:[b];f(k),p(k);},[n,l,p,r]),R=vr.useCallback(C=>{let b=l.filter(k=>k!==C);f(b),p(b);},[l,p]),L=vr.useCallback(()=>{f([]),a?.("");let C;i==="field"?C=n?[]:"":C=n?[]:void 0,o?.({target:{name:s,value:C,type:"combobox"}});},[n,o,s,a,i]);return {selectedValues:l,handleSelect:d,handleRemove:R,handleClear:L,getSelectedOptions:h}}function Ee(e,t,r){return vr.useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var Lt=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:a,filteredOptions:i,highlightedIndex:s,setHighlightedIndex:l,handleSelect:f,handleRemove:c})=>{let h=vr.useCallback(d=>{if(i.length===0){l(-1);return}l(R=>R<0?d>0?0:i.length-1:(R+d+i.length)%i.length);},[i,l]);return vr.useCallback(d=>{if(!e){if(d.key==="Enter"||d.key==="ArrowDown"){t(!0),l(0),d.preventDefault();return}r&&d.key==="Backspace"&&n===""&&a.length>0&&(d.preventDefault(),c(a[a.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),h(1);break;case"ArrowUp":d.preventDefault(),h(-1);break;case"Enter":d.preventDefault();let R=s>=0?s:0,L=i[R];L&&f(L),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(),i.length>0&&l(0);break;case"End":d.preventDefault(),i.length>0&&l(i.length-1);break;case"Backspace":r&&n===""&&a.length>0&&(d.preventDefault(),c(a[a.length-1]));break}},[e,r,n,a,i,s,t,o,l,f,c,h])};function Pt({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),a=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:i=>i.preventDefault(),onClick:()=>n(a),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},a)}function _r(e,t){let{label:r,required:n=!1,name:o,placeholder:a="Buscar...",labelKey:i,valueKey:s,options:l,value:f,onChange:c,mode:h="single",typeSet:p="field",disabled:d=!1,ClearEnabled:R=!0,helperText:L,error:C=!1,className:b="",...k}=e,P=h==="multiple",[F,S]=vr.useState(!1),[$,E]=vr.useState(""),O=vr.useRef(null),y=vr.useRef(null),w=vr.useRef(null);vr.useImperativeHandle(t,()=>w.current),yt(y,()=>S(!1));let m=Ee(l,i,$),[u,T]=vr.useState(-1),{selectedValues:I,handleSelect:V,handleRemove:_,handleClear:j,getSelectedOptions:ue}=ke({options:l,labelKey:i,valueKey:s,value:f,multiple:P,onChange:c,typeSet:p,name:o,setSearchTerm:E}),ye=Lt({isOpen:F,setIsOpen:S,multiple:P,searchTerm:$,setSearchTerm:E,selectedValues:I,filteredOptions:m,highlightedIndex:u,setHighlightedIndex:T,handleSelect:V,handleRemove:_}),ne=vr.useId(),Te="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Le=v("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",C?"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 ${b}`,children:[r&&jsxRuntime.jsx(N,{htmlFor:ne,required:n,children:r}),jsxRuntime.jsxs("div",{ref:O,className:"relative",children:[jsxRuntime.jsxs("div",{className:Le,children:[P&&ue().length>0&&jsxRuntime.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:ue().map((B,G)=>jsxRuntime.jsx(Pt,{option:B,labelKey:i,valueKey:s,onRemove:_},String(B[s]??G)))}),jsxRuntime.jsx("input",{ref:w,...k,name:o,type:"text",placeholder:a,value:$,onChange:B=>{let G=B.target.value;E(G),!F&&G.trim()!==""&&S(!0);},onKeyDown:ye,onMouseDown:B=>{document.activeElement===w.current&&(B.preventDefault(),S(G=>{let Z=!G;return Z&&T(0),Z}));},onFocus:()=>{S(!0),T(0);},disabled:d,className:Te,role:"combobox","aria-expanded":F,"aria-controls":ne,"aria-activedescendant":u>=0?`${ne}-opt-${u}`:void 0}),R&&!!I.length&&jsxRuntime.jsx("button",{type:"button",onMouseDown:B=>B.preventDefault(),onClick:j,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(ve,{width:12,height:12})})]}),F&&jsxRuntime.jsx("div",{ref:y,id:ne,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":P||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((B,G)=>{let Z=String(B[s]),x=I.includes(Z),H=G===u;return jsxRuntime.jsx("button",{id:`${ne}-opt-${G}`,"data-index":G,role:"option","aria-selected":x,type:"button",onMouseDown:ce=>ce.preventDefault(),onClick:()=>V(B),className:v("w-full px-3 py-2 text-left text-sm transition-colors",H&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!H&&x&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!x&&!H&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsxRuntime.jsx("span",{children:String(B[i])})},Z)})})]}),C&&jsxRuntime.jsx(A,{children:C}),!C&&L&&jsxRuntime.jsx(D,{children:L})]})})}function Jr(){let e=vr.forwardRef(_r);return e.displayName="ComboBox",e}var jr=Jr(),ni=jr;var Yr=({children:e,before:t,after:r,className:n})=>{let a=Zr__default.default("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsxRuntime.jsx("div",{className:a,children:jsxRuntime.jsx("span",{children:e})})},Ve=Yr;var Qr=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),Nt=Qr;var en=({children:e})=>jsxRuntime.jsx("div",{className:"absolute right-0 px-2",children:jsxRuntime.jsx("span",{children:e})}),Et=en;function Mt(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 Ft(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),i=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=i,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 Vt(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 Ht(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 Dt(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 At(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 St(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 tn=({e,mask:t})=>{switch(t){case"money":return Ft(e);case"mobile":return Vt(e);case"phone":return Ht(e);case"cpfCnpj":return Dt(e);case"cpf":return It(e);case"rg":return At(e);case"cnpj":return St(e);case"cep":return Mt(e);default:return e}},$t=tn;var on=({mask:e,initialValue:t=""})=>{let[r,n]=vr.useState(t);vr.useEffect(()=>{t!==r&&n(t);},[t]);let o=vr.useCallback(i=>{let l=$t({e:i,mask:e})?.currentTarget?.value??i.currentTarget.value;n(l);},[e]),a=vr.useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:a}},Bt=on;var Gt=vr.forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:a,addonBefore:i,addonBeforeClassName:s,addonAfter:l,addonAfterClassName:f,ClearEnabled:c=!0,className:h,overrideClassName:p=!1,error:d,helperText:R,value:L=void 0,onChange:C,...b},k)=>{let P=vr.useId(),{handleChange:F,handleClear:S,setValue:$}=Bt({mask:r,initialValue:L}),E=v("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&&!a&&"px-3",o&&!a&&"pl-10 pr-3",a&&!o&&"pl-3 pr-10",o&&a&&"pl-10 pr-10",i&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",h),O=w=>{F(w),C?.(w);},y=()=>{S(),$(""),C?.({target:{name:n||"",value:""}});};return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(N,{htmlFor:P,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative flex",children:[i&&jsxRuntime.jsx(Ve,{before:!0,className:s,children:i}),jsxRuntime.jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsxRuntime.jsx(Nt,{children:o}),jsxRuntime.jsx("input",{id:P,ref:k,name:n,onChange:O,className:p?h:E,...b}),c&&L&&jsxRuntime.jsx(ve,{onClick:y,width:12,height:12,className:v("absolute right-2 cursor-pointer",a&&"right-8")}),a&&jsxRuntime.jsx(Et,{children:a})]}),l&&jsxRuntime.jsx(Ve,{after:!0,className:f,children:l})]}),d&&jsxRuntime.jsx(A,{children:d}),!d&&R&&jsxRuntime.jsx(D,{children:R})]})})});Gt.displayName="Input";var Mi=Gt;var qt=vr.forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:a=!1,helperText:i,error:s,onChange:l,onBlur:f,className:c,charType:h="numeric",customPattern:p,caseMode:d="none",...R},L)=>{let C=vr.useId(),b=vr.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}},P=m=>{if(!m)return "";let u=m.slice(0,1);switch(u=k(u),h){case"numeric":return /\d/.test(u)?u:"";case"alpha":return /[A-Za-z]/.test(u)?u:"";case"alphanumeric":return /[A-Za-z0-9]/.test(u)?u:"";case"custom":return p?.test(u)?u:"";default:return u}},F=()=>(r!=null?String(r):"").split("").map(P).slice(0,e),S=F().concat(Array(e).fill(" ")).slice(0,e),$=m=>{let u=m.split("").map(P).join("").slice(0,e),T=u===""?void 0:typeof r=="number"?Number(u):u;l?.({target:{name:n,value:T}});},E=(m,u)=>{let T=P(u),I=F();if(T===""){I[m]="",$(I.join(""));return}if(u.length>1){let V=u.split("").map(P).join("").slice(0,e);$(V),b.current[Math.min(V.length-1,e-1)]?.focus();return}T&&(I[m]=T,$(I.join("")),m<e-1&&b.current[m+1]?.focus());},O=m=>{let u=F();!u[m]&&m>0?u[m-1]="":u[m]="",$(u.join("")),m>0&&b.current[m-1]?.focus();},y=m=>{m.preventDefault();let T=m.clipboardData.getData("text").split("").map(P).join("").slice(0,e);T&&($(T),b.current[Math.min(T.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.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsxRuntime.jsx(N,{htmlFor:C,required:a,children:o}),jsxRuntime.jsx("div",{className:v("flex gap-3 items-center",s&&"text-red-500",c),...R,children:S.map((m,u)=>{let T=t&&u>0&&u%t===0;return jsxRuntime.jsxs(vr__default.default.Fragment,{children:[T&&jsxRuntime.jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsxRuntime.jsx("input",{id:C,type:"text",maxLength:1,inputMode:h==="numeric"?"numeric":"text",value:w(m).trim(),ref:I=>{b.current[u]=I,u===0&&L&&(typeof L=="function"?L(I):typeof L=="object"&&(L.current=I));},onPaste:y,onChange:I=>E(u,I.target.value),onKeyDown:I=>I.key==="Backspace"&&O(u),onBlur:f,className:v("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")})]},u)})}),s&&jsxRuntime.jsx(A,{children:s}),!s&&i&&jsxRuntime.jsx(D,{children:i})]})})});qt.displayName="OtpInput";var Oi=qt;var Kt=vr.forwardRef(({label:e,required:t,option:r,description:n,icon:o,className:a,overrideClassName:i,helperText:s,error:l,...f},c)=>{let h=vr.useId(),p=v("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",l&&"border-destructive",a);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-3",children:[e&&jsxRuntime.jsx(N,{required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{id:h,type:"radio",className:i?a:p,ref:c,...f}),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(N,{htmlFor:h,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsxRuntime.jsx(N,{id:`${h}-description`,htmlFor:h,className:"text-xs text-muted-foreground",children:n})]})]})]}),l&&jsxRuntime.jsx(A,{children:l}),!l&&s&&jsxRuntime.jsx(D,{children:s})]})})});Kt.displayName="Radio";var _i=Kt;function bn(e,t){let{label:r,required:n,name:o,labelKey:a,valueKey:i,options:s,alignment:l="vertical",className:f,overrideClassName:c=!1,helperText:h,error:p,typeSet:d="field",value:R,onChange:L,...C}=e,b=vr.useId(),k=vr.useMemo(()=>new Map(s.map(E=>[String(E[i]),E])),[s,i]),P=vr.useMemo(()=>R==null?"":String(d==="field"?R:R[i]),[R,d,i]),F=E=>{if(!L)return;let O;if(d==="field"){let y=k.get(E);if(y)O=y[i];else {let w=Number(E);O=Number.isNaN(w)?E:w;}}else O=k.get(E)??void 0;L({target:{name:o,value:O,type:"radiogroup",checked:!0}});},S=l==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",$=v("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",p&&"border-destructive");return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:v("flex flex-col gap-3",f),children:[r&&jsxRuntime.jsx(N,{required:n,children:r}),jsxRuntime.jsx("div",{className:S,children:s.map((E,O)=>{let y=String(E[i]),w=`${b}-${y}-${O}`;return jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("input",{...C,id:w,ref:t,name:o,type:"radio",checked:P===y,onChange:()=>F(y),className:c?f:$}),jsxRuntime.jsx(N,{htmlFor:w,children:String(E[a])})]},w)})}),p&&jsxRuntime.jsx(A,{children:String(p)}),!p&&h&&jsxRuntime.jsx(D,{children:h})]})})}function vn(){let e=vr.forwardRef(bn);return e.displayName="RadioGroup",e}var xn=vn(),as=xn;function yn({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:a,error:i,helperText:s,className:l,...f},c){let h=vr.useId(),p=v("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",i&&"border-red-500 focus-visible:ring-red-500",l);return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"space-y-2",children:[e&&jsxRuntime.jsx(N,{htmlFor:h,required:t,children:e}),jsxRuntime.jsxs("select",{id:h,ref:c,className:p,...f,children:[a&&jsxRuntime.jsx("option",{value:"",disabled:!0,children:a}),r.map((d,R)=>jsxRuntime.jsx("option",{value:String(d[o]),children:String(d[n])},R))]}),i&&jsxRuntime.jsx(A,{children:i}),!i&&s&&jsxRuntime.jsx(D,{children:s})]})})}function Tn(){let e=vr.forwardRef(yn);return e.displayName="Select",e}var Ln=Tn(),bs=Ln;var _t=vr.forwardRef(({label:e,required:t,option:r,description:n,icon:o,checked:a=!1,className:i,overrideClassName:s,error:l,name:f,...c},h)=>{let p=vr.useId();return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-2",children:[e&&jsxRuntime.jsx(N,{required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("input",{type:"checkbox",id:p,name:f,checked:a,className:"peer sr-only",ref:h,...c}),jsxRuntime.jsx("label",{htmlFor:p,className:v("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",i),children:jsxRuntime.jsx("span",{className:v("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",a?"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(N,{id:`${p}-label`,htmlFor:p,className:"text-sm font-medium leading-none",children:r}),n&&jsxRuntime.jsx(N,{id:`${p}-description`,htmlFor:p,className:"text-xs text-muted-foreground",children:n})]})]})]})})});_t.displayName="Switch";var Ps=_t;var Jt=vr__default.default.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:a=!1,error:i,helperText:s,...l},f)=>{let c=vr.useId(),[h,p]=vr.useState(0),d=v("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",i&&"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(N,{htmlFor:c,required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx("textarea",{id:c,className:a?o:d,maxLength:n,onInput:R=>p(R.currentTarget.textLength),ref:f,...l}),r&&jsxRuntime.jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[h,n?` / ${n}`:""]})]}),i&&jsxRuntime.jsx(A,{children:i}),!i&&s&&jsxRuntime.jsx(D,{children:s})]})})});Jt.displayName="TextArea";var Vs=Jt;var En=({files:e,removeFile:t})=>jsxRuntime.jsx("div",{className:"space-y-2",children:e?.length>0&&e?.map((r,n)=>jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-2 bg-secondary rounded",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("p",{className:"text-sm truncate",children:r.name}),jsxRuntime.jsxs("p",{className:"text-xs text-muted-foreground",children:[(r?.size/1024).toFixed(1)," KB"]})]}),jsxRuntime.jsx("button",{type:"button",onClick:o=>{o.stopPropagation(),t(n);},className:"ml-2 p-1 hover:bg-destructive/20 rounded",children:"\u2715"})]},`${r?.name}-${n}`))}),jt=En;var Mn=({accept:e,maxSize:t})=>jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx("svg",{className:"w-8 h-8 mx-auto text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("p",{className:"text-sm text-foreground",children:"Clique para selecionar ou arraste arquivos aqui"}),jsxRuntime.jsxs("p",{className:"text-xs text-muted-foreground",children:[e&&`Tipos aceitos: ${e}`,t&&` \u2022 Tamanho m\xE1ximo: ${t}MB`]})]})]}),Zt=Mn;var Yt=({files:e,setFiles:t,multiple:r=!1,disabled:n=!1,filterFiles:o=a=>a})=>{let a=vr.useRef(null),[i,s]=vr.useState(!1),l=vr.useCallback(p=>{p.preventDefault(),!n&&s(!0);},[n]),f=vr.useCallback(()=>{s(!1);},[]),c=vr.useCallback(p=>{if(p.preventDefault(),n||!a.current)return;s(!1);let d=Array.from(p.dataTransfer.files);if(!r&&!e||!r&&d.length>1)return;let R=o(d),L=r?R:R.slice(0,1);t(L);let C=new DataTransfer;L.forEach(b=>C.items.add(b)),a.current.files=C.files,a.current.dispatchEvent(new Event("change",{bubbles:!0}));},[n,r,e,o]),h=vr.useCallback(()=>{t([]),a.current&&(a.current.value="");},[]);return {files:e,setFiles:t,clearFiles:h,inputRef:a,isDragOver:i,setIsDragOver:s,handleDrop:c,handleDragOver:l,handleDragLeave:f}};var Qt=({files:e,setFiles:t,inputRef:r})=>({removeFile:vr.useCallback(o=>{if(!r.current)return;let a=e?.filter((s,l)=>l!==o);t(a);let i=new DataTransfer;a?.forEach(s=>i.items.add(s)),r.current.files=i.files,r.current.dispatchEvent(new Event("change",{bubbles:!0}));},[e,t,r])});var Dn=({previews:e,onRemove:t})=>{let[r,n]=vr.useState(0),o=()=>n(i=>i===0?e?.length-1:i-1),a=()=>n(i=>i===e?.length-1?0:i+1);return jsxRuntime.jsxs("div",{className:"relative w-full h-56 rounded-lg overflow-hidden bg-black/5",children:[jsxRuntime.jsx("img",{src:e[r].url,alt:e[r].file.name,className:"w-full h-full object-cover"}),e.length>1&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("button",{type:"button",onClick:o,className:"absolute left-2 top-1/2 -translate-y-1/2 bg-black/50 text-white px-2 py-1 rounded",children:"\u2039"}),jsxRuntime.jsx("button",{type:"button",onClick:a,className:"absolute right-2 top-1/2 -translate-y-1/2 bg-black/50 text-white px-2 py-1 rounded",children:"\u203A"})]}),jsxRuntime.jsx("button",{type:"button",onClick:()=>t(r),className:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1",children:"\u2715"})]})},tr=Dn;var nr=vr.forwardRef(({label:e,required:t,accept:r,renderFiles:n,preview:o=!1,multiple:a=!1,maxSize:i=10,disabled:s=!1,error:l=!1,helperText:f,className:c,name:h,onChange:p,onBlur:d,...R},L)=>{let C=vr.useId(),[b,k]=vr.useState([]),P=1024*1024,F=V=>V.filter(_=>(!i||_.size<=i*P)&&(!r||_.type.match(r))),{inputRef:S,isDragOver:$,handleDrop:E,handleDragOver:O,handleDragLeave:y}=Yt({files:b,setFiles:k,multiple:a,filterFiles:F}),{removeFile:w}=Qt({files:b,setFiles:k,inputRef:S}),m=V=>{S.current=V,typeof L=="function"?L(V):L&&(L.current=V);},u=V=>{let _=Array.from(V.target.files??[]);if(!_.length)return;let j=F(_);k(a?j:j.slice(0,1)),p?.(V);},T=vr.useMemo(()=>!o||!b||!b.length?[]:b.filter(V=>V.type.startsWith("image/")).map(V=>({file:V,url:URL.createObjectURL(V)})),[b,o]);vr.useEffect(()=>()=>T.forEach(V=>URL.revokeObjectURL(V.url)),[T]);let I=o&&T.length>0;return jsxRuntime.jsx(g,{children:jsxRuntime.jsxs("div",{className:`space-y-2 ${c}`,children:[e&&jsxRuntime.jsx(N,{htmlFor:C,required:t,children:e}),jsxRuntime.jsxs("div",{onDrop:E,onDragOver:O,onDragLeave:y,onClick:()=>{!s&&!I&&S.current?.click();},className:`
33
+ border-2 border-dashed rounded-lg p-6 text-center cursor-pointer
34
+ transition-colors
35
+ ${$?"border-primary bg-primary/5":"border-border"}
36
+ ${l?"border-red-500":""}
37
+ ${s?"opacity-50 cursor-not-allowed":"hover:border-primary"}
38
+ `,children:[jsxRuntime.jsx("input",{ref:m,id:C,name:h,type:"file",accept:r,multiple:a,disabled:s,onChange:u,onBlur:d,className:"hidden",...R}),o&&T.length>0?jsxRuntime.jsx(tr,{previews:T,onRemove:w}):jsxRuntime.jsx(Zt,{accept:r,maxSize:i})]}),n?n({files:b,removeFile:w}):b&&b.length>0&&jsxRuntime.jsx(jt,{files:b,removeFile:w}),l&&jsxRuntime.jsx(A,{children:l}),!l&&f&&jsxRuntime.jsx(D,{children:f})]})})});nr.displayName="UploadFile";var al=nr;
39
+
40
+ exports.AccordionPrimitive = lo;
41
+ exports.ButtonPrimitive = xo;
42
+ exports.CardContentPrimitive = Eo;
43
+ exports.CardDescriptionPrimitive = ko;
44
+ exports.CardFooterPrimitive = Mo;
45
+ exports.CardHeaderPrimitive = wo;
46
+ exports.CardPrimitive = Ro;
47
+ exports.CardTitlePrimitive = No;
48
+ exports.CheckBoxGroupPrimitive = Ca;
49
+ exports.CheckBoxPrimitive = ca;
50
+ exports.ColorPicker = ht;
51
+ exports.ColorPickerPrimitive = ka;
52
+ exports.ComboBoxPrimitive = ni;
53
+ exports.DropdownMenuContentPrimitive = Oo;
54
+ exports.DropdownMenuItemPrimitive = Bo;
55
+ exports.DropdownMenuLabelPrimitive = Uo;
56
+ exports.DropdownMenuPrimitive = So;
57
+ exports.DropdownMenuSeparatorPrimitive = Go;
58
+ exports.DropdownMenuTriggerPrimitive = $o;
59
+ exports.HelperFieldPrimitive = D;
60
+ exports.InputPrimitive = Mi;
61
+ exports.LabelPrimitive = N;
62
+ exports.LicenseProvider = lr;
63
+ exports.OtpInputPrimitive = Oi;
64
+ exports.RadioGroupPrimitive = as;
65
+ exports.RadioPrimitive = _i;
66
+ exports.SelectPrimitive = bs;
67
+ exports.SwitchPrimitive = Ps;
68
+ exports.TextAreaPrimitive = Vs;
69
+ exports.UploadFilePrimitive = al;
70
+ exports.ValidateFieldPrimitive = A;
package/dist/page.mjs CHANGED
@@ -1,11 +1,33 @@
1
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';
2
+ import vr, { createContext, forwardRef, useState, useContext, useRef, useEffect, useId, useMemo, useCallback, cloneElement, useImperativeHandle } from 'react';
3
+ import Zr, { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
 
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
6
+ var Ue=({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((a,i)=>{let s=a.variant!=="secondary";return jsx("button",{onClick:a.onClick,className:s?"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:a.label},i)})})]})});var qe=(e,t)=>{let r="Problema com licen\xE7a da aplica\xE7\xE3o",n=`
7
+ Ol\xE1,
8
+
9
+ Estou enfrentando um problema com a licen\xE7a da aplica\xE7\xE3o.
10
+
11
+ Erro:
12
+ ${t??"Licen\xE7a inv\xE1lida"}
13
+
14
+ Aguardo retorno.
15
+ `,o=`mailto:${e}?subject=${encodeURIComponent(r)}&body=${encodeURIComponent(n)}`;window.location.href=o;};var Ke=(e,t)=>{let r=`
16
+ Ol\xE1! Estou com um problema de licen\xE7a na aplica\xE7\xE3o.
17
+
18
+ Erro:
19
+ ${t??"Licen\xE7a inv\xE1lida"}
20
+
21
+ Pode me ajudar?
22
+ `,n=`https://wa.me/${e}?text=${encodeURIComponent(r)}`;window.open(n,"_blank");};var We=createContext(void 0),lr=({children:e,licenseKey:t})=>{let[r,n]=useState(!1),[o,a]=useState(null),[i,s]=useState(!0),l=f=>{if(a(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){a(f instanceof Error?f.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else a("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),i?null:jsx(We.Provider,{value:{isLicenseValid:r,validateLicense:l,licenseError:o},children:r?e:jsx(Ue,{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 no WhatsApp",variant:"secondary",onClick:()=>Ke("5544998204407",o)},{label:"Enviar e-mail",variant:"secondary",onClick:()=>qe("marcos.vinicius.engsof@gmail.com",o)}]})})},Xe=()=>{let e=useContext(We);if(!e)throw new Error("useLicense deve ser usado dentro de um LicenseProvider");return e};var Je=({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}=Xe();return t?jsx(Fragment,{children:e}):jsx(Je,{})};var Ye=({items:e,type:t="single",defaultValue:r,value:n,onValueChange:o,className:a=""})=>{let i=c=>c===void 0?[]:Array.isArray(c)?c:[c],[s,l]=useState(i(n??r));useEffect(()=>{n!==void 0&&l(i(n));},[n]);let f=useCallback(c=>{l(h=>{let p;return t==="single"?p=h.includes(c)?[]:[c]:p=h.includes(c)?h.filter(d=>d!==c):[...h,c],o?.(t==="single"?p[0]??"":p),p});},[t,o]);return jsx("div",{className:`space-y-2 ${a}`,children:e.map(c=>jsx(fr,{...c,isOpen:s.includes(c.id),onToggle:()=>f(c.id)},c.id))})},fr=({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
23
  ${r?"opacity-50 cursor-not-allowed":"hover:bg-accent hover:text-accent-foreground"}
8
24
  ${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})]})});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;
25
+ `,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})]})});Ye.displayName="Accordion";var lo=Ye;function v(...e){return twMerge(clsx(e))}var Qe=vr.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:n="md",href:o,children:a,loading:i=!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",h={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"},p={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:v(c,h[r],p[n],e);return o?jsx(g,{children:jsx("a",{href:o,className:d,ref:f,children:i&&s?s:a})}):jsx(g,{children:jsx("button",{className:d,ref:f,...l,children:i&&s?s:a})})});Qe.displayName="Button";var xo=Qe;var et=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:v("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n,children:r})}));et.displayName="Card";var tt=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:v("flex flex-col space-y-1.5 p-6",e),...n,children:r})}));tt.displayName="CardHeader";var rt=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("h3",{ref:o,className:t?e:v("text-2xl font-semibold leading-none tracking-tight",e),...n,children:r})}));rt.displayName="CardTitle";var nt=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("p",{ref:o,className:t?e:v("text-sm text-muted-foreground",e),...n,children:r})}));nt.displayName="CardDescription";var ot=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:v("p-6 pt-0",e),...n,children:r})}));ot.displayName="CardContent";var at=forwardRef(({className:e,overrideClassName:t=!1,children:r,...n},o)=>jsx(g,{children:jsx("div",{ref:o,className:t?e:v("flex items-center p-6 pt-0",e),...n,children:r})}));at.displayName="CardFooter";var Ro=et,wo=tt,No=rt,ko=nt,Eo=ot,Mo=at;var ge=createContext(void 0),st=forwardRef(({children:e,className:t,...r},n)=>{let[o,a]=useState(!1);return jsx(g,{children:jsx(ge.Provider,{value:{isOpen:o,setIsOpen:a},children:jsx("div",{ref:n,className:v("relative inline-block",t),...r,children:e})})})});st.displayName="DropdownMenu";var lt=({children:e,asChild:t})=>{let r=useContext(ge);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:a=>{o.props.onClick?.(a),n();}})}return jsx(g,{children:jsx("button",{onClick:n,children:e})})};lt.displayName="DropdownMenuTrigger";var ct=forwardRef(({children:e,align:t="end",className:r,...n},o)=>{let a=useContext(ge),i=useRef(null);return useEffect(()=>{o&&(typeof o=="function"?o(i.current):o.current=i.current);},[o]),useEffect(()=>{let l=f=>{i.current&&!i.current.contains(f.target)&&a?.setIsOpen(!1);};return a?.isOpen&&document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l);}},[a?.isOpen]),a?.isOpen?jsx(g,{children:jsx("div",{ref:i,className:v("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});ct.displayName="DropdownMenuContent";var dt=forwardRef(({children:e,onClick:t,destructive:r,className:n,...o},a)=>{let i=useContext(ge);return jsx(g,{children:jsx("button",{ref:a,onClick:l=>{t?.(l),i?.setIsOpen(!1);},className:v("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})})});dt.displayName="DropdownMenuItem";var pt=forwardRef(({className:e,...t},r)=>jsx(g,{children:jsx("div",{ref:r,className:v("-mx-1 my-1 h-px bg-border",e),...t})}));pt.displayName="DropdownMenuSeparator";var mt=forwardRef(({children:e,className:t,...r},n)=>jsx(g,{children:jsx("div",{ref:n,className:v("px-2 py-1.5 text-sm font-semibold",t),...r,children:e})}));mt.displayName="DropdownMenuLabel";var So=st,$o=lt,Oo=ct,Bo=dt,Go=pt,Uo=mt;var Tr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx(g,{children:jsx("p",{className:r?t:v("text-sm text-muted-foreground",t),children:e})})},D=Tr;var Lr=({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:v("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:"*"})]})}),N=Lr;var Rr=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx(g,{children:jsx("p",{className:r?t:v("text-sm text-red-600 dark:text-red-400",t),children:e})})},A=Rr;var gt=forwardRef(({label:e,required:t,option:r,description:n,icon:o,orientation:a="left",className:i,overrideClassName:s=!1,helperText:l,error:f,...c},h)=>{let p=useId(),d=v("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",f&&"border-destructive",i);return jsx(g,{children:jsxs("div",{className:"space-y-2 w-fit",children:[e&&jsx(N,{required:t,children:e}),jsxs("div",{className:`flex items-center ${a=="left"?"flex-row":"flex-row-reverse"} w-fit gap-2`,children:[jsx("input",{id:p,type:"checkbox",className:s?i:d,ref:h,...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(N,{htmlFor:p,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsx(N,{id:`${p}-description`,htmlFor:p,className:"text-xs text-muted-foreground",children:n})]})]})]}),f&&jsx(A,{children:f}),!f&&l&&jsx(D,{children:l})]})})});gt.displayName="CheckBox";var ca=gt;function Mr(e,t){let{typeSet:r="field",multiCheck:n=!1,value:o,onChange:a,labelKey:i,valueKey:s,options:l,alignment:f="vertical",className:c,overrideClassName:h=!1,helperText:p,error:d,label:R,name:L,required:C,...b}=e,k=useId(),P=useMemo(()=>new Map(l.map(y=>[String(y[s]),y])),[l,s]),F=useMemo(()=>o==null?[]:r==="field"?n?o.map(y=>String(y)):[String(o)]:n?o.map(y=>String(y[s])):[String(o[s])],[o,r,n,s]),S=(y,w)=>{if(!a)return;let m;if(r==="field")if(n)m=y.map(T=>{let I=P.get(T);return I?I[s]:T});else {let u=y[0];if(!u)m=void 0;else {let T=P.get(u);m=T?T[s]:u;}}else n?m=y.map(T=>P.get(T)).filter(T=>T!==void 0):m=P.get(y[0]??"")??void 0;a({target:{name:L,value:m,type:"checkboxgroup",checked:w}});},$=y=>{let w;n?w=F.includes(y)?F.filter(m=>m!==y):[...F,y]:w=F[0]===y?[]:[y],S(w,w.includes(y));},E=f==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",O=v("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:v("flex flex-col gap-3",c),children:[R&&jsx(N,{required:C,children:R}),jsx("div",{className:E,children:l.map((y,w)=>{let m=String(y[s]),u=F.includes(m),T=`${k}-${m}-${w}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...b,id:T,ref:t,type:"checkbox",name:L,checked:u,onChange:()=>$(m),className:h?c:O}),jsx(N,{htmlFor:T,children:String(y[i])})]},T)})}),!!d&&jsx(A,{children:String(d)}),!d&&p&&jsx(D,{children:p})]})})}function Fr(){let e=forwardRef(Mr);return e.displayName="CheckBoxGroup",e}var Ir=Fr(),Ca=Ir;var Ar=["#000000","#ffffff","#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#ffa500","#800080","#ffc0cb","#a52a2a","#808080","#000080","#008000"],ht=vr.forwardRef(({label:e,required:t,onChange:r,disabled:n=!1,presetColors:o=Ar,showPresets:a=!0,className:i,error:s,helperText:l,name:f},c)=>{let h=useId(),p=useRef(null),[d,R]=useState(!1),[L,C]=useState("COLOR"),[b,k]=useState("HEX"),[P,F]=useState("#000000"),[S,$]=useState(0),[E,O]=useState(0),[y,w]=useState(0),[m,u]=useState(1),[T,I]=useState("#000000"),[V,_]=useState("#ffffff"),[j,ue]=useState(90),[ye,ne]=useState("linear-gradient(90deg, #000000, #ffffff)"),Te=(x,H,ce)=>Math.min(ce,Math.max(H,x)),Le=x=>{let H=x.replace("#","");return {r:parseInt(H.slice(0,2),16),g:parseInt(H.slice(2,4),16),b:parseInt(H.slice(4,6),16)}},B=x=>{r?.({target:{value:x,name:f}});};useEffect(()=>{let x=H=>{p.current&&!p.current.contains(H.target)&&R(!1);};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[]),useEffect(()=>{if(/^#[0-9A-F]{6}$/i.test(P)){let x=Le(P);$(x.r),O(x.g),w(x.b);}},[P]),useEffect(()=>{let x=`linear-gradient(${j}deg, ${T}, ${V})`;ne(x),L==="GRADIENT"&&B(x);},[T,V,j]);let G=()=>{if(m>=1){if(b==="HEX")return P;if(b==="RGB")return `rgb(${S}, ${E}, ${y})`}return `rgba(${S}, ${E}, ${y}, ${Number(m.toFixed(2))})`},Z=L==="GRADIENT"?ye:G();return jsx(g,{children:jsxs("div",{className:`space-y-2 ${i??""}`,children:[e&&jsx(N,{htmlFor:h,required:t,children:e}),jsxs("div",{ref:p,className:"relative",children:[jsxs("button",{type:"button",onClick:()=>!n&&R(!d),className:"flex items-center gap-2 px-3 py-2 border rounded-md bg-background w-full",children:[jsx("div",{className:"w-6 h-6 rounded border",style:{background:Z}}),jsx("span",{className:"text-xs font-mono truncate",children:Z})]}),d&&jsxs("div",{className:"absolute z-50 mt-1 w-85 bg-popover border rounded-md p-4 space-y-3 shadow-lg",children:[jsx("div",{className:"flex gap-2",children:["COLOR","GRADIENT"].map(x=>jsx("button",{type:"button",onClick:()=>C(x),className:`px-2 py-1 text-xs rounded ${L===x?"bg-primary text-white":"border"}`,children:x==="COLOR"?"Cor":"Gradiente"},x))}),jsx("div",{className:"w-full h-10 rounded border",style:{background:Z}}),L==="COLOR"&&jsxs(Fragment,{children:[jsx("input",{ref:c,type:"color",value:P,onChange:x=>{F(x.target.value.toUpperCase()),B(G());},className:"w-full h-10 rounded"}),jsxs("div",{className:"flex gap-2 items-center",children:[jsxs("select",{value:b,onChange:x=>k(x.target.value),className:"px-2 py-1 text-xs border rounded",children:[jsx("option",{value:"HEX",children:"HEX"}),jsx("option",{value:"RGB",children:"RGB"}),jsx("option",{value:"RGBA",children:"RGBA"})]}),b==="HEX"&&jsx("input",{value:P,onChange:x=>{let H=x.target.value.toUpperCase().replace(/[^0-9A-F#]/g,"");H.startsWith("#")||(H="#"+H),H="#"+H.slice(1,7),F(H),/^#[0-9A-F]{6}$/.test(H)&&B(H);},className:"flex-1 px-2 py-1 text-xs font-mono border rounded",placeholder:"#000000"}),(b==="RGB"||b==="RGBA")&&jsx("div",{className:"flex gap-2",children:[{l:"R",v:S,s:$},{l:"G",v:E,s:O},{l:"B",v:y,s:w}].map(({l:x,v:H,s:ce})=>jsxs("div",{className:"flex items-center gap-1",children:[jsx("span",{className:"text-xs font-semibold",children:x}),jsx("input",{type:"number",min:0,max:255,value:H,onChange:or=>{ce(Te(+or.target.value,0,255)),B(G());},className:"w-14 px-1 py-1 text-xs border rounded"})]},x))})]}),b==="RGBA"&&jsxs("div",{className:"flex items-center gap-2",children:[jsx("span",{className:"text-xs font-semibold",children:"A"}),jsx("input",{type:"range",min:0,max:1,step:.01,value:m,onChange:x=>{u(+x.target.value),B(G());},className:"flex-1"}),jsxs("span",{className:"text-xs w-10 text-right",children:[Math.round(m*100),"%"]})]}),a&&jsx("div",{className:"grid grid-cols-5 gap-1",children:o.map(x=>jsx("button",{type:"button",onClick:()=>{F(x),u(1),B(x);},className:"w-8 h-8 rounded border",style:{background:x}},x))})]}),L==="GRADIENT"&&jsxs(Fragment,{children:[jsxs("div",{className:"flex gap-2 items-center",children:[jsx("input",{type:"color",value:T,onChange:x=>I(x.target.value)}),jsx("span",{className:"text-xs",children:"\u2192"}),jsx("input",{type:"color",value:V,onChange:x=>_(x.target.value)})]}),jsxs("div",{className:"flex items-center gap-2",children:[jsx("span",{className:"text-xs",children:"\xC2ngulo"}),jsx("input",{type:"range",min:0,max:360,value:j,onChange:x=>ue(+x.target.value),className:"flex-1"}),jsxs("span",{className:"text-xs w-10 text-right",children:[j,"\xB0"]})]})]})]})]}),s&&jsx(A,{children:s}),!s&&l&&jsx(D,{children:l})]})})});ht.displayName="ColorPicker";var ka=ht;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"})}),ve=Sr;var Or=(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]);},yt=Or;function ke({options:e,labelKey:t,valueKey:r,multiple:n,onChange:o,setSearchTerm:a,typeSet:i,name:s}){let[l,f]=useState([]),c=useMemo(()=>new Map(e.map(C=>[String(C[r]),C])),[e,r]),h=useCallback(()=>l.map(C=>c.get(C)).filter(C=>!!C),[l,c]),p=useCallback(C=>{if(!o)return;let b;if(i==="field"?n?b=C:b=C[0]??void 0:n?b=C.map(P=>c.get(P)).filter(P=>P!==void 0):b=c.get(C[0]??"")??void 0,a&&!n){let k=c.get(C[0]??"");k&&a(String(k[t]));}o({target:{name:s,value:b,type:"combobox"}});},[n,o,c,s,i,a,t]),d=useCallback(C=>{let b=String(C[r]),k=n?l.includes(b)?l.filter(P=>P!==b):[...l,b]:[b];f(k),p(k);},[n,l,p,r]),R=useCallback(C=>{let b=l.filter(k=>k!==C);f(b),p(b);},[l,p]),L=useCallback(()=>{f([]),a?.("");let C;i==="field"?C=n?[]:"":C=n?[]:void 0,o?.({target:{name:s,value:C,type:"combobox"}});},[n,o,s,a,i]);return {selectedValues:l,handleSelect:d,handleRemove:R,handleClear:L,getSelectedOptions:h}}function Ee(e,t,r){return useMemo(()=>r?e.filter(o=>String(o[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var Lt=({isOpen:e,setIsOpen:t,multiple:r,searchTerm:n,setSearchTerm:o,selectedValues:a,filteredOptions:i,highlightedIndex:s,setHighlightedIndex:l,handleSelect:f,handleRemove:c})=>{let h=useCallback(d=>{if(i.length===0){l(-1);return}l(R=>R<0?d>0?0:i.length-1:(R+d+i.length)%i.length);},[i,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===""&&a.length>0&&(d.preventDefault(),c(a[a.length-1]));return}switch(d.key){case"ArrowDown":d.preventDefault(),h(1);break;case"ArrowUp":d.preventDefault(),h(-1);break;case"Enter":d.preventDefault();let R=s>=0?s:0,L=i[R];L&&f(L),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(),i.length>0&&l(0);break;case"End":d.preventDefault(),i.length>0&&l(i.length-1);break;case"Backspace":r&&n===""&&a.length>0&&(d.preventDefault(),c(a[a.length-1]));break}},[e,r,n,a,i,s,t,o,l,f,c,h])};function Pt({option:e,labelKey:t,valueKey:r,onRemove:n}){let o=String(e[t]),a=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:i=>i.preventDefault(),onClick:()=>n(a),className:"hover:bg-blue-200 dark:hover:bg-blue-800 rounded-full p-0.5 transition-colors","aria-label":`Remover ${o}`,children:"\u2715"})]},a)}function _r(e,t){let{label:r,required:n=!1,name:o,placeholder:a="Buscar...",labelKey:i,valueKey:s,options:l,value:f,onChange:c,mode:h="single",typeSet:p="field",disabled:d=!1,ClearEnabled:R=!0,helperText:L,error:C=!1,className:b="",...k}=e,P=h==="multiple",[F,S]=useState(!1),[$,E]=useState(""),O=useRef(null),y=useRef(null),w=useRef(null);useImperativeHandle(t,()=>w.current),yt(y,()=>S(!1));let m=Ee(l,i,$),[u,T]=useState(-1),{selectedValues:I,handleSelect:V,handleRemove:_,handleClear:j,getSelectedOptions:ue}=ke({options:l,labelKey:i,valueKey:s,value:f,multiple:P,onChange:c,typeSet:p,name:o,setSearchTerm:E}),ye=Lt({isOpen:F,setIsOpen:S,multiple:P,searchTerm:$,setSearchTerm:E,selectedValues:I,filteredOptions:m,highlightedIndex:u,setHighlightedIndex:T,handleSelect:V,handleRemove:_}),ne=useId(),Te="w-full bg-transparent outline-none placeholder:text-gray-500 dark:placeholder:text-gray-400 text-gray-900 dark:text-gray-100",Le=v("relative w-full min-h-[40px] px-3 py-2 border rounded-md bg-white dark:bg-gray-800",C?"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 ${b}`,children:[r&&jsx(N,{htmlFor:ne,required:n,children:r}),jsxs("div",{ref:O,className:"relative",children:[jsxs("div",{className:Le,children:[P&&ue().length>0&&jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:ue().map((B,G)=>jsx(Pt,{option:B,labelKey:i,valueKey:s,onRemove:_},String(B[s]??G)))}),jsx("input",{ref:w,...k,name:o,type:"text",placeholder:a,value:$,onChange:B=>{let G=B.target.value;E(G),!F&&G.trim()!==""&&S(!0);},onKeyDown:ye,onMouseDown:B=>{document.activeElement===w.current&&(B.preventDefault(),S(G=>{let Z=!G;return Z&&T(0),Z}));},onFocus:()=>{S(!0),T(0);},disabled:d,className:Te,role:"combobox","aria-expanded":F,"aria-controls":ne,"aria-activedescendant":u>=0?`${ne}-opt-${u}`:void 0}),R&&!!I.length&&jsx("button",{type:"button",onMouseDown:B=>B.preventDefault(),onClick:j,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(ve,{width:12,height:12})})]}),F&&jsx("div",{ref:y,id:ne,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":P||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((B,G)=>{let Z=String(B[s]),x=I.includes(Z),H=G===u;return jsx("button",{id:`${ne}-opt-${G}`,"data-index":G,role:"option","aria-selected":x,type:"button",onMouseDown:ce=>ce.preventDefault(),onClick:()=>V(B),className:v("w-full px-3 py-2 text-left text-sm transition-colors",H&&"bg-blue-100 dark:bg-blue-800 text-blue-900 dark:text-white",!H&&x&&"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-300",!x&&!H&&"text-gray-900 dark:text-gray-100","hover:bg-gray-100 dark:hover:bg-gray-700"),children:jsx("span",{children:String(B[i])})},Z)})})]}),C&&jsx(A,{children:C}),!C&&L&&jsx(D,{children:L})]})})}function Jr(){let e=forwardRef(_r);return e.displayName="ComboBox",e}var jr=Jr(),ni=jr;var Yr=({children:e,before:t,after:r,className:n})=>{let a=Zr("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},n);return jsx("div",{className:a,children:jsx("span",{children:e})})},Ve=Yr;var Qr=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),Nt=Qr;var en=({children:e})=>jsx("div",{className:"absolute right-0 px-2",children:jsx("span",{children:e})}),Et=en;function Mt(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 Ft(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),i=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${n}`;return e.currentTarget.value=i,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 Vt(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 Ht(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 Dt(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 At(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 St(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 tn=({e,mask:t})=>{switch(t){case"money":return Ft(e);case"mobile":return Vt(e);case"phone":return Ht(e);case"cpfCnpj":return Dt(e);case"cpf":return It(e);case"rg":return At(e);case"cnpj":return St(e);case"cep":return Mt(e);default:return e}},$t=tn;var on=({mask:e,initialValue:t=""})=>{let[r,n]=useState(t);useEffect(()=>{t!==r&&n(t);},[t]);let o=useCallback(i=>{let l=$t({e:i,mask:e})?.currentTarget?.value??i.currentTarget.value;n(l);},[e]),a=useCallback(()=>n(""),[]);return {value:r,setValue:n,handleChange:o,handleClear:a}},Bt=on;var Gt=forwardRef(({label:e,required:t=!1,mask:r,name:n,prefix:o,suffix:a,addonBefore:i,addonBeforeClassName:s,addonAfter:l,addonAfterClassName:f,ClearEnabled:c=!0,className:h,overrideClassName:p=!1,error:d,helperText:R,value:L=void 0,onChange:C,...b},k)=>{let P=useId(),{handleChange:F,handleClear:S,setValue:$}=Bt({mask:r,initialValue:L}),E=v("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&&!a&&"px-3",o&&!a&&"pl-10 pr-3",a&&!o&&"pl-3 pr-10",o&&a&&"pl-10 pr-10",i&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",h),O=w=>{F(w),C?.(w);},y=()=>{S(),$(""),C?.({target:{name:n||"",value:""}});};return jsx(g,{children:jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(N,{htmlFor:P,required:t,children:e}),jsxs("div",{className:"relative flex",children:[i&&jsx(Ve,{before:!0,className:s,children:i}),jsxs("div",{className:"relative flex items-center w-full",children:[o&&jsx(Nt,{children:o}),jsx("input",{id:P,ref:k,name:n,onChange:O,className:p?h:E,...b}),c&&L&&jsx(ve,{onClick:y,width:12,height:12,className:v("absolute right-2 cursor-pointer",a&&"right-8")}),a&&jsx(Et,{children:a})]}),l&&jsx(Ve,{after:!0,className:f,children:l})]}),d&&jsx(A,{children:d}),!d&&R&&jsx(D,{children:R})]})})});Gt.displayName="Input";var Mi=Gt;var qt=forwardRef(({length:e=6,groupBy:t,value:r,name:n,label:o,required:a=!1,helperText:i,error:s,onChange:l,onBlur:f,className:c,charType:h="numeric",customPattern:p,caseMode:d="none",...R},L)=>{let C=useId(),b=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}},P=m=>{if(!m)return "";let u=m.slice(0,1);switch(u=k(u),h){case"numeric":return /\d/.test(u)?u:"";case"alpha":return /[A-Za-z]/.test(u)?u:"";case"alphanumeric":return /[A-Za-z0-9]/.test(u)?u:"";case"custom":return p?.test(u)?u:"";default:return u}},F=()=>(r!=null?String(r):"").split("").map(P).slice(0,e),S=F().concat(Array(e).fill(" ")).slice(0,e),$=m=>{let u=m.split("").map(P).join("").slice(0,e),T=u===""?void 0:typeof r=="number"?Number(u):u;l?.({target:{name:n,value:T}});},E=(m,u)=>{let T=P(u),I=F();if(T===""){I[m]="",$(I.join(""));return}if(u.length>1){let V=u.split("").map(P).join("").slice(0,e);$(V),b.current[Math.min(V.length-1,e-1)]?.focus();return}T&&(I[m]=T,$(I.join("")),m<e-1&&b.current[m+1]?.focus());},O=m=>{let u=F();!u[m]&&m>0?u[m-1]="":u[m]="",$(u.join("")),m>0&&b.current[m-1]?.focus();},y=m=>{m.preventDefault();let T=m.clipboardData.getData("text").split("").map(P).join("").slice(0,e);T&&($(T),b.current[Math.min(T.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 jsx(g,{children:jsxs("div",{className:"flex flex-col gap-2 w-full",children:[o&&jsx(N,{htmlFor:C,required:a,children:o}),jsx("div",{className:v("flex gap-3 items-center",s&&"text-red-500",c),...R,children:S.map((m,u)=>{let T=t&&u>0&&u%t===0;return jsxs(vr.Fragment,{children:[T&&jsx("span",{className:"flex items-center justify-center text-xl font-bold select-none",children:"-"}),jsx("input",{id:C,type:"text",maxLength:1,inputMode:h==="numeric"?"numeric":"text",value:w(m).trim(),ref:I=>{b.current[u]=I,u===0&&L&&(typeof L=="function"?L(I):typeof L=="object"&&(L.current=I));},onPaste:y,onChange:I=>E(u,I.target.value),onKeyDown:I=>I.key==="Backspace"&&O(u),onBlur:f,className:v("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")})]},u)})}),s&&jsx(A,{children:s}),!s&&i&&jsx(D,{children:i})]})})});qt.displayName="OtpInput";var Oi=qt;var Kt=forwardRef(({label:e,required:t,option:r,description:n,icon:o,className:a,overrideClassName:i,helperText:s,error:l,...f},c)=>{let h=useId(),p=v("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",l&&"border-destructive",a);return jsx(g,{children:jsxs("div",{className:"space-y-3",children:[e&&jsx(N,{required:t,children:e}),jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{id:h,type:"radio",className:i?a:p,ref:c,...f}),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(N,{htmlFor:h,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",overrideClassName:!0,children:r}),n&&jsx(N,{id:`${h}-description`,htmlFor:h,className:"text-xs text-muted-foreground",children:n})]})]})]}),l&&jsx(A,{children:l}),!l&&s&&jsx(D,{children:s})]})})});Kt.displayName="Radio";var _i=Kt;function bn(e,t){let{label:r,required:n,name:o,labelKey:a,valueKey:i,options:s,alignment:l="vertical",className:f,overrideClassName:c=!1,helperText:h,error:p,typeSet:d="field",value:R,onChange:L,...C}=e,b=useId(),k=useMemo(()=>new Map(s.map(E=>[String(E[i]),E])),[s,i]),P=useMemo(()=>R==null?"":String(d==="field"?R:R[i]),[R,d,i]),F=E=>{if(!L)return;let O;if(d==="field"){let y=k.get(E);if(y)O=y[i];else {let w=Number(E);O=Number.isNaN(w)?E:w;}}else O=k.get(E)??void 0;L({target:{name:o,value:O,type:"radiogroup",checked:!0}});},S=l==="horizontal"?"flex flex-wrap items-center gap-3":"flex flex-col gap-3",$=v("h-4 w-4 rounded-full border border-input bg-background text-primary","focus:ring-2 focus:ring-ring focus:ring-offset-2",p&&"border-destructive");return jsx(g,{children:jsxs("div",{className:v("flex flex-col gap-3",f),children:[r&&jsx(N,{required:n,children:r}),jsx("div",{className:S,children:s.map((E,O)=>{let y=String(E[i]),w=`${b}-${y}-${O}`;return jsxs("div",{className:"flex items-center gap-2",children:[jsx("input",{...C,id:w,ref:t,name:o,type:"radio",checked:P===y,onChange:()=>F(y),className:c?f:$}),jsx(N,{htmlFor:w,children:String(E[a])})]},w)})}),p&&jsx(A,{children:String(p)}),!p&&h&&jsx(D,{children:h})]})})}function vn(){let e=forwardRef(bn);return e.displayName="RadioGroup",e}var xn=vn(),as=xn;function yn({label:e,required:t=!1,options:r,labelKey:n,valueKey:o,placeholder:a,error:i,helperText:s,className:l,...f},c){let h=useId(),p=v("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",i&&"border-red-500 focus-visible:ring-red-500",l);return jsx(g,{children:jsxs("div",{className:"space-y-2",children:[e&&jsx(N,{htmlFor:h,required:t,children:e}),jsxs("select",{id:h,ref:c,className:p,...f,children:[a&&jsx("option",{value:"",disabled:!0,children:a}),r.map((d,R)=>jsx("option",{value:String(d[o]),children:String(d[n])},R))]}),i&&jsx(A,{children:i}),!i&&s&&jsx(D,{children:s})]})})}function Tn(){let e=forwardRef(yn);return e.displayName="Select",e}var Ln=Tn(),bs=Ln;var _t=forwardRef(({label:e,required:t,option:r,description:n,icon:o,checked:a=!1,className:i,overrideClassName:s,error:l,name:f,...c},h)=>{let p=useId();return jsx(g,{children:jsxs("div",{className:"flex flex-col gap-2",children:[e&&jsx(N,{required:t,children:e}),jsxs("div",{className:"flex items-center space-x-2",children:[jsx("input",{type:"checkbox",id:p,name:f,checked:a,className:"peer sr-only",ref:h,...c}),jsx("label",{htmlFor:p,className:v("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",i),children:jsx("span",{className:v("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform",a?"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(N,{id:`${p}-label`,htmlFor:p,className:"text-sm font-medium leading-none",children:r}),n&&jsx(N,{id:`${p}-description`,htmlFor:p,className:"text-xs text-muted-foreground",children:n})]})]})]})})});_t.displayName="Switch";var Ps=_t;var Jt=vr.forwardRef(({label:e,required:t,showCount:r,maxLength:n,className:o,overrideClassName:a=!1,error:i,helperText:s,...l},f)=>{let c=useId(),[h,p]=useState(0),d=v("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",i&&"border-red-500 focus-visible:ring-red-500",o);return jsx(g,{children:jsxs("div",{className:"space-y-2",children:[e&&jsx(N,{htmlFor:c,required:t,children:e}),jsxs("div",{className:"relative",children:[jsx("textarea",{id:c,className:a?o:d,maxLength:n,onInput:R=>p(R.currentTarget.textLength),ref:f,...l}),r&&jsxs("span",{className:"absolute bottom-2 right-3 text-xs text-muted-foreground",children:[h,n?` / ${n}`:""]})]}),i&&jsx(A,{children:i}),!i&&s&&jsx(D,{children:s})]})})});Jt.displayName="TextArea";var Vs=Jt;var En=({files:e,removeFile:t})=>jsx("div",{className:"space-y-2",children:e?.length>0&&e?.map((r,n)=>jsxs("div",{className:"flex items-center justify-between p-2 bg-secondary rounded",children:[jsxs("div",{children:[jsx("p",{className:"text-sm truncate",children:r.name}),jsxs("p",{className:"text-xs text-muted-foreground",children:[(r?.size/1024).toFixed(1)," KB"]})]}),jsx("button",{type:"button",onClick:o=>{o.stopPropagation(),t(n);},className:"ml-2 p-1 hover:bg-destructive/20 rounded",children:"\u2715"})]},`${r?.name}-${n}`))}),jt=En;var Mn=({accept:e,maxSize:t})=>jsxs("div",{className:"space-y-2",children:[jsx("svg",{className:"w-8 h-8 mx-auto text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})}),jsxs("div",{children:[jsx("p",{className:"text-sm text-foreground",children:"Clique para selecionar ou arraste arquivos aqui"}),jsxs("p",{className:"text-xs text-muted-foreground",children:[e&&`Tipos aceitos: ${e}`,t&&` \u2022 Tamanho m\xE1ximo: ${t}MB`]})]})]}),Zt=Mn;var Yt=({files:e,setFiles:t,multiple:r=!1,disabled:n=!1,filterFiles:o=a=>a})=>{let a=useRef(null),[i,s]=useState(!1),l=useCallback(p=>{p.preventDefault(),!n&&s(!0);},[n]),f=useCallback(()=>{s(!1);},[]),c=useCallback(p=>{if(p.preventDefault(),n||!a.current)return;s(!1);let d=Array.from(p.dataTransfer.files);if(!r&&!e||!r&&d.length>1)return;let R=o(d),L=r?R:R.slice(0,1);t(L);let C=new DataTransfer;L.forEach(b=>C.items.add(b)),a.current.files=C.files,a.current.dispatchEvent(new Event("change",{bubbles:!0}));},[n,r,e,o]),h=useCallback(()=>{t([]),a.current&&(a.current.value="");},[]);return {files:e,setFiles:t,clearFiles:h,inputRef:a,isDragOver:i,setIsDragOver:s,handleDrop:c,handleDragOver:l,handleDragLeave:f}};var Qt=({files:e,setFiles:t,inputRef:r})=>({removeFile:useCallback(o=>{if(!r.current)return;let a=e?.filter((s,l)=>l!==o);t(a);let i=new DataTransfer;a?.forEach(s=>i.items.add(s)),r.current.files=i.files,r.current.dispatchEvent(new Event("change",{bubbles:!0}));},[e,t,r])});var Dn=({previews:e,onRemove:t})=>{let[r,n]=useState(0),o=()=>n(i=>i===0?e?.length-1:i-1),a=()=>n(i=>i===e?.length-1?0:i+1);return jsxs("div",{className:"relative w-full h-56 rounded-lg overflow-hidden bg-black/5",children:[jsx("img",{src:e[r].url,alt:e[r].file.name,className:"w-full h-full object-cover"}),e.length>1&&jsxs(Fragment,{children:[jsx("button",{type:"button",onClick:o,className:"absolute left-2 top-1/2 -translate-y-1/2 bg-black/50 text-white px-2 py-1 rounded",children:"\u2039"}),jsx("button",{type:"button",onClick:a,className:"absolute right-2 top-1/2 -translate-y-1/2 bg-black/50 text-white px-2 py-1 rounded",children:"\u203A"})]}),jsx("button",{type:"button",onClick:()=>t(r),className:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1",children:"\u2715"})]})},tr=Dn;var nr=forwardRef(({label:e,required:t,accept:r,renderFiles:n,preview:o=!1,multiple:a=!1,maxSize:i=10,disabled:s=!1,error:l=!1,helperText:f,className:c,name:h,onChange:p,onBlur:d,...R},L)=>{let C=useId(),[b,k]=useState([]),P=1024*1024,F=V=>V.filter(_=>(!i||_.size<=i*P)&&(!r||_.type.match(r))),{inputRef:S,isDragOver:$,handleDrop:E,handleDragOver:O,handleDragLeave:y}=Yt({files:b,setFiles:k,multiple:a,filterFiles:F}),{removeFile:w}=Qt({files:b,setFiles:k,inputRef:S}),m=V=>{S.current=V,typeof L=="function"?L(V):L&&(L.current=V);},u=V=>{let _=Array.from(V.target.files??[]);if(!_.length)return;let j=F(_);k(a?j:j.slice(0,1)),p?.(V);},T=useMemo(()=>!o||!b||!b.length?[]:b.filter(V=>V.type.startsWith("image/")).map(V=>({file:V,url:URL.createObjectURL(V)})),[b,o]);useEffect(()=>()=>T.forEach(V=>URL.revokeObjectURL(V.url)),[T]);let I=o&&T.length>0;return jsx(g,{children:jsxs("div",{className:`space-y-2 ${c}`,children:[e&&jsx(N,{htmlFor:C,required:t,children:e}),jsxs("div",{onDrop:E,onDragOver:O,onDragLeave:y,onClick:()=>{!s&&!I&&S.current?.click();},className:`
26
+ border-2 border-dashed rounded-lg p-6 text-center cursor-pointer
27
+ transition-colors
28
+ ${$?"border-primary bg-primary/5":"border-border"}
29
+ ${l?"border-red-500":""}
30
+ ${s?"opacity-50 cursor-not-allowed":"hover:border-primary"}
31
+ `,children:[jsx("input",{ref:m,id:C,name:h,type:"file",accept:r,multiple:a,disabled:s,onChange:u,onBlur:d,className:"hidden",...R}),o&&T.length>0?jsx(tr,{previews:T,onRemove:w}):jsx(Zt,{accept:r,maxSize:i})]}),n?n({files:b,removeFile:w}):b&&b.length>0&&jsx(jt,{files:b,removeFile:w}),l&&jsx(A,{children:l}),!l&&f&&jsx(D,{children:f})]})})});nr.displayName="UploadFile";var al=nr;
10
32
 
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 };
33
+ export { lo as AccordionPrimitive, xo as ButtonPrimitive, Eo as CardContentPrimitive, ko as CardDescriptionPrimitive, Mo as CardFooterPrimitive, wo as CardHeaderPrimitive, Ro as CardPrimitive, No as CardTitlePrimitive, Ca as CheckBoxGroupPrimitive, ca as CheckBoxPrimitive, ht as ColorPicker, ka as ColorPickerPrimitive, ni as ComboBoxPrimitive, Oo as DropdownMenuContentPrimitive, Bo as DropdownMenuItemPrimitive, Uo as DropdownMenuLabelPrimitive, So as DropdownMenuPrimitive, Go as DropdownMenuSeparatorPrimitive, $o as DropdownMenuTriggerPrimitive, D as HelperFieldPrimitive, Mi as InputPrimitive, N as LabelPrimitive, lr as LicenseProvider, Oi as OtpInputPrimitive, as as RadioGroupPrimitive, _i as RadioPrimitive, bs as SelectPrimitive, Ps as SwitchPrimitive, Vs as TextAreaPrimitive, al as UploadFilePrimitive, A as ValidateFieldPrimitive };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvr-ui/components",
3
- "version": "1.0.93",
3
+ "version": "1.0.96",
4
4
  "sideEffects": false,
5
5
  "main": "dist/page.cjs",
6
6
  "module": "dist/page.js",
@@ -23,6 +23,7 @@
23
23
  "build:css": "npx @tailwindcss/cli -i app/components/globals.css -o dist/mvr-ui.css --minify",
24
24
  "build:ts": "npx tsup",
25
25
  "patch": "npm version patch",
26
+ "set:token": "npm config set //registry.npmjs.org/:_authToken=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",
26
27
  "rise": "npm version patch && npm publish",
27
28
  "license": "bash ./scripts/license/license.sh",
28
29
  "reset": "npm cache clean --force && rm -rf node_modules package-lock.json && npm install"