azero_resources 0.0.3 → 0.0.4
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/azero-resources.js +1092 -1287
- package/dist/azero-resources.umd.cjs +2 -6
- package/package.json +102 -91
- package/dist/azero-resources.css +0 -2
package/dist/azero-resources.js
CHANGED
|
@@ -1,40 +1,36 @@
|
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`@import "https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700,800&display=swap";:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:.2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0, 0, var(--toastify-z-index));width:var(--toastify-container-width);box-sizing:border-box;color:#fff;flex-direction:column;display:flex;position:fixed}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);align-items:center;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);align-items:center;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y:0px;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;word-break:break-word;flex:auto;align-items:center;margin-bottom:1rem;display:flex;position:relative}@media only screen and (width<=480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}@media only screen and (width<=480px){.Toastify__toast-container[data-stacked=true]{width:100vw}}.Toastify__toast--stacked{width:100%;transform:translate3d(0, var(--y), 0) scale(var(--s));transition:transform .3s;position:absolute}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";height:calc(var(--g) * 1px);position:absolute;bottom:100%;left:0;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";z-index:-1;height:100%;position:absolute;bottom:0;left:0;right:0;transform:scaleY(3)}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{flex-shrink:0;width:22px;margin-inline-end:10px;display:flex}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;cursor:pointer;opacity:.7;z-index:1;background:0 0;border:none;outline:none;padding:0;transition:all .3s;position:absolute;top:6px;right:6px}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;width:14px;height:16px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{z-index:1;opacity:.7;transform-origin:0;width:100%;height:100%;position:absolute;bottom:0;left:0}.Toastify__progress-bar--animated{animation:linear forwards Toastify__trackProgress}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:100%;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius);width:100%;height:5px;position:absolute;bottom:0;left:0;overflow:hidden}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{box-sizing:border-box;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);border-radius:100%;width:20px;height:20px;animation:.65s linear infinite Toastify__spin}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate(3000px)}60%{opacity:1;transform:translate(-25px)}75%{transform:translate(10px)}90%{transform:translate(-5px)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px, var(--y), 0)}to{opacity:0;transform:translate3d(2000px, var(--y), 0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate(-3000px)}60%{opacity:1;transform:translate(25px)}75%{transform:translate(-10px)}90%{transform:translate(5px)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px, var(--y), 0)}to{opacity:0;transform:translate3d(-2000px, var(--y), 0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translateY(3000px)}60%{opacity:1;transform:translateY(-20px)}75%{transform:translateY(10px)}90%{transform:translateY(-5px)}to{transform:translate(0,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0, calc(var(--y) - 10px), 0)}40%,45%{opacity:1;transform:translate3d(0, calc(var(--y) + 20px), 0)}to{opacity:0;transform:translateY(-2000px)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translateY(-3000px)}60%{opacity:1;transform:translateY(25px)}75%{transform:translateY(-10px)}90%{transform:translateY(5px)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0, calc(var(--y) - 10px), 0)}40%,45%{opacity:1;transform:translate3d(0, calc(var(--y) + 20px), 0)}to{opacity:0;transform:translateY(2000px)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0, var(--y), 0) scale3d(.3, .3, .3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{opacity:0;animation-timing-function:ease-in;transform:perspective(400px)rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px)rotateX(-20deg)}60%{opacity:1;transform:perspective(400px)rotateX(10deg)}80%{transform:perspective(400px)rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0, var(--y), 0) perspective(400px)}30%{transform:translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);opacity:1}to{transform:translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{visibility:visible;transform:translate(110%)}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInLeft{0%{visibility:visible;transform:translate(-110%)}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInUp{0%{visibility:visible;transform:translateY(110%)}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInDown{0%{visibility:visible;transform:translateY(-110%)}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(110%, var(--y), 0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(-110%, var(--y), 0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translateY(500px)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translateY(-500px)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-duration:.3s;animation-timing-function:ease-in}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-duration:.3s;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-duration:.3s;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-duration:.3s;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-font-weight: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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-leading:initial;--tw-tracking:initial;--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-ease:initial}}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-1\\/2{top:50%}.top-full{top:100%}.-right-\\[0px\\]{right:0}.right-full{right:100%}.-bottom-\\[-2px\\]{bottom:2px}.bottom-full{bottom:100%}.left-1\\/2{left:50%}.left-full{left:100%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.container{width:100%}.mx-auto{margin-inline:auto}.-mb-\\[1px\\]{margin-bottom:-1px}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-full{height:100%}.h-px{height:1px}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[75vh\\]{max-height:75vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[90vh\\]{max-height:90vh}.min-h-\\[1em\\]{min-height:1em}.min-h-\\[36px\\]{min-height:36px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[80px\\]{min-height:80px}.min-h-\\[240px\\]{min-height:240px}.w-1\\/2{width:50%}.w-\\[252px\\]{width:252px}.w-\\[260px\\]{width:260px}.w-\\[380px\\]{width:380px}.w-\\[420px\\]{width:420px}.w-\\[480px\\]{width:480px}.w-\\[500px\\]{width:500px}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.min-w-\\[8rem\\]{min-width:8rem}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-\\[1px\\]{--tw-translate-x:calc(1px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[1px\\]{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-y{resize:vertical}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\\[80px_1fr\\]{grid-template-columns:80px 1fr}.grid-cols-\\[110px_1fr\\]{grid-template-columns:110px 1fr}.grid-cols-\\[160px_1fr_1fr\\]{grid-template-columns:160px 1fr 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-solid>:not(:last-child)){--tw-border-style:solid;border-style:solid}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-\\[20px\\]{border-radius:20px}.rounded-full{border-radius:2147483647px}.rounded-none{border-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[14px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:14px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-\\[14px\\]{border-left-style:var(--tw-border-style);border-left-width:14px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#0F172A\\]{border-color:#0f172a}.border-\\[\\#E2E8F0\\]{border-color:#e2e8f0}.border-\\[\\#EF4444\\]{border-color:#ef4444}.border-transparent{border-color:#0000}.border-t-\\[\\#0F172A\\]{border-top-color:#0f172a}.border-l-transparent{border-left-color:#0000}.bg-\\[\\#0B1120\\]{background-color:#0b1120}.bg-\\[\\#0F172A\\]{background-color:#0f172a}.bg-\\[\\#22272E\\]{background-color:#22272e}.bg-\\[\\#EF4444\\]{background-color:#ef4444}.bg-\\[\\#FB713B\\]{background-color:#fb713b}.bg-\\[\\#FFFFFF\\]{background-color:#fff}.bg-inherit{background-color:inherit}.bg-transparent{background-color:#0000}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-\\[11px\\]{font-size:11px}.font-\\[400\\]{--tw-font-weight:400;font-weight:400}.font-\\[500\\]{--tw-font-weight:500;font-weight:500}.font-\\[600\\]{--tw-font-weight:600;font-weight:600}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#0F172A\\]{color:#0f172a}.text-\\[\\#64748B\\]{color:#64748b}.text-\\[\\#FFFFFF\\]{color:#fff}.text-current{color:currentColor}.uppercase{text-transform:uppercase}.overline{text-decoration-line:overline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-100{opacity:1}.shadow-\\[-2px_0_5px_-2px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow:-2px 0 5px -2px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[2px_0_5px_-2px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000000f);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)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--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)}.ring-\\[\\#0F172A\\]{--tw-ring-color:#0f172a}.ring-offset-0{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.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,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.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,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-1000{--tw-duration:1s;transition-duration:1s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:cursor-pointer::file-selector-button{cursor:pointer}.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\\:font-\\[500\\]::file-selector-button{--tw-font-weight:500;font-weight:500}.file\\:text-\\[\\#0F172A\\]::file-selector-button{color:#0f172a}.last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.focus-within\\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\\:ring-\\[\\#0F172A\\]:focus-within{--tw-ring-color:#0f172a}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-\\[\\#0F172A\\]:hover{border-color:#0f172a}.hover\\:bg-\\[\\#1E293B\\]:hover{background-color:#1e293b}.hover\\:bg-\\[\\#DC2626\\]:hover{background-color:#dc2626}.hover\\:bg-\\[\\#EA580C\\]:hover{background-color:#ea580c}.hover\\:text-\\[\\#0F172A\\]:hover{color:#0f172a}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:border-transparent:focus{border-color:#0000}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-\\[\\#0F172A\\]:focus{--tw-ring-color:#0f172a}.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-\\[\\#0F172A\\]:focus-visible{--tw-ring-color:#0f172a}.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}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.data-\\[state\\=active\\]\\:border-\\[\\#0F172A\\][data-state=active]{border-color:#0f172a}.data-\\[state\\=active\\]\\:font-\\[600\\][data-state=active]{--tw-font-weight:600;font-weight:600}.data-\\[state\\=active\\]\\:text-\\[\\#0F172A\\][data-state=active]{color:#0f172a}.\\[\\&_tbody_tr\\]\\:border-b tbody tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\\[\\&_tbody_tr\\:last-child\\]\\:border-0 tbody tr:last-child{border-style:var(--tw-border-style);border-width:0}.\\[\\&_td\\]\\:border-r td{border-right-style:var(--tw-border-style);border-right-width:1px}.\\[\\&_td\\:last-child\\]\\:border-0 td:last-child{border-style:var(--tw-border-style);border-width:0}.\\[\\&_th\\]\\:border-r th{border-right-style:var(--tw-border-style);border-right-width:1px}.\\[\\&_th\\:last-child\\]\\:border-0 th:last-child{border-style:var(--tw-border-style);border-width:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@layer theme{:root,:host{--font-sans:"Switzer", ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--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-900:oklch(39.6% .141 25.723);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-800:oklch(47.3% .137 46.201);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--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-purple-100:oklch(94.6% .033 307.174);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--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-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-normal:400;--font-weight-medium:600;--font-weight-semibold:700;--font-weight-bold:800;--tracking-wider:.05em;--leading-tight:1.25;--leading-normal:1.5;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--spacing-1:.25rem;--spacing-2:.5rem;--spacing-3:.75rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-8:2rem;--spacing-10:2.5rem;--spacing-12:3rem;--spacing-14:3.5rem;--spacing-16:4rem;--spacing-20:5rem;--radius-full:9999px;--radius-none:0px}}@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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;-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:where(:not(iframe)){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}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.top-1\\/2{top:50%}.top-3{top:var(--spacing-3)}.top-full{top:100%}.-right-\\[0px\\],.right-0{right:0}.right-3{right:var(--spacing-3)}.right-full{right:100%}.-bottom-\\[-2px\\]{bottom:2px}.bottom-0{bottom:0}.bottom-full{bottom:100%}.left-0{left:0}.left-1\\/2{left:50%}.left-full{left:100%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-1{margin:var(--spacing-1)}.-mx-1{margin-inline:calc(var(--spacing-1) * -1)}.mx-2{margin-inline:var(--spacing-2)}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing-1)}.my-4{margin-block:var(--spacing-4)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing-1)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:var(--spacing-2)}.mt-3{margin-top:var(--spacing-3)}.mt-8{margin-top:var(--spacing-8)}.-mr-1{margin-right:calc(var(--spacing-1) * -1)}.mr-2{margin-right:var(--spacing-2)}.mr-2\\.5{margin-right:calc(var(--spacing) * 2.5)}.-mb-\\[1px\\]{margin-bottom:-1px}.mb-1{margin-bottom:var(--spacing-1)}.mb-2{margin-bottom:var(--spacing-2)}.mb-3{margin-bottom:var(--spacing-3)}.-ml-1{margin-left:calc(var(--spacing-1) * -1)}.ml-1{margin-left:var(--spacing-1)}.ml-2{margin-left:var(--spacing-2)}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:0}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:var(--spacing-2)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:var(--spacing-3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:var(--spacing-4)}.h-5{height:var(--spacing-5)}.h-6{height:var(--spacing-6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:var(--spacing-8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:var(--spacing-10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:var(--spacing-12)}.h-20{height:var(--spacing-20)}.h-28{height:calc(var(--spacing) * 28)}.h-36{height:calc(var(--spacing) * 36)}.h-40{height:calc(var(--spacing) * 40)}.h-full{height:100%}.h-px{height:1px}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-60{max-height:calc(var(--spacing) * 60)}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[75vh\\]{max-height:75vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[90vh\\]{max-height:90vh}.min-h-\\[1em\\]{min-height:1em}.min-h-\\[36px\\]{min-height:36px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[80px\\]{min-height:80px}.min-h-\\[240px\\]{min-height:240px}.w-0{width:0}.w-1\\/2{width:50%}.w-2{width:var(--spacing-2)}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:var(--spacing-3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:var(--spacing-4)}.w-5{width:var(--spacing-5)}.w-6{width:var(--spacing-6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:var(--spacing-8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:var(--spacing-10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:var(--spacing-12)}.w-14{width:var(--spacing-14)}.w-16{width:var(--spacing-16)}.w-20{width:var(--spacing-20)}.w-28{width:calc(var(--spacing) * 28)}.w-36{width:calc(var(--spacing) * 36)}.w-40{width:calc(var(--spacing) * 40)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-96{width:calc(var(--spacing) * 96)}.w-\\[252px\\]{width:252px}.w-\\[260px\\]{width:260px}.w-\\[380px\\]{width:380px}.w-\\[420px\\]{width:420px}.w-\\[480px\\]{width:480px}.w-\\[500px\\]{width:500px}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-0{min-width:0}.min-w-10{min-width:var(--spacing-10)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-\\[1px\\]{--tw-translate-x:calc(1px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0\\.5{--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3\\.5{--tw-translate-x:calc(var(--spacing) * 3.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-5\\.5{--tw-translate-x:calc(var(--spacing) * 5.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[1px\\]{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-y{resize:vertical}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\\[80px_1fr\\]{grid-template-columns:80px 1fr}.grid-cols-\\[110px_1fr\\]{grid-template-columns:110px 1fr}.grid-cols-\\[160px_1fr_1fr\\]{grid-template-columns:160px 1fr 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-1{gap:var(--spacing-1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:var(--spacing-2)}.gap-3{gap:var(--spacing-3)}.gap-3\\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:var(--spacing-4)}.gap-6{gap:var(--spacing-6)}.gap-8{gap:var(--spacing-8)}.gap-12{gap:var(--spacing-12)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-1) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-2) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-3) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-4) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-6) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-8) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--spacing-4) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--spacing-4) * calc(1 - var(--tw-space-x-reverse)))}.gap-y-2{row-gap:var(--spacing-2)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-solid>:not(:last-child)){--tw-border-style:solid;border-style:solid}:where(.divide-slate-100>:not(:last-child)){border-color:var(--color-slate-100)}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[20px\\]{border-radius:20px}.rounded-full{border-radius:var(--radius-full)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:var(--radius-none)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[14px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:14px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-\\[14px\\]{border-left-style:var(--tw-border-style);border-left-width:14px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#0F172A\\]{border-color:#0f172a}.border-\\[\\#E2E8F0\\]{border-color:#e2e8f0}.border-\\[\\#EF4444\\]{border-color:#ef4444}.border-cyan-500{border-color:var(--color-cyan-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-red-300{border-color:var(--color-red-300)}.border-red-400{border-color:var(--color-red-400)}.border-red-500{border-color:var(--color-red-500)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-900{border-color:var(--color-slate-900)}.border-transparent{border-color:#0000}.border-white\\/40{border-color:#fff6}@supports (color:color-mix(in lab, red, red)){.border-white\\/40{border-color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.border-t-\\[\\#0F172A\\]{border-top-color:#0f172a}.border-b-cyan-500{border-bottom-color:var(--color-cyan-500)}.border-l-transparent{border-left-color:#0000}.bg-\\[\\#0B1120\\]{background-color:#0b1120}.bg-\\[\\#0F172A\\]{background-color:#0f172a}.bg-\\[\\#22272E\\]{background-color:#22272e}.bg-\\[\\#EF4444\\]{background-color:#ef4444}.bg-\\[\\#FB713B\\]{background-color:#fb713b}.bg-\\[\\#FFFFFF\\]{background-color:#fff}.bg-amber-100{background-color:var(--color-amber-100)}.bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab, red, red)){.bg-black\\/30{background-color:color-mix(in oklab, var(--color-black) 30%, transparent)}}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab, red, red)){.bg-black\\/40{background-color:color-mix(in oklab, var(--color-black) 40%, transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-inherit{background-color:inherit}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50\\/20{background-color:#fef2f233}@supports (color:color-mix(in lab, red, red)){.bg-red-50\\/20{background-color:color-mix(in oklab, var(--color-red-50) 20%, transparent)}}.bg-red-50\\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab, red, red)){.bg-red-50\\/30{background-color:color-mix(in oklab, var(--color-red-50) 30%, transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\\/50{background-color:#f8fafc80}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/50{background-color:color-mix(in oklab, var(--color-slate-50) 50%, transparent)}}.bg-slate-50\\/60{background-color:#f8fafc99}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/60{background-color:color-mix(in oklab, var(--color-slate-50) 60%, transparent)}}.bg-slate-50\\/70{background-color:#f8fafcb3}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/70{background-color:color-mix(in oklab, var(--color-slate-50) 70%, transparent)}}.bg-slate-50\\/80{background-color:#f8fafccc}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\\/80{background-color:color-mix(in oklab, var(--color-slate-50) 80%, transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-700{background-color:var(--color-slate-700)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\\/90{background-color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing-1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:var(--spacing-2)}.p-3{padding:var(--spacing-3)}.p-3\\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:var(--spacing-4)}.p-5{padding:var(--spacing-5)}.p-6{padding:var(--spacing-6)}.p-8{padding:var(--spacing-8)}.p-12{padding:var(--spacing-12)}.px-1{padding-inline:var(--spacing-1)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:var(--spacing-2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:var(--spacing-3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:var(--spacing-4)}.px-6{padding-inline:var(--spacing-6)}.px-8{padding-inline:var(--spacing-8)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing-1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:var(--spacing-2)}.py-8{padding-block:var(--spacing-8)}.pt-4{padding-top:var(--spacing-4)}.pt-6{padding-top:var(--spacing-6)}.pr-2{padding-right:var(--spacing-2)}.pr-3{padding-right:var(--spacing-3)}.pr-4\\.5{padding-right:calc(var(--spacing) * 4.5)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2\\.5{padding-bottom:calc(var(--spacing) * 2.5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.leading-4{--tw-leading:var(--spacing-4);line-height:var(--spacing-4)}.leading-5{--tw-leading:var(--spacing-5);line-height:var(--spacing-5)}.leading-6{--tw-leading:var(--spacing-6);line-height:var(--spacing-6)}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-\\[400\\]{--tw-font-weight:400;font-weight:400}.font-\\[500\\]{--tw-font-weight:500;font-weight:500}.font-\\[600\\]{--tw-font-weight:600;font-weight:600}.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-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#0F172A\\]{color:#0f172a}.text-\\[\\#64748B\\]{color:#64748b}.text-\\[\\#FFFFFF\\]{color:#fff}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-amber-800{color:var(--color-amber-800)}.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-current{color:currentColor}.text-cyan-600{color:var(--color-cyan-600)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-purple-400{color:var(--color-purple-400)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-900{color:var(--color-red-900)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-slate-950{color:var(--color-slate-950)}.text-white{color:var(--color-white)}.text-white\\/90{color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.text-white\\/90{color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.uppercase{text-transform:uppercase}.overline{text-decoration-line:overline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-100{opacity:1}.shadow{--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-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[-2px_0_5px_-2px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow:-2px 0 5px -2px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[2px_0_5px_-2px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow:2px 0 5px -2px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--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)}.ring-\\[\\#0F172A\\]{--tw-ring-color:#0f172a}.ring-offset-0{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:cursor-pointer::file-selector-button{cursor:pointer}.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-\\[500\\]::file-selector-button{--tw-font-weight:500;font-weight:500}.file\\:text-\\[\\#0F172A\\]::file-selector-button{color:#0f172a}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-red-300::placeholder{color:var(--color-red-300)}.first\\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.last\\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.focus-within\\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\\:ring-\\[\\#0F172A\\]:focus-within{--tw-ring-color:#0f172a}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-\\[\\#0F172A\\]:hover{border-color:#0f172a}.hover\\:bg-\\[\\#1E293B\\]:hover{background-color:#1e293b}.hover\\:bg-\\[\\#DC2626\\]:hover{background-color:#dc2626}.hover\\:bg-\\[\\#EA580C\\]:hover{background-color:#ea580c}.hover\\:bg-amber-200\\/80:hover{background-color:#fee685cc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-amber-200\\/80:hover{background-color:color-mix(in oklab, var(--color-amber-200) 80%, transparent)}}.hover\\:bg-black\\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-black\\/10:hover{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.hover\\:bg-blue-200\\/80:hover{background-color:#bedbffcc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-blue-200\\/80:hover{background-color:color-mix(in oklab, var(--color-blue-200) 80%, transparent)}}.hover\\:bg-cyan-50\\/50:hover{background-color:#ecfeff80}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-cyan-50\\/50:hover{background-color:color-mix(in oklab, var(--color-cyan-50) 50%, transparent)}}.hover\\:bg-emerald-200\\/80:hover{background-color:#a4f4cfcc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-emerald-200\\/80:hover{background-color:color-mix(in oklab, var(--color-emerald-200) 80%, transparent)}}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-slate-50\\/80:hover{background-color:#f8fafccc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-slate-50\\/80:hover{background-color:color-mix(in oklab, var(--color-slate-50) 80%, transparent)}}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\\:bg-slate-200\\/70:hover{background-color:#e2e8f0b3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-slate-200\\/70:hover{background-color:color-mix(in oklab, var(--color-slate-200) 70%, transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.hover\\:text-\\[\\#0F172A\\]:hover{color:#0f172a}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-700:hover{color:var(--color-slate-700)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:border-transparent:focus{border-color:#0000}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-\\[\\#0F172A\\]:focus{--tw-ring-color:#0f172a}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:ring-white:focus{--tw-ring-color:var(--color-white)}.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-\\[\\#0F172A\\]:focus-visible{--tw-ring-color:#0f172a}.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}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-slate-50:disabled{background-color:var(--color-slate-50)}.disabled\\:opacity-50:disabled{opacity:.5}.data-\\[state\\=active\\]\\:border-\\[\\#0F172A\\][data-state=active]{border-color:#0f172a}.data-\\[state\\=active\\]\\:bg-white[data-state=active]{background-color:var(--color-white)}.data-\\[state\\=active\\]\\:font-\\[600\\][data-state=active]{--tw-font-weight:600;font-weight:600}.data-\\[state\\=active\\]\\:text-\\[\\#0F172A\\][data-state=active]{color:#0f172a}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\\[state\\=selected\\]\\:bg-slate-100[data-state=selected]{background-color:var(--color-slate-100)}@media (width>=48rem){.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&_tbody_tr\\]\\:border-b tbody tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\\[\\&_tbody_tr\\]\\:border-slate-100 tbody tr{border-color:var(--color-slate-100)}.\\[\\&_tbody_tr\\:last-child\\]\\:border-0 tbody tr:last-child{border-style:var(--tw-border-style);border-width:0}.\\[\\&_tbody_tr\\:nth-child\\(even\\)\\]\\:bg-slate-50\\/60 tbody tr:nth-child(2n){background-color:#f8fafc99}@supports (color:color-mix(in lab, red, red)){.\\[\\&_tbody_tr\\:nth-child\\(even\\)\\]\\:bg-slate-50\\/60 tbody tr:nth-child(2n){background-color:color-mix(in oklab, var(--color-slate-50) 60%, transparent)}}.\\[\\&_td\\]\\:border-r td{border-right-style:var(--tw-border-style);border-right-width:1px}.\\[\\&_td\\]\\:border-slate-100 td{border-color:var(--color-slate-100)}.\\[\\&_td\\]\\:px-3 td{padding-inline:var(--spacing-3)}.\\[\\&_td\\]\\:px-4 td{padding-inline:var(--spacing-4)}.\\[\\&_td\\]\\:px-6 td{padding-inline:var(--spacing-6)}.\\[\\&_td\\]\\:py-2\\.5 td{padding-block:calc(var(--spacing) * 2.5)}.\\[\\&_td\\]\\:py-3\\.5 td{padding-block:calc(var(--spacing) * 3.5)}.\\[\\&_td\\]\\:py-4\\.5 td{padding-block:calc(var(--spacing) * 4.5)}.\\[\\&_td\\:last-child\\]\\:border-0 td:last-child{border-style:var(--tw-border-style);border-width:0}.\\[\\&_th\\]\\:border-r th{border-right-style:var(--tw-border-style);border-right-width:1px}.\\[\\&_th\\]\\:border-slate-200 th{border-color:var(--color-slate-200)}.\\[\\&_th\\]\\:px-3 th{padding-inline:var(--spacing-3)}.\\[\\&_th\\]\\:px-4 th{padding-inline:var(--spacing-4)}.\\[\\&_th\\]\\:px-6 th{padding-inline:var(--spacing-6)}.\\[\\&_th\\]\\:py-2\\.5 th{padding-block:calc(var(--spacing) * 2.5)}.\\[\\&_th\\]\\:py-3\\.5 th{padding-block:calc(var(--spacing) * 3.5)}.\\[\\&_th\\]\\:py-4\\.5 th{padding-block:calc(var(--spacing) * 4.5)}.\\[\\&_th\\:last-child\\]\\:border-0 th:last-child{border-style:var(--tw-border-style);border-width:0}}body{min-height:100vh;font-family:Switzer,ui-sans-serif,system-ui,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem}body::-webkit-scrollbar{display:none}.show{display:flex}.hide{display:none}@media (width<=949px){.show{display:none}.hide{display:flex}.mobile{flex-direction:row-reverse;justify-content:flex-end}.mobile1{width:50%}.hamburger{justify-content:flex-start}}.anime{animation-name:animemobile;animation-duration:.2s;animation-timing-function:ease-in;animation-fill-mode:forwards;transform:translate(0%)}@keyframes anime{0%{transform:translate(100%)}to{transform:translate(0%)}}@keyframes animemobile{0%{transform:translate(-100%)}to{transform:translate(0%)}}.scrollbar-white::-webkit-scrollbar{display:none}.sb-show-main.sb-main-centered #storybook-root{margin:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@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-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
1
2
|
import e, { createContext as t, forwardRef as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useId as s, useImperativeHandle as c, useLayoutEffect as l, useRef as u, useState as d } from "react";
|
|
2
|
-
|
|
3
|
-
var f = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), p = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
4
|
-
if (typeof require < "u") return require.apply(this, arguments);
|
|
5
|
-
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
6
|
-
});
|
|
7
|
-
//#endregion
|
|
3
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
8
4
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
9
|
-
function
|
|
5
|
+
function h(e) {
|
|
10
6
|
var t, n, r = "";
|
|
11
7
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
12
8
|
else if (typeof e == "object") {
|
|
13
9
|
if (Array.isArray(e)) {
|
|
14
10
|
var i = e.length;
|
|
15
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
11
|
+
for (t = 0; t < i; t++) e[t] && (n = h(e[t])) && (r && (r += " "), r += n);
|
|
16
12
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
17
13
|
}
|
|
18
14
|
return r;
|
|
19
15
|
}
|
|
20
|
-
function
|
|
21
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
16
|
+
function g() {
|
|
17
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = h(e)) && (r && (r += " "), r += t);
|
|
22
18
|
return r;
|
|
23
19
|
}
|
|
24
20
|
//#endregion
|
|
25
21
|
//#region node_modules/class-variance-authority/dist/index.mjs
|
|
26
|
-
var
|
|
27
|
-
if (t?.variants == null) return
|
|
22
|
+
var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e, t) => (n) => {
|
|
23
|
+
if (t?.variants == null) return v(e, n?.class, n?.className);
|
|
28
24
|
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
29
25
|
let t = n?.[e], a = i?.[e];
|
|
30
26
|
if (t === null) return null;
|
|
31
|
-
let o =
|
|
27
|
+
let o = _(t) || _(a);
|
|
32
28
|
return r[e][o];
|
|
33
29
|
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
34
30
|
let [n, r] = t;
|
|
35
31
|
return r === void 0 || (e[n] = r), e;
|
|
36
32
|
}, {});
|
|
37
|
-
return
|
|
33
|
+
return v(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
38
34
|
let { class: n, className: r, ...a } = t;
|
|
39
35
|
return Object.entries(a).every((e) => {
|
|
40
36
|
let [t, n] = e;
|
|
@@ -51,100 +47,100 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
51
47
|
r
|
|
52
48
|
] : e;
|
|
53
49
|
}, []), n?.class, n?.className);
|
|
54
|
-
},
|
|
50
|
+
}, b = (e, t) => {
|
|
55
51
|
let n = Array(e.length + t.length);
|
|
56
52
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
57
53
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
58
54
|
return n;
|
|
59
|
-
},
|
|
55
|
+
}, x = (e, t) => ({
|
|
60
56
|
classGroupId: e,
|
|
61
57
|
validator: t
|
|
62
|
-
}),
|
|
58
|
+
}), S = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
63
59
|
nextPart: e,
|
|
64
60
|
validators: t,
|
|
65
61
|
classGroupId: n
|
|
66
|
-
}),
|
|
67
|
-
let t =
|
|
62
|
+
}), C = "-", w = [], T = "arbitrary..", E = (e) => {
|
|
63
|
+
let t = k(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
68
64
|
return {
|
|
69
65
|
getClassGroupId: (e) => {
|
|
70
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
71
|
-
let n = e.split(
|
|
72
|
-
return
|
|
66
|
+
if (e.startsWith("[") && e.endsWith("]")) return O(e);
|
|
67
|
+
let n = e.split(C);
|
|
68
|
+
return D(n, +(n[0] === "" && n.length > 1), t);
|
|
73
69
|
},
|
|
74
70
|
getConflictingClassGroupIds: (e, t) => {
|
|
75
71
|
if (t) {
|
|
76
72
|
let t = r[e], i = n[e];
|
|
77
|
-
return t ? i ?
|
|
73
|
+
return t ? i ? b(i, t) : t : i || w;
|
|
78
74
|
}
|
|
79
|
-
return n[e] ||
|
|
75
|
+
return n[e] || w;
|
|
80
76
|
}
|
|
81
77
|
};
|
|
82
|
-
},
|
|
78
|
+
}, D = (e, t, n) => {
|
|
83
79
|
if (e.length - t === 0) return n.classGroupId;
|
|
84
80
|
let r = e[t], i = n.nextPart.get(r);
|
|
85
81
|
if (i) {
|
|
86
|
-
let n =
|
|
82
|
+
let n = D(e, t + 1, i);
|
|
87
83
|
if (n) return n;
|
|
88
84
|
}
|
|
89
85
|
let a = n.validators;
|
|
90
86
|
if (a === null) return;
|
|
91
|
-
let o = t === 0 ? e.join(
|
|
87
|
+
let o = t === 0 ? e.join(C) : e.slice(t).join(C), s = a.length;
|
|
92
88
|
for (let e = 0; e < s; e++) {
|
|
93
89
|
let t = a[e];
|
|
94
90
|
if (t.validator(o)) return t.classGroupId;
|
|
95
91
|
}
|
|
96
|
-
},
|
|
92
|
+
}, O = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
97
93
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
98
|
-
return r ?
|
|
99
|
-
})(),
|
|
94
|
+
return r ? T + r : void 0;
|
|
95
|
+
})(), k = (e) => {
|
|
100
96
|
let { theme: t, classGroups: n } = e;
|
|
101
|
-
return
|
|
102
|
-
},
|
|
103
|
-
let n =
|
|
97
|
+
return A(n, t);
|
|
98
|
+
}, A = (e, t) => {
|
|
99
|
+
let n = S();
|
|
104
100
|
for (let r in e) {
|
|
105
101
|
let i = e[r];
|
|
106
|
-
|
|
102
|
+
j(i, n, r, t);
|
|
107
103
|
}
|
|
108
104
|
return n;
|
|
109
|
-
},
|
|
105
|
+
}, j = (e, t, n, r) => {
|
|
110
106
|
let i = e.length;
|
|
111
107
|
for (let a = 0; a < i; a++) {
|
|
112
108
|
let i = e[a];
|
|
113
|
-
|
|
109
|
+
M(i, t, n, r);
|
|
114
110
|
}
|
|
115
|
-
},
|
|
111
|
+
}, M = (e, t, n, r) => {
|
|
116
112
|
if (typeof e == "string") {
|
|
117
|
-
|
|
113
|
+
N(e, t, n);
|
|
118
114
|
return;
|
|
119
115
|
}
|
|
120
116
|
if (typeof e == "function") {
|
|
121
|
-
|
|
117
|
+
P(e, t, n, r);
|
|
122
118
|
return;
|
|
123
119
|
}
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
let r = e === "" ? t :
|
|
120
|
+
ee(e, t, n, r);
|
|
121
|
+
}, N = (e, t, n) => {
|
|
122
|
+
let r = e === "" ? t : F(t, e);
|
|
127
123
|
r.classGroupId = n;
|
|
128
|
-
},
|
|
129
|
-
if (
|
|
130
|
-
|
|
124
|
+
}, P = (e, t, n, r) => {
|
|
125
|
+
if (te(e)) {
|
|
126
|
+
j(e(r), t, n, r);
|
|
131
127
|
return;
|
|
132
128
|
}
|
|
133
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
134
|
-
},
|
|
129
|
+
t.validators === null && (t.validators = []), t.validators.push(x(n, e));
|
|
130
|
+
}, ee = (e, t, n, r) => {
|
|
135
131
|
let i = Object.entries(e), a = i.length;
|
|
136
132
|
for (let e = 0; e < a; e++) {
|
|
137
133
|
let [a, o] = i[e];
|
|
138
|
-
|
|
134
|
+
j(o, F(t, a), n, r);
|
|
139
135
|
}
|
|
140
|
-
},
|
|
141
|
-
let n = e, r = t.split(
|
|
136
|
+
}, F = (e, t) => {
|
|
137
|
+
let n = e, r = t.split(C), i = r.length;
|
|
142
138
|
for (let e = 0; e < i; e++) {
|
|
143
139
|
let t = r[e], i = n.nextPart.get(t);
|
|
144
|
-
i || (i =
|
|
140
|
+
i || (i = S(), n.nextPart.set(t, i)), n = i;
|
|
145
141
|
}
|
|
146
142
|
return n;
|
|
147
|
-
},
|
|
143
|
+
}, te = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ne = (e) => {
|
|
148
144
|
if (e < 1) return {
|
|
149
145
|
get: () => void 0,
|
|
150
146
|
set: () => {}
|
|
@@ -162,19 +158,19 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
162
158
|
e in n ? n[e] = t : i(e, t);
|
|
163
159
|
}
|
|
164
160
|
};
|
|
165
|
-
},
|
|
161
|
+
}, re = "!", ie = ":", I = [], L = (e, t, n, r, i) => ({
|
|
166
162
|
modifiers: e,
|
|
167
163
|
hasImportantModifier: t,
|
|
168
164
|
baseClassName: n,
|
|
169
165
|
maybePostfixModifierPosition: r,
|
|
170
166
|
isExternal: i
|
|
171
|
-
}),
|
|
167
|
+
}), ae = (e) => {
|
|
172
168
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
173
169
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
174
170
|
for (let s = 0; s < o; s++) {
|
|
175
171
|
let o = e[s];
|
|
176
172
|
if (n === 0 && r === 0) {
|
|
177
|
-
if (o ===
|
|
173
|
+
if (o === ie) {
|
|
178
174
|
t.push(e.slice(i, s)), i = s + 1;
|
|
179
175
|
continue;
|
|
180
176
|
}
|
|
@@ -186,13 +182,13 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
186
182
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
187
183
|
}
|
|
188
184
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
189
|
-
s.endsWith(
|
|
185
|
+
s.endsWith(re) ? (c = s.slice(0, -1), l = !0) : s.startsWith(re) && (c = s.slice(1), l = !0);
|
|
190
186
|
let u = a && a > i ? a - i : void 0;
|
|
191
187
|
return L(t, l, c, u);
|
|
192
188
|
};
|
|
193
189
|
if (t) {
|
|
194
|
-
let e = t +
|
|
195
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : L(
|
|
190
|
+
let e = t + ie, n = r;
|
|
191
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : L(I, !1, t, void 0, !0);
|
|
196
192
|
}
|
|
197
193
|
if (n) {
|
|
198
194
|
let e = r;
|
|
@@ -202,7 +198,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
202
198
|
});
|
|
203
199
|
}
|
|
204
200
|
return r;
|
|
205
|
-
},
|
|
201
|
+
}, oe = (e) => {
|
|
206
202
|
let t = /* @__PURE__ */ new Map();
|
|
207
203
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
208
204
|
t.set(e, 1e6 + n);
|
|
@@ -214,18 +210,18 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
214
210
|
}
|
|
215
211
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
216
212
|
};
|
|
217
|
-
},
|
|
218
|
-
cache:
|
|
219
|
-
parseClassName:
|
|
220
|
-
sortModifiers:
|
|
221
|
-
postfixLookupClassGroupIds:
|
|
222
|
-
...
|
|
223
|
-
}),
|
|
213
|
+
}, R = (e) => ({
|
|
214
|
+
cache: ne(e.cacheSize),
|
|
215
|
+
parseClassName: ae(e),
|
|
216
|
+
sortModifiers: oe(e),
|
|
217
|
+
postfixLookupClassGroupIds: se(e),
|
|
218
|
+
...E(e)
|
|
219
|
+
}), se = (e) => {
|
|
224
220
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
225
221
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
226
222
|
return t;
|
|
227
|
-
},
|
|
228
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
223
|
+
}, ce = /\s+/, le = (e, t) => {
|
|
224
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ce), l = "";
|
|
229
225
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
230
226
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
231
227
|
if (u) {
|
|
@@ -249,7 +245,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
249
245
|
}
|
|
250
246
|
h = !1;
|
|
251
247
|
}
|
|
252
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
248
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + re : _, y = v + g;
|
|
253
249
|
if (s.indexOf(y) > -1) continue;
|
|
254
250
|
s.push(y);
|
|
255
251
|
let b = i(g, h);
|
|
@@ -260,34 +256,34 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
260
256
|
l = t + (l.length > 0 ? " " + l : l);
|
|
261
257
|
}
|
|
262
258
|
return l;
|
|
263
|
-
},
|
|
259
|
+
}, ue = (...e) => {
|
|
264
260
|
let t = 0, n, r, i = "";
|
|
265
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
261
|
+
for (; t < e.length;) (n = e[t++]) && (r = de(n)) && (i && (i += " "), i += r);
|
|
266
262
|
return i;
|
|
267
|
-
},
|
|
263
|
+
}, de = (e) => {
|
|
268
264
|
if (typeof e == "string") return e;
|
|
269
265
|
let t, n = "";
|
|
270
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
266
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = de(e[r])) && (n && (n += " "), n += t);
|
|
271
267
|
return n;
|
|
272
|
-
},
|
|
273
|
-
let n, r, i, a, o = (o) => (n =
|
|
268
|
+
}, fe = (e, ...t) => {
|
|
269
|
+
let n, r, i, a, o = (o) => (n = R(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
274
270
|
let t = r(e);
|
|
275
271
|
if (t) return t;
|
|
276
|
-
let a =
|
|
272
|
+
let a = le(e, n);
|
|
277
273
|
return i(e, a), a;
|
|
278
274
|
};
|
|
279
|
-
return a = o, (...e) => a(
|
|
280
|
-
},
|
|
281
|
-
let t = (t) => t[e] ||
|
|
275
|
+
return a = o, (...e) => a(ue(...e));
|
|
276
|
+
}, pe = [], z = (e) => {
|
|
277
|
+
let t = (t) => t[e] || pe;
|
|
282
278
|
return t.isThemeGetter = !0, t.themeKey = e, t;
|
|
283
|
-
},
|
|
284
|
-
let r =
|
|
279
|
+
}, me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, he = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ge = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, _e = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ve = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ye = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, be = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => ge.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), Se = (e) => e.endsWith("%") && V(e.slice(0, -1)), U = (e) => _e.test(e), Ce = () => !0, we = (e) => ve.test(e) && !ye.test(e), Te = () => !1, Ee = (e) => be.test(e), De = (e) => xe.test(e), Oe = (e) => !W(e) && !K(e), ke = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Ae = (e) => q(e, Ke, Te), W = (e) => me.test(e), G = (e) => q(e, qe, we), je = (e) => q(e, Je, V), Me = (e) => q(e, Xe, Ce), Ne = (e) => q(e, Ye, Te), Pe = (e) => q(e, We, Te), Fe = (e) => q(e, Ge, De), Ie = (e) => q(e, Ze, Ee), K = (e) => he.test(e), Le = (e) => J(e, qe), Re = (e) => J(e, Ye), ze = (e) => J(e, We), Be = (e) => J(e, Ke), Ve = (e) => J(e, Ge), He = (e) => J(e, Ze, !0), Ue = (e) => J(e, Xe, !0), q = (e, t, n) => {
|
|
280
|
+
let r = me.exec(e);
|
|
285
281
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
286
|
-
},
|
|
287
|
-
let r =
|
|
282
|
+
}, J = (e, t, n = !1) => {
|
|
283
|
+
let r = he.exec(e);
|
|
288
284
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
289
|
-
}, We = (e) => e === "position" || e === "percentage", Ge = (e) => e === "image" || e === "url", Ke = (e) => e === "length" || e === "size" || e === "bg-size", qe = (e) => e === "length", Je = (e) => e === "number", Ye = (e) => e === "family-name", Xe = (e) => e === "number" || e === "weight", Ze = (e) => e === "shadow", Qe = /*#__PURE__*/
|
|
290
|
-
let e =
|
|
285
|
+
}, We = (e) => e === "position" || e === "percentage", Ge = (e) => e === "image" || e === "url", Ke = (e) => e === "length" || e === "size" || e === "bg-size", qe = (e) => e === "length", Je = (e) => e === "number", Ye = (e) => e === "family-name", Xe = (e) => e === "number" || e === "weight", Ze = (e) => e === "shadow", Qe = /*#__PURE__*/ fe(() => {
|
|
286
|
+
let e = z("color"), t = z("font"), n = z("text"), r = z("font-weight"), i = z("tracking"), a = z("leading"), o = z("breakpoint"), s = z("container"), c = z("spacing"), l = z("radius"), u = z("shadow"), d = z("inset-shadow"), f = z("text-shadow"), p = z("drop-shadow"), m = z("blur"), h = z("perspective"), g = z("aspect"), _ = z("ease"), v = z("animate"), y = () => [
|
|
291
287
|
"auto",
|
|
292
288
|
"avoid",
|
|
293
289
|
"all",
|
|
@@ -313,7 +309,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
313
309
|
], x = () => [
|
|
314
310
|
...b(),
|
|
315
311
|
K,
|
|
316
|
-
|
|
312
|
+
W
|
|
317
313
|
], S = () => [
|
|
318
314
|
"auto",
|
|
319
315
|
"hidden",
|
|
@@ -326,42 +322,42 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
326
322
|
"none"
|
|
327
323
|
], w = () => [
|
|
328
324
|
K,
|
|
329
|
-
|
|
325
|
+
W,
|
|
330
326
|
c
|
|
331
327
|
], T = () => [
|
|
332
|
-
|
|
328
|
+
B,
|
|
333
329
|
"full",
|
|
334
330
|
"auto",
|
|
335
331
|
...w()
|
|
336
332
|
], E = () => [
|
|
337
|
-
|
|
333
|
+
H,
|
|
338
334
|
"none",
|
|
339
335
|
"subgrid",
|
|
340
336
|
K,
|
|
341
|
-
|
|
337
|
+
W
|
|
342
338
|
], D = () => [
|
|
343
339
|
"auto",
|
|
344
340
|
{ span: [
|
|
345
341
|
"full",
|
|
346
|
-
|
|
342
|
+
H,
|
|
347
343
|
K,
|
|
348
|
-
|
|
344
|
+
W
|
|
349
345
|
] },
|
|
350
|
-
|
|
346
|
+
H,
|
|
351
347
|
K,
|
|
352
|
-
|
|
348
|
+
W
|
|
353
349
|
], O = () => [
|
|
354
|
-
|
|
350
|
+
H,
|
|
355
351
|
"auto",
|
|
356
352
|
K,
|
|
357
|
-
|
|
353
|
+
W
|
|
358
354
|
], k = () => [
|
|
359
355
|
"auto",
|
|
360
356
|
"min",
|
|
361
357
|
"max",
|
|
362
358
|
"fr",
|
|
363
359
|
K,
|
|
364
|
-
|
|
360
|
+
W
|
|
365
361
|
], A = () => [
|
|
366
362
|
"start",
|
|
367
363
|
"end",
|
|
@@ -381,7 +377,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
381
377
|
"center-safe",
|
|
382
378
|
"end-safe"
|
|
383
379
|
], M = () => ["auto", ...w()], N = () => [
|
|
384
|
-
|
|
380
|
+
B,
|
|
385
381
|
"auto",
|
|
386
382
|
"full",
|
|
387
383
|
"dvw",
|
|
@@ -396,7 +392,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
396
392
|
...w()
|
|
397
393
|
], P = () => [
|
|
398
394
|
s,
|
|
399
|
-
|
|
395
|
+
B,
|
|
400
396
|
"screen",
|
|
401
397
|
"full",
|
|
402
398
|
"dvw",
|
|
@@ -407,7 +403,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
407
403
|
"fit",
|
|
408
404
|
...w()
|
|
409
405
|
], ee = () => [
|
|
410
|
-
|
|
406
|
+
B,
|
|
411
407
|
"screen",
|
|
412
408
|
"full",
|
|
413
409
|
"lh",
|
|
@@ -421,47 +417,47 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
421
417
|
], F = () => [
|
|
422
418
|
e,
|
|
423
419
|
K,
|
|
424
|
-
|
|
420
|
+
W
|
|
425
421
|
], te = () => [
|
|
426
422
|
...b(),
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
{ position: [K,
|
|
430
|
-
],
|
|
423
|
+
ze,
|
|
424
|
+
Pe,
|
|
425
|
+
{ position: [K, W] }
|
|
426
|
+
], ne = () => ["no-repeat", { repeat: [
|
|
431
427
|
"",
|
|
432
428
|
"x",
|
|
433
429
|
"y",
|
|
434
430
|
"space",
|
|
435
431
|
"round"
|
|
436
|
-
] }],
|
|
432
|
+
] }], re = () => [
|
|
437
433
|
"auto",
|
|
438
434
|
"cover",
|
|
439
435
|
"contain",
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
{ size: [K,
|
|
443
|
-
],
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
],
|
|
436
|
+
Be,
|
|
437
|
+
Ae,
|
|
438
|
+
{ size: [K, W] }
|
|
439
|
+
], ie = () => [
|
|
440
|
+
Se,
|
|
441
|
+
Le,
|
|
442
|
+
G
|
|
443
|
+
], I = () => [
|
|
448
444
|
"",
|
|
449
445
|
"none",
|
|
450
446
|
"full",
|
|
451
447
|
l,
|
|
452
448
|
K,
|
|
453
|
-
|
|
454
|
-
],
|
|
449
|
+
W
|
|
450
|
+
], L = () => [
|
|
455
451
|
"",
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
],
|
|
452
|
+
V,
|
|
453
|
+
Le,
|
|
454
|
+
G
|
|
455
|
+
], ae = () => [
|
|
460
456
|
"solid",
|
|
461
457
|
"dashed",
|
|
462
458
|
"dotted",
|
|
463
459
|
"double"
|
|
464
|
-
],
|
|
460
|
+
], oe = () => [
|
|
465
461
|
"normal",
|
|
466
462
|
"multiply",
|
|
467
463
|
"screen",
|
|
@@ -478,33 +474,33 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
478
474
|
"saturation",
|
|
479
475
|
"color",
|
|
480
476
|
"luminosity"
|
|
481
|
-
],
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
],
|
|
477
|
+
], R = () => [
|
|
478
|
+
V,
|
|
479
|
+
Se,
|
|
480
|
+
ze,
|
|
481
|
+
Pe
|
|
482
|
+
], se = () => [
|
|
487
483
|
"",
|
|
488
484
|
"none",
|
|
489
485
|
m,
|
|
490
486
|
K,
|
|
491
|
-
|
|
492
|
-
], se = () => [
|
|
493
|
-
"none",
|
|
494
|
-
H,
|
|
495
|
-
K,
|
|
496
|
-
G
|
|
487
|
+
W
|
|
497
488
|
], ce = () => [
|
|
498
489
|
"none",
|
|
499
|
-
|
|
490
|
+
V,
|
|
500
491
|
K,
|
|
501
|
-
|
|
492
|
+
W
|
|
502
493
|
], le = () => [
|
|
503
|
-
|
|
494
|
+
"none",
|
|
495
|
+
V,
|
|
504
496
|
K,
|
|
505
|
-
|
|
497
|
+
W
|
|
506
498
|
], ue = () => [
|
|
507
499
|
V,
|
|
500
|
+
K,
|
|
501
|
+
W
|
|
502
|
+
], de = () => [
|
|
503
|
+
B,
|
|
508
504
|
"full",
|
|
509
505
|
...w()
|
|
510
506
|
];
|
|
@@ -518,17 +514,17 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
518
514
|
"bounce"
|
|
519
515
|
],
|
|
520
516
|
aspect: ["video"],
|
|
521
|
-
blur: [
|
|
522
|
-
breakpoint: [
|
|
523
|
-
color: [
|
|
524
|
-
container: [
|
|
525
|
-
"drop-shadow": [
|
|
517
|
+
blur: [U],
|
|
518
|
+
breakpoint: [U],
|
|
519
|
+
color: [Ce],
|
|
520
|
+
container: [U],
|
|
521
|
+
"drop-shadow": [U],
|
|
526
522
|
ease: [
|
|
527
523
|
"in",
|
|
528
524
|
"out",
|
|
529
525
|
"in-out"
|
|
530
526
|
],
|
|
531
|
-
font: [
|
|
527
|
+
font: [Oe],
|
|
532
528
|
"font-weight": [
|
|
533
529
|
"thin",
|
|
534
530
|
"extralight",
|
|
@@ -540,7 +536,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
540
536
|
"extrabold",
|
|
541
537
|
"black"
|
|
542
538
|
],
|
|
543
|
-
"inset-shadow": [
|
|
539
|
+
"inset-shadow": [U],
|
|
544
540
|
leading: [
|
|
545
541
|
"none",
|
|
546
542
|
"tight",
|
|
@@ -557,11 +553,11 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
557
553
|
"distant",
|
|
558
554
|
"none"
|
|
559
555
|
],
|
|
560
|
-
radius: [
|
|
561
|
-
shadow: [
|
|
562
|
-
spacing: ["px",
|
|
563
|
-
text: [
|
|
564
|
-
"text-shadow": [
|
|
556
|
+
radius: [U],
|
|
557
|
+
shadow: [U],
|
|
558
|
+
spacing: ["px", V],
|
|
559
|
+
text: [U],
|
|
560
|
+
"text-shadow": [U],
|
|
565
561
|
tracking: [
|
|
566
562
|
"tighter",
|
|
567
563
|
"tight",
|
|
@@ -575,8 +571,8 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
575
571
|
aspect: [{ aspect: [
|
|
576
572
|
"auto",
|
|
577
573
|
"square",
|
|
578
|
-
|
|
579
|
-
|
|
574
|
+
B,
|
|
575
|
+
W,
|
|
580
576
|
K,
|
|
581
577
|
g
|
|
582
578
|
] }],
|
|
@@ -586,13 +582,13 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
586
582
|
"normal",
|
|
587
583
|
"size",
|
|
588
584
|
K,
|
|
589
|
-
|
|
585
|
+
W
|
|
590
586
|
] }],
|
|
591
|
-
"container-named": [
|
|
587
|
+
"container-named": [ke],
|
|
592
588
|
columns: [{ columns: [
|
|
593
|
-
|
|
589
|
+
V,
|
|
594
590
|
"auto",
|
|
595
|
-
|
|
591
|
+
W,
|
|
596
592
|
K,
|
|
597
593
|
s
|
|
598
594
|
] }],
|
|
@@ -690,13 +686,13 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
690
686
|
"collapse"
|
|
691
687
|
],
|
|
692
688
|
z: [{ z: [
|
|
693
|
-
|
|
689
|
+
H,
|
|
694
690
|
"auto",
|
|
695
691
|
K,
|
|
696
|
-
|
|
692
|
+
W
|
|
697
693
|
] }],
|
|
698
694
|
basis: [{ basis: [
|
|
699
|
-
|
|
695
|
+
B,
|
|
700
696
|
"full",
|
|
701
697
|
"auto",
|
|
702
698
|
s,
|
|
@@ -714,32 +710,32 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
714
710
|
"wrap-reverse"
|
|
715
711
|
] }],
|
|
716
712
|
flex: [{ flex: [
|
|
717
|
-
H,
|
|
718
713
|
V,
|
|
714
|
+
B,
|
|
719
715
|
"auto",
|
|
720
716
|
"initial",
|
|
721
717
|
"none",
|
|
722
|
-
|
|
718
|
+
W
|
|
723
719
|
] }],
|
|
724
720
|
grow: [{ grow: [
|
|
725
721
|
"",
|
|
726
|
-
|
|
722
|
+
V,
|
|
727
723
|
K,
|
|
728
|
-
|
|
724
|
+
W
|
|
729
725
|
] }],
|
|
730
726
|
shrink: [{ shrink: [
|
|
731
727
|
"",
|
|
732
|
-
|
|
728
|
+
V,
|
|
733
729
|
K,
|
|
734
|
-
|
|
730
|
+
W
|
|
735
731
|
] }],
|
|
736
732
|
order: [{ order: [
|
|
737
|
-
|
|
733
|
+
H,
|
|
738
734
|
"first",
|
|
739
735
|
"last",
|
|
740
736
|
"none",
|
|
741
737
|
K,
|
|
742
|
-
|
|
738
|
+
W
|
|
743
739
|
] }],
|
|
744
740
|
"grid-cols": [{ "grid-cols": E() }],
|
|
745
741
|
"col-start-end": [{ col: D() }],
|
|
@@ -846,15 +842,15 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
846
842
|
"font-size": [{ text: [
|
|
847
843
|
"base",
|
|
848
844
|
n,
|
|
849
|
-
|
|
850
|
-
|
|
845
|
+
Le,
|
|
846
|
+
G
|
|
851
847
|
] }],
|
|
852
848
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
853
849
|
"font-style": ["italic", "not-italic"],
|
|
854
850
|
"font-weight": [{ font: [
|
|
855
851
|
r,
|
|
856
|
-
|
|
857
|
-
|
|
852
|
+
Ue,
|
|
853
|
+
Me
|
|
858
854
|
] }],
|
|
859
855
|
"font-stretch": [{ "font-stretch": [
|
|
860
856
|
"ultra-condensed",
|
|
@@ -866,15 +862,15 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
866
862
|
"expanded",
|
|
867
863
|
"extra-expanded",
|
|
868
864
|
"ultra-expanded",
|
|
869
|
-
|
|
870
|
-
|
|
865
|
+
Se,
|
|
866
|
+
W
|
|
871
867
|
] }],
|
|
872
868
|
"font-family": [{ font: [
|
|
873
|
-
|
|
874
|
-
|
|
869
|
+
Re,
|
|
870
|
+
Ne,
|
|
875
871
|
t
|
|
876
872
|
] }],
|
|
877
|
-
"font-features": [{ "font-features": [
|
|
873
|
+
"font-features": [{ "font-features": [W] }],
|
|
878
874
|
"fvn-normal": ["normal-nums"],
|
|
879
875
|
"fvn-ordinal": ["ordinal"],
|
|
880
876
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -884,13 +880,13 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
884
880
|
tracking: [{ tracking: [
|
|
885
881
|
i,
|
|
886
882
|
K,
|
|
887
|
-
|
|
883
|
+
W
|
|
888
884
|
] }],
|
|
889
885
|
"line-clamp": [{ "line-clamp": [
|
|
890
|
-
|
|
886
|
+
V,
|
|
891
887
|
"none",
|
|
892
888
|
K,
|
|
893
|
-
|
|
889
|
+
je
|
|
894
890
|
] }],
|
|
895
891
|
leading: [{ leading: [
|
|
896
892
|
"none",
|
|
@@ -900,7 +896,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
900
896
|
"list-image": [{ "list-image": [
|
|
901
897
|
"none",
|
|
902
898
|
K,
|
|
903
|
-
|
|
899
|
+
W
|
|
904
900
|
] }],
|
|
905
901
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
906
902
|
"list-style-type": [{ list: [
|
|
@@ -908,7 +904,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
908
904
|
"decimal",
|
|
909
905
|
"none",
|
|
910
906
|
K,
|
|
911
|
-
|
|
907
|
+
W
|
|
912
908
|
] }],
|
|
913
909
|
"text-alignment": [{ text: [
|
|
914
910
|
"left",
|
|
@@ -926,20 +922,20 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
926
922
|
"line-through",
|
|
927
923
|
"no-underline"
|
|
928
924
|
],
|
|
929
|
-
"text-decoration-style": [{ decoration: [...
|
|
925
|
+
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
|
|
930
926
|
"text-decoration-thickness": [{ decoration: [
|
|
931
|
-
|
|
927
|
+
V,
|
|
932
928
|
"from-font",
|
|
933
929
|
"auto",
|
|
934
930
|
K,
|
|
935
|
-
|
|
931
|
+
G
|
|
936
932
|
] }],
|
|
937
933
|
"text-decoration-color": [{ decoration: F() }],
|
|
938
934
|
"underline-offset": [{ "underline-offset": [
|
|
939
|
-
|
|
935
|
+
V,
|
|
940
936
|
"auto",
|
|
941
937
|
K,
|
|
942
|
-
|
|
938
|
+
W
|
|
943
939
|
] }],
|
|
944
940
|
"text-transform": [
|
|
945
941
|
"uppercase",
|
|
@@ -960,9 +956,9 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
960
956
|
] }],
|
|
961
957
|
indent: [{ indent: w() }],
|
|
962
958
|
"tab-size": [{ tab: [
|
|
963
|
-
|
|
959
|
+
H,
|
|
964
960
|
K,
|
|
965
|
-
|
|
961
|
+
W
|
|
966
962
|
] }],
|
|
967
963
|
"vertical-align": [{ align: [
|
|
968
964
|
"baseline",
|
|
@@ -974,7 +970,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
974
970
|
"sub",
|
|
975
971
|
"super",
|
|
976
972
|
K,
|
|
977
|
-
|
|
973
|
+
W
|
|
978
974
|
] }],
|
|
979
975
|
whitespace: [{ whitespace: [
|
|
980
976
|
"normal",
|
|
@@ -1003,7 +999,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1003
999
|
content: [{ content: [
|
|
1004
1000
|
"none",
|
|
1005
1001
|
K,
|
|
1006
|
-
|
|
1002
|
+
W
|
|
1007
1003
|
] }],
|
|
1008
1004
|
"bg-attachment": [{ bg: [
|
|
1009
1005
|
"fixed",
|
|
@@ -1022,8 +1018,8 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1022
1018
|
"content"
|
|
1023
1019
|
] }],
|
|
1024
1020
|
"bg-position": [{ bg: te() }],
|
|
1025
|
-
"bg-repeat": [{ bg:
|
|
1026
|
-
"bg-size": [{ bg:
|
|
1021
|
+
"bg-repeat": [{ bg: ne() }],
|
|
1022
|
+
"bg-size": [{ bg: re() }],
|
|
1027
1023
|
"bg-image": [{ bg: [
|
|
1028
1024
|
"none",
|
|
1029
1025
|
{
|
|
@@ -1038,69 +1034,69 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1038
1034
|
"l",
|
|
1039
1035
|
"tl"
|
|
1040
1036
|
] },
|
|
1041
|
-
|
|
1037
|
+
H,
|
|
1042
1038
|
K,
|
|
1043
|
-
|
|
1039
|
+
W
|
|
1044
1040
|
],
|
|
1045
1041
|
radial: [
|
|
1046
1042
|
"",
|
|
1047
1043
|
K,
|
|
1048
|
-
|
|
1044
|
+
W
|
|
1049
1045
|
],
|
|
1050
1046
|
conic: [
|
|
1051
1047
|
"",
|
|
1052
|
-
|
|
1048
|
+
H,
|
|
1053
1049
|
K,
|
|
1054
|
-
|
|
1050
|
+
W
|
|
1055
1051
|
]
|
|
1056
1052
|
},
|
|
1057
|
-
|
|
1058
|
-
|
|
1053
|
+
Ve,
|
|
1054
|
+
Fe
|
|
1059
1055
|
] }],
|
|
1060
1056
|
"bg-color": [{ bg: F() }],
|
|
1061
|
-
"gradient-from-pos": [{ from:
|
|
1062
|
-
"gradient-via-pos": [{ via:
|
|
1063
|
-
"gradient-to-pos": [{ to:
|
|
1057
|
+
"gradient-from-pos": [{ from: ie() }],
|
|
1058
|
+
"gradient-via-pos": [{ via: ie() }],
|
|
1059
|
+
"gradient-to-pos": [{ to: ie() }],
|
|
1064
1060
|
"gradient-from": [{ from: F() }],
|
|
1065
1061
|
"gradient-via": [{ via: F() }],
|
|
1066
1062
|
"gradient-to": [{ to: F() }],
|
|
1067
|
-
rounded: [{ rounded:
|
|
1068
|
-
"rounded-s": [{ "rounded-s":
|
|
1069
|
-
"rounded-e": [{ "rounded-e":
|
|
1070
|
-
"rounded-t": [{ "rounded-t":
|
|
1071
|
-
"rounded-r": [{ "rounded-r":
|
|
1072
|
-
"rounded-b": [{ "rounded-b":
|
|
1073
|
-
"rounded-l": [{ "rounded-l":
|
|
1074
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1075
|
-
"rounded-se": [{ "rounded-se":
|
|
1076
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1077
|
-
"rounded-es": [{ "rounded-es":
|
|
1078
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1079
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1080
|
-
"rounded-br": [{ "rounded-br":
|
|
1081
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1082
|
-
"border-w": [{ border:
|
|
1083
|
-
"border-w-x": [{ "border-x":
|
|
1084
|
-
"border-w-y": [{ "border-y":
|
|
1085
|
-
"border-w-s": [{ "border-s":
|
|
1086
|
-
"border-w-e": [{ "border-e":
|
|
1087
|
-
"border-w-bs": [{ "border-bs":
|
|
1088
|
-
"border-w-be": [{ "border-be":
|
|
1089
|
-
"border-w-t": [{ "border-t":
|
|
1090
|
-
"border-w-r": [{ "border-r":
|
|
1091
|
-
"border-w-b": [{ "border-b":
|
|
1092
|
-
"border-w-l": [{ "border-l":
|
|
1093
|
-
"divide-x": [{ "divide-x":
|
|
1063
|
+
rounded: [{ rounded: I() }],
|
|
1064
|
+
"rounded-s": [{ "rounded-s": I() }],
|
|
1065
|
+
"rounded-e": [{ "rounded-e": I() }],
|
|
1066
|
+
"rounded-t": [{ "rounded-t": I() }],
|
|
1067
|
+
"rounded-r": [{ "rounded-r": I() }],
|
|
1068
|
+
"rounded-b": [{ "rounded-b": I() }],
|
|
1069
|
+
"rounded-l": [{ "rounded-l": I() }],
|
|
1070
|
+
"rounded-ss": [{ "rounded-ss": I() }],
|
|
1071
|
+
"rounded-se": [{ "rounded-se": I() }],
|
|
1072
|
+
"rounded-ee": [{ "rounded-ee": I() }],
|
|
1073
|
+
"rounded-es": [{ "rounded-es": I() }],
|
|
1074
|
+
"rounded-tl": [{ "rounded-tl": I() }],
|
|
1075
|
+
"rounded-tr": [{ "rounded-tr": I() }],
|
|
1076
|
+
"rounded-br": [{ "rounded-br": I() }],
|
|
1077
|
+
"rounded-bl": [{ "rounded-bl": I() }],
|
|
1078
|
+
"border-w": [{ border: L() }],
|
|
1079
|
+
"border-w-x": [{ "border-x": L() }],
|
|
1080
|
+
"border-w-y": [{ "border-y": L() }],
|
|
1081
|
+
"border-w-s": [{ "border-s": L() }],
|
|
1082
|
+
"border-w-e": [{ "border-e": L() }],
|
|
1083
|
+
"border-w-bs": [{ "border-bs": L() }],
|
|
1084
|
+
"border-w-be": [{ "border-be": L() }],
|
|
1085
|
+
"border-w-t": [{ "border-t": L() }],
|
|
1086
|
+
"border-w-r": [{ "border-r": L() }],
|
|
1087
|
+
"border-w-b": [{ "border-b": L() }],
|
|
1088
|
+
"border-w-l": [{ "border-l": L() }],
|
|
1089
|
+
"divide-x": [{ "divide-x": L() }],
|
|
1094
1090
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1095
|
-
"divide-y": [{ "divide-y":
|
|
1091
|
+
"divide-y": [{ "divide-y": L() }],
|
|
1096
1092
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1097
1093
|
"border-style": [{ border: [
|
|
1098
|
-
...
|
|
1094
|
+
...ae(),
|
|
1099
1095
|
"hidden",
|
|
1100
1096
|
"none"
|
|
1101
1097
|
] }],
|
|
1102
1098
|
"divide-style": [{ divide: [
|
|
1103
|
-
...
|
|
1099
|
+
...ae(),
|
|
1104
1100
|
"hidden",
|
|
1105
1101
|
"none"
|
|
1106
1102
|
] }],
|
|
@@ -1117,20 +1113,20 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1117
1113
|
"border-color-l": [{ "border-l": F() }],
|
|
1118
1114
|
"divide-color": [{ divide: F() }],
|
|
1119
1115
|
"outline-style": [{ outline: [
|
|
1120
|
-
...
|
|
1116
|
+
...ae(),
|
|
1121
1117
|
"none",
|
|
1122
1118
|
"hidden"
|
|
1123
1119
|
] }],
|
|
1124
1120
|
"outline-offset": [{ "outline-offset": [
|
|
1125
|
-
|
|
1121
|
+
V,
|
|
1126
1122
|
K,
|
|
1127
|
-
|
|
1123
|
+
W
|
|
1128
1124
|
] }],
|
|
1129
1125
|
"outline-w": [{ outline: [
|
|
1130
1126
|
"",
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1127
|
+
V,
|
|
1128
|
+
Le,
|
|
1129
|
+
G
|
|
1134
1130
|
] }],
|
|
1135
1131
|
"outline-color": [{ outline: F() }],
|
|
1136
1132
|
shadow: [{ shadow: [
|
|
@@ -1138,42 +1134,42 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1138
1134
|
"inner",
|
|
1139
1135
|
"none",
|
|
1140
1136
|
u,
|
|
1141
|
-
|
|
1142
|
-
|
|
1137
|
+
He,
|
|
1138
|
+
Ie
|
|
1143
1139
|
] }],
|
|
1144
1140
|
"shadow-color": [{ shadow: F() }],
|
|
1145
1141
|
"inset-shadow": [{ "inset-shadow": [
|
|
1146
1142
|
"none",
|
|
1147
1143
|
d,
|
|
1148
|
-
|
|
1149
|
-
|
|
1144
|
+
He,
|
|
1145
|
+
Ie
|
|
1150
1146
|
] }],
|
|
1151
1147
|
"inset-shadow-color": [{ "inset-shadow": F() }],
|
|
1152
|
-
"ring-w": [{ ring:
|
|
1148
|
+
"ring-w": [{ ring: L() }],
|
|
1153
1149
|
"ring-w-inset": ["ring-inset"],
|
|
1154
1150
|
"ring-color": [{ ring: F() }],
|
|
1155
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1151
|
+
"ring-offset-w": [{ "ring-offset": [V, G] }],
|
|
1156
1152
|
"ring-offset-color": [{ "ring-offset": F() }],
|
|
1157
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1153
|
+
"inset-ring-w": [{ "inset-ring": L() }],
|
|
1158
1154
|
"inset-ring-color": [{ "inset-ring": F() }],
|
|
1159
1155
|
"text-shadow": [{ "text-shadow": [
|
|
1160
1156
|
"none",
|
|
1161
1157
|
f,
|
|
1162
|
-
|
|
1163
|
-
|
|
1158
|
+
He,
|
|
1159
|
+
Ie
|
|
1164
1160
|
] }],
|
|
1165
1161
|
"text-shadow-color": [{ "text-shadow": F() }],
|
|
1166
1162
|
opacity: [{ opacity: [
|
|
1167
|
-
|
|
1163
|
+
V,
|
|
1168
1164
|
K,
|
|
1169
|
-
|
|
1165
|
+
W
|
|
1170
1166
|
] }],
|
|
1171
1167
|
"mix-blend": [{ "mix-blend": [
|
|
1172
|
-
...
|
|
1168
|
+
...oe(),
|
|
1173
1169
|
"plus-darker",
|
|
1174
1170
|
"plus-lighter"
|
|
1175
1171
|
] }],
|
|
1176
|
-
"bg-blend": [{ "bg-blend":
|
|
1172
|
+
"bg-blend": [{ "bg-blend": oe() }],
|
|
1177
1173
|
"mask-clip": [{ "mask-clip": [
|
|
1178
1174
|
"border",
|
|
1179
1175
|
"padding",
|
|
@@ -1188,38 +1184,38 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1188
1184
|
"intersect",
|
|
1189
1185
|
"exclude"
|
|
1190
1186
|
] }],
|
|
1191
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1192
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1193
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1187
|
+
"mask-image-linear-pos": [{ "mask-linear": [V] }],
|
|
1188
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
|
|
1189
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
|
|
1194
1190
|
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
|
|
1195
1191
|
"mask-image-linear-to-color": [{ "mask-linear-to": F() }],
|
|
1196
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1197
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1192
|
+
"mask-image-t-from-pos": [{ "mask-t-from": R() }],
|
|
1193
|
+
"mask-image-t-to-pos": [{ "mask-t-to": R() }],
|
|
1198
1194
|
"mask-image-t-from-color": [{ "mask-t-from": F() }],
|
|
1199
1195
|
"mask-image-t-to-color": [{ "mask-t-to": F() }],
|
|
1200
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1201
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1196
|
+
"mask-image-r-from-pos": [{ "mask-r-from": R() }],
|
|
1197
|
+
"mask-image-r-to-pos": [{ "mask-r-to": R() }],
|
|
1202
1198
|
"mask-image-r-from-color": [{ "mask-r-from": F() }],
|
|
1203
1199
|
"mask-image-r-to-color": [{ "mask-r-to": F() }],
|
|
1204
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1205
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1200
|
+
"mask-image-b-from-pos": [{ "mask-b-from": R() }],
|
|
1201
|
+
"mask-image-b-to-pos": [{ "mask-b-to": R() }],
|
|
1206
1202
|
"mask-image-b-from-color": [{ "mask-b-from": F() }],
|
|
1207
1203
|
"mask-image-b-to-color": [{ "mask-b-to": F() }],
|
|
1208
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1209
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1204
|
+
"mask-image-l-from-pos": [{ "mask-l-from": R() }],
|
|
1205
|
+
"mask-image-l-to-pos": [{ "mask-l-to": R() }],
|
|
1210
1206
|
"mask-image-l-from-color": [{ "mask-l-from": F() }],
|
|
1211
1207
|
"mask-image-l-to-color": [{ "mask-l-to": F() }],
|
|
1212
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1213
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1208
|
+
"mask-image-x-from-pos": [{ "mask-x-from": R() }],
|
|
1209
|
+
"mask-image-x-to-pos": [{ "mask-x-to": R() }],
|
|
1214
1210
|
"mask-image-x-from-color": [{ "mask-x-from": F() }],
|
|
1215
1211
|
"mask-image-x-to-color": [{ "mask-x-to": F() }],
|
|
1216
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1217
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1212
|
+
"mask-image-y-from-pos": [{ "mask-y-from": R() }],
|
|
1213
|
+
"mask-image-y-to-pos": [{ "mask-y-to": R() }],
|
|
1218
1214
|
"mask-image-y-from-color": [{ "mask-y-from": F() }],
|
|
1219
1215
|
"mask-image-y-to-color": [{ "mask-y-to": F() }],
|
|
1220
|
-
"mask-image-radial": [{ "mask-radial": [K,
|
|
1221
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1222
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1216
|
+
"mask-image-radial": [{ "mask-radial": [K, W] }],
|
|
1217
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
|
|
1218
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
|
|
1223
1219
|
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
|
|
1224
1220
|
"mask-image-radial-to-color": [{ "mask-radial-to": F() }],
|
|
1225
1221
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -1228,9 +1224,9 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1228
1224
|
farthest: ["side", "corner"]
|
|
1229
1225
|
}] }],
|
|
1230
1226
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1231
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1232
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1233
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1227
|
+
"mask-image-conic-pos": [{ "mask-conic": [V] }],
|
|
1228
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
|
|
1229
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
|
|
1234
1230
|
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
|
|
1235
1231
|
"mask-image-conic-to-color": [{ "mask-conic-to": F() }],
|
|
1236
1232
|
"mask-mode": [{ mask: [
|
|
@@ -1247,116 +1243,116 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1247
1243
|
"view"
|
|
1248
1244
|
] }],
|
|
1249
1245
|
"mask-position": [{ mask: te() }],
|
|
1250
|
-
"mask-repeat": [{ mask:
|
|
1251
|
-
"mask-size": [{ mask:
|
|
1246
|
+
"mask-repeat": [{ mask: ne() }],
|
|
1247
|
+
"mask-size": [{ mask: re() }],
|
|
1252
1248
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1253
1249
|
"mask-image": [{ mask: [
|
|
1254
1250
|
"none",
|
|
1255
1251
|
K,
|
|
1256
|
-
|
|
1252
|
+
W
|
|
1257
1253
|
] }],
|
|
1258
1254
|
filter: [{ filter: [
|
|
1259
1255
|
"",
|
|
1260
1256
|
"none",
|
|
1261
1257
|
K,
|
|
1262
|
-
|
|
1258
|
+
W
|
|
1263
1259
|
] }],
|
|
1264
|
-
blur: [{ blur:
|
|
1260
|
+
blur: [{ blur: se() }],
|
|
1265
1261
|
brightness: [{ brightness: [
|
|
1266
|
-
|
|
1262
|
+
V,
|
|
1267
1263
|
K,
|
|
1268
|
-
|
|
1264
|
+
W
|
|
1269
1265
|
] }],
|
|
1270
1266
|
contrast: [{ contrast: [
|
|
1271
|
-
|
|
1267
|
+
V,
|
|
1272
1268
|
K,
|
|
1273
|
-
|
|
1269
|
+
W
|
|
1274
1270
|
] }],
|
|
1275
1271
|
"drop-shadow": [{ "drop-shadow": [
|
|
1276
1272
|
"",
|
|
1277
1273
|
"none",
|
|
1278
1274
|
p,
|
|
1279
|
-
|
|
1280
|
-
|
|
1275
|
+
He,
|
|
1276
|
+
Ie
|
|
1281
1277
|
] }],
|
|
1282
1278
|
"drop-shadow-color": [{ "drop-shadow": F() }],
|
|
1283
1279
|
grayscale: [{ grayscale: [
|
|
1284
1280
|
"",
|
|
1285
|
-
|
|
1281
|
+
V,
|
|
1286
1282
|
K,
|
|
1287
|
-
|
|
1283
|
+
W
|
|
1288
1284
|
] }],
|
|
1289
1285
|
"hue-rotate": [{ "hue-rotate": [
|
|
1290
|
-
|
|
1286
|
+
V,
|
|
1291
1287
|
K,
|
|
1292
|
-
|
|
1288
|
+
W
|
|
1293
1289
|
] }],
|
|
1294
1290
|
invert: [{ invert: [
|
|
1295
1291
|
"",
|
|
1296
|
-
|
|
1292
|
+
V,
|
|
1297
1293
|
K,
|
|
1298
|
-
|
|
1294
|
+
W
|
|
1299
1295
|
] }],
|
|
1300
1296
|
saturate: [{ saturate: [
|
|
1301
|
-
|
|
1297
|
+
V,
|
|
1302
1298
|
K,
|
|
1303
|
-
|
|
1299
|
+
W
|
|
1304
1300
|
] }],
|
|
1305
1301
|
sepia: [{ sepia: [
|
|
1306
1302
|
"",
|
|
1307
|
-
|
|
1303
|
+
V,
|
|
1308
1304
|
K,
|
|
1309
|
-
|
|
1305
|
+
W
|
|
1310
1306
|
] }],
|
|
1311
1307
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1312
1308
|
"",
|
|
1313
1309
|
"none",
|
|
1314
1310
|
K,
|
|
1315
|
-
|
|
1311
|
+
W
|
|
1316
1312
|
] }],
|
|
1317
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1313
|
+
"backdrop-blur": [{ "backdrop-blur": se() }],
|
|
1318
1314
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1319
|
-
|
|
1315
|
+
V,
|
|
1320
1316
|
K,
|
|
1321
|
-
|
|
1317
|
+
W
|
|
1322
1318
|
] }],
|
|
1323
1319
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1324
|
-
|
|
1320
|
+
V,
|
|
1325
1321
|
K,
|
|
1326
|
-
|
|
1322
|
+
W
|
|
1327
1323
|
] }],
|
|
1328
1324
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1329
1325
|
"",
|
|
1330
|
-
|
|
1326
|
+
V,
|
|
1331
1327
|
K,
|
|
1332
|
-
|
|
1328
|
+
W
|
|
1333
1329
|
] }],
|
|
1334
1330
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1335
|
-
|
|
1331
|
+
V,
|
|
1336
1332
|
K,
|
|
1337
|
-
|
|
1333
|
+
W
|
|
1338
1334
|
] }],
|
|
1339
1335
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1340
1336
|
"",
|
|
1341
|
-
|
|
1337
|
+
V,
|
|
1342
1338
|
K,
|
|
1343
|
-
|
|
1339
|
+
W
|
|
1344
1340
|
] }],
|
|
1345
1341
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1346
|
-
|
|
1342
|
+
V,
|
|
1347
1343
|
K,
|
|
1348
|
-
|
|
1344
|
+
W
|
|
1349
1345
|
] }],
|
|
1350
1346
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1351
|
-
|
|
1347
|
+
V,
|
|
1352
1348
|
K,
|
|
1353
|
-
|
|
1349
|
+
W
|
|
1354
1350
|
] }],
|
|
1355
1351
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1356
1352
|
"",
|
|
1357
|
-
|
|
1353
|
+
V,
|
|
1358
1354
|
K,
|
|
1359
|
-
|
|
1355
|
+
W
|
|
1360
1356
|
] }],
|
|
1361
1357
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1362
1358
|
"border-spacing": [{ "border-spacing": w() }],
|
|
@@ -1373,55 +1369,55 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1373
1369
|
"transform",
|
|
1374
1370
|
"none",
|
|
1375
1371
|
K,
|
|
1376
|
-
|
|
1372
|
+
W
|
|
1377
1373
|
] }],
|
|
1378
1374
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1379
1375
|
duration: [{ duration: [
|
|
1380
|
-
|
|
1376
|
+
V,
|
|
1381
1377
|
"initial",
|
|
1382
1378
|
K,
|
|
1383
|
-
|
|
1379
|
+
W
|
|
1384
1380
|
] }],
|
|
1385
1381
|
ease: [{ ease: [
|
|
1386
1382
|
"linear",
|
|
1387
1383
|
"initial",
|
|
1388
1384
|
_,
|
|
1389
1385
|
K,
|
|
1390
|
-
|
|
1386
|
+
W
|
|
1391
1387
|
] }],
|
|
1392
1388
|
delay: [{ delay: [
|
|
1393
|
-
|
|
1389
|
+
V,
|
|
1394
1390
|
K,
|
|
1395
|
-
|
|
1391
|
+
W
|
|
1396
1392
|
] }],
|
|
1397
1393
|
animate: [{ animate: [
|
|
1398
1394
|
"none",
|
|
1399
1395
|
v,
|
|
1400
1396
|
K,
|
|
1401
|
-
|
|
1397
|
+
W
|
|
1402
1398
|
] }],
|
|
1403
1399
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1404
1400
|
perspective: [{ perspective: [
|
|
1405
1401
|
h,
|
|
1406
1402
|
K,
|
|
1407
|
-
|
|
1403
|
+
W
|
|
1408
1404
|
] }],
|
|
1409
1405
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1410
|
-
rotate: [{ rotate:
|
|
1411
|
-
"rotate-x": [{ "rotate-x":
|
|
1412
|
-
"rotate-y": [{ "rotate-y":
|
|
1413
|
-
"rotate-z": [{ "rotate-z":
|
|
1414
|
-
scale: [{ scale:
|
|
1415
|
-
"scale-x": [{ "scale-x":
|
|
1416
|
-
"scale-y": [{ "scale-y":
|
|
1417
|
-
"scale-z": [{ "scale-z":
|
|
1406
|
+
rotate: [{ rotate: ce() }],
|
|
1407
|
+
"rotate-x": [{ "rotate-x": ce() }],
|
|
1408
|
+
"rotate-y": [{ "rotate-y": ce() }],
|
|
1409
|
+
"rotate-z": [{ "rotate-z": ce() }],
|
|
1410
|
+
scale: [{ scale: le() }],
|
|
1411
|
+
"scale-x": [{ "scale-x": le() }],
|
|
1412
|
+
"scale-y": [{ "scale-y": le() }],
|
|
1413
|
+
"scale-z": [{ "scale-z": le() }],
|
|
1418
1414
|
"scale-3d": ["scale-3d"],
|
|
1419
|
-
skew: [{ skew:
|
|
1420
|
-
"skew-x": [{ "skew-x":
|
|
1421
|
-
"skew-y": [{ "skew-y":
|
|
1415
|
+
skew: [{ skew: ue() }],
|
|
1416
|
+
"skew-x": [{ "skew-x": ue() }],
|
|
1417
|
+
"skew-y": [{ "skew-y": ue() }],
|
|
1422
1418
|
transform: [{ transform: [
|
|
1423
1419
|
K,
|
|
1424
|
-
|
|
1420
|
+
W,
|
|
1425
1421
|
"",
|
|
1426
1422
|
"none",
|
|
1427
1423
|
"gpu",
|
|
@@ -1429,15 +1425,15 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1429
1425
|
] }],
|
|
1430
1426
|
"transform-origin": [{ origin: x() }],
|
|
1431
1427
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1432
|
-
translate: [{ translate:
|
|
1433
|
-
"translate-x": [{ "translate-x":
|
|
1434
|
-
"translate-y": [{ "translate-y":
|
|
1435
|
-
"translate-z": [{ "translate-z":
|
|
1428
|
+
translate: [{ translate: de() }],
|
|
1429
|
+
"translate-x": [{ "translate-x": de() }],
|
|
1430
|
+
"translate-y": [{ "translate-y": de() }],
|
|
1431
|
+
"translate-z": [{ "translate-z": de() }],
|
|
1436
1432
|
"translate-none": ["translate-none"],
|
|
1437
1433
|
zoom: [{ zoom: [
|
|
1438
|
-
|
|
1434
|
+
H,
|
|
1439
1435
|
K,
|
|
1440
|
-
|
|
1436
|
+
W
|
|
1441
1437
|
] }],
|
|
1442
1438
|
accent: [{ accent: F() }],
|
|
1443
1439
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1488,7 +1484,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1488
1484
|
"zoom-in",
|
|
1489
1485
|
"zoom-out",
|
|
1490
1486
|
K,
|
|
1491
|
-
|
|
1487
|
+
W
|
|
1492
1488
|
] }],
|
|
1493
1489
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1494
1490
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1575,14 +1571,14 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1575
1571
|
"contents",
|
|
1576
1572
|
"transform",
|
|
1577
1573
|
K,
|
|
1578
|
-
|
|
1574
|
+
W
|
|
1579
1575
|
] }],
|
|
1580
1576
|
fill: [{ fill: ["none", ...F()] }],
|
|
1581
1577
|
"stroke-w": [{ stroke: [
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1578
|
+
V,
|
|
1579
|
+
Le,
|
|
1580
|
+
G,
|
|
1581
|
+
je
|
|
1586
1582
|
] }],
|
|
1587
1583
|
stroke: [{ stroke: ["none", ...F()] }],
|
|
1588
1584
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -1882,198 +1878,7 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
1882
1878
|
yellow500: "yellow-500",
|
|
1883
1879
|
pink800: "pink-800",
|
|
1884
1880
|
blue400: "blue-400"
|
|
1885
|
-
},
|
|
1886
|
-
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
1887
|
-
function r(e, n, r) {
|
|
1888
|
-
var i = null;
|
|
1889
|
-
if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
|
|
1890
|
-
else r = n;
|
|
1891
|
-
return n = r.ref, {
|
|
1892
|
-
$$typeof: t,
|
|
1893
|
-
type: e,
|
|
1894
|
-
key: i,
|
|
1895
|
-
ref: n === void 0 ? null : n,
|
|
1896
|
-
props: r
|
|
1897
|
-
};
|
|
1898
|
-
}
|
|
1899
|
-
e.Fragment = n, e.jsx = r, e.jsxs = r;
|
|
1900
|
-
})), tt = /* @__PURE__ */ f(((e) => {
|
|
1901
|
-
process.env.NODE_ENV !== "production" && (function() {
|
|
1902
|
-
function t(e) {
|
|
1903
|
-
if (e == null) return null;
|
|
1904
|
-
if (typeof e == "function") return e.$$typeof === A ? null : e.displayName || e.name || null;
|
|
1905
|
-
if (typeof e == "string") return e;
|
|
1906
|
-
switch (e) {
|
|
1907
|
-
case v: return "Fragment";
|
|
1908
|
-
case b: return "Profiler";
|
|
1909
|
-
case y: return "StrictMode";
|
|
1910
|
-
case w: return "Suspense";
|
|
1911
|
-
case T: return "SuspenseList";
|
|
1912
|
-
case O: return "Activity";
|
|
1913
|
-
case k: return "ViewTransition";
|
|
1914
|
-
}
|
|
1915
|
-
if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
|
|
1916
|
-
case _: return "Portal";
|
|
1917
|
-
case S: return e.displayName || "Context";
|
|
1918
|
-
case x: return (e._context.displayName || "Context") + ".Consumer";
|
|
1919
|
-
case C:
|
|
1920
|
-
var n = e.render;
|
|
1921
|
-
return e = e.displayName, e ||= (e = n.displayName || n.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
|
|
1922
|
-
case E: return n = e.displayName || null, n === null ? t(e.type) || "Memo" : n;
|
|
1923
|
-
case D:
|
|
1924
|
-
n = e._payload, e = e._init;
|
|
1925
|
-
try {
|
|
1926
|
-
return t(e(n));
|
|
1927
|
-
} catch {}
|
|
1928
|
-
}
|
|
1929
|
-
return null;
|
|
1930
|
-
}
|
|
1931
|
-
function n(e) {
|
|
1932
|
-
return "" + e;
|
|
1933
|
-
}
|
|
1934
|
-
function r(e) {
|
|
1935
|
-
try {
|
|
1936
|
-
n(e);
|
|
1937
|
-
var t = !1;
|
|
1938
|
-
} catch {
|
|
1939
|
-
t = !0;
|
|
1940
|
-
}
|
|
1941
|
-
if (t) {
|
|
1942
|
-
t = console;
|
|
1943
|
-
var r = t.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1944
|
-
return r.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", i), n(e);
|
|
1945
|
-
}
|
|
1946
|
-
}
|
|
1947
|
-
function i(e) {
|
|
1948
|
-
if (e === v) return "<>";
|
|
1949
|
-
if (typeof e == "object" && e && e.$$typeof === D) return "<...>";
|
|
1950
|
-
try {
|
|
1951
|
-
var n = t(e);
|
|
1952
|
-
return n ? "<" + n + ">" : "<...>";
|
|
1953
|
-
} catch {
|
|
1954
|
-
return "<...>";
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
function a() {
|
|
1958
|
-
var e = j.A;
|
|
1959
|
-
return e === null ? null : e.getOwner();
|
|
1960
|
-
}
|
|
1961
|
-
function o() {
|
|
1962
|
-
return Error("react-stack-top-frame");
|
|
1963
|
-
}
|
|
1964
|
-
function s(e) {
|
|
1965
|
-
if (M.call(e, "key")) {
|
|
1966
|
-
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1967
|
-
if (t && t.isReactWarning) return !1;
|
|
1968
|
-
}
|
|
1969
|
-
return e.key !== void 0;
|
|
1970
|
-
}
|
|
1971
|
-
function c(e, t) {
|
|
1972
|
-
function n() {
|
|
1973
|
-
ee || (ee = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
|
|
1974
|
-
}
|
|
1975
|
-
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1976
|
-
get: n,
|
|
1977
|
-
configurable: !0
|
|
1978
|
-
});
|
|
1979
|
-
}
|
|
1980
|
-
function l() {
|
|
1981
|
-
var e = t(this.type);
|
|
1982
|
-
return F[e] || (F[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
|
|
1983
|
-
}
|
|
1984
|
-
function u(e, t, n, r, i, a) {
|
|
1985
|
-
var o = n.ref;
|
|
1986
|
-
return e = {
|
|
1987
|
-
$$typeof: g,
|
|
1988
|
-
type: e,
|
|
1989
|
-
key: t,
|
|
1990
|
-
props: n,
|
|
1991
|
-
_owner: r
|
|
1992
|
-
}, (o === void 0 ? null : o) === null ? Object.defineProperty(e, "ref", {
|
|
1993
|
-
enumerable: !1,
|
|
1994
|
-
value: null
|
|
1995
|
-
}) : Object.defineProperty(e, "ref", {
|
|
1996
|
-
enumerable: !1,
|
|
1997
|
-
get: l
|
|
1998
|
-
}), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
1999
|
-
configurable: !1,
|
|
2000
|
-
enumerable: !1,
|
|
2001
|
-
writable: !0,
|
|
2002
|
-
value: 0
|
|
2003
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
2004
|
-
configurable: !1,
|
|
2005
|
-
enumerable: !1,
|
|
2006
|
-
writable: !0,
|
|
2007
|
-
value: null
|
|
2008
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
2009
|
-
configurable: !1,
|
|
2010
|
-
enumerable: !1,
|
|
2011
|
-
writable: !0,
|
|
2012
|
-
value: i
|
|
2013
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
2014
|
-
configurable: !1,
|
|
2015
|
-
enumerable: !1,
|
|
2016
|
-
writable: !0,
|
|
2017
|
-
value: a
|
|
2018
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
2019
|
-
}
|
|
2020
|
-
function d(e, n, i, o, l, d) {
|
|
2021
|
-
var p = n.children;
|
|
2022
|
-
if (p !== void 0) {
|
|
2023
|
-
if (o) {
|
|
2024
|
-
if (N(p)) {
|
|
2025
|
-
for (o = 0; o < p.length; o++) f(p[o]);
|
|
2026
|
-
Object.freeze && Object.freeze(p);
|
|
2027
|
-
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2028
|
-
} else f(p);
|
|
2029
|
-
}
|
|
2030
|
-
if (M.call(n, "key")) {
|
|
2031
|
-
p = t(e);
|
|
2032
|
-
var m = Object.keys(n).filter(function(e) {
|
|
2033
|
-
return e !== "key";
|
|
2034
|
-
});
|
|
2035
|
-
o = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", ne[p + o] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", o, p, m, p), ne[p + o] = !0);
|
|
2036
|
-
}
|
|
2037
|
-
if (p = null, i !== void 0 && (r(i), p = "" + i), s(n) && (r(n.key), p = "" + n.key), "key" in n) for (var h in i = {}, n) h !== "key" && (i[h] = n[h]);
|
|
2038
|
-
else i = n;
|
|
2039
|
-
return p && c(i, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), u(e, p, i, a(), l, d);
|
|
2040
|
-
}
|
|
2041
|
-
function f(e) {
|
|
2042
|
-
m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === D && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
2043
|
-
}
|
|
2044
|
-
function m(e) {
|
|
2045
|
-
return typeof e == "object" && !!e && e.$$typeof === g;
|
|
2046
|
-
}
|
|
2047
|
-
var h = p("react"), g = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), k = Symbol.for("react.view_transition"), A = Symbol.for("react.client.reference"), j = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, N = Array.isArray, P = console.createTask ? console.createTask : function() {
|
|
2048
|
-
return null;
|
|
2049
|
-
};
|
|
2050
|
-
h = { react_stack_bottom_frame: function(e) {
|
|
2051
|
-
return e();
|
|
2052
|
-
} };
|
|
2053
|
-
var ee, F = {}, te = h.react_stack_bottom_frame.bind(h, o)(), I = P(i(o)), ne = {};
|
|
2054
|
-
e.Fragment = v, e.jsx = function(e, t, n) {
|
|
2055
|
-
var r = 1e4 > j.recentlyCreatedOwnerStacks++;
|
|
2056
|
-
if (r) {
|
|
2057
|
-
var a = Error.stackTraceLimit;
|
|
2058
|
-
Error.stackTraceLimit = 10;
|
|
2059
|
-
var o = Error("react-stack-top-frame");
|
|
2060
|
-
Error.stackTraceLimit = a;
|
|
2061
|
-
} else o = te;
|
|
2062
|
-
return d(e, t, n, !1, o, r ? P(i(e)) : I);
|
|
2063
|
-
}, e.jsxs = function(e, t, n) {
|
|
2064
|
-
var r = 1e4 > j.recentlyCreatedOwnerStacks++;
|
|
2065
|
-
if (r) {
|
|
2066
|
-
var a = Error.stackTraceLimit;
|
|
2067
|
-
Error.stackTraceLimit = 10;
|
|
2068
|
-
var o = Error("react-stack-top-frame");
|
|
2069
|
-
Error.stackTraceLimit = a;
|
|
2070
|
-
} else o = te;
|
|
2071
|
-
return d(e, t, n, !0, o, r ? P(i(e)) : I);
|
|
2072
|
-
};
|
|
2073
|
-
})();
|
|
2074
|
-
})), Y = (/* @__PURE__ */ f(((e, t) => {
|
|
2075
|
-
t.exports = process.env.NODE_ENV === "production" ? et() : tt();
|
|
2076
|
-
})))(), nt = v("inline-flex items-center justify-center font-[500] transition-colors select-none", {
|
|
1881
|
+
}, Y = (...e) => Qe(g(...e)), et = y("inline-flex items-center justify-center font-[500] transition-colors select-none", {
|
|
2077
1882
|
variants: {
|
|
2078
1883
|
variant: {
|
|
2079
1884
|
default: "bg-slate-100 text-slate-700 hover:bg-slate-200",
|
|
@@ -2102,31 +1907,31 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
2102
1907
|
shape: "rounded",
|
|
2103
1908
|
size: "default"
|
|
2104
1909
|
}
|
|
2105
|
-
}),
|
|
1910
|
+
}), tt = n(({ className: e, variant: t = "default", shape: n = "rounded", size: r = "default", icon: i, cornerCheck: a = !1, onRemove: o, children: s, ...c }, l) => /* @__PURE__ */ m("div", {
|
|
2106
1911
|
ref: l,
|
|
2107
|
-
className:
|
|
1912
|
+
className: Y(et({
|
|
2108
1913
|
variant: t,
|
|
2109
1914
|
shape: n,
|
|
2110
1915
|
size: r
|
|
2111
1916
|
}), a && "relative overflow-hidden pr-4.5 border border-cyan-500 text-cyan-600 bg-white", e),
|
|
2112
1917
|
...c,
|
|
2113
1918
|
children: [
|
|
2114
|
-
i && /* @__PURE__ */ (
|
|
1919
|
+
i && /* @__PURE__ */ p("span", {
|
|
2115
1920
|
className: "flex-shrink-0 flex items-center justify-center",
|
|
2116
1921
|
children: i
|
|
2117
1922
|
}),
|
|
2118
|
-
/* @__PURE__ */ (
|
|
2119
|
-
o && /* @__PURE__ */ (
|
|
1923
|
+
/* @__PURE__ */ p("span", { children: s }),
|
|
1924
|
+
o && /* @__PURE__ */ p("button", {
|
|
2120
1925
|
type: "button",
|
|
2121
1926
|
onClick: o,
|
|
2122
1927
|
className: "ml-1 -mr-1 flex h-3.5 w-3.5 items-center justify-center rounded-full hover:bg-black/10 focus:outline-none",
|
|
2123
1928
|
"aria-label": "Remove tag",
|
|
2124
|
-
children: /* @__PURE__ */ (
|
|
1929
|
+
children: /* @__PURE__ */ p("svg", {
|
|
2125
1930
|
className: "h-2.5 w-2.5",
|
|
2126
1931
|
fill: "none",
|
|
2127
1932
|
stroke: "currentColor",
|
|
2128
1933
|
viewBox: "0 0 24 24",
|
|
2129
|
-
children: /* @__PURE__ */ (
|
|
1934
|
+
children: /* @__PURE__ */ p("path", {
|
|
2130
1935
|
strokeLinecap: "round",
|
|
2131
1936
|
strokeLinejoin: "round",
|
|
2132
1937
|
strokeWidth: 2,
|
|
@@ -2134,14 +1939,14 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
2134
1939
|
})
|
|
2135
1940
|
})
|
|
2136
1941
|
}),
|
|
2137
|
-
a && /* @__PURE__ */ (
|
|
1942
|
+
a && /* @__PURE__ */ p("div", {
|
|
2138
1943
|
className: "absolute bottom-0 right-0 w-0 h-0 border-b-[14px] border-b-cyan-500 border-l-[14px] border-l-transparent pointer-events-none",
|
|
2139
|
-
children: /* @__PURE__ */ (
|
|
1944
|
+
children: /* @__PURE__ */ p("svg", {
|
|
2140
1945
|
className: "absolute -bottom-[-2px] -right-[0px] w-2 h-2 text-white transform -translate-x-[1px] translate-y-[1px]",
|
|
2141
1946
|
fill: "none",
|
|
2142
1947
|
stroke: "currentColor",
|
|
2143
1948
|
viewBox: "0 0 24 24",
|
|
2144
|
-
children: /* @__PURE__ */ (
|
|
1949
|
+
children: /* @__PURE__ */ p("path", {
|
|
2145
1950
|
strokeLinecap: "round",
|
|
2146
1951
|
strokeLinejoin: "round",
|
|
2147
1952
|
strokeWidth: 4,
|
|
@@ -2151,10 +1956,10 @@ var g = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, _ = h, v = (e
|
|
|
2151
1956
|
})
|
|
2152
1957
|
]
|
|
2153
1958
|
}));
|
|
2154
|
-
|
|
1959
|
+
tt.displayName = "Badge";
|
|
2155
1960
|
//#endregion
|
|
2156
1961
|
//#region src/components/Box/Box.tsx
|
|
2157
|
-
var
|
|
1962
|
+
var nt = y("box-border transition-colors", {
|
|
2158
1963
|
variants: {
|
|
2159
1964
|
variant: {
|
|
2160
1965
|
default: "",
|
|
@@ -2198,9 +2003,9 @@ var it = v("box-border transition-colors", {
|
|
|
2198
2003
|
rounded: "none",
|
|
2199
2004
|
shadow: "none"
|
|
2200
2005
|
}
|
|
2201
|
-
}),
|
|
2006
|
+
}), rt = n(({ as: e, variant: t = "default", padding: n = "none", rounded: r = "none", shadow: i = "none", className: a, children: o, ...s }, c) => /* @__PURE__ */ p(e || "div", {
|
|
2202
2007
|
ref: c,
|
|
2203
|
-
className:
|
|
2008
|
+
className: Y(nt({
|
|
2204
2009
|
variant: t,
|
|
2205
2010
|
padding: n,
|
|
2206
2011
|
rounded: r,
|
|
@@ -2209,34 +2014,34 @@ var it = v("box-border transition-colors", {
|
|
|
2209
2014
|
...s,
|
|
2210
2015
|
children: o
|
|
2211
2016
|
}));
|
|
2212
|
-
|
|
2017
|
+
rt.displayName = "Box";
|
|
2213
2018
|
//#endregion
|
|
2214
2019
|
//#region src/components/types.ts
|
|
2215
2020
|
var X = /* @__PURE__ */ function(e) {
|
|
2216
2021
|
return e.Default = "default", e.Destructive = "destructive", e.Cancel = "cancel", e.Subtle = "subtle", e.Ghost = "ghost", e.Link = "link", e;
|
|
2217
2022
|
}({}), Z = /* @__PURE__ */ function(e) {
|
|
2218
2023
|
return e.Row = "row", e.Column = "column", e;
|
|
2219
|
-
}({}),
|
|
2024
|
+
}({}), it = /* @__PURE__ */ function(e) {
|
|
2220
2025
|
return e.Small = "sm", e.Default = "default", e.Large = "lg", e.Icon = "icon", e;
|
|
2221
|
-
}({}),
|
|
2026
|
+
}({}), at = /* @__PURE__ */ function(e) {
|
|
2222
2027
|
return e.Left = "left", e.Right = "right", e;
|
|
2223
|
-
}({}),
|
|
2028
|
+
}({}), ot = /* @__PURE__ */ function(e) {
|
|
2224
2029
|
return e.Default = "default", e.Primary = "primary", e.Secondary = "secondary", e.Success = "success", e.Warning = "warning", e.Destructive = "destructive", e.Info = "info", e.Muted = "muted", e;
|
|
2225
|
-
}({}),
|
|
2030
|
+
}({}), st = /* @__PURE__ */ function(e) {
|
|
2226
2031
|
return e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e;
|
|
2227
|
-
}({}),
|
|
2032
|
+
}({}), ct = /* @__PURE__ */ function(e) {
|
|
2228
2033
|
return e.Square = "square", e.Rounded = "rounded", e.Pill = "pill", e.Circle = "circle", e;
|
|
2229
|
-
}({}),
|
|
2034
|
+
}({}), lt = /* @__PURE__ */ function(e) {
|
|
2230
2035
|
return e.Horizontal = "horizontal", e.Vertical = "vertical", e;
|
|
2231
|
-
}({}),
|
|
2036
|
+
}({}), ut = /* @__PURE__ */ function(e) {
|
|
2232
2037
|
return e.Top = "top", e.Right = "right", e.Bottom = "bottom", e.Left = "left", e;
|
|
2233
|
-
}({}),
|
|
2038
|
+
}({}), dt = /* @__PURE__ */ function(e) {
|
|
2234
2039
|
return e.Left = "left", e.Center = "center", e.Right = "right", e;
|
|
2235
|
-
}({}),
|
|
2040
|
+
}({}), ft = /* @__PURE__ */ function(e) {
|
|
2236
2041
|
return e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.Subtitle1 = "subtitle1", e.Subtitle2 = "subtitle2", e.Body1 = "body1", e.Body2 = "body2", e.Caption = "caption", e.Overline = "overline", e;
|
|
2237
|
-
}({}),
|
|
2042
|
+
}({}), pt = /* @__PURE__ */ function(e) {
|
|
2238
2043
|
return e.Success = "success", e.Warning = "warning", e.Error = "error", e.Info = "info", e;
|
|
2239
|
-
}({}),
|
|
2044
|
+
}({}), mt = y("inline-flex items-center justify-center font-[500] rounded-md focus:outline-none transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed gap-2", {
|
|
2240
2045
|
variants: {
|
|
2241
2046
|
variant: {
|
|
2242
2047
|
[X.Default]: "bg-[#0F172A] text-white hover:bg-[#1E293B]",
|
|
@@ -2247,42 +2052,42 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
2247
2052
|
[X.Link]: "bg-transparent text-[#0F172A] hover:underline underline-offset-4"
|
|
2248
2053
|
},
|
|
2249
2054
|
size: {
|
|
2250
|
-
[
|
|
2251
|
-
[
|
|
2252
|
-
[
|
|
2253
|
-
[
|
|
2055
|
+
[it.Small]: "h-9 px-3 text-xs leading-4",
|
|
2056
|
+
[it.Default]: "h-10 px-4 text-sm leading-5",
|
|
2057
|
+
[it.Large]: "h-11 px-6 text-base leading-6",
|
|
2058
|
+
[it.Icon]: "h-10 w-10 p-0 flex items-center justify-center"
|
|
2254
2059
|
}
|
|
2255
2060
|
},
|
|
2256
2061
|
defaultVariants: {
|
|
2257
2062
|
variant: X.Default,
|
|
2258
|
-
size:
|
|
2063
|
+
size: it.Default
|
|
2259
2064
|
}
|
|
2260
|
-
}),
|
|
2261
|
-
let u = s != null && s !== "", d = () => n ? typeof n == "string" ? /* @__PURE__ */ (
|
|
2065
|
+
}), ht = n(({ variant: e = X.Default, size: t = it.Default, iconUrl: n, iconPosition: r = at.Left, isLoading: i = !1, disabled: a, className: o, children: s, ...c }, l) => {
|
|
2066
|
+
let u = s != null && s !== "", d = () => n ? typeof n == "string" ? /* @__PURE__ */ p("img", {
|
|
2262
2067
|
src: n,
|
|
2263
2068
|
alt: "Icon",
|
|
2264
2069
|
className: "w-5 h-5 object-contain"
|
|
2265
|
-
}) : /* @__PURE__ */ (
|
|
2070
|
+
}) : /* @__PURE__ */ p(n, { className: "w-5 h-5" }) : null, f = () => /* @__PURE__ */ m("svg", {
|
|
2266
2071
|
className: "animate-spin -ml-1 mr-2 h-4 w-4 text-current",
|
|
2267
2072
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2268
2073
|
fill: "none",
|
|
2269
2074
|
viewBox: "0 0 24 24",
|
|
2270
|
-
children: [/* @__PURE__ */ (
|
|
2075
|
+
children: [/* @__PURE__ */ p("circle", {
|
|
2271
2076
|
className: "opacity-25",
|
|
2272
2077
|
cx: "12",
|
|
2273
2078
|
cy: "12",
|
|
2274
2079
|
r: "10",
|
|
2275
2080
|
stroke: "currentColor",
|
|
2276
2081
|
strokeWidth: "4"
|
|
2277
|
-
}), /* @__PURE__ */ (
|
|
2082
|
+
}), /* @__PURE__ */ p("path", {
|
|
2278
2083
|
className: "opacity-75",
|
|
2279
2084
|
fill: "currentColor",
|
|
2280
2085
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
2281
2086
|
})]
|
|
2282
2087
|
});
|
|
2283
|
-
return /* @__PURE__ */ (
|
|
2088
|
+
return /* @__PURE__ */ m("button", {
|
|
2284
2089
|
ref: l,
|
|
2285
|
-
className:
|
|
2090
|
+
className: Y(mt({
|
|
2286
2091
|
variant: e,
|
|
2287
2092
|
size: t,
|
|
2288
2093
|
className: o
|
|
@@ -2291,16 +2096,16 @@ var X = /* @__PURE__ */ function(e) {
|
|
|
2291
2096
|
...c,
|
|
2292
2097
|
children: [
|
|
2293
2098
|
i && f(),
|
|
2294
|
-
!i && n && r ===
|
|
2295
|
-
u && /* @__PURE__ */ (
|
|
2296
|
-
!i && n && r ===
|
|
2099
|
+
!i && n && r === at.Left && d(),
|
|
2100
|
+
u && /* @__PURE__ */ p("span", { children: s }),
|
|
2101
|
+
!i && n && r === at.Right && d()
|
|
2297
2102
|
]
|
|
2298
2103
|
});
|
|
2299
2104
|
});
|
|
2300
|
-
|
|
2105
|
+
ht.displayName = "DefaultButton";
|
|
2301
2106
|
//#endregion
|
|
2302
2107
|
//#region src/components/Button/GroupIconButton/GroupIconButton.tsx
|
|
2303
|
-
var
|
|
2108
|
+
var gt = y([
|
|
2304
2109
|
"flex",
|
|
2305
2110
|
"items-center",
|
|
2306
2111
|
"justify-center",
|
|
@@ -2311,13 +2116,13 @@ var vt = v([
|
|
|
2311
2116
|
[Z.Column]: "flex-col gap-2"
|
|
2312
2117
|
} },
|
|
2313
2118
|
defaultVariants: { direction: Z.Row }
|
|
2314
|
-
}),
|
|
2119
|
+
}), _t = n(({ iconUrl: e, className: t, children: n, direction: r = Z.Row, ...i }, a) => /* @__PURE__ */ p("div", {
|
|
2315
2120
|
ref: a,
|
|
2316
|
-
className:
|
|
2121
|
+
className: Y(gt({ direction: r }), t),
|
|
2317
2122
|
...i,
|
|
2318
2123
|
"data-testid": "groupicon",
|
|
2319
2124
|
children: n
|
|
2320
|
-
})),
|
|
2125
|
+
})), vt = y([
|
|
2321
2126
|
"flex",
|
|
2322
2127
|
"items-center",
|
|
2323
2128
|
"justify-start",
|
|
@@ -2329,73 +2134,73 @@ var vt = v([
|
|
|
2329
2134
|
[Z.Column]: "flex-col"
|
|
2330
2135
|
} },
|
|
2331
2136
|
defaultVariants: { direction: Z.Row }
|
|
2332
|
-
}),
|
|
2137
|
+
}), yt = n(({ iconUrl: e, text: t, backgroundColor: n, className: r, children: i, iconStyle: a, direction: o = Z.Row, ...s }, c) => /* @__PURE__ */ p(f, { children: e && /* @__PURE__ */ m("button", {
|
|
2333
2138
|
ref: c,
|
|
2334
|
-
className:
|
|
2139
|
+
className: Y(vt({ direction: o }), n, r),
|
|
2335
2140
|
...s,
|
|
2336
2141
|
"data-testid": "click-me",
|
|
2337
2142
|
children: [
|
|
2338
|
-
typeof e == "string" ? /* @__PURE__ */ (
|
|
2143
|
+
typeof e == "string" ? /* @__PURE__ */ p("img", {
|
|
2339
2144
|
className: "icon-group",
|
|
2340
2145
|
src: e
|
|
2341
2146
|
}) : e,
|
|
2342
2147
|
t,
|
|
2343
2148
|
i
|
|
2344
2149
|
]
|
|
2345
|
-
}) })),
|
|
2150
|
+
}) })), bt = () => /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("svg", {
|
|
2346
2151
|
width: "8",
|
|
2347
2152
|
height: "12",
|
|
2348
2153
|
viewBox: "0 0 8 12",
|
|
2349
2154
|
fill: "none",
|
|
2350
2155
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2351
|
-
children: /* @__PURE__ */ (
|
|
2156
|
+
children: /* @__PURE__ */ p("path", {
|
|
2352
2157
|
d: "M7.705 1.41L6.295 0L0.294998 6L6.295 12L7.705 10.59L3.125 6L7.705 1.41Z",
|
|
2353
2158
|
fill: "#9EA4AA"
|
|
2354
2159
|
})
|
|
2355
|
-
}) }),
|
|
2160
|
+
}) }), xt = () => /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("svg", {
|
|
2356
2161
|
width: "8",
|
|
2357
2162
|
height: "12",
|
|
2358
2163
|
viewBox: "0 0 8 12",
|
|
2359
2164
|
fill: "none",
|
|
2360
2165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2361
|
-
children: /* @__PURE__ */ (
|
|
2166
|
+
children: /* @__PURE__ */ p("path", {
|
|
2362
2167
|
d: "M1.705 0L0.294998 1.41L4.875 6L0.294998 10.59L1.705 12L7.705 6L1.705 0Z",
|
|
2363
2168
|
fill: "#9EA4AA"
|
|
2364
2169
|
})
|
|
2365
2170
|
}) });
|
|
2366
2171
|
//#endregion
|
|
2367
2172
|
//#region src/components/Calendar/utils.ts
|
|
2368
|
-
function
|
|
2173
|
+
function St(e, t) {
|
|
2369
2174
|
return new Date(e, t + 1, 0).getDate();
|
|
2370
2175
|
}
|
|
2371
|
-
function
|
|
2176
|
+
function Ct(e, t) {
|
|
2372
2177
|
return new Date(e, t, 1).getDay();
|
|
2373
2178
|
}
|
|
2374
|
-
function
|
|
2179
|
+
function wt(e, t) {
|
|
2375
2180
|
let n = new Date(e);
|
|
2376
2181
|
return n.setMonth(n.getMonth() + t), n;
|
|
2377
2182
|
}
|
|
2378
|
-
function
|
|
2183
|
+
function Tt(e, t) {
|
|
2379
2184
|
let n = new Date(e);
|
|
2380
2185
|
return n.setMonth(n.getMonth() - t), n;
|
|
2381
2186
|
}
|
|
2382
|
-
function
|
|
2187
|
+
function Et(e, t) {
|
|
2383
2188
|
return !e || !t ? !1 : e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
|
|
2384
2189
|
}
|
|
2385
|
-
function
|
|
2190
|
+
function Dt(e, t) {
|
|
2386
2191
|
let n = e.getTime(), r = t.start.getTime(), i = t.end.getTime();
|
|
2387
2192
|
return n >= Math.min(r, i) && n <= Math.max(r, i);
|
|
2388
2193
|
}
|
|
2389
|
-
function
|
|
2194
|
+
function Ot(e, t) {
|
|
2390
2195
|
return e.getTime() < t.getTime();
|
|
2391
2196
|
}
|
|
2392
|
-
function
|
|
2197
|
+
function kt(e) {
|
|
2393
2198
|
return e.toLocaleString("en-US", {
|
|
2394
2199
|
month: "long",
|
|
2395
2200
|
year: "numeric"
|
|
2396
2201
|
});
|
|
2397
2202
|
}
|
|
2398
|
-
var
|
|
2203
|
+
var At = [
|
|
2399
2204
|
"Su",
|
|
2400
2205
|
"Mo",
|
|
2401
2206
|
"Tu",
|
|
@@ -2403,34 +2208,34 @@ var Mt = [
|
|
|
2403
2208
|
"Th",
|
|
2404
2209
|
"Fr",
|
|
2405
2210
|
"Sa"
|
|
2406
|
-
],
|
|
2407
|
-
className:
|
|
2211
|
+
], jt = ({ className: e }) => /* @__PURE__ */ p("svg", {
|
|
2212
|
+
className: Y("w-4 h-4", e),
|
|
2408
2213
|
fill: "none",
|
|
2409
2214
|
stroke: "currentColor",
|
|
2410
2215
|
viewBox: "0 0 24 24",
|
|
2411
|
-
children: /* @__PURE__ */ (
|
|
2216
|
+
children: /* @__PURE__ */ p("path", {
|
|
2412
2217
|
strokeLinecap: "round",
|
|
2413
2218
|
strokeLinejoin: "round",
|
|
2414
2219
|
strokeWidth: 2,
|
|
2415
2220
|
d: "M15 19l-7-7 7-7"
|
|
2416
2221
|
})
|
|
2417
|
-
}),
|
|
2418
|
-
className:
|
|
2222
|
+
}), Mt = ({ className: e }) => /* @__PURE__ */ p("svg", {
|
|
2223
|
+
className: Y("w-4 h-4", e),
|
|
2419
2224
|
fill: "none",
|
|
2420
2225
|
stroke: "currentColor",
|
|
2421
2226
|
viewBox: "0 0 24 24",
|
|
2422
|
-
children: /* @__PURE__ */ (
|
|
2227
|
+
children: /* @__PURE__ */ p("path", {
|
|
2423
2228
|
strokeLinecap: "round",
|
|
2424
2229
|
strokeLinejoin: "round",
|
|
2425
2230
|
strokeWidth: 2,
|
|
2426
2231
|
d: "M9 5l7 7-7 7"
|
|
2427
2232
|
})
|
|
2428
|
-
}),
|
|
2233
|
+
}), Nt = ({ mode: e = "single", selected: t, onSelect: n, numberOfMonths: r = 1, className: i, presets: a, isDark: s = !1 }) => {
|
|
2429
2234
|
let [c, l] = d(e === "single" && t instanceof Date ? t : e === "range" && t?.from ? t.from : /* @__PURE__ */ new Date());
|
|
2430
2235
|
o(() => {
|
|
2431
2236
|
e === "single" && t instanceof Date ? l(new Date(t.getFullYear(), t.getMonth(), 1)) : e === "range" && t?.from && l(new Date(t.from.getFullYear(), t.from.getMonth(), 1));
|
|
2432
2237
|
}, [t, e]);
|
|
2433
|
-
let u = () => l(
|
|
2238
|
+
let u = () => l(Tt(c, 1)), f = () => l(wt(c, 1)), h = (r) => {
|
|
2434
2239
|
if (e === "single") n?.(r);
|
|
2435
2240
|
else if (e === "range") {
|
|
2436
2241
|
let e = t || {
|
|
@@ -2440,7 +2245,7 @@ var Mt = [
|
|
|
2440
2245
|
!e.from || e.from && e.to ? n?.({
|
|
2441
2246
|
from: r,
|
|
2442
2247
|
to: void 0
|
|
2443
|
-
}) : e.from && !e.to && (
|
|
2248
|
+
}) : e.from && !e.to && (Ot(r, e.from) ? n?.({
|
|
2444
2249
|
from: r,
|
|
2445
2250
|
to: void 0
|
|
2446
2251
|
}) : n?.({
|
|
@@ -2448,70 +2253,70 @@ var Mt = [
|
|
|
2448
2253
|
to: r
|
|
2449
2254
|
}));
|
|
2450
2255
|
}
|
|
2451
|
-
},
|
|
2256
|
+
}, g = (t) => {
|
|
2452
2257
|
let r = a?.find((e) => e.label === t.target.value);
|
|
2453
2258
|
r && e === "range" && (n?.(r.value), l(new Date(r.value.from.getFullYear(), r.value.from.getMonth(), 1)));
|
|
2454
|
-
},
|
|
2455
|
-
let a = n.getFullYear(), o = n.getMonth(), c =
|
|
2456
|
-
...
|
|
2457
|
-
...
|
|
2458
|
-
...
|
|
2259
|
+
}, _ = (n, i) => {
|
|
2260
|
+
let a = n.getFullYear(), o = n.getMonth(), c = St(a, o), l = Ct(a, o), d = St(a, o - 1), g = Array.from({ length: l }, (e, t) => new Date(a, o - 1, d - l + t + 1)), _ = Array.from({ length: c }, (e, t) => new Date(a, o, t + 1)), v = g.length + _.length, y = v % 7 == 0 ? 0 : 7 - v % 7, b = Array.from({ length: y }, (e, t) => new Date(a, o + 1, t + 1)), x = [
|
|
2261
|
+
...g,
|
|
2262
|
+
..._,
|
|
2263
|
+
...b
|
|
2459
2264
|
];
|
|
2460
|
-
return /* @__PURE__ */ (
|
|
2265
|
+
return /* @__PURE__ */ m("div", {
|
|
2461
2266
|
className: "flex flex-col items-center gap-1 w-[260px]",
|
|
2462
|
-
children: [/* @__PURE__ */ (
|
|
2267
|
+
children: [/* @__PURE__ */ m("div", {
|
|
2463
2268
|
className: "flex flex-row justify-between items-center px-2 py-1 w-[260px] min-h-[36px]",
|
|
2464
2269
|
children: [
|
|
2465
|
-
i === 0 ? /* @__PURE__ */ (
|
|
2270
|
+
i === 0 ? /* @__PURE__ */ p("button", {
|
|
2466
2271
|
onClick: u,
|
|
2467
|
-
className:
|
|
2468
|
-
children: /* @__PURE__ */ (
|
|
2469
|
-
}) : /* @__PURE__ */ (
|
|
2470
|
-
/* @__PURE__ */ (
|
|
2471
|
-
className:
|
|
2472
|
-
children: /* @__PURE__ */ (
|
|
2272
|
+
className: Y("flex-none flex items-center justify-center w-7 h-7 rounded-md border focus:outline-none transition-colors", s ? "bg-slate-800 border-slate-700 text-white hover:bg-slate-700" : "bg-white border-slate-200 text-slate-800 hover:bg-slate-50"),
|
|
2273
|
+
children: /* @__PURE__ */ p(jt, {})
|
|
2274
|
+
}) : /* @__PURE__ */ p("div", { className: "w-7 h-7" }),
|
|
2275
|
+
/* @__PURE__ */ p("div", {
|
|
2276
|
+
className: Y("flex flex-row justify-center items-center", s ? "text-white" : "text-slate-950"),
|
|
2277
|
+
children: /* @__PURE__ */ p("span", {
|
|
2473
2278
|
className: "font-[600] text-sm leading-6",
|
|
2474
|
-
children:
|
|
2279
|
+
children: kt(n)
|
|
2475
2280
|
})
|
|
2476
2281
|
}),
|
|
2477
|
-
i === r - 1 ? /* @__PURE__ */ (
|
|
2282
|
+
i === r - 1 ? /* @__PURE__ */ p("button", {
|
|
2478
2283
|
onClick: f,
|
|
2479
|
-
className:
|
|
2480
|
-
children: /* @__PURE__ */ (
|
|
2481
|
-
}) : /* @__PURE__ */ (
|
|
2284
|
+
className: Y("flex-none flex items-center justify-center w-7 h-7 rounded-md border focus:outline-none transition-colors", s ? "bg-slate-800 border-slate-700 text-white hover:bg-slate-700" : "bg-white border-slate-200 text-slate-800 hover:bg-slate-50"),
|
|
2285
|
+
children: /* @__PURE__ */ p(Mt, {})
|
|
2286
|
+
}) : /* @__PURE__ */ p("div", { className: "w-7 h-7" })
|
|
2482
2287
|
]
|
|
2483
|
-
}), /* @__PURE__ */ (
|
|
2288
|
+
}), /* @__PURE__ */ m("div", {
|
|
2484
2289
|
className: "flex flex-col items-start px-1 pb-1.5 w-[260px]",
|
|
2485
|
-
children: [/* @__PURE__ */ (
|
|
2290
|
+
children: [/* @__PURE__ */ p("div", {
|
|
2486
2291
|
className: "grid grid-cols-7 w-[252px]",
|
|
2487
|
-
children:
|
|
2292
|
+
children: At.map((e) => /* @__PURE__ */ p("div", {
|
|
2488
2293
|
className: "flex justify-center items-center w-9 h-5",
|
|
2489
|
-
children: /* @__PURE__ */ (
|
|
2294
|
+
children: /* @__PURE__ */ p("span", {
|
|
2490
2295
|
className: "font-[500] text-xs leading-5 text-slate-500",
|
|
2491
2296
|
children: e
|
|
2492
2297
|
})
|
|
2493
2298
|
}, e))
|
|
2494
|
-
}), /* @__PURE__ */ (
|
|
2299
|
+
}), /* @__PURE__ */ p("div", {
|
|
2495
2300
|
className: "grid grid-cols-7 gap-y-2 mt-2 w-[252px]",
|
|
2496
|
-
children:
|
|
2301
|
+
children: x.map((n, r) => {
|
|
2497
2302
|
let i = n.getMonth() === o, a = !1, c = !1, l = !1, u = !1;
|
|
2498
|
-
if (e === "single" && t instanceof Date) a =
|
|
2303
|
+
if (e === "single" && t instanceof Date) a = Et(n, t);
|
|
2499
2304
|
else if (e === "range") {
|
|
2500
2305
|
let e = t;
|
|
2501
|
-
e?.from && e?.to ? (c =
|
|
2306
|
+
e?.from && e?.to ? (c = Et(n, e.from), l = Et(n, e.to), a = c || l, u = Dt(n, {
|
|
2502
2307
|
start: e.from,
|
|
2503
2308
|
end: e.to
|
|
2504
|
-
})) : e?.from && (a =
|
|
2309
|
+
})) : e?.from && (a = Et(n, e.from), c = a);
|
|
2505
2310
|
}
|
|
2506
|
-
let d = u && !c && !l, f = e === "range" && t?.to && !
|
|
2507
|
-
return /* @__PURE__ */ (
|
|
2508
|
-
className:
|
|
2311
|
+
let d = u && !c && !l, f = e === "range" && t?.to && !Et(t.from, t.to);
|
|
2312
|
+
return /* @__PURE__ */ m("div", {
|
|
2313
|
+
className: Y("relative flex items-center justify-center w-9 h-9", d && (s ? "bg-slate-800" : "bg-slate-100")),
|
|
2509
2314
|
children: [
|
|
2510
|
-
c && f && /* @__PURE__ */ (
|
|
2511
|
-
l && f && /* @__PURE__ */ (
|
|
2512
|
-
/* @__PURE__ */ (
|
|
2513
|
-
onClick: () =>
|
|
2514
|
-
className:
|
|
2315
|
+
c && f && /* @__PURE__ */ p("div", { className: Y("absolute right-0 top-0 bottom-0 w-1/2", s ? "bg-slate-800" : "bg-slate-100") }),
|
|
2316
|
+
l && f && /* @__PURE__ */ p("div", { className: Y("absolute left-0 top-0 bottom-0 w-1/2", s ? "bg-slate-800" : "bg-slate-100") }),
|
|
2317
|
+
/* @__PURE__ */ p("button", {
|
|
2318
|
+
onClick: () => h(n),
|
|
2319
|
+
className: Y("relative z-10 flex-none flex items-center justify-center w-9 h-9 rounded-md focus:outline-none transition-colors", "font-[500] text-sm leading-6", i ? "opacity-100" : "opacity-50", a ? s ? "bg-slate-700 text-white" : "bg-[#0F172A] text-white" : s ? "text-white hover:bg-slate-800" : "text-slate-950 hover:bg-slate-100"),
|
|
2515
2320
|
children: n.getDate()
|
|
2516
2321
|
})
|
|
2517
2322
|
]
|
|
@@ -2520,27 +2325,27 @@ var Mt = [
|
|
|
2520
2325
|
})]
|
|
2521
2326
|
})]
|
|
2522
2327
|
}, i);
|
|
2523
|
-
},
|
|
2524
|
-
return /* @__PURE__ */ (
|
|
2525
|
-
className:
|
|
2526
|
-
children: [a && a.length > 0 && e === "range" && /* @__PURE__ */ (
|
|
2527
|
-
onChange:
|
|
2528
|
-
className:
|
|
2328
|
+
}, v = Array.from({ length: r }, (e, t) => wt(c, t));
|
|
2329
|
+
return /* @__PURE__ */ m("div", {
|
|
2330
|
+
className: Y("flex flex-col gap-2", i),
|
|
2331
|
+
children: [a && a.length > 0 && e === "range" && /* @__PURE__ */ m("select", {
|
|
2332
|
+
onChange: g,
|
|
2333
|
+
className: Y("p-2 w-full text-sm rounded-md border appearance-none focus:outline-none", s ? "bg-slate-900 border-slate-700 text-white" : "bg-white border-[#E2E8F0] text-slate-800"),
|
|
2529
2334
|
defaultValue: "",
|
|
2530
|
-
children: [/* @__PURE__ */ (
|
|
2335
|
+
children: [/* @__PURE__ */ p("option", {
|
|
2531
2336
|
value: "",
|
|
2532
2337
|
disabled: !0,
|
|
2533
2338
|
children: "Select Preset"
|
|
2534
|
-
}), a.map((e) => /* @__PURE__ */ (
|
|
2339
|
+
}), a.map((e) => /* @__PURE__ */ p("option", {
|
|
2535
2340
|
value: e.label,
|
|
2536
2341
|
children: e.label
|
|
2537
2342
|
}, e.label))]
|
|
2538
|
-
}), /* @__PURE__ */ (
|
|
2539
|
-
className:
|
|
2540
|
-
children:
|
|
2343
|
+
}), /* @__PURE__ */ p("div", {
|
|
2344
|
+
className: Y("box-border flex flex-row items-start p-3 gap-1 rounded-md border w-max", s ? "bg-[#0B1120] border-slate-800" : "bg-[#FFFFFF] border-slate-200"),
|
|
2345
|
+
children: v.map((e, t) => _(e, t))
|
|
2541
2346
|
})]
|
|
2542
2347
|
});
|
|
2543
|
-
},
|
|
2348
|
+
}, Pt = y("border-slate-200", {
|
|
2544
2349
|
variants: {
|
|
2545
2350
|
variant: {
|
|
2546
2351
|
solid: "border-solid",
|
|
@@ -2558,55 +2363,55 @@ var Mt = [
|
|
|
2558
2363
|
variant: "solid",
|
|
2559
2364
|
color: "default"
|
|
2560
2365
|
}
|
|
2561
|
-
}),
|
|
2366
|
+
}), Ft = n(({ label: e, children: t, orientation: n = "horizontal", labelPosition: r = "center", variant: i = "solid", color: a = "default", className: o, ...s }, c) => {
|
|
2562
2367
|
let l = e || t;
|
|
2563
|
-
if (n === "vertical") return /* @__PURE__ */ (
|
|
2368
|
+
if (n === "vertical") return /* @__PURE__ */ p("div", {
|
|
2564
2369
|
ref: c,
|
|
2565
2370
|
role: "separator",
|
|
2566
2371
|
"aria-orientation": "vertical",
|
|
2567
|
-
className:
|
|
2372
|
+
className: Y("inline-block min-h-[1em] w-px self-stretch border-l border-slate-200 mx-2", Pt({
|
|
2568
2373
|
variant: i,
|
|
2569
2374
|
color: a
|
|
2570
2375
|
}), o),
|
|
2571
2376
|
...s
|
|
2572
2377
|
});
|
|
2573
|
-
if (!l) return /* @__PURE__ */ (
|
|
2378
|
+
if (!l) return /* @__PURE__ */ p("div", {
|
|
2574
2379
|
ref: c,
|
|
2575
2380
|
role: "separator",
|
|
2576
2381
|
"aria-orientation": "horizontal",
|
|
2577
|
-
className:
|
|
2382
|
+
className: Y("w-full border-t border-slate-200 my-4", Pt({
|
|
2578
2383
|
variant: i,
|
|
2579
2384
|
color: a
|
|
2580
2385
|
}), o),
|
|
2581
2386
|
...s
|
|
2582
2387
|
});
|
|
2583
2388
|
let u = r === "left", d = r === "right";
|
|
2584
|
-
return /* @__PURE__ */ (
|
|
2389
|
+
return /* @__PURE__ */ m("div", {
|
|
2585
2390
|
ref: c,
|
|
2586
2391
|
role: "separator",
|
|
2587
2392
|
"aria-orientation": "horizontal",
|
|
2588
|
-
className:
|
|
2393
|
+
className: Y("flex items-center w-full my-4 select-none", o),
|
|
2589
2394
|
...s,
|
|
2590
2395
|
children: [
|
|
2591
|
-
/* @__PURE__ */ (
|
|
2396
|
+
/* @__PURE__ */ p("div", { className: Y("border-t border-slate-200", Pt({
|
|
2592
2397
|
variant: i,
|
|
2593
2398
|
color: a
|
|
2594
2399
|
}), u ? "w-8 flex-none" : "flex-grow") }),
|
|
2595
|
-
/* @__PURE__ */ (
|
|
2596
|
-
className:
|
|
2400
|
+
/* @__PURE__ */ p("span", {
|
|
2401
|
+
className: Y("px-3 text-xs font-[500] text-slate-500 whitespace-nowrap", a === "dark" && "text-slate-300", a === "primary" && "text-slate-900 font-semibold"),
|
|
2597
2402
|
children: l
|
|
2598
2403
|
}),
|
|
2599
|
-
/* @__PURE__ */ (
|
|
2404
|
+
/* @__PURE__ */ p("div", { className: Y("border-t border-slate-200", Pt({
|
|
2600
2405
|
variant: i,
|
|
2601
2406
|
color: a
|
|
2602
2407
|
}), d ? "w-8 flex-none" : "flex-grow") })
|
|
2603
2408
|
]
|
|
2604
2409
|
});
|
|
2605
2410
|
});
|
|
2606
|
-
|
|
2411
|
+
Ft.displayName = "Divider";
|
|
2607
2412
|
//#endregion
|
|
2608
2413
|
//#region src/components/ImagePopOver/ImagePopOver.tsx
|
|
2609
|
-
var
|
|
2414
|
+
var It = y("relative bg-white shadow-2xl overflow-hidden transition-all duration-200 flex flex-col", {
|
|
2610
2415
|
variants: {
|
|
2611
2416
|
size: {
|
|
2612
2417
|
sm: "max-w-md max-h-[60vh]",
|
|
@@ -2626,65 +2431,65 @@ var Rt = v("relative bg-white shadow-2xl overflow-hidden transition-all duration
|
|
|
2626
2431
|
size: "default",
|
|
2627
2432
|
rounded: "xl"
|
|
2628
2433
|
}
|
|
2629
|
-
}),
|
|
2630
|
-
let
|
|
2434
|
+
}), Lt = n(({ url: e, alt: t = "Preview image", title: n, caption: r, open: a = !0, onClose: s, size: c = "default", rounded: l = "xl", closeOnBackdropClick: u = !0, closeOnEsc: d = !0, className: f, ...h }, g) => {
|
|
2435
|
+
let _ = i(() => {
|
|
2631
2436
|
s(!1);
|
|
2632
2437
|
}, [s]);
|
|
2633
2438
|
return o(() => {
|
|
2634
2439
|
if (!a || !d) return;
|
|
2635
2440
|
let e = (e) => {
|
|
2636
|
-
e.key === "Escape" &&
|
|
2441
|
+
e.key === "Escape" && _();
|
|
2637
2442
|
};
|
|
2638
2443
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
2639
2444
|
}, [
|
|
2640
2445
|
a,
|
|
2641
2446
|
d,
|
|
2642
|
-
|
|
2643
|
-
]), a ? /* @__PURE__ */ (
|
|
2447
|
+
_
|
|
2448
|
+
]), a ? /* @__PURE__ */ p("div", {
|
|
2644
2449
|
role: "dialog",
|
|
2645
2450
|
"aria-modal": "true",
|
|
2646
2451
|
"aria-label": typeof n == "string" ? n : "Image Preview",
|
|
2647
2452
|
className: "fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-xs transition-opacity duration-200 animate-in fade-in",
|
|
2648
|
-
onClick: u ?
|
|
2649
|
-
children: /* @__PURE__ */ (
|
|
2650
|
-
ref:
|
|
2651
|
-
className:
|
|
2453
|
+
onClick: u ? _ : void 0,
|
|
2454
|
+
children: /* @__PURE__ */ m("div", {
|
|
2455
|
+
ref: g,
|
|
2456
|
+
className: Y(It({
|
|
2652
2457
|
size: c,
|
|
2653
2458
|
rounded: l
|
|
2654
2459
|
}), "w-full p-2 border border-slate-100", f),
|
|
2655
2460
|
onClick: (e) => e.stopPropagation(),
|
|
2656
|
-
...
|
|
2461
|
+
...h,
|
|
2657
2462
|
children: [
|
|
2658
|
-
n && /* @__PURE__ */ (
|
|
2463
|
+
n && /* @__PURE__ */ p("div", {
|
|
2659
2464
|
className: "px-3 py-2 border-b border-slate-100 flex items-center justify-between",
|
|
2660
|
-
children: /* @__PURE__ */ (
|
|
2465
|
+
children: /* @__PURE__ */ p("h3", {
|
|
2661
2466
|
className: "text-sm font-semibold text-[#0F172A] truncate",
|
|
2662
2467
|
children: n
|
|
2663
2468
|
})
|
|
2664
2469
|
}),
|
|
2665
|
-
/* @__PURE__ */ (
|
|
2470
|
+
/* @__PURE__ */ p("div", {
|
|
2666
2471
|
className: "relative flex items-center justify-center overflow-hidden bg-slate-50 rounded-lg min-h-[240px]",
|
|
2667
|
-
children: /* @__PURE__ */ (
|
|
2472
|
+
children: /* @__PURE__ */ p("img", {
|
|
2668
2473
|
src: e,
|
|
2669
2474
|
alt: t,
|
|
2670
2475
|
className: "w-full h-full max-h-[70vh] object-contain transition-transform select-none"
|
|
2671
2476
|
})
|
|
2672
2477
|
}),
|
|
2673
|
-
r && /* @__PURE__ */ (
|
|
2478
|
+
r && /* @__PURE__ */ p("div", {
|
|
2674
2479
|
className: "px-3 py-2 border-t border-slate-100 text-xs text-slate-500",
|
|
2675
2480
|
children: r
|
|
2676
2481
|
}),
|
|
2677
|
-
/* @__PURE__ */ (
|
|
2482
|
+
/* @__PURE__ */ p("button", {
|
|
2678
2483
|
type: "button",
|
|
2679
2484
|
className: "absolute top-3 right-3 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-white/90 text-slate-600 shadow-md backdrop-blur-sm transition-all hover:bg-white hover:text-red-600 hover:scale-110 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] cursor-pointer",
|
|
2680
|
-
onClick:
|
|
2485
|
+
onClick: _,
|
|
2681
2486
|
"aria-label": "Close image preview",
|
|
2682
|
-
children: /* @__PURE__ */ (
|
|
2487
|
+
children: /* @__PURE__ */ p("svg", {
|
|
2683
2488
|
className: "h-4 w-4",
|
|
2684
2489
|
fill: "none",
|
|
2685
2490
|
stroke: "currentColor",
|
|
2686
2491
|
viewBox: "0 0 24 24",
|
|
2687
|
-
children: /* @__PURE__ */ (
|
|
2492
|
+
children: /* @__PURE__ */ p("path", {
|
|
2688
2493
|
strokeLinecap: "round",
|
|
2689
2494
|
strokeLinejoin: "round",
|
|
2690
2495
|
strokeWidth: 2,
|
|
@@ -2696,10 +2501,10 @@ var Rt = v("relative bg-white shadow-2xl overflow-hidden transition-all duration
|
|
|
2696
2501
|
})
|
|
2697
2502
|
}) : null;
|
|
2698
2503
|
});
|
|
2699
|
-
|
|
2504
|
+
Lt.displayName = "ImagePopOver";
|
|
2700
2505
|
//#endregion
|
|
2701
2506
|
//#region src/components/Input/Input.tsx
|
|
2702
|
-
var
|
|
2507
|
+
var Rt = y("flex w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] focus:border-transparent transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 file:border-0 file:bg-transparent file:text-sm file:font-[500] file:text-[#0F172A] file:cursor-pointer", {
|
|
2703
2508
|
variants: {
|
|
2704
2509
|
inputSize: {
|
|
2705
2510
|
sm: "h-9 text-xs px-2.5",
|
|
@@ -2709,208 +2514,208 @@ var Bt = v("flex w-full rounded-md border border-gray-200 bg-white px-3 py-2 tex
|
|
|
2709
2514
|
hasError: { true: "border-red-500 focus:ring-red-500 text-red-900 placeholder:text-red-300" }
|
|
2710
2515
|
},
|
|
2711
2516
|
defaultVariants: { inputSize: "default" }
|
|
2712
|
-
}),
|
|
2713
|
-
let f = s(),
|
|
2714
|
-
id:
|
|
2517
|
+
}), zt = n(({ className: e, inputSize: t = "default", hasError: n = !1, label: r, helperText: i, errorMessage: a, id: o, disabled: c, type: l = "text", ...u }, d) => {
|
|
2518
|
+
let f = s(), h = o || f, g = `${h}-desc`, _ = !!(a || n), v = /* @__PURE__ */ p("input", {
|
|
2519
|
+
id: h,
|
|
2715
2520
|
ref: d,
|
|
2716
2521
|
type: l,
|
|
2717
2522
|
disabled: c,
|
|
2718
|
-
"aria-invalid":
|
|
2719
|
-
"aria-describedby": i || a ?
|
|
2720
|
-
className:
|
|
2523
|
+
"aria-invalid": _,
|
|
2524
|
+
"aria-describedby": i || a ? g : void 0,
|
|
2525
|
+
className: Y(Rt({
|
|
2721
2526
|
inputSize: t,
|
|
2722
|
-
hasError:
|
|
2527
|
+
hasError: _,
|
|
2723
2528
|
className: e
|
|
2724
2529
|
})),
|
|
2725
2530
|
...u
|
|
2726
2531
|
});
|
|
2727
|
-
return !r && !i && !a ?
|
|
2532
|
+
return !r && !i && !a ? v : /* @__PURE__ */ m("div", {
|
|
2728
2533
|
className: "w-full flex flex-col gap-2",
|
|
2729
2534
|
children: [
|
|
2730
|
-
r && /* @__PURE__ */ (
|
|
2731
|
-
htmlFor:
|
|
2732
|
-
className:
|
|
2535
|
+
r && /* @__PURE__ */ p("label", {
|
|
2536
|
+
htmlFor: h,
|
|
2537
|
+
className: Y("text-sm font-[600] text-[#0F172A]", c && "opacity-50 cursor-not-allowed"),
|
|
2733
2538
|
children: r
|
|
2734
2539
|
}),
|
|
2735
|
-
|
|
2736
|
-
a ? /* @__PURE__ */ (
|
|
2737
|
-
id:
|
|
2540
|
+
v,
|
|
2541
|
+
a ? /* @__PURE__ */ p("p", {
|
|
2542
|
+
id: g,
|
|
2738
2543
|
className: "text-xs font-[400] text-red-500",
|
|
2739
2544
|
children: a
|
|
2740
|
-
}) : i ? /* @__PURE__ */ (
|
|
2741
|
-
id:
|
|
2545
|
+
}) : i ? /* @__PURE__ */ p("p", {
|
|
2546
|
+
id: g,
|
|
2742
2547
|
className: "text-xs font-[400] text-gray-500",
|
|
2743
2548
|
children: i
|
|
2744
2549
|
}) : null
|
|
2745
2550
|
]
|
|
2746
2551
|
});
|
|
2747
2552
|
});
|
|
2748
|
-
|
|
2553
|
+
zt.displayName = "Input";
|
|
2749
2554
|
//#endregion
|
|
2750
2555
|
//#region src/components/InputOTP/InputOTP.tsx
|
|
2751
|
-
var
|
|
2752
|
-
let
|
|
2753
|
-
c(
|
|
2754
|
-
focus: () =>
|
|
2755
|
-
blur: () =>
|
|
2556
|
+
var Bt = t(null), Vt = n(({ maxLength: e = 6, value: t, defaultValue: n = "", onChange: r, disabled: i = !1, readOnly: a = !1, pattern: s = "^[0-9]*$", autoFocus: l = !1, className: f, children: h, ...g }, _) => {
|
|
2557
|
+
let v = t !== void 0, [y, b] = d(n), x = v ? t : y, [S, C] = d(!1), [w, T] = d(0), E = u(null);
|
|
2558
|
+
c(_, () => ({
|
|
2559
|
+
focus: () => E.current?.focus(),
|
|
2560
|
+
blur: () => E.current?.blur(),
|
|
2756
2561
|
clear: () => {
|
|
2757
|
-
|
|
2562
|
+
v || b(""), r?.("");
|
|
2758
2563
|
}
|
|
2759
2564
|
})), o(() => {
|
|
2760
|
-
l &&
|
|
2565
|
+
l && E.current?.focus();
|
|
2761
2566
|
}, [l]);
|
|
2762
|
-
let
|
|
2567
|
+
let D = (t) => {
|
|
2763
2568
|
let n = t.target.value.slice(0, e);
|
|
2764
|
-
s && n.length > 0 && !new RegExp(s).test(n) || (
|
|
2765
|
-
},
|
|
2569
|
+
s && n.length > 0 && !new RegExp(s).test(n) || (v || b(n), r?.(n), T(n.length));
|
|
2570
|
+
}, O = (e) => {
|
|
2766
2571
|
(e.key === "ArrowLeft" || e.key === "ArrowRight") && setTimeout(() => {
|
|
2767
|
-
|
|
2572
|
+
E.current && T(E.current.selectionStart || 0);
|
|
2768
2573
|
}, 0);
|
|
2769
|
-
},
|
|
2770
|
-
return /* @__PURE__ */ (
|
|
2574
|
+
}, k = S ? Math.min(w, x.length) : -1;
|
|
2575
|
+
return /* @__PURE__ */ p(Bt.Provider, {
|
|
2771
2576
|
value: {
|
|
2772
|
-
value:
|
|
2577
|
+
value: x,
|
|
2773
2578
|
maxLength: e,
|
|
2774
|
-
activeIndex:
|
|
2579
|
+
activeIndex: k,
|
|
2775
2580
|
setActiveIndex: (e) => {
|
|
2776
|
-
|
|
2581
|
+
T(e), E.current && (E.current.focus(), E.current.setSelectionRange(e, e));
|
|
2777
2582
|
},
|
|
2778
2583
|
disabled: i,
|
|
2779
2584
|
readOnly: a,
|
|
2780
|
-
hasFakeCaret:
|
|
2585
|
+
hasFakeCaret: S,
|
|
2781
2586
|
onChange: (e) => {
|
|
2782
|
-
|
|
2587
|
+
v || b(e), r?.(e);
|
|
2783
2588
|
},
|
|
2784
|
-
inputRef:
|
|
2589
|
+
inputRef: E
|
|
2785
2590
|
},
|
|
2786
|
-
children: /* @__PURE__ */ (
|
|
2787
|
-
className:
|
|
2591
|
+
children: /* @__PURE__ */ m("div", {
|
|
2592
|
+
className: Y("relative inline-flex items-center gap-2 select-none", f),
|
|
2788
2593
|
onClick: () => {
|
|
2789
|
-
!i && !a &&
|
|
2594
|
+
!i && !a && E.current?.focus();
|
|
2790
2595
|
},
|
|
2791
|
-
...
|
|
2792
|
-
children: [/* @__PURE__ */ (
|
|
2793
|
-
ref:
|
|
2596
|
+
...g,
|
|
2597
|
+
children: [/* @__PURE__ */ p("input", {
|
|
2598
|
+
ref: E,
|
|
2794
2599
|
type: "text",
|
|
2795
2600
|
inputMode: "numeric",
|
|
2796
2601
|
autoComplete: "one-time-code",
|
|
2797
2602
|
maxLength: e,
|
|
2798
|
-
value:
|
|
2603
|
+
value: x,
|
|
2799
2604
|
disabled: i,
|
|
2800
2605
|
readOnly: a,
|
|
2801
|
-
onChange:
|
|
2802
|
-
onKeyDown:
|
|
2606
|
+
onChange: D,
|
|
2607
|
+
onKeyDown: O,
|
|
2803
2608
|
onFocus: () => {
|
|
2804
|
-
|
|
2609
|
+
C(!0), T(x.length);
|
|
2805
2610
|
},
|
|
2806
|
-
onBlur: () =>
|
|
2611
|
+
onBlur: () => C(!1),
|
|
2807
2612
|
onSelect: (e) => {
|
|
2808
|
-
|
|
2613
|
+
T(e.currentTarget.selectionStart || 0);
|
|
2809
2614
|
},
|
|
2810
2615
|
className: "absolute inset-0 w-full h-full opacity-0 pointer-events-none cursor-default",
|
|
2811
2616
|
tabIndex: i ? -1 : 0,
|
|
2812
2617
|
"aria-label": "OTP Input"
|
|
2813
|
-
}),
|
|
2618
|
+
}), h]
|
|
2814
2619
|
})
|
|
2815
2620
|
});
|
|
2816
2621
|
});
|
|
2817
|
-
|
|
2818
|
-
var
|
|
2622
|
+
Vt.displayName = "InputOTP";
|
|
2623
|
+
var Ht = n(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p("div", {
|
|
2819
2624
|
ref: r,
|
|
2820
|
-
className:
|
|
2625
|
+
className: Y("flex items-center rounded-md border border-gray-200 shadow-sm bg-white overflow-hidden", e),
|
|
2821
2626
|
...n,
|
|
2822
2627
|
children: t
|
|
2823
2628
|
}));
|
|
2824
|
-
|
|
2825
|
-
var
|
|
2826
|
-
let i = a(
|
|
2629
|
+
Ht.displayName = "InputOTPGroup";
|
|
2630
|
+
var Ut = n(({ index: e, className: t, ...n }, r) => {
|
|
2631
|
+
let i = a(Bt);
|
|
2827
2632
|
if (!i) throw Error("InputOTPSlot must be used within an InputOTP component");
|
|
2828
2633
|
let { value: o, activeIndex: s, disabled: c, hasFakeCaret: l } = i, u = o[e] || "", d = s === e;
|
|
2829
|
-
return /* @__PURE__ */ (
|
|
2634
|
+
return /* @__PURE__ */ m("div", {
|
|
2830
2635
|
ref: r,
|
|
2831
|
-
className:
|
|
2636
|
+
className: Y("relative flex h-10 w-10 items-center justify-center border-r border-gray-200 text-sm font-[500] text-[#0F172A] transition-all first:rounded-l-md last:border-r-0 last:rounded-r-md", d && "z-10 ring-2 ring-[#0F172A] ring-offset-0 border-transparent", c && "bg-slate-50 opacity-50 cursor-not-allowed", t),
|
|
2832
2637
|
...n,
|
|
2833
|
-
children: [u, d && !u && l && !c && /* @__PURE__ */ (
|
|
2638
|
+
children: [u, d && !u && l && !c && /* @__PURE__ */ p("div", {
|
|
2834
2639
|
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
2835
|
-
children: /* @__PURE__ */ (
|
|
2640
|
+
children: /* @__PURE__ */ p("div", { className: "h-4 w-px animate-pulse bg-[#0F172A] duration-1000" })
|
|
2836
2641
|
})]
|
|
2837
2642
|
});
|
|
2838
2643
|
});
|
|
2839
|
-
|
|
2840
|
-
var
|
|
2644
|
+
Ut.displayName = "InputOTPSlot";
|
|
2645
|
+
var Wt = n(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p("div", {
|
|
2841
2646
|
ref: r,
|
|
2842
2647
|
role: "separator",
|
|
2843
|
-
className:
|
|
2648
|
+
className: Y("flex items-center justify-center px-1 text-gray-400 font-bold text-lg select-none", e),
|
|
2844
2649
|
...n,
|
|
2845
2650
|
children: t || "•"
|
|
2846
2651
|
}));
|
|
2847
|
-
|
|
2652
|
+
Wt.displayName = "InputOTPSeparator";
|
|
2848
2653
|
//#endregion
|
|
2849
2654
|
//#region src/components/Pagination/Pagination.tsx
|
|
2850
|
-
var
|
|
2655
|
+
var Gt = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("nav", {
|
|
2851
2656
|
ref: n,
|
|
2852
2657
|
role: "navigation",
|
|
2853
2658
|
"aria-label": "pagination",
|
|
2854
|
-
className:
|
|
2659
|
+
className: Y("mx-auto flex w-full justify-center select-none", e),
|
|
2855
2660
|
...t
|
|
2856
2661
|
}));
|
|
2857
|
-
|
|
2858
|
-
var
|
|
2662
|
+
Gt.displayName = "Pagination";
|
|
2663
|
+
var Kt = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("ul", {
|
|
2859
2664
|
ref: n,
|
|
2860
|
-
className:
|
|
2665
|
+
className: Y("flex flex-row items-center gap-1", e),
|
|
2861
2666
|
...t
|
|
2862
2667
|
}));
|
|
2863
|
-
|
|
2864
|
-
var
|
|
2668
|
+
Kt.displayName = "PaginationContent";
|
|
2669
|
+
var qt = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("li", {
|
|
2865
2670
|
ref: n,
|
|
2866
|
-
className:
|
|
2671
|
+
className: Y("", e),
|
|
2867
2672
|
...t
|
|
2868
2673
|
}));
|
|
2869
|
-
|
|
2870
|
-
var
|
|
2674
|
+
qt.displayName = "PaginationItem";
|
|
2675
|
+
var Jt = n(({ className: e, isActive: t, disabled: n, children: r, ...i }, a) => /* @__PURE__ */ p("button", {
|
|
2871
2676
|
ref: a,
|
|
2872
2677
|
type: "button",
|
|
2873
2678
|
"aria-current": t ? "page" : void 0,
|
|
2874
2679
|
disabled: n,
|
|
2875
|
-
className:
|
|
2680
|
+
className: Y("inline-flex h-10 min-w-10 items-center justify-center rounded-lg px-3.5 text-sm font-[500] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]", t ? "border border-gray-200 bg-white font-[600] text-[#0F172A] shadow-sm" : "bg-transparent text-[#0F172A] hover:bg-slate-100", n && "pointer-events-none opacity-40 cursor-not-allowed", e),
|
|
2876
2681
|
...i,
|
|
2877
2682
|
children: r
|
|
2878
2683
|
}));
|
|
2879
|
-
|
|
2880
|
-
var
|
|
2684
|
+
Jt.displayName = "PaginationLink";
|
|
2685
|
+
var Yt = n(({ className: e, disabled: t, ...n }, r) => /* @__PURE__ */ m("button", {
|
|
2881
2686
|
ref: r,
|
|
2882
2687
|
type: "button",
|
|
2883
2688
|
"aria-label": "Go to previous page",
|
|
2884
2689
|
disabled: t,
|
|
2885
|
-
className:
|
|
2690
|
+
className: Y("inline-flex h-10 items-center gap-1.5 rounded-md px-3 text-sm font-[500] transition-colors hover:bg-slate-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]", t ? "pointer-events-none text-slate-400 cursor-not-allowed" : "text-[#0F172A] hover:text-[#0F172A]", e),
|
|
2886
2691
|
...n,
|
|
2887
|
-
children: [/* @__PURE__ */ (
|
|
2692
|
+
children: [/* @__PURE__ */ p("svg", {
|
|
2888
2693
|
className: "h-4 w-4",
|
|
2889
2694
|
fill: "none",
|
|
2890
2695
|
stroke: "currentColor",
|
|
2891
2696
|
viewBox: "0 0 24 24",
|
|
2892
|
-
children: /* @__PURE__ */ (
|
|
2697
|
+
children: /* @__PURE__ */ p("path", {
|
|
2893
2698
|
strokeLinecap: "round",
|
|
2894
2699
|
strokeLinejoin: "round",
|
|
2895
2700
|
strokeWidth: 2,
|
|
2896
2701
|
d: "M15 19l-7-7 7-7"
|
|
2897
2702
|
})
|
|
2898
|
-
}), /* @__PURE__ */ (
|
|
2703
|
+
}), /* @__PURE__ */ p("span", { children: "Previous" })]
|
|
2899
2704
|
}));
|
|
2900
|
-
|
|
2901
|
-
var
|
|
2705
|
+
Yt.displayName = "PaginationPrevious";
|
|
2706
|
+
var Xt = n(({ className: e, disabled: t, ...n }, r) => /* @__PURE__ */ m("button", {
|
|
2902
2707
|
ref: r,
|
|
2903
2708
|
type: "button",
|
|
2904
2709
|
"aria-label": "Go to next page",
|
|
2905
2710
|
disabled: t,
|
|
2906
|
-
className:
|
|
2711
|
+
className: Y("inline-flex h-10 items-center gap-1.5 rounded-md px-3 text-sm font-[500] transition-colors hover:bg-slate-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]", t ? "pointer-events-none text-slate-400 cursor-not-allowed" : "text-[#0F172A] hover:text-[#0F172A]", e),
|
|
2907
2712
|
...n,
|
|
2908
|
-
children: [/* @__PURE__ */ (
|
|
2713
|
+
children: [/* @__PURE__ */ p("span", { children: "Next" }), /* @__PURE__ */ p("svg", {
|
|
2909
2714
|
className: "h-4 w-4",
|
|
2910
2715
|
fill: "none",
|
|
2911
2716
|
stroke: "currentColor",
|
|
2912
2717
|
viewBox: "0 0 24 24",
|
|
2913
|
-
children: /* @__PURE__ */ (
|
|
2718
|
+
children: /* @__PURE__ */ p("path", {
|
|
2914
2719
|
strokeLinecap: "round",
|
|
2915
2720
|
strokeLinejoin: "round",
|
|
2916
2721
|
strokeWidth: 2,
|
|
@@ -2918,18 +2723,18 @@ var Qt = n(({ className: e, disabled: t, ...n }, r) => /* @__PURE__ */ (0, Y.jsx
|
|
|
2918
2723
|
})
|
|
2919
2724
|
})]
|
|
2920
2725
|
}));
|
|
2921
|
-
|
|
2922
|
-
var
|
|
2726
|
+
Xt.displayName = "PaginationNext";
|
|
2727
|
+
var Zt = ({ className: e, ...t }) => /* @__PURE__ */ p("span", {
|
|
2923
2728
|
"aria-hidden": !0,
|
|
2924
|
-
className:
|
|
2729
|
+
className: Y("flex h-10 w-8 items-center justify-center text-sm font-bold text-slate-700 select-none", e),
|
|
2925
2730
|
...t,
|
|
2926
2731
|
children: "…"
|
|
2927
2732
|
});
|
|
2928
|
-
|
|
2929
|
-
var
|
|
2733
|
+
Zt.displayName = "PaginationEllipsis";
|
|
2734
|
+
var Qt = ({ totalPages: e, currentPage: t, onPageChange: n, className: r }) => /* @__PURE__ */ p(Gt, {
|
|
2930
2735
|
className: r,
|
|
2931
|
-
children: /* @__PURE__ */ (
|
|
2932
|
-
/* @__PURE__ */ (
|
|
2736
|
+
children: /* @__PURE__ */ m(Kt, { children: [
|
|
2737
|
+
/* @__PURE__ */ p(qt, { children: /* @__PURE__ */ p(Yt, {
|
|
2933
2738
|
disabled: t === 1,
|
|
2934
2739
|
onClick: () => n(t - 1)
|
|
2935
2740
|
}) }),
|
|
@@ -2944,17 +2749,17 @@ var en = ({ totalPages: e, currentPage: t, onPageChange: n, className: r }) => /
|
|
|
2944
2749
|
for (let t = e - 4; t <= e; t++) n.push(t);
|
|
2945
2750
|
} else n.push(1), n.push("ellipsis-start"), n.push(t - 1), n.push(t), n.push(t + 1), n.push("ellipsis-end"), n.push(e);
|
|
2946
2751
|
return n;
|
|
2947
|
-
})().map((e, r) => /* @__PURE__ */ (
|
|
2752
|
+
})().map((e, r) => /* @__PURE__ */ p(qt, { children: typeof e == "number" ? /* @__PURE__ */ p(Jt, {
|
|
2948
2753
|
isActive: t === e,
|
|
2949
2754
|
onClick: () => n(e),
|
|
2950
2755
|
children: e
|
|
2951
|
-
}) : /* @__PURE__ */ (
|
|
2952
|
-
/* @__PURE__ */ (
|
|
2756
|
+
}) : /* @__PURE__ */ p(Zt, {}) }, r)),
|
|
2757
|
+
/* @__PURE__ */ p(qt, { children: /* @__PURE__ */ p(Xt, {
|
|
2953
2758
|
disabled: t === e,
|
|
2954
2759
|
onClick: () => n(t + 1)
|
|
2955
2760
|
}) })
|
|
2956
2761
|
] })
|
|
2957
|
-
}),
|
|
2762
|
+
}), $t = y("relative flex items-center transition-all duration-200 select-none", {
|
|
2958
2763
|
variants: {
|
|
2959
2764
|
layout: {
|
|
2960
2765
|
default: "flex-row items-center gap-3",
|
|
@@ -2971,126 +2776,126 @@ var en = ({ totalPages: e, currentPage: t, onPageChange: n, className: r }) => /
|
|
|
2971
2776
|
layout: "default",
|
|
2972
2777
|
bordered: !1
|
|
2973
2778
|
}
|
|
2974
|
-
}),
|
|
2975
|
-
let
|
|
2779
|
+
}), en = n(({ className: e, layout: t = "default", bordered: n = !1, avatarUrl: r, name: i, subtitle: a, isVerified: o = !1, avatarShape: s = "circle", avatarSize: c = "default", trailing: l, children: u, ...d }, f) => {
|
|
2780
|
+
let h = {
|
|
2976
2781
|
sm: "h-8 w-8 text-xs",
|
|
2977
2782
|
default: "h-10 w-10 text-sm",
|
|
2978
2783
|
lg: "h-12 w-12 text-base"
|
|
2979
|
-
}[c],
|
|
2980
|
-
className:
|
|
2981
|
-
children: r ? /* @__PURE__ */ (
|
|
2784
|
+
}[c], g = () => /* @__PURE__ */ p("div", {
|
|
2785
|
+
className: Y("relative flex-shrink-0 flex items-center justify-center overflow-hidden bg-slate-100 text-[#0F172A] font-semibold", s === "circle" ? "rounded-full" : "rounded-2xl", h),
|
|
2786
|
+
children: r ? /* @__PURE__ */ p("img", {
|
|
2982
2787
|
src: r,
|
|
2983
2788
|
alt: i,
|
|
2984
2789
|
className: "h-full w-full object-cover"
|
|
2985
|
-
}) : /* @__PURE__ */ (
|
|
2986
|
-
}),
|
|
2987
|
-
className:
|
|
2790
|
+
}) : /* @__PURE__ */ p("span", { children: i.charAt(0).toUpperCase() })
|
|
2791
|
+
}), _ = () => /* @__PURE__ */ m("div", {
|
|
2792
|
+
className: Y("flex flex-col min-w-0", t === "vertical" ? "items-center" : "items-start"),
|
|
2988
2793
|
children: [
|
|
2989
|
-
/* @__PURE__ */ (
|
|
2794
|
+
/* @__PURE__ */ m("div", {
|
|
2990
2795
|
className: "inline-flex items-center gap-1.5",
|
|
2991
|
-
children: [/* @__PURE__ */ (
|
|
2796
|
+
children: [/* @__PURE__ */ p("span", {
|
|
2992
2797
|
className: "text-sm font-[600] text-[#0F172A] leading-tight truncate",
|
|
2993
2798
|
children: i
|
|
2994
|
-
}), o && /* @__PURE__ */ (
|
|
2799
|
+
}), o && /* @__PURE__ */ p("span", {
|
|
2995
2800
|
className: "inline-flex items-center justify-center text-blue-500 flex-shrink-0",
|
|
2996
2801
|
title: "Verified",
|
|
2997
|
-
children: /* @__PURE__ */ (
|
|
2802
|
+
children: /* @__PURE__ */ p("svg", {
|
|
2998
2803
|
className: "h-4 w-4 fill-current",
|
|
2999
2804
|
viewBox: "0 0 24 24",
|
|
3000
|
-
children: /* @__PURE__ */ (
|
|
2805
|
+
children: /* @__PURE__ */ p("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
|
|
3001
2806
|
})
|
|
3002
2807
|
})]
|
|
3003
2808
|
}),
|
|
3004
|
-
a && /* @__PURE__ */ (
|
|
2809
|
+
a && /* @__PURE__ */ p("span", {
|
|
3005
2810
|
className: "text-xs font-[400] text-slate-500 mt-0.5 leading-tight",
|
|
3006
2811
|
children: a
|
|
3007
2812
|
}),
|
|
3008
2813
|
u
|
|
3009
2814
|
]
|
|
3010
2815
|
});
|
|
3011
|
-
return t === "horizontal" ? /* @__PURE__ */ (
|
|
2816
|
+
return t === "horizontal" ? /* @__PURE__ */ m("div", {
|
|
3012
2817
|
ref: f,
|
|
3013
2818
|
"data-slot": "profile-card",
|
|
3014
|
-
className:
|
|
2819
|
+
className: Y($t({
|
|
3015
2820
|
layout: t,
|
|
3016
2821
|
bordered: n,
|
|
3017
2822
|
className: e
|
|
3018
2823
|
})),
|
|
3019
2824
|
...d,
|
|
3020
2825
|
children: [
|
|
3021
|
-
/* @__PURE__ */ (
|
|
2826
|
+
/* @__PURE__ */ m("div", {
|
|
3022
2827
|
className: "flex items-center gap-3",
|
|
3023
|
-
children: [
|
|
2828
|
+
children: [g(), /* @__PURE__ */ m("div", {
|
|
3024
2829
|
className: "inline-flex items-center gap-1.5",
|
|
3025
|
-
children: [/* @__PURE__ */ (
|
|
2830
|
+
children: [/* @__PURE__ */ p("span", {
|
|
3026
2831
|
className: "text-sm font-[600] text-[#0F172A] leading-tight truncate",
|
|
3027
2832
|
children: i
|
|
3028
|
-
}), o && /* @__PURE__ */ (
|
|
2833
|
+
}), o && /* @__PURE__ */ p("span", {
|
|
3029
2834
|
className: "inline-flex items-center justify-center text-blue-500 flex-shrink-0",
|
|
3030
2835
|
title: "Verified",
|
|
3031
|
-
children: /* @__PURE__ */ (
|
|
2836
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3032
2837
|
className: "h-4 w-4 fill-current",
|
|
3033
2838
|
viewBox: "0 0 24 24",
|
|
3034
|
-
children: /* @__PURE__ */ (
|
|
2839
|
+
children: /* @__PURE__ */ p("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
|
|
3035
2840
|
})
|
|
3036
2841
|
})]
|
|
3037
2842
|
})]
|
|
3038
2843
|
}),
|
|
3039
|
-
a && /* @__PURE__ */ (
|
|
2844
|
+
a && /* @__PURE__ */ p("span", {
|
|
3040
2845
|
className: "text-xs font-[400] text-slate-500 flex-shrink-0",
|
|
3041
2846
|
children: a
|
|
3042
2847
|
}),
|
|
3043
2848
|
l
|
|
3044
2849
|
]
|
|
3045
|
-
}) :
|
|
2850
|
+
}) : m("div", {
|
|
3046
2851
|
ref: f,
|
|
3047
2852
|
"data-slot": "profile-card",
|
|
3048
|
-
className:
|
|
2853
|
+
className: Y($t({
|
|
3049
2854
|
layout: t,
|
|
3050
2855
|
bordered: n,
|
|
3051
2856
|
className: e
|
|
3052
2857
|
})),
|
|
3053
2858
|
...d,
|
|
3054
2859
|
children: [
|
|
3055
|
-
|
|
3056
|
-
|
|
2860
|
+
g(),
|
|
2861
|
+
_(),
|
|
3057
2862
|
l
|
|
3058
2863
|
]
|
|
3059
2864
|
});
|
|
3060
2865
|
});
|
|
3061
|
-
|
|
2866
|
+
en.displayName = "ProfileCard";
|
|
3062
2867
|
//#endregion
|
|
3063
2868
|
//#region src/components/Select/Select.tsx
|
|
3064
|
-
var
|
|
3065
|
-
function
|
|
3066
|
-
let e = a(
|
|
2869
|
+
var tn = t(null);
|
|
2870
|
+
function nn() {
|
|
2871
|
+
let e = a(tn);
|
|
3067
2872
|
if (!e) throw Error("Select compound components must be used within <Select />.");
|
|
3068
2873
|
return e;
|
|
3069
2874
|
}
|
|
3070
|
-
var
|
|
3071
|
-
let a = e !== void 0, [o, c] = d(t), l = a ? e : o, [u, f] = d(!1), [
|
|
3072
|
-
return /* @__PURE__ */ (
|
|
2875
|
+
var rn = ({ value: e, defaultValue: t = "", onValueChange: n, disabled: r = !1, children: i }) => {
|
|
2876
|
+
let a = e !== void 0, [o, c] = d(t), l = a ? e : o, [u, f] = d(!1), [m, h] = d(""), [g, _] = d(""), v = s();
|
|
2877
|
+
return /* @__PURE__ */ p(tn.Provider, {
|
|
3073
2878
|
value: {
|
|
3074
2879
|
value: l,
|
|
3075
2880
|
onValueChange: (e) => {
|
|
3076
|
-
a || c(e), n?.(e), f(!1),
|
|
2881
|
+
a || c(e), n?.(e), f(!1), _("");
|
|
3077
2882
|
},
|
|
3078
2883
|
open: u,
|
|
3079
2884
|
setOpen: f,
|
|
3080
|
-
selectedLabel:
|
|
3081
|
-
setSelectedLabel:
|
|
2885
|
+
selectedLabel: m,
|
|
2886
|
+
setSelectedLabel: h,
|
|
3082
2887
|
disabled: r,
|
|
3083
|
-
baseId:
|
|
3084
|
-
searchQuery:
|
|
3085
|
-
setSearchQuery:
|
|
2888
|
+
baseId: v,
|
|
2889
|
+
searchQuery: g,
|
|
2890
|
+
setSearchQuery: _
|
|
3086
2891
|
},
|
|
3087
|
-
children: /* @__PURE__ */ (
|
|
2892
|
+
children: /* @__PURE__ */ p("div", {
|
|
3088
2893
|
className: "relative inline-block w-full",
|
|
3089
2894
|
children: i
|
|
3090
2895
|
})
|
|
3091
2896
|
});
|
|
3092
|
-
},
|
|
3093
|
-
let { open: i, setOpen: a, disabled: s, baseId: c } =
|
|
2897
|
+
}, an = n(({ className: e, children: t, ...n }, r) => {
|
|
2898
|
+
let { open: i, setOpen: a, disabled: s, baseId: c } = nn(), l = u(null);
|
|
3094
2899
|
return o(() => {
|
|
3095
2900
|
let e = (e) => {
|
|
3096
2901
|
l.current && !l.current.closest(".relative")?.contains(e.target) && a(!1);
|
|
@@ -3098,7 +2903,7 @@ var on = ({ value: e, defaultValue: t = "", onValueChange: n, disabled: r = !1,
|
|
|
3098
2903
|
return i && document.addEventListener("mousedown", e), () => {
|
|
3099
2904
|
document.removeEventListener("mousedown", e);
|
|
3100
2905
|
};
|
|
3101
|
-
}, [i, a]), /* @__PURE__ */ (
|
|
2906
|
+
}, [i, a]), /* @__PURE__ */ m("button", {
|
|
3102
2907
|
ref: (e) => {
|
|
3103
2908
|
l.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
3104
2909
|
},
|
|
@@ -3109,17 +2914,17 @@ var on = ({ value: e, defaultValue: t = "", onValueChange: n, disabled: r = !1,
|
|
|
3109
2914
|
"aria-haspopup": "listbox",
|
|
3110
2915
|
disabled: s,
|
|
3111
2916
|
onClick: () => !s && a(!i),
|
|
3112
|
-
className:
|
|
2917
|
+
className: Y("flex h-10 w-full items-center justify-between rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 transition-colors select-none", e),
|
|
3113
2918
|
...n,
|
|
3114
|
-
children: [/* @__PURE__ */ (
|
|
2919
|
+
children: [/* @__PURE__ */ p("span", {
|
|
3115
2920
|
className: "truncate",
|
|
3116
2921
|
children: t
|
|
3117
|
-
}), /* @__PURE__ */ (
|
|
3118
|
-
className:
|
|
2922
|
+
}), /* @__PURE__ */ p("svg", {
|
|
2923
|
+
className: Y("h-4 w-4 text-gray-500 transition-transform duration-200 flex-shrink-0 ml-2", i && "rotate-180"),
|
|
3119
2924
|
fill: "none",
|
|
3120
2925
|
stroke: "currentColor",
|
|
3121
2926
|
viewBox: "0 0 24 24",
|
|
3122
|
-
children: /* @__PURE__ */ (
|
|
2927
|
+
children: /* @__PURE__ */ p("path", {
|
|
3123
2928
|
strokeLinecap: "round",
|
|
3124
2929
|
strokeLinejoin: "round",
|
|
3125
2930
|
strokeWidth: 2,
|
|
@@ -3128,52 +2933,52 @@ var on = ({ value: e, defaultValue: t = "", onValueChange: n, disabled: r = !1,
|
|
|
3128
2933
|
})]
|
|
3129
2934
|
});
|
|
3130
2935
|
});
|
|
3131
|
-
|
|
3132
|
-
var
|
|
3133
|
-
let { selectedLabel: n, value: r } =
|
|
3134
|
-
return /* @__PURE__ */ (
|
|
3135
|
-
className:
|
|
2936
|
+
an.displayName = "SelectTrigger";
|
|
2937
|
+
var on = ({ placeholder: e, className: t }) => {
|
|
2938
|
+
let { selectedLabel: n, value: r } = nn(), i = n || r || e;
|
|
2939
|
+
return /* @__PURE__ */ p("span", {
|
|
2940
|
+
className: Y(!n && !r ? "text-gray-400" : "text-[#0F172A]", t),
|
|
3136
2941
|
children: i
|
|
3137
2942
|
});
|
|
3138
|
-
},
|
|
3139
|
-
let { searchQuery: r, setSearchQuery: i } =
|
|
3140
|
-
return /* @__PURE__ */ (
|
|
2943
|
+
}, sn = ({ placeholder: e = "Search...", className: t, ...n }) => {
|
|
2944
|
+
let { searchQuery: r, setSearchQuery: i } = nn();
|
|
2945
|
+
return /* @__PURE__ */ m("div", {
|
|
3141
2946
|
className: "flex items-center border-b border-gray-100 px-3 py-2",
|
|
3142
2947
|
children: [
|
|
3143
|
-
/* @__PURE__ */ (
|
|
2948
|
+
/* @__PURE__ */ p("svg", {
|
|
3144
2949
|
className: "mr-2 h-4 w-4 text-gray-400",
|
|
3145
2950
|
fill: "none",
|
|
3146
2951
|
stroke: "currentColor",
|
|
3147
2952
|
viewBox: "0 0 24 24",
|
|
3148
|
-
children: /* @__PURE__ */ (
|
|
2953
|
+
children: /* @__PURE__ */ p("path", {
|
|
3149
2954
|
strokeLinecap: "round",
|
|
3150
2955
|
strokeLinejoin: "round",
|
|
3151
2956
|
strokeWidth: 2,
|
|
3152
2957
|
d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
|
|
3153
2958
|
})
|
|
3154
2959
|
}),
|
|
3155
|
-
/* @__PURE__ */ (
|
|
2960
|
+
/* @__PURE__ */ p("input", {
|
|
3156
2961
|
type: "text",
|
|
3157
2962
|
value: r,
|
|
3158
2963
|
onChange: (e) => i(e.target.value),
|
|
3159
2964
|
placeholder: e,
|
|
3160
|
-
className:
|
|
2965
|
+
className: Y("w-full bg-transparent text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none", t),
|
|
3161
2966
|
autoFocus: !0,
|
|
3162
2967
|
onClick: (e) => e.stopPropagation(),
|
|
3163
2968
|
...n
|
|
3164
2969
|
}),
|
|
3165
|
-
r && /* @__PURE__ */ (
|
|
2970
|
+
r && /* @__PURE__ */ p("button", {
|
|
3166
2971
|
type: "button",
|
|
3167
2972
|
onClick: (e) => {
|
|
3168
2973
|
e.stopPropagation(), i("");
|
|
3169
2974
|
},
|
|
3170
2975
|
className: "text-gray-400 hover:text-gray-600",
|
|
3171
|
-
children: /* @__PURE__ */ (
|
|
2976
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3172
2977
|
className: "h-3.5 w-3.5",
|
|
3173
2978
|
fill: "none",
|
|
3174
2979
|
stroke: "currentColor",
|
|
3175
2980
|
viewBox: "0 0 24 24",
|
|
3176
|
-
children: /* @__PURE__ */ (
|
|
2981
|
+
children: /* @__PURE__ */ p("path", {
|
|
3177
2982
|
strokeLinecap: "round",
|
|
3178
2983
|
strokeLinejoin: "round",
|
|
3179
2984
|
strokeWidth: 2,
|
|
@@ -3183,35 +2988,35 @@ var cn = ({ placeholder: e, className: t }) => {
|
|
|
3183
2988
|
})
|
|
3184
2989
|
]
|
|
3185
2990
|
});
|
|
3186
|
-
},
|
|
3187
|
-
let { open: a, baseId: o } =
|
|
3188
|
-
return a ? /* @__PURE__ */ (
|
|
2991
|
+
}, cn = n(({ className: e, children: t, maxHeight: n = "max-h-60", ...r }, i) => {
|
|
2992
|
+
let { open: a, baseId: o } = nn();
|
|
2993
|
+
return a ? /* @__PURE__ */ p("div", {
|
|
3189
2994
|
ref: i,
|
|
3190
2995
|
id: `${o}-listbox`,
|
|
3191
2996
|
role: "listbox",
|
|
3192
|
-
className:
|
|
2997
|
+
className: Y("absolute left-0 top-full z-50 mt-1 min-w-[8rem] w-full overflow-y-auto rounded-lg border border-gray-200 bg-white p-1 shadow-lg animate-in fade-in-80 zoom-in-95", n, e),
|
|
3193
2998
|
...r,
|
|
3194
2999
|
children: t
|
|
3195
3000
|
}) : null;
|
|
3196
3001
|
});
|
|
3197
|
-
|
|
3198
|
-
var
|
|
3199
|
-
className:
|
|
3002
|
+
cn.displayName = "SelectContent";
|
|
3003
|
+
var ln = ({ className: e, children: t, ...n }) => /* @__PURE__ */ p("div", {
|
|
3004
|
+
className: Y("p-1", e),
|
|
3200
3005
|
...n,
|
|
3201
3006
|
children: t
|
|
3202
|
-
}),
|
|
3203
|
-
className:
|
|
3007
|
+
}), un = ({ className: e, children: t, ...n }) => /* @__PURE__ */ p("div", {
|
|
3008
|
+
className: Y("px-2 py-1.5 text-xs font-[600] text-[#0F172A]", e),
|
|
3204
3009
|
...n,
|
|
3205
3010
|
children: t
|
|
3206
|
-
}),
|
|
3207
|
-
let { value: s, onValueChange: c, setSelectedLabel: l, searchQuery: u } =
|
|
3011
|
+
}), dn = n(({ value: e, disabled: t = !1, className: n, children: r, ...i }, a) => {
|
|
3012
|
+
let { value: s, onValueChange: c, setSelectedLabel: l, searchQuery: u } = nn(), d = s === e, f = !u || (typeof r == "string" ? r : e).toLowerCase().includes(u.toLowerCase());
|
|
3208
3013
|
return o(() => {
|
|
3209
3014
|
d && typeof r == "string" && l(r);
|
|
3210
3015
|
}, [
|
|
3211
3016
|
d,
|
|
3212
3017
|
r,
|
|
3213
3018
|
l
|
|
3214
|
-
]), f ? /* @__PURE__ */ (
|
|
3019
|
+
]), f ? /* @__PURE__ */ m("div", {
|
|
3215
3020
|
ref: a,
|
|
3216
3021
|
role: "option",
|
|
3217
3022
|
"aria-selected": d,
|
|
@@ -3219,17 +3024,17 @@ var dn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ (0, Y.jsx)("di
|
|
|
3219
3024
|
onClick: () => {
|
|
3220
3025
|
t || (typeof r == "string" && l(r), c(e));
|
|
3221
3026
|
},
|
|
3222
|
-
className:
|
|
3027
|
+
className: Y("relative flex w-full cursor-pointer select-none items-center rounded-md px-2.5 py-1.5 text-sm font-[500] text-[#0F172A] outline-none transition-colors hover:bg-slate-100 hover:text-[#0F172A]", d && "bg-slate-100 font-[600]", t && "pointer-events-none opacity-50", n),
|
|
3223
3028
|
...i,
|
|
3224
|
-
children: [/* @__PURE__ */ (
|
|
3029
|
+
children: [/* @__PURE__ */ p("span", {
|
|
3225
3030
|
className: "flex-1 truncate",
|
|
3226
3031
|
children: r
|
|
3227
|
-
}), d && /* @__PURE__ */ (
|
|
3032
|
+
}), d && /* @__PURE__ */ p("svg", {
|
|
3228
3033
|
className: "h-4 w-4 ml-2 text-[#0F172A]",
|
|
3229
3034
|
fill: "none",
|
|
3230
3035
|
stroke: "currentColor",
|
|
3231
3036
|
viewBox: "0 0 24 24",
|
|
3232
|
-
children: /* @__PURE__ */ (
|
|
3037
|
+
children: /* @__PURE__ */ p("path", {
|
|
3233
3038
|
strokeLinecap: "round",
|
|
3234
3039
|
strokeLinejoin: "round",
|
|
3235
3040
|
strokeWidth: 2,
|
|
@@ -3238,65 +3043,65 @@ var dn = ({ className: e, children: t, ...n }) => /* @__PURE__ */ (0, Y.jsx)("di
|
|
|
3238
3043
|
})]
|
|
3239
3044
|
}) : null;
|
|
3240
3045
|
});
|
|
3241
|
-
|
|
3242
|
-
var
|
|
3243
|
-
className:
|
|
3046
|
+
dn.displayName = "SelectItem";
|
|
3047
|
+
var fn = ({ className: e, ...t }) => /* @__PURE__ */ p("div", {
|
|
3048
|
+
className: Y("-mx-1 my-1 h-px bg-gray-100", e),
|
|
3244
3049
|
...t
|
|
3245
|
-
}),
|
|
3246
|
-
let
|
|
3050
|
+
}), pn = ({ options: e, value: t, defaultValue: n = [], onChange: r, placeholder: i = "Select options...", searchPlaceholder: a = "Search options...", searchable: c = !0, disabled: l = !1, label: h, className: g, maxCount: _ = 3 }) => {
|
|
3051
|
+
let v = t !== void 0, [y, b] = d(n), x = v ? t : y, [S, C] = d(!1), [w, T] = d(""), E = u(null), D = s();
|
|
3247
3052
|
o(() => {
|
|
3248
3053
|
let e = (e) => {
|
|
3249
|
-
|
|
3054
|
+
E.current && !E.current.contains(e.target) && C(!1);
|
|
3250
3055
|
};
|
|
3251
|
-
return
|
|
3056
|
+
return S && document.addEventListener("mousedown", e), () => {
|
|
3252
3057
|
document.removeEventListener("mousedown", e);
|
|
3253
3058
|
};
|
|
3254
|
-
}, [
|
|
3255
|
-
let
|
|
3059
|
+
}, [S]);
|
|
3060
|
+
let O = (e) => {
|
|
3256
3061
|
let t;
|
|
3257
|
-
t =
|
|
3258
|
-
},
|
|
3062
|
+
t = x.includes(e) ? x.filter((t) => t !== e) : [...x, e], v || b(t), r?.(t);
|
|
3063
|
+
}, k = (e, t) => {
|
|
3259
3064
|
e.stopPropagation();
|
|
3260
|
-
let n =
|
|
3261
|
-
|
|
3262
|
-
},
|
|
3263
|
-
e.stopPropagation(),
|
|
3264
|
-
},
|
|
3265
|
-
return /* @__PURE__ */ (
|
|
3266
|
-
ref:
|
|
3267
|
-
className:
|
|
3065
|
+
let n = x.filter((e) => e !== t);
|
|
3066
|
+
v || b(n), r?.(n);
|
|
3067
|
+
}, A = (e) => {
|
|
3068
|
+
e.stopPropagation(), v || b([]), r?.([]);
|
|
3069
|
+
}, j = e.filter((e) => e.label.toLowerCase().includes(w.toLowerCase()));
|
|
3070
|
+
return /* @__PURE__ */ m("div", {
|
|
3071
|
+
ref: E,
|
|
3072
|
+
className: Y("relative flex flex-col gap-2 w-full", g),
|
|
3268
3073
|
children: [
|
|
3269
|
-
|
|
3270
|
-
htmlFor:
|
|
3074
|
+
h && /* @__PURE__ */ p("label", {
|
|
3075
|
+
htmlFor: D,
|
|
3271
3076
|
className: "text-sm font-[600] text-[#0F172A]",
|
|
3272
|
-
children:
|
|
3077
|
+
children: h
|
|
3273
3078
|
}),
|
|
3274
|
-
/* @__PURE__ */ (
|
|
3275
|
-
id:
|
|
3079
|
+
/* @__PURE__ */ m("div", {
|
|
3080
|
+
id: D,
|
|
3276
3081
|
role: "combobox",
|
|
3277
|
-
"aria-expanded":
|
|
3082
|
+
"aria-expanded": S,
|
|
3278
3083
|
"aria-haspopup": "listbox",
|
|
3279
|
-
onClick: () => !l &&
|
|
3280
|
-
className:
|
|
3281
|
-
children: [/* @__PURE__ */ (
|
|
3084
|
+
onClick: () => !l && C(!S),
|
|
3085
|
+
className: Y("flex min-h-[40px] w-full items-center justify-between rounded-md border border-gray-200 bg-white px-3 py-1.5 text-sm font-[500] text-[#0F172A] cursor-pointer transition-colors focus-within:ring-2 focus-within:ring-[#0F172A]", l && "cursor-not-allowed opacity-50 bg-slate-50"),
|
|
3086
|
+
children: [/* @__PURE__ */ p("div", {
|
|
3282
3087
|
className: "flex flex-wrap items-center gap-1.5 flex-1 pr-2",
|
|
3283
|
-
children:
|
|
3088
|
+
children: x.length === 0 ? /* @__PURE__ */ p("span", {
|
|
3284
3089
|
className: "text-gray-400",
|
|
3285
3090
|
children: i
|
|
3286
|
-
}) : /* @__PURE__ */ (
|
|
3091
|
+
}) : /* @__PURE__ */ m(f, { children: [x.slice(0, _).map((t) => {
|
|
3287
3092
|
let n = e.find((e) => e.value === t);
|
|
3288
|
-
return /* @__PURE__ */ (
|
|
3093
|
+
return /* @__PURE__ */ m("span", {
|
|
3289
3094
|
className: "inline-flex items-center gap-1 rounded bg-slate-100 px-2 py-0.5 text-xs font-[500] text-[#0F172A] border border-gray-200",
|
|
3290
|
-
children: [/* @__PURE__ */ (
|
|
3095
|
+
children: [/* @__PURE__ */ p("span", { children: n ? n.label : t }), !l && /* @__PURE__ */ p("button", {
|
|
3291
3096
|
type: "button",
|
|
3292
|
-
onClick: (e) =>
|
|
3097
|
+
onClick: (e) => k(e, t),
|
|
3293
3098
|
className: "text-gray-400 hover:text-[#0F172A]",
|
|
3294
|
-
children: /* @__PURE__ */ (
|
|
3099
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3295
3100
|
className: "h-3 w-3",
|
|
3296
3101
|
fill: "none",
|
|
3297
3102
|
stroke: "currentColor",
|
|
3298
3103
|
viewBox: "0 0 24 24",
|
|
3299
|
-
children: /* @__PURE__ */ (
|
|
3104
|
+
children: /* @__PURE__ */ p("path", {
|
|
3300
3105
|
strokeLinecap: "round",
|
|
3301
3106
|
strokeLinejoin: "round",
|
|
3302
3107
|
strokeWidth: 2,
|
|
@@ -3305,38 +3110,38 @@ var mn = ({ className: e, ...t }) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
|
3305
3110
|
})
|
|
3306
3111
|
})]
|
|
3307
3112
|
}, t);
|
|
3308
|
-
}),
|
|
3113
|
+
}), x.length > _ && /* @__PURE__ */ m("span", {
|
|
3309
3114
|
className: "rounded bg-slate-100 px-1.5 py-0.5 text-xs font-[500] text-slate-600 border border-gray-200",
|
|
3310
3115
|
children: [
|
|
3311
3116
|
"+",
|
|
3312
|
-
|
|
3117
|
+
x.length - _,
|
|
3313
3118
|
" more"
|
|
3314
3119
|
]
|
|
3315
3120
|
})] })
|
|
3316
|
-
}), /* @__PURE__ */ (
|
|
3121
|
+
}), /* @__PURE__ */ m("div", {
|
|
3317
3122
|
className: "flex items-center gap-1.5 flex-shrink-0",
|
|
3318
|
-
children: [
|
|
3123
|
+
children: [x.length > 0 && !l && /* @__PURE__ */ p("button", {
|
|
3319
3124
|
type: "button",
|
|
3320
|
-
onClick:
|
|
3125
|
+
onClick: A,
|
|
3321
3126
|
className: "text-gray-400 hover:text-gray-600 p-0.5 rounded",
|
|
3322
|
-
children: /* @__PURE__ */ (
|
|
3127
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3323
3128
|
className: "h-3.5 w-3.5",
|
|
3324
3129
|
fill: "none",
|
|
3325
3130
|
stroke: "currentColor",
|
|
3326
3131
|
viewBox: "0 0 24 24",
|
|
3327
|
-
children: /* @__PURE__ */ (
|
|
3132
|
+
children: /* @__PURE__ */ p("path", {
|
|
3328
3133
|
strokeLinecap: "round",
|
|
3329
3134
|
strokeLinejoin: "round",
|
|
3330
3135
|
strokeWidth: 2,
|
|
3331
3136
|
d: "M6 18L18 6M6 6l12 12"
|
|
3332
3137
|
})
|
|
3333
3138
|
})
|
|
3334
|
-
}), /* @__PURE__ */ (
|
|
3335
|
-
className:
|
|
3139
|
+
}), /* @__PURE__ */ p("svg", {
|
|
3140
|
+
className: Y("h-4 w-4 text-gray-500 transition-transform duration-200", S && "rotate-180"),
|
|
3336
3141
|
fill: "none",
|
|
3337
3142
|
stroke: "currentColor",
|
|
3338
3143
|
viewBox: "0 0 24 24",
|
|
3339
|
-
children: /* @__PURE__ */ (
|
|
3144
|
+
children: /* @__PURE__ */ p("path", {
|
|
3340
3145
|
strokeLinecap: "round",
|
|
3341
3146
|
strokeLinejoin: "round",
|
|
3342
3147
|
strokeWidth: 2,
|
|
@@ -3345,44 +3150,44 @@ var mn = ({ className: e, ...t }) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
|
3345
3150
|
})]
|
|
3346
3151
|
})]
|
|
3347
3152
|
}),
|
|
3348
|
-
|
|
3153
|
+
S && /* @__PURE__ */ m("div", {
|
|
3349
3154
|
className: "absolute left-0 top-full z-50 mt-1 w-full rounded-lg border border-gray-200 bg-white p-1 shadow-lg animate-in fade-in-80 zoom-in-95",
|
|
3350
|
-
children: [c && /* @__PURE__ */ (
|
|
3155
|
+
children: [c && /* @__PURE__ */ m("div", {
|
|
3351
3156
|
className: "flex items-center border-b border-gray-100 px-3 py-2",
|
|
3352
3157
|
children: [
|
|
3353
|
-
/* @__PURE__ */ (
|
|
3158
|
+
/* @__PURE__ */ p("svg", {
|
|
3354
3159
|
className: "mr-2 h-4 w-4 text-gray-400",
|
|
3355
3160
|
fill: "none",
|
|
3356
3161
|
stroke: "currentColor",
|
|
3357
3162
|
viewBox: "0 0 24 24",
|
|
3358
|
-
children: /* @__PURE__ */ (
|
|
3163
|
+
children: /* @__PURE__ */ p("path", {
|
|
3359
3164
|
strokeLinecap: "round",
|
|
3360
3165
|
strokeLinejoin: "round",
|
|
3361
3166
|
strokeWidth: 2,
|
|
3362
3167
|
d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
|
|
3363
3168
|
})
|
|
3364
3169
|
}),
|
|
3365
|
-
/* @__PURE__ */ (
|
|
3170
|
+
/* @__PURE__ */ p("input", {
|
|
3366
3171
|
type: "text",
|
|
3367
|
-
value:
|
|
3368
|
-
onChange: (e) =>
|
|
3172
|
+
value: w,
|
|
3173
|
+
onChange: (e) => T(e.target.value),
|
|
3369
3174
|
placeholder: a,
|
|
3370
3175
|
className: "w-full bg-transparent text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none",
|
|
3371
3176
|
autoFocus: !0,
|
|
3372
3177
|
onClick: (e) => e.stopPropagation()
|
|
3373
3178
|
}),
|
|
3374
|
-
|
|
3179
|
+
w && /* @__PURE__ */ p("button", {
|
|
3375
3180
|
type: "button",
|
|
3376
3181
|
onClick: (e) => {
|
|
3377
|
-
e.stopPropagation(),
|
|
3182
|
+
e.stopPropagation(), T("");
|
|
3378
3183
|
},
|
|
3379
3184
|
className: "text-gray-400 hover:text-gray-600",
|
|
3380
|
-
children: /* @__PURE__ */ (
|
|
3185
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3381
3186
|
className: "h-3.5 w-3.5",
|
|
3382
3187
|
fill: "none",
|
|
3383
3188
|
stroke: "currentColor",
|
|
3384
3189
|
viewBox: "0 0 24 24",
|
|
3385
|
-
children: /* @__PURE__ */ (
|
|
3190
|
+
children: /* @__PURE__ */ p("path", {
|
|
3386
3191
|
strokeLinecap: "round",
|
|
3387
3192
|
strokeLinejoin: "round",
|
|
3388
3193
|
strokeWidth: 2,
|
|
@@ -3391,33 +3196,33 @@ var mn = ({ className: e, ...t }) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
|
3391
3196
|
})
|
|
3392
3197
|
})
|
|
3393
3198
|
]
|
|
3394
|
-
}), /* @__PURE__ */ (
|
|
3199
|
+
}), /* @__PURE__ */ p("div", {
|
|
3395
3200
|
className: "max-h-60 overflow-y-auto p-1 space-y-0.5",
|
|
3396
|
-
children:
|
|
3201
|
+
children: j.length === 0 ? /* @__PURE__ */ p("div", {
|
|
3397
3202
|
className: "px-3 py-2 text-center text-xs text-gray-400",
|
|
3398
3203
|
children: "No options found."
|
|
3399
|
-
}) :
|
|
3400
|
-
let t =
|
|
3401
|
-
return /* @__PURE__ */ (
|
|
3204
|
+
}) : j.map((e) => {
|
|
3205
|
+
let t = x.includes(e.value);
|
|
3206
|
+
return /* @__PURE__ */ m("div", {
|
|
3402
3207
|
role: "option",
|
|
3403
3208
|
"aria-selected": t,
|
|
3404
|
-
onClick: () => !e.disabled &&
|
|
3405
|
-
className:
|
|
3406
|
-
children: [/* @__PURE__ */ (
|
|
3407
|
-
className:
|
|
3408
|
-
children: t && /* @__PURE__ */ (
|
|
3209
|
+
onClick: () => !e.disabled && O(e.value),
|
|
3210
|
+
className: Y("flex w-full cursor-pointer select-none items-center rounded-md px-2.5 py-1.5 text-sm font-[500] transition-colors hover:bg-slate-100", t ? "bg-slate-100 text-[#0F172A] font-[600]" : "text-[#0F172A]", e.disabled && "pointer-events-none opacity-50"),
|
|
3211
|
+
children: [/* @__PURE__ */ p("div", {
|
|
3212
|
+
className: Y("mr-2.5 flex h-4 w-4 items-center justify-center rounded border transition-colors", t ? "border-[#0F172A] bg-[#0F172A] text-white" : "border-gray-300 bg-white"),
|
|
3213
|
+
children: t && /* @__PURE__ */ p("svg", {
|
|
3409
3214
|
className: "h-3 w-3",
|
|
3410
3215
|
fill: "none",
|
|
3411
3216
|
stroke: "currentColor",
|
|
3412
3217
|
viewBox: "0 0 24 24",
|
|
3413
|
-
children: /* @__PURE__ */ (
|
|
3218
|
+
children: /* @__PURE__ */ p("path", {
|
|
3414
3219
|
strokeLinecap: "round",
|
|
3415
3220
|
strokeLinejoin: "round",
|
|
3416
3221
|
strokeWidth: 3,
|
|
3417
3222
|
d: "M5 13l4 4L19 7"
|
|
3418
3223
|
})
|
|
3419
3224
|
})
|
|
3420
|
-
}), /* @__PURE__ */ (
|
|
3225
|
+
}), /* @__PURE__ */ p("span", {
|
|
3421
3226
|
className: "flex-1 truncate",
|
|
3422
3227
|
children: e.label
|
|
3423
3228
|
})]
|
|
@@ -3427,75 +3232,75 @@ var mn = ({ className: e, ...t }) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
|
3427
3232
|
})
|
|
3428
3233
|
]
|
|
3429
3234
|
});
|
|
3430
|
-
},
|
|
3431
|
-
let
|
|
3432
|
-
if (!
|
|
3433
|
-
let t =
|
|
3434
|
-
|
|
3235
|
+
}, mn = n(({ className: e, value: t, defaultValue: n = 0, min: r = 0, max: a = 100, step: o = 1, disabled: s = !1, onChange: c, showValue: l = !1, label: f, ...h }, g) => {
|
|
3236
|
+
let _ = t !== void 0, [v, y] = d(n), b = Math.min(Math.max(_ ? t : v, r), a), x = u(null), [S, C] = d(!1), w = (b - r) / (a - r) * 100, T = i((e) => {
|
|
3237
|
+
if (!x.current || s) return;
|
|
3238
|
+
let t = x.current.getBoundingClientRect(), n = (e - t.left) / t.width, i = r + Math.max(0, Math.min(1, n)) * (a - r), l = Math.round(i / o) * o, u = Math.min(Math.max(Number(l.toFixed(4)), r), a);
|
|
3239
|
+
_ || y(u), c?.(u);
|
|
3435
3240
|
}, [
|
|
3436
3241
|
s,
|
|
3437
3242
|
r,
|
|
3438
3243
|
a,
|
|
3439
3244
|
o,
|
|
3440
|
-
|
|
3245
|
+
_,
|
|
3441
3246
|
c
|
|
3442
|
-
]),
|
|
3443
|
-
s || (
|
|
3444
|
-
}, T = (e) => {
|
|
3445
|
-
b && !s && C(e.clientX);
|
|
3446
|
-
}, E = (e) => {
|
|
3447
|
-
b && (x(!1), e.target.releasePointerCapture?.(e.pointerId));
|
|
3247
|
+
]), E = (e) => {
|
|
3248
|
+
s || (C(!0), e.target.setPointerCapture?.(e.pointerId), T(e.clientX));
|
|
3448
3249
|
}, D = (e) => {
|
|
3250
|
+
S && !s && T(e.clientX);
|
|
3251
|
+
}, O = (e) => {
|
|
3252
|
+
S && (C(!1), e.target.releasePointerCapture?.(e.pointerId));
|
|
3253
|
+
}, k = (e) => {
|
|
3449
3254
|
if (s) return;
|
|
3450
|
-
let t =
|
|
3451
|
-
if (e.key === "ArrowRight" || e.key === "ArrowUp") t = Math.min(
|
|
3452
|
-
else if (e.key === "ArrowLeft" || e.key === "ArrowDown") t = Math.max(
|
|
3255
|
+
let t = b;
|
|
3256
|
+
if (e.key === "ArrowRight" || e.key === "ArrowUp") t = Math.min(b + o, a);
|
|
3257
|
+
else if (e.key === "ArrowLeft" || e.key === "ArrowDown") t = Math.max(b - o, r);
|
|
3453
3258
|
else if (e.key === "Home") t = r;
|
|
3454
3259
|
else if (e.key === "End") t = a;
|
|
3455
3260
|
else return;
|
|
3456
|
-
e.preventDefault(),
|
|
3261
|
+
e.preventDefault(), _ || y(t), c?.(t);
|
|
3457
3262
|
};
|
|
3458
|
-
return /* @__PURE__ */ (
|
|
3459
|
-
className:
|
|
3460
|
-
children: [(f || l) && /* @__PURE__ */ (
|
|
3263
|
+
return /* @__PURE__ */ m("div", {
|
|
3264
|
+
className: Y("w-full flex flex-col gap-2 select-none", e),
|
|
3265
|
+
children: [(f || l) && /* @__PURE__ */ m("div", {
|
|
3461
3266
|
className: "flex justify-between items-center text-sm font-[500] text-[#0F172A]",
|
|
3462
|
-
children: [f && /* @__PURE__ */ (
|
|
3267
|
+
children: [f && /* @__PURE__ */ p("span", { children: f }), l && /* @__PURE__ */ m("span", {
|
|
3463
3268
|
className: "text-slate-500 font-mono text-xs",
|
|
3464
|
-
children: [
|
|
3269
|
+
children: [b, "%"]
|
|
3465
3270
|
})]
|
|
3466
|
-
}), /* @__PURE__ */ (
|
|
3467
|
-
ref:
|
|
3468
|
-
className:
|
|
3469
|
-
onPointerDown:
|
|
3470
|
-
onPointerMove:
|
|
3471
|
-
onPointerUp:
|
|
3472
|
-
onPointerCancel:
|
|
3473
|
-
...
|
|
3474
|
-
children: [/* @__PURE__ */ (
|
|
3475
|
-
ref:
|
|
3271
|
+
}), /* @__PURE__ */ m("div", {
|
|
3272
|
+
ref: g,
|
|
3273
|
+
className: Y("relative flex items-center w-full h-6 touch-none cursor-pointer", s && "opacity-50 cursor-not-allowed"),
|
|
3274
|
+
onPointerDown: E,
|
|
3275
|
+
onPointerMove: D,
|
|
3276
|
+
onPointerUp: O,
|
|
3277
|
+
onPointerCancel: O,
|
|
3278
|
+
...h,
|
|
3279
|
+
children: [/* @__PURE__ */ p("div", {
|
|
3280
|
+
ref: x,
|
|
3476
3281
|
className: "relative w-full h-2 rounded-full bg-slate-100 overflow-hidden",
|
|
3477
|
-
children: /* @__PURE__ */ (
|
|
3282
|
+
children: /* @__PURE__ */ p("div", {
|
|
3478
3283
|
className: "h-full bg-[#0F172A] rounded-full transition-all duration-75",
|
|
3479
|
-
style: { width: `${
|
|
3284
|
+
style: { width: `${w}%` }
|
|
3480
3285
|
})
|
|
3481
|
-
}), /* @__PURE__ */ (
|
|
3286
|
+
}), /* @__PURE__ */ p("div", {
|
|
3482
3287
|
role: "slider",
|
|
3483
3288
|
tabIndex: s ? -1 : 0,
|
|
3484
3289
|
"aria-valuemin": r,
|
|
3485
3290
|
"aria-valuemax": a,
|
|
3486
|
-
"aria-valuenow":
|
|
3291
|
+
"aria-valuenow": b,
|
|
3487
3292
|
"aria-disabled": s,
|
|
3488
|
-
onKeyDown:
|
|
3489
|
-
className:
|
|
3490
|
-
style: { left: `${
|
|
3293
|
+
onKeyDown: k,
|
|
3294
|
+
className: Y("absolute top-1/2 -translate-y-1/2 -translate-x-1/2 h-5 w-5 rounded-full bg-white border-2 border-[#0F172A] shadow-md transition-transform focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2", S && "scale-110", !s && "hover:scale-105"),
|
|
3295
|
+
style: { left: `${w}%` }
|
|
3491
3296
|
})]
|
|
3492
3297
|
})]
|
|
3493
3298
|
});
|
|
3494
3299
|
});
|
|
3495
|
-
|
|
3300
|
+
mn.displayName = "Slider";
|
|
3496
3301
|
//#endregion
|
|
3497
3302
|
//#region src/components/Switch/Switch.tsx
|
|
3498
|
-
var
|
|
3303
|
+
var hn = y("relative inline-flex flex-shrink-0 cursor-pointer rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", {
|
|
3499
3304
|
variants: {
|
|
3500
3305
|
switchSize: {
|
|
3501
3306
|
sm: "h-4 w-7",
|
|
@@ -3510,7 +3315,7 @@ var _n = v("relative inline-flex flex-shrink-0 cursor-pointer rounded-full trans
|
|
|
3510
3315
|
switchSize: "default",
|
|
3511
3316
|
checked: !1
|
|
3512
3317
|
}
|
|
3513
|
-
}),
|
|
3318
|
+
}), gn = y("pointer-events-none inline-block rounded-full bg-white shadow-md transform ring-0 transition duration-200 ease-in-out", {
|
|
3514
3319
|
variants: {
|
|
3515
3320
|
switchSize: {
|
|
3516
3321
|
sm: "h-3 w-3",
|
|
@@ -3547,43 +3352,43 @@ var _n = v("relative inline-flex flex-shrink-0 cursor-pointer rounded-full trans
|
|
|
3547
3352
|
switchSize: "default",
|
|
3548
3353
|
checked: !1
|
|
3549
3354
|
}
|
|
3550
|
-
}),
|
|
3551
|
-
let f = n !== void 0, [
|
|
3552
|
-
id:
|
|
3355
|
+
}), _n = n(({ className: e, switchSize: t = "default", checked: n, defaultChecked: r = !1, onCheckedChange: i, disabled: a, label: o, id: c, ...l }, u) => {
|
|
3356
|
+
let f = n !== void 0, [h, g] = d(r), _ = f ? n : h, v = s(), y = c || v, b = /* @__PURE__ */ p("button", {
|
|
3357
|
+
id: y,
|
|
3553
3358
|
ref: u,
|
|
3554
3359
|
type: "button",
|
|
3555
3360
|
role: "switch",
|
|
3556
|
-
"aria-checked":
|
|
3361
|
+
"aria-checked": _,
|
|
3557
3362
|
disabled: a,
|
|
3558
3363
|
onClick: () => {
|
|
3559
3364
|
if (a) return;
|
|
3560
|
-
let e = !
|
|
3561
|
-
f ||
|
|
3365
|
+
let e = !_;
|
|
3366
|
+
f || g(e), i?.(e);
|
|
3562
3367
|
},
|
|
3563
|
-
className:
|
|
3368
|
+
className: Y(hn({
|
|
3564
3369
|
switchSize: t,
|
|
3565
|
-
checked:
|
|
3370
|
+
checked: _,
|
|
3566
3371
|
className: e
|
|
3567
3372
|
}), "items-center"),
|
|
3568
3373
|
...l,
|
|
3569
|
-
children: /* @__PURE__ */ (
|
|
3374
|
+
children: /* @__PURE__ */ p("span", { className: Y(gn({
|
|
3570
3375
|
switchSize: t,
|
|
3571
|
-
checked:
|
|
3376
|
+
checked: _
|
|
3572
3377
|
})) })
|
|
3573
3378
|
});
|
|
3574
|
-
return o ? /* @__PURE__ */ (
|
|
3379
|
+
return o ? /* @__PURE__ */ m("div", {
|
|
3575
3380
|
className: "inline-flex items-center gap-3 select-none",
|
|
3576
|
-
children: [
|
|
3577
|
-
htmlFor:
|
|
3578
|
-
className:
|
|
3381
|
+
children: [b, /* @__PURE__ */ p("label", {
|
|
3382
|
+
htmlFor: y,
|
|
3383
|
+
className: Y("text-sm font-[500] text-[#0F172A] cursor-pointer", a && "opacity-50 cursor-not-allowed"),
|
|
3579
3384
|
children: o
|
|
3580
3385
|
})]
|
|
3581
|
-
}) :
|
|
3386
|
+
}) : b;
|
|
3582
3387
|
});
|
|
3583
|
-
|
|
3388
|
+
_n.displayName = "Switch";
|
|
3584
3389
|
//#endregion
|
|
3585
3390
|
//#region src/components/Table/Table.tsx
|
|
3586
|
-
var
|
|
3391
|
+
var vn = y("w-full overflow-x-auto border border-slate-200 transition-all", {
|
|
3587
3392
|
variants: {
|
|
3588
3393
|
rounded: {
|
|
3589
3394
|
none: "rounded-none",
|
|
@@ -3601,7 +3406,7 @@ var bn = v("w-full overflow-x-auto border border-slate-200 transition-all", {
|
|
|
3601
3406
|
rounded: "lg",
|
|
3602
3407
|
shadow: "sm"
|
|
3603
3408
|
}
|
|
3604
|
-
}),
|
|
3409
|
+
}), yn = y("w-full caption-bottom text-left border-collapse", {
|
|
3605
3410
|
variants: {
|
|
3606
3411
|
size: {
|
|
3607
3412
|
sm: "[&_th]:px-3 [&_th]:py-2.5 [&_td]:px-3 [&_td]:py-2.5 text-xs",
|
|
@@ -3618,128 +3423,128 @@ var bn = v("w-full overflow-x-auto border border-slate-200 transition-all", {
|
|
|
3618
3423
|
size: "default",
|
|
3619
3424
|
variant: "default"
|
|
3620
3425
|
}
|
|
3621
|
-
}),
|
|
3426
|
+
}), bn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("thead", {
|
|
3622
3427
|
ref: n,
|
|
3623
|
-
className:
|
|
3428
|
+
className: Y("bg-slate-50 text-slate-700 border-b border-slate-200 select-none", e),
|
|
3624
3429
|
...t
|
|
3625
3430
|
}));
|
|
3626
|
-
|
|
3627
|
-
var
|
|
3431
|
+
bn.displayName = "TableHeader";
|
|
3432
|
+
var xn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("tbody", {
|
|
3628
3433
|
ref: n,
|
|
3629
|
-
className:
|
|
3434
|
+
className: Y("bg-white divide-y divide-slate-100", e),
|
|
3630
3435
|
...t
|
|
3631
3436
|
}));
|
|
3632
|
-
|
|
3633
|
-
var
|
|
3437
|
+
xn.displayName = "TableBody";
|
|
3438
|
+
var Sn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("tfoot", {
|
|
3634
3439
|
ref: n,
|
|
3635
|
-
className:
|
|
3440
|
+
className: Y("bg-slate-50/80 font-medium text-slate-700 border-t border-slate-200", e),
|
|
3636
3441
|
...t
|
|
3637
3442
|
}));
|
|
3638
|
-
|
|
3639
|
-
var
|
|
3443
|
+
Sn.displayName = "TableFooter";
|
|
3444
|
+
var Cn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("tr", {
|
|
3640
3445
|
ref: n,
|
|
3641
|
-
className:
|
|
3446
|
+
className: Y("transition-colors hover:bg-slate-50/80 data-[state=selected]:bg-slate-100", e),
|
|
3642
3447
|
...t
|
|
3643
3448
|
}));
|
|
3644
|
-
|
|
3645
|
-
var
|
|
3449
|
+
Cn.displayName = "TableRow";
|
|
3450
|
+
var wn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("th", {
|
|
3646
3451
|
ref: n,
|
|
3647
|
-
className:
|
|
3452
|
+
className: Y("font-[600] text-slate-800 text-left align-middle whitespace-nowrap bg-slate-50", e),
|
|
3648
3453
|
...t
|
|
3649
3454
|
}));
|
|
3650
|
-
|
|
3651
|
-
var
|
|
3455
|
+
wn.displayName = "TableHead";
|
|
3456
|
+
var Tn = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("td", {
|
|
3652
3457
|
ref: n,
|
|
3653
|
-
className:
|
|
3458
|
+
className: Y("align-middle font-[500] text-[#0F172A] whitespace-nowrap bg-inherit", e),
|
|
3654
3459
|
...t
|
|
3655
3460
|
}));
|
|
3656
|
-
|
|
3657
|
-
var
|
|
3461
|
+
Tn.displayName = "TableCell";
|
|
3462
|
+
var En = n(({ className: e, ...t }, n) => /* @__PURE__ */ p("caption", {
|
|
3658
3463
|
ref: n,
|
|
3659
|
-
className:
|
|
3464
|
+
className: Y("mt-3 text-xs text-slate-500", e),
|
|
3660
3465
|
...t
|
|
3661
3466
|
}));
|
|
3662
|
-
|
|
3663
|
-
var
|
|
3467
|
+
En.displayName = "TableCaption";
|
|
3468
|
+
var Dn = {
|
|
3664
3469
|
left: "text-left",
|
|
3665
3470
|
center: "text-center",
|
|
3666
3471
|
right: "text-right"
|
|
3667
3472
|
};
|
|
3668
|
-
function
|
|
3669
|
-
let
|
|
3473
|
+
function On({ columns: t, data: n, rowKey: r, showSerialNumber: i = !0, serialNumberHeader: a = "S.No", stickyHeader: o = !1, maxHeight: s, size: c = "default", variant: l = "default", rounded: u = "lg", shadow: f = "sm", loading: h = !1, emptyText: g = "No Data Found", emptyState: _, onRowClick: v, containerClassName: y, className: b, expandable: x, defaultExpandedRowKeys: S, expandedRowKeys: C, ...w }) {
|
|
3474
|
+
let T = (e, t) => r ? r(e, t) : e.id === void 0 ? e.key === void 0 ? t : e.key : e.id, E = S || x?.defaultExpandedRowKeys || [], [D, O] = d(E), k = C ?? x?.expandedRowKeys, A = k !== void 0, j = A ? k : D, M = (e, t, n) => {
|
|
3670
3475
|
n?.stopPropagation();
|
|
3671
|
-
let r =
|
|
3672
|
-
|
|
3673
|
-
},
|
|
3476
|
+
let r = T(e, t), i = j.includes(r), a = i ? j.filter((e) => e !== r) : [...j, r];
|
|
3477
|
+
A || O(a), x?.onExpand?.(!i, e, t);
|
|
3478
|
+
}, N = t.some((e) => e.fixed), P = +!!i + +!!x + t.length, ee = (e, t, n) => {
|
|
3674
3479
|
if (!e.fixed) return { className: "" };
|
|
3675
3480
|
let r = e.fixed === "left" || e.fixed === !0, i = e.fixed === "right";
|
|
3676
|
-
return r ? { className:
|
|
3481
|
+
return r ? { className: Y("sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.06)]", n ? "bg-slate-50 z-20" : "bg-white") } : i ? { className: Y("sticky right-0 z-10 shadow-[-2px_0_5px_-2px_rgba(0,0,0,0.06)]", n ? "bg-slate-50 z-20" : "bg-white") } : { className: "" };
|
|
3677
3482
|
};
|
|
3678
|
-
return /* @__PURE__ */ (
|
|
3483
|
+
return /* @__PURE__ */ p("div", {
|
|
3679
3484
|
style: s ? {
|
|
3680
3485
|
maxHeight: s,
|
|
3681
3486
|
overflowY: "auto"
|
|
3682
3487
|
} : void 0,
|
|
3683
|
-
className:
|
|
3488
|
+
className: Y(vn({
|
|
3684
3489
|
rounded: u,
|
|
3685
3490
|
shadow: f
|
|
3686
|
-
}), o && "relative",
|
|
3687
|
-
children: /* @__PURE__ */ (
|
|
3688
|
-
className:
|
|
3491
|
+
}), o && "relative", y),
|
|
3492
|
+
children: /* @__PURE__ */ m("table", {
|
|
3493
|
+
className: Y(yn({
|
|
3689
3494
|
size: c,
|
|
3690
3495
|
variant: l
|
|
3691
|
-
}),
|
|
3692
|
-
...
|
|
3693
|
-
children: [/* @__PURE__ */ (
|
|
3694
|
-
className:
|
|
3695
|
-
children: /* @__PURE__ */ (
|
|
3696
|
-
|
|
3697
|
-
i && /* @__PURE__ */ (
|
|
3496
|
+
}), N && "min-w-full", b),
|
|
3497
|
+
...w,
|
|
3498
|
+
children: [/* @__PURE__ */ p(bn, {
|
|
3499
|
+
className: Y(o && "sticky top-0 z-20 shadow-sm"),
|
|
3500
|
+
children: /* @__PURE__ */ m(Cn, { children: [
|
|
3501
|
+
x && /* @__PURE__ */ p(wn, { className: "w-10 px-2 text-center" }),
|
|
3502
|
+
i && /* @__PURE__ */ p(wn, {
|
|
3698
3503
|
className: "w-16 text-center",
|
|
3699
3504
|
children: a
|
|
3700
3505
|
}),
|
|
3701
3506
|
t.map((e, t) => {
|
|
3702
|
-
let n =
|
|
3703
|
-
return /* @__PURE__ */ (
|
|
3507
|
+
let n = ee(e, t, !0);
|
|
3508
|
+
return /* @__PURE__ */ p(wn, {
|
|
3704
3509
|
style: {
|
|
3705
3510
|
...e.width ? { width: e.width } : {},
|
|
3706
3511
|
...e.minWidth ? { minWidth: e.minWidth } : {},
|
|
3707
3512
|
...n.style
|
|
3708
3513
|
},
|
|
3709
|
-
className:
|
|
3514
|
+
className: Y(e.align ? Dn[e.align] : "text-left", n.className, e.className),
|
|
3710
3515
|
children: e.header
|
|
3711
3516
|
}, t);
|
|
3712
3517
|
})
|
|
3713
3518
|
] })
|
|
3714
|
-
}), /* @__PURE__ */ (
|
|
3715
|
-
colSpan:
|
|
3519
|
+
}), /* @__PURE__ */ p(xn, { children: h ? /* @__PURE__ */ p(Cn, { children: /* @__PURE__ */ p(Tn, {
|
|
3520
|
+
colSpan: P,
|
|
3716
3521
|
className: "text-center py-8 text-slate-500",
|
|
3717
|
-
children: /* @__PURE__ */ (
|
|
3522
|
+
children: /* @__PURE__ */ m("div", {
|
|
3718
3523
|
className: "flex items-center justify-center gap-2",
|
|
3719
|
-
children: [/* @__PURE__ */ (
|
|
3524
|
+
children: [/* @__PURE__ */ p("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-slate-300 border-t-[#0F172A]" }), /* @__PURE__ */ p("span", { children: "Loading records..." })]
|
|
3720
3525
|
})
|
|
3721
3526
|
}) }) : n.length ? n.map((n, r) => {
|
|
3722
|
-
let a =
|
|
3723
|
-
return /* @__PURE__ */ (
|
|
3527
|
+
let a = T(n, r), o = j.includes(a), s = x ? !x.rowExpandable || x.rowExpandable(n, r) : !1;
|
|
3528
|
+
return /* @__PURE__ */ m(e.Fragment, { children: [/* @__PURE__ */ m(Cn, {
|
|
3724
3529
|
onClick: (e) => {
|
|
3725
|
-
|
|
3530
|
+
x?.expandRowByClick && s && M(n, r, e), v?.(n, r);
|
|
3726
3531
|
},
|
|
3727
|
-
className:
|
|
3532
|
+
className: Y((v || x?.expandRowByClick && s) && "cursor-pointer", o && "bg-slate-50/50"),
|
|
3728
3533
|
children: [
|
|
3729
|
-
|
|
3534
|
+
x && /* @__PURE__ */ p(Tn, {
|
|
3730
3535
|
className: "w-10 px-2 text-center",
|
|
3731
|
-
children: s ? /* @__PURE__ */ (
|
|
3536
|
+
children: s ? /* @__PURE__ */ p("button", {
|
|
3732
3537
|
type: "button",
|
|
3733
|
-
onClick: (e) =>
|
|
3538
|
+
onClick: (e) => M(n, r, e),
|
|
3734
3539
|
"aria-expanded": o,
|
|
3735
3540
|
"aria-label": o ? "Collapse row details" : "Expand row details",
|
|
3736
3541
|
className: "inline-flex h-6 w-6 items-center justify-center rounded-md text-slate-500 hover:bg-slate-200/70 hover:text-slate-800 transition-transform duration-200 focus:outline-none",
|
|
3737
|
-
children: /* @__PURE__ */ (
|
|
3738
|
-
className:
|
|
3542
|
+
children: /* @__PURE__ */ p("svg", {
|
|
3543
|
+
className: Y("h-4 w-4 transform transition-transform duration-200", o && "rotate-90"),
|
|
3739
3544
|
fill: "none",
|
|
3740
3545
|
stroke: "currentColor",
|
|
3741
3546
|
viewBox: "0 0 24 24",
|
|
3742
|
-
children: /* @__PURE__ */ (
|
|
3547
|
+
children: /* @__PURE__ */ p("path", {
|
|
3743
3548
|
strokeLinecap: "round",
|
|
3744
3549
|
strokeLinejoin: "round",
|
|
3745
3550
|
strokeWidth: 2,
|
|
@@ -3748,73 +3553,73 @@ function An({ columns: t, data: n, rowKey: r, showSerialNumber: i = !0, serialNu
|
|
|
3748
3553
|
})
|
|
3749
3554
|
}) : null
|
|
3750
3555
|
}),
|
|
3751
|
-
i && /* @__PURE__ */ (
|
|
3556
|
+
i && /* @__PURE__ */ p(Tn, {
|
|
3752
3557
|
className: "text-center text-slate-500 font-mono text-xs",
|
|
3753
3558
|
children: r + 1
|
|
3754
3559
|
}),
|
|
3755
3560
|
t.map((e, t) => {
|
|
3756
|
-
let i =
|
|
3757
|
-
return e.cell ? a = e.cell(n, r) : e.accessor && (a = n[e.accessor]), /* @__PURE__ */ (
|
|
3561
|
+
let i = ee(e, t, !1), a = null;
|
|
3562
|
+
return e.cell ? a = e.cell(n, r) : e.accessor && (a = n[e.accessor]), /* @__PURE__ */ p(Tn, {
|
|
3758
3563
|
style: {
|
|
3759
3564
|
...e.width ? { width: e.width } : {},
|
|
3760
3565
|
...e.minWidth ? { minWidth: e.minWidth } : {},
|
|
3761
3566
|
...i.style
|
|
3762
3567
|
},
|
|
3763
|
-
className:
|
|
3568
|
+
className: Y(e.align ? Dn[e.align] : "text-left", i.className, e.className),
|
|
3764
3569
|
children: a
|
|
3765
3570
|
}, t);
|
|
3766
3571
|
})
|
|
3767
3572
|
]
|
|
3768
|
-
}),
|
|
3573
|
+
}), x && o && s && /* @__PURE__ */ p("tr", {
|
|
3769
3574
|
className: "bg-slate-50/70 border-b border-slate-100",
|
|
3770
|
-
children: /* @__PURE__ */ (
|
|
3771
|
-
colSpan:
|
|
3575
|
+
children: /* @__PURE__ */ p("td", {
|
|
3576
|
+
colSpan: P,
|
|
3772
3577
|
className: "p-4",
|
|
3773
|
-
children: /* @__PURE__ */ (
|
|
3578
|
+
children: /* @__PURE__ */ p("div", {
|
|
3774
3579
|
className: "animate-in fade-in duration-200",
|
|
3775
|
-
children:
|
|
3580
|
+
children: x.expandedRowRender(n, r)
|
|
3776
3581
|
})
|
|
3777
3582
|
})
|
|
3778
3583
|
})] }, a);
|
|
3779
|
-
}) : /* @__PURE__ */ (
|
|
3780
|
-
colSpan:
|
|
3584
|
+
}) : /* @__PURE__ */ p(Cn, { children: /* @__PURE__ */ p(Tn, {
|
|
3585
|
+
colSpan: P,
|
|
3781
3586
|
className: "text-center py-8 text-slate-400",
|
|
3782
|
-
children:
|
|
3587
|
+
children: _ || g
|
|
3783
3588
|
}) }) })]
|
|
3784
3589
|
})
|
|
3785
3590
|
});
|
|
3786
3591
|
}
|
|
3787
3592
|
//#endregion
|
|
3788
3593
|
//#region src/components/Tabs/Tabs.tsx
|
|
3789
|
-
var
|
|
3790
|
-
function
|
|
3791
|
-
let e = a(
|
|
3594
|
+
var kn = t(null);
|
|
3595
|
+
function An() {
|
|
3596
|
+
let e = a(kn);
|
|
3792
3597
|
if (!e) throw Error("Tabs compound components must be used within a <Tabs /> provider.");
|
|
3793
3598
|
return e;
|
|
3794
3599
|
}
|
|
3795
|
-
var
|
|
3796
|
-
let f = e !== void 0, [
|
|
3797
|
-
return /* @__PURE__ */ (
|
|
3600
|
+
var jn = n(({ value: e, defaultValue: t = "", onChange: n, variant: r = "default", stretch: i = !1, size: a = "default", className: o, children: c, ...l }, u) => {
|
|
3601
|
+
let f = e !== void 0, [m, h] = d(t), g = f ? e : m, _ = s();
|
|
3602
|
+
return /* @__PURE__ */ p(kn.Provider, {
|
|
3798
3603
|
value: {
|
|
3799
|
-
value:
|
|
3604
|
+
value: g,
|
|
3800
3605
|
onChange: (e) => {
|
|
3801
|
-
f ||
|
|
3606
|
+
f || h(e), n?.(e);
|
|
3802
3607
|
},
|
|
3803
3608
|
variant: r,
|
|
3804
3609
|
stretch: i,
|
|
3805
3610
|
size: a,
|
|
3806
|
-
baseId:
|
|
3611
|
+
baseId: _
|
|
3807
3612
|
},
|
|
3808
|
-
children: /* @__PURE__ */ (
|
|
3613
|
+
children: /* @__PURE__ */ p("div", {
|
|
3809
3614
|
ref: u,
|
|
3810
|
-
className:
|
|
3615
|
+
className: Y("flex flex-col gap-4", i && "w-full", o),
|
|
3811
3616
|
...l,
|
|
3812
3617
|
children: c
|
|
3813
3618
|
})
|
|
3814
3619
|
});
|
|
3815
3620
|
});
|
|
3816
|
-
|
|
3817
|
-
var
|
|
3621
|
+
jn.displayName = "Tabs";
|
|
3622
|
+
var Mn = y("inline-flex items-center text-[#64748B]", {
|
|
3818
3623
|
variants: {
|
|
3819
3624
|
variant: {
|
|
3820
3625
|
default: "bg-slate-100 p-1 rounded-md gap-1",
|
|
@@ -3829,12 +3634,12 @@ var Pn = v("inline-flex items-center text-[#64748B]", {
|
|
|
3829
3634
|
variant: "default",
|
|
3830
3635
|
stretch: !1
|
|
3831
3636
|
}
|
|
3832
|
-
}),
|
|
3833
|
-
let { variant: i, stretch: a } =
|
|
3834
|
-
return /* @__PURE__ */ (
|
|
3637
|
+
}), Nn = n(({ className: e, children: t, ...n }, r) => {
|
|
3638
|
+
let { variant: i, stretch: a } = An();
|
|
3639
|
+
return /* @__PURE__ */ p("div", {
|
|
3835
3640
|
ref: r,
|
|
3836
3641
|
role: "tablist",
|
|
3837
|
-
className:
|
|
3642
|
+
className: Y(Mn({
|
|
3838
3643
|
variant: i,
|
|
3839
3644
|
stretch: a,
|
|
3840
3645
|
className: e
|
|
@@ -3843,8 +3648,8 @@ var Pn = v("inline-flex items-center text-[#64748B]", {
|
|
|
3843
3648
|
children: t
|
|
3844
3649
|
});
|
|
3845
3650
|
});
|
|
3846
|
-
|
|
3847
|
-
var
|
|
3651
|
+
Nn.displayName = "TabsList";
|
|
3652
|
+
var Pn = y("inline-flex items-center justify-center font-[500] whitespace-nowrap transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] disabled:pointer-events-none disabled:opacity-50 cursor-pointer select-none", {
|
|
3848
3653
|
variants: {
|
|
3849
3654
|
variant: {
|
|
3850
3655
|
default: "rounded-md text-[#64748B] hover:text-[#0F172A] data-[state=active]:bg-white data-[state=active]:text-[#0F172A] data-[state=active]:font-[600] data-[state=active]:shadow-sm",
|
|
@@ -3865,19 +3670,19 @@ var In = v("inline-flex items-center justify-center font-[500] whitespace-nowrap
|
|
|
3865
3670
|
size: "default",
|
|
3866
3671
|
stretch: !1
|
|
3867
3672
|
}
|
|
3868
|
-
}),
|
|
3869
|
-
let { value: o, onChange: s, variant: c, stretch: l, size: u, baseId: d } =
|
|
3870
|
-
return /* @__PURE__ */ (
|
|
3673
|
+
}), Fn = n(({ value: e, disabled: t, className: n, children: r, ...i }, a) => {
|
|
3674
|
+
let { value: o, onChange: s, variant: c, stretch: l, size: u, baseId: d } = An(), f = o === e, m = `${d}-tab-${e}`, h = `${d}-panel-${e}`;
|
|
3675
|
+
return /* @__PURE__ */ p("button", {
|
|
3871
3676
|
ref: a,
|
|
3872
|
-
id:
|
|
3677
|
+
id: m,
|
|
3873
3678
|
role: "tab",
|
|
3874
3679
|
type: "button",
|
|
3875
3680
|
"aria-selected": f,
|
|
3876
|
-
"aria-controls":
|
|
3681
|
+
"aria-controls": h,
|
|
3877
3682
|
"data-state": f ? "active" : "inactive",
|
|
3878
3683
|
disabled: t,
|
|
3879
3684
|
onClick: () => s(e),
|
|
3880
|
-
className:
|
|
3685
|
+
className: Y(Pn({
|
|
3881
3686
|
variant: c,
|
|
3882
3687
|
stretch: l,
|
|
3883
3688
|
size: u,
|
|
@@ -3887,53 +3692,53 @@ var In = v("inline-flex items-center justify-center font-[500] whitespace-nowrap
|
|
|
3887
3692
|
children: r
|
|
3888
3693
|
});
|
|
3889
3694
|
});
|
|
3890
|
-
|
|
3891
|
-
var
|
|
3892
|
-
let { value: a, baseId: o } =
|
|
3893
|
-
return s ? /* @__PURE__ */ (
|
|
3695
|
+
Fn.displayName = "TabsTrigger";
|
|
3696
|
+
var In = n(({ value: e, className: t, children: n, ...r }, i) => {
|
|
3697
|
+
let { value: a, baseId: o } = An(), s = a === e, c = `${o}-tab-${e}`, l = `${o}-panel-${e}`;
|
|
3698
|
+
return s ? /* @__PURE__ */ p("div", {
|
|
3894
3699
|
ref: i,
|
|
3895
3700
|
id: l,
|
|
3896
3701
|
role: "tabpanel",
|
|
3897
3702
|
"aria-labelledby": c,
|
|
3898
3703
|
tabIndex: 0,
|
|
3899
|
-
className:
|
|
3704
|
+
className: Y("focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2 animate-in fade-in-50 duration-150", t),
|
|
3900
3705
|
...r,
|
|
3901
3706
|
children: n
|
|
3902
3707
|
}) : null;
|
|
3903
3708
|
});
|
|
3904
|
-
|
|
3709
|
+
In.displayName = "TabsContent";
|
|
3905
3710
|
//#endregion
|
|
3906
3711
|
//#region src/components/Textarea/Textarea.tsx
|
|
3907
|
-
var
|
|
3712
|
+
var Ln = y("flex min-h-[80px] w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] focus:border-transparent transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 resize-y", {
|
|
3908
3713
|
variants: { hasError: { true: "border-red-500 focus:ring-red-500 text-red-900 placeholder:text-red-300" } },
|
|
3909
3714
|
defaultVariants: { hasError: !1 }
|
|
3910
|
-
}),
|
|
3911
|
-
let u = s(), d = a || u, f = `${d}-desc`,
|
|
3715
|
+
}), Rn = n(({ className: e, hasError: t = !1, label: n, helperText: r, errorMessage: i, id: a, disabled: o, ...c }, l) => {
|
|
3716
|
+
let u = s(), d = a || u, f = `${d}-desc`, h = !!(i || t), g = /* @__PURE__ */ p("textarea", {
|
|
3912
3717
|
id: d,
|
|
3913
3718
|
ref: l,
|
|
3914
3719
|
disabled: o,
|
|
3915
|
-
"aria-invalid":
|
|
3720
|
+
"aria-invalid": h,
|
|
3916
3721
|
"aria-describedby": r || i ? f : void 0,
|
|
3917
|
-
className:
|
|
3918
|
-
hasError:
|
|
3722
|
+
className: Y(Ln({
|
|
3723
|
+
hasError: h,
|
|
3919
3724
|
className: e
|
|
3920
3725
|
})),
|
|
3921
3726
|
...c
|
|
3922
3727
|
});
|
|
3923
|
-
return !n && !r && !i ?
|
|
3728
|
+
return !n && !r && !i ? g : /* @__PURE__ */ m("div", {
|
|
3924
3729
|
className: "w-full flex flex-col gap-2",
|
|
3925
3730
|
children: [
|
|
3926
|
-
n && /* @__PURE__ */ (
|
|
3731
|
+
n && /* @__PURE__ */ p("label", {
|
|
3927
3732
|
htmlFor: d,
|
|
3928
|
-
className:
|
|
3733
|
+
className: Y("text-sm font-[600] text-[#0F172A]", o && "opacity-50 cursor-not-allowed"),
|
|
3929
3734
|
children: n
|
|
3930
3735
|
}),
|
|
3931
|
-
|
|
3932
|
-
i ? /* @__PURE__ */ (
|
|
3736
|
+
g,
|
|
3737
|
+
i ? /* @__PURE__ */ p("p", {
|
|
3933
3738
|
id: f,
|
|
3934
3739
|
className: "text-xs font-[400] text-red-500",
|
|
3935
3740
|
children: i
|
|
3936
|
-
}) : r ? /* @__PURE__ */ (
|
|
3741
|
+
}) : r ? /* @__PURE__ */ p("p", {
|
|
3937
3742
|
id: f,
|
|
3938
3743
|
className: "text-xs font-[400] text-gray-500",
|
|
3939
3744
|
children: r
|
|
@@ -3941,105 +3746,105 @@ var zn = v("flex min-h-[80px] w-full rounded-md border border-gray-200 bg-white
|
|
|
3941
3746
|
]
|
|
3942
3747
|
});
|
|
3943
3748
|
});
|
|
3944
|
-
|
|
3749
|
+
Rn.displayName = "Textarea";
|
|
3945
3750
|
//#endregion
|
|
3946
3751
|
//#region src/components/Toast/Toast.tsx
|
|
3947
|
-
var
|
|
3752
|
+
var zn = y("relative flex w-full max-w-md items-center justify-between space-x-4 overflow-hidden rounded-lg p-4 shadow-lg border transition-all duration-200", {
|
|
3948
3753
|
variants: { variant: {
|
|
3949
3754
|
default: "bg-white border-gray-200 text-[#0F172A]",
|
|
3950
3755
|
destructive: "bg-[#EF4444] border-[#EF4444] text-white"
|
|
3951
3756
|
} },
|
|
3952
3757
|
defaultVariants: { variant: "default" }
|
|
3953
|
-
}),
|
|
3758
|
+
}), Bn = n(({ className: e, variant: t = "default", title: n, description: r, action: i, onClose: a, children: o, ...s }, c) => {
|
|
3954
3759
|
let l = t === "destructive";
|
|
3955
|
-
return /* @__PURE__ */ (
|
|
3760
|
+
return /* @__PURE__ */ m("div", {
|
|
3956
3761
|
ref: c,
|
|
3957
3762
|
role: "status",
|
|
3958
3763
|
"aria-live": "polite",
|
|
3959
|
-
className:
|
|
3764
|
+
className: Y(zn({
|
|
3960
3765
|
variant: t,
|
|
3961
3766
|
className: e
|
|
3962
3767
|
})),
|
|
3963
3768
|
...s,
|
|
3964
|
-
children: [/* @__PURE__ */ (
|
|
3769
|
+
children: [/* @__PURE__ */ m("div", {
|
|
3965
3770
|
className: "flex-1 space-y-1",
|
|
3966
3771
|
children: [
|
|
3967
|
-
n && /* @__PURE__ */ (
|
|
3968
|
-
className:
|
|
3772
|
+
n && /* @__PURE__ */ p("h5", {
|
|
3773
|
+
className: Y("text-sm font-[600] leading-tight", l ? "text-white" : "text-[#0F172A]"),
|
|
3969
3774
|
children: n
|
|
3970
3775
|
}),
|
|
3971
|
-
r && /* @__PURE__ */ (
|
|
3972
|
-
className:
|
|
3776
|
+
r && /* @__PURE__ */ p("p", {
|
|
3777
|
+
className: Y("text-xs font-[400] leading-normal", l ? "text-white/90" : "text-slate-500"),
|
|
3973
3778
|
children: r
|
|
3974
3779
|
}),
|
|
3975
3780
|
o
|
|
3976
3781
|
]
|
|
3977
|
-
}), i && /* @__PURE__ */ (
|
|
3782
|
+
}), i && /* @__PURE__ */ p("div", {
|
|
3978
3783
|
className: "flex-shrink-0",
|
|
3979
|
-
children: typeof i == "string" ? /* @__PURE__ */ (
|
|
3784
|
+
children: typeof i == "string" ? /* @__PURE__ */ p("button", {
|
|
3980
3785
|
type: "button",
|
|
3981
|
-
className:
|
|
3786
|
+
className: Y("inline-flex h-8 items-center justify-center rounded-md px-3 text-xs font-[500] transition-colors focus:outline-none focus:ring-2 select-none", l ? "bg-transparent border border-white/40 text-white hover:bg-white/10 focus:ring-white" : "bg-transparent border border-gray-200 text-[#0F172A] hover:bg-slate-100 focus:ring-[#0F172A]"),
|
|
3982
3787
|
children: i
|
|
3983
3788
|
}) : i
|
|
3984
3789
|
})]
|
|
3985
3790
|
});
|
|
3986
3791
|
});
|
|
3987
|
-
|
|
3792
|
+
Bn.displayName = "Toast";
|
|
3988
3793
|
//#endregion
|
|
3989
3794
|
//#region src/components/Tooltip/Tooltip.tsx
|
|
3990
|
-
var
|
|
3991
|
-
function
|
|
3992
|
-
let e = a(
|
|
3795
|
+
var Vn = t(null);
|
|
3796
|
+
function Hn() {
|
|
3797
|
+
let e = a(Vn);
|
|
3993
3798
|
if (!e) throw Error("Tooltip compound components must be used within <Tooltip />.");
|
|
3994
3799
|
return e;
|
|
3995
3800
|
}
|
|
3996
|
-
var
|
|
3801
|
+
var Un = t({ delayDuration: 150 }), Wn = ({ delayDuration: e = 150, children: t }) => /* @__PURE__ */ p(Un.Provider, {
|
|
3997
3802
|
value: { delayDuration: e },
|
|
3998
3803
|
children: t
|
|
3999
|
-
}),
|
|
4000
|
-
let
|
|
3804
|
+
}), Gn = ({ open: e, defaultOpen: t = !1, onOpenChange: n, delayDuration: r, side: i = "top", align: s = "center", sideOffset: c = 6, children: l, content: f }) => {
|
|
3805
|
+
let h = a(Un), g = r === void 0 ? h.delayDuration : r, _ = e !== void 0, [v, y] = d(t), b = _ ? e : v, [x, S] = d(null), C = u(null);
|
|
4001
3806
|
return o(() => () => {
|
|
4002
|
-
|
|
4003
|
-
}, []), f === void 0 ? /* @__PURE__ */ (
|
|
3807
|
+
C.current && clearTimeout(C.current);
|
|
3808
|
+
}, []), f === void 0 ? /* @__PURE__ */ p(Vn.Provider, {
|
|
4004
3809
|
value: {
|
|
4005
|
-
open:
|
|
3810
|
+
open: b,
|
|
4006
3811
|
setOpen: (e) => {
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
},
|
|
3812
|
+
C.current && clearTimeout(C.current), e ? C.current = window.setTimeout(() => {
|
|
3813
|
+
_ || y(!0), n?.(!0);
|
|
3814
|
+
}, g) : (_ || y(!1), n?.(!1));
|
|
4010
3815
|
},
|
|
4011
3816
|
side: i,
|
|
4012
3817
|
align: s,
|
|
4013
3818
|
sideOffset: c,
|
|
4014
|
-
triggerRect:
|
|
4015
|
-
setTriggerRect:
|
|
3819
|
+
triggerRect: x,
|
|
3820
|
+
setTriggerRect: S
|
|
4016
3821
|
},
|
|
4017
|
-
children: /* @__PURE__ */ (
|
|
3822
|
+
children: /* @__PURE__ */ p("div", {
|
|
4018
3823
|
className: "relative inline-flex",
|
|
4019
3824
|
children: l
|
|
4020
3825
|
})
|
|
4021
|
-
}) : /* @__PURE__ */ (
|
|
3826
|
+
}) : /* @__PURE__ */ m(Gn, {
|
|
4022
3827
|
side: i,
|
|
4023
3828
|
align: s,
|
|
4024
3829
|
sideOffset: c,
|
|
4025
|
-
delayDuration:
|
|
3830
|
+
delayDuration: g,
|
|
4026
3831
|
open: e,
|
|
4027
3832
|
onOpenChange: n,
|
|
4028
|
-
children: [/* @__PURE__ */ (
|
|
3833
|
+
children: [/* @__PURE__ */ p(Kn, {
|
|
4029
3834
|
asChild: !0,
|
|
4030
3835
|
children: l
|
|
4031
|
-
}), /* @__PURE__ */ (
|
|
3836
|
+
}), /* @__PURE__ */ p(qn, {
|
|
4032
3837
|
side: i,
|
|
4033
3838
|
align: s,
|
|
4034
3839
|
sideOffset: c,
|
|
4035
3840
|
children: f
|
|
4036
3841
|
})]
|
|
4037
3842
|
});
|
|
4038
|
-
},
|
|
4039
|
-
let { setOpen: a, setTriggerRect: o } =
|
|
3843
|
+
}, Kn = n(({ className: e, children: t, asChild: n = !1, ...r }, i) => {
|
|
3844
|
+
let { setOpen: a, setTriggerRect: o } = Hn(), s = u(null), c = () => {
|
|
4040
3845
|
s.current && o(s.current.getBoundingClientRect());
|
|
4041
3846
|
};
|
|
4042
|
-
return /* @__PURE__ */ (
|
|
3847
|
+
return /* @__PURE__ */ p("div", {
|
|
4043
3848
|
ref: (e) => {
|
|
4044
3849
|
s.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
4045
3850
|
},
|
|
@@ -4055,18 +3860,18 @@ var Gn = t({ delayDuration: 150 }), Kn = ({ delayDuration: e = 150, children: t
|
|
|
4055
3860
|
onBlur: () => {
|
|
4056
3861
|
a(!1);
|
|
4057
3862
|
},
|
|
4058
|
-
className:
|
|
3863
|
+
className: Y("inline-flex", e),
|
|
4059
3864
|
...r,
|
|
4060
3865
|
children: t
|
|
4061
3866
|
});
|
|
4062
3867
|
});
|
|
4063
|
-
|
|
4064
|
-
var
|
|
4065
|
-
let s =
|
|
4066
|
-
return n || s.align, r !== void 0 || s.sideOffset, s.open ? /* @__PURE__ */ (
|
|
3868
|
+
Kn.displayName = "TooltipTrigger";
|
|
3869
|
+
var qn = n(({ className: e, side: t, align: n, sideOffset: r, children: i, ...a }, o) => {
|
|
3870
|
+
let s = Hn(), c = t || s.side;
|
|
3871
|
+
return n || s.align, r !== void 0 || s.sideOffset, s.open ? /* @__PURE__ */ p("div", {
|
|
4067
3872
|
ref: o,
|
|
4068
3873
|
role: "tooltip",
|
|
4069
|
-
className:
|
|
3874
|
+
className: Y("absolute z-50 whitespace-nowrap rounded-md border border-gray-200 bg-white px-3 py-1.5 text-xs font-[500] text-[#0F172A] shadow-md animate-in fade-in-0 zoom-in-95 select-none pointer-events-none", (() => {
|
|
4070
3875
|
switch (c) {
|
|
4071
3876
|
case "top": return "bottom-full left-1/2 -translate-x-1/2 mb-2";
|
|
4072
3877
|
case "bottom": return "top-full left-1/2 -translate-x-1/2 mt-2";
|
|
@@ -4078,31 +3883,31 @@ var Yn = n(({ className: e, side: t, align: n, sideOffset: r, children: i, ...a
|
|
|
4078
3883
|
children: i
|
|
4079
3884
|
}) : null;
|
|
4080
3885
|
});
|
|
4081
|
-
|
|
3886
|
+
qn.displayName = "TooltipContent";
|
|
4082
3887
|
//#endregion
|
|
4083
3888
|
//#region src/components/Upload/FileIcons.tsx
|
|
4084
|
-
var
|
|
3889
|
+
var Jn = ({ type: e = "file", className: t }) => {
|
|
4085
3890
|
switch (e.toLowerCase().replace(".", "")) {
|
|
4086
|
-
case "pdf": return /* @__PURE__ */ (
|
|
4087
|
-
className:
|
|
4088
|
-
children: /* @__PURE__ */ (
|
|
3891
|
+
case "pdf": return /* @__PURE__ */ p("div", {
|
|
3892
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-red-100 text-red-600 font-bold text-xs select-none", t),
|
|
3893
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4089
3894
|
className: "w-5 h-5",
|
|
4090
3895
|
fill: "currentColor",
|
|
4091
3896
|
viewBox: "0 0 24 24",
|
|
4092
|
-
children: /* @__PURE__ */ (
|
|
3897
|
+
children: /* @__PURE__ */ p("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h-2v-6h2v6zm0-8h-2V7h2v2zm4 8h-2v-3h2v3zm0-5h-2v-4h2v4z" })
|
|
4093
3898
|
})
|
|
4094
3899
|
});
|
|
4095
3900
|
case "xls":
|
|
4096
3901
|
case "xlsx":
|
|
4097
3902
|
case "excel":
|
|
4098
|
-
case "csv": return /* @__PURE__ */ (
|
|
4099
|
-
className:
|
|
4100
|
-
children: /* @__PURE__ */ (
|
|
3903
|
+
case "csv": return /* @__PURE__ */ p("div", {
|
|
3904
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-emerald-100 text-emerald-600 font-bold text-xs select-none", t),
|
|
3905
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4101
3906
|
className: "w-5 h-5",
|
|
4102
3907
|
fill: "none",
|
|
4103
3908
|
stroke: "currentColor",
|
|
4104
3909
|
viewBox: "0 0 24 24",
|
|
4105
|
-
children: /* @__PURE__ */ (
|
|
3910
|
+
children: /* @__PURE__ */ p("path", {
|
|
4106
3911
|
strokeLinecap: "round",
|
|
4107
3912
|
strokeLinejoin: "round",
|
|
4108
3913
|
strokeWidth: 2,
|
|
@@ -4112,14 +3917,14 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4112
3917
|
});
|
|
4113
3918
|
case "doc":
|
|
4114
3919
|
case "docx":
|
|
4115
|
-
case "word": return /* @__PURE__ */ (
|
|
4116
|
-
className:
|
|
4117
|
-
children: /* @__PURE__ */ (
|
|
3920
|
+
case "word": return /* @__PURE__ */ p("div", {
|
|
3921
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-blue-100 text-blue-600 font-bold text-xs select-none", t),
|
|
3922
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4118
3923
|
className: "w-5 h-5",
|
|
4119
3924
|
fill: "none",
|
|
4120
3925
|
stroke: "currentColor",
|
|
4121
3926
|
viewBox: "0 0 24 24",
|
|
4122
|
-
children: /* @__PURE__ */ (
|
|
3927
|
+
children: /* @__PURE__ */ p("path", {
|
|
4123
3928
|
strokeLinecap: "round",
|
|
4124
3929
|
strokeLinejoin: "round",
|
|
4125
3930
|
strokeWidth: 2,
|
|
@@ -4130,14 +3935,14 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4130
3935
|
case "zip":
|
|
4131
3936
|
case "rar":
|
|
4132
3937
|
case "tar":
|
|
4133
|
-
case "7z": return /* @__PURE__ */ (
|
|
4134
|
-
className:
|
|
4135
|
-
children: /* @__PURE__ */ (
|
|
3938
|
+
case "7z": return /* @__PURE__ */ p("div", {
|
|
3939
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-amber-100 text-amber-600 font-bold text-xs select-none", t),
|
|
3940
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4136
3941
|
className: "w-5 h-5",
|
|
4137
3942
|
fill: "none",
|
|
4138
3943
|
stroke: "currentColor",
|
|
4139
3944
|
viewBox: "0 0 24 24",
|
|
4140
|
-
children: /* @__PURE__ */ (
|
|
3945
|
+
children: /* @__PURE__ */ p("path", {
|
|
4141
3946
|
strokeLinecap: "round",
|
|
4142
3947
|
strokeLinejoin: "round",
|
|
4143
3948
|
strokeWidth: 2,
|
|
@@ -4150,14 +3955,14 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4150
3955
|
case "jpeg":
|
|
4151
3956
|
case "webp":
|
|
4152
3957
|
case "gif":
|
|
4153
|
-
case "image": return /* @__PURE__ */ (
|
|
4154
|
-
className:
|
|
4155
|
-
children: /* @__PURE__ */ (
|
|
3958
|
+
case "image": return /* @__PURE__ */ p("div", {
|
|
3959
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-purple-100 text-purple-600 font-bold text-xs select-none", t),
|
|
3960
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4156
3961
|
className: "w-5 h-5",
|
|
4157
3962
|
fill: "none",
|
|
4158
3963
|
stroke: "currentColor",
|
|
4159
3964
|
viewBox: "0 0 24 24",
|
|
4160
|
-
children: /* @__PURE__ */ (
|
|
3965
|
+
children: /* @__PURE__ */ p("path", {
|
|
4161
3966
|
strokeLinecap: "round",
|
|
4162
3967
|
strokeLinejoin: "round",
|
|
4163
3968
|
strokeWidth: 2,
|
|
@@ -4165,14 +3970,14 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4165
3970
|
})
|
|
4166
3971
|
})
|
|
4167
3972
|
});
|
|
4168
|
-
default: return /* @__PURE__ */ (
|
|
4169
|
-
className:
|
|
4170
|
-
children: /* @__PURE__ */ (
|
|
3973
|
+
default: return /* @__PURE__ */ p("div", {
|
|
3974
|
+
className: Y("flex h-10 w-10 items-center justify-center rounded-lg bg-slate-100 text-slate-600 font-bold text-xs select-none", t),
|
|
3975
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4171
3976
|
className: "w-5 h-5",
|
|
4172
3977
|
fill: "none",
|
|
4173
3978
|
stroke: "currentColor",
|
|
4174
3979
|
viewBox: "0 0 24 24",
|
|
4175
|
-
children: /* @__PURE__ */ (
|
|
3980
|
+
children: /* @__PURE__ */ p("path", {
|
|
4176
3981
|
strokeLinecap: "round",
|
|
4177
3982
|
strokeLinejoin: "round",
|
|
4178
3983
|
strokeWidth: 2,
|
|
@@ -4181,97 +3986,97 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4181
3986
|
})
|
|
4182
3987
|
});
|
|
4183
3988
|
}
|
|
4184
|
-
},
|
|
4185
|
-
let
|
|
3989
|
+
}, Yn = n(({ className: e, value: t, defaultValue: n, onChange: r, disabled: i = !1, shape: a = "square", size: o = "default", progress: c, errorMessage: l, label: h, onCancel: g, ..._ }, v) => {
|
|
3990
|
+
let y = t !== void 0, [b, x] = d(n), S = y ? t : b, [C, w] = d(!1), [T, E] = d(!1), D = u(null), O = s(), k = c !== void 0 && c >= 0 && c < 100, A = !!l, j = (e) => {
|
|
4186
3991
|
let t = e.target.files?.[0];
|
|
4187
3992
|
if (t) {
|
|
4188
3993
|
let e = URL.createObjectURL(t);
|
|
4189
|
-
|
|
3994
|
+
y || x(e), r?.(t, e);
|
|
4190
3995
|
}
|
|
4191
|
-
},
|
|
4192
|
-
if (e.preventDefault(),
|
|
3996
|
+
}, M = (e) => {
|
|
3997
|
+
if (e.preventDefault(), E(!1), i) return;
|
|
4193
3998
|
let t = e.dataTransfer.files?.[0];
|
|
4194
3999
|
if (t) {
|
|
4195
4000
|
let e = URL.createObjectURL(t);
|
|
4196
|
-
|
|
4001
|
+
y || x(e), r?.(t, e);
|
|
4197
4002
|
}
|
|
4198
|
-
},
|
|
4199
|
-
e.stopPropagation(),
|
|
4200
|
-
},
|
|
4003
|
+
}, N = (e) => {
|
|
4004
|
+
e.stopPropagation(), y || x(void 0), D.current && (D.current.value = ""), r?.(null, void 0);
|
|
4005
|
+
}, P = {
|
|
4201
4006
|
sm: "h-20 w-20 text-xs",
|
|
4202
4007
|
default: "h-28 w-28 text-sm",
|
|
4203
4008
|
lg: "h-36 w-36 text-base"
|
|
4204
4009
|
}[o];
|
|
4205
|
-
return /* @__PURE__ */ (
|
|
4010
|
+
return /* @__PURE__ */ m("div", {
|
|
4206
4011
|
className: "flex flex-col gap-2",
|
|
4207
4012
|
children: [
|
|
4208
|
-
|
|
4013
|
+
h && /* @__PURE__ */ p("span", {
|
|
4209
4014
|
className: "text-sm font-[600] text-[#0F172A]",
|
|
4210
|
-
children:
|
|
4015
|
+
children: h
|
|
4211
4016
|
}),
|
|
4212
|
-
/* @__PURE__ */ (
|
|
4213
|
-
ref:
|
|
4214
|
-
onMouseEnter: () =>
|
|
4215
|
-
onMouseLeave: () =>
|
|
4017
|
+
/* @__PURE__ */ m("div", {
|
|
4018
|
+
ref: v,
|
|
4019
|
+
onMouseEnter: () => w(!0),
|
|
4020
|
+
onMouseLeave: () => w(!1),
|
|
4216
4021
|
onDragOver: (e) => {
|
|
4217
|
-
e.preventDefault(),
|
|
4022
|
+
e.preventDefault(), E(!0);
|
|
4218
4023
|
},
|
|
4219
|
-
onDragLeave: () =>
|
|
4220
|
-
onDrop:
|
|
4221
|
-
onClick: () => !i && !
|
|
4222
|
-
className:
|
|
4223
|
-
...
|
|
4024
|
+
onDragLeave: () => E(!1),
|
|
4025
|
+
onDrop: M,
|
|
4026
|
+
onClick: () => !i && !k && D.current?.click(),
|
|
4027
|
+
className: Y("relative flex flex-col items-center justify-center cursor-pointer transition-all duration-200 border-2 overflow-hidden select-none bg-white", a === "circle" ? "rounded-full" : "rounded-xl", P, !S && !k && !A && "border-dashed border-gray-300 hover:border-[#0F172A] hover:bg-slate-50", T && "border-solid border-[#0F172A] bg-slate-50", A && "border-dashed border-red-400 bg-red-50/30", i && "pointer-events-none opacity-50 bg-slate-100 cursor-not-allowed", e),
|
|
4028
|
+
..._,
|
|
4224
4029
|
children: [
|
|
4225
|
-
/* @__PURE__ */ (
|
|
4226
|
-
id:
|
|
4227
|
-
ref:
|
|
4030
|
+
/* @__PURE__ */ p("input", {
|
|
4031
|
+
id: O,
|
|
4032
|
+
ref: D,
|
|
4228
4033
|
type: "file",
|
|
4229
4034
|
accept: "image/*",
|
|
4230
4035
|
disabled: i,
|
|
4231
|
-
onChange:
|
|
4036
|
+
onChange: j,
|
|
4232
4037
|
className: "hidden"
|
|
4233
4038
|
}),
|
|
4234
|
-
|
|
4039
|
+
k && /* @__PURE__ */ m("div", {
|
|
4235
4040
|
className: "absolute inset-0 flex flex-col items-center justify-center p-3 bg-white/90 z-10",
|
|
4236
4041
|
children: [
|
|
4237
|
-
/* @__PURE__ */ (
|
|
4042
|
+
/* @__PURE__ */ m("span", {
|
|
4238
4043
|
className: "text-xs font-semibold text-[#0F172A]",
|
|
4239
4044
|
children: [c, "%"]
|
|
4240
4045
|
}),
|
|
4241
|
-
/* @__PURE__ */ (
|
|
4046
|
+
/* @__PURE__ */ p("div", {
|
|
4242
4047
|
className: "w-full bg-gray-200 h-1.5 rounded-full mt-1.5 overflow-hidden",
|
|
4243
|
-
children: /* @__PURE__ */ (
|
|
4048
|
+
children: /* @__PURE__ */ p("div", {
|
|
4244
4049
|
className: "bg-[#0F172A] h-full rounded-full transition-all duration-150",
|
|
4245
4050
|
style: { width: `${c}%` }
|
|
4246
4051
|
})
|
|
4247
4052
|
}),
|
|
4248
|
-
|
|
4053
|
+
g && /* @__PURE__ */ p("button", {
|
|
4249
4054
|
type: "button",
|
|
4250
4055
|
onClick: (e) => {
|
|
4251
|
-
e.stopPropagation(),
|
|
4056
|
+
e.stopPropagation(), g();
|
|
4252
4057
|
},
|
|
4253
4058
|
className: "mt-1 text-[11px] font-medium text-slate-500 hover:text-red-600",
|
|
4254
4059
|
children: "Cancel"
|
|
4255
4060
|
})
|
|
4256
4061
|
]
|
|
4257
4062
|
}),
|
|
4258
|
-
|
|
4259
|
-
src:
|
|
4063
|
+
S && !k && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("img", {
|
|
4064
|
+
src: S,
|
|
4260
4065
|
alt: "Upload preview",
|
|
4261
4066
|
className: "h-full w-full object-cover"
|
|
4262
|
-
}),
|
|
4067
|
+
}), C && !i && /* @__PURE__ */ p("div", {
|
|
4263
4068
|
className: "absolute inset-0 flex items-center justify-center bg-black/40 gap-2 transition-opacity z-10",
|
|
4264
|
-
children: /* @__PURE__ */ (
|
|
4069
|
+
children: /* @__PURE__ */ p("button", {
|
|
4265
4070
|
type: "button",
|
|
4266
|
-
onClick:
|
|
4071
|
+
onClick: N,
|
|
4267
4072
|
className: "p-1.5 bg-white/90 rounded-full text-red-600 hover:bg-white shadow",
|
|
4268
4073
|
title: "Remove",
|
|
4269
|
-
children: /* @__PURE__ */ (
|
|
4074
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4270
4075
|
className: "w-4 h-4",
|
|
4271
4076
|
fill: "none",
|
|
4272
4077
|
stroke: "currentColor",
|
|
4273
4078
|
viewBox: "0 0 24 24",
|
|
4274
|
-
children: /* @__PURE__ */ (
|
|
4079
|
+
children: /* @__PURE__ */ p("path", {
|
|
4275
4080
|
strokeLinecap: "round",
|
|
4276
4081
|
strokeLinejoin: "round",
|
|
4277
4082
|
strokeWidth: 2,
|
|
@@ -4280,98 +4085,98 @@ var Xn = ({ type: e = "file", className: t }) => {
|
|
|
4280
4085
|
})
|
|
4281
4086
|
})
|
|
4282
4087
|
})] }),
|
|
4283
|
-
!
|
|
4088
|
+
!S && !k && /* @__PURE__ */ m("div", {
|
|
4284
4089
|
className: "flex flex-col items-center justify-center text-center p-2 text-slate-400",
|
|
4285
|
-
children: [/* @__PURE__ */ (
|
|
4090
|
+
children: [/* @__PURE__ */ p("svg", {
|
|
4286
4091
|
className: "w-6 h-6 mb-1 text-slate-400",
|
|
4287
4092
|
fill: "none",
|
|
4288
4093
|
stroke: "currentColor",
|
|
4289
4094
|
viewBox: "0 0 24 24",
|
|
4290
|
-
children: /* @__PURE__ */ (
|
|
4095
|
+
children: /* @__PURE__ */ p("path", {
|
|
4291
4096
|
strokeLinecap: "round",
|
|
4292
4097
|
strokeLinejoin: "round",
|
|
4293
4098
|
strokeWidth: 2,
|
|
4294
4099
|
d: "M12 4v16m8-8H4"
|
|
4295
4100
|
})
|
|
4296
|
-
}), /* @__PURE__ */ (
|
|
4101
|
+
}), /* @__PURE__ */ p("span", {
|
|
4297
4102
|
className: "text-xs font-[500] text-slate-600",
|
|
4298
4103
|
children: "Upload"
|
|
4299
4104
|
})]
|
|
4300
4105
|
})
|
|
4301
4106
|
]
|
|
4302
4107
|
}),
|
|
4303
|
-
l && /* @__PURE__ */ (
|
|
4108
|
+
l && /* @__PURE__ */ p("span", {
|
|
4304
4109
|
className: "text-xs text-red-500 font-medium",
|
|
4305
4110
|
children: l
|
|
4306
4111
|
})
|
|
4307
4112
|
]
|
|
4308
4113
|
});
|
|
4309
4114
|
});
|
|
4310
|
-
|
|
4311
|
-
var
|
|
4115
|
+
Yn.displayName = "UploadPicture";
|
|
4116
|
+
var Xn = ({ file: e, onRemove: t, onRetry: n, onCancel: r, className: i, ...a }) => {
|
|
4312
4117
|
if (!e) return null;
|
|
4313
4118
|
let o = e.progress !== void 0 && e.progress >= 0 && e.progress < 100, s = !!e.error;
|
|
4314
|
-
return /* @__PURE__ */ (
|
|
4315
|
-
className:
|
|
4119
|
+
return /* @__PURE__ */ m("div", {
|
|
4120
|
+
className: Y("flex w-full items-center justify-between rounded-xl border border-gray-200 bg-white p-3.5 shadow-sm transition-all", s && "border-red-300 bg-red-50/20", i),
|
|
4316
4121
|
...a,
|
|
4317
|
-
children: [/* @__PURE__ */ (
|
|
4122
|
+
children: [/* @__PURE__ */ m("div", {
|
|
4318
4123
|
className: "flex items-center gap-3.5 flex-1 min-w-0 pr-3",
|
|
4319
|
-
children: [/* @__PURE__ */ (
|
|
4124
|
+
children: [/* @__PURE__ */ p(Jn, { type: e.type || e.name.split(".").pop() || "file" }), /* @__PURE__ */ m("div", {
|
|
4320
4125
|
className: "flex-1 min-w-0",
|
|
4321
4126
|
children: [
|
|
4322
|
-
/* @__PURE__ */ (
|
|
4127
|
+
/* @__PURE__ */ m("div", {
|
|
4323
4128
|
className: "flex items-center justify-between gap-2",
|
|
4324
|
-
children: [/* @__PURE__ */ (
|
|
4129
|
+
children: [/* @__PURE__ */ p("p", {
|
|
4325
4130
|
className: "text-sm font-[600] text-[#0F172A] truncate",
|
|
4326
4131
|
children: e.name
|
|
4327
|
-
}), o && /* @__PURE__ */ (
|
|
4132
|
+
}), o && /* @__PURE__ */ m("span", {
|
|
4328
4133
|
className: "text-xs font-mono font-semibold text-slate-600 flex-shrink-0",
|
|
4329
4134
|
children: [e.progress, "%"]
|
|
4330
4135
|
})]
|
|
4331
4136
|
}),
|
|
4332
|
-
e.size && !s && /* @__PURE__ */ (
|
|
4137
|
+
e.size && !s && /* @__PURE__ */ p("p", {
|
|
4333
4138
|
className: "text-xs text-slate-500 mt-0.5",
|
|
4334
4139
|
children: e.size
|
|
4335
4140
|
}),
|
|
4336
|
-
o && /* @__PURE__ */ (
|
|
4141
|
+
o && /* @__PURE__ */ p("div", {
|
|
4337
4142
|
className: "w-full bg-gray-100 h-1.5 rounded-full mt-2 overflow-hidden",
|
|
4338
|
-
children: /* @__PURE__ */ (
|
|
4143
|
+
children: /* @__PURE__ */ p("div", {
|
|
4339
4144
|
className: "bg-[#0F172A] h-full rounded-full transition-all duration-150",
|
|
4340
4145
|
style: { width: `${e.progress}%` }
|
|
4341
4146
|
})
|
|
4342
4147
|
}),
|
|
4343
|
-
s && /* @__PURE__ */ (
|
|
4148
|
+
s && /* @__PURE__ */ p("p", {
|
|
4344
4149
|
className: "text-xs text-red-500 font-medium mt-1",
|
|
4345
4150
|
children: e.error
|
|
4346
4151
|
})
|
|
4347
4152
|
]
|
|
4348
4153
|
})]
|
|
4349
|
-
}), /* @__PURE__ */ (
|
|
4154
|
+
}), /* @__PURE__ */ m("div", {
|
|
4350
4155
|
className: "flex items-center gap-2 flex-shrink-0",
|
|
4351
4156
|
children: [
|
|
4352
|
-
o && r && /* @__PURE__ */ (
|
|
4157
|
+
o && r && /* @__PURE__ */ p("button", {
|
|
4353
4158
|
type: "button",
|
|
4354
4159
|
onClick: r,
|
|
4355
4160
|
className: "text-xs font-medium text-slate-500 hover:text-red-600",
|
|
4356
4161
|
children: "Cancel"
|
|
4357
4162
|
}),
|
|
4358
|
-
s && n && /* @__PURE__ */ (
|
|
4163
|
+
s && n && /* @__PURE__ */ p("button", {
|
|
4359
4164
|
type: "button",
|
|
4360
4165
|
onClick: n,
|
|
4361
4166
|
className: "text-xs font-semibold text-[#0F172A] hover:underline",
|
|
4362
4167
|
children: "Retry"
|
|
4363
4168
|
}),
|
|
4364
|
-
t && /* @__PURE__ */ (
|
|
4169
|
+
t && /* @__PURE__ */ p("button", {
|
|
4365
4170
|
type: "button",
|
|
4366
4171
|
onClick: t,
|
|
4367
4172
|
className: "text-slate-400 hover:text-slate-700 p-1 rounded-md",
|
|
4368
4173
|
title: "Remove",
|
|
4369
|
-
children: /* @__PURE__ */ (
|
|
4174
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4370
4175
|
className: "w-4 h-4",
|
|
4371
4176
|
fill: "none",
|
|
4372
4177
|
stroke: "currentColor",
|
|
4373
4178
|
viewBox: "0 0 24 24",
|
|
4374
|
-
children: /* @__PURE__ */ (
|
|
4179
|
+
children: /* @__PURE__ */ p("path", {
|
|
4375
4180
|
strokeLinecap: "round",
|
|
4376
4181
|
strokeLinejoin: "round",
|
|
4377
4182
|
strokeWidth: 2,
|
|
@@ -4382,9 +4187,9 @@ var Qn = ({ file: e, onRemove: t, onRetry: n, onCancel: r, className: i, ...a })
|
|
|
4382
4187
|
]
|
|
4383
4188
|
})]
|
|
4384
4189
|
});
|
|
4385
|
-
},
|
|
4190
|
+
}, Zn = ({ onFilesSelected: e, accept: t, multiple: n = !1, disabled: r = !1, className: i, children: a, ...o }) => {
|
|
4386
4191
|
let [s, c] = d(!1), l = u(null);
|
|
4387
|
-
return /* @__PURE__ */ (
|
|
4192
|
+
return /* @__PURE__ */ m("div", {
|
|
4388
4193
|
onDragOver: (e) => {
|
|
4389
4194
|
e.preventDefault(), c(!0);
|
|
4390
4195
|
},
|
|
@@ -4393,10 +4198,10 @@ var Qn = ({ file: e, onRemove: t, onRetry: n, onCancel: r, className: i, ...a })
|
|
|
4393
4198
|
t.preventDefault(), c(!1), !r && t.dataTransfer.files?.length && e?.(t.dataTransfer.files);
|
|
4394
4199
|
},
|
|
4395
4200
|
onClick: () => !r && l.current?.click(),
|
|
4396
|
-
className:
|
|
4201
|
+
className: Y("flex flex-col items-center justify-center p-8 rounded-2xl border-2 border-dashed border-gray-300 bg-white hover:border-[#0F172A] hover:bg-slate-50 transition-all cursor-pointer text-center select-none", s && "border-[#0F172A] bg-slate-50", r && "opacity-50 pointer-events-none cursor-not-allowed", i),
|
|
4397
4202
|
...o,
|
|
4398
4203
|
children: [
|
|
4399
|
-
/* @__PURE__ */ (
|
|
4204
|
+
/* @__PURE__ */ p("input", {
|
|
4400
4205
|
ref: l,
|
|
4401
4206
|
type: "file",
|
|
4402
4207
|
accept: t,
|
|
@@ -4405,14 +4210,14 @@ var Qn = ({ file: e, onRemove: t, onRetry: n, onCancel: r, className: i, ...a })
|
|
|
4405
4210
|
onChange: (t) => t.target.files && e?.(t.target.files),
|
|
4406
4211
|
className: "hidden"
|
|
4407
4212
|
}),
|
|
4408
|
-
/* @__PURE__ */ (
|
|
4213
|
+
/* @__PURE__ */ p("div", {
|
|
4409
4214
|
className: "flex h-12 w-12 items-center justify-center rounded-full bg-slate-100 text-[#0F172A] mb-3",
|
|
4410
|
-
children: /* @__PURE__ */ (
|
|
4215
|
+
children: /* @__PURE__ */ p("svg", {
|
|
4411
4216
|
className: "w-6 h-6",
|
|
4412
4217
|
fill: "none",
|
|
4413
4218
|
stroke: "currentColor",
|
|
4414
4219
|
viewBox: "0 0 24 24",
|
|
4415
|
-
children: /* @__PURE__ */ (
|
|
4220
|
+
children: /* @__PURE__ */ p("path", {
|
|
4416
4221
|
strokeLinecap: "round",
|
|
4417
4222
|
strokeLinejoin: "round",
|
|
4418
4223
|
strokeWidth: 2,
|
|
@@ -4420,20 +4225,20 @@ var Qn = ({ file: e, onRemove: t, onRetry: n, onCancel: r, className: i, ...a })
|
|
|
4420
4225
|
})
|
|
4421
4226
|
})
|
|
4422
4227
|
}),
|
|
4423
|
-
a || /* @__PURE__ */ (
|
|
4228
|
+
a || /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("p", {
|
|
4424
4229
|
className: "text-sm font-[600] text-[#0F172A]",
|
|
4425
|
-
children: ["Click to upload ", /* @__PURE__ */ (
|
|
4230
|
+
children: ["Click to upload ", /* @__PURE__ */ p("span", {
|
|
4426
4231
|
className: "font-normal text-slate-500",
|
|
4427
4232
|
children: "or drag and drop"
|
|
4428
4233
|
})]
|
|
4429
|
-
}), /* @__PURE__ */ (
|
|
4234
|
+
}), /* @__PURE__ */ p("p", {
|
|
4430
4235
|
className: "text-xs text-slate-400 mt-1",
|
|
4431
4236
|
children: "SVG, PNG, JPG, PDF or DOCX (max 10MB)"
|
|
4432
4237
|
})] })
|
|
4433
4238
|
]
|
|
4434
4239
|
});
|
|
4435
|
-
},
|
|
4436
|
-
function
|
|
4240
|
+
}, Qn = (e) => typeof e == "number" && !isNaN(e), $n = (e) => typeof e == "string", er = (e) => typeof e == "function", tr = (e) => $n(e) || Qn(e), nr = (e) => r(e) || $n(e) || er(e) || Qn(e);
|
|
4241
|
+
function rr(e, t, n = 300) {
|
|
4437
4242
|
let { scrollHeight: r, style: i } = e;
|
|
4438
4243
|
requestAnimationFrame(() => {
|
|
4439
4244
|
i.minHeight = "initial", i.height = r + "px", i.transition = `all ${n}ms`, requestAnimationFrame(() => {
|
|
@@ -4441,7 +4246,7 @@ function ar(e, t, n = 300) {
|
|
|
4441
4246
|
});
|
|
4442
4247
|
});
|
|
4443
4248
|
}
|
|
4444
|
-
function
|
|
4249
|
+
function ir({ enter: t, exit: n, appendPosition: r = !1, collapse: i = !0, collapseDuration: a = 300 }) {
|
|
4445
4250
|
return function({ children: s, position: c, preventExitTransition: d, done: f, nodeRef: p, isIn: m, playToast: h }) {
|
|
4446
4251
|
let g = r ? `${t}--${c}` : t, _ = r ? `${n}--${c}` : n, v = u(0);
|
|
4447
4252
|
return l(() => {
|
|
@@ -4451,14 +4256,14 @@ function or({ enter: t, exit: n, appendPosition: r = !1, collapse: i = !0, colla
|
|
|
4451
4256
|
e.classList.add(...t), e.addEventListener("animationend", n), e.addEventListener("animationcancel", n);
|
|
4452
4257
|
}, []), o(() => {
|
|
4453
4258
|
let e = p.current, t = () => {
|
|
4454
|
-
e.removeEventListener("animationend", t), i ?
|
|
4259
|
+
e.removeEventListener("animationend", t), i ? rr(e, f, a) : f();
|
|
4455
4260
|
};
|
|
4456
4261
|
m || (d ? t() : (v.current = 1, e.className += ` ${_}`, e.addEventListener("animationend", t)));
|
|
4457
4262
|
}, [m]), e.createElement(e.Fragment, null, s);
|
|
4458
4263
|
};
|
|
4459
4264
|
}
|
|
4460
|
-
var
|
|
4461
|
-
function
|
|
4265
|
+
var ar = 1, or = () => `${ar++}`, Q = /* @__PURE__ */ new Map(), sr = [], cr = /* @__PURE__ */ new Set(), lr = () => Q.size > 0, ur = (e, { containerId: t }) => Q.get(t || 1)?.toasts.get(e);
|
|
4266
|
+
function dr(e, t) {
|
|
4462
4267
|
var n;
|
|
4463
4268
|
if (t) return !!((n = Q.get(t)) != null && n.isToastActive(e));
|
|
4464
4269
|
let r = !1;
|
|
@@ -4466,12 +4271,12 @@ function pr(e, t) {
|
|
|
4466
4271
|
t.isToastActive(e) && (r = !0);
|
|
4467
4272
|
}), r;
|
|
4468
4273
|
}
|
|
4469
|
-
function
|
|
4470
|
-
if (!
|
|
4471
|
-
|
|
4274
|
+
function fr(e) {
|
|
4275
|
+
if (!lr()) {
|
|
4276
|
+
sr = sr.filter((t) => e != null && t.options.toastId !== e);
|
|
4472
4277
|
return;
|
|
4473
4278
|
}
|
|
4474
|
-
if (e == null ||
|
|
4279
|
+
if (e == null || tr(e)) Q.forEach((t) => {
|
|
4475
4280
|
t.removeToast(e);
|
|
4476
4281
|
});
|
|
4477
4282
|
else if (e && ("containerId" in e || "id" in e)) {
|
|
@@ -4481,49 +4286,49 @@ function mr(e) {
|
|
|
4481
4286
|
});
|
|
4482
4287
|
}
|
|
4483
4288
|
}
|
|
4484
|
-
var
|
|
4289
|
+
var pr = (e = {}) => {
|
|
4485
4290
|
Q.forEach((t) => {
|
|
4486
4291
|
t.props.limit && (!e.containerId || t.id === e.containerId) && t.clearQueue();
|
|
4487
4292
|
});
|
|
4488
4293
|
};
|
|
4489
|
-
function
|
|
4490
|
-
|
|
4294
|
+
function mr(e, t) {
|
|
4295
|
+
nr(e) && (lr() || sr.push({
|
|
4491
4296
|
content: e,
|
|
4492
4297
|
options: t
|
|
4493
4298
|
}), Q.forEach((n) => {
|
|
4494
4299
|
n.buildToast(e, t);
|
|
4495
4300
|
}));
|
|
4496
4301
|
}
|
|
4497
|
-
function
|
|
4302
|
+
function hr(e, t) {
|
|
4498
4303
|
Q.forEach((n) => {
|
|
4499
4304
|
(t == null || !(t != null && t.containerId) || t?.containerId === n.id) && n.toggle(e, t?.id);
|
|
4500
4305
|
});
|
|
4501
4306
|
}
|
|
4502
|
-
function
|
|
4503
|
-
return
|
|
4504
|
-
|
|
4307
|
+
function gr(e) {
|
|
4308
|
+
return cr.add(e), () => {
|
|
4309
|
+
cr.delete(e);
|
|
4505
4310
|
};
|
|
4506
4311
|
}
|
|
4507
|
-
function
|
|
4508
|
-
return e && (
|
|
4312
|
+
function _r(e) {
|
|
4313
|
+
return e && ($n(e.toastId) || Qn(e.toastId)) ? e.toastId : or();
|
|
4509
4314
|
}
|
|
4510
|
-
function
|
|
4511
|
-
return
|
|
4315
|
+
function vr(e, t) {
|
|
4316
|
+
return mr(e, t), t.toastId;
|
|
4512
4317
|
}
|
|
4513
|
-
function
|
|
4318
|
+
function yr(e, t) {
|
|
4514
4319
|
return {
|
|
4515
4320
|
...t,
|
|
4516
4321
|
type: t && t.type || e,
|
|
4517
|
-
toastId:
|
|
4322
|
+
toastId: _r(t)
|
|
4518
4323
|
};
|
|
4519
4324
|
}
|
|
4520
|
-
function
|
|
4521
|
-
return (t, n) =>
|
|
4325
|
+
function br(e) {
|
|
4326
|
+
return (t, n) => vr(t, yr(e, n));
|
|
4522
4327
|
}
|
|
4523
4328
|
function $(e, t) {
|
|
4524
|
-
return
|
|
4329
|
+
return vr(e, yr("default", t));
|
|
4525
4330
|
}
|
|
4526
|
-
$.loading = (e, t) =>
|
|
4331
|
+
$.loading = (e, t) => vr(e, yr("default", {
|
|
4527
4332
|
isLoading: !0,
|
|
4528
4333
|
autoClose: !1,
|
|
4529
4334
|
closeOnClick: !1,
|
|
@@ -4531,9 +4336,9 @@ $.loading = (e, t) => br(e, xr("default", {
|
|
|
4531
4336
|
draggable: !1,
|
|
4532
4337
|
...t
|
|
4533
4338
|
}));
|
|
4534
|
-
function
|
|
4339
|
+
function xr(e, { pending: t, error: n, success: r }, i) {
|
|
4535
4340
|
let a;
|
|
4536
|
-
t && (a =
|
|
4341
|
+
t && (a = $n(t) ? $.loading(t, i) : $.loading(t.render, {
|
|
4537
4342
|
...i,
|
|
4538
4343
|
...t
|
|
4539
4344
|
}));
|
|
@@ -4553,7 +4358,7 @@ function Cr(e, { pending: t, error: n, success: r }, i) {
|
|
|
4553
4358
|
...o,
|
|
4554
4359
|
...i,
|
|
4555
4360
|
data: n
|
|
4556
|
-
}, s =
|
|
4361
|
+
}, s = $n(t) ? { render: t } : t;
|
|
4557
4362
|
return a ? $.update(a, {
|
|
4558
4363
|
...r,
|
|
4559
4364
|
...s
|
|
@@ -4561,42 +4366,42 @@ function Cr(e, { pending: t, error: n, success: r }, i) {
|
|
|
4561
4366
|
...r,
|
|
4562
4367
|
...s
|
|
4563
4368
|
}), n;
|
|
4564
|
-
}, c =
|
|
4369
|
+
}, c = er(e) ? e() : e;
|
|
4565
4370
|
return c.then((e) => s("success", r, e)).catch((e) => s("error", n, e)), c;
|
|
4566
4371
|
}
|
|
4567
|
-
$.promise =
|
|
4372
|
+
$.promise = xr, $.success = br("success"), $.info = br("info"), $.error = br("error"), $.warning = br("warning"), $.warn = $.warning, $.dark = (e, t) => vr(e, yr("default", {
|
|
4568
4373
|
theme: "dark",
|
|
4569
4374
|
...t
|
|
4570
4375
|
}));
|
|
4571
|
-
function
|
|
4572
|
-
|
|
4376
|
+
function Sr(e) {
|
|
4377
|
+
fr(e);
|
|
4573
4378
|
}
|
|
4574
|
-
$.dismiss =
|
|
4575
|
-
let n =
|
|
4379
|
+
$.dismiss = Sr, $.clearWaitingQueue = pr, $.isActive = dr, $.update = (e, t = {}) => {
|
|
4380
|
+
let n = ur(e, t);
|
|
4576
4381
|
if (n) {
|
|
4577
4382
|
let { props: r, content: i } = n, a = {
|
|
4578
4383
|
delay: 100,
|
|
4579
4384
|
...r,
|
|
4580
4385
|
...t,
|
|
4581
4386
|
toastId: t.toastId || e,
|
|
4582
|
-
updateId:
|
|
4387
|
+
updateId: or()
|
|
4583
4388
|
};
|
|
4584
4389
|
a.toastId !== e && (a.staleId = e);
|
|
4585
4390
|
let o = a.render || i;
|
|
4586
|
-
delete a.render,
|
|
4391
|
+
delete a.render, vr(o, a);
|
|
4587
4392
|
}
|
|
4588
4393
|
}, $.done = (e) => {
|
|
4589
4394
|
$.update(e, { progress: 1 });
|
|
4590
|
-
}, $.onChange =
|
|
4591
|
-
var
|
|
4395
|
+
}, $.onChange = gr, $.play = (e) => hr(!0, e), $.pause = (e) => hr(!1, e);
|
|
4396
|
+
var Cr = (e, t = !1) => ({
|
|
4592
4397
|
enter: `Toastify--animate Toastify__${e}-enter`,
|
|
4593
4398
|
exit: `Toastify--animate Toastify__${e}-exit`,
|
|
4594
4399
|
appendPosition: t
|
|
4595
4400
|
});
|
|
4596
|
-
|
|
4401
|
+
ir(Cr("bounce", !0)), ir(Cr("slide", !0)), ir(Cr("zoom")), ir(Cr("flip"));
|
|
4597
4402
|
//#endregion
|
|
4598
4403
|
//#region src/ToastServices.tsx
|
|
4599
|
-
var
|
|
4404
|
+
var wr = { showToast: ({ message: e, type: t = "info", autoClose: n = 1e3 }) => {
|
|
4600
4405
|
switch (t) {
|
|
4601
4406
|
case "success":
|
|
4602
4407
|
$.success(e, { autoClose: n });
|
|
@@ -4611,4 +4416,4 @@ var Er = { showToast: ({ message: e, type: t = "info", autoClose: n = 1e3 }) =>
|
|
|
4611
4416
|
}
|
|
4612
4417
|
} };
|
|
4613
4418
|
//#endregion
|
|
4614
|
-
export {
|
|
4419
|
+
export { dt as Alignment, tt as Badge, rt as Box, Z as ButtonDirection, at as ButtonIconPosition, it as ButtonSize, X as ButtonVariant, Nt as Calendar, ot as ColorVariant, st as ComponentSize, ht as DefaultButton, Ft as Divider, Qt as DynamicPagination, Jn as FileIcon, _t as GroupIconButton, Lt as ImagePopOver, zt as Input, Vt as InputOTP, Ht as InputOTPGroup, Wt as InputOTPSeparator, Ut as InputOTPSlot, bt as Left, pn as MultiSelect, lt as Orientation, Gt as Pagination, Kt as PaginationContent, Zt as PaginationEllipsis, qt as PaginationItem, Jt as PaginationLink, Xt as PaginationNext, Yt as PaginationPrevious, ut as Position, en as ProfileCard, xt as Right, rn as Select, cn as SelectContent, ln as SelectGroup, dn as SelectItem, un as SelectLabel, sn as SelectSearch, fn as SelectSeparator, an as SelectTrigger, on as SelectValue, ct as ShapeVariant, yt as SingleIconButton, mn as Slider, pt as StatusType, _n as Switch, On as Table, xn as TableBody, En as TableCaption, Tn as TableCell, Sn as TableFooter, wn as TableHead, bn as TableHeader, Cn as TableRow, jn as Tabs, In as TabsContent, Nn as TabsList, Fn as TabsTrigger, Rn as Textarea, Bn as Toast, wr as ToastServices, Gn as Tooltip, qn as TooltipContent, Wn as TooltipProvider, Kn as TooltipTrigger, ft as TypographyVariant, Zn as UploadDropzone, Xn as UploadFile, Yn as UploadPicture, nt as boxVariants, Y as cn, $e as color, An as useTabsContext };
|