lawgic-dev-kit 0.7.0 → 0.7.1
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/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/components/atoms/Divider/Divider.js +3 -3
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index2.js
CHANGED
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
const
|
|
1
|
+
import { j as e } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
const t = ({ className: r = "", direction: l = "horizontal" }) => l === "horizontal" ? /* @__PURE__ */ e.jsx("hr", { className: `w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${r}` }) : /* @__PURE__ */ e.jsx("hr", { className: `h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${r}` });
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
t as default
|
|
5
5
|
};
|
package/dist/lawgic-dev-kit.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-500:oklch(.795 .184 86.047);--color-green-50:oklch(.982 .018 155.826);--color-green-500:oklch(.723 .219 149.579);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-md:48rem;--container-4xl:56rem;--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: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--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;--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)}}@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%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color: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}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}input::placeholder,textarea::placeholder{color:var(--color-gray-400)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-8{top:calc(var(--spacing)*8)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-8{right:calc(var(--spacing)*8)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-8{bottom:calc(var(--spacing)*8)}.bottom-\[28px\]{bottom:28px}.left-1\/2{left:50%}.left-8{left:calc(var(--spacing)*8)}.left-\[13px\]{left:13px}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-9999{z-index:9999}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.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}}.container{margin-inline:auto;padding-inline:2rem}.mx-16{margin-inline:calc(var(--spacing)*16)}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-10{margin-top:calc(var(--spacing)*10)}.mt-\[0\.5rem\]{margin-top:.5rem}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-8{margin-left:calc(var(--spacing)*8)}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.table{display:table}.size-12{width:calc(var(--spacing)*12);height:calc(var(--spacing)*12)}.size-16{width:calc(var(--spacing)*16);height:calc(var(--spacing)*16)}.size-20{width:calc(var(--spacing)*20);height:calc(var(--spacing)*20)}.size-24{width:calc(var(--spacing)*24);height:calc(var(--spacing)*24)}.size-\[40px\]{width:40px;height:40px}.\!h-auto{height:auto!important}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-8{height:calc(var(--spacing)*8)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-36{height:calc(var(--spacing)*36)}.h-40{height:calc(var(--spacing)*40)}.h-76{height:calc(var(--spacing)*76)}.h-\[40px\]{height:40px}.h-\[87px\]{height:87px}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.max-h-1{max-height:calc(var(--spacing)*1)}.max-h-12{max-height:calc(var(--spacing)*12)}.max-h-16{max-height:calc(var(--spacing)*16)}.max-h-\[12px\]{max-height:12px}.max-h-\[15px\]{max-height:15px}.max-h-\[20px\]{max-height:20px}.max-h-\[28px\]{max-height:28px}.max-h-\[40px\]{max-height:40px}.max-h-\[46px\]{max-height:46px}.max-h-\[150px\]{max-height:150px}.min-h-1{min-height:calc(var(--spacing)*1)}.min-h-12{min-height:calc(var(--spacing)*12)}.min-h-14{min-height:calc(var(--spacing)*14)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-20{min-height:calc(var(--spacing)*20)}.min-h-24{min-height:calc(var(--spacing)*24)}.min-h-28{min-height:calc(var(--spacing)*28)}.min-h-36{min-height:calc(var(--spacing)*36)}.min-h-\[12px\]{min-height:12px}.min-h-\[15px\]{min-height:15px}.min-h-\[20px\]{min-height:20px}.min-h-\[28px\]{min-height:28px}.min-h-\[40px\]{min-height:40px}.min-h-\[46px\]{min-height:46px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:calc(var(--spacing)*0)}.w-4{width:calc(var(--spacing)*4)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-72{width:calc(var(--spacing)*72)}.w-76{width:calc(var(--spacing)*76)}.w-80{width:calc(var(--spacing)*80)}.w-\[0px\]{width:0}.w-\[1\.5px\]{width:1.5px}.w-\[40px\]{width:40px}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[320px\]{width:320px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-1{max-width:calc(var(--spacing)*1)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-12{max-width:calc(var(--spacing)*12)}.max-w-120{max-width:calc(var(--spacing)*120)}.max-w-160{max-width:calc(var(--spacing)*160)}.max-w-\[12px\]{max-width:12px}.max-w-\[16px\]{max-width:16px}.max-w-\[28px\]{max-width:28px}.max-w-\[40px\]{max-width:40px}.max-w-\[46px\]{max-width:46px}.max-w-\[300px\]{max-width:300px}.max-w-screen-md{max-width:var(--breakpoint-md)}.min-w-1{min-width:calc(var(--spacing)*1)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-14{min-width:calc(var(--spacing)*14)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-24{min-width:calc(var(--spacing)*24)}.min-w-28{min-width:calc(var(--spacing)*28)}.min-w-36{min-width:calc(var(--spacing)*36)}.min-w-\[12px\]{min-width:12px}.min-w-\[16px\]{min-width:16px}.min-w-\[18rem\]{min-width:18rem}.min-w-\[28px\]{min-width:28px}.min-w-\[40px\]{min-width:40px}.min-w-\[46px\]{min-width:46px}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.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-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.\!flex-row{flex-direction:row!important}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}.gap-16{gap:calc(var(--spacing)*16)}.gap-20{gap:calc(var(--spacing)*20)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[1\.4px\]{border-style:var(--tw-border-style);border-width:1.4px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-\[1\.3px\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none\!{--tw-border-style:none!important;border-style:none!important}.\!border-blue-500{border-color:var(--color-blue-500)!important}.\!border-red-500{border-color:var(--color-red-500)!important}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\!{border-color:var(--color-blue-500)!important}.border-blue-800{border-color:var(--color-blue-800)}.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-gray-400{border-color:var(--color-gray-400)}.border-gray-500{border-color:var(--color-gray-500)}.border-green-500{border-color:var(--color-green-500)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.border-t-blue-500{border-top-color:var(--color-blue-500)}.border-r-blue-300{border-right-color:var(--color-blue-300)}.border-b-blue-200{border-bottom-color:var(--color-blue-200)}.border-b-blue-500{border-bottom-color:var(--color-blue-500)}.border-b-gray-700{border-bottom-color:var(--color-gray-700)}.border-l-blue-400{border-left-color:var(--color-blue-400)}.\!bg-gray-100{background-color:var(--color-gray-100)!important}.\!bg-transparent{background-color:#0000!important}.bg-\[\#ECF1FD\]{background-color:#ecf1fd}.bg-\[rgb\(243\,244\,246\)\]{background-color:#f3f4f6}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-100\/50{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[rgb\(243\,244\,246\)\]{--tw-gradient-to:#f3f4f6;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.\!p-0,.p-0\!{padding:calc(var(--spacing)*0)!important}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-16{padding:calc(var(--spacing)*16)}.p-20{padding:calc(var(--spacing)*20)}.p-24{padding:calc(var(--spacing)*24)}.p-32{padding:calc(var(--spacing)*32)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-10{padding-inline:calc(var(--spacing)*10)}.px-12{padding-inline:calc(var(--spacing)*12)}.px-14{padding-inline:calc(var(--spacing)*14)}.px-16{padding-inline:calc(var(--spacing)*16)}.px-20{padding-inline:calc(var(--spacing)*20)}.px-24{padding-inline:calc(var(--spacing)*24)}.px-32{padding-inline:calc(var(--spacing)*32)}.px-36{padding-inline:calc(var(--spacing)*36)}.px-\[12\.3px\]{padding-inline:12.3px}.\!py-10{padding-block:calc(var(--spacing)*10)!important}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-7{padding-block:calc(var(--spacing)*7)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-16{padding-block:calc(var(--spacing)*16)}.py-24{padding-block:calc(var(--spacing)*24)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-16{padding-top:calc(var(--spacing)*16)}.pt-28{padding-top:calc(var(--spacing)*28)}.pr-\[10px\]{padding-right:10px}.pb-16{padding-bottom:calc(var(--spacing)*16)}.text-center{text-align:center}.indent-\[10000px\]{text-indent:10000px}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans)}.\!text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.font-\[500\]{--tw-font-weight:500;font-weight:500}.font-\[600\]{--tw-font-weight:600;font-weight:600}.font-\[700\]{--tw-font-weight:700;font-weight:700}.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)}.text-nowrap{text-wrap:nowrap}.\!text-gray-300{color:var(--color-gray-300)!important}.\!text-red-500{color:var(--color-red-500)!important}.text-\[\#4570EB\]{color:#4570eb}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-500\!{color:var(--color-blue-500)!important}.text-blue-600{color:var(--color-blue-600)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.\!caret-transparent{caret-color:#0000!important}.opacity-0{opacity:0}.opacity-50{opacity:.5}.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-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-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.\!select-none{-webkit-user-select:none!important;user-select:none!important}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:border-blue-500:is(:where(.group):focus-within *){border-color:var(--color-blue-500)}.group-focus-within\:text-blue-500:is(:where(.group):focus-within *){color:var(--color-blue-500)}@media (hover:hover){.group-hover\:border-blue-300:is(:where(.group):hover *){border-color:var(--color-blue-300)}.group-hover\:\!bg-blue-100:is(:where(.group):hover *){background-color:var(--color-blue-100)!important}.group-hover\:\!text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)!important}.group-hover\:text-blue-300:is(:where(.group):hover *){color:var(--color-blue-300)}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)}}.group-disabled\:bg-gray-500:is(:where(.group):disabled *){background-color:var(--color-gray-500)}.placeholder\:text-gray-400::placeholder{color:var(--color-gray-400)}@media (hover:hover){.hover\:\!cursor-pointer:hover{cursor:pointer!important}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\:border-blue-500:hover{border-color:var(--color-blue-500)}.hover\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-red-600:hover{border-color:var(--color-red-600)}.hover\:bg-\[\#ECF1FD\]:hover{background-color:#ecf1fd}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-100\/40:hover{background-color:color-mix(in oklab,var(--color-blue-100)40%,transparent)}.hover\:bg-blue-100\/50:hover{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.hover\:bg-blue-100\/80:hover{background-color:color-mix(in oklab,var(--color-blue-100)80%,transparent)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-600:hover{background-color:var(--color-gray-600)}.hover\:bg-red-500\/30:hover{background-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:text-blue-500:hover{color:var(--color-blue-500)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-gray-500:hover{color:var(--color-gray-500)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-white:hover{color:var(--color-white)}.hover\:opacity-80:hover{opacity:.8}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:border-blue-700:active{border-color:var(--color-blue-700)}.active\:border-gray-700:active{border-color:var(--color-gray-700)}.active\:border-red-700:active{border-color:var(--color-red-700)}.active\:bg-blue-100\/20:active{background-color:color-mix(in oklab,var(--color-blue-100)20%,transparent)}.active\:bg-blue-100\/50:active{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.active\:bg-blue-300\/80:active{background-color:color-mix(in oklab,var(--color-blue-300)80%,transparent)}.active\:bg-blue-700:active{background-color:var(--color-blue-700)}.active\:bg-gray-300:active{background-color:var(--color-gray-300)}.active\:bg-gray-700:active{background-color:var(--color-gray-700)}.active\:bg-red-700:active{background-color:var(--color-red-700)}.active\:bg-red-700\/40:active{background-color:color-mix(in oklab,var(--color-red-700)40%,transparent)}.active\:text-blue-500:active{color:var(--color-blue-500)}.active\:text-blue-700:active{color:var(--color-blue-700)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-red-700:active{color:var(--color-red-700)}.active\:text-white:active{color:var(--color-white)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:text-gray-300:disabled,.disabled\:placeholder\:text-gray-300:disabled::placeholder{color:var(--color-gray-300)}@media (width>=48rem){.md\:gap-24{gap:calc(var(--spacing)*24)}.md\:p-32{padding:calc(var(--spacing)*32)}.md\:px-0{padding-inline:calc(var(--spacing)*0)}.md\:pt-0{padding-top:calc(var(--spacing)*0)}.md\:pt-4{padding-top:calc(var(--spacing)*4)}.md\:pb-0{padding-bottom:calc(var(--spacing)*0)}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}}@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-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
1
|
+
/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-500:oklch(.795 .184 86.047);--color-green-50:oklch(.982 .018 155.826);--color-green-500:oklch(.723 .219 149.579);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-md:48rem;--container-4xl:56rem;--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: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--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;--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)}}@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%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color: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}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}input::placeholder,textarea::placeholder{color:var(--color-gray-400)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-8{top:calc(var(--spacing)*8)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-8{right:calc(var(--spacing)*8)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-8{bottom:calc(var(--spacing)*8)}.bottom-\[28px\]{bottom:28px}.left-1\/2{left:50%}.left-8{left:calc(var(--spacing)*8)}.left-\[13px\]{left:13px}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-9999{z-index:9999}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.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}}.container{margin-inline:auto;padding-inline:2rem}.mx-16{margin-inline:calc(var(--spacing)*16)}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-10{margin-top:calc(var(--spacing)*10)}.mt-\[0\.5rem\]{margin-top:.5rem}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-8{margin-left:calc(var(--spacing)*8)}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.table{display:table}.size-12{width:calc(var(--spacing)*12);height:calc(var(--spacing)*12)}.size-16{width:calc(var(--spacing)*16);height:calc(var(--spacing)*16)}.size-20{width:calc(var(--spacing)*20);height:calc(var(--spacing)*20)}.size-24{width:calc(var(--spacing)*24);height:calc(var(--spacing)*24)}.size-\[40px\]{width:40px;height:40px}.\!h-auto{height:auto!important}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-8{height:calc(var(--spacing)*8)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-36{height:calc(var(--spacing)*36)}.h-40{height:calc(var(--spacing)*40)}.h-76{height:calc(var(--spacing)*76)}.h-\[40px\]{height:40px}.h-\[87px\]{height:87px}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.max-h-1{max-height:calc(var(--spacing)*1)}.max-h-12{max-height:calc(var(--spacing)*12)}.max-h-16{max-height:calc(var(--spacing)*16)}.max-h-\[12px\]{max-height:12px}.max-h-\[15px\]{max-height:15px}.max-h-\[20px\]{max-height:20px}.max-h-\[28px\]{max-height:28px}.max-h-\[40px\]{max-height:40px}.max-h-\[46px\]{max-height:46px}.max-h-\[150px\]{max-height:150px}.min-h-1{min-height:calc(var(--spacing)*1)}.min-h-12{min-height:calc(var(--spacing)*12)}.min-h-14{min-height:calc(var(--spacing)*14)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-20{min-height:calc(var(--spacing)*20)}.min-h-24{min-height:calc(var(--spacing)*24)}.min-h-28{min-height:calc(var(--spacing)*28)}.min-h-36{min-height:calc(var(--spacing)*36)}.min-h-\[12px\]{min-height:12px}.min-h-\[15px\]{min-height:15px}.min-h-\[20px\]{min-height:20px}.min-h-\[28px\]{min-height:28px}.min-h-\[40px\]{min-height:40px}.min-h-\[46px\]{min-height:46px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:calc(var(--spacing)*0)}.w-4{width:calc(var(--spacing)*4)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-72{width:calc(var(--spacing)*72)}.w-76{width:calc(var(--spacing)*76)}.w-80{width:calc(var(--spacing)*80)}.w-\[0px\]{width:0}.w-\[1\.5px\]{width:1.5px}.w-\[40px\]{width:40px}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[320px\]{width:320px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-1{max-width:calc(var(--spacing)*1)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-12{max-width:calc(var(--spacing)*12)}.max-w-120{max-width:calc(var(--spacing)*120)}.max-w-160{max-width:calc(var(--spacing)*160)}.max-w-\[12px\]{max-width:12px}.max-w-\[16px\]{max-width:16px}.max-w-\[28px\]{max-width:28px}.max-w-\[40px\]{max-width:40px}.max-w-\[46px\]{max-width:46px}.max-w-\[300px\]{max-width:300px}.max-w-screen-md{max-width:var(--breakpoint-md)}.min-w-1{min-width:calc(var(--spacing)*1)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-14{min-width:calc(var(--spacing)*14)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-24{min-width:calc(var(--spacing)*24)}.min-w-28{min-width:calc(var(--spacing)*28)}.min-w-36{min-width:calc(var(--spacing)*36)}.min-w-\[12px\]{min-width:12px}.min-w-\[16px\]{min-width:16px}.min-w-\[18rem\]{min-width:18rem}.min-w-\[28px\]{min-width:28px}.min-w-\[40px\]{min-width:40px}.min-w-\[46px\]{min-width:46px}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.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-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.\!flex-row{flex-direction:row!important}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}.gap-16{gap:calc(var(--spacing)*16)}.gap-20{gap:calc(var(--spacing)*20)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[1\.4px\]{border-style:var(--tw-border-style);border-width:1.4px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-\[1\.3px\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none\!{--tw-border-style:none!important;border-style:none!important}.\!border-blue-500{border-color:var(--color-blue-500)!important}.\!border-red-500{border-color:var(--color-red-500)!important}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\!{border-color:var(--color-blue-500)!important}.border-blue-800{border-color:var(--color-blue-800)}.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-gray-400{border-color:var(--color-gray-400)}.border-gray-500{border-color:var(--color-gray-500)}.border-green-500{border-color:var(--color-green-500)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.border-t-blue-500{border-top-color:var(--color-blue-500)}.border-r-blue-300{border-right-color:var(--color-blue-300)}.border-b-blue-200{border-bottom-color:var(--color-blue-200)}.border-b-blue-500{border-bottom-color:var(--color-blue-500)}.border-b-gray-700{border-bottom-color:var(--color-gray-700)}.border-l-blue-400{border-left-color:var(--color-blue-400)}.\!bg-gray-100{background-color:var(--color-gray-100)!important}.\!bg-transparent{background-color:#0000!important}.bg-\[\#ECF1FD\]{background-color:#ecf1fd}.bg-\[rgb\(243\,244\,246\)\]{background-color:#f3f4f6}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-100\/50{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[rgb\(243\,244\,246\)\]{--tw-gradient-to:#f3f4f6;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.\!p-0,.p-0\!{padding:calc(var(--spacing)*0)!important}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-16{padding:calc(var(--spacing)*16)}.p-20{padding:calc(var(--spacing)*20)}.p-24{padding:calc(var(--spacing)*24)}.p-32{padding:calc(var(--spacing)*32)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-10{padding-inline:calc(var(--spacing)*10)}.px-12{padding-inline:calc(var(--spacing)*12)}.px-14{padding-inline:calc(var(--spacing)*14)}.px-16{padding-inline:calc(var(--spacing)*16)}.px-20{padding-inline:calc(var(--spacing)*20)}.px-24{padding-inline:calc(var(--spacing)*24)}.px-32{padding-inline:calc(var(--spacing)*32)}.px-36{padding-inline:calc(var(--spacing)*36)}.px-\[12\.3px\]{padding-inline:12.3px}.\!py-10{padding-block:calc(var(--spacing)*10)!important}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-7{padding-block:calc(var(--spacing)*7)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-16{padding-block:calc(var(--spacing)*16)}.py-24{padding-block:calc(var(--spacing)*24)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-16{padding-top:calc(var(--spacing)*16)}.pt-28{padding-top:calc(var(--spacing)*28)}.pr-\[10px\]{padding-right:10px}.pb-16{padding-bottom:calc(var(--spacing)*16)}.text-center{text-align:center}.indent-\[10000px\]{text-indent:10000px}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans)}.\!text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.font-\[500\]{--tw-font-weight:500;font-weight:500}.font-\[600\]{--tw-font-weight:600;font-weight:600}.font-\[700\]{--tw-font-weight:700;font-weight:700}.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)}.text-nowrap{text-wrap:nowrap}.\!text-gray-300{color:var(--color-gray-300)!important}.\!text-red-500{color:var(--color-red-500)!important}.text-\[\#4570EB\]{color:#4570eb}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-500\!{color:var(--color-blue-500)!important}.text-blue-600{color:var(--color-blue-600)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.\!caret-transparent{caret-color:#0000!important}.opacity-0{opacity:0}.opacity-50{opacity:.5}.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-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-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.\!select-none{-webkit-user-select:none!important;user-select:none!important}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:border-blue-500:is(:where(.group):focus-within *){border-color:var(--color-blue-500)}.group-focus-within\:text-blue-500:is(:where(.group):focus-within *){color:var(--color-blue-500)}@media (hover:hover){.group-hover\:border-blue-300:is(:where(.group):hover *){border-color:var(--color-blue-300)}.group-hover\:\!bg-blue-100:is(:where(.group):hover *){background-color:var(--color-blue-100)!important}.group-hover\:\!text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)!important}.group-hover\:text-blue-300:is(:where(.group):hover *){color:var(--color-blue-300)}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)}}.group-disabled\:bg-gray-500:is(:where(.group):disabled *){background-color:var(--color-gray-500)}.placeholder\:text-gray-400::placeholder{color:var(--color-gray-400)}@media (hover:hover){.hover\:\!cursor-pointer:hover{cursor:pointer!important}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\:border-blue-500:hover{border-color:var(--color-blue-500)}.hover\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-red-600:hover{border-color:var(--color-red-600)}.hover\:bg-\[\#ECF1FD\]:hover{background-color:#ecf1fd}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-100\/40:hover{background-color:color-mix(in oklab,var(--color-blue-100)40%,transparent)}.hover\:bg-blue-100\/50:hover{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.hover\:bg-blue-100\/80:hover{background-color:color-mix(in oklab,var(--color-blue-100)80%,transparent)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-600:hover{background-color:var(--color-gray-600)}.hover\:bg-red-500\/30:hover{background-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:text-blue-500:hover{color:var(--color-blue-500)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-gray-500:hover{color:var(--color-gray-500)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-white:hover{color:var(--color-white)}.hover\:opacity-80:hover{opacity:.8}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:border-blue-700:active{border-color:var(--color-blue-700)}.active\:border-gray-700:active{border-color:var(--color-gray-700)}.active\:border-red-700:active{border-color:var(--color-red-700)}.active\:bg-blue-100\/20:active{background-color:color-mix(in oklab,var(--color-blue-100)20%,transparent)}.active\:bg-blue-100\/50:active{background-color:color-mix(in oklab,var(--color-blue-100)50%,transparent)}.active\:bg-blue-300\/80:active{background-color:color-mix(in oklab,var(--color-blue-300)80%,transparent)}.active\:bg-blue-700:active{background-color:var(--color-blue-700)}.active\:bg-gray-300:active{background-color:var(--color-gray-300)}.active\:bg-gray-700:active{background-color:var(--color-gray-700)}.active\:bg-red-700:active{background-color:var(--color-red-700)}.active\:bg-red-700\/40:active{background-color:color-mix(in oklab,var(--color-red-700)40%,transparent)}.active\:text-blue-500:active{color:var(--color-blue-500)}.active\:text-blue-700:active{color:var(--color-blue-700)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-red-700:active{color:var(--color-red-700)}.active\:text-white:active{color:var(--color-white)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:text-gray-300:disabled,.disabled\:placeholder\:text-gray-300:disabled::placeholder{color:var(--color-gray-300)}@media (width>=48rem){.md\:gap-24{gap:calc(var(--spacing)*24)}.md\:p-32{padding:calc(var(--spacing)*32)}.md\:px-0{padding-inline:calc(var(--spacing)*0)}.md\:pt-0{padding-top:calc(var(--spacing)*0)}.md\:pt-4{padding-top:calc(var(--spacing)*4)}.md\:pb-0{padding-bottom:calc(var(--spacing)*0)}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}}@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-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
@@ -690,7 +690,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
690
690
|
${x}
|
|
691
691
|
`,onError:G,...A}),P.jsx("div",{className:`
|
|
692
692
|
flex items-center justify-center leading-none text-center absolute
|
|
693
|
-
`,style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},children:F()})]})};function m_(t){var n,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(i=m_(t[n]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function cd(){for(var t,n,i=0,o="",u=arguments.length;i<u;i++)(t=arguments[i])&&(n=m_(t))&&(o&&(o+=" "),o+=n);return o}const p_={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},g_={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},y_={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},v_={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},QG="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",KG={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},IG=(t="filled",n="blue",i="base")=>{const o=cd(QG,KG[i]),u={blue:p_[t],aqua:g_[t],red:y_[t],gray:v_[t]}[n];return cd(o,u)},fb=({color:t,variant:n="filled",size:i="base",children:o,className:u,...h})=>{const{defaultColorScheme:g}=Pi(),v=t||g;return P.jsx("button",{type:"button",className:IG(n,v,i)+" "+u,...h,children:o})},b_=({className:t="",direction:n="horizontal"})=>n==="horizontal"?P.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-200 ${t}`}):P.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-200 ${t}`}),x_=({open:t,onClose:n,title:i,children:o})=>{const u={hidden:{opacity:0},visible:{opacity:1}},h={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return P.jsx(em,{children:t&&P.jsx(P.Fragment,{children:P.jsx(ua.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:u,onClick:n,children:P.jsx(ua.div,{className:"w-full max-w-screen-md mx-16 z-50",variants:h,initial:"hidden",animate:"visible",exit:"exit",onClick:g=>g.stopPropagation(),children:P.jsxs(Zy,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:[P.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[P.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[i&&P.jsx("h2",{className:"text-black font-700 text-2xl",children:i}),P.jsx(Bn,{icon:nT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:n})]}),i&&P.jsx(b_,{className:"!bg-gray-100"})]}),P.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof o=="function"?o(n):o})]})})})})})},WG=({countries:t,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g=""})=>{const{t:v}=Pi();return P.jsx(s_,{name:n,control:i,render:({field:{onChange:x,value:A},fieldState:{error:w}})=>P.jsx(JG,{countries:t,value:A,onChange:x,label:v(o),placeholder:v(u),language:h,error:w==null?void 0:w.message,className:g})})},JG=({countries:t,value:n,onChange:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",error:g,className:v=""})=>{var He,Ye;const{t:x}=Pi(),[A,w]=J.useState(!1),[C,M]=J.useState(""),[R,U]=J.useState(n||null),V=J.useRef(null),k=J.useRef(null),{x:L,y:F,strategy:G,refs:te,context:Y,placement:se,middlewareData:he}=Qw({open:A,onOpenChange:w,middleware:[Pw(8),qw(),Yw({padding:8}),HR({apply({availableHeight:Ve,elements:je}){Object.assign(je.floating.style,{maxHeight:`${Math.min(Ve-10,300)}px`})},padding:8}),kR({element:k})],placement:"bottom-start",whileElementsMounted:Hw}),ve=Xw(Y),me=Zw(Y),{getReferenceProps:$e,getFloatingProps:Ue}=Iw([ve,me]),{isMounted:ke,styles:ht}=Ww(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),Xe=(Array.isArray(t)?t:[]).filter(Ve=>{if(!C.trim())return!0;const je=h==="es"&&Ve.labelES?Ve.labelES.toLowerCase():Ve.label.toLowerCase(),at=Ve.code?Ve.code.toLowerCase():"";return je.includes(C.toLowerCase())||at.includes(C.toLowerCase())}),Z=Ve=>{U(Ve),w(!1),M(""),i(Ve)},ie=()=>{w(!A),!A&&V.current&&setTimeout(()=>{var Ve;(Ve=V.current)==null||Ve.focus()},100)};J.useEffect(()=>{U(n)},[n]);const ue=Ve=>{var je;return Ve?Ve.codeISO2?Ve.codeISO2.toLowerCase():((je=Ve.code)==null?void 0:je.toLowerCase())||"":""},ze=(He=he.arrow)==null?void 0:He.x,X=(Ye=he.arrow)==null?void 0:Ye.y,pe={top:"bottom",right:"left",bottom:"top",left:"right"}[se.split("-")[0]],Oe=$e({onClick:ie});return P.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${v}`,children:[P.jsx("label",{className:`text-gray-600 font-600 group ${g&&"!text-red-500"} text-label`,children:o}),P.jsxs("div",{ref:te.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${g&&"border-red-500 hover:border-red-600"} ${ke?"border-blue-400":"border-blue-100"}`,...Oe,children:[R!=null&&R.code?P.jsxs("div",{className:"flex items-center w-full",children:[ue(R)&&P.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${ue(R)}.png`,srcSet:`https://flagcdn.com/w40/${ue(R)}.png 2x`,alt:R.label,onError:Ve=>{Ve.currentTarget.style.display="none"}}),P.jsxs("span",{className:"flex-grow",children:[h==="es"&&R.labelES?R.labelES:R.label,R.code?` (${R.code})`:x("select_country")]})]}):P.jsx("span",{className:"text-gray-500",children:u}),P.jsx("svg",{className:`w-16 h-16 transition-transform ${A?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),g&&P.jsx("p",{className:"mt-1 text-sm text-red-600",children:g}),ke&&P.jsxs("div",{ref:te.setFloating,style:{position:G,top:F??0,left:L??0,...ht},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Ue(),children:[P.jsx("div",{ref:k,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:ze!=null?`${ze}px`:"",top:X!=null?`${X}px`:"",right:"",bottom:"",[pe]:"-2px",borderRight:pe==="left"?"1px solid":"none",borderBottom:pe==="top"?"1px solid":"none",borderLeft:pe==="right"?"1px solid":"none",borderTop:pe==="bottom"?"1px solid":"none"}}),P.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:P.jsx("input",{ref:V,type:"text",className:"w-full p-16",placeholder:x("search")+"...",value:C,onChange:Ve=>M(Ve.target.value),onClick:Ve=>Ve.stopPropagation(),autoFocus:!0})}),P.jsx("div",{children:Xe.length>0?P.jsx("ul",{className:"flex flex-col",children:Xe.map((Ve,je)=>{var Ie;const at=Ve.codeISO2?Ve.codeISO2.toLowerCase():((Ie=Ve.code)==null?void 0:Ie.toLowerCase())||"";return P.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:rt=>{rt.stopPropagation(),Z(Ve)},children:[at&&P.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${at}.png`,srcSet:`https://flagcdn.com/w40/${at}.png 2x`,alt:Ve.label,onError:rt=>{rt.currentTarget.style.display="none"}}),P.jsxs("span",{children:[h==="es"&&Ve.labelES?Ve.labelES:Ve.label,Ve.code?` (${Ve.code})`:"Country not found"]})]},`${Ve.code}-${je}`)})}):P.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},eF=t=>P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:179,height:35,fill:"none",...t,children:P.jsx("path",{fill:"#4570EB",d:"M86.789 28.867c-1.447 0-2.772-.265-3.975-.795a9.122 9.122 0 0 1-3.057-2.232 8.568 8.568 0 0 1-1.803-3.148l2.598-1.07c.55 1.467 1.366 2.598 2.446 3.393 1.1.774 2.384 1.162 3.852 1.162.896 0 1.681-.143 2.354-.428.672-.286 1.192-.683 1.559-1.193.387-.53.58-1.14.58-1.834 0-.958-.275-1.712-.825-2.262-.53-.57-1.314-.999-2.354-1.284l-4.188-1.284c-1.65-.51-2.914-1.314-3.79-2.415-.877-1.1-1.315-2.364-1.315-3.79 0-1.244.295-2.334.886-3.272.612-.957 1.447-1.701 2.507-2.231 1.08-.55 2.303-.826 3.669-.826 1.365 0 2.598.245 3.699.734 1.12.49 2.068 1.152 2.843 1.987a7.691 7.691 0 0 1 1.712 2.813l-2.568 1.07c-.49-1.284-1.223-2.252-2.201-2.905-.979-.672-2.13-1.008-3.455-1.008-.815 0-1.538.142-2.17.428a3.184 3.184 0 0 0-1.437 1.192c-.326.51-.49 1.12-.49 1.834 0 .836.266 1.58.796 2.232.53.652 1.334 1.151 2.415 1.498l3.82 1.13c1.794.55 3.15 1.335 4.067 2.355.917 1.019 1.375 2.282 1.375 3.79 0 1.243-.326 2.344-.978 3.302-.632.958-1.518 1.712-2.66 2.262-1.12.53-2.425.795-3.912.795Zm11.6-.367V12.023h2.844V28.5h-2.844Zm0-19.106V5.725h2.844v3.669h-2.844Zm7.255 19.106V12.023h2.782v3.362l-.398-.52c.408-1.039 1.06-1.834 1.957-2.384.897-.55 1.905-.825 3.026-.825 1.284 0 2.436.356 3.455 1.07 1.039.713 1.752 1.65 2.14 2.812l-.795.03c.428-1.283 1.151-2.251 2.17-2.903a6.028 6.028 0 0 1 3.394-1.01c1.141 0 2.17.266 3.087.796a5.926 5.926 0 0 1 2.232 2.2c.55.938.825 1.998.825 3.18V28.5h-2.873v-9.752c0-.917-.163-1.691-.49-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.874v-9.752c0-.917-.163-1.691-.489-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.843Zm27.913 6.114V12.023h2.782v3.546l-.367-.703c.612-.979 1.447-1.753 2.507-2.324 1.06-.59 2.272-.886 3.638-.886 1.549 0 2.934.377 4.157 1.13a8.069 8.069 0 0 1 2.935 3.088c.713 1.284 1.07 2.752 1.07 4.403 0 1.61-.357 3.067-1.07 4.371a8.068 8.068 0 0 1-2.935 3.088c-1.223.754-2.619 1.13-4.188 1.13-1.325 0-2.537-.295-3.638-.886a6.185 6.185 0 0 1-2.506-2.506l.458-.49v9.63h-2.843Zm8.315-8.498c1.04 0 1.967-.255 2.782-.765a5.185 5.185 0 0 0 1.895-2.078c.469-.897.704-1.896.704-2.996 0-1.142-.235-2.14-.704-2.996a5.185 5.185 0 0 0-1.895-2.079c-.815-.53-1.742-.795-2.782-.795-1.039 0-1.977.255-2.812.764-.815.51-1.468 1.213-1.957 2.11-.468.876-.703 1.875-.703 2.996 0 1.1.235 2.099.703 2.995a5.65 5.65 0 0 0 1.957 2.08c.835.509 1.773.764 2.812.764Zm12.135 2.384V5.358h2.843V28.5h-2.843Zm14.836.367c-1.59 0-3.006-.377-4.25-1.131a8.065 8.065 0 0 1-2.934-3.088c-.714-1.325-1.07-2.802-1.07-4.433 0-1.65.346-3.118 1.039-4.402.713-1.284 1.671-2.292 2.874-3.026 1.223-.754 2.588-1.131 4.096-1.131 1.223 0 2.303.224 3.241.672a6.84 6.84 0 0 1 2.415 1.774 7.477 7.477 0 0 1 1.528 2.537 7.98 7.98 0 0 1 .55 2.934c0 .225-.02.48-.061.765-.02.265-.051.52-.091.764h-13.512v-2.446h11.861l-1.345 1.1c.183-1.059.081-2.006-.306-2.842a4.643 4.643 0 0 0-1.712-1.987c-.754-.49-1.61-.734-2.568-.734s-1.834.245-2.629.734c-.795.489-1.416 1.192-1.865 2.11-.428.896-.601 1.966-.519 3.21-.082 1.201.102 2.261.55 3.178a5.288 5.288 0 0 0 1.956 2.11c.856.489 1.784.733 2.782.733 1.101 0 2.028-.254 2.782-.764a6.011 6.011 0 0 0 1.834-1.956l2.385 1.222c-.326.755-.836 1.447-1.529 2.08-.672.61-1.477 1.1-2.415 1.467-.917.366-1.946.55-3.087.55ZM24.105 5.715h7.319v16.956h11.69V28.5h-19.01V5.715Zm31.958 0c7.97 0 11.955 3.798 11.955 11.393 0 7.595-3.985 11.392-11.955 11.392h-9.87V5.715h9.87Zm-2.55 17.32h2.417c3.07 0 4.604-1.644 4.604-4.934v-1.987c0-3.29-1.535-4.934-4.604-4.934h-2.417v11.856ZM5.94 23.162v5.36H.062v-4.521c0-.391.455-1.216.71-1.53.961-1.179 2.867-3.007 4.022-4.048.572-.515 1.108-.978 1.92-1.06 1.927-.196 4.165.139 6.127 0 3.93-.268 3.945-5.65-.061-5.928-1.784-.124-3.71.097-5.508 0-.629.061-1.078.396-1.303.993-.138 1.237.092 2.622-.026 3.837-.061.598-.409 1.025-1.022 1.092-.873.098-2.881.083-3.776 0C.56 17.306.12 16.93.063 16.327c-.087-.942-.082-2.858 0-3.806.041-.494.404-.953.905-1.02 1.067-.144 3.346.248 4.195-.138 1.583-.716.633-3.497.93-4.924.112-.536.648-.71 1.124-.798 4.2.082 8.057-.747 11.47 2.266 5.871 5.186 2.432 14.564-5.104 15.244H5.944l-.005.01Z"})}),tF="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",nF={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},aF={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},iF=(t="filled",n="blue",i="base",o="none")=>{const u=cd(tF,nF[i],aF[o]),h={blue:p_[t],aqua:g_[t],red:y_[t],gray:v_[t]}[n];return cd(u,h)},rF={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},iE=(t="base")=>rF[t],b2=({variant:t="filled",color:n,size:i="base",shadow:o="none",icon:u,iconProps:h={},children:g,className:v,...x})=>{const{defaultColorScheme:A}=Pi(),w=n||A;return P.jsx("button",{...x,className:`${iF(t,w,i,o)} ${v}`,children:u?P.jsx(Bn,{...h,className:iE(i),icon:u}):g})};function sF(t){return t!==null&&typeof t=="object"&&"name"in t&&"size"in t&&"type"in t&&typeof t.name=="string"&&typeof t.size=="number"&&typeof t.type=="string"}const oF=({src:t,alt:n,isEditable:i=!1,onChange:o,className:u="",name:h,control:g,user:v})=>{const[x,A]=J.useState(t||null),[w,C]=J.useState(!!t),M=J.useRef(null),R=cb({name:h,control:g}),U=!!g;J.useEffect(()=>{if(U){const F=R==null?void 0:R.field.value;if(sF(F)){const G=URL.createObjectURL(F);return A(G),C(!0),()=>URL.revokeObjectURL(G)}else typeof F=="string"&&F&&F!==t?(A(F),C(!0)):t?(A(t),C(!0)):(A(null),C(!1))}},[R==null?void 0:R.field.value,t]);const V=()=>{var F;i&&((F=M.current)==null||F.click())},k=F=>{var te;const G=(te=F.target.files)==null?void 0:te[0];if(G){const Y=URL.createObjectURL(G);A(Y),C(!0),U&&(R==null||R.field.onChange(G)),o&&o(G)}},L=F=>{F.stopPropagation(),A(null),C(!1),M.current&&(M.current.value=""),U&&(R==null||R.field.onChange(null)),o&&o(null)};return P.jsxs("div",{className:"relative flex items-center gap-10",children:[i&&w&&P.jsx("button",{type:"button",onClick:L,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:P.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[P.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),P.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${i?"cursor-pointer hover:opacity-80":""} ${u}`,onClick:V,children:[x?P.jsx("img",{src:x,alt:n,className:"w-full h-full object-cover rounded-full"}):P.jsx(h_,{size:60,user:v}),i&&P.jsxs(P.Fragment,{children:[P.jsx("input",{type:"file",ref:F=>{M.current=F,R&&R.field.ref(F)},onChange:k,onBlur:R==null?void 0:R.field.onBlur,accept:"image/*",className:"hidden"}),!w&&P.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:P.jsx(Bn,{icon:cq,className:"text-blue-500"})})]})]})]})};var rE,S_;function lF(){if(S_)return rE;S_=1;function t(L){this._maxSize=L,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(L){return this._values[L]},t.prototype.set=function(L,F){return this._size>=this._maxSize&&this.clear(),L in this._values||this._size++,this._values[L]=F};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,h=/^\s*(['"]?)(.*?)(\1)\s*$/,g=512,v=new t(g),x=new t(g),A=new t(g);rE={Cache:t,split:C,normalizePath:w,setter:function(L){var F=w(L);return x.get(L)||x.set(L,function(te,Y){for(var se=0,he=F.length,ve=te;se<he-1;){var me=F[se];if(me==="__proto__"||me==="constructor"||me==="prototype")return te;ve=ve[F[se++]]}ve[F[se]]=Y})},getter:function(L,F){var G=w(L);return A.get(L)||A.set(L,function(Y){for(var se=0,he=G.length;se<he;)if(Y!=null||!F)Y=Y[G[se++]];else return;return Y})},join:function(L){return L.reduce(function(F,G){return F+(R(G)||i.test(G)?"["+G+"]":(F?".":"")+G)},"")},forEach:function(L,F,G){M(Array.isArray(L)?L:C(L),F,G)}};function w(L){return v.get(L)||v.set(L,C(L).map(function(F){return F.replace(h,"$2")}))}function C(L){return L.match(n)||[""]}function M(L,F,G){var te=L.length,Y,se,he,ve;for(se=0;se<te;se++)Y=L[se],Y&&(k(Y)&&(Y='"'+Y+'"'),ve=R(Y),he=!ve&&/^\d+$/.test(Y),F.call(G,Y,ve,he,se,L))}function R(L){return typeof L=="string"&&L&&["'",'"'].indexOf(L.charAt(0))!==-1}function U(L){return L.match(o)&&!L.match(i)}function V(L){return u.test(L)}function k(L){return!R(L)&&(U(L)||V(L))}return rE}var A0=lF(),sE,T_;function uF(){if(T_)return sE;T_=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=w=>w.match(t)||[],i=w=>w[0].toUpperCase()+w.slice(1),o=(w,C)=>n(w).join(C).toLowerCase(),u=w=>n(w).reduce((C,M)=>`${C}${C?M[0].toUpperCase()+M.slice(1).toLowerCase():M.toLowerCase()}`,"");return sE={words:n,upperFirst:i,camelCase:u,pascalCase:w=>i(u(w)),snakeCase:w=>o(w,"_"),kebabCase:w=>o(w,"-"),sentenceCase:w=>i(o(w," ")),titleCase:w=>n(w).map(i).join(" ")},sE}var oE=uF(),x2={exports:{}},A_;function cF(){if(A_)return x2.exports;A_=1,x2.exports=function(u){return t(n(u),u)},x2.exports.array=t;function t(u,h){var g=u.length,v=new Array(g),x={},A=g,w=i(h),C=o(u);for(h.forEach(function(R){if(!C.has(R[0])||!C.has(R[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});A--;)x[A]||M(u[A],A,new Set);return v;function M(R,U,V){if(V.has(R)){var k;try{k=", node was:"+JSON.stringify(R)}catch{k=""}throw new Error("Cyclic dependency"+k)}if(!C.has(R))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(R));if(!x[U]){x[U]=!0;var L=w.get(R)||new Set;if(L=Array.from(L),U=L.length){V.add(R);do{var F=L[--U];M(F,C.get(F),V)}while(U);V.delete(R)}v[--g]=R}}}function n(u){for(var h=new Set,g=0,v=u.length;g<v;g++){var x=u[g];h.add(x[0]),h.add(x[1])}return Array.from(h)}function i(u){for(var h=new Map,g=0,v=u.length;g<v;g++){var x=u[g];h.has(x[0])||h.set(x[0],new Set),h.has(x[1])||h.set(x[1],new Set),h.get(x[0]).add(x[1])}return h}function o(u){for(var h=new Map,g=0,v=u.length;g<v;g++)h.set(u[g],g);return h}return x2.exports}var fF=cF();const dF=D3(fF),hF=Object.prototype.toString,mF=Error.prototype.toString,pF=RegExp.prototype.toString,gF=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",yF=/^Symbol\((.*)\)(.*)$/;function vF(t){return t!=+t?"NaN":t===0&&1/t<0?"-0":""+t}function w_(t,n=!1){if(t==null||t===!0||t===!1)return""+t;const i=typeof t;if(i==="number")return vF(t);if(i==="string")return n?`"${t}"`:t;if(i==="function")return"[Function "+(t.name||"anonymous")+"]";if(i==="symbol")return gF.call(t).replace(yF,"Symbol($1)");const o=hF.call(t).slice(8,-1);return o==="Date"?isNaN(t.getTime())?""+t:t.toISOString(t):o==="Error"||t instanceof Error?"["+mF.call(t)+"]":o==="RegExp"?pF.call(t):null}function um(t,n){let i=w_(t,n);return i!==null?i:JSON.stringify(t,function(o,u){let h=w_(this[o],n);return h!==null?h:u},2)}function E_(t){return t==null?[]:[].concat(t)}let C_,D_,M_,bF=/\$\{\s*(\w+)\s*\}/g;C_=Symbol.toStringTag;class O_{constructor(n,i,o,u){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[C_]="Error",this.name="ValidationError",this.value=i,this.path=o,this.type=u,this.errors=[],this.inner=[],E_(n).forEach(h=>{if(js.isError(h)){this.errors.push(...h.errors);const g=h.inner.length?h.inner:[h];this.inner.push(...g)}else this.errors.push(h)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}D_=Symbol.hasInstance,M_=Symbol.toStringTag;class js extends Error{static formatError(n,i){const o=i.label||i.path||"this";return i=Object.assign({},i,{path:o,originalPath:i.path}),typeof n=="string"?n.replace(bF,(u,h)=>um(i[h])):typeof n=="function"?n(i):n}static isError(n){return n&&n.name==="ValidationError"}constructor(n,i,o,u,h){const g=new O_(n,i,o,u);if(h)return g;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[M_]="Error",this.name=g.name,this.message=g.message,this.type=g.type,this.value=g.value,this.path=g.path,this.errors=g.errors,this.inner=g.inner,Error.captureStackTrace&&Error.captureStackTrace(this,js)}static[D_](n){return O_[Symbol.hasInstance](n)||super[Symbol.hasInstance](n)}}let Vc={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{const u=o!=null&&o!==i?` (cast from the value \`${um(o,!0)}\`).`:".";return n!=="mixed"?`${t} must be a \`${n}\` type, but the final value was: \`${um(i,!0)}\``+u:`${t} must match the configured type. The validated value was: \`${um(i,!0)}\``+u}},Bs={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},xF={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},lE={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},SF={isValue:"${path} field must be ${value}"},S2={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:Vc,string:Bs,number:xF,date:lE,object:S2,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:SF,tuple:{notType:t=>{const{path:n,value:i,spec:o}=t,u=o.types.length;if(Array.isArray(i)){if(i.length<u)return`${n} tuple value has too few items, expected a length of ${u} but got ${i.length} for value: \`${um(i,!0)}\``;if(i.length>u)return`${n} tuple value has too many items, expected a length of ${u} but got ${i.length} for value: \`${um(i,!0)}\``}return js.formatError(Vc.notType,t)}}});const uE=t=>t&&t.__isYupSchema__;class T2{static fromOptions(n,i){if(!i.then&&!i.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:u,otherwise:h}=i,g=typeof o=="function"?o:(...v)=>v.every(x=>x===o);return new T2(n,(v,x)=>{var A;let w=g(...v)?u:h;return(A=w==null?void 0:w(x))!=null?A:x})}constructor(n,i){this.fn=void 0,this.refs=n,this.refs=n,this.fn=i}resolve(n,i){let o=this.refs.map(h=>h.getValue(i==null?void 0:i.value,i==null?void 0:i.parent,i==null?void 0:i.context)),u=this.fn(o,n,i);if(u===void 0||u===n)return n;if(!uE(u))throw new TypeError("conditions must return a schema object");return u.resolve(i)}}const A2={context:"$",value:"."};class w0{constructor(n,i={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof n!="string")throw new TypeError("ref must be a string, got: "+n);if(this.key=n.trim(),n==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===A2.context,this.isValue=this.key[0]===A2.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?A2.context:this.isValue?A2.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&A0.getter(this.path,!0),this.map=i.map}getValue(n,i,o){let u=this.isContext?o:this.isValue?n:i;return this.getter&&(u=this.getter(u||{})),this.map&&(u=this.map(u)),u}cast(n,i){return this.getValue(n,i==null?void 0:i.parent,i==null?void 0:i.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(n){return n&&n.__isYupRef}}w0.prototype.__isYupRef=!0;const E0=t=>t==null;function Qy(t){function n({value:i,path:o="",options:u,originalValue:h,schema:g},v,x){const{name:A,test:w,params:C,message:M,skipAbsent:R}=t;let{parent:U,context:V,abortEarly:k=g.spec.abortEarly,disableStackTrace:L=g.spec.disableStackTrace}=u;function F(Ue){return w0.isRef(Ue)?Ue.getValue(i,U,V):Ue}function G(Ue={}){const ke=Object.assign({value:i,originalValue:h,label:g.spec.label,path:Ue.path||o,spec:g.spec,disableStackTrace:Ue.disableStackTrace||L},C,Ue.params);for(const We of Object.keys(ke))ke[We]=F(ke[We]);const ht=new js(js.formatError(Ue.message||M,ke),i,ke.path,Ue.type||A,ke.disableStackTrace);return ht.params=ke,ht}const te=k?v:x;let Y={path:o,parent:U,type:A,from:u.from,createError:G,resolve:F,options:u,originalValue:h,schema:g};const se=Ue=>{js.isError(Ue)?te(Ue):Ue?x(null):te(G())},he=Ue=>{js.isError(Ue)?te(Ue):v(Ue)};if(R&&E0(i))return se(!0);let me;try{var $e;if(me=w.call(Y,i,Y),typeof(($e=me)==null?void 0:$e.then)=="function"){if(u.sync)throw new Error(`Validation test of type: "${Y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(me).then(se,he)}}catch(Ue){he(Ue);return}se(me)}return n.OPTIONS=t,n}function TF(t,n,i,o=i){let u,h,g;return n?(A0.forEach(n,(v,x,A)=>{let w=x?v.slice(1,v.length-1):v;t=t.resolve({context:o,parent:u,value:i});let C=t.type==="tuple",M=A?parseInt(w,10):0;if(t.innerType||C){if(C&&!A)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${g}" must contain an index to the tuple element, e.g. "${g}[0]"`);if(i&&M>=i.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${v}, in the path: ${n}. because there is no value at that index. `);u=i,i=i&&i[M],t=C?t.spec.types[M]:t.innerType}if(!A){if(!t.fields||!t.fields[w])throw new Error(`The schema does not contain the path: ${n}. (failed at: ${g} which is a type: "${t.type}")`);u=i,i=i&&i[w],t=t.fields[w]}h=w,g=x?"["+v+"]":"."+v}),{schema:t,parent:u,parentPath:h}):{parent:u,parentPath:n,schema:t}}class w2 extends Set{describe(){const n=[];for(const i of this.values())n.push(w0.isRef(i)?i.describe():i);return n}resolveAll(n){let i=[];for(const o of this.values())i.push(n(o));return i}clone(){return new w2(this.values())}merge(n,i){const o=this.clone();return n.forEach(u=>o.add(u)),i.forEach(u=>o.delete(u)),o}}function Ky(t,n=new Map){if(uE(t)||!t||typeof t!="object")return t;if(n.has(t))return n.get(t);let i;if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=new Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=Ky(t[o],n)}else if(t instanceof Map){i=new Map,n.set(t,i);for(const[o,u]of t.entries())i.set(o,Ky(u,n))}else if(t instanceof Set){i=new Set,n.set(t,i);for(const o of t)i.add(Ky(o,n))}else if(t instanceof Object){i={},n.set(t,i);for(const[o,u]of Object.entries(t))i[o]=Ky(u,n)}else throw Error(`Unable to clone ${t}`);return i}class Lc{constructor(n){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new w2,this._blacklist=new w2,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Vc.notType)}),this.type=n.type,this._typeCheck=n.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},n==null?void 0:n.spec),this.withMutation(i=>{i.nonNullable()})}get _type(){return this.type}clone(n){if(this._mutate)return n&&Object.assign(this.spec,n),this;const i=Object.create(Object.getPrototypeOf(this));return i.type=this.type,i._typeCheck=this._typeCheck,i._whitelist=this._whitelist.clone(),i._blacklist=this._blacklist.clone(),i.internalTests=Object.assign({},this.internalTests),i.exclusiveTests=Object.assign({},this.exclusiveTests),i.deps=[...this.deps],i.conditions=[...this.conditions],i.tests=[...this.tests],i.transforms=[...this.transforms],i.spec=Ky(Object.assign({},this.spec,n)),i}label(n){let i=this.clone();return i.spec.label=n,i}meta(...n){if(n.length===0)return this.spec.meta;let i=this.clone();return i.spec.meta=Object.assign(i.spec.meta||{},n[0]),i}withMutation(n){let i=this._mutate;this._mutate=!0;let o=n(this);return this._mutate=i,o}concat(n){if(!n||n===this)return this;if(n.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${n.type}`);let i=this,o=n.clone();const u=Object.assign({},i.spec,o.spec);return o.spec=u,o.internalTests=Object.assign({},i.internalTests,o.internalTests),o._whitelist=i._whitelist.merge(n._whitelist,n._blacklist),o._blacklist=i._blacklist.merge(n._blacklist,n._whitelist),o.tests=i.tests,o.exclusiveTests=i.exclusiveTests,o.withMutation(h=>{n.tests.forEach(g=>{h.test(g.OPTIONS)})}),o.transforms=[...i.transforms,...o.transforms],o}isType(n){return n==null?!!(this.spec.nullable&&n===null||this.spec.optional&&n===void 0):this._typeCheck(n)}resolve(n){let i=this;if(i.conditions.length){let o=i.conditions;i=i.clone(),i.conditions=[],i=o.reduce((u,h)=>h.resolve(u,n),i),i=i.resolve(n)}return i}resolveOptions(n){var i,o,u,h;return Object.assign({},n,{from:n.from||[],strict:(i=n.strict)!=null?i:this.spec.strict,abortEarly:(o=n.abortEarly)!=null?o:this.spec.abortEarly,recursive:(u=n.recursive)!=null?u:this.spec.recursive,disableStackTrace:(h=n.disableStackTrace)!=null?h:this.spec.disableStackTrace})}cast(n,i={}){let o=this.resolve(Object.assign({value:n},i)),u=i.assert==="ignore-optionality",h=o._cast(n,i);if(i.assert!==!1&&!o.isType(h)){if(u&&E0(h))return h;let g=um(n),v=um(h);throw new TypeError(`The value of ${i.path||"field"} could not be cast to a value that satisfies the schema type: "${o.type}".
|
|
693
|
+
`,style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},children:F()})]})};function m_(t){var n,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(i=m_(t[n]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function cd(){for(var t,n,i=0,o="",u=arguments.length;i<u;i++)(t=arguments[i])&&(n=m_(t))&&(o&&(o+=" "),o+=n);return o}const p_={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},g_={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},y_={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},v_={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},QG="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",KG={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},IG=(t="filled",n="blue",i="base")=>{const o=cd(QG,KG[i]),u={blue:p_[t],aqua:g_[t],red:y_[t],gray:v_[t]}[n];return cd(o,u)},fb=({color:t,variant:n="filled",size:i="base",children:o,className:u,...h})=>{const{defaultColorScheme:g}=Pi(),v=t||g;return P.jsx("button",{type:"button",className:IG(n,v,i)+" "+u,...h,children:o})},b_=({className:t="",direction:n="horizontal"})=>n==="horizontal"?P.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${t}`}):P.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${t}`}),x_=({open:t,onClose:n,title:i,children:o})=>{const u={hidden:{opacity:0},visible:{opacity:1}},h={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return P.jsx(em,{children:t&&P.jsx(P.Fragment,{children:P.jsx(ua.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:u,onClick:n,children:P.jsx(ua.div,{className:"w-full max-w-screen-md mx-16 z-50",variants:h,initial:"hidden",animate:"visible",exit:"exit",onClick:g=>g.stopPropagation(),children:P.jsxs(Zy,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:[P.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[P.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[i&&P.jsx("h2",{className:"text-black font-700 text-2xl",children:i}),P.jsx(Bn,{icon:nT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:n})]}),i&&P.jsx(b_,{className:"!bg-gray-100"})]}),P.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof o=="function"?o(n):o})]})})})})})},WG=({countries:t,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g=""})=>{const{t:v}=Pi();return P.jsx(s_,{name:n,control:i,render:({field:{onChange:x,value:A},fieldState:{error:w}})=>P.jsx(JG,{countries:t,value:A,onChange:x,label:v(o),placeholder:v(u),language:h,error:w==null?void 0:w.message,className:g})})},JG=({countries:t,value:n,onChange:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",error:g,className:v=""})=>{var He,Ye;const{t:x}=Pi(),[A,w]=J.useState(!1),[C,M]=J.useState(""),[R,U]=J.useState(n||null),V=J.useRef(null),k=J.useRef(null),{x:L,y:F,strategy:G,refs:te,context:Y,placement:se,middlewareData:he}=Qw({open:A,onOpenChange:w,middleware:[Pw(8),qw(),Yw({padding:8}),HR({apply({availableHeight:Ve,elements:je}){Object.assign(je.floating.style,{maxHeight:`${Math.min(Ve-10,300)}px`})},padding:8}),kR({element:k})],placement:"bottom-start",whileElementsMounted:Hw}),ve=Xw(Y),me=Zw(Y),{getReferenceProps:$e,getFloatingProps:Ue}=Iw([ve,me]),{isMounted:ke,styles:ht}=Ww(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),Xe=(Array.isArray(t)?t:[]).filter(Ve=>{if(!C.trim())return!0;const je=h==="es"&&Ve.labelES?Ve.labelES.toLowerCase():Ve.label.toLowerCase(),at=Ve.code?Ve.code.toLowerCase():"";return je.includes(C.toLowerCase())||at.includes(C.toLowerCase())}),Z=Ve=>{U(Ve),w(!1),M(""),i(Ve)},ie=()=>{w(!A),!A&&V.current&&setTimeout(()=>{var Ve;(Ve=V.current)==null||Ve.focus()},100)};J.useEffect(()=>{U(n)},[n]);const ue=Ve=>{var je;return Ve?Ve.codeISO2?Ve.codeISO2.toLowerCase():((je=Ve.code)==null?void 0:je.toLowerCase())||"":""},ze=(He=he.arrow)==null?void 0:He.x,X=(Ye=he.arrow)==null?void 0:Ye.y,pe={top:"bottom",right:"left",bottom:"top",left:"right"}[se.split("-")[0]],Oe=$e({onClick:ie});return P.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${v}`,children:[P.jsx("label",{className:`text-gray-600 font-600 group ${g&&"!text-red-500"} text-label`,children:o}),P.jsxs("div",{ref:te.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${g&&"border-red-500 hover:border-red-600"} ${ke?"border-blue-400":"border-blue-100"}`,...Oe,children:[R!=null&&R.code?P.jsxs("div",{className:"flex items-center w-full",children:[ue(R)&&P.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${ue(R)}.png`,srcSet:`https://flagcdn.com/w40/${ue(R)}.png 2x`,alt:R.label,onError:Ve=>{Ve.currentTarget.style.display="none"}}),P.jsxs("span",{className:"flex-grow",children:[h==="es"&&R.labelES?R.labelES:R.label,R.code?` (${R.code})`:x("select_country")]})]}):P.jsx("span",{className:"text-gray-500",children:u}),P.jsx("svg",{className:`w-16 h-16 transition-transform ${A?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),g&&P.jsx("p",{className:"mt-1 text-sm text-red-600",children:g}),ke&&P.jsxs("div",{ref:te.setFloating,style:{position:G,top:F??0,left:L??0,...ht},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Ue(),children:[P.jsx("div",{ref:k,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:ze!=null?`${ze}px`:"",top:X!=null?`${X}px`:"",right:"",bottom:"",[pe]:"-2px",borderRight:pe==="left"?"1px solid":"none",borderBottom:pe==="top"?"1px solid":"none",borderLeft:pe==="right"?"1px solid":"none",borderTop:pe==="bottom"?"1px solid":"none"}}),P.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:P.jsx("input",{ref:V,type:"text",className:"w-full p-16",placeholder:x("search")+"...",value:C,onChange:Ve=>M(Ve.target.value),onClick:Ve=>Ve.stopPropagation(),autoFocus:!0})}),P.jsx("div",{children:Xe.length>0?P.jsx("ul",{className:"flex flex-col",children:Xe.map((Ve,je)=>{var Ie;const at=Ve.codeISO2?Ve.codeISO2.toLowerCase():((Ie=Ve.code)==null?void 0:Ie.toLowerCase())||"";return P.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:rt=>{rt.stopPropagation(),Z(Ve)},children:[at&&P.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${at}.png`,srcSet:`https://flagcdn.com/w40/${at}.png 2x`,alt:Ve.label,onError:rt=>{rt.currentTarget.style.display="none"}}),P.jsxs("span",{children:[h==="es"&&Ve.labelES?Ve.labelES:Ve.label,Ve.code?` (${Ve.code})`:"Country not found"]})]},`${Ve.code}-${je}`)})}):P.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},eF=t=>P.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:179,height:35,fill:"none",...t,children:P.jsx("path",{fill:"#4570EB",d:"M86.789 28.867c-1.447 0-2.772-.265-3.975-.795a9.122 9.122 0 0 1-3.057-2.232 8.568 8.568 0 0 1-1.803-3.148l2.598-1.07c.55 1.467 1.366 2.598 2.446 3.393 1.1.774 2.384 1.162 3.852 1.162.896 0 1.681-.143 2.354-.428.672-.286 1.192-.683 1.559-1.193.387-.53.58-1.14.58-1.834 0-.958-.275-1.712-.825-2.262-.53-.57-1.314-.999-2.354-1.284l-4.188-1.284c-1.65-.51-2.914-1.314-3.79-2.415-.877-1.1-1.315-2.364-1.315-3.79 0-1.244.295-2.334.886-3.272.612-.957 1.447-1.701 2.507-2.231 1.08-.55 2.303-.826 3.669-.826 1.365 0 2.598.245 3.699.734 1.12.49 2.068 1.152 2.843 1.987a7.691 7.691 0 0 1 1.712 2.813l-2.568 1.07c-.49-1.284-1.223-2.252-2.201-2.905-.979-.672-2.13-1.008-3.455-1.008-.815 0-1.538.142-2.17.428a3.184 3.184 0 0 0-1.437 1.192c-.326.51-.49 1.12-.49 1.834 0 .836.266 1.58.796 2.232.53.652 1.334 1.151 2.415 1.498l3.82 1.13c1.794.55 3.15 1.335 4.067 2.355.917 1.019 1.375 2.282 1.375 3.79 0 1.243-.326 2.344-.978 3.302-.632.958-1.518 1.712-2.66 2.262-1.12.53-2.425.795-3.912.795Zm11.6-.367V12.023h2.844V28.5h-2.844Zm0-19.106V5.725h2.844v3.669h-2.844Zm7.255 19.106V12.023h2.782v3.362l-.398-.52c.408-1.039 1.06-1.834 1.957-2.384.897-.55 1.905-.825 3.026-.825 1.284 0 2.436.356 3.455 1.07 1.039.713 1.752 1.65 2.14 2.812l-.795.03c.428-1.283 1.151-2.251 2.17-2.903a6.028 6.028 0 0 1 3.394-1.01c1.141 0 2.17.266 3.087.796a5.926 5.926 0 0 1 2.232 2.2c.55.938.825 1.998.825 3.18V28.5h-2.873v-9.752c0-.917-.163-1.691-.49-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.874v-9.752c0-.917-.163-1.691-.489-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.843Zm27.913 6.114V12.023h2.782v3.546l-.367-.703c.612-.979 1.447-1.753 2.507-2.324 1.06-.59 2.272-.886 3.638-.886 1.549 0 2.934.377 4.157 1.13a8.069 8.069 0 0 1 2.935 3.088c.713 1.284 1.07 2.752 1.07 4.403 0 1.61-.357 3.067-1.07 4.371a8.068 8.068 0 0 1-2.935 3.088c-1.223.754-2.619 1.13-4.188 1.13-1.325 0-2.537-.295-3.638-.886a6.185 6.185 0 0 1-2.506-2.506l.458-.49v9.63h-2.843Zm8.315-8.498c1.04 0 1.967-.255 2.782-.765a5.185 5.185 0 0 0 1.895-2.078c.469-.897.704-1.896.704-2.996 0-1.142-.235-2.14-.704-2.996a5.185 5.185 0 0 0-1.895-2.079c-.815-.53-1.742-.795-2.782-.795-1.039 0-1.977.255-2.812.764-.815.51-1.468 1.213-1.957 2.11-.468.876-.703 1.875-.703 2.996 0 1.1.235 2.099.703 2.995a5.65 5.65 0 0 0 1.957 2.08c.835.509 1.773.764 2.812.764Zm12.135 2.384V5.358h2.843V28.5h-2.843Zm14.836.367c-1.59 0-3.006-.377-4.25-1.131a8.065 8.065 0 0 1-2.934-3.088c-.714-1.325-1.07-2.802-1.07-4.433 0-1.65.346-3.118 1.039-4.402.713-1.284 1.671-2.292 2.874-3.026 1.223-.754 2.588-1.131 4.096-1.131 1.223 0 2.303.224 3.241.672a6.84 6.84 0 0 1 2.415 1.774 7.477 7.477 0 0 1 1.528 2.537 7.98 7.98 0 0 1 .55 2.934c0 .225-.02.48-.061.765-.02.265-.051.52-.091.764h-13.512v-2.446h11.861l-1.345 1.1c.183-1.059.081-2.006-.306-2.842a4.643 4.643 0 0 0-1.712-1.987c-.754-.49-1.61-.734-2.568-.734s-1.834.245-2.629.734c-.795.489-1.416 1.192-1.865 2.11-.428.896-.601 1.966-.519 3.21-.082 1.201.102 2.261.55 3.178a5.288 5.288 0 0 0 1.956 2.11c.856.489 1.784.733 2.782.733 1.101 0 2.028-.254 2.782-.764a6.011 6.011 0 0 0 1.834-1.956l2.385 1.222c-.326.755-.836 1.447-1.529 2.08-.672.61-1.477 1.1-2.415 1.467-.917.366-1.946.55-3.087.55ZM24.105 5.715h7.319v16.956h11.69V28.5h-19.01V5.715Zm31.958 0c7.97 0 11.955 3.798 11.955 11.393 0 7.595-3.985 11.392-11.955 11.392h-9.87V5.715h9.87Zm-2.55 17.32h2.417c3.07 0 4.604-1.644 4.604-4.934v-1.987c0-3.29-1.535-4.934-4.604-4.934h-2.417v11.856ZM5.94 23.162v5.36H.062v-4.521c0-.391.455-1.216.71-1.53.961-1.179 2.867-3.007 4.022-4.048.572-.515 1.108-.978 1.92-1.06 1.927-.196 4.165.139 6.127 0 3.93-.268 3.945-5.65-.061-5.928-1.784-.124-3.71.097-5.508 0-.629.061-1.078.396-1.303.993-.138 1.237.092 2.622-.026 3.837-.061.598-.409 1.025-1.022 1.092-.873.098-2.881.083-3.776 0C.56 17.306.12 16.93.063 16.327c-.087-.942-.082-2.858 0-3.806.041-.494.404-.953.905-1.02 1.067-.144 3.346.248 4.195-.138 1.583-.716.633-3.497.93-4.924.112-.536.648-.71 1.124-.798 4.2.082 8.057-.747 11.47 2.266 5.871 5.186 2.432 14.564-5.104 15.244H5.944l-.005.01Z"})}),tF="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",nF={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},aF={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},iF=(t="filled",n="blue",i="base",o="none")=>{const u=cd(tF,nF[i],aF[o]),h={blue:p_[t],aqua:g_[t],red:y_[t],gray:v_[t]}[n];return cd(u,h)},rF={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},iE=(t="base")=>rF[t],b2=({variant:t="filled",color:n,size:i="base",shadow:o="none",icon:u,iconProps:h={},children:g,className:v,...x})=>{const{defaultColorScheme:A}=Pi(),w=n||A;return P.jsx("button",{...x,className:`${iF(t,w,i,o)} ${v}`,children:u?P.jsx(Bn,{...h,className:iE(i),icon:u}):g})};function sF(t){return t!==null&&typeof t=="object"&&"name"in t&&"size"in t&&"type"in t&&typeof t.name=="string"&&typeof t.size=="number"&&typeof t.type=="string"}const oF=({src:t,alt:n,isEditable:i=!1,onChange:o,className:u="",name:h,control:g,user:v})=>{const[x,A]=J.useState(t||null),[w,C]=J.useState(!!t),M=J.useRef(null),R=cb({name:h,control:g}),U=!!g;J.useEffect(()=>{if(U){const F=R==null?void 0:R.field.value;if(sF(F)){const G=URL.createObjectURL(F);return A(G),C(!0),()=>URL.revokeObjectURL(G)}else typeof F=="string"&&F&&F!==t?(A(F),C(!0)):t?(A(t),C(!0)):(A(null),C(!1))}},[R==null?void 0:R.field.value,t]);const V=()=>{var F;i&&((F=M.current)==null||F.click())},k=F=>{var te;const G=(te=F.target.files)==null?void 0:te[0];if(G){const Y=URL.createObjectURL(G);A(Y),C(!0),U&&(R==null||R.field.onChange(G)),o&&o(G)}},L=F=>{F.stopPropagation(),A(null),C(!1),M.current&&(M.current.value=""),U&&(R==null||R.field.onChange(null)),o&&o(null)};return P.jsxs("div",{className:"relative flex items-center gap-10",children:[i&&w&&P.jsx("button",{type:"button",onClick:L,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:P.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[P.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),P.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${i?"cursor-pointer hover:opacity-80":""} ${u}`,onClick:V,children:[x?P.jsx("img",{src:x,alt:n,className:"w-full h-full object-cover rounded-full"}):P.jsx(h_,{size:60,user:v}),i&&P.jsxs(P.Fragment,{children:[P.jsx("input",{type:"file",ref:F=>{M.current=F,R&&R.field.ref(F)},onChange:k,onBlur:R==null?void 0:R.field.onBlur,accept:"image/*",className:"hidden"}),!w&&P.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:P.jsx(Bn,{icon:cq,className:"text-blue-500"})})]})]})]})};var rE,S_;function lF(){if(S_)return rE;S_=1;function t(L){this._maxSize=L,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(L){return this._values[L]},t.prototype.set=function(L,F){return this._size>=this._maxSize&&this.clear(),L in this._values||this._size++,this._values[L]=F};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,h=/^\s*(['"]?)(.*?)(\1)\s*$/,g=512,v=new t(g),x=new t(g),A=new t(g);rE={Cache:t,split:C,normalizePath:w,setter:function(L){var F=w(L);return x.get(L)||x.set(L,function(te,Y){for(var se=0,he=F.length,ve=te;se<he-1;){var me=F[se];if(me==="__proto__"||me==="constructor"||me==="prototype")return te;ve=ve[F[se++]]}ve[F[se]]=Y})},getter:function(L,F){var G=w(L);return A.get(L)||A.set(L,function(Y){for(var se=0,he=G.length;se<he;)if(Y!=null||!F)Y=Y[G[se++]];else return;return Y})},join:function(L){return L.reduce(function(F,G){return F+(R(G)||i.test(G)?"["+G+"]":(F?".":"")+G)},"")},forEach:function(L,F,G){M(Array.isArray(L)?L:C(L),F,G)}};function w(L){return v.get(L)||v.set(L,C(L).map(function(F){return F.replace(h,"$2")}))}function C(L){return L.match(n)||[""]}function M(L,F,G){var te=L.length,Y,se,he,ve;for(se=0;se<te;se++)Y=L[se],Y&&(k(Y)&&(Y='"'+Y+'"'),ve=R(Y),he=!ve&&/^\d+$/.test(Y),F.call(G,Y,ve,he,se,L))}function R(L){return typeof L=="string"&&L&&["'",'"'].indexOf(L.charAt(0))!==-1}function U(L){return L.match(o)&&!L.match(i)}function V(L){return u.test(L)}function k(L){return!R(L)&&(U(L)||V(L))}return rE}var A0=lF(),sE,T_;function uF(){if(T_)return sE;T_=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=w=>w.match(t)||[],i=w=>w[0].toUpperCase()+w.slice(1),o=(w,C)=>n(w).join(C).toLowerCase(),u=w=>n(w).reduce((C,M)=>`${C}${C?M[0].toUpperCase()+M.slice(1).toLowerCase():M.toLowerCase()}`,"");return sE={words:n,upperFirst:i,camelCase:u,pascalCase:w=>i(u(w)),snakeCase:w=>o(w,"_"),kebabCase:w=>o(w,"-"),sentenceCase:w=>i(o(w," ")),titleCase:w=>n(w).map(i).join(" ")},sE}var oE=uF(),x2={exports:{}},A_;function cF(){if(A_)return x2.exports;A_=1,x2.exports=function(u){return t(n(u),u)},x2.exports.array=t;function t(u,h){var g=u.length,v=new Array(g),x={},A=g,w=i(h),C=o(u);for(h.forEach(function(R){if(!C.has(R[0])||!C.has(R[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});A--;)x[A]||M(u[A],A,new Set);return v;function M(R,U,V){if(V.has(R)){var k;try{k=", node was:"+JSON.stringify(R)}catch{k=""}throw new Error("Cyclic dependency"+k)}if(!C.has(R))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(R));if(!x[U]){x[U]=!0;var L=w.get(R)||new Set;if(L=Array.from(L),U=L.length){V.add(R);do{var F=L[--U];M(F,C.get(F),V)}while(U);V.delete(R)}v[--g]=R}}}function n(u){for(var h=new Set,g=0,v=u.length;g<v;g++){var x=u[g];h.add(x[0]),h.add(x[1])}return Array.from(h)}function i(u){for(var h=new Map,g=0,v=u.length;g<v;g++){var x=u[g];h.has(x[0])||h.set(x[0],new Set),h.has(x[1])||h.set(x[1],new Set),h.get(x[0]).add(x[1])}return h}function o(u){for(var h=new Map,g=0,v=u.length;g<v;g++)h.set(u[g],g);return h}return x2.exports}var fF=cF();const dF=D3(fF),hF=Object.prototype.toString,mF=Error.prototype.toString,pF=RegExp.prototype.toString,gF=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",yF=/^Symbol\((.*)\)(.*)$/;function vF(t){return t!=+t?"NaN":t===0&&1/t<0?"-0":""+t}function w_(t,n=!1){if(t==null||t===!0||t===!1)return""+t;const i=typeof t;if(i==="number")return vF(t);if(i==="string")return n?`"${t}"`:t;if(i==="function")return"[Function "+(t.name||"anonymous")+"]";if(i==="symbol")return gF.call(t).replace(yF,"Symbol($1)");const o=hF.call(t).slice(8,-1);return o==="Date"?isNaN(t.getTime())?""+t:t.toISOString(t):o==="Error"||t instanceof Error?"["+mF.call(t)+"]":o==="RegExp"?pF.call(t):null}function um(t,n){let i=w_(t,n);return i!==null?i:JSON.stringify(t,function(o,u){let h=w_(this[o],n);return h!==null?h:u},2)}function E_(t){return t==null?[]:[].concat(t)}let C_,D_,M_,bF=/\$\{\s*(\w+)\s*\}/g;C_=Symbol.toStringTag;class O_{constructor(n,i,o,u){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[C_]="Error",this.name="ValidationError",this.value=i,this.path=o,this.type=u,this.errors=[],this.inner=[],E_(n).forEach(h=>{if(js.isError(h)){this.errors.push(...h.errors);const g=h.inner.length?h.inner:[h];this.inner.push(...g)}else this.errors.push(h)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}D_=Symbol.hasInstance,M_=Symbol.toStringTag;class js extends Error{static formatError(n,i){const o=i.label||i.path||"this";return i=Object.assign({},i,{path:o,originalPath:i.path}),typeof n=="string"?n.replace(bF,(u,h)=>um(i[h])):typeof n=="function"?n(i):n}static isError(n){return n&&n.name==="ValidationError"}constructor(n,i,o,u,h){const g=new O_(n,i,o,u);if(h)return g;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[M_]="Error",this.name=g.name,this.message=g.message,this.type=g.type,this.value=g.value,this.path=g.path,this.errors=g.errors,this.inner=g.inner,Error.captureStackTrace&&Error.captureStackTrace(this,js)}static[D_](n){return O_[Symbol.hasInstance](n)||super[Symbol.hasInstance](n)}}let Vc={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{const u=o!=null&&o!==i?` (cast from the value \`${um(o,!0)}\`).`:".";return n!=="mixed"?`${t} must be a \`${n}\` type, but the final value was: \`${um(i,!0)}\``+u:`${t} must match the configured type. The validated value was: \`${um(i,!0)}\``+u}},Bs={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},xF={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},lE={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},SF={isValue:"${path} field must be ${value}"},S2={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:Vc,string:Bs,number:xF,date:lE,object:S2,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:SF,tuple:{notType:t=>{const{path:n,value:i,spec:o}=t,u=o.types.length;if(Array.isArray(i)){if(i.length<u)return`${n} tuple value has too few items, expected a length of ${u} but got ${i.length} for value: \`${um(i,!0)}\``;if(i.length>u)return`${n} tuple value has too many items, expected a length of ${u} but got ${i.length} for value: \`${um(i,!0)}\``}return js.formatError(Vc.notType,t)}}});const uE=t=>t&&t.__isYupSchema__;class T2{static fromOptions(n,i){if(!i.then&&!i.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:u,otherwise:h}=i,g=typeof o=="function"?o:(...v)=>v.every(x=>x===o);return new T2(n,(v,x)=>{var A;let w=g(...v)?u:h;return(A=w==null?void 0:w(x))!=null?A:x})}constructor(n,i){this.fn=void 0,this.refs=n,this.refs=n,this.fn=i}resolve(n,i){let o=this.refs.map(h=>h.getValue(i==null?void 0:i.value,i==null?void 0:i.parent,i==null?void 0:i.context)),u=this.fn(o,n,i);if(u===void 0||u===n)return n;if(!uE(u))throw new TypeError("conditions must return a schema object");return u.resolve(i)}}const A2={context:"$",value:"."};class w0{constructor(n,i={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof n!="string")throw new TypeError("ref must be a string, got: "+n);if(this.key=n.trim(),n==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===A2.context,this.isValue=this.key[0]===A2.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?A2.context:this.isValue?A2.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&A0.getter(this.path,!0),this.map=i.map}getValue(n,i,o){let u=this.isContext?o:this.isValue?n:i;return this.getter&&(u=this.getter(u||{})),this.map&&(u=this.map(u)),u}cast(n,i){return this.getValue(n,i==null?void 0:i.parent,i==null?void 0:i.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(n){return n&&n.__isYupRef}}w0.prototype.__isYupRef=!0;const E0=t=>t==null;function Qy(t){function n({value:i,path:o="",options:u,originalValue:h,schema:g},v,x){const{name:A,test:w,params:C,message:M,skipAbsent:R}=t;let{parent:U,context:V,abortEarly:k=g.spec.abortEarly,disableStackTrace:L=g.spec.disableStackTrace}=u;function F(Ue){return w0.isRef(Ue)?Ue.getValue(i,U,V):Ue}function G(Ue={}){const ke=Object.assign({value:i,originalValue:h,label:g.spec.label,path:Ue.path||o,spec:g.spec,disableStackTrace:Ue.disableStackTrace||L},C,Ue.params);for(const We of Object.keys(ke))ke[We]=F(ke[We]);const ht=new js(js.formatError(Ue.message||M,ke),i,ke.path,Ue.type||A,ke.disableStackTrace);return ht.params=ke,ht}const te=k?v:x;let Y={path:o,parent:U,type:A,from:u.from,createError:G,resolve:F,options:u,originalValue:h,schema:g};const se=Ue=>{js.isError(Ue)?te(Ue):Ue?x(null):te(G())},he=Ue=>{js.isError(Ue)?te(Ue):v(Ue)};if(R&&E0(i))return se(!0);let me;try{var $e;if(me=w.call(Y,i,Y),typeof(($e=me)==null?void 0:$e.then)=="function"){if(u.sync)throw new Error(`Validation test of type: "${Y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(me).then(se,he)}}catch(Ue){he(Ue);return}se(me)}return n.OPTIONS=t,n}function TF(t,n,i,o=i){let u,h,g;return n?(A0.forEach(n,(v,x,A)=>{let w=x?v.slice(1,v.length-1):v;t=t.resolve({context:o,parent:u,value:i});let C=t.type==="tuple",M=A?parseInt(w,10):0;if(t.innerType||C){if(C&&!A)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${g}" must contain an index to the tuple element, e.g. "${g}[0]"`);if(i&&M>=i.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${v}, in the path: ${n}. because there is no value at that index. `);u=i,i=i&&i[M],t=C?t.spec.types[M]:t.innerType}if(!A){if(!t.fields||!t.fields[w])throw new Error(`The schema does not contain the path: ${n}. (failed at: ${g} which is a type: "${t.type}")`);u=i,i=i&&i[w],t=t.fields[w]}h=w,g=x?"["+v+"]":"."+v}),{schema:t,parent:u,parentPath:h}):{parent:u,parentPath:n,schema:t}}class w2 extends Set{describe(){const n=[];for(const i of this.values())n.push(w0.isRef(i)?i.describe():i);return n}resolveAll(n){let i=[];for(const o of this.values())i.push(n(o));return i}clone(){return new w2(this.values())}merge(n,i){const o=this.clone();return n.forEach(u=>o.add(u)),i.forEach(u=>o.delete(u)),o}}function Ky(t,n=new Map){if(uE(t)||!t||typeof t!="object")return t;if(n.has(t))return n.get(t);let i;if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=new Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=Ky(t[o],n)}else if(t instanceof Map){i=new Map,n.set(t,i);for(const[o,u]of t.entries())i.set(o,Ky(u,n))}else if(t instanceof Set){i=new Set,n.set(t,i);for(const o of t)i.add(Ky(o,n))}else if(t instanceof Object){i={},n.set(t,i);for(const[o,u]of Object.entries(t))i[o]=Ky(u,n)}else throw Error(`Unable to clone ${t}`);return i}class Lc{constructor(n){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new w2,this._blacklist=new w2,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Vc.notType)}),this.type=n.type,this._typeCheck=n.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},n==null?void 0:n.spec),this.withMutation(i=>{i.nonNullable()})}get _type(){return this.type}clone(n){if(this._mutate)return n&&Object.assign(this.spec,n),this;const i=Object.create(Object.getPrototypeOf(this));return i.type=this.type,i._typeCheck=this._typeCheck,i._whitelist=this._whitelist.clone(),i._blacklist=this._blacklist.clone(),i.internalTests=Object.assign({},this.internalTests),i.exclusiveTests=Object.assign({},this.exclusiveTests),i.deps=[...this.deps],i.conditions=[...this.conditions],i.tests=[...this.tests],i.transforms=[...this.transforms],i.spec=Ky(Object.assign({},this.spec,n)),i}label(n){let i=this.clone();return i.spec.label=n,i}meta(...n){if(n.length===0)return this.spec.meta;let i=this.clone();return i.spec.meta=Object.assign(i.spec.meta||{},n[0]),i}withMutation(n){let i=this._mutate;this._mutate=!0;let o=n(this);return this._mutate=i,o}concat(n){if(!n||n===this)return this;if(n.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${n.type}`);let i=this,o=n.clone();const u=Object.assign({},i.spec,o.spec);return o.spec=u,o.internalTests=Object.assign({},i.internalTests,o.internalTests),o._whitelist=i._whitelist.merge(n._whitelist,n._blacklist),o._blacklist=i._blacklist.merge(n._blacklist,n._whitelist),o.tests=i.tests,o.exclusiveTests=i.exclusiveTests,o.withMutation(h=>{n.tests.forEach(g=>{h.test(g.OPTIONS)})}),o.transforms=[...i.transforms,...o.transforms],o}isType(n){return n==null?!!(this.spec.nullable&&n===null||this.spec.optional&&n===void 0):this._typeCheck(n)}resolve(n){let i=this;if(i.conditions.length){let o=i.conditions;i=i.clone(),i.conditions=[],i=o.reduce((u,h)=>h.resolve(u,n),i),i=i.resolve(n)}return i}resolveOptions(n){var i,o,u,h;return Object.assign({},n,{from:n.from||[],strict:(i=n.strict)!=null?i:this.spec.strict,abortEarly:(o=n.abortEarly)!=null?o:this.spec.abortEarly,recursive:(u=n.recursive)!=null?u:this.spec.recursive,disableStackTrace:(h=n.disableStackTrace)!=null?h:this.spec.disableStackTrace})}cast(n,i={}){let o=this.resolve(Object.assign({value:n},i)),u=i.assert==="ignore-optionality",h=o._cast(n,i);if(i.assert!==!1&&!o.isType(h)){if(u&&E0(h))return h;let g=um(n),v=um(h);throw new TypeError(`The value of ${i.path||"field"} could not be cast to a value that satisfies the schema type: "${o.type}".
|
|
694
694
|
|
|
695
695
|
attempted value: ${g}
|
|
696
696
|
`+(v!==g?`result of cast: ${v}`:""))}return h}_cast(n,i){let o=n===void 0?n:this.transforms.reduce((u,h)=>h.call(this,u,n,this),n);return o===void 0&&(o=this.getDefault(i)),o}_validate(n,i={},o,u){let{path:h,originalValue:g=n,strict:v=this.spec.strict}=i,x=n;v||(x=this._cast(x,Object.assign({assert:!1},i)));let A=[];for(let w of Object.values(this.internalTests))w&&A.push(w);this.runTests({path:h,value:x,originalValue:g,options:i,tests:A},o,w=>{if(w.length)return u(w,x);this.runTests({path:h,value:x,originalValue:g,options:i,tests:this.tests},o,u)})}runTests(n,i,o){let u=!1,{tests:h,value:g,originalValue:v,path:x,options:A}=n,w=V=>{u||(u=!0,i(V,g))},C=V=>{u||(u=!0,o(V,g))},M=h.length,R=[];if(!M)return C([]);let U={value:g,originalValue:v,path:x,options:A,schema:this};for(let V=0;V<h.length;V++){const k=h[V];k(U,w,function(F){F&&(Array.isArray(F)?R.push(...F):R.push(F)),--M<=0&&C(R)})}}asNestedTest({key:n,index:i,parent:o,parentPath:u,originalParent:h,options:g}){const v=n??i;if(v==null)throw TypeError("Must include `key` or `index` for nested validations");const x=typeof v=="number";let A=o[v];const w=Object.assign({},g,{strict:!0,parent:o,value:A,originalValue:h[v],key:void 0,[x?"index":"key"]:v,path:x||v.includes(".")?`${u||""}[${x?v:`"${v}"`}]`:(u?`${u}.`:"")+n});return(C,M,R)=>this.resolve(w)._validate(A,w,M,R)}validate(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return new Promise((g,v)=>u._validate(n,i,(x,A)=>{js.isError(x)&&(x.value=A),v(x)},(x,A)=>{x.length?v(new js(x,A,void 0,void 0,h)):g(A)}))}validateSync(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h,g=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return u._validate(n,Object.assign({},i,{sync:!0}),(v,x)=>{throw js.isError(v)&&(v.value=x),v},(v,x)=>{if(v.length)throw new js(v,n,void 0,void 0,g);h=x}),h}isValid(n,i){return this.validate(n,i).then(()=>!0,o=>{if(js.isError(o))return!1;throw o})}isValidSync(n,i){try{return this.validateSync(n,i),!0}catch(o){if(js.isError(o))return!1;throw o}}_getDefault(n){let i=this.spec.default;return i==null?i:typeof i=="function"?i.call(this,n):Ky(i)}getDefault(n){return this.resolve(n||{})._getDefault(n)}default(n){return arguments.length===0?this._getDefault():this.clone({default:n})}strict(n=!0){return this.clone({strict:n})}nullability(n,i){const o=this.clone({nullable:n});return o.internalTests.nullable=Qy({message:i,name:"nullable",test(u){return u===null?this.schema.spec.nullable:!0}}),o}optionality(n,i){const o=this.clone({optional:n});return o.internalTests.optionality=Qy({message:i,name:"optionality",test(u){return u===void 0?this.schema.spec.optional:!0}}),o}optional(){return this.optionality(!0)}defined(n=Vc.defined){return this.optionality(!1,n)}nullable(){return this.nullability(!0)}nonNullable(n=Vc.notNull){return this.nullability(!1,n)}required(n=Vc.required){return this.clone().withMutation(i=>i.nonNullable(n).defined(n))}notRequired(){return this.clone().withMutation(n=>n.nullable().optional())}transform(n){let i=this.clone();return i.transforms.push(n),i}test(...n){let i;if(n.length===1?typeof n[0]=="function"?i={test:n[0]}:i=n[0]:n.length===2?i={name:n[0],test:n[1]}:i={name:n[0],message:n[1],test:n[2]},i.message===void 0&&(i.message=Vc.default),typeof i.test!="function")throw new TypeError("`test` is a required parameters");let o=this.clone(),u=Qy(i),h=i.exclusive||i.name&&o.exclusiveTests[i.name]===!0;if(i.exclusive&&!i.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return i.name&&(o.exclusiveTests[i.name]=!!i.exclusive),o.tests=o.tests.filter(g=>!(g.OPTIONS.name===i.name&&(h||g.OPTIONS.test===u.OPTIONS.test))),o.tests.push(u),o}when(n,i){!Array.isArray(n)&&typeof n!="string"&&(i=n,n=".");let o=this.clone(),u=E_(n).map(h=>new w0(h));return u.forEach(h=>{h.isSibling&&o.deps.push(h.key)}),o.conditions.push(typeof i=="function"?new T2(u,i):T2.fromOptions(u,i)),o}typeError(n){let i=this.clone();return i.internalTests.typeError=Qy({message:n,name:"typeError",skipAbsent:!0,test(o){return this.schema._typeCheck(o)?!0:this.createError({params:{type:this.schema.type}})}}),i}oneOf(n,i=Vc.oneOf){let o=this.clone();return n.forEach(u=>{o._whitelist.add(u),o._blacklist.delete(u)}),o.internalTests.whiteList=Qy({message:i,name:"oneOf",skipAbsent:!0,test(u){let h=this.schema._whitelist,g=h.resolveAll(this.resolve);return g.includes(u)?!0:this.createError({params:{values:Array.from(h).join(", "),resolved:g}})}}),o}notOneOf(n,i=Vc.notOneOf){let o=this.clone();return n.forEach(u=>{o._blacklist.add(u),o._whitelist.delete(u)}),o.internalTests.blacklist=Qy({message:i,name:"notOneOf",test(u){let h=this.schema._blacklist,g=h.resolveAll(this.resolve);return g.includes(u)?this.createError({params:{values:Array.from(h).join(", "),resolved:g}}):!0}}),o}strip(n=!0){let i=this.clone();return i.spec.strip=n,i}describe(n){const i=(n?this.resolve(n):this).clone(),{label:o,meta:u,optional:h,nullable:g}=i.spec;return{meta:u,label:o,optional:h,nullable:g,default:i.getDefault(n),type:i.type,oneOf:i._whitelist.describe(),notOneOf:i._blacklist.describe(),tests:i.tests.map(x=>({name:x.OPTIONS.name,params:x.OPTIONS.params})).filter((x,A,w)=>w.findIndex(C=>C.name===x.name)===A)}}}Lc.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])Lc.prototype[`${t}At`]=function(n,i,o={}){const{parent:u,parentPath:h,schema:g}=TF(this,n,i,o.context);return g[t](u&&u[h],Object.assign({},o,{parent:u,path:n}))};for(const t of["equals","is"])Lc.prototype[t]=Lc.prototype.oneOf;for(const t of["not","nope"])Lc.prototype[t]=Lc.prototype.notOneOf;const AF=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function wF(t){const n=cE(t);if(!n)return Date.parse?Date.parse(t):Number.NaN;if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let i=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(i=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(i=0-i)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+i,n.second,n.millisecond)}function cE(t){var n,i;const o=AF.exec(t);return o?{year:fd(o[1]),month:fd(o[2],1)-1,day:fd(o[3],1),hour:fd(o[4]),minute:fd(o[5]),second:fd(o[6]),millisecond:o[7]?fd(o[7].substring(0,3)):0,precision:(n=(i=o[7])==null?void 0:i.length)!=null?n:void 0,z:o[8]||void 0,plusMinus:o[9]||void 0,hourOffset:fd(o[10]),minuteOffset:fd(o[11])}:null}function fd(t,n=0){return Number(t)||n}let EF=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,CF=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,DF=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,MF="^\\d{4}-\\d{2}-\\d{2}",OF="\\d{2}:\\d{2}:\\d{2}",RF="(([+-]\\d{2}(:?\\d{2})?)|Z)",_F=new RegExp(`${MF}T${OF}(\\.\\d+)?${RF}$`),zF=t=>E0(t)||t===t.trim(),NF={}.toString();function fE(){return new R_}class R_ extends Lc{constructor(){super({type:"string",check(n){return n instanceof String&&(n=n.valueOf()),typeof n=="string"}}),this.withMutation(()=>{this.transform((n,i,o)=>{if(!o.spec.coerce||o.isType(n)||Array.isArray(n))return n;const u=n!=null&&n.toString?n.toString():n;return u===NF?n:u})})}required(n){return super.required(n).withMutation(i=>i.test({message:n||Vc.required,name:"required",skipAbsent:!0,test:o=>!!o.length}))}notRequired(){return super.notRequired().withMutation(n=>(n.tests=n.tests.filter(i=>i.OPTIONS.name!=="required"),n))}length(n,i=Bs.length){return this.test({message:i,name:"length",exclusive:!0,params:{length:n},skipAbsent:!0,test(o){return o.length===this.resolve(n)}})}min(n,i=Bs.min){return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(o){return o.length>=this.resolve(n)}})}max(n,i=Bs.max){return this.test({name:"max",exclusive:!0,message:i,params:{max:n},skipAbsent:!0,test(o){return o.length<=this.resolve(n)}})}matches(n,i){let o=!1,u,h;return i&&(typeof i=="object"?{excludeEmptyString:o=!1,message:u,name:h}=i:u=i),this.test({name:h||"matches",message:u||Bs.matches,params:{regex:n},skipAbsent:!0,test:g=>g===""&&o||g.search(n)!==-1})}email(n=Bs.email){return this.matches(EF,{name:"email",message:n,excludeEmptyString:!0})}url(n=Bs.url){return this.matches(CF,{name:"url",message:n,excludeEmptyString:!0})}uuid(n=Bs.uuid){return this.matches(DF,{name:"uuid",message:n,excludeEmptyString:!1})}datetime(n){let i="",o,u;return n&&(typeof n=="object"?{message:i="",allowOffset:o=!1,precision:u=void 0}=n:i=n),this.matches(_F,{name:"datetime",message:i||Bs.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:i||Bs.datetime_offset,params:{allowOffset:o},skipAbsent:!0,test:h=>{if(!h||o)return!0;const g=cE(h);return g?!!g.z:!1}}).test({name:"datetime_precision",message:i||Bs.datetime_precision,params:{precision:u},skipAbsent:!0,test:h=>{if(!h||u==null)return!0;const g=cE(h);return g?g.precision===u:!1}})}ensure(){return this.default("").transform(n=>n===null?"":n)}trim(n=Bs.trim){return this.transform(i=>i!=null?i.trim():i).test({message:n,name:"trim",test:zF})}lowercase(n=Bs.lowercase){return this.transform(i=>E0(i)?i:i.toLowerCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>E0(i)||i===i.toLowerCase()})}uppercase(n=Bs.uppercase){return this.transform(i=>E0(i)?i:i.toUpperCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>E0(i)||i===i.toUpperCase()})}}fE.prototype=R_.prototype;let VF=new Date(""),LF=t=>Object.prototype.toString.call(t)==="[object Date]";class dE extends Lc{constructor(){super({type:"date",check(n){return LF(n)&&!isNaN(n.getTime())}}),this.withMutation(()=>{this.transform((n,i,o)=>!o.spec.coerce||o.isType(n)||n===null?n:(n=wF(n),isNaN(n)?dE.INVALID_DATE:new Date(n)))})}prepareParam(n,i){let o;if(w0.isRef(n))o=n;else{let u=this.cast(n);if(!this._typeCheck(u))throw new TypeError(`\`${i}\` must be a Date or a value that can be \`cast()\` to a Date`);o=u}return o}min(n,i=lE.min){let o=this.prepareParam(n,"min");return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(u){return u>=this.resolve(o)}})}max(n,i=lE.max){let o=this.prepareParam(n,"max");return this.test({message:i,name:"max",exclusive:!0,params:{max:n},skipAbsent:!0,test(u){return u<=this.resolve(o)}})}}dE.INVALID_DATE=VF;function UF(t,n=[]){let i=[],o=new Set,u=new Set(n.map(([g,v])=>`${g}-${v}`));function h(g,v){let x=A0.split(g)[0];o.add(x),u.has(`${v}-${x}`)||i.push([v,x])}for(const g of Object.keys(t)){let v=t[g];o.add(g),w0.isRef(v)&&v.isSibling?h(v.path,g):uE(v)&&"deps"in v&&v.deps.forEach(x=>h(x,g))}return dF.array(Array.from(o),i).reverse()}function __(t,n){let i=1/0;return t.some((o,u)=>{var h;if((h=n.path)!=null&&h.includes(o))return i=u,!0}),i}function z_(t){return(n,i)=>__(t,n)-__(t,i)}const jF=(t,n,i)=>{if(typeof t!="string")return t;let o=t;try{o=JSON.parse(t)}catch{}return i.isType(o)?o:t};function E2(t){if("fields"in t){const n={};for(const[i,o]of Object.entries(t.fields))n[i]=E2(o);return t.setFields(n)}if(t.type==="array"){const n=t.optional();return n.innerType&&(n.innerType=E2(n.innerType)),n}return t.type==="tuple"?t.optional().clone({types:t.spec.types.map(E2)}):"optional"in t?t.optional():t}const BF=(t,n)=>{const i=[...A0.normalizePath(n)];if(i.length===1)return i[0]in t;let o=i.pop(),u=A0.getter(A0.join(i),!0)(t);return!!(u&&o in u)};let N_=t=>Object.prototype.toString.call(t)==="[object Object]";function V_(t,n){let i=Object.keys(t.fields);return Object.keys(n).filter(o=>i.indexOf(o)===-1)}const $F=z_([]);function L_(t){return new U_(t)}class U_ extends Lc{constructor(n){super({type:"object",check(i){return N_(i)||typeof i=="function"}}),this.fields=Object.create(null),this._sortErrors=$F,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{n&&this.shape(n)})}_cast(n,i={}){var o;let u=super._cast(n,i);if(u===void 0)return this.getDefault(i);if(!this._typeCheck(u))return u;let h=this.fields,g=(o=i.stripUnknown)!=null?o:this.spec.noUnknown,v=[].concat(this._nodes,Object.keys(u).filter(C=>!this._nodes.includes(C))),x={},A=Object.assign({},i,{parent:x,__validating:i.__validating||!1}),w=!1;for(const C of v){let M=h[C],R=C in u;if(M){let U,V=u[C];A.path=(i.path?`${i.path}.`:"")+C,M=M.resolve({value:V,context:i.context,parent:x});let k=M instanceof Lc?M.spec:void 0,L=k==null?void 0:k.strict;if(k!=null&&k.strip){w=w||C in u;continue}U=!i.__validating||!L?M.cast(u[C],A):u[C],U!==void 0&&(x[C]=U)}else R&&!g&&(x[C]=u[C]);(R!==C in x||x[C]!==u[C])&&(w=!0)}return w?x:u}_validate(n,i={},o,u){let{from:h=[],originalValue:g=n,recursive:v=this.spec.recursive}=i;i.from=[{schema:this,value:g},...h],i.__validating=!0,i.originalValue=g,super._validate(n,i,o,(x,A)=>{if(!v||!N_(A)){u(x,A);return}g=g||A;let w=[];for(let C of this._nodes){let M=this.fields[C];!M||w0.isRef(M)||w.push(M.asNestedTest({options:i,key:C,parent:A,parentPath:i.path,originalParent:g}))}this.runTests({tests:w,value:A,originalValue:g,options:i},o,C=>{u(C.sort(this._sortErrors).concat(x),A)})})}clone(n){const i=super.clone(n);return i.fields=Object.assign({},this.fields),i._nodes=this._nodes,i._excludedEdges=this._excludedEdges,i._sortErrors=this._sortErrors,i}concat(n){let i=super.concat(n),o=i.fields;for(let[u,h]of Object.entries(this.fields)){const g=o[u];o[u]=g===void 0?h:g}return i.withMutation(u=>u.setFields(o,[...this._excludedEdges,...n._excludedEdges]))}_getDefault(n){if("default"in this.spec)return super._getDefault(n);if(!this._nodes.length)return;let i={};return this._nodes.forEach(o=>{var u;const h=this.fields[o];let g=n;(u=g)!=null&&u.value&&(g=Object.assign({},g,{parent:g.value,value:g.value[o]})),i[o]=h&&"getDefault"in h?h.getDefault(g):void 0}),i}setFields(n,i){let o=this.clone();return o.fields=n,o._nodes=UF(n,i),o._sortErrors=z_(Object.keys(n)),i&&(o._excludedEdges=i),o}shape(n,i=[]){return this.clone().withMutation(o=>{let u=o._excludedEdges;return i.length&&(Array.isArray(i[0])||(i=[i]),u=[...o._excludedEdges,...i]),o.setFields(Object.assign(o.fields,n),u)})}partial(){const n={};for(const[i,o]of Object.entries(this.fields))n[i]="optional"in o&&o.optional instanceof Function?o.optional():o;return this.setFields(n)}deepPartial(){return E2(this)}pick(n){const i={};for(const o of n)this.fields[o]&&(i[o]=this.fields[o]);return this.setFields(i,this._excludedEdges.filter(([o,u])=>n.includes(o)&&n.includes(u)))}omit(n){const i=[];for(const o of Object.keys(this.fields))n.includes(o)||i.push(o);return this.pick(i)}from(n,i,o){let u=A0.getter(n,!0);return this.transform(h=>{if(!h)return h;let g=h;return BF(h,n)&&(g=Object.assign({},h),o||delete g[n],g[i]=u(h)),g})}json(){return this.transform(jF)}exact(n){return this.test({name:"exact",exclusive:!0,message:n||S2.exact,test(i){if(i==null)return!0;const o=V_(this.schema,i);return o.length===0||this.createError({params:{properties:o.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(n=!0,i=S2.noUnknown){typeof n!="boolean"&&(i=n,n=!0);let o=this.test({name:"noUnknown",exclusive:!0,message:i,test(u){if(u==null)return!0;const h=V_(this.schema,u);return!n||h.length===0||this.createError({params:{unknown:h.join(", ")}})}});return o.spec.noUnknown=n,o}unknown(n=!0,i=S2.noUnknown){return this.noUnknown(!n,i)}transformKeys(n){return this.transform(i=>{if(!i)return i;const o={};for(const u of Object.keys(i))o[n(u)]=i[u];return o})}camelCase(){return this.transformKeys(oE.camelCase)}snakeCase(){return this.transformKeys(oE.snakeCase)}constantCase(){return this.transformKeys(n=>oE.snakeCase(n).toUpperCase())}describe(n){const i=(n?this.resolve(n):this).clone(),o=super.describe(n);o.fields={};for(const[h,g]of Object.entries(i.fields)){var u;let v=n;(u=v)!=null&&u.value&&(v=Object.assign({},v,{parent:v.value,value:v.value[h]})),o.fields[h]=g.describe(v)}return o}}L_.prototype=U_.prototype;const HF=L_({name:fE(),base64:fE()}),kF=({imageUrl:t,title:n,subtitle:i})=>P.jsxs("section",{className:"gap-10 flex flex-col items-center justify-center",children:[P.jsx("img",{src:t,alt:n,width:100,height:100}),P.jsx("h1",{className:"font-bold text-2xl align-middle",children:n}),P.jsx("p",{className:"text-lg align-middle font-semibold text-gray-500",children:i})]}),PF=({size:t=16,strokeWidth:n=2,color:i="#1DA696",...o})=>{const u=(t-n)/2,h=2*Math.PI*u,{className:g="",...v}=o;return P.jsx("div",{...v,className:`relative flex items-center justify-center ${g}`,children:P.jsx("svg",{height:t,width:t,className:"animate-spin",children:P.jsx("circle",{stroke:i,fill:"transparent",strokeWidth:n,strokeDasharray:h+" "+h,strokeDashoffset:h/4,r:u,cx:t/2,cy:t/2})})})},YF=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g})=>{const{field:{value:v="",onChange:x,ref:A,onBlur:w},fieldState:{error:C}}=cb({name:i,control:n}),[M,R]=J.useState(!1),{t:U}=Pi();return P.jsxs("label",{className:`flex flex-col group gap-8 select-none ${h&&"cursor-not-allowed"} ${u}`,htmlFor:i,children:[P.jsx("h6",{className:`text-gray-600 font-600 group ${C&&"!text-red-500"} text-label ${h&&"text-gray-300"}`,children:t}),P.jsxs("label",{htmlFor:i,className:`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as r } from "../../_virtual/
|
|
1
|
+
import { __module as r } from "../../_virtual/index2.js";
|
|
2
2
|
import { __require as s } from "./node_modules/react-is/index.js";
|
|
3
3
|
import { __require as t } from "./factoryWithTypeCheckers.js";
|
|
4
4
|
import { __require as p } from "./factoryWithThrowingShims.js";
|