digital-rabbit-cl 1.2.5 → 1.2.6

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.
@@ -1,11 +1,11 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-width:var(--border-width, .15em);border-radius:var(--border-radius, 0px);border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:var(--button-padding-small)}.Button-module__sizeDefault___iwWOV{padding:var(--button-padding-default)}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:var(--form-label-padding-bottom)}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormError-module__formError___kaUBn{font-size:.875em;margin-top:var(--form-error-margin-top);font-weight:400}.FormGroup-module__formGroup___aVI-B{display:flex;flex-direction:column;margin-bottom:var(--form-group-margin-bottom)}.FormGroup-module__inputWrapper___429QE{display:flex;flex-direction:column;gap:.5em}.FormGroup-module__indented___t61iz{padding-left:.5em}.FormGroup-module__formGroup___aVI-B.FormGroup-module__disabled___W-tJ0{opacity:.6;pointer-events:none}.FormGroup-module__required___mO3xA{color:inherit;margin-left:.125em}.FormGroup-module__errorMessage___SHzl3{font-size:.875em;margin-top:.25rem;font-weight:400}.Input-module__input___WjT81{background-color:transparent;border-width:var(--border-width, .15em);border-radius:var(--border-radius, 0px);border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:var(--input-padding-small)}.Input-module__sizeDefault___AxPA0{padding:var(--input-padding-default)}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-width:var(--border-width, .15em);border-radius:var(--border-radius, 0px);border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:var(--textarea-padding-small)}.Textarea-module__sizeDefault___LL2Uc{padding:var(--textarea-padding-default)}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-width:var(--border-width, .15em);border-style:solid;border-radius:var(--border-radius, 0px);box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:var(--select-padding-small)}.Select-module__sizeDefault___EiWvW{padding:var(--select-padding-default)}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.Hamburger-module__hamburger___Tf4-t{background:transparent;border:none;cursor:pointer;display:none;flex-direction:column;justify-content:space-around;height:2em;outline:none;padding:0;position:fixed;right:1em;width:2em;z-index:11}.Hamburger-module__line___gybZM{background:currentColor;border-radius:var(--hamburger-border-radius, 10px);height:.25em;position:relative;transform-origin:1px;transition:all .3s linear;width:2em}.Hamburger-module__line___gybZM:first-child{transform:rotate(0)}.Hamburger-module__line___gybZM:nth-child(2){opacity:1;transform:translate(0)}.Hamburger-module__line___gybZM:nth-child(3){transform:rotate(0)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:first-child{transform:rotate(45deg)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(2){opacity:0;transform:translate(20px)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(3){transform:rotate(-45deg)}.Header-module__header___RUooH{width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding)}.ResponsiveNav-module__nav___xOfv5{display:flex}.ResponsiveNav-module__nav___xOfv5>*,.ResponsiveNav-module__nav___xOfv5>a{color:inherit;font-weight:700;text-decoration:none}.ResponsiveNav-module__navMobile___h795P{background:var(--mobile-nav-background, #0066cc);color:var(--mobile-nav-color, #000);flex-direction:column;font-size:2rem;height:100vh;padding-top:var(--nav-padding-top);position:fixed;top:0;right:0;text-align:left;text-transform:uppercase;transition:transform .3s ease-in-out;width:100%;z-index:10;transform:translate(100%)}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__open___WDCAf{transform:translate(0)}.ResponsiveNav-module__navMobile___h795P>a{padding:var(--nav-link-padding);text-align:center;width:100%}.ResponsiveNav-module__navMobile___h795P>a.active,.ResponsiveNav-module__navMobile___h795P>a:hover{background:var(--mobile-nav-active-background, #000);color:var(--mobile-nav-active-color, #0066cc)}.ResponsiveNav-module__navMobile___h795P>button{align-self:center;margin:var(--nav-button-margin)}.ResponsiveNav-module__navMobile___h795P>button:hover{color:var(--mobile-nav-button-hover-text-color, #4381c1)!important}.ResponsiveNav-module__navDesktop___9wscZ{align-items:center;flex-direction:row;height:auto}.ResponsiveNav-module__navDesktop___9wscZ>*{margin-left:1.25rem}.ResponsiveNav-module__navDesktop___9wscZ>a.active,.ResponsiveNav-module__navDesktop___9wscZ>a:hover{opacity:.5}.Stack-module__stack___yUU-B{display:flex;gap:.5em}.Stack-module__vertical___sKTyQ{flex-direction:column;margin-bottom:.5em}.Stack-module__horizontal___YsvtV{flex-direction:row;align-items:center}.ResponsiveSection-module__section___gBESK{width:100%;padding:0}.ResponsiveSection-module__innerDiv___r1bky{max-width:var(--max-width);margin:0 auto;padding:var(--section-padding)}.Hero-module__hero___IB2tg{padding:var(--hero-padding, 3rem 0)}.Hero-module__content___rkkfQ h1{font-size:var(--hero-h1-font-size, 2rem);margin-bottom:var(--hero-h1-margin-bottom)}.Hero-module__content___rkkfQ p{font-size:var(--hero-p-font-size, 1.125rem);line-height:1.6}.Footer-module__footer___A76NF{width:100%;margin-top:auto}.Footer-module__container___QneNs{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--footer-font-size);max-width:var(--footer-max-width);padding:var(--footer-padding)}.FeatureCard-module__card___XQt66{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--feature-card-padding)}.FeatureCard-module__icon___dXJ92{font-size:var(--feature-icon-font-size, 2.5rem);margin-bottom:var(--feature-icon-margin-bottom);color:var(--feature-icon-color, #0066cc)}.FeatureCard-module__title___KxXyA{font-size:var(--feature-title-font-size, 1.25rem);font-weight:600;margin-bottom:var(--feature-title-margin-bottom);color:var(--feature-title-color, inherit)}.FeatureCard-module__content___68xkw{font-size:1rem;line-height:1.6;color:var(--feature-content-color, #666)}.FeatureGridSection-module__section___wZrbC{padding:var(--section-padding-vertical) 0}.FeatureGridSection-module__grid___iwPJv{display:grid;gap:2rem;grid-template-columns:var(--grid-template-columns, 1fr)}.PageLayout-module__layoutContainer___diLdT{display:flex;flex-direction:column;min-height:100vh}.PageLayout-module__content___h2mBr{flex:1 0 auto;display:flex;flex-direction:column}.PageLayout-module__header___ChdTF{flex-shrink:0}.PageLayout-module__main___Sw7Pv{flex:1}.PageLayout-module__mainPadded___ZKio3{padding:var(--main-padding-vertical) 0}.PageLayout-module__footer___DUw6m{flex-shrink:0}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
2
  import { jsx as w, jsxs as Q, Fragment as Je } from "react/jsx-runtime";
3
- import V, { createContext as xr, useContext as Fr, useState as Xe, useLayoutEffect as kr, useMemo as be, useSyncExternalStore as Vr, useRef as pt, useEffect as Ut } from "react";
4
- const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT8P", zr = "Button-module__sizeDefault___iwWOV", ke = {
5
- button: Cr,
6
- sizeSmall: Er,
7
- sizeDefault: zr
8
- }, $r = ({
3
+ import V, { createContext as Fr, useContext as xr, useState as Xe, useEffect as Ye, useMemo as be, useSyncExternalStore as kr, useRef as vt } from "react";
4
+ const Vr = "Button-module__button___2ZuB7", Cr = "Button-module__sizeSmall___DRT8P", Er = "Button-module__sizeDefault___iwWOV", ke = {
5
+ button: Vr,
6
+ sizeSmall: Cr,
7
+ sizeDefault: Er
8
+ }, zr = ({
9
9
  isActive: e,
10
10
  disabled: r,
11
11
  buttonColor: t = "#FFF",
@@ -23,7 +23,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
23
23
  color: m,
24
24
  opacity: y
25
25
  };
26
- }, vt = {
26
+ }, bt = {
27
27
  primary: "#000",
28
28
  secondary: "#FFF",
29
29
  accent: "#4381C1",
@@ -31,7 +31,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
31
31
  success: "#008000",
32
32
  warning: "#FFEB3B"
33
33
  }, jt = {
34
- colors: vt,
34
+ colors: bt,
35
35
  fonts: {
36
36
  color: "#000",
37
37
  lineHeight: 1.5,
@@ -49,7 +49,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
49
49
  buttons: {
50
50
  textColor: "#FFF",
51
51
  primary: {
52
- textColor: vt.secondary
52
+ textColor: bt.secondary
53
53
  }
54
54
  },
55
55
  border: {
@@ -67,7 +67,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
67
67
  wrapperPaddingSm: "0.5rem",
68
68
  wrapperPadding: "1rem"
69
69
  }
70
- }, Wt = xr(jt), To = ({ theme: e = jt, children: r }) => /* @__PURE__ */ w(Wt.Provider, { value: e, children: r }), L = () => Fr(Wt), Io = ({
70
+ }, Wt = Fr(jt), Mo = ({ theme: e = jt, children: r }) => /* @__PURE__ */ w(Wt.Provider, { value: e, children: r }), L = () => xr(Wt), To = ({
71
71
  color: e,
72
72
  hoverColor: r,
73
73
  hoverTextColor: t,
@@ -85,7 +85,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
85
85
  let S;
86
86
  s ? S = s : S = e ? f.buttons.textColor : f.buttons.primary.textColor;
87
87
  const R = {
88
- ...$r({
88
+ ...zr({
89
89
  isActive: b,
90
90
  disabled: m,
91
91
  buttonColor: e || f.colors.primary,
@@ -99,7 +99,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
99
99
  "--border-radius": f.border.radius,
100
100
  "--button-padding-small": `calc(${f.fonts.rhythm} * 0.07) calc(${f.fonts.rhythm} * 0.35)`,
101
101
  "--button-padding-default": `calc(${f.fonts.rhythm} * 0.17) calc(${f.fonts.rhythm} * 0.35)`
102
- }, x = [
102
+ }, F = [
103
103
  ke.button,
104
104
  o === "small" ? ke.sizeSmall : ke.sizeDefault,
105
105
  n ? ke.outline : ""
@@ -107,7 +107,7 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
107
107
  return /* @__PURE__ */ w(
108
108
  "button",
109
109
  {
110
- className: x,
110
+ className: F,
111
111
  disabled: m,
112
112
  onClick: y,
113
113
  onMouseEnter: () => C(!0),
@@ -122,33 +122,33 @@ const Cr = "Button-module__button___2ZuB7", Er = "Button-module__sizeSmall___DRT
122
122
  }
123
123
  );
124
124
  };
125
- var bt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), Ar = new Uint8Array(16);
126
- function Pr() {
127
- if (!bt)
125
+ var St = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), $r = new Uint8Array(16);
126
+ function Ar() {
127
+ if (!St)
128
128
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
129
- return bt(Ar);
129
+ return St($r);
130
130
  }
131
131
  var qt = [];
132
132
  for (var Ve = 0; Ve < 256; ++Ve)
133
133
  qt[Ve] = (Ve + 256).toString(16).substr(1);
134
- function Dr(e, r) {
134
+ function Pr(e, r) {
135
135
  var t = 0, s = qt;
136
136
  return [s[e[t++]], s[e[t++]], s[e[t++]], s[e[t++]], "-", s[e[t++]], s[e[t++]], "-", s[e[t++]], s[e[t++]], "-", s[e[t++]], s[e[t++]], "-", s[e[t++]], s[e[t++]], s[e[t++]], s[e[t++]], s[e[t++]], s[e[t++]]].join("");
137
137
  }
138
138
  function Gt(e, r, t) {
139
139
  var s = r && t || 0;
140
140
  typeof e == "string" && (r = e === "binary" ? new Array(16) : null, e = null), e = e || {};
141
- var n = e.random || (e.rng || Pr)();
141
+ var n = e.random || (e.rng || Ar)();
142
142
  if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, r)
143
143
  for (var o = 0; o < 16; ++o)
144
144
  r[s + o] = n[o];
145
- return r || Dr(n);
145
+ return r || Pr(n);
146
146
  }
147
- const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kkluC", Br = "Checkbox-module__label___cwRtI", Te = {
148
- container: Nr,
149
- svg: Rr,
150
- label: Br
151
- }, Or = ({
147
+ const Dr = "Checkbox-module__container___aV9qz", Nr = "Checkbox-module__svg___kkluC", Rr = "Checkbox-module__label___cwRtI", Te = {
148
+ container: Dr,
149
+ svg: Nr,
150
+ label: Rr
151
+ }, Br = ({
152
152
  color: e = "#000",
153
153
  checkmarkColor: r,
154
154
  disabled: t = !1,
@@ -161,10 +161,10 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
161
161
  cursor: t ? "default" : "pointer",
162
162
  opacity: t ? 0.3 : 1
163
163
  };
164
- }, Lr = "FormLabel-module__label___0M-fo", Mr = "FormLabel-module__disabled___ktIFp", St = {
165
- label: Lr,
166
- disabled: Mr
167
- }, Tr = ({
164
+ }, Or = "FormLabel-module__label___0M-fo", Lr = "FormLabel-module__disabled___ktIFp", wt = {
165
+ label: Or,
166
+ disabled: Lr
167
+ }, Mr = ({
168
168
  color: e = "#000",
169
169
  disabled: r = !1,
170
170
  fontSize: t = ".85em"
@@ -173,7 +173,7 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
173
173
  fontSize: t,
174
174
  opacity: r ? 0.5 : 1,
175
175
  cursor: r ? "not-allowed" : "default"
176
- }), Ye = ({
176
+ }), et = ({
177
177
  children: e,
178
178
  color: r,
179
179
  disabled: t = !1,
@@ -183,7 +183,7 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
183
183
  style: l,
184
184
  ...a
185
185
  }) => {
186
- const d = L(), m = d.colors.error, y = s ? m : r || d.colors.primary, h = Tr({
186
+ const d = L(), m = d.colors.error, y = s ? m : r || d.colors.primary, h = Mr({
187
187
  color: y,
188
188
  disabled: t,
189
189
  fontSize: n || ".85em"
@@ -194,9 +194,9 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
194
194
  opacity: h.opacity,
195
195
  cursor: h.cursor,
196
196
  ...l
197
- }, b = [St.label, t ? St.disabled : ""].filter(Boolean).join(" ");
197
+ }, b = [wt.label, t ? wt.disabled : ""].filter(Boolean).join(" ");
198
198
  return /* @__PURE__ */ w("label", { className: b, htmlFor: o, style: f, ...a, children: e });
199
- }, Ir = ({
199
+ }, Tr = ({
200
200
  checked: e = !1,
201
201
  checkmarkColor: r,
202
202
  color: t,
@@ -212,7 +212,7 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
212
212
  style: f,
213
213
  ...b
214
214
  }) => {
215
- const C = L(), S = l || Gt(), k = C.colors.error, R = n ? k : t || C.colors.primary, x = Or({
215
+ const C = L(), S = l || Gt(), k = C.colors.error, R = n ? k : t || C.colors.primary, F = Br({
216
216
  color: R,
217
217
  checkmarkColor: r,
218
218
  disabled: s,
@@ -220,9 +220,9 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
220
220
  }), $ = (O) => {
221
221
  s || h(O);
222
222
  }, z = {
223
- cursor: x.cursor,
223
+ cursor: F.cursor,
224
224
  fontSize: o || C.fonts.size,
225
- opacity: x.opacity,
225
+ opacity: F.opacity,
226
226
  ...f
227
227
  }, E = {
228
228
  width: o || "1rem"
@@ -257,9 +257,9 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
257
257
  height: "100",
258
258
  width: "100",
259
259
  style: {
260
- fill: a && e ? x.boxColor : "transparent",
260
+ fill: a && e ? F.boxColor : "transparent",
261
261
  strokeWidth: "25",
262
- stroke: x.boxColor
262
+ stroke: F.boxColor
263
263
  }
264
264
  }
265
265
  ),
@@ -267,7 +267,7 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
267
267
  "path",
268
268
  {
269
269
  d: "M 25 45 L 45 65 L 75 30",
270
- stroke: x.checkmarkColor,
270
+ stroke: F.checkmarkColor,
271
271
  strokeWidth: "15",
272
272
  fill: "transparent"
273
273
  }
@@ -276,12 +276,12 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
276
276
  }
277
277
  ),
278
278
  d && /* @__PURE__ */ w(
279
- Ye,
279
+ et,
280
280
  {
281
281
  htmlFor: S,
282
282
  className: Te.label,
283
283
  style: m,
284
- color: x.boxColor,
284
+ color: F.boxColor,
285
285
  disabled: s,
286
286
  error: n,
287
287
  fontSize: o,
@@ -289,26 +289,27 @@ const Nr = "Checkbox-module__container___aV9qz", Rr = "Checkbox-module__svg___kk
289
289
  }
290
290
  )
291
291
  ] });
292
- }, Ho = () => {
292
+ }, Io = () => {
293
293
  const e = L();
294
- return kr(() => {
294
+ return Ye(() => {
295
+ if (typeof document > "u") return;
295
296
  const r = document.documentElement;
296
297
  e.fonts && (e.fonts.fontFamily && r.style.setProperty("--font-family", e.fonts.fontFamily), e.fonts.size && r.style.setProperty("--font-size", e.fonts.size), e.fonts.lineHeight !== void 0 && r.style.setProperty("--line-height", e.fonts.lineHeight.toString()), e.fonts.fontWeightHeader !== void 0 && r.style.setProperty("--font-weight-header", e.fonts.fontWeightHeader.toString()), e.fonts.fontSizeH1 && r.style.setProperty("--font-size-h1", e.fonts.fontSizeH1), e.fonts.fontSizeH2 && r.style.setProperty("--font-size-h2", e.fonts.fontSizeH2), e.fonts.fontSizeH3 && r.style.setProperty("--font-size-h3", e.fonts.fontSizeH3), e.fonts.fontSizeH4 && r.style.setProperty("--font-size-h4", e.fonts.fontSizeH4), e.fonts.fontSizeH5 && r.style.setProperty("--font-size-h5", e.fonts.fontSizeH5), e.fonts.fontSizeH6 && r.style.setProperty("--font-size-h6", e.fonts.fontSizeH6)), e.colors && (e.colors.primary && r.style.setProperty("--primary-color", e.colors.primary), e.colors.secondary && r.style.setProperty("--background-color", e.colors.secondary), e.colors.accent && r.style.setProperty("--accent-color", e.colors.accent)), e.breakpoints && (e.breakpoints.xs && r.style.setProperty("--breakpoint-xs", e.breakpoints.xs), e.breakpoints.sm && r.style.setProperty("--breakpoint-sm", e.breakpoints.sm), e.breakpoints.md && r.style.setProperty("--breakpoint-md", e.breakpoints.md), e.breakpoints.lg && r.style.setProperty("--breakpoint-lg", e.breakpoints.lg)), e.layout && (e.layout.maxWidth && r.style.setProperty("--layout-max-width", e.layout.maxWidth), e.layout.wrapperPaddingSm && r.style.setProperty("--layout-wrapper-padding-sm", e.layout.wrapperPaddingSm), e.layout.wrapperPadding && r.style.setProperty("--layout-wrapper-padding", e.layout.wrapperPadding));
297
298
  }, [e]), null;
298
299
  };
299
300
  var Se = (e) => e.type === "checkbox", ue = (e) => e instanceof Date, Z = (e) => e == null;
300
301
  const Zt = (e) => typeof e == "object";
301
- var H = (e) => !Z(e) && !Array.isArray(e) && Zt(e) && !ue(e), Qt = (e) => H(e) && e.target ? Se(e.target) ? e.target.checked : e.target.value : e, Hr = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Kt = (e, r) => e.has(Hr(r)), Ur = (e) => {
302
+ var H = (e) => !Z(e) && !Array.isArray(e) && Zt(e) && !ue(e), Qt = (e) => H(e) && e.target ? Se(e.target) ? e.target.checked : e.target.value : e, Ir = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Kt = (e, r) => e.has(Ir(r)), Hr = (e) => {
302
303
  const r = e.constructor && e.constructor.prototype;
303
304
  return H(r) && r.hasOwnProperty("isPrototypeOf");
304
- }, et = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
305
+ }, tt = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
305
306
  function U(e) {
306
307
  let r;
307
308
  const t = Array.isArray(e), s = typeof FileList < "u" ? e instanceof FileList : !1;
308
309
  if (e instanceof Date)
309
310
  r = new Date(e);
310
- else if (!(et && (e instanceof Blob || s)) && (t || H(e)))
311
- if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Ur(e))
311
+ else if (!(tt && (e instanceof Blob || s)) && (t || H(e)))
312
+ if (r = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !Hr(e))
312
313
  r = e;
313
314
  else
314
315
  for (const n in e)
@@ -317,14 +318,14 @@ function U(e) {
317
318
  return e;
318
319
  return r;
319
320
  }
320
- var Ne = (e) => /^\w*$/.test(e), M = (e) => e === void 0, tt = (e) => Array.isArray(e) ? e.filter(Boolean) : [], rt = (e) => tt(e.replace(/["|']|\]/g, "").split(/\.|\[/)), p = (e, r, t) => {
321
+ var Ne = (e) => /^\w*$/.test(e), M = (e) => e === void 0, rt = (e) => Array.isArray(e) ? e.filter(Boolean) : [], st = (e) => rt(e.replace(/["|']|\]/g, "").split(/\.|\[/)), p = (e, r, t) => {
321
322
  if (!r || !H(e))
322
323
  return t;
323
- const s = (Ne(r) ? [r] : rt(r)).reduce((n, o) => Z(n) ? n : n[o], e);
324
+ const s = (Ne(r) ? [r] : st(r)).reduce((n, o) => Z(n) ? n : n[o], e);
324
325
  return M(s) || s === e ? M(e[r]) ? t : e[r] : s;
325
326
  }, K = (e) => typeof e == "boolean", D = (e, r, t) => {
326
327
  let s = -1;
327
- const n = Ne(r) ? [r] : rt(r), o = n.length, l = o - 1;
328
+ const n = Ne(r) ? [r] : st(r), o = n.length, l = o - 1;
328
329
  for (; ++s < o; ) {
329
330
  const a = n[s];
330
331
  let d = t;
@@ -357,7 +358,7 @@ const Ae = {
357
358
  validate: "validate"
358
359
  }, Jt = V.createContext(null);
359
360
  Jt.displayName = "HookFormContext";
360
- const st = () => V.useContext(Jt);
361
+ const ot = () => V.useContext(Jt);
361
362
  var Xt = (e, r, t, s = !0) => {
362
363
  const n = {
363
364
  defaultValues: r._defaultValues
@@ -371,9 +372,9 @@ var Xt = (e, r, t, s = !0) => {
371
372
  });
372
373
  return n;
373
374
  };
374
- const ot = typeof window < "u" ? V.useLayoutEffect : V.useEffect;
375
- function jr(e) {
376
- const r = st(), { control: t = r.control, disabled: s, name: n, exact: o } = e || {}, [l, a] = V.useState(t._formState), d = V.useRef({
375
+ const nt = typeof window < "u" ? V.useLayoutEffect : V.useEffect;
376
+ function Ur(e) {
377
+ const r = ot(), { control: t = r.control, disabled: s, name: n, exact: o } = e || {}, [l, a] = V.useState(t._formState), d = V.useRef({
377
378
  isDirty: !1,
378
379
  isLoading: !1,
379
380
  dirtyFields: !1,
@@ -383,7 +384,7 @@ function jr(e) {
383
384
  isValid: !1,
384
385
  errors: !1
385
386
  });
386
- return ot(() => t._subscribe({
387
+ return nt(() => t._subscribe({
387
388
  name: n,
388
389
  formState: d.current,
389
390
  exact: o,
@@ -421,8 +422,8 @@ function te(e, r, t = /* @__PURE__ */ new WeakSet()) {
421
422
  }
422
423
  return !0;
423
424
  }
424
- function Wr(e) {
425
- const r = st(), { control: t = r.control, name: s, defaultValue: n, disabled: o, exact: l, compute: a } = e || {}, d = V.useRef(n), m = V.useRef(a), y = V.useRef(void 0), h = V.useRef(t), f = V.useRef(s);
425
+ function jr(e) {
426
+ const r = ot(), { control: t = r.control, name: s, defaultValue: n, disabled: o, exact: l, compute: a } = e || {}, d = V.useRef(n), m = V.useRef(a), y = V.useRef(void 0), h = V.useRef(t), f = V.useRef(s);
426
427
  m.current = a;
427
428
  const [b, C] = V.useState(() => {
428
429
  const z = t._getWatch(s, d.current);
@@ -440,7 +441,7 @@ function Wr(e) {
440
441
  C(E);
441
442
  }
442
443
  }, [t._formValues, t._names, o, s]);
443
- ot(() => ((h.current !== t || !te(f.current, s)) && (h.current = t, f.current = s, k()), t._subscribe({
444
+ nt(() => ((h.current !== t || !te(f.current, s)) && (h.current = t, f.current = s, k()), t._subscribe({
444
445
  name: s,
445
446
  formState: {
446
447
  values: !0
@@ -450,21 +451,21 @@ function Wr(e) {
450
451
  k(z.values);
451
452
  }
452
453
  })), [t, l, s, k]), V.useEffect(() => t._removeUnmounted());
453
- const R = h.current !== t, x = f.current, $ = V.useMemo(() => {
454
+ const R = h.current !== t, F = f.current, $ = V.useMemo(() => {
454
455
  if (o)
455
456
  return null;
456
- const z = !R && !te(x, s);
457
+ const z = !R && !te(F, s);
457
458
  return R || z ? S() : null;
458
- }, [o, R, s, x, S]);
459
+ }, [o, R, s, F, S]);
459
460
  return $ !== null ? $ : b;
460
461
  }
461
- function qr(e) {
462
- const r = st(), { name: t, disabled: s, control: n = r.control, shouldUnregister: o, defaultValue: l } = e, a = Kt(n._names.array, t), d = V.useMemo(() => p(n._formValues, t, p(n._defaultValues, t, l)), [n, t, l]), m = Wr({
462
+ function Wr(e) {
463
+ const r = ot(), { name: t, disabled: s, control: n = r.control, shouldUnregister: o, defaultValue: l } = e, a = Kt(n._names.array, t), d = V.useMemo(() => p(n._formValues, t, p(n._defaultValues, t, l)), [n, t, l]), m = jr({
463
464
  control: n,
464
465
  name: t,
465
466
  defaultValue: d,
466
467
  exact: !0
467
- }), y = jr({
468
+ }), y = Ur({
468
469
  control: n,
469
470
  name: t,
470
471
  exact: !0
@@ -515,7 +516,7 @@ function qr(e) {
515
516
  setCustomValidity: (E) => $.setCustomValidity(E),
516
517
  reportValidity: () => $.reportValidity()
517
518
  });
518
- }, [n._fields, t]), x = V.useMemo(() => ({
519
+ }, [n._fields, t]), F = V.useMemo(() => ({
519
520
  name: t,
520
521
  value: m,
521
522
  ...K(s) || y.disabled ? { disabled: y.disabled || s } : {},
@@ -546,18 +547,18 @@ function qr(e) {
546
547
  name: t
547
548
  });
548
549
  }, [s, t, n]), V.useMemo(() => ({
549
- field: x,
550
+ field: F,
550
551
  formState: y,
551
552
  fieldState: C
552
- }), [x, y, C]);
553
+ }), [F, y, C]);
553
554
  }
554
- var nt = (e, r, t, s, n) => r ? {
555
+ var it = (e, r, t, s, n) => r ? {
555
556
  ...t[e],
556
557
  types: {
557
558
  ...t[e] && t[e].types ? t[e].types : {},
558
559
  [s]: n || !0
559
560
  }
560
- } : {}, pe = (e) => Array.isArray(e) ? e : [e], wt = () => {
561
+ } : {}, pe = (e) => Array.isArray(e) ? e : [e], Ft = () => {
561
562
  let e = [];
562
563
  return {
563
564
  get observers() {
@@ -589,37 +590,37 @@ function Yt(e, r) {
589
590
  }
590
591
  return t;
591
592
  }
592
- var W = (e) => H(e) && !Object.keys(e).length, it = (e) => e.type === "file", re = (e) => typeof e == "function", Pe = (e) => {
593
- if (!et)
593
+ var W = (e) => H(e) && !Object.keys(e).length, at = (e) => e.type === "file", re = (e) => typeof e == "function", Pe = (e) => {
594
+ if (!tt)
594
595
  return !1;
595
596
  const r = e ? e.ownerDocument : 0;
596
597
  return e instanceof (r && r.defaultView ? r.defaultView.HTMLElement : HTMLElement);
597
- }, er = (e) => e.type === "select-multiple", at = (e) => e.type === "radio", Gr = (e) => at(e) || Se(e), Ie = (e) => Pe(e) && e.isConnected;
598
- function Zr(e, r) {
598
+ }, er = (e) => e.type === "select-multiple", lt = (e) => e.type === "radio", qr = (e) => lt(e) || Se(e), Ie = (e) => Pe(e) && e.isConnected;
599
+ function Gr(e, r) {
599
600
  const t = r.slice(0, -1).length;
600
601
  let s = 0;
601
602
  for (; s < t; )
602
603
  e = M(e) ? s++ : e[r[s++]];
603
604
  return e;
604
605
  }
605
- function Qr(e) {
606
+ function Zr(e) {
606
607
  for (const r in e)
607
608
  if (e.hasOwnProperty(r) && !M(e[r]))
608
609
  return !1;
609
610
  return !0;
610
611
  }
611
612
  function I(e, r) {
612
- const t = Array.isArray(r) ? r : Ne(r) ? [r] : rt(r), s = t.length === 1 ? e : Zr(e, t), n = t.length - 1, o = t[n];
613
- return s && delete s[o], n !== 0 && (H(s) && W(s) || Array.isArray(s) && Qr(s)) && I(e, t.slice(0, -1)), e;
613
+ const t = Array.isArray(r) ? r : Ne(r) ? [r] : st(r), s = t.length === 1 ? e : Gr(e, t), n = t.length - 1, o = t[n];
614
+ return s && delete s[o], n !== 0 && (H(s) && W(s) || Array.isArray(s) && Zr(s)) && I(e, t.slice(0, -1)), e;
614
615
  }
615
- var Kr = (e) => {
616
+ var Qr = (e) => {
616
617
  for (const r in e)
617
618
  if (re(e[r]))
618
619
  return !0;
619
620
  return !1;
620
621
  };
621
622
  function tr(e) {
622
- return Array.isArray(e) || H(e) && !Kr(e);
623
+ return Array.isArray(e) || H(e) && !Qr(e);
623
624
  }
624
625
  function Qe(e, r = {}) {
625
626
  for (const t in e)
@@ -635,7 +636,7 @@ function me(e, r, t) {
635
636
  const xt = {
636
637
  value: !1,
637
638
  isValid: !1
638
- }, Ft = { value: !0, isValid: !0 };
639
+ }, kt = { value: !0, isValid: !0 };
639
640
  var rr = (e) => {
640
641
  if (Array.isArray(e)) {
641
642
  if (e.length > 1) {
@@ -644,24 +645,24 @@ var rr = (e) => {
644
645
  }
645
646
  return e[0].checked && !e[0].disabled ? (
646
647
  // @ts-expect-error expected to work in the browser
647
- e[0].attributes && !M(e[0].attributes.value) ? M(e[0].value) || e[0].value === "" ? Ft : { value: e[0].value, isValid: !0 } : Ft
648
+ e[0].attributes && !M(e[0].attributes.value) ? M(e[0].value) || e[0].value === "" ? kt : { value: e[0].value, isValid: !0 } : kt
648
649
  ) : xt;
649
650
  }
650
651
  return xt;
651
652
  }, sr = (e, { valueAsNumber: r, valueAsDate: t, setValueAs: s }) => M(e) ? e : r ? e === "" ? NaN : e && +e : t && J(e) ? new Date(e) : s ? s(e) : e;
652
- const kt = {
653
+ const Vt = {
653
654
  isValid: !1,
654
655
  value: null
655
656
  };
656
657
  var or = (e) => Array.isArray(e) ? e.reduce((r, t) => t && t.checked && !t.disabled ? {
657
658
  isValid: !0,
658
659
  value: t.value
659
- } : r, kt) : kt;
660
- function Vt(e) {
660
+ } : r, Vt) : Vt;
661
+ function Ct(e) {
661
662
  const r = e.ref;
662
- return it(r) ? r.files : at(r) ? or(e.refs).value : er(r) ? [...r.selectedOptions].map(({ value: t }) => t) : Se(r) ? rr(e.refs).value : sr(M(r.value) ? e.ref.value : r.value, e);
663
+ return at(r) ? r.files : lt(r) ? or(e.refs).value : er(r) ? [...r.selectedOptions].map(({ value: t }) => t) : Se(r) ? rr(e.refs).value : sr(M(r.value) ? e.ref.value : r.value, e);
663
664
  }
664
- var Jr = (e, r, t, s) => {
665
+ var Kr = (e, r, t, s) => {
665
666
  const n = {};
666
667
  for (const o of e) {
667
668
  const l = p(r, o);
@@ -673,15 +674,15 @@ var Jr = (e, r, t, s) => {
673
674
  fields: n,
674
675
  shouldUseNativeValidation: s
675
676
  };
676
- }, De = (e) => e instanceof RegExp, _e = (e) => M(e) ? e : De(e) ? e.source : H(e) ? De(e.value) ? e.value.source : e.value : e, Ct = (e) => ({
677
+ }, De = (e) => e instanceof RegExp, _e = (e) => M(e) ? e : De(e) ? e.source : H(e) ? De(e.value) ? e.value.source : e.value : e, Et = (e) => ({
677
678
  isOnSubmit: !e || e === ee.onSubmit,
678
679
  isOnBlur: e === ee.onBlur,
679
680
  isOnChange: e === ee.onChange,
680
681
  isOnAll: e === ee.all,
681
682
  isOnTouch: e === ee.onTouched
682
683
  });
683
- const Et = "AsyncFunction";
684
- var Xr = (e) => !!e && !!e.validate && !!(re(e.validate) && e.validate.constructor.name === Et || H(e.validate) && Object.values(e.validate).find((r) => r.constructor.name === Et)), Yr = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), zt = (e, r, t) => !t && (r.watchAll || r.watch.has(e) || [...r.watch].some((s) => e.startsWith(s) && /^\.\w+/.test(e.slice(s.length))));
684
+ const zt = "AsyncFunction";
685
+ var Jr = (e) => !!e && !!e.validate && !!(re(e.validate) && e.validate.constructor.name === zt || H(e.validate) && Object.values(e.validate).find((r) => r.constructor.name === zt)), Xr = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), $t = (e, r, t) => !t && (r.watchAll || r.watch.has(e) || [...r.watch].some((s) => e.startsWith(s) && /^\.\w+/.test(e.slice(s.length))));
685
686
  const ve = (e, r, t, s) => {
686
687
  for (const n of t || Object.keys(e)) {
687
688
  const o = p(e, n);
@@ -699,7 +700,7 @@ const ve = (e, r, t, s) => {
699
700
  }
700
701
  }
701
702
  };
702
- function $t(e, r, t) {
703
+ function At(e, r, t) {
703
704
  const s = p(e, t);
704
705
  if (s || Ne(t))
705
706
  return {
@@ -727,15 +728,15 @@ function $t(e, r, t) {
727
728
  name: t
728
729
  };
729
730
  }
730
- var es = (e, r, t, s) => {
731
+ var Yr = (e, r, t, s) => {
731
732
  t(e);
732
733
  const { name: n, ...o } = e;
733
734
  return W(o) || Object.keys(o).length >= Object.keys(r).length || Object.keys(o).find((l) => r[l] === (!s || ee.all));
734
- }, ts = (e, r, t) => !e || !r || e === r || pe(e).some((s) => s && (t ? s === r : s.startsWith(r) || r.startsWith(s))), rs = (e, r, t, s, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(r || e) : (t ? s.isOnBlur : n.isOnBlur) ? !e : (t ? s.isOnChange : n.isOnChange) ? e : !0, ss = (e, r) => !tt(p(e, r)).length && I(e, r), os = (e, r, t) => {
735
+ }, es = (e, r, t) => !e || !r || e === r || pe(e).some((s) => s && (t ? s === r : s.startsWith(r) || r.startsWith(s))), ts = (e, r, t, s, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(r || e) : (t ? s.isOnBlur : n.isOnBlur) ? !e : (t ? s.isOnChange : n.isOnChange) ? e : !0, rs = (e, r) => !rt(p(e, r)).length && I(e, r), ss = (e, r, t) => {
735
736
  const s = pe(p(e, t));
736
737
  return D(s, "root", r[t]), D(e, t, s), e;
737
738
  };
738
- function At(e, r, t = "validate") {
739
+ function Pt(e, r, t = "validate") {
739
740
  if (J(e) || Array.isArray(e) && e.every(J) || K(e) && !e)
740
741
  return {
741
742
  type: t,
@@ -746,13 +747,13 @@ function At(e, r, t = "validate") {
746
747
  var fe = (e) => H(e) && !De(e) ? e : {
747
748
  value: e,
748
749
  message: ""
749
- }, Pt = async (e, r, t, s, n, o) => {
750
- const { ref: l, refs: a, required: d, maxLength: m, minLength: y, min: h, max: f, pattern: b, validate: C, name: S, valueAsNumber: k, mount: R } = e._f, x = p(t, S);
750
+ }, Dt = async (e, r, t, s, n, o) => {
751
+ const { ref: l, refs: a, required: d, maxLength: m, minLength: y, min: h, max: f, pattern: b, validate: C, name: S, valueAsNumber: k, mount: R } = e._f, F = p(t, S);
751
752
  if (!R || r.has(S))
752
753
  return {};
753
754
  const $ = a ? a[0] : l, z = (A) => {
754
755
  n && $.reportValidity && ($.setCustomValidity(K(A) ? "" : A || ""), $.reportValidity());
755
- }, E = {}, O = at(l), X = Se(l), ae = O || X, q = (k || it(l)) && M(l.value) && M(x) || Pe(l) && l.value === "" || x === "" || Array.isArray(x) && !x.length, se = nt.bind(null, S, s, E), oe = (A, N, T, j = le.maxLength, G = le.minLength) => {
756
+ }, E = {}, O = lt(l), X = Se(l), ae = O || X, q = (k || at(l)) && M(l.value) && M(F) || Pe(l) && l.value === "" || F === "" || Array.isArray(F) && !F.length, se = it.bind(null, S, s, E), oe = (A, N, T, j = le.maxLength, G = le.minLength) => {
756
757
  const ne = A ? N : T;
757
758
  E[S] = {
758
759
  type: A ? j : G,
@@ -761,7 +762,7 @@ var fe = (e) => H(e) && !De(e) ? e : {
761
762
  ...se(A ? j : G, ne)
762
763
  };
763
764
  };
764
- if (o ? !Array.isArray(x) || !x.length : d && (!ae && (q || Z(x)) || K(x) && !x || X && !rr(a).isValid || O && !or(a).isValid)) {
765
+ if (o ? !Array.isArray(F) || !F.length : d && (!ae && (q || Z(F)) || K(F) && !F || X && !rr(a).isValid || O && !or(a).isValid)) {
765
766
  const { value: A, message: N } = J(d) ? { value: !!d, message: d } : fe(d);
766
767
  if (A && (E[S] = {
767
768
  type: le.required,
@@ -774,24 +775,24 @@ var fe = (e) => H(e) && !De(e) ? e : {
774
775
  if (!q && (!Z(h) || !Z(f))) {
775
776
  let A, N;
776
777
  const T = fe(f), j = fe(h);
777
- if (!Z(x) && !isNaN(x)) {
778
- const G = l.valueAsNumber || x && +x;
778
+ if (!Z(F) && !isNaN(F)) {
779
+ const G = l.valueAsNumber || F && +F;
779
780
  Z(T.value) || (A = G > T.value), Z(j.value) || (N = G < j.value);
780
781
  } else {
781
- const G = l.valueAsDate || new Date(x), ne = (xe) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + xe), he = l.type == "time", de = l.type == "week";
782
- J(T.value) && x && (A = he ? ne(x) > ne(T.value) : de ? x > T.value : G > new Date(T.value)), J(j.value) && x && (N = he ? ne(x) < ne(j.value) : de ? x < j.value : G < new Date(j.value));
782
+ const G = l.valueAsDate || new Date(F), ne = (Fe) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Fe), he = l.type == "time", de = l.type == "week";
783
+ J(T.value) && F && (A = he ? ne(F) > ne(T.value) : de ? F > T.value : G > new Date(T.value)), J(j.value) && F && (N = he ? ne(F) < ne(j.value) : de ? F < j.value : G < new Date(j.value));
783
784
  }
784
785
  if ((A || N) && (oe(!!A, T.message, j.message, le.max, le.min), !s))
785
786
  return z(E[S].message), E;
786
787
  }
787
- if ((m || y) && !q && (J(x) || o && Array.isArray(x))) {
788
- const A = fe(m), N = fe(y), T = !Z(A.value) && x.length > +A.value, j = !Z(N.value) && x.length < +N.value;
788
+ if ((m || y) && !q && (J(F) || o && Array.isArray(F))) {
789
+ const A = fe(m), N = fe(y), T = !Z(A.value) && F.length > +A.value, j = !Z(N.value) && F.length < +N.value;
789
790
  if ((T || j) && (oe(T, A.message, N.message), !s))
790
791
  return z(E[S].message), E;
791
792
  }
792
- if (b && !q && J(x)) {
793
+ if (b && !q && J(F)) {
793
794
  const { value: A, message: N } = fe(b);
794
- if (De(A) && !x.match(A) && (E[S] = {
795
+ if (De(A) && !F.match(A) && (E[S] = {
795
796
  type: le.pattern,
796
797
  message: N,
797
798
  ref: l,
@@ -801,7 +802,7 @@ var fe = (e) => H(e) && !De(e) ? e : {
801
802
  }
802
803
  if (C) {
803
804
  if (re(C)) {
804
- const A = await C(x, t), N = At(A, $);
805
+ const A = await C(F, t), N = Pt(A, $);
805
806
  if (N && (E[S] = {
806
807
  ...N,
807
808
  ...se(le.validate, N.message)
@@ -812,7 +813,7 @@ var fe = (e) => H(e) && !De(e) ? e : {
812
813
  for (const N in C) {
813
814
  if (!W(A) && !s)
814
815
  break;
815
- const T = At(await C[N](x, t), $, N);
816
+ const T = Pt(await C[N](F, t), $, N);
816
817
  T && (A = {
817
818
  ...T,
818
819
  ...se(N, T.message)
@@ -827,14 +828,14 @@ var fe = (e) => H(e) && !De(e) ? e : {
827
828
  }
828
829
  return z(!0), E;
829
830
  };
830
- const ns = {
831
+ const os = {
831
832
  mode: ee.onSubmit,
832
833
  reValidateMode: ee.onChange,
833
834
  shouldFocusError: !0
834
835
  };
835
- function is(e = {}) {
836
+ function ns(e = {}) {
836
837
  let r = {
837
- ...ns,
838
+ ...os,
838
839
  ...e
839
840
  }, t = {
840
841
  submitCount: 0,
@@ -875,8 +876,8 @@ function is(e = {}) {
875
876
  ...y
876
877
  };
877
878
  const f = {
878
- array: wt(),
879
- state: wt()
879
+ array: Ft(),
880
+ state: Ft()
880
881
  }, b = r.criteriaMode === ee.all, C = (i) => (c) => {
881
882
  clearTimeout(m), m = setTimeout(i, c);
882
883
  }, S = async (i) => {
@@ -896,16 +897,16 @@ function is(e = {}) {
896
897
  }, R = (i, c = [], u, v, g = !0, _ = !0) => {
897
898
  if (v && u && !r.disabled) {
898
899
  if (l.action = !0, _ && Array.isArray(p(s, i))) {
899
- const F = u(p(s, i), v.argA, v.argB);
900
- g && D(s, i, F);
900
+ const x = u(p(s, i), v.argA, v.argB);
901
+ g && D(s, i, x);
901
902
  }
902
903
  if (_ && Array.isArray(p(t.errors, i))) {
903
- const F = u(p(t.errors, i), v.argA, v.argB);
904
- g && D(t.errors, i, F), ss(t.errors, i);
904
+ const x = u(p(t.errors, i), v.argA, v.argB);
905
+ g && D(t.errors, i, x), rs(t.errors, i);
905
906
  }
906
907
  if ((y.touchedFields || h.touchedFields) && _ && Array.isArray(p(t.touchedFields, i))) {
907
- const F = u(p(t.touchedFields, i), v.argA, v.argB);
908
- g && D(t.touchedFields, i, F);
908
+ const x = u(p(t.touchedFields, i), v.argA, v.argB);
909
+ g && D(t.touchedFields, i, x);
909
910
  }
910
911
  (y.dirtyFields || h.dirtyFields) && (t.dirtyFields = me(n, o)), f.state.next({
911
912
  name: i,
@@ -916,7 +917,7 @@ function is(e = {}) {
916
917
  });
917
918
  } else
918
919
  D(o, i, c);
919
- }, x = (i, c) => {
920
+ }, F = (i, c) => {
920
921
  D(t.errors, i, c), f.state.next({
921
922
  errors: t.errors
922
923
  });
@@ -929,18 +930,18 @@ function is(e = {}) {
929
930
  const g = p(s, i);
930
931
  if (g) {
931
932
  const _ = p(o, i, M(u) ? p(n, i) : u);
932
- M(_) || v && v.defaultChecked || c ? D(o, i, c ? _ : Vt(g._f)) : T(i, _), l.mount && S();
933
+ M(_) || v && v.defaultChecked || c ? D(o, i, c ? _ : Ct(g._f)) : T(i, _), l.mount && S();
933
934
  }
934
935
  }, E = (i, c, u, v, g) => {
935
- let _ = !1, F = !1;
936
+ let _ = !1, x = !1;
936
937
  const P = {
937
938
  name: i
938
939
  };
939
940
  if (!r.disabled) {
940
941
  if (!u || v) {
941
- (y.isDirty || h.isDirty) && (F = t.isDirty, t.isDirty = P.isDirty = oe(), _ = F !== P.isDirty);
942
+ (y.isDirty || h.isDirty) && (x = t.isDirty, t.isDirty = P.isDirty = oe(), _ = x !== P.isDirty);
942
943
  const B = te(p(n, i), c);
943
- F = !!p(t.dirtyFields, i), B ? I(t.dirtyFields, i) : D(t.dirtyFields, i, !0), P.dirtyFields = t.dirtyFields, _ = _ || (y.dirtyFields || h.dirtyFields) && F !== !B;
944
+ x = !!p(t.dirtyFields, i), B ? I(t.dirtyFields, i) : D(t.dirtyFields, i, !0), P.dirtyFields = t.dirtyFields, _ = _ || (y.dirtyFields || h.dirtyFields) && x !== !B;
944
945
  }
945
946
  if (u) {
946
947
  const B = p(t.touchedFields, i);
@@ -951,8 +952,8 @@ function is(e = {}) {
951
952
  return _ ? P : {};
952
953
  }, O = (i, c, u, v) => {
953
954
  const g = p(t.errors, i), _ = (y.isValid || h.isValid) && K(c) && t.isValid !== c;
954
- if (r.delayError && u ? (d = C(() => x(i, u)), d(r.delayError)) : (clearTimeout(m), d = null, u ? D(t.errors, i, u) : I(t.errors, i)), (u ? !te(g, u) : g) || !W(v) || _) {
955
- const F = {
955
+ if (r.delayError && u ? (d = C(() => F(i, u)), d(r.delayError)) : (clearTimeout(m), d = null, u ? D(t.errors, i, u) : I(t.errors, i)), (u ? !te(g, u) : g) || !W(v) || _) {
956
+ const x = {
956
957
  ...v,
957
958
  ..._ && K(c) ? { isValid: c } : {},
958
959
  errors: t.errors,
@@ -960,12 +961,12 @@ function is(e = {}) {
960
961
  };
961
962
  t = {
962
963
  ...t,
963
- ...F
964
- }, f.state.next(F);
964
+ ...x
965
+ }, f.state.next(x);
965
966
  }
966
967
  }, X = async (i) => {
967
968
  k(i, !0);
968
- const c = await r.resolver(o, r.context, Jr(i || a.mount, s, r.criteriaMode, r.shouldUseNativeValidation));
969
+ const c = await r.resolver(o, r.context, Kr(i || a.mount, s, r.criteriaMode, r.shouldUseNativeValidation));
969
970
  return k(i), c;
970
971
  }, ae = async (i) => {
971
972
  const { errors: c } = await X(i);
@@ -983,16 +984,16 @@ function is(e = {}) {
983
984
  for (const v in i) {
984
985
  const g = i[v];
985
986
  if (g) {
986
- const { _f: _, ...F } = g;
987
+ const { _f: _, ...x } = g;
987
988
  if (_) {
988
- const P = a.array.has(_.name), B = g._f && Xr(g._f);
989
+ const P = a.array.has(_.name), B = g._f && Jr(g._f);
989
990
  B && y.validatingFields && k([_.name], !0);
990
- const Y = await Pt(g, a.disabled, o, b, r.shouldUseNativeValidation && !c, P);
991
+ const Y = await Dt(g, a.disabled, o, b, r.shouldUseNativeValidation && !c, P);
991
992
  if (B && y.validatingFields && k([_.name]), Y[_.name] && (u.valid = !1, c))
992
993
  break;
993
- !c && (p(Y, _.name) ? P ? os(t.errors, Y, _.name) : D(t.errors, _.name, Y[_.name]) : I(t.errors, _.name));
994
+ !c && (p(Y, _.name) ? P ? ss(t.errors, Y, _.name) : D(t.errors, _.name, Y[_.name]) : I(t.errors, _.name));
994
995
  }
995
- !W(F) && await q(F, c, u);
996
+ !W(x) && await q(x, c, u);
996
997
  }
997
998
  }
998
999
  return u.valid;
@@ -1002,16 +1003,16 @@ function is(e = {}) {
1002
1003
  c && (c._f.refs ? c._f.refs.every((u) => !Ie(u)) : !Ie(c._f.ref)) && Re(i);
1003
1004
  }
1004
1005
  a.unMount = /* @__PURE__ */ new Set();
1005
- }, oe = (i, c) => !r.disabled && (i && c && D(o, i, c), !te(xe(), n)), A = (i, c, u) => Ge(i, a, {
1006
+ }, oe = (i, c) => !r.disabled && (i && c && D(o, i, c), !te(Fe(), n)), A = (i, c, u) => Ge(i, a, {
1006
1007
  ...l.mount ? o : M(c) ? n : J(i) ? { [i]: c } : c
1007
- }, u, c), N = (i) => tt(p(l.mount ? o : n, i, r.shouldUnregister ? p(n, i, []) : [])), T = (i, c, u = {}) => {
1008
+ }, u, c), N = (i) => rt(p(l.mount ? o : n, i, r.shouldUnregister ? p(n, i, []) : [])), T = (i, c, u = {}) => {
1008
1009
  const v = p(s, i);
1009
1010
  let g = c;
1010
1011
  if (v) {
1011
1012
  const _ = v._f;
1012
- _ && (!_.disabled && D(o, i, sr(c, _)), g = Pe(_.ref) && Z(c) ? "" : c, er(_.ref) ? [..._.ref.options].forEach((F) => F.selected = g.includes(F.value)) : _.refs ? Se(_.ref) ? _.refs.forEach((F) => {
1013
- (!F.defaultChecked || !F.disabled) && (Array.isArray(g) ? F.checked = !!g.find((P) => P === F.value) : F.checked = g === F.value || !!g);
1014
- }) : _.refs.forEach((F) => F.checked = F.value === g) : it(_.ref) ? _.ref.value = "" : (_.ref.value = g, _.ref.type || f.state.next({
1013
+ _ && (!_.disabled && D(o, i, sr(c, _)), g = Pe(_.ref) && Z(c) ? "" : c, er(_.ref) ? [..._.ref.options].forEach((x) => x.selected = g.includes(x.value)) : _.refs ? Se(_.ref) ? _.refs.forEach((x) => {
1014
+ (!x.defaultChecked || !x.disabled) && (Array.isArray(g) ? x.checked = !!g.find((P) => P === x.value) : x.checked = g === x.value || !!g);
1015
+ }) : _.refs.forEach((x) => x.checked = x.value === g) : at(_.ref) ? _.ref.value = "" : (_.ref.value = g, _.ref.type || f.state.next({
1015
1016
  name: i,
1016
1017
  values: U(o)
1017
1018
  })));
@@ -1021,8 +1022,8 @@ function is(e = {}) {
1021
1022
  for (const v in c) {
1022
1023
  if (!c.hasOwnProperty(v))
1023
1024
  return;
1024
- const g = c[v], _ = i + "." + v, F = p(s, _);
1025
- (a.array.has(i) || H(g) || F && !F._f) && !ue(g) ? j(_, g, u) : T(_, g, u);
1025
+ const g = c[v], _ = i + "." + v, x = p(s, _);
1026
+ (a.array.has(i) || H(g) || x && !x._f) && !ue(g) ? j(_, g, u) : T(_, g, u);
1026
1027
  }
1027
1028
  }, G = (i, c, u = {}) => {
1028
1029
  const v = p(s, i), g = a.array.has(i), _ = U(c);
@@ -1033,7 +1034,7 @@ function is(e = {}) {
1033
1034
  name: i,
1034
1035
  dirtyFields: me(n, o),
1035
1036
  isDirty: oe(i, _)
1036
- })) : v && !v._f && !Z(_) ? j(i, _, u) : T(i, _, u), zt(i, a) && f.state.next({ ...t, name: i }), f.state.next({
1037
+ })) : v && !v._f && !Z(_) ? j(i, _, u) : T(i, _, u), $t(i, a) && f.state.next({ ...t, name: i }), f.state.next({
1037
1038
  name: l.mount ? i : void 0,
1038
1039
  values: U(o)
1039
1040
  });
@@ -1043,12 +1044,12 @@ function is(e = {}) {
1043
1044
  let u = c.name, v = !0;
1044
1045
  const g = p(s, u), _ = (B) => {
1045
1046
  v = Number.isNaN(B) || ue(B) && isNaN(B.getTime()) || te(B, p(o, u, B));
1046
- }, F = Ct(r.mode), P = Ct(r.reValidateMode);
1047
+ }, x = Et(r.mode), P = Et(r.reValidateMode);
1047
1048
  if (g) {
1048
1049
  let B, Y;
1049
- const Fe = c.type ? Vt(g._f) : Qt(i), ce = i.type === Ae.BLUR || i.type === Ae.FOCUS_OUT, br = !Yr(g._f) && !r.resolver && !p(t.errors, u) && !g._f.deps || rs(ce, p(t.touchedFields, u), t.isSubmitted, P, F), Le = zt(u, a, ce);
1050
- D(o, u, Fe), ce ? (!c || !c.readOnly) && (g._f.onBlur && g._f.onBlur(i), d && d(0)) : g._f.onChange && g._f.onChange(i);
1051
- const Me = E(u, Fe, ce), Sr = !W(Me) || Le;
1050
+ const xe = c.type ? Ct(g._f) : Qt(i), ce = i.type === Ae.BLUR || i.type === Ae.FOCUS_OUT, br = !Xr(g._f) && !r.resolver && !p(t.errors, u) && !g._f.deps || ts(ce, p(t.touchedFields, u), t.isSubmitted, P, x), Le = $t(u, a, ce);
1051
+ D(o, u, xe), ce ? (!c || !c.readOnly) && (g._f.onBlur && g._f.onBlur(i), d && d(0)) : g._f.onChange && g._f.onChange(i);
1052
+ const Me = E(u, xe, ce), Sr = !W(Me) || Le;
1052
1053
  if (!ce && f.state.next({
1053
1054
  name: u,
1054
1055
  type: i.type,
@@ -1056,13 +1057,13 @@ function is(e = {}) {
1056
1057
  }), br)
1057
1058
  return (y.isValid || h.isValid) && (r.mode === "onBlur" ? ce && S() : ce || S()), Sr && f.state.next({ name: u, ...Le ? {} : Me });
1058
1059
  if (!ce && Le && f.state.next({ ...t }), r.resolver) {
1059
- const { errors: _t } = await X([u]);
1060
- if (_(Fe), v) {
1061
- const wr = $t(t.errors, s, u), gt = $t(_t, s, wr.name || u);
1062
- B = gt.error, u = gt.name, Y = W(_t);
1060
+ const { errors: gt } = await X([u]);
1061
+ if (_(xe), v) {
1062
+ const wr = At(t.errors, s, u), pt = At(gt, s, wr.name || u);
1063
+ B = pt.error, u = pt.name, Y = W(gt);
1063
1064
  }
1064
1065
  } else
1065
- k([u], !0), B = (await Pt(g, a.disabled, o, b, r.shouldUseNativeValidation))[u], k([u]), _(Fe), v && (B ? Y = !1 : (y.isValid || h.isValid) && (Y = await q(s, !0)));
1066
+ k([u], !0), B = (await Dt(g, a.disabled, o, b, r.shouldUseNativeValidation))[u], k([u]), _(xe), v && (B ? Y = !1 : (y.isValid || h.isValid) && (Y = await q(s, !0)));
1066
1067
  v && (g._f.deps && (!Array.isArray(g._f.deps) || g._f.deps.length > 0) && de(g._f.deps), O(u, Y, B, Me));
1067
1068
  }
1068
1069
  }, he = (i, c) => {
@@ -1073,22 +1074,22 @@ function is(e = {}) {
1073
1074
  const g = pe(i);
1074
1075
  if (r.resolver) {
1075
1076
  const _ = await ae(M(i) ? i : g);
1076
- u = W(_), v = i ? !g.some((F) => p(_, F)) : u;
1077
+ u = W(_), v = i ? !g.some((x) => p(_, x)) : u;
1077
1078
  } else i ? (v = (await Promise.all(g.map(async (_) => {
1078
- const F = p(s, _);
1079
- return await q(F && F._f ? { [_]: F } : F);
1079
+ const x = p(s, _);
1080
+ return await q(x && x._f ? { [_]: x } : x);
1080
1081
  }))).every(Boolean), !(!v && !t.isValid) && S()) : v = u = await q(s);
1081
1082
  return f.state.next({
1082
1083
  ...!J(i) || (y.isValid || h.isValid) && u !== t.isValid ? {} : { name: i },
1083
1084
  ...r.resolver || !i ? { isValid: u } : {},
1084
1085
  errors: t.errors
1085
1086
  }), c.shouldFocus && !v && ve(s, he, i ? g : a.mount), v;
1086
- }, xe = (i, c) => {
1087
+ }, Fe = (i, c) => {
1087
1088
  let u = {
1088
1089
  ...l.mount ? o : n
1089
1090
  };
1090
1091
  return c && (u = Yt(c.dirtyFields ? t.dirtyFields : t.touchedFields, u)), M(i) ? u : J(i) ? p(u, i) : i.map((v) => p(u, v));
1091
- }, lt = (i, c) => ({
1092
+ }, ct = (i, c) => ({
1092
1093
  invalid: !!p((c || t).errors, i),
1093
1094
  isDirty: !!p((c || t).dirtyFields, i),
1094
1095
  error: p((c || t).errors, i),
@@ -1098,8 +1099,8 @@ function is(e = {}) {
1098
1099
  i && pe(i).forEach((c) => I(t.errors, c)), f.state.next({
1099
1100
  errors: i ? t.errors : {}
1100
1101
  });
1101
- }, ct = (i, c, u) => {
1102
- const v = (p(s, i, { _f: {} })._f || {}).ref, g = p(t.errors, i) || {}, { ref: _, message: F, type: P, ...B } = g;
1102
+ }, ut = (i, c, u) => {
1103
+ const v = (p(s, i, { _f: {} })._f || {}).ref, g = p(t.errors, i) || {}, { ref: _, message: x, type: P, ...B } = g;
1103
1104
  D(t.errors, i, {
1104
1105
  ...B,
1105
1106
  ...c,
@@ -1111,9 +1112,9 @@ function is(e = {}) {
1111
1112
  }), u && u.shouldFocus && v && v.focus && v.focus();
1112
1113
  }, mr = (i, c) => re(i) ? f.state.subscribe({
1113
1114
  next: (u) => "values" in u && i(A(void 0, c), u)
1114
- }) : A(i, c, !0), ut = (i) => f.state.subscribe({
1115
+ }) : A(i, c, !0), dt = (i) => f.state.subscribe({
1115
1116
  next: (c) => {
1116
- ts(i.name, c.name, i.exact) && es(c, i.formState || y, vr, i.reRenderRoot) && i.callback({
1117
+ es(i.name, c.name, i.exact) && Yr(c, i.formState || y, vr, i.reRenderRoot) && i.callback({
1117
1118
  values: { ...o },
1118
1119
  ...t,
1119
1120
  ...c,
@@ -1123,7 +1124,7 @@ function is(e = {}) {
1123
1124
  }).unsubscribe, hr = (i) => (l.mount = !0, h = {
1124
1125
  ...h,
1125
1126
  ...i.formState
1126
- }, ut({
1127
+ }, dt({
1127
1128
  ...i,
1128
1129
  formState: h
1129
1130
  })), Re = (i, c = {}) => {
@@ -1135,7 +1136,7 @@ function is(e = {}) {
1135
1136
  ...t,
1136
1137
  ...c.keepDirty ? { isDirty: oe() } : {}
1137
1138
  }), !c.keepIsValid && S();
1138
- }, dt = ({ disabled: i, name: c }) => {
1139
+ }, ft = ({ disabled: i, name: c }) => {
1139
1140
  (K(i) && l.mount || i || a.disabled.has(c)) && (i ? a.disabled.add(c) : a.disabled.delete(c));
1140
1141
  }, Be = (i, c = {}) => {
1141
1142
  let u = p(s, i);
@@ -1148,7 +1149,7 @@ function is(e = {}) {
1148
1149
  mount: !0,
1149
1150
  ...c
1150
1151
  }
1151
- }), a.mount.add(i), u ? dt({
1152
+ }), a.mount.add(i), u ? ft({
1152
1153
  disabled: K(c.disabled) ? c.disabled : r.disabled,
1153
1154
  name: i
1154
1155
  }) : z(i, !0, c.value), {
@@ -1167,13 +1168,13 @@ function is(e = {}) {
1167
1168
  ref: (g) => {
1168
1169
  if (g) {
1169
1170
  Be(i, c), u = p(s, i);
1170
- const _ = M(g.value) && g.querySelectorAll && g.querySelectorAll("input,select,textarea")[0] || g, F = Gr(_), P = u._f.refs || [];
1171
- if (F ? P.find((B) => B === _) : _ === u._f.ref)
1171
+ const _ = M(g.value) && g.querySelectorAll && g.querySelectorAll("input,select,textarea")[0] || g, x = qr(_), P = u._f.refs || [];
1172
+ if (x ? P.find((B) => B === _) : _ === u._f.ref)
1172
1173
  return;
1173
1174
  D(s, i, {
1174
1175
  _f: {
1175
1176
  ...u._f,
1176
- ...F ? {
1177
+ ...x ? {
1177
1178
  refs: [
1178
1179
  ...P.filter(Ie),
1179
1180
  _,
@@ -1194,15 +1195,15 @@ function is(e = {}) {
1194
1195
  g.disabled = v._f.disabled || i;
1195
1196
  }));
1196
1197
  }, 0, !1));
1197
- }, ft = (i, c) => async (u) => {
1198
+ }, yt = (i, c) => async (u) => {
1198
1199
  let v;
1199
1200
  u && (u.preventDefault && u.preventDefault(), u.persist && u.persist());
1200
1201
  let g = U(o);
1201
1202
  if (f.state.next({
1202
1203
  isSubmitting: !0
1203
1204
  }), r.resolver) {
1204
- const { errors: _, values: F } = await X();
1205
- t.errors = _, g = U(F);
1205
+ const { errors: _, values: x } = await X();
1206
+ t.errors = _, g = U(x);
1206
1207
  } else
1207
1208
  await q(s);
1208
1209
  if (a.disabled.size)
@@ -1229,20 +1230,20 @@ function is(e = {}) {
1229
1230
  throw v;
1230
1231
  }, gr = (i, c = {}) => {
1231
1232
  p(s, i) && (M(c.defaultValue) ? G(i, U(p(n, i))) : (G(i, c.defaultValue), D(n, i, U(c.defaultValue))), c.keepTouched || I(t.touchedFields, i), c.keepDirty || (I(t.dirtyFields, i), t.isDirty = c.defaultValue ? oe(i, U(p(n, i))) : oe()), c.keepError || (I(t.errors, i), y.isValid && S()), f.state.next({ ...t }));
1232
- }, yt = (i, c = {}) => {
1233
+ }, mt = (i, c = {}) => {
1233
1234
  const u = i ? U(i) : n, v = U(u), g = W(i), _ = g ? n : v;
1234
1235
  if (c.keepDefaultValues || (n = u), !c.keepValues) {
1235
1236
  if (c.keepDirtyValues) {
1236
- const F = /* @__PURE__ */ new Set([
1237
+ const x = /* @__PURE__ */ new Set([
1237
1238
  ...a.mount,
1238
1239
  ...Object.keys(me(n, o))
1239
1240
  ]);
1240
- for (const P of Array.from(F))
1241
+ for (const P of Array.from(x))
1241
1242
  p(t.dirtyFields, P) ? D(_, P, p(o, P)) : G(P, p(_, P));
1242
1243
  } else {
1243
- if (et && M(i))
1244
- for (const F of a.mount) {
1245
- const P = p(s, F);
1244
+ if (tt && M(i))
1245
+ for (const x of a.mount) {
1246
+ const P = p(s, x);
1246
1247
  if (P && P._f) {
1247
1248
  const B = Array.isArray(P._f.refs) ? P._f.refs[0] : P._f.ref;
1248
1249
  if (Pe(B)) {
@@ -1255,8 +1256,8 @@ function is(e = {}) {
1255
1256
  }
1256
1257
  }
1257
1258
  if (c.keepFieldsRef)
1258
- for (const F of a.mount)
1259
- G(F, p(_, F));
1259
+ for (const x of a.mount)
1260
+ G(x, p(_, x));
1260
1261
  else
1261
1262
  s = {};
1262
1263
  }
@@ -1285,7 +1286,7 @@ function is(e = {}) {
1285
1286
  isSubmitting: !1,
1286
1287
  defaultValues: n
1287
1288
  });
1288
- }, mt = (i, c) => yt(re(i) ? i(o) : i, c), pr = (i, c = {}) => {
1289
+ }, ht = (i, c) => mt(re(i) ? i(o) : i, c), pr = (i, c = {}) => {
1289
1290
  const u = p(s, i), v = u && u._f;
1290
1291
  if (v) {
1291
1292
  const g = v.refs ? v.refs[0] : v.ref;
@@ -1296,26 +1297,26 @@ function is(e = {}) {
1296
1297
  ...t,
1297
1298
  ...i
1298
1299
  };
1299
- }, ht = {
1300
+ }, _t = {
1300
1301
  control: {
1301
1302
  register: Be,
1302
1303
  unregister: Re,
1303
- getFieldState: lt,
1304
- handleSubmit: ft,
1305
- setError: ct,
1306
- _subscribe: ut,
1304
+ getFieldState: ct,
1305
+ handleSubmit: yt,
1306
+ setError: ut,
1307
+ _subscribe: dt,
1307
1308
  _runSchema: X,
1308
1309
  _focusError: Oe,
1309
1310
  _getWatch: A,
1310
1311
  _getDirty: oe,
1311
1312
  _setValid: S,
1312
1313
  _setFieldArray: R,
1313
- _setDisabledField: dt,
1314
+ _setDisabledField: ft,
1314
1315
  _setErrors: $,
1315
1316
  _getFieldArray: N,
1316
- _reset: yt,
1317
+ _reset: mt,
1317
1318
  _resetDefaultValues: () => re(r.defaultValues) && r.defaultValues().then((i) => {
1318
- mt(i, r.resetOptions), f.state.next({
1319
+ ht(i, r.resetOptions), f.state.next({
1319
1320
  isLoading: !1
1320
1321
  });
1321
1322
  }),
@@ -1360,24 +1361,24 @@ function is(e = {}) {
1360
1361
  subscribe: hr,
1361
1362
  trigger: de,
1362
1363
  register: Be,
1363
- handleSubmit: ft,
1364
+ handleSubmit: yt,
1364
1365
  watch: mr,
1365
1366
  setValue: G,
1366
- getValues: xe,
1367
- reset: mt,
1367
+ getValues: Fe,
1368
+ reset: ht,
1368
1369
  resetField: gr,
1369
1370
  clearErrors: yr,
1370
1371
  unregister: Re,
1371
- setError: ct,
1372
+ setError: ut,
1372
1373
  setFocus: pr,
1373
- getFieldState: lt
1374
+ getFieldState: ct
1374
1375
  };
1375
1376
  return {
1376
- ...ht,
1377
- formControl: ht
1377
+ ..._t,
1378
+ formControl: _t
1378
1379
  };
1379
1380
  }
1380
- function as(e = {}) {
1381
+ function is(e = {}) {
1381
1382
  const r = V.useRef(void 0), t = V.useRef(void 0), [s, n] = V.useState({
1382
1383
  isDirty: !1,
1383
1384
  isValidating: !1,
@@ -1402,14 +1403,14 @@ function as(e = {}) {
1402
1403
  formState: s
1403
1404
  }, e.defaultValues && !re(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
1404
1405
  else {
1405
- const { formControl: l, ...a } = is(e);
1406
+ const { formControl: l, ...a } = ns(e);
1406
1407
  r.current = {
1407
1408
  ...a,
1408
1409
  formState: s
1409
1410
  };
1410
1411
  }
1411
1412
  const o = r.current.control;
1412
- return o._options = e, ot(() => {
1413
+ return o._options = e, nt(() => {
1413
1414
  const l = o._subscribe({
1414
1415
  formState: o._proxyFormState,
1415
1416
  callback: () => n({ ...o._formState }),
@@ -1443,7 +1444,7 @@ function as(e = {}) {
1443
1444
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next({ ...o._formState })), o._removeUnmounted();
1444
1445
  }), r.current.formState = Xt(s, o), r.current;
1445
1446
  }
1446
- const Dt = (e, r, t) => {
1447
+ const Nt = (e, r, t) => {
1447
1448
  if (e && "reportValidity" in e) {
1448
1449
  const s = p(t, r);
1449
1450
  e.setCustomValidity(s && s.message || ""), e.reportValidity();
@@ -1451,24 +1452,24 @@ const Dt = (e, r, t) => {
1451
1452
  }, Ke = (e, r) => {
1452
1453
  for (const t in r.fields) {
1453
1454
  const s = r.fields[t];
1454
- s && s.ref && "reportValidity" in s.ref ? Dt(s.ref, t, e) : s && s.refs && s.refs.forEach((n) => Dt(n, t, e));
1455
+ s && s.ref && "reportValidity" in s.ref ? Nt(s.ref, t, e) : s && s.refs && s.refs.forEach((n) => Nt(n, t, e));
1455
1456
  }
1456
- }, Nt = (e, r) => {
1457
+ }, Rt = (e, r) => {
1457
1458
  r.shouldUseNativeValidation && Ke(e, r);
1458
1459
  const t = {};
1459
1460
  for (const s in e) {
1460
1461
  const n = p(r.fields, s), o = Object.assign(e[s] || {}, { ref: n && n.ref });
1461
- if (ls(r.names || Object.keys(e), s)) {
1462
+ if (as(r.names || Object.keys(e), s)) {
1462
1463
  const l = Object.assign({}, p(t, s));
1463
1464
  D(l, "root", o), D(t, s, l);
1464
1465
  } else D(t, s, o);
1465
1466
  }
1466
1467
  return t;
1467
- }, ls = (e, r) => {
1468
- const t = Rt(r);
1469
- return e.some((s) => Rt(s).match(`^${t}\\.\\d+`));
1468
+ }, as = (e, r) => {
1469
+ const t = Bt(r);
1470
+ return e.some((s) => Bt(s).match(`^${t}\\.\\d+`));
1470
1471
  };
1471
- function Rt(e) {
1472
+ function Bt(e) {
1472
1473
  return e.replace(/\]|\[/g, "");
1473
1474
  }
1474
1475
  function nr(e, r, t) {
@@ -1501,16 +1502,16 @@ function nr(e, r, t) {
1501
1502
  }
1502
1503
  }), Object.defineProperty(l, "name", { value: e }), l;
1503
1504
  }
1504
- class cs extends Error {
1505
+ class ls extends Error {
1505
1506
  constructor() {
1506
1507
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
1507
1508
  }
1508
1509
  }
1509
- const us = {};
1510
+ const cs = {};
1510
1511
  function ir(e) {
1511
- return us;
1512
+ return cs;
1512
1513
  }
1513
- function ds(e, r) {
1514
+ function us(e, r) {
1514
1515
  return typeof r == "bigint" ? r.toString() : r;
1515
1516
  }
1516
1517
  const ar = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
@@ -1534,20 +1535,20 @@ const cr = (e, r) => {
1534
1535
  }), Object.defineProperty(e, "issues", {
1535
1536
  value: r,
1536
1537
  enumerable: !1
1537
- }), e.message = JSON.stringify(r, ds, 2), Object.defineProperty(e, "toString", {
1538
+ }), e.message = JSON.stringify(r, us, 2), Object.defineProperty(e, "toString", {
1538
1539
  value: () => e.message,
1539
1540
  enumerable: !1
1540
1541
  });
1541
- }, fs = nr("$ZodError", cr), ur = nr("$ZodError", cr, { Parent: Error }), ys = (e) => (r, t, s, n) => {
1542
+ }, ds = nr("$ZodError", cr), ur = nr("$ZodError", cr, { Parent: Error }), fs = (e) => (r, t, s, n) => {
1542
1543
  const o = s ? Object.assign(s, { async: !1 }) : { async: !1 }, l = r._zod.run({ value: t, issues: [] }, o);
1543
1544
  if (l instanceof Promise)
1544
- throw new cs();
1545
+ throw new ls();
1545
1546
  if (l.issues.length) {
1546
1547
  const a = new ((n == null ? void 0 : n.Err) ?? e)(l.issues.map((d) => lr(d, o, ir())));
1547
1548
  throw ar(a, n == null ? void 0 : n.callee), a;
1548
1549
  }
1549
1550
  return l.value;
1550
- }, ms = /* @__PURE__ */ ys(ur), hs = (e) => async (r, t, s, n) => {
1551
+ }, ys = /* @__PURE__ */ fs(ur), ms = (e) => async (r, t, s, n) => {
1551
1552
  const o = s ? Object.assign(s, { async: !0 }) : { async: !0 };
1552
1553
  let l = r._zod.run({ value: t, issues: [] }, o);
1553
1554
  if (l instanceof Promise && (l = await l), l.issues.length) {
@@ -1555,8 +1556,8 @@ const cr = (e, r) => {
1555
1556
  throw ar(a, n == null ? void 0 : n.callee), a;
1556
1557
  }
1557
1558
  return l.value;
1558
- }, _s = /* @__PURE__ */ hs(ur);
1559
- function Bt(e, r) {
1559
+ }, hs = /* @__PURE__ */ ms(ur);
1560
+ function Ot(e, r) {
1560
1561
  try {
1561
1562
  var t = e();
1562
1563
  } catch (s) {
@@ -1564,7 +1565,7 @@ function Bt(e, r) {
1564
1565
  }
1565
1566
  return t && t.then ? t.then(void 0, r) : t;
1566
1567
  }
1567
- function gs(e, r) {
1568
+ function _s(e, r) {
1568
1569
  for (var t = {}; e.length; ) {
1569
1570
  var s = e[0], n = s.code, o = s.message, l = s.path.join(".");
1570
1571
  if (!t[l]) if ("unionErrors" in s) {
@@ -1577,13 +1578,13 @@ function gs(e, r) {
1577
1578
  });
1578
1579
  }), r) {
1579
1580
  var d = t[l].types, m = d && d[s.code];
1580
- t[l] = nt(l, r, t, n, m ? [].concat(m, s.message) : s.message);
1581
+ t[l] = it(l, r, t, n, m ? [].concat(m, s.message) : s.message);
1581
1582
  }
1582
1583
  e.shift();
1583
1584
  }
1584
1585
  return t;
1585
1586
  }
1586
- function ps(e, r) {
1587
+ function gs(e, r) {
1587
1588
  for (var t = {}; e.length; ) {
1588
1589
  var s = e[0], n = s.code, o = s.message, l = s.path.join(".");
1589
1590
  if (!t[l]) if (s.code === "invalid_union" && s.errors.length > 0) {
@@ -1596,25 +1597,25 @@ function ps(e, r) {
1596
1597
  });
1597
1598
  }), r) {
1598
1599
  var d = t[l].types, m = d && d[s.code];
1599
- t[l] = nt(l, r, t, n, m ? [].concat(m, s.message) : s.message);
1600
+ t[l] = it(l, r, t, n, m ? [].concat(m, s.message) : s.message);
1600
1601
  }
1601
1602
  e.shift();
1602
1603
  }
1603
1604
  return t;
1604
1605
  }
1605
- function vs(e, r, t) {
1606
+ function ps(e, r, t) {
1606
1607
  if (t === void 0 && (t = {}), (function(s) {
1607
1608
  return "_def" in s && typeof s._def == "object" && "typeName" in s._def;
1608
1609
  })(e)) return function(s, n, o) {
1609
1610
  try {
1610
- return Promise.resolve(Bt(function() {
1611
+ return Promise.resolve(Ot(function() {
1611
1612
  return Promise.resolve(e[t.mode === "sync" ? "parse" : "parseAsync"](s, r)).then(function(l) {
1612
1613
  return o.shouldUseNativeValidation && Ke({}, o), { errors: {}, values: t.raw ? Object.assign({}, s) : l };
1613
1614
  });
1614
1615
  }, function(l) {
1615
1616
  if ((function(a) {
1616
1617
  return Array.isArray(a == null ? void 0 : a.issues);
1617
- })(l)) return { values: {}, errors: Nt(gs(l.errors, !o.shouldUseNativeValidation && o.criteriaMode === "all"), o) };
1618
+ })(l)) return { values: {}, errors: Rt(_s(l.errors, !o.shouldUseNativeValidation && o.criteriaMode === "all"), o) };
1618
1619
  throw l;
1619
1620
  }));
1620
1621
  } catch (l) {
@@ -1625,14 +1626,14 @@ function vs(e, r, t) {
1625
1626
  return "_zod" in s && typeof s._zod == "object";
1626
1627
  })(e)) return function(s, n, o) {
1627
1628
  try {
1628
- return Promise.resolve(Bt(function() {
1629
- return Promise.resolve((t.mode === "sync" ? ms : _s)(e, s, r)).then(function(l) {
1629
+ return Promise.resolve(Ot(function() {
1630
+ return Promise.resolve((t.mode === "sync" ? ys : hs)(e, s, r)).then(function(l) {
1630
1631
  return o.shouldUseNativeValidation && Ke({}, o), { errors: {}, values: t.raw ? Object.assign({}, s) : l };
1631
1632
  });
1632
1633
  }, function(l) {
1633
1634
  if ((function(a) {
1634
- return a instanceof fs;
1635
- })(l)) return { values: {}, errors: Nt(ps(l.issues, !o.shouldUseNativeValidation && o.criteriaMode === "all"), o) };
1635
+ return a instanceof ds;
1636
+ })(l)) return { values: {}, errors: Rt(gs(l.issues, !o.shouldUseNativeValidation && o.criteriaMode === "all"), o) };
1636
1637
  throw l;
1637
1638
  }));
1638
1639
  } catch (l) {
@@ -1642,13 +1643,13 @@ function vs(e, r, t) {
1642
1643
  throw new Error("Invalid input: not a Zod schema");
1643
1644
  }
1644
1645
  const dr = V.createContext(null);
1645
- function bs() {
1646
+ function vs() {
1646
1647
  const e = V.useContext(dr);
1647
1648
  if (!e)
1648
1649
  throw new Error("useFormContext must be used within a Form component");
1649
1650
  return e;
1650
1651
  }
1651
- function Ss({
1652
+ function bs({
1652
1653
  onSubmit: e,
1653
1654
  children: r,
1654
1655
  schema: t,
@@ -1657,16 +1658,16 @@ function Ss({
1657
1658
  reValidateMode: o = "onChange",
1658
1659
  ...l
1659
1660
  }) {
1660
- const a = as({
1661
- resolver: t ? vs(t) : void 0,
1661
+ const a = is({
1662
+ resolver: t ? ps(t) : void 0,
1662
1663
  defaultValues: s,
1663
1664
  mode: n,
1664
1665
  reValidateMode: o
1665
1666
  }), d = a.handleSubmit(e);
1666
1667
  return /* @__PURE__ */ w(dr.Provider, { value: a, children: /* @__PURE__ */ w("form", { onSubmit: d, ...l, children: typeof r == "function" ? r(a) : r }) });
1667
1668
  }
1668
- const Uo = Ss, ws = "FormError-module__formError___kaUBn", xs = {
1669
- formError: ws
1669
+ const Ho = bs, Ss = "FormError-module__formError___kaUBn", ws = {
1670
+ formError: Ss
1670
1671
  }, Fs = ({ children: e, className: r, style: t }) => {
1671
1672
  const s = L(), n = {
1672
1673
  "--form-error-margin-top": `calc(${s.fonts.rhythm} * 0.17)`,
@@ -1676,20 +1677,20 @@ const Uo = Ss, ws = "FormError-module__formError___kaUBn", xs = {
1676
1677
  return /* @__PURE__ */ w(
1677
1678
  "div",
1678
1679
  {
1679
- className: `${xs.formError} ${r || ""}`.trim(),
1680
+ className: `${ws.formError} ${r || ""}`.trim(),
1680
1681
  style: n,
1681
1682
  role: "alert",
1682
1683
  "aria-live": "polite",
1683
1684
  children: e
1684
1685
  }
1685
1686
  );
1686
- }, ks = "FormGroup-module__formGroup___aVI-B", Vs = "FormGroup-module__inputWrapper___429QE", Cs = "FormGroup-module__indented___t61iz", Es = "FormGroup-module__disabled___W-tJ0", zs = "FormGroup-module__required___mO3xA", ye = {
1687
- formGroup: ks,
1688
- inputWrapper: Vs,
1689
- indented: Cs,
1690
- disabled: Es,
1691
- required: zs
1692
- }, $s = ({
1687
+ }, xs = "FormGroup-module__formGroup___aVI-B", ks = "FormGroup-module__inputWrapper___429QE", Vs = "FormGroup-module__indented___t61iz", Cs = "FormGroup-module__disabled___W-tJ0", Es = "FormGroup-module__required___mO3xA", ye = {
1688
+ formGroup: xs,
1689
+ inputWrapper: ks,
1690
+ indented: Vs,
1691
+ disabled: Cs,
1692
+ required: Es
1693
+ }, zs = ({
1693
1694
  children: e,
1694
1695
  label: r,
1695
1696
  name: t,
@@ -1719,7 +1720,7 @@ const Uo = Ss, ws = "FormError-module__formError___kaUBn", xs = {
1719
1720
  return S;
1720
1721
  });
1721
1722
  return /* @__PURE__ */ Q("div", { className: f, style: b, children: [
1722
- r && /* @__PURE__ */ Q(Ye, { htmlFor: t, disabled: o, error: s, ...y, children: [
1723
+ r && /* @__PURE__ */ Q(et, { htmlFor: t, disabled: o, error: s, ...y, children: [
1723
1724
  r,
1724
1725
  l && /* @__PURE__ */ Q("span", { className: ye.required, "aria-label": "required", children: [
1725
1726
  " ",
@@ -1742,16 +1743,16 @@ function we({
1742
1743
  indent: d,
1743
1744
  labelProps: m
1744
1745
  }) {
1745
- const { control: y } = bs(), {
1746
+ const { control: y } = vs(), {
1746
1747
  field: h,
1747
1748
  fieldState: { error: f }
1748
- } = qr({
1749
+ } = Wr({
1749
1750
  name: e,
1750
1751
  control: y,
1751
1752
  rules: n
1752
1753
  });
1753
1754
  return /* @__PURE__ */ w(
1754
- $s,
1755
+ zs,
1755
1756
  {
1756
1757
  label: r,
1757
1758
  name: e,
@@ -1774,11 +1775,11 @@ function we({
1774
1775
  }
1775
1776
  );
1776
1777
  }
1777
- const As = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi", Ds = "Input-module__sizeDefault___AxPA0", He = {
1778
- input: As,
1779
- sizeSmall: Ps,
1780
- sizeDefault: Ds
1781
- }, Ns = ({
1778
+ const $s = "Input-module__input___WjT81", As = "Input-module__sizeSmall___NFvsi", Ps = "Input-module__sizeDefault___AxPA0", He = {
1779
+ input: $s,
1780
+ sizeSmall: As,
1781
+ sizeDefault: Ps
1782
+ }, Ds = ({
1782
1783
  color: e = "#000",
1783
1784
  disabled: r = !1,
1784
1785
  fontSize: t = "1em",
@@ -1789,7 +1790,7 @@ const As = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi"
1789
1790
  fontSize: t,
1790
1791
  opacity: r ? 0.3 : 1,
1791
1792
  placeholderOpacity: s
1792
- }), Rs = ({
1793
+ }), Ns = ({
1793
1794
  color: e,
1794
1795
  disabled: r = !1,
1795
1796
  error: t = !1,
@@ -1804,7 +1805,7 @@ const As = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi"
1804
1805
  value: h = "",
1805
1806
  ...f
1806
1807
  }) => {
1807
- const b = L(), C = b.colors.error, S = t ? C : e || b.colors.primary, k = Ns({
1808
+ const b = L(), C = b.colors.error, S = t ? C : e || b.colors.primary, k = Ds({
1808
1809
  color: S,
1809
1810
  disabled: r,
1810
1811
  fontSize: s || b.fonts.size,
@@ -1820,11 +1821,11 @@ const As = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi"
1820
1821
  fontSize: k.fontSize,
1821
1822
  opacity: k.opacity,
1822
1823
  ...m
1823
- }, x = [He.input, d === "small" ? He.sizeSmall : He.sizeDefault].filter(Boolean).join(" ");
1824
+ }, F = [He.input, d === "small" ? He.sizeSmall : He.sizeDefault].filter(Boolean).join(" ");
1824
1825
  return /* @__PURE__ */ w(
1825
1826
  "input",
1826
1827
  {
1827
- className: x,
1828
+ className: F,
1828
1829
  disabled: r,
1829
1830
  name: n,
1830
1831
  onChange: o,
@@ -1836,7 +1837,7 @@ const As = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi"
1836
1837
  }
1837
1838
  );
1838
1839
  };
1839
- function jo({
1840
+ function Uo({
1840
1841
  name: e,
1841
1842
  label: r,
1842
1843
  required: t,
@@ -1857,7 +1858,7 @@ function jo({
1857
1858
  className: o,
1858
1859
  style: l,
1859
1860
  children: ({ value: d, onChange: m, onBlur: y, name: h, error: f }) => /* @__PURE__ */ w(
1860
- Rs,
1861
+ Ns,
1861
1862
  {
1862
1863
  ...a,
1863
1864
  name: h,
@@ -1870,11 +1871,11 @@ function jo({
1870
1871
  }
1871
1872
  );
1872
1873
  }
1873
- const Bs = "Textarea-module__textarea___Z-y6g", Os = "Textarea-module__sizeSmall___HHFEM", Ls = "Textarea-module__sizeDefault___LL2Uc", Ue = {
1874
- textarea: Bs,
1875
- sizeSmall: Os,
1876
- sizeDefault: Ls
1877
- }, Ms = ({
1874
+ const Rs = "Textarea-module__textarea___Z-y6g", Bs = "Textarea-module__sizeSmall___HHFEM", Os = "Textarea-module__sizeDefault___LL2Uc", Ue = {
1875
+ textarea: Rs,
1876
+ sizeSmall: Bs,
1877
+ sizeDefault: Os
1878
+ }, Ls = ({
1878
1879
  color: e = "#000",
1879
1880
  disabled: r = !1,
1880
1881
  placeholderOpacity: t = 0.3
@@ -1883,7 +1884,7 @@ const Bs = "Textarea-module__textarea___Z-y6g", Os = "Textarea-module__sizeSmall
1883
1884
  borderColor: e,
1884
1885
  opacity: r ? 0.3 : 1,
1885
1886
  placeholderOpacity: t
1886
- }), Ts = ({
1887
+ }), Ms = ({
1887
1888
  color: e,
1888
1889
  disabled: r = !1,
1889
1890
  error: t = !1,
@@ -1898,7 +1899,7 @@ const Bs = "Textarea-module__textarea___Z-y6g", Os = "Textarea-module__sizeSmall
1898
1899
  value: h = "",
1899
1900
  ...f
1900
1901
  }) => {
1901
- const b = L(), C = b.colors.error, S = t ? C : e || b.colors.primary, k = Ms({
1902
+ const b = L(), C = b.colors.error, S = t ? C : e || b.colors.primary, k = Ls({
1902
1903
  color: S,
1903
1904
  disabled: r,
1904
1905
  placeholderOpacity: a
@@ -1913,11 +1914,11 @@ const Bs = "Textarea-module__textarea___Z-y6g", Os = "Textarea-module__sizeSmall
1913
1914
  fontSize: s || b.fonts.size,
1914
1915
  opacity: k.opacity,
1915
1916
  ...y
1916
- }, x = [Ue.textarea, m === "small" ? Ue.sizeSmall : Ue.sizeDefault].filter(Boolean).join(" ");
1917
+ }, F = [Ue.textarea, m === "small" ? Ue.sizeSmall : Ue.sizeDefault].filter(Boolean).join(" ");
1917
1918
  return /* @__PURE__ */ w(
1918
1919
  "textarea",
1919
1920
  {
1920
- className: x,
1921
+ className: F,
1921
1922
  disabled: r,
1922
1923
  name: n,
1923
1924
  onChange: o,
@@ -1929,7 +1930,7 @@ const Bs = "Textarea-module__textarea___Z-y6g", Os = "Textarea-module__sizeSmall
1929
1930
  }
1930
1931
  );
1931
1932
  };
1932
- function Wo({
1933
+ function jo({
1933
1934
  name: e,
1934
1935
  label: r,
1935
1936
  required: t,
@@ -1950,7 +1951,7 @@ function Wo({
1950
1951
  className: o,
1951
1952
  style: l,
1952
1953
  children: ({ value: d, onChange: m, onBlur: y, name: h, error: f }) => /* @__PURE__ */ w(
1953
- Ts,
1954
+ Ms,
1954
1955
  {
1955
1956
  ...a,
1956
1957
  name: h,
@@ -1963,11 +1964,11 @@ function Wo({
1963
1964
  }
1964
1965
  );
1965
1966
  }
1966
- const Is = "Select-module__select___cjdcr", Hs = "Select-module__sizeSmall___i1quj", Us = "Select-module__sizeDefault___EiWvW", je = {
1967
- select: Is,
1968
- sizeSmall: Hs,
1969
- sizeDefault: Us
1970
- }, js = ({
1967
+ const Ts = "Select-module__select___cjdcr", Is = "Select-module__sizeSmall___i1quj", Hs = "Select-module__sizeDefault___EiWvW", je = {
1968
+ select: Ts,
1969
+ sizeSmall: Is,
1970
+ sizeDefault: Hs
1971
+ }, Us = ({
1971
1972
  color: e = "#000",
1972
1973
  disabled: r = !1
1973
1974
  }) => ({
@@ -1994,7 +1995,7 @@ const Is = "Select-module__select___cjdcr", Hs = "Select-module__sizeSmall___i1q
1994
1995
  `.trim();
1995
1996
  return `url("data:image/svg+xml,${encodeURIComponent(l)}")`;
1996
1997
  })(e)
1997
- }), Ws = ({
1998
+ }), js = ({
1998
1999
  children: e,
1999
2000
  color: r,
2000
2001
  disabled: t = !1,
@@ -2008,7 +2009,7 @@ const Is = "Select-module__select___cjdcr", Hs = "Select-module__sizeSmall___i1q
2008
2009
  value: y = "",
2009
2010
  ...h
2010
2011
  }) => {
2011
- const f = L(), b = f.colors.error, C = s ? b : r || f.colors.primary, S = js({
2012
+ const f = L(), b = f.colors.error, C = s ? b : r || f.colors.primary, S = Us({
2012
2013
  color: C,
2013
2014
  disabled: t
2014
2015
  }), k = {
@@ -2045,7 +2046,7 @@ const Is = "Select-module__select___cjdcr", Hs = "Select-module__sizeSmall___i1q
2045
2046
  }
2046
2047
  );
2047
2048
  };
2048
- function qo({
2049
+ function Wo({
2049
2050
  name: e,
2050
2051
  label: r,
2051
2052
  required: t,
@@ -2067,7 +2068,7 @@ function qo({
2067
2068
  className: o,
2068
2069
  style: l,
2069
2070
  children: ({ value: m, onChange: y, onBlur: h, name: f, error: b }) => /* @__PURE__ */ w(
2070
- Ws,
2071
+ js,
2071
2072
  {
2072
2073
  ...d,
2073
2074
  name: f,
@@ -2081,7 +2082,7 @@ function qo({
2081
2082
  }
2082
2083
  );
2083
2084
  }
2084
- function Go({
2085
+ function qo({
2085
2086
  name: e,
2086
2087
  required: r,
2087
2088
  rules: t,
@@ -2100,7 +2101,7 @@ function Go({
2100
2101
  className: n,
2101
2102
  style: o,
2102
2103
  children: ({ value: a, onChange: d, name: m, error: y }) => /* @__PURE__ */ w(
2103
- Ir,
2104
+ Tr,
2104
2105
  {
2105
2106
  ...l,
2106
2107
  name: m,
@@ -2112,18 +2113,18 @@ function Go({
2112
2113
  }
2113
2114
  );
2114
2115
  }
2115
- const qs = "Radio-module__container___AQxhk", Gs = "Radio-module__svg___zl5kF", Zs = "Radio-module__label___vAFIP", We = {
2116
- container: qs,
2117
- svg: Gs,
2118
- label: Zs
2119
- }, Qs = ({
2116
+ const Ws = "Radio-module__container___AQxhk", qs = "Radio-module__svg___zl5kF", Gs = "Radio-module__label___vAFIP", We = {
2117
+ container: Ws,
2118
+ svg: qs,
2119
+ label: Gs
2120
+ }, Zs = ({
2120
2121
  color: e = "#000",
2121
2122
  disabled: r = !1
2122
2123
  }) => ({
2123
2124
  radioColor: e,
2124
2125
  cursor: r ? "default" : "pointer",
2125
2126
  opacity: r ? 0.3 : 1
2126
- }), Ks = ({
2127
+ }), Qs = ({
2127
2128
  checked: e = !1,
2128
2129
  color: r,
2129
2130
  disabled: t = !1,
@@ -2137,12 +2138,12 @@ const qs = "Radio-module__container___AQxhk", Gs = "Radio-module__svg___zl5kF",
2137
2138
  style: y,
2138
2139
  ...h
2139
2140
  }) => {
2140
- const f = L(), b = o || Gt(), C = f.colors.error, S = s ? C : r || f.colors.primary, k = Qs({
2141
+ const f = L(), b = o || Gt(), C = f.colors.error, S = s ? C : r || f.colors.primary, k = Zs({
2141
2142
  color: S,
2142
2143
  disabled: t
2143
2144
  }), R = (O) => {
2144
2145
  t || m(O);
2145
- }, x = {
2146
+ }, F = {
2146
2147
  cursor: k.cursor,
2147
2148
  fontSize: n || f.fonts.size,
2148
2149
  opacity: k.opacity,
@@ -2156,7 +2157,7 @@ const qs = "Radio-module__container___AQxhk", Gs = "Radio-module__svg___zl5kF",
2156
2157
  }, E = {
2157
2158
  fill: k.radioColor
2158
2159
  };
2159
- return /* @__PURE__ */ Q("div", { className: We.container, style: x, ...h, children: [
2160
+ return /* @__PURE__ */ Q("div", { className: We.container, style: F, ...h, children: [
2160
2161
  /* @__PURE__ */ w(
2161
2162
  "input",
2162
2163
  {
@@ -2184,7 +2185,7 @@ const qs = "Radio-module__container___AQxhk", Gs = "Radio-module__svg___zl5kF",
2184
2185
  }
2185
2186
  ),
2186
2187
  l && /* @__PURE__ */ w(
2187
- Ye,
2188
+ et,
2188
2189
  {
2189
2190
  htmlFor: b,
2190
2191
  className: We.label,
@@ -2198,7 +2199,7 @@ const qs = "Radio-module__container___AQxhk", Gs = "Radio-module__svg___zl5kF",
2198
2199
  )
2199
2200
  ] });
2200
2201
  };
2201
- function Zo({
2202
+ function Go({
2202
2203
  name: e,
2203
2204
  label: r,
2204
2205
  required: t,
@@ -2219,7 +2220,7 @@ function Zo({
2219
2220
  className: o,
2220
2221
  style: l,
2221
2222
  children: ({ value: m, onChange: y, name: h, error: f }) => /* @__PURE__ */ w(
2222
- Ks,
2223
+ Qs,
2223
2224
  {
2224
2225
  ...d,
2225
2226
  name: h,
@@ -2232,11 +2233,11 @@ function Zo({
2232
2233
  }
2233
2234
  );
2234
2235
  }
2235
- const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line___gybZM", Ys = "Hamburger-module__open___gRswh", ge = {
2236
- hamburger: Js,
2237
- line: Xs,
2238
- open: Ys
2239
- }, eo = ({
2236
+ const Ks = "Hamburger-module__hamburger___Tf4-t", Js = "Hamburger-module__line___gybZM", Xs = "Hamburger-module__open___gRswh", ge = {
2237
+ hamburger: Ks,
2238
+ line: Js,
2239
+ open: Xs
2240
+ }, Ys = ({
2240
2241
  compact: e,
2241
2242
  color: r,
2242
2243
  visible: t,
@@ -2252,7 +2253,7 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2252
2253
  ...o
2253
2254
  };
2254
2255
  }, [r, t, e, s, n.borderRadius]);
2255
- }, to = ({
2256
+ }, eo = ({
2256
2257
  visible: e,
2257
2258
  compact: r,
2258
2259
  color: t,
@@ -2262,7 +2263,7 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2262
2263
  buttonProps: l,
2263
2264
  borderRadius: a
2264
2265
  }) => {
2265
- const d = eo({
2266
+ const d = Ys({
2266
2267
  compact: r,
2267
2268
  color: t,
2268
2269
  visible: e,
@@ -2285,10 +2286,10 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2285
2286
  ]
2286
2287
  }
2287
2288
  );
2288
- }, ro = "Header-module__header___RUooH", so = "Header-module__container___t68M9", Ot = {
2289
- header: ro,
2290
- container: so
2291
- }, oo = ({
2289
+ }, to = "Header-module__header___RUooH", ro = "Header-module__container___t68M9", Lt = {
2290
+ header: to,
2291
+ container: ro
2292
+ }, so = ({
2292
2293
  isSmallScreen: e = !1,
2293
2294
  maxWidth: r,
2294
2295
  paddingSm: t,
@@ -2303,13 +2304,13 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2303
2304
  };
2304
2305
  }, ie = (e) => {
2305
2306
  const r = typeof window < "u" && typeof window.matchMedia == "function";
2306
- return Vr((o) => {
2307
+ return kr((o) => {
2307
2308
  if (!r) return () => {
2308
2309
  };
2309
2310
  const l = window.matchMedia(e);
2310
2311
  return l.addEventListener("change", o), () => l.removeEventListener("change", o);
2311
2312
  }, () => r ? window.matchMedia(e).matches : !1, () => !1);
2312
- }, no = ({
2313
+ }, oo = ({
2313
2314
  children: e,
2314
2315
  breakPointSm: r,
2315
2316
  maxWidth: t,
@@ -2320,27 +2321,27 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2320
2321
  headerProps: a = {},
2321
2322
  headerRef: d
2322
2323
  }) => {
2323
- const m = L(), h = (r || m.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/), f = h ? parseInt(h[1], 10) - 1 : 474, b = h ? h[2] : "px", C = ie(`(max-width: ${f}${b})`), S = oo({
2324
+ const m = L(), h = (r || m.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/), f = h ? parseInt(h[1], 10) - 1 : 474, b = h ? h[2] : "px", C = ie(`(max-width: ${f}${b})`), S = so({
2324
2325
  isSmallScreen: C,
2325
2326
  maxWidth: t,
2326
2327
  paddingSm: s,
2327
2328
  padding: n,
2328
2329
  fontSize: o
2329
2330
  });
2330
- return /* @__PURE__ */ w("header", { ref: d, className: Ot.header, ...a, children: /* @__PURE__ */ w(
2331
+ return /* @__PURE__ */ w("header", { ref: d, className: Lt.header, ...a, children: /* @__PURE__ */ w(
2331
2332
  "div",
2332
2333
  {
2333
- className: Ot.container,
2334
+ className: Lt.container,
2334
2335
  style: { ...S, ...l },
2335
2336
  children: e
2336
2337
  }
2337
2338
  ) });
2338
- }, io = "ResponsiveNav-module__nav___xOfv5", ao = "ResponsiveNav-module__navMobile___h795P", lo = "ResponsiveNav-module__open___WDCAf", co = "ResponsiveNav-module__navDesktop___9wscZ", Ee = {
2339
- nav: io,
2340
- navMobile: ao,
2341
- open: lo,
2342
- navDesktop: co
2343
- }, uo = ({
2339
+ }, no = "ResponsiveNav-module__nav___xOfv5", io = "ResponsiveNav-module__navMobile___h795P", ao = "ResponsiveNav-module__open___WDCAf", lo = "ResponsiveNav-module__navDesktop___9wscZ", Ee = {
2340
+ nav: no,
2341
+ navMobile: io,
2342
+ open: ao,
2343
+ navDesktop: lo
2344
+ }, co = ({
2344
2345
  isMobile: e,
2345
2346
  isCompact: r,
2346
2347
  mobileBackground: t,
@@ -2377,11 +2378,11 @@ const Js = "Hamburger-module__hamburger___Tf4-t", Xs = "Hamburger-module__line__
2377
2378
  r
2378
2379
  ]);
2379
2380
  };
2380
- function Lt(e) {
2381
+ function Mt(e) {
2381
2382
  const t = parseInt(e) - 1, s = e.replace(/[0-9]/g, "");
2382
2383
  return { maxWidth: t, unit: s };
2383
2384
  }
2384
- const Qo = ({
2385
+ const Zo = ({
2385
2386
  breakPointMd: e,
2386
2387
  breakPointSm: r,
2387
2388
  children: t,
@@ -2393,7 +2394,7 @@ const Qo = ({
2393
2394
  style: d,
2394
2395
  navProps: m
2395
2396
  }) => {
2396
- const [y, h] = Xe(!1), f = pt(null), b = pt(null), C = L(), S = e || C.breakpoints.md, k = r || C.breakpoints.sm, { maxWidth: R, unit: x } = Lt(S), { maxWidth: $, unit: z } = Lt(k), E = ie(`(max-width: ${R}${x})`), O = ie(`(max-width: ${$}${z})`), X = uo({
2397
+ const [y, h] = Xe(!1), f = vt(null), b = vt(null), C = L(), S = e || C.breakpoints.md, k = r || C.breakpoints.sm, { maxWidth: R, unit: F } = Mt(S), { maxWidth: $, unit: z } = Mt(k), E = ie(`(max-width: ${R}${F})`), O = ie(`(max-width: ${$}${z})`), X = co({
2397
2398
  isMobile: E,
2398
2399
  isCompact: O,
2399
2400
  mobileBackground: s,
@@ -2402,7 +2403,8 @@ const Qo = ({
2402
2403
  mobileActiveColor: l,
2403
2404
  mobileButtonHoverColor: a
2404
2405
  });
2405
- Ut(() => {
2406
+ Ye(() => {
2407
+ if (typeof document > "u") return;
2406
2408
  const q = (se) => {
2407
2409
  !b.current || b.current.contains(se.target) || f.current && f.current.contains(se.target) || h(!1);
2408
2410
  };
@@ -2417,7 +2419,7 @@ const Qo = ({
2417
2419
  ].filter(Boolean).join(" ");
2418
2420
  return /* @__PURE__ */ Q(Je, { children: [
2419
2421
  /* @__PURE__ */ w(
2420
- to,
2422
+ eo,
2421
2423
  {
2422
2424
  hamburgerRef: f,
2423
2425
  visible: E,
@@ -2437,7 +2439,7 @@ const Qo = ({
2437
2439
  }
2438
2440
  )
2439
2441
  ] });
2440
- }, fo = ({
2442
+ }, uo = ({
2441
2443
  size: e = 2.5,
2442
2444
  color: r,
2443
2445
  innerColor: t,
@@ -2477,18 +2479,18 @@ const Qo = ({
2477
2479
  children: a
2478
2480
  }
2479
2481
  ) : a;
2480
- }, Ko = ({ children: e, loadingComponent: r }) => {
2482
+ }, Qo = ({ children: e, loadingComponent: r }) => {
2481
2483
  const [t, s] = Xe(!1);
2482
- return Ut(() => {
2483
- requestAnimationFrame(() => {
2484
+ return Ye(() => {
2485
+ typeof requestAnimationFrame < "u" ? requestAnimationFrame(() => {
2484
2486
  s(!0);
2485
- });
2486
- }, []), t ? /* @__PURE__ */ w(Je, { children: e }) : r || /* @__PURE__ */ w(fo, {});
2487
- }, yo = "Stack-module__stack___yUU-B", mo = "Stack-module__vertical___sKTyQ", ho = "Stack-module__horizontal___YsvtV", qe = {
2488
- stack: yo,
2489
- vertical: mo,
2490
- horizontal: ho
2491
- }, Jo = ({
2487
+ }) : s(!0);
2488
+ }, []), t ? /* @__PURE__ */ w(Je, { children: e }) : r || /* @__PURE__ */ w(uo, {});
2489
+ }, fo = "Stack-module__stack___yUU-B", yo = "Stack-module__vertical___sKTyQ", mo = "Stack-module__horizontal___YsvtV", qe = {
2490
+ stack: fo,
2491
+ vertical: yo,
2492
+ horizontal: mo
2493
+ }, Ko = ({
2492
2494
  children: e,
2493
2495
  direction: r = "column",
2494
2496
  className: t,
@@ -2501,9 +2503,9 @@ const Qo = ({
2501
2503
  t
2502
2504
  ].filter(Boolean).join(" ");
2503
2505
  return /* @__PURE__ */ w("div", { className: o, style: s, ...n, children: e });
2504
- }, _o = "ResponsiveSection-module__section___gBESK", go = "ResponsiveSection-module__innerDiv___r1bky", Mt = {
2505
- section: _o,
2506
- innerDiv: go
2506
+ }, ho = "ResponsiveSection-module__section___gBESK", _o = "ResponsiveSection-module__innerDiv___r1bky", Tt = {
2507
+ section: ho,
2508
+ innerDiv: _o
2507
2509
  }, fr = ({
2508
2510
  children: e,
2509
2511
  background: r,
@@ -2520,12 +2522,12 @@ const Qo = ({
2520
2522
  }, y = `calc(${a.fonts.rhythm} * ${o})`, h = d ? a.layout.wrapperPadding : a.layout.wrapperPaddingSm, f = {
2521
2523
  "--max-width": a.layout.maxWidth,
2522
2524
  "--section-padding": `${y} ${h}`
2523
- }, b = [Mt.section, s].filter(Boolean).join(" ");
2524
- return /* @__PURE__ */ w("section", { className: b, style: m, ...l, children: /* @__PURE__ */ w("div", { className: Mt.innerDiv, style: f, children: e }) });
2525
- }, po = "Hero-module__hero___IB2tg", vo = "Hero-module__content___rkkfQ", Tt = {
2526
- hero: po,
2527
- content: vo
2528
- }, bo = ({
2525
+ }, b = [Tt.section, s].filter(Boolean).join(" ");
2526
+ return /* @__PURE__ */ w("section", { className: b, style: m, ...l, children: /* @__PURE__ */ w("div", { className: Tt.innerDiv, style: f, children: e }) });
2527
+ }, go = "Hero-module__hero___IB2tg", po = "Hero-module__content___rkkfQ", It = {
2528
+ hero: go,
2529
+ content: po
2530
+ }, vo = ({
2529
2531
  isMd: e = !1,
2530
2532
  isLg: r = !1,
2531
2533
  theme: t
@@ -2538,7 +2540,7 @@ const Qo = ({
2538
2540
  "--hero-p-font-size": l,
2539
2541
  "--hero-h1-margin-bottom": `calc(${s} * 0.7)`
2540
2542
  };
2541
- }, [e, r, t.fonts]), Xo = ({
2543
+ }, [e, r, t.fonts]), Jo = ({
2542
2544
  children: e,
2543
2545
  className: r,
2544
2546
  color: t,
@@ -2547,7 +2549,7 @@ const Qo = ({
2547
2549
  style: o,
2548
2550
  ...l
2549
2551
  }) => {
2550
- const a = L(), d = [Tt.hero, r].filter(Boolean).join(" "), m = s || a.breakpoints.md, y = n || a.breakpoints.lg, h = ie(`(min-width: ${m})`), f = ie(`(min-width: ${y})`), b = bo({ isMd: h, isLg: f, theme: a });
2552
+ const a = L(), d = [It.hero, r].filter(Boolean).join(" "), m = s || a.breakpoints.md, y = n || a.breakpoints.lg, h = ie(`(min-width: ${m})`), f = ie(`(min-width: ${y})`), b = vo({ isMd: h, isLg: f, theme: a });
2551
2553
  return /* @__PURE__ */ w(
2552
2554
  fr,
2553
2555
  {
@@ -2555,13 +2557,13 @@ const Qo = ({
2555
2557
  color: t || a.fonts.color,
2556
2558
  style: { ...b, ...o },
2557
2559
  ...l,
2558
- children: /* @__PURE__ */ w("div", { className: Tt.content, children: e })
2560
+ children: /* @__PURE__ */ w("div", { className: It.content, children: e })
2559
2561
  }
2560
2562
  );
2561
- }, So = "Footer-module__footer___A76NF", wo = "Footer-module__container___QneNs", It = {
2562
- footer: So,
2563
- container: wo
2564
- }, xo = ({
2563
+ }, bo = "Footer-module__footer___A76NF", So = "Footer-module__container___QneNs", Ht = {
2564
+ footer: bo,
2565
+ container: So
2566
+ }, wo = ({
2565
2567
  isSmallScreen: e = !1,
2566
2568
  maxWidth: r,
2567
2569
  paddingSm: t,
@@ -2591,7 +2593,7 @@ const Qo = ({
2591
2593
  footerProps: m = {},
2592
2594
  footerRef: y
2593
2595
  }) => {
2594
- const h = L(), b = (r || h.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/), C = b ? parseInt(b[1], 10) - 1 : 474, S = b ? b[2] : "px", k = ie(`(max-width: ${C}${S})`), R = xo({
2596
+ const h = L(), b = (r || h.breakpoints.sm).match(/^(\d+(?:\.\d+)?)(px|em|rem)$/), C = b ? parseInt(b[1], 10) - 1 : 474, S = b ? b[2] : "px", k = ie(`(max-width: ${C}${S})`), R = wo({
2595
2597
  isSmallScreen: k,
2596
2598
  maxWidth: t,
2597
2599
  paddingSm: s,
@@ -2600,20 +2602,20 @@ const Qo = ({
2600
2602
  background: l,
2601
2603
  color: a
2602
2604
  });
2603
- return /* @__PURE__ */ w("footer", { ref: y, className: It.footer, ...m, children: /* @__PURE__ */ w(
2605
+ return /* @__PURE__ */ w("footer", { ref: y, className: Ht.footer, ...m, children: /* @__PURE__ */ w(
2604
2606
  "div",
2605
2607
  {
2606
- className: It.container,
2608
+ className: Ht.container,
2607
2609
  style: { ...R, ...d },
2608
2610
  children: e
2609
2611
  }
2610
2612
  ) });
2611
- }, ko = "FeatureCard-module__card___XQt66", Vo = "FeatureCard-module__icon___dXJ92", Co = "FeatureCard-module__title___KxXyA", Eo = "FeatureCard-module__content___68xkw", ze = {
2612
- card: ko,
2613
- icon: Vo,
2614
- title: Co,
2615
- content: Eo
2616
- }, zo = ({
2613
+ }, xo = "FeatureCard-module__card___XQt66", ko = "FeatureCard-module__icon___dXJ92", Vo = "FeatureCard-module__title___KxXyA", Co = "FeatureCard-module__content___68xkw", ze = {
2614
+ card: xo,
2615
+ icon: ko,
2616
+ title: Vo,
2617
+ content: Co
2618
+ }, Eo = ({
2617
2619
  isMd: e = !1,
2618
2620
  theme: r
2619
2621
  }) => be(() => {
@@ -2625,7 +2627,7 @@ const Qo = ({
2625
2627
  "--feature-icon-margin-bottom": `calc(${t} * 0.7)`,
2626
2628
  "--feature-title-margin-bottom": `calc(${t} * 0.5)`
2627
2629
  };
2628
- }, [e, r.fonts]), Yo = ({
2630
+ }, [e, r.fonts]), Xo = ({
2629
2631
  icon: e,
2630
2632
  title: r,
2631
2633
  children: t,
@@ -2633,16 +2635,16 @@ const Qo = ({
2633
2635
  style: n,
2634
2636
  breakPointMd: o
2635
2637
  }) => {
2636
- const l = L(), a = [ze.card, s].filter(Boolean).join(" "), d = o || l.breakpoints.md, m = ie(`(min-width: ${d})`), y = zo({ isMd: m, theme: l });
2638
+ const l = L(), a = [ze.card, s].filter(Boolean).join(" "), d = o || l.breakpoints.md, m = ie(`(min-width: ${d})`), y = Eo({ isMd: m, theme: l });
2637
2639
  return /* @__PURE__ */ Q("div", { className: a, style: { ...y, ...n }, children: [
2638
2640
  e && /* @__PURE__ */ w("div", { className: ze.icon, children: e }),
2639
2641
  /* @__PURE__ */ w("h3", { className: ze.title, children: r }),
2640
2642
  /* @__PURE__ */ w("div", { className: ze.content, children: t })
2641
2643
  ] });
2642
- }, $o = "FeatureGridSection-module__section___wZrbC", Ao = "FeatureGridSection-module__grid___iwPJv", Ht = {
2643
- section: $o,
2644
- grid: Ao
2645
- }, Po = ({
2644
+ }, zo = "FeatureGridSection-module__section___wZrbC", $o = "FeatureGridSection-module__grid___iwPJv", Ut = {
2645
+ section: zo,
2646
+ grid: $o
2647
+ }, Ao = ({
2646
2648
  columns: e,
2647
2649
  isMd: r = !1,
2648
2650
  isLg: t = !1
@@ -2657,7 +2659,7 @@ const Qo = ({
2657
2659
  }[e]
2658
2660
  } : {
2659
2661
  "--grid-template-columns": "1fr"
2660
- }, [e, r, t]), en = ({
2662
+ }, [e, r, t]), Yo = ({
2661
2663
  children: e,
2662
2664
  columns: r = 3,
2663
2665
  className: t,
@@ -2666,16 +2668,16 @@ const Qo = ({
2666
2668
  style: o,
2667
2669
  ...l
2668
2670
  }) => {
2669
- const a = L(), d = [Ht.section, t].filter(Boolean).join(" "), m = s || a.breakpoints.md, y = n || a.breakpoints.lg, h = ie(`(min-width: ${m})`), f = ie(`(min-width: ${y})`), b = Po({ columns: r, isMd: h, isLg: f }), C = {
2671
+ const a = L(), d = [Ut.section, t].filter(Boolean).join(" "), m = s || a.breakpoints.md, y = n || a.breakpoints.lg, h = ie(`(min-width: ${m})`), f = ie(`(min-width: ${y})`), b = Ao({ columns: r, isMd: h, isLg: f }), C = {
2670
2672
  "--section-padding-vertical": `calc(${a.fonts.rhythm} * 2)`
2671
2673
  };
2672
- return /* @__PURE__ */ w(fr, { className: d, style: C, ...l, children: /* @__PURE__ */ w("div", { className: Ht.grid, style: { ...b, ...o }, children: e }) });
2673
- }, Do = "PageLayout-module__layoutContainer___diLdT", No = "PageLayout-module__content___h2mBr", Ro = "PageLayout-module__main___Sw7Pv", Bo = "PageLayout-module__mainPadded___ZKio3", $e = {
2674
- layoutContainer: Do,
2675
- content: No,
2676
- main: Ro,
2677
- mainPadded: Bo
2678
- }, tn = ({
2674
+ return /* @__PURE__ */ w(fr, { className: d, style: C, ...l, children: /* @__PURE__ */ w("div", { className: Ut.grid, style: { ...b, ...o }, children: e }) });
2675
+ }, Po = "PageLayout-module__layoutContainer___diLdT", Do = "PageLayout-module__content___h2mBr", No = "PageLayout-module__main___Sw7Pv", Ro = "PageLayout-module__mainPadded___ZKio3", $e = {
2676
+ layoutContainer: Po,
2677
+ content: Do,
2678
+ main: No,
2679
+ mainPadded: Ro
2680
+ }, en = ({
2679
2681
  children: e,
2680
2682
  header: r,
2681
2683
  footer: t,
@@ -2688,43 +2690,43 @@ const Qo = ({
2688
2690
  } : void 0;
2689
2691
  return /* @__PURE__ */ Q("div", { className: a, style: o, children: [
2690
2692
  /* @__PURE__ */ Q("div", { className: $e.content, children: [
2691
- r && /* @__PURE__ */ w(no, { children: r }),
2693
+ r && /* @__PURE__ */ w(oo, { children: r }),
2692
2694
  /* @__PURE__ */ w("main", { className: d, style: m, children: e })
2693
2695
  ] }),
2694
2696
  t && /* @__PURE__ */ w(Fo, { children: t })
2695
2697
  ] });
2696
2698
  };
2697
2699
  export {
2698
- Io as Button,
2699
- Ho as CSSReset,
2700
- Ir as Checkbox,
2701
- Yo as FeatureCard,
2702
- en as FeatureGridSection,
2700
+ To as Button,
2701
+ Io as CSSReset,
2702
+ Tr as Checkbox,
2703
+ Xo as FeatureCard,
2704
+ Yo as FeatureGridSection,
2703
2705
  Fo as Footer,
2704
- Uo as Form,
2705
- Go as FormCheckbox,
2706
+ Ho as Form,
2707
+ qo as FormCheckbox,
2706
2708
  Fs as FormError,
2707
2709
  we as FormField,
2708
- $s as FormGroup,
2709
- jo as FormInput,
2710
- Ye as FormLabel,
2711
- Zo as FormRadio,
2712
- qo as FormSelect,
2713
- Wo as FormTextarea,
2714
- to as Hamburger,
2715
- no as Header,
2716
- Xo as Hero,
2717
- Rs as Input,
2718
- fo as LoadingSpinner,
2719
- tn as PageLayout,
2720
- Ks as Radio,
2721
- Qo as ResponsiveNav,
2710
+ zs as FormGroup,
2711
+ Uo as FormInput,
2712
+ et as FormLabel,
2713
+ Go as FormRadio,
2714
+ Wo as FormSelect,
2715
+ jo as FormTextarea,
2716
+ eo as Hamburger,
2717
+ oo as Header,
2718
+ Jo as Hero,
2719
+ Ns as Input,
2720
+ uo as LoadingSpinner,
2721
+ en as PageLayout,
2722
+ Qs as Radio,
2723
+ Zo as ResponsiveNav,
2722
2724
  fr as ResponsiveSection,
2723
- Ws as Select,
2724
- Jo as Stack,
2725
- Ko as StyleLoader,
2726
- Ts as Textarea,
2727
- To as ThemeProvider,
2728
- bs as useFormContext,
2725
+ js as Select,
2726
+ Ko as Stack,
2727
+ Qo as StyleLoader,
2728
+ Ms as Textarea,
2729
+ Mo as ThemeProvider,
2730
+ vs as useFormContext,
2729
2731
  L as useTheme
2730
2732
  };