@mvr-ui/components 1.0.12 → 1.0.14

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.16 | 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-space-y-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-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-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-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-stone-400:oklch(70.9% .01 56.259);--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-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-tight:1.25;--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{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-10{z-index:10}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.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-auto{height:auto}.h-screen{height:100vh}.max-h-60{max-height:calc(var(--spacing)*60)}.min-h-12{min-height:calc(var(--spacing)*12)}.w-0{width:calc(var(--spacing)*0)}.w-4{width:calc(var(--spacing)*4)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-\[50px\]{min-width:50px}.min-w-full{min-width:100%}.flex-1{flex:1}.animate-\[bounce_1s_infinite\]{animation:1s infinite bounce}.animate-\[fadeIn_0\.5s_ease-in-out\]{animation:.5s ease-in-out fadeIn}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}: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)))}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.rounded-l-lg{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-r-lg{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[\#DD052B\]{border-color:#dd052b}.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-neutral-400{border-color:var(--color-neutral-400)}.border-red-500{border-color:var(--color-red-500)}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-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-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-300{background-color:var(--color-gray-300)}.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-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-violet-600{background-color:var(--color-violet-600)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-600{--tw-gradient-from:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-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-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-10{padding-right:calc(var(--spacing)*10)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-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))}.text-\[14px\]{font-size:14px}.leading-\[21px\]{--tw-leading:21px;line-height:21px}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.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-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.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-card-foreground{color:var(--card-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-neutral-500{color:var(--color-neutral-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-stone-400{color:var(--color-stone-400)}.text-white{color:var(--color-white)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.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)}.shadow-input{--tw-shadow-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.shadow-input{--tw-shadow-color:color-mix(in oklab,var(--input)var(--tw-shadow-alpha),transparent)}}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{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))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.running{animation-play-state:running}.peer-checked\:bg-blue-600:is(:where(.peer):checked~*){background-color:var(--color-blue-600)}.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-muted-foreground::placeholder{color:var(--muted-foreground)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:bottom-0\.5:before{content:var(--tw-content);bottom:calc(var(--spacing)*.5)}.before\:left-0\.5:before{content:var(--tw-content);left:calc(var(--spacing)*.5)}.before\:h-5:before{content:var(--tw-content);height:calc(var(--spacing)*5)}.before\:w-5:before{content:var(--tw-content);width:calc(var(--spacing)*5)}.before\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\:bg-white:before{content:var(--tw-content);background-color:var(--color-white)}.before\:transition:before{content:var(--tw-content);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))}.before\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\:content-\[\'\'\]:before{--tw-content:"";content:var(--tw-content)}.peer-checked\:before\:translate-x-6:is(:where(.peer):checked~*):before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}@media (hover:hover){.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-700:hover{background-color:var(--color-red-700)}.hover\:bg-violet-700:hover{background-color:var(--color-violet-700)}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:from-blue-700:hover{--tw-gradient-from:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:to-purple-700:hover{--tw-gradient-to:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-neutral-700:hover{color:var(--color-neutral-700)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.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-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\:bg-red-900\/10:is(.dark *){background-color:#82181a1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.dark\:text-red-200:is(.dark *){color:var(--color-red-200)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}}@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-space-y-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}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@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}}
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-space-y-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-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-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-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-stone-400:oklch(70.9% .01 56.259);--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-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-tight:1.25;--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{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-8{right:calc(var(--spacing)*8)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-10{z-index:10}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.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-auto{height:auto}.h-screen{height:100vh}.max-h-60{max-height:calc(var(--spacing)*60)}.min-h-12{min-height:calc(var(--spacing)*12)}.w-0{width:calc(var(--spacing)*0)}.w-4{width:calc(var(--spacing)*4)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-\[50px\]{min-width:50px}.min-w-full{min-width:100%}.flex-1{flex:1}.animate-\[bounce_1s_infinite\]{animation:1s infinite bounce}.animate-\[fadeIn_0\.5s_ease-in-out\]{animation:.5s ease-in-out fadeIn}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}: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)))}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.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-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-\[\#DD052B\]{border-color:#dd052b}.border-destructive{border-color:var(--destructive)}.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-neutral-400{border-color:var(--color-neutral-400)}.border-red-500{border-color:var(--color-red-500)}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-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-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-300{background-color:var(--color-gray-300)}.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-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-violet-600{background-color:var(--color-violet-600)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-600{--tw-gradient-from:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-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-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-10{padding-right:calc(var(--spacing)*10)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-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))}.text-\[14px\]{font-size:14px}.leading-\[21px\]{--tw-leading:21px;line-height:21px}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.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-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.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-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-neutral-500{color:var(--color-neutral-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-stone-400{color:var(--color-stone-400)}.text-white{color:var(--color-white)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.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)}.shadow-input{--tw-shadow-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.shadow-input{--tw-shadow-color:color-mix(in oklab,var(--input)var(--tw-shadow-alpha),transparent)}}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{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))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.running{animation-play-state:running}.peer-checked\:bg-blue-600:is(:where(.peer):checked~*){background-color:var(--color-blue-600)}.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-muted-foreground::placeholder{color:var(--muted-foreground)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:bottom-0\.5:before{content:var(--tw-content);bottom:calc(var(--spacing)*.5)}.before\:left-0\.5:before{content:var(--tw-content);left:calc(var(--spacing)*.5)}.before\:h-5:before{content:var(--tw-content);height:calc(var(--spacing)*5)}.before\:w-5:before{content:var(--tw-content);width:calc(var(--spacing)*5)}.before\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\:bg-white:before{content:var(--tw-content);background-color:var(--color-white)}.before\:transition:before{content:var(--tw-content);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))}.before\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\:content-\[\'\'\]:before{--tw-content:"";content:var(--tw-content)}.peer-checked\:before\:translate-x-6:is(:where(.peer):checked~*):before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}@media (hover:hover){.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-700:hover{background-color:var(--color-red-700)}.hover\:bg-violet-700:hover{background-color:var(--color-violet-700)}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:from-blue-700:hover{--tw-gradient-from:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:to-purple-700:hover{--tw-gradient-to:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-neutral-700:hover{color:var(--color-neutral-700)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.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\:bg-red-900\/10:is(.dark *){background-color:#82181a1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.dark\:text-red-200:is(.dark *){color:var(--color-red-200)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}}@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-space-y-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}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@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}}
package/dist/page.d.mts CHANGED
@@ -1,27 +1,28 @@
1
- import React$1 from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default from 'react';
2
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
4
 
4
- declare const LicenseProvider: React$1.FC<{
5
- children: React$1.ReactNode;
5
+ declare const LicenseProvider: React__default.FC<{
6
+ children: React__default.ReactNode;
6
7
  licenseKey: string;
7
8
  }>;
8
9
 
9
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
10
+ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
10
11
  variant?: "primary" | "secondary" | "tertiary" | "outline" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "gradient" | "glass" | "soft" | "dark" | "light" | "accent" | "obsidian" | "polar";
11
12
  size?: "xs" | "sm" | "md" | "lg" | "xl";
12
- children: React$1.ReactNode;
13
+ children: React__default.ReactNode;
13
14
  overrideClassName?: boolean;
14
15
  href?: string;
15
16
  loading?: boolean;
16
- loadingContent?: React$1.ReactNode;
17
+ loadingContent?: React__default.ReactNode;
17
18
  }
18
- declare const ButtonPrimitive: (props: ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
19
+ declare const ButtonPrimitive: (props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
19
20
 
20
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
21
- children: React$1.ReactNode;
21
+ interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
22
+ children: React__default.ReactNode;
22
23
  overrideClassName?: boolean;
23
24
  }
24
- declare const CardPrimitive: (props: CardProps & React$1.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
25
+ declare const CardPrimitive: (props: CardProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
25
26
 
26
27
  type Alignment = 'column' | 'row';
27
28
 
@@ -45,19 +46,21 @@ declare const CheckBoxPrimitive: (props: CheckBoxProps<unknown>) => react_jsx_ru
45
46
 
46
47
  type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
47
48
 
48
- interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'prefix'> {
49
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "prefix"> {
49
50
  label?: string;
50
51
  required?: boolean;
51
52
  mask?: InputFormatTypeAttribute;
52
- prefix?: React$1.ReactNode;
53
- suffix?: React$1.ReactNode;
54
- addonBefore?: React$1.ReactNode;
53
+ prefix?: React.ReactNode;
54
+ suffix?: React.ReactNode;
55
+ addonBefore?: React.ReactNode;
55
56
  addonBeforeClassName?: string;
56
- addonAfter?: React$1.ReactNode;
57
+ addonAfter?: React.ReactNode;
57
58
  addonAfterClassName?: string;
58
59
  allowClear?: boolean;
59
60
  error?: string;
60
61
  helperText?: string;
62
+ value?: string;
63
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
61
64
  }
62
65
  declare const InputPrimitive: (props: InputProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
63
66
 
@@ -100,7 +103,7 @@ interface SelectCustomProps<T> {
100
103
  control?: T | unknown;
101
104
  mode?: Mode;
102
105
  }
103
- interface SelectProps<T> extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'>, SelectCustomProps<T> {
106
+ interface SelectProps<T> extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'>, SelectCustomProps<T> {
104
107
  }
105
108
  declare const SelectPrimitive: (props: SelectProps<unknown>) => react_jsx_runtime.JSX.Element;
106
109
 
@@ -120,7 +123,7 @@ interface TextAreaHTMLCustomAttributes {
120
123
  required?: boolean;
121
124
  errors?: string;
122
125
  }
123
- interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
126
+ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
124
127
  }
125
128
  declare const TextAreaPrimitive: (props: TextAreaProps) => react_jsx_runtime.JSX.Element;
126
129
 
package/dist/page.d.ts CHANGED
@@ -1,27 +1,28 @@
1
- import React$1 from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default from 'react';
2
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
4
 
4
- declare const LicenseProvider: React$1.FC<{
5
- children: React$1.ReactNode;
5
+ declare const LicenseProvider: React__default.FC<{
6
+ children: React__default.ReactNode;
6
7
  licenseKey: string;
7
8
  }>;
8
9
 
9
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
10
+ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
10
11
  variant?: "primary" | "secondary" | "tertiary" | "outline" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "gradient" | "glass" | "soft" | "dark" | "light" | "accent" | "obsidian" | "polar";
11
12
  size?: "xs" | "sm" | "md" | "lg" | "xl";
12
- children: React$1.ReactNode;
13
+ children: React__default.ReactNode;
13
14
  overrideClassName?: boolean;
14
15
  href?: string;
15
16
  loading?: boolean;
16
- loadingContent?: React$1.ReactNode;
17
+ loadingContent?: React__default.ReactNode;
17
18
  }
18
- declare const ButtonPrimitive: (props: ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
19
+ declare const ButtonPrimitive: (props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
19
20
 
20
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
21
- children: React$1.ReactNode;
21
+ interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
22
+ children: React__default.ReactNode;
22
23
  overrideClassName?: boolean;
23
24
  }
24
- declare const CardPrimitive: (props: CardProps & React$1.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
25
+ declare const CardPrimitive: (props: CardProps & React__default.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
25
26
 
26
27
  type Alignment = 'column' | 'row';
27
28
 
@@ -45,19 +46,21 @@ declare const CheckBoxPrimitive: (props: CheckBoxProps<unknown>) => react_jsx_ru
45
46
 
46
47
  type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
47
48
 
48
- interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'prefix'> {
49
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "prefix"> {
49
50
  label?: string;
50
51
  required?: boolean;
51
52
  mask?: InputFormatTypeAttribute;
52
- prefix?: React$1.ReactNode;
53
- suffix?: React$1.ReactNode;
54
- addonBefore?: React$1.ReactNode;
53
+ prefix?: React.ReactNode;
54
+ suffix?: React.ReactNode;
55
+ addonBefore?: React.ReactNode;
55
56
  addonBeforeClassName?: string;
56
- addonAfter?: React$1.ReactNode;
57
+ addonAfter?: React.ReactNode;
57
58
  addonAfterClassName?: string;
58
59
  allowClear?: boolean;
59
60
  error?: string;
60
61
  helperText?: string;
62
+ value?: string;
63
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
61
64
  }
62
65
  declare const InputPrimitive: (props: InputProps & React$1.RefAttributes<HTMLInputElement>) => react_jsx_runtime.JSX.Element;
63
66
 
@@ -100,7 +103,7 @@ interface SelectCustomProps<T> {
100
103
  control?: T | unknown;
101
104
  mode?: Mode;
102
105
  }
103
- interface SelectProps<T> extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'>, SelectCustomProps<T> {
106
+ interface SelectProps<T> extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'>, SelectCustomProps<T> {
104
107
  }
105
108
  declare const SelectPrimitive: (props: SelectProps<unknown>) => react_jsx_runtime.JSX.Element;
106
109
 
@@ -120,7 +123,7 @@ interface TextAreaHTMLCustomAttributes {
120
123
  required?: boolean;
121
124
  errors?: string;
122
125
  }
123
- interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
126
+ interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
124
127
  }
125
128
  declare const TextAreaPrimitive: (props: TextAreaProps) => react_jsx_runtime.JSX.Element;
126
129
 
package/dist/page.js CHANGED
@@ -11,21 +11,21 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
11
  var mt__default = /*#__PURE__*/_interopDefault(mt);
12
12
  var kt__default = /*#__PURE__*/_interopDefault(kt);
13
13
 
14
- var be=mt.createContext(void 0),lt=({message:e})=>jsxRuntime.jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxRuntime.jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxRuntime.jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsxRuntime.jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsxRuntime.jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsxRuntime.jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsxRuntime.jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),ct=({children:e,licenseKey:t})=>{let[r,o]=mt.useState(!1),[n,i]=mt.useState(null),[a,s]=mt.useState(!0),c=l=>{if(i(null),!l)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let d="chave-secreta-123";if(l!==d)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");o(!0);};return mt.useEffect(()=>{if(t){s(!0);try{c(t);}catch(l){i(l instanceof Error?l.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsxRuntime.jsx(be.Provider,{value:{isLicenseValid:r,validateLicense:c,licenseError:n},children:r?e:jsxRuntime.jsx(lt,{message:n||"Licen\xE7a inv\xE1lida"})})},xe=()=>{let e=mt.useContext(be);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 m=e=>t=>{let{isLicenseValid:r}=xe();return r?jsxRuntime.jsx(e,{...t}):jsxRuntime.jsx(ve,{})};function L(...e){return tailwindMerge.twMerge(kt.clsx(e))}var Pe=mt__default.default.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:o="md",href:n,children:i,loading:a=!1,loadingContent:s,...c},l)=>{let d="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",g={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"},u={xs:"h-7 px-2 text-xs",sm:"h-9 px-3 text-sm",md:"h-10 px-4 py-2",lg:"h-11 px-6 text-lg",xl:"h-12 px-8 text-xl"},f=t?e:L(d,g[r],u[o],e);return n?jsxRuntime.jsx("a",{href:n,className:f,ref:l,children:a&&s?s:i}):jsxRuntime.jsx("button",{className:f,ref:l,...c,children:a&&s?s:i})});Pe.displayName="Button";var yr=m(Pe);var Ce=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:L("flex flex-col space-y-1.5 p-6",e),...o,children:r}));Ce.displayName="CardHeader";var Le=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("h3",{ref:n,className:t?e:L("text-2xl font-semibold leading-none tracking-tight",e),...o,children:r}));Le.displayName="CardTitle";var we=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("p",{ref:n,className:t?e:L("text-sm text-muted-foreground",e),...o,children:r}));we.displayName="CardDescription";var ke=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:L("p-6 pt-0",e),...o,children:r}));ke.displayName="CardContent";var Ee=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:L("flex items-center p-6 pt-0",e),...o,children:r}));Ee.displayName="CardFooter";var Ne=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:L("rounded-lg border bg-card text-card-foreground shadow-sm",e),...o,children:r}));Ne.displayName="Card";var ft=Object.assign(Ne,{Header:Ce,Title:Le,Description:we,Content:ke,Footer:Ee}),Nr=m(ft);var D=e=>Array.isArray(e),X=e=>Object.prototype.toString.call(e)==="[object Object]";var oe=e=>D(e)&&e.length===0,h=e=>D(e)&&e.length>0;var B=e=>!!e,ne=(e,t)=>e??t;function q(e,t){return !H(e,t)}function H(e,t,r=new WeakMap){if(Object.is(e,t))return !1;if(typeof e!=typeof t||typeof e!="object"||e===null||t===null)return !0;if(r.has(e))return r.get(e)!==t;if(r.set(e,t),D(e)&&D(t)){if(e.length!==t.length)return !0;for(let o=0;o<e.length;o++)if(H(e[o],t[o],r))return !0;return !1}if(X(e)&&X(t)){let o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return !0;for(let i of o)if(!Object.hasOwn(t,i)||H(e[i],t[i],r))return !0;return !1}return !0}var gt=({children:e,required:t,...r})=>jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("label",{...r,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:e}),t&&jsxRuntime.jsx("span",{className:"text-red-600",children:"*"})]}),y=m(gt);var xt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:L("text-sm text-red-600 dark:text-red-400",t),children:e})},w=m(xt);var Tt=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"group","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ae=Tt;var Pt=(e,t,r)=>mt.useMemo(()=>{let o=h(e)?e:[],n=B(t)&&B(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ie=Pt;var Lt=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:v,getOptionLabel:b}=Ie(t,i,a),{groupId:p,errorId:C,ariaProps:E}=Ae(e,l),N=(x,R)=>{let S=v(x),_=b(x),P=`${e}-${R}`;return h(u)&&f&&r&&e?jsxRuntime.jsx(reactHookForm.Controller,{name:e,control:r,render:({field:A})=>jsxRuntime.jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{...A,id:P,name:e,type:"checkbox",value:S,onChange:J=>{let z=A.value||[],Z=s==="object"?x:S,ee=J.target.checked?[...z,Z]:z.filter(T=>H(T,x));A.onChange(ee);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":C,...g}),_]})},P):jsxRuntime.jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{id:P,name:e,type:"checkbox",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":C,...g}),String(x)]},P)};return jsxRuntime.jsxs("div",{className:`checkbox-group ${d}`,children:[o&&jsxRuntime.jsx(y,{id:p,htmlFor:e,required:n,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",children:o}),jsxRuntime.jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...E,children:u.map(N)}),l&&jsxRuntime.jsx(w,{children:l})]})},Zr=m(Lt);var wt=({...e})=>jsxRuntime.jsx("svg",{...e,width:"0.7em",height:"0.7em",viewBox:"64 64 896 896",fill:"currentColor",stroke:"#828282",strokeWidth:".1",focusable:"false","data-icon":"close-circle","aria-hidden":"true",fillRule:"evenodd",children:jsxRuntime.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),Y=wt;var Et=({children:e,before:t,after:r,className:o})=>{let i=kt__default.default("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},o);return jsxRuntime.jsx("div",{className:i,children:jsxRuntime.jsx("span",{children:e})})},ae=Et;var Nt=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),He=Nt;var Rt=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),Oe=Rt;var At=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:L("text-sm text-muted-foreground",t),children:e})},Ve=m(At);function De(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 Be(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),o=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${o}`;return e.currentTarget.value=a,e}function qe(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 Ue(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 je(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 _e(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 Je(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 We(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 St=({e,mask:t})=>{switch(t){case"money":return Be(e);case"mobile":return Ue(e);case"phone":return je(e);case"cpfCnpj":return _e(e);case"cpf":return qe(e);case"rg":return Je(e);case"cnpj":return We(e);case"cep":return De(e);default:return e}},Ge=St;var Ft=({setValue:e})=>({cleanField:()=>{e("");}}),ze=Ft;var $t=({mask:e})=>{let[t,r]=mt.useState(""),{cleanField:o}=ze({setValue:r}),n=mt.useCallback(i=>{Ge({e:i,mask:e});},[e]);return {value:t,handleKeyUp:n,cleanField:o}},Xe=$t;var Ye=mt.forwardRef(({label:e,required:t=!1,mask:r,name:o,className:n,prefix:i,suffix:a,addonBefore:s,addonBeforeClassName:c,addonAfter:l,addonAfterClassName:d,allowClear:g=!0,error:u,helperText:f,...v},b)=>{let p=mt.useId(),{value:C,handleKeyUp:E,cleanField:N}=Xe({mask:r}),x=L("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",u&&"border-red-500 focus-visible:ring-red-500",!i&&!a&&"px-3",i&&!a&&"pl-10 pr-3",a&&!i&&"pl-3 pr-10",i&&a&&"pl-10 pr-10",s&&"rounded-s-none",l&&"rounded-e-none",n);return jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(y,{htmlFor:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative flex",children:[s&&jsxRuntime.jsx(ae,{before:!0,className:c,children:s}),jsxRuntime.jsxs("div",{className:"relative flex items-center w-full",children:[i&&jsxRuntime.jsx(He,{children:i}),jsxRuntime.jsx("input",{id:p,"data-testid":"INPUT_TEXT:"+o,className:x,onKeyUp:R=>{E(R),v.onKeyUp?.(R);},ref:b,...v}),a&&jsxRuntime.jsx(Oe,{children:a}),g&&C&&jsxRuntime.jsx(Y,{onClick:N,className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl"})]}),l&&jsxRuntime.jsx(ae,{after:!0,className:d,children:l})]}),u&&jsxRuntime.jsx(w,{children:u}),f&&!u&&jsxRuntime.jsx(Ve,{children:f})]})});Ye.displayName="Input";var $o=m(Ye);var Bt=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"radiogroup","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ke=Bt;var Ut=(e,t,r)=>mt.useMemo(()=>{let o=h(e)?e:[],n=B(t)&&B(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Qe=Ut;var _t=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:v,getOptionLabel:b}=Qe(t,i,a),{groupId:p,errorId:C,ariaProps:E}=Ke(e,l),N=(x,R)=>{let S=b(x),_=v(x),P=`${e}-${R}`;return h(u)&&f&&r&&e?jsxRuntime.jsx(reactHookForm.Controller,{name:e,control:r,render:({field:A})=>jsxRuntime.jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{...A,id:P,name:e,type:"radio",value:_,onChange:J=>{A.onChange(s==="object"?x:J.target.value);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":C,...g}),S]})},P):jsxRuntime.jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{id:P,name:e,type:"radio",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":C,...g}),S]},P)};return jsxRuntime.jsxs("div",{className:`radio-group ${d}`,children:[o&&jsxRuntime.jsx(y,{htmlFor:e,id:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:n,children:o}),jsxRuntime.jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...E,children:u.map(N)}),l&&jsxRuntime.jsx(w,{children:l})]})},Zo=m(_t);var Wt=(e,t)=>{mt.useEffect(()=>{let r=o=>{e.current&&!e.current.contains(o.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Ze=Wt;function ce(e,t,r){return mt.useMemo(()=>r?e.filter(n=>String(n[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var K=e=>{let[t,r]=mt.useState(!1),[o,n]=mt.useState(""),[i,a]=mt.useState(0);return mt.useEffect(()=>{a(0);},[o]),{handleSelect:(c,l,d,g,u,f)=>{if(g==="multiple"){let v=D(d)?d:[],b=v.some(C=>e==="object"?q(C,c):C===c[f]),p;b?p=v.filter(C=>e==="object"?H(C,c):C!==c[f]):p=e==="object"?[...v,c]:[...v,c[f]],l(p);}else n(String(c[u])),l(e==="object"?c:c[f]),r(!1);},isOpen:t,setIsOpen:r,searchTerm:o,setSearchTerm:n,activeIndex:i,setActiveIndex:a}};var et=e=>{let{handleSelect:t}=K(e);return (o,n,i,a,s,c,l,d,g,u,f,v,b)=>{if(o.key==="Backspace"&&a==="multiple"&&h(i)&&!f){let p=[...i];p.pop(),n(p);}if(o.key==="Enter"&&v&&h(l)){o.preventDefault();let p=l[b];p&&(t(p,n,i,a,s,c),a==="multiple"&&d(""),a==="single"&&(d(String(p[s])),g(!1)));}if(o.key==="ArrowDown"&&v){o.preventDefault();let p=(b+1)%l.length;u(p);}if(o.key==="ArrowUp"&&v){o.preventDefault();let p=(b-1+l.length)%l.length;u(p);}o.key==="Escape"&&g(!1);}};var tt=()=>(t,r,o,n)=>{let i=o.filter(a=>X(a)?a[n]!==t:a!==t);r(i);};var rt=e=>(r,o,n,i)=>{if(!r||!o)return [];let a=h(r)?r:[r];return o.filter(s=>a.some(c=>c&&q(s[i],e=="object"?c[i]:c))).map(s=>({label:s[n],value:s[i]}))};var ot=({name:e,labelKey:t,valueKey:r,data:o,selectedValues:n,placeholderOptions:i,dropDownClassName:a,optionClassName:s,activeIndex:c,onSelect:l})=>jsxRuntime.jsx("ul",{id:`${e}-listbox`,className:ne(a,"absolute z-10 w-full mt-1 bg-white border border-gray-300 rounded shadow-md max-h-60 overflow-y-auto"),role:"listbox",children:h(o)?o.map((d,g)=>{let u=n.includes(d[r]),f=g===c;return jsxRuntime.jsx("li",{id:`${e}-option-${d[r]}`,className:`px-3 py-2 cursor-pointer
14
+ var be=mt.createContext(void 0),lt=({message:e})=>jsxRuntime.jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxRuntime.jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxRuntime.jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsxRuntime.jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsxRuntime.jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsxRuntime.jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsxRuntime.jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),ct=({children:e,licenseKey:t})=>{let[r,o]=mt.useState(!1),[n,i]=mt.useState(null),[a,s]=mt.useState(!0),c=l=>{if(i(null),!l)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let d="chave-secreta-123";if(l!==d)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");o(!0);};return mt.useEffect(()=>{if(t){s(!0);try{c(t);}catch(l){i(l instanceof Error?l.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsxRuntime.jsx(be.Provider,{value:{isLicenseValid:r,validateLicense:c,licenseError:n},children:r?e:jsxRuntime.jsx(lt,{message:n||"Licen\xE7a inv\xE1lida"})})},xe=()=>{let e=mt.useContext(be);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 m=e=>t=>{let{isLicenseValid:r}=xe();return r?jsxRuntime.jsx(e,{...t}):jsxRuntime.jsx(ve,{})};function P(...e){return tailwindMerge.twMerge(kt.clsx(e))}var Ce=mt__default.default.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:o="md",href:n,children:i,loading:a=!1,loadingContent:s,...c},l)=>{let d="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",g={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"},u={xs:"h-7 px-2 text-xs",sm:"h-9 px-3 text-sm",md:"h-10 px-4 py-2",lg:"h-11 px-6 text-lg",xl:"h-12 px-8 text-xl"},f=t?e:P(d,g[r],u[o],e);return n?jsxRuntime.jsx("a",{href:n,className:f,ref:l,children:a&&s?s:i}):jsxRuntime.jsx("button",{className:f,ref:l,...c,children:a&&s?s:i})});Ce.displayName="Button";var Tr=m(Ce);var Pe=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:P("flex flex-col space-y-1.5 p-6",e),...o,children:r}));Pe.displayName="CardHeader";var Le=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("h3",{ref:n,className:t?e:P("text-2xl font-semibold leading-none tracking-tight",e),...o,children:r}));Le.displayName="CardTitle";var we=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("p",{ref:n,className:t?e:P("text-sm text-muted-foreground",e),...o,children:r}));we.displayName="CardDescription";var ke=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:P("p-6 pt-0",e),...o,children:r}));ke.displayName="CardContent";var Ee=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:P("flex items-center p-6 pt-0",e),...o,children:r}));Ee.displayName="CardFooter";var Re=mt.forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsxRuntime.jsx("div",{ref:n,className:t?e:P("rounded-lg border bg-card text-card-foreground shadow-sm",e),...o,children:r}));Re.displayName="Card";var ft=Object.assign(Re,{Header:Pe,Title:Le,Description:we,Content:ke,Footer:Ee}),Er=m(ft);var j=e=>Array.isArray(e),X=e=>Object.prototype.toString.call(e)==="[object Object]";var oe=e=>j(e)&&e.length===0,T=e=>j(e)&&e.length>0;var _=e=>!!e,ne=(e,t)=>e??t;function U(e,t){return !V(e,t)}function V(e,t,r=new WeakMap){if(Object.is(e,t))return !1;if(typeof e!=typeof t||typeof e!="object"||e===null||t===null)return !0;if(r.has(e))return r.get(e)!==t;if(r.set(e,t),j(e)&&j(t)){if(e.length!==t.length)return !0;for(let o=0;o<e.length;o++)if(V(e[o],t[o],r))return !0;return !1}if(X(e)&&X(t)){let o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return !0;for(let i of o)if(!Object.hasOwn(t,i)||V(e[i],t[i],r))return !0;return !1}return !0}var gt=({children:e,required:t,...r})=>jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("label",{...r,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:e}),t&&jsxRuntime.jsx("span",{className:"text-red-600",children:"*"})]}),C=m(gt);var xt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:P("text-sm text-red-600 dark:text-red-400",t),children:e})},w=m(xt);var Tt=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"group","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ie=Tt;var Ct=(e,t,r)=>mt.useMemo(()=>{let o=T(e)?e:[],n=_(t)&&_(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ae=Ct;var Lt=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:x,getOptionLabel:b}=Ae(t,i,a),{groupId:p,errorId:L,ariaProps:k}=Ie(e,l),N=(h,A)=>{let I=x(h),S=b(h),v=`${e}-${A}`;return T(u)&&f&&r&&e?jsxRuntime.jsx(reactHookForm.Controller,{name:e,control:r,render:({field:E})=>jsxRuntime.jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{...E,id:v,name:e,type:"checkbox",value:I,onChange:H=>{let F=E.value||[],K=s==="object"?h:I,ee=H.target.checked?[...F,K]:F.filter(y=>V(y,h));E.onChange(ee);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":L,...g}),S]})},v):jsxRuntime.jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{id:v,name:e,type:"checkbox",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":L,...g}),String(h)]},v)};return jsxRuntime.jsxs("div",{className:`checkbox-group ${d}`,children:[o&&jsxRuntime.jsx(C,{id:p,htmlFor:e,required:n,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",children:o}),jsxRuntime.jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...k,children:u.map(N)}),l&&jsxRuntime.jsx(w,{children:l})]})},Zr=m(Lt);var wt=({...e})=>jsxRuntime.jsx("svg",{...e,width:"0.7em",height:"0.7em",viewBox:"64 64 896 896",fill:"currentColor",stroke:"#828282",strokeWidth:".1",focusable:"false","data-icon":"close-circle","aria-hidden":"true",fillRule:"evenodd",children:jsxRuntime.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),Y=wt;var Et=({children:e,before:t,after:r,className:o})=>{let i=kt__default.default("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},o);return jsxRuntime.jsx("div",{className:i,children:jsxRuntime.jsx("span",{children:e})})},ae=Et;var Rt=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),Fe=Rt;var Nt=({children:e})=>jsxRuntime.jsx("div",{className:"absolute px-2",children:jsxRuntime.jsx("span",{children:e})}),Oe=Nt;function Ve(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 De(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),o=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${o}`;return e.currentTarget.value=a,e}function Be(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 qe(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 je(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 _e(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 Ue(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 Je(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 It=({e,mask:t})=>{switch(t){case"money":return De(e);case"mobile":return qe(e);case"phone":return je(e);case"cpfCnpj":return _e(e);case"cpf":return Be(e);case"rg":return Ue(e);case"cnpj":return Je(e);case"cep":return Ve(e);default:return e}},We=It;var St=({mask:e,initialValue:t=""})=>{let[r,o]=mt.useState(t);mt.useEffect(()=>{t!==r&&o(t);},[t]);let n=mt.useCallback(a=>{let c=We({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;o(c);},[e]),i=mt.useCallback(()=>o(""),[]);return {value:r,setValue:o,handleChange:n,handleClear:i}},ze=St;var Ht=({children:e,className:t,overrideClassName:r})=>{if(e)return jsxRuntime.jsx("p",{className:r?t:P("text-sm text-muted-foreground",t),children:e})},Xe=m(Ht);var Ye=mt.forwardRef(({label:e,required:t=!1,mask:r,name:o,className:n,prefix:i,suffix:a,addonBefore:s,addonBeforeClassName:c,addonAfter:l,addonAfterClassName:d,allowClear:g=!0,error:u,helperText:f,value:x,onChange:b,...p},L)=>{let k=mt.useId(),{value:N,handleChange:h,handleClear:A,setValue:I}=ze({mask:r,initialValue:x}),S=x!==void 0?x:N,v=P("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",u&&"border-destructive focus-visible:ring-destructive",!i&&!a&&"px-3",i&&!a&&"pl-10 pr-3",a&&!i&&"pl-3 pr-10",i&&a&&"pl-10 pr-10",s&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",n),E=F=>{h(F),b?.(F);},H=()=>{A(),I(""),b?.({target:{name:o||"",value:""}});};return jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(C,{htmlFor:k,className:"font-poppins text-[14px] font-medium leading-[21px] text-foreground",required:t,children:e}),jsxRuntime.jsxs("div",{className:"relative flex",children:[s&&jsxRuntime.jsx(ae,{before:!0,className:c,children:s}),jsxRuntime.jsxs("div",{className:"relative flex items-center w-full",children:[i&&jsxRuntime.jsx(Fe,{children:i}),jsxRuntime.jsx("input",{id:k,ref:L,name:o,value:S??"",onChange:E,className:v,...p}),g&&S&&jsxRuntime.jsx(Y,{onClick:H,className:P("absolute right-0 cursor-pointer",a&&"right-8")}),a&&jsxRuntime.jsx(Oe,{children:a})]}),l&&jsxRuntime.jsx(ae,{after:!0,className:d,children:l})]}),u&&jsxRuntime.jsx(w,{children:u}),f&&!u&&jsxRuntime.jsx(Xe,{children:f})]})});Ye.displayName="Input";var Mo=m(Ye);var Dt=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"radiogroup","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Qe=Dt;var qt=(e,t,r)=>mt.useMemo(()=>{let o=T(e)?e:[],n=_(t)&&_(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ze=qt;var _t=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:x,getOptionLabel:b}=Ze(t,i,a),{groupId:p,errorId:L,ariaProps:k}=Qe(e,l),N=(h,A)=>{let I=b(h),S=x(h),v=`${e}-${A}`;return T(u)&&f&&r&&e?jsxRuntime.jsx(reactHookForm.Controller,{name:e,control:r,render:({field:E})=>jsxRuntime.jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{...E,id:v,name:e,type:"radio",value:S,onChange:H=>{E.onChange(s==="object"?h:H.target.value);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":L,...g}),I]})},v):jsxRuntime.jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("input",{id:v,name:e,type:"radio",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":L,...g}),I]},v)};return jsxRuntime.jsxs("div",{className:`radio-group ${d}`,children:[o&&jsxRuntime.jsx(C,{htmlFor:e,id:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:n,children:o}),jsxRuntime.jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...k,children:u.map(N)}),l&&jsxRuntime.jsx(w,{children:l})]})},Xo=m(_t);var Jt=(e,t)=>{mt.useEffect(()=>{let r=o=>{e.current&&!e.current.contains(o.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Ke=Jt;function ce(e,t,r){return mt.useMemo(()=>r?e.filter(n=>String(n[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var Q=e=>{let[t,r]=mt.useState(!1),[o,n]=mt.useState(""),[i,a]=mt.useState(0);return mt.useEffect(()=>{a(0);},[o]),{handleSelect:(c,l,d,g,u,f)=>{if(g==="multiple"){let x=j(d)?d:[],b=x.some(L=>e==="object"?U(L,c):L===c[f]),p;b?p=x.filter(L=>e==="object"?V(L,c):L!==c[f]):p=e==="object"?[...x,c]:[...x,c[f]],l(p);}else n(String(c[u])),l(e==="object"?c:c[f]),r(!1);},isOpen:t,setIsOpen:r,searchTerm:o,setSearchTerm:n,activeIndex:i,setActiveIndex:a}};var et=e=>{let{handleSelect:t}=Q(e);return (o,n,i,a,s,c,l,d,g,u,f,x,b)=>{if(o.key==="Backspace"&&a==="multiple"&&T(i)&&!f){let p=[...i];p.pop(),n(p);}if(o.key==="Enter"&&x&&T(l)){o.preventDefault();let p=l[b];p&&(t(p,n,i,a,s,c),a==="multiple"&&d(""),a==="single"&&(d(String(p[s])),g(!1)));}if(o.key==="ArrowDown"&&x){o.preventDefault();let p=(b+1)%l.length;u(p);}if(o.key==="ArrowUp"&&x){o.preventDefault();let p=(b-1+l.length)%l.length;u(p);}o.key==="Escape"&&g(!1);}};var tt=()=>(t,r,o,n)=>{let i=o.filter(a=>X(a)?a[n]!==t:a!==t);r(i);};var rt=e=>(r,o,n,i)=>{if(!r||!o)return [];let a=T(r)?r:[r];return o.filter(s=>a.some(c=>c&&U(s[i],e=="object"?c[i]:c))).map(s=>({label:s[n],value:s[i]}))};var ot=({name:e,labelKey:t,valueKey:r,data:o,selectedValues:n,placeholderOptions:i,dropDownClassName:a,optionClassName:s,activeIndex:c,onSelect:l})=>jsxRuntime.jsx("ul",{id:`${e}-listbox`,className:ne(a,"absolute z-10 w-full mt-1 bg-white border border-gray-300 rounded shadow-md max-h-60 overflow-y-auto"),role:"listbox",children:T(o)?o.map((d,g)=>{let u=n.includes(d[r]),f=g===c;return jsxRuntime.jsx("li",{id:`${e}-option-${d[r]}`,className:`px-3 py-2 cursor-pointer
15
15
  ${u?"bg-blue-100 text-blue-800":""}
16
16
  ${f?"bg-blue-50":""}
17
17
  hover:bg-gray-100
18
- ${s??""}`,onClick:()=>l(d),role:"option","aria-selected":u,children:String(d[t])},g)}):jsxRuntime.jsx("li",{className:"px-3 py-2 text-gray-500",children:ne(i,"Nenhuma op\xE7\xE3o encontrada")})});var Qt=({label:e,labelKey:t,valueKey:r,typeSet:o="object",options:n,required:i=!1,errors:a,name:s,placeholder:c,placeholderOptions:l,className:d,dropDownClassName:g,optionClassName:u,allowClear:f=!1,control:v,mode:b="single",...p})=>{let{handleSelect:C,isOpen:E,setIsOpen:N,searchTerm:x,setSearchTerm:R,activeIndex:S,setActiveIndex:_}=K(o),P=mt.useRef(null);Ze(P,()=>N(!1));let A=ce(n,t,x),J=tt(),z=rt(o),Z=et(o),fe=kt__default.default("bg-white px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!a},d??""),ee=(T,F)=>F==="multiple"?T.map(te=>te.value):h(T)?[T[0]?.value]:[];return jsxRuntime.jsxs("div",{className:"flex flex-col w-container gap-2",children:[e&&jsxRuntime.jsx(y,{htmlFor:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:i,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{name:s,control:v,render:({field:T})=>{let F=z(b==="multiple"?T.value:[T.value],n,t,r),te=b!=="multiple"||oe(F)||E;return jsxRuntime.jsxs("div",{ref:P,className:"relative w-container",children:[jsxRuntime.jsxs("div",{className:"flex flex-col justify-center items-center",children:[jsxRuntime.jsxs("button",{className:`flex flex-wrap items-center w-full gap-2 p-2 min-h-12 ${fe}`,type:"button",onClick:()=>N(!0),children:[b=="multiple"&&F?.map(k=>jsxRuntime.jsxs("div",{className:"flex items-center bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs gap-1",children:[String(k.label),jsxRuntime.jsx("span",{className:"text-blue-500 hover:text-blue-700 cursor-pointer",onClick:()=>J(k.value,T.onChange,T.value,r),children:"\xD7"})]},String(k.value))),te&&jsxRuntime.jsx("input",{...p,type:"text",className:"flex-1 min-w-[50px] bg-transparent focus:outline-none",value:x,onFocus:()=>N(!0),onChange:k=>R(k.target.value),onKeyDown:k=>Z(k,T.onChange,T.value,b,t,r,A,R,N,_,x,E,S),placeholder:oe(F)?"":c,role:"combobox","aria-autocomplete":"list","aria-expanded":E,"aria-haspopup":"listbox","aria-controls":`${s}-listbox`,"aria-activedescendant":T.value?`${s}-option-${T.value}`:void 0})]}),f&&(x?.length>0||h(F)||q(x,x))&&jsxRuntime.jsx(Y,{className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl",onClick:k=>{k.stopPropagation(),T.onChange(null),R("");}})]}),E&&jsxRuntime.jsx(ot,{name:s,labelKey:t,valueKey:r,selectedValues:ee(F,b),data:A,onSelect:k=>C(k,T.onChange,T.value,b,t,r),placeholderOptions:l,dropDownClassName:g,optionClassName:u,activeIndex:S})]})}}),a&&jsxRuntime.jsx(w,{children:a})]})},Vn=m(Qt);var er=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{"aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),nt=er;var tr=({name:e,label:t,required:r,errors:o,className:n,option:i,...a})=>{let{groupId:s,errorId:c,ariaProps:l}=nt(e,o);return jsxRuntime.jsxs("div",{className:`switch-group ${n}`,children:[t&&jsxRuntime.jsx(y,{htmlFor:e,id:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:r,children:t}),jsxRuntime.jsx("div",{...l,children:jsxRuntime.jsxs(y,{htmlFor:e,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsxs("div",{className:"relative inline-block w-12 h-6",children:[jsxRuntime.jsx("input",{id:e,name:e,type:"checkbox",className:"opacity-0 w-0 h-0 peer","data-testid":"INPUT_SWITCH"+e,"aria-describedby":c,...a}),jsxRuntime.jsx("span",{className:"absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-gray-300 rounded-full transition duration-300 before:absolute before:content-[''] before:h-5 before:w-5 before:left-0.5 before:bottom-0.5 before:bg-white before:rounded-full before:transition before:duration-300 peer-checked:bg-blue-600 peer-checked:before:translate-x-6"})]}),i]})}),o&&jsxRuntime.jsx(w,{children:o})]})},Gn=m(tr);var nr=({label:e,required:t=!1,errors:r,name:o,maxLength:n,className:i,...a})=>{let[s,c]=mt.useState(0),l=kt__default.default("px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!r},i??"");return jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(y,{htmlFor:o,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex flex-col justify-center items-end w-full gap-1",children:[jsxRuntime.jsx("textarea",{...a,"data-testid":"TEXT_AREA"+o,name:o,maxLength:n,className:l,onInput:d=>c(d.currentTarget.textLength)}),n&&jsxRuntime.jsx("div",{children:jsxRuntime.jsxs("p",{children:[s," / ",n]})})]}),r&&jsxRuntime.jsx(w,{children:r})]})},ri=m(nr);
18
+ ${s??""}`,onClick:()=>l(d),role:"option","aria-selected":u,children:String(d[t])},g)}):jsxRuntime.jsx("li",{className:"px-3 py-2 text-gray-500",children:ne(i,"Nenhuma op\xE7\xE3o encontrada")})});var Qt=({label:e,labelKey:t,valueKey:r,typeSet:o="object",options:n,required:i=!1,errors:a,name:s,placeholder:c,placeholderOptions:l,className:d,dropDownClassName:g,optionClassName:u,allowClear:f=!1,control:x,mode:b="single",...p})=>{let{handleSelect:L,isOpen:k,setIsOpen:N,searchTerm:h,setSearchTerm:A,activeIndex:I,setActiveIndex:S}=Q(o),v=mt.useRef(null);Ke(v,()=>N(!1));let E=ce(n,t,h),H=tt(),F=rt(o),K=et(o),fe=kt__default.default("bg-white px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!a},d??""),ee=(y,$)=>$==="multiple"?y.map(te=>te.value):T(y)?[y[0]?.value]:[];return jsxRuntime.jsxs("div",{className:"flex flex-col w-container gap-2",children:[e&&jsxRuntime.jsx(C,{htmlFor:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:i,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{name:s,control:x,render:({field:y})=>{let $=F(b==="multiple"?y.value:[y.value],n,t,r),te=b!=="multiple"||oe($)||k;return jsxRuntime.jsxs("div",{ref:v,className:"relative w-container",children:[jsxRuntime.jsxs("div",{className:"flex flex-col justify-center items-center",children:[jsxRuntime.jsxs("button",{className:`flex flex-wrap items-center w-full gap-2 p-2 min-h-12 ${fe}`,type:"button",onClick:()=>N(!0),children:[b=="multiple"&&$?.map(R=>jsxRuntime.jsxs("div",{className:"flex items-center bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs gap-1",children:[String(R.label),jsxRuntime.jsx("span",{className:"text-blue-500 hover:text-blue-700 cursor-pointer",onClick:()=>H(R.value,y.onChange,y.value,r),children:"\xD7"})]},String(R.value))),te&&jsxRuntime.jsx("input",{...p,type:"text",className:"flex-1 min-w-[50px] bg-transparent focus:outline-none",value:h,onFocus:()=>N(!0),onChange:R=>A(R.target.value),onKeyDown:R=>K(R,y.onChange,y.value,b,t,r,E,A,N,S,h,k,I),placeholder:oe($)?"":c,role:"combobox","aria-autocomplete":"list","aria-expanded":k,"aria-haspopup":"listbox","aria-controls":`${s}-listbox`,"aria-activedescendant":y.value?`${s}-option-${y.value}`:void 0})]}),f&&(h?.length>0||T($)||U(h,h))&&jsxRuntime.jsx(Y,{className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl",onClick:R=>{R.stopPropagation(),y.onChange(null),A("");}})]}),k&&jsxRuntime.jsx(ot,{name:s,labelKey:t,valueKey:r,selectedValues:ee($,b),data:E,onSelect:R=>L(R,y.onChange,y.value,b,t,r),placeholderOptions:l,dropDownClassName:g,optionClassName:u,activeIndex:I})]})}}),a&&jsxRuntime.jsx(w,{children:a})]})},Hn=m(Qt);var Kt=(e,t)=>mt.useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{"aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),nt=Kt;var er=({name:e,label:t,required:r,errors:o,className:n,option:i,...a})=>{let{groupId:s,errorId:c,ariaProps:l}=nt(e,o);return jsxRuntime.jsxs("div",{className:`switch-group ${n}`,children:[t&&jsxRuntime.jsx(C,{htmlFor:e,id:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:r,children:t}),jsxRuntime.jsx("div",{...l,children:jsxRuntime.jsxs(C,{htmlFor:e,className:"flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsxs("div",{className:"relative inline-block w-12 h-6",children:[jsxRuntime.jsx("input",{id:e,name:e,type:"checkbox",className:"opacity-0 w-0 h-0 peer","data-testid":"INPUT_SWITCH"+e,"aria-describedby":c,...a}),jsxRuntime.jsx("span",{className:"absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-gray-300 rounded-full transition duration-300 before:absolute before:content-[''] before:h-5 before:w-5 before:left-0.5 before:bottom-0.5 before:bg-white before:rounded-full before:transition before:duration-300 peer-checked:bg-blue-600 peer-checked:before:translate-x-6"})]}),i]})}),o&&jsxRuntime.jsx(w,{children:o})]})},_n=m(er);var or=({label:e,required:t=!1,errors:r,name:o,maxLength:n,className:i,...a})=>{let[s,c]=mt.useState(0),l=kt__default.default("px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!r},i??"");return jsxRuntime.jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsxRuntime.jsx(C,{htmlFor:o,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxRuntime.jsxs("div",{className:"flex flex-col justify-center items-end w-full gap-1",children:[jsxRuntime.jsx("textarea",{...a,"data-testid":"TEXT_AREA"+o,name:o,maxLength:n,className:l,onInput:d=>c(d.currentTarget.textLength)}),n&&jsxRuntime.jsx("div",{children:jsxRuntime.jsxs("p",{children:[s," / ",n]})})]}),r&&jsxRuntime.jsx(w,{children:r})]})},Zn=m(or);
19
19
 
20
- exports.ButtonPrimitive = yr;
21
- exports.CardPrimitive = Nr;
20
+ exports.ButtonPrimitive = Tr;
21
+ exports.CardPrimitive = Er;
22
22
  exports.CheckBoxPrimitive = Zr;
23
- exports.HelperFieldPrimitive = Ve;
24
- exports.InputPrimitive = $o;
25
- exports.LabelPrimitive = y;
23
+ exports.HelperFieldPrimitive = Xe;
24
+ exports.InputPrimitive = Mo;
25
+ exports.LabelPrimitive = C;
26
26
  exports.LicenseProvider = ct;
27
- exports.RadioPrimitive = Zo;
28
- exports.SelectPrimitive = Vn;
29
- exports.SwitchPrimitive = Gn;
30
- exports.TextAreaPrimitive = ri;
27
+ exports.RadioPrimitive = Xo;
28
+ exports.SelectPrimitive = Hn;
29
+ exports.SwitchPrimitive = _n;
30
+ exports.TextAreaPrimitive = Zn;
31
31
  exports.ValidateFieldPrimitive = w;
package/dist/page.mjs CHANGED
@@ -4,10 +4,10 @@ import kt, { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import { Controller } from 'react-hook-form';
6
6
 
7
- var be=createContext(void 0),lt=({message:e})=>jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),ct=({children:e,licenseKey:t})=>{let[r,o]=useState(!1),[n,i]=useState(null),[a,s]=useState(!0),c=l=>{if(i(null),!l)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let d="chave-secreta-123";if(l!==d)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");o(!0);};return useEffect(()=>{if(t){s(!0);try{c(t);}catch(l){i(l instanceof Error?l.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsx(be.Provider,{value:{isLicenseValid:r,validateLicense:c,licenseError:n},children:r?e:jsx(lt,{message:n||"Licen\xE7a inv\xE1lida"})})},xe=()=>{let e=useContext(be);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 m=e=>t=>{let{isLicenseValid:r}=xe();return r?jsx(e,{...t}):jsx(ve,{})};function L(...e){return twMerge(clsx(e))}var Pe=mt.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:o="md",href:n,children:i,loading:a=!1,loadingContent:s,...c},l)=>{let d="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",g={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"},u={xs:"h-7 px-2 text-xs",sm:"h-9 px-3 text-sm",md:"h-10 px-4 py-2",lg:"h-11 px-6 text-lg",xl:"h-12 px-8 text-xl"},f=t?e:L(d,g[r],u[o],e);return n?jsx("a",{href:n,className:f,ref:l,children:a&&s?s:i}):jsx("button",{className:f,ref:l,...c,children:a&&s?s:i})});Pe.displayName="Button";var yr=m(Pe);var Ce=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:L("flex flex-col space-y-1.5 p-6",e),...o,children:r}));Ce.displayName="CardHeader";var Le=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("h3",{ref:n,className:t?e:L("text-2xl font-semibold leading-none tracking-tight",e),...o,children:r}));Le.displayName="CardTitle";var we=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("p",{ref:n,className:t?e:L("text-sm text-muted-foreground",e),...o,children:r}));we.displayName="CardDescription";var ke=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:L("p-6 pt-0",e),...o,children:r}));ke.displayName="CardContent";var Ee=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:L("flex items-center p-6 pt-0",e),...o,children:r}));Ee.displayName="CardFooter";var Ne=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:L("rounded-lg border bg-card text-card-foreground shadow-sm",e),...o,children:r}));Ne.displayName="Card";var ft=Object.assign(Ne,{Header:Ce,Title:Le,Description:we,Content:ke,Footer:Ee}),Nr=m(ft);var D=e=>Array.isArray(e),X=e=>Object.prototype.toString.call(e)==="[object Object]";var oe=e=>D(e)&&e.length===0,h=e=>D(e)&&e.length>0;var B=e=>!!e,ne=(e,t)=>e??t;function q(e,t){return !H(e,t)}function H(e,t,r=new WeakMap){if(Object.is(e,t))return !1;if(typeof e!=typeof t||typeof e!="object"||e===null||t===null)return !0;if(r.has(e))return r.get(e)!==t;if(r.set(e,t),D(e)&&D(t)){if(e.length!==t.length)return !0;for(let o=0;o<e.length;o++)if(H(e[o],t[o],r))return !0;return !1}if(X(e)&&X(t)){let o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return !0;for(let i of o)if(!Object.hasOwn(t,i)||H(e[i],t[i],r))return !0;return !1}return !0}var gt=({children:e,required:t,...r})=>jsxs("div",{className:"flex items-center gap-1",children:[jsx("label",{...r,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:e}),t&&jsx("span",{className:"text-red-600",children:"*"})]}),y=m(gt);var xt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:L("text-sm text-red-600 dark:text-red-400",t),children:e})},w=m(xt);var Tt=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"group","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ae=Tt;var Pt=(e,t,r)=>useMemo(()=>{let o=h(e)?e:[],n=B(t)&&B(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ie=Pt;var Lt=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:v,getOptionLabel:b}=Ie(t,i,a),{groupId:p,errorId:C,ariaProps:E}=Ae(e,l),N=(x,R)=>{let S=v(x),_=b(x),P=`${e}-${R}`;return h(u)&&f&&r&&e?jsx(Controller,{name:e,control:r,render:({field:A})=>jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{...A,id:P,name:e,type:"checkbox",value:S,onChange:J=>{let z=A.value||[],Z=s==="object"?x:S,ee=J.target.checked?[...z,Z]:z.filter(T=>H(T,x));A.onChange(ee);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":C,...g}),_]})},P):jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{id:P,name:e,type:"checkbox",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":C,...g}),String(x)]},P)};return jsxs("div",{className:`checkbox-group ${d}`,children:[o&&jsx(y,{id:p,htmlFor:e,required:n,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",children:o}),jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...E,children:u.map(N)}),l&&jsx(w,{children:l})]})},Zr=m(Lt);var wt=({...e})=>jsx("svg",{...e,width:"0.7em",height:"0.7em",viewBox:"64 64 896 896",fill:"currentColor",stroke:"#828282",strokeWidth:".1",focusable:"false","data-icon":"close-circle","aria-hidden":"true",fillRule:"evenodd",children:jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),Y=wt;var Et=({children:e,before:t,after:r,className:o})=>{let i=kt("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},o);return jsx("div",{className:i,children:jsx("span",{children:e})})},ae=Et;var Nt=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),He=Nt;var Rt=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),Oe=Rt;var At=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:L("text-sm text-muted-foreground",t),children:e})},Ve=m(At);function De(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 Be(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),o=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${o}`;return e.currentTarget.value=a,e}function qe(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 Ue(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 je(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 _e(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 Je(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 We(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 St=({e,mask:t})=>{switch(t){case"money":return Be(e);case"mobile":return Ue(e);case"phone":return je(e);case"cpfCnpj":return _e(e);case"cpf":return qe(e);case"rg":return Je(e);case"cnpj":return We(e);case"cep":return De(e);default:return e}},Ge=St;var Ft=({setValue:e})=>({cleanField:()=>{e("");}}),ze=Ft;var $t=({mask:e})=>{let[t,r]=useState(""),{cleanField:o}=ze({setValue:r}),n=useCallback(i=>{Ge({e:i,mask:e});},[e]);return {value:t,handleKeyUp:n,cleanField:o}},Xe=$t;var Ye=forwardRef(({label:e,required:t=!1,mask:r,name:o,className:n,prefix:i,suffix:a,addonBefore:s,addonBeforeClassName:c,addonAfter:l,addonAfterClassName:d,allowClear:g=!0,error:u,helperText:f,...v},b)=>{let p=useId(),{value:C,handleKeyUp:E,cleanField:N}=Xe({mask:r}),x=L("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",u&&"border-red-500 focus-visible:ring-red-500",!i&&!a&&"px-3",i&&!a&&"pl-10 pr-3",a&&!i&&"pl-3 pr-10",i&&a&&"pl-10 pr-10",s&&"rounded-s-none",l&&"rounded-e-none",n);return jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(y,{htmlFor:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxs("div",{className:"relative flex",children:[s&&jsx(ae,{before:!0,className:c,children:s}),jsxs("div",{className:"relative flex items-center w-full",children:[i&&jsx(He,{children:i}),jsx("input",{id:p,"data-testid":"INPUT_TEXT:"+o,className:x,onKeyUp:R=>{E(R),v.onKeyUp?.(R);},ref:b,...v}),a&&jsx(Oe,{children:a}),g&&C&&jsx(Y,{onClick:N,className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl"})]}),l&&jsx(ae,{after:!0,className:d,children:l})]}),u&&jsx(w,{children:u}),f&&!u&&jsx(Ve,{children:f})]})});Ye.displayName="Input";var $o=m(Ye);var Bt=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"radiogroup","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ke=Bt;var Ut=(e,t,r)=>useMemo(()=>{let o=h(e)?e:[],n=B(t)&&B(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Qe=Ut;var _t=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:v,getOptionLabel:b}=Qe(t,i,a),{groupId:p,errorId:C,ariaProps:E}=Ke(e,l),N=(x,R)=>{let S=b(x),_=v(x),P=`${e}-${R}`;return h(u)&&f&&r&&e?jsx(Controller,{name:e,control:r,render:({field:A})=>jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{...A,id:P,name:e,type:"radio",value:_,onChange:J=>{A.onChange(s==="object"?x:J.target.value);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":C,...g}),S]})},P):jsxs(y,{htmlFor:P,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{id:P,name:e,type:"radio",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":C,...g}),S]},P)};return jsxs("div",{className:`radio-group ${d}`,children:[o&&jsx(y,{htmlFor:e,id:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:n,children:o}),jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...E,children:u.map(N)}),l&&jsx(w,{children:l})]})},Zo=m(_t);var Wt=(e,t)=>{useEffect(()=>{let r=o=>{e.current&&!e.current.contains(o.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Ze=Wt;function ce(e,t,r){return useMemo(()=>r?e.filter(n=>String(n[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var K=e=>{let[t,r]=useState(!1),[o,n]=useState(""),[i,a]=useState(0);return useEffect(()=>{a(0);},[o]),{handleSelect:(c,l,d,g,u,f)=>{if(g==="multiple"){let v=D(d)?d:[],b=v.some(C=>e==="object"?q(C,c):C===c[f]),p;b?p=v.filter(C=>e==="object"?H(C,c):C!==c[f]):p=e==="object"?[...v,c]:[...v,c[f]],l(p);}else n(String(c[u])),l(e==="object"?c:c[f]),r(!1);},isOpen:t,setIsOpen:r,searchTerm:o,setSearchTerm:n,activeIndex:i,setActiveIndex:a}};var et=e=>{let{handleSelect:t}=K(e);return (o,n,i,a,s,c,l,d,g,u,f,v,b)=>{if(o.key==="Backspace"&&a==="multiple"&&h(i)&&!f){let p=[...i];p.pop(),n(p);}if(o.key==="Enter"&&v&&h(l)){o.preventDefault();let p=l[b];p&&(t(p,n,i,a,s,c),a==="multiple"&&d(""),a==="single"&&(d(String(p[s])),g(!1)));}if(o.key==="ArrowDown"&&v){o.preventDefault();let p=(b+1)%l.length;u(p);}if(o.key==="ArrowUp"&&v){o.preventDefault();let p=(b-1+l.length)%l.length;u(p);}o.key==="Escape"&&g(!1);}};var tt=()=>(t,r,o,n)=>{let i=o.filter(a=>X(a)?a[n]!==t:a!==t);r(i);};var rt=e=>(r,o,n,i)=>{if(!r||!o)return [];let a=h(r)?r:[r];return o.filter(s=>a.some(c=>c&&q(s[i],e=="object"?c[i]:c))).map(s=>({label:s[n],value:s[i]}))};var ot=({name:e,labelKey:t,valueKey:r,data:o,selectedValues:n,placeholderOptions:i,dropDownClassName:a,optionClassName:s,activeIndex:c,onSelect:l})=>jsx("ul",{id:`${e}-listbox`,className:ne(a,"absolute z-10 w-full mt-1 bg-white border border-gray-300 rounded shadow-md max-h-60 overflow-y-auto"),role:"listbox",children:h(o)?o.map((d,g)=>{let u=n.includes(d[r]),f=g===c;return jsx("li",{id:`${e}-option-${d[r]}`,className:`px-3 py-2 cursor-pointer
7
+ var be=createContext(void 0),lt=({message:e})=>jsx("div",{className:"flex justify-center items-center h-screen min-w-full bg-red-50 dark:bg-red-900/10 text-red-800 dark:text-red-200 text-xl text-center p-8 transition-colors duration-300",children:jsxs("div",{className:"max-w-md animate-[fadeIn_0.5s_ease-in-out]",children:[jsxs("h1",{className:"text-3xl font-bold mb-4 flex items-center justify-center gap-2",children:[jsx("span",{className:"animate-[bounce_1s_infinite]",children:"\u26A0\uFE0F"}),"Erro de Licen\xE7a"]}),jsx("p",{className:"mb-4 text-red-600 dark:text-red-300",children:e}),jsx("p",{className:"text-lg text-red-600 dark:text-red-400",children:"Por favor, entre em contato com o suporte."}),jsx("button",{onClick:()=>window.location.reload(),className:"mt-6 px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Tentar novamente"})]})}),ct=({children:e,licenseKey:t})=>{let[r,o]=useState(!1),[n,i]=useState(null),[a,s]=useState(!0),c=l=>{if(i(null),!l)throw new Error("\u{1F512} Chave de licen\xE7a \xE9 obrigat\xF3ria");let d="chave-secreta-123";if(l!==d)throw new Error("\u274C Chave de licen\xE7a inv\xE1lida");o(!0);};return useEffect(()=>{if(t){s(!0);try{c(t);}catch(l){i(l instanceof Error?l.message:"Erro desconhecido na valida\xE7\xE3o da licen\xE7a");}finally{s(!1);}}else i("\u{1F512} Licen\xE7a n\xE3o informada"),s(!1);},[t]),a?null:jsx(be.Provider,{value:{isLicenseValid:r,validateLicense:c,licenseError:n},children:r?e:jsx(lt,{message:n||"Licen\xE7a inv\xE1lida"})})},xe=()=>{let e=useContext(be);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 m=e=>t=>{let{isLicenseValid:r}=xe();return r?jsx(e,{...t}):jsx(ve,{})};function P(...e){return twMerge(clsx(e))}var Ce=mt.forwardRef(({className:e,overrideClassName:t,variant:r="primary",size:o="md",href:n,children:i,loading:a=!1,loadingContent:s,...c},l)=>{let d="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",g={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"},u={xs:"h-7 px-2 text-xs",sm:"h-9 px-3 text-sm",md:"h-10 px-4 py-2",lg:"h-11 px-6 text-lg",xl:"h-12 px-8 text-xl"},f=t?e:P(d,g[r],u[o],e);return n?jsx("a",{href:n,className:f,ref:l,children:a&&s?s:i}):jsx("button",{className:f,ref:l,...c,children:a&&s?s:i})});Ce.displayName="Button";var Tr=m(Ce);var Pe=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:P("flex flex-col space-y-1.5 p-6",e),...o,children:r}));Pe.displayName="CardHeader";var Le=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("h3",{ref:n,className:t?e:P("text-2xl font-semibold leading-none tracking-tight",e),...o,children:r}));Le.displayName="CardTitle";var we=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("p",{ref:n,className:t?e:P("text-sm text-muted-foreground",e),...o,children:r}));we.displayName="CardDescription";var ke=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:P("p-6 pt-0",e),...o,children:r}));ke.displayName="CardContent";var Ee=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:P("flex items-center p-6 pt-0",e),...o,children:r}));Ee.displayName="CardFooter";var Re=forwardRef(({className:e,overrideClassName:t=!1,children:r,...o},n)=>jsx("div",{ref:n,className:t?e:P("rounded-lg border bg-card text-card-foreground shadow-sm",e),...o,children:r}));Re.displayName="Card";var ft=Object.assign(Re,{Header:Pe,Title:Le,Description:we,Content:ke,Footer:Ee}),Er=m(ft);var j=e=>Array.isArray(e),X=e=>Object.prototype.toString.call(e)==="[object Object]";var oe=e=>j(e)&&e.length===0,T=e=>j(e)&&e.length>0;var _=e=>!!e,ne=(e,t)=>e??t;function U(e,t){return !V(e,t)}function V(e,t,r=new WeakMap){if(Object.is(e,t))return !1;if(typeof e!=typeof t||typeof e!="object"||e===null||t===null)return !0;if(r.has(e))return r.get(e)!==t;if(r.set(e,t),j(e)&&j(t)){if(e.length!==t.length)return !0;for(let o=0;o<e.length;o++)if(V(e[o],t[o],r))return !0;return !1}if(X(e)&&X(t)){let o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return !0;for(let i of o)if(!Object.hasOwn(t,i)||V(e[i],t[i],r))return !0;return !1}return !0}var gt=({children:e,required:t,...r})=>jsxs("div",{className:"flex items-center gap-1",children:[jsx("label",{...r,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:e}),t&&jsx("span",{className:"text-red-600",children:"*"})]}),C=m(gt);var xt=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:P("text-sm text-red-600 dark:text-red-400",t),children:e})},w=m(xt);var Tt=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"group","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Ie=Tt;var Ct=(e,t,r)=>useMemo(()=>{let o=T(e)?e:[],n=_(t)&&_(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ae=Ct;var Lt=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:x,getOptionLabel:b}=Ae(t,i,a),{groupId:p,errorId:L,ariaProps:k}=Ie(e,l),N=(h,A)=>{let I=x(h),S=b(h),v=`${e}-${A}`;return T(u)&&f&&r&&e?jsx(Controller,{name:e,control:r,render:({field:E})=>jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{...E,id:v,name:e,type:"checkbox",value:I,onChange:H=>{let F=E.value||[],K=s==="object"?h:I,ee=H.target.checked?[...F,K]:F.filter(y=>V(y,h));E.onChange(ee);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":L,...g}),S]})},v):jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{id:v,name:e,type:"checkbox",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded ${d}`,"data-testid":"INPUT_CHECKBOX"+e,"aria-describedby":L,...g}),String(h)]},v)};return jsxs("div",{className:`checkbox-group ${d}`,children:[o&&jsx(C,{id:p,htmlFor:e,required:n,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",children:o}),jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...k,children:u.map(N)}),l&&jsx(w,{children:l})]})},Zr=m(Lt);var wt=({...e})=>jsx("svg",{...e,width:"0.7em",height:"0.7em",viewBox:"64 64 896 896",fill:"currentColor",stroke:"#828282",strokeWidth:".1",focusable:"false","data-icon":"close-circle","aria-hidden":"true",fillRule:"evenodd",children:jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),Y=wt;var Et=({children:e,before:t,after:r,className:o})=>{let i=kt("flex justify-center items-center",{"rounded-l-lg":t,"rounded-r-lg":r},o);return jsx("div",{className:i,children:jsx("span",{children:e})})},ae=Et;var Rt=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),Fe=Rt;var Nt=({children:e})=>jsx("div",{className:"absolute px-2",children:jsx("span",{children:e})}),Oe=Nt;function Ve(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 De(e){let t=e.currentTarget.value;t=t.replace(/\D/g,""),t=t.padStart(3,"0");let r=t.slice(0,-2),o=t.slice(-2),a=`${(r.replace(/^0+/,"")||"0").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")},${o}`;return e.currentTarget.value=a,e}function Be(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 qe(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 je(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 _e(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 Ue(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 Je(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 It=({e,mask:t})=>{switch(t){case"money":return De(e);case"mobile":return qe(e);case"phone":return je(e);case"cpfCnpj":return _e(e);case"cpf":return Be(e);case"rg":return Ue(e);case"cnpj":return Je(e);case"cep":return Ve(e);default:return e}},We=It;var St=({mask:e,initialValue:t=""})=>{let[r,o]=useState(t);useEffect(()=>{t!==r&&o(t);},[t]);let n=useCallback(a=>{let c=We({e:a,mask:e})?.currentTarget?.value??a.currentTarget.value;o(c);},[e]),i=useCallback(()=>o(""),[]);return {value:r,setValue:o,handleChange:n,handleClear:i}},ze=St;var Ht=({children:e,className:t,overrideClassName:r})=>{if(e)return jsx("p",{className:r?t:P("text-sm text-muted-foreground",t),children:e})},Xe=m(Ht);var Ye=forwardRef(({label:e,required:t=!1,mask:r,name:o,className:n,prefix:i,suffix:a,addonBefore:s,addonBeforeClassName:c,addonAfter:l,addonAfterClassName:d,allowClear:g=!0,error:u,helperText:f,value:x,onChange:b,...p},L)=>{let k=useId(),{value:N,handleChange:h,handleClear:A,setValue:I}=ze({mask:r,initialValue:x}),S=x!==void 0?x:N,v=P("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",u&&"border-destructive focus-visible:ring-destructive",!i&&!a&&"px-3",i&&!a&&"pl-10 pr-3",a&&!i&&"pl-3 pr-10",i&&a&&"pl-10 pr-10",s&&"rounded-l-none border-l-0",l&&"rounded-r-none border-r-0",n),E=F=>{h(F),b?.(F);},H=()=>{A(),I(""),b?.({target:{name:o||"",value:""}});};return jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(C,{htmlFor:k,className:"font-poppins text-[14px] font-medium leading-[21px] text-foreground",required:t,children:e}),jsxs("div",{className:"relative flex",children:[s&&jsx(ae,{before:!0,className:c,children:s}),jsxs("div",{className:"relative flex items-center w-full",children:[i&&jsx(Fe,{children:i}),jsx("input",{id:k,ref:L,name:o,value:S??"",onChange:E,className:v,...p}),g&&S&&jsx(Y,{onClick:H,className:P("absolute right-0 cursor-pointer",a&&"right-8")}),a&&jsx(Oe,{children:a})]}),l&&jsx(ae,{after:!0,className:d,children:l})]}),u&&jsx(w,{children:u}),f&&!u&&jsx(Xe,{children:f})]})});Ye.displayName="Input";var Mo=m(Ye);var Dt=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{role:"radiogroup","aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),Qe=Dt;var qt=(e,t,r)=>useMemo(()=>{let o=T(e)?e:[],n=_(t)&&_(r);return {optionsData:o,usingComplexObjects:n,getOptionLabel:i=>String(i[t]),getOptionValue:i=>String(i[r])}},[e,t,r]),Ze=qt;var _t=({name:e,options:t,control:r,label:o,required:n,labelKey:i,valueKey:a,typeSet:s="object",alignment:c="row",errors:l,className:d,...g})=>{let{optionsData:u,usingComplexObjects:f,getOptionValue:x,getOptionLabel:b}=Ze(t,i,a),{groupId:p,errorId:L,ariaProps:k}=Qe(e,l),N=(h,A)=>{let I=b(h),S=x(h),v=`${e}-${A}`;return T(u)&&f&&r&&e?jsx(Controller,{name:e,control:r,render:({field:E})=>jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{...E,id:v,name:e,type:"radio",value:S,onChange:H=>{E.onChange(s==="object"?h:H.target.value);},className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":L,...g}),I]})},v):jsxs(C,{htmlFor:v,className:"flex items-center gap-2 cursor-pointer",children:[jsx("input",{id:v,name:e,type:"radio",className:`h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 ${d}`,"data-testid":"INPUT_RADIO:"+e,"aria-describedby":L,...g}),I]},v)};return jsxs("div",{className:`radio-group ${d}`,children:[o&&jsx(C,{htmlFor:e,id:p,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:n,children:o}),jsx("div",{className:`flex gap-4 ${c==="column"?"flex-col":"flex-row"}`,...k,children:u.map(N)}),l&&jsx(w,{children:l})]})},Xo=m(_t);var Jt=(e,t)=>{useEffect(()=>{let r=o=>{e.current&&!e.current.contains(o.target)&&t(!1);};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r);}},[e,t]);},Ke=Jt;function ce(e,t,r){return useMemo(()=>r?e.filter(n=>String(n[t]).toLowerCase().includes(r.toLowerCase())):e,[e,r,t])}var Q=e=>{let[t,r]=useState(!1),[o,n]=useState(""),[i,a]=useState(0);return useEffect(()=>{a(0);},[o]),{handleSelect:(c,l,d,g,u,f)=>{if(g==="multiple"){let x=j(d)?d:[],b=x.some(L=>e==="object"?U(L,c):L===c[f]),p;b?p=x.filter(L=>e==="object"?V(L,c):L!==c[f]):p=e==="object"?[...x,c]:[...x,c[f]],l(p);}else n(String(c[u])),l(e==="object"?c:c[f]),r(!1);},isOpen:t,setIsOpen:r,searchTerm:o,setSearchTerm:n,activeIndex:i,setActiveIndex:a}};var et=e=>{let{handleSelect:t}=Q(e);return (o,n,i,a,s,c,l,d,g,u,f,x,b)=>{if(o.key==="Backspace"&&a==="multiple"&&T(i)&&!f){let p=[...i];p.pop(),n(p);}if(o.key==="Enter"&&x&&T(l)){o.preventDefault();let p=l[b];p&&(t(p,n,i,a,s,c),a==="multiple"&&d(""),a==="single"&&(d(String(p[s])),g(!1)));}if(o.key==="ArrowDown"&&x){o.preventDefault();let p=(b+1)%l.length;u(p);}if(o.key==="ArrowUp"&&x){o.preventDefault();let p=(b-1+l.length)%l.length;u(p);}o.key==="Escape"&&g(!1);}};var tt=()=>(t,r,o,n)=>{let i=o.filter(a=>X(a)?a[n]!==t:a!==t);r(i);};var rt=e=>(r,o,n,i)=>{if(!r||!o)return [];let a=T(r)?r:[r];return o.filter(s=>a.some(c=>c&&U(s[i],e=="object"?c[i]:c))).map(s=>({label:s[n],value:s[i]}))};var ot=({name:e,labelKey:t,valueKey:r,data:o,selectedValues:n,placeholderOptions:i,dropDownClassName:a,optionClassName:s,activeIndex:c,onSelect:l})=>jsx("ul",{id:`${e}-listbox`,className:ne(a,"absolute z-10 w-full mt-1 bg-white border border-gray-300 rounded shadow-md max-h-60 overflow-y-auto"),role:"listbox",children:T(o)?o.map((d,g)=>{let u=n.includes(d[r]),f=g===c;return jsx("li",{id:`${e}-option-${d[r]}`,className:`px-3 py-2 cursor-pointer
8
8
  ${u?"bg-blue-100 text-blue-800":""}
9
9
  ${f?"bg-blue-50":""}
10
10
  hover:bg-gray-100
11
- ${s??""}`,onClick:()=>l(d),role:"option","aria-selected":u,children:String(d[t])},g)}):jsx("li",{className:"px-3 py-2 text-gray-500",children:ne(i,"Nenhuma op\xE7\xE3o encontrada")})});var Qt=({label:e,labelKey:t,valueKey:r,typeSet:o="object",options:n,required:i=!1,errors:a,name:s,placeholder:c,placeholderOptions:l,className:d,dropDownClassName:g,optionClassName:u,allowClear:f=!1,control:v,mode:b="single",...p})=>{let{handleSelect:C,isOpen:E,setIsOpen:N,searchTerm:x,setSearchTerm:R,activeIndex:S,setActiveIndex:_}=K(o),P=useRef(null);Ze(P,()=>N(!1));let A=ce(n,t,x),J=tt(),z=rt(o),Z=et(o),fe=kt("bg-white px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!a},d??""),ee=(T,F)=>F==="multiple"?T.map(te=>te.value):h(T)?[T[0]?.value]:[];return jsxs("div",{className:"flex flex-col w-container gap-2",children:[e&&jsx(y,{htmlFor:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:i,children:e}),jsx(Controller,{name:s,control:v,render:({field:T})=>{let F=z(b==="multiple"?T.value:[T.value],n,t,r),te=b!=="multiple"||oe(F)||E;return jsxs("div",{ref:P,className:"relative w-container",children:[jsxs("div",{className:"flex flex-col justify-center items-center",children:[jsxs("button",{className:`flex flex-wrap items-center w-full gap-2 p-2 min-h-12 ${fe}`,type:"button",onClick:()=>N(!0),children:[b=="multiple"&&F?.map(k=>jsxs("div",{className:"flex items-center bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs gap-1",children:[String(k.label),jsx("span",{className:"text-blue-500 hover:text-blue-700 cursor-pointer",onClick:()=>J(k.value,T.onChange,T.value,r),children:"\xD7"})]},String(k.value))),te&&jsx("input",{...p,type:"text",className:"flex-1 min-w-[50px] bg-transparent focus:outline-none",value:x,onFocus:()=>N(!0),onChange:k=>R(k.target.value),onKeyDown:k=>Z(k,T.onChange,T.value,b,t,r,A,R,N,_,x,E,S),placeholder:oe(F)?"":c,role:"combobox","aria-autocomplete":"list","aria-expanded":E,"aria-haspopup":"listbox","aria-controls":`${s}-listbox`,"aria-activedescendant":T.value?`${s}-option-${T.value}`:void 0})]}),f&&(x?.length>0||h(F)||q(x,x))&&jsx(Y,{className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl",onClick:k=>{k.stopPropagation(),T.onChange(null),R("");}})]}),E&&jsx(ot,{name:s,labelKey:t,valueKey:r,selectedValues:ee(F,b),data:A,onSelect:k=>C(k,T.onChange,T.value,b,t,r),placeholderOptions:l,dropDownClassName:g,optionClassName:u,activeIndex:S})]})}}),a&&jsx(w,{children:a})]})},Vn=m(Qt);var er=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{"aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),nt=er;var tr=({name:e,label:t,required:r,errors:o,className:n,option:i,...a})=>{let{groupId:s,errorId:c,ariaProps:l}=nt(e,o);return jsxs("div",{className:`switch-group ${n}`,children:[t&&jsx(y,{htmlFor:e,id:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:r,children:t}),jsx("div",{...l,children:jsxs(y,{htmlFor:e,className:"flex items-center gap-2 cursor-pointer",children:[jsxs("div",{className:"relative inline-block w-12 h-6",children:[jsx("input",{id:e,name:e,type:"checkbox",className:"opacity-0 w-0 h-0 peer","data-testid":"INPUT_SWITCH"+e,"aria-describedby":c,...a}),jsx("span",{className:"absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-gray-300 rounded-full transition duration-300 before:absolute before:content-[''] before:h-5 before:w-5 before:left-0.5 before:bottom-0.5 before:bg-white before:rounded-full before:transition before:duration-300 peer-checked:bg-blue-600 peer-checked:before:translate-x-6"})]}),i]})}),o&&jsx(w,{children:o})]})},Gn=m(tr);var nr=({label:e,required:t=!1,errors:r,name:o,maxLength:n,className:i,...a})=>{let[s,c]=useState(0),l=kt("px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!r},i??"");return jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(y,{htmlFor:o,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxs("div",{className:"flex flex-col justify-center items-end w-full gap-1",children:[jsx("textarea",{...a,"data-testid":"TEXT_AREA"+o,name:o,maxLength:n,className:l,onInput:d=>c(d.currentTarget.textLength)}),n&&jsx("div",{children:jsxs("p",{children:[s," / ",n]})})]}),r&&jsx(w,{children:r})]})},ri=m(nr);
11
+ ${s??""}`,onClick:()=>l(d),role:"option","aria-selected":u,children:String(d[t])},g)}):jsx("li",{className:"px-3 py-2 text-gray-500",children:ne(i,"Nenhuma op\xE7\xE3o encontrada")})});var Qt=({label:e,labelKey:t,valueKey:r,typeSet:o="object",options:n,required:i=!1,errors:a,name:s,placeholder:c,placeholderOptions:l,className:d,dropDownClassName:g,optionClassName:u,allowClear:f=!1,control:x,mode:b="single",...p})=>{let{handleSelect:L,isOpen:k,setIsOpen:N,searchTerm:h,setSearchTerm:A,activeIndex:I,setActiveIndex:S}=Q(o),v=useRef(null);Ke(v,()=>N(!1));let E=ce(n,t,h),H=tt(),F=rt(o),K=et(o),fe=kt("bg-white px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!a},d??""),ee=(y,$)=>$==="multiple"?y.map(te=>te.value):T(y)?[y[0]?.value]:[];return jsxs("div",{className:"flex flex-col w-container gap-2",children:[e&&jsx(C,{htmlFor:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:i,children:e}),jsx(Controller,{name:s,control:x,render:({field:y})=>{let $=F(b==="multiple"?y.value:[y.value],n,t,r),te=b!=="multiple"||oe($)||k;return jsxs("div",{ref:v,className:"relative w-container",children:[jsxs("div",{className:"flex flex-col justify-center items-center",children:[jsxs("button",{className:`flex flex-wrap items-center w-full gap-2 p-2 min-h-12 ${fe}`,type:"button",onClick:()=>N(!0),children:[b=="multiple"&&$?.map(R=>jsxs("div",{className:"flex items-center bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs gap-1",children:[String(R.label),jsx("span",{className:"text-blue-500 hover:text-blue-700 cursor-pointer",onClick:()=>H(R.value,y.onChange,y.value,r),children:"\xD7"})]},String(R.value))),te&&jsx("input",{...p,type:"text",className:"flex-1 min-w-[50px] bg-transparent focus:outline-none",value:h,onFocus:()=>N(!0),onChange:R=>A(R.target.value),onKeyDown:R=>K(R,y.onChange,y.value,b,t,r,E,A,N,S,h,k,I),placeholder:oe($)?"":c,role:"combobox","aria-autocomplete":"list","aria-expanded":k,"aria-haspopup":"listbox","aria-controls":`${s}-listbox`,"aria-activedescendant":y.value?`${s}-option-${y.value}`:void 0})]}),f&&(h?.length>0||T($)||U(h,h))&&jsx(Y,{className:"absolute right-2 cursor-pointer text-neutral-500 hover:text-neutral-700 text-xl",onClick:R=>{R.stopPropagation(),y.onChange(null),A("");}})]}),k&&jsx(ot,{name:s,labelKey:t,valueKey:r,selectedValues:ee($,b),data:E,onSelect:R=>L(R,y.onChange,y.value,b,t,r),placeholderOptions:l,dropDownClassName:g,optionClassName:u,activeIndex:I})]})}}),a&&jsx(w,{children:a})]})},Hn=m(Qt);var Kt=(e,t)=>useMemo(()=>{let r=e?`${e}-group`:void 0,o=e&&t?`${e}-error`:void 0;return {groupId:r,errorId:o,ariaProps:{"aria-labelledby":r,"aria-invalid":t?"true":void 0,"aria-errormessage":t?o:void 0}}},[e,t]),nt=Kt;var er=({name:e,label:t,required:r,errors:o,className:n,option:i,...a})=>{let{groupId:s,errorId:c,ariaProps:l}=nt(e,o);return jsxs("div",{className:`switch-group ${n}`,children:[t&&jsx(C,{htmlFor:e,id:s,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:r,children:t}),jsx("div",{...l,children:jsxs(C,{htmlFor:e,className:"flex items-center gap-2 cursor-pointer",children:[jsxs("div",{className:"relative inline-block w-12 h-6",children:[jsx("input",{id:e,name:e,type:"checkbox",className:"opacity-0 w-0 h-0 peer","data-testid":"INPUT_SWITCH"+e,"aria-describedby":c,...a}),jsx("span",{className:"absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-gray-300 rounded-full transition duration-300 before:absolute before:content-[''] before:h-5 before:w-5 before:left-0.5 before:bottom-0.5 before:bg-white before:rounded-full before:transition before:duration-300 peer-checked:bg-blue-600 peer-checked:before:translate-x-6"})]}),i]})}),o&&jsx(w,{children:o})]})},_n=m(er);var or=({label:e,required:t=!1,errors:r,name:o,maxLength:n,className:i,...a})=>{let[s,c]=useState(0),l=kt("px-2 py-3 w-full text-stone-400 text-sm font-normal leading-tight border-2 border-opacity-0 shadow-input rounded-lg focus:outline-none focus:border-blue-500 border-neutral-400",{"border-[#DD052B] border-opacity-80 shadow-inputError":!!r},i??"");return jsxs("div",{className:"flex flex-col w-full gap-2",children:[e&&jsx(C,{htmlFor:o,className:"font-poppins text-[14px] font-medium leading-[21px] text-colorLight dark:text-colorDark",required:t,children:e}),jsxs("div",{className:"flex flex-col justify-center items-end w-full gap-1",children:[jsx("textarea",{...a,"data-testid":"TEXT_AREA"+o,name:o,maxLength:n,className:l,onInput:d=>c(d.currentTarget.textLength)}),n&&jsx("div",{children:jsxs("p",{children:[s," / ",n]})})]}),r&&jsx(w,{children:r})]})},Zn=m(or);
12
12
 
13
- export { yr as ButtonPrimitive, Nr as CardPrimitive, Zr as CheckBoxPrimitive, Ve as HelperFieldPrimitive, $o as InputPrimitive, y as LabelPrimitive, ct as LicenseProvider, Zo as RadioPrimitive, Vn as SelectPrimitive, Gn as SwitchPrimitive, ri as TextAreaPrimitive, w as ValidateFieldPrimitive };
13
+ export { Tr as ButtonPrimitive, Er as CardPrimitive, Zr as CheckBoxPrimitive, Xe as HelperFieldPrimitive, Mo as InputPrimitive, C as LabelPrimitive, ct as LicenseProvider, Xo as RadioPrimitive, Hn as SelectPrimitive, _n as SwitchPrimitive, Zn as TextAreaPrimitive, w as ValidateFieldPrimitive };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvr-ui/components",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "sideEffects": false,
5
5
  "main": "dist/page.cjs",
6
6
  "module": "dist/page.js",